PROBLEM TO BE SOLVED: To provide an image processing device that can acquire an appropriate layer boundary from a tomographic image of the ocular fundus.SOLUTION: An image processing device includes detection means for detecting a layer boundary from a tomographic image of the ocular fundus, determination means for determining whether or not folding is generated in the tomographic image, and correction means for correcting a layer boundary detected by the detection means of a part where folding is generated when it is determined by the determination means that folding is generated.SELECTED DRAWING: Figure 8COPYRIGHT: (C)2018,JPO&INPIT【課題】眼底の断層画像から適切な層境界を得る画像処理装置を提供する。【解決手段】眼底の断層画像から層境界を検出する検出手段と、前記断層画像に折返しが発生しているか否かを判定する判定手段と、前記判定手段により前記折り返しが発生していると判定された場合、前記折り返しが発生している部分の前記検出手段により検出された層境界を補正する補正手段と、を備える。【選択図】図8