Provided is an image processing device, etc., capable of preferentially extracting an image useful for diagnosis from a group of images obtained by scanning the inside of a tract in vivo in a sequential order. This image processing device (1) is provided with: a detection section (110) for detecting abnormality images, which are images containing abnormal regions, from a group of a series of images acquired by sequentially scanning the inside of a tract in vivo an abnormality image group-extracting section (120) for extracting groups of abnormality images containing the same abnormal region from the abnormality images detected by the detection section (110) and a representative image-extracting section (130) for extracting a representative image from each group of abnormality images on the basis of the importance and/or visibility of the abnormal region.La présente invention se rapporte à un dispositif de traitement dimage, etc. capable dextraire une image de préférence utile pour le diagnostic à partir dun groupe dimages obtenues par balayage de lintérieur dun tractus in vivo dans un ordre séquentiel. Ce dispositif de traitement dimage (1) est pourvu : dune section de détection (110) pour détecter des images danomalies, qui sont des images contenant des zones anormales, dun groupe dune série dimages acquises en balayant séquentiellement lintérieur dun tractus in vivo une section dextraction de groupes dimages danomalies (120) pour extraire des groupes dimages danomalies contenant la même région anormale des images danomalies détectées par la section de détection (110) et une section dextraction dimage représentative (130) pour extraire une image représentative de chaque groupe dimages danomalies sur la base de limportance et/ou de la visibilité de la région anormale.生体の管腔内を時系列順に撮像した画像群から、診断に有益な画像を優先的に抽出することができる画像処理装置等を提供する。画像処理装置1は、生体の管腔内を順次撮像することにより取得された一連の画像群から、異常領域を含む画像である異常画像を検出する検出部110と、該検出部110が検出した異常画像から、同一の異常領域を含む異常画像群を抽出する異常画像群抽出部120と、各異常画像群から、異常領域の重要度と視認