Abstract
Three-dimensional (3D) reconstruction of objects using the polarization properties of diffuse light on the object surface has become a crucial technique. Due to the unique mapping relation between the degree of polarization of diffuse light and the zenith angle of the surface normal vector, polarization 3D reconstruction based on diffuse reflection theoretically has high accuracy. However, in practice, the accuracy of polarization 3D reconstruction is limited by the performance parameters of the polarization detector. Improper selection of performance parameters can result in large errors in the normal vector. In this paper, the mathematical models that relate the polarization 3D reconstruction errors to the detector performance parameters including polarizer extinction ratio, polarizer installation error, full well capacity and analog-to-digital (A2D) bit depth are established. At the same time, polarization detector parameters suitable for polarization 3D reconstruction are provided by the simulation. The performance parameters we recommend include an extinction ratio ≥ 200, an installation error [−1°, 1°], a full-well capacity ≥ 100 , and an A2D bit depth ≥ 12 bits. The models provided in this paper are of great significance for improving the accuracy of polarization 3D reconstruction.
1. Introduction
With the rapid development of photoelectric imaging technology, two-dimensional (2D) images represented by light intensity information cannot satisfy the user’s desire to explore the real world []. Therefore, many three-dimensional (3D) imaging technologies have been created. Generally speaking, 3D imaging technology can be divided into active and passive 3D imaging. Active 3D imaging technology uses an active light source to collect light-field images for 3D reconstruction while passive 3D-imaging uses natural light to collect light-field images. Typical active 3D-reconstruction methods include laser radar 3D reconstruction [,,] and structured-light 3D reconstruction [,] and so on. However, the reconstruction accuracy of these two methods is inversely proportional to the distance and their application cost is high []. Typical passive 3D-imaging includes stereo vision [] and shape from shading [,], but these two methods have low reconstruction accuracy and extremely depend on the texture details of the object.
With the understanding of light polarization, researchers have found that the normal vector of an object can be calculated using the polarization property of light. Polarization imaging has strong light weakening and weak light strengthening characteristics, so accurate polarization information can be obtained even if the external light source information is not ideal. Meanwhile, 3D reconstruction based on polarization does not depend on the texture characteristics of the object and can achieve good results for an object with low texture and high reflection.
In the initial stage, polarization 3D imaging technology mainly used the polarization characteristics of specular reflection. In 1979, Koshikawa [] established the mapping relationship between the degree of polarization of reflected light and the surface vector of an object. Then, Wolff [,] used Fresnel’s theory to establish a mathematical model involving the reflected light of the object surface and its normal vector. Since this model was established, many research teams have conducted 3D reconstruction using metal, glass, and additional material-type objects with a specular reflection [,,]. However, the mapping relation between the polarization degree and zenith angle based on the specular reflection model faces multiple value ambiguity. Moreover, experiments require setting up a complex light source.
In 1995, Partridge [] solved the ambiguity problem of the zenith angle by using diffuse light transmitted from the interior of an object. In 2006, Atkinson [,] used the polarization characteristics of diffused light to realize 3D reconstruction. The mapping relation between the polarization degree of diffuse reflection and the zenith angle was derived. However, the method still shows ambiguity when calculating the azimuth angle. Studies show [] that it is impossible to calculate the 3D shape by only relying on polarization information, and the disambiguation process needs to be completed by other means, including the photometric stereo method [,], and shadow reconstruction method [,] etc. Photometric stereo is a method restoring the surface of an object using images with different photometric information under different light sources and is commonly used as a 3D reconstruction method. Shape from shading is a method based on weak structured light. This method captures the moving shadow by moving the object in front of the light source, and then observes the spatial position of the shadow, to reconstruct the 3D structure of the object. A series of subsequent studies based on these methods have been published and have been the focus of polarization 3D imaging for the last decade. Typical work, such as that by Atkinson [], proposed combining photometric stereoscopic vision with diffuse polarization information for surface shape reconstruction. Mahmoud [] used shading information to assist diffuse light polarization information for 3D reconstruction. Smith [] proposed a surface depth estimation method based on sparse linear formulas to calculate the azimuth angle ambiguity problem. Kadambi [] used the Kinect depth camera to correct the azimuth angle. In the last three years, some scholars have used polarized images as input to calculate the normal vector using the powerful feature extraction capabilities of deep learning technology. Representative works of this type can be found in Refs. [,,]. However, due to the difficulty in creating the datasets required for such work, current public datasets are small in size and not ideal for practical use.
At present, the main idea of the polarization 3D reconstruction method is still to use the polarization information of diffuse light. In theory, polarization 3D imaging can achieve high precision, but in practice, due to the limitation of the performance of polarization detectors, the actual results are often not ideal. According to the Ref []., the optimal results that various algorithms can achieve at present are shown in Table 1. Even if we use deep learning methods, the normal vector error is still very high.
Table 1.
The normal vector error of different algorithms for polarization 3D imaging, expressed in the form of Mean Absolute Error (MAE) [].
Strictly speaking, polarization 3D imaging based on diffuse reflection requires very high precision of the polarization detector. We will explain it in Section 2.2. Not all polarization detectors can complete the task of polarization 3D imaging. Many scholars have found that the performance parameters of the detector would affect the quality of polarization 3D imaging [,,], but when doing experiments, they only select the corresponding parameters based on experience. Through the above-mentioned references and the authors’ experiments, it was found that the polarizer extinction ratio, the polarizer Installation error, the full-well capacity, and the A2D bit depth considerably impact the 3D reconstruction accuracy. This also explains why the experimental results of reference [,,,,] are so different from the true value.
Based on the above considerations, this paper decides to quantitatively analyze the relationship between polarization detector performance parameters and polarization 3D imaging performance. Although many researchers have studied the accuracy of the Stokes vector or degree of polarization [,,,,,,], only studying the accuracy of Stokes vectors or degree of polarization is of limited help to polarization 3D imaging. We must explore the quantitative relationship between the performance parameters of polarization detectors and the accuracy of polarization 3D imaging. However, to the best of the authors’ knowledge, there is currently no published work providing a quantitative relationship that describes the impact of polarization detector performance parameters on 3D-polarization imaging accuracy. Obviously, such a quantitative relationship is very important in the field of polarization 3D imaging.
Based on the above considerations, in this paper, we focus on establishing mathematical models of the relationship between polarization 3D imaging accuracy and performance parameters of the polarization detector including extinction ratio, polarizer installation error, full-well capacity, and A2D bit depth. In addition, we simulate and analyze the surface normal vector error under various parameters and introduce the following polarization detector parameters suitable for polarization 3D reconstruction: an extinction ratio ≥ 200, an installation error ≤ 1°, a full-well capacity ≥ 100 , and an A2D bit depth ≥ 12 bits. Meanwhile, we prove that the actual (experimental) error is consistent with the theoretical error given in this paper. The error models proposed in this paper provide important theoretical support for the improvement of the accuracy of polarization 3D imaging, especially for single imaging represented by airborne polarization remote sensing 3D imaging. At the same time, in the era of artificial intelligence, the models of this paper also provide theoretical guidance for the production of the next generation polarization 3D imaging dataset.
Our contributions are summarized as follows. This is the first attempt to systematically analyze the error sources of polarization 3D imaging and to establish a mathematical model of the relationship between polarization 3D imaging accuracy and polarization detector parameters (Section 3). The error of polarization 3D imaging under various parameters is simulated and analyzed (Section 4). The accuracy of the error model is evaluated by experiments (Section 5).
2. Preliminary Knowledge
In this section, we first introduce the basic theory of polarization and polarization 3D imaging based on diffuse light and some other basic knowledge related to this paper.
2.1. Representation of Polarization
The Stokes vector is used to describe the polarization of light, which is defined as follows []:
where I0, I45, I90, and I135 are the radiances measured through polarizers oriented at 0, 45, 90, and 135°, respectively.
The degree of linear polarization () and the angle of linear polarization () are defined as:
For the convenience of subsequent derivation, we have adopted a unified symbol system: = , and = .
2.2. Object Surface Normal Vector
The basic consensus of 3D reconstruction is that the 3D morphology of an object surface can be recovered by the normal vector of the object surface []. Meanwhile, the normal vector can be described by two angles in the spatial coordinate system: the zenith angle () and the azimuth angle (). Figure 1 shows a schematic indicating the normal vector. The coordinate system is the imaging plane coordinate system, wherein a normal vector is expressed as:
Figure 1.
Object surface normal vector. (a) surface normal vector diagram (b) normal vector in the coordinate system.
2.3. Basic Principles of Diffuse Polarization 3D Imaging
According to the study of diffuse polarization 3D imaging by [,,,,], under the condition of non-polarized light source, the mapping between the DoLP of diffuse light and the zenith angle is:
where is the index of refraction, and is the zenith angle. The Inverse function is []:
Equation (6) is used to calculate the zenith angle through . For non-conductive material, is generally between 1.4–1.6, and = 1.5 is generally used in practical applications.
The mapping between the of diffuse light and the azimuth angle is given below []:
where ψ is the azimuth angle. Equations (5) and (7) are the basic equations for calculating the normal vector using diffuse polarization.
The function graph of Equation (5) is shown in Figure 2. It can be seen from Figure 2 that the smaller the , the easier the zenith angle will be disturbed by the error. Table 2 clearly shows this conclusion. We assume that the error of is equal to 0.005. When the equals to 0.1, the zenith angle error is 1.0445°, and when the equals to 0.01, the zenith angle error will be 6.6150°. Usually, such interference is unavoidable due to the influence of polarization detector performance parameters such as the polarizer extinction ratio (ER), polarizer installation error, full well size capacity, and A2D bit depth.
Figure 2.
Mapping between the and zenith angle.
Table 2.
Zenith angle solved with typical values.
2.4. Fundamental of Error Propagation
The principle of error propagation is a commonly used mathematical tool in engineering measurement, and its mathematical expression is []:
where is the dependent variable, is the independent variable, is the dependency coefficient, is the standard deviation of , and is the standard deviation of xi. When the measured variables are independent random variables, is equal to 0. Error propagation equation is strictly accurate for normal distributed random variables. However, with the increase in the number of random events in unit time, the Poisson distribution will gradually approximate to the normal distribution in which the mean and variance are equal to λ.
3. Influence of Polarization Detector Performance Parameters on Polarization 3D Reconstruction
According to Section 2, even a small error at a small will cause a large error in the normal vector. In an actual polarization detection process, these errors are unavoidable, and the error magnitude is closely related to the polarization detector performance parameters. In order to explore the influence of these performance parameters on polarization 3D imaging accuracy, the mathematical models between the performance parameters and error in zenith and azimuth angles are established in this section.
3.1. Influence of Polarizer Extinction Ratio on Polarization 3D Reconstruction Accuracy
According to [], the extinction ratio is an important factor affecting polarization imaging quality. Although [] discussed the influence of extinction ratio on polarization imaging accuracy, there is no quantitative model that describes the relationship between the extinction ratio and polarization 3D imaging accuracy. This section will quantitatively describe the relationship between the extinction ratio and polarization 3D imaging accuracy.
According to Malus’ law [], the light intensity accepted by an ideal polarization pixel is defined as:
where is the angle between the polarizer pass axis and the horizontal reference axis of the system ( equals to 0, 45, 90, and 135°) and , φ, and are the intensity, , and of the incident light, respectively.
Due to current technological limitations, there is no perfect polarizer. In theory, there are two parameters used to describe the linear polarization ability of a polarizer: the extinction ratio (ER) and diattenuation (D). These parameters can be described by the following mathematical formula:
where q is the major transmittance and r is the minor transmittance. In the ideal case, q = 1 and r = 0. When the ideal condition is not satisfied, the expression of the light intensity detected by the detector becomes:
For α = 0, 45, 90, and 135° in rotating polaroid measurement system, the light intensity detected by the polarization detector is:
respectively. In Equation (13), we assume that the values of q and r are equal in the four directions, which is correct in the rotating polaroid imaging system, but obviously not completely correct in the Division of Focal Plane () detectors. However, in a large pixel group, the differences of the q and r in four pixels are relatively small. Take the Sony IMX 250 mzr [] polarization detector as an example, in a large pixel group, the difference of q value in four directions is less than 0.0010 and the difference of r in four directions is less than 0.0015. Based on the above examples, Equation (13) also has certain applicability in .
Substituting Equation (13) into Equation (1), we get the Stokes vector of the incident light:
Substitute Equation (14) into Equations (2) and (3), we could get the detected and :
where is the detected by the polarization detector. In the same way, is the detected by the polarization detector.
According to Equations (15) and (16), the extinction ratio of the polarizer only affects the and has no influence on the . Therefore, it can be concluded that the extinction ratio of polarization detectors affects the accuracy of the zenith angle but has no influence on the azimuth angle.
For a linear polarizer with an extinction ratio of ER, the zenith angle error is:
where is the zenith error caused by ER and is Equation (6). What we need to pay attention to is that ER is not a random value, and the error of caused by ER can be corrected by Equation (15). However, we need to take into account the following points: (a) For the polarization camera, we need to measure ER with the help of an integrating sphere, which is troublesome in engineering; (b) For detectors, each large pixel group has an ER, so we need to correct ER point by point during programming, which increases the computational complexity. (c). The actual corrected results are often not particularly ideal. After considering these factors, we decided to choose an appropriate extinction ratio to replace the method of point-by-point correction. Of course, which method to choose is determined by the users. The importance of this section is only to guide the users to choose the appropriate extinction ratio after abandoning the idea of correction through Equation (15).
3.2. Influence of Polarizer Installation Error on Polarization 3D Reconstruction Accuracy
The installation errors of polarizers are unavoidable, and we can refer to Figure 3 and Figure 4 to understand such errors. We define the installation error of a polarizer as:
where is the ideal installation angle and α is the actual installation angle.
Figure 3.
Polarizer direction error of the detector.
Figure 4.
Polarizer installation error for rotating polarizer imaging system; (a) diagram illustrating the installation error; (b) photograph of actual installation error.
In order to analyze the effect of installation error alone, we ignore the effect of ER. We assume . This assumption is reasonable, because from the simulation result in Section 4.1, we will find that when the ER is greater than 300, the influence of ER on the zenith angle is very weak. Taking the common commercial polarization detector Sony IMX250mzr as an example, in the visible light band, the extinction ratio of its central wavelength is greater than 300.
Then, the light intensity obtained by the polarization detector becomes:
The Stokes vector becomes:
By substituting Equation (20) into Equation (2), we can get the detected :
The zenith angle error is calculated as:
Substituting Equation (20) into Equation (3), we find that the detected is:
Therefore, the azimuth error is:
For the rotating polarizer imaging system, the polarizer is rotated at a specific angle by a turntable. The repeatability of the turntable is very high. Thus, the installation error is mainly the assembly error between the polarizer and the turntable. We can refer to Figure 4 to understand the installation error. This installation error is a fixed value, which is assumed to be:
Substituting Equation (25) into Equations (21) and (23), we have:
Therefore, the azimuth error is:
That is to say, for rotating polarizer imaging, the installation error only affects the azimuth angle but not the zenith angle. The azimuth error is equal to the installation error of the polarizer.
3.3. Influence of the Different Noise on Polarization 3D Reconstruction Accuracy
In Section 3.1 and Section 3.2, we have deduced the influence of ER and installation error on polarization 3D imaging. Through the simulation of Section 4.1 and Section 4.2, we will find that as long as these two quantities are controlled within a certain range, the accuracy of the normal vector is hardly affected by them. On this basis, this section will continue to analyze the influence of noise on the accuracy of polarization 3D imaging.
According to reference [,], the most important contribution to temporal noise of the CCD polarization imaging sensors are photon shot noise, readout electronic noise, thermal, and dark current noise etc. Although dark current contributes to sensor noise, for the CCD polarization sensors we currently have, it contributes less than 1 e- noise at operating temperature (40 °C). Therefore, for simplicity, the dark current will be ignored in this analysis. For the same reason, thermal noise could also be effectively controlled when the cooling system is used. Under this condition, thermal noise is a relatively small value compared to other noises. For simplicity, dark current and thermal noise will be ignored in this analysis. This section only focuses on the analysis of the impact of shot noise and readout noise on polarization 3D imaging. These two noises are closely related to the charge capacity and the number of A2D bit depth. We will quantitatively analyze the influence of these two parameters on polarization 3D reconstruction in Section 3.3.1 and Section 3.3.2, respectively.
3.3.1. Influence of the Full-Well Capacity on Polarization 3D Reconstruction Accuracy
Polarization imaging has the characteristics of strong light weakening, so it is very easy to be disturbed by shot noise. For a single pixel in the CCD array, the number of photons collected during an integrating period is described by the Poisson distribution. We describe shot noise with the standard deviation of this Poisson distribution:
where is the mean number of photons. The shot noise is independent and randomly affected by the number of photons per unit time.
Then, the noise of the polarization detector can be described by the following Equation:
where is the mean signal electrons of the polarized pixel whose rotation angle is i and G is the number of signal electrons equivalent to Gaussian noise. For typical polarization detection modes of 0, 45, 90, and 135°, the equivalent noise of each polarization direction can be expressed as:
According to the reference [,,], we can use the error propagation principle to explore the influence of these noises on the zenith angle and azimuth angle. What we need to pay attention to is that error propagation formula is extremely dependent on the measurement scheme.
Commonly used polarization measurement schemes include (a) 0°, 45°, 90°; (b) 0°, 60°, 120°; and (c) 0, 45, 90, 135, etc. Scheme (a) and scheme (b) are the simplest schemes to solve the Stokes vector. However, scheme (c) has better structural symmetry, which is crucial for subsequent formula derivation. In addition, the signal-to-noise ratio (SNR) of the Stokes vector of scheme (c) is obviously better than scheme (a), and in certain cases, it will also be better than (b) too. Most importantly, we consider that the commercial polarization detectors such as Sony IMX250mzr and PolarCam both have adopted scheme (c), so we take scheme (c) as an example for analysis in this section.
The standard deviation of each Stokes vector component in scheme (c) is obtained as follows []:
In order to obtain the standard deviation of the , we need to further transfer the Stokes vector standard deviation obtained above. According to the properties of Stokes vectors, S0, S1, and S2 are independent of each other such that the standard deviation of the can be expressed by the following equation:
where is the mean value of variable. In order to satisfy the linear mapping and improve the signal-to-noise ratio as much as possible, the optimal choice of is . Under this condition, Equation (33) can be rewritten as:
where is the full well capacity of the detector and is the Gaussian noise equivalent number of electrons. In order to simplify the derivation process, the Gaussian noise is considered equivalent to readout noise:.
Then, Equation (34) becomes:
If is small, N is big and >> . Equation (35) becomes:
If the deviation is transmitted further, the standard deviation of the zenith angle can be obtained as:
where is the standard deviation of the zenith angle caused by different full well capacity. Combining Equations (37) and (6), we can obtain . For simplicity, we define the following variables:
Then, is:
We use the Monte Carlo [] simulation to verify the above process. We set 5,000,000 random points that obey the Poisson distribution, which is consistent with the distribution of the photons. The results of the whole experiment are shown in Table 3.
Table 3.
Monte Carlo experiment results.
In the same way, the standard deviation of the azimuth angle can be deduced as:
where is the standard deviation of the azimuth angle caused by different full well capacity. The above error analysis can be used with the same method to conduct Monte Carlo experiments, so we will not go into details here.
3.3.2. Influence of the A2D Bit Depth on Polarization 3D Reconstruction Accuracy
When the full-well size capacity is very large and A2D bit depth is small, the condition that is not satisfied. In this case, the readout noise is relatively large, and Equation (39) becomes:
where is the standard deviation of the zenith angle caused by different A2D bit depths. In the same way, we can obtain the effect of A2D bit depths on the azimuth angle:
where is the standard deviation of the azimuth angle caused by differntA2D bit different depths.
4. Simulation and Analysis
From Section 3, we have established mathematical models for calculating zenith and azimuth angle errors. In this section, we will obtain the polarization 3D imaging error under various polarization detector performance parameters through simulation.
4.1. Simulation and Analysis of the Influence of ER on Polarization 3D Reconstruction
In Section 3.1, we derived the influence of the polarizer ER on polarization 3D imaging. We know that the ER influences the zenith angle but not the azimuth angle.
Referring to Equation (17), we set ER = 20, 40, 60, 80, 100, 200, and 400, and calculated the zenith angle error for each value.
The results are shown in Figure 5: (a) The zenith angle error gradually decreases with the increase in ER; (b) For the same ER, the zenith angle error increases with increasing . This means that the larger the zenith angle, the larger the zenith angle error caused by the ER.
Figure 5.
Influence of the extinction ratio (ER) on the zenith angle under the condition of different of the light reflected from the target surface.
Therefore, to improve polarization 3D imaging accuracy, it is necessary to improve the ER. However, we need to consider two things: (a) When ER = 200, the zenith angle error is already less than 0.25°, which is already a fairly good value in polarization 3D imaging experiments; (b) When ER > 200, the zenith angle accuracy improves very slowly. Considering the cost of the polarizer, it is uneconomical to continue to increase the extinction ratio.
Therefore, ER = 200 is our recommended value. However, users can also use the method provided in this paper to select a suitable ER according to their own requirements for 3D imaging accuracy.
In order to show the zenith angle error of polarization 3D imaging more clearly, we have used the software to simulate the zenith angle error when ER is equal to 200. The result is shown in Figure 6. From the simulation results in Figure 6, the distribution of errors is consistent with our previous analysis. Only near the outer edge of the sphere, the error of the zenith angle is relatively large. Because the closer to the outside, the larger the zenith angle; that is, the larger .
Figure 6.
Schematic diagram of the zenith angle errors of a sphere under the condition of ER = 200. (a) schematic diagram of a sphere with a radius of 1. (b) zenith angle distribution of a sphere (c) azimuth angle distribution of a sphere. (d) zenith angle error distribution map of the sphere under the condition of ER = 200. Where x, y, z are the spatial coordinate axes, and the radius of the sphere is 1.
4.2. Simulation and Analysis of the Influence of Installation Error on Polarization 3D Reconstruction
In Section 3.2, we derived the influence of installation error on polarization 3D imaging accuracy. It can be seen from Equations (22) and (24) that the optimal choice is to maintain the same installation error in all four directions. However, this condition is generally only satisfied in a rotating polarizer imaging system.
For a rotating polarizer imaging system, the installation errors only affect the azimuth angle, which is a simple case that is not further analyzed here.
For the detector, installation error may not be consistent in all four directions and the situation is more complicated. From Equation (22), it can be seen that the installation error is a factor that affects the accuracy of the zenith angle and the azimuth angle. For the convenience of analysis, we assume that the manufacturing tolerances are consistent in the four directions. Then, we use the Monte Carlo method to simulate and calculate the error of the zenith angle in different ranges. In our experiment, we set 4 ranges [−1°, 1°], [−2°, 2°], [−3°, 3°], and [−4°, 4°]. In each range, we set 1,000,000 sets of random arrays [Δα0, Δα45, Δα90, Δα135]. The result is shown in Figure 7. Through the simulation results, we found the following phenomena: (a) The zenith angle error decreases with the decrease in the installation error and (b) Under the same installation errors range, the zenith angle errors change more rapidly with the polarization phase angle of the incident light and has obvious periodicity.
Figure 7.
Zenith angle errors under the conditions of [Δα0, Δα45, Δα90, Δα135] ∈ (a). [−1°,1°], (b). [−2°,2°], (c). [−3°,3°], and (d). [−4°,4°].
The same method can be used to simulate the azimuth errors caused by the installation error. The result is shown in Figure 8. We can get similar conclusions as above: (a) the error of the azimuth angle decreases with the decrease in the installation error and (b) Under the same installation errors range, the errors of the azimuth angle change with the change of the polarization phase angle of the incident light and has obvious periodicity.
Figure 8.
Azimuth angle errors under the conditions of [Δα0, Δα45, Δα90, Δα135] ∈ (a) [−1°,1°], (b) [−2°,2°], (c) [−3°,3°], and (d) [−4°,4°].
Combining Figure 7 and Figure 8, we found that if the installation error is controlled within 1°, the zenith angle and azimuth angle errors can be well controlled. Similarly, we use a sphere to analyze the error distribution map of the zenith angle and the azimuth angle within 1° of the installation error. The results are shown in Figure 9. It can be seen from the error distribution maps that both the zenith angle error and the azimuth angle error have obvious periodicity with respect to the polarization phase angle of the incident light.
Figure 9.
Polarization 3D imaging accuracy of the sphere with the install error ∈ [−1°,1°] (a) zenith angle errors distribution map. (b) azimuth angle errors distribution map. Where x, y, z are the spatial coordinate axes, and the radius of the sphere is 1.
4.3. Simulation and Analysis of the Influence of Full-Well Size Capacity on Polarization 3D Reconstruction
In Section 3.3.1, we derived the influence of full well capacity on polarization 3D imaging accuracy. In this section, we will calculate these errors by setting different full well size capacity parameters. In the simulation experiment, we analyze the following common full well size capacity values: 10 Ke−, 100 Ke−, and 1 Me-.
We first simulate the influence of different full-well capacities on the zenith angle. The zenith angle standard deviation under different full-well capacities is shown in Figure 10. Then, we simulate the influence of the full well capacity on the azimuth angle. The azimuth angle standard deviation is shown in Figure 11.
Figure 10.
Zenith angle standard deviation for different full-well capacities.
Figure 11.
Azimuth angle standard deviation with different full-well capacities.
It can be seen from Figure 10 that (a) the larger the full well capacity, the smaller the standard deviation of the zenith angle; (b) there is a threshold, and when the full well capacity is greater than this threshold, the accuracy of the zenith angle will increase slowly; and (c) under the same full well condition, the smaller the of the incident light (or the smaller the zenith angle), the larger the standard deviation of the zenith angle. Similar conclusions also exist in Figure 11. Based on the above analysis, considering the cost and imaging accuracy of a large capacity camera, we recommend 100 for polarization imaging.
We still take the sphere as an example to simulate the standard deviation of the zenith angle and the azimuth angle under the condition of the full well capacity equals to 100 The results are shown in Figure 12. We found that the central part of the sphere, where the zenith angle is small, tends to have large standard deviations in both zenith and azimuth angles.
Figure 12.
Polarization 3D imaging accuracy of the sphere with full well capacity equal to 100 Ke−. (a) standard deviation of zenith angle. (b) standard deviation of azimuth angle. Where x and y are the spatial coordinate axes, and the radius of the sphere is 1.
4.4. Simulation and Analysis of the A2D Bit Depth Influence on Polarization 3D Reconstruction
In Section 3.3.2, we analyzed the influence of A2D bit depth on polarization 3D imaging accuracy. In this section we calculate the standard deviations of the zenith and azimuth angles by simulation.
To analyze the effect of A2D bit depth separately, we let the full well capacity approach infinity. Figure 13 and Figure 14 show the standard deviations of the zenith and azimuth angles at different A2D bit depths, respectively. We can see that (a) the standard deviations of zenith and azimuth angles decrease with increasing A2D bit depth; (b) there is a threshold, and when the A2D bit depth is greater than the threshold, increasing the A2D bit depth, the accuracy of the zenith angle and the azimuth angle increases slowly; (c) under the same A2D bit depth condition, the smaller the of the incident light, the lager the standard deviation of the zenith angle and azimuth angle. Based on the above analysis and simulation results, we recommend using 12 bit for polarization 3D imaging.
Figure 13.
Standard deviation of the zenith angle with different A2D bit depths.
Figure 14.
Standard deviation of the azimuth angle with different A2D bit depths.
We still take the sphere as an example to simulate the standard deviation of the zenith angle and the azimuth angle under the condition that the A2D bit depth equals to 12. The results are shown in Figure 15. In the case of A2D bit depth equaling to 12 bit, only the zenith angle and azimuth angle errors in the middle of the sphere are large, and the errors in other places are small.
Figure 15.
Polarization 3D imaging accuracy of the sphere with A2D bit depth equal to 12 bit. (a) standard deviation of zenith angle. (b) standard deviation of azimuth angle. Where x and y are the spatial coordinate axes, and the radius of the sphere is 1.
Of course, it is impossible to realize that the full well capacity tends to infinity in the actual experiment process. Therefore, taking 1 Me- as a reasonable and existing large value of full well capacity, we analyzed the standard deviation of the zenith angle and the azimuth angle at different A2D bit depths to analyze the influence of A2D bit depth on polarization 3D imaging. The simulation results are shown in Figure 16 and Figure 17. At this time, the threshold in the above analysis is more obvious. When the A2D bit depth is greater than 12, the zenith angle and azimuth angle errors decrease very slowly.
Figure 16.
Standard deviation of the zenith angle at different A2D bit depths under the condition of the full well capacity equals to 1 Me-.
Figure 17.
Standard deviation of azimuth angle at different A2D bit depths under the condition of full well capacity equals to 1 Me-.
5. Model Evaluation and Experiment
In Section 4, we simulated, and analyzed the zenith and azimuth angle errors for various parameters. In this section, we evaluate the model’s accuracy through experiments. While we can easily select various parameters during the simulation, only some representative parameters can be chosen experimentally to verify whether the error model established in this paper is consistent with the real error.
5.1. Establishment of the Experimental Platform
We chose the “detector + polarizer” method to conduct our experiment. The experimental platform was built as shown in Figure 18 and Figure 19. During the experiment, a high-precision turntable was used to drive the polarizer and form the polarization imaging system. The camera uses a dhyana v2 95 produced by China Xintu Photoelectric Co., Ltd., and its full-well charge number is 100 Ke−. The experimentally imaged object was a cylindrical paper cup. The experiment was conducted in a dark room. The specific experimental configuration is shown in Table 4.
Figure 18.
Photograph of the actual polarization experiment platform.
Figure 19.
Schematic diagram of the experimental platform.
Table 4.
Equipment parameters in the experiments.
5.2. Evaluation of Error Model Accuracy
5.2.1. Evaluation of the Effect of the Polarizer Extinction Ratio (ER) on the Polarization 3D Imaging Model
In this section, a GCL-050004 polarizer produced by China Daheng Optoelectronics Co., LTD was used with an ER of 100. We used a high-precision turntable to drive the polarizer to rotate 0, 45, 90, and 135° to obtain polarization images. We captured 500 raw images with 16 bits in four directions and took the average value to reduce noise interference. The result after averaging in all directions is shown in Figure 20.
Figure 20.
Experimentally collected polarization 3D images at (a) 0°, (b) 45°, (c) 90°, and (d) 135°.
We selected row 1024 for analysis. In theory, the zenith angle distribution of row 1024 is [0°, 90°], but during the actual detection process, the zenith angle for most objects is less than 80°. Meanwhile, although we tried our best to suppress noise, some residual noise remained and greatly interfered when the zenith angle was less than 10°. In order to analyze the error due to ER, we only evaluated the accuracy of the error model under the condition of the zenith angle ∈ [10°, 80°].
We have to compare the actual (experimental) error and the theoretical error in the experiment. Actual (experimental) error is computed by using Equations (43) and (44):
where is the solved zenith angle, is the theoretical zenith angle, is the solved azimuth angle and is the theoretical azimuth angle.
The experimental results are shown in Figure 21. We can see that the actual zenith-angle error is consistent with the error given by Equation (17).
Figure 21.
Actual (experimental) and theoretical zenith-angle error caused by the ER. Here pixel number is column number.
Theoretically, the azimuth of row 1204 is 0° and this angle is not affected by the ER. However, we still observed error in the experiment, but it was caused by residual noise, not the ER.
5.2.2. Evaluation of the Effect of Installation Error on the Polarization 3D Imaging Model
In the real world, installation error exists in the detector due to technological limitations. However, this error is difficult to measure. As an alternative, we used a turntable to simulate various errors. In our experiment, errors of 5, 10, 15, and 20° were artificially introduced in the four directions including 0°, 45°, 90°, and 135°. In order to reduce the influence of the ER, a WP25M-VIS polarizer produced by Thorlabs was selected along with the other experimental equipment described above.
We still choose zenith angles [0°, 80°] to verify the accuracy of the error model. We compared the actual (experimental) error and the theoretical error. The actual (experimental) error is computed by Equations (43) and (44). The experiment results are shown in Figure 22. We can see that the actual zenith angle error is consistent with the error given by Equation (22).
Figure 22.
Actual (experimental) and theoretical zenith angle error caused by installation error. Here, pixel number is column number.
Since the azimuth angle of row 1024 was zero, the theoretical azimuth angle error was 10.7752° under the experiment configuration. The average error of the row was calculated to be 11.8825°. That is to say, the theoretical azimuth angle error is consistent with the actual error. Based on the experiment results above, the error given by the model is consistent with the actual error.
5.2.3. Evaluation of the Effect of Full-Well Capacity on the Polarization 3D Imaging Model
In Section 4.3, we simulated the effects of detector full-well capacity on polarization 3D imaging. In this section, we experimentally evaluate the accuracy of Equations (39) and (40). For this experiment, we changed the number of electrons in the detector by adjusting the exposure time. After adjusting the exposure time, 500 images of 12 bits of raw data were collected and zenith and azimuth angle values were calculated. We then calculated the standard deviation of the zenith and azimuth angles to verify model accuracy.
In the case of a certain fixed exposure time, the number of electrons of each object point on the image is not consistent. As an alternative, we select several typical points to verify the accuracy of the model. In the experiment, points with zenith angles of 60, 40, and 20° in row 1024 were selected to verify whether the actual standard deviation of the zenith angle and azimuth angle were consistent with the standard deviation given by Equations (39) and (40). We refer to Figure 23 to understand these points. The equations for calculating the standard deviation of the actual zenith angle and azimuth angle are:
where is the solved zenith angle of the k-th image, is the theoretical zenith angle, is the solved azimuth angle of k-th image, and is the theoretical azimuth angle.
Figure 23.
Typical points selected in the experiment for analysis.
The experimental results are provided in Table 5 and Table 6. Based on the experimental results, the standard deviation given by the model is consistent with the actual standard deviation.
Table 5.
Actual and theoretical standard deviation of the zenith angle at the typical points with different electrons.
Table 6.
Actual and theoretical standard deviation of the azimuth angle at the typical points with different electrons.
5.2.4. Evaluation of the Effect of A2D Bit Depth on the Polarization 3D Imaging Model
In Section 4.4, we simulated the effects of detector A2D bit depth on polarization 3D imaging. In this section, we experimentally evaluate the accuracy of Equations (41) and (42).
It is difficult to evaluate the effect of A2D bit depth by ignoring the full well capacity of the detector during the actual experiment because we cannot achieve infinite full-well capacity. Therefore, the effect of full well capacity still exists in the experiment. In fact, Equations (41) and (42) also have parameters of full-well capacity. For specific effects of A2Dbit depth, please refer to Section 4.4. This section only evaluates the correctness of Equations (41) and (42). In the experiment, points with zenith angles of 60, 40, and 20° in row 1024 were selected to verify whether the actual standard deviation of the zenith angle and the azimuth angle was consistent with the standard deviation given by Equations (41) and (42). In this part of the experiment, Sony IMX250mzr sensor and dhyana v295 were used for the experiment, and non-uniformity correction and other operations were required before image collection. In the experiment, the intensity of the light source should be adjusted to keep the DN (digital number) of the measured point the same. The experimental results are provided in Table 7 and Table 8. Based on the experimental results, the error given by the model is consistent with the actual error.
Table 7.
Actual and theoretical standard deviation of the zenith angle at the typical point with different A2D bit depth and electrons.
Table 8.
Actual and theoretical standard deviation of the azimuth angle at the typical points different A2D bit depth and electrons.
6. Summary
This paper analyzed the relationship between the errors of polarization 3D imaging based on diffuse reflection and the performance parameters of the polarization detector. Several important factors affecting polarization 3D imaging accuracy were analyzed, including the polarizer ER, the polarizer installation error, the full well capacity, and the A2D bit depth. In order to explore the quantitative influences of these parameters on the polarization 3D imaging accuracy, the corresponding mathematical models were established. Through simulation analysis, suitable parameters were recommended, such as an ER ≥ 200, a full-well capacity ≥ 100 , an installation error ≤ 1°, and an A2D bit depth ≥ 12 bit. Although we can further improve the above parameters to obtain better results, this would increase the manufacturing cost, and the accuracy of 3D reconstruction would be improved very slowly, which is not worth the loss. Finally, the accuracy of the theoretical error model was also evaluated by experiments.
According to the error models of polarization 3D imaging proposed in this paper, the researchers can choose the appropriate polarization detector according to their accuracy requirements, to reduce the model errors caused by the instrument. The proposed error models provide important theoretical support for the selection of the polarization detector suitable for 3D imaging, which is extremely crucial for the polarization 3D imaging—especially for single imaging represented by airborne polarization remote sensing 3D imaging. At the same time, in the era of deep learning, the method described in this paper also provides guidance for the production of polarization 3D imaging dataset. Based on this dataset, different polarization 3D imaging methods can be evaluated under the same evaluation system in the future. This is also the focus of the authors’ future work.
Author Contributions
Conceptualization P.D.; methodology, P.D. and D.Y.; software, Q.W.; validation, P.D., H.S. and Q.W.; formal analysis, P.D. and T.M.; investigation W.W. and P.D.; resources, P.D.; writing—original draft preparation, P.D.; writing—review and editing, P.D. and D.Y.; funding acquisition D.Y.; supervision, D.Y.; project administration, H.S. and D.Y. All authors have read and agreed to the published version of the manuscript.
Funding
We gratefully acknowledge the National Key Research and Development Program (2022YFC2807400), and State Key Laboratory of Applied Optics (No. SKLAO2021001A03) for funding this work.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data are contained within the article.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Mathavan, S.; Kamal, K.; Rahman, M. A review of three-dimensional imaging technologies for pavement distress detection and measurements. IEEE Trans. Intell. Transp. Syst. 2015, 16, 2353–2362. [Google Scholar] [CrossRef]
- Gustavson, R.L.; Davis, T.E. Diode laser radar for low-cost weapon guidance. Laser Radar VII Adv. Technol. Appl. 1992, 1633, 21–32. [Google Scholar]
- Mheen, B.; Shim, J.S.; Oh, M.S.; Song, J.; Song, M.; Choi, G.D.; Seo, H.; Kwon, Y.H. High-resolution three-dimensional laser radar with static unitary detector. Electron. Lett. 2014, 50, 313–315. [Google Scholar] [CrossRef]
- Bi, S.; Yuan, C.; Liu, C.; Cheng, J.; Wang, W.; Cai, Y. A survey of low-cost 3D laser scanning technology. Appl. Sci. 2021, 11, 3938. [Google Scholar] [CrossRef]
- Cui, B.; Tao, W.; Zhao, H. High-precision 3D reconstruction for small-to-medium-sized objects utilizing line-structured light scanning: A review. Remote Sens. 2021, 13, 4457. [Google Scholar] [CrossRef]
- Castillón, M.; Palomer, A.; Forest, J.; Ridao, P. State of the art of underwater active optical 3D scanners. Sensors 2019, 19, 5161. [Google Scholar] [CrossRef]
- Liu, F.; Yan, M.; Li, X. Advances in diffused polarization-based three-dimensional imaging technology. Laser Optoelectron. Prog. 2021, 58, 1811015. [Google Scholar]
- Anderson, B.L. Stereovision: Beyond disparity computations. Trends Cogn. Sci. 1998, 2, 214–222. [Google Scholar] [CrossRef]
- Hurt, N.E. Mathematical methods in shape-from-shading: A review of recent results. Acta Appl. Math. 1991, 23, 163–188. [Google Scholar] [CrossRef]
- Ramachandran, V.S. Perception of shape from shading. Nature 1988, 331, 163–166. [Google Scholar] [CrossRef]
- Koshikawa, K. A polarimetric approach to shape understanding of glossy objects. Adv. Robot. 1979, 2, 190. [Google Scholar]
- Wolff, L.B. Surface orientation from polarization images. In Proceedings of the Advances in Intelligent Robotics Systems, Cambridge, CA, USA, 2–6 November 1987; pp. 110–121. [Google Scholar]
- Wolff, L.B. Polarization-based material classification from specular reflection. IEEE Trans. Pattern Anal. Mach. Intell. 1990, 12, 1059–1071. [Google Scholar] [CrossRef]
- Ferraton, M.; Stolz, C.; Meriaudeau, F. Optimization of a polarization imaging system for 3D measurements of transparent objects. Opt. Express 2009, 17, 21077–21082. [Google Scholar] [CrossRef]
- Morel, O.; Gorria, P. Polarization imaging for 3D inspection of highly reflective metallic objects. Opt. Spectrosc. 2006, 101, 11–17. [Google Scholar] [CrossRef]
- Sohaib, A.; Farooq, A.; Ahmed, J.; Smith, L.; Smith, M. 3D reconstruction of concave surfaces using polarisation imaging. J. Mod. Opt. 2015, 62, 927–932. [Google Scholar] [CrossRef]
- Partridge, M.; Saull, R. Three-dimensional surface reconstruction using emission polarization. In Proceedings of the Satellite Remote Sensing II, Paris, France, 25–28 September 1995; pp. 92–103. [Google Scholar]
- Atkinson, G.A.; Hancock, E.R. Recovery of surface orientation from diffuse polarization. IEEE Trans. Image Process. 2006, 15, 1653–1664. [Google Scholar] [CrossRef]
- Atkinson, G.A.; Hancock, E.R. Surface reconstruction using polarization and photometric stereo. In Proceedings of the Computer Analysis of Images and Patterns: 12th International Conference, CAIP 2007, Vienna, Austria, 27–29 August 2007; pp. 466–473. [Google Scholar]
- Li, X. Research on the Key Technology of Polarization 3D Imaging of Complex Scences. Ph.D. Thesis, Xidian University, Xi’an, China, 2021. [Google Scholar]
- Ju, Y.; Jian, M.; Guo, S.; Wang, Y.; Zhou, H.; Dong, J. Incorporating lambertian priors into surface normals measurement. IEEE Trans. Instrum. Meas. 2021, 70, 1–13. [Google Scholar] [CrossRef]
- Santo, H.; Samejima, M.; Sugano, Y.; Shi, B.; Matsushita, Y. Deep photometric stereo network. In Proceedings of the IEEE International Conference on Computer Vision Workshops, Venice, Italy, 22–29 October 2017; pp. 501–509. [Google Scholar]
- Zhang, R.; Tsai, P.-S.; Cryer, J.E.; Shah, M. Shape from shading: A survey. IEEE Trans. Pattern Anal. Mach. Intell. 1999, 21, 690–706. [Google Scholar] [CrossRef]
- Mahmoud, A.H.; El-Melegy, M.T.; Farag, A.A. Direct method for shape recovery from polarization and shading. In Proceedings of the 2012 19th IEEE International Conference on Image Processing, Orlando, FL, USA, 30 September–3 October 2012; pp. 1769–1772. [Google Scholar]
- Smith, W.A.; Ramamoorthi, R.; Tozza, S. Linear depth estimation from an uncalibrated, monocular polarisation image. In Proceedings of the Computer Vision—ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, 11–14 October 2016; pp. 109–125. [Google Scholar]
- Kadambi, A.; Taamazyan, V.; Shi, B.; Raskar, R. Depth sensing using geometrically constrained polarization normals. Int. J. Comput. Vis. 2017, 125, 34–51. [Google Scholar] [CrossRef]
- Ba, Y.; Gilbert, A.; Wang, F.; Yang, J.; Chen, R.; Wang, Y.; Yan, L.; Shi, B.; Kadambi, A. Deep shape from polarization. In Proceedings of the Computer Vision—ECCV 2020: 16th European Conference, Glasgow, UK, 23–28 August 2020; pp. 554–571. [Google Scholar]
- Deschaintre, V.; Lin, Y.; Ghosh, A. Deep polarization imaging for 3D shape and SVBRDF acquisition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 15567–15576. [Google Scholar]
- Lei, C.; Qi, C.; Xie, J.; Fan, N.; Koltun, V.; Chen, Q. Shape from polarization for complex scenes in the wild. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–20 June 2022; pp. 12632–12641. [Google Scholar]
- Miyazaki, D.; Tan, R.T.; Hara, K.; Ikeuchi, K. Polarization-based inverse rendering from a single view. In Proceedings of the Ninth IEEE International Conference on Computer Vision, Nice, France, 13–16 October 2003; p. 982. [Google Scholar]
- Huang, S.; Liu, F.; Han, P.; Li, X.; Li, X.; Shao, X. Surface Normals Correction by Removing Specular Reflection for 3D Polarization Imaging. In Proceedings of the Laser Science, Washington, DC, USA, 16–20 September 2018; p. JTu2A.135. [Google Scholar]
- Li, X.; Liu, F.; Han, P.; Zhang, S.; Shao, X. Near-infrared monocular 3D computational polarization imaging of surfaces exhibiting nonuniform reflectance. Opt. Express 2021, 29, 15616–15630. [Google Scholar] [CrossRef]
- Béniere, A.; Goudail, F.; Alouini, M.; Dolfi, D. Estimation precision of degree of polarization in the presence of signal-dependent and additive Poisson noises. J. Eur. Opt. Soc. Rapid Publ. 2008, 3. [Google Scholar] [CrossRef]
- Bénière, A.; Goudail, F.; Alouini, M.; Dolfi, D. Precision of degree of polarization estimation in the presence of additive Gaussian detector noise. Opt. Commun. 2007, 278, 264–269. [Google Scholar] [CrossRef]
- Foreman, M.R.; Romero, C.M.; Török, P. A priori information and optimisation in polarimetry. Opt. Express 2008, 16, 15212–15227. [Google Scholar] [CrossRef]
- Goudail, F.; Bénière, A. Estimation precision of the degree of linear polarization and of the angle of polarization in the presence of different sources of noise. Appl. Opt. 2010, 49, 683–693. [Google Scholar] [CrossRef]
- Jones, M.W.; Persons, C.M. Performance predictions for micro-polarizer array imaging polarimeters. In Proceedings of the Optical Engineering + Application, San Diego, CA, USA, 26–30 August 2007; pp. 51–61. [Google Scholar]
- Perkins, R.; Gruev, V. Signal-to-noise analysis of Stokes parameters in division of focal plane polarimeters. Opt. Express 2010, 18, 25815–25824. [Google Scholar] [CrossRef]
- Réfrégier, P.; Goudail, F.; Roux, N. Estimation of the degree of polarization in active coherent imagery by using the natural representation. JOSA A 2004, 21, 2292–2300. [Google Scholar] [CrossRef]
- Collett, E. Field Guide to Polarization; SPIE: Bellingham, WA, USA, 2005. [Google Scholar]
- Frankot, R.T.; Chellappa, R. A method for enforcing integrability in shape from shading algorithms. IEEE Trans. Pattern Anal. Mach. Intell. 1988, 10, 439–451. [Google Scholar] [CrossRef]
- Bevington, P.R.; Robinson, D.K.; Blair, J.M.; Mallinckrodt, A.J.; McKay, S. Data reduction and error analysis for the physical sciences. Comput. Phys. 1993, 7, 415–416. [Google Scholar] [CrossRef]
- Sony. Polarization Image Sensor with Four-Directional On-Chip Polarizer and Global Shutter Function. Available online: https://www.sony-semicon.co.jp/e/products/IS/industry/product/polarization.html (accessed on 14 February 2022).
- James, F. Monte Carlo theory and practice. Rep. Prog. Phys. 1980, 43, 1145. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).