An electronic device and method are provided for shape-refinement of a triangular 3D mesh using a modified shape from shading (SFS) scheme. The electronic device generates a flat two-dimensional (2D) mesh based on an orthogonal projection of an initial three-dimensional (3D) triangular mesh onto an image plane comprising a plurality of square grid vertices. The electronic device estimates a final grid depth value for each square grid vertex of the flat 2D mesh based on the modified SFS method. The modified SFS scheme corresponds to an objective relationship between a reference grid image intensity value for each square grid vertex of the plurality of square grid vertices, an initial grid depth value, and a grid albedo value. The electronic device estimates the final 3D triangular mesh based on the initial 3D triangular mesh and the estimated final grid depth value.
展开▼