WO2025222510A1 - Display device, voltage drop compensation method and electronic device - Google Patents
Display device, voltage drop compensation method and electronic deviceInfo
- Publication number
- WO2025222510A1 WO2025222510A1 PCT/CN2024/090179 CN2024090179W WO2025222510A1 WO 2025222510 A1 WO2025222510 A1 WO 2025222510A1 CN 2024090179 W CN2024090179 W CN 2024090179W WO 2025222510 A1 WO2025222510 A1 WO 2025222510A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- brightness
- grayscale
- channel
- load
- compensation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
Definitions
- This disclosure relates to the field of display technology, and in particular to a display device, a voltage drop compensation method, and an electronic device.
- Voltage drop is a type of screen brightness uniformity problem caused by the resistance of the drive circuit.
- the brightness uniformity of a display screen stems from an inherent property of the screen itself, specifically the voltage unevenness caused by the resistance of the drive circuit.
- the light-emitting pixels in a display screen are connected through a drive circuit.
- the resistance inherent in the drive circuit causes voltage division, resulting in inconsistent drive voltages for each pixel and thus inconsistent luminous intensity, leading to screen brightness uniformity.
- differences in the display's on-pixel ratio (OPR) can also cause brightness variations in the displayed image and inconsistent brightness of white areas.
- This disclosure provides a display device, a voltage drop compensation method, and an electronic device for compensating for brightness differences caused by different global loads, and for adjusting the compensated brightness under different loads to adapt to different usage scenarios.
- embodiments of the present disclosure provide a display device, which includes a display screen and a control circuit, wherein:
- the display screen is configured to display content
- the control circuit includes a processor and a memory.
- the memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
- the compensation parameters and brightness parameters of the display screen wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
- At least one pixel unit in the current image displayed on the screen is determined to be...
- the compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- the gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
- embodiments of this disclosure provide a display device, which includes a display screen and a control circuit, wherein:
- the display screen is configured to display content
- the control circuit includes a processor and a memory.
- the memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
- n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
- the voltage drop compensation method provided in this disclosure includes:
- the compensation parameters and brightness parameters of the display screen wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
- the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen are determined based on the compensation parameters.
- the compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- the gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
- the voltage drop compensation method provided in this disclosure includes:
- the system determines the compensation brightness corresponding to the input load
- n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
- embodiments of this disclosure also provide an electronic device, including a processor and a memory, the memory being used to store a program executable by the processor, and the processor being used to read the program in the memory and execute the method described in any one of the first, second, or third aspects.
- embodiments of this disclosure also provide a voltage drop compensation system, including a control device and a display device;
- the control device is used to determine the compensation parameters and brightness parameters corresponding to the display screen of the display device, and write the compensation parameters and brightness parameters into the driver chip of the display device; wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
- the display device is used to determine the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters; adjust the compensation coefficients for each channel grayscale of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients for each channel grayscale of the pixel unit; compensate for each channel grayscale of the pixel unit using the compensation adjustment coefficients for each channel grayscale of the pixel unit, and display the compensated current image.
- embodiments of this disclosure also provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, is used to implement the steps of the method described in any one of the first, second, or third aspects above.
- this disclosure provides a computer program product comprising: computer program code, which, when run on a computer, causes the computer to perform the method described in any one of the first, second, or third aspects.
- Figure 1 is a schematic diagram of the difference in screen brightness caused by voltage drop according to an embodiment of this disclosure
- Figure 2 is a schematic diagram of a display device provided in an embodiment of this disclosure.
- Figure 3 is a schematic diagram showing that the brightness decreases as the average current intensity increases, according to an embodiment of this disclosure.
- Figure 4 is a schematic diagram of a second linear relationship between the brightness of a pure white image and the current intensity according to an embodiment of this disclosure
- Figure 5 is a schematic diagram of the grayscale images of each channel of a first test image provided in an embodiment of this disclosure
- Figure 6 is a schematic diagram of a second test image provided in an embodiment of this disclosure.
- Figure 7 is a schematic diagram of a first linear relationship provided in an embodiment of this disclosure.
- Figure 8 is a schematic diagram of a third test image provided in an embodiment of this disclosure.
- Figure 9 is a schematic diagram of a first relationship curve between gray levels and minimum brightness of each channel provided in an embodiment of this disclosure.
- Figure 10 is a schematic diagram of a linear relationship between a compensation coefficient and maximum brightness provided in an embodiment of this disclosure
- Figure 11 is a schematic diagram of the relationship between load and compensation coefficient under an HBM mode provided in an embodiment of this disclosure.
- Figure 12 is a schematic diagram of a compensation effect provided in an embodiment of this disclosure.
- Figure 13 is a schematic diagram of an automatic compensation system provided in an embodiment of this disclosure.
- Figure 14 is a schematic diagram of a compensation algorithm design provided in an embodiment of this disclosure.
- FIG. 15 is a flowchart of IP data for a compensation algorithm provided in an embodiment of this disclosure.
- Figure 16 is a flowchart of the software and hardware deployment for updating compensation parameters and brightness parameters provided in an embodiment of this disclosure
- Figure 17 is a flowchart of a compensation parameter and brightness parameter update provided in an embodiment of this disclosure.
- Figure 18 is a flowchart of a voltage drop compensation method in a high-brightness mode provided in an embodiment of this disclosure
- Figure 19 is a schematic diagram of a display device provided in an embodiment of this disclosure.
- Figure 20 is a flowchart of an implementation method for voltage drop compensation provided in an embodiment of this disclosure.
- Figure 21 is a flowchart of an implementation method for voltage drop compensation provided in an embodiment of this disclosure.
- Figure 22 is a schematic diagram of an electronic device provided in an embodiment of this disclosure.
- Figure 23 is a schematic diagram of an electronic device provided in an embodiment of this disclosure.
- Figure 24 is a schematic diagram of a voltage drop compensation system provided in an embodiment of this disclosure.
- Figure 25 is a schematic diagram of a voltage drop compensation device provided in an embodiment of this disclosure.
- Figure 26 is a schematic diagram of a voltage drop compensation device provided in an embodiment of this disclosure.
- the term "and/or” describes the relationship between related objects, indicating that three relationships can exist.
- a and/or B can represent three cases: A alone, A and B simultaneously, and B alone.
- the character "/” generally indicates that the preceding and following related objects have an "or" relationship.
- Voltage drop is a problem of uneven screen brightness caused by the resistance of the driving circuit.
- the uneven brightness of the display stems from an inherent property of the screen itself, namely, the uneven voltage caused by the resistance of the driving circuit.
- This is particularly relevant to OLED (Organic Light-Emitting Diode) displays.
- OLED Organic Light-Emitting Diode
- the light-emitting pixels in the display are connected through a driving circuit.
- the resistance inherent in the driving circuit itself causes voltage division, resulting in inconsistent driving voltages for each light-emitting pixel, leading to inconsistent luminous intensity and thus uneven screen brightness.
- the closer to the starting point of the driving circuit the smaller the voltage division and the higher the brightness.
- different global loads also result in significant differences in screen brightness.
- this embodiment provides a schematic diagram of screen brightness differences caused by voltage drop, where different loads lead to brightness differences in the displayed image, and inconsistent brightness of the white screen.
- this disclosure provides a display device and a voltage drop compensation method to compensate for brightness differences caused by different loads and inconsistent brightness of the white screen itself, achieving brightness consistency under different loads. Furthermore, this embodiment can determine corresponding compensation parameters and brightness parameters based on the display characteristics of different displays, and calculate compensation coefficients and adjustment coefficients using the corresponding compensation and brightness parameters of the display, thereby achieving voltage drop compensation. Not only can it achieve brightness consistency under different loads, but it can also adjust the degree of compensation based on different loads in different usage scenarios, improving the compensated brightness under low loads and achieving localized brightening, for example, it can be applied to fingerprint unlocking scenarios or menu clicking scenarios.
- This embodiment provides a display device and voltage drop compensation method.
- the core idea is to obtain compensation parameters and brightness parameters specific to the current display screen. Since different display screens have different display characteristics, this embodiment can specifically determine the compensation and brightness parameters applicable to the current display screen first. Grayscale compensation and adjustment are then performed using the corresponding brightness and compensation parameters for that display screen.
- By obtaining compensation and brightness parameters for different display screens mass production upgrades of screens can be facilitated, enabling batch acquisition of compensation and brightness parameters for different display screens and improving production efficiency.
- the display screen can compensate and adjust the displayed image based on the corresponding compensation and brightness parameters, improving the accuracy of compensation and enhancing the display effect. Furthermore, it can perform localized brightening for different usage scenarios, improving the user experience.
- the display devices in this embodiment include, but are not limited to, large-screen smart display devices (generally 50 inches or larger), mobile phones, tablets, computers, and other devices using LCD screens. These display devices include, but are not limited to, liquid crystal displays (LCDs) and organic light-emitting diodes (OLEDs). Displays such as Organic Electroluminescence Display (OLED) and e-ink displays are used. This embodiment does not impose excessive limitations on the type of display screen used in the display device.
- LCDs liquid crystal displays
- OLEDs organic light-emitting diodes
- OLED Organic Electroluminescence Display
- e-ink displays are used. This embodiment does not impose excessive limitations on the type of display screen used in the display device.
- the display screen of the display device in this embodiment includes, but is not limited to, OLED, mobile phone screen, vehicle screen, NB (Notebook) screen, etc. This embodiment does not impose too many limitations on it.
- this embodiment of the present disclosure provides a display device, which includes a display screen 200 and a control circuit 201, wherein:
- the display screen 200 is configured to display content
- the control circuit 201 includes a processor and a memory.
- the memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
- Step a Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
- the compensation parameters in this embodiment are used to compensate for grayscale under different loads, and the brightness parameters in this embodiment are used to adjust the degree of compensation for grayscale under different loads.
- the display characteristics of the display screen are used to represent and display related features or parameters.
- the display characteristics of the display screen include, but are not limited to, the size of the display area of the display screen, the adjustable range of the brightness of the display screen, the maximum brightness of the display screen, DBV (Display Brightness Values), whether it is in a high brightness mode (such as HBM mode), etc. This embodiment does not impose too many limitations on these.
- the processor of this embodiment is specifically configured to obtain the compensation parameters and brightness parameters of the display screen from the driver chip; different displays screens have different compensation parameters, and/or different displays screens have different brightness parameters.
- the compensation parameters and brightness parameters of the display screen can be tested and calculated by an external device such as a PC.
- the calculated compensation parameters and brightness parameters are then written into the driver chip, so that the display device can achieve image brightness compensation based on the compensation parameters and brightness parameters related to its own display characteristics.
- Step b Determine the compensation coefficient for each channel grayscale of at least one pixel unit in the current image displayed on the screen according to the compensation parameters;
- the pixel unit in this embodiment can be a single pixel or adjacent pixels. Pixel combination is not limited in this embodiment.
- the parameters are written into the driver chip of the display device.
- the display device determines the compensation coefficient of each channel grayscale of at least one pixel unit in the current image displayed on the screen according to the compensation parameters, and uses the compensation coefficient to compensate for the grayscale of each channel.
- the images input to the display screen in this embodiment include, but are not limited to, RGB images, RAW images, YUV images, etc.
- This embodiment does not impose too many restrictions on the image format.
- this embodiment can determine the compensation coefficient using commonly used methods or the method provided in this embodiment; this embodiment does not impose excessive limitations on this method. Regardless of the method used to determine the compensation coefficient, this embodiment will adjust the determined compensation coefficient using brightness parameters, thereby using the compensation adjustment coefficient for subsequent image compensation processing. This allows for different adjustment levels based on the characteristics of different displays, achieving adjustable voltage drop compensation and providing a more accurate compensation solution. Furthermore, the compensation parameters and brightness parameters in this embodiment are determined based on the display characteristics of the display screen, which can facilitate screen mass production upgrades and improve production efficiency.
- the processor of this embodiment is specifically configured to determine the compensation coefficient through the following steps:
- Step b1 Based on the compensation parameters, estimate the input load and maximum load of the pixel unit in the current image, where the maximum load represents the input load of the grayscale image generated using the maximum value of each channel grayscale of the pixel unit.
- the load is related to the displayed image.
- the load and current intensity are positively correlated. Therefore, this embodiment uses the current intensity to detect the magnitude of the input load corresponding to the current image.
- the current intensity (including the current current intensity and the target current intensity) in this embodiment includes for
- the current current intensity includes the current average current intensity and the current global current intensity
- the target current intensity includes the target average current intensity and the target global current intensity.
- this embodiment typically uses the current average current intensity and the target average current intensity during the algorithm calculation process. That is, for each channel grayscale of a single pixel unit, the corresponding current average current intensity and target average current intensity are calculated.
- the compensation parameters in this embodiment include channel coefficient parameters and channel exponential parameters.
- the channel coefficient parameters and exponential parameters are obtained in advance by detecting the current display screen based on a test image. Specifically, the channel coefficient parameters are determined using a pre-set first test image, and the channel exponential parameters are determined using a pre-set second test image.
- the input load can be determined as follows:
- the input load of the pixel unit is estimated.
- the current average current intensity of the pixel unit is estimated. This current average current intensity of the pixel unit is then used as the input load of the pixel unit.
- the overall load of the image is first calculated and expressed as the average current intensity (such as the current average current intensity).
- the average current intensity such as the current average current intensity.
- the higher the average current intensity the greater the load, the more severe the voltage drop in the circuit, and the greater the decrease in brightness.
- this embodiment also provides a schematic diagram of the decrease in brightness as the average current intensity increases, showing that brightness is negatively correlated with the average current intensity.
- the current average current intensity (i.e., current magnitude, measured in amperes (A)) is mainly related to the pixels and image size of the image input to the screen.
- the current average current intensity is estimated using the following formula. count.
- cw c represents the coefficient parameter of channel c (such as R channel, G channel, B channel);
- ⁇ c represents the exponential parameter of channel c;
- In c (x,y) represents the gray level value of channel c at pixel position (x,y) in the input image (i.e., the current image) (value range 0 ⁇ 1).
- h represents the height of the current image (i.e., the number of pixels in the Y-axis direction), and
- w represents the width of the current image (i.e., the number of pixels in the X-axis direction).
- this embodiment normalizes the grayscale values of each channel within a pixel unit, ensuring that the grayscale values of each channel within a pixel unit range from 0 to 1.
- the current average current intensity changes exponentially with the grayscale value.
- the maximum load can be determined as follows:
- the maximum load of the pixel unit is estimated by using the grayscale values of each channel of the grayscale image generated based on the maximum grayscale values of each channel of the pixel unit, the grayscale values of each channel, the coefficient parameters of each channel, and the exponent parameters of each channel; wherein the grayscale image represents an image with the same grayscale values in each channel.
- a grayscale image is generated based on the maximum grayscale value of each channel of the pixel unit.
- the grayscale values of each channel in the grayscale image are the same.
- the target current intensity of the pixel unit is estimated. The target current intensity is used as the maximum load of the pixel unit.
- the target average current intensity is typically used for subsequent algorithm calculations.
- the target average current intensity is applied to each pixel unit in the grayscale image. That is, each pixel unit in the grayscale image corresponds to a target average current intensity.
- the grayscale of the entire image is compensated by compensating the grayscale value of each pixel unit.
- the grayscale image is determined based on the current image.
- the intensity method selects the maximum value max( k0 , k1 , k2 ) among the grayscale values k0 , k1 , k2 of each channel (R channel, G channel, and B channel) for a pixel unit.
- the average current intensity is' corresponding to the input grayscale ( k0 , k1 , k2 ) when the entire screen is lit up is the target average current intensity.
- the target average current intensity (i.e., current magnitude, in amperes A) is mainly related to the pixels and image size of the grayscale image.
- the target average current intensity is estimated using the following formula.
- is′ represents the target average current intensity
- cw c represents the coefficient parameter of channel c (such as R channel, G channel, B channel);
- ⁇ c represents the exponential parameter of channel c;
- max(k 0 ,k 1 ,k 2 ) represents the maximum value of gray level values of each channel at pixel position (x,y) of each pixel unit of the input gray-scale image (value range 0 ⁇ 1).
- h represents the height of the input gray-scale image (i.e. the number of pixels in the Y-axis direction), and
- w represents the width of the input gray-scale image (i.e. the number of pixels in the X-axis direction).
- the height of the grayscale image is the same as the height of the current image
- the width of the grayscale image is the same as the width of the current image
- this embodiment normalizes the grayscale values of each channel within a pixel unit, ensuring that the grayscale values of each channel within a pixel unit range from 0 to 1.
- the current average current intensity changes exponentially with the grayscale value.
- the average current intensity is calculated using the coefficient parameters and index parameters of each channel in both formulas (1) and (2).
- the parameters involved are calculated in the following manner.
- the compensation parameters in this embodiment include channel coefficient parameters; the channel coefficient parameters are determined based on the load corresponding to the preset area of the grayscale image of each channel in the first test image, and the proportion of the preset area to the display area of the grayscale image of each channel; the load corresponding to the preset area is determined based on the second linear relationship between the brightness of the pure white image and the load.
- the first test image includes grayscale images of each channel, and each grayscale image includes a preset region and a non-preset region.
- the preset region is a pure white image
- the non-preset region is a non-pure white image.
- the pure white image in this embodiment includes, but is not limited to, a white image, and the grayscale value of the pure white image is 255. It should be noted that the brightness and current intensity of the pure white image in this embodiment are linearly related. When the brightness and current intensity of other color images are also linearly related, this embodiment can also use other pure color images as the preset area in the first test image.
- the preset area of the first test image is pure white with a grayscale value of 255.
- the preset area occupies the same proportion of the display area of each channel's grayscale image.
- the grayscale values of the non-preset areas (background areas) of each channel's grayscale image in the first test image are the same, except for the preset area, and the grayscale value of the background area is 255.
- the preset area and the background area of the first test image have the same grayscale value.
- the sum of the coefficient parameters corresponding to each channel is 1.
- this embodiment designs the following parameter measurement method:
- this embodiment provides a schematic diagram of the second linear relationship between the brightness of a pure white image and the current intensity.
- the horizontal axis represents the average current intensity, and the vertical axis represents the brightness.
- the brightness decreases linearly with the increase of the current intensity. Since the load and the current intensity are proportional, the brightness also decreases linearly with the increase of the load.
- this embodiment provides a schematic diagram of the grayscale images of each channel of the first test image, from left to right: the grayscale image of the R channel, the grayscale image of the G channel, and the grayscale image of the B channel.
- a preset area is a pure white area with a grayscale value of 255.
- the preset area occupies p of the display area of the first test image.
- the grayscale images of each channel are displayed on the OLED screen, and then an optical acquisition device is used to collect the brightness of the center of the preset area, recording it as the brightness of the R channel sub-pixel lvR, the brightness of the G channel sub-pixel lvG, and the brightness of the B channel sub-pixel lvB.
- CW0 , CW1 and CW2 represent the coefficient parameters of channels R, G and B respectively
- p represents the proportion of the preset area to the display area of the first test image, and is r
- g and is b represent the current intensity of channels R, G and B respectively (the average current intensity is used in the calculation).
- the compensation parameters in this embodiment include channel exponential parameters; the channel exponential parameters are determined based on the law that the load changes exponentially with the grayscale, according to the load corresponding to the grayscale value of the non-preset area in the grayscale image of each channel; the load corresponding to the grayscale value of the non-preset area is determined based on the second linear relationship between the brightness of the pure white image and the load, and by changing the grayscale value of the non-preset area in the grayscale image of each channel in the second test image, the correspondence between the grayscale value of the non-preset area in the grayscale image of each channel and the brightness of the preset area is obtained; the second test image includes grayscale images of each channel, each grayscale image of each channel includes a preset area and a non-preset area, the preset area is a pure white image, and the non-preset area is a non-pure white image.
- the exponential parameter is determined by the following steps:
- Step 1) Determine the second linear relationship between brightness and load in the pure white image; determine the second test image.
- the second test image includes grayscale images of each channel, and each channel grayscale image includes a preset area and a non-preset area.
- the preset area is a pure white image
- the non-preset area is a non-pure white image.
- the grayscale values of the non-preset areas in the grayscale images of each channel in the second test image are changed to determine the correspondence between the grayscale values of the non-preset areas in the grayscale images of each channel and the brightness of the preset areas.
- the second test image is designed to include a preset area, wherein the preset area is a pure white image.
- the preset area of the second test image is designed to be the same as the preset area of the first test image.
- the preset area is pure white with a grayscale value of 255, and the size and position of the preset areas of the first and second test images are the same.
- the proportion of the preset area to the display area of the second test image is the same as the proportion of the preset area to the display area of the first test image.
- Step 2 Based on the second linear relationship and the correspondence between the grayscale values of non-preset areas and the brightness of preset areas in each channel grayscale image, determine the load corresponding to the grayscale values of non-preset areas in each channel grayscale image.
- this embodiment provides a schematic diagram of a second test image. From top to bottom, these are the R-channel grayscale image group, the G-channel grayscale image group, and the B-channel grayscale image group.
- Each channel grayscale image group includes grayscale images with different grayscale levels.
- the preset area in each channel grayscale image is pure white with a grayscale level of 255.
- the proportion of the preset area to the display area of the second test image is p.
- Step 3 Based on the exponential change of load with grayscale, determine the exponential parameters of each channel according to the load corresponding to the grayscale values of non-preset areas in the grayscale images of each channel.
- the processor in this embodiment is specifically configured to determine the exponential parameters corresponding to each channel through the following steps:
- the current intensity corresponding to each channel grayscale of a pixel unit includes the average current intensity.
- the size and position of the preset area corresponding to each channel grayscale image are the same, and the proportion of the preset area corresponding to each channel grayscale image to the display area of the second test image is the same.
- the current intensity includes the average current intensity.
- the specific value of the exponent parameter can be obtained by curve fitting the exponent parameter and the current intensity corresponding to each channel grayscale.
- the formula is as follows:
- k represents the grayscale value
- p represents the proportion of the preset area to the display area of the second test image
- CW0 , CW1 and CW2 represent the coefficient parameters of channel R, channel G and channel B respectively.
- ⁇ ⁇ sub>0 ⁇ /sub>, ⁇ sub> 1 ⁇ /sub>, and ⁇ sub> 2 ⁇ /sub> represent the average current intensity of channels R, G, and B at gray level k, respectively;
- ⁇ sub>0 ⁇ /sub>, ⁇ sub>1 ⁇ /sub>, and ⁇ sub>2 ⁇ /sub> represent the exponential parameters of channels R, G, and B, respectively.
- the current average current intensity and target average current intensity corresponding to the pixel unit in the input image can be calculated using the above formulas (1) and (2).
- Step b2 Based on the first linear relationship between brightness and load at different gray levels, determine the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load by using linear interpolation.
- linear interpolation is used. Determine the current brightness (for a single channel sub-pixel) corresponding to the current average current intensity, and the target brightness (for a single channel sub-pixel) corresponding to the target average current intensity.
- the first linear relationship is constructed based on the maximum brightness, minimum brightness, maximum load, and minimum load corresponding to the gray levels of each channel of the pixel unit; the maximum brightness is determined based on the relationship curve between gray level and brightness under maximum load, and the minimum brightness is determined based on the relationship curve between gray level and brightness under minimum load.
- this embodiment provides a schematic diagram of a first linear relationship. Based on the maximum and minimum brightness corresponding to the grayscale of each channel, the minimum average current intensity corresponding to the maximum brightness, and the maximum average current intensity corresponding to the minimum brightness, a first linear relationship between the brightness and average current intensity of each channel is constructed.
- the average current intensity corresponding to each channel grayscale per pixel of the input image is denoted as is, and the actual brightness corresponding to this grayscale is between the minimum brightness. and maximum brightness
- the relationship between the actual brightness and the average current intensity is linearly related to the minimum brightness. Therefore, a relationship between the actual brightness and the average current intensity is and the minimum brightness can be established through linear interpolation.
- Maximum brightness Based on the relationship between the values, the current brightness corresponding to each gray level kc of each channel in each pixel unit is derived and calculated, as shown in the following formula:
- k represents the grayscale
- c represents the channel
- the target brightness After determining the target average current intensity is', the target brightness. It can be determined using the following formula:
- k represent the target brightness of channel c
- k represent the grayscale
- c represent the channel
- is′ represent the target average current intensity. This represents the minimum brightness of channel c at grayscale k. This represents the maximum brightness of channel c at grayscale k.
- the processor of this embodiment is specifically configured to determine each channel in the following manner.
- the maximum load can be represented by the maximum current intensity
- the minimum load can be represented by the minimum current intensity
- the relationship curve between grayscale and brightness under the maximum load is named the first relationship curve
- the relationship curve between grayscale and brightness under the minimum load is named the second relationship curve.
- the first relationship curve represents the relationship curve between grayscale and minimum brightness of each channel under the maximum current intensity
- the second relationship curve represents the relationship curve between grayscale and maximum brightness of each channel under the minimum current intensity.
- the minimum brightness corresponding to each channel grayscale of the current image is determined according to the first relationship curve; the maximum brightness corresponding to each channel grayscale of the current image is determined according to the second relationship curve. Based on the relationship curves between grayscale and brightness under different current intensities, the minimum brightness corresponding to each channel grayscale under the maximum current intensity, and the maximum brightness corresponding to each channel grayscale under the minimum current intensity, can be determined.
- the processor of this embodiment is specifically configured to determine the relationship curve between grayscale and brightness under maximum or minimum load in the following manner:
- a1) Determine the third test image, which includes grayscale images of each channel, and each channel grayscale image includes a preset area and a non-preset area; by setting the non-preset area in the third test image to white, changing the size and grayscale of the preset area in each channel grayscale image, and by setting the non-preset area in the third test image to black, changing the size and grayscale of the preset area in each channel grayscale image, determine the relationship between the load, grayscale and brightness of each channel;
- the preset area and the background area have different colors.
- the grayscale of the preset area varies from 0.1 to 1, for example, the grayscale of the preset area varies as follows: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1. This grayscale variation is only an example, and this embodiment does not impose excessive limitations on it.
- the background area includes white and black colors.
- the background color can be kept constant initially, and the brightness and average current intensity of the preset area can be measured by changing the size and grayscale of the preset area, thereby obtaining the value of each pass.
- the relationship between the average current intensity, grayscale, and brightness of each channel is obtained by changing the color of the background area and keeping it constant, and then measuring the brightness and average current intensity of the preset area by changing the size and grayscale of the preset area.
- this embodiment provides a schematic diagram of a third test image.
- the third test image includes an R-channel grayscale image group, a G-channel grayscale image group, and a B-channel grayscale image group.
- the third test image includes a preset area and a background area other than the preset area.
- the background area of each channel's grayscale image group is either white or black.
- a set of grayscale images for each channel is obtained.
- the preset areas can be adjusted to change in ascending order; against a black background, the preset areas can be adjusted to change in descending order.
- the grayscale levels of the RGB three channels are traversed.
- the brightness value at the center of the preset area where the grayscale level is located is measured, thus obtaining the current intensity-grayscale-brightness relationship for each of the RGB three channels.
- k represents the gray level
- c represents the channel.
- grayscale and brightness exhibit a non-linear relationship, with brightness changing exponentially with grayscale.
- Exponential fitting was used to obtain the grayscale k and minimum brightness for each channel under maximum current intensity.
- the first relationship curve is shown in Figure 9.
- This embodiment also provides a schematic diagram of the first relationship curve between gray levels and minimum brightness for each channel.
- the fitted first relationship curve between gray levels and minimum brightness is shown in Figure 9. Where k represents the gray level. This represents the minimum brightness of channel c at gray level k. Based on the relationship curves between different gray levels and minimum brightness, the exponent in the first relationship curve is obtained. Similarly, the grayscale k and maximum brightness of each channel under minimum current intensity can be obtained through exponential fitting.
- the second relationship curve i.e., the second relationship curve between grayscale and brightness obtained by fitting.
- k represents the gray level. This represents the maximum brightness of channel c at grayscale k. Based on the relationship curves between different grayscale levels and maximum brightness, the exponent in the second relationship curve is obtained.
- the display When the image needs to be displayed on the screen, the display performs a forward Gamma transformation on the hardware, converting the grayscale values into brightness values and displaying them on the screen to form a pattern, restoring the brightness seen when the image was captured. While there is a loss of precision in this brightness transformation, the visual characteristics are lossless for the human eye. Therefore, this embodiment derives an exponential function based on the relationship curve between grayscale and brightness.
- the maximum brightness corresponding to each channel grayscale of the input image can be calculated.
- normalization is performed to facilitate calculations, setting the minimum average current intensity at maximum brightness to 0 and the maximum average current intensity at minimum brightness to 1.
- Step b3 Based on the non-linear relationship between brightness and grayscale, determine the grayscale of each channel of the pixel unit. Based on the current brightness and the target brightness, determine the compensation coefficients for the grayscale of each channel of the pixel unit.
- the processor of this embodiment is specifically configured to determine the compensation coefficients for each channel grayscale level in the following manner:
- the compensation coefficient for each channel grayscale is determined based on the ratio of the current brightness to the target brightness corresponding to each channel grayscale of the pixel unit, wherein the compensation coefficient changes exponentially with the change of the ratio.
- the brightness of each of the RGB three channels is emitted by its respective grayscale, and there is a non-linear exponential gamma relationship between brightness and grayscale. Therefore, the current brightness corresponding to each channel grayscale ( k0 , k1 , k2 ) of the input pixel unit needs to be adjusted to obtain the target brightness.
- the grayscale can be adjusted according to the ratio of brightness. Specifically, the compensation coefficient is determined by the following formula:
- k ⁇ sub>c ⁇ /sub> represents the target brightness per pixel unit channel c
- k ⁇ sub> c ⁇ /sub> represents the grayscale value per pixel unit of the current image
- k′ ⁇ sub> c ⁇ /sub> represents the adjusted grayscale value per pixel unit.
- is represents the compensation coefficient for channel c per pixel, where is represents the current average current intensity per pixel, and is′ represents the target average current intensity per pixel.
- gamma c is between... and A value between these two values can be linearly interpolated based on is.
- Step c Adjust the compensation coefficients of the grayscale of each channel of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- the brightness parameter in this embodiment includes a first brightness correction parameter; the first brightness correction parameter is determined based on the linear variation law of the highest brightness of the white image under different maximum brightness levels; the linear variation law of the highest brightness of the white image is determined based on the linear relationship between the highest brightness of the white image under the highest brightness that the display screen can display and the compensation coefficient.
- the first brightness correction parameter is determined as follows:
- the linear variation law of the maximum brightness of solid color images under different DBVs is determined; according to the solid color images under different DBVs...
- the linear variation law of the highest brightness is used to determine the first brightness correction parameter under the DBV corresponding to the display screen.
- the solid color image in this embodiment includes, but is not limited to, a pure white image with a grayscale of 255. If there are other color images whose maximum brightness and compensation coefficient are also linearly related, then the solid color image in this embodiment also includes the other color image.
- the bandwidth high brightness acts as a valve to adjust the maximum brightness of the screen.
- the maximum brightness setting of the OLED screen is achieved by adjusting the DBV value. Therefore, DBV is a variable parameter.
- this embodiment of the invention experimentally summarizes the compensation coefficients under different DBV values. It was found that there is a linear relationship between the compensation coefficients under different DBV values and the maximum brightness of the pure white image under those DBV values, as shown in Figure 10.
- This embodiment provides a schematic diagram of the linear relationship between the compensation coefficient and the maximum brightness, including an R-channel grayscale image, a G-channel grayscale image, a B-channel grayscale image, and a C1 grayscale image.
- the grayscale values of the R-channel, G-channel, and B-channel of the C1 grayscale image are 115, 82, and 68, respectively.
- the corresponding relationships between the maximum brightness and the grayscale values of each channel under different DBV values for these four image modes are shown in the following table:
- Table 1 Mapping table of compensation coefficients and maximum brightness under different DBVs.
- the first brightness correction parameter includes a first scaling parameter and a first bias parameter.
- the first scaling parameter is determined based on the scaling degree of the change in the highest brightness of the white image under different maximum brightness levels; and/or, the first bias parameter is determined based on the bias degree of the change in the highest brightness of the white image under different maximum brightness levels.
- the first scaling parameter corresponding to different DBVs can be determined based on the scaling degree of the highest brightness change of the solid color image under different DBVs.
- the first bias parameter corresponding to different DBVs can be determined based on the bias degree of the highest brightness change of the solid color image under different DBVs.
- the screen In practice, to obtain the first brightness correction parameters for different DBVs of the display screen, the screen should be tested based on the initial DBV to obtain the first brightness correction parameters corresponding to the current DBV. Then, the current DBV should be adjusted to obtain the first brightness correction parameters corresponding to different DBVs. As shown below, this embodiment provides a LUT (Look-Up Table) schematic table of the first brightness correction parameters corresponding to DBV.
- LUT Look-Up Table
- this embodiment of the invention uses a one-dimensional lookup table (LUT) to record and save the first brightness correction parameters corresponding to DBV, as shown in Table 2.
- LUT lookup table
- DBV has 10 segments, and the pure white brightness Y corresponding to each DBV is obtained from actual measurement.
- the initial DBV used for the selected test screen parameters is generally the largest DBV value.
- the first brightness correction parameters for other DBVs are multiplied by a scaling parameter and then superimposed with an offset parameter, as shown in the following formula.
- the calculated compensation adjustment coefficients, after DBV adjustment are shown below:
- a1 represents the first scaling parameter
- b1 represents the first bias parameter.
- This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity.
- This represents the minimum brightness corresponding to grayscale k.
- This represents the maximum brightness corresponding to grayscale k.
- gamma c is between... and A value between these two values can be linearly interpolated based on is.
- the brightness parameter in this embodiment includes a second brightness correction parameter; the second brightness correction parameter is determined based on the variation law of the compensation coefficient under different loads in n sub-linear relationships; the n sub-linear relationships are obtained by linear interpolation between the maximum compensation coefficient and the minimum compensation coefficient based on the linear relationship between the load and the compensation coefficient in high brightness mode, where n is an integer greater than 1.
- the second brightness correction parameter includes a second scaling parameter and a second bias parameter; the second scaling parameter is a scaling factor applied to each sub-linear relationship based on the variation of the compensation coefficient under different loads.
- the degree of bias is determined; and/or, the second bias parameter is determined for each sub-linear relationship based on the degree of bias of the compensation coefficient variation under different loads.
- the second brightness correction parameter is determined as follows:
- the load OPR corresponding to the maximum compensation coefficient is 0. It should be noted that in this embodiment, when performing calculations of linear relationships, correspondence relationships or other algorithms, parameters such as load size, gray level, and average current intensity are usually normalized and processed into parameters between 0 and 1.
- this embodiment can insert one or more interpolations between the maximum and minimum compensation coefficients to obtain multiple sub-linear relationships between load and compensation coefficients.
- this embodiment provides a schematic diagram of the relationship between load and compensation coefficients in HBM mode. The effect of HBM mode is to achieve different compensation adjustment degrees based on different OPRs. Taking one interpolation as an example, interpolation can be performed in segments according to the user-set thresholds T1-Y1 and T2-Y2, where T1 and T2 represent the load, and Y1 and Y2 represent the compensation coefficients, resulting in three sub-linear relationships.
- the second brightness correction parameter is calculated based on each sub-linear relationship, and the relationship between the second brightness correction parameter and OPR is stored in a one-dimensional lookup table (LUT), which facilitates the display device to look up the corresponding second brightness correction parameter based on the load when adjusting the compensation coefficient.
- LUT one-dimensional lookup table
- the minimum compensation coefficient represents the compensation coefficient of the current image.
- the compensation coefficients of each channel grayscale of the current image are first determined using the compensation parameters of the display screen.
- the compensation coefficients can be further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients corresponding to each channel.
- the compensation adjustment coefficients corresponding to each channel are then used to compensate the grayscale of each channel of the current image, and the compensated current image is displayed.
- the brightness parameters include m
- the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters, where m is an integer greater than 1.
- the brightness parameters include a first brightness correction parameter and a second brightness correction parameter; firstly After determining the compensation coefficients for each channel of the current image using the compensation parameters of the display screen, the corresponding first brightness correction parameter is determined based on the DBV of the display screen. The compensation coefficients are then adjusted using the first brightness correction parameter to obtain the first compensation adjustment coefficient. Finally, when the display screen is in HDM mode, the first compensation adjustment coefficient can be further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients for each channel. The gray levels of each channel of the current image are then compensated using the compensation adjustment coefficients for each channel, and the compensated current image is displayed.
- the compensation coefficients for each channel's grayscale of the current image are determined using the display screen's compensation parameters. Then, the first brightness correction parameter is used to adjust these coefficients to obtain a first compensation adjustment coefficient. Next, the second brightness correction parameter is used to adjust these coefficients to obtain a second compensation adjustment coefficient. Finally, the third brightness parameter is used to further adjust these coefficients, resulting in the compensation adjustment coefficients for each channel. These channel-specific compensation adjustment coefficients are then used to compensate for the grayscale of each channel of the current image, and the compensated image is displayed.
- the brightness parameters include a first brightness correction parameter, a second brightness correction parameter, a third brightness parameter, and a fourth brightness parameter, the same adjustments are made sequentially to obtain the final compensation adjustment coefficients.
- the compensation coefficients in the n sub-linear relationships vary to different degrees with load changes; in the sub-linear relationships where the load is lower than the reference load, the compensation coefficient increases as the load decreases; in the sub-linear relationships where the load is higher than or equal to the reference load, the compensation coefficient is the minimum compensation coefficient; wherein the reference load represents the load corresponding to the minimum compensation coefficient, and the reference load is between the maximum load and the minimum load.
- the second brightness correction parameter includes a second scaling parameter and a second bias parameter; the processor is specifically configured to determine the second brightness correction parameter by any one or more of the following methods:
- Method a For each sub-linear relationship, determine the second scaling parameter corresponding to different loads in each sub-linear relationship based on the scaling degree of the compensation coefficient change under different loads;
- Method b For each sub-linear relationship, determine the second bias parameter corresponding to different loads in each sub-linear relationship based on the bias degree of the change in the compensation coefficient under different loads.
- the second brightness correction parameter includes a second scaling parameter and a second bias parameter.
- the relationship table of the second brightness coefficients corresponding to different OPRs is as follows:
- the maximum compensation coefficient Y0 1, and the minimum compensation coefficient Y2 can be the compensation coefficient of the current image, or a compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters.
- Y1 represents the interpolation compensation coefficient
- Y2 represents the minimum compensation coefficient
- t takes the value of...
- the compensation coefficients of each channel grayscale of the current image are first determined using the compensation parameters of the display screen. Then, the compensation coefficients are further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients corresponding to each channel.
- the specific formula is as follows:
- a2 represents the second scaling parameter
- b2 represents the second bias parameter.
- This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity.
- This represents the minimum brightness corresponding to grayscale k.
- This represents the maximum brightness corresponding to grayscale k.
- gamma c is between and A value between these two values can be linearly interpolated based on is.
- the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters.
- the compensation coefficients of each channel grayscale of the current image are determined using the compensation parameters of the display screen.
- the first compensation adjustment coefficient is obtained by adjusting the compensation coefficient using the first brightness correction parameter.
- the first compensation adjustment coefficient is adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficient corresponding to each channel.
- a1 represents the first scaling parameter
- b1 represents the first bias parameter
- a2 represents the second scaling parameter
- b2 represents the second bias parameter.
- This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity.
- c represents the channel
- k represents the grayscale
- is represents the current average current intensity
- is′ represents the target average current intensity.
- This represents the minimum brightness corresponding to grayscale k.
- gamma c is between... and A value between these two values can be linearly interpolated based on is.
- HBM Global High Brightness
- HBM mode can achieve 800 nits or even 1000 nits. Enabling HBM in optical fingerprint recognition scenarios can improve fingerprint recognition success rates. However, excessive brightness can be glaring for users, so a mask (a solid color layer, using varying transparency to change screen brightness) needs to be added to the non-fingerprint area to reduce overall brightness. If the non-fingerprint area is black, no mask is needed.
- the display when the display is in HBM mode, such as in fingerprint unlocking scenarios, there is a linear relationship between the display load and the compensation coefficient.
- compensation coefficients By setting one or more interpolations, compensation coefficients with different compensation levels corresponding to different load ranges can be obtained.
- the second brightness correction parameters Based on the linear relationship between the load and the compensation coefficient, the second brightness correction parameters corresponding to different load areas can be obtained.
- adjusting the compensation coefficient using the second brightness correction parameters can yield a suitable compensation coefficient for the current load. The appropriate level of compensation.
- the load (OPR, On Pixel Ratio) in this embodiment is determined based on the image displayed on the screen.
- the load can be adjusted by fixing the grayscale and changing the area of the test image displayed on the screen. By inputting the test image to the screen and adjusting the area of the test image, different load sizes can be obtained, thereby achieving different levels of brightness compensation based on different loads.
- Step d Use the compensation adjustment coefficients of the gray levels of each channel of the pixel unit to compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
- the brightness parameter includes a scaling parameter and an offset parameter
- the processor is specifically configured to determine the compensation adjustment coefficient in the following manner:
- the compensation adjustment coefficient is obtained by linearly adjusting the compensation coefficient using scaling and bias parameters.
- the brightness parameters include m parameters
- the processor is specifically configured to execute:
- the compensation coefficient of the current image is linearly adjusted using the first brightness parameter to obtain the first brightness adjustment coefficient.
- the compensation coefficient is scaled using the scaling parameter of the first brightness parameter and biased using the offset parameter of the first brightness parameter to obtain the first brightness adjustment coefficient.
- the first brightness adjustment coefficient is linearly adjusted using the second brightness parameter to obtain the second brightness adjustment coefficient; and so on, the (m-1)th brightness adjustment coefficient is linearly adjusted using the mth brightness parameter to obtain the mth brightness adjustment coefficient, and the mth brightness adjustment coefficient is determined as the final compensation adjustment coefficient.
- the compensation adjustment coefficient is the coefficient of the above formula (11), then the gray levels of each channel of the current image are compensated using the following formula:
- k ⁇ sub> c ⁇ /sub> represents the gray level of the current image channel c
- k′ ⁇ sub> c ⁇ /sub> represents the gray level of the current image channel c after compensation
- a ⁇ sub>1 ⁇ /sub> represents the first scaling parameter
- b ⁇ sub> 1 ⁇ /sub> represents the first bias parameter
- a ⁇ sub>2 ⁇ /sub> represents the second scaling parameter
- b ⁇ sub> 2 ⁇ /sub> represents the second bias parameter.
- the compensation coefficient is calculated from the data, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k.
- gamma c is between... and A value between these two values can be linearly interpolated based on is.
- IP Intelligent Property
- this embodiment provides a schematic diagram of the compensation effect.
- the brightness of white 255 decreases as the illuminated area (OPR) increases.
- the voltage drop compensation mode i.e., the compensation mode using a compensation coefficient determined by compensation parameters
- the brightness of white 255 does not change with OPR, maintaining brightness consistency.
- the high-brightness compensation mode i.e., the compensation adjustment coefficient determined by compensation parameters and brightness parameters
- the high-brightness mode is mainly used for localized brightening, such as the fingerprint unlocking area and menu area.
- This invention also proposes an adjustable OLED voltage drop automatic compensation system. Addressing the characteristic differences among various OLED screens, this embodiment proposes a device that automatically updates the algorithm IP (Intellectual Property) based on screen characteristics, achieving adjustable voltage drop compensation.
- the system proposed in this embodiment includes software system implementation, hardware system implementation, algorithm IP design, and algorithm IP update method design. It solves the brightness difference caused by screen voltage drop. Simultaneously, it can dynamically update parameters based on the screen's DBV characteristics and high-brightness mode characteristics. This system can facilitate screen mass production upgrades and improve production efficiency.
- This invention proposes an adjustable OLED voltage drop automatic compensation system, including but not limited to system architecture implementation, compensation algorithm design and implementation, IP RTL (Register Transfer Level) architecture, and software logic for IP updates.
- the system architecture comprises hardware and software components. This includes the deployment and workflow of different software and hardware.
- this embodiment provides an automatic compensation system, including an OLED screen, a control computer, a precision measurement PG, and optical acquisition instruments.
- the OLED screen is equipped with a display driver chip IC (Integrated Circuit), used to control the display driver circuit and drive the screen pixels to emit light.
- the control system and compensation algorithm IP related to the screen display are deployed in the driver IC.
- the precision measurement PG pattern generation is a dot pattern fixture used to generate the test image required for the test screen and send the image or video signal to the driver IC through image and video transmission protocols such as MIPI (Mobile Industry Processor Interface), eDP (Embedded DisplayPort), and LVDS (Low Voltage Differential Signaling).
- the system receives instructions and parameters from the control software and updates the compensation algorithm IP built into the IC through the I2C (IIC, Inter-Integrated Circuit) or SPI (Serial Peripheral Interface) protocols. Specifically, the compensation and brightness parameters built into the IC are updated. Since voltage drop in the OLED circuit primarily causes screen brightness non-uniformity, this embodiment uses an optical acquisition instrument, such as the CA410 brightness acquisition device, to capture the relationship between brightness and display load. This instrument can automatically acquire brightness at different locations on the screen according to instructions from the control system, and then return information such as brightness and color coordinates for subsequent analysis and modeling.
- I2C IIC, Inter-Integrated Circuit
- SPI Serial Peripheral Interface
- the control computer is equipped with optical acquisition instrument control software, algorithm IP control software, and image signal generator control software, providing users with adjustment interfaces to achieve screen adjustment needs such as parameter setting (compensation and brightness parameters), parameter update control (compensation and brightness parameters), and IP deployment.
- this embodiment also provides a schematic diagram of the compensation algorithm design.
- the current average current intensity corresponding to each sub-pixel is calculated.
- the first linear relationship between brightness and current intensity is stored in a LUT table.
- the current brightness corresponding to the current average current intensity of each sub-pixel is looked up, and the target brightness corresponding to the target average current intensity of the maximum grayscale value is determined based on the maximum grayscale value in the RGB sub-pixel.
- the compensation coefficient is calculated based on the current brightness and target brightness of each sub-pixel to obtain the compensation coefficients for each of the three RGB channels.
- the compensation coefficients are adjusted based on the first brightness correction parameter corresponding to DBV and/or the second brightness correction parameter under HBM mode to obtain...
- the compensation adjustment coefficient is used to compensate the grayscale value of each sub-pixel, and the final compensated image is output.
- the compensation algorithm when implementing the compensation algorithm using compensation parameters and brightness parameters, the compensation algorithm is ultimately deployed on the driver chip.
- This embodiment uses RTL (Register-Transfer Level) design for the compensation algorithm IP, as shown in Figure 15.
- RTL Register-Transfer Level
- This embodiment provides a data flow diagram of the compensation algorithm IP, using a total of 15 LUTs to decompose the calculation of each node in the compensation algorithm flow.
- the compensation parameters or brightness parameters in the LUTs can be updated according to different screens.
- LUTs 1-3 are used to calculate the current average current intensity *is* after combining the RGB three-channel input grayscale levels;
- LUT 4 is used to calculate the target average current intensity *is'*;
- LUTs 5-7 are used to calculate the ratio of the maximum brightness to the minimum brightness of each of the RGB three-channel input grayscale levels;
- LUTs 8-13 are used to calculate the compensation coefficients;
- LUT 14 stores the first scaling parameter and the first bias parameter corresponding to DBV; and
- LUT 15 stores the second scaling parameter and the second bias parameter corresponding to HBM mode.
- this embodiment of the invention also provides a hardware and software deployment process for updating the compensation parameters and brightness parameters.
- the brightness of the current image displayed on the OLED screen is optically measured by the host computer, and the measured optical data information is transmitted to an external system for processing (such as a PC).
- the compensation parameters and brightness parameters are updated using the optical data information, and the updated compensation parameters and brightness parameters are stored in an external memory.
- the driver chip of the display device reads the compensation parameters and brightness parameters from the external memory, compensates the current image, obtains the compensated image information, and sends it to the OLED screen for display.
- this embodiment provides a flowchart for updating compensation parameters and brightness parameters.
- the compensation parameters and brightness parameters are burned into the external memory. If so, the compensation parameters and brightness parameters are loaded into the driver chip, and the grayscale of the current image is compensated using the compensation parameters and brightness parameters, and the compensated current image is displayed. Otherwise, the host computer is notified to start the precision measurement PG for image display, control the optical acquisition instrument to collect optical data, calculate the compensation parameters and brightness parameters based on the collected optical data, and burn the compensation parameters and brightness parameters into the external memory.
- voltage drop compensation is achieved using the compensation parameters and brightness parameters based on the compensation algorithm. Real-time voltage drop compensation and display of the compensated image.
- this embodiment also provides a voltage drop compensation method in high brightness mode, and the specific implementation process is as follows:
- Step 1800 Obtain the display screen compensation parameters, first brightness correction parameters, and second brightness correction parameters from the driver chip;
- Step 1801 Based on the compensation parameters, estimate the input load and maximum load of the pixel unit in the current image;
- Step 1802 Based on the first linear relationship between brightness and load at different gray levels, determine the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load by using linear interpolation.
- Step 1803 Based on the nonlinear relationship between brightness and grayscale, determine the compensation coefficient of grayscale for each channel of the pixel unit according to the current brightness and target brightness corresponding to each channel grayscale of the pixel unit.
- Step 1804 Linearly adjust the compensation coefficients of each channel grayscale of the pixel unit using the first brightness correction parameter to obtain the first compensation adjustment coefficients of each channel grayscale of the pixel unit.
- Step 1805 Linearly adjust the first compensation adjustment coefficient of each channel grayscale of the pixel unit using the second brightness correction parameter to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit.
- the compensation coefficients of the grayscale of each channel of the pixel unit are first linearly adjusted using the second brightness correction parameter to obtain the second compensation adjustment coefficients of the grayscale of each channel of the pixel unit; then, the second compensation adjustment coefficients of the grayscale of each channel of the pixel unit are linearly adjusted using the first brightness correction parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- Step 1806 Using the compensation adjustment coefficients of the gray levels of each channel of the pixel unit, compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
- This embodiment improves the display characteristics of OLED screens and increases mass production efficiency by automatically testing and updating compensation and brightness parameters for different displays.
- the provided compensation algorithm estimates and compensates in real time based on image content and can adapt to screen characteristics. It solves the brightness difference caused by voltage drop. At the same time, it can dynamically update parameters based on the screen's DBV characteristics and high brightness mode characteristics. Based on the screen's characteristics, it can effectively improve the compensation effect.
- this disclosure also provides a display device, as shown in FIG19, including a display screen 1900 and a control circuit 1901:
- the display screen 1900 is configured to display content
- the control circuit 1901 includes a processor and a memory.
- the processor is used to read a program from the memory and execute the following steps:
- n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
- the degree of change of the compensated brightness with load variation in the n sub-linear relationships is different; in the sub-linear relationship where the load is lower than the reference load, the compensation coefficient increases as the load decreases; in the sub-linear relationship where the load is higher than or equal to the reference load, the compensation coefficient is the minimum compensation coefficient; wherein the reference load represents the load corresponding to the minimum compensated brightness, and the reference load is between the maximum load and the minimum load.
- the processor is specifically configured to execute:
- the processor is specifically configured to execute:
- the compensation coefficients for each channel grayscale of the pixel unit are adjusted using the brightness parameters corresponding to different loads.
- the brightness parameters include scaling parameters and offset parameters;
- the processor is specifically configured to execute:
- For each sub-linear relationship determine the scaling parameters corresponding to different loads within each sub-linear relationship based on the scaling degree of the compensation coefficient variation under different loads; and/or,
- the bias parameters corresponding to different loads in each sub-linear relationship are determined based on the degree of bias of the compensation coefficient change under different loads.
- the minimum compensation coefficient represents the compensation coefficient for each channel grayscale of the pixel unit.
- the brightness parameters include m parameters, and the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of each channel grayscale of the pixel unit using at least one of the m-1 brightness parameters, where m is an integer greater than 1.
- this disclosure also provides a voltage drop compensation method.
- the principle of this method in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and repeated details will not be described again.
- Step 2000 Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
- Step 2001 Determine the compensation coefficients for the grayscale of at least one pixel unit in each channel of the current image displayed on the screen according to the compensation parameters;
- Step 2002 Adjust the compensation coefficients of the grayscale of each channel of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- Step 2003 Using the compensation adjustment coefficients of the gray levels of each channel of the pixel unit, compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
- determining the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen based on the compensation parameters includes:
- the input load and maximum load of the pixel unit in the current image are estimated, where the maximum load represents the input load of the grayscale image generated using the maximum value of each channel grayscale of the pixel unit.
- the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load are determined by linear interpolation.
- the compensation coefficients for each channel grayscale of the pixel unit are determined according to the current brightness and target brightness corresponding to each channel grayscale of the pixel unit.
- the compensation parameters include coefficient parameters for each channel; the coefficient parameters for each channel are determined as follows:
- a first test image is determined, which includes grayscale images of each channel.
- Each grayscale image includes a preset region and a non-preset region.
- the preset region is a pure white image
- the non-preset region is a non-pure white image.
- the coefficient parameters for each channel are determined based on the load corresponding to the preset area of the grayscale image of each channel in the first test image, and the proportion of the preset area to the display area of the grayscale image of each channel.
- the compensation parameters include index parameters for each channel; the index parameters for each channel are determined as follows:
- a second test image is determined, which includes grayscale images of each channel.
- Each grayscale image includes a preset region and a non-preset region.
- the preset region is a pure white image
- the non-preset region is a non-pure white image.
- the load corresponding to the grayscale values of non-preset areas in each channel grayscale image is determined.
- the exponential parameters for each channel are determined according to the load corresponding to the grayscale values of non-preset areas in the grayscale image of each channel, including:
- the first linear relationship between brightness and load at different gray levels is determined as follows:
- the relationship curve between grayscale and brightness under maximum or minimum load is determined as follows:
- a third test image is determined, which includes grayscale images of each channel, and each grayscale image of each channel includes a preset area and a non-preset area.
- the brightness parameters include a first brightness correction parameter; through The first brightness correction parameter is determined as follows:
- the linear variation law of the maximum brightness of the white image under different maximum brightness is determined.
- the first brightness correction parameter under the maximum brightness of the display screen is determined.
- the first brightness correction parameter includes a first scaling parameter and a first bias parameter; determining the first brightness correction parameter at the highest brightness of the display screen based on the linear variation law of the highest brightness of the white image under different maximum brightness levels includes:
- the first bias parameter for different maximum brightness levels is determined based on the degree of bias in the maximum brightness variation of the white image under different maximum brightness levels.
- the brightness parameter includes a second brightness correction parameter; the second brightness correction parameter is determined in the following manner:
- n is an integer greater than 1; the load is determined according to the image displayed on the screen.
- the second brightness correction parameter corresponding to the displayed current image is determined.
- the second brightness correction parameter includes a second scaling parameter and a second offset parameter; determining the second brightness correction parameter corresponding to the displayed current image based on the variation law of the compensation coefficients under different loads in the n sub-linear relationships includes:
- the second bias parameter corresponding to different loads in each sub-linear relationship is determined based on the bias degree of the change in the compensation coefficient under different loads.
- this disclosure also provides a voltage drop compensation method, as shown in Figure 21.
- the specific implementation flow of this method is as follows:
- Step 2100 Obtain the current image and determine the input load of the display screen when the current image is displayed;
- Step 2101 Based on the sub-linear relationship corresponding to the input load among the n sub-linear relationships of load and compensated brightness, determine the compensated brightness corresponding to the input load;
- n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
- this disclosure also provides an electronic device that solves the problem in a similar principle to the display device. Therefore, the implementation of this electronic device can refer to the implementation of the display device, and repeated details will not be described again.
- the electronic device includes a processor 2200 and a memory 2201.
- the memory 2201 is used to store programs executable by the processor 2200.
- the processor 2200 is used to read the programs in the memory 2201 and perform the following steps:
- the compensation parameters and brightness parameters of the display screen wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
- the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen are determined based on the compensation parameters.
- the compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
- the gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
- this disclosure also provides an electronic device that solves the problem in a similar principle to the display device. Therefore, the implementation of this electronic device can refer to the implementation of the display device, and repeated details will not be described again.
- the electronic device includes a processor 2300 and a memory 2301, wherein the memory 2301 is used to store a program executable by the processor 2300, and the processor 2300 is used to read the program in the memory 2301 and perform the following steps:
- n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
- this disclosure also provides a voltage drop compensation system, as shown in FIG24, including a control device 2400 and a display device 2401;
- the control device 2400 is used to determine the compensation parameters and brightness parameters corresponding to the display screen of the display device, and write the compensation parameters and brightness parameters into the driver chip of the display device; wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
- the display device 2401 is used to determine the compensation coefficient of each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters; adjust the compensation coefficient of each channel grayscale of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit; compensate the grayscale of each channel of the pixel unit using the compensation adjustment coefficient of each channel grayscale of the pixel unit, and display the compensated current image.
- this disclosure also provides a voltage drop compensation device.
- the principle of this device in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and the repeated parts will not be described again.
- the device includes:
- the parameter acquisition module 2500 is used to acquire the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
- the coefficient determination module 2501 is used to determine the compensation coefficients of each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters.
- the coefficient adjustment module 2502 is used to adjust the compensation coefficient of each channel grayscale of the pixel unit using the brightness parameter, so as to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit.
- the image compensation module 2503 is used to compensate the gray levels of each channel of the pixel unit using the compensation adjustment coefficient of each channel gray level, and to display the compensated current image.
- this disclosure also provides a voltage drop compensation device.
- the principle of this device in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and the repeated parts will not be described again.
- the device includes:
- the load module 2600 is used to acquire the current image and determine the input load of the display screen when the current image is displayed.
- the brightness compensation module 2601 is used to determine the compensation brightness corresponding to the input load based on the sub-linear relationship corresponding to the input load among n sub-linear relationships between the load and the compensation brightness; wherein the n sub-linear relationships are obtained by linear interpolation between the maximum compensation brightness and the minimum compensation brightness based on the linear relationship between the load and the compensation brightness, and n is an integer greater than 1.
- this disclosure provides a computer storage medium comprising: computer program code, which, when executed on a computer, causes the computer to perform any of the voltage drop compensation methods discussed above. Since the principle by which the computer storage medium solves the problem is similar to that of the voltage drop compensation method, the implementation of the computer storage medium can be referred to the implementation of the method, and repeated details will not be elaborated further.
- computer storage media can include: Universal Serial Bus Flash Drive (USB), portable hard drive, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, and other storage media that can store program code.
- USB Universal Serial Bus Flash Drive
- ROM Read-Only Memory
- RAM Random Access Memory
- magnetic disk or optical disk and other storage media that can store program code.
- this disclosure also provides a computer program product, which includes: computer program code, which, when executed on a computer... At this time, the computer executes any of the voltage drop compensation methods discussed above. Since the principle behind the problem-solving of the above computer program product is similar to that of the voltage drop compensation method, the implementation of the above computer program product can be found in the implementation of the method, and repeated details will not be elaborated here.
- Computer program products may employ any combination of one or more readable media.
- a readable medium may be a readable signal medium or a readable storage medium.
- a readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
- this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
- These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction device that implements the functions specified in one or more flowcharts and/or one or more block diagrams.
- These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and/or one or more block diagrams.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
本公开涉及显示技术领域,特别涉及一种显示设备、压降补偿方法及电子设备。This disclosure relates to the field of display technology, and in particular to a display device, a voltage drop compensation method, and an electronic device.
电压压降是一种由驱动电路电阻导致的屏幕显示亮度不均匀性问题。显示屏的显示亮度不均匀性来自屏幕本身的固有属性,即驱动电路电阻导致的电压不均匀。显示屏中的发光像素通过驱动电路连接,驱动电路本身存在的电阻会导致分压,使得每个发光像素获得的驱动电压不一致,导致发光强度不一致,从而出现屏幕显示亮度不均匀性问题。同时,显示屏的负载(OPR,On Pixel Ratio)不同也会导致显示画面出现亮度差异,以及白画面亮度出现不一致。Voltage drop is a type of screen brightness uniformity problem caused by the resistance of the drive circuit. The brightness uniformity of a display screen stems from an inherent property of the screen itself, specifically the voltage unevenness caused by the resistance of the drive circuit. The light-emitting pixels in a display screen are connected through a drive circuit. The resistance inherent in the drive circuit causes voltage division, resulting in inconsistent drive voltages for each pixel and thus inconsistent luminous intensity, leading to screen brightness uniformity. Simultaneously, differences in the display's on-pixel ratio (OPR) can also cause brightness variations in the displayed image and inconsistent brightness of white areas.
发明内容Summary of the Invention
本公开提供一种显示设备、压降补偿方法及电子设备,用于对全局负载不同导致的亮度差异进行补偿,以及对不同负载下的补偿亮度进行相应的调整,以适应不同使用场景。This disclosure provides a display device, a voltage drop compensation method, and an electronic device for compensating for brightness differences caused by different global loads, and for adjusting the compensated brightness under different loads to adapt to different usage scenarios.
第一方面,本公开实施例提供的一种显示设备,该显示设备包括显示屏和控制电路,其中:In a first aspect, embodiments of the present disclosure provide a display device, which includes a display screen and a control circuit, wherein:
所述显示屏被配置为进行内容的显示;The display screen is configured to display content;
所述控制电路包括处理器和存储器,所述存储器用于存储所述处理器可执行的程序,所述处理器用于读取所述存储器中的程序并执行如下步骤:The control circuit includes a processor and a memory. The memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通 道灰阶的补偿系数;Based on the compensation parameters, at least one pixel unit in the current image displayed on the screen is determined to be... The compensation coefficient for grayscale levels;
利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;The compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
第二方面,本公开实施例提供的一种显示设备,该显示设备包括显示屏和控制电路,其中:In a second aspect, embodiments of this disclosure provide a display device, which includes a display screen and a control circuit, wherein:
所述显示屏被配置为进行内容的显示;The display screen is configured to display content;
所述控制电路包括处理器和存储器,所述存储器用于存储所述处理器可执行的程序,所述处理器用于读取所述存储器中的程序并执行如下步骤:The control circuit includes a processor and a memory. The memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
获取当前图像,确定当前图像显示时显示屏的输入负载;Acquire the current image and determine the input load on the display screen when the current image is displayed;
基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关系,确定所述输入负载对应的补偿亮度;Based on the sub-linear relationship corresponding to the input load among n sub-linear relationships of load and compensated brightness, determine the compensated brightness corresponding to the input load;
其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数。The n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
第三方面,本公开实施例提供的一种压降补偿方法,包括:Thirdly, the voltage drop compensation method provided in this disclosure includes:
获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;The compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen are determined based on the compensation parameters.
利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;The compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
第四方面,本公开实施例提供的一种压降补偿方法,包括:Fourthly, the voltage drop compensation method provided in this disclosure includes:
获取当前图像,确定当前图像显示时显示屏的输入负载;Acquire the current image and determine the input load on the display screen when the current image is displayed;
基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关 系,确定所述输入负载对应的补偿亮度;The sub-linear relationship corresponding to the input load in the n sub-linear relationships based on load and compensated brightness. The system determines the compensation brightness corresponding to the input load;
其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数。The n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
第五方面,本公开实施例还提供一种电子设备,包括处理器和存储器,所述存储器用于存储所述处理器可执行的程序,所述处理器用于读取所述存储器中的程序并执行第一方面或第二方面或第三方面中任一项所述的方法。Fifthly, embodiments of this disclosure also provide an electronic device, including a processor and a memory, the memory being used to store a program executable by the processor, and the processor being used to read the program in the memory and execute the method described in any one of the first, second, or third aspects.
第六方面,本公开实施例还提供一种压降补偿系统,包括控制设备和显示设备;Sixthly, embodiments of this disclosure also provide a voltage drop compensation system, including a control device and a display device;
控制设备用于确定显示设备的显示屏对应的补偿参数和亮度参数,并将补偿参数和亮度参数写入显示设备的驱动芯片;其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;The control device is used to determine the compensation parameters and brightness parameters corresponding to the display screen of the display device, and write the compensation parameters and brightness parameters into the driver chip of the display device; wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
显示设备用于根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The display device is used to determine the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters; adjust the compensation coefficients for each channel grayscale of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients for each channel grayscale of the pixel unit; compensate for each channel grayscale of the pixel unit using the compensation adjustment coefficients for each channel grayscale of the pixel unit, and display the compensated current image.
第七方面,本公开实施例还提供计算机存储介质,其上存储有计算机程序,该程序被处理器执行时用于实现上述第一方面或第二方面或第三方面中任一项所述方法的步骤。In a seventh aspect, embodiments of this disclosure also provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, is used to implement the steps of the method described in any one of the first, second, or third aspects above.
第八方面,本公开提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面或第二方面或第三方面中任一项所述的方法。Eighthly, this disclosure provides a computer program product comprising: computer program code, which, when run on a computer, causes the computer to perform the method described in any one of the first, second, or third aspects.
本公开的这些方面或其他方面在以下的实施例的描述中会更加简明易懂。These or other aspects of this disclosure will become more apparent in the following description of embodiments.
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公 开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are merely illustrative of this disclosure. The embodiments described herein allow those skilled in the art to obtain other drawings based on these drawings without any creative effort.
图1为本公开实施例提供的一种电压压降引起的画面亮度差异的示意图;Figure 1 is a schematic diagram of the difference in screen brightness caused by voltage drop according to an embodiment of this disclosure;
图2为本公开实施例提供的一种显示设备的示意图;Figure 2 is a schematic diagram of a display device provided in an embodiment of this disclosure;
图3为本公开实施例提供的一种亮度随平均电流强度增加而下降的示意图;Figure 3 is a schematic diagram showing that the brightness decreases as the average current intensity increases, according to an embodiment of this disclosure.
图4为本公开实施例提供的一种纯白图像的亮度和电流强度的第二线性关系的示意图;Figure 4 is a schematic diagram of a second linear relationship between the brightness of a pure white image and the current intensity according to an embodiment of this disclosure;
图5为本公开实施例提供的一种第一测试图像各通道灰阶图像的示意图;Figure 5 is a schematic diagram of the grayscale images of each channel of a first test image provided in an embodiment of this disclosure;
图6为本公开实施例提供的一种第二测试图像的示意图;Figure 6 is a schematic diagram of a second test image provided in an embodiment of this disclosure;
图7为本公开实施例提供的一种第一线性关系的示意图;Figure 7 is a schematic diagram of a first linear relationship provided in an embodiment of this disclosure;
图8为本公开实施例提供的一种第三测试图像的示意图;Figure 8 is a schematic diagram of a third test image provided in an embodiment of this disclosure;
图9为本公开实施例提供的一种各通道灰阶和最小亮度的第一关系曲线的示意图;Figure 9 is a schematic diagram of a first relationship curve between gray levels and minimum brightness of each channel provided in an embodiment of this disclosure;
图10为本公开实施例提供的一种补偿系数和最高亮度的线性关系的示意图;Figure 10 is a schematic diagram of a linear relationship between a compensation coefficient and maximum brightness provided in an embodiment of this disclosure;
图11为本公开实施例提供的一种HBM模式下负载和补偿系数的关系示意图;Figure 11 is a schematic diagram of the relationship between load and compensation coefficient under an HBM mode provided in an embodiment of this disclosure;
图12为本公开实施例提供的一种补偿效果示意图;Figure 12 is a schematic diagram of a compensation effect provided in an embodiment of this disclosure;
图13为本公开实施例提供的一种自动补偿系统的示意图;Figure 13 is a schematic diagram of an automatic compensation system provided in an embodiment of this disclosure;
图14为本公开实施例提供的一种补偿算法设计示意图;Figure 14 is a schematic diagram of a compensation algorithm design provided in an embodiment of this disclosure;
图15为本公开实施例提供的一种补偿算法IP数据流程图;Figure 15 is a flowchart of IP data for a compensation algorithm provided in an embodiment of this disclosure;
图16为本公开实施例提供的一个对补偿参数和亮度参数进行更新的软硬件部署流程图;Figure 16 is a flowchart of the software and hardware deployment for updating compensation parameters and brightness parameters provided in an embodiment of this disclosure;
图17为本公开实施例提供的一种补偿参数和亮度参数更新的流程图;Figure 17 is a flowchart of a compensation parameter and brightness parameter update provided in an embodiment of this disclosure;
图18为本公开实施例提供的一种高亮模式下的压降补偿方法实施流程图;Figure 18 is a flowchart of a voltage drop compensation method in a high-brightness mode provided in an embodiment of this disclosure;
图19为本公开实施例提供的一种显示设备的示意图; Figure 19 is a schematic diagram of a display device provided in an embodiment of this disclosure;
图20为本公开实施例提供的一种压降补偿方法实施流程图;Figure 20 is a flowchart of an implementation method for voltage drop compensation provided in an embodiment of this disclosure;
图21为本公开实施例提供的一种压降补偿方法实施流程图;Figure 21 is a flowchart of an implementation method for voltage drop compensation provided in an embodiment of this disclosure;
图22为本公开实施例提供的一种电子设备示意图;Figure 22 is a schematic diagram of an electronic device provided in an embodiment of this disclosure;
图23为本公开实施例提供的一种电子设备的示意图;Figure 23 is a schematic diagram of an electronic device provided in an embodiment of this disclosure;
图24为本公开实施例提供的一种压降补偿系统示意图;Figure 24 is a schematic diagram of a voltage drop compensation system provided in an embodiment of this disclosure;
图25为本公开实施例提供的一种压降补偿装置示意图;Figure 25 is a schematic diagram of a voltage drop compensation device provided in an embodiment of this disclosure;
图26为本公开实施例提供的一种压降补偿装置示意图。Figure 26 is a schematic diagram of a voltage drop compensation device provided in an embodiment of this disclosure.
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。To make the objectives, technical solutions, and advantages of this disclosure clearer, the disclosure will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
本公开实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In this disclosure, the term "and/or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and/or B can represent three cases: A alone, A and B simultaneously, and B alone. The character "/" generally indicates that the preceding and following related objects have an "or" relationship.
本公开实施例描述的应用场景是为了更加清楚的说明本公开实施例的技术方案,并不构成对于本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本公开实施例提供的技术方案对于类似的技术问题,同样适用。其中,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。The application scenarios described in this disclosure are for the purpose of more clearly illustrating the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided in this disclosure. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided in this disclosure are also applicable to similar technical problems. In the description of this disclosure, unless otherwise stated, "multiple" means two or more.
在介绍本公开实施例所提供的显示设备及压降补偿方法之前,为了便于理解,首先对下面对本公开实施例的技术背景进行详细介绍。Before introducing the display device and voltage drop compensation method provided in the embodiments of this disclosure, the technical background of the embodiments of this disclosure will be described in detail below for ease of understanding.
电压压降是一种由驱动电路电阻导致的屏幕显示亮度不均匀性问题。显示屏的显示亮度不均匀性来自屏幕本身的固有属性,即驱动电路电阻导致的电压不均匀。以OLED(Organic Light-Emitting Diode,有机电激光显示、有 机发光半导体)屏为例,显示屏中的发光像素通过驱动电路连接,驱动电路本身存在的电阻会导致分压,使得每个发光像素获得的驱动电压不一致,导致发光强度不一致,从而出现屏幕显示亮度不均匀性问题。一般来说距离驱动电路的起点越近,分压越小,亮度越高。同时全局负载不同,画面亮度差异也比较明显。如图1所示,本实施例提供一种电压压降引起的画面亮度差异的示意图,其中,负载不同导致显示画面出现亮度差异,以及白画面亮度出现不一致。Voltage drop is a problem of uneven screen brightness caused by the resistance of the driving circuit. The uneven brightness of the display stems from an inherent property of the screen itself, namely, the uneven voltage caused by the resistance of the driving circuit. This is particularly relevant to OLED (Organic Light-Emitting Diode) displays. Taking an organic light-emitting diode (OLED) screen as an example, the light-emitting pixels in the display are connected through a driving circuit. The resistance inherent in the driving circuit itself causes voltage division, resulting in inconsistent driving voltages for each light-emitting pixel, leading to inconsistent luminous intensity and thus uneven screen brightness. Generally, the closer to the starting point of the driving circuit, the smaller the voltage division and the higher the brightness. Simultaneously, different global loads also result in significant differences in screen brightness. As shown in Figure 1, this embodiment provides a schematic diagram of screen brightness differences caused by voltage drop, where different loads lead to brightness differences in the displayed image, and inconsistent brightness of the white screen.
基于此,本公开实施例提供一种显示设备及压降补偿方法,用于对负载不同导致的亮度差异,以及白画面本身的亮度不一致的情况进行补偿,实现不同负载下亮度的一致性。并且,本实施例能够基于不同的显示屏的显示特性,确定对应的补偿参数和亮度参数,利用该显示屏对应的补偿参数和亮度参数计算补偿系数和补偿调整系数,从而实现压降补偿。不仅可以实现不同负载下亮度的一致性,还可以实现在不同使用场景下,基于不同负载调整补偿的程度,提高小负载下的补偿亮度,实现局部区提亮,例如可以应用于指纹解锁场景或点击菜单的场景。Based on this, this disclosure provides a display device and a voltage drop compensation method to compensate for brightness differences caused by different loads and inconsistent brightness of the white screen itself, achieving brightness consistency under different loads. Furthermore, this embodiment can determine corresponding compensation parameters and brightness parameters based on the display characteristics of different displays, and calculate compensation coefficients and adjustment coefficients using the corresponding compensation and brightness parameters of the display, thereby achieving voltage drop compensation. Not only can it achieve brightness consistency under different loads, but it can also adjust the degree of compensation based on different loads in different usage scenarios, improving the compensated brightness under low loads and achieving localized brightening, for example, it can be applied to fingerprint unlocking scenarios or menu clicking scenarios.
本实施例提供的一种显示设备及压降补偿方法,核心思想是获取针对当前显示屏的补偿参数和亮度参数,由于不同的显示屏的显示特性存在差异,因此本实施例可以针对性地先确定出适用于当前显示屏的补偿参数和亮度参数,利用该显示屏对应的亮度参数和补偿参数进行灰阶的补偿和调整,通过获取不同显示屏的补偿参数和亮度参数,来助力屏幕量产升级,使得能够批量获取不同显示屏的补偿参数和亮度参数,提高生产效率。显示屏可以基于对应的补偿参数和亮度参数对显示的图像进行补偿和调整,提高补偿的准确性,提升显示效果。并且,可以针对不同的使用场景,进行局部提亮,提高用户使用的体验感。This embodiment provides a display device and voltage drop compensation method. The core idea is to obtain compensation parameters and brightness parameters specific to the current display screen. Since different display screens have different display characteristics, this embodiment can specifically determine the compensation and brightness parameters applicable to the current display screen first. Grayscale compensation and adjustment are then performed using the corresponding brightness and compensation parameters for that display screen. By obtaining compensation and brightness parameters for different display screens, mass production upgrades of screens can be facilitated, enabling batch acquisition of compensation and brightness parameters for different display screens and improving production efficiency. The display screen can compensate and adjust the displayed image based on the corresponding compensation and brightness parameters, improving the accuracy of compensation and enhancing the display effect. Furthermore, it can perform localized brightening for different usage scenarios, improving the user experience.
需要说明的是,本实施例中的显示设备包括但不限于大屏智能显示设备(一般为50寸以上),手机、平板、电脑等使用液晶屏的设备,其中显示设备包括但不限于液晶显示器(Liquid Crystal Display,LCD)、有机发光半导体 (Organic Electroluminescence Display,OLED)、电子墨水屏等显示屏。本实施例对显示设备的显示屏的类型不作过多限定。It should be noted that the display devices in this embodiment include, but are not limited to, large-screen smart display devices (generally 50 inches or larger), mobile phones, tablets, computers, and other devices using LCD screens. These display devices include, but are not limited to, liquid crystal displays (LCDs) and organic light-emitting diodes (OLEDs). Displays such as Organic Electroluminescence Display (OLED) and e-ink displays are used. This embodiment does not impose excessive limitations on the type of display screen used in the display device.
本实施例中的显示设备的显示屏包括但不限于OLED、手机屏幕、车载屏幕、NB(Notebook)屏幕等,本实施例对此不作过多限定。The display screen of the display device in this embodiment includes, but is not limited to, OLED, mobile phone screen, vehicle screen, NB (Notebook) screen, etc. This embodiment does not impose too many limitations on it.
如图2所示,本公开实施例提供一种显示设备,该显示设备包括显示屏200和控制电路201,其中:As shown in Figure 2, this embodiment of the present disclosure provides a display device, which includes a display screen 200 and a control circuit 201, wherein:
所述显示屏200被配置为进行内容的显示;The display screen 200 is configured to display content;
所述控制电路201包括处理器和存储器,所述存储器用于存储所述处理器可执行的程序,所述处理器用于读取所述存储器中的程序并执行如下步骤:The control circuit 201 includes a processor and a memory. The memory stores programs executable by the processor, and the processor reads the programs from the memory and performs the following steps:
步骤a、获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;Step a: Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
在一些实施例中,本实施例中的补偿参数用于对不同负载下的灰阶进行补偿,本实施例中的亮度参数用于调整对不同负载下的灰阶的补偿程度。In some embodiments, the compensation parameters in this embodiment are used to compensate for grayscale under different loads, and the brightness parameters in this embodiment are used to adjust the degree of compensation for grayscale under different loads.
可选的,显示屏的显示特性用于表示和显示相关的特征或参数,显示屏的显示特性包括但不限于显示屏的显示区域的大小、显示屏的亮度可调范围、显示屏的最高亮度、DBV(Display Brightness Values,显示亮度值)、是否处于高亮模式(如HBM模式)等,本实施例对此不作过多限定。Optionally, the display characteristics of the display screen are used to represent and display related features or parameters. The display characteristics of the display screen include, but are not limited to, the size of the display area of the display screen, the adjustable range of the brightness of the display screen, the maximum brightness of the display screen, DBV (Display Brightness Values), whether it is in a high brightness mode (such as HBM mode), etc. This embodiment does not impose too many limitations on these.
在一些实施例中,本实施例处理器具体被配置为从驱动芯片中获取显示屏的补偿参数和亮度参数;不同的显示屏的补偿参数不同,和/或,不同的显示屏的亮度参数不同。In some embodiments, the processor of this embodiment is specifically configured to obtain the compensation parameters and brightness parameters of the display screen from the driver chip; different displays screens have different compensation parameters, and/or different displays screens have different brightness parameters.
实施中,可以通过外部设备如PC机对显示屏的补偿参数和亮度参数进行测试并计算后,将计算得到的补偿参数和亮度参数写入到驱动芯片中,用于显示设备根据和自身显示特性相关的补偿参数和亮度参数,实现图像的亮度补偿。In practice, the compensation parameters and brightness parameters of the display screen can be tested and calculated by an external device such as a PC. The calculated compensation parameters and brightness parameters are then written into the driver chip, so that the display device can achieve image brightness compensation based on the compensation parameters and brightness parameters related to its own display characteristics.
步骤b、根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;Step b: Determine the compensation coefficient for each channel grayscale of at least one pixel unit in the current image displayed on the screen according to the compensation parameters;
可选的,本实施例中的像素单位可以是单个像素,也可以是位置相邻的 像素组合,本实施例对此不作过多限定。Optionally, the pixel unit in this embodiment can be a single pixel or adjacent pixels. Pixel combination is not limited in this embodiment.
需要说明的是,本实施例利用PC机得到该显示设备的补偿参数和亮度参数之后,写入到该显示设备的驱动芯片中,当显示设备在进行补偿时,一种示例为,显示设备根据补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数,利用补偿系数对各通道灰阶进行补偿。It should be noted that in this embodiment, after obtaining the compensation parameters and brightness parameters of the display device using a PC, the parameters are written into the driver chip of the display device. When the display device is performing compensation, one example is that the display device determines the compensation coefficient of each channel grayscale of at least one pixel unit in the current image displayed on the screen according to the compensation parameters, and uses the compensation coefficient to compensate for the grayscale of each channel.
可选的,本实施例中输入显示屏的图像(包括当前图像和测试图像等)包括但不限于RGB图像、RAW图像、YUV图像等,本实施例对图像的格式不作过多限定。Optionally, the images input to the display screen in this embodiment (including the current image and test images, etc.) include, but are not limited to, RGB images, RAW images, YUV images, etc. This embodiment does not impose too many restrictions on the image format.
可选的,本实施例可以利用目前常用的确定补偿系数的方法确定补偿系数,或本实施例提供的方法确定补偿系数,本实施例对此不作过多限定。不论哪种方式确定的补偿系数,本实施例都会利用亮度参数对确定的补偿系数进行调整,从而利用补偿调整系数进行图像的后续补偿处理,能够根据不同显示屏的特性提供不同的调整程度,实现压降补偿的可调特性,从而提供更精确地补偿方案。并且,本实施例中的补偿参数和亮度参数都是基于显示屏的显示特性确定的,能够助力屏幕量产升级,提高生产效率。Optionally, this embodiment can determine the compensation coefficient using commonly used methods or the method provided in this embodiment; this embodiment does not impose excessive limitations on this method. Regardless of the method used to determine the compensation coefficient, this embodiment will adjust the determined compensation coefficient using brightness parameters, thereby using the compensation adjustment coefficient for subsequent image compensation processing. This allows for different adjustment levels based on the characteristics of different displays, achieving adjustable voltage drop compensation and providing a more accurate compensation solution. Furthermore, the compensation parameters and brightness parameters in this embodiment are determined based on the display characteristics of the display screen, which can facilitate screen mass production upgrades and improve production efficiency.
在一些实施例中,本实施例处理器具体被配置为通过如下步骤确定补偿系数:In some embodiments, the processor of this embodiment is specifically configured to determine the compensation coefficient through the following steps:
步骤b1、根据所述补偿参数,预估当前图像中所述像素单位的输入负载和最大负载,其中最大负载表示利用所述像素单位各通道灰阶的最大值生成的灰度灰阶图像的输入负载;Step b1: Based on the compensation parameters, estimate the input load and maximum load of the pixel unit in the current image, where the maximum load represents the input load of the grayscale image generated using the maximum value of each channel grayscale of the pixel unit.
对于显示屏而言,负载和显示的图像有关,负载越大电流强度越大,负载和电流强度正相关,因此,本实施例通过电流强度来检测当前图像对应的输入负载的大小。For a display screen, the load is related to the displayed image. The larger the load, the greater the current intensity. The load and current intensity are positively correlated. Therefore, this embodiment uses the current intensity to detect the magnitude of the input load corresponding to the current image.
可选的,本实施例中的电流强度包括对于显示屏而言的全局电流强度,和/或,对于显示屏的单个像素单位而言的平均电流强度,其中全局电流强度/显示面积=单个像素的平均电流强度。Optionally, the current intensity in this embodiment includes the global current intensity for the display screen, and/or the average current intensity for a single pixel unit of the display screen, wherein the global current intensity / display area = the average current intensity of a single pixel.
本实施例中的电流强度(包括当前电流强度和目标电流强度)包括对于 显示屏而言的全局电流强度、对于显示屏的单个像素单位而言的平均电流强度以及对于显示屏的像素单位组合而言的平均电流强度中的一项或多项,其中全局电流强度/显示面积=平均电流强度;像素单位包括单个像素,或者按其他规则定义的像素区域,本实施例对此不作过多限定。可选的,当前电流强度包括当前平均电流强度和当前全局电流强度;目标电流强度包括目标平均电流强度和目标全局电流强度。The current intensity (including the current current intensity and the target current intensity) in this embodiment includes for The current intensity refers to one or more of the following: global current intensity for the display screen, average current intensity for a single pixel unit of the display screen, and average current intensity for a combination of pixel units of the display screen, wherein global current intensity / display area = average current intensity; a pixel unit includes a single pixel, or a pixel area defined according to other rules, which is not limited in this embodiment. Optionally, the current current intensity includes the current average current intensity and the current global current intensity; the target current intensity includes the target average current intensity and the target global current intensity.
实施中,为了便于计算出每个像素单位各通道灰阶对应的平均电流强度,本实施例在进行算法的计算过程中,通常使用的是当前平均电流强度和目标平均电流强度。即针对单个像素单位的每个通道灰阶,计算对应的当前平均电流强度和目标平均电流强度。In practice, to facilitate the calculation of the average current intensity corresponding to each channel grayscale for each pixel unit, this embodiment typically uses the current average current intensity and the target average current intensity during the algorithm calculation process. That is, for each channel grayscale of a single pixel unit, the corresponding current average current intensity and target average current intensity are calculated.
在一些实施例中,本实施例中的补偿参数包括各通道系数参数和各通道指数参数。实施中,各通道系数参数和指数参数是提前基于测试图像进行对当前显示屏进行检测得到的,其中利用预先设定的第一测试图像确定各通道系数参数,利用预先设定的第二测试图像确定各通道指数参数。In some embodiments, the compensation parameters in this embodiment include channel coefficient parameters and channel exponential parameters. In practice, the channel coefficient parameters and exponential parameters are obtained in advance by detecting the current display screen based on a test image. Specifically, the channel coefficient parameters are determined using a pre-set first test image, and the channel exponential parameters are determined using a pre-set second test image.
可选的,通过如下方式确定输入负载:Optionally, the input load can be determined as follows:
根据当前图像中所述像素单位各通道灰阶、各通道系数参数和各通道指数参数,预估所述像素单位的输入负载。Based on the grayscale, coefficient parameters, and exponential parameters of each channel of the pixel unit in the current image, the input load of the pixel unit is estimated.
实施中,根据当前图像中所述像素单位各通道灰阶、各通道系数参数和各通道指数参数,预估像素单位当前平均电流强度。将像素单位当前平均电流强度作为所述像素单位的输入负载。In practice, based on the grayscale, coefficient parameters, and exponential parameters of each channel of the pixel unit in the current image, the current average current intensity of the pixel unit is estimated. This current average current intensity of the pixel unit is then used as the input load of the pixel unit.
需要说明的是,对于任意的输入图像,首先统计该图像的整体负载,表示为平均电流强度(如当前平均电流强度),若平均电流强度越大,则表示负载越大,电路压降越严重,亮度下降越多。如图3所示,本实施例还提供一种亮度随平均电流强度增加而下降的示意图,可以看出亮度与平均电流强度成负相关关系。It should be noted that for any input image, the overall load of the image is first calculated and expressed as the average current intensity (such as the current average current intensity). The higher the average current intensity, the greater the load, the more severe the voltage drop in the circuit, and the greater the decrease in brightness. As shown in Figure 3, this embodiment also provides a schematic diagram of the decrease in brightness as the average current intensity increases, showing that brightness is negatively correlated with the average current intensity.
实施中,当前平均电流强度(即电流大小,单位安培A)主要与屏幕输入的图像的像素和图像大小相关,通过如下公式对当前平均电流强度进行估
计。
In practice, the current average current intensity (i.e., current magnitude, measured in amperes (A)) is mainly related to the pixels and image size of the image input to the screen. The current average current intensity is estimated using the following formula. count.
公式(1)中,is表示当前平均电流强度,c表示多通道图像中的任一通道,以RGB图像为例,c=0,1,2;cwc表示通道c(如R通道、G通道、B通道)的系数参数;γc表示通道c的指数参数;Inc(x,y)表示输入图像(即当前图像)中像素单位的像素位置(x,y)上通道c的灰阶值(取值范围0~1)。h表示当前图像的高度(即在Y轴方向上像素点的数量),w表示当前图像的宽度(即在X轴方向上像素点的数量)。In formula (1), is represents the current average current intensity, c represents any channel in the multi-channel image, taking RGB image as an example, c = 0, 1, 2; cw c represents the coefficient parameter of channel c (such as R channel, G channel, B channel); γ c represents the exponential parameter of channel c; In c (x,y) represents the gray level value of channel c at pixel position (x,y) in the input image (i.e., the current image) (value range 0~1). h represents the height of the current image (i.e., the number of pixels in the Y-axis direction), and w represents the width of the current image (i.e., the number of pixels in the X-axis direction).
需要说明的是,本实施例为了便于计算,将像素单位各通道灰阶进行归一化处理,使得像素单位各通道灰阶的取值范围在0~1之间。上述公式可以看出,当前平均电流强度随着灰阶值的变化按照指数函数的变化规律而变化。It should be noted that, for ease of calculation, this embodiment normalizes the grayscale values of each channel within a pixel unit, ensuring that the grayscale values of each channel within a pixel unit range from 0 to 1. As can be seen from the above formula, the current average current intensity changes exponentially with the grayscale value.
可选的,通过如下方式确定最大负载:Optionally, the maximum load can be determined as follows:
根据所述像素单位各通道灰阶的最大值生成的灰度灰阶图像的各通道灰阶、各通道系数参数和各通道指数参数,预估所述像素单位的最大负载;其中所述灰度灰阶图像表示各通道灰阶值相同的图像。The maximum load of the pixel unit is estimated by using the grayscale values of each channel of the grayscale image generated based on the maximum grayscale values of each channel of the pixel unit, the grayscale values of each channel, the coefficient parameters of each channel, and the exponent parameters of each channel; wherein the grayscale image represents an image with the same grayscale values in each channel.
实施中,根据所述像素单位各通道灰阶的最大值生成灰度灰阶图像,此时灰度灰阶图像中各通道灰阶值相同,根据灰度灰阶图像的各通道灰阶、各通道系数参数和各通道指数参数,预估像素单位的目标电流强度;将目标电流强度作为像素单位的最大负载。In practice, a grayscale image is generated based on the maximum grayscale value of each channel of the pixel unit. At this time, the grayscale values of each channel in the grayscale image are the same. Based on the grayscale values of each channel, the coefficient parameters of each channel, and the exponent parameters of each channel in the grayscale image, the target current intensity of the pixel unit is estimated. The target current intensity is used as the maximum load of the pixel unit.
本实施例在计算时,通常利用目标平均电流强度进行后续算法的计算,其中目标平均电流强度是针对灰度灰阶图像中的每个像素单位而言,即灰度灰阶图像中的每个像素单位对应一个目标平均电流强度,通过对每个像素单位的灰阶值的补偿实现对整个图像灰阶的补偿。In this embodiment, the target average current intensity is typically used for subsequent algorithm calculations. The target average current intensity is applied to each pixel unit in the grayscale image. That is, each pixel unit in the grayscale image corresponds to a target average current intensity. The grayscale of the entire image is compensated by compensating the grayscale value of each pixel unit.
实施中,根据当前图像确定灰度灰阶图像,对于任意输入RGB灰阶(k0,k1,k2)来说,它的目标亮度则取决于它的目标平均电流强度is’,由于电压压降补偿不能改变屏幕的gamma特性,即全屏点亮灰度灰阶(k0=k1=k2)时,灰阶值不被压降补偿算法改变。因此本发明提出一种确定目标平均电流 强度的方法是选取针对一个像素单位各通道(R通道、G通道和B通道)灰阶值k0,k1,k2中的最大值max(k0,k1,k2),全屏点亮max(k0,k1,k2)灰度灰阶时对应的平均电流强度is’即为输入灰阶(k0,k1,k2)对应的目标平均电流强度。In implementation, the grayscale image is determined based on the current image. For any input RGB grayscale ( k0 , k1 , k2 ), its target brightness depends on its target average current intensity is'. Since voltage drop compensation cannot change the screen's gamma characteristic, that is, when the entire screen is lit up with grayscale ( k0 = k1 = k2 ), the grayscale value is not changed by the voltage drop compensation algorithm. Therefore, this invention proposes a method for determining the target average current. The intensity method selects the maximum value max( k0 , k1 , k2 ) among the grayscale values k0 , k1 , k2 of each channel (R channel, G channel, and B channel) for a pixel unit. The average current intensity is' corresponding to the input grayscale ( k0 , k1 , k2 ) when the entire screen is lit up is the target average current intensity.
实施中,目标平均电流强度(即电流大小,单位安培A)主要与灰度灰阶图像的像素和图像大小相关,通过如下公式对目标平均电流强度进行估计。
In practice, the target average current intensity (i.e., current magnitude, in amperes A) is mainly related to the pixels and image size of the grayscale image. The target average current intensity is estimated using the following formula.
公式(2)中,is′表示目标平均电流强度,c表示多通道图像中的任一通道,以RGB图像为例,c=0,1,2;cwc表示通道c(如R通道、G通道、B通道)的系数参数;γc表示通道c的指数参数;max(k0,k1,k2)表示输入的灰度灰阶图像的每个像素单位的像素位置(x,y)上各通道的灰阶值中的最大值,(取值范围0~1)。h表示输入的灰度灰阶图像的高度(即在Y轴方向上像素点的数量),w表示输入的灰度灰阶图像的宽度(即在X轴方向上像素点的数量)。In formula (2), is′ represents the target average current intensity, c represents any channel in the multi-channel image, taking RGB image as an example, c=0,1,2; cw c represents the coefficient parameter of channel c (such as R channel, G channel, B channel); γ c represents the exponential parameter of channel c; max(k 0 ,k 1 ,k 2 ) represents the maximum value of gray level values of each channel at pixel position (x,y) of each pixel unit of the input gray-scale image (value range 0~1). h represents the height of the input gray-scale image (i.e. the number of pixels in the Y-axis direction), and w represents the width of the input gray-scale image (i.e. the number of pixels in the X-axis direction).
实施中,灰度灰阶图像的高度与当前图像的高度是一致的,灰度灰阶图像的宽度与当前图像的宽度是一致的。In practice, the height of the grayscale image is the same as the height of the current image, and the width of the grayscale image is the same as the width of the current image.
需要说明的是,本实施例为了便于计算,将像素单位各通道灰阶进行归一化处理,使得像素单位各通道灰阶的取值范围在0~1之间。上述公式可以看出,当前平均电流强度随着灰阶值的变化按照指数函数的变化规律而变化。It should be noted that, for ease of calculation, this embodiment normalizes the grayscale values of each channel within a pixel unit, ensuring that the grayscale values of each channel within a pixel unit range from 0 to 1. As can be seen from the above formula, the current average current intensity changes exponentially with the grayscale value.
在一些实施例中,上述公式(1)和公式(2)中都使用各通道系数参数和各通道指数参数进行平均电流强度的计算,本实施例通过如下方式对涉及到的参数进行计算。In some embodiments, the average current intensity is calculated using the coefficient parameters and index parameters of each channel in both formulas (1) and (2). In this embodiment, the parameters involved are calculated in the following manner.
本实施例中的补偿参数包括各通道系数参数;所述各通道系数参数是根据第一测试图像中各通道灰阶图像的预设区域对应的负载,以及预设区域占各通道灰阶图像的显示区域的比例确定的;所述预设区域对应的负载是根据纯白图像的亮度和负载的第二线性关系确定的;The compensation parameters in this embodiment include channel coefficient parameters; the channel coefficient parameters are determined based on the load corresponding to the preset area of the grayscale image of each channel in the first test image, and the proportion of the preset area to the display area of the grayscale image of each channel; the load corresponding to the preset area is determined based on the second linear relationship between the brightness of the pure white image and the load.
所述第一测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像。 The first test image includes grayscale images of each channel, and each grayscale image includes a preset region and a non-preset region. The preset region is a pure white image, and the non-preset region is a non-pure white image.
实施中,通过如下方式确定所述系数参数:In practice, the coefficient parameters are determined as follows:
1)确定纯白图像的亮度和负载的第二线性关系;确定第一测试图像,所述第一测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像;根据所述第二线性关系,确定第一测试图像中各通道灰阶图像的预设区域的亮度对应的负载;1) Determine the second linear relationship between the brightness and load of a pure white image; determine a first test image, the first test image including grayscale images of each channel, each grayscale image including a preset region and a non-preset region, the preset region being a pure white image, and the non-preset region being a non-pure white image; according to the second linear relationship, determine the load corresponding to the brightness of the preset region of each channel grayscale image in the first test image;
可选的,本实施例中的纯白图像包括但不限于白色图像,且纯白图像的灰阶值为255。需要说明的是,本实施例中的纯白图像的亮度和电流强度呈线性关系,当存在其他颜色图像的亮度和电流强度也呈线性关系时,本实施例也可以利用其它纯色图像作为第一测试图像中的预设区域。Optionally, the pure white image in this embodiment includes, but is not limited to, a white image, and the grayscale value of the pure white image is 255. It should be noted that the brightness and current intensity of the pure white image in this embodiment are linearly related. When the brightness and current intensity of other color images are also linearly related, this embodiment can also use other pure color images as the preset area in the first test image.
可选的,第一测试图像的预设区域为纯白色且灰阶值为255。预设区域占各通道灰阶图像的显示区域的比例相同,第一测试图像中各通道灰阶图像除预设区域以外的非预设区域(背景区域)的灰阶相同,背景区域的灰阶为255。可选的,本实施例中的第一测试图像的预设区域和背景区域的灰阶相同。Optionally, the preset area of the first test image is pure white with a grayscale value of 255. The preset area occupies the same proportion of the display area of each channel's grayscale image. The grayscale values of the non-preset areas (background areas) of each channel's grayscale image in the first test image are the same, except for the preset area, and the grayscale value of the background area is 255. Optionally, in this embodiment, the preset area and the background area of the first test image have the same grayscale value.
2)根据第一测试图像中各通道灰阶图像的预设区域对应的负载,以及预设区域占各通道灰阶图像的显示区域的比例,确定各通道系数参数。2) Determine the coefficient parameters of each channel based on the load corresponding to the preset area of the grayscale image of each channel in the first test image, and the proportion of the preset area to the display area of the grayscale image of each channel.
其中,各通道对应的系数参数的和为1。The sum of the coefficient parameters corresponding to each channel is 1.
为了获得平均电流强度的参数值,本实施例设计了如下的参数测量方法:To obtain the parameter value of the average current intensity, this embodiment designs the following parameter measurement method:
2a)使用灰阶值为255的纯白图像,检测该纯白图像的亮度和平均电流强度的对应关系,拟合得到第二线性关系:lv=a×is+b;其中,a,b为拟合得到的已知参数,is表示平均电流强度,可以将当前平均电流强度或目标平均电流强度代入第二线性关系得到对应的亮度,lv表示像素单位各通道灰阶对应的亮度。2a) Using a pure white image with a grayscale value of 255, detect the correspondence between the brightness and the average current intensity of the pure white image, and fit the second linear relationship: lv=a×is+b; where a and b are known parameters obtained from the fitting, is represents the average current intensity, and the current average current intensity or the target average current intensity can be substituted into the second linear relationship to obtain the corresponding brightness, and lv represents the brightness corresponding to each channel grayscale unit.
如图4所示,本实施例提供一种纯白图像的亮度和电流强度的第二线性关系的示意图,其中横坐标表示平均电流强度,纵坐标表示亮度,亮度随电流强度的增加而线性下降,由于负载和电流强度呈正比,因此,亮度也随负载的增加而线性下降。 As shown in Figure 4, this embodiment provides a schematic diagram of the second linear relationship between the brightness of a pure white image and the current intensity. The horizontal axis represents the average current intensity, and the vertical axis represents the brightness. The brightness decreases linearly with the increase of the current intensity. Since the load and the current intensity are proportional, the brightness also decreases linearly with the increase of the load.
2b)如图5所示,本实施例提供一种第一测试图像各通道灰阶图像的示意图,从左到右分别为R通道灰阶图像、G通道灰阶图像、B通道灰阶图像。其中,各通道灰阶图像中预设区域为纯白色区域且灰阶为255。预设区域占第一测试图像的显示区域的比例为p。在OLED屏幕上分别显示各通道灰阶图像,然后使用光学采集仪采集预设区域中心的亮度,分别记录为R通道子像素的亮度lvR,G通道子像素的亮度lvG,B通道子像素的亮度lvB,然后将各通道灰阶图像的预设区域的亮度代入第二线性关系式lv=a×is+b,得到对应的电流强度分别记录为R通道子像素的平均电流强度isr、G通道子像素的平均电流强度isg、B通道子像素的平均电流强度isb。2b) As shown in Figure 5, this embodiment provides a schematic diagram of the grayscale images of each channel of the first test image, from left to right: the grayscale image of the R channel, the grayscale image of the G channel, and the grayscale image of the B channel. In each channel's grayscale image, a preset area is a pure white area with a grayscale value of 255. The preset area occupies p of the display area of the first test image. The grayscale images of each channel are displayed on the OLED screen, and then an optical acquisition device is used to collect the brightness of the center of the preset area, recording it as the brightness of the R channel sub-pixel lvR, the brightness of the G channel sub-pixel lvG, and the brightness of the B channel sub-pixel lvB. Then, the brightness of the preset area of each channel's grayscale image is substituted into the second linear relationship lv = a × is + b to obtain the corresponding current intensities, which are recorded as the average current intensity is r of the R channel sub-pixel, the average current intensity is g of the G channel sub-pixel, and the average current intensity is b of the B channel sub-pixel.
(3)通过如下公式确定各通道对应的系数参数;
(3) Determine the coefficient parameters corresponding to each channel using the following formula;
公式(3)中,CW0、CW1和CW2分别表示通道R、通道G和通道B各自的系数参数,p表示预设区域占第一测试图像的显示区域的比例,isr、isg、isb分别表示通道R、通道G和通道B各自的电流强度(在计算时使用平均电流强度)。In formula (3), CW0 , CW1 and CW2 represent the coefficient parameters of channels R, G and B respectively, p represents the proportion of the preset area to the display area of the first test image, and is r , is g and is b represent the current intensity of channels R, G and B respectively (the average current intensity is used in the calculation).
在一些实施例中,本实施例中的补偿参数包括各通道指数参数;所述各通道指数参数是基于负载随灰阶的变化呈指数变化的规律,根据各通道灰阶图像中非预设区域的灰阶值对应的负载确定的;所述非预设区域的灰阶值对应的负载是根据纯白图像的亮度和负载的第二线性关系,以及通过改变第二测试图像中各通道灰阶图像中非预设区域的灰阶值,得到的各通道灰阶图像中非预设区域的灰阶值和预设区域亮度的对应关系确定的;所述第二测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像。In some embodiments, the compensation parameters in this embodiment include channel exponential parameters; the channel exponential parameters are determined based on the law that the load changes exponentially with the grayscale, according to the load corresponding to the grayscale value of the non-preset area in the grayscale image of each channel; the load corresponding to the grayscale value of the non-preset area is determined based on the second linear relationship between the brightness of the pure white image and the load, and by changing the grayscale value of the non-preset area in the grayscale image of each channel in the second test image, the correspondence between the grayscale value of the non-preset area in the grayscale image of each channel and the brightness of the preset area is obtained; the second test image includes grayscale images of each channel, each grayscale image of each channel includes a preset area and a non-preset area, the preset area is a pure white image, and the non-preset area is a non-pure white image.
通过如下步骤确定所述指数参数:The exponential parameter is determined by the following steps:
步骤1)确定纯白图像的亮度和负载的第二线性关系;确定第二测试图像, 所述第二测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像;改变第二测试图像中各通道灰阶图像中非预设区域的灰阶值,确定各通道灰阶图像中非预设区域的灰阶值和预设区域亮度的对应关系;Step 1) Determine the second linear relationship between brightness and load in the pure white image; determine the second test image. The second test image includes grayscale images of each channel, and each channel grayscale image includes a preset area and a non-preset area. The preset area is a pure white image, and the non-preset area is a non-pure white image. The grayscale values of the non-preset areas in the grayscale images of each channel in the second test image are changed to determine the correspondence between the grayscale values of the non-preset areas in the grayscale images of each channel and the brightness of the preset areas.
可选的,本实施例中的第二测试图像设计为包括预设区域的图像,其中预设区域为纯白图像,为保证测试的统一性,设计第二测试图像的预设区域和第一测试图像的预设区域相同,例如预设区域都是纯白色且灰阶值为255,且第一测试图像和第二测试图像的预设区域的大小、位置都相同。预设区域占第二测试图像的显示区域的比例,和预设区域占第一测试图像的显示区域的比例相同。Optionally, in this embodiment, the second test image is designed to include a preset area, wherein the preset area is a pure white image. To ensure the uniformity of the test, the preset area of the second test image is designed to be the same as the preset area of the first test image. For example, the preset area is pure white with a grayscale value of 255, and the size and position of the preset areas of the first and second test images are the same. The proportion of the preset area to the display area of the second test image is the same as the proportion of the preset area to the display area of the first test image.
步骤2)根据所述第二线性关系,以及各通道灰阶图像中非预设区域的灰阶值和预设区域亮度的对应关系,确定各通道灰阶图像中非预设区域的灰阶值对应的负载;Step 2) Based on the second linear relationship and the correspondence between the grayscale values of non-preset areas and the brightness of preset areas in each channel grayscale image, determine the load corresponding to the grayscale values of non-preset areas in each channel grayscale image.
实施中,为了计算每个通道的指数参数,如图6所示,本实施例提供了一种第二测试图像的示意图,从上到下分别是R通道灰阶图像组、G通道灰阶图像组和B通道灰阶图像组,每个通道灰阶图像组包括灰阶不同的灰阶图像。其中,每个通道灰阶图像中的预设区域为纯白色且灰阶为255,预设区域占第二测试图像的显示区域的比例为p,改变第二测试图像的RGB三通道除预设区域以外的背景区域(非预设区域)的灰阶值k(k的取值为0.1、0.2、0.3、….、1),然后测试白色区域中心亮度,代入纯色图像的亮度和电流强度的第二线性关系公式lv=a×is+b,得到RGB三通道在不同灰阶k下的平均电流强度 In practice, to calculate the exponential parameters of each channel, as shown in Figure 6, this embodiment provides a schematic diagram of a second test image. From top to bottom, these are the R-channel grayscale image group, the G-channel grayscale image group, and the B-channel grayscale image group. Each channel grayscale image group includes grayscale images with different grayscale levels. The preset area in each channel grayscale image is pure white with a grayscale level of 255. The proportion of the preset area to the display area of the second test image is p. The grayscale value k (where k takes values of 0.1, 0.2, 0.3, ..., 1) of the background area (non-preset area) of the RGB three channels of the second test image is changed. Then, the brightness of the center of the white area is tested. Substituting this into the second linear relationship formula between the brightness of the pure color image and the current intensity lv = a × is + b, the average current intensity of the RGB three channels at different grayscale levels k is obtained.
步骤3)基于负载随灰阶的变化呈指数变化的规律,根据各通道灰阶图像中非预设区域的灰阶值对应的负载,确定各通道指数参数。Step 3) Based on the exponential change of load with grayscale, determine the exponential parameters of each channel according to the load corresponding to the grayscale values of non-preset areas in the grayscale images of each channel.
实施中,第二测试图像中像素单位各通道灰阶对应的电流强度随灰阶的变化呈指数变化,基于此,本实施例中的处理器具体被配置为通过如下步骤确定各通道对应的指数参数: In practice, the current intensity corresponding to each channel grayscale in the second test image changes exponentially with the grayscale. Based on this, the processor in this embodiment is specifically configured to determine the exponential parameters corresponding to each channel through the following steps:
3a)根据像素单位各通道灰阶对应的电流强度,以及像素单位各通道对应的预设区域占第二测试图像的显示区域的比例,拟合得到像素单位各通道灰阶和电流强度的关系曲线;3a) Based on the current intensity corresponding to the gray level of each channel of the pixel unit and the proportion of the preset area corresponding to each channel of the pixel unit to the display area of the second test image, the relationship curve between the gray level of each channel of the pixel unit and the current intensity is obtained by fitting.
可选的,像素单位各通道灰阶对应的电流强度包括平均电流强度。Optionally, the current intensity corresponding to each channel grayscale of a pixel unit includes the average current intensity.
可选的,各通道灰阶图像对应的预设区域的大小和位置相同,且各通道灰阶图像对应的预设区域占第二测试图像的显示区域的比例是相同的。Optionally, the size and position of the preset area corresponding to each channel grayscale image are the same, and the proportion of the preset area corresponding to each channel grayscale image to the display area of the second test image is the same.
3b)根据像素单位各通道灰阶和电流强度的关系曲线中电流强度随像素单位各通道灰阶的变化规律,确定各通道对应的指数参数。3b) Based on the relationship curve between grayscale and current intensity of each channel in a pixel unit, determine the exponential parameters corresponding to each channel.
可选的,电流强度包括平均电流强度。Optionally, the current intensity includes the average current intensity.
实施中,得到第二测试图像的像素单位各通道灰阶对应的电流强度后,通过曲线拟合指数参数和各通道灰阶对应的电流强度,可以得到指数参数的具体值。如下公式所示:
In practice, after obtaining the current intensity corresponding to each channel grayscale of the second test image, the specific value of the exponent parameter can be obtained by curve fitting the exponent parameter and the current intensity corresponding to each channel grayscale. The formula is as follows:
公式(4)中,k表示灰阶值,p表示预设区域占第二测试图像的显示区域的比例,CW0、CW1和CW2分别表示通道R、通道G和通道B各自的系数参数;分别表示R通道、G通道和B通道在灰阶k下的平均电流强度;γ0、γ1、γ2分别表示R通道、G通道和B通道各自的指数参数。In formula (4), k represents the grayscale value, p represents the proportion of the preset area to the display area of the second test image, and CW0 , CW1 and CW2 represent the coefficient parameters of channel R, channel G and channel B respectively. γ <sub>0 </sub>, γ<sub> 1 </sub>, and γ<sub> 2 </sub> represent the average current intensity of channels R, G, and B at gray level k, respectively; γ<sub>0</sub>, γ<sub>1</sub>, and γ<sub>2</sub> represent the exponential parameters of channels R, G, and B, respectively.
基于此,对于任意输入到显示屏的图像,都可以通过上述公式(1)和公式(2)计算得到输入图像中像素单位对应的当前平均电流强度和目标平均电流强度。Based on this, for any image input to the display screen, the current average current intensity and target average current intensity corresponding to the pixel unit in the input image can be calculated using the above formulas (1) and (2).
步骤b2、根据不同灰阶下的亮度和负载的第一线性关系,通过线性插值的方式,确定所述像素单位各通道灰阶在输入负载下的当前亮度,以及最大负载下的目标亮度;Step b2: Based on the first linear relationship between brightness and load at different gray levels, determine the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load by using linear interpolation.
实施中,计算出当前图像的各通道对应的当前平均电流强度和目标平均电流强度之后,基于亮度和电流强度的第一线性关系,通过线性插值的方式, 确定当前平均电流强度对应的当前亮度(针对单个通道子像素而言),以及目标平均电流强度对应的目标亮度(针对单个通道子像素而言)。In practice, after calculating the current average current intensity and target average current intensity for each channel of the current image, based on the first linear relationship between brightness and current intensity, linear interpolation is used. Determine the current brightness (for a single channel sub-pixel) corresponding to the current average current intensity, and the target brightness (for a single channel sub-pixel) corresponding to the target average current intensity.
可选的,所述第一线性关系是根据所述像素单位各通道灰阶对应的最大亮度、最小亮度、最大负载和最小负载构建得到的;所述最大亮度是根据最大负载下灰阶和亮度的关系曲线确定的,所述最小亮度是根据最小负载下灰阶和亮度的关系曲线确定的。Optionally, the first linear relationship is constructed based on the maximum brightness, minimum brightness, maximum load, and minimum load corresponding to the gray levels of each channel of the pixel unit; the maximum brightness is determined based on the relationship curve between gray level and brightness under maximum load, and the minimum brightness is determined based on the relationship curve between gray level and brightness under minimum load.
如图7所示,本实施例提供一种第一线性关系的示意图,根据各通道灰阶对应的最大亮度和最小亮度,最大亮度对应的最小平均电流强度,最小亮度对应的最大平均电流强度,构建各通道对应的亮度和平均电流强度的第一线性关系。As shown in Figure 7, this embodiment provides a schematic diagram of a first linear relationship. Based on the maximum and minimum brightness corresponding to the grayscale of each channel, the minimum average current intensity corresponding to the maximum brightness, and the maximum average current intensity corresponding to the minimum brightness, a first linear relationship between the brightness and average current intensity of each channel is constructed.
实施中,对于任意输入图像的RGB灰阶(k0,k1,k2),输入图像的像素单位各通道灰阶对应的平均电流强度表示为is,且该灰阶对应的实际亮度介于最小亮度和最大亮度之间,并与平均电流强度成线性关系,因此可以通过线性插值的方式,建立一个实际亮度与平均电流强度is、最小亮度最大亮度之间的关系式,推导计算出像素单位各通道的每个灰阶kc对应的当前亮度,具体如下公式所示:
In practice, for any RGB grayscale ( k0 , k1 , k2 ) of an input image, the average current intensity corresponding to each channel grayscale per pixel of the input image is denoted as is, and the actual brightness corresponding to this grayscale is between the minimum brightness. and maximum brightness The relationship between the actual brightness and the average current intensity is linearly related to the minimum brightness. Therefore, a relationship between the actual brightness and the average current intensity is and the minimum brightness can be established through linear interpolation. Maximum brightness Based on the relationship between the values, the current brightness corresponding to each gray level kc of each channel in each pixel unit is derived and calculated, as shown in the following formula:
公式(5)中,表示通道c的当前亮度,k表示灰阶,c表示通道,is表示当前平均电流强度,表示通道c在灰阶k下的最小亮度,表示通道c在灰阶k下的最大亮度。In formula (5), This represents the current brightness of channel c, k represents the grayscale, c represents the channel, and is represents the current average current intensity. This represents the minimum brightness of channel c at grayscale k. This represents the maximum brightness of channel c at grayscale k.
同理,确定目标平均电流强度is’之后,目标亮度即可根据如下公式确定:
Similarly, after determining the target average current intensity is', the target brightness... It can be determined using the following formula:
公式(6)中,表示通道c的目标亮度,k表示灰阶,c表示通道,is′表示目标平均电流强度,表示通道c在灰阶k下的最小亮度,表示通道c在灰阶k下的最大亮度。In formula (6), Let k represent the target brightness of channel c, k represent the grayscale, c represent the channel, and is′ represent the target average current intensity. This represents the minimum brightness of channel c at grayscale k. This represents the maximum brightness of channel c at grayscale k.
在一些实施例中,本实施例处理器具体被配置为通过如下方式确定各通 道对应的亮度和电流强度的第一线性关系:In some embodiments, the processor of this embodiment is specifically configured to determine each channel in the following manner. The first linear relationship between brightness and current intensity corresponding to the channel:
a)根据最大负载下灰阶和亮度的关系曲线,确定最大负载下所述像素单位各通道灰阶对应的最大亮度;以及根据最小负载下灰阶和亮度的关系曲线,确定最小负载下所述像素单位各通道灰阶对应的最小亮度;a) Based on the relationship curve between grayscale and brightness under maximum load, determine the maximum brightness corresponding to each channel grayscale of the pixel unit under maximum load; and based on the relationship curve between grayscale and brightness under minimum load, determine the minimum brightness corresponding to each channel grayscale of the pixel unit under minimum load.
可选的,本实施例中的最大负载可以通过最大电流强度表示,最小负载可以通过最小电流强度表示。为便于说明,令最大负载下灰阶和亮度的关系曲线命名为第一关系曲线,令最小负载下灰阶和亮度的关系曲线命名为第二关系曲线。需要说明的是,第一关系曲线表示的是最大电流强度下的各通道灰阶和最小亮度的关系曲线;第二关系曲线表示的是最小电流强度下的各通道灰阶和最大亮度的关系曲线。Optionally, in this embodiment, the maximum load can be represented by the maximum current intensity, and the minimum load can be represented by the minimum current intensity. For ease of explanation, the relationship curve between grayscale and brightness under the maximum load is named the first relationship curve, and the relationship curve between grayscale and brightness under the minimum load is named the second relationship curve. It should be noted that the first relationship curve represents the relationship curve between grayscale and minimum brightness of each channel under the maximum current intensity; the second relationship curve represents the relationship curve between grayscale and maximum brightness of each channel under the minimum current intensity.
实施中,根据第一关系曲线确定当前图像的各通道灰阶对应的最小亮度;根据第二关系曲线确定当前图像的各通道灰阶对应的最大亮度。基于不同电流强度下的灰阶和亮度的关系曲线,可以确定最大电流强度下各通道灰阶对应的最小亮度,以及确定最小电流强度下各通道灰阶对应的最大亮度。In implementation, the minimum brightness corresponding to each channel grayscale of the current image is determined according to the first relationship curve; the maximum brightness corresponding to each channel grayscale of the current image is determined according to the second relationship curve. Based on the relationship curves between grayscale and brightness under different current intensities, the minimum brightness corresponding to each channel grayscale under the maximum current intensity, and the maximum brightness corresponding to each channel grayscale under the minimum current intensity, can be determined.
在一些实施例中,本实施例处理器具体被配置为通过如下方式确定最大负载或最小负载下灰阶和亮度的关系曲线:In some embodiments, the processor of this embodiment is specifically configured to determine the relationship curve between grayscale and brightness under maximum or minimum load in the following manner:
a1)确定第三测试图像,所述第三测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域;通过设置第三测试图像中非预设区域为白色,改变各通道灰阶图像中预设区域的大小和灰阶,以及设置第三测试图像中非预设区域为黑色,改变各通道灰阶图像中预设区域的大小和灰阶,确定各通道对应的负载、灰阶和亮度的关系;a1) Determine the third test image, which includes grayscale images of each channel, and each channel grayscale image includes a preset area and a non-preset area; by setting the non-preset area in the third test image to white, changing the size and grayscale of the preset area in each channel grayscale image, and by setting the non-preset area in the third test image to black, changing the size and grayscale of the preset area in each channel grayscale image, determine the relationship between the load, grayscale and brightness of each channel;
可选的,预设区域和背景区域的颜色不同,预设区域的灰阶从0.1~1进行变化,例如预设区域的灰阶变化为:0.1、0.2、0.3、0.4、0.5、0.6、0.7、0.8、0.9、1。此处灰阶变化仅为一种示例,本实施例对此不作过多限定。背景区域的颜色包括白色和黑色。Optionally, the preset area and the background area have different colors. The grayscale of the preset area varies from 0.1 to 1, for example, the grayscale of the preset area varies as follows: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1. This grayscale variation is only an example, and this embodiment does not impose excessive limitations on it. The background area includes white and black colors.
在一些示例中,可以先固定背景区域的颜色不变,通过改变预设区域的大小和灰阶的方式,测量预设区域的亮度和平均电流强度,从而得到每个通 道的平均电流强度、灰阶和亮度的关系,然后改变背景区域的颜色,并保持固定不变,继续通过改变预设区域的大小和灰阶的方式,测量预设区域的亮度和平均电流强度,从而得到每个通道的平均电流强度、灰阶和亮度的关系。In some examples, the background color can be kept constant initially, and the brightness and average current intensity of the preset area can be measured by changing the size and grayscale of the preset area, thereby obtaining the value of each pass. The relationship between the average current intensity, grayscale, and brightness of each channel is obtained by changing the color of the background area and keeping it constant, and then measuring the brightness and average current intensity of the preset area by changing the size and grayscale of the preset area.
实施中,由于需要实现屏幕的亮度均匀性,因此需要对任意的RGB输入,都要找到它当前的实际亮度,以及想要达到的目标亮度,然后调整输入的灰阶值,实现压降补偿。In practice, to achieve uniform brightness on the screen, it is necessary to find the current actual brightness and the target brightness to be achieved for any RGB input, and then adjust the grayscale value of the input to achieve voltage drop compensation.
a2)根据各通道对应的负载、灰阶和亮度的关系,拟合得到在最大负载或最小负载下各通道对应的灰阶和亮度的关系曲线。a2) Based on the relationship between load, grayscale and brightness of each channel, fit the curves of grayscale and brightness of each channel under the maximum or minimum load.
实施中,为了获得电流强度、灰阶和亮度的关系,如图8所示,本实施例提供一种第三测试图像的示意图,第三测试图像包括R通道灰阶图像组、G通道灰阶图像组和B通道灰阶图像组,其中,第三测试图像包括预设区域和除预设区域以外的背景区域,每个通道灰阶图像组的背景区域的颜色包括白色或黑色,通过改变预设区域的大小、预设区域的灰阶,得到灰阶、电流强度和亮度的关系。例如,固定背景区域为白色,调节包含同样大小预设区域的第三测试图像各通道灰阶图像中预设区域的灰阶值,得到各通道的一组灰阶图像,其中,在白色背景下,可以调节预设区域按照从小到大的顺序变化;在黑色背景下,可以调节预设区域按照从大到小的顺序变化。In practice, to obtain the relationship between current intensity, grayscale, and brightness, as shown in Figure 8, this embodiment provides a schematic diagram of a third test image. The third test image includes an R-channel grayscale image group, a G-channel grayscale image group, and a B-channel grayscale image group. The third test image includes a preset area and a background area other than the preset area. The background area of each channel's grayscale image group is either white or black. By changing the size and grayscale of the preset area, the relationship between grayscale, current intensity, and brightness is obtained. For example, by fixing the background area to white, adjusting the grayscale values of the preset areas in each channel's grayscale image of the third test image, which contains preset areas of the same size, a set of grayscale images for each channel is obtained. Against a white background, the preset areas can be adjusted to change in ascending order; against a black background, the preset areas can be adjusted to change in descending order.
通过本实施例中的第三测试图像,遍历RGB三通道的灰阶,通过改变灰阶所占屏幕的面积以及背景颜色的改变,分别测量灰阶所在预设区域中心的亮度值,得到RGB三通道各自的电流强度-灰阶-亮度关系。通过拟合每个灰阶的电流强度与亮度关系,可以得到每个灰阶在最大平均电流强度(is=1)下的亮度其中k表示灰阶,c表示通道。也可以得到每个灰阶在最小平均电流强度(is=0)下的亮度 Using the third test image in this embodiment, the grayscale levels of the RGB three channels are traversed. By changing the area of the grayscale level on the screen and the background color, the brightness value at the center of the preset area where the grayscale level is located is measured, thus obtaining the current intensity-grayscale-brightness relationship for each of the RGB three channels. By fitting the current intensity and brightness relationship of each grayscale level, the brightness of each grayscale level at the maximum average current intensity (is = 1) can be obtained. Where k represents the gray level and c represents the channel. The brightness of each gray level at the minimum average current intensity (is = 0) can also be obtained.
实施中,灰阶和亮度呈非线性关系,亮度随灰阶的变化呈指数规律变化,通过指数拟合得到最大电流强度下各通道灰阶k与最小亮度的第一关系曲线,如图9所示,本实施例还提供一种各通道灰阶和最小亮度的第一关系曲线的示意图,拟合得到的灰阶与最小亮度的第一关系曲线 其中k表示灰阶,表示通道c在灰阶k下的最小亮度,此时根据不同灰阶和最小亮度的关系曲线,得到第一关系曲线中的指数幂同理,通过指数拟合得到最小电流强度下各通道灰阶k与最大亮度的第二关系曲线,即拟合得到灰阶与亮度的第二关系曲线其中k表示灰阶,表示通道c在灰阶k下的最大亮度,此时根据不同灰阶和最大亮度的关系曲线,得到第二关系曲线中的指数幂 During implementation, grayscale and brightness exhibit a non-linear relationship, with brightness changing exponentially with grayscale. Exponential fitting was used to obtain the grayscale k and minimum brightness for each channel under maximum current intensity. The first relationship curve is shown in Figure 9. This embodiment also provides a schematic diagram of the first relationship curve between gray levels and minimum brightness for each channel. The fitted first relationship curve between gray levels and minimum brightness is shown in Figure 9. Where k represents the gray level. This represents the minimum brightness of channel c at gray level k. Based on the relationship curves between different gray levels and minimum brightness, the exponent in the first relationship curve is obtained. Similarly, the grayscale k and maximum brightness of each channel under minimum current intensity can be obtained through exponential fitting. The second relationship curve, i.e., the second relationship curve between grayscale and brightness obtained by fitting. Where k represents the gray level. This represents the maximum brightness of channel c at grayscale k. Based on the relationship curves between different grayscale levels and maximum brightness, the exponent in the second relationship curve is obtained.
需要说明的是,图像拍摄时,是将外部环境的亮度数据进行采样存储,但是亮度数据量太大,硬件资源有限,有限的数据量要表示自然界那么多的亮度范围,所以要用更多的信息表示人眼敏感的暗部区域,更少的数据量表示不敏感的明部范围;将亮度数据按照一定的规则映射为灰阶值,可以对数据量进行压缩,且保留更多的暗部细节,牺牲一部分明部细节,完成亮度数据到灰阶数据的转换,这个过程就叫做反向Gamma。当需要将图片显示在显示屏上时,显示屏将存储在硬件中的硬件进行正向Gamma变换,将灰阶值转化为亮度值显示在屏幕上,形成图案,还原在图像拍摄时看到的亮度,当然这个亮度是有精度损失的,但是对于人眼来说视觉特性是无损的。因此本实施例基于灰阶和亮度的关系曲线得到指数幂和 It should be noted that during image capture, the brightness data of the external environment is sampled and stored. However, the amount of brightness data is too large, and hardware resources are limited. To represent the vast range of brightness in nature with limited data, more information is needed to represent the dark areas that the human eye is sensitive to, and less data is needed to represent the less sensitive bright areas. Mapping the brightness data to grayscale values according to certain rules can compress the data volume while retaining more detail in the dark areas and sacrificing some detail in the bright areas. This conversion from brightness data to grayscale data is called inverse Gamma. When the image needs to be displayed on the screen, the display performs a forward Gamma transformation on the hardware, converting the grayscale values into brightness values and displaying them on the screen to form a pattern, restoring the brightness seen when the image was captured. While there is a loss of precision in this brightness transformation, the visual characteristics are lossless for the human eye. Therefore, this embodiment derives an exponential function based on the relationship curve between grayscale and brightness. and
至此对于任意一个输入的RGB图像,基于最大电流强度下各通道灰阶和亮度的第一关系曲线,以及最小电流强度下各通道灰阶和亮度的第二关系曲线,都能计算得到输入图像的各通道灰阶对应的最大亮度和最小亮度
Thus, for any input RGB image, based on the first relationship curve between grayscale and brightness of each channel under maximum current intensity, and the second relationship curve between grayscale and brightness of each channel under minimum current intensity, the maximum brightness corresponding to each channel grayscale of the input image can be calculated. and minimum brightness
b)根据所述像素单位各通道灰阶对应的最大亮度、最小亮度、最大负载和最小负载,构建不同灰阶下的亮度和负载的第一线性关系。b) Based on the maximum brightness, minimum brightness, maximum load, and minimum load corresponding to each channel gray level of the pixel unit, construct the first linear relationship between brightness and load under different gray levels.
实施中,为便于计算进行归一化处理,将最大亮度下的最小平均电流强度置为0,最小亮度下的最大平均电流强度置为1。In practice, normalization is performed to facilitate calculations, setting the minimum average current intensity at maximum brightness to 0 and the maximum average current intensity at minimum brightness to 1.
步骤b3、基于亮度和灰阶的非线性关系,根据所述像素单位各通道灰阶 对应的当前亮度和目标亮度,确定所述像素单位各通道灰阶的补偿系数。Step b3: Based on the non-linear relationship between brightness and grayscale, determine the grayscale of each channel of the pixel unit. Based on the current brightness and the target brightness, determine the compensation coefficients for the grayscale of each channel of the pixel unit.
在一些实施例中,本实施例处理器具体被配置为通过如下方式确定各通道灰阶的补偿系数:In some embodiments, the processor of this embodiment is specifically configured to determine the compensation coefficients for each channel grayscale level in the following manner:
根据所述像素单位各通道灰阶对应的当前亮度和目标亮度的比值,确定各通道灰阶的补偿系数,其中补偿系数随所述比值的变化呈指数规律变化。The compensation coefficient for each channel grayscale is determined based on the ratio of the current brightness to the target brightness corresponding to each channel grayscale of the pixel unit, wherein the compensation coefficient changes exponentially with the change of the ratio.
实施中,RGB三通道各自的亮度都是由各自通道的灰阶发出的,且亮度与灰阶之间存在非线性的指数gamma关系,因此要对输入的像素单位各通道灰阶(k0,k1,k2)对应的当前亮度进行调整,得到目标亮度,可以根据亮度的比值对灰阶进行调整。具体通过如下公式确定补偿系数:
In implementation, the brightness of each of the RGB three channels is emitted by its respective grayscale, and there is a non-linear exponential gamma relationship between brightness and grayscale. Therefore, the current brightness corresponding to each channel grayscale ( k0 , k1 , k2 ) of the input pixel unit needs to be adjusted to obtain the target brightness. The grayscale can be adjusted according to the ratio of brightness. Specifically, the compensation coefficient is determined by the following formula:
公式(7)中,表示像素单位通道c的当前亮度,表示像素单位通道c的目标亮度,kc表示当前图像像素单位的灰阶值,k′c表示调整后像素单位的灰阶值,为像素单位通道c的补偿系数,其中,is表示像素单位当前平均电流强度,is′表示像素单位的目标平均电流强度,表示灰阶k对应的最小亮度,表示灰阶k对应的最大亮度。gammac是介于和之间的一个值,可根据is进行线性插值, In formula (7), This represents the current brightness of channel c per pixel. k<sub>c</sub> represents the target brightness per pixel unit channel c, k<sub>c</sub> represents the grayscale value per pixel unit of the current image, and k′<sub>c</sub> represents the adjusted grayscale value per pixel unit. Here, is represents the compensation coefficient for channel c per pixel, where is represents the current average current intensity per pixel, and is′ represents the target average current intensity per pixel. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k. gamma c is between... and A value between these two values can be linearly interpolated based on is.
步骤c、利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;Step c: Adjust the compensation coefficients of the grayscale of each channel of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
在一些实施例中,本实施例中的亮度参数包括第一亮度校正参数;所述第一亮度校正参数是根据不同最高亮度下白色图像的最高亮度的线性变化规律确定的;所述白色图像的最高亮度的线性变化规律是基于显示屏能够显示的最高亮度下白色图像的最高亮度和补偿系数的线性关系确定的。In some embodiments, the brightness parameter in this embodiment includes a first brightness correction parameter; the first brightness correction parameter is determined based on the linear variation law of the highest brightness of the white image under different maximum brightness levels; the linear variation law of the highest brightness of the white image is determined based on the linear relationship between the highest brightness of the white image under the highest brightness that the display screen can display and the compensation coefficient.
通过如下方式确定第一亮度校正参数:The first brightness correction parameter is determined as follows:
基于不同DBV下纯色图像的最高亮度和补偿系数的线性关系,确定不同DBV下纯色图像的最高亮度的线性变化规律;根据不同DBV下纯色图像的 最高亮度的线性变化规律,确定所述显示屏对应的DBV下的第一亮度校正参数。Based on the linear relationship between the maximum brightness and compensation coefficient of solid color images under different DBVs, the linear variation law of the maximum brightness of solid color images under different DBVs is determined; according to the solid color images under different DBVs... The linear variation law of the highest brightness is used to determine the first brightness correction parameter under the DBV corresponding to the display screen.
可选的,本实施例中的纯色图像包括但不限于纯白色图像且灰阶为255,若存在其他颜色图像的最高亮度和补偿系数也呈线性关系,则本实施例中的纯色图像还包括该其他颜色图像。Optionally, the solid color image in this embodiment includes, but is not limited to, a pure white image with a grayscale of 255. If there are other color images whose maximum brightness and compensation coefficient are also linearly related, then the solid color image in this embodiment also includes the other color image.
实施中,带宽高亮DBV是实现屏幕最高亮度调整的一个阀门,通过调整DBV的值实现OLED屏幕的最大亮度设置。因此DBV是一个可变的参数。由于要实现电压压降补偿算法对不同DBV的自适应,本发明实施例对不同DBV下的补偿系数进行实验总结,发现在不同DBV下的补偿系数,与DBV下的纯白色图像的最高亮度之间存在线性关系,如图10所示,本实施例提供一种补偿系数和最高亮度的线性关系的示意图,包括R通道灰阶图像、G通道灰阶图像、B通道灰阶图像和C1灰阶图像,其中C1灰阶图像R通道、G通道和B通道的灰阶值分别为115、82和68。其中,该四种图像模式对应的不同DBV下的最高亮度和各通道灰阶的对应关系如下表所示:In implementation, the bandwidth high brightness (DBV) acts as a valve to adjust the maximum brightness of the screen. The maximum brightness setting of the OLED screen is achieved by adjusting the DBV value. Therefore, DBV is a variable parameter. To achieve the voltage drop compensation algorithm's adaptability to different DBV values, this embodiment of the invention experimentally summarizes the compensation coefficients under different DBV values. It was found that there is a linear relationship between the compensation coefficients under different DBV values and the maximum brightness of the pure white image under those DBV values, as shown in Figure 10. This embodiment provides a schematic diagram of the linear relationship between the compensation coefficient and the maximum brightness, including an R-channel grayscale image, a G-channel grayscale image, a B-channel grayscale image, and a C1 grayscale image. The grayscale values of the R-channel, G-channel, and B-channel of the C1 grayscale image are 115, 82, and 68, respectively. The corresponding relationships between the maximum brightness and the grayscale values of each channel under different DBV values for these four image modes are shown in the following table:
表1不同DBV下补偿系数和最高亮度的映射表
Table 1. Mapping table of compensation coefficients and maximum brightness under different DBVs.
任意选取上述四种图像模式,经过计算得到它们在不同DBV下的补偿系数,并记录不同DBV下全屏纯白色255灰阶对应的亮度值,拟合得到补偿系数随亮度变化而变化的规律,基于规律得到本实施例中的补偿系数与白色亮 度值近似呈线性关系,不同图像模式的补偿系数与白色亮度之间的线性关系差别很大。By arbitrarily selecting the four image modes mentioned above, their compensation coefficients under different DBVs were calculated, and the brightness values corresponding to the full-screen pure white 255 grayscale under different DBVs were recorded. The rule of the compensation coefficient changing with brightness was obtained by fitting, and based on the rule, the compensation coefficient and white brightness in this embodiment were obtained. The degree values show an approximately linear relationship, but the linear relationship between the compensation coefficient and white brightness varies greatly for different image modes.
在一些实施例中,所述第一亮度校正参数包括第一缩放参数和第一偏置参数。所述第一缩放参数是根据不同最高亮度下白色图像的最高亮度变化的缩放程度确定的;和/或,所述第一偏置参数是根据不同最高亮度下白色图像的最高亮度变化的偏置程度确定的。In some embodiments, the first brightness correction parameter includes a first scaling parameter and a first bias parameter. The first scaling parameter is determined based on the scaling degree of the change in the highest brightness of the white image under different maximum brightness levels; and/or, the first bias parameter is determined based on the bias degree of the change in the highest brightness of the white image under different maximum brightness levels.
可选的,根据不同DBV下纯色图像的最高亮度变化的缩放程度,确定不同DBV对应的第一缩放参数。Optionally, the first scaling parameter corresponding to different DBVs can be determined based on the scaling degree of the highest brightness change of the solid color image under different DBVs.
可选的,根据不同DBV下纯色图像的最高亮度变化的偏置程度,确定不同DBV对应的第一偏置参数。Optionally, the first bias parameter corresponding to different DBVs can be determined based on the bias degree of the highest brightness change of the solid color image under different DBVs.
实施中,为了得到显示屏不同DBV下的第一亮度校正参数,应该根据初始DBV对屏幕进行测试,得到在当前DBV下对应的第一亮度校正参数,然后继续对当前DBV进行调整,得到不同DBV下对应的第一亮度校正参数。如下所示,本实施例提供一种DBV对应的第一亮度校正参数的LUT(Look-Up-Table,显示查找表)示意表。In practice, to obtain the first brightness correction parameters for different DBVs of the display screen, the screen should be tested based on the initial DBV to obtain the first brightness correction parameters corresponding to the current DBV. Then, the current DBV should be adjusted to obtain the first brightness correction parameters corresponding to different DBVs. As shown below, this embodiment provides a LUT (Look-Up Table) schematic table of the first brightness correction parameters corresponding to DBV.
表2 DBV亮度参数LUT
Table 2 DBV Luminous Parameter LUT
为了方便记录和处理,本发明实施例使用一维查找表(LUT,look-up table)的形式对DBV对应的第一亮度校正参数进行记录和保存,如表2所示,默认DBV共有10个分段,每个DBV对应纯白色亮度Y由实际测量得到。选定的测试屏幕参数所用的初始DBV一般为最大的DBV值,其他DBV的第一亮度校正参数都是在最大的DBV测试的第一亮度校正参数上乘以一个缩放参数,再叠加一个偏置参数,如下公式所示,计算得到的补偿调整系数经过DBV调整后如下所示:
To facilitate recording and processing, this embodiment of the invention uses a one-dimensional lookup table (LUT) to record and save the first brightness correction parameters corresponding to DBV, as shown in Table 2. By default, DBV has 10 segments, and the pure white brightness Y corresponding to each DBV is obtained from actual measurement. The initial DBV used for the selected test screen parameters is generally the largest DBV value. The first brightness correction parameters for other DBVs are multiplied by a scaling parameter and then superimposed with an offset parameter, as shown in the following formula. The calculated compensation adjustment coefficients, after DBV adjustment, are shown below:
公式(8)中,a1表示第一缩放参数,b1表示第一偏置参数,表示利用补偿参数计算得到的补偿系数,其中,c表示通道,k表示灰阶;is表示当前平均电流强度,is′表示目标平均电流强度,表示灰阶k对应的最小亮度,表示灰阶k对应的最大亮度。gammac是介于和之间的一个值,可根据is进行线性插值, In formula (8), a1 represents the first scaling parameter, and b1 represents the first bias parameter. This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k. gamma c is between... and A value between these two values can be linearly interpolated based on is.
在一些实施例中,本实施例中亮度参数包括第二亮度校正参数;所述第二亮度校正参数是根据n个子线性关系中不同负载下的补偿系数的变化规律确定的;所述n个子线性关系是在高亮模式下,基于负载和补偿系数的线性关系,在最大补偿系数和最小补偿系数之间进行线性插值得到的,n为大于1的整数。In some embodiments, the brightness parameter in this embodiment includes a second brightness correction parameter; the second brightness correction parameter is determined based on the variation law of the compensation coefficient under different loads in n sub-linear relationships; the n sub-linear relationships are obtained by linear interpolation between the maximum compensation coefficient and the minimum compensation coefficient based on the linear relationship between the load and the compensation coefficient in high brightness mode, where n is an integer greater than 1.
可选的,所述第二亮度校正参数包括第二缩放参数和第二偏置参数;所述第二缩放参数是针对每个子线性关系,根据不同负载下补偿系数变化的缩 放程度确定的;和/或,所述第二偏置参数是针对每个子线性关系,根据不同负载下补偿系数变化的偏置程度确定的。Optionally, the second brightness correction parameter includes a second scaling parameter and a second bias parameter; the second scaling parameter is a scaling factor applied to each sub-linear relationship based on the variation of the compensation coefficient under different loads. The degree of bias is determined; and/or, the second bias parameter is determined for each sub-linear relationship based on the degree of bias of the compensation coefficient variation under different loads.
通过如下方式确定第二亮度校正参数:The second brightness correction parameter is determined as follows:
1)在HBM模式下,基于负载和补偿系数的线性关系,在最大补偿系数和最小补偿系数之间进行线性插值,得到负载和补偿系数的n个子线性关系,n为大于1的整数;所述负载是根据显示屏显示的图像确定的;1) In HBM mode, based on the linear relationship between load and compensation coefficient, linear interpolation is performed between the maximum and minimum compensation coefficients to obtain n sub-linear relationships between load and compensation coefficient, where n is an integer greater than 1; the load is determined according to the image displayed on the screen.
实施中,最大补偿系数对应的负载OPR为0,需要说明的是,本实施例在进行线性关系或对应关系或其他算法的计算中,通常对负载大小、灰阶、平均电流强度等参数进行归一化,处理成0~1之间的参数。In practice, the load OPR corresponding to the maximum compensation coefficient is 0. It should be noted that in this embodiment, when performing calculations of linear relationships, correspondence relationships or other algorithms, parameters such as load size, gray level, and average current intensity are usually normalized and processed into parameters between 0 and 1.
可选的,本实施例可以在最大补偿系数和最小补偿系数之间插入一个或多个插值,得到负载和补偿系数的多个子线性关系。如图11所示,本实施例提供一种HBM模式下负载和补偿系数的关系示意图,HBM模式实现的效果是根据不同的OPR实现不同的补偿调节程度,以一个插值为例,可以根据用户的设定阈值T1-Y1和T2-Y2,分段进行插值实现,其中,T1、T2表示负载,Y1、Y2表示补偿系数,得到3个子线性关系,根据每个子线性关系计算第二亮度校正参数,将第二亮度校正参数和OPR的关系存储在一维查找表LUT表中,便于显示设备在进行补偿系数的调整时基于负载查找对应的第二亮度校正参数。Optionally, this embodiment can insert one or more interpolations between the maximum and minimum compensation coefficients to obtain multiple sub-linear relationships between load and compensation coefficients. As shown in Figure 11, this embodiment provides a schematic diagram of the relationship between load and compensation coefficients in HBM mode. The effect of HBM mode is to achieve different compensation adjustment degrees based on different OPRs. Taking one interpolation as an example, interpolation can be performed in segments according to the user-set thresholds T1-Y1 and T2-Y2, where T1 and T2 represent the load, and Y1 and Y2 represent the compensation coefficients, resulting in three sub-linear relationships. The second brightness correction parameter is calculated based on each sub-linear relationship, and the relationship between the second brightness correction parameter and OPR is stored in a one-dimensional lookup table (LUT), which facilitates the display device to look up the corresponding second brightness correction parameter based on the load when adjusting the compensation coefficient.
1a)可选的,所述最小补偿系数表示当前图像的补偿系数。1a) Optionally, the minimum compensation coefficient represents the compensation coefficient of the current image.
实施中,首先利用显示屏的补偿参数确定当前图像的各通道灰阶的补偿系数之后,当显示屏处于HDM模式下,还可以利用第二亮度校正参数进一步对补偿系数进行调整,得到各通道对应的补偿调整系数,利用各通道对应的补偿调整系数对当前图像的各通道灰阶进行补偿,并显示补偿后的当前图像。In practice, the compensation coefficients of each channel grayscale of the current image are first determined using the compensation parameters of the display screen. When the display screen is in HDM mode, the compensation coefficients can be further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients corresponding to each channel. The compensation adjustment coefficients corresponding to each channel are then used to compensate the grayscale of each channel of the current image, and the compensated current image is displayed.
1b)可选的,所述亮度参数包括m个,所述最小补偿系数表示利用m-1个亮度参数中的至少一个亮度参数对当前图像的补偿系数进行调整得到的补偿调整系数,其中m为大于1的整数。1b) Optionally, the brightness parameters include m, and the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters, where m is an integer greater than 1.
实施中,若亮度参数包括第一亮度校正参数和第二亮度校正参数;首先 利用显示屏的补偿参数确定当前图像的各通道灰阶的补偿系数之后,其次基于显示屏的DBV确定对应的第一亮度校正参数,利用第一亮度校正参数对补偿系数进行调整得到第一补偿调整系数,最后,当显示屏处于HDM模式下,还可以利用第二亮度校正参数进一步对第一补偿调整系数进行调整,得到各通道对应的补偿调整系数,利用各通道对应的补偿调整系数对当前图像的各通道灰阶进行补偿,并显示补偿后的当前图像。In implementation, if the brightness parameters include a first brightness correction parameter and a second brightness correction parameter; firstly After determining the compensation coefficients for each channel of the current image using the compensation parameters of the display screen, the corresponding first brightness correction parameter is determined based on the DBV of the display screen. The compensation coefficients are then adjusted using the first brightness correction parameter to obtain the first compensation adjustment coefficient. Finally, when the display screen is in HDM mode, the first compensation adjustment coefficient can be further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients for each channel. The gray levels of each channel of the current image are then compensated using the compensation adjustment coefficients for each channel, and the compensated current image is displayed.
实施中,若亮度参数包括第一亮度校正参数、第二亮度校正参数和第三亮度参数;首先利用显示屏的补偿参数确定当前图像的各通道灰阶的补偿系数之后,其次,利用第一亮度校正参数对补偿系数进行调整得到第一补偿调整系数,然后,利用第二亮度校正参数对第一补偿调整系数进行调整得到第二补偿调整系数,最后,利用第三亮度参数进一步对第二补偿调整系数进行调整,得到各通道对应的补偿调整系数,利用各通道对应的补偿调整系数对当前图像的各通道灰阶进行补偿,并显示补偿后的当前图像。当亮度参数包括第一亮度校正参数、第二亮度校正参数、第三亮度参数、第四亮度参数时,基于上述同样的规律,依次进行调整,得到最终的补偿调整系数。In implementation, if the brightness parameters include a first brightness correction parameter, a second brightness correction parameter, and a third brightness parameter, the following steps are taken: First, the compensation coefficients for each channel's grayscale of the current image are determined using the display screen's compensation parameters. Then, the first brightness correction parameter is used to adjust these coefficients to obtain a first compensation adjustment coefficient. Next, the second brightness correction parameter is used to adjust these coefficients to obtain a second compensation adjustment coefficient. Finally, the third brightness parameter is used to further adjust these coefficients, resulting in the compensation adjustment coefficients for each channel. These channel-specific compensation adjustment coefficients are then used to compensate for the grayscale of each channel of the current image, and the compensated image is displayed. When the brightness parameters include a first brightness correction parameter, a second brightness correction parameter, a third brightness parameter, and a fourth brightness parameter, the same adjustments are made sequentially to obtain the final compensation adjustment coefficients.
2)根据n个子线性关系中不同负载下的补偿系数的变化规律,确定显示的当前图像对应的第二亮度校正参数。2) Based on the variation law of the compensation coefficient under different loads in the n sub-linear relationships, determine the second brightness correction parameter corresponding to the current image being displayed.
在一些实施例中,n个子线性关系中的补偿系数随负载变化的变化程度不同;在负载低于参考负载的子线性关系中,补偿系数随负载的减小而增加;在负载高于或等于参考负载的子线性关系中,补偿系数为最小补偿系数;其中参考负载表示最小补偿系数对应的负载,所述参考负载介于最大负载和最小负载之间。In some embodiments, the compensation coefficients in the n sub-linear relationships vary to different degrees with load changes; in the sub-linear relationships where the load is lower than the reference load, the compensation coefficient increases as the load decreases; in the sub-linear relationships where the load is higher than or equal to the reference load, the compensation coefficient is the minimum compensation coefficient; wherein the reference load represents the load corresponding to the minimum compensation coefficient, and the reference load is between the maximum load and the minimum load.
在一些实施例中,所述第二亮度校正参数包括第二缩放参数和第二偏置参数;所述处理器具体被配置为通过如下任一或任多种方式确定第二亮度校正参数:In some embodiments, the second brightness correction parameter includes a second scaling parameter and a second bias parameter; the processor is specifically configured to determine the second brightness correction parameter by any one or more of the following methods:
方式a、针对每个子线性关系,根据不同负载下补偿系数变化的缩放程度,确定每个子线性关系中不同负载对应的第二缩放参数; Method a: For each sub-linear relationship, determine the second scaling parameter corresponding to different loads in each sub-linear relationship based on the scaling degree of the compensation coefficient change under different loads;
方式b、针对每个子线性关系,根据不同负载下补偿系数变化的偏置程度,确定每个子线性关系中不同负载对应的第二偏置参数。Method b: For each sub-linear relationship, determine the second bias parameter corresponding to different loads in each sub-linear relationship based on the bias degree of the change in the compensation coefficient under different loads.
以一个插值为例,基于图11所示的不同OPR和补偿系数的线性关系,第二亮度校正参数包括第二缩放参数和第二偏置参数,不同OPR对应的第二亮度系数的关系表如下:Taking an interpolation as an example, based on the linear relationship between different OPRs and compensation coefficients shown in Figure 11, the second brightness correction parameter includes a second scaling parameter and a second bias parameter. The relationship table of the second brightness coefficients corresponding to different OPRs is as follows:
表3 HBM模式下的第二亮度校正参数表
Table 3 Second Luminance Correction Parameters under HBM Mode
一般来说,最大补偿系数Y0=1,最小补偿系数Y2可以是当前图像的补偿系数,或者,利用m-1个亮度参数中的至少一个亮度参数对当前图像的补偿系数进行调整得到的补偿调整系数。Y1是介于Y0和Y2中间的一个插值。插值的计算公式如下所示:
Y1=(1-t)*Y2+t 公式(9);Generally, the maximum compensation coefficient Y0 = 1, and the minimum compensation coefficient Y2 can be the compensation coefficient of the current image, or a compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters. Y1 is an interpolation value between Y0 and Y2. The interpolation calculation formula is shown below:
Y1=(1-t)*Y2+t formula (9);
公式(9)中,Y1表示插值补偿系数,Y2表示最小补偿系数,t的取值 为0-1,用户可自行设定,例如设置t=0.5。In formula (9), Y1 represents the interpolation compensation coefficient, Y2 represents the minimum compensation coefficient, and t takes the value of... The value is 0-1, which can be set by the user, for example, t=0.5.
将Y0=1,Y1=(1-t)*Y2+t代入表3,形成以Y2为基础的第二亮度校正参数,得到如下表所示的HBM模式下的第二亮度校正参数:Substituting Y0 = 1 and Y1 = (1-t)*Y2 + t into Table 3, we obtain the second luminance correction parameters based on Y2, as shown in the table below for the second luminance correction parameters in HBM mode:
表4 HBM模式下的第二亮度校正参数LUT表
Table 4 LUT Table of Second Luminance Correction Parameters in HBM Mode
实施中,当最小补偿系数表示当前图像的补偿系数时,首先利用显示屏的补偿参数确定当前图像的各通道灰阶的补偿系数之后,然后利用第二亮度校正参数进一步对补偿系数进行调整,得到各通道对应的补偿调整系数,具体公式如下:
In practice, when the minimum compensation coefficient represents the compensation coefficient of the current image, the compensation coefficients of each channel grayscale of the current image are first determined using the compensation parameters of the display screen. Then, the compensation coefficients are further adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficients corresponding to each channel. The specific formula is as follows:
公式(10)中,a2表示第二缩放参数,b2表示第二偏置参数,表示利用补偿参数计算得到的补偿系数,其中,c表示通道,k表示灰阶;is表示当前平均电流强度,is′表示目标平均电流强度,表示灰阶k对应的最小亮度,表示灰阶k对应的最大亮度。 gammac是介于和之间的一个值,可根据is进行线性插值, In formula (10), a2 represents the second scaling parameter, and b2 represents the second bias parameter. This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k. gamma c is between and A value between these two values can be linearly interpolated based on is.
实施中,当亮度参数包括第一亮度校正参数和第二亮度校正参数,最小补偿系数表示利用m-1个亮度参数中的至少一个亮度参数对当前图像的补偿系数进行调整得到的补偿调整系数,首先利用显示屏的补偿参数确定当前图像的各通道灰阶的补偿系数之后,其次利用第一亮度校正参数对补偿系数进行调整得到第一补偿调整系数,最后,利用第二亮度校正参数对第一补偿调整系数进行调整,得到各通道对应的补偿调整系数,具体公式如下:
In implementation, when the brightness parameters include a first brightness correction parameter and a second brightness correction parameter, the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of the current image using at least one of the m-1 brightness parameters. First, the compensation coefficients of each channel grayscale of the current image are determined using the compensation parameters of the display screen. Then, the first compensation adjustment coefficient is obtained by adjusting the compensation coefficient using the first brightness correction parameter. Finally, the first compensation adjustment coefficient is adjusted using the second brightness correction parameter to obtain the compensation adjustment coefficient corresponding to each channel. The specific formula is as follows:
公式(11)中,a1表示第一缩放参数,b1表示第一偏置参数,a2表示第二缩放参数,b2表示第二偏置参数,表示利用补偿参数计算得到的补偿系数,其中,c表示通道,k表示灰阶;is表示当前平均电流强度,is′表示目标平均电流强度,表示灰阶k对应的最小亮度,表示灰阶k对应的最大亮度。gammac是介于和之间的一个值,可根据is进行线性插值, In formula (11), a1 represents the first scaling parameter, b1 represents the first bias parameter, a2 represents the second scaling parameter, and b2 represents the second bias parameter. This represents the compensation coefficient calculated using compensation parameters, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k. gamma c is between... and A value between these two values can be linearly interpolated based on is.
需要说明的是,HBM(全局高亮)是OLED屏幕的一种高亮模式,一般情况下手机亮度最高到500nits,HBM模式亮度能达到800nits,甚至1000nits。在光学指纹识别场景打开HBM可以提高指纹识别成功率。但是亮度过大会让用户感到刺眼,所以需要再非指纹区域增加蒙层(纯色,利用不同透明度改变画面亮度),降低画面亮度。如果非指纹指标区域是黑色画面,则无需蒙层。It's important to note that HBM (Global High Brightness) is a high-brightness mode for OLED screens. While typical mobile phone screens reach a maximum brightness of 500 nits, HBM mode can achieve 800 nits or even 1000 nits. Enabling HBM in optical fingerprint recognition scenarios can improve fingerprint recognition success rates. However, excessive brightness can be glaring for users, so a mask (a solid color layer, using varying transparency to change screen brightness) needs to be added to the non-fingerprint area to reduce overall brightness. If the non-fingerprint area is black, no mask is needed.
实施中,显示屏在HBM模式下,例如指纹解锁等场景,显示屏的负载和补偿系数之间存在线性关系,通过设置一个或多个插值,得到在不同负载区间对应不同补偿程度的补偿系数,并基于负载和补偿系数之间的线性关系,能够得到不同负载区域对应的第二亮度校正参数。当显示屏处于HBM模式下时,利用第二亮度校正参数对补偿系数进行调整,可以得到适合当前负载对 应的补偿程度。In implementation, when the display is in HBM mode, such as in fingerprint unlocking scenarios, there is a linear relationship between the display load and the compensation coefficient. By setting one or more interpolations, compensation coefficients with different compensation levels corresponding to different load ranges can be obtained. Based on the linear relationship between the load and the compensation coefficient, the second brightness correction parameters corresponding to different load areas can be obtained. When the display is in HBM mode, adjusting the compensation coefficient using the second brightness correction parameters can yield a suitable compensation coefficient for the current load. The appropriate level of compensation.
需要说明的是,本实施例中的负载(OPR,On Pixel Ratio)是根据显示屏显示的图像确定的。可选的,负载的大小可以通过固定灰阶,改变显示屏显示的测试图像的面积的方式调节负载。将测试图像输入到显示屏,通过调节测试图像的面积的方式得到不同大小的负载,进而根据不同的负载实现不同程度的亮度补偿。It should be noted that the load (OPR, On Pixel Ratio) in this embodiment is determined based on the image displayed on the screen. Optionally, the load can be adjusted by fixing the grayscale and changing the area of the test image displayed on the screen. By inputting the test image to the screen and adjusting the area of the test image, different load sizes can be obtained, thereby achieving different levels of brightness compensation based on different loads.
步骤d、利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。Step d: Use the compensation adjustment coefficients of the gray levels of each channel of the pixel unit to compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
在一些实施例中,所述亮度参数包括缩放参数和偏置参数,所述处理器具体被配置为通过如下方式确定补偿调整系数:In some embodiments, the brightness parameter includes a scaling parameter and an offset parameter, and the processor is specifically configured to determine the compensation adjustment coefficient in the following manner:
利用缩放参数和偏置参数对补偿系数进行线性调整,得到补偿调整系数。The compensation adjustment coefficient is obtained by linearly adjusting the compensation coefficient using scaling and bias parameters.
可选的,所述亮度参数包括m个,所述处理器具体被配置为执行:Optionally, the brightness parameters include m parameters, and the processor is specifically configured to execute:
利用第1个亮度参数对当前图像的补偿系数进行线性调整,得到第1个亮度调整系数;其中,利用第1个亮度参数对当前图像的补偿系数进行线性调整时,利用第1个亮度参数的缩放参数对补偿系数进行缩放,利用第1个亮度参数的偏置参数对补偿系数进行偏置处理,得到第1个亮度调整系数。The compensation coefficient of the current image is linearly adjusted using the first brightness parameter to obtain the first brightness adjustment coefficient. When linearly adjusting the compensation coefficient of the current image using the first brightness parameter, the compensation coefficient is scaled using the scaling parameter of the first brightness parameter and biased using the offset parameter of the first brightness parameter to obtain the first brightness adjustment coefficient.
利用第2个亮度参数对第1个亮度调整系数进行线性调整,得到第2个亮度调整系数;以此类推,利用第m个亮度参数对第m-1个亮度调整系数进行线性调整,得到第m个亮度调整系数,将第m个亮度调整系数确定为最终得到的补偿调整系数。The first brightness adjustment coefficient is linearly adjusted using the second brightness parameter to obtain the second brightness adjustment coefficient; and so on, the (m-1)th brightness adjustment coefficient is linearly adjusted using the mth brightness parameter to obtain the mth brightness adjustment coefficient, and the mth brightness adjustment coefficient is determined as the final compensation adjustment coefficient.
实施中,计算得到补偿调整系数后,若补偿调整系数为上述公式(11)的系数,则通过如下公式对当前图像的各通道灰阶进行补偿:
In practice, after calculating the compensation adjustment coefficient, if the compensation adjustment coefficient is the coefficient of the above formula (11), then the gray levels of each channel of the current image are compensated using the following formula:
公式(12)中,kc表示当前图像通道c的灰阶,k′c表示补偿后的当前图像通道c的灰阶;a1表示第一缩放参数,b1表示第一偏置参数,a2表示第二缩放参数,b2表示第二偏置参数,表示利用补偿参 数计算得到的补偿系数,其中,c表示通道,k表示灰阶;is表示当前平均电流强度,is′表示目标平均电流强度,表示灰阶k对应的最小亮度,表示灰阶k对应的最大亮度。gammac是介于和之间的一个值,可根据is进行线性插值, In formula (12), k<sub>c</sub> represents the gray level of the current image channel c, and k′<sub> c </sub> represents the gray level of the current image channel c after compensation; a <sub>1 </sub> represents the first scaling parameter, b<sub> 1 </sub> represents the first bias parameter, a <sub>2</sub> represents the second scaling parameter, and b<sub> 2 </sub> represents the second bias parameter. Indicates the use of compensation parameters The compensation coefficient is calculated from the data, where c represents the channel, k represents the grayscale, is represents the current average current intensity, and is′ represents the target average current intensity. This represents the minimum brightness corresponding to grayscale k. This represents the maximum brightness corresponding to grayscale k. gamma c is between... and A value between these two values can be linearly interpolated based on is.
本实施例针对OLED屏幕电路存在的电压压降进行IP(Intellectual Property,知识产权)自动化调节和部署。可依据屏幕特性和客户需求,修改IP接口参数如补偿参数和亮度参数,在实现电路压降补偿的同时,实现不同带宽高亮DBV(display brightness values,显示亮度值)下的参数调节,以及屏幕普通补偿亮度模式和高亮模式的切换参数更新。This embodiment addresses the automated adjustment and deployment of IP (Intellectual Property) to address voltage drop issues in OLED screen circuitry. Based on screen characteristics and customer needs, IP interface parameters, such as compensation and brightness parameters, can be modified. This achieves circuit voltage drop compensation while simultaneously adjusting parameters under different bandwidth high-brightness DBV (display brightness values), and updating parameters for switching between normal and high-brightness compensation modes.
如图12所示,本实施例提供一种补偿效果示意图,由图可知,在无压降补偿模式的情况下,白色255的亮度随着点亮面积(OPR)的增加而下降。在有压降补偿模式下(即利用补偿参数确定的补偿系数进行补偿的模式),白色255的亮度不跟随OPR变化,维持亮度一致性。在高亮补偿模式下(即利用补偿参数和亮度参数确定的补偿调整系数进行补偿的模式),根据用户设定的补偿拐点(即插值),实现不同OPR下对应不同补偿力度,达到亮度与OPR的对应关系。高亮模式主要用于局部提亮,例如指纹解锁区域,菜单区域等。As shown in Figure 12, this embodiment provides a schematic diagram of the compensation effect. As can be seen from the figure, in the absence of voltage drop compensation mode, the brightness of white 255 decreases as the illuminated area (OPR) increases. In the voltage drop compensation mode (i.e., the compensation mode using a compensation coefficient determined by compensation parameters), the brightness of white 255 does not change with OPR, maintaining brightness consistency. In the high-brightness compensation mode (i.e., the compensation adjustment coefficient determined by compensation parameters and brightness parameters), based on the user-defined compensation inflection point (i.e., interpolation), different compensation levels are achieved for different OPRs, realizing a correspondence between brightness and OPR. The high-brightness mode is mainly used for localized brightening, such as the fingerprint unlocking area and menu area.
本发明实施例还提出了一种可调节的OLED电压压降自动补偿系统,针对不同的OLED屏幕存在的特性差异,本实施例提出一种可以根据屏幕特性对算法IP(Intellectual Property)自动更新的装置,实现压降补偿的可调特性。本实施例提出的系统包括软件系统实现、硬件系统实现、算法IP设计、算法IP更新方式等设计。解决屏幕因电压压降引起的亮度差异。同时可根据屏幕DBV特性和高亮模式特性进行动态参数的写入更新。该系统能够助力屏幕量产升级,提高生产效率。This invention also proposes an adjustable OLED voltage drop automatic compensation system. Addressing the characteristic differences among various OLED screens, this embodiment proposes a device that automatically updates the algorithm IP (Intellectual Property) based on screen characteristics, achieving adjustable voltage drop compensation. The system proposed in this embodiment includes software system implementation, hardware system implementation, algorithm IP design, and algorithm IP update method design. It solves the brightness difference caused by screen voltage drop. Simultaneously, it can dynamically update parameters based on the screen's DBV characteristics and high-brightness mode characteristics. This system can facilitate screen mass production upgrades and improve production efficiency.
本发明提出的一种可调节的OLED电压压降自动补偿系统包括但不限于系统结构实现、补偿算法设计与实现,IP的RTL(Register Transfer Level,寄存器传输级)架构,IP更新的软件逻辑等步骤。其中系统结构包含硬件和软 件,包括不同软件和硬件的部署和工作流程。This invention proposes an adjustable OLED voltage drop automatic compensation system, including but not limited to system architecture implementation, compensation algorithm design and implementation, IP RTL (Register Transfer Level) architecture, and software logic for IP updates. The system architecture comprises hardware and software components. This includes the deployment and workflow of different software and hardware.
如图13所示,本实施例提供一种自动补偿系统,包括OLED屏幕、控制电脑、精测PG、光学采集仪器。OLED屏幕搭载显示驱动芯片IC(Integrated Circuit,集成电路),用于控制显示驱动电路,驱动屏幕像素位置自发光。与屏幕显示有关的控制系统和补偿算法IP都部署在驱动IC中。精测PG(pattern Generation)是一种点图治具,用于生成测试屏幕所需要的测试图像,并通过MIPI(Mobile Industry Processor Interface,移动产业处理器接口)/eDP(Embedded DisplayPort,嵌入式DP接口)/LVDS(Low Voltage Differential Signaling,低压差分信号传输)等图像视频传输协议,将图像或视频信号发送给驱动IC。另一方面,接收控制软件的指令和参数,通过I2C(IIC,Inter-Integrated Circuit,集成电路总线)或者SPI(Serial Peripheral interface,串行外围设备接口)协议,对IC中内置的补偿算法IP进行更新。具体的,对IC中内置的补偿参数和亮度参数进行更新。由于OLED电路压降主要引起屏幕亮度的不均一性,因此为了捕捉亮度与显示负载的关系,本实施例采用光学采集仪器进行屏幕亮度采集,例如亮度采集设备CA410。该仪器能够根据控制系统的指令,自动对屏幕不同位置的亮度进行采集,然后返回亮度、色坐标等信息,用于后续的分析建模。控制电脑PC搭载了光学采集仪器控制软件、算法IP控制软件和图像信号发生器控制软件,用于对用户提供调节接口,实现参数设置(补偿参数和亮度参数)、参数更新控制(补偿参数和亮度参数)、IP部署等屏幕调节需求。As shown in Figure 13, this embodiment provides an automatic compensation system, including an OLED screen, a control computer, a precision measurement PG, and optical acquisition instruments. The OLED screen is equipped with a display driver chip IC (Integrated Circuit), used to control the display driver circuit and drive the screen pixels to emit light. The control system and compensation algorithm IP related to the screen display are deployed in the driver IC. The precision measurement PG (pattern generation) is a dot pattern fixture used to generate the test image required for the test screen and send the image or video signal to the driver IC through image and video transmission protocols such as MIPI (Mobile Industry Processor Interface), eDP (Embedded DisplayPort), and LVDS (Low Voltage Differential Signaling). On the other hand, the system receives instructions and parameters from the control software and updates the compensation algorithm IP built into the IC through the I2C (IIC, Inter-Integrated Circuit) or SPI (Serial Peripheral Interface) protocols. Specifically, the compensation and brightness parameters built into the IC are updated. Since voltage drop in the OLED circuit primarily causes screen brightness non-uniformity, this embodiment uses an optical acquisition instrument, such as the CA410 brightness acquisition device, to capture the relationship between brightness and display load. This instrument can automatically acquire brightness at different locations on the screen according to instructions from the control system, and then return information such as brightness and color coordinates for subsequent analysis and modeling. The control computer (PC) is equipped with optical acquisition instrument control software, algorithm IP control software, and image signal generator control software, providing users with adjustment interfaces to achieve screen adjustment needs such as parameter setting (compensation and brightness parameters), parameter update control (compensation and brightness parameters), and IP deployment.
如图14所示,本实施例还提供一种补偿算法设计示意图,针对输入图像中的每个RGB子像素,计算每个子像素对应的当前平均电流强度,将亮度和电流强度的第一线性关系存储在LUT表中,查找每个子像素的当前平均电流强度对应的当前亮度,以及根据RGB子像素中的最大灰阶值确定该最大灰阶值的目标平均电流强度对应的目标亮度,根据每个子像素的当前亮度和目标亮度计算补偿系数,得到RGB三通道各自的补偿系数,基于DBV对应的第一亮度校正参数和/或HBM模式下的第二亮度校正参数调整补偿系数,得到 补偿调整系数,利用补偿调整系数对各子像素的灰阶值进行补偿,输出最终补偿后的当前图像。As shown in Figure 14, this embodiment also provides a schematic diagram of the compensation algorithm design. For each RGB sub-pixel in the input image, the current average current intensity corresponding to each sub-pixel is calculated. The first linear relationship between brightness and current intensity is stored in a LUT table. The current brightness corresponding to the current average current intensity of each sub-pixel is looked up, and the target brightness corresponding to the target average current intensity of the maximum grayscale value is determined based on the maximum grayscale value in the RGB sub-pixel. The compensation coefficient is calculated based on the current brightness and target brightness of each sub-pixel to obtain the compensation coefficients for each of the three RGB channels. The compensation coefficients are adjusted based on the first brightness correction parameter corresponding to DBV and/or the second brightness correction parameter under HBM mode to obtain... The compensation adjustment coefficient is used to compensate the grayscale value of each sub-pixel, and the final compensated image is output.
本发明实施例利用补偿参数和亮度参数进行补偿算法的实现时,将补偿算法最终部署在驱动芯片,本实施例对补偿算法IP进行RTL(Register-Transfer Level,寄存器传输级)设计,如图15所示,本实施例提供一种补偿算法IP数据流程图,一共使用了15个LUT对补偿算法流程的每个节点进行拆分运算,LUT里的补偿参数或亮度参数可以根据不同的屏幕进行更新。其中LUT1-3用于计算RGB三通道输入灰阶组合后的当前平均电流强度is,LUT4用于计算目标平均电流强度is’,LUT5-7用于计算RGB三通道输入灰阶各自的最大亮度和最小亮度的比值。LUT8-13用于计算补偿系数,LUT14存储DBV对应的第一缩放参数和第一偏置参数,LUT15存储HBM模式对应的第二缩放参数和第二偏置参数。In this embodiment of the invention, when implementing the compensation algorithm using compensation parameters and brightness parameters, the compensation algorithm is ultimately deployed on the driver chip. This embodiment uses RTL (Register-Transfer Level) design for the compensation algorithm IP, as shown in Figure 15. This embodiment provides a data flow diagram of the compensation algorithm IP, using a total of 15 LUTs to decompose the calculation of each node in the compensation algorithm flow. The compensation parameters or brightness parameters in the LUTs can be updated according to different screens. Specifically, LUTs 1-3 are used to calculate the current average current intensity *is* after combining the RGB three-channel input grayscale levels; LUT 4 is used to calculate the target average current intensity *is'*; LUTs 5-7 are used to calculate the ratio of the maximum brightness to the minimum brightness of each of the RGB three-channel input grayscale levels; LUTs 8-13 are used to calculate the compensation coefficients; LUT 14 stores the first scaling parameter and the first bias parameter corresponding to DBV; and LUT 15 stores the second scaling parameter and the second bias parameter corresponding to HBM mode.
如图16所示,本发明实施例为了实现补偿算法IP中涉及的补偿参数和亮度参数的可调性,还提供一个对补偿参数和亮度参数进行更新的软硬件部署流程,首先,基于上位机对OLED屏幕显示的当前图像的亮度进行光学测量,将测量得到的光学数据信息传输给外部系统运算(如PC机),利用光学数据信息对补偿参数和亮度参数进行更新,并将更新的补偿参数和亮度参数存储在外部存储器,显示设备的驱动芯片从外部存储器中读取补偿参数和亮度参数,对当前图像进行补偿,得到补偿后图像信息,并发送给OLED屏幕进行显示。As shown in Figure 16, in order to achieve the adjustability of the compensation parameters and brightness parameters involved in the compensation algorithm IP, this embodiment of the invention also provides a hardware and software deployment process for updating the compensation parameters and brightness parameters. First, the brightness of the current image displayed on the OLED screen is optically measured by the host computer, and the measured optical data information is transmitted to an external system for processing (such as a PC). The compensation parameters and brightness parameters are updated using the optical data information, and the updated compensation parameters and brightness parameters are stored in an external memory. The driver chip of the display device reads the compensation parameters and brightness parameters from the external memory, compensates the current image, obtains the compensated image information, and sends it to the OLED screen for display.
如图17所示,本实施例提供一种补偿参数和亮度参数更新的流程图,显示屏点亮后,判断外部存储器是否烧录有补偿参数和亮度参数,若是则加载补偿参数和亮度参数到驱动芯片中,利用补偿参数和亮度参数对当前图像的灰阶进行补偿,显示补偿后的当前图像;否则通知上位机,启动精测PG进行图像显示,控制光学采集仪采集光学数据,根据采集的光学数据计算补偿参数和亮度参数,将补偿参数和亮度参数烧录至外部存储器,至此,对于实时输入的图像,基于补偿算法利用补偿参数和亮度参数实现电压压降补偿,实 现实时的压降补偿并显示补偿后的图像。As shown in Figure 17, this embodiment provides a flowchart for updating compensation parameters and brightness parameters. After the display screen is turned on, it is determined whether the compensation parameters and brightness parameters are burned into the external memory. If so, the compensation parameters and brightness parameters are loaded into the driver chip, and the grayscale of the current image is compensated using the compensation parameters and brightness parameters, and the compensated current image is displayed. Otherwise, the host computer is notified to start the precision measurement PG for image display, control the optical acquisition instrument to collect optical data, calculate the compensation parameters and brightness parameters based on the collected optical data, and burn the compensation parameters and brightness parameters into the external memory. Thus, for real-time input images, voltage drop compensation is achieved using the compensation parameters and brightness parameters based on the compensation algorithm. Real-time voltage drop compensation and display of the compensated image.
如图18所示,本实施例还提供一种高亮模式下的压降补偿方法,具体实施流程如下所示:As shown in Figure 18, this embodiment also provides a voltage drop compensation method in high brightness mode, and the specific implementation process is as follows:
步骤1800、从驱动芯片中获取显示屏的补偿参数、第一亮度校正参数和第二亮度校正参数;Step 1800: Obtain the display screen compensation parameters, first brightness correction parameters, and second brightness correction parameters from the driver chip;
步骤1801、根据所述补偿参数,预估当前图像中所述像素单位的输入负载和最大负载;Step 1801: Based on the compensation parameters, estimate the input load and maximum load of the pixel unit in the current image;
步骤1802、根据不同灰阶下的亮度和负载的第一线性关系,通过线性插值的方式,确定所述像素单位各通道灰阶在输入负载下的当前亮度,以及最大负载下的目标亮度;Step 1802: Based on the first linear relationship between brightness and load at different gray levels, determine the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load by using linear interpolation.
步骤1803、基于亮度和灰阶的非线性关系,根据所述像素单位各通道灰阶对应的当前亮度和目标亮度,确定所述像素单位各通道灰阶的补偿系数;Step 1803: Based on the nonlinear relationship between brightness and grayscale, determine the compensation coefficient of grayscale for each channel of the pixel unit according to the current brightness and target brightness corresponding to each channel grayscale of the pixel unit.
步骤1804、利用第一亮度校正参数对所述像素单位各通道灰阶的补偿系数进行线性调整,得到所述像素单位各通道灰阶的第一补偿调整系数;Step 1804: Linearly adjust the compensation coefficients of each channel grayscale of the pixel unit using the first brightness correction parameter to obtain the first compensation adjustment coefficients of each channel grayscale of the pixel unit.
步骤1805、利用第二亮度校正参数对所述像素单位各通道灰阶的第一补偿调整系数进行线性调整,得到所述像素单位各通道灰阶的补偿调整系数;Step 1805: Linearly adjust the first compensation adjustment coefficient of each channel grayscale of the pixel unit using the second brightness correction parameter to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit.
可选的,先利用第二亮度校正参数对所述像素单位各通道灰阶的补偿系数进行线性调整,得到所述像素单位各通道灰阶的第二补偿调整系数;再利用第一亮度校正参数对所述像素单位各通道灰阶的第二补偿调整系数进行线性调整,得到所述像素单位各通道灰阶的补偿调整系数。Optionally, the compensation coefficients of the grayscale of each channel of the pixel unit are first linearly adjusted using the second brightness correction parameter to obtain the second compensation adjustment coefficients of the grayscale of each channel of the pixel unit; then, the second compensation adjustment coefficients of the grayscale of each channel of the pixel unit are linearly adjusted using the first brightness correction parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
步骤1806、利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。Step 1806: Using the compensation adjustment coefficients of the gray levels of each channel of the pixel unit, compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
本实施例通过自动测试和更新不同显示屏的补偿参数和亮度参数,助力OLED屏幕显示特性提升,提高量产效率;提供的补偿算法根据图像内容进行实时估计、实时补偿,并且能够对屏幕特性进行自适应;解决屏幕因电压压降引起的亮度差异;同时可根据屏幕DBV特性和高亮模式特性进行动态参数的写入更新;基于屏幕的特性,能有效提高补偿效果。 This embodiment improves the display characteristics of OLED screens and increases mass production efficiency by automatically testing and updating compensation and brightness parameters for different displays. The provided compensation algorithm estimates and compensates in real time based on image content and can adapt to screen characteristics. It solves the brightness difference caused by voltage drop. At the same time, it can dynamically update parameters based on the screen's DBV characteristics and high brightness mode characteristics. Based on the screen's characteristics, it can effectively improve the compensation effect.
基于相同的发明构思,本公开实施例还提供了一种显示设备,如图19所示,包括显示屏1900和控制电路1901:Based on the same inventive concept, this disclosure also provides a display device, as shown in FIG19, including a display screen 1900 and a control circuit 1901:
所述显示屏1900被配置为进行内容的显示;The display screen 1900 is configured to display content;
所述控制电路1901包括处理器和存储器,所述处理器用于读取所述存储器中的程序并执行如下步骤:The control circuit 1901 includes a processor and a memory. The processor is used to read a program from the memory and execute the following steps:
获取当前图像,确定当前图像显示时显示屏的输入负载;Acquire the current image and determine the input load on the display screen when the current image is displayed;
基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关系,确定所述输入负载对应的补偿亮度;Based on the sub-linear relationship corresponding to the input load among n sub-linear relationships of load and compensated brightness, determine the compensated brightness corresponding to the input load;
其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数。The n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
作为一种可选的实施方式,n个子线性关系中的补偿亮度随负载变化的变化程度不同;在负载低于参考负载的子线性关系中,补偿系数随负载的减小而增加;在负载高于或等于参考负载的子线性关系中,补偿系数为最小补偿系数;其中参考负载表示最小补偿亮度对应的负载,所述参考负载介于最大负载和最小负载之间。As an optional implementation, the degree of change of the compensated brightness with load variation in the n sub-linear relationships is different; in the sub-linear relationship where the load is lower than the reference load, the compensation coefficient increases as the load decreases; in the sub-linear relationship where the load is higher than or equal to the reference load, the compensation coefficient is the minimum compensation coefficient; wherein the reference load represents the load corresponding to the minimum compensated brightness, and the reference load is between the maximum load and the minimum load.
作为一种可选的实施方式,所述处理器具体被配置为执行:As an optional implementation, the processor is specifically configured to execute:
获取当前图像中至少一个像素单位各通道灰阶的补偿系数;确定负载和补偿系数的n个子线性关系,n为大于1的整数;根据n个子线性关系中不同负载下的补偿系数的变化规律,对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数。Obtain the compensation coefficients for each channel grayscale of at least one pixel unit in the current image; determine n sub-linear relationships between load and compensation coefficients, where n is an integer greater than 1; adjust the compensation coefficients for each channel grayscale of the pixel unit according to the variation law of the compensation coefficients under different loads in the n sub-linear relationships, and obtain the compensation adjustment coefficients for each channel grayscale of the pixel unit.
作为一种可选的实施方式,所述处理器具体被配置为执行:As an optional implementation, the processor is specifically configured to execute:
根据n个子线性关系中不同负载下的补偿系数的变化规律,确定不同负载对应的亮度参数;Based on the variation law of the compensation coefficient under different loads in the n sub-linear relationships, determine the brightness parameters corresponding to different loads;
利用不同负载对应的亮度参数,对所述像素单位各通道灰阶的补偿系数进行调整。The compensation coefficients for each channel grayscale of the pixel unit are adjusted using the brightness parameters corresponding to different loads.
作为一种可选的实施方式,所述亮度参数包括缩放参数和偏置参数;所述处理器具体被配置为执行: As an optional implementation, the brightness parameters include scaling parameters and offset parameters; the processor is specifically configured to execute:
针对每个子线性关系,根据不同负载下补偿系数变化的缩放程度,确定每个子线性关系中不同负载对应的缩放参数;和/或,For each sub-linear relationship, determine the scaling parameters corresponding to different loads within each sub-linear relationship based on the scaling degree of the compensation coefficient variation under different loads; and/or,
针对每个子线性关系,根据不同负载下补偿系数变化的偏置程度,确定每个子线性关系中不同负载对应的偏置参数。For each sub-linear relationship, the bias parameters corresponding to different loads in each sub-linear relationship are determined based on the degree of bias of the compensation coefficient change under different loads.
作为一种可选的实施方式,所述最小补偿系数表示所述像素单位各通道灰阶的补偿系数;或,As an optional implementation, the minimum compensation coefficient represents the compensation coefficient for each channel grayscale of the pixel unit; or,
所述亮度参数包括m个,所述最小补偿系数表示利用m-1个亮度参数中的至少一个亮度参数对像素单位各通道灰阶的补偿系数进行调整得到的补偿调整系数,其中m为大于1的整数。The brightness parameters include m parameters, and the minimum compensation coefficient represents the compensation adjustment coefficient obtained by adjusting the compensation coefficient of each channel grayscale of the pixel unit using at least one of the m-1 brightness parameters, where m is an integer greater than 1.
基于相同的发明构思,本公开实施例还提供了一种压降补偿方法,该方法解决问题的原理与该显示设备相似,因此该方法的实施可以参见显示设备的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides a voltage drop compensation method. The principle of this method in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and repeated details will not be described again.
如图20所示,该压降补偿方法的实施流程如下所示:As shown in Figure 20, the implementation process of this voltage drop compensation method is as follows:
步骤2000、获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;Step 2000: Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
步骤2001、根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;Step 2001: Determine the compensation coefficients for the grayscale of at least one pixel unit in each channel of the current image displayed on the screen according to the compensation parameters;
步骤2002、利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;Step 2002: Adjust the compensation coefficients of the grayscale of each channel of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
步骤2003、利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。Step 2003: Using the compensation adjustment coefficients of the gray levels of each channel of the pixel unit, compensate the gray levels of each channel of the pixel unit, and display the compensated current image.
作为一种可选的实施方式,所述根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数,包括:As an optional implementation, determining the compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen based on the compensation parameters includes:
根据所述补偿参数,预估当前图像中所述像素单位的输入负载和最大负载,其中最大负载表示利用所述像素单位各通道灰阶的最大值生成的灰度灰阶图像的输入负载; Based on the compensation parameters, the input load and maximum load of the pixel unit in the current image are estimated, where the maximum load represents the input load of the grayscale image generated using the maximum value of each channel grayscale of the pixel unit.
根据不同灰阶下的亮度和负载的第一线性关系,通过线性插值的方式,确定所述像素单位各通道灰阶在输入负载下的当前亮度,以及最大负载下的目标亮度;Based on the first linear relationship between brightness and load at different gray levels, the current brightness of each channel gray level of the pixel unit under the input load and the target brightness under the maximum load are determined by linear interpolation.
基于亮度和灰阶的非线性关系,根据所述像素单位各通道灰阶对应的当前亮度和目标亮度,确定所述像素单位各通道灰阶的补偿系数。Based on the nonlinear relationship between brightness and grayscale, the compensation coefficients for each channel grayscale of the pixel unit are determined according to the current brightness and target brightness corresponding to each channel grayscale of the pixel unit.
作为一种可选的实施方式,所述补偿参数包括各通道系数参数;通过如下方式确定所述各通道系数参数:As an optional implementation, the compensation parameters include coefficient parameters for each channel; the coefficient parameters for each channel are determined as follows:
确定纯白图像的亮度和负载的第二线性关系;Determine the second linear relationship between brightness and load in a pure white image;
确定第一测试图像,所述第一测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像;A first test image is determined, which includes grayscale images of each channel. Each grayscale image includes a preset region and a non-preset region. The preset region is a pure white image, and the non-preset region is a non-pure white image.
根据所述第二线性关系,确定第一测试图像中各通道灰阶图像的预设区域的亮度对应的负载;Based on the second linear relationship, determine the load corresponding to the brightness of the preset area of the grayscale image of each channel in the first test image;
根据第一测试图像中各通道灰阶图像的预设区域对应的负载,以及预设区域占各通道灰阶图像的显示区域的比例,确定各通道系数参数。The coefficient parameters for each channel are determined based on the load corresponding to the preset area of the grayscale image of each channel in the first test image, and the proportion of the preset area to the display area of the grayscale image of each channel.
作为一种可选的实施方式,所述补偿参数包括各通道指数参数;如下方式确定所述各通道指数参数:As an optional implementation, the compensation parameters include index parameters for each channel; the index parameters for each channel are determined as follows:
确定纯白图像的亮度和负载的第二线性关系;Determine the second linear relationship between brightness and load in a pure white image;
确定第二测试图像,所述第二测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域,所述预设区域为纯白图像,所述非预设区域为非纯白图像;A second test image is determined, which includes grayscale images of each channel. Each grayscale image includes a preset region and a non-preset region. The preset region is a pure white image, and the non-preset region is a non-pure white image.
改变第二测试图像中各通道灰阶图像中非预设区域的灰阶值,确定各通道灰阶图像中非预设区域的灰阶值和预设区域亮度的对应关系;Change the grayscale values of non-preset areas in each channel of the second test image to determine the correspondence between the grayscale values of non-preset areas and the brightness of preset areas in each channel of the grayscale image.
根据所述第二线性关系,以及各通道灰阶图像中非预设区域的灰阶值和预设区域亮度的对应关系,确定各通道灰阶图像中非预设区域的灰阶值对应的负载;Based on the second linear relationship and the correspondence between the grayscale values of non-preset areas and the brightness of preset areas in each channel grayscale image, the load corresponding to the grayscale values of non-preset areas in each channel grayscale image is determined.
基于负载随灰阶的变化呈指数变化的规律,根据各通道灰阶图像中非预 设区域的灰阶值对应的负载,确定各通道指数参数。Based on the exponential change in load with grayscale, and according to the non-pre-load data in each channel's grayscale image... Define the load corresponding to the grayscale value of the region and determine the index parameters for each channel.
作为一种可选的实施方式,所述基于负载随灰阶的变化呈指数变化的规律,根据各通道灰阶图像中非预设区域的灰阶值对应的负载,确定各通道指数参数,包括:As an optional implementation, based on the exponential variation of load with grayscale, the exponential parameters for each channel are determined according to the load corresponding to the grayscale values of non-preset areas in the grayscale image of each channel, including:
根据各通道灰阶图像中非预设区域的灰阶值对应的负载,以及各通道灰阶图像中预设区域占各通道灰阶图像的显示区域的比例,拟合得到各通道灰阶和负载的关系曲线;Based on the load corresponding to the grayscale values of non-preset areas in the grayscale images of each channel, and the proportion of the preset area in the display area of each channel's grayscale images, the relationship curve between grayscale and load of each channel is fitted.
根据各通道灰阶和负载的关系曲线中负载随各通道灰阶的变化规律,确定各通道指数参数。Based on the relationship curve between grayscale and load of each channel, the load variation law of grayscale of each channel is determined.
作为一种可选的实施方式,通过如下方式确定不同灰阶下的亮度和负载的第一线性关系:As an optional implementation, the first linear relationship between brightness and load at different gray levels is determined as follows:
根据最大负载下灰阶和亮度的关系曲线,确定最大负载下所述像素单位各通道灰阶对应的最大亮度;以及根据最小负载下灰阶和亮度的关系曲线,确定最小负载下所述像素单位各通道灰阶对应的最小亮度;Based on the relationship curve between grayscale and brightness under maximum load, determine the maximum brightness corresponding to each channel grayscale of the pixel unit under maximum load; and based on the relationship curve between grayscale and brightness under minimum load, determine the minimum brightness corresponding to each channel grayscale of the pixel unit under minimum load.
根据所述像素单位各通道灰阶对应的最大亮度、最小亮度、最大负载和最小负载,构建不同灰阶下的亮度和负载的第一线性关系。Based on the maximum brightness, minimum brightness, maximum load, and minimum load corresponding to each channel grayscale of the pixel unit, a first linear relationship between brightness and load under different grayscale levels is constructed.
作为一种可选的实施方式,通过如下方式确定最大负载或最小负载下灰阶和亮度的关系曲线:As an optional implementation, the relationship curve between grayscale and brightness under maximum or minimum load is determined as follows:
确定第三测试图像,所述第三测试图像包括各通道灰阶图像,各通道灰阶图像包括预设区域和非预设区域;A third test image is determined, which includes grayscale images of each channel, and each grayscale image of each channel includes a preset area and a non-preset area.
通过设置第三测试图像中非预设区域为白色,改变各通道灰阶图像中预设区域的大小和灰阶,以及设置第三测试图像中非预设区域为黑色,改变各通道灰阶图像中预设区域的大小和灰阶,确定各通道对应的负载、灰阶和亮度的关系;By setting the non-preset area in the third test image to white, changing the size and grayscale of the preset area in each channel's grayscale image, and setting the non-preset area in the third test image to black, changing the size and grayscale of the preset area in each channel's grayscale image, the relationship between the load, grayscale, and brightness of each channel is determined.
根据各通道对应的负载、灰阶和亮度的关系,拟合得到在最大负载或最小负载下各通道对应的灰阶和亮度的关系曲线。Based on the relationship between load, grayscale, and brightness of each channel, the relationship curves between grayscale and brightness of each channel under the maximum or minimum load are obtained by fitting.
作为一种可选的实施方式,所述亮度参数包括第一亮度校正参数;通过 如下方式确定第一亮度校正参数:As an optional implementation, the brightness parameters include a first brightness correction parameter; through The first brightness correction parameter is determined as follows:
基于显示屏能够显示的最高亮度下白色图像的最高亮度和补偿系数的线性关系,确定不同最高亮度下白色图像的最高亮度的线性变化规律;Based on the linear relationship between the maximum brightness of the white image under the highest brightness that the display screen can display and the compensation coefficient, the linear variation law of the maximum brightness of the white image under different maximum brightness is determined.
根据不同最高亮度下白色图像的最高亮度的线性变化规律,确定所述显示屏的最高亮度下的第一亮度校正参数。Based on the linear variation law of the maximum brightness of the white image under different maximum brightness levels, the first brightness correction parameter under the maximum brightness of the display screen is determined.
作为一种可选的实施方式,所述第一亮度校正参数包括第一缩放参数和第一偏置参数;所述根据不同最高亮度下白色图像的最高亮度的线性变化规律,确定所述显示屏的最高亮度下的第一亮度校正参数,包括:As an optional implementation, the first brightness correction parameter includes a first scaling parameter and a first bias parameter; determining the first brightness correction parameter at the highest brightness of the display screen based on the linear variation law of the highest brightness of the white image under different maximum brightness levels includes:
根据不同最高亮度下白色图像的最高亮度变化的缩放程度,确定不同最高亮度下的第一缩放参数;和/或,Based on the scaling degree of the maximum brightness change of the white image under different maximum brightness levels, determine the first scaling parameter for different maximum brightness levels; and/or,
根据不同最高亮度下白色图像的最高亮度变化的偏置程度,确定不同最高亮度下的第一偏置参数。The first bias parameter for different maximum brightness levels is determined based on the degree of bias in the maximum brightness variation of the white image under different maximum brightness levels.
作为一种可选的实施方式,所述亮度参数包括第二亮度校正参数;通过如下方式确定第二亮度校正参数:As an optional implementation, the brightness parameter includes a second brightness correction parameter; the second brightness correction parameter is determined in the following manner:
在高亮模式下,基于负载和补偿系数的线性关系,在最大补偿系数和最小补偿系数之间进行线性插值,得到负载和补偿系数的n个子线性关系,n为大于1的整数;所述负载是根据显示屏显示的图像确定的;In high-brightness mode, based on the linear relationship between load and compensation coefficient, linear interpolation is performed between the maximum and minimum compensation coefficients to obtain n sub-linear relationships between load and compensation coefficient, where n is an integer greater than 1; the load is determined according to the image displayed on the screen.
根据n个子线性关系中不同负载下的补偿系数的变化规律,确定显示的当前图像对应的第二亮度校正参数。Based on the variation law of the compensation coefficient under different loads in the n sub-linear relationships, the second brightness correction parameter corresponding to the displayed current image is determined.
作为一种可选的实施方式,所述第二亮度校正参数包括第二缩放参数和第二偏置参数;所述根据n个子线性关系中不同负载下的补偿系数的变化规律,确定显示的当前图像对应的第二亮度校正参数,包括:As an optional implementation, the second brightness correction parameter includes a second scaling parameter and a second offset parameter; determining the second brightness correction parameter corresponding to the displayed current image based on the variation law of the compensation coefficients under different loads in the n sub-linear relationships includes:
针对每个子线性关系,根据不同负载下补偿系数变化的缩放程度,确定每个子线性关系中不同负载对应的第二缩放参数;和/或,For each sub-linear relationship, based on the scaling degree of the compensation coefficient variation under different loads, determine the second scaling parameter corresponding to different loads in each sub-linear relationship; and/or,
针对每个子线性关系,根据不同负载下补偿系数变化的偏置程度,确定每个子线性关系中不同负载对应的第二偏置参数。 For each sub-linear relationship, the second bias parameter corresponding to different loads in each sub-linear relationship is determined based on the bias degree of the change in the compensation coefficient under different loads.
基于相同的发明构思,本公开实施例还提供了一种压降补偿方法,如图21所示,该方法的具体实施流程如下所示:Based on the same inventive concept, this disclosure also provides a voltage drop compensation method, as shown in Figure 21. The specific implementation flow of this method is as follows:
步骤2100、获取当前图像,确定当前图像显示时显示屏的输入负载;Step 2100: Obtain the current image and determine the input load of the display screen when the current image is displayed;
步骤2101、基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关系,确定所述输入负载对应的补偿亮度;Step 2101: Based on the sub-linear relationship corresponding to the input load among the n sub-linear relationships of load and compensated brightness, determine the compensated brightness corresponding to the input load;
其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数。The n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
基于相同的发明构思,本公开实施例还提供了一种电子设备,该电子设备解决问题的原理与该显示设备相似,因此该电子设备的实施可以参见显示设备的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides an electronic device that solves the problem in a similar principle to the display device. Therefore, the implementation of this electronic device can refer to the implementation of the display device, and repeated details will not be described again.
如图22所示,该电子设备包括处理器2200和存储器2201,所述存储器2201用于存储所述处理器2200可执行的程序,所述处理器2200用于读取所述存储器2201中的程序并执行如下步骤:As shown in Figure 22, the electronic device includes a processor 2200 and a memory 2201. The memory 2201 is used to store programs executable by the processor 2200. The processor 2200 is used to read the programs in the memory 2201 and perform the following steps:
获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;Obtain the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined based on the display characteristics of the display screen;
根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;The compensation coefficients for each channel grayscale of at least one pixel unit in the current image displayed on the screen are determined based on the compensation parameters.
利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;The compensation coefficients of the grayscale of each channel of the pixel unit are adjusted using the brightness parameter to obtain the compensation adjustment coefficients of the grayscale of each channel of the pixel unit.
利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The gray levels of each channel of the pixel unit are compensated using the compensation adjustment coefficients of each channel, and the compensated current image is then displayed.
基于相同的发明构思,本公开实施例还提供了一种电子设备,该电子设备解决问题的原理与该显示设备相似,因此该电子设备的实施可以参见显示设备的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides an electronic device that solves the problem in a similar principle to the display device. Therefore, the implementation of this electronic device can refer to the implementation of the display device, and repeated details will not be described again.
如图23所示,该电子设备包括处理器2300和存储器2301,所述存储器 2301用于存储所述处理器2300可执行的程序,所述处理器2300用于读取所述存储器2301中的程序并执行如下步骤:As shown in Figure 23, the electronic device includes a processor 2300 and a memory 2301, wherein the memory 2301 is used to store a program executable by the processor 2300, and the processor 2300 is used to read the program in the memory 2301 and perform the following steps:
获取当前图像,确定当前图像显示时显示屏的输入负载;Acquire the current image and determine the input load on the display screen when the current image is displayed;
基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关系,确定所述输入负载对应的补偿亮度;Based on the sub-linear relationship corresponding to the input load among n sub-linear relationships of load and compensated brightness, determine the compensated brightness corresponding to the input load;
其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数The n sub-linear relationships mentioned above are obtained by linear interpolation between the maximum and minimum compensated brightness, based on the linear relationship between load and compensated brightness, where n is an integer greater than 1.
基于相同的发明构思,本公开实施例还提供了一种压降补偿系统,如图24所示,包括控制设备2400和显示设备2401;Based on the same inventive concept, this disclosure also provides a voltage drop compensation system, as shown in FIG24, including a control device 2400 and a display device 2401;
控制设备2400用于确定显示设备的显示屏对应的补偿参数和亮度参数,并将补偿参数和亮度参数写入显示设备的驱动芯片;其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;The control device 2400 is used to determine the compensation parameters and brightness parameters corresponding to the display screen of the display device, and write the compensation parameters and brightness parameters into the driver chip of the display device; wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
显示设备2401用于根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数;利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The display device 2401 is used to determine the compensation coefficient of each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters; adjust the compensation coefficient of each channel grayscale of the pixel unit using the brightness parameters to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit; compensate the grayscale of each channel of the pixel unit using the compensation adjustment coefficient of each channel grayscale of the pixel unit, and display the compensated current image.
基于相同的发明构思,本公开实施例还提供了一种压降补偿装置,该装置解决问题的原理与该显示设备相似,因此该方法的实施可以参见显示设备的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides a voltage drop compensation device. The principle of this device in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and the repeated parts will not be described again.
如图25所示,该装置包括:As shown in Figure 25, the device includes:
获取参数模块2500,用于获取显示屏的补偿参数和亮度参数,其中所述补偿参数和所述亮度参数是根据显示屏的显示特性确定的;The parameter acquisition module 2500 is used to acquire the compensation parameters and brightness parameters of the display screen, wherein the compensation parameters and brightness parameters are determined according to the display characteristics of the display screen;
系数确定模块2501,用于根据所述补偿参数确定显示屏显示的当前图像中至少一个像素单位各通道灰阶的补偿系数; The coefficient determination module 2501 is used to determine the compensation coefficients of each channel grayscale of at least one pixel unit in the current image displayed on the display screen according to the compensation parameters.
系数调整模块2502,用于利用亮度参数对所述像素单位各通道灰阶的补偿系数进行调整,得到所述像素单位各通道灰阶的补偿调整系数;The coefficient adjustment module 2502 is used to adjust the compensation coefficient of each channel grayscale of the pixel unit using the brightness parameter, so as to obtain the compensation adjustment coefficient of each channel grayscale of the pixel unit.
图像补偿模块2503,用于利用所述像素单位各通道灰阶的补偿调整系数,对所述像素单位各通道灰阶进行补偿,并对补偿后的当前图像进行显示。The image compensation module 2503 is used to compensate the gray levels of each channel of the pixel unit using the compensation adjustment coefficient of each channel gray level, and to display the compensated current image.
基于相同的发明构思,本公开实施例还提供了一种压降补偿装置,该装置解决问题的原理与该显示设备相似,因此该方法的实施可以参见显示设备的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides a voltage drop compensation device. The principle of this device in solving the problem is similar to that of the display device. Therefore, the implementation of this method can be referred to the implementation of the display device, and the repeated parts will not be described again.
如图26所示,该装置包括:As shown in Figure 26, the device includes:
确定负载模块2600,用于获取当前图像,确定当前图像显示时显示屏的输入负载;The load module 2600 is used to acquire the current image and determine the input load of the display screen when the current image is displayed.
亮度补偿模块2601,用于基于负载和补偿亮度的n个子线性关系中所述输入负载对应的子线性关系,确定所述输入负载对应的补偿亮度;其中所述n个子线性关系是基于负载和补偿亮度的线性关系,在最大补偿亮度和最小补偿亮度之间进行线性插值得到的,n为大于1的整数。The brightness compensation module 2601 is used to determine the compensation brightness corresponding to the input load based on the sub-linear relationship corresponding to the input load among n sub-linear relationships between the load and the compensation brightness; wherein the n sub-linear relationships are obtained by linear interpolation between the maximum compensation brightness and the minimum compensation brightness based on the linear relationship between the load and the compensation brightness, and n is an integer greater than 1.
基于同一发明构思,本公开实施例提供一种计算机存储介质,计算机存储介质包括:计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如前文论述任一的压降补偿方法。由于上述计算机存储介质解决问题的原理与压降补偿方法相似,因此上述计算机存储介质的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure provides a computer storage medium comprising: computer program code, which, when executed on a computer, causes the computer to perform any of the voltage drop compensation methods discussed above. Since the principle by which the computer storage medium solves the problem is similar to that of the voltage drop compensation method, the implementation of the computer storage medium can be referred to the implementation of the method, and repeated details will not be elaborated further.
在具体的实施过程中,计算机存储介质可以包括:通用串行总线闪存盘(USB,Universal Serial Bus Flash Drive)、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的存储介质。In specific implementation, computer storage media can include: Universal Serial Bus Flash Drive (USB), portable hard drive, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, and other storage media that can store program code.
基于同一发明构思,本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行 时,使得计算机执行如前文论述任一的压降补偿方法。由于上述计算机程序产品解决问题的原理与压降补偿方法相似,因此上述计算机程序产品的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, this disclosure also provides a computer program product, which includes: computer program code, which, when executed on a computer... At this time, the computer executes any of the voltage drop compensation methods discussed above. Since the principle behind the problem-solving of the above computer program product is similar to that of the voltage drop compensation method, the implementation of the above computer program product can be found in the implementation of the method, and repeated details will not be elaborated here.
计算机程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。Computer program products may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。This disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and/or one or more block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction device that implements the functions specified in one or more flowcharts and/or one or more block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and/or one or more block diagrams.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from its spirit and scope. Therefore, if such modifications and variations fall within the scope of the claims of this disclosure and their equivalents, this disclosure is also intended to include such modifications and variations.
Claims (32)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2024/090179 WO2025222510A1 (en) | 2024-04-26 | 2024-04-26 | Display device, voltage drop compensation method and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2024/090179 WO2025222510A1 (en) | 2024-04-26 | 2024-04-26 | Display device, voltage drop compensation method and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025222510A1 true WO2025222510A1 (en) | 2025-10-30 |
Family
ID=97489155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/090179 Pending WO2025222510A1 (en) | 2024-04-26 | 2024-04-26 | Display device, voltage drop compensation method and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025222510A1 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070126661A1 (en) * | 2005-12-07 | 2007-06-07 | Marketech Internation Corp. | Apparatus and method for adjusting image on the basis of characteristics of display system |
| CN103943093A (en) * | 2014-04-04 | 2014-07-23 | 中国电子科技集团公司第五十五研究所 | Method and device for improving luminance uniformity of passive matrix organic light-emitting diode display screen |
| WO2021232198A1 (en) * | 2020-05-18 | 2021-11-25 | 华为技术有限公司 | Display screen brightness adjustment method and apparatus |
| CN113936594A (en) * | 2021-10-20 | 2022-01-14 | 北京集创北方科技股份有限公司 | Display panel compensation method and device, electronic equipment and storage medium |
| CN114387912A (en) * | 2020-10-16 | 2022-04-22 | 三星显示有限公司 | Display device and driving method of display device |
| CN115565488A (en) * | 2022-09-28 | 2023-01-03 | 京东方科技集团股份有限公司 | Brightness compensation method and device, computer-readable storage medium |
| CN117769734A (en) * | 2022-06-30 | 2024-03-26 | 京东方科技集团股份有限公司 | Spliced display screen and display method |
-
2024
- 2024-04-26 WO PCT/CN2024/090179 patent/WO2025222510A1/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070126661A1 (en) * | 2005-12-07 | 2007-06-07 | Marketech Internation Corp. | Apparatus and method for adjusting image on the basis of characteristics of display system |
| CN103943093A (en) * | 2014-04-04 | 2014-07-23 | 中国电子科技集团公司第五十五研究所 | Method and device for improving luminance uniformity of passive matrix organic light-emitting diode display screen |
| WO2021232198A1 (en) * | 2020-05-18 | 2021-11-25 | 华为技术有限公司 | Display screen brightness adjustment method and apparatus |
| CN114387912A (en) * | 2020-10-16 | 2022-04-22 | 三星显示有限公司 | Display device and driving method of display device |
| CN113936594A (en) * | 2021-10-20 | 2022-01-14 | 北京集创北方科技股份有限公司 | Display panel compensation method and device, electronic equipment and storage medium |
| CN117769734A (en) * | 2022-06-30 | 2024-03-26 | 京东方科技集团股份有限公司 | Spliced display screen and display method |
| CN115565488A (en) * | 2022-09-28 | 2023-01-03 | 京东方科技集团股份有限公司 | Brightness compensation method and device, computer-readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5430068B2 (en) | Display device | |
| CN109979401B (en) | Driving method, driving apparatus, display device, and computer readable medium | |
| CN102105104B (en) | Gray scale display device | |
| CN113724652B (en) | Compensation method and device for Mura of OLED display panel and readable medium | |
| CN112071267B (en) | Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium | |
| KR100866424B1 (en) | Real-time dynamic design of liquid crystal displaylcd panel power management through brightness control | |
| CN110301000B (en) | Method for compensating brightness unevenness of display device and corresponding display device | |
| CN102194440B (en) | Apparatus and method for enhancing the readability of characters | |
| CN104969285B (en) | Electronic equipment, display control unit and its method | |
| JP6614859B2 (en) | Display device, display device control method, image processing device, program, and recording medium | |
| US10366673B2 (en) | Display device and image processing method thereof | |
| CN112150972B (en) | Image compensation method and device, and display device | |
| CN109997354B (en) | Display device and control method thereof | |
| CN109855727B (en) | Ambient light detection method, device, electronic device and storage medium | |
| CN111754946B (en) | Image quality optimization method, display device, and computer-readable storage medium | |
| CN115831053B (en) | Display screen aging compensation method, device, equipment and storage medium | |
| KR20190027131A (en) | Apparatus and method for display visibility enhancement | |
| JP2015031874A (en) | Display device, control method of display device, and program | |
| WO2016013125A1 (en) | Video conversion method, video conversion device, computer program for video conversion, video display system | |
| WO2025148758A1 (en) | Display screen brightness compensation method and related device | |
| CN110021268B (en) | OLED display control method and device | |
| CN116860143A (en) | Image display processing method and device | |
| JP7313287B2 (en) | Method and apparatus for displaying images on dual display panel | |
| CN102859578A (en) | Display device, display method and program | |
| WO2025222510A1 (en) | Display device, voltage drop compensation method and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24936416 Country of ref document: EP Kind code of ref document: A1 |