摘要 |
According to an embodiment, a second calculator calculates a three-dimensional position of a measurement position and error in the three-dimensional position using a first image, the measurement position, a second image, and a correspondence position. A selection unit determines whether there is an image pair, in which error in the three-dimensional position becomes smaller than the error calculated by the second calculator, from among image pairs of the plurality of images, when there is an image pair, selects the image pair, and when there is no image pair, decides on the three-dimensional position. Each time an image pair is selected, the second calculator calculates a new three-dimensional position of the measurement position and error using new first and second images each included in the image pair, and first and second projection positions where the three-dimensional positions are projected onto the new first and second images, respectively.
|