A surface shape measuring apparatus, comprising: a stereo-photographing
part 3 for photographing an object 1 in stereo; a relative position
changing part 4 for changing the positional relation between the
stereo-photographing part 3 and the object 1; means 5 for storing
stereo-photographing parameters in a plurality of directions from which
the stereo-photographing part 3 photographs the object 1; a stereo-image
generating means 6 for controlling the stereo-photographing part 3 to
photograph the object 1 from the plurality of directions with the stored
stereo-photographing parameters and generating stereo images of the
object 1; and a surface shape processing means 7 for measuring the
surface shape of the object 1 based on the stereo images of the object 1.