摘要 |
PROBLEM TO BE SOLVED: To execute division suited to color distribution by storing a non- belonging pixel in a cluster area corresponding to a minimum distance, storing all plural non-attributing pixels in plural cluster areas and dividing a pixel into plural areas. SOLUTION: In a step 30, the three-dimensional(3D) coordinate distribution of color image pixels is calculated, and the 3D histogram of a color image is acquired. In a step 31, smoothing and probability density function are calculated. In a step 32, the cluster areas of the color image are searched by measuring projecting edge (convex) areas. In a step 33, the main color of each of cluster areas is acquired and a pixel, which does not belong to any cluster area, is made to attribute to one of cluster areas. Then, the pixel which does not attribute to the cluster area of the original color image having a minimum distance between the color of the pixel and the plural main colors of all the plural cluster area around that is selected, namely, such a pixel is made to attribute to that cluster area, and the division of the color image is completed. |