Abstract
We present a new shape from shading algorithm, extending to the single-input case, a recently introduced approach to the photometric motion process. As proposed by Pentland, photometric motion is based on the intensity variation, due to the motion, at a given point on a rotating surface. Recently, an alternative formulation has also appeared, based on the intensity change at a fixed image location. Expressing this as a function of reflectance-map and motion-field parameters, a constraint on the shape of the imaged surface can be obtained. Coupled with an affine matching constraint, this has been shown to yield a closed-form expression for the surface function. Here, we extend such formulation to the single-input case, by using the Green’s function of an affine matching equation to generate an artificial pair to the input image, corresponding to an approximate rendition of the imaged surface under a rotated view. Using this, we are able to obtain high quality shape-from-shading estimates, even under conditions of unknown reflectance map and light source direction, as demonstrated here by an extensive experimental study.
Similar content being viewed by others
References
Zhang R, Tsai P-S, Cryer JE, Shah M (1999) Shape from shading: a survey. IEEE Trans Pattern Anal Mach Intell 21:690–706
Woodham RJ (1980) Photometric method for determining surface orientation from multiple images. Opt Eng 19(1):139–144
Torreão JRA, Fernandes JL (1998) Matching photometric stereo images. J Opt Soc Am A 15(12):2966–2975
Torreão JRA (2001) A Green’s function approach to shape from shading. Pattern Recogn 34:2367–2382
Torreão JRA (1999) A new approach to photometric stereo. Pattern Recognit Lett 20(5):535–540
Pentland AP (1991) Photometric motion. IEEE Trans Pattern Anal Mach Intell 13(9):879–890
Pentland AP (1990) Linear shape from shading. Int J Comput Vis 4:153–162
Torreão JRA, Fernandes JL, Leitão HCG (2007) A novel approach to photometric motion. Image Vis Comput 27:126–135
Torreão JRA, Fernandes JL (2004) From photometric motion to shape from shading. In: Proceedings of XVII Brazilian symposium on computer graphics and image processing. IEEE Computer Society, pp 186–192
Brooks MJ, Horn BKP (1985) Shape and source from shading. In: Proceedings of international conference on artificial intelligence, pp 932–936
Frankot RT, Chellappa R (1988) A method for enforcing integrability in shape from shading algorithms. IEEE Trans Pattern Anal Mach Intell 10:439–451
Torreão JRA (1995) Bayesian shape estimation: shape from shading and photometric stereo revisited. Mach Vis Appl 8(3):163–172
Worthington PL, Hancock ER (1999) New constraints on data-closeness and needle map consistency for shape-from-shading. IEEE Trans Pattern Anal Mach Intell 21:1250–1267
Samaras D, Metaxas D (2003) Incorporating illumination constraints in deformable models for shape from shading and light direction estimation. IEEE Trans Pattern Anal Mach Intell 25(2):247–264
Kimmel R, Bruckstein AM (1995) Tracking level sets by level sets: a method for solving the shape from shading problem. Comput Vis Image Underst 62(1):47–58
Horn BKP (1970) Shape from shading: a method for obtaining the shape of a smooth opaque object from one view. PhD Thesis, MIT Press, Cambridge, MA
Oliensis J, Dupuis P (1993) A global algorithm for shape from shading. In: Proceedings of international conference on computer vision, pp 692–701
Pentland AP (1984) Local shading analysis. IEEE Trans Pattern Anal Mach Intell 6:170–187
Lee CH, Rosenfeld A (1985) Improved methods of estimating shape from shading using the light source coordinate system. Artif Intell 26:125–143
Tsai PS, Shah M (1994) Shape from shading using linear approximation. Image Vis Comput 12(8):487–498
Durou J-D, Falcone M, Sagona M (2008) Numerical methods for shape from shading. CVIU 109:22–43
Falcone M, Sagona M (1997) An algorithm for the global solution of the shape from shading model. In: Proceedings of 9th international conference on image analysis and processing. Lecture Notes in Computer Science, vol 1310, pp 596–603
Daniel P, Durou J-D (2000) From deterministic to stochastic methods for shape from shading. In: Proceedings of 4th Asian conference on computer vision, pp 187–192
Hasegawa JK, Tozzi CL (1996) Shape from shading with perspective projection and camera calibration. Comput Graph 20(3):351–364
Prados E, Faugeras O, Camilli F (2004) Shape from shading, a well posed problem? Technical Report no. 5297, INRIA-Sophia Antipolis
Angelopoulou E, Williams J (1999) Photometric surface analysis in a tri-luminal environment. In: Proceedings of international conference on computer vision, pp 442–447
Sakarya U, Erkmen I (2003) An improved method of photometric stereo using local shape from shading. Image Vis Comput 21:941–954
Joshi MV, Chaudhuri S (2005) Joint blind restoration and surface recovery in photometric stereo. J Opt Soc Am A 22(6):1066–1076
Hertzmann A, Seitz S (2005) Example-based photometric stereo: shape reconstruction with general, varying BRDFs. IEEE Trans PAMI 27(8):1254–1264
Basri R, Jacobs D, Kemelmacher I (2007) Photometric stereo with general, unkown lighting. Int J Comput Vis 72(3):239–257
Zhang R, Tsai P-S, Shah M (1996) Photomotion. Comput Vis Image Underst 63(2):221–231
Fua P, Leclerc YG (1995) Object-centered surface reconstruction: combining multi-image stereo and shading. Intl J Comput Vis 16(1):35–56
Samaras D, Metaxas D, Fua P, Leclerc Y G (2000) Variable albedo surface reconstruction from stereo and shape from shading. In: Proceedings of IEEE computer vision and pattern recognition, pp 480–487
Torreão JRA (2003) Geometric-photometric approach to monocular shape estimation. Image Vis Comput 21:1045–1061
Torreão JRA (2007) Disparity estimation through Green’s functions of matching equations. Biol Cybern 97:307–316
Ferreira P E Jr, Torreão JRA, Carvalho PCP, Vieira MB (2008) Motion synthesis through 1D affine matching. Pattern Anal Appl 11:45–58
Marcelja S (1980) Mathematical description of the responses of simple cortical cells. J Opt Soc Am 70:1297–1300
Ohzawa I, DeAngelis GC, Freeman RD (1990) Stereoscopic depth discrimiantion in the visual cortex: neurons ideally suited as disparity detectors. Science 249:1037–1041
Fanany MI, Kumuzawa I (2004) A neural network for recovering 3D shape from erroneous and few depth maps of shaded images. Pattern Recognit Lett 25(4):377–389
Prados E, Faugeras O, Rouy E (2002) Shape from shading and viscosity solutions. Technical Report no. 4638, INRIA-Sophia Antipolis
Samaras D, Metaxas D (2000) Incorporating illumination constraints in deformable models. In: Proceedings of IEEE computer vision and pattern recognition, pp 322–329
Torreão JRA, Amaral MS (2006) Efficient, recursively implemented differential operator, with application to edge detection. Pattern Recognit Lett 27(9):987–995
Lehky SR, Sejnowski TJ (1988) Network model of shape-from-shading: neural function arises from both receptive and projective fields. Nature 333:452–454
Author information
Authors and Affiliations
Corresponding author
Appendix
Appendix
Here, we derive the Green’s function of the differential equation (21). Identifying k ≡ a/σ 2, let us rewrite that equation as
The Green’s function, G(x,x 0), will then satisfy
The impulse function vanishes identically for x > x 0 or x < x 0, and thus G(x,x 0) will be the homogeneous solution to (32), as long as x ≠ x 0. This is easily found to be the Gabor function
On the other hand, at x = x 0, G(x,x 0) must be such that the left-hand side of (32) yields an impulse discontinuity. Assuming G(x,x 0) to be continuous, and integrating both sides of (32) with respect to x, around x = x 0, we find that this requires a discontinuity in derivative at x 0, namely,
where \( x_{0 + } = x_{0} + \varepsilon , \) and \( x_{0 - } = x_{0} - \varepsilon , \) for an infinitesimal ε.
Bearing such conditions in mind, we find that a bounded G(x, x 0), tending to zero at infinity, can be obtained as the imaginary part of the complex kernel
K(x,x 0) will then, by construction, satisfy (32) for x > x 0 or x < x 0, there remaining only the factor N(x 0) to be determined from the discontinuity condition of (34). After some trivial manipulation, this yields
and we obtain
Substituting W(x) from (33), we finally get
thus completing our proof.
Rights and permissions
About this article
Cite this article
Fernandes, J.L., Torreão, J.R.A. Shape from shading through photometric motion. Pattern Anal Applic 13, 35–58 (2010). https://doi.org/10.1007/s10044-009-0156-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10044-009-0156-z