Patent ID: 9743073
Date: 2017-08-22
CPC Classifications: G09G,H04N

Claim:
1. An image processing device with image compensation function, comprising: an equation establishing unit having one input terminal to receive an image signal of a display screen captured by an image capturing device, the image signal comprising a plurality of pixels and each of the pixels having chromaticity coordinates and a brightness, the equation establishing unit establishing a color space transformation equation according to the chromaticity coordinates and the brightness of the pixels, the color space transformation equation comprising transforming equations of X, Y and Z chromaticity coordinates and each of the transforming equations of X, Y and Z chromaticity coordinates respectively comprising a fixed compensation value, and the fixed compensation value for each gray level of the image signal being the same; a calculating unit having one input terminal to receive the color space transformation equation from the equation establishing unit and using a fixed number of gray levels as an interval to divide the total number of gray levels of the image signal into i number of first sampling points, and reference values of the first sampling points being acquired by calculating with the color space transformation equation; a determining unit having one input terminal to receive the reference values of the first sampling points from the calculating unit and determining whether the reference values of the first sampling points are within an error range or not; a color space transformation unit having one input terminal to receive the reference values of the first sampling points from the determining unit and transforming each of the reference values of the first sampling points into a reference value of a second sampling point described with red (R), green (G) and blue (B) chromaticity coordinates; a three dimensional (3D) lookup table establishing unit having one terminal to receive the reference values of the second sampling points from the color space transformation unit and establishing a 3D lookup table according to the reference values of the second sampling points; and a compensating unit having one terminal to receive the 3D lookup table and obtaining a compensation value of an image parameter for each of the pixels with the 3D lookup table.