An image processing apparatus, comprising: a display portion for displaying information including images; a height input portion which is adapted to input height information about an object to be photographed; a setting portion which is adapted to set data for image processing in a setting mode; and a driving processing portion which is adapted to receive an input image and to process the input image based on data which has been preliminarily set by the setting portion; wherein the setting portion comprises a set-image display portion which is adapted to display, on the display portion, a first image acquired by photographing the object in the setting mode, a threshold-value reception portion which is adapted to receive threshold-value data about a specified height range, according to inputs from the outside, a first detection portion which is adapted to detect, from the first image, a first partial image having only height information about the height range specified by the threshold-value data, based on the height information inputted by the height input portion in the setting mode, and based on the threshold-value data received by the threshold-value reception portion, and a cross-sectional shape display portion which is adapted to detect the height information about the portion of the first image which corresponds to a specified position therein, based on the height information inputted by the height input portion in the setting mode and to display, along with the first image, a first line indicative of the height of the cross-sectional shape of the object which corresponds to this specified position, based on the detected height information, on the display portion, and wherein the driving processing portion comprises a driving-image display portion which is adapted to receive a second image acquired by photographing the object in the driving mode and displays it on the display portion, and a second detection portion which is adapted to detect, from the second image, a second partial image having only height information about the height range specified by the threshold-value data, based on the height information inputted by the height input portion in the driving mode, and based on the threshold-value data received by the threshold-value reception portion in the setting mode. a display portion for displaying information including images; a height input portion which is adapted to input height information about an object to be photographed; a setting portion which is adapted to set data for image processing in a setting mode; and a driving processing portion which is adapted to receive an input image and to process the input image based on data which has been preliminarily set by the setting portion; a set-image display portion which is adapted to display, on the display portion, a first image acquired by photographing the object in the setting mode, a threshold-value reception portion which is adapted to receive threshold-value data about a specified height range, according to inputs from the outside, a first detection portion which is adapted to detect, from the first image, a first partial image having only height information about the height range specified by the threshold-value data, based on the height information inputted by the height input portion in the setting mode, and based on the threshold-value data received by the threshold-value reception portion, and a cross-sectional shape display portion which is adapted to detect the height information about the portion of the first image which corresponds to a specified position therein, based on the height information inputted by the height input portion in the setting mode and to display, along with the first image, a first line indicative of the height of the cross-sectional shape of the object which corresponds to this specified position, based on the detected height information, on the display portion, and wherein the driving processing portion comprises a driving-image display portion which is adapted to receive a second image acquired by photographing the object in the driving mode and displays it on the display portion, and a second detection portion which is adapted to detect, from the second image, a second partial image having only height information about the height range specified by the threshold-value data, based on the height information inputted by the height input portion in the driving mode, and based on the threshold-value data received by the threshold-value reception portion in the setting mode.