Display control method and device, electronic equipment and medium

By performing color correction on the brightness parameters of electronic device displays, a target image is generated to cover video frames, solving the problem of inconsistent display effects during HDR video playback state switching and improving the user experience.

CN119905074BActive Publication Date: 2025-11-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311403373.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2025-11-28
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

The display quality of existing electronic devices deteriorates momentarily when switching between portrait and landscape modes for HDR video playback, resulting in a poor visual experience for users.

Method used

By acquiring the first image and performing color correction based on the brightness parameters of the display screen, a target image is generated to have the same display effect as the target video frame. The target video frame is then overlaid on the display before switching, ensuring the consistency of the display effect during playback state switching.

Benefits of technology

It achieves a smooth and fluid display effect during playback state transitions, enhancing the user's visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119905074B_ABST
    Figure CN119905074B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a display control method, device, electronic equipment and medium. The display control method comprises: in response to a first operation, obtaining a first image; based on a brightness parameter of a display screen, performing color correction processing on the first image to obtain a target image; and before a target video frame switches to a second playing state, displaying the target video frame overlaid with the target image on the display screen. In the present disclosure, by performing color correction processing on the first image, the target image obtained can have the same display effect as the target video frame, and by displaying the target video frame overlaid with the target image on the display screen, there is no obvious difference in display effect during the playing state switching process, the user's visual experience is good, and the user's use experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of electronic devices, and particularly relates to a display control method and device, electronic device and medium. BACKGROUND

[0002] With more and more HDR (High Dynamic Range) resources, the scene of users watching HDR videos will gradually be popularized. In the switching process of the existing electronic device between the horizontal and vertical screen playing states of the HDR video, there is a moment of poor display effect, which causes poor visual experience of the user. SUMMARY

[0003] To overcome the problems in the related art, the present disclosure provides a display control method and device, electronic device and medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a display control method is provided, comprising:

[0005] In response to a first operation, a first image is obtained, the first operation being used to indicate that a target video frame is switched from a first playing state to a second playing state, and the first image is generated based on the target video frame;

[0006] Based on a luminance parameter of a display screen, color correction processing is performed on the first image to obtain a target image, and the target image has the same display effect as the target video frame;

[0007] Before the target video frame is switched to the second playing state, the target video frame is displayed on the display screen by covering the target video frame with the target image.

[0008] In some embodiments, the color correction processing on the first image based on the luminance parameter of the display screen to obtain the target image comprises:

[0009] Converting first image data of the first image in a first color system into second image data in a second color system;

[0010] Based on the luminance parameter of the display screen, distribution data of a preset parameter in the first image data is obtained, and the preset parameter is used to represent the luminance of the first image data;

[0011] Based on the distribution data of the preset parameter in the first image data and a perceptual quantization curve, a correction value of a target component is determined, and the target component is used to represent the luminance of the second image data;

[0012] Based on the correction value of the target component, the second image data is adjusted to obtain second correction image data;

[0013] convert the second corrected image data in the second color system into first corrected image data in the first color system to obtain the target image.

[0014] In some embodiments, the converting the first image data of the first image in a first color system into second image data in a second color system comprises:

[0015] converting the first image data of the first image in the first color system into third image data in a third color system;

[0016] converting the third image data in the third color system into the second image data in the second color system.

[0017] In some embodiments, the converting the second corrected image data in the second color system into first corrected image data in the first color system to obtain the target image comprises:

[0018] converting the second corrected image data in the second color system into third corrected image data in the third color system;

[0019] converting the third corrected image data in the third color system into the first corrected image data in the first color system to obtain the target image.

[0020] In some embodiments, the first color system comprises an RGB color system, the second color system comprises an HSV color system, and the third color system comprises an XYZ color system.

[0021] In some embodiments, the preset parameter comprises a gray value, and the target component comprises a brightness component in the HSV color system.

[0022] In some embodiments, the display control method further comprises:

[0023] after the target video frame is switched to the second playing state, deleting the target image and playing the video in the second playing state.

[0024] In some embodiments, the first playing state is one of a horizontal screen playing state and a vertical screen playing state, and the second playing state is the other of the horizontal screen playing state and the vertical screen playing state.

[0025] According to a second aspect of the embodiments of the present disclosure, a display control apparatus is provided, comprising:

[0026] an acquisition module configured to acquire a first image in response to a first operation, the first operation being used to indicate that a target video frame is switched from a first playing state to a second playing state, and the first image being generated based on the target video frame;

[0027] a processing module configured to perform color correction processing on the first image based on a brightness parameter of a display screen to obtain a target image, the target image having the same display effect as the target video frame;

[0028] a display module configured to display the target image to cover the target video frame on the display screen before the target video frame is switched to the second playing state.

[0029] In some embodiments, the processing module is specifically configured to:

[0030] convert first image data of the first image in a first color system into second image data in a second color system;

[0031] acquire distribution data of a preset parameter in the first image data based on the brightness parameter of the display screen, the preset parameter being used to represent brightness of the first image data;

[0032] determine a correction value of a target component based on the distribution data of the preset parameter in the first image data and a perceptual quantization curve, the target component being used to represent brightness of the second image data;

[0033] adjust the second image data based on the correction value of the target component to obtain second correction image data;

[0034] convert the second correction image data in the second color system into first correction image data in the first color system to obtain the target image.

[0035] In some embodiments, the processing module is specifically configured to:

[0036] convert first image data of the first image in a first color system into third image data in a third color system;

[0037] convert the third image data in the third color system into second image data in the second color system.

[0038] In some embodiments, the processing module is specifically configured to:

[0039] convert the second correction image data in the second color system into third correction image data in the third color system;

[0040] convert the third corrected image data in the third color system into first corrected image data in the first color system to obtain the target image.

[0041] In some embodiments, the first color system comprises an RGB color system, the second color system comprises an HSV color system, and the third color system comprises an XYZ color system.

[0042] In some embodiments, the preset parameter comprises a gray value, and the target component comprises a brightness component in the HSV color system.

[0043] In some embodiments, the display control apparatus further comprises a second processing module configured to, after the target video frame is switched to the second playing state, delete the target image and play the video in the second playing state.

[0044] In some embodiments, the first playing state is one of a horizontal screen playing state and a vertical screen playing state, and the second playing state is the other of the horizontal screen playing state and the vertical screen playing state.

[0045] According to a third aspect of embodiments of the present disclosure, an electronic device is provided, comprising:

[0046] a processor;

[0047] a memory for storing processor-executable instructions;

[0048] The processor is configured to perform the display control method according to the first aspect of the present disclosure.

[0049] According to a fourth aspect of embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the display control method according to the first aspect of the present disclosure.

[0050] The above method of the present disclosure has the following beneficial effects: in the present disclosure, by performing color correction processing on the first image, the target image obtained has the same display effect as the target video frame, and the target image is displayed on the display screen by covering the target video frame, so that there is no obvious difference in the display effect during the playing state switching process, the user's visual experience is good, and the user's use experience is improved.

[0051] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0052] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.

[0053] Figure 1 is a flowchart of a display control method according to an exemplary embodiment.

[0054] Figure 2 is a flowchart of a display control method according to an exemplary embodiment.

[0055] Figure 3 is a flowchart of a display control method according to an exemplary embodiment.

[0056] Figure 4 is a flowchart of a display control method according to an exemplary embodiment.

[0057] Figure 5 is a flowchart of a display control method according to an exemplary embodiment.

[0058] Figure 6 is a block diagram of a display control apparatus according to an exemplary embodiment.

[0059] Figure 7 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0060] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings, in which like reference numerals represent like elements, and secondary reference numerals represent elements with secondary names for the elements having the primary reference numerals. The following exemplary embodiments described in the detailed description section are not meant to be an all-inclusive description of all aspects of the disclosure. Rather, they are merely examples that can illustrate some aspects of the disclosure.

[0061] HDR technology is a processing technology for improving image brightness and contrast. Compared with ordinary images, HDR images or HDR videos can provide more dynamic range and image details. The final HDR image is synthesized by using LDR (Low Dynamic Range) images with the best details corresponding to each exposure time, which can better reflect the visual effects in the real environment. For example, an HDR video is a video file using HDR technology. The HDR technology can adjust the unbalanced state of the originally dark and particularly black part and the bright and particularly glaring part in the picture to the effect of not losing details in the dark part, brighter in the bright part, and richer in overall color, which brings a picture closer to what the human eye sees and the real picture.

[0062] As HDR video resources are also increasing, and the display effect of the HDR video resources is getting better and better, the user's viewing of the HDR video is also gradually increasing. When the user uses the electronic device to watch the HDR video, for some reason, the user may switch the playing state of the HDR video, for example, the user wants to watch the HDR video more clearly, and switches the HDR video from portrait playing to landscape playing. In the switching process, the switching process of the playing state of the HDR video can be: the electronic device intercepts the current playing frame, and generates an image according to the current playing frame to cover the playing picture, and then waits for the playing state to be switched, and then continues to play the HDR video frame. However, since the image generated by the intercepted current playing frame is a DCI-P3 SDR (Standard Dynamic Range, standard dynamic range) image, the user is subjectively seen as the switching process of the playing state from the HDR video to the SDR image, and then from the SDR image to the HDR video, that is, the HDR effect will disappear temporarily in the switching process of the playing state, which brings the user a bad visual experience.

[0063] Here, it should be noted that DCI-P3 is a color gamut applied to digital cinema technology, which is a color gamut that pays more attention to visual impact rather than color comprehensiveness. Compared with other color standards, it has a wider red / green color range, and it is also a color gamut standard dominated by human visual experience. Therefore, DCI-P3 is a color gamut display effect.

[0064] Moreover, SDR and HDR have significant differences, which can be:

[0065] First, the brightness range of HDR and SDR is different, for example, when shooting a light bulb, the HDR picture can display the normal scene around the light bulb relative to the dark room, can achieve higher tolerance, and can display the light intensity of different brightness light bulbs, while the SDR image will only appear a bright light, and the details of the bright part cannot be distinguished.

[0066] Second, the single frame picture is different, for example, a certain picture under HDR is a curve connected by points with a distance less than 1 between 1 and 1000, while the same picture under SDR is a curve connected by points with a distance of 1 between 1 and 100.

[0067] Third, different video pictures, for example, the video using the HDR technology has different brightness and contrast of each frame of picture, so as to perfectly show the details and light and dark degree of each frame of picture, and the video picture using the SDR technology cannot do so. Therefore, the HDR technology is a technology capable of obtaining more picture details between light and dark, and the picture details of the same picture obtained under the SDR are less. Therefore, it can be seen that the display effect of the HDR technology is obviously better than that of the SDR technology.

[0068] To solve the above technical problems, the display control method provided by the present disclosure can be applied to an electronic device with a display screen. The display control method proposed by the present disclosure obtains a target image by performing color correction processing on a first image generated based on a target video frame, so that the target image and the target video frame have the same display effect. Before the target video frame switches to a second playing state, the target image covers the target video frame and is displayed on the display screen. In the present disclosure, by performing color correction processing on the first image, the target image obtained can have the same display effect as the target video frame. By displaying the target image on the display screen by covering the target video frame, the display effect during the playing state switching process has no obvious difference, the user's visual experience is good, and the user's use experience is improved.

[0069] The exemplary embodiments of the present disclosure provide a display control method which can be applied to an electronic device with a display screen. The electronic device can be a mobile phone, a tablet computer, a notebook computer, a smart robot, a smart wearable device, a smart car machine, or other smart devices with a display screen. The display control method can also be directly applied to a display screen. In addition, the electronic device is also provided with various hardware resources and an energy storage device for providing power for the operation of various hardware resources.

[0070] As shown in Figure 1 The display control method proposed by the present disclosure includes the following steps:

[0071] S101, in response to a first operation, a first image is obtained.

[0072] S102, based on the brightness parameter of the display screen, the first image is subjected to color correction processing to obtain a target image.

[0073] S103, before the target video frame switches to a second playing state, the target image covers the target video frame and is displayed on the display screen.

[0074] In step S101, the first operation is used to instruct the target video frame to switch from the first playing state to the second playing state. The first playing state can be a playing state of the video, such as the video being played or the video being stopped playing, or a playing state type, such as the video being played in a horizontal screen state or a vertical screen state. Similarly, the second playing state can be a playing state of the video, such as the video being played or the video being stopped playing, or a playing state type, such as the video being played in a horizontal screen state or a vertical screen state. It should be noted that since there is a switching process between the first playing state and the second playing state, the first playing state and the second playing state should be different, for example, the first playing state can be a horizontal screen state and the second playing state can be a vertical screen state; for another example, the first playing state can be a vertical screen state and the second playing state can be a horizontal screen state.

[0075] Here, it needs to be explained that there is a special case, that is, the first playing state is a horizontal screen state and the second playing state is also a horizontal screen state, but the directions corresponding to the two playing states are different, for example, the second playing state can be the playing state corresponding to the first playing state being flipped by 180°; or, the first playing state is a vertical screen state and the second playing state is also a vertical screen state, but the directions corresponding to the two playing states are different, for example, the second playing state can be the playing state corresponding to the first playing state being flipped by 180°. It can be seen that the special case is that the first playing state and the second playing state are the playing states corresponding to each other being flipped by 180°.

[0076] The first operation can be a click operation, a double-click operation, a voice operation, etc. performed by the user, for example, the first playing state is a horizontal screen state, if the user clicks the "exit horizontal screen playing" control in the current interface, it means that the user performs the first operation, and the electronic device will switch the target video frame from the horizontal screen playing state to the vertical screen playing state in response to the click operation of the user; for another example, the first operation playing state is that the video is being played, when the user double-clicks the current interface, it means that the user performs the first operation, and the electronic device will switch the playing state from the video being played to the video being stopped playing in response to the double-click operation of the user.

[0077] The first operation can also be a processing operation performed by the electronic device, which can be understood as an automatic processing operation performed by the electronic device when detecting that a certain value reaches a preset threshold or detecting a certain data / signal, for example, the acceleration sensor of the electronic device detects that the user holds the electronic device in a horizontal screen state and then in a vertical screen state, and the electronic device will process the playing state according to the detected data and switch the target video frame from the horizontal screen playing state to the vertical screen playing state.

[0078] Wherein, after the first operation is performed by the user or the electronic device, it can be seen that the electronic device will switch the target video frame from the first playing state to the second playing state, at this time, the electronic device will also obtain the first image, the first image is generated based on the target video frame, and the generation manner of the first image can be generated based on the target video frame.

[0079] The target video frame refers to the frame corresponding to the change of the playing state, for example, when the HDR video is played to the 12th video frame, the user performs the first operation, then the target video frame is the 12th video frame, and the first image is the image generated based on the 12th video frame.

[0080] As mentioned above, the first image generated by the screenshot method is an SDR image of DCI-P3, if the first image is overlaid on the target video frame and displayed on the display screen at this time, it will cause obvious effect change in the switching process, and the obtained switching effect is not good. Therefore, the first image also needs to be processed, and the processed first image is used in the switching process to obtain a better switching effect and improve the user experience.

[0081] In step S102, the brightness parameter of the display screen can be any data that can represent the brightness of the display screen, such as the brightness value of the display screen; for example, the color step parameter of the display screen, wherein the color step is an index standard representing the brightness of the display screen, that is, the color index, in the digital image processing tutorial, it refers to the gray scale resolution, also known as gray scale level resolution or amplitude resolution; for example, the gray scale parameter of the display screen, wherein the gray scale parameter is equivalent to the gray value, the gray value can be used to represent the brightness of each pixel in the gray image, the larger the gray value, the higher the brightness of the pixel, and the smaller the gray value, the lower the brightness of the pixel.

[0082] In one example, the color correction processing of the first image can be adjusting the color balance of the first image. Color balance is a color adjustment method based on the principle of complementary colors, mainly changing the overall color mixture of the image, such as adjusting the proportion of shadows, mid-tones and highlights in the image.

[0083] In another example, the color correction processing on the first image can be a color system conversion processing on the first image, and then the color correction processing on the first image is realized. The existing common color systems include an R (Red), G (Green), B (Blue) color system, an H (Hue), S (Saturation), V (Value) color system, and an XYZ color system. For example, the first image is currently in the RGB color system, and the color correction processing can be a conversion of the first image from the RGB color system to the HSV color system. For another example, the color correction processing can be a conversion of the first image from the RGB color system to the XYZ color system.

[0084] The RGB color system is a color standard in the industry, and various colors are obtained through the changes of the red, green, and blue color channels and the superposition of them. RGB represents the three channels of red, green, and blue. This standard includes almost all colors that can be perceived by human vision, and is one of the most widely used color systems. The HSV color system is a color system created by A.R.Smith in 1978 according to the intuitive characteristics of colors, also known as the hexagonal cone model. The HSV color system refers to a visible light subset in the H, S, V three-dimensional color space, which contains all colors in a certain color domain. Each color is represented by hue, saturation, and brightness. The XYZ color system is a commonly used color standard, which divides colors into three channels, namely red, green, and blue. By converting the image to the XYZ color system, the colors in the image can be corrected to match the user's color intention. Figure 1

[0085] In one example, a commonly used tool for color correction processing on images in the related art is a LUT (Look Up Table), which can also be referred to as a color lookup table and a color correspondence table. When performing color correction processing on videos or images, it is often difficult to deal with complex color rings and color curves, and the LUT can solve this problem well. In simple terms, the LUT is equivalent to a function. After the color information of each pixel point in the image or video is processed by the LUT, the color information is repositioned to obtain new color information, thereby completing the color correction processing.

[0086] ​The LUT can be divided into a 1D LUT and a 3D LUT, wherein the 1D LUT is actually a one-dimensional lookup table, and each color after passing through the 1D LUT output has a specific value, but changing the input value of a certain color only affects the output value of the color, for example, in the RGB color system, R, G, and B colors are included, and the data of R, G, and B are independent of each other, and changing the input value of R only affects the output value of R. The 3D LUT is a three-dimensional lookup table, and the change of a certain input color will affect the three color values, that is, the change of any color will change other colors, for example, in the RGB color system, R, G, and B colors are included, and when the input value of R is changed, the output values of R, G, and B will change.

[0087] In the present disclosure, the 3D LUT or the 1D LUT can be used to perform color correction processing on the first image, so that the obtained target image has the same display effect as the target video frame.

[0088] In step S103, in combination with the content described in step S102, it can be known that the target image has the same display effect as the target display frame, so that the target image can be used to cover the target display frame during the switching process, that is, before the target video frame is switched to the second playing state, so that the switching process from the first playing state to the second playing state does not have a display effect change, and the entire switching process is smooth and fluent.

[0089] In the present disclosure, by obtaining the first image, and based on the brightness parameter of the display screen, the first image is subjected to color correction processing, so that the obtained target image has the same display effect as the target video frame, and finally the target image is overlaid on the target video frame and displayed on the display screen, so that there is no display effect change in the process of switching the target display frame from the first playing state to the second playing state, and the same display effect is achieved, so that the switching process is completed smoothly and fluently.

[0090] According to an exemplary embodiment, as shown in Figure 2 The display control method in the present embodiment comprises:

[0091] S201, in response to a first operation, obtaining a first image.

[0092] S202, converting first image data of the first image in a first color system into second image data in a second color system.

[0093] S203, based on a brightness parameter of a display screen, obtaining distribution data of a preset parameter in the first image data.

[0094] S204, determining a correction value of the target component based on the distribution data of the preset parameter in the first image data and the perceptual quantization curve.

[0095] S205, adjusting the second image data based on the correction value of the target component to obtain second correction image data.

[0096] S206, converting the second correction image data in the second color system into first correction image data in the first color system to obtain a target image.

[0097] S207, before the target video frame switches to the second playing state, displaying the target video frame overlaid with the target image on the display screen.

[0098] Wherein, steps S201 and S207 are the same as steps S101 and S103 in the above embodiment, and will not be repeated here.

[0099] In step S202, the first color system can be RGB color system, and the second color system can be HSV color system.

[0100] For the convenience of understanding the following content, the present disclosure briefly explains RGB color system and HSV color system here:

[0101] RGB color system is designed from the principle of color light, in simple terms, its color mixing method is like there are three red, green and blue lamps, when their light overlaps each other, the color is mixed, and the brightness is equal to the sum of the brightness of the two, the more mixed, the higher the brightness, that is, additive mixing. Red, green and blue three color channels each color is divided into 256 levels of brightness, represented by numbers from 0, 1, 2... to 255. Here, we can introduce a three-dimensional rectangular coordinate system, three coordinate axes represent the amount of red, green and blue color respectively, and since the range of the amount is limited, that is, (0, 255). Therefore, the range of values will form a cube in the three-dimensional space. Any color value in the RGB color system will correspond to a point in this cube, such as the origin (0, 0, 0) representing pure black; such as the opposite corner of the origin (255, 255, 255) representing pure white.

[0102] The HSV color system consists of three color channels: hue, saturation, and value. The HSV color system is a model that describes colors in a way that is similar to how humans perceive them, which is why it is widely used in computer graphics and computer vision. The hue channel represents the color's hue, also known as the color angle. The color angle is the position of the color on a color wheel, and its value ranges from 0 to 360 degrees. In the HSV color system, changes in the color angle correspond to changes in the color, for example, red corresponds to 0 degrees, green corresponds to 120 degrees, and blue corresponds to 240 degrees, and so on. The saturation channel represents the color's saturation, also known as the color's brightness or purity. The saturation is the intensity or purity of the color, and its value ranges from 0 to 100%. In the HSV color system, a saturation of 0 corresponds to a gray color, and a saturation of 100% corresponds to the most vibrant color. The value channel represents the color's value, also known as the color's lightness or brightness. The value is the lightness or darkness of the color, and its value ranges from 0 to 100%. In the HSV color system, a value of 0 corresponds to black, and a value of 100% corresponds to the brightest color.

[0103] By adjusting the values of these three channels in the HSV color system, you can achieve adjustments and changes to the color. Specifically, when V = 0, H and S are undefined, it represents black. When S = 0, V = 1, H is undefined, it represents white. When S is constant and H is undefined, V is between 0 and 1, which is a gray color with different shades.

[0104] In one example, the process of converting the first image data in the first color system to the second image data in the second color system can be:

[0105] Calculate R', G', B'; where R', G', B' represent the values of R, G, B divided by 255. It should be noted that dividing the values of R, G, B by 255 is to adjust the values of RGB to the range of 0-1, and to describe the range of 0-255 in the range of 0-1 to obtain absolute color information, which can facilitate subsequent calculation operations.

[0106] Calculate C max , C min , and the difference; where C max represents the maximum value of R', G', B', C min represents the minimum value of R', G', B', and the difference represents the value of C max minus C min .

[0107] Accordingly, the above process has completed the operation on the RGB color system, and the following color system conversion is performed based on the data obtained above.

[0108] First, calculate the H component in the HSV color system, for example, it can be calculated by the following formula:

[0109]

[0110] wherein, in practical applications, the value of C max can be used to calculate the H component.

[0111] The S component in the HSV color system can be recalculated, for example, by the following formula:

[0112]

[0113] wherein, in practical applications, the value of C max can be used to calculate the S component.

[0114] Finally, the V component in the HSV color system can be calculated by the following formula:

[0115] V = C max

[0116] In summary, the values of H, S and V in the HSV color system can be calculated respectively by the above calculation methods, and the conversion from the RGB color system to the HSV color system is realized. Optionally, the above example is only one conversion method between the RGB color system and the HSV color system, and in practical applications, the conversion between the two color systems can also be realized by other conversion methods or conversion tools.

[0117] In step S203, the preset parameter can be used to represent the brightness of the first image data, for example, the preset parameter can be a brightness value, a color step, a gray value and the like. In an example, the gray value can be used as the preset parameter.

[0118] In an example, the distribution data of the gray value can be a histogram of the gray value, and the horizontal axis of the histogram is the gray value and the vertical axis is the pixel number. Wherein, the gray value of each pixel represents the brightness of the pixel, and the larger the gray value, the higher the brightness of the pixel, and the smaller the gray value, the lower the brightness of the pixel. For example, the gray value of 0 represents black, the gray value of 255 represents white, and the gray value between 0 and 255 represents different gray levels.

[0119] Each gray value has a corresponding pixel number, and the brightness of the image can be roughly calculated by the pixel number, for example, when the pixel number on the left side of the histogram is large, it can be obtained that the overall brightness of the image can be dark; for example, when the pixel number on the right side of the histogram is large, it can be obtained that the overall brightness of the image can be bright.

[0120] In addition, it should be noted that the gray value can only be used to represent the brightness of the pixel points in the black and white image, and therefore, in order to obtain the distribution data of the gray value in the first image data, the first image needs to be subjected to a gray processing to convert the first image into a black and white image.

[0121] In one example, the processing method for performing the gray processing on the first image can include an average method, wherein the principle of the average method is to obtain the values of the R component, the G component and the B component of a pixel point in the color image, and then add the values of the three components and divide the sum by 3 to obtain the gray value corresponding to the pixel point.

[0122] In another example, the processing method for performing the gray processing on the first image can also include a maximum value method, a weighted average method and the like, which are not described herein.

[0123] In another example, the distribution data of the gray value can also be table data of the gray value, which includes the gray value and the number of pixels corresponding to the gray value, for example, in the first row of the table data, the gray value is 10 and the number of pixels is 3; for another example, in the second row of the table data, the gray value is 15 and the number of pixels is 2.

[0124] In step S204, the perceptual quantization (PQ) curve is a kind of HDR standard and a kind of conversion formula from gray scale to absolute brightness, which is developed by Dolby and standardized by SMPTE in 2014. The PQ curve can cover the brightness interval of 0.005 nit to 10000 nit, and each gray scale corresponds to an absolute brightness value.

[0125] The OETF (Optical-Electro Transfer Function) is an image processing-based technology that can convert low dynamic range images into high dynamic range images. The principle of this technology is to use the brightness and color information of the image to expand the dynamic range of the image to a wider range through a series of algorithms and processing. In this way, the quality and details of the image can be improved, making the image more realistic and natural.

[0126] The PQ_OETF curve is used to convert linear optical signals into electrical signals, and the conversion formula is as follows:

[0127]

[0128] wherein E represents the input optical signal, and the fixed parameter values are as follows:

[0129]

[0130]

[0131]

[0132]

[0133]

[0134] The target component can be used to represent the brightness of the second image data. In combination with the above description, it can be known that the second image data is the data corresponding to the first image in the HSV color system. Therefore, the target component can be a component in the HSV color system, and since the component used to represent the brightness of the second image data in the HSV color system is the V component. Therefore, it can be known that the target component is the V component. It can be known that the target component to be corrected is an optical signal, that is, the input quantity is an optical signal. Therefore, the V component can be substituted into formula (1), and the correction value of the target component is obtained as follows:

[0135]

[0136] V out represents the correction value of the target component.

[0137] In step S205, the second image data is the image data of the first image in the HSV color system. Therefore, adjusting the second image data based on the correction value of the target component is equivalent to adjusting the corresponding image of the first image in the HSV color system. In addition, it should be noted that the correction of the V component will not affect the values of the H component and the S component in the HSV color system. For example, the values of the H, S, and V components before correction can be 1, 1, and 1. After correction of the V component, the values of the H, S, and V components can be 1, 1, and 2. At this time, the image data corresponding to the values of the three components 1, 1, and 2 is the second corrected image data.

[0138] In step S206, in actual applications, when the V component in the HSV color system changes, the R, G, and B components in the RGB color system will all change. Therefore, adjusting the second image data based on the correction value of the target component will change the values of the R, G, and B components in the first image data.

[0139] After the second corrected image data in the second color system is converted into the first corrected image data in the first color system, the first corrected image data will correspond to an image, that is, a target image. In addition, the first corrected image data corresponding to the target image and the first image data corresponding to the first image have different values of the R, G, and B components.

[0140] The second color system converted from the first color system can be the HSV color system converted from the RGB color system. Referring to the process of converting from the RGB color system to the HSV color system, how to convert from the HSV color system to the RGB color system is not described in detail in this embodiment. For example, it can be the reverse of the method of converting from the RGB color system to the HSV color system. For another example, the conversion from the RGB color system to the HSV color system can be realized through a known conversion tool.

[0141] In the present disclosure, the correction value of the target component is determined through the distribution data of the preset parameter and the perceptual quantization curve, so that how to correct the target component and the value of the corrected target component can be more accurately obtained. The second image data is adjusted based on the correction value of the target component to obtain second corrected image data, and the second corrected image data is converted into the first color system to obtain first corrected image data, so as to obtain the target image, realize the color correction processing of the first image, and make the dynamic range of the target image expand to a wider range, thereby having the display effect of the HDR technology.

[0142] According to an exemplary embodiment, as shown in Figure 3 The display control method in this embodiment includes:

[0143] S301, in response to a first operation, obtaining a first image, the first operation being used to indicate that a target video frame is switched from a first playing state to a second playing state, and the first image being generated based on the target video frame.

[0144] S302, converting first image data of the first image in the first color system into third image data in a third color system.

[0145] S303, converting the third image data in the third color system into second image data in a second color system.

[0146] S304, obtaining distribution data of a preset parameter in the first image data based on a luminance parameter of a display screen, the preset parameter being used to represent the luminance of the first image data.

[0147] S305, determining a correction value of a target component based on the distribution data of the preset parameter in the first image data and a perceptual quantization curve, the target component being used to represent the luminance of the second image data.

[0148] S306, adjusting the second image data based on the correction value of the target component to obtain second corrected image data.

[0149] S307, converting the second corrected image data in the second color system into first corrected image data in the first color system to obtain a target image.

[0150] S308, before the target video frame switches to the second playing state, displaying the target image covering the target video frame on the display screen.

[0151] Steps S301 and S304-S308 are the same as steps S201 and S203-S207 in the above embodiment, and will not be described here.

[0152] In step S302, since the hardware performance of each electronic device can be different, if the first image is directly converted from the RGB color system to the HSV color system, the color inconsistency problem can occur. For example, there are two electronic devices, which are the first electronic device and the second electronic device, respectively, wherein the acquired first images of the two are the same, and the subsequent color system conversion method and conversion process of the first image are also the same. However, due to the difference in hardware devices such as display screens, the colors of the images finally presented by the two are inconsistent, that is, the RGB color system will be affected by the hardware performance of the device. If the first image is converted from the RGB color system to the HSV color system, there can be a problem that the color conversion operation is the same, but the color effect presented is different.

[0153] To solve the above technical problem, a third color system that is not affected by the hardware performance can be set in the conversion process between the first color system and the second color system, for example, the third color system can be the XYZ color system.

[0154] In one example, the conversion between the RGB space and the XYZ space is based on linear tristimulus values, wherein the tristimulus value refers to the amount of three primary color stimuli required to match the desired color in a three-color system, and the three primary color stimuli can be red primary color stimulus, green primary color stimulus and blue primary color stimulus.

[0155] The conversion between the RGB color system and the XYZ color system will be described below with a specific embodiment:

[0156] To convert the RGB color system to the XYZ color system, it is necessary to know the color coordinates of the three primary colors of the RGB color system in the XYZ color system, and the tristimulus values of the white point in the RGB color system and the XYZ color system. For example, the three primary colors of RGB in the RGB color system are [R], [G] and [B], and the color coordinates are (1, 0, 0), (0, 1, 0) and (0, 0, 1), respectively. Then the color coordinates of the three primary colors of the RGB color system in the XYZ color system are (r x ,r y ,r z ), (g x ,g y ,g z) and (b x ,b y ,b z ), the three primary colors of the RGB color system have the three stimulus values of

[0157] and

[0158] The three primary colors in the XYZ color system have the color matching units of [X], [Y] and [Z] in the XYZ color system, and the color coordinates are (1, 0, 0), (0, 1, 0) and (0, 0, 1) respectively.

[0159] At this time, if there is any one color P, the three stimulus values of color P in the RGB color system are (R P ,G P ,B P ), and the three stimulus values in the XYZ color system are (X P ,Y P ,Z P ). Since each color is composed of the amount of three primary color stimuli, the following equations exist:

[0160] [P] = R P [R] + G P [G] + B P [B] = X P [X] + Y P [Y] + Z P [Z] (3)

[0161] Wherein, [P] represents the color value, R P , G P , B P respectively represent the three stimulus values of color P in the RGB color system, X P , Y P , Z P respectively represent the three stimulus values of color P in the XYZ color system, [R], [G], [B] respectively represent the color matching units in the RGB color system, and [X], [Y], [Z] respectively represent the color matching units in the XYZ color system.

[0162] Substituting into equation (3), the following calculation process can be obtained:

[0163]

[0164] Then, according to the above relationship, the conversion matrix between the three stimulus values in the RGB color system and the three stimulus values in the XYZ color system is calculated as follows:

[0165]

[0166] In the above formula (4), the tristimulus values of the three primary colors in the RGB color system are known, but the proportional relationship of Y R , Y G and Y B is unknown, so as to obtain the proportional relationship of Y R , Y G and Y B , the conversion matrix can be obtained.

[0167] It is known that the tristimulus values of the white point in the RGB color system are (1, 1, 1), and the tristimulus values in the XYZ color system are By substituting the tristimulus values of the white point in the RGB color system and the tristimulus values in the XYZ color system into formula (4), the proportional relationship of Y R , Y G and Y B can be obtained.

[0168] When the proportional relationship of Y R , Y G and Y B is determined, the conversion matrix of the RGB color system and the XYZ color system can be obtained, and in actual application, the image data under the RGB color system is directly substituted into the conversion matrix, so that the conversion of the RGB color system and the XYZ color system can be realized.

[0169] In step S303, the conversion of the third color system and the second color system, i.e., the conversion of the XYZ color system and the HSV color system, also belongs to the existing color system conversion mode, and in the present disclosure, the conversion process of the two color systems will not be described in detail, and the conversion of the two color systems can adopt the method verified in the related art, for example, conversion through the known conversion matrix, or conversion through the known conversion tool or coding tool.

[0170] In the present disclosure, by first converting the first image data of the first image in the first color system into the third image data in the third color system, and then converting the third image data in the third color system into the second image data in the second color system, the conversion from the RGB color system to the XYZ color system and then from the XYZ color system to the HSV color system is realized, and by using such a color system conversion method, the conversion process is no longer affected by the hardware performance of the equipment, so that the application range of the method in the present disclosure is wider, and the equipment with different hardware performance can also be used.

[0171] According to an exemplary embodiment, as Figure 4The display control method in the embodiment includes:

[0172] S401, in response to the first operation, acquiring the first image.

[0173] S402, converting the first image data of the first image in the first color system into third image data in a third color system.

[0174] S403, converting the third image data in the third color system into second image data in a second color system.

[0175] S404, based on the brightness parameter of the display screen, acquiring the distribution data of the preset parameter in the first image data.

[0176] S405, based on the distribution data of the preset parameter in the first image data and the perceptual quantization curve, determining the correction value of the target component.

[0177] S406, adjusting the second image data based on the correction value of the target component to obtain second correction image data.

[0178] S407, converting the second correction image data in the second color system into third correction image data in the third color system.

[0179] S408, converting the third correction image data in the third color system into first correction image data in the first color system to obtain a target image.

[0180] S409, before the target video frame switches to the second playing state, covering the target video frame with the target image to display on the display screen.

[0181] Among them, steps S401-S406 and S409 are the same as steps S301-S306 and S308 in the above embodiment, and will not be repeated here.

[0182] In step S407, the conversion between the second color system and the third color system is the conversion between the HSV color system and the XYZ color system. Referring to step S303 described above, it can be seen that step S407 is the reverse process of step S303. Therefore, the specific conversion process of step S407 can refer to the conversion process of step S303 in actual application.

[0183] In step S408, the conversion between the third color system and the first color system is the conversion between the XYZ color system and the RGB color system. With reference to the conversion matrix between the RGB color system and the XYZ color system calculated in step S302, when the conversion between the XYZ color system and the RGB color system is involved, the inverse matrix of the conversion matrix can be solved to obtain the conversion matrix between the XYZ color system and the RGB color system, and the third modified image data in the third color system is converted into the first modified image data in the first color system by using the conversion matrix.

[0184] In the present disclosure, the conversion between the second color system and the third color system, and the conversion between the third color system and the first color system can all adopt the methods verified in the related art, for example, conversion by a known conversion matrix, or conversion by a known conversion tool or encoding tool.

[0185] In the present disclosure, the first image undergoes the following processes in the process of being converted into the target image:

[0186] 1. Conversion from the RGB color system to the XYZ color system;

[0187] 2. Conversion from the XYZ color system to the HSV color system to obtain second image data;

[0188] 3. Modification of the second image data in the HSV color system;

[0189] 4. Conversion from the HSV color system to the XYZ color system to convert the modified second image data, i.e., second modified image data, into the third color system to obtain third modified image data;

[0190] 5. Conversion from the XYZ color system to the RGB color system, and then conversion of the third modified image data into the first color system to obtain the first modified image data and the corresponding target image.

[0191] Thus, through the conversion between the color systems and the modification of the image data, the first image data corresponding to the first image is changed to obtain the target image with the display effect of the HDR technology.

[0192] According to an exemplary embodiment, as shown in Figure 5 the display control method in the present embodiment includes:

[0193] S501, in response to a first operation, obtaining a first image.

[0194] S502, based on the brightness parameter of the display screen, performing color correction processing on the first image to obtain a target image.

[0195] S503, before the target video frame is switched to the second playing state, displaying the target image covering the target video frame on the display screen.

[0196] S504, after the target video frame is switched to the second playing state, deleting the target image and playing the video in the second playing state.

[0197] In the step S501-S503, the steps are the same as the steps S101-S103 in the above embodiment, and will not be repeated here.

[0198] In the step S504, after the target video frame is switched to the second playing state, the switching process of the playing state is completed, at this time, the target image between the switching process of the first playing state and the second playing state can be deleted, so that the target image disappears on the display screen, and the original video continues to be played. For example, when the user performs the first operation at the 12th video frame, the target video frame is the 12th video frame, according to the display control method provided by the present disclosure, the target image will cover the target video frame, and when the switching process is completed (such as the rotation process from horizontal screen playing to vertical screen playing), after the switching process is completed, the target image will be deleted, and the video frame will continue to be played, such as playing the 13th video frame, the 14th video frame, and so on.

[0199] In the present disclosure, after the target video frame is switched to the second playing state, the target image is deleted and the video is played in the second playing state, the switching effect is smooth, and the user's visual experience is improved.

[0200] The exemplary embodiments of the present disclosure provide a display control device, as shown in Figure 6 The block diagram of the display control device shown by the present company.

[0201] The block diagram includes an acquisition module 61, a processing module 62 and a display module 63. The acquisition module 61 is used to acquire a first image in response to a first operation, the first operation is used to indicate that a target video frame is switched from a first playing state to a second playing state, and the first image is generated based on the target video frame; the processing module 62 is used to perform color correction processing on the first image based on a brightness parameter of a display screen, to obtain a target image, and the target image has the same display effect as the target video frame; the display module 63 is used to display the target image covering the target video frame on the display screen before the target video frame is switched to the second playing state.

[0202] In some embodiments, the processing module 62 is specifically used to:

[0203] convert first image data of the first image in a first color system into second image data in a second color system;

[0204] Based on the brightness parameter of the display screen, distribution data of a preset parameter in the first image data is obtained, the preset parameter being used to represent the brightness of the first image data;

[0205] Based on the distribution data of the preset parameter in the first image data and the perceptual quantization curve, a correction value of a target component is determined, the target component being used to represent the brightness of the second image data;

[0206] Based on the correction value of the target component, the second image data is adjusted to obtain second corrected image data;

[0207] The second corrected image data in the second color system is converted into first corrected image data in the first color system to obtain a target image.

[0208] In some embodiments, the processing module 62 is specifically configured to:

[0209] The first image data of the first image in the first color system is converted into third image data in a third color system;

[0210] The third image data in the third color system is converted into second image data in the second color system.

[0211] In some embodiments, the processing module 62 is specifically configured to:

[0212] The second corrected image data in the second color system is converted into third corrected image data in a third color system;

[0213] The third corrected image data in the third color system is converted into first corrected image data in the first color system to obtain a target image.

[0214] In some embodiments, the first color system includes an RGB color system, the second color system includes an HSV color system, and the third color system includes an XYZ color system.

[0215] In some embodiments, the preset parameter includes a gray value, and the target component includes a brightness component in the HSV color system.

[0216] In some embodiments, the display control device further includes a second processing module configured to, after the target video frame is switched to the second playing state, delete the target image and play the video in the second playing state.

[0217] In some embodiments, the first playing state is one of a horizontal screen playing state and a vertical screen playing state, and the second playing state is the other of the horizontal screen playing state and the vertical screen playing state.

[0218] With reference to the apparatus in the above-described embodiments, in which the specific manner in which each of the modules performs operations has been described in detail in the embodiments relating to the method, no detailed elaboration will be made here.

[0219] Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment.

[0220] Referring to Figure 7 , the electronic device 700 can include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.

[0221] The processing component 702 usually controls overall operations of the electronic device 700, such as operations associated with display, phone call, data communication, camera operation and recording operation. The processing component 702 can include one or more processors 720 to execute instructions to complete all or part of steps of the above-described methods. In addition, the processing component 702 can include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0222] The memory 704 is configured to store various types of data to support operations of the electronic device 700. Examples of these data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0223] The power supply component 706 provides power for various components of the electronic device 700. The power supply component 706 can include a power supply management system, one or more power supplies, and other components associated with generating, managing and distributing power for the electronic device 700.

[0224] The multimedia component 708 includes a screen to provide an output interface between the electronic device 700 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and intensity of the touching or sliding action. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a camera mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.

[0225] The audio component 710 is configured to output and / or input an audio signal. For example, the audio component 710 includes a microphone (MIC) to receive an external audio signal when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker to output an audio signal.

[0226] The I / O interface 712 provides an interface for the processing component 702 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0227] The sensor component 714 includes one or more sensors to provide various state assessments for the electronic device 700. For example, the sensor component 714 can detect an open / closed state of the electronic device 700, relative positioning of components, such as a display and a keypad of the electronic device 700, a change in position of the electronic device 700 or a component of the electronic device 700, presence or absence of user contact with the electronic device 700, an orientation or acceleration / deceleration of the electronic device 700, and a temperature change of the electronic device 700. The sensor component 714 can include a proximity sensor to detect presence of an object within a proximity range of the electronic device 700 without any physical contact. The sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, to use in an imaging application. In some embodiments, the sensor component 714 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0228] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technology.

[0229] In an exemplary embodiment, the electronic device 700 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.

[0230] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, is also provided, which can be executed by the processor 720 of the electronic device 700 to perform the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0231] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display control method provided by an exemplary embodiment of the present disclosure.

[0232] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the present disclosure cover any and all variations of the application that come within the scope of the following claims and their equivalents. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application indicated by the following claims.

[0233] It is to be understood that the present disclosure is not limited to the precise construction herein described and as shown in the attached drawings, and that various modifications and changes can be effected therein by those skilled in the art without departing from the scope of the application. The scope of the application is to be limited only by the appended claims.

Claims

1. A display control method, characterized in that, include: In response to a first operation, a first image is acquired. The first operation is used to instruct a target video frame to switch from a first playback state to a second playback state. The first image is generated based on the target video frame. The first image is a high dynamic range (HDR) image. The first playback state is one of a landscape playback state and a portrait playback state. The second playback state is the other of the landscape playback state and the portrait playback state. Based on the brightness parameters of the display screen, the first image is subjected to color correction processing to obtain a target image, which has the same display effect as the target video frame; Before the target video frame switches to the second playback state, the target image is used to cover the target video frame and displayed on the screen. The step of performing color correction processing on the first image based on the brightness parameters of the display screen to obtain the target image includes: Convert the first image data in the first color system into the second image data in the second color system; Based on the brightness parameters of the display screen, the distribution data of preset parameters in the first image data are obtained, and the preset parameters are used to characterize the brightness of the first image data; Based on the distribution data of preset parameters and the perceptual quantization curve in the first image data, the correction value of the target component is determined, and the target component is used to characterize the brightness of the second image data; The second image data is adjusted based on the correction value of the target component to obtain the second corrected image data; The second corrected image data in the second color system is converted into the first corrected image data in the first color system to obtain the target image.

2. The display control method according to claim 1, characterized in that, The step of converting the first image data in the first color system into second image data in the second color system includes: The first image data in the first color system is converted into the third image data in the third color system; The third image data in the third color system is converted into the second image data in the second color system.

3. The display control method according to claim 2, characterized in that, The step of converting the second corrected image data in the second color system into the first corrected image data in the first color system to obtain the target image includes: The second corrected image data in the second color system is converted into the third corrected image data in the third color system; The third corrected image data in the third color system is converted into the first corrected image data in the first color system to obtain the target image.

4. The display control method according to claim 2 or 3, characterized in that, The first color system includes the RGB color system, the second color system includes the HSV color system, and the third color system includes the XYZ color system.

5. The display control method according to claim 4, characterized in that, The preset parameters include grayscale values; the target components include the luminance components in the HSV color system.

6. The display control method according to claim 1, characterized in that, The display control method further includes: After the target video frame is switched to the second playback state, the target image is deleted and the video is played in the second playback state.

7. A display control device, characterized in that, include: The acquisition module is used to acquire a first image in response to a first operation, wherein the first operation is used to instruct the target video frame to switch from a first playback state to a second playback state, the first image is generated based on the target video frame, the first image is a high dynamic range (HDR) image, the first playback state is one of a landscape playback state and a portrait playback state, and the second playback state is the other of the landscape playback state and the portrait playback state. The processing module is used to perform color correction processing on the first image based on the brightness parameters of the display screen to obtain a target image, wherein the target image has the same display effect as the target video frame; The display module is configured to display the target image on the display screen before the target video frame switches to the second playback state; The processing module is used for: Convert the first image data in the first color system into the second image data in the second color system; Based on the brightness parameters of the display screen, the distribution data of preset parameters in the first image data are obtained, and the preset parameters are used to characterize the brightness of the first image data; Based on the distribution data of preset parameters and the perceptual quantization curve in the first image data, the correction value of the target component is determined, and the target component is used to characterize the brightness of the second image data; The second image data is adjusted based on the correction value of the target component to obtain the second corrected image data; The second corrected image data in the second color system is converted into the first corrected image data in the first color system to obtain the target image.

8. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the display control method as described in any one of claims 1-6.

9. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the display control method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Video conversion method and device, equipment, storage medium and program product

    CN114866809A

  • Image processing system, image projection device, and image processing method

    JP2018026794A