Patent ID: 9727794
Date: 2017-08-08
CPC Classifications: G06K,G06T

Claim:
1. An image processing apparatus comprising: an image data acquisition unit, using a processor, configured to acquire image data including R-pixels which are red pixels, holding respective red luminance values, B-pixels which are blue pixels, holding respective blue luminance values, G-pixels which are green pixels, holding respective green luminance values, and C-pixels which are clear pixels, holding respective luminance values in a wavelength range including wavelength ranges corresponding to red, blue and green; a determination unit, using a processor, configured to determine whether or not an inequality given by Valc−Valx<α is satisfied, where Valx is a luminance value of a pixel of interest that is one of the R-pixels, the B-pixels, and the G-pixels in the image data, Valc is a luminance value of the C-pixel or C-pixels closest to the pixel of interest, and α is a constant; a correction unit, using a processor, configured to, if the inequality is satisfied, correct the luminance value Valx of the pixel of interest to be less than the luminance value Valc of the C-pixel or C-pixels closest to the pixel of interest; and a coefficient calculation unit, using a processor, configured to acquire, for each of a plurality of pixels selected in different positions in the image data that is one of the R-pixels, the B-pixels, and the G-pixels in the image data, acquire a ratio Vx/Vc of a luminance value Vx of the pixel to a luminance value Vc of the C-pixel or C-pixels closest to the pixel of interest, and calculate an average K of the acquired ratios, wherein the correction unit is configured to correct the luminance value of the pixel of interest to K*Valc.