Patent ID: 8345121

Claim:
An image processing apparatus, comprising: a low frequency image generation unit for generating a plurality of low frequency images of different frequency bands from a processing target image; a region setting unit for setting one or more regions on at least one of those of the plurality of low frequency images up to a predetermined frequency band, which is higher than a first frequency band, in which each pixel of the at least one low frequency image is included according to a level of each pixel of the at least one low frequency image; a gain calculation unit for calculating a first gain for each pixel of a first low frequency image of the first frequency band such that the lower the level the greater the gain, calculating, based on a region setting result, a representative value of the first gains of pixels in each of the one or more regions in which each pixel of a second low frequency image of a second frequency band, which is next higher than the first frequency band, is included as a second gain of each pixel of the second low frequency image, and outputting a second gain calculated by repeating the calculation of a new second gain using a low frequency image of the next higher frequency band than that of the second low frequency image as a new second low frequency image and the second gain as a new first gain to the predetermined frequency band as a final gain of each pixel of the processing target image; and a processing unit for generating a processed image by performing dynamic range compression on the processing target image based on the gain.