摘要 |
PROBLEM TO BE SOLVED: To improve the detection speed of blown-out highlights or blocked-up shadows included in an image, and to prevent omission of detection. SOLUTION: A representative pixel value calculation part 120 divides an image represented by raw data D0 into a plurality of blocks and calculates a representative pixel value S for each block. A detection part 130 detects an object block which is a block including a blown-out highlight or a blocked-up shadow, from among the plurality of blocks. A B-detection part 134 of the detection part 130 performs first detection processing for obtaining one of a difference between a color represented by the representative pixel values and gray, and a value that can approximately represent the difference, as a characteristic value, and for detecting, as the object block, a block in which the characteristic value is equal to or smaller than a first threshold. COPYRIGHT: (C)2010,JPO&INPIT |