Patent ID: 9582868
Date: 2017-02-28
CPC Classifications: G06T

Claim:
1. An image processing apparatus comprising: a histogram detecting unit configured detect a luminance histogram from an input image; a determination unit configured to determine control points for use in generation of a tone curve based on such a luminance that a percentage from a low-luminance side in the luminance histogram detected by said histogram detecting unit is equal to a first value, and such a luminance that a percentage from a high-luminance side in the luminance histogram detected by said histogram detecting unit is equal to a second value; a tone curve generating unit configured to generate a tone curve based on the control points calculated by said determination unit; an image processing unit configured to perform image processing based on the tone curve generated by said tone curve generating unit; a judgment unit configured to judge whether illuminance of a shooting environment is low; and a point light source detecting unit configured to detect a component originating from a point light source from the luminance histogram, wherein, when said judgment unit judges that illuminance of the shooting environment is low in determining the control points for use in generation of the tone curve, said determination unit makes the second value greater than in a case when said judgment unit does not judge that illuminance of the shooting environment is low, wherein, when said point light source detecting unit detects a component originating from a point light source, said determination unit changes a luminance, which is a starting point in determining a percentage from the high-luminance side, to a lower luminance side than in a case when said point light source detecting unit detects no component originating from a point light source, and wherein said histogram detecting unit, said determination unit, said tone curve generating unit, said image processing unit, said judgment unit, and said point light source detecting unit are implemented by at least one processor executing at least one program recorded on a memory.