Method for solving squint color cast problem of LED screen
Technical Field
The invention relates to the field of screen tuning and teaching methods, in particular to a method for solving the problem of squint color cast of an LED screen.
Background
The LED is a display mode by controlling a semiconductor light emitting diode, and it is roughly like a plurality of small lamps, usually red, green, and blue, which display characters by turning on and off the lamps. A display screen for displaying various information such as characters, figures, images, animation, quotation, video, and video signals. And the LED screen can mix different colors by controlling the brightness of the three-color small lamps.
Because the LED screen is composed of a plurality of pixel points, the pixel points can realize self-luminescence, the brightness of a three-color small lamp entering eyeballs can be reduced to a certain degree when the LED screen is obliquely viewed, and the microcosmic reduction of the brightness of three primary colors is a color cast phenomenon in the eyeballs. Especially, the color cast phenomenon is easy to occur on the curved surface part of the existing curved surface display screen adopting the LED display technology.
Disclosure of Invention
In view of the above, the present invention provides a method for solving the color cast problem of LED screen, which can make the screen display more accurate color according to different viewing angles.
Based on the purpose, the invention provides the following technical scheme:
the invention discloses a method for solving the problem of squint color cast of an LED screen, which comprises the following steps:
(1) outputting a pure color picture to a front-view screen through a computer, and obtaining RGB values (L (R), L (G), L (B)) in pixel points at the moment as reference values; (2) maintaining a pure color picture of the screen, collecting color cast gradations displayed on the screen under different observation angles alpha, and establishing an angle-color cast corresponding relation table of the color cast gradations and the observation angles; (3) according to the angle-color cast correspondence table, and inputting, by a computer, different RGB values to a screen so that the screen presents the pure color picture at the corresponding observation angle α and extracting, as a control value, the corresponding RGB value (l (r) '.l (g) '.l (b) '); (4) bringing the control value (l (r) ', l (g) ', l (b) ') into the color cast-angle correspondence table, marking RGB values corresponding when a pure color picture is desired to be obtained at different observation angles α, obtaining an angle-control value correspondence table; (5) calculating a numerical proportion of a monochrome luminance numerical value (l (r) ', l (g) ', l (b) ') to the reference value (l (r) · l (g) · l (b)) (b) at the time of maintaining a screen-output pure color picture at the corresponding observation angle α from the angle-reference-value correspondence table (l (r) ', l (r) · l (g) · l (b) ', and taking the proportion as a color cast compensation proportion x: y: z, and establishing an angle-compensation correspondence table of the color cast compensation proportion and the corresponding observation angle α; (6) collecting RGB values (l (r) ', ' l (g) ', l (b) ') in the oblique-view color shift region of the screen, and selecting the corresponding compensation ratios x: y: z in accordance with the angle-compensation correspondence table and the observation angle α, and numerically compensating the RGB values (l (r) ', l (g) ', l (b) ') of the oblique-view color shift region of the screen to the product of the RGB values (l (r) ', l (g) ', l (b) ') of the oblique-view color shift region of the screen and the corresponding compensation ratios x: y: z in the angle-compensation correspondence table at the observation angle α, that is, (xl (r) ', yl (g) ', zl (b) ').
Further, the RGB values l (r), l (g), and l (b) obtained for the computer pure color picture for orthographic view are the RGB values l (r), l (g), and l (b) extracted while maintaining the computer display of the pure color picture at the observation angle of the observation angle α, and the RGB values l (r), l (g), and l (b) are collected in the oblique color shift region of the screen, and the numerical values are all between 0 and 255.
Further, when the RGB values l (r) ', l (g) ', l (b) ' of the oblique-view color cast region of the screen and the compensation proportion x: y: z at the observation angle α corresponding to in the angle-compensation correspondence table are greater than 255, 255 is taken directly.
Furthermore, the values of x, y and z in the color cast compensation proportion x, y and z are all larger than 1.
Further, the range of the observation angle α is: alpha is more than 0 degree and less than 90 degrees.
Further, the longitudinal axis in the angle-color cast corresponding relation table, the angle-comparison value corresponding relation table and the angle-compensation corresponding relation table is an angle, and sampling is performed once every 5 degrees; the horizontal axis is the color gradation, RGB value and color cast compensation ratio corresponding to the angle.
The invention has the beneficial effects that: according to the method for solving the problem of the squint color cast of the LED screen, as described above, the compensation proportion of the LED screen at different observation angles is calculated by collecting the RGB value and the front-view reference value when the LED screen is correctly displayed at different observation angles, so that the light of the weakened part of the three primary colors of the LED screen at the time of squint is compensated, and the LED screen can display more accurate colors at different observation angles.
Drawings
The invention is further described below with reference to the following figures and examples:
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a schematic view of a curved screen according to the present invention;
FIG. 3 is a table showing the correspondence between the observation angle, the color cast, the contrast value and the compensation ratio according to the present invention;
Detailed Description
As shown in fig. 1: the method for solving the problem of the squint color cast of the LED screen comprises the following steps: (1) outputting a pure color picture to a front-view screen through a computer, and obtaining RGB values (L (R), L (G), L (B)) in pixel points at the moment as reference values; (2) maintaining a pure color picture of the screen, collecting color cast gradations displayed on the screen under different observation angles alpha, and establishing an angle-color cast corresponding relation table of the color cast gradations and the observation angles; (3) according to the angle-color cast correspondence table, and inputting, by a computer, different RGB values to a screen so that the screen presents a pure color picture at the corresponding observation angle α and extracting, as a control value, a corresponding RGB value (l (r) '. l (g) '. l (b) '); (4) bringing the control value (l (r) ', l (g) ', l (b) ') into the color cast-angle correspondence table, marking RGB values corresponding when a pure color picture is desired to be obtained at different observation angles α, obtaining an angle-control value correspondence table; (5) calculating a numerical proportion of a monochrome luminance numerical value (l (r) ', l (g) ', l (b) ') to the reference value (l (r) · l (g) · l (b)) (b) at the time of maintaining a screen-output pure color picture at the corresponding observation angle α from the angle-reference-value correspondence table (l (r) ', l (r) · l (g) · l (b) ', and taking the proportion as a color cast compensation proportion x: y: z, and establishing an angle-compensation correspondence table of the color cast compensation proportion and the corresponding observation angle α; (6) collecting an RGB value (l (r) ', l (g) ', l (b) ') in the squint color shift region, and selecting the corresponding compensation ratio x: y: z in accordance with the angle-compensation correspondence table and the observation angle α, and compensating the value of the region (l (r) ', l (g) ', l (b) ') to (xl (r) ', yl (g) ', zl (b) '.
In this embodiment, the problem of color cast of the curved screen edge in the front view is solved, please refer to fig. 2, in which the curved screen edge has an arc-shaped surface, and the cross section of the arc-shaped surface is an arc edge, taking an arc edge of 90 degrees as an example. Firstly, dividing the arc edge into 18 partitions every 5 degrees, and taking the front-view screen plane as a reference angle, respectively: AB (0 DEG to 5 DEG), BC (5 DEG to 10 DEG), CD (10 DEG to 15 DEG), DE (15 DEG to 20 DEG), EF (20 DEG to 25 DEG), FG (25 DEG to 30 DEG), GH (30 DEG to 35 DEG), HI (35 DEG to 40 DEG), IJ (40 DEG to 45 DEG), JK (45 DEG to 50 DEG), KL (50 DEG to 55 DEG), LM (55 DEG to 60 DEG), MN (60 DEG to 65 DEG), NO (65 DEG to 70 DEG), OL (70 DEG to 75 DEG), LQ (75 DEG to 80 DEG), QR (80 DEG to 85 DEG) and RS (85 DEG to 90 DEG), the LED screen in this embodiment employs a Pentile pixel arrangement whose curved screen exhibits a significant greenish phenomenon at the edge in front view and the greenish degree is higher the closer to the edge position the larger the curvature is, the degree of color cast of the previously divided 18 regions is also gradually increased.
Therefore, according to the steps of the present invention, a pure color picture is firstly output to the control computer to the screen, the RGB value of the point a is collected as a reference value, the RGB value of the point a is measured to be (100.100.100), the screen displays gray at the moment, but the edge appears greenish which can be obviously perceived from the screen after the included angle with the front view exceeds 15 degrees, and the degree of greenish increases with the increase of the degree of the included angle with the front view.
Maintaining the front view angle, adjusting the RGB values of the 18 divided regions so that the 18 regions are displayed as a pure color picture, and recording the RGB values at this time as comparison values, as shown in fig. 3, the comparison values of the 18 regions are divided by the reference value to obtain a compensation ratio.
Finally, by debugging the screen by a computer, the compensation proportion of the corresponding region is brought into the RGB value of the region, for example, the RGB value of the AB region of the curved screen in the present embodiment can be approximately regarded as the reference value (l (r) 'l (g)' l (b) '), at which time the compensation proportion of the RS region is brought into the RGB value of the RS region, which is (1.41l (r)' l (g) '1.5 l (b)'), and the case of correcting the bias green by lowering the brightness of the other two primary colors at the time of displaying the other colors is reached in the orthographic view.
In this embodiment, when the xl (r) ' yl (g) ' zl (b) ' is greater than 255, 255 is directly extracted. Therefore, when pure white is displayed, compensation cannot be carried out, color cast can still occur in the display, but when most of color levels are displayed, the method for solving the problem of the squint color cast of the LED screen can effectively correct the color cast.
According to the invention, the compensation proportion of the LED screen under different observation angles is calculated by collecting the RGB value and the front-view reference value when the LED screen is correctly displayed under different observation angles, so that the light of the weakened part of the three primary colors of the LED screen under oblique view is compensated, and the LED screen can display more accurate colors under different observation angles.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.