摘要 |
A feature value calculation unit (105) calculates the number of edge pixels (three-dimensional histogram) defined by the edge direction of a predetermined pixel, the edge direction of an edge pixel present in a neighbor area of the predetermined pixel, and the spatial position relation between the predetermined pixel and the edge pixel present in the neighbor area of the predetermined pixel as a feature value (S5) of an image. With this, the feature value (S5) which also represents the positional relation of the edges. Consequently, it is possible to also identify the difference of edge patterns due to the difference of the positional relations of the edges and increase the accuracy of identification of, for example, a portrait image. |