Passive three-dimensional reconstruction method and device based on polarization information similarity
Through the polarization camera, multiple polarization images were collected and processed using Fresnel's law, combined with the target polarization normal gradient correction model, the problems of normal ambiguity and low accuracy in polarization three-dimensional reconstruction are solved, and high-precision three-dimensional reconstruction is achieved, reducing the Cost and complexity.
Patent Information
- Application Number
- CN202410952731.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-01
AI Technical Summary
In the existing polarization three-dimensional reconstruction technology, the azimuth angle of the target surface normal is ambiguity, resulting in uneven and low accuracy of the reconstruction result, and introducing prior information to correct the normal will increase costs and may lead to distortion.
Using a passive three-dimensional reconstruction method based on polarization information similarity, multiple polarized images were collected through the polarization camera, and the azimuth angle and zenith angle of the surface normal were obtained by Fresnel's law, and the target polarization normal gradient correction model was used to measure the method. The lines are corrected, and a correction model is established based on the polarization characteristics of adjacent regions to remove the ambiguity of the normals.
It effectively solves the ambiguity problem of polarization normal, improves the accuracy of three-dimensional reconstruction, reduces imaging cost and complexity, and avoids reconstruction distortion caused by prior information errors.
Smart Images

Figure CN118887338A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of polarization imaging and computational imaging, and in particular relates to a passive three-dimensional reconstruction method and device based on polarization information similarity. Background Art
[0002] 3D reconstruction technology can restore the depth information of the target object, which is not available in 2D images. Therefore, it is of great significance in many computer vision fields such as satellite remote sensing, industrial monitoring, unmanned driving, and cultural heritage protection. With the rapid development of various fields of computer vision, 3D reconstruction technology has also made great progress and has taken a leading position in many fields.
[0003] With the in-depth study of 3D reconstruction technology, how to achieve high-precision and low-cost 3D reconstruction of the target is the main research issue of most scholars at present. 3D reconstruction technology can be mainly divided into two categories: active and passive 3D reconstruction. Among them, active 3D reconstruction technology requires active light source illumination, that is, it needs to transmit signals by itself, and calculate the 3D information of the target based on the received feedback signal, thereby realizing the 3D reconstruction of the target. Passive 3D reconstruction technology estimates the 3D information of the target through the physical information or geometric information in the image. Because it does not require active light source illumination, the cost of reconstruction is low and it is not easily affected by ambient light. Typical passive 3D imaging technologies include binocular stereo vision, monocular stereo vision and polarization 3D imaging technology. Among them, binocular stereo vision captures the image of the scene through two cameras or sensors at the same time, and then uses the stereo matching algorithm to find the matching relationship between the corresponding pixels in the two images. Based on these matching relationships, the depth information of different objects in the scene can be calculated. This method has a wide range of applications and accurate depth information, but the reconstruction accuracy is low and lacks detailed information. Monocular stereo vision is to identify the target through image matching and estimate the distance according to the size of the target in the image. It has the advantages of simple structure, strong flexibility and low cost, but it has high requirements on target features and is not suitable for target scenes with weak or monotonous textures. In addition, the depth perception accuracy of this method is low. Polarization 3D imaging technology is a technology that uses the polarization characteristics of light for 3D imaging. It interprets the 3D morphology of the target through the change of polarization characteristics during the reflection or refraction of light on the target surface. The reconstructed target has high accuracy and rich surface details.
[0004] However, the azimuth of the target surface normal obtained by polarization 3D reconstruction technology is ambiguous, which will cause the polarization 3D reconstruction result to be uneven and seriously distorted, and the polarization normal is binary. At present, in order to solve the above problems, the existing technology adopts the method of introducing the prior information of the target surface normal to correct the azimuth, but this method not only increases the cost of reconstruction, but also causes the reconstruction result to be distorted if the prior information of the normal obtained is not accurate enough. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a passive three-dimensional reconstruction method and device based on polarization information similarity. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0006] In a first aspect, the present invention provides a passive three-dimensional reconstruction method based on polarization information similarity, comprising:
[0007] Using a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer, a plurality of polarization images are obtained; wherein the plurality of polarization images have the same number of pixels and the same pixel has the same position;
[0008] Based on Fresnel's law, the multiple polarization images are processed to obtain the azimuth angle and zenith angle of the surface normal of each pixel point;
[0009] The azimuth of the surface normal of each pixel is corrected by using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed;
[0010] Determine the surface normal corresponding to each pixel point according to the zenith angle of the surface normal of each pixel point and the corrected azimuth angle;
[0011] According to the surface normals corresponding to all the pixel points, a three-dimensional surface image of the object to be reconstructed is obtained.
[0012] In one embodiment of the present invention, a polarization camera is used to collect polarization images of a target to be reconstructed at different rotation angles of a polarizer to obtain multiple polarization images, including:
[0013] A polarization camera is used to obtain a polarization image of the target to be reconstructed when the polarizer is rotated by 0°, a polarization image when the polarizer is rotated by 45°, a polarization image when the polarizer is rotated by 90°, and a polarization image when the polarizer is rotated by 135° by rotating the polarizer.
[0014] In one embodiment of the present invention, the plurality of polarized images are processed based on the Fresnel law to obtain the azimuth angle and zenith angle of the surface normal of each pixel point, including:
[0015] Obtain polarization information according to the plurality of polarization images; the polarization information includes: a Stokes vector;
[0016] Obtaining the azimuth of the surface normal of each pixel point according to the Stokes vector;
[0017] Obtaining the polarization degree of each pixel point according to the Stokes vector;
[0018] According to the polarization degree of each pixel, the zenith angle of the surface normal of each pixel is obtained.
[0019] In one embodiment of the present invention, obtaining polarization information according to the plurality of polarization images includes:
[0020] The plurality of polarization images are processed using a first formula to obtain the polarization information; the first formula is as follows:
[0021]
[0022] Where S represents the Stokes vector, I represents the total light intensity, Q represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 0° and the polarization image with the polarizer rotated 90°, U represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 45° and the polarization image with the polarizer rotated 135°, I0 represents the light intensity of all pixels in the polarization image with the polarizer rotated 0°, I 45 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 45°, I 90 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 90°, I 135 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 135°.
[0023] In one embodiment of the present invention, obtaining the azimuth of the surface normal of each pixel point in the object to be reconstructed according to the Stokes vector includes:
[0024] The azimuth of the surface normal of each pixel is obtained according to the Stokes vector using the second formula; the second formula is as follows:
[0025]
[0026] in, Represents the azimuth of the surface normal of a single pixel, U(i,j) represents the light intensity difference corresponding to a single pixel in U, and Q(i,j) represents the light intensity difference corresponding to a single pixel in Q.
[0027] In one embodiment of the present invention, obtaining the polarization degree of each pixel point according to the Stokes vector includes:
[0028] The polarization degree of each pixel is obtained according to the Stokes vector using the third formula; the third formula is as follows:
[0029]
[0030] Among them, P(i,j) represents the polarization degree of a single pixel, and I(i,j) represents the corresponding result of a single pixel in I.
[0031] In one embodiment of the present invention, obtaining the zenith angle of the surface normal of each pixel point according to the degree of polarization of each pixel point includes:
[0032] The fourth formula is used to obtain the zenith angle of the surface normal of each pixel point according to the polarization degree of each pixel point; the fourth formula is as follows:
[0033]
[0034] Where n represents the refractive index of a single pixel, and θ(i,j) represents the zenith angle of the surface normal of a single pixel.
[0035] In one embodiment of the present invention, the azimuth of the surface normal of each pixel is corrected using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel, including:
[0036] For each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column;
[0037] For each pixel point in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel point in the previous column of the pixel point is used as prior information, and the azimuth of the surface normal of the pixel point is corrected based on the correction formula to obtain the corrected azimuth of the pixel point, thereby obtaining the corrected azimuth of all the pixel points in the remaining columns except the first column; the correction formula is as follows:
[0038]
[0039] in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel point corresponding to the surface normal of the pixel point in the prior information.
[0040] In a second aspect, the present invention provides a passive three-dimensional reconstruction device based on polarization information similarity, the device comprising:
[0041] A polarization image acquisition module is used to use a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer to obtain multiple polarization images; wherein, in the multiple polarization images, the number of pixels is consistent and the position of the same pixel is the same;
[0042] An azimuth and zenith angle determination module, used to process the multiple polarization images based on Fresnel's law to obtain the azimuth and zenith angle of the surface normal of each pixel point;
[0043] An azimuth correction module is used to correct the azimuth of the surface normal of each pixel point using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel point; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed;
[0044] A normal determination module, used to determine the surface normal corresponding to each pixel point according to the zenith angle and the corrected azimuth angle of the surface normal of the pixel point;
[0045] The image reconstruction module is used to obtain a three-dimensional surface image of the target to be reconstructed according to the surface normals corresponding to all pixel points.
[0046] In one embodiment of the present invention, the azimuth correction module is specifically used to:
[0047] For each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column;
[0048] For each pixel point in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel point in the previous column of the pixel point is used as prior information, and the azimuth of the surface normal of the pixel point is corrected based on the correction formula to obtain the corrected azimuth of the pixel point, thereby obtaining the corrected azimuth of all the pixel points in the remaining columns except the first column; the correction formula is as follows:
[0049]
[0050] in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel point corresponding to the surface normal of the pixel point in the prior information.
[0051] Beneficial effects of the present invention:
[0052] In the solution provided by the present invention, a target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface, thereby achieving disambiguation of the polarization normal and effectively solving the problem that single polarization imaging cannot achieve target reconstruction and polarization normal binary. Compared with traditional polarization three-dimensional imaging technology, the present invention does not need to introduce gradient prior information, greatly reducing the complexity of the imaging device and the imaging cost. It avoids the problem of distortion during reconstruction due to errors in target prior gradient information, and improves the accuracy of polarization three-dimensional reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 Schematic diagram of the principle of polarization 3D imaging;
[0054] Figure 2 A schematic diagram of the steps of a passive three-dimensional reconstruction method based on polarization information similarity provided by an embodiment of the present invention;
[0055] Figure 3 A schematic structural diagram of a passive three-dimensional reconstruction device based on polarization information similarity provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The following will be combined with the accompanying drawings of the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] In order to solve the problem that the existing 3D reconstruction method increases the reconstruction cost when correcting the azimuth by introducing the target surface normal prior information, and the reconstruction result will be distorted when the normal prior information obtained is not accurate enough, the embodiment of the present invention provides a passive 3D reconstruction method and device based on polarization information similarity.
[0058] First, in order to facilitate the understanding of this scheme, the principle of polarization 3D imaging is explained here, see Figure 1 , Figure 1 This is a schematic diagram of the principle of polarized 3D imaging, in which the polarized camera can collect polarized images of the target to be reconstructed through a polarizer. When the light wave is incident on the surface of the target to be reconstructed, it will be reflected, and the reflection angle and the incident angle are both θ. Among them, the incident angle is the angle between the incident light and the normal line, and the reflection angle is the angle between the outgoing light and the normal line; the reflection angle θ is the zenith angle. is the normal of the position on the target surface to be reconstructed, for The projection on the image plane coordinate xoy plane has an angle with the x-axis of Should Too azimuth.
[0059] Next, a passive 3D reconstruction method based on polarization information similarity provided by an embodiment of the present invention is described in detail. For a schematic diagram of the steps of a passive 3D reconstruction method based on polarization information similarity provided by an embodiment of the present invention, please refer to Figure 2 , which may include the following steps:
[0060] S1, using a polarization camera to collect polarization images of a target to be reconstructed at different rotation angles of a polarizer, to obtain a plurality of polarization images; wherein, in the plurality of polarization images, the number of pixels is consistent and the position of the same pixel is the same.
[0061] A polarization camera controls the polarization direction of light entering the polarization camera by installing a polarizing plate on the lens, allowing light with a specific polarization direction to pass through while shielding light in other directions, thereby obtaining a polarization image with polarization information.
[0062] Specifically, in the embodiment of the present invention, a polarization camera is used to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer to obtain multiple polarization images. Optionally, the rotation angle of the polarizer can be set to 0°, 45°, 90° and 135°, and the polarization camera is used to rotate the polarizer to obtain the polarization image of the target to be reconstructed corresponding to the polarizer rotating 0°, the polarization image corresponding to the polarizer rotating 45°, the polarization image corresponding to the polarizer rotating 90°, and the polarization image corresponding to the polarizer rotating 135°.
[0063] Since the multiple polarization images are collected by only rotating the polarizer under the fixed position of the polarization camera, the number of pixels in the multiple polarization images is the same and the position of the same pixel is the same.
[0064] S2, based on Fresnel's law, processing the multiple polarization images to obtain the azimuth angle and zenith angle of the surface normal of each pixel point.
[0065] In 3D reconstruction, the surface normal of the target to be reconstructed is an important attribute for describing the 3D model. The normal is a vector perpendicular to the surface of the target to be reconstructed. Therefore, in order to reconstruct the target to be reconstructed, it is necessary to determine the normal of each pixel point on the surface of the target to be reconstructed, where the pixel point can also be called a micro-element surface. The determination of the normal of the pixel point needs to be achieved by determining the azimuth and zenith angle of the normal.
[0066] Specifically, for S2, it may include:
[0067] S21, obtaining polarization information according to the plurality of polarization images; the polarization information includes: a Stokes vector.
[0068] For S21, this may include:
[0069] Using the first formula, multiple polarization images are processed to obtain polarization information; the first formula is as follows:
[0070]
[0071] Where S represents the Stokes vector, I represents the total light intensity, Q represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 0° and the polarization image with the polarizer rotated 90°, U represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 45° and the polarization image with the polarizer rotated 135°, I0 represents the light intensity of all pixels in the polarization image with the polarizer rotated 0°, I 45 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 45°, I 90 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 90°, I 135 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 135°.
[0072] The initial azimuth of the normal of each pixel can be calculated based on the light intensity difference between the polarized image when the polarizer is rotated 0° and the polarized image when the polarizer is rotated 90°, and the light intensity difference between the polarized image when the polarizer is rotated 45° and the polarized image when the polarizer is rotated 135°.
[0073] S22, obtaining the azimuth of the surface normal of each pixel point according to the Stokes vector.
[0074] For S22, this may include:
[0075] The azimuth of the surface normal of each pixel is obtained according to the Stokes vector using the second formula; the second formula is as follows:
[0076]
[0077] in, Represents the azimuth of the surface normal of a single pixel, U(i,j) represents the light intensity difference corresponding to a single pixel in U, and Q(i,j) represents the light intensity difference corresponding to a single pixel in Q.
[0078] Since the shape of the polarizer is circular, when the polarizer is rotated, the light intensity of the polarized images obtained at two rotation angles of 180° is the same at each pixel. Therefore, in the calculation results, the azimuth of the normal line of the pixel exists. and Therefore, the obtained azimuth needs to be corrected.
[0079] S23, obtaining the polarization degree of each pixel point according to the Stokes vector.
[0080] For S23, this may include:
[0081] The third formula is used to obtain the polarization degree of each pixel according to the Stokes vector; the third formula is as follows:
[0082]
[0083] Among them, P(i,j) represents the polarization degree of a single pixel, and I(i,j) represents the corresponding result of a single pixel in I.
[0084] In the embodiment of the present invention, there is a certain correlation between the zenith angle and the polarization degree. When the refractive index is known, the zenith angle of the normal of each pixel can be calculated based on the polarization degree of each pixel obtained from the polarization information and the refractive index of each pixel. For a target to be reconstructed, the refractive index of each pixel can also be the same.
[0085] S24, obtaining the zenith angle of the surface normal of each pixel point according to the polarization degree of each pixel point.
[0086] For S24, this may include:
[0087] The fourth formula is used to obtain the zenith angle of the surface normal of each pixel according to the polarization degree of the pixel. The fourth formula is as follows:
[0088]
[0089] Where n represents the refractive index of a single pixel, and θ(i,j) represents the zenith angle of the surface normal of a single pixel.
[0090] After the azimuth and zenith angle of the surface normal of each pixel are confirmed, the surface normal of the pixel can be determined based on the two.
[0091] S3, using the target polarization normal gradient correction model to correct the azimuth of the surface normal of each pixel point to obtain the corrected azimuth corresponding to each pixel point; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed.
[0092] The surface of a common single three-dimensional target is mostly a continuous curved surface, and the surface normal directions of adjacent pixels on the continuous surface have a high degree of similarity. The azimuth of the surface normal is an important component of the surface normal. Based on the above derivation, the following conclusion can be drawn: the azimuths of the surface normals of adjacent pixels on the target surface also have a high degree of similarity. Therefore, the embodiment of the present invention proposes a target polarization normal gradient correction model based on the similarity of polarization characteristics of adjacent regions of the target surface to be reconstructed. The correction model selects the direction angle of the first pixel in the first column of pixels on the target surface as the accurate direction angle, and uses the direction angle to correct the direction angle of the next adjacent pixel; then uses the corrected direction angle to correct the direction angle of the next adjacent pixel, and so on, to achieve the correction of the direction angle of the first column of pixels. The corrected direction angle of the pixels in the first column of the target surface is selected, and the direction angles of the pixels in the remaining columns of the target surface except the first column are corrected in the same way, thereby achieving the correction of the direction angles of all pixels on the target surface.
[0093] For S3, the process of correcting the azimuth of the surface normal of each pixel point by using the target polarization normal gradient correction model to obtain the corrected azimuth corresponding to each pixel point may include:
[0094] S31, for each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column.
[0095] When correcting the azimuth of the surface normal of the pixel points in the first column of the position matrix, the first pixel point in the first column is assumed to be an accurate point and does not require correction processing. It is directly used to calibrate the second pixel point. After completing the correction of each pixel point except the first pixel point in the first column, the azimuth of the surface normal of the first pixel point in the first column and the corrected azimuth of the surface normal of each pixel point except the first pixel point in the first column are used as the corrected azimuth of the pixel points in the first column.
[0096] S32, for each pixel in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel in the previous column of the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth of the pixel, thereby obtaining the corrected azimuth of all pixels in the remaining columns except the first column; the correction formula is as follows:
[0097]
[0098] in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel corresponding to the surface normal of the pixel in the prior information.
[0099] In the embodiment of the present invention, if the difference between the azimuth of the surface normal of a certain pixel point and the azimuth of the adjacent pixel point corresponding to the pixel point is greater than 90°, it means that the direction of the azimuth of the surface normal of the pixel point needs to be corrected, so the azimuth of the surface normal of the pixel point needs to be increased by 180°;
[0100] If the difference between the azimuth of the surface normal of a pixel point and the azimuth of the adjacent pixel point corresponding to the pixel point is less than or equal to 90°, it means that the direction of the azimuth of the surface normal of the pixel point does not need to be corrected, so the azimuth of the surface normal of the pixel point can be directly used as the corrected azimuth of the surface normal of the pixel point.
[0101] The embodiment of the present invention establishes a target polarization normal gradient correction model based on the similarity of polarization characteristics of adjacent areas of the target surface, thereby disambiguating the polarization normal and effectively solving the problem that single polarization imaging cannot achieve target reconstruction without introducing gradient prior information.
[0102] The azimuth of the surface normal of each pixel point is corrected by using the target polarization normal gradient correction model to obtain the corrected azimuth corresponding to each pixel point; so that the surface normal corresponding to each pixel point can be determined subsequently according to the zenith angle corresponding to each pixel point and the corrected azimuth angle.
[0103] S4, determining the surface normal corresponding to each pixel point according to the zenith angle of the surface normal of each pixel point and the corrected azimuth angle.
[0104] It can be understood that for each pixel point, the zenith angle of the pixel point is the angle between the surface normal and the z-axis, and the azimuth angle is the angle between the projection of the normal on the xoy plane and the x-axis. Therefore, the surface normal of each pixel point can be determined by the zenith angle and azimuth angle corresponding to the pixel point.
[0105] By correcting the azimuth of the surface normal of each pixel, each pixel can be confirmed with a unique direction angle, so that each pixel will only correspond to a unique surface normal, effectively solving the problem of binary normals in the prior art, thereby effectively improving the accuracy of three-dimensional reconstruction.
[0106] S5, obtaining a three-dimensional surface image of the target to be reconstructed according to the surface normals corresponding to all the pixel points.
[0107] For S5, this may include:
[0108] S51, determining a normal gradient field of the object to be reconstructed according to the surface normals of all pixel points.
[0109] The fifth formula is used to obtain the normal gradient field of the target to be reconstructed based on the surface normals of all pixels. The fifth formula is as follows:
[0110]
[0111] in, represents the surface normal matrix of all pixels, θ represents the zenith angle matrix of the surface normal of all pixels, Represents the corrected azimuth matrix of the plane normals of all pixels, n x Represents the component matrix of the surface normal of all pixels in the x-axis direction, n y Represents the component matrix of the surface normal of all pixels in the y-axis direction, n z Represents the component matrix of the surface normal of all pixels in the z-axis direction.
[0112] S52, obtaining a three-dimensional surface image of the object to be reconstructed according to the normal gradient field of the object to be reconstructed.
[0113] The normal gradient field is integrated using the sixth formula to obtain a three-dimensional surface image of the target to be reconstructed; the sixth formula is as follows:
[0114]
[0115] Where Z represents the surface depth information of the target to be reconstructed, F represents the discrete Fourier transform operation, and F -1 represents the inverse Fourier transform operation, j represents the imaginary unit, p represents the component matrix of the surface normals of all pixels in the normal gradient field in the x-axis direction, q represents the component matrix of the surface normals of all pixels in the normal gradient field in the y-axis direction, u and v are frequency domain vectors, u represents the angular frequency in the x-axis direction, and v represents the angular frequency in the y-axis direction.
[0116] In an embodiment of the present invention, the height field of the target to be reconstructed can be restored according to the normal of each pixel point in the normal gradient field, that is, the surface depth information of the object to be reconstructed can be restored, and the surface shape of the target to be reconstructed can be obtained according to the surface depth information, thereby realizing the reconstruction of the three-dimensional surface image of the target to be reconstructed.
[0117] In an embodiment of the present invention, a target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface, thereby achieving disambiguation of the polarization normal and effectively solving the problem that single polarization imaging cannot achieve target reconstruction and polarization normal binaryness. Compared with traditional polarization three-dimensional imaging technology, the present invention does not need to introduce gradient prior information, greatly reducing the complexity of the imaging device and the imaging cost. It avoids the problem of distortion during reconstruction due to errors in target prior gradient information, thereby improving the accuracy of polarization three-dimensional reconstruction.
[0118] In the second aspect, based on the same inventive concept, corresponding to the above method embodiment, the embodiment of the present invention further provides a passive three-dimensional reconstruction device based on the similarity of polarization information, such as Figure 3 As shown, this may include:
[0119] A polarization image acquisition module is used to use a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer to obtain multiple polarization images; wherein the number of pixels in the multiple polarization images is the same and the position of the same pixel is the same;
[0120] An azimuth and zenith angle determination module is used to process multiple polarization images based on Fresnel's law to obtain the azimuth and zenith angle of the surface normal of each pixel point;
[0121] An azimuth correction module is used to correct the azimuth of the surface normal of each pixel point using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel point; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed;
[0122] A normal determination module, used to determine the surface normal corresponding to each pixel point according to the zenith angle and the corrected azimuth angle of the surface normal of the pixel point;
[0123] The image reconstruction module is used to obtain a three-dimensional surface image of the target to be reconstructed according to the surface normals corresponding to all pixel points.
[0124] In an embodiment of the present invention, the working process of the polarization image acquisition module corresponds to S1 in the first aspect, the working process of the azimuth and zenith angle determination module corresponds to S2 in the first aspect, the working process of the azimuth correction module corresponds to S3 in the first aspect, the working process of the normal determination module corresponds to S4 in the first aspect, and the working process of the image reconstruction module corresponds to S5 in the first aspect. For the specific processing process of each module, please refer to the passive three-dimensional reconstruction method provided in the first aspect, and no further details will be given here.
[0125] Specifically, the azimuth correction module is used for:
[0126] For each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column;
[0127] For each pixel in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel in the previous column of the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth of the pixel, thereby obtaining the corrected azimuth of all pixels in the remaining columns except the first column; the correction formula is as follows:
[0128]
[0129] in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel corresponding to the surface normal of the pixel in the prior information.
[0130] The azimuth correction module proposed in the embodiment of the present invention establishes a target polarization normal gradient correction model based on the similarity of polarization characteristics of adjacent areas of the target surface, thereby achieving disambiguation of the polarization normal and effectively solving the problem that single polarization imaging cannot achieve target reconstruction and the binary nature of the polarization normal. Compared with traditional polarization three-dimensional imaging technology, the present invention does not need to introduce gradient prior information, greatly reducing the complexity of the imaging device and the imaging cost. It avoids the problem of distortion during reconstruction due to errors in the target prior gradient information, thereby improving the accuracy of polarization three-dimensional reconstruction.
[0131] It should be noted that the passive 3D reconstruction device of the embodiment of the present invention is a device that applies the above passive 3D reconstruction method, and all embodiments of the above passive 3D reconstruction method are applicable to the device and can achieve the same or similar beneficial effects.
[0132] It should be noted that, in the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0133] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A passive three-dimensional reconstruction method based on polarization information similarity, characterized in that: include: Using a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer, a plurality of polarization images are obtained; wherein the plurality of polarization images have the same number of pixels and the same pixel has the same position; Based on Fresnel's law, the multiple polarization images are processed to obtain the azimuth angle and zenith angle of the surface normal of each pixel point; The azimuth of the surface normal of each pixel is corrected by using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed; Determine the surface normal corresponding to each pixel point according to the zenith angle of the surface normal of each pixel point and the corrected azimuth angle; According to the surface normals corresponding to all the pixel points, a three-dimensional surface image of the object to be reconstructed is obtained.
2. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 1, characterized in that: The method uses a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer to obtain multiple polarization images, including: A polarization camera is used to obtain a polarization image of the target to be reconstructed when the polarizer is rotated by 0°, a polarization image when the polarizer is rotated by 45°, a polarization image when the polarizer is rotated by 90°, and a polarization image when the polarizer is rotated by 135° by rotating the polarizer.
3. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 1, characterized in that: The processing of the plurality of polarized images based on the Fresnel law to obtain the azimuth angle and zenith angle of the surface normal of each pixel point includes: Obtain polarization information according to the plurality of polarization images; the polarization information includes: a Stokes vector; Obtaining the azimuth of the surface normal of each pixel point according to the Stokes vector; Obtaining the polarization degree of each pixel point according to the Stokes vector; According to the polarization degree of each pixel, the zenith angle of the surface normal of each pixel is obtained.
4. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 3, characterized in that: Obtaining polarization information according to the plurality of polarization images includes: The plurality of polarization images are processed using a first formula to obtain the polarization information; the first formula is as follows: Where S represents the Stokes vector, I represents the total light intensity, Q represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 0° and the polarization image with the polarizer rotated 90°, U represents the light intensity difference matrix of all pixels in the polarization image with the polarizer rotated 45° and the polarization image with the polarizer rotated 135°, I0 represents the light intensity of all pixels in the polarization image with the polarizer rotated 0°, I 45 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 45°, I 90 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 90°, I 135 Represents the light intensity of all pixels in the polarized image when the polarizer is rotated 135°.
5. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 4, characterized in that: Obtaining the azimuth of the surface normal of each pixel point in the target to be reconstructed according to the Stokes vector includes: The azimuth of the surface normal of each pixel is obtained according to the Stokes vector using the second formula; the second formula is as follows: in, Represents the azimuth of the surface normal of a single pixel, U(i,j) represents the light intensity difference corresponding to a single pixel in U, and Q(i,j) represents the light intensity difference corresponding to a single pixel in Q.
6. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 4, characterized in that: The polarization degree of each pixel is obtained according to the Stokes vector, including: The polarization degree of each pixel is obtained according to the Stokes vector using the third formula; the third formula is as follows: Among them, P(i,j) represents the polarization degree of a single pixel, and I(i,j) represents the corresponding result of a single pixel in I.
7. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 6, characterized in that: The step of obtaining the zenith angle of the surface normal of each pixel point according to the degree of polarization of each pixel point includes: The fourth formula is used to obtain the zenith angle of the surface normal of each pixel point according to the polarization degree of each pixel point; the fourth formula is as follows: Where n represents the refractive index of a single pixel, and θ(i,j) represents the zenith angle of the surface normal of a single pixel.
8. The passive three-dimensional reconstruction method based on polarization information similarity according to claim 1, characterized in that: The method of correcting the azimuth of the surface normal of each pixel point by using the target polarization normal gradient correction model to obtain the corrected azimuth corresponding to each pixel point includes: For each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column; For each pixel point in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel point in the previous column of the pixel point is used as prior information, and the azimuth of the surface normal of the pixel point is corrected based on the correction formula to obtain the corrected azimuth of the pixel point, thereby obtaining the corrected azimuth of all the pixel points in the remaining columns except the first column; the correction formula is as follows: in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel point corresponding to the surface normal of the pixel point in the prior information.
9. A passive three-dimensional reconstruction device based on polarization information similarity, characterized in that: The device comprises: A polarization image acquisition module is used to use a polarization camera to collect polarization images of the target to be reconstructed at different rotation angles of the polarizer to obtain multiple polarization images; wherein, in the multiple polarization images, the number of pixels is consistent and the position of the same pixel is the same; An azimuth and zenith angle determination module, used to process the multiple polarization images based on Fresnel's law to obtain the azimuth and zenith angle of the surface normal of each pixel point; An azimuth correction module is used to correct the azimuth of the surface normal of each pixel point using a target polarization normal gradient correction model to obtain a corrected azimuth corresponding to each pixel point; the target polarization normal gradient correction model is established based on the similarity of polarization characteristics of adjacent areas of the target surface to be reconstructed; A normal determination module, used to determine the surface normal corresponding to each pixel point according to the zenith angle and the corrected azimuth angle of the surface normal of the pixel point; The image reconstruction module is used to obtain a three-dimensional surface image of the target to be reconstructed according to the surface normals corresponding to all pixel points.
10. The passive three-dimensional reconstruction device based on polarization information similarity according to claim 9, characterized in that: The azimuth correction module is specifically used for: For each pixel except the first pixel in the first column of the position matrix composed of all pixels, the azimuth of the surface normal of the adjacent pixel above the pixel is used as prior information, and the azimuth of the surface normal of the pixel is corrected based on the correction formula to obtain the corrected azimuth, thereby obtaining the corrected azimuth of the pixel in the first column; For each pixel point in the remaining current columns of the position matrix, the azimuth of the surface normal of the adjacent pixel point in the previous column of the pixel point is used as prior information, and the azimuth of the surface normal of the pixel point is corrected based on the correction formula to obtain the corrected azimuth of the pixel point, thereby obtaining the corrected azimuth of all the pixel points in the remaining columns except the first column; the correction formula is as follows: in, Indicates the azimuth of the pixel after correction. Indicates the azimuth of the pixel before correction. Indicates the azimuth of the pixel point corresponding to the surface normal of the pixel point in the prior information.
Citation Information
Cited By
Binocular stereoscopic vision three-dimensional reconstruction method and system based on polarization state
CN120219639A
Stereo matching method based on polarization vector similarity
CN122597838A
Stereo matching method based on polarization vector similarity
CN122597838B
