An object of the present invention is to make it possible to specify a
background image area, a moving object image area, and an image area in
which the mixture of the background image area and the moving object
image area occurs. A mixture-ratio calculator 103 extracts pixel data of
a peripheral frame corresponding to a designated pixel of a designated
frame of the image data as background pixel data corresponding to a
background object, and also extracts designated pixel data of the
designated pixel contained in the designated frame so as to generate a
plurality of relational expressions indicating the relationship between
the designated pixel data and the background pixel data. The
mixture-ratio calculator 103 detects the mixture ratio indicating the
mixture state of the objects based on the relational expressions. An area
specifying unit 104 calculates a predictive error by substituting the
detected mixture ratio into the relational expressions, and determines
whether an area to which the designated pixel belongs is a covered
background area, an uncovered background area, a foreground area, or a
background area. The present invention is applicable to an image
processing apparatus.