PROBLEM TO BE SOLVED: To provide an image processing apparatus, an image processing method and an image processing program, capable of extracting a dark portion area with high accuracy by appropriately determining whether an area is a dark portion area or not.SOLUTION: In the image processing apparatus 1, a calculation unit part 15 includes: a low-luminance area detecting unit 151 for detecting a low-luminance area based on the pixel value of each pixel of an intraluminal image a peripheral feature amount calculating unit 16 for calculating a peripheral feature amount based on the pixel values of the periphery of the low-luminance area and a dark portion area determining unit 24 for determining whether the low-luminance area is a dark-portion area or not based on the peripheral feature amount.COPYRIGHT: (C)2012,JPO&INPIT【課題】暗部領域か否かを適正に判別し、暗部領域を精度良く抽出することができる画像処理装置、画像処理方法、および画像処理プログラムを提供すること。【解決手段】本発明のある実施の形態の画像処理装置1において、演算部15は、管腔内画像の各画素の画素値をもとに低輝度領域を検出する低輝度領域検出部151と、低輝度領域の周囲の画素値をもとに周囲特徴量を算出する周囲特徴量算出部16と、周囲特徴量をもとに、低輝度領域が暗部領域か否かを判別する暗部領域判別部24とを備える。【選択図】図1