Patent ID: 8576242

Claim:
An image processing apparatus comprising: a unit which extracts an area of an object from an image as an object area; a division unit which divides the object area into a plurality of meshes and obtains position information, gradient information, and color information of respective vertices which form the meshes; a specification unit which specifies, of a pixel group positioned on one side, in a direction toward an interior of the object area, of a mesh to which a boundary vertex positioned on a frame of the object area belongs, a pixel at a position where an amount of change in color in the direction is not more than a threshold value as a correction pixel for each boundary vertex; a unit which obtains a curve that connects adjacent correction pixels to each other for each set of adjacent correction pixels, and obtains an area surrounded by the obtained curves as a non-correction area; and an update unit which updates the object area by assigning values of respective pixels on a frame of the non-correction area to values of corresponding pixels positioned on the frame of the object area.