Method and system for reducing uneven brightness of screen under different OPR
Through the image data statistics and format judgment module, the pixel value compensation value is calculated, which solves the problem of uneven brightness under different OPRs of the screen, and achieves the consistency of image brightness and the improvement of visual effects.
Patent Information
- Application Number
- CN202411815356.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-11
AI Technical Summary
In the prior art, the brightness of the screen displayed under different turn-on pixel ratios (OPRs) is uneven, resulting in a decrease in image visual effect.
Through the image data statistics module, image format judgment module and image pixel compensation calculation module, the image format is counted and judged, and the pixel value compensation value is calculated to ensure that the brightness of grayscale images, monochrome images and dual-channel mixed images under different OPR is consistent with that of 100% OPR, and the brightness of R, G, and B images are added together with the brightness of grayscale images under the same grayscale.
It realizes the consistency of image brightness under different OPRs, improves the visual effect of the image, and ensures that the brightness of the R, G, and B three-color images are consistent with the brightness of the grayscale images at the same grayscale.
Smart Images

Figure CN119766979A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image display technology, and in particular to a method and system for reducing uneven brightness of a screen with different OPRs. Background Art
[0002] Comparison of screen patterns under different ratios of on-pixel, that is, the size of the white area displayed on each screen is different. The white area represents the pixels that are lit and the current passes through. Since the total current is different due to the different ratios of on-pixel in each screen, even if the middle area of each screen receives the same white grayscale data, the brightness of the middle position of each screen is still different. This phenomenon of inconsistent brightness reduces the visual effect of the image.
[0003] When the image displays a pure color image, its brightness is measured, and the sum of the brightness of the R, G, and B three-color images is greater than the brightness of the grayscale image at the same grayscale. Summary of the invention
[0004] The technical problem to be solved by the present invention is to propose a method for reducing uneven brightness of the screen under different OPRs. The method for reducing uneven brightness of the screen under different OPRs ensures that the brightness of grayscale images, monochrome images, and dual-channel mixed-color images under different OPRs is the same as the brightness displayed under 100% OPR, and the brightness of the R, G, and B three-color images is added to maintain the same brightness as the grayscale image under the same grayscale.
[0005] In order to solve the above technical problems, the present invention provides a method for reducing uneven brightness of a screen under different OPRs, comprising the following steps:
[0006] The image data statistics module counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module;
[0007] The image format determination module determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image;
[0008] The image test statistics calculation module obtains the image test data to obtain a mapping table LUT of image pixel grayscale values;
[0009] When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module calculates the image value compensation value corresponding to the image: the value of the first correction value XZ1 is selected in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, the value of the second correction value XZ2 is selected in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and the brightness compensation coefficient K on both sides of the image is selected in the mapping table LUT according to the range of the value of the frame maximum value of the image; the image value compensation value corresponding to the image is obtained according to the first correction value XZ1, the second correction value XZ2, the mean value avgl, the compensation value C of the frame mean, and the image compensation strategy under the condition of comparing the pixel value with the frame mean value;
[0010] When the image is a mixed color image or a dual-channel image, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the selected channel to the other channel.
[0011] Preferably, the step of "counting basic image data of a frame of image" is specifically: counting the frame average values avgr, avgg, avgb of the three channels R, G, and B of the image, the frame maximum values maxr, maxg, maxb of the three channels R, G, and B, and the frame minimum values minr, ming, minb of the three channels R, G, and B.
[0012] Preferably, the image format judgment strategy is: when the frame maximum values maxr, maxg and maxb of the three channels of R, G, and B are all greater than zero, and the difference between the maximum value maxavg of the frame average value of the three channels of R, G, and B and the minimum value minavg of the frame average value of the three channels is less than or equal to 8, the image is judged to be a grayscale image; when the three-channel maximum values maxr, maxg and maxb are all greater than zero, and the difference between the maximum value maxavg of the frame average value of the three channels of R, G, and B and the minimum value minavg of the frame average value of the three channels is greater than 8, the image is judged to be a grayscale image; when only one of the frame maximum values of the three channels of R, G, and B is greater than 0, and the difference between the frame maximum value minus the frame minimum value of any one of the three channels of R, G, and B is greater than 5, the image is judged to be a monochrome image; when only one of the frame maximum values of any one of the three channels of R, G, and B is less than zero, and the difference between the frame maximum value minus the frame minimum value of any one of the other two channels is greater than 5, the image is judged to be a dual-channel image.
[0013] Preferably, the image compensation strategy when comparing the pixel value with the frame mean is:
[0014] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0015] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0016] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0017] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0018] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0019] Preferably, the step of "the image compensation calculation module obtains the mapping table LUT of the image pixel grayscale value" is specifically as follows: select the middle windowed image as the test image, adjust the middle windowed pixel value frame mean to 16, 32, ..., 256 for images of different OPRs, set the LUT for the middle windowed grayscale pixel value to be 16, 32, ..., 256, mark the pixel value corresponding to the initial windowed pixel value, and by adjusting the size of the middle pixel value, ensure that the marked grayscale brightness and its brightness when displayed in full screen are interpolated to obtain the grayscale pixel value under the corresponding frame mean, and gradually calculate the LUT compensation values of the three channels R, G, and B of the image.
[0020] Preferably, when the image is a grayscale image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” is specifically: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of values obtained by the relationship min / avg;
[0021] According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT;
[0022] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0023] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0024] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0025] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0026] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0027] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0028] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0029] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0030] Preferably, when the image is a monochrome image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” specifically comprises: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of values obtained by the relationship min / avg;
[0031] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0032] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0033] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0034] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0035] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0036] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0037] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0038] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0039] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0040] Preferably, when the image is a mixed color image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” is specifically as follows: firstly, the pixel data of the G channel image among the three channels of R, G, and B are processed:
[0041] Selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0042] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0043] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0044] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0045] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0046] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0047] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0048] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0049] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0050] Pend=Pix+C*XZ2+(P-avgl) / 255*K;
[0051] Then, according to the original pixel ratio of the three channels R, G, and B, the compensated pixel values of the other two channels are mapped.
[0052] Preferably, when the image is a dual-channel image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” is specifically as follows: if the image is a GB channel image or a GR channel image, the pixel data of the G channel image in the dual channel is first processed:
[0053] Selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0054] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0055] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0056] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0057] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0058] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0059] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0060] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0061] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0062] Pend=Pix+C*XZ2+(P-avgl) / 255*K;
[0063] Then, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the two channels.
[0064] In order to solve the above technical problems, the present invention also discloses an image processing system using the above method for reducing uneven brightness of screens with different OPRs, the image processing system comprising: an image data statistics module, an image format determination module and an image pixel compensation calculation module;
[0065] The image data statistics module counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module;
[0066] The image format determination module determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image;
[0067] The image test statistics calculation module obtains the image test data to obtain a mapping table LUT of image pixel grayscale values;
[0068] When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module calculates the image value compensation value corresponding to the image: the value of the first correction value XZ1 is selected in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, the value of the second correction value XZ2 is selected in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and the brightness compensation coefficient K on both sides of the image is selected in the mapping table LUT according to the value range of the frame maximum value of the image; the image value compensation value corresponding to the image is obtained according to the first correction value XZ1, the second correction value XZ2, the average value avgl, the compensation value C of the frame mean, and the image compensation strategy when the pixel value is compared with the frame mean value.
[0069] After adopting the above method and system, the image data statistics module counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module; the image format judgment module judges the image format according to the image format judgment strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image; the image test statistics calculation module obtains the image test data to obtain the mapping table LUT of the image pixel grayscale value; when the image is a grayscale image or a monochrome image, or the image is a dual-channel image, the G channel is selected, or the image is a mixed color image, the image pixel compensation calculation module calculates the image value compensation value corresponding to the image: the range of values obtained according to the relationship between the minimum frame value and the mean frame value of the image is selected in the mapping table LUT, and the value of the first correction value XZ1 is selected according to the relationship between the maximum frame value of the image The range of the relationship between the value and the frame average value is selected in the mapping table LUT, and the brightness compensation coefficient K on both sides of the image is selected in the mapping table LUT according to the value range of the frame maximum value of the image; the image value compensation value corresponding to the image is obtained according to the first correction value XZ1, the second correction value XZ2, the average value avgl, the compensation value C of the frame average and the image compensation strategy under the condition of comparing the pixel value with the frame average; when the image is a mixed color image or a dual-channel image, the compensated image value of the other channel is mapped according to the original pixel ratio of the selected channel to the other channel; the method for reducing the uneven brightness of the screen under different OPR ensures that the brightness of the grayscale image, the monochrome image, and the dual-channel mixed color image under different OPR is the same as the brightness displayed under its 100% OPR, and the brightness of the R, G, and B three-color images is added to keep consistent with the brightness of the grayscale image under the same grayscale. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 A flow chart of a method for reducing uneven brightness of a screen under different OPRs according to the present invention;
[0071] Figure 2 The system block diagram of an image processing system for reducing uneven brightness of a screen with different OPRs according to the present invention. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0073] Embodiment 1
[0074] See also Figure 1 and Figure 2 , Figure 1 This is a flow chart of a method for reducing uneven brightness of screens with different OPRs according to the present invention. Figure 2A system block diagram of an image processing system for reducing uneven brightness of a screen under different OPRs according to the present invention;
[0075] This embodiment discloses a method for reducing uneven brightness of a screen under different OPRs, comprising the following steps:
[0076] The image data statistics module 11 counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module;
[0077] The image format determination module 12 determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image;
[0078] The image test statistics calculation module 13 obtains the image test data to obtain a mapping table LUT of image pixel grayscale values;
[0079] When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module 14 calculates the image value compensation value corresponding to the image: select the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, select the value of the second correction value XZ2 in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the range of the value of the frame maximum value of the image; obtain the image value compensation value corresponding to the image according to the first correction value XZ1, the second correction value XZ2, the mean value avgl, the compensation value C of the frame mean, and the image compensation strategy under the condition of comparing the pixel value with the frame mean value;
[0080] When the image is a mixed color image or a dual-channel image, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the selected channel to the other channel.
[0081] Embodiment 2
[0082] This embodiment is based on the first embodiment. In this embodiment, the step of "counting the basic image data of a frame of image" is specifically: counting the frame average values avgr, avgg, avgb of the three channels R, G, and B of the image, the frame maximum values maxr, maxg, maxb of the three channels R, G, and B, and the frame minimum values minr, ming, minb of the three channels R, G, and B.
[0083] Embodiment 3
[0084] This embodiment is based on the first embodiment. In this embodiment, the image format determination strategy is: when the frame maximum values maxr, maxg and maxb of the three channels of R, G, and B are all greater than zero, and the difference between the maximum value maxavg of the frame average value of the three channels of R, G, and B and the minimum value minavg of the frame average value of the three channels is less than or equal to 8, the image is determined to be a grayscale image; when the three-channel maximum values maxr, maxg and maxb are all greater than zero, and the difference between the maximum value maxavg of the frame average value of the three channels of R, G, and B and the minimum value minavg of the frame average value of the three channels is greater than 8, the image is determined to be a grayscale image; when only one of the frame maximum values of the three channels of R, G, and B is greater than 0, and the difference between the frame maximum value minus the frame minimum value of any one of the three channels of R, G, and B is greater than 5, the image is determined to be a monochrome image; when only one of the frame maximum values of any one of the three channels of R, G, and B is less than zero, and the difference between the frame maximum value minus the frame minimum value of any one of the other two channels is greater than 5, the image is determined to be a dual-channel image.
[0085] Embodiment 4
[0086] This embodiment is based on the third embodiment. In this embodiment, the image compensation strategy when the pixel value is compared with the frame average value is:
[0087] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0088] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0089] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0090] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0091] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0092] Embodiment 5
[0093] This embodiment is based on the first embodiment. In this embodiment, the step "the image compensation calculation module obtains the mapping table LUT of the image pixel grayscale value" is specifically as follows: select the middle windowed image as the test image, adjust the middle windowed pixel value frame mean to 16, 32, ..., 256 for images of different OPRs, set the LUT for the middle windowed grayscale pixel value of 16, 32, ..., 256, mark the pixel value corresponding to the initial windowed pixel value, and by adjusting the size of the middle pixel value, ensure that the marked grayscale brightness and its brightness when displayed in full screen are interpolated to obtain the grayscale pixel value under the corresponding frame mean, and gradually calculate the LUT compensation values of the three channels of the image R, G, and B.
[0094] Embodiment 6
[0095] This embodiment is based on the third embodiment. In this embodiment, when the image is a grayscale image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” is specifically: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0096] According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT;
[0097] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0098] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0099] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0100] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0101] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0102] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0103] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0104] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0105] Embodiment 7
[0106] This embodiment is based on the third embodiment. In this embodiment, when the image is a monochrome image, the “image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image” is specifically: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0107] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0108] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0109] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0110] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0111] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0112] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0113] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0114] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0115] Pend=Pix+C*XZ2+(P-avgl) / 255*K.
[0116] Embodiment 8
[0117] This embodiment is based on the third embodiment. In this embodiment, when the image is a mixed color image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically as follows: firstly, the pixel data of the G channel image among the three channels of R, G, and B is processed:
[0118] Selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0119] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0120] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0121] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0122] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0123] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0124] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0125] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0126] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0127] Pend=Pix+C*XZ2+(P-avgl) / 255*K;
[0128] Then, according to the original pixel ratio of the three channels R, G, and B, the compensated pixel values of the other two channels are mapped.
[0129] Embodiment 9
[0130] This embodiment is based on the third embodiment. In this embodiment, when the image is a dual-channel image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically: if the image is a GB channel image or a GR channel image, the pixel data of the G channel image in the dual channel is first processed:
[0131] Selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg;
[0132] Select the value of the second correction value XZ2 in the mapping table LUT according to the range of values obtained by the relationship (256-max+avg) / 256;
[0133] Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame;
[0134] According to the row where the pixel values of the processed image are located, the average value of a row of pixels avgl is counted;
[0135] The compensation value C is obtained by interpolating the image frame average value avg and the pixel value;
[0136] Compare the image pixel value Pix with the mean avg of a row of pixel values:
[0137] When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is:
[0138] Pend=Pix+C*XZ1+(P-avgl) / 255*K
[0139] When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is:
[0140] Pend=Pix+C*XZ2+(P-avgl) / 255*K;
[0141] Then, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the two channels.
[0142] Embodiment 10
[0143] See also Figure 2 , Figure 2 A system block diagram of an image processing system for reducing uneven brightness of a screen under different OPRs according to the present invention;
[0144] This embodiment discloses an image processing system using the method of reducing uneven brightness of screens with different OPRs described in the first embodiment, the image processing system comprising: an image data statistics module 11, an image format determination module 12 and an image pixel compensation calculation module 13;
[0145] The image data statistics module 11 counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module;
[0146] The image format determination module 12 determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image;
[0147] The image test statistics calculation module 13 obtains the image test data to obtain a mapping table LUT of image pixel grayscale values;
[0148] When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module 14 calculates the image value compensation value corresponding to the image: selects the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, selects the value of the second correction value XZ2 in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and selects the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the frame maximum value of the image; obtains the image value compensation value corresponding to the image according to the first correction value XZ1, the second correction value XZ2, the average value avgl, the compensation value C of the frame mean, and the image compensation strategy when the pixel value is compared with the frame mean value.
[0149] The method for reducing uneven brightness of the screen under different OPRs ensures that the brightness of grayscale images, monochrome images, and dual-channel mixed color images under different OPRs is the same as the brightness displayed under 100% OPR, and the brightness of the R, G, and B three-color images is added to keep consistent with the brightness of the grayscale image under the same grayscale.
[0150] It should be understood that the above are only preferred embodiments of the present invention, and the patent scope of the present invention cannot be limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for reducing uneven brightness of a screen under different OPRs, characterized in that: The following steps are involved: The image data statistics module counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module; The image format determination module determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image; The image test statistics calculation module obtains the image test data to obtain a mapping table LUT of image pixel grayscale values; When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module calculates the image value compensation value corresponding to the image: the value of the first correction value XZ1 is selected in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, the value of the second correction value XZ2 is selected in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and the brightness compensation coefficient K on both sides of the image is selected in the mapping table LUT according to the range of the value of the frame maximum value of the image; the image value compensation value corresponding to the image is obtained according to the first correction value XZ1, the second correction value XZ2, the mean value avgl, the compensation value C of the frame mean, and the image compensation strategy under the condition of comparing the pixel value with the frame mean value; When the image is a mixed color image or a dual-channel image, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the selected channel to the other channel.
2. The method for reducing uneven brightness of screens with different OPRs according to claim 1, characterized in that: The step of "counting the basic image data of a frame of image" is specifically: counting the frame average values avgr, avgg, avgb of the three channels R, G, and B of the image, the frame maximum values maxr, maxg, maxb of the three channels R, G, and B, and the frame minimum values minr, ming, minb of the three channels R, G, and B.
3. The method for reducing uneven brightness of screens with different OPRs according to claim 1, characterized in that: The image format judgment strategy is as follows: when the maximum values of the frames of the three channels R, G, and B, maxr, maxg, and maxb, are all greater than zero, and the difference between the maximum value of the frame average of the three channels, maxavg, and the minimum value of the frame average of the three channels, minavg, is less than or equal to 8, the image is determined to be a grayscale image; when the maximum values of the three channels, maxr, maxg, and maxb, are all greater than zero, and the difference between the maximum value of the frame average of the three channels, maxavg, and the minimum value of the frame average of the three channels, minavg, is greater than 8, the image is determined to be a grayscale image; when only one of the maximum values of the frames of the three channels R, G, and B is greater than 0, and the difference between the maximum value of the frame minus the minimum value of the frame of any one of the three channels R, G, and B is greater than 5, the image is determined to be a monochrome image; when only one of the maximum values of the frame of any one of the three channels R, G, and B is less than zero, and the difference between the maximum value of the frame minus the minimum value of the frame of any one of the other two channels is greater than 5, the image is determined to be a dual-channel image.
4. The method for reducing uneven brightness of screens with different OPRs according to claim 3, characterized in that: The image compensation strategy when comparing the pixel value with the frame mean is: Compare the image pixel value Pix with the mean avg of a row of pixel values: When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ1+(P-avgl) / 255*K When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ2+(P-avgl) / 255*K.
5. The method for reducing uneven brightness of screens with different OPRs according to claim 1, characterized in that: The step "the image compensation calculation module obtains the mapping table LUT of the image pixel grayscale value" is specifically as follows: select the middle windowed image as the test image, adjust the middle windowed pixel value frame mean to 16, 32, ..., 256 for images of different OPRs, set the LUT for the middle windowed grayscale pixel values of 16, 32, ..., 256, mark the pixel value corresponding to the initial windowed pixel value, and by adjusting the size of the middle pixel value, ensure that the marked grayscale brightness and its brightness when displayed in full screen are interpolated to obtain the grayscale pixel value under the corresponding frame mean, and gradually calculate the LUT compensation values of the three channels of the image R, G, and B.
6. The method for reducing uneven brightness of screens with different OPRs according to claim 3, characterized in that: When the image is a grayscale image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg; According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT; Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame; According to the row where the pixel values of the processed image are located, the average value avgl of a row of pixel values is counted; The compensation value C is obtained by interpolating the image frame average value avg and the pixel value; Compare the image pixel value Pix with the mean avg of a row of pixel values: When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ1+(P-avgl) / 255*K When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ2+(P-avgl) / 255*K.
7. The method for reducing uneven brightness of screens with different OPRs according to claim 3, characterized in that: When the image is a monochrome image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically: selecting the value of the first correction value XZ1 in the mapping table LUT according to the range of the value obtained by the relationship min / avg; According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT; Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame; According to the row where the pixel values of the processed image are located, the average value avgl of a row of pixel values is counted; The compensation value C is obtained by interpolating the image frame average value avg and the pixel value; Compare the image pixel value Pix with the mean avg of a row of pixel values: When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ1+(P-avgl) / 255*K When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ2+(P-avgl) / 255*K.
8. The method for reducing uneven brightness of screens with different OPRs according to claim 3, characterized in that: When the image is a mixed color image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically as follows: firstly, the pixel data of the G channel image among the three channels of R, G, and B are processed: According to the range of values obtained from the relationship min / avg, the value of the first correction value XZ1 is selected in the mapping table LUT; According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT; Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame; According to the row where the pixel values of the processed image are located, the average value avgl of a row of pixel values is counted; The compensation value C is obtained by interpolating the image frame average value avg and the pixel value; Compare the image pixel value Pix with the mean avg of a row of pixel values: When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ1+(P-avgl) / 255*K When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ2+(P-avgl) / 255*K; Then, according to the original pixel ratio of the three channels R, G, and B, the compensated pixel values of the other two channels are mapped.
9. The method for reducing uneven brightness of screens with different OPRs according to claim 3, characterized in that: When the image is a dual-channel image, the "image pixel compensation calculation module calculates the pixel value compensation value corresponding to the image" is specifically: if the image is a GB channel image or a GR channel image, the pixel data of the G channel image in the dual channel is first processed: According to the range of values obtained from the relationship min / avg, the value of the first correction value XZ1 is selected in the mapping table LUT; According to the range of values obtained by the relationship (256-max+avg) / 256, the value of the second correction value XZ2 is selected in the mapping table LUT; Select the brightness compensation coefficient K on both sides of the image in the mapping table LUT according to the value range of the maximum value of the image frame; According to the row where the pixel values of the processed image are located, the average value avgl of a row of pixel values is counted; The compensation value C is obtained by interpolating the image frame average value avg and the pixel value; Compare the image pixel value Pix with the mean avg of a row of pixel values: When the image pixel value Pix is greater than or equal to the frame average value avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ1+(P-avgl) / 255*K When the image pixel value is less than the frame average avg, the pixel value of the image after compensation is: Pend=Pix+C*XZ2+(P-avgl) / 255*K; Then, the compensated pixel value of the other channel is mapped according to the original pixel ratio of the two channels.
10. An image processing system using the method for reducing uneven brightness of screens with different OPRs as claimed in claim 1, characterized in that: The image processing system comprises: an image data statistics module, an image format determination module and an image pixel compensation calculation module; The image data statistics module counts the basic image data of a frame of image according to the data of the input image, and sends the data to the image format judgment module; The image format determination module determines the image format according to the image format determination strategy and the basic image data of a frame of image: grayscale image or monochrome image or dual-channel image or mixed color image; The image test statistics calculation module obtains the image test data to obtain a mapping table LUT of image pixel grayscale values; When the image is a grayscale image or a monochrome image, or the G channel is selected when the image is a dual-channel image, or the G channel is selected when the image is a mixed color image, the image pixel compensation calculation module calculates the image value compensation value corresponding to the image: the value of the first correction value XZ1 is selected in the mapping table LUT according to the range of the value obtained by the relationship between the frame minimum value and the frame mean value of the image, the value of the second correction value XZ2 is selected in the mapping table LUT according to the range of the relationship between the frame maximum value and the frame mean value of the image, and the brightness compensation coefficient K on both sides of the image is selected in the mapping table LUT according to the value range of the frame maximum value of the image; the image value compensation value corresponding to the image is obtained according to the first correction value XZ1, the second correction value XZ2, the average value avgl, the compensation value C of the frame mean, and the image compensation strategy when the pixel value is compared with the frame mean value.
Citation Information
Patent Citations
Method and system for reducing IR-drop influence of AMOLED panel
CN113611249A
Image display method and device, electronic equipment and program product
CN118413640A
Display uniformity compensation method, optical modulation apparatus, signal processor, and projection system
US20160112690A1
Method, device and apparatus for determining brightness compensation parameter
US20230075213A1
Display uniformity compensation method, optical modulation apparatus, signal processor, and projection system
WO2014180309A1