CN113516939B - Brightness correction method and device, display equipment, computing equipment and storage medium - Google Patents
Brightness correction method and device, display equipment, computing equipment and storage medium Download PDFInfo
- Publication number
- CN113516939B CN113516939B CN202010216415.8A CN202010216415A CN113516939B CN 113516939 B CN113516939 B CN 113516939B CN 202010216415 A CN202010216415 A CN 202010216415A CN 113516939 B CN113516939 B CN 113516939B
- Authority
- CN
- China
- Prior art keywords
- primary color
- gray scale
- display screen
- gray
- lamp bead
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses a brightness correction method, a brightness correction device, a display device, a computing device and a storage medium. A luminance correction method, comprising: acquiring correction parameters of a plurality of gray scales of a display screen, wherein the correction parameters of each gray scale comprise: correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale; determining a gray scale interval where each primary color component of each pixel point in an image frame to be displayed is located, wherein the gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval within a plurality of gray scale intervals formed by the plurality of gray scales; and determining the correction parameters of each primary color component of each pixel point according to the correction parameters of two gray scales in the gray scale interval where each primary color component of each pixel point is located in the image frame.
Description
Technical Field
The present application relates to the field of display technologies, and in particular, to a brightness correction method and apparatus, a display device, a computing device, and a storage medium.
Background
LED display screens have been widely used in various indoor and outdoor scenes. The LED display screen is composed of a lamp bead array. Due to reasons such as manufacturing process, the actual display brightness of lamp beads in the LED display screen under the same gray scale has a non-uniform problem.
At present, in order to correct the display brightness of the LED display screen, the display screen control scheme usually determines a fixed correction coefficient for each primary color light emitting tube of each lamp bead in the display screen, so as to adjust the display brightness of each primary color light emitting tube of each lamp bead.
However, in the gray scale range of the LED display screen, the relationship between the actual display brightness and the gray scale varies non-linearly. In the scheme that the light-emitting tube adopts a fixed correction coefficient, the brightness uniformity of the display screen under the same gray scale needs to be improved.
Therefore, a solution for improving the brightness uniformity of the display screen is lacking.
Disclosure of Invention
Therefore, the application provides a new brightness correction scheme, and the brightness uniformity of the display screen can be improved.
According to an aspect of the present application, there is provided a luminance correction method including:
acquiring correction parameters of a plurality of gray scales of a display screen, wherein the correction parameters of each gray scale comprise: correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale;
determining a gray scale interval where each primary color component of each pixel point in an image frame to be displayed is located, wherein the gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval within a plurality of gray scale interval ranges formed by the plurality of gray scales;
and determining the correction parameters of the primary color components of each pixel point according to the correction parameters of two gray scales in the gray scale interval where each primary color component of each pixel point in the image frame is located.
In some embodiments, the determining, according to the correction parameters of two gray levels in the gray level interval where each primary color component of each pixel point in the image frame is located, the correction parameters of the primary color component of the pixel point includes:
determining the correction parameters of the primary color components of the pixel points in a linear interpolation mode based on the correction parameters of the two gray scales; or
And calculating the average value of the correction parameters of the two gray scales, and taking the average value as the correction parameter of the primary color component of the pixel point.
In some embodiments, the acquiring correction parameters of a plurality of gray levels of a display screen includes:
acquiring red correction matrixes of a plurality of gray scales, green correction matrixes of the plurality of gray scales and blue correction matrixes of the plurality of gray scales of a display screen;
wherein the red correction matrix for each gray level comprises: correcting parameters of the red light emitting tube of each lamp bead in the display screen when the red light emitting tube displays according to the gray scale;
the green correction matrix for each gray level includes: correcting parameters of the green light emitting tube of each lamp bead in the display screen when the green light emitting tube is displayed according to the gray scale;
the blue correction matrix for each gray level includes: and correcting parameters of the blue light emitting tube of each lamp bead in the display screen when the blue light emitting tube displays according to the gray scale.
According to an aspect of the present application, there is provided a luminance correction method including:
acquiring a primary color image of a display screen under a plurality of gray scales, wherein the primary color image of the display screen under each gray scale is as follows: when the single primary color of the gray scale is displayed, shooting images of the display screen are shot;
determining the display brightness value of each primary color light-emitting tube in each lamp bead in the display screen to each gray scale according to the primary color image under each gray scale;
determining the correction parameters of the luminotrons of each primary color in each lamp bead when the luminotrons of each primary color are displayed according to the gray scale, wherein the correction parameters of the luminotrons of each primary color of each lamp bead when the luminotrons of each primary color are displayed according to the gray scale are used for expressing: the mapping relation between the target brightness value of the luminescent tube with the primary color under the gray scale and the display brightness value of the luminescent tube with the primary color of the lamp bead.
In some embodiments, the obtaining a primary color image of the display screen at a plurality of gray levels comprises:
for any gray scale, acquiring a red image shot when the display screen displays red according to the gray scale;
acquiring a green image shot when a display screen displays green according to the gray scale;
and acquiring a blue image shot when the display screen displays blue according to the gray scale.
In some embodiments, the determining, according to the primary color image at each gray scale, a display brightness value of the light-emitting tube of each primary color in each lamp bead in the display screen for the gray scale includes:
in the primary color image under each gray scale, identifying the pixel area of each lamp bead in the display screen;
sorting the pixel regions in a descending order according to the areas to obtain a sorting result;
extracting a preset number of pixel regions ranked at the top from the sequencing result, and determining the size mean value of the circumscribed rectangles of the preset number of pixel regions;
and determining the rectangular area of each lamp bead based on the size average value, and taking the brightness of pixel points in the rectangular area of each lamp bead as the display brightness value of the luminous tube with the corresponding primary color in the lamp bead.
According to an aspect of the present application, there is provided a luminance correcting apparatus including:
the display device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit acquires correction parameters of a plurality of gray scales of a display screen, and the correction parameters of each gray scale comprise: correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale;
the selection unit is used for determining a gray scale interval where each primary color component of each pixel point in the image frame to be displayed is located, wherein the gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval within a plurality of gray scale interval ranges formed by the plurality of gray scales;
and the computing unit is used for determining the correction parameters of the primary color components of each pixel point according to the correction parameters of the two gray scales in the gray scale interval where the primary color components of each pixel point in the image frame are located.
According to an aspect of the present application, there is provided a luminance correcting apparatus including:
the acquiring unit is used for acquiring the primary color images of the display screen under a plurality of gray scales, wherein the primary color images of the display screen under each gray scale are as follows: when the single primary color under the gray scale is displayed, shooting images of the display screen are shot;
the detection unit is used for determining the display brightness value of each primary color light emitting tube in each lamp bead in the display screen to each gray scale according to the primary color image under each gray scale;
the mapping unit is used for determining the correction parameters of the luminescent tubes of each primary color in each lamp bead when the luminescent tubes display according to the gray scale, and the correction parameters of the luminescent tubes of each primary color when the luminescent tubes display according to the gray scale are used for expressing: the mapping relation between the target brightness value of the luminescent tube with the primary color under the gray scale and the display brightness value of the luminescent tube with the primary color of the lamp bead.
According to an aspect of the present application, there is provided a display apparatus including: a display screen; a display controller for performing the brightness correction method as described above.
According to an aspect of the present application, there is provided a computing device comprising: a processor; a storage device; wherein the processor is configured to perform the luminance correction method as described above.
According to an aspect of the present application, there is provided a storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computing device, cause the computing device to perform the method of luminance correction as described above.
In summary, according to the brightness correction scheme of the embodiment of the application, correction parameters of a plurality of gray scales can be obtained, and a gray scale interval corresponding to each primary color component of a pixel point in an image frame to be displayed is determined, so that the correction parameters of the pixel point can be determined according to the gray scale interval. Therefore, the brightness correction scheme can avoid correction errors caused by adopting fixed correction parameters, and can determine corresponding correction parameters in a self-adaptive manner according to any gray scale of pixel points in an image frame, so that the brightness uniformity of the display screen is greatly improved (namely the brightness consistency of different lamp beads under the same gray scale is improved).
Drawings
FIG. 1A illustrates a schematic diagram of an application scenario in accordance with some embodiments of the present application;
FIG. 1B is a schematic diagram illustrating gray scale and luminance relationships according to some embodiments of the present application;
FIG. 2 illustrates a flow diagram of a brightness correction method 200 according to some embodiments of the present application;
FIG. 3 illustrates a flow chart of a method 300 of obtaining a primary color image according to some embodiments of the present application;
FIG. 4 illustrates a flow diagram of a method 400 of determining display brightness values according to some embodiments of the present application;
FIG. 5 illustrates a flow diagram of a brightness correction method 500 according to some embodiments of the present application;
FIG. 6 illustrates a schematic diagram of a plurality of gray scale intervals according to some embodiments of the present application;
FIG. 7 illustrates a schematic diagram of a luminance correction apparatus 700 according to some embodiments of the present application;
FIG. 8 illustrates a schematic diagram of a luminance correction apparatus 800 according to some embodiments of the present application;
FIG. 9 illustrates a block diagram of components of a computing device according to some embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below by referring to the accompanying drawings and examples.
FIG. 1A illustrates a schematic diagram of an application scenario in accordance with some embodiments of the present application. As shown in fig. 1A, an application scenario may include a display device 110, a computing device 120, and an image capture device 130.
The display device 110 may be a variety of devices that include an LED display screen. The display device 110 may be, for example, a display, a tablet computer, or the like. Here, the display device 110 may be, for example, a single color display mode, a two-primary color display mode, or a three-primary color display mode. Wherein the three primary colors refer to red, green and blue. The dual primaries are red and green. The single primary color is one of red and green. The display screen of the display device 110 needs to be luminance corrected.
The computing device 120 may be a notebook computer, a tablet computer, a mobile terminal, a server, and the like.
The image capturing device 130 is, for example, a camera, a video camera, or other devices with image capturing functions.
FIG. 1B shows a gray scale versus luminance graph according to some embodiments of the present application. FIG. 1B shows a gray scale-luminance graph of one light emitting tube in a display screen. As the input gray scale is gradually increased, the brightness is also gradually increased. Here, the brightness of the light emitting tube refers to the brightness of the light emitting tube. The gray scale may also be referred to as a color scale. Grayscale refers to the color index of each primary color component in the RGB color space.
Due to reasons such as manufacturing process, the gray-brightness curves of the light emitting tubes in different lamp beads in the display screen are different. Namely, under the same gray scale, the brightness of different lamp beads in the display screen is inconsistent. Therefore, the brightness of the display screen needs to be corrected. In order to perform brightness correction on the display screen, the image capture device 130 may capture a primary color image of the display screen. Here, the primary color image is a photographed image of a display screen displaying a single primary color. Taking a display screen with three primary colors as an example, the primary color images include a red image, a green image and a blue image. Computing device 120 may obtain a primary color image captured by the image capture device. On this basis, the computing device 130 may determine the correction parameters for the display screen using the primary color image. The display device 110 may obtain the correction parameters for the display screen. The display device 110 adjusts the brightness of the display screen using the correction parameters while displaying the image.
In some embodiments, the display screen may display primary colors in a plurality of gray levels. For example, computing device 120 may control display device 110 to display primary colors in grayscale. Here, the gray scale range of the display screen is, for example, 0 to 255 or 0 to 1024, etc. The computing device 120 may determine a plurality of gray levels distributed within a gray level range to control the display device 110 to display primary colors according to the gray levels.
The image capturing device 130 may capture a primary color image corresponding to a plurality of gray levels. For example, the image capturing device 130 may capture a red image corresponding to each of a plurality of gray levels, capture a green image corresponding to each of a plurality of gray levels, and capture a blue image corresponding to each of a plurality of gray levels. On this basis, the computing device 120 may determine a corresponding correction parameter for each primary image of each gray level. The process of computing device 120 determining the correction parameters is described below in conjunction with FIG. 2.
FIG. 2 illustrates a flow diagram of a brightness correction method 200 according to some embodiments of the present application. The method 200 may be performed, for example, by the computing device 120.
As shown in fig. 2, in step S201, a primary color image of a display screen at a plurality of gray levels is acquired. The primary color image of the display screen under each gray scale is as follows: when displaying the single primary color under the gray scale, the shot image of the display screen is displayed.
Taking a three-primary-color display screen as an example, the primary color image may include a plurality of gray levels of red images, a plurality of gray levels of green images, and a plurality of gray levels of blue images. For example, the gray scale range is 0-255, and the plurality of gray scales are, but not limited to, 30, 60, 90, 120, 150, 180, 210, and 240.
Taking a two-primary color display screen as an example, the primary color image may include a plurality of gray levels of red images and a plurality of gray levels of green images.
In step S202, according to the primary color image in each gray scale, a display brightness value of the light emitting tube of each primary color in each lamp bead in the display screen for the gray scale is determined. For example, in step S202, the display brightness value of the red light emitting tube of each lamp bead for a gray scale may be determined according to a gray scale red image. Here, the display luminance value of the red light emitting tube is proportional to the power of the red light emitting tube. For another example, in step S202, the display brightness value of the green light emitting tube of each lamp bead for a gray scale may be determined according to a gray scale green image. For another example, in step S202, the display brightness value of the blue light-emitting tube of each lamp bead for a gray scale may be determined according to a gray scale blue image.
In some embodiments, the display screen resolution is m × n (m columns, n rows). The gray scale is for example denoted s. s is in the gray scale range of the display screen (e.g., 0-255). For the gray scale s, the display brightness value of the red light emitting tube of a single lamp bead in the display screen can be represented as follows: LsR (i, j), the display brightness value of the green light emitting tube can be expressed as: LsG (i, j), the display brightness value of the blue light emitting tube can be expressed as: LsB (i, j). Wherein i is more than or equal to 1 and less than or equal to n, and j is more than or equal to 1 and less than or equal to m.
The display brightness value of the red luminotron of the lamp bead array of the display screen can be represented as a matrix AsR.
The display brightness values of the green light emitting tubes of the bead array of the display screen can be represented as a matrix AsG.
The display brightness values of the blue light emitting tubes of the bead array of the display screen can be represented as a matrix AsB.
In step S203, the correction parameters of the light emitting tube of each primary color in each lamp bead when displaying according to the gray scale are determined. The correction parameters of the luminotron of each primary color of each lamp bead when displaying according to the gray scale are used for expressing: the mapping relation between the target brightness value of the luminescent tube with the primary color under the gray scale and the display brightness value of the luminescent tube with the primary color of the lamp bead. In other words, the correction parameter may embody a difference between the target luminance value and the display luminance value. The correction parameter is, for example, a ratio of the target luminance value to the display luminance value. The target brightness value of the luminescent tubes of one primary color under one gray scale refers to a uniform brightness value of a plurality of luminescent tubes of the primary color in the display screen under the gray scale.
In summary, according to the method 200 of the embodiment of the present application, the primary color images at multiple gray scales can be obtained, and the display luminance values of the primary colors at each gray scale are determined, so that the correction parameters of each primary color at each gray scale can be obtained.
In some embodiments, step S201 may be implemented as method 300. Here, the method 300 may be performed once in step S201 for any one gray level.
As shown in fig. 3, in step S301, a red image captured when the display screen displays red in accordance with the gradation is acquired.
In step S302, a green image captured when the display screen displays green in accordance with the gradation is acquired.
In step S303, a blue image captured when the display screen displays blue in accordance with the gradation is acquired.
In summary, the display screen can display a single primary color for one gray scale. The method 300 may acquire images of three primary colors of a display screen, respectively. Thus, the images of the three primary colors can be used to determine the correction parameters of the light emitting tubes of the three primary colors.
In some embodiments, step S202 may be implemented as method 400.
As shown in fig. 4, in step S401, in the primary color image at each gray level, the pixel region of each lamp bead in the display screen is identified. Here, in step S401, bead recognition may be performed on the primary color image or the grayscale image corresponding to the primary color image, so as to obtain a contour of each bead. The pixel points in the outline of one lamp bead can form the pixel area of the lamp bead. It should be noted that, when the display screen performs single-primary-color display according to one gray scale, the brightness of the lamp beads in the display screen is different. The higher the luminance of a lamp pearl is, this lamp pearl is regional big more in the primary color image pixel, and the pixel that corresponds with this lamp pearl promptly is more. Conversely, the lower the brightness of a lamp bead is, the smaller the pixel area of the lamp bead in the primary color image is.
In step S402, the pixel regions are sorted in descending order according to area to obtain a sorting result.
In step S403, a predetermined number of top-ranked pixel regions are extracted from the sorting result, and a size average of circumscribed rectangles of the predetermined number of pixel regions is determined. For example, step S403 may calculate a size average of a circumscribed rectangle of 50 pixel regions having the largest area. The circumscribed rectangle of a single pixel region may be denoted as w i *h i Where i denotes the number of the pixel region. w is a k Width, h, of circumscribed rectangle representing k-th pixel region k Indicating the height of the circumscribed rectangle of the kth pixel region. The value range of k is 1-N. N is a predetermined number, for example 50.
in step S404, based on the size average, a rectangular region of each lamp bead is determined, and the sum of the luminance of the pixels in the rectangular region of each lamp bead is used as the display luminance value of the light-emitting tube of the corresponding primary color in the lamp bead.
Step S404 may determine the brightness value of the pixel point based on the gray scale map corresponding to the primary color image, for example.
For another example, in step S404, the brightness value of the pixel point may be determined through a color space conversion manner. For example, the pixels in the primary color image are in RGB color space. For a red image, the color of one pixel is (r, 0, 0). Where r represents the gray level of the red component. For a green image, the color of one pixel is (0, g, 0). G denotes the gray level of the green component. For a blue image, the color of one pixel is (0, 0, b). b represents the gray level of the blue component. Step S404 may, for example, convert a pixel point in the RGB color space into a pixel point in the YUV color space, and use the Y component value as the brightness value of the pixel point. For any one of the lamp beads, step S404 may use the center (i.e., the center of mass) of the lamp bead as the center of the rectangular region, and determine the width and height of the rectangular region of the lamp bead according to the size average.
In summary, considering that the areas of the pixel regions of each bead are different, according to the method 400 of the embodiment of the present application, a predetermined number of pixel regions with the largest area may be selected, so as to determine the size average of the circumscribed rectangle of each selected pixel region. Further, the method 400 may utilize the size average such that the rectangular areas of each bead are the same. In this way, the method 400 can ensure that the scale of the brightness sampling range (i.e., the rectangular region) of each lamp bead is consistent, thereby improving the accuracy of the brightness value of the lamp bead. In addition, since the adopted size average corresponds to a predetermined number of pixel regions with the largest area, the method 400 can fully sample the brightness of each lamp bead, thereby improving the accuracy of displaying the brightness value.
The target brightness value may be, for example, a ratio of a sum of brightness accumulations of pixels in a predetermined number of pixel regions to the predetermined number. In addition, the target brightness value may also be a uniform brightness value determined in other manners, which is not limited in this application.
In some embodiments, step S203 may determine the correction parameters corresponding to the display screen of two or three primary colors. The following describes the determination process of the correction parameters by taking a three-primary color display screen as an example.
For the gray scale s, the target brightness value of the red light emitting tube of a single lamp bead can be expressed as: the target brightness value of the green light emitting tube of a single lamp bead can be expressed as follows: DesGs, the target brightness value of the blue light emitting tube of a single lamp bead can be expressed as: DesGs.
For the gray level s, the correction parameter of the red light emitting tube of a single lamp bead can be represented as CsR (i, j).
CsR(i,j)=DesRs/LsR(i,j)
The correction parameters of the red light emitting tubes of the lamp bead array can be expressed as red correction matrixes CRs.
For the gray scale s, the correction parameter of the green light emitting tube of a single lamp bead can be represented as CsG (i, j).
CsG(i,j)=DesGs/LsG(i,j)
The correction parameters of the green light emitting tubes of the bead array can be expressed as green correction matrices CGs.
For the gray scale s, the correction parameter of the blue light emitting tube of a single lamp bead can be represented as CsB (i, j).
CsB(i,j)=DesBs/LsB(i,j)
The correction parameters of the blue light emitting tubes of the lamp bead array can be expressed as blue correction matrixes CBs.
In some embodiments, step S203 may further combine the red correction matrix, the green correction matrix, and the green correction matrix to obtain a combined matrix. The combining matrix is for example CKs.
In some embodiments, the merge matrix may be stored as one correction file. The data format of the correction file is as follows:
FIG. 5 illustrates a flow diagram of a brightness correction method 500 according to some embodiments of the present application. Method 500 may be performed, for example, by display device 110. For example, the display device 110 may include a display controller that drives a display screen. The display controller may perform method 500.
In step S501, correction parameters of a plurality of gradations of a display screen are acquired. Wherein the correction parameters for each gray level include: and correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale. The correction parameters acquired in step S501 are determined by the method 200, for example. The display device 110 may read a correction file regarding the correction parameters from a memory, for example.
In some embodiments, step S501 may acquire a red correction matrix of a plurality of gray scales, a green correction matrix of a plurality of gray scales, and a blue correction matrix of a plurality of gray scales of the display screen. Wherein the red correction matrix for each gray level comprises: and correcting parameters of the red light emitting tube of each lamp bead in the display screen when the red light emitting tube displays according to the gray scale. The green correction matrix for each gray level includes: and correcting parameters of the green light emitting tube of each lamp bead in the display screen when the green light emitting tube displays according to the gray scale. The blue correction matrix for each gray level includes: and correcting parameters of the blue light emitting tube of each lamp bead in the display screen when the blue light emitting tube displays according to the gray scale.
In step S502, a gray scale interval where each primary color component of each pixel point in the image frame to be displayed is located is determined. The gray scale interval of each primary color component of each pixel point is as follows: the primary color component of the pixel point belongs to a gray scale interval in a plurality of gray scale interval ranges formed by the plurality of gray scales. The plurality of gray levels may form a continuous plurality of gray level sections (i.e., a continuous plurality of gray level segments). For example, FIG. 6 illustrates a plurality of gray scale bins according to some embodiments of the present application. As shown in FIG. 6, the gray levels m1, m2, m3 and m4, in which the gray levels increase in order, may form 3 gray level sections t1, t2 and t 3.
In step S503, the correction parameters of each primary color component of each pixel point in the image frame are determined according to the correction parameters of two gray levels in the gray level interval where each primary color component is located.
In some embodiments, based on the correction parameters of two gray levels, step S503 may determine the correction parameters of the primary color component of the pixel point by linear interpolation.
For example, the plurality of gray levels are G _ A, G _ B, G _ M, and G _ N in order from small to large. The gray level of the red component R of a pixel in the image frame is G _ X. When G _ M ≦ G _ X ≦ G _ N, step S503 may determine that G _ X matches G _ M and G _ N formed to the gray scale interval. Step S503 may determine the correction parameter corresponding to the red component R according to the following manner.
(G_M-G_X)/(G_M-G_N)=(K_M-K_X)/(K_M-K_N)
Wherein, K _ M represents the correction parameter corresponding to the red component at the gray level G _ M, and K _ N represents the correction parameter corresponding to the red component at the gray level G _ N. K _ X represents a correction parameter corresponding to the red component at the gray level G _ X.
In some embodiments, step S503 calculates the mean value of the correction parameters of the two gray levels, and uses the mean value as the correction parameter of the primary color component of the pixel. In addition, based on the known correction parameters of the two gray scales in the located gray scale interval, step S503 may also determine the correction parameter of any gray scale in the gray scale interval in other manners, which is not limited in this application.
On the basis, the display screen can control the display of the lamp beads according to different correction parameters under different gray scales, so that the brightness uniformity of the display screen is improved.
In summary, according to the brightness correction method 500 of the present application, the correction parameters of a plurality of gray scales can be obtained, and the gray scale interval corresponding to each primary color component of the pixel point in the image frame to be displayed is determined, so that the correction parameters of the pixel point can be determined according to the gray scale interval. In this way, the brightness correction method 500 can avoid the correction error caused by adopting the fixed correction parameter, and can adaptively determine the corresponding correction parameter according to any gray scale of the pixel point in the image frame, thereby greatly improving the brightness uniformity of the display screen (i.e. improving the brightness consistency of different lamp beads under the same gray scale). In particular, the luminance correction method 500 may calculate the correction parameter of any gray scale in each gray scale interval by linear interpolation or mean value, so that the determined correction parameter may better conform to the luminance deviation rule of the display screen (i.e., the luminance deviation is different under different gray scales), thereby greatly improving the luminance uniformity of the display screen.
Fig. 7 illustrates a schematic diagram of a luminance correction apparatus 700 according to some embodiments of the present application. The apparatus 700 may be disposed in the display device 110, for example.
The luminance correcting apparatus 700 may include: an acquisition unit 701, a selection unit 702, and a calculation unit 703.
The acquisition unit 701 may acquire correction parameters for a plurality of gradations of a display screen. Wherein the correction parameters for each gray level include: and correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale.
The selection unit 702 may determine a gray scale interval in which each primary color component of each pixel point in the image frame to be displayed is located. The gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval in a plurality of gray scale interval ranges formed by the plurality of gray scales.
The calculation unit 703 may determine the correction parameter of each primary color component of each pixel point in the image frame according to the correction parameters of two gray scales in the gray scale interval in which each primary color component is located. More specific embodiments of the apparatus 700 are similar to the luminance correction method 500 and will not be described herein.
In summary, according to the brightness correction apparatus 700 of the present application, the correction parameters of a plurality of gray scales can be obtained, and the gray scale interval corresponding to each primary color component of the pixel point in the image frame to be displayed is determined, so that the correction parameters of the pixel point can be determined according to the gray scale interval. In this way, the luminance correction device 700 can avoid the correction error caused by adopting the fixed correction parameter, and can adaptively determine the corresponding correction parameter according to any gray scale of the pixel point in the image frame, thereby greatly improving the luminance uniformity of the display screen.
In some embodiments, for each primary color component of each pixel point in the image frame to be displayed, the calculating unit 703 may determine the correction parameter of the primary color component of the pixel point by linear interpolation based on the correction parameters of two gray scales in the gray scale interval where the primary color component of the pixel point is located. In some embodiments, the calculation unit 703 may calculate an average value of the correction parameters of the two gray levels, and use the average value as the correction parameter of the primary color component of the pixel point. In summary, the calculation unit 703 determines the correction parameter of the primary color component of the pixel point through a linear difference method or an average method, so that the determined correction parameter can better conform to the brightness deviation rule of the display screen (i.e., the brightness deviation is different under different gray scales), thereby improving the brightness uniformity of the display screen.
In some embodiments, the obtaining unit 701 may read correction parameters of a plurality of gray scales from a correction file. For example, the acquisition unit 701 may acquire a red correction matrix of a plurality of gradations, a green correction matrix of a plurality of gradations, and a blue correction matrix of a plurality of gradations of the display screen. Wherein the red correction matrix for each gray level comprises: and correcting parameters of the red light emitting tube of each lamp bead in the display screen when the red light emitting tube displays according to the gray scale. The green correction matrix for each gray level includes: and correcting parameters of the green light emitting tube of each lamp bead in the display screen when the green light emitting tube displays according to the gray scale. The blue correction matrix for each gray level includes: and correcting parameters of the blue light emitting tube of each lamp bead in the display screen when the blue light emitting tube displays according to the gray scale.
Fig. 8 illustrates a schematic diagram of a luminance correction apparatus 800 according to some embodiments of the present application. The apparatus 800 may be disposed in the display device 110, for example.
As shown in fig. 8, the apparatus 800 includes: an acquisition unit 801, a detection unit 802, and a mapping unit 803.
The acquisition unit 801 may acquire a primary color image of a display screen at a plurality of gray levels. The primary color image of the display screen under each gray scale is as follows: when displaying the single primary color under the gray scale, the shot image of the display screen is displayed.
The detection unit 802 may determine, according to the primary color image in each gray scale, a display brightness value of the light emitting tube of each primary color in each lamp bead in the display screen for the gray scale.
The mapping unit 803 determines the correction parameters of the light emitting tube of each primary color in each lamp bead when displaying according to the gray scale. The correction parameters of the luminous tube of each primary color when the luminous tube is displayed according to the gray scale are used for expressing: the mapping relation between the gray scale and the corresponding display brightness value. More specific embodiments of the apparatus 800 are similar to the method 200 and will not be described again.
In summary, according to the apparatus 800 of the embodiment of the present application, the primary color images at a plurality of gray scales can be obtained, and the display luminance values of the primary colors at each gray scale are determined, so that the correction parameters of each primary color at each gray scale can be obtained.
In some embodiments, for any one gray scale, the acquisition unit 801 may acquire a red image captured when the display screen displays red according to the gray scale. In addition, the acquisition unit 801 acquires a green image captured when the display screen displays green in accordance with the gradation, and acquires a blue image captured when the display screen displays blue in accordance with the gradation. In this way, the apparatus 800 can perform luminance correction for a display screen of three primary colors based on primary color images of three colors. In addition, when the display screen is a two-primary color display screen, the apparatus 800 may also acquire only a red image and a green image.
In some embodiments, in a primary color image at each gray level, detection unit 802 may identify the pixel region of each lamp bead in the display screen. The pixel regions are sorted in descending order according to area, and the detection unit 802 may obtain a sorting result. On this basis, the detection unit 802 extracts a predetermined number of pixel regions ranked top from the sorting result, and determines a size average of circumscribed rectangles of the predetermined number of pixel regions. Based on the size average, the detection unit 802 may determine the rectangular region of each lamp bead, and sum the luminance of the pixels in the rectangular region of each lamp bead to serve as the display luminance value of the light emitting tube of the corresponding primary color in the lamp bead.
FIG. 9 illustrates a block diagram of the components of a computing device. As shown in fig. 9, the computing device includes one or more processors (CPUs) 902, a communications module 904, a memory 906, a user interface 910, and a communications bus 908 for interconnecting these components.
The processor 902 can receive and transmit data via the communication module 904 to enable network communications and/or local communications.
User interface 910 includes one or more output devices 912, including one or more speakers and/or one or more displays. The user interface 910 also includes one or more input devices 914. The input device 914 may receive, for example, but not limited to, a keyboard, a mouse, touch commands.
The memory 906 may be a high-speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; or non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
The memory 906 stores a set of instructions executable by the processor 902, including:
an operating system 916 including programs for handling various basic system services and for performing hardware related tasks;
the application 918 includes various programs for implementing the luminance correction method 200 described above, and such programs can implement the processing flows in the examples described above.
In addition, each example of the present application may be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that the data processing program constitutes the invention. In addition, a data processing program stored in one storage medium is generally executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and or a memory) of a data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The present application thus also discloses a non-volatile storage medium having stored therein a data processing program for executing any of the above-described embodiments of the present brightness correction method 200.
In addition, the method steps described in this application may be implemented by hardware, for example, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, embedded microcontrollers, and the like, in addition to data processing programs. Therefore, the hardware capable of realizing the brightness correction method can also form the application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of the present application.
Claims (7)
1. A luminance correction method, comprising:
acquiring a primary color image of a display screen under a plurality of gray scales, wherein the primary color image of the display screen under each gray scale is as follows: when the single primary color under the gray scale is displayed, shooting images of the display screen are shot;
determining the display brightness value of each primary color light-emitting tube in each lamp bead in the display screen to each gray scale according to the primary color image under each gray scale;
and determining the correction parameters of the luminescent tube of each primary color in each lamp bead when the luminescent tube displays according to the gray scale, wherein the correction parameters of the luminescent tube of each primary color in each lamp bead when the luminescent tube displays according to the gray scale are used for expressing: the mapping relation between the target brightness value of the luminescent tube of the primary color under the gray scale and the display brightness value of the luminescent tube of the primary color of the lamp bead;
determining a gray scale interval where each primary color component of each pixel point in an image frame to be displayed is located, wherein the gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval within a plurality of gray scale intervals formed by the plurality of gray scales;
and determining the correction parameters of each primary color component of each pixel point according to the correction parameters of two gray scales in the gray scale interval where each primary color component of each pixel point is located in the image frame.
2. The luminance correction method as set forth in claim 1, wherein the obtaining of the primary color image of the display screen at a plurality of gray levels comprises:
for any gray scale, acquiring a red image shot when the display screen displays red according to the gray scale;
acquiring a green image shot when a display screen displays green according to the gray scale;
and acquiring a blue image shot when the display screen displays blue according to the gray scale.
3. The brightness correction method of claim 1, wherein the determining the display brightness value of the light emitting tube of each primary color in each lamp bead in the display screen for each gray scale according to the primary color image at the gray scale comprises:
in the primary color image under each gray scale, identifying the pixel area of each lamp bead in the display screen;
sorting the pixel regions in a descending order according to the areas to obtain a sorting result;
extracting a preset number of pixel regions ranked at the top from the sequencing result, and determining the size mean value of the circumscribed rectangles of the preset number of pixel regions;
and determining the rectangular area of each lamp bead based on the size average value, and taking the sum of the brightness of the pixel points in the rectangular area of each lamp bead as the display brightness value of the luminescent tube with the corresponding primary color in the lamp bead.
4. A luminance correcting apparatus characterized by comprising:
the first acquisition unit acquires a primary color image of the display screen under a plurality of gray scales, wherein the primary color image of the display screen under each gray scale is as follows: when the single primary color under the gray scale is displayed, shooting images of the display screen are displayed;
the detection unit is used for determining the display brightness value of each primary color light emitting tube in each lamp bead in the display screen to each gray scale according to the primary color image under each gray scale;
the mapping unit is used for determining the correction parameters of the luminescent tubes of each primary color in each lamp bead when the luminescent tubes are displayed according to the gray scale, and the correction parameters of the luminescent tubes of each primary color of each lamp bead when the luminescent tubes are displayed according to the gray scale are used for expressing: the mapping relation between the target brightness value of the luminescent tube of the primary color under the gray scale and the display brightness value of the luminescent tube of the primary color of the lamp bead;
the second acquisition unit acquires correction parameters of a plurality of gray scales of the display screen, wherein the correction parameters of each gray scale comprise: correcting parameters of the luminotrons of each primary color in each lamp bead of the display screen when displaying according to the gray scale;
the selection unit is used for determining a gray scale interval where each primary color component of each pixel point in the image frame to be displayed is located, wherein the gray scale interval where each primary color component of each pixel point is located is as follows: the primary color component of the pixel point belongs to a gray scale interval within a plurality of gray scale interval ranges formed by the plurality of gray scales;
and the computing unit is used for determining the correction parameters of the primary color components of each pixel point according to the correction parameters of the two gray scales in the gray scale interval where the primary color components of each pixel point in the image frame are located.
5. A display device, comprising:
a display screen;
a display controller for performing the luminance correction method as claimed in any one of claims 1 to 3.
6. A computing device, comprising:
a processor;
a storage device;
wherein the processor is configured to perform the luminance correction method as claimed in any one of claims 1 to 3.
7. A storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of luminance correction of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010216415.8A CN113516939B (en) | 2020-03-25 | 2020-03-25 | Brightness correction method and device, display equipment, computing equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010216415.8A CN113516939B (en) | 2020-03-25 | 2020-03-25 | Brightness correction method and device, display equipment, computing equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113516939A CN113516939A (en) | 2021-10-19 |
CN113516939B true CN113516939B (en) | 2022-08-26 |
Family
ID=78060129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010216415.8A Active CN113516939B (en) | 2020-03-25 | 2020-03-25 | Brightness correction method and device, display equipment, computing equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113516939B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114220371A (en) * | 2021-12-10 | 2022-03-22 | 西安诺瓦星云科技股份有限公司 | Full-gray-scale point-by-point correction method and related device |
CN114299857B (en) * | 2021-12-30 | 2023-05-30 | 卡莱特云科技股份有限公司 | LED display screen multilayer correction method and device and computer equipment |
TWI801223B (en) * | 2022-04-27 | 2023-05-01 | 大陸商北京歐錸德微電子技術有限公司 | Pixel brightness compensation method for OLED display panel, OLED display device, and information processing device |
CN114708826B (en) * | 2022-04-27 | 2023-11-10 | 北京欧铼德微电子技术有限公司 | Luminance correction method, apparatus, electronic device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1185104A (en) * | 1997-09-11 | 1999-03-30 | N H K Technical Service:Kk | Eliminating method for fixed pattern noise of large screen led display device |
CN104299565A (en) * | 2014-10-13 | 2015-01-21 | 西安诺瓦电子科技有限公司 | Low grey scale correction method and system of LED display device |
CN105185314A (en) * | 2015-10-13 | 2015-12-23 | 西安诺瓦电子科技有限公司 | Uniformity compensation method for LED display screen |
KR20180062571A (en) * | 2016-11-30 | 2018-06-11 | 엘지디스플레이 주식회사 | Method and apparatus for generating compensation data of display panel |
CN110277054A (en) * | 2019-07-23 | 2019-09-24 | 中国科学院长春光学精密机械与物理研究所 | A kind of LED display multi-grey level bearing calibration |
-
2020
- 2020-03-25 CN CN202010216415.8A patent/CN113516939B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1185104A (en) * | 1997-09-11 | 1999-03-30 | N H K Technical Service:Kk | Eliminating method for fixed pattern noise of large screen led display device |
CN104299565A (en) * | 2014-10-13 | 2015-01-21 | 西安诺瓦电子科技有限公司 | Low grey scale correction method and system of LED display device |
CN105185314A (en) * | 2015-10-13 | 2015-12-23 | 西安诺瓦电子科技有限公司 | Uniformity compensation method for LED display screen |
KR20180062571A (en) * | 2016-11-30 | 2018-06-11 | 엘지디스플레이 주식회사 | Method and apparatus for generating compensation data of display panel |
CN110277054A (en) * | 2019-07-23 | 2019-09-24 | 中国科学院长春光学精密机械与物理研究所 | A kind of LED display multi-grey level bearing calibration |
Also Published As
Publication number | Publication date |
---|---|
CN113516939A (en) | 2021-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113516939B (en) | Brightness correction method and device, display equipment, computing equipment and storage medium | |
US20210134242A1 (en) | Display method of display panel, display panel and display device | |
WO2016150004A1 (en) | Device and method for processing image to be displayed on oled display | |
CN111816121B (en) | Display panel brightness compensation method and system and display panel | |
CN109686342B (en) | Image processing method and device | |
CN103778900B (en) | A kind of image processing method and system | |
JP2020531931A (en) | Image processing methods and devices, storage media, computer devices | |
CN106060491A (en) | Projected image color correction method and apparatus | |
CN113191988B (en) | Brightness correction method and device, storage medium and electronic device | |
US10645304B2 (en) | Device and method for reducing the set of exposure times for high dynamic range video/imaging | |
WO2022120799A1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
WO2022032919A1 (en) | Grayscale-adaptive correction data control method and apparatus, and led display screen | |
WO2024001502A1 (en) | Screen display method, screen display apparatus, electronic device, program and medium | |
CN117037652A (en) | Point-to-point correction method and device for display screen and computer equipment | |
CN116862810A (en) | Brightness adjusting method and device | |
CN116843566A (en) | Tone mapping method, tone mapping device, display device and storage medium | |
CN112492286A (en) | Automatic white balance correction method, device and computer storage medium | |
WO2023040431A1 (en) | Tone mapping method, device and system | |
WO2019137396A1 (en) | Image processing method and device | |
US20220139309A1 (en) | Method of compensating for degeneration of electroluminescent display device and display system performing the same | |
CN110808002A (en) | Screen display compensation method and device and electronic equipment | |
CN106791757B (en) | Image correction system and method thereof | |
CN115035851B (en) | Gamma white balance rapid adjustment method and related device | |
CN109712126B (en) | Picture identification method and device | |
CN113571010B (en) | Brightness and chrominance information acquisition method, device and system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |