摘要 |
Provided is a technology that can be applied to tracking of a moving image because the technology accurately detects minute positional deviations. The ophthalmologic apparatus comprises an optical system, a rotational movement amount-calculating section, an alignment section, a parallel movement amount-calculating section, a driving section, and a control unit. The optical system is used to take a video of an eye to be tested. The rotational movement amount-calculating section calculates the amount of rotational movement between a first image and a second image contained in the moving image acquired by the optical system. The alignment section performs alignment in the rotation direction between the first image and the second image on the basis of the rotational movement amount calculated by the rotational movement amount-calculating section. The parallel movement amount-calculating section calculates the amount of parallel movement between the first image and the second image by performing phase restriction correlation for the first image and second image, which have been aligned by the alignment section. The driving section moves the optical system. The control unit controls the driving section on the basis of the parallel movement amount calculated by the parallel movement amount-calculating section. |