Display picture uniformity processing method, related device and storage medium

By using a programmable logic chip (FPGA) and a color compensation table to perform pixel compensation on the graphics card input signal, the problem of poor color uniformity processing effect of the monitor under different sizes is solved, flexible uniformity processing is achieved, and the display effect is improved.

CN121999697APending Publication Date: 2026-05-08SHENZHEN HAOLI SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN HAOLI SOFTWARE CO LTD
Filing Date
2024-11-04
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing monitors cannot flexibly adjust the number of zones and gray levels across different sizes, resulting in poor color uniformity processing and failing to meet various requirements.

Method used

The system uses a programmable logic chip (FPGA) to receive the input signal from the graphics card, performs pixel compensation processing through a chromaticity compensation table, and calculates the target chromaticity and brightness compensation values ​​according to the display area division of the target monitor, thereby achieving uniformity processing of the graphics card input signal.

Benefits of technology

It enables flexible adjustment of uniformity processing effects on displays of different sizes, meeting various needs and improving the uniformity processing effect of color and brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121999697A_ABST
    Figure CN121999697A_ABST
Patent Text Reader

Abstract

The invention discloses a display picture uniformity processing method, a related device and a storage medium. The method comprises the following steps: receiving a current display card input signal of a target display; encoding and decoding the video card input signal by utilizing a programmable logic chip FPGA (Field Programmable Gate Array) to obtain coordinates and pixel values of each pixel point of the video card input signal; based on the coordinate of each pixel point, compensating the pixel value of each pixel point by using a compensation value corresponding to each display area of the target display in a chromaticity compensation table; wherein the compensation value corresponding to each display area of the target display in the chromaticity compensation table is used for calculating the chromaticity and brightness of the same area on the displayed white picture by using the chromaticity of the same area on the red picture, the green picture and the blue picture displayed by the target display in advance, and converting the chromaticity and brightness into the compensation values corresponding to the target chromaticity and the target brightness; and encoding and decoding the compensated video card input signal, and providing the video card input signal to a target display for displaying.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display data processing technology, and in particular to a method and related apparatus and storage medium for processing the uniformity of display images. Background Technology

[0002] Currently, for monitors on many devices, in order to achieve better display effects, color uniformity processing is usually performed on the displayed image to make the display effect uniform, thereby achieving a better overall display effect.

[0003] Currently, color uniformity processing of an image is mainly achieved through the monitor's built-in chip. The chip divides the image into zones according to its specifications and adjusts the brightness of each area of ​​the image to be displayed according to a fixed number of gray levels, such as 255, 160, and 64. This achieves color uniformity processing of the image, and the monitor then displays the processed image.

[0004] However, if products of different sizes use the same chip, the inflexible number of partitions results in satisfactory processing on small screens but poor processing on large screens. Furthermore, the fixed number of gray levels cannot meet various needs, so existing methods cannot achieve optimal uniformity processing results in all situations. Summary of the Invention

[0005] In view of the shortcomings of the prior art, this application provides a display uniformity processing method, related apparatus, and storage medium to solve the problem that the prior art cannot guarantee the quality of uniformity processing effect.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] The first aspect of this application provides a method for processing the uniformity of a display screen, including:

[0008] Receive the current graphics card input signal for the target monitor;

[0009] The input signal of the graphics card is encoded and decoded using a programmable logic chip (FPGA) to obtain the coordinates and pixel values ​​of each pixel in the input signal of the graphics card.

[0010] The programmable logic chip (FPGA) compensates the pixel values ​​of each pixel in the graphics card input signal based on the coordinates of each pixel and using the compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table. The display areas of the target display are pre-divided according to requirements. The compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table are calculated in advance using the chromaticity of the same area on the red, green, and blue screens displayed on the target display to obtain the chromaticity and brightness of the same area on the white screen displayed on the target display, and then converted into compensation values ​​corresponding to the specified target chromaticity and brightness.

[0011] The programmable logic chip (FPGA) is used to encode and decode the compensated graphics card input signal and then provide it to the target display for display.

[0012] Optionally, the above-described method for processing display uniformity further includes:

[0013] Each target solid color image displayed on the target display is captured, and the chromaticity and luminance of each pixel in each target solid color image are obtained; wherein, each target solid color image includes a red image, a green image, a blue image, and a white image;

[0014] Each of the target solid color images is divided into multiple regions on an equal basis according to the same specifications;

[0015] The mean chromaticity and mean luminance of each pixel in each region of each target solid color image are calculated respectively to obtain the chromaticity and luminance of each region of each target solid color image.

[0016] Select the target chromaticity and the target luminance;

[0017] Using the chromaticity of the same area on the red, green, and blue images respectively, calculate the chromaticity of each of the same areas on the white image, convert them into compensation values ​​corresponding to the target chromaticity and the target brightness, and obtain the compensation values ​​corresponding to each area on the white image;

[0018] The compensation values ​​corresponding to each area on the white screen are used as the compensation values ​​corresponding to the display areas at the same positions on the target screen to form the chromaticity compensation table.

[0019] Optionally, in the above-described display uniformity processing method, selecting the target chromaticity and the target brightness includes:

[0020] The chromaticity and luminance of the region with the lowest luminance in each region of the white image are selected as the target chromaticity and target luminance.

[0021] Optionally, in the above-described display uniformity processing method, the step of compensating the pixel values ​​of each pixel in the graphics card input signal by the programmable logic chip FPGA based on the coordinates of each pixel in the graphics card input signal and using the compensation values ​​corresponding to each display area of ​​the target display in the color compensation table includes:

[0022] For each pixel of the graphics card input signal, the programmable logic chip FPGA determines the display area of ​​the target display where the pixel is located based on the coordinates of the pixel.

[0023] From the mapping relationship between the brightness and the input of the graphics card input signal, find the pixel value corresponding to the compensation value on the three channels of the display area of ​​the target display where the pixel is located in the color compensation table, and obtain the pixel compensation value on the three channels corresponding to the pixel.

[0024] The pixel value of the pixel in the three channels is compensated using the pixel compensation values ​​corresponding to the pixel.

[0025] Optionally, in the above-described display uniformity processing method, the step of compensating the pixel value of the pixel in the three channels using the pixel compensation values ​​corresponding to the pixel includes:

[0026] The pixel compensation values ​​in the three channels corresponding to the pixel are multiplied by the ratio of the pixel value in the three channels to 255 to obtain the compensated pixel values ​​in the three channels.

[0027] A second aspect of this application provides a display screen uniformity processing apparatus, comprising:

[0028] The signal receiving unit is used to receive the current graphics card input signal of the target monitor.

[0029] The preprocessing unit is used to encode and decode the graphics card input signal using a programmable logic chip (FPGA) to obtain the coordinates and pixel values ​​of each pixel in the graphics card input signal.

[0030] The uniformity processing unit is used by the programmable logic chip FPGA to compensate the pixel values ​​of each pixel in the graphics card input signal based on the coordinates of each pixel and using the compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table. The display areas of the target display are pre-divided according to requirements. The compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table are calculated in advance using the chromaticity of the same area on the red, green, and blue screens displayed on the target display to obtain the chromaticity and brightness of the same area on the white screen displayed on the target display, and then converted into compensation values ​​corresponding to the specified target chromaticity and target brightness.

[0031] The display unit is used to encode and decode the compensated graphics card input signal using the programmable logic chip FPGA and provide it to the target display for display.

[0032] Optionally, the above-mentioned display uniformity processing apparatus further includes:

[0033] The acquisition unit is used to acquire each target solid color image displayed on the target display, and to obtain the chromaticity and brightness of each pixel of each target solid color image; wherein, each target solid color image includes a red image, a green image, a blue image, and a white image;

[0034] A dividing unit is used to divide each of the target solid color images into multiple regions equally according to the same specifications;

[0035] The mean value calculation unit is used to calculate the mean value of chromaticity and the mean value of luminance of each pixel in each region of each target solid color image, so as to obtain the chromaticity and luminance of each region of each target solid color image;

[0036] A selection unit is used to select the target chromaticity and the target luminance;

[0037] The compensation value calculation unit is used to calculate the compensation values ​​of each identical area on the white screen by using the chromaticity of the same area on the red screen, the green screen and the blue screen respectively, and convert them into compensation values ​​corresponding to the target chromaticity and the target brightness, so as to obtain the compensation values ​​corresponding to each area on the white screen.

[0038] The table generation unit is used to take the compensation values ​​corresponding to each area on the white screen as the compensation values ​​corresponding to the display areas at the same positions on the target screen, and form the chromaticity compensation table.

[0039] Optionally, in the above-described display uniformity processing apparatus, the selection unit includes:

[0040] A selection sub-unit is used to select the chromaticity and luminance of the region with the lowest luminance in each region of the white image, as the target chromaticity and target luminance.

[0041] Optionally, in the above-described display uniformity processing apparatus, the uniformity processing unit includes:

[0042] The region determination unit is used to determine the display area of ​​the target display where each pixel of the graphics card input signal is located, based on the coordinates of the pixel by the programmable logic chip FPGA.

[0043] The mapping unit is used to find the pixel value corresponding to the compensation value on the three channels of the display area of ​​the target display where the pixel point is located from the mapping relationship between the brightness and the input of the graphics card input signal, and to obtain the pixel compensation value on the three channels corresponding to the pixel point.

[0044] The compensation unit is used to compensate the pixel value of the pixel in the three channels using the pixel compensation values ​​in the three channels corresponding to the pixel.

[0045] Optionally, in the above-described display uniformity processing apparatus, the compensation unit includes:

[0046] The compensation subunit is used to multiply the pixel compensation value of the pixel in the three channels by the ratio of the pixel value of the pixel in the three channels to 255, respectively, to obtain the compensated pixel value of the pixel in the three channels.

[0047] A third aspect of this application provides an electronic device, comprising:

[0048] Memory and processor;

[0049] The memory is used to store programs;

[0050] The processor is used to execute the program, which, when executed, is specifically used to implement the display uniformity processing method as described in any of the above.

[0051] The fourth aspect of this application provides a computer storage medium for storing a computer program, which, when executed by a processor, is used to implement the display uniformity processing method as described in any one of claims 1 to 5.

[0052] This application provides a method for processing display screen uniformity. It pre-calculates the chromaticity and luminance of the same area on the white screen displayed on the target monitor using the chromaticity of the same area on the red, green, and blue screens. This chromaticity and luminance are then converted into compensation values ​​corresponding to specified target chromaticity and luminance, facilitating subsequent chromaticity and luminance uniformity processing. During uniformity processing, the current graphics card input signal to the target monitor is received, and a programmable logic chip (FPGA) encodes and decodes the input signal to obtain the coordinates and pixel values ​​of each pixel, enabling regional compensation of each pixel. Then, based on the coordinates of each pixel in the graphics card input signal, the FPGA uses the compensation values ​​corresponding to each display area of ​​the target monitor in a chromaticity compensation table to compensate the pixel values ​​of each pixel in the graphics card input signal, thereby achieving uniformity processing of the graphics card input signal through pixel value compensation. Finally, the FPGA encodes and decodes the compensated graphics card input signal and provides it to the target monitor for display. Because an FPGA is used, the signal is no longer affected by the graphics card chip. Correspondingly, the display areas of the target monitor can be divided according to requirements, and the target color and target brightness can be specified, no longer limited by the number of partitions and fixed gray levels. This effectively meets the uniformity processing needs of various sizes and requirements, and can achieve better processing results. Furthermore, simultaneous uniformity processing of color and brightness further improves the uniformity processing effect. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0054] Figure 1 A flowchart illustrating a display uniformity processing method provided in this application embodiment;

[0055] Figure 2 A flowchart illustrating a method for constructing a chromaticity compensation table as provided in an embodiment of this application;

[0056] Figure 3 A schematic diagram illustrating an example of dividing a target solid color image into regions, provided in an embodiment of this application;

[0057] Figure 4 A flowchart illustrating a method for compensating pixel values ​​of a graphics card input signal, provided in an embodiment of this application;

[0058] Figure 5 A schematic diagram of the architecture of a display screen uniformity processing device provided in an embodiment of this application;

[0059] Figure 6 This is a schematic diagram of the architecture of an electronic device provided in an embodiment of this application. Detailed Implementation

[0060] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0061] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0062] This application provides a method for processing the uniformity of a display screen, such as... Figure 1 As shown, it includes the following steps:

[0063] S101: Received the current graphics card input signal of the target monitor.

[0064] The target display can be any display.

[0065] Specifically, when a certain image needs to be displayed on the target monitor, it is input as an input signal to the graphics card for processing, and the processed signal is then provided to the target monitor for display.

[0066] S102. The programmable logic chip FPGA is used to encode and decode the graphics card input signal to obtain the coordinates and pixel values ​​of each pixel in the graphics card input signal.

[0067] It should be noted that, to avoid being limited by the monitor's chip, a programmable logic chip (FPGA) is used to process the graphics card input signals. To process the graphics card input signals in zones, the coordinates of each pixel in the input signal need to be obtained to determine the region of each pixel's coordinates. Furthermore, to simultaneously perform uniformity processing for both brightness and chroma, the pixel values ​​of each pixel in the input signal are also obtained. Therefore, the FPGA encodes and decodes the graphics card input signals to obtain the coordinates and pixel values ​​of each pixel in the input signal.

[0068] The coordinates of each pixel obtained from the analysis range from the screen pixels of the target display. For example, if the display screen resolution is 1920*1080 pixels, then the x-coordinate ranges from [0, 1919] and the y-coordinate ranges from [0, 1079]. The pixel values ​​are specifically RGB values, that is, the pixel values ​​of the three color channels, and the pixel values ​​of each channel range from [0, 255].

[0069] S103. The programmable logic chip FPGA compensates for the pixel values ​​of each pixel in the graphics card input signal based on the coordinates of each pixel in the graphics card input signal and using the compensation values ​​corresponding to each display area of ​​the target display in the color compensation table.

[0070] The target display area is pre-divided according to requirements, so the number of partitions can be adjusted according to the size of the product, allowing for flexible changes to adapt to various sizes and achieve optimal processing results for each size.

[0071] The compensation value corresponding to each display area of ​​the target display in the chromaticity compensation table is calculated in advance using the chromaticity of the same area on the red, green and blue screens displayed on the target display. The chromaticity and luminance of the same area on the white screen displayed on the target display are then converted into the compensation value corresponding to the specified target chromaticity and target luminance.

[0072] Therefore, it is necessary to perform uniformity processing on the data of the three color channels, that is, to process the data of the red, green, and blue channels. In this embodiment, the red, green, and blue images displayed on the target display are pre-acquired to obtain compensation values ​​for these three color channels based on these three color images. Therefore, the compensation value corresponding to a display area specifically includes compensation values ​​for all three color channels.

[0073] Because processing needs to be done in zones, data from each zone must be processed separately to obtain compensation values ​​for each zone. Furthermore, since brightness and chromaticity uniformity are judged based on a white screen, the compensation values ​​are calculated by converting the chromaticity and brightness of each zone on the target monitor's white screen to the specified target chromaticity and brightness. These compensation values ​​can then be used to correct the chromaticity and brightness of the input signal. The target chromaticity and target brightness can be selected according to requirements, thus moving away from a fixed grayscale level and allowing for the satisfaction of various needs.

[0074] Optionally, the compensation value can be the compensated value, thus allowing us to obtain the ratio between the compensated value and the graphics card input signal value, determine the compensated graphics card input signal value, and thereby achieve compensation for the graphics card input signal. Alternatively, it can be the value required to compensate for the target chroma and target brightness, allowing us to use the required compensation value to compensate the graphics card input signal.

[0075] Specifically, the FPGA (Field-Programmable Gate Array) determines the display area of ​​each pixel on the target display based on the coordinates of each pixel in the graphics card input signal. Then, using the compensation values ​​of the three color channels corresponding to that display area in the color compensation table, the pixel values ​​of the pixel on each of the three color channels are compensated.

[0076] Optionally, in another embodiment of this application, a method for constructing a chromaticity compensation table is provided, such as... Figure 2 As shown, it includes the following steps:

[0077] S201. Collect each target solid color image displayed on the target display, and obtain the chromaticity and brightness of each pixel in each target solid color image.

[0078] The target solid color images include red, green, blue, and white images.

[0079] Optionally, the target monitor can be shown solid red, green, blue, and white images separately in a darkroom, and then the images displayed on the target monitor can be captured by a camera. The chromaticity (x, y) and luminance of each pixel can then be extracted from the captured images.

[0080] S202. Divide each target solid color image into multiple areas of equal size according to the same specifications.

[0081] It should be noted that since all target solid color images are of the same size, and subsequent processing will utilize data from the same area, each target solid color image needs to be divided into multiple regions of equal size according to the same specifications. Specifically, each target solid color image needs to be divided into (n*m) regions of the same size. The specifications n*m can be adjusted according to requirements and are not limited. For example, ... Figure 3 As shown, the screen is divided into 60*40 equally sized areas.

[0082] S203. Calculate the average chromaticity and average luminance of each pixel in each region of each target solid color image to obtain the chromaticity and luminance of each region of each target solid color image.

[0083] Specifically, for each region on each target solid color image, the average chromaticity and average luminance of each pixel in that region are calculated and used as the chromaticity and luminance of that region.

[0084] S204. Select target chromaticity and target brightness.

[0085] Alternatively, since the specific effect of numerical settings is difficult to ascertain, the target chromaticity and target brightness can be selected from various areas of the white screen. That is, a specific area that meets the desired effect is selected from the various areas of the white screen, and the chromaticity and brightness of that area are defined as the target chromaticity and target brightness. Of course, the target chromaticity and target brightness can also be selected through numerical settings or other methods.

[0086] Optionally, in another embodiment of this application, one specific implementation of step S204 includes:

[0087] Select the chromaticity and luminance of the area with the lowest brightness in each region of the white image as the target chromaticity and target luminance.

[0088] In this embodiment of the application, the main purpose is to reduce the brightness of other areas to a suitable level. Therefore, the chromaticity and brightness of the area with the lowest brightness in the white image are selected as the target chromaticity and target brightness.

[0089] S205. Using the chromaticity of the same area on the red, green, and blue screens respectively, calculate the compensation values ​​of each identical area on the white screen, convert them into the target chromaticity and target brightness, and obtain the compensation values ​​corresponding to each area on the white screen.

[0090] It's important to note that the three primary colors of a display are red, green, and blue; other colors are obtained by combining these three in different proportions. Therefore, adjusting the chromaticity and brightness of a specific area on a white screen to the target chromaticity and brightness compensation values ​​essentially involves calculating the compensation values ​​for red, green, and blue. Thus, for a specific area on a white screen, the chromaticity of that area on the red, green, and blue screens is used as its chromaticity across the three channels. Based on the target chromaticity and brightness, their relationship can be determined. Therefore, based on this relationship, the brightness of that area after conversion across the three channels—the compensated brightness—can be further determined.

[0091] Specifically, the calculation process can be described as follows:

[0092]

[0093] Where lvr, lvg, and lvb are the required red channel luminance, green channel luminance, and blue channel luminance, respectively. xr and yr are the chromaticity xy of region i in the red image captured by the camera. xg and yg are the chromaticity xy of region i in the green image captured by the camera. xb and yb are the chromaticity xy of region i in the blue image captured by the camera. x, y, and lv are the target chromaticity xy and the target white luminance, respectively. z = 1 - xy, zr = 1 - xr - yr, zg = 1 - xg - yg, and zb = 1 - xb - yb.

[0094] Therefore, assuming r = 0.64, yr = 0.33, xg = 0.3, yg = 0.6, xb = 0.15, yb = 0.06, x = 0.313, y = 0.329, and lv = 100, substituting these values ​​into the formula, we can calculate lvr = 21.3, lvg = 71.5, and lvb = 7.2.

[0095] Here, lvr, lvg, and lvb represent the luminance values ​​of the three channels after compensation. Optionally, these three parameters can be directly used to determine the compensation value, i.e., the pixel value to be compensated. This compensation value is the value after compensation, and the compensation ratio can be determined based on the compensation value, and the input value can be compensated according to this ratio. Of course, since the luminance values ​​of the red, green, and blue images have already been obtained, i.e., the luminance values ​​before compensation, the difference between the pixel values ​​corresponding to the luminance after compensation and the pixel values ​​corresponding to the luminance before compensation can also be used as the final compensation value. This compensation value is the difference that needs to be compensated.

[0096] S206. Use the compensation values ​​corresponding to each area on the white screen as the compensation values ​​corresponding to the display area at the same position on the target screen to form a color compensation table.

[0097] Optionally, after calculating the lvr, lvg, and lvb of each region, and the luminance values ​​of the three channels after compensation for each region, these three parameters can be directly determined as the compensation values ​​corresponding to the display areas of the target screen. This involves creating a chromaticity compensation table using the calculated compensation values ​​for each region. At this point, the compensation values ​​in the chromaticity compensation table are the compensated values. Subsequent compensation of the input signal can be achieved based on the ratio of the compensation value to the input information, i.e., the ratio of the compensated value to the value before compensation. Of course, since the luminance values ​​of the red, green, and blue images (i.e., the uncompensated luminance values) were already obtained when capturing the target solid color image, the difference between the compensated and uncompensated luminance values ​​can also be used as the final compensation value to create a chromaticity compensation table. At this point, the values ​​in the compensation table are the differences that need to be compensated, and these compensation values ​​can be directly used to compensate the input signal later.

[0098] Optionally, in another embodiment of this application, one specific implementation of step S103 is as follows: Figure 4 As shown, it includes the following steps:

[0099] S401: For each pixel of the graphics card input signal, the programmable logic chip FPGA determines the display area of ​​the target display based on the coordinates of the pixel.

[0100] It should be noted that since the regions are divided evenly according to certain specifications, the coordinate range of each region is determined. Therefore, based on the coordinates of a pixel, the display area of ​​the target monitor where that pixel is located can be determined.

[0101] S402. From the mapping relationship between the brightness of the graphics card input signal and the input, find the pixel value corresponding to the compensation value on the three channels of the target display area where the pixel is located in the brightness compensation table, and obtain the pixel compensation value on the three channels corresponding to the pixel.

[0102] The mapping relationship between brightness and input refers to the GAMMA mapping relationship.

[0103] It's important to note that what needs compensation is the pixel value, i.e., the RGB value. The compensation value in the chromaticity compensation table is the luminance value, so the luminance compensation value needs to be mapped to the corresponding pixel compensation value. The relationship between luminance and RGB values ​​conforms to the GAMMA mapping. The specific GAMMA value is determined by the input signal. Therefore, the mapping of compensation values ​​can be achieved using the GAMMA mapping relationship.

[0104] For example, when the GAMMA value is 2.2, the GAMMA mapping relationship is shown in Table 1 below:

[0105] Table 1

[0106]

[0107]

[0108] When the compensation values ​​are lvr=21.3, lvg=71.5, and lvb=7.2 obtained in the example above, the corresponding R compensation value is 237, G compensation value is 244, and B compensation value is 230.

[0109] It should also be noted that, optionally, when performing mapping, for compensation values ​​between two values, the mapping can be performed according to the mapping relationship of the value closest to the compensation value. Of course, the mapped pixel value can be calculated using interpolation, or other methods can be used.

[0110] S403. Compensate the pixel value of the pixel in the three channels using the pixel compensation values ​​corresponding to the pixel.

[0111] Optionally, in another embodiment of this application, one specific implementation of step S403 includes:

[0112] Multiply the pixel compensation value of the pixel in each of the three channels by the ratio of the pixel value in the three channels to 255 to obtain the compensated pixel value of the pixel in the three channels.

[0113] It should be noted that when the compensation value is the compensated value, the compensation is performed proportionally. Therefore, the compensation for the pixel value of a single pixel can be expressed as follows:

[0114] Output value after R compensation = R compensation value * R input value before compensation / 255.

[0115] Output value after G compensation = G compensation value * input value before G compensation / 255.

[0116] Output value after B compensation = B compensation value * input value before B compensation / 255.

[0117] S104. The programmable logic chip FPGA is used to encode and decode the compensated graphics card input signal and provide it to the target display for display.

[0118] Since the graphics card input signal has been encoded and decoded before its RGB values ​​have been compensated, it needs to be encoded and decoded again after compensation to be displayed in a format that can be displayed and then provided to the target monitor.

[0119] This application provides a method for processing display screen uniformity. It pre-calculates the chromaticity and luminance of the same area on the white screen displayed on the target monitor using the chromaticity of the same area on the red, green, and blue screens. This chromaticity and luminance are then converted into compensation values ​​corresponding to specified target chromaticity and luminance, facilitating subsequent chromaticity and luminance uniformity processing. During uniformity processing, the current graphics card input signal to the target monitor is received, and the input signal is encoded and decoded using a programmable logic chip (FPGA) to obtain the coordinates and pixel values ​​of each pixel, allowing for partial compensation of each pixel. Then, based on the coordinates of each pixel in the graphics card input signal, the FPGA uses the compensation values ​​corresponding to each display area of ​​the target monitor in the chromaticity compensation table to compensate the pixel values ​​of each pixel in the graphics card input signal, thereby achieving uniformity processing of the graphics card input signal through pixel value compensation. Finally, the FPGA encodes and decodes the compensated graphics card input signal and provides it to the target monitor for display. Because an FPGA is used, it is no longer affected by various factors of the graphics card chip. Correspondingly, the display areas of the target monitor can be divided according to requirements, and the target color and target brightness can be specified, no longer limited by the number of partitions and fixed gray levels. This effectively meets the uniformity processing needs of various sizes and requirements, and can achieve better processing results. Furthermore, simultaneous uniformity processing of color and brightness further improves the uniformity processing effect.

[0120] Another embodiment of this application provides a display screen uniformity processing device, such as... Figure 5 As shown, it includes:

[0121] The signal receiving unit 501 is used to receive the current graphics card input signal of the target monitor.

[0122] The preprocessing unit 502 is used to encode and decode the graphics card input signal using the programmable logic chip FPGA to obtain the coordinates and pixel values ​​of each pixel in the graphics card input signal.

[0123] The uniformity processing unit 503 is used by the programmable logic chip FPGA to compensate the pixel values ​​of each pixel of the graphics card input signal based on the coordinates of each pixel of the graphics card input signal and using the compensation values ​​corresponding to each display area of ​​the target display in the color compensation table.

[0124] The target display's various display areas are pre-divided according to requirements. The compensation value corresponding to each display area of ​​the target display in the chromaticity compensation table is calculated in advance using the chromaticity of the same area on the red, green, and blue images displayed on the target display. The chromaticity and luminance of the same area on the white image displayed on the target display are then converted into compensation values ​​corresponding to the specified target chromaticity and luminance.

[0125] Display unit 504 is used to encode and decode the compensated graphics card input signal using a programmable logic chip FPGA and provide it to the target display for display.

[0126] Optionally, in another embodiment of the display uniformity processing apparatus provided in this application, the apparatus further includes:

[0127] The acquisition unit is used to acquire each target solid color image displayed on the target display, and to obtain the chromaticity and luminance of each pixel in each target solid color image. The target solid color images include red, green, blue, and white images.

[0128] The division unit is used to divide each target solid color image into multiple regions on an equal basis according to the same specifications.

[0129] The mean value calculation unit is used to calculate the mean value of chromaticity and the mean value of luminance of each pixel in each region of each target solid color image, so as to obtain the chromaticity and luminance of each region of each target solid color image.

[0130] The selection unit is used to select the target chromaticity and target brightness.

[0131] The compensation value calculation unit is used to calculate the compensation values ​​of each identical area on the white screen by using the chromaticity of the same area on the red screen, green screen and blue screen respectively, and convert them into compensation values ​​corresponding to the target chromaticity and target brightness, so as to obtain the compensation values ​​corresponding to each area on the white screen.

[0132] The table generation unit is used to take the compensation values ​​corresponding to each area on the white screen as the compensation values ​​corresponding to the display area at the same position on the target screen, and form a color compensation table.

[0133] Optionally, in another embodiment of the display uniformity processing apparatus provided in this application, the selection unit includes:

[0134] Select sub-units to select the chromaticity and luminance of the lowest-brightness area in each region of the white image, as the target chromaticity and target luminance.

[0135] Optionally, in another embodiment of the display screen uniformity processing apparatus provided in this application, the uniformity processing unit includes:

[0136] The region determination unit is used to determine the display area of ​​the target display for each pixel of the graphics card input signal, based on the coordinates of the pixel by the programmable logic chip FPGA.

[0137] The mapping unit is used to find the pixel value corresponding to the compensation value on the three channels of the target display area where the pixel is located from the mapping relationship between the brightness of the graphics card input signal and the input, and obtain the pixel compensation value on the three channels corresponding to the pixel.

[0138] The compensation unit is used to compensate the pixel value of a pixel in the three channels by using the pixel compensation values ​​in the three channels corresponding to the pixel.

[0139] Optionally, in another embodiment of the display uniformity processing apparatus provided in this application, the compensation unit includes:

[0140] The compensation subunit is used to multiply the pixel compensation value of the pixel in the three channels by the ratio of the pixel value in the three channels to 255, respectively, to obtain the compensated pixel value of the pixel in the three channels.

[0141] It should be noted that the specific working process of each unit provided in the above embodiments of this application can be referred to the corresponding steps in the above method embodiments, and will not be repeated here.

[0142] Another embodiment of this application provides an electronic device, such as... Figure 6 As shown, it includes:

[0143] Memory 601 and processor 602.

[0144] The memory 601 is used to store the program.

[0145] The processor 602 is used to execute the program stored in the memory 601. When the program is executed, it is specifically used to implement the display uniformity processing method provided in any of the above embodiments.

[0146] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed by a processor, is used to implement the display uniformity processing method provided in any of the above embodiments.

[0147] Computer storage media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0148] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0149] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing the uniformity of a display screen, characterized in that, include: Receive the current graphics card input signal for the target monitor; The input signal of the graphics card is encoded and decoded using a programmable logic chip (FPGA) to obtain the coordinates and pixel values ​​of each pixel in the input signal of the graphics card. The programmable logic chip (FPGA) compensates the pixel values ​​of each pixel in the graphics card input signal based on the coordinates of each pixel and using the compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table. The display areas of the target display are pre-divided according to requirements. The compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table are calculated in advance using the chromaticity of the same area on the red, green, and blue screens displayed on the target display to obtain the chromaticity and brightness of the same area on the white screen displayed on the target display, and then converted into compensation values ​​corresponding to the specified target chromaticity and brightness. The programmable logic chip (FPGA) is used to encode and decode the compensated graphics card input signal and then provide it to the target display for display.

2. The method according to claim 1, characterized in that, Also includes: Each target solid color image displayed on the target display is captured, and the chromaticity and luminance of each pixel in each target solid color image are obtained; wherein, each target solid color image includes a red image, a green image, a blue image, and a white image; Each of the target solid color images is divided into multiple regions on an equal basis according to the same specifications; The mean chromaticity and mean luminance of each pixel in each region of each target solid color image are calculated respectively to obtain the chromaticity and luminance of each region of each target solid color image. Select the target chromaticity and the target luminance; Using the chromaticity of the same area on the red, green, and blue images respectively, calculate the chromaticity of each of the same areas on the white image, convert them into compensation values ​​corresponding to the target chromaticity and the target brightness, and obtain the compensation values ​​corresponding to each area on the white image; The compensation values ​​corresponding to each area on the white screen are used as the compensation values ​​corresponding to the display areas at the same positions on the target screen to form the chromaticity compensation table.

3. The method according to claim 2, characterized in that, The selection of the target chromaticity and the target luminance includes: The chromaticity and luminance of the region with the lowest brightness in each region of the white image are selected as the target chromaticity and target luminance.

4. The method according to claim 1, characterized in that, The step of compensating the pixel values ​​of each pixel in the graphics card input signal by the programmable logic chip FPGA based on the coordinates of each pixel in the graphics card input signal and using the compensation values ​​corresponding to each display area of ​​the target display in the color compensation table includes: For each pixel of the graphics card input signal, the programmable logic chip FPGA determines the display area of ​​the target display where the pixel is located based on the coordinates of the pixel. From the mapping relationship between the brightness and the input of the graphics card input signal, find the pixel value corresponding to the compensation value on the three channels of the display area of ​​the target display where the pixel is located in the color compensation table, and obtain the pixel compensation value on the three channels corresponding to the pixel. The pixel value of the pixel in the three channels is compensated using the pixel compensation values ​​corresponding to the pixel.

5. The method according to claim 4, characterized in that, The step of compensating the pixel value of the pixel in the three channels using the pixel compensation values ​​corresponding to the pixel includes: The pixel compensation values ​​in the three channels corresponding to the pixel are multiplied by the ratio of the pixel value in the three channels to 255 to obtain the compensated pixel values ​​in the three channels.

6. A display screen uniformity processing device, characterized in that, include: The signal receiving unit is used to receive the current graphics card input signal of the target monitor. The preprocessing unit is used to encode and decode the graphics card input signal using a programmable logic chip (FPGA) to obtain the coordinates and pixel values ​​of each pixel in the graphics card input signal. The uniformity processing unit is used by the programmable logic chip FPGA to compensate the pixel values ​​of each pixel in the graphics card input signal based on the coordinates of each pixel and using the compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table. The display areas of the target display are pre-divided according to requirements. The compensation values ​​corresponding to each display area of ​​the target display in the chromaticity compensation table are calculated in advance using the chromaticity of the same area on the red, green, and blue screens displayed on the target display to obtain the chromaticity and brightness of the same area on the white screen displayed on the target display, and then converted into compensation values ​​corresponding to the specified target chromaticity and target brightness. The display unit is used to encode and decode the compensated graphics card input signal using the programmable logic chip FPGA and provide it to the target display for display.

7. The apparatus according to claim 6, characterized in that, Also includes: The acquisition unit is used to acquire each target solid color image displayed on the target display, and to obtain the chromaticity and brightness of each pixel of each target solid color image; wherein, each target solid color image includes a red image, a green image, a blue image, and a white image; A dividing unit is used to divide each of the target solid color images into multiple regions equally according to the same specifications; The mean value calculation unit is used to calculate the mean value of chromaticity and the mean value of luminance of each pixel in each region of each target solid color image, so as to obtain the chromaticity and luminance of each region of each target solid color image; A selection unit is used to select the target chromaticity and the target luminance; The compensation value calculation unit is used to calculate the compensation values ​​of each identical area on the white screen by using the chromaticity of the same area on the red screen, the green screen and the blue screen respectively, and convert them into compensation values ​​corresponding to the target chromaticity and the target brightness, so as to obtain the compensation values ​​corresponding to each area on the white screen. The table generation unit is used to take the compensation values ​​corresponding to each area on the white screen as the compensation values ​​corresponding to the display areas at the same positions on the target screen, and form the chromaticity compensation table.

8. The apparatus according to claim 7, characterized in that, The selection unit includes: A selection sub-unit is used to select the chromaticity and luminance of the region with the lowest luminance in each region of the white image, as the target chromaticity and target luminance.

9. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is used to execute the program, which, when executed, is specifically used to implement the display uniformity processing method as described in any one of claims 1 to 5.

10. A computer storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, is used to implement the display uniformity processing method as described in any one of claims 1 to 5.