• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

A new shape-from-shading algorithm
based on Phong model
 

ZHAO Zhongbin,ZHANG Zhiyi,XING Caiyan   

  1. (College of Information Engineering,Northwest A & F University,Xi’an 712100,China)
  • Received:2016-08-16 Revised:2016-12-07 Online:2018-03-25 Published:2018-03-25

Abstract:

Focusing on the big error in traditional ShapeFromShading (SFS) algorithms for hybrid surfaces, a new SFS algorithm for a single image under hybrid surfaces based on perspective projection is proposed. In this paper, the Phong reflection model is used to describe the reflectance property of the surfaces. Assuming that the light source is located at the camera’s optical center, the image irradiance equation is established for this model. Then, the image irradiance equation is transformed into the HamiltonJacobi Partial Differential Equation (PDE) including the shape information of the surfaces. Using the highorder LaxFriedrichs (LLF) flux splitting scheme and fiveorder Weighted Essentially NonOscillatory (WENO) scheme approximates the viscosity solution of the PDE. Finally, the heights of threedimensional surface are obtained. Experimental results show that themaximum error and the mean error of 3D surface recovery of the new algorithm are significantly reduced, compared with the traditional algorithm.
 

Key words: shape from shading, Phong reflection model, perspective projection, viscosity solution