The method was run with the input of the
smoothed mesh and the five images, yielding a dense
normal map. The estimated normal map was then
compared to the ground truth normal map: the an-
gles between the corresponding normals were mea-
sured, in degrees, and the mean of the angles gave
the magnitude of the error. Since the method is non-
deterministic because of RANSAC, it was run 10
times resulting the error of 1.85
◦
±0.1
◦
that is sig-
nificantly smaller than the error of the normals of
the input smoothed mesh, which is 7.55
◦
. Note that
the latter is also not too big. This is because the
mean of the angles was considered: the surface had
only a relatively small bumpy part, while larger parts
of the surface were smooth. Obviously, normals of
smooth parts were approximated precisely either be-
fore and after photometric estimation, and the small
errors (≈ 1
◦
) of them prevented the mean from grow-
ing too large.
To demonstrate the efficiency of the method more
clearly, the pictures of the normal maps are also pre-
sented. Fig. 1 contains the ground truth and the es-
timated normal maps, as well as their difference be-
fore and after applying the method. Pixel intensities
of the normal maps represent the deviation of the nor-
mal vectors from a fixed unit vector. These intensities
are calculated as 255 −3n
d
, where n
d
is the angular
deviation in degrees. Pixel intensities of the differ-
ence maps show the errors in angle: when the error is
n
e
degrees, pixel intensity is 128 + 2n
e
. The bumps
are clearly visible in the difference map before using
the method, but almost perfectly disappear after that.
We have tested the method for real datasets, as
well. The first dataset consists of the 3D mesh of a
Plaquette and seven images of the object taken from
the same viewpoint under varying illumination. To
provide lighting, a simple table-lamp was used and
moved in space. Fig. 2 shows three of the input im-
ages, the input 3D model and the resulting normal
map.
The second dataset consists of a Frog model and
five input images. (See Fig. 3.) Although it is hard to
evaluate the result based on the map presented, com-
paring it to the input images shows that the locations
of the bumps are precise.
The third dataset (Fig. 4) contain a wooden object
in the shape of a Bottle. The dataset consists of the 3D
mesh and seven images about the object. The results
of the method applied for the three datasets demon-
strate that our technique is suitable for detecting even
fine roughness.
4 CONCLUSION
In this paper we presented a novel method to refine
the geometry of 3D models of real objects. The pho-
tometric stereo based method uses a number of input
images taken from the same viewpoint under vary-
ing lighting, supplemented with an initial sparse 3D
mesh. The surface reflectance is assumed to be Lam-
bertian, but normals, albedos and lighting properties
are unknown.
The method solves the problem in two steps. First,
the initial surface mesh is used to calibrate light
sources. This problem is traced back to the well
known calibration–estimation problem, and the so-
lution is robustified by applying the RANSAC algo-
rithm. Second, dense normal and albedo maps are ex-
tracted using the calibrated setup. The effectiveness
of the method was demonstrated both on synthetic and
real data.
ACKNOWLEDGEMENTS
The author thank Dmitry Chetverikov and Levente
Hajder for their comments on this paper. This work
is supported by EU Network of Excellence MUSCLE
(FP6-507752).
REFERENCES
Belhumeur, P. N., Kriegman, D. J., and Yuille, A. L. (1999).
The bas-relief ambiguity. International Journal of
Computer Vision, 35(1):33–44.
Drbohlav, O. and
ˇ
Sara, R. (2001). Unambigous determina-
tion of shape from photometric stereo with unknown
light sources. In Proc. 8
th
IEEE International Confer-
ence on Computer Vision, pages 581–586.
Fischler, M. A. and Bolles, R. C. (1981). Random sample
consensus: a paradigm for model fitting with appli-
cations to image analysis and automated cartography.
Communications of the ACM, 24(6):381–395.
Hartley, R. and Zisserman, A. (2000). Multiple View Geom-
etry in Computer Vision. Cambridge University Press.
Koenderink, J. J. and Van Doorn, A. J. (1997). The generic
bilinear calibration-estimation problem. International
Journal of Computer Vision, 23(3):217–234.
Lensch, H. P., Kautz, J., Goesele, M., Heidrich, W., and Sei-
del, H.-P. (2001). Image-based reconstruction of spa-
tially varying materials. In Proc. 12
th
Eurographics
Workshop on Rendering Techniques, pages 103–114.
Lensch, H. P., Kautz, J., Goesele, M., Heidrich, W., and
Seidel, H.-P. (2003). Image-based reconstruction of
spatial appearance and geometric detail. ACM Trans-
actions on Graphics, 22(2):234–257.
USING PHOTOMETRIC STEREO TO REFINE THE GEOMETRY OF A 3D SURFACE MODEL
359