Polarization and depth complementary transparent object robot grasping method and device

By employing a polarization and depth complementarity method, information acquired by polarization and depth cameras is used to resolve the ambiguity of polarization normals, reconstruct the geometry of transparent or highly reflective objects, and generate a reliable grasping pose. This solves the problems of low grasping accuracy and success rate in existing technologies, and enables efficient grasping of transparent objects.

CN123129134APending Publication Date: 2026-11-20NINGBO EASY EVER INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611232583.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately obtain reliable depth measurements of transparent or highly reflective target objects and generate successful robot grasping poses without relying on 3D ground truth annotations of transparent objects or conducting contact probing.

Method used

A polarization image set of the target scene is acquired by a polarization camera and combined with a depth map acquired by a depth camera. The ambiguity of the polarization normal is resolved by using the Fresnel reflection model and the reliable region of the depth map, the geometry of the object is reconstructed, and the credibility of the reconstruction result is quantified by pixel-by-pixel confidence metric to generate the grasping pose.

Benefits of technology

It improves the success rate of grasping transparent or highly reflective objects without relying on the 3D ground truth annotation of transparent objects or conducting contact probing, reduces data acquisition costs, avoids the knocking over and breakage of containers, and improves grasping accuracy and success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129134A_ABST
    Figure CN123129134A_ABST
Patent Text Reader

Abstract

The application discloses a polarization and depth complementary transparent object robot grasping method and device, and belongs to the technical field of robot grasping. A polarization image group and a depth image of the same field of view are collected, a polarization degree and a polarization phase angle are solved, a candidate normal set with zenith angle double solution and azimuth angle ambiguity is obtained based on a Fresnel reflection model inversion, reliable depth regions are determined from the depth image and a reference normal is calculated, an energy function is constructed with the reference normal as an anchoring constraint, and minimization is performed to eliminate ambiguity; a normal field is integrated, and a reliable depth region is aligned in scale and offset to obtain a metric depth and a completed point cloud; a pixel-by-pixel confidence is calculated, a target grasping pose is determined by weighted scoring, and when the confidence is insufficient, a next best viewing angle is planned according to the Brewster angle for re-sampling and fusion. The polarization observation and the depth image are complementary, the metric depth of a transparent and high-reflectivity object can be reconstructed without three-dimensional true value labeling and contact exploration, and the grasping success rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot vision grasping technology, specifically to a method and apparatus for robot grasping transparent objects with complementary polarization and depth. Background Technology

[0002] As the application of robots in scenarios such as laboratory automation, pharmaceutical packaging, food processing, and waste sorting continues to expand, the objects that robots need to grasp have expanded from opaque rigid bodies with good diffuse reflectivity to transparent or highly reflective objects such as glassware, test tubes, ampoules, acrylic parts, and polished metal parts. The successful execution of such grasping tasks depends on obtaining accurate three-dimensional geometric information of the target object's surface.

[0003] Currently, robot vision grasping commonly uses RGB-D cameras to acquire scene depth, such as structured light cameras or time-of-flight cameras. However, the ranging principle of these cameras is based on the assumption that the measured surface diffusely reflects the projected or modulated light. When the measured object is transparent, most of the infrared coded pattern projected onto the object's surface passes through and is refracted, with only a small amount of light undergoing specular reflection on the object's surface. The camera often receives the signal that has passed through the object and is reflected back from the background surface. When the measured object is highly reflective, strong specular reflection can cause local pixel energy saturation and overexposure. Both of these situations can lead to large holes in the depth map in the area where the target object is located, or the recording of obviously incorrect depth values, such as recording the depth of the background plane as the depth of the object's surface. The point cloud obtained by backprojection will penetrate or collapse at the location of the target object, and the grasping pose generated accordingly will deviate from the actual surface of the object, resulting in the gripper failing to grasp, colliding with the object, or knocking over and breaking glassware.

[0004] To address the aforementioned issues, existing technologies have primarily developed along the following four directions.

[0005] The first approach is a depth prediction or depth completion scheme based on monocular color images. This scheme utilizes neural networks to regress depth values ​​or fill depth holes from semantic information, edge information, and surface orientation priors in color images. However, color images themselves do not contain physical observations about surface orientation. The network actually learns the statistical relationship between the shape and appearance of objects in the training dataset, which has two shortcomings: First, the training process requires a large amount of transparent object data with 3D ground truth, but the 3D ground truth of transparent objects is difficult to obtain using conventional 3D scanning equipment. It usually requires spraying the object with a developer or making an opaque substitute of the same shape, resulting in high data acquisition costs. Second, the generalization ability to materials, shapes, and lighting conditions outside the training dataset is limited, and the regression results lack absolute scale constraints, which easily leads to overall scale drift. Since grasping tasks are quite sensitive to the absolute accuracy of depth.

[0006] The second approach is based on multi-view stereo matching or motion reconstruction structures. This approach relies on the existence of stable texture features on the object's surface that can be repeatedly observed from multiple viewpoints. However, the image content observed on the surface of a transparent object mainly consists of background transmitted light and ambient specular reflection light, which changes drastically with the viewing angle. This does not meet the brightness consistency assumption required for stereo matching, and therefore parallax calculation generally fails in transparent areas.

[0007] The third approach is based on contact probing. This method involves repeatedly contacting the target object with grippers or probes, and then inferring the spatial position of the object's surface based on the locations of these contacts. While this method does not rely on optical observation, it requires repeated contact, making each grasping action time-consuming, and carries the risk of knocking over or breaking fragile objects such as glassware.

[0008] The fourth approach involves incorporating polarization imaging. When light reflects off an object's surface, its polarization state changes with the surface orientation; therefore, polarization images contain physical information related to the surface normal. However, existing polarization imaging approaches often use polarization images as image preprocessing tools. For example, they might use the difference between images with different polarization directions to suppress specular highlights, or input polarization features as an additional channel into a detection network to improve the accuracy of transparent object detection boxes and segmentation masks. Polarization information is not involved in the 3D geometric measurement and reconstruction, nor in the generation and evaluation of the grasping pose. This is because inverting the surface normal from polarization information from a single viewpoint presents inherent ambiguity: when solving for the zenith angle from the degree of polarization, the relationship between the degree of polarization and the incident angle is monotonic on both sides of the Brewster angle, meaning the same degree of polarization corresponds to two possible zenith angles; when determining the azimuth angle from the polarization phase angle, there is a periodic ambiguity of π. Furthermore, the depth obtained from the normal field integral is only relative, lacking an absolute scale and offset reference. These ambiguities and scale deficiencies make it difficult to directly use polarization information to generate a robot-executable grasping pose.

[0009] In summary, the existing technology lacks a technical solution that can reliably measure the depth of transparent and highly reflective objects and stably generate grasping poses based on this measurement without relying on a large number of transparent object 3D ground truth annotations or contact probing. Summary of the Invention

[0010] In view of the above-mentioned problems in the prior art, the technical problem to be solved by the present invention is: how to obtain a reliable measurement depth of a transparent or highly reflective target object without relying on the three-dimensional ground truth annotation of the transparent object and without contact probing, and thereby generate a robot grasping pose with a high success rate.

[0011] The technical concept of this invention lies in the fact that the specular reflection and refraction phenomena that cause RGB-D cameras to fail in transparent and highly reflective areas are precisely the regions where polarization information is most significant; and the inherent double zenith angle and azimuth angle π ambiguity of the polarization inversion normal can be resolved by using the geometric reference provided by the still valid region in the depth map. Therefore, this invention no longer treats the polarization image and the depth map as two independent or simply superimposed inputs, but rather makes them form complementary constraints at the surface normal level: using the reliable region of the depth map as an anchoring reference to resolve the ambiguity of the polarization normal, and then using the resolved normal field to reconstruct the geometry of the object in the depth failure region, and explicitly quantifying the reliability of the reconstruction result in the form of pixel-by-pixel confidence, thereby enabling it to participate in the scoring of the capture pose and active re-observation decision.

[0012] To achieve the above objectives, the first aspect of the present invention provides a method for a robot to grasp a transparent object with complementary polarization and depth, comprising: step S1, acquiring a polarization image group of a target scene using a polarization camera and acquiring a depth map of the target scene using a depth camera, wherein the polarization image group includes images under at least three different polarization directions, and the polarization image group and the depth map are registered to the same field of view; step S2, calculating Stokes parameters pixel by pixel based on the polarization image group, and obtaining the degree of polarization and polarization phase angle pixel by pixel based on the Stokes parameters; step S3, based on the Fresnel reflection model, determining the candidate zenith angle value of the surface normal based on the degree of polarization, and determining the candidate azimuth angle value of the surface normal based on the polarization phase angle, thereby obtaining a candidate normal set for each pixel; step S4, determining a reliable depth region from the depth map and calculating a reference normal, so as to... The reference normal is used as an anchoring constraint to construct an energy function including data terms, smoothing terms, and anchoring terms. By minimizing the energy function, a unique normal is selected for each pixel in the candidate normal set, resulting in a normal field after ambiguity resolution. Step S5: Integrate the normal field to obtain the relative depth, and use the reliable depth region to align the scale and offset of the relative depth to obtain the metric depth of the target object and generate a completed point cloud. Step S6: Calculate the pixel-wise depth confidence based on the polarization degree, the energy difference between the optimal and suboptimal solutions of the energy function, and the residual of the integral. Step S7: Generate candidate grasping poses on the completed point cloud, score them based on the weighted result of the geometric quality score and the depth confidence, and determine the target grasping pose. Step S8: Control the robot to grasp the target object according to the target grasping pose.

[0013] Furthermore, the reliable depth region is determined by a connected region consisting of pixels with valid depth values, local depth gradient magnitudes less than a gradient threshold, and depth fluctuations less than a fluctuation threshold in consecutive frames. Connected regions with too small an area are removed, thereby excluding pixels located at depth jumps and those with intermittent erroneous depths due to reflection flicker.

[0014] Furthermore, the energy function also includes a contour term, which constrains the angle between the normal of pixels located on the contour of the target object segmentation mask to be close to 90° with the viewing direction, thereby providing additional geometric constraints for ambiguity resolution.

[0015] Furthermore, the method also includes an active perspective change step: when the depth confidence corresponding to the target grasping pose is less than the confidence threshold, the Brewster angle is determined according to the refractive index of the target object material. Among the candidate observation angles that are reachable by the robot and collision-free, the observation angle that makes the incident angle of the low confidence pixel approach the Brewster angle is determined as the next optimal observation angle. The robotic arm is controlled to move the polarization camera to the observation angle, and then the image is re-acquired and reconstructed. The results of multiple perspectives are then weighted and fused according to confidence.

[0016] Furthermore, the method also includes a slip feedback step: during the gripper closing process, the gripping force signal and the opening displacement signal are collected to determine whether slippage has occurred; when slippage occurs, the depth confidence of the corresponding contact area is reduced and the target gripping pose is re-determined; when gripping is successful, the position of the finger surface at the moment of force closure is backfilled to the measurement depth.

[0017] A second aspect of the present invention provides a transparent object robot grasping device, including an image acquisition module, a polarization calculation module, a normal inversion module, an ambiguity resolution module, a depth reconstruction module, a confidence calculation module, a grasping decision module, and an execution control module.

[0018] A third aspect of the present invention provides a robot, including a robotic arm, a gripper disposed at the end of the robotic arm, a polarization camera and a depth camera disposed on the robotic arm, and a controller, wherein the controller includes a processor and a memory, and a computer program stored in the memory is executed by the processor to implement the aforementioned method.

[0019] Compared with the prior art, the present invention has the following beneficial effects.

[0020] Firstly, the degree of polarization and polarization phase angle are physical observations directly generated by the reflection process of an object's surface. Their relationship with the surface normal is given by Fresnel's law of reflection and does not depend on statistical learning for specific materials or shapes. Therefore, this invention does not require the acquisition of the three-dimensional ground truth of transparent objects for model training, significantly reducing data acquisition costs and improving adaptability to unseen materials and shapes.

[0021] Secondly, this invention uses a reliable region of the depth map as an anchoring constraint to resolve the ambiguity of the polarization normal. Simultaneously, it uses this reliable region as a reference to complete the scale and offset alignment from relative depth to metric depth, allowing the two modes to compensate for each other's inherent deficiencies: polarization information fills in the holes in the depth map in transparent regions, while the depth map provides a unique and absolute scale reference for polarization inversion. The combination of the two is not a simple information superposition, but rather constitutes a closed constraint relationship.

[0022] Third, the present invention outputs pixel-by-pixel depth confidence and incorporates it into the grasping pose score, so that the contact point of the gripper tends to fall on the surface area with reliable geometric reconstruction, thereby avoiding the grasping action in the area with uncertain reconstruction.

[0023] Fourth, when the confidence level is insufficient, this invention actively plans the next optimal observation angle based on the Brewster angle. Since the degree of polarization reaches its maximum near the Brewster angle, and the inversion results are least sensitive to noise at this point, this active re-observation can obtain high-quality polarization observations with as few moves as possible, and further improve the reconstruction accuracy through multi-view fusion. The entire sensing process is non-contact, avoiding the risk of knocking over and breaking the vessel caused by contact probing.

[0024] Fifth, in the exemplary experiment, in a total of 200 grasping tests on ten types of target objects including glass cups, test tubes, glass bottles, acrylic parts, and polished stainless steel parts, the scheme that directly uses the original RGB-D depth has an average absolute error of 38.4 mm in the target object area and a grasping success rate of 41.5%. The comparative scheme based on monocular color image depth completion has an average absolute error of 15.7 mm and a grasping success rate of 68.0%. However, the scheme of the present invention reduces the average absolute error of depth to 8.9 mm and increases the grasping success rate to 82.5% under single-view conditions. After enabling active variable view, the average absolute error of depth is further reduced to 6.2 mm and the grasping success rate is further increased to 89.0%, and no breakage of the vessels occurred during the test. Attached Figure Description

[0025] Figure 1 A flowchart illustrating the transparent object grasping robot method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of the robot system provided in an embodiment of the present invention; Figure 3 A schematic diagram illustrating the principle of the polarization and depth complementary reconstruction process provided in an embodiment of the present invention; Figure 4 A schematic flowchart of the active variable-view closed-loop process provided in an embodiment of the present invention; Figure 5 This is a structural block diagram of a transparent object robot grasping device provided in an embodiment of the present invention.

[0026] Figure reference numerals: 100—Robot system; 110—Robotic arm; 120—Gripper; 121—Force sensor; 130—Polarization camera; 140—Depth camera; 150—Controller; 151—Processor; 152—Memory; 160—Workbench; 170—Target object; 200—Transparent object robot gripping device; 210—Image acquisition module; 220—Polarization calculation module; 230—Normal inversion module; 240—Ambiguity resolution module; 250—Depth reconstruction module; 260—Confidence calculation module; 270—Gripping decision module; 280—Execution control module. Detailed Implementation

[0027] To make the technical problem to be solved by the present invention, the technical solution adopted, and the technical effects achieved clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.

[0028] Reference Figure 2 The robot system 100 provided in this embodiment includes a robotic arm 110, a gripper 120 disposed at the end of the robotic arm 110, a force sensor 121 disposed between the gripper 120 and the wrist of the robotic arm 110, a polarization camera 130 and a depth camera 140 mounted on the wrist of the robotic arm 110 via a bracket, and a controller 150. The controller 150 includes a processor 151 and a memory 152. The target object 170 is placed on the worktable 160 and is a transparent object such as a glass container or a highly reflective object such as a polished metal part.

[0029] The polarization camera 130 can employ a pixel-level polarizer array polarization image sensor, integrating micro-polarizers in four directions (0°, 45°, 90°, and 135°) on the surface of the photosensitive pixel, thereby acquiring images in four polarization directions simultaneously in a single exposure. Alternatively, it can be implemented by adding a rotatable linear polarizer in front of a standard area array camera lens and acquiring images at different polarization angles in a time-division manner. When using the time-division acquisition method, to ensure the consistency of images in different polarization directions within the same scene, the camera and the target object should remain relatively stationary during acquisition.

[0030] The depth camera 140 can be a structured light camera, a binocular stereo camera, or a time-of-flight camera. The polarization camera 130 and the depth camera 140 undergo pre-calibration of their extrinsic parameters and hand-eye calibration with the robotic arm 110. This allows images acquired by either camera to be projected onto the image coordinate system of the other camera according to the calibration parameters, and also enables the transformation of 3D points to the robot's base coordinate system. Thus, the polarization image set and the depth map can be registered to the same field of view, achieving pixel-by-pixel correspondence.

[0031] In other embodiments, the polarization camera 130 and the depth camera 140 can be integrated into the same polarization-depth integrated imaging module, so that the two share the optical axis, thereby eliminating the need for external parameter calibration and eliminating registration errors caused by parallax.

[0032] In step S1, the controller 150 controls the polarization camera 130 to acquire a group of polarization images of the target scene, and controls the depth camera 140 to acquire a depth map of the same target scene. The group of polarization images includes images under at least three different polarization directions. To suppress the influence of ambient light fluctuations, multiple frames can be continuously acquired under the same polarization direction and the median value can be taken.

[0033] In step S2, refer to Figure 3 The Stokes parameters are calculated pixel-by-pixel for the polarization image group. For the linearly polarized component, the observed intensity under any polarization direction θ satisfies the following equation: I(θ) = S0 / 2 + (S1 / 2)·cos2θ + (S2 / 2)·sin2θ When the polarization image group contains images with four polarization directions: 0°, 45°, 90°, and 135°, the Stokes parameter can be directly obtained from the following formula: S0 = I(0°) + I(90°), S1 = I(0°) − I(90°), S2 = I(45°) − I(135°) S0 can also be the sum of I(45°) and I(135°), or the average of the sums of the two sets, to further suppress sensor noise. Then, the polarization degree ρ and polarization phase angle φ are calculated using the following formula: ρ = √(S1² + S2²) / S0, φ = arctan2(S2, S1) / 2 When the polarization image set contains only three images with different polarization directions, such as 0°, 60°, and 120°, the three observed intensities can be substituted into the above intensity expression to obtain a system of ternary linear equations for S0, S1, and S2. Solving this system of equations yields the Stokes parameters. Therefore, the solution can be completed by including images with at least three different polarization directions in the polarization image set.

[0034] In step S3, for transparent or highly reflective objects where surface specular reflection is dominant, the relationship between the polarization degree of the reflected light and the incident angle θ and the refractive index n of the material can be derived from the Fresnel reflection coefficient, and is exemplarily expressed as follows: ρs(θ) = 2·sinθ·tanθ·√(n² − sin²θ) / (n² − sin²θ + sin²θ·tan²θ) Assuming the object's surface is a local plane, the incident angle θ is equal to the zenith angle of the surface normal relative to the line of sight. The function described by the above equation monotonically increases as θ increases from 0 to the Brewster angle θB = arctan(n), reaching a maximum at θB, and then monotonically decreases as θ continues to increase. Therefore, for a given measured degree of polarization ρ, the equation ρs(θ) = ρ generally has two solutions θ1 and θ2, satisfying θ1 ∈ (0, θB) and θ2 ∈ (θB, π / 2), which is the zenith angle double solution.

[0035] Regarding the azimuth angle, the electric field vibration direction of the specularly reflected light is perpendicular to the incident surface. Therefore, the azimuth angle ψ of the surface normal and the polarization phase angle φ satisfy ψ = φ + π / 2 or ψ = φ − π / 2. For regions dominated by diffuse reflection, the azimuth angle satisfies ψ = φ or ψ = φ + π. The two candidate values ​​in these two cases differ by π, which is the π-periodic ambiguity of the azimuth angle.

[0036] By combining the candidate values ​​of the zenith angle and the candidate values ​​of the azimuth angle, we obtain the set of candidate normals at pixel p: Np = { n(θi, ψj) | i ∈ {1, 2}, j ∈ {1, 2}}, where n(θ, ψ) = (sinθ·cosψ, sinθ·sinψ, cosθ) That is, each pixel has a maximum of four candidate normals. The refractive index n can be a typical value of the target object's material, such as about 1.5 for soda-lime glass, about 1.49 for acrylic, and about 1.59 for polystyrene; it can also be determined by looking up a table based on the material classification results, or it can be optimized together with the normal field as a variable to be optimized.

[0037] In step S4, reliable depth regions are first determined from the depth map. Pixels that simultaneously meet the following conditions are identified as reliable pixels: First, the depth value is valid, i.e., non-zero and within the range of the depth camera 140; second, the magnitude of the local depth gradient is less than the gradient threshold τg, exemplarily set to 8 mm per pixel to exclude unreliable pixels located at depth jumps; third, the standard deviation of the pixel's depth in the continuously acquired M frames of depth maps is less than the fluctuation threshold τσ, exemplarily set to M = 5 and τσ = 2 mm to exclude pixels with intermittent erroneous depths due to specular reflection flicker. Subsequently, connected regions are calculated for reliable pixels, and connected regions with an area smaller than the area threshold τa are removed, exemplarily set to 100 pixels. The remaining connected regions are then identified as reliable depth regions R.

[0038] It should be noted that in a typical transparent object grasping scenario, the reliable depth region R usually includes the work surface, opaque objects in the scene, and a narrow band at the edge of the transparent object where strong surface reflection occurs due to the surface orientation being close to grazing, thus allowing for accurate ranging. These regions are spatially distributed around the target object and its edges, providing reasonably distributed anchor points for subsequent ambiguity resolution.

[0039] Next, the reference normal is calculated. Pixels within the reliable depth region R are back-projected into 3D points according to the depth camera's intrinsic parameters. For each pixel p, plane least squares fitting or principal component analysis is performed on the 3D point set within its neighborhood window. The normal of the fitted plane is taken and its orientation is adjusted to point towards the camera side, serving as the reference normal n_ref(p) for that pixel. The neighborhood window is exemplarily 5 pixels by 5 pixels.

[0040] In step S4, let the label lp of pixel p represent its selection in the candidate normal set Np, and L represent the label field of all pixels. Construct the following energy function: E(L) = Σp [ wd·Dp(lp) + wa·Ap(lp) + wc·Cp(lp) ] + Σ(p,q)∈N ws·Vpq(lp, lq) The data term Dp is used to measure the deviation between the theoretical polarization response corresponding to the candidate normal and the actual observation. It is exemplarily represented as Dp(lp) = |ρs(θ(lp)) − ρp| / max(ρp, ε), where ε is a small quantity to prevent division by zero.

[0041] The anchoring term Ap is used to constrain the selection results within the reliable depth region to be geometrically consistent with the depth map. It is exemplarily expressed as: when p belongs to R, Ap(lp) = 1 − n(lp)·n_ref(p), and when p does not belong to R, Ap(lp) = 0.

[0042] The contour term Cp takes effect when pixel p lies on the contour of the target object segmentation mask, and is exemplarily represented as Cp(lp) = |n(lp)·v(p)|, where v(p) is the unit vector of the viewing direction of pixel p. This term reflects the geometric fact that the surface normal at the object contour is approximately perpendicular to the viewing direction. The segmentation mask can be provided by an instance segmentation network, or it can be obtained through background subtraction or polarization degree thresholding.

[0043] The smoothing term Vpq is used to constrain the normal continuity of adjacent pixels, and is exemplarily represented as Vpq(lp, lq) = 1 −n(lp)·n(lq), where N is the set of adjacent pixel pairs in the four-neighbor or eight-neighbor domains. At locations where objects have real edges, ws can be locally attenuated based on the edge response of the color image to avoid over-smoothing and smoothing out the edges.

[0044] For example, the weights are set as wd = 1.0, wa = 2.0, wc = 1.0, and ws = 0.5. Since the number of candidate labels for each pixel does not exceed four, the above multi-label energy minimization problem can be solved efficiently using the α-extended graph cut algorithm or the confidence propagation algorithm. The solution is the unique normal of each pixel, and the unique normals of all pixels constitute the normal field.

[0045] It is important to emphasize here that the anchoring term fixes the pixel label selection within the reliable depth region to the depth observation, the smoothing term propagates this determinism gradually along space to the transparent object region where the depth fails, and the contour term further provides independent constraints at the object boundary. The three factors work together to resolve the originally unsolvable single-view polarization normal ambiguity, and this resolution process relies on the information in the depth map that has not been destroyed by transparent objects.

[0046] In step S5, the depth gradient field is obtained from the normal vector n = (nx, ny, nz) of each pixel in the normal field: Zx = − nx / nz, Zy = − ny / nz The above equation is the expression under the orthogonal projection approximation; under the perspective projection model, the pixel coordinates should be converted to normalized planar coordinates according to the camera intrinsic parameters before establishing the gradient relationship. Then, within the target object mask area, the following Poisson equation is solved using von Neumann boundary conditions to obtain the relative depth Z: ∇²Z = ∂Zx / ∂x + ∂Zy / ∂y The obtained relative depth Z is only determined to an unknown scale factor and offset, requiring alignment using a reliable depth region. Let D be the measured depth given by the depth map, and Ω be the region of the target object mask after morphological dilation. Then, the scale factor a and offset b are determined by solving the following least squares problem: min(a, b) Σ p ∈ R ∩ Ω ( a·Z(p) + b − D(p) )² This problem is a univariate linear regression problem with a closed-form solution. To suppress the influence of individual erroneous depth values, a robust estimation can be performed using a random sampling consensus algorithm. The depth of the target object is measured as Zm = a·Z + b, and a complete point cloud is generated by back-projection based on the camera's intrinsic parameters. When the intersection of R and Ω is empty, a support surface assumption can be used as a substitute benchmark, assuming that the bottom of the target object is in contact with the worktable surface, thus determining the offset from the plane equation of the worktable surface.

[0047] In step S6, the pixel-wise depth confidence c(p) is represented as a weighted sum of the polarization confidence term, the resolution margin term, and the integral residual term: c(p) = w1·fρ(p) + w2·fm(p) + w3·fr(p), where w1 + w2 + w3 = 1 For example, the weights are w1 = 0.40, w2 = 0.35, and w3 = 0.25.

[0048] The polarization confidence term fρ is used to characterize the signal-to-noise ratio of the polarization observation itself. When the pixel intensity is saturated and overexposed, the Stokes parameter calculation fails; when the polarization degree ρp is less than the lower limit of polarization degree ρmin, the polarization signal is overwhelmed by noise, and ρmin is exemplarily taken as 0.02. Accordingly, fρ is exemplarily expressed as fρ(p) = clip((ρp − ρmin) / (ρopt − ρmin), 0,1)·(1 − sat(p)), where ρopt is the polarization degree of the material at the Brewster angle, sat(p) is the proportion of saturated pixels in the neighborhood of pixel p, and clip indicates that the value is restricted to a given interval.

[0049] The resolution margin term fm characterizes the degree of certainty of the ambiguous resolution result, and is exemplarily expressed as fm(p) = min(1, ΔEp / ΔE0), where ΔEp is the energy difference between the optimal and suboptimal labels at pixel p, and ΔE0 is a normalization constant. The larger the value of this term, the more obvious the advantage of the selected normal direction compared to other candidate normal directions, and the more reliable the resolution result.

[0050] The integral residual term fr is used to characterize the self-consistency of the reconstruction result, and is exemplarily expressed as fr(p) = exp(−r(p) / r0), where r(p) is the difference between the gradient of depth Zm at pixel p and the depth gradient field (Zx,Zy) corresponding to the normal location, and r0 is a normalization constant.

[0051] To suppress noise in the confidence map, a color image can be used as a guide image to perform guided filtering on the confidence map, so that the confidence level changes smoothly inside the object surface while remaining sharp at the object boundary.

[0052] In step S7, contact point pairs are sampled on the completed point cloud and candidate grasping poses g are generated. Each candidate grasping pose includes the position of the gripper, the closing direction, and the approximation direction. Before sampling the contact points, pixels with a depth confidence score less than the lower confidence limit cmin are excluded from the candidate contact point set. For example, cmin is set to 0.3 to avoid contact points falling in unreliable reconstruction areas.

[0053] The score for the candidate grab pose is calculated using the following formula: Q(g) = Qgeo(g) · ( Σ p ∈ Ωg c(p) / |Ωg| )^γ Where Ωg is the set of projected pixels on the image representing the contact area between the two fingers of the gripper, and γ is the confidence influence index, exemplarily set to 1.5. The larger the value of γ, the stronger the penalty for low-confidence areas in the scoring.

[0054] The geometric mass score Qgeo is exemplarily represented as Qgeo(g) = k1·Ff(g) + k2·Fa(g) + k3·Fc(g). Here, Ff is a force closure measure, exemplarily taken as the product of the cosines of the angles between the surface normals at the two contact points and the directions of the lines connecting the two contact points, i.e., Ff = cos∠(n(p1), p2 − p1)·cos∠(n(p2), p1 − p2). A larger value indicates closer to a centered grip and less likelihood of slippage. Fa is the fit between the gripper opening stroke and the local width of the target object. Fc is the normalized value of the minimum distance between the gripper geometry and the scene point cloud, used to characterize the collision margin. The weights k1, k2, and k3 are exemplarily set to 0.5, 0.2, and 0.3, respectively.

[0055] The candidate grasp pose with the largest score Q is selected as the target grasp pose.

[0056] Reference Figure 4 When the mean depth confidence of the contact area corresponding to the target grasping pose is less than the confidence threshold cth, and the number of re-observations performed is less than the preset number N, the controller 150 performs an active viewpoint change step. For example, cth is set to 0.6 and N to 3.

[0057] The determination of the next optimal observation angle is based on the fact that the degree of polarization ρs(θ) reaches a maximum at Brewster angle θB, and at this point, the degree of polarization is most sensitive to changes in the incident angle, while the inversion result is least sensitive to image noise. Therefore, the camera should observe the currently least reliable surface region at an incident angle as close as possible to the Brewster angle. The next optimal observation angle v* is solved from the set of candidate observation angles V that are reachable by the robotic arm and collision-free, using the following formula: v* = argmax v ∈ V Σ p ∈ U exp( − (θ(p, v) − θB)² / (2·σθ²) ) ·(1 − c(p)) Where U represents the set of pixels with a current depth confidence level below the confidence threshold, θ(p, v) is the incident angle of the surface point corresponding to pixel p at the observation viewpoint v, which can be estimated from the currently reconstructed normal field, and σθ is a constant controlling the angle tolerance, exemplarily taken as 10°. The Brewster angle is calculated as θB = arctan(n), and for soda-lime glass with a refractive index of 1.5 in air, θB is approximately 56.3°.

[0058] The controller 150 controls the robotic arm 110 to move the polarization camera 130 to the observation angle v*, and then repeats steps S1 to S6. Here, only the robotic arm carrying the camera needs to be moved, without contacting the target object, so there is no risk of knocking over or damaging the object.

[0059] The fusion of multi-view results is performed as follows: Based on the hand-eye calibration results, the normal field and metric depth obtained from each observation view are uniformly transformed to the robot base coordinate system; for multiple observations corresponding to the same surface point, their metric depths are fused by weighting according to depth confidence, i.e., Zm_fuse = Σk ck·Zm_k / Σk ck; the normal is also normalized after being weighted and summed according to depth confidence; the fused depth confidence is taken as cfuse = 1 − Πk (1 − ck), that is, the independent observations from multiple views can corroborate each other and jointly improve the confidence. After fusion, return to step S7 to regenerate and score candidate grasping poses.

[0060] If the number of re-observations reaches the preset number N and the confidence level is still not met, then the highest-scoring candidate grasping pose will be used to grasp the object, or the target object will be skipped according to the preset strategy and a prompt will be given to avoid getting stuck in an infinite loop.

[0061] In step S8, the controller 150 controls the robotic arm 110 to move according to the target grasping posture and controls the gripper 120 to close. During the gripper closing process, the gripping force signal output by the force sensor 121 and the opening displacement signal of the gripper are collected. When the opening displacement signal continues to decrease before the gripping force signal reaches the set value, or when the gripping force signal suddenly drops, it indicates that the target object has moved relative to the gripper surface, and slippage is determined to have occurred.

[0062] When slippage is detected, the depth confidence of the pixel corresponding to the contact area of ​​the previous grasp is multiplied by an attenuation factor to reduce its value. For example, the attenuation factor is set to 0.5. Then, the system returns to step S7 to redetermine the target grasp pose. The resulting feedback allows the system to correct its judgment of the object geometry from failed attempts.

[0063] When the grasp is successful, the spatial position of the two fingers of the gripper at the moment of force closure is taken as the observation value of the target object's surface position and backfilled to the measurement depth to correct the value of the corresponding area. Furthermore, based on the deviation between the observation value and the inversion result, the refractive index estimate of this type of object can be updated online, thereby improving the inversion accuracy in subsequent grasps of similar objects.

[0064] Reference Figure 5 The present invention also provides a transparent object robot grasping device 200, including an image acquisition module 210, a polarization calculation module 220, a normal inversion module 230, an ambiguity resolution module 240, a depth reconstruction module 250, a confidence calculation module 260, a grasping decision module 270, and an execution control module 280.

[0065] Image acquisition module 210 acquires a set of polarized images and a depth map of the target scene. The set of polarized images includes images under at least three different polarization directions, and the set of polarized images and the depth map are registered to the same field of view. Polarization calculation module 220 calculates Stokes parameters pixel by pixel to obtain the degree of polarization and polarization phase angle. Normal inversion module 230 determines candidate values ​​for the zenith angle based on the degree of polarization and candidate values ​​for the azimuth angle based on the polarization phase angle using the Fresnel reflection model, thus obtaining a set of candidate normals. Ambiguity resolution module 240 determines a reliable depth region and calculates a reference normal. Using the reference normal as an anchoring constraint, it constructs and minimizes an energy function to select a unique normal for each pixel. Depth reconstruction module 250 integrates the normal field and uses the reliable depth region to complete scale and offset alignment, obtaining a metric depth and a completed point cloud. Confidence calculation module 260 calculates the pixel-by-pixel depth confidence. The grasping decision module 270 is used to generate candidate grasping poses and determine the target grasping pose based on a weighted result of geometric quality score and depth confidence. It is also used to determine the next best observation viewpoint when the confidence is insufficient. The execution control module 280 is used to control the robot to perform grasping and handle slip feedback.

[0066] The specific working process of each module can be referred to the corresponding description in the foregoing method embodiments, and will not be repeated here. Each module can be implemented in the form of software functional modules, or in hardware form such as field-programmable gate arrays or application-specific integrated circuits; among them, the steps of polarization calculation, normal inversion and Poisson equation solution have good pixel-level parallelism and can be deployed on a graphics processor for parallel execution to meet the real-time requirements of the grasping task.

[0067] In some embodiments, the gripper 120 can be replaced with a suction cup-type end effector. In this case, the geometric mass score in the gripping pose evaluation is adjusted accordingly to the surface flatness of the adsorption area, the angle between the suction cup axis and the surface normal at that location, and the integrity of the adsorption area, while the depth confidence weighting remains unchanged.

[0068] In some embodiments, the method of the present invention is also applicable to the grasping of polished metal parts, mirror parts, and objects with transparent packaging films, because the above-mentioned objects also appear as holes or incorrect depths on the depth map, and their surface reflections also have significant polarization characteristics.

[0069] In some embodiments, the minimization of the energy function can also be solved using simulated annealing, other variants of the graph cut algorithm, or gradient descent with differentiable relaxation. In some embodiments, the refractive index can be alternately optimized as the variable to be optimized along with the normal field; that is, the refractive index is updated under a given normal field, and then the normal field is updated under a given refractive index, iterating several times until convergence.

[0070] This invention also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the transparent object robot grasping method described in any of the foregoing embodiments. The computer-readable storage medium includes a read-only memory, a random access memory, a disk, or an optical disk, or other media capable of storing program code.

[0071] The embodiments described above are merely illustrative of the technical solutions of the present invention and are not intended to limit them. Those skilled in the art should understand that modifications can be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; however, such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method and apparatus for robot grasping transparent objects with complementary polarization and depth, characterized in that, The method includes: Step S1: Obtain a polarized image group of the target scene using a polarization camera and a depth map of the target scene using a depth camera. The polarization image group includes images under at least three different polarization directions, and the polarization image group and the depth map are registered to the same field of view. Step S2: Calculate the Stokes parameters pixel by pixel based on the polarization image group, and obtain the degree of polarization and polarization phase angle pixel by pixel based on the Stokes parameters; Step S3: Based on the Fresnel reflection model, determine the candidate value of the zenith angle of the surface normal according to the degree of polarization, determine the candidate value of the azimuth angle of the surface normal according to the polarization phase angle, and obtain the candidate normal set of each pixel by combining the candidate zenith angle value and the candidate azimuth angle value. Step S4: Determine a reliable depth region from the depth map, and calculate a reference normal based on the depth values ​​within the reliable depth region; using the reference normal as an anchoring constraint, construct an energy function including a data term, a smoothing term, and an anchoring term; by minimizing the energy function, select a unique normal for each pixel in the candidate normal set, and obtain the normal field after deambiguity; Step S5: Integrate the normal field to obtain the relative depth, and use the reliable depth region to align the scale and offset of the relative depth to obtain the measured depth of the target object, and generate a complete point cloud based on the measured depth. Step S6: Calculate the pixel-by-pixel depth confidence based on the polarization degree, the energy difference between the optimal and suboptimal solutions of the energy function, and the residual of the integral. Step S7: Generate candidate grasping poses on the completed point cloud, score the candidate grasping poses according to the weighted result of the geometric quality score and the depth confidence, and determine the candidate grasping pose with the highest score as the target grasping pose. Step S8: Control the robot to grasp the target object according to the target grasping pose.

2. The method according to claim 1, characterized in that, Step S2 includes: When the polarization image group contains images with four polarization directions of 0°, 45°, 90°, and 135°, the Stokes parameter is calculated using the following formula: S0 = I(0°) + I(90°), S1 = I(0°) − I(90°), S2 = I(45°) − I(135°); The degree of polarization ρ and the polarization phase angle φ are calculated using the following formula: ρ = √(S1² + S2²) / S0, φ = arctan2(S2, S1) / 2; When the polarization image group contains images with three different polarization directions, the Stokes parameter is obtained by solving a system of equations based on the linear relationship between the observed intensity and the Stokes parameter in the three polarization directions.

3. The method according to claim 1, characterized in that, Determining a reliable depth region from the depth map includes: A pixel is defined as a reliable pixel if it meets the following conditions: its depth value is valid and within the range of the depth camera; the magnitude of the local depth gradient is less than the gradient threshold; and the standard deviation of the pixel's depth is less than the fluctuation threshold in the multi-frame depth maps acquired in succession. For the reliable pixels, the connected regions are calculated, and the connected regions with an area smaller than the area threshold are removed. The remaining connected regions are then determined as the reliable depth regions. The step of calculating the reference normal based on the depth value within the reliable depth region includes: back-projecting the pixels within the reliable depth region into three-dimensional points, performing plane fitting on the three-dimensional points within the neighborhood window of each pixel, and adjusting the fitted plane normal to face the polarization camera side as the reference normal for that pixel.

4. The method according to claim 1, characterized in that, The energy function also includes a contour term, which takes effect when the pixel is located on the segmentation mask contour of the target object, and is used to constrain the angle between the normal of the pixel and the viewing direction of the pixel to be close to 90°. The energy function is expressed as: E(L) = Σp[ wd·Dp(lp) + wa·Ap(lp) + wc·Cp(lp) ] + Σ(p,q)∈N ws·Vpq(lp, lq); Wherein, lp is the selection index of pixel p in the candidate normal set, Dp is a data item and its value is the deviation between the theoretical polarization degree and the measured polarization degree corresponding to the selection index, Ap is the anchoring item and its value is 1 minus the dot product of the normal corresponding to the selection index and the reference normal when pixel p belongs to the reliable depth region, Cp is the contour item, Vpq is the smoothing item and its value is 1 minus the dot product between the selected normals of adjacent pixels, N is the set of adjacent pixel pairs, and wd, wa, wc and ws are the weights of each item; The energy function is minimized using the α-extended graph cut algorithm or the confidence propagation algorithm.

5. The method according to claim 1, characterized in that, Step S6 includes: The depth confidence is expressed as a weighted sum of the polarization confidence term, the resolution margin term, and the integral residual term; The polarization confidence term takes a smaller value when the pixel intensity is saturated and overexposed or when the polarization degree is less than the lower limit of the polarization degree, and increases as the polarization degree approaches the polarization degree of the target object material at Brewster angle. The elimination margin term increases as the energy difference between the optimal and suboptimal solutions of the energy function increases; The integral residual term decreases as the residual increases, and the residual is the difference between the aligned gradient of the depth metric and the depth gradient field corresponding to the normal location. Guided filtering is applied to the confidence map constructed from the depth confidence.

6. The method according to claim 1, characterized in that, The method further includes an active perspective change step after step S7: When the depth confidence level corresponding to the target grasping pose is less than the confidence level threshold and the number of re-observations performed is less than the preset number, the Brewster angle is determined according to the refractive index of the target object material as θB = arctan(n), where n is the refractive index; Among the candidate observation viewpoints that are reachable and collision-free for the robot, the observation viewpoint whose incident angle is close to the Brewster angle is determined as the next best observation viewpoint. Control the robotic arm carrying the polarization camera to move to the next optimal observation angle, and re-execute steps S1 to S6; The normal field and depth measurement obtained from different observation perspectives are unified into the robot's base coordinate system, and then weighted and fused according to the depth confidence of each perspective. The fused depth confidence is 1 minus the product of the complements of the depth confidence of each perspective.

7. The method according to claim 1, characterized in that, Step S7 includes: The candidate grasping pose g is scored using the following formula: Q(g) = Qgeo(g) · ( Σp∈Ωg c(p) / |Ωg| )^γ; Where Qgeo(g) is the geometric mass score and is obtained by weighting the force closure measure, the fit between the gripper opening and the local width of the target object, and the collision margin between the gripper and the scene point cloud; Ωg is the set of projected pixels of the gripper contact area on the image; c(p) is the depth confidence of pixel p; and γ is the confidence influence index greater than 0. Before generating the candidate grasping pose, pixels with a depth confidence level less than the lower confidence level are excluded from the candidate contact point set.

8. The method according to claim 1, characterized in that, Step S8 includes: The clamping force signal and opening displacement signal of the gripper are collected during the clamping process; When the opening displacement signal continues to decrease before the clamping force signal reaches the set value, or when the clamping force signal suddenly drops, it is determined that slippage has occurred. When slippage is detected, the depth confidence of the pixel corresponding to the contact area of ​​the gripper is reduced, and the process returns to step S7 to redetermine the target grasping pose. When the grasp is successful, the position of the gripper's finger surface at the moment of force closure is taken as the observed value of the target object's surface position and backfilled into the measurement depth to correct the measurement depth of the corresponding area.

9. A transparent object robot grasping device, characterized in that, The device includes: An image acquisition module is used to acquire a polarization image group and a depth map of a target scene. The polarization image group includes images under at least three different polarization directions, and the polarization image group and the depth map are registered to the same field of view. The polarization calculation module is used to calculate the Stokes parameters pixel by pixel based on the polarization image group, and obtain the degree of polarization and polarization phase angle pixel by pixel. The normal inversion module is used to determine the candidate value of the zenith angle and the candidate value of the azimuth angle based on the polarization degree and the polarization phase angle, respectively, based on the Fresnel reflection model, so as to obtain the candidate normal set of each pixel. The ambiguity resolution module is used to determine a reliable depth region from the depth map and calculate a reference normal. The reference normal is used as an anchoring constraint to construct an energy function including a data term, a smoothing term, and an anchoring term. The module then selects a unique normal for each pixel by minimizing the energy function to obtain the normal field. The depth reconstruction module is used to integrate the normal field to obtain the relative depth, align the scale and offset of the relative depth using the reliable depth region to obtain the metric depth, and generate a complete point cloud. The confidence calculation module is used to calculate the pixel-by-pixel depth confidence based on the polarization degree, the energy difference between the optimal and suboptimal solutions of the energy function, and the residual of the integral. The grasping decision module is used to generate candidate grasping poses on the completed point cloud and determine the target grasping pose based on the weighted result of the geometric quality score and the depth confidence. The execution control module is used to control the robot to grasp the target object according to the target grasping pose.

10. A robot, characterized in that, The robot includes a robotic arm, a gripper disposed at the end of the robotic arm, a polarization camera and a depth camera disposed on the robotic arm, and a controller. The controller includes a processor and a memory, the memory storing a computer program, which, when executed by the processor, implements the method of any one of claims 1 to 8.