A target pose estimation method based on light-dark consistency constraint and laser supervision
By using a target pose estimation method based on brightness consistency constraints and laser supervision, and utilizing laser reflectivity pseudo-images and laser anchor poses, the problem of insufficient pose estimation accuracy under low illumination conditions in existing technologies is solved, and stable pose output in low-light scenes is achieved.
Patent Information
- Application Number
- CN202611482107.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-22
- Publication Date
- 2026-11-27
AI Technical Summary
Existing pose estimation techniques suffer from decreased accuracy in scenarios such as backlighting, shadows, nighttime, and mirror reflections on metal parts. Laser methods lack sufficient stability in estimating periodic structures such as umbrella skirts and small-volume parts, and visual information loss in low-light scenarios is difficult to recover, making target pose estimation difficult to achieve under low-light conditions.
By constructing a target pose estimation method based on brightness consistency constraints and laser supervision, a pseudo-image of laser reflectivity is used as an appearance reference, and the pose of the laser anchor is combined as a pose reference connecting good lighting and low illumination conditions. The student network is trained to achieve illumination-robust pose estimation, and teacher distillation and geometric reprojection optimization techniques are adopted.
It can stably output the six-DOF pose of the target in low-light, backlight and nighttime scenes, reduce the cost of data annotation, and is suitable for practical engineering applications.
Smart Images

Figure CN123181553A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of multimodal perception and machine vision technology, specifically a target pose estimation method based on brightness consistency constraints and laser supervision. Background Technology
[0002] Six-degree-of-freedom pose estimation of the target is a key step in robot operation and intelligent inspection. In the scenario of intelligent power grid inspection and live-line operation, the robot needs to obtain the precise pose of components such as insulator strings, vibration dampers, spacers and clamps relative to the working mechanism in order to perform operations such as cleaning, defect elimination, grasping and installation.
[0003] Existing pose estimation techniques are mainly divided into three categories: pure vision methods, which are based on monocular or binocular cameras and solve pose by keypoint detection and perspective-n-point (PnP) algorithms or end-to-end network regression. They are low-cost and rich in information, but heavily dependent on ambient lighting. In scenes such as backlighting, shadows, nighttime, and mirror reflections on metal parts, images are overexposed, underexposed, and lose texture, resulting in a sharp drop in pose accuracy. Pure laser methods estimate pose based on point cloud registration or geometric fitting. They do not depend on ambient light and can directly measure distances, but point clouds are sparse, lack texture and semantics, and have insufficient estimation stability for periodic structures such as umbrella skirts, slender structures such as wires, and small-volume parts. Vision and laser fusion methods simultaneously input images and point clouds for feature-level or decision-level fusion during the inference stage. However, in low-light scenes, camera data itself is already degraded, and fusion during the inference stage cannot recover the lost visual information.
[0004] Laser echo intensity itself is independent of ambient visible light illumination. Existing technologies have converted it into grayscale images for extrinsic parameter calibration and homologous feature matching of lidar and cameras, and have also used it as a constraint in intrinsic image decomposition to improve the estimation accuracy of the decomposed reflectivity components. However, these applications are all aimed at calibration or image decomposition itself, and the laser intensity constraint only applies to the image decomposition results under a single imaging condition. It is not used for target pose estimation, nor is it used as an invariant benchmark connecting well-lit and low-light imaging conditions. At the same time, manually annotating the six-DOF pose ground truth on low-light images is costly and has limited accuracy, making it difficult to implement supervised training directly on low-light data. Therefore, in view of the above situation, there is an urgent need to develop a target pose estimation method based on brightness consistency constraints and laser supervision to overcome the shortcomings in current practical applications. Summary of the Invention
[0005] The purpose of this invention is to provide a target pose estimation method based on brightness consistency constraints and laser supervision to solve the problems mentioned in the background art.
[0006] To achieve the above objectives, the present invention provides the following technical solution: A target pose estimation method based on brightness consistency constraints and laser supervision includes the following steps: Step 1: Construction of training sample triples: Collect visible light images, laser point clouds and corresponding echo intensities of the target under good lighting conditions, and obtain the true value of the six-degree-of-freedom pose of the target under the good lighting conditions. The visible light image under the good lighting environment is subjected to imaging degradation processing to generate a low-light image that is aligned with the pixels of the visible light image, forming a training sample triplet consisting of a bright image, a dark image, and laser data. Step 2, generation of pseudo-image of laser reflectivity: perform distance correction and incident angle correction on the laser echo intensity to obtain normalized laser reflectivity; The normalized laser reflectivity is projected onto the camera image plane and densified to obtain a pseudo-image of laser reflectivity with the same size and pixel alignment as the visible light image. Step 3, Student Network Construction and Training: Construct a student network containing a visual branch and a laser branch, wherein bright and dark images share all network weights of the visual branch, and the laser branch is set independently; The bright image and dark image are respectively input into the visual branch, and the bright image pose, bright image reflectance embedding and dark image pose, dark image reflectance embedding are output accordingly. The laser point cloud is input into the laser branch, and the laser anchor pose and laser reflectivity are embedded in the output. Using the laser reflectivity embedding as the appearance anchor and the laser anchor pose as the geometric anchor, a reflectivity anchoring loss and a light / dark laser ternary pose consistency loss are constructed to train the student network. Step 4, Pose Calculation in Inference Stage: Input the real-time acquired visible light image and the corresponding laser point cloud into the trained student network, and output the visual pose hypothesis and the laser pose hypothesis. Illumination confidence is derived from the residuals of visual reflectivity embedding and laser reflectivity embedding. The initial pose is obtained by fusing the visual pose hypothesis and the laser pose hypothesis based on the illumination confidence. After laser geometric reprojection optimization, the six-degree-of-freedom pose of the target is output.
[0007] As a further aspect of the present invention: in step 1, the imaging degradation processing includes: Spatially smoothed random illumination attenuation, gamma correction, and signal-dependent noise are applied to visible light images under good lighting conditions, and pixel values are truncated to the effective grayscale range. The imaging degradation process also includes overlaying a local specular mask to simulate the specular reflection effect of the metal components on the target surface.
[0008] As a further aspect of the present invention: In step 2, the laser echo intensity is corrected for distance and incident angle to obtain the normalized laser reflectivity. The formula is as follows:
[0009] in, For the first The ranging value of each laser point Let be the angle between the laser beam and the normal to the target surface at that point. Let be the response coefficient of the lidar. For lidar to the first The original echo intensity of each laser point; The densification process includes: using a near-point-first depth buffering mechanism to remove laser points occluded by the foreground; for pixels without laser point projection, the pixel values are completed by guided filtering through the effective pixels in the neighborhood, and an effectiveness mask is generated; pixels with a mask value of zero are not included in the subsequent calculation of reflectivity anchoring loss and illumination confidence.
[0010] As a further aspect of the present invention: In step 3, the visual branch performs image intrinsic decomposition on the input bright image and dark image respectively, decomposing the image into illumination component and reflectance component, and extracting the bright image reflectance embedding and dark image reflectance embedding based on the reflectance component. The image intrinsic decomposition satisfies the following relation:
[0011] Where I is the input image and S is the illumination component. This represents the reflectivity component.
[0012] As a further aspect of the present invention: the reflectivity anchoring loss in step 3 is used to constrain the alignment of the bright image reflectivity embedding and the dark image reflectivity embedding towards the laser reflectivity embedding. The formula for the reflectivity anchoring loss is as follows:
[0013] in, For shared reflectivity embedding mapping, For the reflectance component of the bright image, For the reflectance component of the dark image, This is a pseudo-image of laser reflectivity.
[0014] As a further aspect of the present invention: In step 3, the light-dark-laser ternary pose consistency loss is used to constrain the pose of the bright image to be consistent with the pose of the dark image, and both are consistent with the pose of the laser anchor; firstly, the pose distance between the two poses is defined, and the pose distance formula is as follows:
[0015] in, (·,·) represents the pose distance between two poses. , For any two poses to be compared, For the target 3D model sampling point set, Let its number of elements be , For the model points, , pose respectively The amount of rotation and translation, , pose respectively Rotation and translation, pose It consists of rotation and translation. Based on the pose distance, the light-darkness-laser ternary pose consistency loss The formula is as follows:
[0016] In the formula, For the pose of the bright image, For the dark image pose, For laser anchor position posture, These are the weighting coefficients.
[0017] As a further aspect of the present invention: In step 3, the student network is trained using a teacher distillation method, by pre-constructing and pre-training the teacher network. The teacher network includes a laser encoder, a visual encoder, a multi-scale bidirectional cross-attention fusion module, and a pose head; The laser encoder takes laser point cloud and laser reflectivity pseudo-image as input and output multi-scale geometric-reflectivity features, while the visual encoder takes bright image as input and output multi-scale appearance features. After multi-scale bidirectional cross-attention fusion, the pose head outputs the teacher's pose. The teacher network is trained on labeled samples under good lighting conditions and all parameters are frozen. When training the student network, the feature representation and pose estimation knowledge of the teacher network are transferred to the student network through teacher-student distillation loss, which includes feature distillation and pose distillation.
[0018] As a further aspect of the present invention: In step 3, the total loss of training the student network is obtained by weighted summation of pose supervision loss, teacher-student distillation loss, shading-laser ternary pose consistency loss, reflectivity anchoring loss, and laser geometric reprojection constraint loss. The formula is as follows:
[0019] in, For pose monitoring loss, For teacher-student distillation loss, For ternary pose consistency loss, For reflectivity anchoring loss, For laser geometric reprojection constraint loss, , , , These are the weighting coefficients.
[0020] As a further aspect of the present invention: In step 4, the illumination confidence is derived from the region-by-region residual between the visual reflectivity embedding and the laser reflectivity embedding, and the illumination confidence formula is as follows:
[0021] in, , These are the x and y coordinates of the pixel, respectively. For pixels The light at that location is reliable. The L2 residual of the reflectance embedding at this pixel. Let exp(·) be the scale parameter of the confidence map, and let exp(·) denote the exponential function with the natural constant as the base. The global illumination confidence mean is obtained by weighted averaging the region-by-region illumination confidence values. The visual pose hypothesis and the laser pose hypothesis are then weighted and fused based on the global illumination confidence mean. The translation component is fused using linear weighted fusion, and the rotation component is fused using spherical linear interpolation to obtain the initial pose.
[0022] As a further aspect of the present invention: In step 4, the laser geometric reprojection optimization takes the initial pose as the initial value and the weighted sum of the laser geometric reprojection loss and the visual reprojection residual as the optimization objective, and iteratively solves to obtain the optimal pose. The lower the global illumination confidence, the higher the weight of the laser geometry reprojection loss, and the pose optimization process is dominated by laser geometry constraints.
[0023] Compared with the prior art, the beneficial effects of the present invention are: This invention uses a pseudo-image of laser reflectivity as an appearance reference independent of ambient light, and uses the laser anchor pose as a pose reference connecting two imaging conditions: good lighting and low illumination. Through the light-darkness-laser ternary consistency constraint and teacher distillation, the pose knowledge learned under good lighting is transferred to the student network that is robust to lighting. The training process does not require labeling the true pose values of low-light images, significantly reducing data costs. The inference phase is mainly based on the camera and supplemented by laser geometric constraints and illumination confidence gating. It can still stably output the six-degree-of-freedom pose of the target in low-light, backlight and night scenes, making it suitable for practical engineering applications. Attached Figure Description
[0024] Figure 1 This is a flowchart illustrating the overall process of the target pose estimation method in this embodiment of the invention.
[0025] Figure 2 This is a flowchart illustrating the steps of the target pose estimation method in an embodiment of the present invention.
[0026] Figure 3 This is a schematic diagram of the data flow for the light-darkness-laser ternary consistency constraint in an embodiment of the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] The specific implementation of the present invention will be described in detail below with reference to specific embodiments.
[0029] This invention provides a target pose estimation method based on brightness consistency constraints and laser supervision. The overall process is as follows: Figure 1 and Figure 2 As shown, the data flow of the light / dark-laser ternary consistency constraint is as follows: Figure 3 As shown. This embodiment takes insulator strings in a smart power grid inspection scenario as the target object, and the method specifically includes the following steps: S1 Training Sample Triple Construction A multimodal acquisition device is constructed by combining a visible light camera and a lidar, which are rigidly fixed and have undergone pre-calibration of camera intrinsic parameters, laser-camera extrinsic parameters, and time synchronization. This device acquires visible light images (i.e., bright images) of the target under good lighting conditions. Laser point cloud And record the j-th laser point p in the laser point cloud. j Corresponding original echo intensity Simultaneously, the true values of the target's six-degree-of-freedom pose under this working condition are obtained through high-precision calibration equipment or 3D model synthesis and rendering. ,in For the true value of rotation, This represents the true value of the translation amount. The visible light image under good lighting conditions is subjected to imaging degradation processing to generate a low-light image (i.e., a dark image) aligned with its pixels. The formula for generating the formula is as follows:
[0030] in, For visible light images under good lighting conditions, This is a spatially varying light attenuation diagram. Gamma coefficient, A spatially smooth, randomly decaying field can be considered, with values ranging from 0.05 to 0.4. A value of 1.5 to 3.0 is acceptable. For signal strength-dependent Poisson-Gaussian noise, This indicates element-wise multiplication; This means truncating the value to the effective grayscale range; Furthermore, a local specular mask H is superimposed using the following formula to simulate the specular reflection effect of metallic components on the target:
[0031] in, The saturation grayscale value. This indicates an assignment update.
[0032] This forms a training sample triplet of "bright image-dark image-laser", denoted as... .
[0033] This step synthesizes low-light samples through image degradation, which can directly reuse the pose ground truth of well-lit samples. There is no need to separately label the six-DOF pose of low-light images, which greatly reduces the training data labeling cost in low-light scenes. In addition, the generated dark images are naturally pixel aligned with the bright images, avoiding registration errors under different acquisition conditions.
[0034] S2 laser reflectivity pseudo-image generation and image intrinsic decomposition (1) Normalized laser reflectivity calculation and pseudo-image generation To eliminate the influence of distance, incident angle, and sensor response on laser echo intensity, the original echo intensity of each laser point is first corrected to obtain the normalized laser reflectivity. The correction formula is as follows:
[0035] in, For lidar to the first The original echo intensity of each laser point Let j be the distance measurement value of the j-th laser point. Let be the angle between the laser beam and the normal to the target surface at that point. The response coefficient of the lidar can be obtained through offline calibration using a standard reflector.
[0036] Then, the corrected laser points are projected onto the camera image plane, using the following projection formula:
[0037] in, Let x and y be the pixel coordinates after the j-th laser point is projected. Indicates proportionality; K is the camera intrinsic parameter matrix; This is the extrinsic parameter matrix from the lidar coordinate system to the camera coordinate system.
[0038] Let the reflectance value at the corresponding pixel after projection be... The projection results are processed according to the following rules: when multiple laser points are projected onto the same pixel, the distance measurement value is taken. The smallest laser point (nearest point priority) is selected, and laser points occluded by the foreground are removed using a depth buffer mechanism; for pixels without laser point projection, a validity mask is applied. The pixel values are supplemented by guided filtering of the effective pixels in the neighborhood, and the remaining effective pixels are set to... Finally, after the denser operator Processing yields a pseudo-image of laser reflectivity with the same size as the visible light image. Pixels with a mask value of 0 are not included in the subsequent calculation of reflectivity anchoring loss and illumination confidence.
[0039] The laser reflectivity obtained by this step depends only on the material reflection characteristics of the target surface and is completely unaffected by ambient visible light illumination. It can serve as a stable appearance benchmark across illumination conditions. The projection and densification of the pseudo-image of laser reflectivity have the same viewing angle and pixel-to-pixel correspondence with the visible light image, which facilitates subsequent feature alignment and constraint calculation.
[0040] (2) Image eigenvalue decomposition For each bright image With dark map Image intrinsic decomposition is performed, and the decomposition satisfies the following relationship:
[0041] Where I is the input image and S is the illumination component. The reflectance components are obtained separately. Intrinsic decomposition can be implemented using mature intrinsic image decomposition networks in this field, yielding the bright image reflectance components after decomposition. With dark map reflectance component .
[0042] By separating the illumination changes of the image from the inherent reflectivity of the target through intrinsic decomposition, a computational basis is provided for subsequent brightness consistency constraints based on reflectivity.
[0043] S3 Teacher Network Construction and Pre-training A teacher network is constructed that incorporates bidirectional fusion of laser and vision branches, the teacher network including a laser encoder. Visual encoder Multi-scale bidirectional cross-attention fusion module and position head Visual encoders can use convolutional neural network backbones such as ResNet and ConvNeXt, while laser encoders can use point cloud processing network backbones such as PointNet and PointTransformer.
[0044] The forward propagation process of the teacher network is as follows: laser encoder Using laser point cloud P and laser reflectivity pseudo-image As input, output multi-scale geometric-reflectivity features; Visual encoder With bright picture As input, output multi-scale appearance features; In the last two downsampling stages of the two encoders, bidirectional cross-attention fusion is performed once: first, feature fusion is performed with visual features as the query and laser features as the key and value; then, feature fusion is performed again with laser features as the query and visual features as the key and value, finally outputting the teacher's intermediary fused features. :
[0045] in, For laser point clouds, This is a pseudo-image of laser reflectivity. To highlight the image, (·) (·) represent the laser encoder and the visual encoder, respectively, and Fuse(·) is the multi-scale bidirectional cross-attention fusion module. As a feature of integration among teachers, (·) represents the head position. Teacher's position. Head position. Receive the fused multi-scale features and output the teacher pose. :
[0046] The pose head is implemented using a combination of keypoint voting and the Perspective-n-Point (PnP) algorithm or a direct regression method, where the rotation is represented by a six-dimensional continuous method.
[0047] The teacher network is trained on labeled samples under good lighting conditions. The training process optimizes the pose-supervised loss until a preset convergence criterion is met, at which point all network parameters are frozen. The convergence criterion is: the pose error index on the validation set continuously... The improvement within each wheel is less than the threshold. Or the number of training rounds reaches the maximum number of training rounds. Whichever is satisfied first shall prevail. In this embodiment, Take 5. Take 0.2%, Take 200.
[0048] Under good lighting conditions, the teacher network can fully integrate visual texture semantic information with laser geometric precision information to obtain high-precision pose estimation results, providing high-quality teacher signals for subsequent knowledge distillation of the student network.
[0049] S4 Student Network Construction and Three-Way Forward Propagation A student network is constructed, which includes a visual branch and a laser branch. The bright image branch and the dark image branch share all the weights of the same visual branch. The laser branch is an independent encoder and pose head and does not share weights with the visual branch.
[0050] The bright image, dark image, and laser image are input into the student network for three-way forward propagation: Highlighted image Input visual branch, output brightness map pose Embedded with bright image reflectance ; Hidden Image Input the same visual branch, output the dark map pose. Embedded with dark map reflectance ; The laser point cloud P is input to the laser branch, and the output is the laser anchor pose. With laser reflectivity embedding .
[0051] in, A shared reflectance embedding map is used to convert reflectance maps into high-dimensional feature embeddings. Bright and dark images share visual encoder weights, essentially representing two forward inferences by the same network for different lighting inputs. This forces the network to learn common features unaffected by lighting changes, improving the model's robustness to lighting variations.
[0052] Furthermore, the region-by-region illumination confidence is derived from the region-by-region residual between the visual reflectivity embedding and the laser reflectivity embedding. Pixels The reflectivity embedding residual at that point is:
[0053] The confidence level for illumination in each region is then calculated using the following formula:
[0054] Its value range is ,in The scale parameter for the confidence mapping can be the median of the residuals of the batch of samples in this embodiment.
[0055] In areas with normal imaging, the visual reflectivity embedding deviates little from the laser reference, and the residual... Smaller, illumination confidence The reflectance component obtained from the intrinsic decomposition of the image approaches 1; in overexposed, underexposed, and specular highlight areas, the reflectance component deviates from the true reflectance characteristics, the residual increases significantly, and the illumination confidence approaches 0. The illumination confidence obtained in this way can directly measure the reliability of the visual appearance of each area relative to the laser reference, without the need for an additional independent illumination detection module.
[0056] S5 reflectivity anchoring loss calculation Using laser reflectivity embedding as the appearance anchor, calculate the reflectivity anchoring loss. To ensure that the bright image reflectance embedding and dark image reflectance embedding are consistent with the laser reflectance embedding, the loss formula is as follows:
[0057] By embedding the laser reflectivity, which is independent of illumination, as a common anchor point, and simultaneously constraining the reflectivity features of both bright and dark images to align with it, the drift of visual reflectivity features under different illumination conditions can be effectively suppressed, allowing the reflectivity features of the dark image to revert to the true physical properties of the target, thus providing a stable appearance basis for subsequent pose estimation.
[0058] S6 Brightness-Laser Triad Pose Consistency Loss Calculation Using the laser anchor pose as a geometric bridge independent of ambient lighting, the brightness-darkness-laser ternary pose consistency loss is calculated to ensure that the bright image pose and the dark image pose are consistent with each other, and that both are consistent with the laser anchor pose. First, the pose distance between the two poses is defined. :
[0059] in, (·,·) represents the pose distance between two poses. , For any two poses to be compared, For the target 3D model sampling point set, Let its number of elements be , For the model points, , pose respectively The amount of rotation and translation, , pose respectively Rotation and translation, pose It consists of rotation and translation; for symmetrical targets, the pose distance is calculated using the nearest neighbor method.
[0060] Based on pose distance, the pose consistency loss of the light-dark-laser ternary model for:
[0061] In the formula, The laser anchor pose remains unchanged regardless of ambient light. The weighting coefficient is 0.5 in this embodiment. This constraint is self-supervised and does not require the true pose value of the low-light image.
[0062] like Figure 3 As shown, the laser branch is located between the bright image branch and the dark image branch, and its output laser anchor pose does not change with ambient light, thus providing an invariant geometric reference between the two imaging conditions. This ternary consistency constraint is self-supervised and can take effect without the pose truth value of the low-light image, solving the problems of difficult and low-accuracy annotation of low-light data.
[0063] S7 Total Loss Construction and Student Network Training The teacher-student distillation loss, laser geometric reprojection constraint loss, and pose supervision loss are calculated and weighted together with the aforementioned reflectivity anchoring loss and ternary pose consistency loss to obtain the total loss. The parameters of the student network are updated through backpropagation and iteratively trained until convergence, at which point the student network model is output.
[0064] The calculation methods for each loss item are as follows: 1. Teacher-student distillation loss This is used to transfer knowledge from the teacher network to the student network, and includes two parts: feature distillation and pose distillation.
[0065] in This is a channel alignment map used to align the feature channel dimensions of students and teachers. , These represent the intermediate features of the student network and the student pose, respectively. , These refer to the aforementioned teacher integration characteristics and teacher posture, respectively.
[0066] 2. Laser geometric reprojection constraint loss Used to apply geometric constraints to point clouds, improving the geometric consistency of pose:
[0067] 3. Position monitoring loss Used for supervised training using the pose ground truth of well-lit samples:
[0068] in, , These represent the rotation and translation amounts of the pose output by the student network, respectively. , These represent the rotation and translation amounts of the true pose value, respectively. laser point cloud The laser point in the middle.
[0069] The total loss L is weighted and summed using the following formula:
[0070] in, , , , As the weighting coefficients, in this embodiment, we take respectively... , , , Based on the total loss, a stochastic gradient descent-type optimizer is used to iteratively update all trainable parameters of the student network. The training convergence criterion is consistent with that of the teacher network. After convergence, training stops, and the trained student network model is output.
[0071] This step combines knowledge distillation to transfer the high-precision pose estimation capability of the teacher network under good lighting to the student network. At the same time, it is supplemented by geometric constraints, pose supervision and double anchor consistency constraints, so that the student network can maintain the lighting robustness while taking into account the accuracy of pose estimation.
[0072] S8 Inference Stage Pose Calculation and Online Refinement During the inference phase, the real-time acquired visible light images and corresponding laser point clouds are input into the trained student network model, which outputs a visual pose hypothesis. Laser pose assumption And derive the region-by-region illumination confidence from the reflectivity consistency residual in the same manner as in step S4. .
[0073] First, for pixels with effective laser projection, a weighted average of the region-by-region illumination confidence is calculated to obtain the global illumination confidence mean. :
[0074] Among them, the mask Pixels with a value of 0 are not included in the statistics.
[0075] Subsequently, the visual pose hypothesis and the laser pose hypothesis are weighted and fused according to the illumination confidence mean to obtain the initial pose: Translation components are fused using linear weighting:
[0076] In the formula, This represents the translation amount of the initial pose. , These represent the translation amounts for the visual pose assumption and the laser pose assumption, respectively.
[0077] The rotational components are fused using spherical linear interpolation (Slerp), with the laser rotation amount as the fusion method. Starting point, visual rotation amount For the end point These are interpolation parameters. The rotation amount for the initial pose:
[0078] Right now When the value is 0, the result is When the value is 1, the result is .
[0079] Therefore, the lower the illumination confidence level, the greater the weight of the laser pose assumption. Under low-light conditions, the system automatically switches to laser geometry as the primary assumption to ensure the stability of the pose solution. Finally, using the initial pose T0 as the initial value, online optimization and refinement are performed through laser geometry reprojection constraints to solve for the optimal pose. :
[0080] in, For laser geometric reprojection loss, This is the visual reprojection residual term. The visual reprojection residual term can be calculated based on the matching error between the projected contour of the target 3D model in the current pose and the actual image. In this embodiment, the number of online optimization iterations is 3 to 5.
[0081] When the ambient light decreases, When the target value approaches zero, the pose optimization objective is dominated by the laser geometry term, thereby ensuring the convergence and reliability of pose calculation in extreme scenarios such as low light and backlight.
[0082] During the inference phase, the fusion weights of vision and laser are dynamically adjusted based on the illumination confidence. When the illumination is good, vision is prioritized to ensure the accuracy of texture semantics. In low-light scenes, laser geometry is automatically relied upon to ensure stability. Then, online geometric refinement is used to further correct errors, which can stably output high-precision target six-DOF poses across the entire illumination range.
[0083] It should be noted that, in this invention, although the specification describes the embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A target pose estimation method based on brightness consistency constraints and laser supervision, characterized in that, Includes the following steps: Step 1: Construction of training sample triples: Collect visible light images, laser point clouds and corresponding echo intensities of the target under good lighting conditions, and obtain the true value of the six-degree-of-freedom pose of the target under the good lighting conditions. The visible light image under the good lighting environment is subjected to imaging degradation processing to generate a low-light image that is aligned with the pixels of the visible light image, forming a training sample triplet consisting of a bright image, a dark image, and laser data. Step 2, generation of pseudo-image of laser reflectivity: perform distance correction and incident angle correction on the laser echo intensity to obtain normalized laser reflectivity; The normalized laser reflectivity is projected onto the camera image plane and densified to obtain a pseudo-image of laser reflectivity with the same size and pixel alignment as the visible light image. Step 3, Student Network Construction and Training: Construct a student network containing a visual branch and a laser branch, wherein bright and dark images share all network weights of the visual branch, and the laser branch is set independently; The bright image and dark image are respectively input into the visual branch, and the bright image pose, bright image reflectance embedding and dark image pose, dark image reflectance embedding are output accordingly. The laser point cloud is input into the laser branch, and the laser anchor pose and laser reflectivity are embedded in the output. Using the laser reflectivity embedding as the appearance anchor and the laser anchor pose as the geometric anchor, a reflectivity anchoring loss and a light / dark laser ternary pose consistency loss are constructed to train the student network. Step 4, Pose Calculation in Inference Stage: Input the real-time acquired visible light image and the corresponding laser point cloud into the trained student network, and output the visual pose hypothesis and the laser pose hypothesis. Illumination confidence is derived from the residuals of visual reflectivity embedding and laser reflectivity embedding. The initial pose is obtained by fusing the visual pose hypothesis and the laser pose hypothesis based on the illumination confidence. After laser geometric reprojection optimization, the six-degree-of-freedom pose of the target is output.
2. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 1, the imaging degradation processing includes: Spatially smoothed random illumination attenuation, gamma correction, and signal-dependent noise are applied to visible light images under good lighting conditions, and pixel values are truncated to the effective grayscale range. The imaging degradation process also includes overlaying a local specular mask to simulate the specular reflection effect of the metal components on the target surface.
3. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 2, the laser echo intensity is corrected for distance and incident angle to obtain the normalized laser reflectivity. The formula is as follows: in, Let j be the distance measurement value of the j-th laser point. Let be the angle between the laser beam and the normal to the target surface at that point. Let be the response coefficient of the lidar. For lidar to the first The original echo intensity of each laser point; The densification process includes: using a near-point-first depth buffering mechanism to remove laser points occluded by the foreground; for pixels without laser point projection, the pixel values are completed by guided filtering through the effective pixels in the neighborhood, and an effectiveness mask is generated; pixels with a mask value of zero are not included in the subsequent calculation of reflectivity anchoring loss and illumination confidence.
4. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 3, the visual branch performs image intrinsic decomposition on the input bright and dark images respectively, decomposing the image into illumination components and reflectance components, and extracting the bright image reflectance embedding and the dark image reflectance embedding based on the reflectance components. The image intrinsic decomposition satisfies the following relation: Where I is the input image and S is the illumination component. This represents the reflectivity component.
5. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, The reflectivity anchoring loss mentioned in step 3 is used to constrain the alignment of the bright image reflectivity embedding and the dark image reflectivity embedding towards the laser reflectivity embedding. The formula for the reflectivity anchoring loss is as follows: in, For shared reflectivity embedding mapping, For the reflectance component of the bright image, For the reflectance component of the dark image, This is a pseudo-image of laser reflectivity.
6. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 3, the light-dark-laser ternary pose consistency loss is used to constrain the poses of the bright image and the dark image to be consistent, and both are consistent with the pose of the laser anchor. First, the pose distance between the two poses is defined, and the pose distance formula is as follows: in, (·,·) represents the pose distance between two poses. , For any two poses to be compared, For the target 3D model sampling point set, Let its number of elements be , For the model points, , pose respectively The amount of rotation and translation, , pose respectively Rotation and translation, pose It consists of rotation and translation. Based on the pose distance, the light-darkness-laser ternary pose consistency loss The formula is as follows: In the formula, For the pose of the bright image, For the dark image pose, For laser anchor position posture, These are the weighting coefficients.
7. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 3, the student network is trained using a teacher distillation method, by pre-constructing and pre-training the teacher network: The teacher network includes a laser encoder, a visual encoder, a multi-scale bidirectional cross-attention fusion module, and a pose head; The laser encoder takes laser point cloud and laser reflectivity pseudo-image as input and output multi-scale geometric-reflectivity features, while the visual encoder takes bright image as input and output multi-scale appearance features. After multi-scale bidirectional cross-attention fusion, the pose head outputs the teacher's pose. The teacher network is trained on labeled samples under good lighting conditions and all parameters are frozen. When training the student network, the feature representation and pose estimation knowledge of the teacher network are transferred to the student network through teacher-student distillation loss, which includes feature distillation and pose distillation.
8. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 3, the total loss for training the student network is obtained by weighted summation of pose supervision loss, teacher-student distillation loss, shading-laser ternary pose consistency loss, reflectivity anchoring loss, and laser geometric reprojection constraint loss. The formula is as follows: in, For pose monitoring loss, For teacher-student distillation loss, For ternary pose consistency loss, For reflectivity anchoring loss, For laser geometric reprojection constraint loss, , , , These are the weighting coefficients.
9. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 4, the illumination confidence is derived from the region-by-region residual between the visual reflectivity embedding and the laser reflectivity embedding. The illumination confidence formula is as follows: in, , These are the x and y coordinates of the pixel, respectively. For pixels The light at that location is reliable. The L2 residual of the reflectance embedding at this pixel. Let exp(·) be the scale parameter of the confidence map, and let exp(·) denote the exponential function with the natural constant as the base. The global illumination confidence mean is obtained by weighted averaging the region-by-region illumination confidence values. The visual pose hypothesis and the laser pose hypothesis are then weighted and fused based on the global illumination confidence mean. The translation component is fused using linear weighted fusion, and the rotation component is fused using spherical linear interpolation to obtain the initial pose.
10. The target pose estimation method based on brightness consistency constraints and laser supervision according to claim 1, characterized in that, In step 4, the laser geometric reprojection optimization takes the initial pose as the initial value and the weighted sum of the laser geometric reprojection loss and the visual reprojection residual as the optimization objective, and iteratively solves to obtain the optimal pose. The lower the global illumination confidence, the higher the weight of the laser geometry reprojection loss, and the pose optimization process is dominated by laser geometry constraints.
