Patent ID: 9692985
Date: 2017-06-27
CPC Classifications: G06T,H04N

Claim:
1. An image processing apparatus comprising: one or more computer processors configured to implement an image generation unit, gain data generation unit and a determination unit, wherein: the image generation unit is configured to generate a second image as a low-frequency image of a first image by extracting a low-frequency component from the first image which is input; the gain data generation unit is configured to generate a first gain data by associating gains with luminance values of respective pixels in the first image and generate a second gain data by associating gains with luminance values of respective pixels in the second image; the determination unit is configured to determine a control gain for the first image based on the first gain data and the second gain data generated by the gain data generation unit, and wherein the determination unit determines the control gain for a pixel of interest in the first image using a first gain value corresponding to the pixel of interest in the first gain data and a second gain value corresponding to a pixel whose gain value in the second gain data falls within a range in which a difference from a gain value corresponding to the pixel of interest in the first gain data is smaller than a predetermined value, among pixels in a surrounding region of the pixel of interest in the second gain data.