In order to provide a data processing technique for easily and suitably executing
an integrating process for a plurality of image groups obtained successively from
different directions against the object to be the base for generating a three-dimensional
shape data of an object, while the object SB in a first posture placed on a rotary
stage is being rotated, images of the object SB are successively photographed by
a photographing device so that a first image group is obtained. The posture of
the object SB is changed into a second posture, so that a second image group of
the object SB is obtained similarly. Corresponding points Sp1, Sp2,
Sp3 and the like of the object SB are specified on a partial first image
extracted from the first image group and a partial second image extracted from
the second image group. Conversion parameters of the first and second image groups
are calculated from the information about the specified plural corresponding points,
so that the integrating process is executed. As a result, the integrating process
for the plural image groups can be executed easily and suitably.