Provided are an image processing apparatus, an image processing method, and an image processing program that make it possible to differentiate between an abnormal portion and a blood vessel, and properly detect the abnormal portion. An image processing apparatus includes: an abnormal candidate region detection unit 110 that detects an abnormal candidate region, as a candidate region for an abnormal portion, from an intraluminal image obtained by capturing an image of an inside of a lumen of a subject a tubular region detection unit 120 that detects a tubular region from the intraluminal image a connectivity determination unit 130 that determines whether the abnormal candidate region and the tubular region are connected in a region of a color similar to that of the tubular region and an abnormality determination unit 140 that determines whether the abnormal candidate region is the abnormal portion, based on results of the determination by the connectivity determination unit 130.