Abstract
This paper presents a photometric stereo (PS) method based on the dichromatic reflectance model (DRM) using colour images. The proposed method estimates surface orientations for surfaces with non-Lambertian reflectance using diffuse-specular separation and contains two steps. The first step, referred to as diffuse-specular separation, initialises surface orientations in a specular invariant colour subspace and further separates the diffuse and specular components in the RGB space. In the second step, the surface orientations are refined by first initialising specular parameters via solving a log-linear regression problem owing to the separation and then fitting the DRM using Levenburg-Marquardt algorithm. Since reliable information from diffuse reflection free from specularities is adopted in the initialisations, the proposed method is robust and feasible with less observations. At pixels where dense non-Lambertian reflectances appear, signals from specularities are exploited to refine the surface orientations and the additionally acquired specular parameters are potentially valuable for more applications, such as digital relighting. The effectiveness of the newly proposed surface normal refinement step was evaluated and the accuracy in estimating surface orientations was enhanced around on average by including this step. The proposed method was also proven effective in an experiment using synthetic input images comprised of twenty-four different reflectances of dielectric materals. A comparison with nine other PS methods on five representative datasets further prove the validity of the proposed method.
1. Introduction
Photometric stereo (PS) estimates surface orientations using images captured from a fixed viewpoint under various illuminations and is especially powerful in acquisition of fine surface details at pixel level [1]. Surface orientation is important in a variety of fields, such as geometry segmentation for three-dimensional (3D) object recognition [2] and digital re-rendering in computer graphics. Surface geometries, which can be obtained via integrating surface orientations, have also been proven useful for applications, such as industrial quality control and reverse engineering. Due to the strength of PS and the importance of surface orientation acquisition, PS has drawn increasing interests since its debut [3]. However, making PS for a general real scene remains challenging due to the diverse reflectance properties of different materials that appear non-Lambertian [4]. This has given rise to the need for reliable estimation of surface orientations for a wide range of non-Lambertian reflectance, which essentially requires a proper imaging photometry model characterizing the forward problem and a subsequent PS method that inversely derives surface orientations.
Existing PS methods dealing with non-Lambertian reflectance can be classified into three categories. The first approximates surface reflectance using analytical bidirectional reflectance distribution function (BRDF) [5] and formulates the estimation of surface orientations as a nonlinear fitting problem. Nayar et al. [6] derived surface orientations using the Torrance-Sparrow BRDF [7] and incorporated extended sources to ensure sufficient information from specularities. Georghiades [8] inverted the same BRDF to simultaneously estimate surface orientations and resolve the generalized bas-relief ambiguity. Goldman et al. [9] assumed that general material reflectance can be represented by a convex combination of fundamental materials characterized by the Ward BRDF [10] and recovered surface orientations, fundamental material BRDFs and weight maps simultaneously for further scene editing purpose. Methods in this category exploiting information from surface reflectance are capable to derive not only surface orientations but also the other parameters in the analytical BRDFs, allowing more functionalities, such as digital relighting and material classification. However, due to the nonlinearity of analytical BRDFs and larger number of parameters to be estimated, these methods are sensitive to initialisations, numerically unstable under heavily corrupted outliers (e.g., shadows), and inapplicable when the number of observations is limited.
The second category of methods infers surface orientations through adopting the general properties of BRDF, such as isotropy, monotonicity and reciprocity. Alldrin et al. [11] developed a non-parametric PS method using bi-variate approximation of the isotropy property. Higo et al. [12] analyzed the general BRDF constraints and employed the BRDF properties of monotonicity, isotropy and visibility to vote for the most possible surface orientations for single-lobed reflectance. Shi et al. [13] proposed a bi-polynomial representation for low-frequency reflectance that was especially adaptable to the inverse problem as PS, while Ikehata et al. [14] developed another general isotropic BRDF as sum of lobes with unknown center directions. Methods in this category capitalize on the most fundamental properties of BRDF and therefore have the potential to deal with a broader range of reflectance. However, these methods are only capable to derive surface orientations with limited other functionalities and require an even larger set of observations compared with the first category. To widen the applicability, recent years have seen non-parametric BRDFs based on machine learning. Santo et al. [15,16] used a deep neural network for the first time whereas Taniai and Maehara [17] estimated surface normals and BRDFs by unsupervised learning. Ikehata [18] estimated surface normals more straightforward by deriving the so-called observation maps and using convolutional neural networks. Such data-driven approaches clearly improves the accuracy as observations directly create the BRDF or estimate surface normals. The use of a significantly large set of observations, which is key to the accuracy, and the expensive training effort using the observations make the approaches outside the scope of this paper.
Methods in the third category assume that non-Lambertian effects appear sparsely among observations and treat them as outliers. A substantial corpus of methods rely on robust statistical techniques for outlier rejection. Wu et al. [19] formulated the PS with outlier rejection as a global rank minimization problem, while Ikehata et al. [20] employed sparse Bayesian regression instead. Barsky et al. [21] initiated another line of PS researches using colour images where they first identified the significance of using specular colour in the dichromatic reflectance model (DRM) [22] for specularity rejection. Using the cue from known specular colour under the same theoretical foundation, Zickler et al. [23] derived a PS method in a novel two-dimensional (2D) specular invariant colour subspace. The major advantages of methods in the third category are their robustness and requirement for less images, while they are inefficient in the presence of dense non-Lambertian effects.
This paper presents a colour PS method to estimate surface orientations using diffuse-specular separation dealing with non-Lambertian reflectance. The proposed method models the colour imaging photometry using DRM as the forward problem and inverts it following a two-step procedure, the diffuse-specular separation and the surface normal refinement. The first step, initialising surface orientations using known specular colour similarly to [23], separates the diffuse and specular components in the RGB space and identifies outliers to reject in the UV space. In the second step, the parameters characterizing the specularity are initialised via solving a log-linear regression problem and the surface orientations are finally refined by fitting the nonlinear DRM using Levenburg-Marquardt algorithm (LMA). The proposed method robustly initialises surface orientations in a specular-free colour subspace and further fits for the nonlinear DRM with a newly derived parameter initialisation strategy. The proposed method preserves the advantage of robustness as the third category of methods, while it also benefits from the separated specular component to tackle with dense non-Lambertian reflectance as the first category. Furthermore, DRM parameters besides the surface orientations can be additionally obtained where dense non-Lambertian reflectance appears, making more potential applications feasible, such as digital relighting and material classification.
The rest of the paper is organized as follows. The next section presents the problem formulation of colour PS incorporating DRM and the relevant PS methods. Section 3 first overviews the flow and original contribution of the proposed colour DRM-based PS method and then, elucidates the specific two steps in the subsequent subsections. It follows the comprehensive evaluations on surface orientation estimation using both synthetic and real images in Section 4, while the last section summarizes the conclusions and proposes the future works.
2. Colour PS Incorporating Dichromatic Reflectance Model
2.1. Generic Colour PS Problem Formulation
Figure 1 shows the schematic diagram of the hardware components of the sensor and the necessary data for the generic colour PS. The hardware components are an RGB camera and a set of directional point sources whose positions are priorly known. Assume that ambient light is completely blocked, the colour PS requires that the RGB camera captures a colour image for the target surface with one source lit at a time. Given the N colour images illuminated under N different sources, the objective of the colour PS is to identify surface orientations pixel-wise. More specifically, given the colour image irradiance measurements at pixel , , under the unit illumination directions, , estimated from the light positions, the colour PS aims to derive the unit surface normal, , by minimizing the sum of N corresponding square residuals:
where is a vector of weights for colour channels whereas f is a forward function of having as parameters, which corresponds to the weighted measurements. Note that and mean the unit version and the measurement of respectively throughout the paper.
Figure 1.
Schematic diagram for generic colour PS.
2.2. Colour Image Formation Model
Figure 2 shows the coordinate setups that are necessary for the colour PS to model the imaging geometry and the light configuration. The coordinate frames are the 3D camera frame, , the 2D pixel frame, , and the world frame, , where its XY plane is known and referred to as the reference plane. These coordinate frames follow the convention given in [24]. A 3D surface point, , is projected to be a 2D image point, , in the RGB camera using the perspective projection as:
where and are each the number of pixels per unit distance along x and y direction respectively. and are the principal point location in , and f is the effective focal length. Note that and . is rasterized into a regular grid in the camera as:
where denotes the ceiling operator. and are related with a 3D rigid transformation: .
Figure 2.
Coordinate setups for modeling imaging geometry and light configuration.
Let the kth light position be . is associated in the spherical space as:
where , and are the radius, zenith and azimuth angle, respectively. The N lights are configured such that they have the same zenith angle and radius, and uniformly distributed azimuth angles around the optical axis, i.e., , and .
Having established the imaging geometry and light configuration, the imaging photometry is then modeled using the physically-based DRM [22]. The DRM properly characterizes reflectance for dielectric materials [25] and is represented by a linear combination of the diffuse and specular components. Assume that pixel is shadow-free, the image irradiance for colour channel c after light strength normalisation and vignetting correction is written as:
where and are the diffuse and specular components, and and are diffuse and specular colours which are wavelength-dependent and represented by:
In the equation, is the wavelength, is the source spectral power density (SPD), is the spectral body reflectance, and is the camera spectral sensitivity for the colour channel. and represent the diffuse and specular geometrical scaling factors that are characterized by BRDF.
Since the scaling factors are illumination-dependent, let the image irradiance Equation (5) generalized in the RGB colour space be with the kth illumination as:
where and are the unit diffuse and specular colour, respectively. The diffuse geometrical scaling factor is characterized with the kth unit illumination direction by Lambertian model as:
where is the diffuse reflectance factor. Since the surface deviation is small compared with the light-surface distance, can be approximately derived using a vector from the point intersected by ray and the reference plane to . One of the common options of the specular geometrical scaling factor, on the other hand, is a model using the Blinn-Phong BRDF [26] because of its computational efficiency and high performance in characterizing a wide range of isotropic reflectance [27]:
where is the specular reflectance factor, is the unit half vector, and is the shininess coefficient. The unit half vector is written as:
where is the unit viewer direction and determined by:
2.3. Colour PS Methods Using DRM
Existing colour PS methods using DRM contain two major variants, representative works of which were developed by Barsky et al. [21] and by Zickler et al. [23]. The PS method of Barsky finds the unit surface normal and the diffuse reflectance factor such that the residual between the colour image irradiances weighted by and the diffuse geometrical scaling factor is minimised:
where is the number of specular-free and shadow-free images. The reason for the use of instead of N is that the Barsky’s PS method assumes that non-Lambertian reflectance appears sparsely among observations, which should be rejected as outliers. As the first process for outlier rejection, the direct principal component analysis (DPCA) [28] on is performed to estimate , where . Given and , the method then determines as:
A threshold on is finally used to determine pixels to be rejected as outliers, and this subsequently determines .
The objective function (12) of this PS method is not different from that of the conventional Lambertian-based PS method [3]. Given a priori, together with , which minimizes the objective function (12), is analytically determined as:
where and . While the effect of specularity rejection through the use of is exhibited, the estimation of using DPCA is erroneous due to the existence of specularities. Furthermore, all the specularities are rejected as outliers though useful information may be contained.
Unlike Barsky’s PS method, which performs PS in the RGB colour space, the PS method of Zickler estimates surface orientations in the SUV colour space, or the UV colour space as S is not considered:
where is a scaling factor. The UV colour subspace includes more observations than the RGB colour space in surface orientation estimation. To operate in the SUV space, the colour image irradiance is transformed from RGB to SUV as:
where , , and is any transformation that yields . UV forms a specular-free colour subspace that is invariant to . The Zickler’s PS method first estimates of unit length using DPCA on . It then becomes the conventional Lambertian-based PS problem and the solution is obtained in the similar form to Equation (14). Compared with the Barsky’s PS, the Zickler’s PS utilizes more observations and advantageously performs PS in the specular-free UV colour subspace. Shape information from specularities is however neglected again, and the method can only provide diffuse component up to the normalised RGB space. The diffuse-specular separation in the RGB space remains open.
3. DRM-Based Colour PS Method Using Diffuse-Specular Separation
3.1. Overview of the Proposed Color PS Method
Figure 3 shows the flow and original contributions of the proposed DRM-based colour PS method using the diffuse-specular separation. The proposed method consists of two processes: Step 1, which is diffuse-specular separation using a PS, and Step 2, which is the surface normal refinement. Step 1 identifies good approximate surface normals, whereas Step 2 further refines and finalizes them with maximum accuracy. The steps are marked by red boxes.
Figure 3.
Flows and the original contribution of the DRM-based colour PS.
Step 1 is composed of four sub-processes: diffuse colour estimation, diffuse-specular separation in RGB space, PS in UV space and the outlier estimation. After completing shadow rejection as a preprocess, and generating the shadow-free image irradiance matrix , Step 1 begins with the diffuse colour estimation using the robust principal component analysis (RPCA) proposed in this paper and derives . Note that is a quantity of after shadow rejection. The diffuse color estimation also outputs a specularity map, which describes the distribution of specular reflection. The diffuse-specular separability is then checked for each pixel by deriving the diffuse-specular chromatic angle in RGB space. For separable pixels, the proposed method performs PS in the specular-free UV colour subspace similarly to Zickler’s PS method and derives the initial guess of the unit surface normal and the diffuse reflectance factor similarly to Barsky’s PS. means the initial guess of . In parallel, the specular geometrical scaling factors, , are derived through the diffuse-specular separation process using Equation (13) for the subsequent surface normal refinement. Observations not in the specularity map are clamped to zero in . The surface normals and the other parameters are then refined by fitting the nonlinear DRM using LMA with regularisation.
In Step 2, the initial guess of the specular parameters, and , are drived from and . Finally, PS for the surface normal refinement derives and with enhanced accuracy while additionally updating and . The strength of the proposed method lies in this PS with the diffuse-specular separation. For pixels where sparse non-Lambertian reflectances appear, the first step is sufficient to reliably estimate the surface orientations. To tackle with more general problems with dense non-Lambertian reflectances, the second step is additionally required to exploit surface normal information from specularities in the DRM with the designed parameter initialisation strategy. The rest of this section elucidates the proposed method in detail.
3.2. Diffuse-Specular Separation
3.2.1. Diffuse Color Estimation
The proposed RPCA derives and the specularity map as follows:
- 1.
- Perform principle component analysis (PCA) for to estimate ;
- 2.
- Compute residual matrix: .
- 3.
- Compute residual vector: , where and denotes the hadamard square.
- 4.
- If the mean of , , is smaller than the threshold , terminate RPCA and output the current estimate of and the specularity map. Otherwise, find the element that provides the maximal value of and register in the specularity map. Remove the corresponding row vector in and repeat from step 1.
The RPCA eliminates image irradiances that are inappropriate for diffuse colour estimation.
The validity of the RPCA can be explained as follows. The shadow-free image irradiance matrix is expanded from Equation (7) and decomposed as
where most entries in are near-zero since images are often near specular-free. In such a case, a non-zero residual occurs if contains non-negligible entries. The RPCA algorithms robustly and accurately estimate by keeping rejecting specularities until the residual becomes smaller than . Unlike Barsky’s PS method, which identifies specularities after estimation, the proposed algorithms derive and the specularity map simultaneously.
While the originality and superiority of the proposed RPCA algorithms have been identified, the performance of the RPCA algorithms depends on the value of . If is too large, the RPCA algorithms are tolerant to specularities and perform similarly to the DPCA algorithms. If is too small, the RPCA algorithms reject innocent pixels as specularities and make images sensitive to noise.
3.2.2. Diffuse-Specular Separability Check
Having estimated, the diffuse-specular chromatic angle, used to perform the separability check, is derived as
Asymptotically, the chromatic angle gives
This means that should be sufficiently larger than 0 in order for and to be distinct and separable. The threshold of the chromatic angle to determine the separability is . If , and are sufficiently distinct and pixel is considered as separable. Similarly to , should be chosen carefully. A small results in yielding false separation. Once and have been identified, is then initialised using Equation (13).
3.2.3. PS in UV Space
Since the PS is performed in the UV colour space, the unit diffuse colour should be converted into that in UV colour space . The PS in UV color space allows more observations as described in the Zickler’s PS method. With , the estimated is transformed to the SUV space as . The diffuse color in UV space is then given by
where is a unit vector, and
Image irradiances of separable pixels are also transformed to the SUV colour space as using the same . is then formed by picking the first two columns of . Due to the presence of image noise, the PS in UV space is modified from Equation (15) to reject noise-corrupted image irradiances as outliers using studentised residuals [29]:
where is the number of shadow-free images, so . The derivation of in addition to similarly to the Barsky’s PS method enables full recovery of the colour diffuse component. is used instead of N and because shadow-free images are effective for reliability.
After the PS, and are initialised as and respectively. The diffuse component matrix, , is then re-rendered as:
where is an vector with all zero entries. The specular component matrix, , is obtained by . With the separated colour diffuse and specular components, the proposed method allows the functionality of specular removal and intrinsic image decomposition.
3.2.4. Outlier Estimation
Let the residual vector be written as:
where is the scaled normal, , and . The hat matrix [29] is represented by:
Diagonal entries in are leverages and the kth leverage is denoted as . These leverages quantify the influence that the observed on their predicted values . Each entry in the studentized residual vector is then approximated using:
where represents the mean squared error of . If any entry in exceeds , this entry is estimated as outliers. The proposed PS rejects outliers until no more can be detected or is smaller than a tolerance, . With the general rule of thumb in detecting outliers using studentised residuals, and can be chosen as and , where is the standard deviation of additive white Gaussian noise that can be estimated using the method given by [30].
3.3. Surface Normal Refinement
3.3.1. Specular Parameter Initialisation
If dense non-Lambertian reflectance appears at pixel , which implies that more than one entry in are in the specularity map, surface normal refinement is necessary since the sparse non-Lambertian reflectance assumption in the diffuse-specular separation is violated. With the estimated , the next objective is to initialise the specular parameters, and . The specific cost functional is given by:
where is the number of specularity maps showing pixel and . Equation (26) suggests a nonlinear least-squares problem, while it can be manipulated to the natural logarithm domain as a linear problem given by:
Let with rows consist of entries in in the specularity map and be the matrix comprised of the corresponding unit half vectors. Then, the solution of and to Equation (27) is given analytically by:
where
and is a vector with all entries equal to 1.
3.3.2. Surface Normal Refinement in DRM
All parameters in the DRM have been initialised up to this point. The LMA is then employed to iteratively refine these parameters by solving the optimization problem:
where the first three terms are from the generalised formulation, and, the fourth regularization term with constant is added. The regularisation term reduces the change of surface normal refinement from the initial guess of and prevents overfitting. Larger value of strengthens the robustness but limits the capability of surface normal refinement.
The strength of the proposed PS method lies in the determination of the surface normals while separating the diffuse and specular components in RGB space, eliminating outliers and then tuning the diffuse and specular reflectance factors simultaneously. The determination considering diffuse and specular reflections simultaneously makes the surface normal estimation more accurately. In addition, the proposed method can be used for specular removal [31] and intrinsic image decomposition [32]. Parameters characterizing are determined at pixels, so the proposed method could also be used for digital relighting and material classification where dense non-Lambertian reflectance appears.
4. Performance Evaluation on Surface Orientation Estimation
4.1. Evaluations Using Synthetic Images
The first experiment aims to evaluate the effectiveness of surface normal refinement for dense non-Lambertian reflectance using synthetic input images. A scene with six different-coloured spheres were rendered under 32 illuminants using the Blinn-Phong model. The sphere was adopted as the scene geometry since it samples all the possibilities of surface orientations for the visible surface. Different colours of the spheres were introduced for more comprehensive evaluations of the proposed PS method on surfaces with various spectral reflectances. The 32 illuminants were chosen to provide a sufficient number of pixels with dense non-Lambertian reflectance for evaluation. was set at . Three colours of the spheres were red, green and blue with the same of , while the other three spheres were yellow, cyan and magenta with of . The 32 light positions were configured with mm and . The reference plane was located where and . , and were set the same across the field of view as , and 100, respectively. Additive Gaussian noise was introduced with . The image irradiance under the first illuminant is shown by Figure 4a. The parameters of the proposed PS method were configured as: , , , , , and . 100 repeated tests were conducted and the mean value was adopted for evaluation.
Figure 4.
Evaluation of surface normal refinement: (a) Image irradiance under the first illuminant; (b) Angular error of surface orientations without surface normal refinement in degrees; (c) Angular error of surface orientations with surface normal refinement in degrees; (d) Improvement of surface orientation estimation by including surface normal refinement in percentage.
Figure 4b shows the angular error of surface orientation estimation without surface normal refinement. As is shown, the central regions of the spheres where dense non-Lambertian reflectances appear have larger error. By including the proposed surface normal refinement step, the angular errors of surface orientations around the detected dense non-Lambertian reflectance region, shown by a ring, are significantly reduced as shown by Figure 4c. This is where the reflectance parameters are most tuned through the surface normal refinement. Errors in such regions are even smaller than those with sparse non-Lambertian reflectance, which further enhances that making specularities as meaningful signals is beneficial for surface orientation estimation. Figure 4d demonstrates the improvement percentage for quantitative evaluation. The improvement percentage is defined reduction of the error divided by the error without surface normal refinement. The accuracy of surface orientations was enhanced by in median and on average. The first and third quantile values of the improvement were and , respectively. The performance improvements onto the six different-coloured spheres are shown in Table 1. The improvements were obvious for all spheres is significant, implying that the method was applicable to a wide range of surfaces with different spectral reflectances. For spheres that had larger chromatic angle, , the estimations were more accurate. The better estimated led to the more accurate recovery of , resulting in the more reliable initialisation of . Such initialisations of ultimately affected the different improvement performances. Overall, the accuracy was enhancement by including the additional surface normal refinement step and for spectral reflectances with larger chromatic angles, the improvement was more phenomenal.
Table 1.
Improvement on different-coloured spheres.
In the second experiment, the performance improvement due to surface normal refinement was verified onto a wide range of reflectances. Experimental settings and parameters of the proposed method were the same as the first experiment except that different values of , and were applied to represent various surface reflectances when generating synthetic images. The ratio of represents the relative strength between the diffuse and specular components, whereas indicates the width of the specular lobe. The mean, median, first and third quantile values of the improvement were adopted for evaluation and the angular error of estimation was used for analyses. As shown from Table 2, the improvements on all the different reflectances were significant and more obvious for larger value of and . Larger value of suggesting narrower specular lobe made the estimation more accurate since the sparse non-Lambertian reflectance assumption was valid. Similarly, larger value of indicating stronger diffuse components made better estimation due to stronger inliers. More accurate estimation led to bigger improvement from the surface normal refinement. In summary, with the additional surface normal refinement step, the accuracy of surface orientation estimation is enhanced by around on average and the improvement is more obvious for reflectance that has narrower specular lobe and stronger diffuse component.
Table 2.
Evaluation of the improvement for different reflectances.
The third experiment aims to evaluate the overall performance of the proposed colour PS method onto a wide variety of dielectric material reflectances. Twenty-four material BRDFs divided into six categories were evaluated, where the different BRDFs were provided from the MERL database [33]. Experimental settings and the method parameters were exactly the same as the first experiment except that the BRDFs were replaced. The image irradiance for the first six materials under the first illuminant is shown in Figure 5a. The angular errors of the surface orientation estimation are given in Figure 5b. As is shown, the error is not only larger at the near central regions where specularities overlap but also at the boundaries. Boundary pixels in the spheres have shallow grazing angles and the error is due to the lack of modeling of the fresnel reflection in the Blinn-Phong model. Figure 5c shows the performance of surface normal estimation on the 24 materials using box-and-whisker plot. The red and black dot represent the mean and median value, respectively. The lower and upper bound of the box indicates the first and third quantile values. The six colours of the boxes suggest the six material categories. As is shown, the proposed method can accurately estimate for most dielectric materials within 5 degrees on average. The estimation performances on phenolic, plastic and rubber were consistent, whereas those on the wood stain, fabric and acrylic were also acceptable with two exceptions, the violet acrylic and the green fabric. The degradation for violet acrylic was due to its wide specular lobe with small , while the reason for green fabric was because of its small .
Figure 5.
(a) Image irradiance for the first six material BRDFs under the first illuminant; (b) Angular error of surface orientation estimation for the first six material BRDFs; (c) Angular error of surface orientation for the twenty-four dielectric materals.
4.2. Evaluations Using Real Images
The proposed method was evaluated on five different datasets comprised of real images in the DiLigenT database [4]. Parameters of the proposed method were set the same as the first experiment. was estimated as . From the first to fifth column in Figure 6, the results on BUDDHA, BEAR, POT2, READING and GOBLET are respectively shown. Figure 6a shows the image irradiance under the first illuminant, while Figure 6b,c demonstrate the estimated normal map and the angular error of surface orientation estimation, respectively. As is shown from READING, the proposed method is only feasible for surfaces whose and are distinct. Figure 6c shows that the dense non-Lambertian problem where the specularity overlaps is mostly solved for BUDDHA, BEAR and POT2, while deficits still exist on GOBLET, which is because the DRM is not proper to characterize metallic reflectance.
Figure 6.
Evaluations on surface oreintation estimation: (a) Image irradiance under the first illuminant; (b) Estimated normal map; (c) Angular error of surface orientations; (d) Angular error of surface orientations on five datasets using ten different PS methods.
The results were compared with those of nine other PS methods which are listed in Table 3. The results from the nine methods were provided from the DiLigenT database and these methods were representative and well-recognized. It is to be noted that the results of the recent machine learning based techniques reviewed in Introduction are not shown for comparison since the effect of the physics based models is investigated in this paper. Due to the data availability, refs. [21,23] were not involved in the comparison, while the essence of their works in using DRM with known was well-inherited by the proposed method.
Table 3.
Comparative studies of PS methods.
Figure 6d shows the results from ten PS methods on the five datasets. The X-axis represents the method index and the Y-axis indicates the angular error of . The five colours of the bar represent the different datasets. The angular error of is also demonstrated using the box-and-whisker plot similar to Figure 5. As is shown, the proposed method performs well in estimating surface orientations for all the five datasets except GOBLET. The results suggest that modeling reflectance using DRM is proper for surfaces made of dielectric materials. The strength of the proposed method lies on the reliable estimation of with simultaneous specularity detection. The advantage is also accredited by exploiting not only from the diffuse components but also from the specularities owing to the diffuse-specular separation. In spite of its advantages, the proposed method is not effective for metallic surfaces compared with methods, such as [14]. The limitation originates from the fundamental assumption of DRM that are the same across the surface. This assumption is violated for metallic surfaces since the wavelength and geometry exhibit inter-dependency.
5. Conclusions and Future Works
A PS method using colour images dealing with non-Lambertian reflectance has been proposed. The method formulates the imaging photometry using DRM with known specular colour. It extracts surface orientations not only from the diffuse components but also specularities owing to the diffuse-specular separation. Introducing the additional surface refinement step using information from specularities, the proposed method particularly improves the accuracy for surface orientation estimation at pixels where dense non-Lambertian reflectance appear. The simultaneously acquired specular parameters can be applied for more potential functionalities, such as digital relighting and material classification.
From the experiment of validating the effectiveness of the newly proposed surface normal refinement step on surface where dense non-Lambertian reflectance appears, the results indicate that with the additional step, the accuracy is enhanced by around on average and the improvement is more phenominal for surfaces with larger chromatic angles, stronger diffuse components and narrower specular lobes due to the better estimated unit diffuse colour. The result investigating the proposed method applicability on 24 different reflectances of dielectric materials suggests that the average angular error of surface orientation estimation for most materials are within and bigger errors occur at surface patches with shallower grazing angles due to the limitation of the Blinn-Phong model that does not incorporate the fresnel reflection. From the systematic comparison on five datasets with nine other representative methods, the proposed method shows its descent performance on reflectances of dielectric materials and degradation on metallic surface due to the limitation of DRM. The result has also demonstrated that the proposed method is only feasible for surfaces whose diffuse and specular colour are distinct.
This paper presented the first set of results to estimate surface orientations using colour images for non-Lambertian reflectance, while it can be extended in a variety of ways. First, other analytical BRDFs can be employed instead of the Blinn-Phong model to better account for the fresnel reflection. Second, machine learning based models can be incorporated to learn and reduce errors of analytical models. Further, an alternative method can be proposed specifically for surfaces whose diffuse and specular colours are close to extend the method’s applicability. Making the method adaptive is one possible solution. Last but not least, it is also of particular interest to infer surface properties from the estimated specular parameters for the purpose of material classification.
Author Contributions
Conceptualization, B.L. and T.F.; methodology, B.L. and T.F.; software, B.L.; validation, B.L.; formal analysis, B.L.; investigation, B.L.; resources, B.L.; data curation, B.L.; writing—original draft preparation, B.L.; writing—review and editing, T.F.; visualization, B.L.; supervision, T.F.; project administration, T.F.; funding acquisition, T.F. All authors have read and agreed to the published version of the manuscript.
Funding
This work is sponsored in part by US Office of Naval Research (N00014-20-1-2468).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The authors would like to express their sincere gratitude to Tom McKenna at Office of Naval Research for his invaluable advice.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Ackermann, J.; Goesele, M. A survey of photometric stereo techniques. J. Found. Trends Comput. Graph. Vis. 2015, 9, 149–254. [Google Scholar] [CrossRef]
- Klasing, K.; Althoff, D.; Wollherr, D.; Buss, M. Comparison of surface normal estimation methods for range sensing applications. In Proceedings of the 2009 IEEE International Conference on Robotics and Automation, Kobe, Japan, 12–17 May 2009; pp. 3206–3211. [Google Scholar]
- Woodham, R.J. Photometric method for determining surface orientation from multiple images. Opt. Eng. 1980, 19, 139–144. [Google Scholar] [CrossRef]
- Shi, B.; Zhe, W.; Mo, Z.; Duan, D.; Yeung, S.; Tan, P. A benchmark dataset and evaluation for non-Lambertian and uncalibrated photometric stereo. In Proceedings of the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 3707–3716. [Google Scholar]
- Shell, J.R. Bidirectional Reflectance: An Overview with Remote Sensing Applications & Measurement Recommendations. 2004, pp. 37–50. Available online: http://web.gps.caltech.edu/~vijay/Papers/BRDF/shell-04.pdf (accessed on 4 January 2022).
- Nayar, S.K.; Ikeuchi, K.; Kanade, T. Determining shape and reflectance of hybrid surfaces by photometric sampling. IEEE Trans. Robot. Autom. 1990, 6, 418–431. [Google Scholar] [CrossRef]
- Torrance, K.E.; Sparrow, E.M. Theory for off-specular reflection from roughened surfaces. J. Opt. Soc. Am. 1967, 57, 1105–1114. [Google Scholar] [CrossRef]
- Georghiades, A. Incorporating the Torrance and Sparrow model of reflectance in uncalibrated photometric stereo. In Proceedings of the Proceedings Ninth IEEE International Conference on Computer Vision, Nice, France, 13–16 October 2003; pp. 816–823. [Google Scholar]
- Goldman, D.B.; Curless, B.; Hertzmann, A.; Seitz, S.M. Shape and spatially-varying BRDFs from photometric stereo. IEEE Trans. PAMI 2010, 32, 1060–1071. [Google Scholar] [CrossRef] [PubMed]
- Ward, G.J. Measuring and modeling anisotropic reflection. In SIGGRAPH92: Proceedings of the 19th Annual Conference and Exhibition on Computer Graphics and Interactive Techniques; Association for Computing Machinery: New York, NY, USA, 1992; pp. 265–272. [Google Scholar]
- Alldrin, N.G.; Zickler, T.; Kriegman, D.J. Photometric stereo with non-parametric and spatially-varying reflectance. In Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition, Anchorage, AK, USA, 23–28 June 2008; pp. 1–8. [Google Scholar]
- Higo, T.; Matsushita, Y.; Ikeuchi, K. Consensus photometric stereo. In Proceedings of the 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Francisco, CA, USA, 13–18 June 2010; pp. 1157–1164. [Google Scholar]
- Shi, B.; Tan, P.; Matsushita, Y.; Ikeuchi, K. Bipolynomial modeling of low-frequency reflectances. IEEE Trans. PAMI 2014, 36, 1078–1091. [Google Scholar] [CrossRef] [PubMed]
- Ikehata, S.; Aizawa, K. Photometric stereo using constrained bivariate regression for general isotropic surfaces. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA, 23–28 June 2014; pp. 23–28. [Google Scholar]
- Santo, H.; Samejima, M.; Sugano, Y.; Shi, B.; Matsushita, Y. Deep photometric stereo network. In Proceedings of the International Workshop on PBDL in Conjunction with IEEE ICCV, Venice, Italy, 22–29 October 2017; pp. 1–9. [Google Scholar]
- Santo, H.; Samejima, M.; Sugano, Y.; Shi, B.; Matsushita, Y. Deep photometric stereo networks for determining surface normal and reflectances. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 114–128. [Google Scholar] [CrossRef] [PubMed]
- Taniai, T.; Maehara, T. Neural inverse rendering for general reflectance photometric stereo. In Proceedings of the 35th International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018. [Google Scholar]
- Ikehata, S. CNN-PS: CNN-based photometric stereo for general non-convex surfaces. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–18. [Google Scholar]
- Wu, L.; Ganesh, A.; Shi, B.; Matsushita, Y.; Wang, Y.; Ma, Y. Robust photometric stereo via low-rank matrix completion and recovery. In Proceedings of the 10th Asian Conference on Computer Vision, Queenstown, New Zealand, 8–12 November 2010; pp. 703–717. [Google Scholar]
- Ikehata, S.; Wipf, D.; Matsushita, Y.; Aizawa, K. Robust photometric stereo using sparse regression. In Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA, 16–21 June 2012; pp. 318–325. [Google Scholar]
- Barsky, S.; Petrou, M. The 4-source photometric stereo technique for three-dimensional surfaces in the presence of highlights and shadows. IEEE Trans. PAMI 2003, 25, 1239–1252. [Google Scholar] [CrossRef]
- Shafer, S.A. Using colour to separate reflection components. Color Res. Appl. 1985, 10, 210–218. [Google Scholar] [CrossRef]
- Zickler, T.; Mallick, S.P.; Kriegman, D.J.; Belhumeur, P.N. Color subspace as photometric invariants. Int. J. Comput. Vis. 2008, 79, 13–30. [Google Scholar] [CrossRef][Green Version]
- Hartley, R.; Zisserman, A. Chapter 6: Camera Models. In Multiple View Geometry; Cambridge University Press: Cambridge, UK, 2003; pp. 153–177. [Google Scholar]
- Angelopoulou, E. Specular highlight detection based on the fresnel reflection coefficient. In Proceedings of the 2007 IEEE 11th International Conference on Computer Vision, Rio de Janeiro, Brazil, 14–21 October 2007; pp. 1–8. [Google Scholar]
- Blinn, J.F. Models of light reflection for computer synthesized pictures. In Proceedings of the 4th Annual Conference on Computer Graphics and Interactive Techniques, San Jose, CA, USA, 20–22 July 1977; pp. 192–198. [Google Scholar]
- Ngan, A.; Dur, F.; Matusik, W. Experimental validation of analytical BRDF models. In Proceedings of the ACM SIGGRAPH 2004 Sketches, Los Angeles, CA, USA, 8–12 August 2004; p. 90. [Google Scholar]
- Kao, Y.H.; Roy, B.V. Directed Principal Component Analysis. Oper. Res. 2014, 62, 957–972. [Google Scholar] [CrossRef][Green Version]
- Pope, A.J. The Statics of Residuals and the Detection of Outliers; NOAA Technical Report; 1976; Volume 1, p. 65. Available online: https://www.ngs.noaa.gov/PUBS_LIB/TRNOS65NGS1.pdf (accessed on 4 January 2022).
- Liu, C.; Freeman, W.T.; Szeliski, R.; Kang, S.B. Noise estimation from a single image. In Proceedings of the 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), New York, NY, USA, 17–22 June 2006; pp. 901–908. [Google Scholar]
- Artusi, A.; Banterle, F.; Chetverikov, D. A survey of specularity removal methods. Comput. Graph. Forum 2011, 30, 2208–2230. [Google Scholar] [CrossRef]
- Barrow, H.; Tanenbaum, J. Recovering intrinsic scene characteristic from images. Proc. Comput. Vis. Syst. 1978, 2, 3–26. [Google Scholar]
- Matusik, W.; Pfister, H.; Br, M.; McMillan, L. A Data-Driven Reflectance Model. ACM Trans. Graph. 2003, 22, 759–769. [Google Scholar] [CrossRef]
- Shi, B.; Tan, P.; Matsushita, Y.; Ikeuchi, K. Elevation angle from reflectance monotonicity: Photometric stereo for general isotropic reflectances. In Proceedings of the European Conference on Computer Vision, Florence, Italy, 7–13 October 2012; pp. 455–468. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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/).





