摘要 |
PROBLEM TO BE SOLVED: To extract a specific area by discriminating the specific area, such as an empty area with high accuracy regardless of a composition during photographing. ! SOLUTION: An image processing part divides an input image into a plurality of areas including a specific area in accordance with a feature amount showing a feature of the input image under control of a control part, determines whether each area other than the specific area is adjacent on condition predetermined as the specific area, and makes an area adjacent on the predetermined condition a specific area candidate. The image processing part performs calculation as a reference pixel value in accordance with a pixel value of the specific area, calculates a representative pixel value in accordance with a pixel value of the specific area candidate, determines whether to integrate the specific area candidate to the specific area in accordance with the reference pixel value and the representative pixel value, and integrates the specifi |