An image processing device, image processing method and image processing program are provided which are able to identify with great accuracy abnormal portions and other objects having the same kind of colour information as the abnormal portion. The image processing device has an abnormal portion candidate area detection unit (110) for detecting 3+3 candidate regions for abnormal portions based on colour information for each pixel constituting an image inside a lumen, a boundary vicinity pixel specifying unit (120) for specifying pixels in the vicinity of a boundary with a candidate region, a feature calculating unit (130) for calculating feature quantities based on the pixel values of pixels adjacent to a boundary, and an abnormal portion candidate area identification unit 140 for identifying an abnormal portion region based on feature quantities.Linvention concerne un dispositif de traitement dimage, un procédé de traitement dimage et un programme de traitement dimage qui sont aptes à identifier, avec une précision importante, des parties anormales et dautres objets ayant le même type dinformations de couleur que la partie anormale. Le dispositif de traitement dimage a une unité de détection de zone candidate de partie anormale (110) pour détecter 3+3 régions candidates pour des parties anormales sur la base dinformations de couleur pour chaque pixel constituant une image à lintérieur dune lumière, une unité de spécification de pixel de voisinage de contour (120) pour spécifier des pixels dans le voisinage dun contour avec une région candidate, une unité de calcul de caractéristique (130) pour calculer des quantités de caractéristique sur la base des valeurs de pixel de pixels adjacents à un contour, et une unité didentification de zone candidate de partie anormale (140) pour identifier une région de partie anormale sur la base de quantités de caractéristique.異常部と、該異常部と同種の色情報を有する他の被写体とを精度良く識別できる画像処理装置、画像処理方法、及び画像処理プログラムを提供する。画像処理装置は、被検体の管腔内を撮像した画像を構成する各画素の色情報を基に異常部