摘要 |
An object input unit extracts the area of an object as an object area, and a mesh generation unit divides the object area into a plurality of meshes to obtain position information, gradient information, and color information of respective vertices that form the meshes. An optimization unit determines the position information, gradient information, and color information of the vertices by dividing each of the meshes into a plurality of small areas, and performing processing for changing the position information, gradient information, and color information of the vertices so as to locally minimize the differences between color information within the small areas and that within portions of the object area corresponding to the small areas. To divide each of the meshes into a plurality of small areas, the optimization unit changes the number or size of small areas in accordance with the number of times of changing processing.
|