Image adjusting method and device, chip, display device and electronic device

By adjusting the grayscale histogram and dynamic contrast coefficient mapping of the image, the dynamic contrast enhancement and reduction functions of the display device are realized, which solves the problem of the single dynamic contrast function in the existing technology and improves the applicability of the display device.

CN115883809BActive Publication Date: 2026-06-19CHIPONE (SHENZHEN) TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHIPONE (SHENZHEN) TECH CO LTD
Filing Date
2022-12-12
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In the existing technology, the dynamic contrast function of display devices can only be turned on or off, and cannot reduce the dynamic contrast, which limits the applicability of display devices.

Method used

By acquiring the grayscale histogram of the image to be processed, equalizing the number of pixels, determining the first dynamic contrast, and establishing a mapping relationship based on preset parameters and dynamic contrast coefficients, the second dynamic contrast corresponding to the grayscale is symmetrically adjusted, supporting the enhancement and reduction of dynamic contrast.

🎯Benefits of technology

It enables dynamic contrast adjustment of display devices in different scenarios, enhancing or reducing the contrast, thereby improving the applicability of display devices and the image display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883809B_ABST
    Figure CN115883809B_ABST
Patent Text Reader

Abstract

This disclosure relates to an image adjustment method, apparatus, chip, display device, and electronic device. The image adjustment method includes: acquiring an image to be processed; determining a first dynamic contrast ratio corresponding to each gray level among a plurality of gray levels in the image to be processed; determining a second dynamic contrast ratio corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast ratio; and adjusting the image to be processed based on the second dynamic contrast ratio corresponding to the plurality of gray levels. The image adjustment method provided by the embodiments of this disclosure not only supports the function of enhancing dynamic contrast ratio in related technologies but also supports the function of reducing dynamic contrast ratio, which is beneficial to improving the applicability of display devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of information processing, and more particularly to an image adjustment method, apparatus, chip, display device, and electronic device. Background Technology

[0002] With the development of display devices, more and more display devices are beginning to support the function of adjusting dynamic contrast ratio. Dynamic contrast ratio refers to the contrast ratio measured under certain specific conditions. For example, if the brightness of a full white screen is 200 candela / m², and the brightness of a full black screen is 0.1 candela / m², then the dynamic contrast ratio is 2000:1. Dynamic contrast ratio has significant practical implications in scenarios where there are frequent changes between bright and dark rendering. Therefore, how to better adjust the dynamic contrast ratio of an image during rendering is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0003] In view of this, this disclosure proposes an image adjustment technique.

[0004] According to one aspect of this disclosure, an image adjustment method is provided, the adjustment method comprising: acquiring an image to be processed; determining a first dynamic contrast ratio corresponding to each gray level among a plurality of gray levels in the image to be processed; determining a second dynamic contrast ratio corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast ratio; wherein, in a coordinate system with gray levels as the horizontal axis and dynamic contrast ratio as the vertical axis, the coordinates of the first dynamic contrast ratio corresponding to each gray level and the coordinates of the second dynamic contrast ratio corresponding to the same gray level are symmetrical about a specified axis of symmetry in the coordinate system; and adjusting the image to be processed based on the second dynamic contrast ratios corresponding to the plurality of gray levels.

[0005] In one possible implementation, determining the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed includes: determining a gray-level histogram corresponding to the image to be processed; wherein the gray-level histogram is used to represent the distribution number of pixels in the image to be processed across multiple gray levels; equalizing the number of pixels corresponding to each gray level in the gray-level histogram according to a preset pixel number threshold; determining a cumulative distribution histogram based on the equalized gray-level histogram; wherein the cumulative distribution histogram is used to represent the total number of pixels whose gray level value is less than or equal to each gray level; and determining the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed based on the cumulative distribution histogram.

[0006] In one possible implementation, the adjustment method further includes: obtaining preset parameters; determining a dynamic contrast ratio based on the preset parameters; wherein the dynamic contrast ratio is used to represent the degree of adjustment allowed for the first dynamic contrast when the display device is in dynamic contrast mode; the magnitude of the preset parameters is positively correlated with the magnitude of the contrast ratio; determining a preset pixel number threshold based on the dynamic contrast ratio; wherein the magnitude of the dynamic contrast ratio is positively correlated with the magnitude of the preset pixel number threshold.

[0007] In one possible implementation, the adjustment method further includes: obtaining the distribution range of dynamic contrast ratio supported by the display device; filtering the distribution range according to a preset range threshold; aligning the minimum value of the filtered distribution range with the minimum value of the preset parameter, and aligning the maximum value of the filtered distribution range with the maximum value of the preset parameter, thereby establishing a mapping relationship between the filtered distribution range and the preset parameter; wherein the preset parameter is mapped to the dynamic contrast ratio through the mapping relationship.

[0008] In one possible implementation, the plurality of gray levels are multiple sampled gray levels preset by the display device; the step of determining the second dynamic contrast corresponding to each of the plurality of gray levels based on the first dynamic contrast includes: determining a second coordinate symmetrical with respect to the specified axis of symmetry based on a first coordinate in the coordinate system of each sampled gray level and the first dynamic contrast corresponding to each sampled gray level, and determining the second dynamic contrast corresponding to each sampled gray level based on the second coordinate.

[0009] In one possible implementation, the first dynamic contrast corresponding to any gray level represents the proportion of the number of pixels from the minimum gray level to the number of pixels corresponding to that gray level to the total number of pixels in the image to be processed.

[0010] In one possible implementation, the specified axis of symmetry is y = x, where x is the abscissa and y is the ordinate.

[0011] According to another aspect of this disclosure, an image adjustment apparatus is provided, the adjustment apparatus comprising: an image acquisition module for acquiring an image to be processed; a first dynamic contrast determination module for determining a first dynamic contrast corresponding to each gray level among a plurality of gray levels in the image to be processed; a second dynamic contrast determination module for determining a second dynamic contrast corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast; wherein, in a coordinate system with gray levels as the horizontal axis and dynamic contrast as the vertical axis, the coordinates of the first dynamic contrast corresponding to each gray level and the coordinates of the second dynamic contrast corresponding to the same gray level are symmetrical about a specified axis of symmetry in the coordinate system; and an image adjustment module for adjusting the image to be processed based on the second dynamic contrast corresponding to the plurality of gray levels.

[0012] According to another aspect of this disclosure, a chip is provided for performing the method.

[0013] According to another aspect of this disclosure, a display device is provided, the display device comprising a plurality of display units and at least one of the image adjustment devices, or comprising at least one of the chips.

[0014] 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.

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

[0016] According to another aspect of this disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method when executing instructions stored in the memory.

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

[0018] 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.

[0019] The image adjustment method provided in this disclosure can acquire an image to be processed, then determine a first dynamic contrast ratio corresponding to each gray level among multiple gray levels in the image to be processed, then determine a second dynamic contrast ratio corresponding to each gray level among the multiple gray levels based on the first dynamic contrast ratio, and finally adjust the image to be processed based on the second dynamic contrast ratio corresponding to the multiple gray levels. The image adjustment method provided in this disclosure not only supports the function of enhancing dynamic contrast ratio in related technologies, but also supports the function of reducing dynamic contrast ratio, which is beneficial to improving the applicability of display devices.

[0020] 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

[0021] 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.

[0022] Figure 1 A flowchart of an image adjustment method according to an embodiment of the present disclosure is shown.

[0023] Figure 2 A reference schematic diagram of equalization according to an embodiment of the present disclosure is shown.

[0024] Figure 3 A reference diagram illustrates the correspondence between preset parameters, dynamic contrast coefficient, and preset pixel number threshold according to an embodiment of the present disclosure.

[0025] Figure 4 A reference schematic diagram is shown illustrating a confirmation process for a second dynamic contrast ratio according to an embodiment of the present disclosure.

[0026] Figure 5 A reference schematic diagram is shown illustrating a confirmation process for a second dynamic contrast ratio according to an embodiment of the present disclosure.

[0027] Figure 6 A block diagram of an image adjustment apparatus according to an embodiment of the present disclosure is shown.

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

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] In related technologies, dynamic contrast functionality typically only supports being on or off, meaning it only allows for enhancing the dynamic contrast of an image but not reducing it. Therefore, the image adjustment method provided in this disclosure acquires an image to be processed, then determines a first dynamic contrast corresponding to each of multiple gray levels in the image, then determines a second dynamic contrast corresponding to each of the multiple gray levels based on the first dynamic contrast, and finally adjusts the image to be processed based on the second dynamic contrast corresponding to the multiple gray levels. The image adjustment method provided in this disclosure not only supports the function of enhancing dynamic contrast as in related technologies but also supports the function of reducing dynamic contrast, which is beneficial for improving the applicability of display devices.

[0035] See Figure 1 As shown, Figure 1 A flowchart illustrating an image adjustment method according to an embodiment of the present disclosure is shown, such as... Figure 1 As shown, the adjustment method includes: step S100, acquiring the image to be processed. Exemplarily, the image to be processed can be image data that can be processed by any display device in the related art, and this disclosure does not impose any limitations.

[0036] Step S200: Determine the first dynamic contrast ratio corresponding to each gray level among multiple gray levels in the image to be processed. Exemplarily, the first dynamic contrast ratio can be represented as the DCR (Dynamic Contrast Ratio) value in related technologies, and the specific calculation method will be detailed later in this disclosure. Exemplarily, the first dynamic contrast ratio corresponding to any gray level can represent the proportion of the number of pixels from the smallest gray level to the corresponding gray level to the total number of pixels in the image to be processed.

[0037] In one possible implementation, step S200 may include: determining the grayscale histogram corresponding to the image to be processed. The grayscale histogram represents the distribution number of pixels in the image to be processed across multiple gray levels. For example, each pixel may correspond to a different grayscale value to represent the difference of each pixel in the grayscale space. The construction process of the grayscale histogram can refer to related technologies, and this disclosure does not limit it. For example, the total number of gray levels varies depending on the image, for example: a total of 8 gray levels, a total of 256 gray levels, or a total of 512 gray levels. The higher the total number of gray levels, the more delicate the representation effect of the image in the grayscale space. This disclosure does not limit the selection process of multiple gray levels; for example, the multiple gray levels can be obtained by evenly dividing the total number of gray levels. Each gray level may correspond to a grayscale value, and pixels in the image to be processed with the same grayscale value can be used as pixels corresponding to that gray level. Then, according to a preset pixel number threshold, the number of pixels corresponding to each gray level in the grayscale histogram is equalized. like Figure 2 As shown, Figure 2 A reference schematic diagram of equalization according to an embodiment of the present disclosure is shown. Figure 2 The horizontal axis represents the number of multiple gray levels, and the vertical axis represents the number of pixels. For example, if the number of pixels corresponding to a certain gray level is higher than a preset pixel number threshold, the pixels exceeding the preset pixel number threshold can be evenly distributed to other gray levels until the number of pixels corresponding to each gray level is no higher than the preset pixel number threshold. This can enhance the contrast of the image to be processed. Then, based on the equalized gray level histogram, a cumulative distribution histogram is determined. The cumulative distribution histogram is used to represent the total number of pixels whose gray level value is less than or equal to each gray level. For example, if Hist(i) represents the total number of pixels corresponding to the i-th gray level among the multiple gray levels, then CDF(i) represents the value in the cumulative distribution histogram corresponding to the i-th gray level, and CDF(i) can be expressed as CDF(i) = Hist(i) + Hist(i-1) + ... + Hist(1). Finally, based on the cumulative distribution histogram, the first dynamic contrast corresponding to each gray level among the multiple gray levels in the image to be processed is determined. For example, if DCR(i) is used to represent the first dynamic contrast corresponding to the i-th gray level, then DCR(i) can be expressed as: DCR(i) = (2 (databits) -1)*CDF(i) / (Width*Height), where Width and Height represent the width and height of the image to be processed (in pixels, respectively), 2 (databits)The number of gray levels is represented by databits, which can be any positive integer. For example, display devices in related technologies typically divide the image to be processed into a plurality of 8-bit grayscale images, such that the size of each 8-bit grayscale image is 512*512. In this case, the aforementioned databits can be 8+1.

[0038] Exemplary, this disclosure provides a method for generating a preset pixel number threshold for reference. A preset parameter is obtained, which represents a user-defined parameter. This preset parameter can also be set with a threshold. For example, if the preset parameter range is 0-100, then 0-50 (here, 50 is the threshold) can represent a decrease in dynamic contrast, with 0 corresponding to a greater decrease in dynamic contrast than 50; 50-100 can represent an increase in dynamic contrast, with 100 corresponding to a greater increase in dynamic contrast than 50. It should be understood that the range and threshold of the above preset parameter can be set according to the actual needs of the developers, and this disclosure does not impose any limitations. Then, a dynamic contrast coefficient is determined based on the preset parameter. The dynamic contrast coefficient represents the degree to which the first dynamic contrast can be adjusted when the display device is in dynamic contrast mode. The magnitude of the preset parameter is positively correlated with the magnitude of the contrast coefficient. Finally, the preset pixel number threshold is determined based on the dynamic contrast coefficient. The magnitude of the dynamic contrast coefficient is positively correlated with the magnitude of the preset pixel number threshold. See also... Figure 3 As shown, Figure 3 A reference diagram illustrating the correspondence between preset parameters, dynamic contrast ratio, and preset pixel number threshold according to an embodiment of the present disclosure is shown. Figure 3 As shown, the preset parameters (or...) Figure 3 The range of customer parameters can be 0-100, where the preset parameter of 50 indicates that the image to be processed does not undergo dynamic contrast processing (see reference). Figure 3 (Original image in the image). 0-50 represents decreased dynamic grayscale contrast, 50-100 represents increased dynamic grayscale contrast, where UserCoeffi represents the user's current preset parameters (see reference). Figure 3 The current customer parameters are listed in the documentation. The DCR coefficient (or dynamic contrast ratio) corresponds to the customer parameters (see reference [link]). Figure 3 In the DCR coefficient setting, customer parameter 0 corresponds to DCR coefficient A, or customer parameter 100 corresponds to DCR coefficient C. The DCR coefficient can be correlated with a preset pixel count threshold. The preset pixel count threshold Eq_Limit can be expressed as: Where Max is the maximum value of the contrast ratio, and MID is the median value of the contrast ratio (this applies when the DCR ratio corresponding to the current preset parameter is greater than the median value of the DCR ratio range; if the DCR ratio corresponding to the current preset parameter is less than the median value of the DCR ratio range, the maximum value of the preset parameter range can be subtracted from the current preset parameter first, and then the first dynamic contrast ratio corresponding to that value can be calculated. The first dynamic contrast ratio can then be symmetrically calculated about the specified axis of symmetry in the coordinate system described above to obtain the second dynamic contrast ratio corresponding to the current preset parameter). For example, when the preset parameter of the display device is 30, the first dynamic contrast ratio corresponding to the preset parameter of 70 (100-30) can be calculated first, and then the second dynamic contrast ratio corresponding to the preset parameter of 30 can be calculated symmetrically. This embodiment allows users to control the degree of dynamic contrast adjustment by setting preset parameters, which is beneficial for improving the image display effect of the display device.

[0039] In one possible implementation, the adjustment method may further include: obtaining the distribution range of dynamic contrast ratios supported by the display device, and then filtering the distribution range according to a preset range threshold. Exemplarily, the preset range threshold can be determined by the user based on the display status of the display device, and this embodiment does not impose any limitations. Finally, the minimum value of the filtered distribution range is aligned with the minimum value of the preset parameter, and the maximum value of the filtered distribution range is aligned with the maximum value of the preset parameter, establishing a mapping relationship between the filtered distribution range and the preset parameter. The preset parameter is mapped to the dynamic contrast ratio through this mapping relationship. This embodiment allows users to filter the dynamic contrast ratio within a certain range based on the actual display effect of the device, making the adjusted dynamic contrast ratio more consistent with the user's adjustment expectations.

[0040] Continue reading Figure 1 Step S300: Based on the first dynamic contrast ratio, determine the second dynamic contrast ratio corresponding to each of the plurality of gray levels. In a coordinate system with gray levels as the horizontal axis and dynamic contrast ratio as the vertical axis, the coordinates of the first dynamic contrast ratio corresponding to each gray level and the coordinates of the second dynamic contrast ratio corresponding to that gray level are symmetrical about a specified axis of symmetry in the coordinate system. Exemplarily, in related technologies, dynamic contrast ratio typically only has an on or off option, i.e., only options for enhancing or disabling dynamic contrast ratio. This embodiment of the present disclosure can reduce the dynamic contrast ratio of an image by obtaining the curve symmetrical about a specified axis of symmetry in the aforementioned coordinate system when the dynamic contrast ratio is enhanced, to accommodate various display requirements. In one example, the specified axis of symmetry is y = x, where x is the horizontal coordinate and y is the vertical coordinate.

[0041] See Figure 4 , Figure 5 , Figure 4 , Figure 5 A reference schematic diagram illustrates a confirmation process for a second dynamic contrast ratio according to an embodiment of the present disclosure. For example... Figure 4 As shown, Figure 4 The horizontal axis of the coordinate system represents the grayscale value, and the vertical axis represents the DCR value mentioned above. The positive curve represents the dynamic contrast enhancement curve corresponding to a preset parameter greater than 50 (that is, 50 is used as the threshold in the preset parameter mentioned above), and the negative curve represents the dynamic contrast reduction curve corresponding to a preset parameter less than 50. Figure 5 The numbers represent different gray levels, with 512 gray levels corresponding to numbers 0-511. Here, we take a preset parameter set to 30 and a threshold set to 50 as an example. A preset parameter of 30 (i.e., the current client parameter in the image = 30) represents reduced dynamic contrast. We can first calculate the first dynamic contrast (i.e., the positive curve) corresponding to a preset parameter of 70 (100-30) (i.e., the current client parameter in the image = 70). Then, we perform axial symmetry about the y=x axis to obtain the second dynamic contrast corresponding to a preset parameter of 30. Adjusting the image using this second dynamic contrast will reduce the dynamic contrast. Since the first dynamic contrast with a preset parameter of 70 is a set of discrete points, the second dynamic contrast with a preset parameter of 30 is also a set of discrete points. Discrete points with a preset parameter of 70 and those with a preset parameter of 30 must adhere to the fixed sampling step size (or sampling grayscale) of the display device. Therefore, while a discrete point with a preset parameter of 70 follows this rule, after symmetrical operations, a discrete point with a preset parameter of 30 may fall into a non-sampled grayscale. For example, bilinear interpolation can be performed on the DCR values ​​corresponding to adjacent discrete points at each sampled grayscale to obtain the DCR value at the sampled grayscale with a preset parameter of 30. For example, combining... Figure 5 As shown, for discrete points with a preset parameter of 70 and x-coordinates of 96 and 128, the x-coordinates of their symmetrical discrete points are 155 and 192. Clearly, neither of these points falls within the sampling grayscale 160. In this case, bilinear interpolation can be performed on the DCR values ​​corresponding to 155 and 192 to obtain the DCR value corresponding to sampling grayscale 160. The calculation method for the above bilinear interpolation can be found in related technologies, and will not be elaborated upon here.

[0042] In one possible implementation, the plurality of gray levels are multiple sampled gray levels preset by the display device. Step S300 may include: determining a second coordinate symmetrical with respect to the specified axis of symmetry based on a first coordinate in the coordinate system for each sampled gray level and a first dynamic contrast ratio corresponding to each sampled gray level. Then, determining a second dynamic contrast ratio corresponding to each sampled gray level based on the second coordinate. Exemplarily, the aforementioned sampled gray levels may be gray levels obtained by evenly dividing the gray level range supported by the image to be processed, or gray levels specified by the developer. This disclosure does not impose any limitations on these embodiments.

[0043] Continue reading Figure 1 In step S400, the image to be processed is adjusted according to the second dynamic contrast corresponding to the plurality of gray levels. For example, the second dynamic contrast can be fitted into a dynamic contrast curve, and then the gray level value corresponding to each pixel in the image to be processed can be adjusted using the dynamic contrast curve. Specific procedures can be found in related technologies, and will not be elaborated upon here.

[0044] This disclosure also provides an image adjustment device, see embodiments thereof. Figure 6 As shown, Figure 6 A block diagram of an image adjustment apparatus according to an embodiment of the present disclosure is shown, such as Figure 6 As shown, the adjustment device 100 includes: an image acquisition module 110 for acquiring an image to be processed; a first dynamic contrast determination module 120 for determining the first dynamic contrast corresponding to each gray level among a plurality of gray levels in the image to be processed; and a second dynamic contrast determination module 130 for determining the second dynamic contrast corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast. In a coordinate system with gray levels as the horizontal axis and dynamic contrast as the vertical axis, the coordinates of the first dynamic contrast corresponding to each gray level and the coordinates of the second dynamic contrast corresponding to that gray level are symmetrical about a specified axis of symmetry in the coordinate system. An image adjustment module 140 is used to adjust the image to be processed based on the second dynamic contrast corresponding to the plurality of gray levels.

[0045] In one possible implementation, determining the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed includes: determining a gray-level histogram corresponding to the image to be processed; wherein the gray-level histogram is used to represent the distribution number of pixels in the image to be processed across multiple gray levels; equalizing the number of pixels corresponding to each gray level in the gray-level histogram according to a preset pixel number threshold; determining a cumulative distribution histogram based on the equalized gray-level histogram; wherein the cumulative distribution histogram is used to represent the total number of pixels whose gray level value is less than or equal to each gray level; and determining the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed based on the cumulative distribution histogram.

[0046] In one possible implementation, the adjustment device further includes a pixel threshold determination module, configured to perform the following steps: obtaining preset parameters; determining a dynamic contrast ratio based on the preset parameters; wherein the dynamic contrast ratio represents the degree of adjustment allowed for the first dynamic contrast when the display device is in dynamic contrast mode; the magnitude of the preset parameters is positively correlated with the magnitude of the contrast ratio; and determining a preset pixel number threshold based on the dynamic contrast ratio; wherein the magnitude of the dynamic contrast ratio is positively correlated with the magnitude of the preset pixel number threshold.

[0047] In one possible implementation, the adjustment device further includes a mapping relationship establishment module, configured to perform the following steps: obtaining the distribution range of dynamic contrast coefficients supported by the display device; filtering the distribution range according to a preset range threshold; aligning the minimum value of the filtered distribution range with the minimum value of the preset parameter, and aligning the maximum value of the filtered distribution range with the maximum value of the preset parameter, thereby establishing a mapping relationship between the filtered distribution range and the preset parameter; wherein the preset parameter is mapped to the dynamic contrast coefficient through the mapping relationship.

[0048] In one possible implementation, the plurality of gray levels are multiple sampled gray levels preset by the display device; the step of determining the second dynamic contrast corresponding to each of the plurality of gray levels based on the first dynamic contrast includes: determining a second coordinate symmetrical with respect to the specified axis of symmetry based on a first coordinate in the coordinate system of each sampled gray level and the first dynamic contrast corresponding to each sampled gray level, and determining the second dynamic contrast corresponding to each sampled gray level based on the second coordinate.

[0049] In one possible implementation, the first dynamic contrast corresponding to any gray level represents the proportion of the number of pixels from the minimum gray level to the number of pixels corresponding to that gray level to the total number of pixels in the image to be processed.

[0050] In one possible implementation, the specified axis of symmetry is y = x, where x is the abscissa and y is the ordinate.

[0051] For example, the electronic devices in this embodiment include, but are 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 together to achieve driving.

[0052] 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.

[0053] 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 terminal device. Exemplarily, the above-described electronic device may include the aforementioned adjustment device or the aforementioned display 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.

[0054] 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 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] 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.

[0059] 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.

[0060] 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. A method of adjusting an image, characterized by, The adjustment method includes: Obtain the image to be processed; Determine the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed; Based on the first dynamic contrast, the second dynamic contrast corresponding to each of the plurality of gray levels is determined; wherein, in a coordinate system with gray level as the horizontal axis and dynamic contrast as the vertical axis, the coordinates of the first dynamic contrast corresponding to each gray level and the coordinates of the second dynamic contrast corresponding to the same gray level are symmetrical with respect to a specified axis of symmetry in the coordinate system, wherein the specified axis of symmetry is y=x, where x is the horizontal coordinate and y is the vertical coordinate. The image to be processed is adjusted according to the second dynamic contrast corresponding to the multiple gray levels, wherein the second dynamic contrast is used to reduce the dynamic contrast. The step of determining the first dynamic contrast corresponding to each gray level in the multiple gray levels in the image to be processed includes: obtaining a preset parameter; if the dynamic contrast coefficient corresponding to the current preset parameter is less than the median value of the dynamic contrast coefficient range, then the first dynamic contrast is determined according to the value obtained by subtracting the current preset parameter from the maximum value of the preset parameter range, and the first dynamic contrast is used to enhance the dynamic contrast.

2. The adjustment method as described in claim 1, characterized in that, Determining the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed includes: Determine the grayscale histogram corresponding to the image to be processed; wherein, the grayscale histogram is used to represent the number of pixels in the image to be processed distributed across multiple gray levels; Based on a preset pixel count threshold, the number of pixels corresponding to each gray level in the grayscale histogram is equalized. Based on the equalized grayscale histogram, a cumulative distribution histogram is determined; wherein, the cumulative distribution histogram is used to represent the total number of pixels whose grayscale values ​​are less than or equal to each grayscale value. Based on the cumulative distribution histogram, the first dynamic contrast corresponding to each gray level in the multiple gray levels of the image to be processed is determined.

3. The adjustment method as described in claim 2, characterized in that, The adjustment method further includes: Based on the dynamic contrast ratio, a preset pixel number threshold is determined; wherein, the magnitude of the dynamic contrast ratio is positively correlated with the magnitude of the preset pixel number threshold, and the dynamic contrast ratio is used to represent the degree of adjustment allowed for the first dynamic contrast when the display device is in dynamic contrast mode; the magnitude of the preset parameter is positively correlated with the magnitude of the contrast ratio.

4. The adjustment method as described in claim 3, characterized in that, The adjustment method further includes: Obtain the distribution range of dynamic contrast ratios supported by the display device; The distribution range is filtered according to a preset range threshold; Align the minimum value of the filtered distribution range with the minimum value of the preset parameter, and align the maximum value of the filtered distribution range with the maximum value of the preset parameter to establish a mapping relationship between the filtered distribution range and the preset parameter; wherein, the preset parameter is mapped to the dynamic contrast coefficient through the mapping relationship.

5. The adjustment method as described in claim 1, characterized in that, The multiple gray levels are multiple sampled gray levels preset by the display device; The step of determining the second dynamic contrast corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast includes: Based on the first coordinate in the coordinate system of each sampled gray level and the first dynamic contrast corresponding to each sampled gray level, determine the second coordinate that is symmetrical with respect to the specified axis of symmetry. The second dynamic contrast corresponding to each sampled gray level is determined based on the second coordinate.

6. The adjustment method according to claim 1, characterized in that, The first dynamic contrast ratio corresponding to any gray level represents the proportion of the number of pixels from the minimum gray level to the corresponding gray level to the total number of pixels in the image to be processed.

7. An image adjustment device, characterized in that, The adjustment device includes: The image acquisition module is used to acquire the image to be processed; The first dynamic contrast determination module is used to determine the first dynamic contrast corresponding to each gray level among multiple gray levels in the image to be processed. The second dynamic contrast determination module is used to determine the second dynamic contrast corresponding to each gray level among the plurality of gray levels based on the first dynamic contrast; wherein, in a coordinate system with gray level as the horizontal axis and dynamic contrast as the vertical axis, the coordinates of the first dynamic contrast corresponding to each gray level and the coordinates of the second dynamic contrast corresponding to the same gray level are symmetrical with respect to a specified axis of symmetry in the coordinate system, wherein the specified axis of symmetry is y=x, where x is the horizontal coordinate and y is the vertical coordinate. An image adjustment module is used to adjust the image to be processed according to the second dynamic contrast corresponding to the plurality of gray levels, wherein the second dynamic contrast is used to reduce the dynamic contrast. The first dynamic contrast determination module is further used to obtain preset parameters; if the dynamic contrast coefficient corresponding to the current preset parameter is less than the middle value of the dynamic contrast coefficient range, the first dynamic contrast is determined according to the value obtained by subtracting the current preset parameter from the maximum value of the preset parameter range, and the first dynamic contrast is used to enhance the dynamic contrast.

8. A chip, characterized in that, The chip is used to perform the method according to any one of claims 1 to 6.

9. A display device, characterized in that, It includes multiple display units and at least one image adjustment device according to claim 7, or includes at least one chip according to claim 8.

10. The display device according to claim 9, 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.

11. An electronic device, characterized in that, Includes the display device according to claim 9 or 10.

12. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 6 when executing instructions stored in the memory.

13. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for improving image contrast, LCD TV (liquid crystal display television) set

    CN102355561A

  • Image processing method and device, display equipment, electronic equipment and storage medium

    CN115294912A