Image display method and device, terminal and readable storage medium

By adjusting the display parameters of the monitor, the problem of poor HDR image display effect is solved, the brightness and display effect of the highlighted area of ​​the HDR image is improved, and the display effect of the non-HDR image is not affected.

CN112348759BActive Publication Date: 2024-12-24GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202011346042.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-12-24
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

Existing monitors fail to optimize when displaying HDR images, resulting in poor display effects.

Method used

By determining whether the image to be processed is an HDR image, and adjusting the display parameters of the display, especially the brightness of the highlight area, including selecting the highlight mode, turning off load compensation and improving contrast parameters, to improve the brightness of the highlight area of ​​the HDR image.

Benefits of technology

The display effect of HDR images, especially the brightness of the highlighted areas, realize the highlighted display of the highlighted areas, and avoid the impact on the display effect of non-HDR images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112348759B_ABST
    Figure CN112348759B_ABST
Patent Text Reader

Abstract

The present application provides an image display method. The image display method includes determining whether the image to be processed is an HDR image; if so, adjusting the display parameters of the display to increase the brightness of the highlight area of ​​the HDR image; and displaying the HDR image with the adjusted display parameters. The image display method of the embodiment of the present application improves the display effect of the HDR image by identifying the HDR image and adjusting the display parameters to increase the brightness of the highlight area in the HDR image. The present application also provides an image display device, a terminal, and a non-volatile computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image technology, and in particular to an image display method, an image display device, a terminal, and a non-volatile computer-readable storage medium. Background Art

[0002] Compared with ordinary images, high dynamic range (HDR) images can provide more dynamic range and image details. Based on low dynamic range (LDR) images with different exposure times, the final HDR image is synthesized using the LDR image with the best details corresponding to each exposure time, which can better reflect the visual effect in the real environment. However, the display does not optimize the display for HDR images when displaying images, and the display effect of HDR images is poor. Summary of the invention

[0003] Embodiments of the present application provide an image display method, an image display device, a terminal, and a non-volatile computer-readable storage medium.

[0004] The image display method of the embodiment of the present application includes determining whether the image to be processed is an HDR image; if so, adjusting the display parameters of the display to increase the brightness of the highlight area of ​​the HDR image; and displaying the HDR image with the adjusted display parameters.

[0005] The image display device of the embodiment of the present application includes a judgment module, a processing module and a display module. The judgment module is used to judge whether the image to be processed is an HDR image; the processing module is used to adjust the display parameters of the display when the image to be processed is an HDR image to increase the brightness of the highlight area of ​​the HDR image; and the display module is used to display the HDR image with the adjusted display parameters.

[0006] The terminal of the embodiment of the present application includes a display and a processor, the processor is used to determine whether the image to be processed is an HDR image, and when the image to be processed is an HDR image, adjust the display parameters of the display to increase the brightness of the highlight area of ​​the HDR image; the display is used to display the HDR image with the adjusted display parameters.

[0007] The present application discloses a non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, enables the processors to perform an image display method. The image display method includes determining whether the image to be processed is an HDR image; if so, adjusting display parameters of the display to increase the brightness of a highlight area of ​​the HDR image; and displaying the HDR image with the adjusted display parameters.

[0008] The image display method, image display device, terminal and non-volatile computer-readable storage medium of the embodiments of the present application recognize HDR images and adjust display parameters in a targeted manner to increase the brightness of highlight areas in the HDR images, which is beneficial to improving the display effect of the HDR images.

[0009] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0011] Figure 1 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0012] Figure 2 is a schematic diagram of a module of an image display device in some embodiments of the present application;

[0013] Figure 3 is a schematic diagram of a terminal plan of certain embodiments of the present application;

[0014] Figure 4 is a plan view schematically showing another perspective of a terminal according to some embodiments of the present application;

[0015] Figure 5 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0016] Figure 6 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0017] Figure 7 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0018] Figure 8 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0019] Fig. 9 is a schematic flow chart of an image display method in certain embodiments of the present application;

[0020] Fig.10 is a flowchart of an image display method in some embodiments of the present application; and

[0021] Fig.11 A schematic diagram of the connection between a processor and a computer-readable storage medium in certain embodiments of the present application. DETAILED DESCRIPTION

[0022] The following is a further description of the embodiments of the present application in conjunction with the accompanying drawings. The same or similar reference numerals in the accompanying drawings represent the same or similar elements or elements with the same or similar functions from beginning to end. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the present application.

[0023] See also Figure 1 The image display method of the embodiment of the present application comprises the following steps:

[0024] 011: Determine whether the image to be processed is an HDR image;

[0025] 012: If yes, adjust the display parameters of the display 30 to increase the brightness of the highlight area of ​​the HDR image; and

[0026] 013: Display the HDR image with the adjusted display parameters.

[0027] See also Figure 2 The image display device 10 of the embodiment of the present application includes a judgment module 11, an adjustment module 12 and a display module 13. The judgment module 11, the adjustment module 12 and the display module 13 are used to execute step 011, step 012 and step 013 respectively. That is, the judgment module 11 is used to judge whether the image to be processed is an HDR image; the adjustment module 12 is used to adjust the display parameters of the display 30 when the image to be processed is an HDR image to increase the brightness of the highlight area of ​​the HDR image; the display module 13 is used to display the HDR image with the adjusted display parameters.

[0028] See also Figure 3 and Figure 4 In some embodiments, the terminal 100 further includes a display 30 and a processor 20. The processor 20 is used to determine whether the image to be processed is an HDR image, and when the image to be processed is an HDR image, adjust the display parameters of the display 30 to increase the brightness of the highlight area of ​​the HDR image; the display 30 is used to display the HDR image with the adjusted display parameters. That is, steps 011 and 012 can be implemented by the processor 20, and step 013 can be implemented by the display 30.

[0029] Specifically, the terminal 100 includes a housing 40, a processor 20, and a display 30. The terminal 100 may be a mobile phone, a tablet computer, a display device, a laptop computer, a teller machine, a gate machine, a smart watch, a head-mounted display device, a game console, etc. Figure 3 As shown, the embodiment of the present application is described by taking the terminal 100 as a mobile phone as an example. It can be understood that the specific form of the terminal 100 is not limited to a mobile phone. The housing 40 can also be used to install functional modules such as a display device (i.e., display 30), an imaging device, a power supply device, and a communication device of the terminal 100, so that the housing 40 provides dustproof, drop-proof, waterproof and other protections for the functional modules.

[0030] The image to be processed may be obtained by photographing the camera 50 of the terminal 100 or may be downloaded from the Internet by the user, which is not limited here.

[0031] After acquiring the image to be processed, the processor 20 first determines whether the image to be processed is an HDR image; specifically, the determination can be made through the following steps: obtaining the image parameters of the image to be processed; for example, when the image is generated by the camera 50, the image parameter information of the image is generally generated at the same time, such as the image parameter information including the size of the image, the format of the image, the type of the image, etc., so as to facilitate the processor 20 to quickly obtain the image information. Then the processor 20 determines whether the image to be processed is an HDR image based on the image parameters. For example, the processor 20 determines whether the image to be processed is an HDR image based on the type information of the image; or, the image format of the HDR image is different from that of the ordinary image, generally HDR or TIF, and the processor 20 can determine whether the image to be processed is an HDR image by identifying the format of the image to be processed.

[0032] When it is determined that the image to be processed is an HDR image, the processor 20 adjusts the display parameters of the display 30. The display parameters may specifically include at least one of a display mode, whether to enable load compensation, and a contrast parameter. For example, the display parameters include a display mode, and there are multiple display modes, such as a display mode including a highlight mode, a medium brightness mode, and a low brightness mode with decreasing display brightness in sequence. At this time, adjusting the display parameters is: selecting a highlight mode, at which the display 30 displays with a driving current matching the highlight mode, thereby highlighting the HDR image with a higher brightness;

[0033] For another example, the display parameters include the display mode and whether to turn on load compensation (LEC). At this time, adjusting the display parameters is: selecting the high brightness mode and turning off LEC. In the high brightness mode, the driving current of each pixel of the display 30 becomes larger, that is, the overall brightness of the displayed image is improved. When LEC is turned on, R+G+B=W, where R is the brightness of a pure red image, G is the brightness of a pure green image, B is the brightness of a pure blue pixel, and W is the brightness of a pure white image. When LEC is turned off, when the display 30 displays an image, R+G+B>W, such as R+G+B=1.4W. This will cause the display 30 to not compensate for low-grayscale pixels when displaying an image. For an organic light-emitting diode (OLED) display screen, a pixel with a higher pixel value has a larger corresponding driving current. Therefore, the driving current of high-grayscale pixels will further increase, while the driving current of low-grayscale pixels will decrease. The total driving current of the display 30 remains basically unchanged, thereby ensuring that the display effect is improved while power consumption is not increased. As the average pixel level (APL) of the image decreases, that is, the average pixel value of the image decreases, the brightness difference between the high grayscale part (including the highlight area) and the low grayscale part will become larger and larger, thereby further improving the display brightness of the highlight area while improving the overall brightness, thereby achieving prominent display of the highlight area.

[0034] For another example, the display parameters may specifically include a display mode and a contrast parameter. At this time, adjusting the display parameters means: selecting a highlight mode and increasing the contrast parameter. In the highlight mode, the driving current of each pixel of the display 30 becomes larger, that is, the overall brightness of the displayed image is improved. After the contrast parameter is increased, the display 30 will further increase the driving current corresponding to the high grayscale pixels in the image, and reduce the driving current corresponding to the low grayscale pixels. The driving current adjustment ratio of the pixel can be determined based on the pixel value and the contrast parameter of the pixel. For example, pixels with pixel values ​​greater than a predetermined pixel value (such as 150, 200, 220, 240, etc.) are highlight pixels, and pixels with pixel values ​​less than a predetermined pixel value (such as 150, 200, 240, etc., for example, the predetermined pixel value is 150) are medium and low brightness pixels. For highlight pixels, the larger the pixel value, The larger the adjustment ratio (all greater than 1), when the pixel value is equal to 150, no adjustment is made (that is, the adjustment ratio is 1). For medium and low brightness pixels, the smaller the pixel value, the smaller the adjustment ratio (all less than 1); and the larger the contrast parameter, it means that you want to make the brightness difference between the high grayscale part and the low grayscale part larger. Therefore, the adjustment ratio of the highlight pixel is further increased, while the adjustment ratio of the medium and low brightness pixels is further reduced. In this way, the display brightness of the highlight area is further improved while the overall brightness is improved, so as to achieve prominent display of the highlight area.

[0035] For another example, the display parameters may specifically include the display mode, whether to enable load compensation, and contrast parameters. At this time, adjusting the display parameters means: selecting the highlight mode, turning off LEC, and increasing the contrast parameters. Thus, when the overall brightness is improved, the brightness difference between the high grayscale part (including the highlight area) and the low grayscale part will be further expanded, so as to further improve the display brightness of the highlight area and realize the prominent display of the highlight area.

[0036] For another example, the display parameters may specifically include whether to turn on load compensation and contrast parameters. At this time, adjusting the display parameters means turning off LEC and increasing the contrast parameters, so that the brightness difference between the high grayscale part (including the highlight area) and the low grayscale part is enlarged, so as to further improve the display brightness of the highlight area and realize the prominent display of the highlight area.

[0037] In this implementation, the display parameters include a display mode, whether to enable load compensation, and a contrast parameter.

[0038] In one embodiment, the display parameters include the display mode, and whether to turn on any one of the load compensation and contrast parameters. At this time, adjusting the display parameters is to adjust the display mode to the highlight mode, and to turn off any one of the load compensation and increase the contrast parameters. In this way, the brightness of the highlight area of ​​the HDR image can be increased by adjusting any display parameter, and the brightness difference between the high grayscale part (including the highlight area) and the low grayscale part is expanded by turning on load compensation and adjusting the contrast parameters, so as to further improve the display brightness of the highlight area and realize the prominent display of the highlight area.

[0039] In another embodiment, the display parameters include any two of the display mode, whether to turn on load compensation, and contrast parameters. In this case, adjusting the display parameters is to adjust the display mode to the highlight mode, turn off load compensation, and increase any two of the contrast parameters. After adjusting the display parameters, the display 30 can make the brightness of the highlight area larger and the brightness difference between the high grayscale part and the low grayscale part larger, thereby achieving prominent display of the highlight area.

[0040] The image display method, image display device 10 and terminal 100 of the embodiment of the present application improve the brightness of the highlight area in the HDR image by identifying the HDR image and adjusting the display parameters, which is conducive to improving the display effect of the HDR image. The display parameters in the present application can not only improve the brightness of the highlight area, but also make the brightness difference between the high grayscale part and the low grayscale part larger, so as to realize the prominent display of the highlight area.

[0041] See also Figure 5 In some embodiments, the image display method further comprises:

[0042] 014: When the image to be processed is not an HDR image, restore the display parameters before adjustment.

[0043] Please refer again Figure 2 In some embodiments, the image display device 10 further includes a restoration module 14. The restoration module 14 is used to execute step 014. That is, the restoration module 14 is used to restore the display parameters before adjustment when the image to be processed is not an HDR image.

[0044] Please refer again Figure 3 In some embodiments, the processor 20 is further configured to restore the display parameters before adjustment when the image to be processed is not an HDR image. That is, step 014 can be implemented by the processor 20.

[0045] Specifically, when the image to be processed is not an HDR image, there is no need to perform highlighting and highlighting of the highlight area. After the processor 20 has adjusted the display parameters, the processor 20 restores the adjusted display parameters to the display parameters before the adjustment. For example, the display parameters before the adjustment are low-brightness mode, LEC is turned on, and the contrast parameter is the default value (such as the maximum value is 100 and the default value is 50). The adjusted display parameters are high-brightness mode, LEC is turned off, and the contrast parameter is increased to 1.2 times the default value. Then, when the image to be processed, that is, the image currently to be displayed is not an HDR image, the processor 20 restores the display parameters to the display parameters before the adjustment: low-brightness mode, LEC is turned on, and the contrast parameter is the default value. Alternatively, when the processor 20 has not adjusted the display parameters, if the image to be processed is not an HDR image, the display parameters may not be adjusted, or they may be adjusted according to the predetermined display parameters. The predetermined display parameters may be medium-brightness mode, LEC is turned on, and the contrast parameter is set to the default value.

[0046] In this way, the HDR image and the non-HDR image are displayed using different display parameters, thereby improving the display effect of the HDR image while ensuring that the display effect of the non-HDR image is not affected.

[0047] See also Figure 6 In some embodiments, after adjusting the display parameters of the display 30, the image display method further includes:

[0048] 015: Perform the first brightness processing on the highlight area to increase the brightness of the highlight area.

[0049] Please refer again Figure 2 In some embodiments, the image display device 10 further includes a processing module 15, and the processing module 15 is used to execute step 015. That is, the processing module 15 is used to perform a first brightness processing on the highlight area to increase the brightness of the highlight area.

[0050] Please refer again Figure 3 In some implementations, the processor 20 is further configured to perform a first brightness processing on the highlight area to increase the brightness of the highlight area.

[0051] Specifically, the processor 20 first identifies a highlight area in the HDR image. The highlight area is an area in the HDR image where highlight pixels are concentrated. The highlight pixel is a pixel greater than or equal to a predetermined pixel value. For example, the predetermined pixel value may be 150, 180, 220, 225, 230, 236, 240, 244, 250, 255, etc. When the processor 20 identifies a highlight area in the HDR image, it may first identify the highlight pixel in the HDR image based on whether the pixel value of the pixel is greater than the predetermined pixel value, and then determine the highlight area based on the distribution of the highlight pixels. The highlight area may be composed only of highlight pixels. When the highlight area is composed only of highlight pixels, the pixel values ​​of the pixels in the highlight area are all greater than the predetermined pixel value, thereby ensuring the accuracy of the highlight area determination; or the highlight area may also be composed of some highlight pixels and some medium and low brightness pixels (pixels with pixel values ​​less than the predetermined pixel value), wherein the proportion of highlight pixels in the highlight area is greater than a preset proportion, and the preset proportion may be 60%, 70%, 75%, 80%, 85, 90%, 95%, 99%, etc., that is, the processor 20 regards the part in which the highlight pixel proportion reaches the preset proportion as the highlight area, thereby ensuring the integrity of the highlight area, preventing too many highlight areas or even a single pixel from being regarded as a highlight area, resulting in the highlight area after the first brightness processing being too scattered in distribution, affecting the display effect of the HDR image.

[0052] Then the processor 20 performs a first brightness processing on the highlighted area. The first brightness processing may specifically be to amplify the pixel values ​​of the pixels corresponding to the highlighted area, thereby increasing the brightness of the pixels in the highlighted area by changing the pixel values. Of course, according to the selection of the predetermined pixel value, the brightness gain of increasing the brightness of the pixels in the highlighted area by changing the pixel value is also different. The smaller the predetermined pixel value is, the greater the difference between it and the maximum pixel value of 255 is, and the greater the brightness gain is; the larger the predetermined pixel value is, the smaller the difference between it and the maximum pixel value of 255 is, and the smaller the brightness gain is.

[0053] The display brightness of the display 30 is related not only to the pixel value but also to the driving current. The larger the pixel value, the greater the display brightness. The larger the driving current, the greater the display brightness.

[0054] In order to further improve the brightness of the highlight area, the first brightness processing may specifically be: increasing the driving current of the pixel corresponding to the highlight area in the display 30 to the target driving current according to a predetermined ratio. The processor 20 changes the driving current of the pixel corresponding to the highlight area, thereby specifically improving the brightness of the highlight area without increasing the brightness of the medium and low brightness areas outside the highlight area in the HDR image, increasing the brightness difference between the highlight area and the medium and low brightness areas, and further improving the highlighting effect of the highlight area of ​​the HDR image.

[0055] The first brightness processing may specifically be: increasing the driving current of the display 30 to the target driving current according to a predetermined ratio. The processor 20 changes the overall driving current of the display 30 to increase the display brightness of the entire display interface, thereby improving the display effect of the HDR image.

[0056] As the driving current increases, the display brightness increases accordingly. The processor 20 can calculate the target driving current based on the current driving current and the predetermined ratio. The predetermined ratio can be determined based on the ratio value of the current driving current and the maximum driving current, that is, the target driving current can be the maximum driving current that the display 30 can drive, and the driving current can be maximized to improve the display effect of the HDR image. Of course, the target driving current can also be greater than the current driving current and less than the maximum driving current. For example, if the current driving current is 70% of the maximum driving current, the target current driving current can be 95%, 90%, etc. of the maximum driving current, thereby reducing the power consumption of the display 30 displaying the HDR image.

[0057] See also Figure 7 In some embodiments, step 015 includes the following steps:

[0058] 0151: Perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas before the first brightness processing and after the second brightness processing is consistent.

[0059] Please refer again Figure 2 In some embodiments, the processing module 15 is further used to execute step 0151. That is, the processing module 15 is further used to perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas before the first brightness processing and after the second brightness processing is consistent.

[0060] Please refer again Figure 3 In some embodiments, the processor 20 is further configured to perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas before the first brightness processing and after the second brightness processing is consistent. That is, step 0151 can be implemented by the processor 20.

[0061] Specifically, after the display 30 increases the driving current to the target driving current as a whole, the overall brightness of the HDR image is improved. In order to achieve the goal of increasing the brightness of the highlight area only and further improving the prominent display effect of the highlight area, the processor 20 can perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas before increasing the driving current and after the second brightness processing remains consistent. In other words, performing the first brightness processing on the highlight area includes increasing the driving current of the display 30 to the target driving current according to a predetermined ratio, and performing the second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image.

[0062] Here, keeping consistent means that the brightness of the medium and low brightness areas before increasing the driving current is equal to that after the second brightness processing; or the difference in brightness of the medium and low brightness areas before increasing the driving current and after the second brightness processing is less than a predetermined difference.

[0063] For example, the processor 20 reduces the brightness of the medium and low brightness area in the target driving current to the brightness before the driving current is increased. The processor 20 performs the second brightness processing on the medium and low brightness area outside the highlight area in the HDR image, which can be to reduce the pixel value of the pixel in the medium and low brightness area according to the scaling factor. For example, the processor 20 first calculates the driving current difference between the driving current before the driving current is increased and the target driving current, and then obtains the scaling factor corresponding to the pixel value of the pixel according to the driving current difference based on the preset lookup table, and reduces the pixel value of the pixel in the medium and low brightness area according to the scaling factor. The scaling factor can be for each pixel, that is, each pixel has a corresponding scaling factor, so as to achieve accurate second brightness processing for each pixel; it can also be for each medium and low brightness area, that is, the medium and low brightness area corresponds to a scaling factor, and the scaling factor can be the scaling factor corresponding to the pixel with the largest pixel value in the medium and low brightness area, or the scaling factor can also be the scaling factor corresponding to the average value of the pixel value in the medium and low brightness area, etc., so there is no need to calculate the scaling factor corresponding to each pixel, reducing the amount of calculation. Among them, the scaling factor is less than 1, the larger the brightness difference, the smaller the scaling factor, and the smaller the brightness difference, the larger the scaling factor. In this way, the brightness of the highlight area is further improved while the brightness of the medium and low brightness areas is guaranteed to remain unchanged, thereby improving the effect of highlighting the highlight area, and the display effect of the medium and low brightness areas is not affected, and the display effect of the HDR image is better.

[0064] When the display 30 only increases the driving current corresponding to the highlight area to the target driving current, the brightness of the medium and low brightness areas at this time does not change before and after the driving current is increased. At this time, you can choose not to perform the second brightness processing on the medium and low brightness areas, or you can choose to continue to perform the second brightness processing on the medium and low brightness areas. For example, the processor 20 can also perform the second brightness processing on the medium and low brightness areas other than the highlight area in the HDR image by: reducing the pixel value of the pixel in the medium and low brightness area by a predetermined scaling factor (such as 0.5, 0.6, 0.65, etc.), so that the brightness of the medium and low brightness areas after the second brightness processing is lower than the brightness of the medium and low brightness areas before the driving current is increased, further increasing the brightness difference between the highlight area and the medium and low brightness areas, and improving the highlight display effect of the HDR image.

[0065] In other embodiments, the processor 20 may also reduce the brightness of the medium and low brightness areas at the target drive current to the brightness before the display parameter is adjusted. It is understandable that after the display parameters are adjusted, since the display 30 is in the high brightness mode, the brightness of the medium and low brightness areas at this time will also be improved. At this time, according to the drive current difference between the drive current before the display parameter adjustment and the target drive current, based on the preset lookup table, the scaling factor corresponding to the pixel value of the pixel can be obtained according to the drive current difference, and the pixel value of the pixel in the medium and low brightness area can be reduced according to the scaling factor. Thereby, the brightness of the medium and low brightness areas before the display parameter adjustment and after the second brightness processing is kept consistent, and the brightness difference between the highlight area and the medium and low brightness area is further increased, thereby improving the prominent display effect of the HDR image.

[0066] See also Figure 8 In some embodiments, step 0151 further includes the following steps:

[0067] 0152: amplify the pixel values ​​of the pixels in the highlight area; and

[0068] 0153: Reduce the pixel values ​​of the pixels of the HDR image.

[0069] Please refer again Figure 2 In some embodiments, the processing module 15 is further configured to execute step 0152 and step 0153. That is, the processing module 15 is further configured to amplify the pixel values ​​of the pixels in the highlight area; and to reduce the pixel values ​​of the pixels in the HDR image.

[0070] Please refer again Figure 3 In some embodiments, the processor 20 is further configured to amplify the pixel values ​​of the pixels in the highlight area and to reduce the pixel values ​​of the pixels in the HDR image. That is, step 0152 and step 0153 can be implemented by the processor 20.

[0071] Specifically, when performing the second brightness processing on the medium and low brightness areas, the processor 20 may first amplify the pixel values ​​of the pixels in the highlight area, and then reduce the entire HDR image, so that the pixel values ​​of the pixels in the highlight area remain basically unchanged, while the pixel values ​​of the pixels in the medium and low brightness areas are reduced, and the brightness of the pixels in the medium and low brightness areas is reduced to keep the display brightness basically consistent with that before the display brightness is increased. For example, the pixel values ​​of the pixels in the highlight area may be amplified (the amplification factor is the inverse of the scaling factor) according to the scaling factor calculated in the above-mentioned embodiment, and then the pixel values ​​of the entire HDR image may be reduced according to the scaling factor (the reduction factor is equal to the scaling factor), at which time the pixel values ​​of the pixels in the highlight area remain unchanged, while the pixel values ​​of the pixels in the medium and low brightness areas are reduced by half. Among them, the scaling factor may be determined based on a preset lookup table and the driving current difference between the driving current before the driving current is increased and the target driving current; or, the scaling factor may be determined based on a preset lookup table and the driving current difference between the driving current before the display parameter is adjusted and the target driving current.

[0072] Alternatively, when performing the second brightness processing on the medium and low brightness areas, the processor 30 directly reduces the pixel values ​​of the pixels in the medium and low brightness areas according to the scaling factor, thereby reducing the brightness of the medium and low brightness areas, so that the brightness of the medium and low brightness areas before the first brightness processing and after the second brightness processing remains consistent; or, the brightness of the medium and low brightness areas before the display parameter adjustment and after the second brightness processing remains consistent.

[0073] See also Fig. 9 In some embodiments, step 0152 includes:

[0074] 0154: Calculate the driving current difference between the driving current before the first brightness processing and the target driving current;

[0075] 0155: Based on a preset lookup table, a scaling factor corresponding to a predetermined pixel value is obtained according to the driving current difference, and the predetermined pixel value is less than a minimum pixel value of pixels in the highlight area;

[0076] 0156: Linearly amplify the pixel values ​​of the pixels in the highlight area according to the scaling factor.

[0077] Step 0153 includes:

[0078] 0157: Reduce the pixel values ​​of the pixels of the HDR image according to the scaling factor.

[0079] Please refer again Figure 2In some embodiments, the processing module 15 is further used to execute step 0154, step 0155, step 0156 and step 0157. That is, the processing module 15 is further used to calculate the driving current difference between the driving current before the first brightness processing and the target driving current; based on a preset lookup table, obtain a scaling factor corresponding to a predetermined pixel value according to the driving current difference, the predetermined pixel value is less than the minimum pixel value of the pixels in the highlight area; linearly amplify the pixel values ​​of the pixels in the highlight area according to the scaling factor; and reduce the pixel values ​​of the pixels of the HDR image according to the scaling factor.

[0080] Please refer again Figure 3 In some embodiments, the processor 20 is further configured to calculate the driving current difference between the driving current before the first brightness processing and the target driving current; based on a preset lookup table, obtain a scaling factor corresponding to a predetermined pixel value according to the driving current difference, wherein the predetermined pixel value is less than the minimum pixel value of the pixels in the highlight area; linearly amplify the pixel values ​​of the pixels in the highlight area according to the scaling factor; and reduce the pixel values ​​of the pixels of the HDR image according to the scaling factor. That is, steps 0154, 0155, 0156, and 0157 can be implemented by the processor 20.

[0081] Specifically, when the processor 20 amplifies the pixels in the highlight area, it first calculates the driving current difference between the driving current before the driving current is increased and the target driving current, and then obtains the scaling factor corresponding to the predetermined pixel value according to the driving current difference based on the preset lookup table. The preset lookup table stores the mapping relationship between the pixel value, the driving current difference and the scaling factor. According to any two of them, the other one can be determined, such as determining the scaling factor according to the predetermined pixel value and the driving current difference, and determining the predetermined pixel value according to the driving current difference and the scaling factor. The predetermined pixel value is a value for distinguishing between highlight pixels and medium and low brightness pixels. For example, the predetermined pixel value can be 150, 180, 220, 225, 230, 236, 240, 244, 250, 255, etc. This embodiment is described by taking the predetermined pixel value of 240 as an example. When the pixel value of a pixel is greater than or equal to 240, the pixel is a highlight pixel; when the pixel value is less than 240, the pixel is a medium and low brightness pixel.

[0082] In one example, the scaling factor determined according to the predetermined pixel value (240) and the driving current difference is B. After the pixel with the predetermined pixel value is scaled according to the scaling factor, the display brightness of the pixel is reduced to the display brightness before the driving current is increased.

[0083] When the processor 20 linearly amplifies the pixel values ​​of the pixels in the highlight area according to the scaling factor B, the larger the pixel value is, the brighter the pixel is, and the correspondingly larger the scaling factor can be set to improve the highlighting effect of the highlight area.

[0084] The processor 20 can determine that the magnification coefficient corresponding to the predetermined pixel value 240 is 1, and the reduction coefficient corresponding to the maximum pixel value 255 is 1 / B, thereby determining a and b in the linear magnification function Y=aX+b according to the two sets of values ​​(240, 1) and (255, 1 / B), where X is the pixel value, Y is the magnification coefficient, and a and b are constants.

[0085] Then, the magnification coefficient corresponding to each pixel in the highlight area is determined according to the linear magnification function to linearly magnify the pixel values ​​of the pixels in the highlight area. The amplified pixel values ​​will not be used for display, but are convenient for the subsequent processor 20 to perform a reduction process on the pixels of the entire HDR image according to the scaling factor. The reduction process is to multiply the pixel value of each pixel of the HDR image by the scaling factor B.

[0086] Specifically, since each pixel contains pixel values ​​of three channels of red, green and blue (i.e., R, G, B), the pixel values ​​of each channel are enlarged and reduced when zooming in and out. For example, when reducing the pixel values, a focus matrix whose diagonal values ​​are all B is set, and then (R, G, B) is multiplied by the focus matrix to calculate the reduced pixel value, thereby ensuring that only the display brightness of the pixel changes, while the color information of the pixel does not change.

[0087] See also Fig.10 In some embodiments, step 015 further includes the following steps:

[0088] 0158: Perform a second brightness processing on the display area outside the HDR image in the current display interface, so that the brightness of the display area outside the HDR image before the first brightness processing and after the second brightness processing remains consistent.

[0089] Please refer again Figure 2 In some embodiments, the processing module 15 is further configured to execute step 0158. That is, the processing module 15 is further configured to perform a second brightness processing on the display area outside the HDR image in the current display interface, so that the brightness of the display area outside the HDR image before the first brightness processing and after the second brightness processing is consistent.

[0090] Please refer again Figure 3 In some embodiments, the processor 20 is further configured to perform a second brightness processing on a portion outside the HDR image in the current display interface, so that the brightness of the display area outside the HDR image before the first brightness processing and after the second brightness processing is consistent. That is, step 0158 can be implemented by the processor 20.

[0091] Specifically, when an HDR image is displayed, it may only occupy a portion of the current display interface. At this time, the display interface will also display the system interface, or other non-HDR images, etc. In order to further improve the highlighting effect of the highlight area, when performing the second brightness processing, in addition to performing the second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, the display area outside the HDR image in the display interface is also subjected to the second brightness processing, thereby ensuring that only the highlight area of ​​the HDR in the entire display interface is enhanced in brightness, thereby improving the highlighting effect of the highlight area. And performing the second brightness processing on the display areas outside the highlight area of ​​the HDR image in the display interface can prevent the display interface from displaying HDR images and other non-HDR images at the same time when sliding through the album, resulting in the display brightness switching between the display brightness after the enhancement corresponding to the HDR image and the display brightness before the enhancement corresponding to the non-HDR image, resulting in the problem of screen flickering, thereby improving the display effect when sliding through the image.

[0092] See also Fig.11 , a non-volatile computer-readable storage medium 300 storing a computer program 302 according to an embodiment of the present application, when the computer program 302 is executed by one or more processors 200, the processor 200 can execute the image display method of any of the above embodiments.

[0093] For example, please combine Figure 1 , when the computer program 302 is executed by one or more processors 200, the processor 200 performs the following steps:

[0094] 011: Determine whether the image to be processed is an HDR image;

[0095] 012: If yes, adjust the display parameters of the display 30 to increase the brightness of the highlight area of ​​the HDR image; and

[0096] 013: Display the HDR image with the adjusted display parameters.

[0097] For another example, please combine Figure 5 When the computer program 302 is executed by one or more processors 200, the processor 200 may further perform the following steps:

[0098] 014: When the image to be processed is not an HDR image, restore the display parameters before adjustment.

[0099] For another example, please combine Figure 6 When the computer program 302 is executed by one or more processors 200, the processor 200 may further perform the following steps:

[0100] 015: Perform the first brightness processing on the highlight area to increase the brightness of the highlight area.

[0101] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0102] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of a program code that includes one or more steps for implementing a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0103] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. An image display method, characterized in that: include: Determine whether the image to be processed is an HDR image; If yes, adjusting display parameters of the display to increase the brightness of the highlight area of ​​the HDR image; and Displaying the HDR image with the adjusted display parameters; The adjusting of the display parameters of the display includes: selecting at least one of a highlight mode, turning off load compensation, and increasing a contrast parameter; When the load compensation is turned on, R+G+B=W, wherein R is the brightness of a pure red image, G is the brightness of a pure green image, B is the brightness of a pure blue image, and W is the brightness of a pure white image; when the load compensation is turned off, R+G+B>W; After adjusting the display parameters of the display, the image display method further includes: Performing a first brightness processing on the highlight area to increase the brightness of the highlight area; The performing first brightness processing on the highlight area includes: increasing the driving current of the pixels corresponding to the highlight area in the display to a target driving current according to a predetermined ratio; The performing first brightness processing on the highlight area further includes: Performing a second brightness processing on medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas remains consistent before the first brightness processing and after the second brightness processing; The performing second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image includes: Amplifying the pixel values ​​of the pixels in the highlight area; and Performing downscaling processing on pixel values ​​of pixels of the HDR image; The amplifying the pixel values ​​of the pixels in the highlight area includes: Calculating a driving current difference between the driving current before the first brightness processing and the target driving current; Based on a preset lookup table, a scaling factor corresponding to a predetermined pixel value is obtained according to the driving current difference, wherein the predetermined pixel value is less than a minimum pixel value of pixels in the highlight area; Performing linear amplification processing on pixel values ​​of pixels in the highlight area according to the scaling factor; The reducing the pixel values ​​of the pixels of the HDR image comprises: The pixel values ​​of the pixels of the HDR image are reduced according to the scaling factor.

2. The image display method according to claim 1, characterized in that: The determining whether the image to be processed is an HDR image includes: Obtaining image parameters of the image to be processed; and Determine whether the image to be processed is an HDR image according to the image parameters.

3. The image display method according to claim 1, wherein the step of performing a first brightness processing on the highlight area further comprises: The driving current of the display is increased to a target driving current according to a predetermined ratio.

4. The image display method according to claim 1, characterized in that: The performing first brightness processing on the highlight area further includes: The second brightness processing is performed on the display area outside the HDR image in the current display interface, so that the brightness of the display area outside the HDR image before the first brightness processing and after the second brightness processing remains consistent.

5. An image display device, characterized in that: include: A judgment module, used to judge whether the image to be processed is an HDR image; A processing module, used for adjusting display parameters of a display to increase the brightness of a highlight area of ​​the HDR image when the image to be processed is an HDR image; and A display module, configured to display the HDR image using the adjusted display parameters; The adjusting of the display parameters of the display includes: selecting at least one of a highlight mode, turning off load compensation, and increasing a contrast parameter; When the load compensation is turned on, R+G+B=W, wherein R is the brightness of a pure red image, G is the brightness of a pure green image, B is the brightness of a pure blue image, and W is the brightness of a pure white image; when the load compensation is turned off, R+G+B>W; After adjusting the display parameters of the display, the processing module is also used to perform a first brightness processing on the highlight area to increase the brightness of the highlight area; increase the driving current of the pixels corresponding to the highlight area in the display to the target driving current according to a predetermined ratio; perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas remains consistent before the first brightness processing and after the second brightness processing; amplify the pixel values ​​of the pixels in the highlight area; and reduce the pixel values ​​of the pixels of the HDR image; calculate the driving current difference between the driving current before the first brightness processing and the target driving current; based on a preset lookup table, obtain a scaling factor corresponding to a predetermined pixel value according to the driving current difference, and the predetermined pixel value is less than the minimum pixel value of the pixels in the highlight area; linearly amplify the pixel values ​​of the pixels in the highlight area according to the scaling factor; and reduce the pixel values ​​of the pixels of the HDR image according to the scaling factor.

6. A terminal, characterized in that: The terminal includes a processor and a display, wherein the processor is used to determine whether the image to be processed is an HDR image, and when the image to be processed is an HDR image, adjust display parameters of the display to increase the brightness of a highlight area of ​​the HDR image; The display is used to display the HDR image with the adjusted display parameters; The adjusting of the display parameters of the display includes: selecting at least one of a highlight mode, turning off load compensation, and increasing contrast parameters; when the load compensation is turned on, R+G+B=W, wherein R is the brightness of a pure red image, G is the brightness of a pure green image, B is the brightness of a pure blue image, and W is the brightness of a pure white image; when the load compensation is turned off, R+G+B>W; After adjusting the display parameters of the display, the processor is also used to perform a first brightness processing on the highlight area to increase the brightness of the highlight area; increase the driving current of the pixels corresponding to the highlight area in the display to the target driving current according to a predetermined ratio; perform a second brightness processing on the medium and low brightness areas outside the highlight area in the HDR image, so that the brightness of the medium and low brightness areas remains consistent before the first brightness processing and after the second brightness processing; amplify the pixel values ​​of the pixels in the highlight area; and reduce the pixel values ​​of the pixels of the HDR image; calculate the driving current difference between the driving current before the first brightness processing and the target driving current; based on a preset lookup table, obtain a scaling factor corresponding to a predetermined pixel value according to the driving current difference, and the predetermined pixel value is less than the minimum pixel value of the pixels in the highlight area; linearly amplify the pixel values ​​of the pixels in the highlight area according to the scaling factor; and reduce the pixel values ​​of the pixels of the HDR image according to the scaling factor.

7. A non-volatile computer-readable storage medium containing a computer program, wherein when the computer program is executed by a processor, the processor executes the image display method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Adaptive adjustment method of color chrominance of display device

    CN103021367A

  • Image processing method and device and television

    CN108074220A

  • Method for adjusting backlight brightness, device, apparatus and storage medium

    CN108182912A

  • Pixel compensation method and device and terminal equipment

    CN109817170A

  • Image display method and device, terminal and readable storage medium

    CN112164007A