Patent ID: 8908062

Claim:
A flare determination apparatus, comprising: an image input unit inputting an image; an image correction unit correcting the image using a correction coefficient to be set based on a gain value for white balance processing depending on a light source type; a region detection unit detecting a region included in a predetermined color component range from the image being corrected by the image correction unit; a determination unit determining whether or not a flare is generated in the region being detected by the region detection unit; a matrix determination unit obtaining a second color space conversion matrix by correcting a first color space conversion matrix to be used when converting a color space of the image being input by the image input unit using the correction coefficient to be set based on the gain value for the white balance processing depending on the light source type; and a high intensity region extraction unit extracting a region of pixels having an intensity value exceeding a threshold value set in advance among pixels included in the image, wherein the image correction unit converts the color space of the image using the second color space conversion matrix, the region detection unit detects the region included in the predetermined color component range from the image having been converted in the color space by the image correction unit, and the region detection unit executes color space conversion using the second color space conversion matrix on the region being extracted by the high intensity region extraction unit.