PROBLEM TO BE SOLVED: To provide a technology capable of being applied to tracking for a moving image by accurately detecting a minute positional deviation amount.SOLUTION: An ophthalmologic apparatus includes an optical system, a rotational movement amount calculation part, a positioning part, a parallel movement amount calculation part, a drive part and a control part. The optical system is used for photographing a moving picture of an eye to be examined. The rotational movement amount calculation part calculates a rotational movement amount between a first image and a second image contained in the moving picture acquired by the optical system. The positioning part performs positioning in a rotational direction between the first image and the second image based on the rotational movement amount calculated by the rotational movement amount calculation part. The parallel movement amount calculation part calculates a parallel movement amount between the first image and the second image by subjecting the first image and the second image positioned by the positioning part to phase restriction correlation processing. The drive part moves the optical system. The control part controls the drive part on the basis of the parallel movement amount calculated by the parallel movement amount calculation part.COPYRIGHT: (C)2015,JPO&INPIT【課題】微小な位置ずれ量を正確に検出することにより動画像に対するトラッキングへの適用が可能な技術を提供する。【解決手段】眼科装置は、光学系と、回転移動量算出部と、位置合わせ部と、平行移動量算出部と、駆動部と、制御部とを含む。光学系は、被検眼を動画撮影するために用いられる。回転移動量算出部は、光学系により取得された動画像に含まれる第1画像と第2画像との間の回転移動量を算出する。位置合わせ部は、回転移動量算出部により算出された回転移動量に基づいて第1画像と第2画像との間の回転方向の位置合わせを行う。平行移動量算出部は、位置合わせ部による位置合わせがなされた第1画像と第2画像とに対し位相限定相関処理を施すことにより、第1画像と第2画像との間の平行移動量を算出する。駆動部は、光学系を移動させる。制御部は、平行移動量算出部により算出された平行移動量に基づいて、駆動部を制御する。【選択図】図3