主权项 |
1. A method of compensating color of a transparent display device, the method comprising:
generating first pixel data by adding input image pixel data and external optical data, the external optical data generated by an optical sensor representing an effect of an external light on the transparent display device; generating second pixel data having the same color as the input image pixel data by scaling the first pixel data; and generating output image pixel data by subtracting the external optical data from the second pixel data, wherein each of the input image pixel data, the external optical data, the first pixel data, the second pixel data, and the output image pixel data comprises an R (Red) parameter, a G (Green) parameter, and a B (Blue) parameter, and wherein generating the second pixel data having the same color as the input image pixel data by scaling the first pixel data comprises:
selecting a biggest parameter among the R, G, and B parameters of the first pixel data as a first parameter;generating a scaling ratio which is a ratio of the first parameter to a second parameter, the second parameter representing a parameter having the same color as the first parameter among the R, G, and B parameters of the input image pixel data; andgenerating the second pixel data by using the first parameter of the first pixel data and a scaled result, which is generated by scaling the R, G and B parameters of the input image pixel data except the second parameter based on the scaling ratio. |