1. An image processing apparatus comprising: a histogram creation unit for creating a pixel value histogram of an objective image; and an extraction unit for extracting a pixel value at a boundary between a predetermined region and another region of the objective image by approximating by a bended line formed from two straight lines a predetermined range of the histogram created by said histogram creation unit.