摘要 |
The present application provides a an image compensation method for side-emitting backlight comprising steps of: S1, dividing the display screen into several regions; S2, arranging virtual light sources at one side of each region where actual light sources are located for imitating the actual light sources; S3, inputting a pixel value and a coordinate of the point to be compensated; S4, computing a ratio value between an all-full-lighting backlight brightness of the point to be compensated when fully lighted and an all-reduced backlight brightness of the point to be compensated when reduced in brightness; S5, obtaining a compensation factor of the point to be compensated, according to the ratio value; S6, compensating the pixel value of the point to be compensated by using the compensation factor; S7, determining whether all the points to be compensated in the image to be compensated have been compensated or not. |
主权项 |
1. An image compensation method for side-emitting backlight, comprising:
S1, dividing the display screen into several regions parallel with the incident direction of the light from the side-emitting light source; S2, arranging virtual light sources at one side of each region where actual light sources are located for imitating the actual light sources; S3, inputting a pixel value of a point to be compensated in an image to be compensated and a coordinate of the point to be compensated in the surface of the display screen; S4, computing a ratio value between an all-full-lighting backlight brightness of the point to be compensated when all the virtual lights source are fully lighted and an all-reduced backlight brightness of the point to be compensated when all the virtual light sources are reduced in brightness, according to the coordinate of the point to be compensated and the coordinates of the arranged virtual light sources, wherein the step S4 further includes:
S41, for each of the arranged virtual light sources, computing a lateral distance and a longitudinal distance from the point to be compensated to the virtual light source, according to the coordinate of the point to be compensated and the coordinate of the virtual light source;S42, for each of the arranged virtual light sources, obtaining a value of an angle between a line connecting the point to be compensated with the virtual light source and an incident direction of the light from the virtual light source; and computing an angle-influencing value between the point to be compensated and the virtual light source;S43, for each of the arranged virtual light sources, computing a lateral-distance-influencing value between the point to be compensated and the virtual light source;S44, for each of the arranged virtual light sources, obtaining a full-lighting backlight brightness of the virtual light source at the point to be compensated when fully lighted, by multiplying the angle-influencing value between the point to be compensated and the virtual light source, the distance-influencing value between the point to be compensated and the virtual light source, and a brightness value of the virtual light source when fully lighted, together;then obtaining an all-full-lighting backlight brightness of the point to be compensated when all the virtual light sources are fully lighted, by adding the full-lighting backlight brightness of all virtual light sources when fully lighted computed above together; S5, obtaining a compensation factor of the point to be compensated, according to the ratio value; S6, compensating the pixel value of the point to be compensated by using the compensation factor to obtain a compensated pixel value of the point to be compensated; S7, determining whether all the points to be compensated in the image to be compensated have been compensated or not; if so, the compensation of the image to be compensated is completed; if not, inputting the coordinate and pixel value of the next point to be compensated in the image to be compensated, and returning to S4. |