摘要 |
PROBLEM TO BE SOLVED: To efficiently perform image processing based on a plurality of methods when acquiring a plurality of feature amounts from the image data of a photographed image and applying image processing based on a plurality of methods to the image data on the basis of a plurality of feature amounts. SOLUTION: Concerning the image data of the photographed image, edge pixels and the target pixels of equal sampling are sampled and accumulated by a computer 21, an expansion rate (a) of contrast is determined by finding a maximum/minimum value in luminance distribution from the accumulated result Dist- edg by edge pixel sampling, and a γ value is determined by finding a center in the luminance distribution from the accumulated result Dist- ave by equal sampling (steps S310-S330). When the expansion rate (a) and the γvalue are greater than thresholds, it is judged by the computer 21 that a contrast correction and a lightness correction are required and on the basis of two kinds of parameters of the expansion rate (a) and the γ value, the image data are simultaneously converted (steps S340 and S350). |