Photometric Stereo Reconstruction Dr Maria E Angelopoulou Photometric

  • Slides: 29
Download presentation
Photometric Stereo Reconstruction Dr. Maria E. Angelopoulou

Photometric Stereo Reconstruction Dr. Maria E. Angelopoulou

Photometric Stereo (PS) Basics l l l Input images: same viewpoint / different illumination

Photometric Stereo (PS) Basics l l l Input images: same viewpoint / different illumination directions Varying albedo values → minimum of 3 illumination directions The measured pixel intensities and actual albedo for a given patch o are related as follows (1) l l 2 Outputs: orientation & albedo of each surfacet Height map produced after integration of the surface normals.

Pros & Cons of PS Compared to Conventional Stereo l Pros + ability to

Pros & Cons of PS Compared to Conventional Stereo l Pros + ability to operate on featureless objects + absence of feature matching errors + computational simplicity l Cons - 3 controlled imaging conditions inaccurate simplifying assumptions need for off-line calibration sessions & exclusive access to the imaging system

Objective l l l 4 Provide an autonomous, purely data-driven PS reconstruction system that

Objective l l l 4 Provide an autonomous, purely data-driven PS reconstruction system that is suitable for real-life applications. Focus on: uncalibrated flatfielding & uncalibrated light estimation. Diffuse light component as a degradation factor for intended directional lighting. Indicate up to which ratio of ambient to directional light component photometric stereo gives useful reconstruction outputs.

The Inverse-Square Law of Light Propagation l l l 5 Fundamental assumption of PS:

The Inverse-Square Law of Light Propagation l l l 5 Fundamental assumption of PS: The variation in brightness for a given pixel is solely dependent on the angle between the illumination vector and the surface normal at the corresponding real-world surfacet. In practice the inverse-square law of light propagation renders the above assumption inaccurate. To correct the input data appropriately, flatfielding may be employed. Flatfielding employs a set of reference images captured at a dedicated imaging session under the same imaging conditions as the main session. The illumination variations of the reference images is solely due to inhomogeneities of the system.

Standard Calibrated Flatfielding Technique l l Use a grey piece of card as calibrating

Standard Calibrated Flatfielding Technique l l Use a grey piece of card as calibrating device. Photograph the card multiple times under the same illumination as the main imaging session. Perform 2 D 2 nd order polynomial fitting on the flatfielding reference images to smooth out high frequency noise. This gives the illumination fields. For every point of the image plane, the new pixel value is computed as (2) 6

Standard Calibrated Flatfielding Technique 7

Standard Calibrated Flatfielding Technique 7

Uncalibrated Flatfielding l l l 8 Intensity values decrease across the kth illumination field

Uncalibrated Flatfielding l l l 8 Intensity values decrease across the kth illumination field from the brightest point to the darkest point. Due to the inverse-square law, the 2 D illumination field can be approximated with Only radial distance matters, and thus (3) (4) Placing the origin of the Cartesian coordinate system at the brightest point: (5)

Uncalibrated Flatfielding l Employing constraints (4) and (5), we get: (6) l In (6)

Uncalibrated Flatfielding l Employing constraints (4) and (5), we get: (6) l In (6) the origin of the coordinate system moves to the brightest point of each kth image. Instead of moving the origin for each k, it is more convenient to express (6) on the fixed image coordinate system as: (7) 9

Uncalibrated Flatfielding l Find the values of the brightest and darkest points: (8) (10)

Uncalibrated Flatfielding l Find the values of the brightest and darkest points: (8) (10) (9) l 10 Consider the location of the brightest and darkest points: (11)

Uncalibrated Flatfielding 11

Uncalibrated Flatfielding 11

Uncalibrated Flatfielding 12

Uncalibrated Flatfielding 12

Uncalibrated Flatfielding 13

Uncalibrated Flatfielding 13

PS Reconstruction no flatfielding, (b) calibrated flatfielding, (c) uncalibrated flatfielding (a) 14

PS Reconstruction no flatfielding, (b) calibrated flatfielding, (c) uncalibrated flatfielding (a) 14

PS Reconstruction 15

PS Reconstruction 15

Standard Calibrated Estimation of Illumination Directions - The relationship between surface gradients and brightness

Standard Calibrated Estimation of Illumination Directions - The relationship between surface gradients and brightness is captured by the reflectance map of the surface. - A Lambertian sphere illuminated by a point source in has a reflectance map of the form: direction (12) - Let denote the global maximum of the kth reflectance map. It is 16 (13)

Standard Calibrated Estimation of Illumination Directions - Thus the surface orientation that maximizes the

Standard Calibrated Estimation of Illumination Directions - Thus the surface orientation that maximizes the Lambertian reflection component is the one for which the normal vector points to the illumination source! - Let the gradient at surface patch o be. - If patch o is projected at pixel , then the measured image intensity at that pixel is given by the image irradiance equation as. (14) 17

Standard Calibrated Estimation of Illumination Directions - Due to equations (13) and (14) the

Standard Calibrated Estimation of Illumination Directions - Due to equations (13) and (14) the global maximum of the Lambertian reflectance map corresponds to the maximum intensity measurement , the luminous dot. If the latter resides at and is the projection of the real-world patch m then 18 (15) - If a Lambertian sphere is photographed, the normal vector can be recovered at any point and can be estimated once the luminous dot is identified.

Uncalibrated Estimation of Illumination Directions l l The proposed uncalibrated illumination vector technique targets

Uncalibrated Estimation of Illumination Directions l l The proposed uncalibrated illumination vector technique targets the human face class. A human face can be realistically approximated with a 3 D ovoid that is reconstructed on top of the face area. A 3 D ovoid is given in the xyz Cartesian system by where 19

Uncalibrated Estimation of Illumination Directions 20

Uncalibrated Estimation of Illumination Directions 20

Uncalibrated Estimation of Illumination Directions 21

Uncalibrated Estimation of Illumination Directions 21

PS Reconstruction 22

PS Reconstruction 22

PS Reconstruction 23

PS Reconstruction 23

PS Reconstruction 24

PS Reconstruction 24

The Effect of Diffuse Light on PS Reconstruction l l l PS requires the

The Effect of Diffuse Light on PS Reconstruction l l l PS requires the subject to be illuminated in turn by directional light sources. The ambient light component that is present constitutes a degrading factor that reduces the directionality of the intended directional component. Objectives: – – 25 Assess the PS robustness with respect to the ratio of ambient to directional illuminance. Find the illuminance ratio where reconstruction is no longer informative of the actual surface.

The Effect of Diffuse Light on PS Reconstruction: Experimental Setup l l 26 Floodlight

The Effect of Diffuse Light on PS Reconstruction: Experimental Setup l l 26 Floodlight connected to a dimmer provides uniform ambient illumination of varying illuminance. Light-/Flash-meter used to measure both ambient and directional components.

The Effect of Diffuse Light on PS Reconstruction λ=9 λ=11 27

The Effect of Diffuse Light on PS Reconstruction λ=9 λ=11 27

Conclusions l l 28 The proposed uncalibrated flatfielding technique is generalpurpose and renders similar

Conclusions l l 28 The proposed uncalibrated flatfielding technique is generalpurpose and renders similar reconstruction results as its calibrated counterpart. The proposed uncalibrated light estimation technique is a practical approach that targets the human face class. The above techniques enable autonomous and reliable surface reconstruction for challenging real-world applications, such as the on-line capturing of human faces. In the presence of ambient light, PS reconstruction quality decreases linearly as the illuminance ratio of the diffuse to the directional light component increases. PS provides informative outputs for illuminance ratios as high as λ=9.

Thanks for your attention! 29

Thanks for your attention! 29