An image processing apparatus according to an embodiment includes a variation computing unit (751) that computes a variation between an inside-canal image of time-series images that are captured by a capsule endoscope that moves inside a canal and are saved in a transportable recording medium (50) and another image that is located near the image in a time-line, an interval setting unit (752) that sets a time-series interval on the basis of a variation between images, and an area classifying unit (753) that performs, in an image included in the time-series interval, classification into a plurality of category areas using a classification reference for each time-series interval.