Problem to be solved: to provide a mechanism capable of suppressing the occurrence of a return of a layer in a synthetic tomographic image by taking a plurality of tomographic images having different depths of the eye to be examined and generating the synthetic tomographic image.The optical path length of the measurement light corresponding to the optical path length of the reference light is set to the deeper side (z direction) of the eye to be examined in the first photographing range CA of the eye to be examined, and the first tomographic image of the first photographing range CA is photographed, and the optical path length of the measurement light which coincides with the optical path length of the reference light. The position is set to the shallow side in the Z direction in the second photographing range CB which is located on the shallow side in the Z direction than the first photographing range Ca and partially overlapping in the first photographing range Ca and the deep side in the Z directionThe second tomographic image of the second photographing range CB is photographed. A composite tomographic image is generated by combining the first tomographic image with the second tomographic image.Diagram【課題】被検眼の深さ方向が異なる複数の断層画像を撮影してその合成断層画像を生成する際に、合成断層画像に層の折り返しが生じることを抑制できる仕組みを提供する。【解決手段】参照光の光路長と一致する測定光の光路長の位置を、被検眼の第1の撮影範囲Caにおける被検眼の深さ方向(Z方向)の深い側に設定して、第1の撮影範囲Caに係る第1の断層画像を撮影し、また、参照光の光路長と一致する測定光の光路長の位置を、第1の撮影範囲CaよりもZ方向の浅い側に位置し且つ第1の撮影範囲CaとZ方向の深い側で一部重複する領域wを有する第2の撮影範囲CbにおけるZ方向の浅い側に設定して、第2の撮影範囲Cbに係る第2の断層画像を撮影する。その上で、第1の断層画像と第2の断層画像とを合成して合成断層画像を生成する。【選択図】図7