Method and device for determining pose of aircraft wheel based on two-stage visual positioning

By employing a two-stage visual positioning method, utilizing an RGB-D camera and improved target detection, instance segmentation, and multi-scale point cloud registration technologies, the problems of aircraft wheel positioning accuracy and robustness were solved, achieving high-precision docking in complex environments.

CN123181555APending Publication Date: 2026-11-27CIVIL AVIATION UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611673921.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies are difficult to meet the position and attitude accuracy requirements of automatic wheel clamping or traction docking during the accurate alignment of aircraft towing vehicles and aircraft wheels due to factors such as personnel experience, lighting, and environmental interference. Furthermore, two-dimensional target detection and point cloud registration methods suffer from error sensitivity and instability in noise processing.

Method used

A two-stage visual localization method based on an RGB-D camera is adopted. The initial position of the wheel is generated by target detection and instance segmentation. The point cloud is cropped and preprocessed by combining depth information. Adaptive denoising is performed using mesh texture features. Coarse registration and multi-scale Tukey robust ICP fine registration are performed to output the position and attitude of the wheel in the tractor coordinate system.

Benefits of technology

It improves positioning accuracy and robustness in complex environments, reduces human intervention, lowers the risk of equipment collisions, and enhances docking stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181555A_ABST
    Figure CN123181555A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of airport ground support operation, and discloses a method and device for determining the pose of an aircraft wheel based on two-stage visual positioning. The present application collects an RGB image of an aircraft wheel and a depth image registered with the RGB image; obtains a target detection frame of an aircraft wheel to be positioned, and determines the initial position of the aircraft wheel to be positioned; obtains an instance mask of the aircraft wheel to be positioned, generates a wheel source point cloud of the aircraft wheel to be positioned according to the instance mask, the depth image and the calibration parameters; pre-processes the source point cloud, establishes a candidate feature matching pair to obtain a coarse registration transformation; performs an iterative closest point registration weighted by a Tukey robust kernel function to obtain a fine registration transformation; and determines the position and attitude of the aircraft wheel to be positioned in the tractor coordinate system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of airport ground support operations, and particularly relates to a method and device for determining aircraft wheel position and attitude based on dual-stage visual positioning. Background Technology

[0002] Accurate alignment of the aircraft towing vehicle with the aircraft's nose wheels is a crucial step in automated airport ground support operations. Traditional operations are typically performed by a driver and ground guidance personnel, which are easily affected by factors such as personnel experience, observation angle, lighting, rain, fog, reflections, and workspace, making it difficult to consistently meet the position and attitude accuracy requirements of automatic wheel-holding or towing docking.

[0003] To reduce human intervention, existing solutions can use cameras, depth cameras, or LiDAR to acquire the wheel position. When using only 2D target detection, only bounding boxes or center pixels are typically output, making it difficult to obtain accurate 3D pose. When relying solely on depth point clouds for registration, the iterative nearest point algorithm is quite sensitive to the initial pose, and it is prone to getting stuck in local optima when there are large differences in rotation and translation between the source point cloud and the template point cloud.

[0004] Aircraft wheels often appear as low-resolution or small-scale targets in apron images. The wheel surface, landing gear, apron markings, and shadows can easily interfere with each other. The specular reflection of the metal wheel hub can also cause depth loss, flypoints, and outliers. Occlusion can destroy the integrity of the point cloud, and the near-rotational structure of the tire can cause some repetition in local geometric features. These factors collectively reduce the reliability of detection, segmentation, and point cloud registration.

[0005] Existing technologies also include localization methods that combine target detection and point cloud information, but the different processing steps are often independent of each other: the detection results are not used to constrain the initial search range for point cloud registration; the noise remaining after point cloud segmentation relies on manual thresholding; and the erroneous correspondences generated by coarse registration continue to affect fine registration. Therefore, in complex apron environments, a wheel pose determination scheme that can balance detection speed, point cloud quality, global convergence capability, and local registration accuracy is still needed. Summary of the Invention

[0006] To overcome the problems existing in related technologies, this invention provides a method and apparatus for determining aircraft wheel pose based on two-stage visual positioning. This reduces the impact of low-resolution wheel feature loss, complex background interference, depth point cloud noise, coarse registration mismatches, and local optima in fine registration on the positioning results.

[0007] To achieve the above objectives, the present invention adopts the following technical solution: a two-stage visual positioning method for determining the attitude of aircraft wheels, executed by a tractor or computing device equipped with an RGB-D camera, the method comprising:

[0008] S1, the RGB-D camera acquires an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image;

[0009] S2, input the RGB image into the pre-trained target detection model to obtain the target detection box of the aircraft wheel to be located. Based on the center pixel coordinates of the target detection box, the depth image and the calibration parameters of the RGB-D camera, determine the initial position of the aircraft wheel to be located, and establish the wheel spatial neighborhood and coarse registration search range based on the initial position.

[0010] S3, input the RGB image into the pre-trained instance segmentation model to obtain the instance mask of the aircraft wheel to be located, generate the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image and the calibration parameters, and perform spatial cropping of the wheel source point cloud using the initial position;

[0011] S4, perform point cloud preprocessing on the wheel source point cloud to obtain a preprocessed source point cloud, wherein the point cloud preprocessing includes at least voxel downsampling, normal vector estimation based on principal component analysis, and adaptive denoising based on mesh texture features;

[0012] S5, extract the fast point feature histograms of the preprocessed source point cloud and the input preset wheel template point cloud respectively, establish candidate feature matching pairs according to the fast point feature histograms, and determine the in-point matching pairs from the candidate feature matching pairs within the coarse registration search range through the random sampling consensus algorithm to obtain the coarse registration transformation;

[0013] S6. Using the coarse registration transformation as the initial value, perform iterative nearest point registration weighted by the Tukey robust kernel function on the preprocessed source point cloud and the preset wheel template point cloud according to multiple point cloud scales from coarse to fine to obtain fine registration transformation;

[0014] S7. Based on the fine registration transformation and the extrinsic parameter transformation of the tractor coordinate system configured with the RGB-D camera, determine the position and attitude of the aircraft wheels to be positioned in the tractor coordinate system.

[0015] In step S2, the object detection model is trained based on an improved YOLOv8 object detection network, wherein:

[0016] In the backbone network of the YOLOv8 object detection network, at least a portion of the stride convolution downsampling modules are replaced with spatial-to-depth convolution modules to rearrange spatial pixels to the channel dimension and perform feature fusion through convolution with a stride of 1.

[0017] In at least one multi-scale feature layer of the YOLOv8 object detection network, a compression and activation channel attention module is set to perform weight calibration on different feature channels;

[0018] The bounding box regression loss of the target detection model can be SIoU, CIoU, EIoU, or other loss functions with center distance, scale, or orientation constraints. The selected loss function does not constitute a limitation on the scope of protection of this invention.

[0019] In step S2, the initial position of the aircraft wheel to be located is determined based on the center pixel coordinates of the target detection box, the depth image, and the calibration parameters of the RGB-D camera, including:

[0020] Calculate the center pixel coordinates based on the pixel coordinates of the two diagonal points of the target detection box;

[0021] Read the effective depth value at the center pixel coordinates or within a preset neighborhood of the center pixel coordinates from the depth image;

[0022] Based on the effective depth value and the intrinsic parameters of the RGB-D camera, the center pixel coordinates are back-projected onto the camera coordinate system to obtain the three-dimensional coordinates of the wheel center;

[0023] Based on the extrinsic parameter matrix of the tractor coordinate system, the three-dimensional coordinates of the wheel center are transformed to the tractor coordinate system, and the initial search range of the coarse registration transformation is constructed using the transformation result.

[0024] In step S3, the instance segmentation model is trained based on an improved YOLOv8-seg network, wherein:

[0025] A convolutional block attention module is set in the YOLOv8-seg network to generate channel attention maps and spatial attention maps in sequence, so as to enhance the wheel contour features and suppress background features;

[0026] The path aggregation network of the YOLOv8-seg network is replaced with a bidirectional feature pyramid network, and learnable weights are used to fuse input features at different scales.

[0027] The WIoUv3 loss function with dynamic non-monotonic focusing mechanism is adopted, and the gradient gain of the anchor frame is differentially weighted according to the outlier degree of the anchor frame.

[0028] In step S3, generating the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image, and the calibration parameters includes:

[0029] The instance mask is mapped onto the depth image, and pixels within the mask region whose depth values ​​are within a preset valid range are retained;

[0030] For each retained pixel, the corresponding three-dimensional point is calculated based on the intrinsic parameters of the RGB-D camera, and the color information corresponding to each retained pixel in the RGB image is added to the three-dimensional point;

[0031] The three-dimensional points are combined to obtain the wheel source point cloud, and the three-dimensional points that exceed the wheel space neighborhood are clipped according to the initial position.

[0032] In step S4, the adaptive denoising based on mesh texture features includes:

[0033] Greedy projection triangulation is performed on the wheel source point cloud after voxel downsampling and normal vector estimation to obtain the wheel mesh composed of vertices and triangular facets;

[0034] For each triangular facet, extract the facet normal vector and the facet size normalized by the global facet size mean, and construct a noise confidence score based on the deviation of the facet normal vector from the global average normal vector and the normalized facet size.

[0035] The noise confidence scores of each triangular facet are sorted to form a cumulative distribution curve. The effective point segment and the noise point segment of the cumulative distribution curve are fitted respectively. The point where the difference between the fitted curve of the effective point segment and the fitted curve of the noise point segment is the largest is determined as the adaptive segmentation threshold.

[0036] The vertices corresponding to the triangular facets whose noise confidence exceeds the adaptive segmentation threshold are removed from the wheel source point cloud.

[0037] In step S5, within the coarse registration search range, interior point matching pairs are determined from the candidate feature matching pairs using a random sampling consensus algorithm to obtain the coarse registration transformation, including:

[0038] The candidate feature matching pairs are established based on the distance between the fast point feature histograms;

[0039] At least three pairs of matching points that satisfy the non-collinear constraint are randomly selected from the candidate feature matching pairs, and the candidate rigid body transformation is solved by singular value decomposition based on the selected matching points.

[0040] The candidate rigid body transformation is used to map the preprocessed source point cloud to the preset wheel template point cloud, and the matching points whose mapping residual is less than the inlier threshold are determined as inliers.

[0041] The process involves iteratively performing random sampling, candidate rigid body transformation solution, and interior point determination until the iteration termination condition, determined based on the interior point ratio and a pre-set confidence level, is met.

[0042] The rigid body transformation is resolved using all interior point matching pairs corresponding to the maximum number of interior points, and the resolved rigid body transformation is determined as the coarse registration transformation.

[0043] In step S6, iterative nearest-point registration weighted by the Tukey robust kernel function is performed, including:

[0044] Point cloud pyramids for the preprocessed source point cloud and the wheel source point cloud are constructed according to multiple successively decreasing voxel sizes.

[0045] At the coarsest point cloud scale, the coarse registration transformation is used as the initial transformation, and at the other point cloud scales, the transformation output at the previous scale is used as the initial transformation.

[0046] At the current point cloud scale, corresponding point pairs are established based on nearest neighbor search. The corresponding weights are determined by the Tukey robust kernel function based on the residuals of the corresponding point pairs. When the residuals are greater than or equal to the truncation threshold, the corresponding weights are set to zero.

[0047] The incremental rigid body transformation that reduces the weighted residual sum is solved based on each corresponding point pair and its corresponding weight, and the initial transformation is updated using the incremental rigid body transformation.

[0048] The iteration at the current point cloud scale ends when the transformation increment is less than the convergence threshold, the weighted residual change is less than the error threshold, or the number of iterations reaches the upper limit, and the transformation output at the finest point cloud scale is determined as the fine registration transformation.

[0049] Another object of the present invention is to provide a two-stage visual positioning device for determining the attitude of aircraft wheels, the device comprising:

[0050] An image acquisition module is used to acquire an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image;

[0051] The initial positioning module is used to obtain the target detection box of the wheel through the target detection model, and determine the initial position by combining the depth information and calibration parameters;

[0052] The point cloud generation module is used to obtain a wheel instance mask through the instance segmentation model, and generate a wheel source point cloud based on the instance mask and the depth image;

[0053] The point cloud preprocessing module is used to perform voxel downsampling, principal component analysis-based normal vector estimation, and adaptive denoising based on mesh texture features on the point cloud of the turbine wheel source.

[0054] The coarse registration module is used to extract fast point feature histograms and obtain coarse registration transformations through a random sampling consensus algorithm;

[0055] The fine registration module is used to perform multi-scale iterative nearest-point registration, weighted by the Tukey robust kernel function, with the coarse registration transformation as the initial value, to obtain the fine registration transformation;

[0056] The pose output module is used to output the wheel position and attitude based on the fine registration transformation and the extrinsic parameters of the tractor coordinate system configured with the RGB-D camera.

[0057] The dual-stage visual positioning aircraft wheel pose determination device is mounted on an electronic device, including an RGB-D camera, one or more processors, a memory, a communication interface, a display or control interface, and a tractor controller. The components communicate with each other via a data bus. The electronic device is an industrial computer, edge computing device, embedded controller, or server that communicates with the tractor on the tractor.

[0058] The memory stores target detection model parameters, instance segmentation model parameters, wheel template point cloud, camera intrinsic and extrinsic parameters, point cloud processing parameters, and a computer program for determining the aircraft wheel pose using a two-stage visual positioning method. When the processor executes the computer program, it completes image acquisition, initial positioning, point cloud generation, point cloud preprocessing, coarse registration, fine registration, and pose output.

[0059] The dual-stage visual positioning aircraft wheel pose determination device is mounted on a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can realize the functions of the dual-stage visual positioning aircraft wheel pose determination device.

[0060] Combining all the above technical solutions, the beneficial effects of this invention are as follows:

[0061] First, this invention utilizes target detection combined with depth information to first obtain the initial position of the wheel, and then performs fine registration of the point cloud, which can narrow the registration search range and improve the problem of traditional ICP being sensitive to initial values; SPD-Conv and SEAttention work together to improve the fine-grained feature preservation and channel selection capabilities of low-resolution wheel targets, reducing detail loss and complex background interference during downsampling; CBAM, BiFPN and WIoUv3 work together to improve the segmentation quality of wheel instances under complex background, scale changes and edge blurring conditions, reducing background points entering the wheel point cloud from the source;

[0062] Secondly, the adaptive denoising based on mesh texture features avoids the insufficient adaptability of fixed thresholds to different wheel models and acquisition distances, and preserves key geometric structures such as tire arc surface, hub edge and spoke concavity during denoising; FPFH and RANSAC provide global coarse registration, multi-scale ICP expands the convergence domain of local registration, and Tukey robust kernel suppresses large residuals caused by reflection, occlusion and mismatch, thus balancing positioning accuracy and robustness.

[0063] Third, this invention can provide wheel position and attitude input for poleless aircraft towing vehicles, automatic wheel clamping devices, and intelligent apron support systems, reducing manual observation and repeated alignment, improving docking stability under complex lighting, reflection, and partial occlusion conditions, and reducing the risk of repetitive operations and equipment collisions caused by positioning deviations. This invention does not simply parallel two-dimensional detection and point cloud registration; instead, it utilizes the initial position obtained from target detection and depth back-projection to simultaneously constrain the instance point cloud clipping and coarse registration search range. Then, it forms a coupled positioning link through adaptive point cloud denoising, global coarse registration, and multi-scale robust fine registration. This invention addresses problems such as small imaging scale of aircraft wheels at long distances, depth loss due to metal hub reflections, the mixing of landing gear and ground background into the point cloud, repetitive local features due to the approximate rotation of tires, and ICP dependence on initial values. This solution constrains these issues through image feature preservation, instance point cloud generation, adaptive denoising, and two-level coarse and fine registration. This invention differs from conventional processing methods that use a fixed threshold to directly remove outliers from point clouds and perform ICP directly on a single scale. This scheme adaptively determines the noise threshold based on the data distribution of mesh texture features and performs Tukey robust ICP step by step from coarse to fine, causing points with large residuals to exit optimization, thus taking into account contour structure preservation, convergence range, and registration accuracy. Attached Figure Description

[0064] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the disclosure of this invention and, together with the description, serve to explain the principles of this disclosure;

[0065] Figure 1 This is a flowchart of the aircraft wheel pose determination method for dual-stage visual positioning provided by the present invention;

[0066] Figure 2 This is a schematic diagram of the aircraft wheel pose determination method for dual-stage visual positioning provided by the present invention.

[0067] Figure 3a The schematic diagram shows the principle of adding an SPD-Conv module to at least one downsampling position of the backbone network for the target detection model; Figure 3b A schematic diagram illustrating the convergence of the predicted bounding box center to the true bounding box center using angle cost, distance cost, shape cost, and intersection-union ratio cost constraints;

[0068] Figure 4 A schematic diagram illustrating the process of determining the initial position of the rotor wheel provided by the present invention;

[0069] Figure 5 A schematic diagram illustrating the instance segmentation and wheel point cloud generation process provided by this invention;

[0070] Figure 6 This invention provides a flowchart of the wheel point cloud preprocessing process.

[0071] Figure 7 This invention provides a flowchart of a two-stage point cloud registration process.

[0072] Figure 8 A schematic diagram of the structure of the aircraft wheel attitude determination device provided by the present invention;

[0073] Figure 9 This is a schematic diagram of the structure of the electronic device provided by the present invention;

[0074] In the diagram: 700, aircraft wheel attitude determination device; 710, image acquisition module; 720, initial positioning module; 730, point cloud generation module; 740, point cloud preprocessing module; 750, coarse registration module; 760, fine registration module; 770, attitude output module; 800, electronic equipment; 810, RGB-D camera; 820, processor; 830, memory; 840, communication interface; 850, display or control interface; 860, tractor controller. Detailed Implementation

[0075] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of the present invention. However, the present invention can be practiced in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0076] The innovation of this invention lies in its construction of a two-stage localization chain with pre- and post-constraints, from coarse localization using 2D vision to fine registration of 3D point clouds. The first stage utilizes target detection, depth backprojection, and instance segmentation to obtain the initial position of the wheel and a spatially cropped source point cloud of the wheel, using this initial position to constrain the coarse registration search range. The second stage sequentially employs adaptive denoising based on mesh texture features, global coarse registration using FPFH and RANSAC, and multi-scale Tukey robust ICP fine registration to output the position and orientation of the wheel in the tractor coordinate system. The pre-stage vision results directly participate in the subsequent point cloud cropping and search range determination, thereby reducing the impact of complex backgrounds, depth defects, local occlusion, and repetitive geometric structures on the stability of pose calculation.

[0077] In this invention, the wheel source point cloud refers to the point cloud to be registered generated from the wheel instance mask and depth information in the current RGB-D image; the term "wheel template point cloud" refers to the reference point cloud pre-collected, scanned or generated from a 3D model for the target aircraft model or wheel model; the term "pose" includes at least one of three-dimensional position and three-dimensional orientation.

[0078] The RGB-D camera can be mounted on the front of the tractor, near the wheel clamping mechanism, or on a bracket that maintains a fixed relative position with the tractor. Focal length and principal point parameters are obtained through intrinsic parameter calibration, and the rigid body transformation from the camera coordinate system to the tractor coordinate system is obtained through extrinsic parameter calibration. RGB images and depth images can be acquired simultaneously by the same depth camera, or separately by a color camera and a depth sensor that have undergone spatiotemporal calibration. See also Figures 1 to 9 .

[0079] Example 1.

[0080] The dual-stage visual positioning method for determining aircraft wheel pose provided in this embodiment of the invention is executed by a tractor or computing device equipped with an RGB-D camera, and the method includes:

[0081] S1, the RGB-D camera acquires an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image;

[0082] S2, input the RGB image into the pre-trained target detection model to obtain the target detection box of the aircraft wheel to be located. Based on the center pixel coordinates of the target detection box, the depth image and the calibration parameters of the RGB-D camera, determine the initial position of the aircraft wheel to be located, and establish the wheel spatial neighborhood and coarse registration search range based on the initial position.

[0083] S3, input the RGB image into the pre-trained instance segmentation model to obtain the instance mask of the aircraft wheel to be located, generate the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image and the calibration parameters, and perform spatial cropping of the wheel source point cloud using the initial position;

[0084] S4, perform point cloud preprocessing on the wheel source point cloud to obtain a preprocessed source point cloud, wherein the point cloud preprocessing includes at least voxel downsampling, normal vector estimation based on principal component analysis, and adaptive denoising based on mesh texture features;

[0085] S5, extract the fast point feature histograms of the preprocessed source point cloud and the input preset wheel template point cloud respectively, establish candidate feature matching pairs according to the fast point feature histograms, and determine the in-point matching pairs from the candidate feature matching pairs within the coarse registration search range through the random sampling consensus algorithm to obtain the coarse registration transformation;

[0086] S6. Using the coarse registration transformation as the initial value, perform iterative nearest point registration weighted by the Tukey robust kernel function on the preprocessed source point cloud and the preset wheel template point cloud according to multiple point cloud scales from coarse to fine to obtain fine registration transformation;

[0087] S7. Based on the fine registration transformation and the extrinsic parameter transformation of the tractor coordinate system configured with the RGB-D camera, determine the position and attitude of the aircraft wheels to be positioned in the tractor coordinate system.

[0088] For example, in step S2, the object detection model is trained based on an improved YOLOv8 object detection network, wherein:

[0089] In the backbone network of the YOLOv8 object detection network, at least a portion of the stride convolution downsampling modules are replaced with spatial-to-depth convolution modules to rearrange spatial pixels to the channel dimension and perform feature fusion through convolution with a stride of 1.

[0090] In at least one multi-scale feature layer of the YOLOv8 object detection network, a compression and activation channel attention module is set to perform weight calibration on different feature channels;

[0091] The bounding box regression loss of the target detection model can be SIoU, CIoU, EIoU, or other loss functions with center distance, scale, or orientation constraints. The selected loss function does not constitute a limitation on the scope of protection of this invention.

[0092] For example, in step S2, determining the initial position of the aircraft wheel to be located based on the center pixel coordinates of the target detection box, the depth image, and the calibration parameters of the RGB-D camera includes:

[0093] Calculate the center pixel coordinates based on the pixel coordinates of the two diagonal points of the target detection box;

[0094] Read the effective depth value at the center pixel coordinates or within a preset neighborhood of the center pixel coordinates from the depth image;

[0095] Based on the effective depth value and the intrinsic parameters of the RGB-D camera, the center pixel coordinates are back-projected onto the camera coordinate system to obtain the three-dimensional coordinates of the wheel center;

[0096] Based on the extrinsic parameter matrix of the tractor coordinate system, the three-dimensional coordinates of the wheel center are transformed to the tractor coordinate system, and the initial search range of the coarse registration transformation is constructed using the transformation result.

[0097] For example, in step S3, the instance segmentation model is trained based on an improved YOLOv8-seg network, wherein:

[0098] A convolutional block attention module is set in the YOLOv8-seg network to generate channel attention maps and spatial attention maps in sequence, so as to enhance the wheel contour features and suppress background features;

[0099] The path aggregation network of the YOLOv8-seg network is replaced with a bidirectional feature pyramid network, and learnable weights are used to fuse input features at different scales.

[0100] The WIoUv3 loss function with dynamic non-monotonic focusing mechanism is adopted, and the gradient gain of the anchor frame is differentially weighted according to the outlier degree of the anchor frame.

[0101] In step S3, generating the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image, and the calibration parameters includes:

[0102] The instance mask is mapped onto the depth image, and pixels within the mask region whose depth values ​​are within a preset valid range are retained;

[0103] For each retained pixel, the corresponding three-dimensional point is calculated based on the intrinsic parameters of the RGB-D camera, and the color information corresponding to each retained pixel in the RGB image is added to the three-dimensional point;

[0104] The three-dimensional points are combined to obtain the wheel source point cloud, and the three-dimensional points that exceed the wheel space neighborhood are clipped according to the initial position.

[0105] For example, in step S4, the adaptive denoising based on mesh texture features includes:

[0106] Greedy projection triangulation is performed on the wheel source point cloud after voxel downsampling and normal vector estimation to obtain the wheel mesh composed of vertices and triangular facets;

[0107] For each triangular facet, extract the facet normal vector and the facet size normalized by the global facet size mean, and construct a noise confidence score based on the deviation of the facet normal vector from the global average normal vector and the normalized facet size.

[0108] The noise confidence scores of each triangular facet are sorted to form a cumulative distribution curve. The effective point segment and the noise point segment of the cumulative distribution curve are fitted respectively. The point where the difference between the fitted curve of the effective point segment and the fitted curve of the noise point segment is the largest is determined as the adaptive segmentation threshold.

[0109] The vertices corresponding to the triangular facets whose noise confidence exceeds the adaptive segmentation threshold are removed from the wheel source point cloud.

[0110] For example, in step S5, within the coarse registration search range, interior point matching pairs are determined from the candidate feature matching pairs using a random sampling consensus algorithm to obtain a coarse registration transformation, including:

[0111] The candidate feature matching pairs are established based on the distance between the fast point feature histograms;

[0112] At least three pairs of matching points that satisfy the non-collinear constraint are randomly selected from the candidate feature matching pairs, and the candidate rigid body transformation is solved by singular value decomposition based on the selected matching points.

[0113] The candidate rigid body transformation is used to map the preprocessed source point cloud to the preset wheel template point cloud, and the matching points whose mapping residual is less than the inlier threshold are determined as inliers.

[0114] The process involves iteratively performing random sampling, candidate rigid body transformation solution, and interior point determination until the iteration termination condition, determined based on the interior point ratio and a pre-set confidence level, is met.

[0115] The rigid body transformation is resolved using all interior point matching pairs corresponding to the maximum number of interior points, and the resolved rigid body transformation is determined as the coarse registration transformation.

[0116] For example, in step S6, iterative nearest-point registration weighted by the Tukey robust kernel function is performed, including:

[0117] Point cloud pyramids for the preprocessed source point cloud and the wheel source point cloud are constructed according to multiple successively decreasing voxel sizes.

[0118] At the coarsest point cloud scale, the coarse registration transformation is used as the initial transformation, and at the other point cloud scales, the transformation output at the previous scale is used as the initial transformation.

[0119] At the current point cloud scale, corresponding point pairs are established based on nearest neighbor search. The corresponding weights are determined by the Tukey robust kernel function based on the residuals of the corresponding point pairs. When the residuals are greater than or equal to the truncation threshold, the corresponding weights are set to zero.

[0120] The incremental rigid body transformation that reduces the weighted residual sum is solved based on each corresponding point pair and its corresponding weight, and the initial transformation is updated using the incremental rigid body transformation.

[0121] The iteration at the current point cloud scale ends when the transformation increment is less than the convergence threshold, the weighted residual change is less than the error threshold, or the number of iterations reaches the upper limit, and the transformation output at the finest point cloud scale is determined as the fine registration transformation.

[0122] Example 2.

[0123] The dual-stage visual positioning aircraft wheel pose determination device provided in this embodiment of the invention includes:

[0124] An image acquisition module is used to acquire an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image;

[0125] The initial positioning module is used to obtain the target detection box of the wheel through the target detection model, and determine the initial position by combining the depth information and calibration parameters;

[0126] The point cloud generation module is used to obtain a wheel instance mask through the instance segmentation model, and generate a wheel source point cloud based on the instance mask and the depth image;

[0127] The point cloud preprocessing module is used to perform voxel downsampling, principal component analysis-based normal vector estimation, and adaptive denoising based on mesh texture features on the point cloud of the turbine wheel source.

[0128] The coarse registration module is used to extract fast point feature histograms and obtain coarse registration transformations through a random sampling consensus algorithm;

[0129] The fine registration module is used to perform multi-scale iterative nearest-point registration, weighted by the Tukey robust kernel function, with the coarse registration transformation as the initial value, to obtain the fine registration transformation;

[0130] The pose output module is used to output the wheel position and attitude based on the fine registration transformation and the extrinsic parameters of the tractor coordinate system configured with the RGB-D camera.

[0131] Example 3.

[0132] As another embodiment of the present invention, such as Figure 2 The dual-stage visual positioning method for determining aircraft wheel pose provided by this invention includes:

[0133] Step S110: Acquire an RGB-D image.

[0134] The system controls an RGB-D camera to acquire RGB and depth images of the aircraft's nose wheel, and performs time synchronization, depth-to-color pixel registration, and invalid depth marking. It can perform brightness normalization, white balance, or distortion correction on the RGB images, and hole filling and edge-preserving filtering on the depth images.

[0135] Step S120: Determine the initial position of the wheel.

[0136] The RGB image is input into the object detection model to obtain the wheel detection bounding boxes and confidence scores. Detection boxes whose confidence scores meet the threshold are selected, and the center pixel coordinates of the detection boxes are calculated. The effective depth median of the center neighborhood is read from the depth image and back-projected into 3D coordinates using camera intrinsic parameters. The initial position is then obtained using the extrinsic parameter matrix from the camera to the tractor. This initial position is used for coarse pose adjustment of the tractor and also to constrain subsequent point cloud cropping and registration searches.

[0137] Step S130: Generate the wheel source point cloud.

[0138] The RGB image is input into the instance segmentation model to obtain a mask for the wheel instance. Connectivity filtering and edge correction are performed on the mask, and it is multiplied pixel-by-pixel with the depth image, retaining only the effective depth within the mask. Based on the camera intrinsics, the retained pixels are back-projected into 3D space to obtain the wheel source point cloud with color or grayscale attributes.

[0139] Step S140: Preprocess the machine wheel source point cloud.

[0140] First, voxel meshes are used to reduce the number of points and equalize the spatial density. Then, point normals are estimated using PCA and normal reorientation is performed. Subsequently, triangular meshes are constructed, and two types of texture features, namely patch normals and normalized dimensions, are extracted. The noise threshold is automatically determined based on the global distribution of features to remove flying points, edge burrs, and abnormally sparse regions.

[0141] Step S150: Extract local features of the point cloud.

[0142] For the neighborhood normals of the preprocessed source point cloud and the input wheel template point cloud, a local reference frame is established and the angular features of point pairs are statistically analyzed to form FPFH descriptors. Candidate feature matching pairs are constructed through descriptor distance and nearest neighbor constraints.

[0143] Step S160: Perform RANSAC coarse registration.

[0144] Extract the smallest sample that satisfies the non-collinearity constraint from the candidate feature matching pairs, solve for the candidate rotation matrix and translation vector, and statistically analyze the interior points based on the transformed spatial residuals. Repeat sampling until the maximum number of iterations is reached or the termination condition determined by the confidence level and the interior point rate is met, and then use the optimal interior point set to solve the coarse registration transformation again.

[0145] Step S170: Perform multi-scale Tukey robust ICP fine registration.

[0146] A point cloud pyramid composed of multiple voxel scales is constructed, starting with the coarsest scale to establish nearest neighbor corresponding points. The Tukey robust kernel function is used to assign weights to the corresponding points according to the residuals. The incremental transformation is solved by weighted singular value decomposition or the equivalent rigid body least squares method, and the results of the previous scale are passed to the next finer scale until the finest scale converges.

[0147] Step S180: Output the wheel position and attitude.

[0148] The homogeneous transformation from the source point cloud to the template point cloud obtained by fine registration is combined with the extrinsic parameter transformation from the camera to the tractor and the model coordinate transformation of the template point cloud to obtain the final homogeneous transformation of the wheel relative to the tractor. The translation vector and rotation matrix or Euler angle are extracted from it for use by the tractor positioning controller.

[0149] For example, in step S120, the target detection model and initial position calculation include:

[0150] like Figure 3a The schematic diagram shows the principle of adding an SPD-Conv module to at least one downsampling position of the backbone network for the target detection model; Specifically, the object detection model is based on YOLOv8n or other single-stage detection networks with a backbone network, a neck network, and a detection head. To address the issue of the small size of the machine wheels in long-range images, an SPD-Conv module is added at at least one downsampling location in the backbone network. The SPD layer splits the input feature map according to spatial index using a scale factor s. The sub-images are concatenated along the channel dimension, and then channel compression and semantic fusion are achieved through convolution with a stride of 1, thereby avoiding the direct discarding of fine-grained pixels by stride convolution.

[0151] Set up the SEAttention module in the P3 layer, P4 layer, or other multi-scale feature layers. This module first performs global average pooling on each channel, uses two fully connected layers and the Sigmoid activation function to generate channel weights, and then broadcasts the channel weights to the spatial dimension of the feature map to achieve key channel enhancement and background channel suppression.

[0152] Bounding box regression loss can employ SIoU, CIoU, EIoU, or other loss functions with center distance, scale, or orientation constraints. This embodiment uses the SIoU loss function, utilizing angular cost, distance cost, shape cost, and intersection-union ratio (IU / IU) cost to constrain the predicted box center to converge towards the true box center; as shown... Figure 3b This loss function is only an optional training configuration.

[0153] Training data can include images of the vehicle wheels under different initial poses, lighting intensities, shooting distances, and shooting angles. Image augmentation can be performed using brightness transformations, contrast transformations, scaling, rotation, blurring, noise injection, and random occlusion. The model can be divided into training, validation, and test sets. After model training, the weights with the best overall performance on the validation set are selected as the deployment weights.

[0154] Let the pixel coordinates of the top left and bottom right corners of the detection box be respectively and Then the center pixel coordinates of the detection box are:

[0155]

[0156] To reduce the impact of single-pixel depth loss, it is possible to... Filter the effective depth within the center window, and use the median or truncated mean as the center depth. Let the camera intrinsic parameters be... If so Figure 4 As shown, the coordinates of the wheel center in the camera coordinate system are:

[0157]

[0158] In the formula, These are the pixel coordinates of the top left and bottom right corners of the detection box, respectively. These are the horizontal and vertical pixel coordinates of the center of the detection box, respectively. These are the equivalent focal lengths of the RGB-D camera in the horizontal and vertical directions of the image, respectively. These are the horizontal and vertical pixel coordinates of the principal point. This represents the median or truncated mean of the effective depth within the neighborhood of the center pixel. These are the coordinate components of the wheel center in the three coordinate axes of the camera coordinate system.

[0159] Let the homogeneous extrinsic parameter matrix of the tractor coordinate system configured with an RGB-D camera be... The initial coordinates of the wheel center in the tractor coordinate system are then... It can be represented as:

[0160]

[0161] In the formula, To transform homogeneous coordinates from the camera coordinate system to the tractor coordinate system using a 4×4 homogeneous transformation matrix, The coordinates of the wheel center in the camera coordinate system are homogeneous. Let be the homogeneous coordinates of the wheel center in the tractor coordinate system. These are its three coordinate components, indicated by superscript. Represents the transpose of a matrix or vector.

[0162] For example, in step S130, instance segmentation and wheel source point cloud generation include:

[0163] like Figure 5 As shown, the instance segmentation model is based on YOLOv8-seg, with CBAM added to the backbone network or feature fusion network. CBAM first performs global average pooling and max pooling in parallel to generate channel attention, and then performs average pooling and max pooling along the channel dimension and convolution to generate spatial attention. Channel attention and spatial attention are applied to the input features in sequence, making the network pay more attention to the wheel tire edge, hub and spoke regions.

[0164] After replacing PANet with BiFPN, redundant nodes with only a single input are removed, skip connections are added at the same level, and bidirectional feature fusion is repeatedly performed from top to bottom and bottom to top. Non-negative learnable weights are set for multiple input features of the same output node, and after normalization, they are weighted and summed to enable the network to adaptively select shallow spatial details and deep semantic information.

[0165] The bounding box branch uses the WIoUv3 loss function. WIoUv3 generates dynamic, non-monotonic focusing coefficients based on the outlierness of the current anchor box loss relative to the moving average loss, reducing the gradient gain of extremely high-quality and extremely low-quality anchor boxes, making training more focused on ordinary-quality samples, and reducing the impact of annotation noise and sample imbalance. The mask branch outputs a binary or probabilistic mask corresponding to each wheel instance.

[0166] After thresholding the mask probability, the largest connected region can be preserved and morphological closing operations can be performed to fill the small holes caused by wheel hub reflections. This applies to pixels within the mask. Read depth When the depth is valid, the 3D points are calculated based on the camera intrinsic parameters.

[0167]

[0168] In the formula, pixels within the mask The three-dimensional points obtained by back projection These are the x and y coordinates of the pixel, respectively. This is the effective depth value corresponding to the pixel. These are the coordinate components of the point along the horizontal and vertical axes of the camera coordinate system, respectively.

[0169] All valid 3D points are combined into a wheel source point cloud. If necessary, a 3D clipping box is set with the initial position obtained in step S120 as the center to remove points that exceed the reasonable size range of the wheel, thereby further reducing the residue of the ground, landing gear or background structure.

[0170] For example, in step S140, point cloud preprocessing includes:

[0171] like Figure 6 As shown, point cloud preprocessing includes voxel downsampling, normal vector estimation, triangular mesh construction, texture feature extraction, adaptive threshold determination, and noise removal. The processing order can be adjusted according to the point cloud quality, but it should ensure that a source point cloud with an appropriate number of points, consistent normals, and few outliers is obtained before coarse registration.

[0172] Voxel downsampling divides the three-dimensional space into sections with sides of length 1. For a cubic voxel, calculate the centroid of each interior point for every non-empty voxel, and replace the original points within the voxel with this centroid. If the voxel contains... Points Then the voxel represents the point for:

[0173]

[0174] In the formula, The number of points contained in the current non-empty voxel. This represents the index of the voxel's interior point. For the first A three-dimensional point coordinate vector It is the representative point of the current voxel, and is equal to the arithmetic mean of all three-dimensional points within that voxel.

[0175] For any query point of the normal vector to be estimated after downsampling In the radius neighborhood or Calculate the centroid and covariance matrix of the nearest neighbor. Perform eigenvalue decomposition on the covariance matrix, and use the eigenvector corresponding to the smallest eigenvalue as the query point for the normal vector to be estimated. The normal vector.

[0176]

[0177] In the formula, The query point is where the normal vector to be estimated is located. For radius neighborhood or Points within the nearest neighbors, For the first Neighboring points, The centroid of all neighboring points, The query point for the normal vector to be estimated of Neighborhood covariance matrix; for After eigenvalue decomposition, the unit eigenvector corresponding to the smallest eigenvalue is used as the query point for the normal vector to be estimated. The normal vector.

[0178] To eliminate the ambiguity of the normal direction, a point with a smaller curvature can be selected as the seed, and the normal dot product can be compared point by point through minimum spanning tree or breadth-first traversal; when the dot product of adjacent normals is negative, the normals of the neighboring points are flipped to make the normals of the local region consistent.

[0179] Greedy projection triangulation is performed on point clouds with a consistent normal. During triangulation, constraints are placed on the search radius, maximum side length, and normal angle to prevent triangular faces from crossing wheel holes. For each facet... Calculate the normal of the surface patch and circumcircle radius or equivalent surface size and based on the global average patch size right Normalization.

[0180] Available patch normal relative to global average normal The deviation and the normalized patch size together construct the noise confidence score. .For example, can be and The weighted sum is obtained. The more obvious the abrupt change in normal direction or the abnormality in patch size, the greater the noise confidence level.

[0181] The noise confidence scores of each patch are arranged in ascending order to form a cumulative distribution curve. A low-order polynomial is used to fit the effective point segment at the head and the noise point segment at the tail of the fitted curve, respectively. The difference between the two fitted curves at each index is calculated, and the confidence score corresponding to the maximum difference is determined as the adaptive segmentation threshold. Therefore, it is unnecessary to manually set a fixed noise threshold for different wheel models and acquisition distances.

[0182] Patches with noise confidence exceeding a threshold are marked as noise patches, and vertices belonging solely to noise patches are removed from the source point cloud. For boundary vertices that belong to both valid and noise patches, retention is determined based on the proportion of their valid neighborhood to avoid excessive deletion of tire edges, rim edges, and spoke indentations.

[0183] For example, in step S160, the FPFH and RANSAC coarse registration includes:

[0184] like Figure 7 As shown, the coarse registration stage simultaneously inputs the preprocessed source point cloud and the preset wheel template point cloud. This is for the query points in the point cloud whose normal vectors need to be estimated. and neighboring points A local orthogonal coordinate system is established using the query point normal, the point-to-point connection line, and the cross product vector. The angular features reflecting the relationship between the normal and the connection line of two points are calculated, and each angular feature is divided into multiple intervals to form SPFH. Then, the neighborhood SPFH is weighted according to the point-to-point distance to obtain the FPFH descriptor.

[0185] Candidate matching pairs between source and template points are established based on the distance between FPFH descriptors. Nearest neighbor ratio testing or mutual nearest neighbor testing can be used to reduce erroneous matching caused by duplicate textures. Subsequently, three or more non-collinear point pairs are randomly selected from the candidate matching pairs, the centroids of the source and template points are calculated, and singular value decomposition is performed on the cross-covariance matrix of the decentralized coordinates to obtain the candidate rotation matrix R and candidate translation vector t.

[0186] The source point cloud is mapped to a preset wheel template point cloud using a candidate transformation, and the Euclidean residual of each pair of candidate matching points is calculated. Matching pairs with residuals less than the inlier threshold are denoted as inliers. The current candidate transformation is evaluated by the number of inliers, the proportion of inliers, and the average inlier residual. If the current candidate transformation is better than the historical best candidate transformation, the best transformation is updated.

[0187] The maximum number of iterations for RANSAC can be determined based on a pre-set confidence level h, which indicates that at least one random sample consists entirely of interior points, and the current proportion of interior points. and minimum number of samples Dynamically updated:

[0188]

[0189] In the formula, Let h be the maximum number of RANSAC iterations, and take an integer not less than the calculated result. Let h be the pre-set confidence level where at least one random sample consists entirely of interior points. The proportion of inliers in the current candidate matching pair. This represents the minimum number of sampling point pairs required for each estimation of rigid body transformation; Logarithmic functions with the same base.

[0190] After reaching the maximum number of iterations or meeting the requirements for the proportion of interior points, the rigid body least squares solution is re-executed using all interior point matching pairs corresponding to the optimal transformation, and the resulting transformation is used as the coarse registration transformation. The initial position is used to limit the translation range of the candidate transformations, and the preset wheel attitude prior is used to limit the rotation range of the candidate transformations, so as to exclude candidate transformations that obviously do not conform to the spatial region where the wheel is located.

[0191] For example, in step S170, multi-scale Tukey robust ICP fine registration includes:

[0192] Coarse registration transformation can move the source point cloud into the convergence neighborhood of ICP, but due to the smooth surface of the wheel, repetitive structures, and erroneous feature matching, coarse registration may still have biases. This embodiment constructs multiple point cloud scales from coarse to fine, with each scale corresponding to a voxel size. The coarsest scale mainly preserves the overall outline of the wheel, while the finer scale gradually restores local structures such as the wheel hub edge, tire curvature, and spoke concavity.

[0193] In the formula, This represents the total number of scales of the point cloud pyramid. This is the current scale number. For the first The scale uses voxel dimensions, and ; This is the initial homogeneous transformation from the source point cloud obtained by RANSAC coarse registration to the preset wheel template point cloud.

[0194] At the coarsest scale, As the initial transformation; in the... Scale, with the first The scale output transformation serves as the initial transformation. Based on the source point after the current transformation, the nearest neighbor is searched in the preset wheel template point cloud, and corresponding point pairs are constructed. Point-to-point residuals can be used, or point-to-plane residuals can be used if the template normal is reliable.

[0195] For the A pair of corresponding points, For points in the source point cloud, For the corresponding points in the template point cloud, and These are the current rotation matrix and translation vector, respectively. When using a point-to-point form, the residual... When using a point-to-plane form, ,in, For template points The unit normal vector at that location.

[0196] For the The residuals of each corresponding point pair Using Tukey robust kernel function Suppress outliers. The Tukey loss in this embodiment can be expressed as:

[0197]

[0198] In the formula, For Tukey robust loss, For the scalar residuals of the corresponding point pairs, To truncate the threshold, The absolute value of the residual; when The loss remains constant. This prevents large residuals from further increasing the objective function.

[0199] The weights corresponding to this loss can be expressed as:

[0200]

[0201]

[0202] Therefore, in-place points with smaller errors retain higher weights, while large residual points such as reflective flying points, occluded edges, and mismatches no longer affect the rigid body transformation estimation.

[0203] in, For residuals The corresponding Tukey weight; when hour, ,when hour, . For the first The weights of each corresponding point pair are determined by the current residual. Calculated.

[0204] Solving the weighted rigid body transformation corresponding to the following equation at the current scale:

[0205]

[0206] In the formula, Let these be the optimal rotation matrix and the optimal translation vector that minimize the sum of squared weighted residuals, respectively. It is a special orthogonal group in three dimensions. This represents the number of corresponding point pairs participating in the optimization at the current scale. It is the Euclidean norm.

[0207] The above solution can be achieved through iterative reweighted least squares: update the weights based on the current residuals, perform singular value decomposition based on the weighted centroids and weighted cross-covariance matrices to obtain incremental rotations and translations, and then update the current transformation. The current scale ends and the next scale begins when any of the following conditions are met: transformation increment threshold, objective function change threshold, or maximum number of iterations. The transformation output at the finest scale is denoted as... .

[0208] For example, in step S180, the final pose calculation includes:

[0209] set up For a homogeneous transformation from the camera coordinate system to the tractor coordinate system, For a homogeneous transformation from the wheel source point cloud coordinate system to the camera coordinate system, For the precise registration transformation from the wheel source point cloud coordinate system to the template point cloud coordinate system, This represents a homogeneous transformation from the template point cloud coordinate system to the wheel model coordinate system. If Defined as the final homogeneous transformation from the wheel model coordinate system to the tractor coordinate system, then , where superscript Find the inverse of the matrix; when the wheel source point cloud is directly represented in camera coordinates. It is an identity matrix.

[0210] The homogeneous transformation T is determined by the rotation matrix R and the translation vector. composition:

[0211]

[0212] In the formula, for Rotation matrix, It is a three-dimensional translation vector. for The zero vector, with the 1 in the lower right corner representing the homogeneous coordinate constant. Translation vector. The position of the origin of the wheel model coordinate system in the tractor coordinate system is represented by the rotation matrix R, which represents the orientation of the wheel model coordinate system relative to the tractor coordinate system. This can be further converted into quaternions, rotation vectors, or yaw, pitch, and roll angles calculated in the ZYX order. The tractor controller can calculate the lateral error, longitudinal error, heading angle error, and target entry depth of the wheel clamping mechanism based on the stated position and attitude.

[0213] To improve output stability, temporal filtering can be applied to the pose of consecutive frames. When the registration fitness of the current frame is lower than the threshold, the number of effective corresponding points is insufficient, or the pose changes irrationally relative to the previous frame, the current frame is marked as low confidence, and target detection, point cloud generation, or coarse registration is re-executed.

[0214] Example 4.

[0215] As another embodiment of the present invention, such as Figure 8 The aircraft wheel pose determination device 700 provided by the present invention includes an image acquisition module 710, an initial positioning module 720, a point cloud generation module 730, a point cloud preprocessing module 740, a coarse registration module 750, a fine registration module 760, and a pose output module 770.

[0216] The image acquisition module 710 is used to acquire RGB images and depth images registered with the RGB images. The initial localization module 720 is used to obtain target detection boxes through the target detection model and determine the initial position of the wheel by combining depth information and calibration parameters. The point cloud generation module 730 is used to obtain a wheel instance mask through the instance segmentation model and generate the wheel source point cloud based on the instance mask and the depth image.

[0217] The point cloud preprocessing module 740 performs voxel downsampling, PCA normal vector estimation, and adaptive denoising based on mesh texture features. The coarse registration module 750 extracts the FPFH and obtains the coarse registration transform via RANSAC. The fine registration module 760 performs multi-scale Tukey robust ICP and outputs the fine registration transform. The pose output module 770 completes the coordinate system transformation and outputs the position and attitude of the wheels.

[0218] The modules described above can be implemented by software, hardware, firmware, or a combination thereof. Multiple modules can be combined into a single processing unit, and a single module can be divided into multiple sub-modules; as long as the corresponding functions can be achieved, the way the modules are divided does not constitute a limitation on the present invention.

[0219] Example 5.

[0220] like Figure 9 This invention provides an electronic device 800, which may include an RGB-D camera 810, one or more processors 820, a memory 830, a communication interface 840, a display or control interface 850, and a tractor controller 860. The components communicate via a data bus. The electronic device 800 may be an industrial computer, an edge computing device, an embedded controller, or a server that communicates with the tractor, installed on the tractor.

[0221] The memory 830 can store target detection model parameters, instance segmentation model parameters, wheel template point cloud, camera intrinsic and extrinsic parameters, point cloud processing parameters, and a computer program for implementing the method of the present invention. When the processor 820 executes the computer program, it completes image acquisition, initial localization, point cloud generation, point cloud preprocessing, coarse registration, fine registration, and pose output.

[0222] Processor 820 may be a central processing unit, graphics processing unit, neural network processor, digital signal processor, field-programmable gate array, application-specific integrated circuit, or a combination thereof. Memory 830 may include random access memory, read-only memory, flash memory, solid-state drive, or other non-transitory computer-readable storage media.

[0223] Computer programs can be written in one or more programming languages ​​and can be executed entirely on electronic device 800, or partially on electronic device 800 and partially on remote computing device. When program instructions are executed by a processor, the processor performs one or more steps in the above method embodiments.

[0224] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0225] The information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0226] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments.

[0227] This invention also provides a computer device comprising: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above method embodiments.

[0228] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps described in the various method embodiments above.

[0229] This invention also provides an information data processing terminal, which, when executed on an electronic device, provides a user input interface to implement the steps described in the above method embodiments. The information data processing terminal is not limited to mobile phones, computers, or switches.

[0230] This invention also provides a server that, when executed on an electronic device, provides a user input interface to implement the steps described in the above method embodiments.

[0231] This invention provides a computer program product that, when run on an electronic device, enables the electronic device to implement the steps described in the various method embodiments.

[0232] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0233] To further illustrate the effects of the embodiments of the present invention, the following experiments were conducted.

[0234] Parameter Configuration and Verification. In a non-limiting embodiment, the overall scale of the wheel point cloud is approximately 1.7 m, and the voxel downsampling size can be 0.05 m; the RANSAC inlier distance threshold can be 0.005 m; the Tukey robust kernel truncation threshold can be adaptively set according to the point spacing at the current scale, or it can be selected within the range of 0.05 m to 0.20 m. The above values ​​are only used to illustrate one possible implementation and do not constitute a limitation of the present invention.

[0235] On a self-built aircraft wheel image dataset, the object detection model using SPD-Conv, SEAttention, and SIoU achieved a precision of 95.7%, a recall of 93.9%, and a mAP50 of 97.1%. The instance segmentation model using CBAM, BiFPN, and WIoUv3 achieved a box mAP50 of 96.3% and a mask mAP50 of 95.2%. These results demonstrate that the improved modules can enhance the detection and segmentation performance of aircraft wheels in complex apron scenarios.

[0236] On a self-built wheel point cloud dataset, the two-stage registration method of this embodiment, including ICP, RANSAC+ICP, FPFH+RANSAC+ICP, and the method described in this embodiment, is compared. The root mean square error of wheel registration in this embodiment is 1.439 × 10⁻⁶. -3The translation error ranges from 2.4 mm to 3.2 mm, and the runtime is 8.598 s. This result demonstrates that the multi-scale strategy and the Tukey robust kernel can reduce registration error while maintaining acceptable computational efficiency.

[0237] In actual deployment, target detection and instance segmentation can be accelerated using GPUs, NPUs, or other parallel computing units, and point cloud processing can be accelerated through multi-threading, nearest neighbor indexing, and point cloud scale selection. The image sampling frequency can also be set according to the tractor's moving speed, and the RGB-D sampling frequency can be increased during the fine positioning phase near the wheels.

[0238] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by those skilled in the art within the scope of the technology disclosed in the present invention and within the spirit and principles of the present invention should be covered within the scope of protection of the present invention.

Claims

1. A method for determining the attitude of aircraft wheels based on two-stage visual localization, characterized in that, Performed by a tractor or computing device equipped with an RGB-D camera, the method includes the following steps: S1, the RGB-D camera acquires an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image; S2, input the RGB image into the pre-trained target detection model to obtain the target detection box of the aircraft wheel to be located. Based on the center pixel coordinates of the target detection box, the depth image and the calibration parameters of the RGB-D camera, determine the initial position of the aircraft wheel to be located, and establish the spatial neighborhood and coarse registration search range of the aircraft wheel based on the initial position. S3, input the RGB image into the pre-trained instance segmentation model to obtain the instance mask of the aircraft wheel to be located, generate the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image and the calibration parameters, and perform spatial cropping of the wheel source point cloud using the initial position; S4, perform point cloud preprocessing on the source point cloud of the turbine wheel to obtain a preprocessed source point cloud; wherein, the point cloud preprocessing includes voxel downsampling, normal vector estimation based on principal component analysis, and adaptive denoising based on mesh texture features; S5, extract the fast point feature histograms of the preprocessed source point cloud and the input preset wheel template point cloud respectively, establish candidate feature matching pairs according to the fast point feature histograms, and determine the in-point matching pairs from the candidate feature matching pairs within the coarse registration search range through the random sampling consensus algorithm to obtain the coarse registration transformation; S6. Using the coarse registration transformation as the initial value, perform iterative nearest point registration weighted by the Tukey robust kernel function on the preprocessed source point cloud and the preset wheel template point cloud according to multiple point cloud scales from coarse to fine to obtain fine registration transformation; S7. Based on the fine registration transformation and the extrinsic parameter transformation of the tractor coordinate system configured with the RGB-D camera, determine the position and attitude of the aircraft wheels to be positioned in the tractor coordinate system.

2. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S2, the target detection model is trained based on the improved YOLOv8 target detection network. In the backbone network of the YOLOv8 target detection network, a portion of the stride convolution downsampling module is replaced with a spatial-to-depth convolution module to rearrange spatial pixels to the channel dimension and perform feature fusion through convolution with a stride of 1. In at least one multi-scale feature layer of the YOLOv8 object detection network, a compression and excitation channel attention module is set to perform weight calibration on different feature channels.

3. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S2, determining the initial position of the aircraft wheels to be located based on the center pixel coordinates of the target detection box, the depth image, and the calibration parameters of the RGB-D camera includes: Calculate the center pixel coordinates based on the pixel coordinates of the two diagonal points of the target detection box; Read the effective depth value at the center pixel coordinates or within a preset neighborhood of the center pixel coordinates from the depth image; Based on the effective depth value and the intrinsic parameters of the RGB-D camera, the center pixel coordinates are back-projected onto the RGB-D camera coordinate system to obtain the three-dimensional coordinates of the wheel center; Based on the extrinsic parameter matrix of the tractor coordinate system, the three-dimensional coordinates of the wheel center are transformed to the tractor coordinate system, and the initial search range of the coarse registration transformation is constructed using the transformation result.

4. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S3, the instance segmentation model is trained based on an improved YOLOv8-seg network, wherein a convolutional block attention module is set in the YOLOv8-seg network to generate channel attention maps and spatial attention maps in sequence to enhance the wheel contour features and suppress background features. The path aggregation network of the YOLOv8-seg network is replaced with a bidirectional feature pyramid network, and learnable weights are used to fuse input features at different scales. The WIoUv3 loss function with dynamic non-monotonic focusing mechanism is adopted, and the gradient gain of the anchor frame is differentially weighted according to the outlier degree of the anchor frame.

5. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S3, generating the wheel source point cloud of the aircraft wheel to be located based on the instance mask, the depth image, and the calibration parameters includes: mapping the instance mask onto the depth image and retaining pixels within the mask area whose depth values ​​are within a preset effective range; For each retained pixel, the corresponding three-dimensional point is calculated based on the intrinsic parameters of the RGB-D camera, and the color information corresponding to each retained pixel in the RGB image is added to the three-dimensional point; The three-dimensional points are combined to obtain the wheel source point cloud, and the three-dimensional points that exceed the spatial neighborhood of the aircraft wheel are clipped according to the initial position.

6. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S4, the adaptive denoising based on mesh texture features includes: Greedy projection triangulation is performed on the wheel source point cloud after voxel downsampling and normal vector estimation to obtain the wheel mesh composed of vertices and triangular facets; For each triangular facet, extract the facet normal vector and the facet size normalized by the global facet size mean, and construct a noise confidence score based on the deviation of the facet normal vector from the global average normal vector and the normalized facet size. The noise confidence scores of each triangular facet are sorted to form a cumulative distribution curve. The effective point segment and the noise point segment of the cumulative distribution curve are fitted respectively. The point where the difference between the fitted curve of the effective point segment and the fitted curve of the noise point segment is the largest is determined as the adaptive segmentation threshold. The vertices corresponding to the triangular facets whose noise confidence exceeds the adaptive segmentation threshold are removed from the wheel source point cloud.

7. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S5, within the coarse registration search range, interior point matching pairs are determined from the candidate feature matching pairs using a random sampling consensus algorithm to obtain the coarse registration transformation, including: The candidate feature matching pairs are established based on the distance between the fast point feature histograms; At least three pairs of matching points that satisfy the non-collinear constraint are randomly selected from the candidate feature matching pairs, and the candidate rigid body transformation is solved by singular value decomposition based on the selected matching points. The candidate rigid body transformation is used to map the preprocessed source point cloud to the preset wheel template point cloud, and the matching points whose mapping residual is less than the inlier threshold are determined as inliers. The process involves iteratively performing random sampling, candidate rigid body transformation solution, and interior point determination until the iteration termination condition, determined based on the interior point ratio and a pre-set confidence level, is met. The rigid body transformation is resolved using all interior point matching pairs, and the resolved rigid body transformation is determined as the coarse registration transformation.

8. The aircraft wheel pose determination method based on dual-stage visual positioning according to claim 1, characterized in that, In step S6, iterative nearest-point registration weighted by the Tukey robust kernel function is performed, including: Point cloud pyramids are constructed for the preprocessed source point cloud and the preset wheel template point cloud, respectively, according to multiple successively decreasing voxel sizes; At the coarsest point cloud scale, the coarse registration transformation is used as the initial transformation, and at the other point cloud scales, the transformation output at the previous scale is used as the initial transformation. At the current point cloud scale, corresponding point pairs are established based on nearest neighbor search. The corresponding weights are determined by the Tukey robust kernel function based on the residuals of the corresponding point pairs. When the residuals are greater than or equal to the truncation threshold, the corresponding weights are set to zero. The incremental rigid body transformation that reduces the weighted residual sum is solved based on each corresponding point pair and its corresponding weight, and the initial transformation is updated using the incremental rigid body transformation. The iteration at the current point cloud scale ends when the transformation increment is less than the convergence threshold, the weighted residual change is less than the error threshold, or the number of iterations reaches the upper limit, and the transformation output at the finest point cloud scale is determined as the fine registration transformation.

9. An aircraft wheel pose determination device based on dual-stage visual positioning, characterized in that, The device is used to perform the aircraft wheel pose determination method based on two-stage visual positioning as described in any one of claims 1-8, and the device includes: An image acquisition module is used to acquire an RGB image containing the aircraft wheels to be positioned and a depth image registered with the RGB image; The initial localization module is used to obtain the target detection box of the aircraft wheels through the target detection model, and to determine the initial position by combining depth information and calibration parameters; The point cloud generation module is used to obtain a wheel instance mask through the instance segmentation model, and generate a wheel source point cloud based on the instance mask and the depth image; The point cloud preprocessing module is used to perform voxel downsampling, principal component analysis-based normal vector estimation, and adaptive denoising based on mesh texture features on the point cloud of the turbine wheel source. The coarse registration module is used to extract fast point feature histograms and obtain coarse registration transformations through a random sampling consensus algorithm; The fine registration module is used to perform multi-scale iterative nearest-point registration, weighted by the Tukey robust kernel function, with the coarse registration transformation as the initial value, to obtain the fine registration transformation; The pose output module is used to output the wheel position and attitude based on the fine registration transformation and the extrinsic parameters of the tractor coordinate system configured with the RGB-D camera.

10. The aircraft wheel pose determination device based on dual-stage visual positioning according to claim 9, characterized in that, The device is housed within an electronic device (800), which includes an RGB-D camera (810), one or more processors (820), a memory (830), a communication interface (840), a display or control interface (850), and a tractor controller (860). The components communicate via a data bus. The electronic device (800) is an industrial computer, edge computing device, embedded controller, or server that communicates with the tractor and is installed on the tractor. The memory (830) stores target detection model parameters, instance segmentation model parameters, wheel template point cloud, camera intrinsic and extrinsic parameters, point cloud processing parameters, and a computer program for implementing a method for determining the pose of aircraft wheels based on dual-stage visual positioning. When the processor (820) executes the computer program, it completes image acquisition, initial positioning, point cloud generation, point cloud preprocessing, coarse registration, fine registration, and pose output.