Image processing method and apparatus, display device, electronic device, and storage medium

By obtaining brightness compensation parameters to adjust the grayscale of the image on the display device, the problem that a fixed gamma value curve cannot take into account both low-level and high-level brightness is solved, thus achieving an improvement in the effect of both low-level and high-level brightness in the display device.

CN115273724BActive Publication Date: 2026-02-24CHIPONE (SHENZHEN) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211001072.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2026-02-24
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

In existing technologies, when adjusting the brightness of an image displayed by a display device, a curve with a fixed gamma value cannot take into account both low-level and high-level brightness effects, resulting in the inability to display low-level image details or the loss of color saturation and layering in high-level images.

Method used

By acquiring brightness compensation parameters, the grayscale of multiple pixels in the input image is adjusted, and the adjustment parameters are determined to achieve grayscale adjustment, taking into account both low-level and high-level brightness effects.

Benefits of technology

It achieves a balance between low-end and high-end brightness effects in display devices, improves image detail clarity and color performance, and expands the applicability of the adjustment method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115273724B_ABST
    Figure CN115273724B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image processing method and device, a display device, an electronic device, and a storage medium. The method comprises: obtaining a brightness compensation parameter of an input image; determining an adjustment parameter according to the brightness compensation parameter; adjusting the gray scale of a plurality of pixel points of the input image according to the adjustment parameter to obtain the brightness value of the plurality of pixel points. According to the image processing method of the embodiment of the present disclosure, the adjustment parameter for adjusting the gray scale of the plurality of pixel points of the input image can be obtained through the brightness compensation parameter, various adjustment parameters can be determined for various gray scales, instead of fixing the gamma value, and therefore, the brightness effect of low order and high order can be taken into account.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, and particularly relates to an image processing method and device, a display device, an electronic device and a storage medium. BACKGROUND

[0002] In the related art, when adjusting the brightness of an image displayed by a display device, the gamma value of the display device is adjusted, the gamma value being the relationship between the brightness of an image output by the display device and the brightness of an input image input into a digital gamma control (DGC) unit in the display device, and generally being a proportional relationship. The scheme of adjusting the gamma value is based on the characteristics that the human eye is not sensitive to high-order (high gray scale) changes and is highly sensitive to low-order (low gray scale) changes, and a standard gray scale brightness curve of a display device is set, for example, for any gray scale n, the ratio of its brightness to the brightness of the highest order 255 is (n / 255)^Log, for example, if the gamma value is 2.2, then the transmittance (ratio of current brightness to maximum brightness) of any gray scale n is (n / 255)^2.2.

[0003] However, the standard gray scale brightness curve set in the related art is a curve (represented as a straight line) of a fixed gamma value, and this way cannot take into account the brightness effects of low-order and high-order. If the gamma value is high, the overall picture is bright, the low-order picture has good transmittance, and details under low brightness can be seen, but the high-order picture is white, and the color saturation and level sense are severely lost. If the gamma value is low, the overall picture is dark, the high-order picture has good level sense, but the low-order picture is almost invisible, and details in the dark area of the picture cannot be displayed. SUMMARY

[0004] Therefore, the present disclosure provides an image processing method and device, a display device, an electronic device and a storage medium.

[0005] According to an aspect of the present disclosure, an image processing method is provided, comprising:

[0006] obtaining a brightness compensation parameter of an input image, the brightness compensation parameter compensating the brightness of the input image by adjusting the gray scale of a plurality of pixel points of the input image;

[0007] determining an adjustment parameter for adjusting the gray scale of the plurality of pixel points of the input image according to the brightness compensation parameter;

[0008] adjusting the gray scale of the plurality of pixel points of the input image according to the adjustment parameter to obtain the brightness value of the plurality of pixel points.

[0009] In a possible implementation manner, the brightness compensation parameter of the input image is obtained, comprising:

[0010] Obtain the range of brightness compensation parameters;

[0011] If the obtained brightness compensation parameter is not within the range of the brightness compensation parameter, the range boundary of the brightness compensation parameter is determined as the brightness compensation parameter.

[0012] In one possible implementation, the method further includes:

[0013] Obtain the stopping operation node for grayscale, wherein grayscale values ​​greater than or equal to the stopping operation node are retained as their original values.

[0014] In one possible implementation, adjustment parameters for adjusting the grayscale of multiple pixels in the input image are determined based on the brightness compensation parameters, including:

[0015] When the gray level of a pixel is less than the stop operation node, the adjustment parameter is obtained based on the stop operation node, the brightness compensation parameter, and the gray level.

[0016] In one possible implementation, adjustment parameters for adjusting the grayscale of multiple pixels in the input image are determined based on the brightness compensation parameters, including:

[0017] If the gray level of a pixel is greater than or equal to the stop operation node, the adjustment parameter is set to 1.

[0018] In one possible implementation, the grayscale of multiple pixels in the input image is adjusted according to adjustment parameters to obtain the brightness values ​​of the multiple pixels, including:

[0019] The gray levels of the pixels are normalized to obtain the first gray level;

[0020] Obtain a first brightness value with the first gray level as the base and the adjustment parameter as the exponent;

[0021] The brightness value of the pixel is obtained by inverse normalization of the first brightness value.

[0022] In one possible implementation, the method further includes:

[0023] Based on the brightness values ​​of the pixels, an output image is obtained for display on the display device.

[0024] According to another aspect of this disclosure, an image processing apparatus is provided, the apparatus comprising:

[0025] A brightness compensation parameter acquisition module is used to acquire brightness compensation parameters of an input image. The brightness compensation parameters are obtained by adjusting the grayscale of multiple pixels in the input image to compensate for the brightness of the input image.

[0026] The adjustment parameter determination module is used to determine adjustment parameters for adjusting the gray levels of multiple pixels in the input image based on the brightness compensation parameters.

[0027] An adjustment module is used to adjust the grayscale of multiple pixels in the input image according to adjustment parameters to obtain the brightness values ​​of the multiple pixels.

[0028] In one possible implementation, the brightness compensation parameter acquisition module is further configured to: acquire the range of the brightness compensation parameter; and, if the acquired brightness compensation parameter is not within the range of the brightness compensation parameter, determine the range boundary of the brightness compensation parameter as the brightness compensation parameter.

[0029] In one possible implementation, the device further includes: a node acquisition module, used to acquire a stop calculation node for grayscale, wherein grayscale values ​​greater than or equal to the stop calculation point are retained in their original values.

[0030] In one possible implementation, the adjustment parameter determination module is further configured to: obtain the adjustment parameter based on the stop operation node, the brightness compensation parameter, and the gray level when the gray level of a pixel is less than the stop operation node.

[0031] In one possible implementation, the adjustment parameter determination module is further configured to: set the adjustment parameter to 1 when the gray level of a pixel is greater than or equal to the stop operation node.

[0032] In one possible implementation, the adjustment module is further configured to: normalize the grayscale of the pixel to obtain a first grayscale;

[0033] Obtain a first brightness value with the first gray level as the base and the adjustment parameter as the exponent;

[0034] The brightness value of the pixel is obtained by inverse normalization of the first brightness value.

[0035] In one possible implementation, the device further includes a display module for obtaining an output image for display by a display device based on the brightness value of the pixel.

[0036] According to another aspect of this disclosure, a display device is provided, including a plurality of display units and a processor, the processor being configured to implement the above-described method by executing instructions.

[0037] In one possible implementation, the display unit includes a display panel, which includes at least one of a liquid crystal display panel, a micro light-emitting diode display panel, a light-emitting diode display panel, a mini light-emitting diode display panel, a quantum dot light-emitting diode display panel, an organic light-emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small-pitch display panel.

[0038] According to another aspect of this disclosure, an electronic device is provided, including the aforementioned display device.

[0039] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.

[0040] According to another aspect of this disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.

[0041] According to another aspect of this disclosure, a driver chip is provided for performing the image processing method.

[0042] According to the image processing method of the embodiments of the present disclosure, the adjustment parameters for grayscale adjustment of multiple pixels of the input image can be obtained through the brightness compensation parameters. Various adjustment parameters can be determined for various grayscale levels instead of fixing the gamma value. Therefore, both low-level and high-level brightness effects can be taken into account.

[0043] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0044] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0045] Figure 1 A flowchart illustrating an image processing method according to an embodiment of the present disclosure is shown;

[0046] Figure 2 A schematic diagram showing an image display according to an embodiment of the present disclosure;

[0047] Figure 3 A schematic diagram showing the relationship between brightness compensation parameters and adjustment parameters according to an embodiment of the present disclosure is provided.

[0048] Figure 4 A schematic diagram showing the relationship between brightness compensation parameters and brightness values ​​according to an embodiment of the present disclosure is provided.

[0049] Figure 5 This diagram illustrates an application of an image processing method according to an embodiment of the present disclosure.

[0050] Figure 6 A block diagram of an image processing apparatus according to an embodiment of the present disclosure is shown;

[0051] Figure 7 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0052] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0053] In the description of this disclosure, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this disclosure and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure.

[0054] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise expressly specified.

[0055] In this disclosure, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this disclosure according to the specific circumstances.

[0056] In this document, the term "and / or" is merely a description of 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. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0057] To address the problem that related technologies cannot simultaneously achieve both low-order and high-order brightness effects, this disclosure provides an image processing method.

[0058] Figure 1 A flowchart illustrating an image processing method according to an embodiment of the present disclosure is shown. Figure 1 As shown, it includes:

[0059] In step S11, the brightness compensation parameters of the input image are obtained. The brightness compensation parameters are obtained by adjusting the gray levels of multiple pixels in the input image to compensate for the brightness of the input image.

[0060] In step S12, adjustment parameters for adjusting the grayscale of multiple pixels in the input image are determined based on the brightness compensation parameters.

[0061] In step S13, the grayscale of multiple pixels in the input image is adjusted according to the adjustment parameters to obtain the brightness values ​​of the multiple pixels.

[0062] According to the image processing method of the embodiments of the present disclosure, the adjustment parameters for grayscale adjustment of multiple pixels of the input image can be obtained through the brightness compensation parameters. Various adjustment parameters can be determined for various grayscale levels instead of fixing the gamma value. Therefore, both low-level and high-level brightness effects can be taken into account.

[0063] In one possible implementation, when a display device displays an image, the RGB values ​​of each pixel in the input image can be processed by a digital gamma control unit to achieve various image adjustment processes. Each RGB value corresponds to a grayscale level; for example, RGB values ​​can correspond to the grayscale levels of R, G, and B values. The digital gamma control unit can adjust the image's color, brightness, grayscale, white balance, contrast, etc. After adjustment, the RGB values ​​of multiple pixels in the image can change, resulting in adjusted RGB values; that is, the grayscale level changes, resulting in adjusted grayscale levels. The adjusted RGB values ​​can be input to an analog gamma control unit, which can generate an analog voltage based on the adjusted RGB values, thereby controlling the display device to display the adjusted image.

[0064] Figure 2 A schematic diagram showing an image display according to an embodiment of the present disclosure is shown, such as... Figure 2 As shown, the RGB values ​​(i.e., digital-R, digital-G, and digital-B) of the input image can be input to the digital gamma control unit for adjustment, thereby obtaining adjusted digital data R1, G1, B1 (i.e., digital-R1, digital-G1, and digital-B1). This digital data R1, G1, and B1 are then input to the analog gamma control unit, which converts the input digital signal into an analog voltage and controls the display panel to display accordingly based on the analog voltage. Alternatively, the analog voltage output by the analog gamma control unit can be directly adjusted. That is, the digital RGB data can be directly input to the analog gamma control unit, converted into an analog voltage, and then adjusted so that the display panel displays based on the adjusted analog voltage. However, this control method involves the performance of the display device itself. For example, directly adjusting the analog voltage may not achieve the ideal state due to the performance limitations of the display device. Therefore, the applicability of this adjustment method may be limited by the performance of the display device.

[0065] In one possible implementation, based on the above factors, the input digital RGB data can be adjusted by a digital gamma control unit, that is, the grayscale corresponding to the RGB values ​​can be adjusted to achieve the desired adjustment effect and improve the applicability of the adjustment method.

[0066] In one possible implementation, during the brightness adjustment process, the grayscale can be adjusted. For example, the grayscale of the R value, B value, and G value of a pixel can all be adjusted in the same way, for example, by adjusting their respective adjustment parameters, thereby adjusting the brightness of the image to obtain the brightness value of the pixel, while taking into account both low-level and high-level brightness effects.

[0067] In one possible implementation, the brightness compensation parameter can be a parameter input to a digital gamma control unit. The digital gamma control unit can adjust the grayscale (e.g., grayscale corresponding to RGB values) of multiple pixels in the input image using the brightness compensation parameter, thereby compensating for the brightness of the input image. Furthermore, the adjustment range of the grayscale will not increase indefinitely, thus limiting the range of the brightness compensation parameter.

[0068] In one possible implementation, step S11 may include: obtaining the range of the brightness compensation parameter; if the obtained brightness compensation parameter is not within the range of the brightness compensation parameter, determining the range boundary of the brightness compensation parameter as the brightness compensation parameter.

[0069] In the example, the range of the brightness compensation parameter can be set to [-0.99, 0.99], meaning the maximum value of the brightness compensation parameter is 0.99 and the minimum value is -0.99. If the value exceeds this range, the range boundary is used as the brightness compensation parameter. For example, if the user inputs a brightness compensation parameter of 1.5 into the digital gamma control unit, exceeding the upper limit of the brightness compensation parameter range, then the upper boundary value of the brightness compensation parameter range, 0.99, is used as the brightness compensation parameter. That is, the digital gamma control unit can use 0.99 as the brightness compensation parameter to adjust the grayscale of the input image. As another example, if the user inputs a brightness compensation parameter of -1.5 into the digital gamma control unit, exceeding the lower limit of the brightness compensation parameter range, then the lower boundary value of the brightness compensation parameter range, -0.99, is used as the brightness compensation parameter. That is, the digital gamma control unit can use -0.99 as the brightness compensation parameter to adjust the grayscale of the input image. When the brightness compensation parameter is greater than 0, positive compensation can be applied to the brightness of the input image, that is, the brightness of the input image is increased. Conversely, when the brightness compensation parameter is less than 0, negative compensation can be applied to the brightness of the input image, that is, the brightness of the input image is decreased. When the brightness compensation parameter is equal to 0, no compensation is applied to the brightness of the input image. This disclosure does not limit the specific numerical range of the brightness compensation parameter.

[0070] In one possible implementation, in order to balance the brightness effects of both low and high levels, and considering that the human eye is not sensitive to high-level changes but is highly sensitive to low-level changes, adjustment parameters can be set to adjust the grayscale of low levels. This allows compensation for low-level conditions while maintaining the high-level effects in the image, resulting in better transmittance for the low-level parts of the image and enhancing the clarity in low-level conditions.

[0071] In one possible implementation, the method further includes: obtaining a stop calculation node for gray levels, wherein gray levels greater than the stop calculation node retain their original values. That is, after setting the stop calculation node, if the gray level is less than the stop calculation node, the adjustment parameter for the gray level can be determined based on step S12; if the gray level is greater than or equal to the stop calculation node, the gray level can be kept at its original value.

[0072] In one possible implementation, in step S12, if the grayscale of a pixel is less than the stop calculation node, an adjustment parameter for adjusting the brightness of the pixel can be calculated. Step S12 may include: if the grayscale of a pixel is less than the stop calculation node, obtaining the adjustment parameter based on the stop calculation node, the brightness compensation parameter, and the grayscale.

[0073] In the example, the adjustment parameter can be determined according to the following formula (1):

[0074] L=GammaCurve-(SreGain×(EndPoint-n) / EndPoint) (1)

[0075] Wherein, L is the adjustment parameter, SreGain is the brightness compensation parameter, n is the grayscale of a pixel in the input image, such as the grayscale of the R value, G value, or B value, and EndPoint is the stop operation node. In the example, EndPoint = 192. This disclosure does not limit the specific value of the stop operation node. GammaCurve is the gamma slope. In the example, the gamma value is the brightness relationship between the output image and the input image of the digital gamma control unit, such as a proportional relationship. Brightness can be represented by grayscale. Therefore, the gamma value can be determined by the proportional relationship between the grayscale of the output image and the input image. The gamma slope is the slope of the curve formed by the grayscale of the output image and the grayscale of the input image of the digital gamma control unit. When no processing is performed, the gamma slope is 1, that is, the grayscale of the output image is equal to the grayscale of the input image. If brightness adjustment is performed by an analog gamma control unit, the gamma slope can be set to 2.2. This disclosure does not limit the specific value of the gamma slope.

[0076] In one possible implementation, the adjustment parameter is obtained when the gray level is less than the stopping node. When the gray level is greater than or equal to the stopping node, the gray level is not adjusted, i.e., the gray level remains unchanged. Step S12 may include: setting the adjustment parameter to 1 when the gray level of a pixel is greater than or equal to the stopping node.

[0077] Figure 3 A schematic diagram illustrating the relationship between brightness compensation parameters and adjustment parameters according to an embodiment of the present disclosure is shown, such as... Figure 3 As shown, the horizontal axis represents the grayscale of the pixels in the input image, the vertical axis represents the adjustment parameters, and the numbers marked on each curve represent the brightness compensation parameters.

[0078] In one possible implementation, when the gray level of a pixel in the input image is greater than or equal to the stopping node (e.g., 192), the adjustment parameter is equal to 1. This adjustment parameter keeps the gray level unchanged. In other words, when the gray level of a pixel in the input image is greater than or equal to the stopping node, the gamma slope is still equal to 1.

[0079] In one possible implementation, when the grayscale of a pixel in the input image is less than the stopping node (e.g., 192), the adjustment parameter can be obtained based on the input brightness compensation parameter; that is, the adjusted gamma slope of the output can be obtained, such as... Figure 3As shown, the relationship curve between the adjustment parameter determined based on various brightness compensation parameters and the grayscale of the pixels in the input image is illustrated. In the example, when the grayscale of the pixels in the input image is less than the stopping node (e.g., 192), and the input brightness compensation parameter is greater than 0 and less than or equal to 0.99, the adjustment parameter determined based on formula (1) is less than 1. When the brightness compensation parameter is equal to 0, the adjustment parameter is equal to 1, that is, no brightness adjustment is performed. Furthermore, the output data of the digital gamma control unit is in digital format, and the precision of the output data of the digital gamma control unit can be controlled, for example, the number of decimal places retained (e.g., retaining two decimal places), thereby enabling... Figure 3 The curves are smoother, and the data is more accurate.

[0080] In one possible implementation, in step S13, the grayscale of each pixel in the input image can be adjusted based on the adjustment parameters determined above. In the example, the grayscale being adjusted can be a normalized grayscale. After normalization, it is easier to perform calculations on the grayscale, improving the versatility of the calculations and helping to avoid grayscale overflow. For example, in some calculation methods, the upper limit of the grayscale is 255, but some display devices cannot display all grayscales, for example, if the upper limit is lower than 255. In this case, the grayscale can be normalized first, and then the corresponding calculations can be performed. After the calculations, inverse normalization can be performed according to the upper limit of the display device, thus obtaining a grayscale suitable for the display device. The versatility of the calculations can be improved in this way.

[0081] In one possible implementation, based on the above factors, during the calculation process, the normalized grayscale can be adjusted by adjusting parameters. Step S13 may include: normalizing the grayscale of the pixel to obtain a first grayscale; obtaining a first brightness value with the first grayscale as the base and the adjustment parameter as the exponent; and performing inverse normalization on the first brightness value to obtain the brightness value of the pixel.

[0082] In one possible implementation, after normalization (e.g., dividing the gray level of a pixel by 255), the upper limit of the first gray level is always 1. The first gray level can be adjusted by changing parameters; for example, using the first gray level as the base and the adjustment parameter as the exponent, an exponential function is used to obtain the first brightness value. Because of the normalization process, the upper limit of the obtained first brightness value is also 1. Therefore, the first brightness value simplifies calculations and improves the versatility of the calculation. For example, it facilitates calculations in other brightness value processing and effectively avoids overflow.

[0083] In one possible implementation, when it is necessary to display the output image, the brightness value of the output image can be obtained by inverse normalization according to the upper limit of the display device, as described above. For example, the brightness value of the output image, i.e., the brightness value of the pixel, can be obtained by the following formula (2):

[0084] lightness=(n / 255)^(GammaCurve-(SreGain*(EndPoint-n) / EndPoint))×255 (2)

[0085] Where n / 255 is used to normalize the grayscale, GammaCurve-(SreGain*(EndPoint-n) / EndPoint) is the adjustment parameter L, and finally multiplying by 255 (taking the grayscale upper limit of the display device as 255 as an example) is used to perform inverse normalization on the first brightness value.

[0086] Furthermore, the brightness value determined according to formula (2) is the grayscale value of the output image. The method further includes: obtaining an output image for display on a display device based on the brightness value of the pixel. That is, the brightness value of the pixel is used as the grayscale value of the output image, and the analog voltage is determined based on the grayscale value by the analog gamma control unit, and the output image is displayed on the display panel.

[0087] Figure 4 A schematic diagram illustrating the relationship between brightness compensation parameters and brightness values ​​according to an embodiment of the present disclosure is shown, as follows: Figure 4 As shown, the horizontal axis represents the grayscale of the pixels in the input image, and the vertical axis represents the grayscale of the pixels in the output image (i.e., the grayscale of the pixels output by the digital gamma control unit, which is also the brightness value of the pixel, for example, the brightness value determined according to formula (2)). The numbers marked on each curve are the brightness compensation parameters.

[0088] In one possible implementation, if the gray level of a pixel in the input image is greater than or equal to the gray level of the stopping node (e.g., 192), the gray level of the pixel in the output image is equal to the gray level of the pixel in the input image, that is, the gray level is kept at its original value.

[0089] In one possible implementation, when the gray level of a pixel in the input image is less than the stopping node (e.g., 192), an adjustment parameter can be obtained based on the input brightness compensation parameter, and the brightness value of the pixel can be obtained according to formula (2). That is, the adjusted gray level and the brightness values ​​corresponding to each gray level of the input image can constitute... Figure 3 The curve shown. (As shown) Figure 3As shown, after the above adjustments, the high-level grayscale (i.e., the grayscale greater than or equal to the stop operation node) can be kept at its original value, while the low-level grayscale (i.e., the grayscale less than the stop operation node) can be compensated to increase the low-level grayscale, so that the low-level parts in the image have better transmittance and enhance the clarity in the low-level case.

[0090] The image processing method according to embodiments of this disclosure can obtain adjustment parameters for adjusting the grayscale of multiple pixels in an input image through brightness compensation parameters. Various adjustment parameters can be determined for different grayscale levels, rather than fixing the gamma value. This allows higher-level grayscale levels to maintain their original values ​​while increasing lower-level grayscale levels, thus balancing the brightness effects of both low and high levels. Furthermore, the grayscale can be normalized before adjustment through adjustment parameters, improving the versatility of the adjustment method. The method adjusts the grayscale output by the digital gamma control unit without directly adjusting the analog gamma control unit, and does not involve the performance of the display device itself, thus expanding the applicability of the method.

[0091] Figure 5 This diagram illustrates an application of an image processing method according to an embodiment of the present disclosure, such as... Figure 5 As shown, the digital gamma control unit can process the RGB values ​​of the input image, for example, process the gray levels of the R, G, and B values, thereby adjusting the brightness of the input image and obtaining the adjusted output image.

[0092] In one possible implementation, the gray levels of the pixels in the input image can be normalized. For example, the gray levels of the R, G, and B values ​​can be normalized separately to obtain a first gray level. This first gray level can then be adjusted.

[0093] In one possible implementation, brightness compensation parameters can be input to the digital gamma control unit. The digital gamma control unit can determine whether the input brightness compensation parameters exceed a preset range. If they exceed the preset range, the boundary of the preset range can be used as the brightness compensation parameters; otherwise, the brightness compensation parameters can be obtained directly.

[0094] In one possible implementation, the digital gamma control unit can determine the adjustment parameters of the gray level of each pixel based on the brightness compensation parameters and the gray level of each pixel, according to formula (1). For example, the adjustment parameters of the gray level of the R value, the gray level of the G value and the gray level of the B value of each pixel can be obtained.

[0095] In one possible implementation, the normalized first grayscale can be adjusted based on the adjustment parameters obtained above. For example, a first brightness value can be obtained with the first grayscale as the base and the adjustment parameter as the exponent. Further, during display, the first brightness value can be inversely normalized to obtain the grayscale of the RGB values ​​of the output image, such as the grayscale of the R2 value, the grayscale of the B2 value, and the grayscale of the G2 value. That is, the grayscale of each pixel in the output image can be obtained based on formula (2).

[0096] In one possible implementation, the RGB values ​​of the output image can be input into the analog gamma control unit, which then controls the analog voltage based on the R2, B2, and G2 values ​​to obtain the analog data R3, B3, and G3 values, i.e., the output values ​​of the display panel, thereby enabling the display panel to display the output image after brightness adjustment.

[0097] The brightness adjustment described above can make details in low-resolution images clearer and improve the display effect.

[0098] Figure 6 A block diagram of an image processing apparatus according to an embodiment of the present disclosure is shown, such as Figure 6 As shown, the device includes:

[0099] The brightness compensation parameter acquisition module 11 is used to acquire the brightness compensation parameters of the input image. The brightness compensation parameters are used to compensate the brightness of the input image by adjusting the grayscale of multiple pixels in the input image.

[0100] The adjustment parameter determination module 12 is used to determine adjustment parameters for adjusting the gray levels of multiple pixels in the input image based on the brightness compensation parameters.

[0101] The adjustment module 13 is used to adjust the grayscale of multiple pixels in the input image according to the adjustment parameters to obtain the brightness values ​​of the multiple pixels.

[0102] In one possible implementation, the brightness compensation parameter acquisition module is further configured to: acquire the range of the brightness compensation parameter; and, if the acquired brightness compensation parameter is not within the range of the brightness compensation parameter, determine the range boundary of the brightness compensation parameter as the brightness compensation parameter.

[0103] In one possible implementation, the device further includes: a node acquisition module, used to acquire a stop calculation node for grayscale, wherein grayscale values ​​greater than or equal to the stop calculation point are retained in their original values.

[0104] In one possible implementation, the adjustment parameter determination module is further configured to: obtain the adjustment parameter based on the stop operation node, the brightness compensation parameter, and the gray level when the gray level of a pixel is less than the stop operation node.

[0105] In one possible implementation, the adjustment parameter determination module is further configured to: set the adjustment parameter to 1 when the gray level of a pixel is greater than or equal to the stop operation node.

[0106] In one possible implementation, the adjustment module is further configured to: normalize the grayscale of the pixel to obtain a first grayscale;

[0107] Obtain a first brightness value with the first gray level as the base and the adjustment parameter as the exponent;

[0108] The brightness value of the pixel is obtained by inverse normalization of the first brightness value.

[0109] In one possible implementation, the device further includes a display module for obtaining an output image for display by a display device based on the brightness value of the pixel.

[0110] This disclosure also provides a display device, including a plurality of display units and a processor, wherein the processor is configured to implement the image processing method by executing instructions.

[0111] In one possible implementation, the display unit includes a display panel, which includes at least one of a liquid crystal display panel, a micro light-emitting diode display panel, a light-emitting diode display panel, a mini light-emitting diode display panel, a quantum dot light-emitting diode display panel, an organic light-emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small-pitch display panel.

[0112] This disclosure also provides an electronic device, which includes the aforementioned display device. Exemplarily, the electronic device in this embodiment includes, but is not limited to, desktop computers, televisions, mobile devices with large screens such as mobile phones and tablets, and other common electronic devices that require multiple chips to be cascaded for operation.

[0113] For example, electronic devices can also be user equipment (UE), mobile devices, user terminals, terminals, handheld devices, computing devices, or in-vehicle devices, etc. Examples of terminals include: displays, smartphones or portable devices, mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and wireless terminals in vehicle-to-everything (V2X) networks, etc. For example, a server can be a local server or a cloud server.

[0114] Figure 7 A block diagram of an electronic device 1900 according to an embodiment of the present disclosure is shown. For example, the electronic device 1900 may be provided as a server or a terminal device. (Refer to...) Figure 7 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0115] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output (I / O) interface 1958. Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0116] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.

[0117] This disclosure also provides a driver chip for performing the image processing method.

[0118] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the scope of protection of the present invention, which is determined by the appended claims.

[0119] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0120] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0122] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. An image processing method, characterized in that, include: Obtain the brightness compensation parameters of the input image. The brightness compensation parameters are obtained by adjusting the gray levels of multiple pixels in the input image to compensate for the brightness of the input image. The range of the brightness compensation parameters is [-0.99, 0.99]. Based on the brightness compensation parameters, adjustment parameters are determined for adjusting the gray levels of multiple pixels in the input image; According to the adjustment parameters, the grayscale of multiple pixels in the input image is adjusted to obtain the brightness values ​​of the multiple pixels; The adjustment parameters for adjusting the grayscale of multiple pixels in the input image, determined based on the brightness compensation parameters, include: When the gray level of a pixel is less than the stopping node for that gray level, the adjustment parameter is obtained based on the stopping node, the brightness compensation parameter, and the gray level; or If the gray level of a pixel is greater than or equal to that of the stop operation node, the adjustment parameter is set to 1; The step of adjusting the grayscale of multiple pixels in the input image according to adjustment parameters to obtain the brightness values ​​of the multiple pixels includes: The gray levels of the pixels are normalized to obtain the first gray level; Obtain a first brightness value with the first gray level as the base and the adjustment parameter as the exponent; The brightness value of the pixel is obtained by inverse normalization of the first brightness value.

2. The method according to claim 1, characterized in that, Obtain the brightness compensation parameters of the input image, including: Obtain the range of brightness compensation parameters; If the obtained brightness compensation parameter is not within the range of the brightness compensation parameter, the range boundary of the brightness compensation parameter is determined as the brightness compensation parameter.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the stopping node for grayscale, wherein grayscale values ​​greater than or equal to the stopping node are retained.

4. The method according to claim 1, characterized in that, The method further includes: Based on the brightness values ​​of the pixels, an output image is obtained for display on the display device.

5. An image processing apparatus, characterized in that, include: A brightness compensation parameter acquisition module is used to acquire brightness compensation parameters of the input image. The brightness compensation parameters are obtained by adjusting the gray levels of multiple pixels in the input image to compensate for the brightness of the input image. The range of the brightness compensation parameters is [-0.99, 0.99]. The adjustment parameter determination module is used to determine adjustment parameters for adjusting the gray levels of multiple pixels in the input image based on the brightness compensation parameters. An adjustment module is used to adjust the grayscale of multiple pixels in the input image according to adjustment parameters to obtain the brightness values ​​of the multiple pixels; The adjustment parameter determination module is further configured to: obtain the adjustment parameter based on the stop calculation node, the brightness compensation parameter, and the gray level when the gray level of a pixel is less than the stop calculation node for that gray level; or If the gray level of a pixel is greater than or equal to that of the stop operation node, the adjustment parameter is set to 1; The adjustment module is further used to: normalize the gray level of the pixel to obtain a first gray level; Obtain a first brightness value with the first gray level as the base and the adjustment parameter as the exponent; The brightness value of the pixel is obtained by inverse normalization of the first brightness value.

6. A display device, characterized in that, It includes multiple display units and a processor, wherein the processor is configured to execute instructions to implement the method described in any one of claims 1-4.

7. The display device according to claim 6, characterized in that, The display unit includes a display panel, which includes at least one of the following: liquid crystal display panel, micro light-emitting diode display panel, light-emitting diode display panel, mini light-emitting diode display panel, quantum dot light-emitting diode display panel, organic light-emitting diode display panel, cathode ray tube display panel, digital light processing display panel, field emission display panel, plasma display panel, electrophoretic display panel, electrowetting display panel, and small-pitch display panel.

8. An electronic device comprising the display device according to claim 6 or 7.

9. A driver chip, characterized in that, The driver chip is used to execute the image processing method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Method and system for reducing power consumption of display panel

    CN105528994A

  • Gamma correction method and device for OLED display panel, medium and electronic equipment

    CN109448638A