Display control method and device, electronic equipment and medium
By performing color correction processing on the first image, a target image is generated, and a target image is used to cover the video frame when the HDR video playback state of the electronic device is switched, the problem of poor display effect during the HDR video playback state is solved, and the user's visual experience is improved.
Patent Information
- Application Number
- CN202311403373.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2043-10-26
AI Technical Summary
During the switching of horizontal and vertical playback status of HDR videos, existing electronic devices will have a situation where the display effect will be deteriorated in an instant, resulting in a worse user visual experience.
By acquiring the first image and performing color correction processing based on the brightness parameters of the display screen, a target image is generated so that it has the same display effect as the target video frame, and before the target video frame is switched to the second playback state, the target video frame is overlaid with the target image to display on the display screen.
It realizes the consistency of display effects during the playback state switching process, improving the user's visual experience and user experience.
Smart Images

Figure CN119905074A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic devices, and in particular to a display control method, device, electronic device and medium. Background Art
[0002] As more and more HDR (High Dynamic Range) resources are available, users will gradually watch HDR videos. When switching between horizontal and vertical screen playback of HDR videos, the display effect of existing electronic devices will deteriorate for a moment, resulting in a poor visual experience for users. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a display control method, device, electronic device and medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a display control method, including:
[0005] In response to a first operation, acquiring a first image, wherein the first operation is used to indicate that a target video frame is switched from a first playback state to a second playback state, and the first image is generated based on the target video frame;
[0006] Based on the brightness parameter of the display screen, color correction processing is performed on the first image to obtain a target image, where the target image has the same display effect as the target video frame;
[0007] Before the target video frame switches to the second play state, the target video frame is covered with the target image and displayed on the display screen.
[0008] In some embodiments, performing color correction processing on the first image based on the brightness parameter of the display screen to obtain the target image includes:
[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 brightness parameter of the display screen, obtaining distribution data of a preset parameter in the first image data, wherein the preset parameter is used to characterize the brightness of the first image data;
[0011] Determining a correction value of a target component based on distribution data of a preset parameter in the first image data and a perceptual quantization curve, the target component being used to characterize brightness of the second image data;
[0012] adjusting the second image data based on the correction value of the target component to obtain second corrected image data;
[0013] The second corrected image data in the second color system is converted into first corrected image data in the first color system to obtain the target image.
[0014] In some embodiments, converting first image data of the first image in the first color system into second image data in the second color system includes:
[0015] converting first image data of the first image in a first color system into third image data in a third color system;
[0016] The third image data in the third color system is converted into second image data in the second color system.
[0017] In some embodiments, 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 includes:
[0018] converting the second corrected image data in the second color system into third corrected image data in the third color system;
[0019] 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.
[0020] 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.
[0021] In some embodiments, the preset parameter includes a grayscale value; and the target component includes a brightness component in the HSV color system.
[0022] In some embodiments, the display control method further includes:
[0023] After the target video frame is switched to the second play state, the target image is deleted and the video is played in the second play state.
[0024] In some embodiments, the first playback state is one of a horizontal screen playback state and a vertical screen playback state, and the second playback state is the other of the horizontal screen playback state and the vertical screen playback state.
[0025] According to a second aspect of an embodiment of the present disclosure, there is provided a display control device, including:
[0026] An acquisition module, configured to acquire a first image in response to a first operation, wherein the first operation is used to indicate that a target video frame is switched from a first playback state to a second playback state, and the first image is 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, wherein the target image has the same display effect as the target video frame;
[0028] The display module is used for covering the target video frame with the target image and displaying it on the display screen before the target video frame switches to the second play state.
[0029] In some embodiments, the processing module is specifically used to:
[0030] converting first image data of the first image in a first color system into second image data in a second color system;
[0031] Based on the brightness parameter of the display screen, obtaining distribution data of a preset parameter in the first image data, wherein the preset parameter is used to characterize the brightness of the first image data;
[0032] Determining a correction value of a target component based on distribution data of a preset parameter in the first image data and a perceptual quantization curve, the target component being used to characterize brightness of the second image data;
[0033] adjusting the second image data based on the correction value of the target component to obtain second corrected image data;
[0034] The second corrected image data in the second color system is converted into first corrected image data in the first color system to obtain the target image.
[0035] In some embodiments, the processing module is specifically used to:
[0036] converting first image data of the first image in a first color system into third image data in a third color system;
[0037] The third image data in the third color system is converted into second image data in the second color system.
[0038] In some embodiments, the processing module is specifically used to:
[0039] converting the second corrected image data in the second color system into third corrected image data in the third color system;
[0040] 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.
[0041] 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.
[0042] In some embodiments, the preset parameter includes a grayscale value; and the target component includes a brightness component in the HSV color system.
[0043] In some embodiments, the display control device further includes a second processing module, which is used to delete the target image and play the video in the second play state after the target video frame is switched to the second play state.
[0044] In some embodiments, the first playback state is one of a horizontal screen playback state and a vertical screen playback state, and the second playback state is the other of the horizontal screen playback state and the vertical screen playback state.
[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0046] processor;
[0047] a memory for storing processor-executable instructions;
[0048] Wherein, the processor is configured to execute the display control method as described in the first aspect of the present disclosure.
[0049] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the display control method as described in 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 obtained target image can have the same display effect as the target video frame, and the target image is used to cover the target video frame and display it on the display screen, so that there is no obvious difference in the display effect during the switching of the playback status, the user's visual experience is good, and the user's usage experience is improved.
[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0053] Figure 1 is a flow chart showing a display control method according to an exemplary embodiment.
[0054] Figure 2 is a flow chart showing a display control method according to an exemplary embodiment.
[0055] Figure 3 is a flow chart showing a display control method according to an exemplary embodiment.
[0056] Figure 4 is a flow chart showing a display control method according to an exemplary embodiment.
[0057] Figure 5 is a flow chart showing a display control method according to an exemplary embodiment.
[0058] Figure 6 is a block diagram of a display control device according to an exemplary embodiment.
[0059] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0061] HDR technology is a processing technology that improves 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 using the LDR (Low Dynamic Range) image with the best details corresponding to each exposure time, which can better reflect the visual effects in the real environment. For example, HDR video is a video file that uses HDR technology. HDR technology can adjust the original unbalanced state of the dark part and the bright part to the effect of no loss of details in the dark part, brighter bright part and richer overall color, bringing a picture closer to what the human eye sees and the real picture.
[0062] As there are more and more HDR video resources, and the display effect of HDR video resources is getting better and better, the scenarios in which users watch HDR videos are gradually increasing. When users use electronic devices to watch HDR videos, for some reasons, users may switch the playback status of HDR videos. For example, users want to watch HDR videos more clearly and switch HDR videos from vertical screen playback to horizontal screen playback. During the switching process, the switching process of the playback status of HDR video can be: the electronic device captures the current playback frame, and generates an image based on the current playback frame to cover the playback screen, and then waits for the playback status to be switched, and then continues to play the HDR video frame. However, since the image generated by the captured current playback frame is a DCI-P3 SDR (Standard Dynamic Range) image, the user subjectively looks like the playback status switching process is from HDR video to SDR image, and then from SDR image to HDR video, that is, the HDR effect will disappear briefly during the switching of the playback status, giving the user a bad visual experience.
[0063] Here, it should be noted that DCI-P3 is a color gamut used in digital film technology. It is a color gamut that focuses more on visual impact rather than comprehensive color. Compared with other color standards, it has a wider red / green color range. It is also a color gamut standard dominated by human visual experience. Therefore, DCI-P3 is a color gamut display effect.
[0064] In addition, there are significant differences between SDR and HDR, which can be specifically:
[0065] First, the brightness range of HDR and SDR is different. For example, when shooting a light bulb, the HDR picture can show the normal scene around the light bulb relative to a dark room, which can achieve higher tolerance and show the intensity of light emitted by light bulbs of different brightness. In contrast, the SDR image will only show a ball of light, and the details of the bright part cannot be distinguished.
[0066] Second, the single-frame images are different. For example, a certain image in HDR is a curve connected by points between 1 and 1000 with a spacing much smaller than 1, while the same image in SDR is a curve connected by points between 1 and 100 with a spacing of 1.
[0067] Third, the video images are different. For example, each frame of a video using HDR technology has different brightness and contrast, which perfectly shows the details and brightness of each frame. Video images using SDR technology cannot do this. It can be seen that HDR technology is a technology that can obtain more picture details between light and dark, while the same picture can obtain less picture details under SDR. Therefore, it can be seen that the display effect of HDR technology is significantly better than that of SDR technology.
[0068] In order to solve the above technical problems, the present disclosure provides a display control method, which can be applied to an electronic device with a display screen. The display control method proposed in the present disclosure performs color correction processing on a first image generated based on a target video frame to obtain a target image, so that the target image and the target video frame have the same display effect, and before the target video frame switches to a second playback 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 obtained target image and the target video frame can have the same display effect, and the target image covers the target video frame and is displayed on the display screen, so that there is no obvious difference in the display effect during the playback state switching process, the user's visual experience is good, and the user's usage 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, and the electronic device can be specifically a smart device with a display screen such as a mobile phone, a tablet computer, a notebook, an intelligent robot, an intelligent wearable device, and an intelligent vehicle machine, and can also be directly applied to the display screen. In addition, the electronic device is also provided with various hardware resources, and an energy storage device that provides power for the operation of various hardware resources.
[0070] like Figure 1 As shown, the display control method shown in the present disclosure includes:
[0071] S101. In response to a first operation, acquire a first image.
[0072] S102: Perform color correction processing on the first image based on the brightness parameter of the display screen to obtain a target image.
[0073] S103: Before the target video frame switches to the second play state, the target video frame is covered with a target image and displayed on a display screen.
[0074] In step S101, the first operation is used to indicate that the target video frame switches from the first playback state to the second playback state. The first playback state can be the playback state of the video, such as the video is playing or the video stops playing, or the playback state type, such as the video is in the horizontal screen playback state or the vertical screen playback state. Similarly, the second playback state can be the playback state of the video, such as the video is playing or the video stops playing, or the playback state type, such as the video is in the horizontal screen playback state or the vertical screen playback state. It should be noted that since there is a switching process between the first playback state and the second playback state, the first playback state and the second playback state should be different. For example, the first playback state can be the horizontal screen playback state, and the second playback state can be the vertical screen playback state; for another example, the first playback state can be the vertical screen playback state, and the second playback state can be the horizontal screen playback state.
[0075] Here, it is necessary to explain that there is a special case, namely: the first playback state is the horizontal playback state, and the second playback state is also the horizontal playback state, but the directions corresponding to the two playback states are different, for example, the second playback state can be the playback state corresponding to the first playback state flipped 180°; or, the first playback state is the vertical playback state, and the second playback state is also the vertical playback state, but the directions corresponding to the two playback states are different, for example, the second playback state can be the playback state corresponding to the first playback state flipped 180°. It can be seen that this special case is that the first playback state and the second playback state are the playback states corresponding to each other flipped 180°.
[0076] Among them, the first operation can be an operation such as a click operation, a double-click operation, or a voice operation performed by the user. For example, the first playback state is the horizontal screen playback state. If the user clicks the "Exit horizontal screen playback" control in the current interface, it means that the user has performed the first operation, and the electronic device will switch the target video frame from the horizontal screen playback state to the vertical screen playback state in response to the user's click operation; for another example, the first operation playback state is that the video is playing. When the user double-clicks the current interface, it means that the user has performed the first operation. The electronic device will switch the playback state from the video being played to the video stopped playing in response to the user's double-click operation.
[0077] The first operation may also be a processing operation performed by the electronic device, which can be understood as an automatic processing operation performed when the electronic device detects that a certain value reaches a preset threshold or the electronic device detects certain data / signal. For example, the acceleration sensor of the electronic device detects that the user holds the electronic device from horizontal to vertical, and the electronic device processes the playback state according to the detected data, switching the target video frame from the horizontal playback state to the vertical playback state.
[0078] Among them, after the user or the electronic device performs the first operation, it can be seen that the electronic device will switch the target video frame from the first playback state to the second playback state. At this time, the electronic device will also obtain a first image, which is generated based on the target video frame, and the first image can be generated based on a screenshot of the target video frame.
[0079] The target video frame refers to the frame corresponding to the change in the playback state. For example, when the HDR video is played to the 12th video frame, the user performs the first operation, and 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 screenshot is a DCI-P3 SDR image. If the first image is displayed on the display screen over the target video frame, it will cause obvious effect changes during the switching process, and the switching effect is not good. Therefore, it is necessary to process the first image and then use the processed first image in the switching process to obtain a more complete switching effect and improve the user experience.
[0081] In step S102, the brightness parameter of the display screen can be any data that can characterize the brightness of the display screen, such as the brightness value of the display screen; for example, the color scale parameter of the display screen, where the color scale is an index standard indicating the brightness of the display screen, which is what we call the color index. In the digital image processing tutorial, it refers to the grayscale resolution, also known as grayscale resolution or amplitude resolution; for example, the grayscale parameter of the display screen, where the grayscale parameter is equivalent to the grayscale value, and the grayscale value can be used to represent the brightness of each pixel in the grayscale image. The larger the grayscale value, the higher the brightness of the pixel, and the smaller the grayscale value, the lower the brightness of the pixel.
[0082] In one example, performing color correction processing on the first image may be adjusting the color balance of the first image. Color balance is to adjust the color using the principle of complementary colors, mainly to change the overall color mixture of the image, for example, to adjust the proportion of shadows, midtones, and highlights in the image.
[0083] In another example, color correction processing of the first image may be color system conversion processing of the first image, thereby realizing color correction processing of the first image. Existing common color systems include R (Red) G (Green) B (Blue) color system, H (Hue) S (Saturation) V (Value) color system and XYZ color system. For example, the first image is currently in the RGB color system, and the color correction processing may be converting the first image from the RGB color system to the HSV color system; for another example, the color correction processing may be converting the first image from the RGB color system to the XYZ color system.
[0084] Among them, the RGB color system is a color standard in the industry. It obtains various colors by changing the three color channels of red, green and blue and superimposing them on each other. RGB represents the colors of the three channels of red, green and blue. This standard covers 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 AR Smith in 1978 based on the intuitive characteristics of color, also known as the hexagonal pyramid model. The HSV color system refers to a subset of visible light in the three-dimensional color space of H, S, and V, 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. It 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 To.
[0085] In one example, in the related art, a common tool for color correction of images is LUT (Look Up Table), which can also be called a color lookup table and a color correspondence table. When performing color correction of videos or images, people often feel overwhelmed by complex color circles and color curves, and the emergence of LUT can solve this problem well. Simply put, LUT is equivalent to a function. After the color information of each pixel in an image or video passes through LUT, the color information will be repositioned to obtain a new color information to complete the color correction process.
[0086] LUT can be divided into 1D LUT and 3D LUT. 1D LUT is actually a one-dimensional check table. Each color will have a specific value after being output by 1D LUT. However, changing the input value of a certain color will only affect the output value of that color. For example, the RGB color system includes three colors: R, G, and B. The data of R, G, and B are independent of each other. Changing the input value of R will only affect the output value of R. 3D LUT is a three-dimensional check table. The change of a certain input color will affect the values of the three colors. In other words, the change of any color will change the other colors. For example, the RGB color system includes three colors: R, G, and B. When the input value of R is changed, the output values of R, G, and B will all change.
[0087] In the present disclosure, a 3D LUT or a 1D LUT may 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, combined with the content described in step S102, it can be known that the target image and the target display frame have the same display effect. Therefore, during the switching process, which may also refer to before the target video frame switches to the second playback state, the target image is used to cover the target display frame, thereby ensuring that there is no change in the display effect during the switching process from the first playback state to the second playback state, and the entire switching process is smooth.
[0089] In the present disclosure, by acquiring a first image, and then performing color correction processing on the first image based on the brightness parameters of the display screen, the obtained target image and the target video frame have the same display effect, and finally, by overlaying the target image on the target video frame and displaying it on the display screen, it is achieved that there is no change in the display effect during the process of switching the target display frame from the first playback state to the second playback state, and the display effect is the same, thereby completing the switching process smoothly.
[0090] According to an exemplary embodiment, Figure 2 As shown, the display control method in this embodiment includes:
[0091] S201: In response to a first operation, acquire a first image.
[0092] S202: Convert first image data of the first image in the first color system into second image data in the second color system.
[0093] S203: Based on the brightness parameter of the display screen, obtain distribution data of preset parameters in the first image data.
[0094] S204: Determine a correction value of the target component based on the distribution data of the preset parameters in the first image data and the perceptual quantization curve.
[0095] S205 . Adjust the second image data based on the correction value of the target component to obtain second corrected image data.
[0096] S206: Convert the second corrected image data in the second color system into the first corrected image data in the first color system to obtain a target image.
[0097] S207: Before the target video frame switches to the second play state, the target video frame is covered with the target image and displayed on the display screen.
[0098] Among them, steps S201 and S207 are the same as steps S101 and S103 in the above embodiment, and are not described again here.
[0099] In step S202, the first color system may be an RGB color system, and the second color system may be an HSV color system.
[0100] In order to facilitate the understanding of the subsequent content, this disclosure briefly explains the RGB color system and the HSV color system:
[0101] The RGB color system is designed based on the principle of color emission. In layman's terms, its color mixing method is like having three lights, red, green, and blue. When their lights overlap, the colors are mixed, but the brightness is equal to the sum of the brightness of the two. The more they are mixed, the higher the brightness, which is additive mixing. Each color of the three color channels, red, green, and blue, is divided into 256 levels of brightness, which are represented by numbers from 0, 1, 2... to 255. Here, we can introduce a three-dimensional rectangular coordinate system. The three coordinate axes represent the number of red, green, and blue colors respectively, and because the range of the number is limited, that is, (0, 255). Therefore, the range of values will form a cube in three-dimensional space. Any color value in the RGB color system will correspond to a point in this cube. For example, the origin is (0, 0, 0), which represents pure black; for example, the diagonal vertex of the origin is (255, 255, 255), which represents pure white.
[0102] The HSV color system consists of three color channels: hue, saturation, and brightness. The HSV color system is a model that describes color as a human perception method, so it has been widely used in computer graphics and computer vision. Among them, the hue channel represents the hue of the color, also known as hue. Hue refers to the position of the color on the color wheel, and the value range is 0 to 360 degrees. In the HSV color system, changes in hue correspond to changes in color, for example, red corresponds to 0 degrees, green corresponds to 120 degrees, and blue corresponds to 240 degrees. The saturation channel represents the saturation of the color, also known as vividness or purity. Saturation refers to the intensity or purity of the color, and the value range is 0 to 100%. In the HSV color system, saturation of 0 corresponds to gray, and saturation of 100% corresponds to the brightest color. The brightness channel represents the brightness of the color, also known as lightness or brightness. Brightness refers to the lightness and darkness of the color, and the value range is 0 to 100%. In the HSV color system, brightness of 0 corresponds to black, and brightness of 100% corresponds to the brightest color.
[0103] By adjusting the values of the three channels in the HSV color system, the color can be adjusted and changed. In particular, when V = 0, H and S are undefined, it represents black. S = 0, V = 1, H is undefined, which represents white. When S is unchanged and H is undefined, when V is between 0 and 1, it is gray with different grayscales.
[0104] In one example, the process of converting the first image data in the first color system into the second image data in the second color system may be:
[0105] Calculate R', G', B'; R', G', B' respectively 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 describe the range of 0-255 with the range of 0-1 to obtain absolute color information, which makes subsequent calculation operations easier.
[0106] Calculate C max , C min and difference; where C max Indicates the maximum value among R', G', B', C min Indicates the minimum value among R', G', and B', and the difference indicates C max Minus C min The value of .
[0107] Accordingly, the above process has completed the operation of the RGB color system, and the color system is converted according to the above obtained data.
[0108] First, calculate the H component in the HSV color system. For example, it can be calculated by the following formula:
[0109]
[0110] In practical applications, the difference and C max The value of is used to calculate the H component.
[0111] Then calculate the S component in the HSV color system. For example, it can be calculated by the following formula:
[0112]
[0113] Among them, in practical applications, C max The value of is 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 above calculation method can be used to calculate the values of H, S and V in the HSV color system, thereby realizing the conversion from the RGB color system to the HSV color system. Optionally, the above example is only a conversion method between the RGB color system and the HSV color system. In actual applications, other conversion methods or conversion tools can also be used to realize the conversion between the two color systems.
[0117] In step S203, the preset parameters may be used to characterize the brightness of the first image data, for example, the preset parameters may be parameters such as brightness value, color scale, gray value, etc. In one example, the gray value may be used as the preset parameter.
[0118] In one example, the distribution data of the grayscale value may be a histogram of the grayscale value, in which the horizontal axis is the grayscale value and the vertical axis is the number of pixels. The grayscale value of each pixel represents the brightness of the pixel, and the larger the grayscale value, the higher the brightness of the pixel, and the smaller the grayscale value, the lower the brightness of the pixel. For example, a grayscale value of 0 represents black, a grayscale value of 255 represents white, and grayscale values between 0 and 255 represent different grayscale levels.
[0119] Each grayscale value has a corresponding number of pixels, and the brightness of the image can be roughly inferred from the number of pixels. For example, when the number of pixels on the left side of the histogram is larger, the overall brightness of the image may be darker; for another example, when the number of pixels on the right side of the histogram is larger, the overall brightness of the image may be brighter.
[0120] In addition, it should be noted that the grayscale value can only be used to represent the brightness of pixels in a black and white image. Therefore, in order to obtain the distribution data of the grayscale value in the first image data, it is necessary to first grayscale the first image and convert the first image into a black and white image.
[0121] In one example, a method for grayscale processing of the first image may include an average method, wherein the principle of the average method is to obtain the values of the R component, G component, and B component of a pixel point in the color image, and then add the values of these three components and divide them by 3 to obtain the grayscale value corresponding to the pixel point.
[0122] In another example, the processing method for graying the first image may also include a maximum value method, a weighted average method, etc., which are not described in detail in the present disclosure.
[0123] In another example, the distribution data of grayscale values can also be tabular data of grayscale values, which includes grayscale values and the number of pixels corresponding to the grayscale values. For example, in the first row of the table data, the grayscale value is 10 and the number of pixels is 3; for another example, in the second row of the table data, the grayscale value is 15 and the number of pixels is 2.
[0124] In step S204, the Perceptual Quantization (PQ) curve is an HDR standard and a conversion formula from grayscale to absolute brightness, which was developed by Dolby and standardized by SMPTE in 2014. The PQ curve can cover a brightness range of 0.005 nits to 10,000 nits, and each grayscale corresponds to an absolute brightness value.
[0125] OETF (Optical-Electro Transfer Function) is a technology based on image processing 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, through a series of algorithms and processing, to expand the dynamic range of the image to a wider range. This can improve the quality and details of the image, making the image more realistic and natural.
[0126] The PQ_OETF curve is used to convert linear optical signals into electrical signals. The conversion formula is as follows:
[0127]
[0128] Where E represents the input optical signal, and the fixed parameter values are as follows:
[0129]
[0130]
[0131]
[0132]
[0133]
[0134] Among them, the target component can be used to characterize the brightness of the second image data. Combined with the above discussion, 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 characterize the brightness of the second image data in the HSV color system is the V component. Therefore, it can be obtained that the target component is the V component. It can be seen that the target component to be corrected is a light signal, that is, the input is a light signal. Therefore, the V component can be substituted into formula (1) to obtain the corrected value of the target component:
[0135]
[0136] Among them, V out Indicates 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 does not affect the values of the H component and the S component in the HSV color system. For example, the previous values of the three components H, S, and V can be 1, 1, and 1. After the V component is corrected, the values of the three components H, S, and V can be 1, 1, and 2. At this time, the values of the three components 1, 1, and 2 correspond to an image data, which 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 also change. Therefore, adjusting the second image data based on the correction value of the target component will change the values of the three components R, G, and B 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, namely the target image. Moreover, the values of the three components R, G, and B in the first corrected image data corresponding to the target image and the first image data corresponding to the first image are different.
[0140] Among them, the conversion of the second color system into the first color system can be the conversion of the HSV color system into the RGB color system. Referring to the process of converting from the RGB color system to the HSV color system in the above text, this embodiment does not elaborate on how to convert from the HSV color system to the RGB color system. For example, it can be the reversal 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 achieved through a known conversion tool.
[0141] In the present disclosure, by determining the correction value of the target component through the distribution data of the preset parameters and the perceptual quantization curve, it is possible to more accurately obtain how to correct the target component and the value of the corrected target component. The second image data is adjusted based on the correction value of the target component to obtain the second corrected image data, and then the second corrected image data is converted into the first color system to obtain the first corrected image data, thereby obtaining the target image and implementing the color correction processing of the first image, which can expand the dynamic range of the target image to a wider range, thereby having the display effect of HDR technology.
[0142] According to an exemplary embodiment, Figure 3 As shown, the display control method in this embodiment includes:
[0143] S301. In response to a first operation, obtain a first image. The first operation is used to indicate that a target video frame switches from a first playback state to a second playback state. The first image is generated based on the target video frame.
[0144] S302: Convert first image data of the first image in the first color system into third image data in the third color system.
[0145] S303: Convert the third image data in the third color system into the second image data in the second color system.
[0146] S304: Based on the brightness parameter of the display screen, obtain distribution data of a preset parameter in the first image data, where the preset parameter is used to characterize the brightness of the first image data.
[0147] S305 . Determine a correction value of a target component based on distribution data of preset parameters in the first image data and a perceptual quantization curve, where the target component is used to characterize brightness of the second image data.
[0148] S306 . Adjust 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 the 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 play state, the target video frame is covered with the target image and displayed on the display screen.
[0151] Among them, steps S301 and S304-S308 are the same as steps S201 and S203-S207 in the above embodiment, and are not repeated here.
[0152] In step S302, since the hardware performance of each electronic device may be different, if the first image is directly converted from the RGB color system to the HSV color system, color inconsistency may occur. For example, there are two electronic devices, namely a first electronic device and a second electronic device, wherein the first images acquired by the two are the same, and the subsequent color system conversion method and conversion process of the first image are also the same, but 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 may be a problem that the color conversion operation is the same, but the color effects presented are different.
[0153] To solve the above technical problem, a third color system that is not affected by hardware performance may be set during the conversion process between the first color system and the second color system. For example, the third color system may be an XYZ color system.
[0154] In one example, the conversion between the RGB space and the XYZ space is performed based on linear tristimulus values, wherein the tristimulus values refer to the amounts of three primary color stimuli required to match the desired color in a three-color system, and the three primary color stimuli may specifically be red primary color stimulus, green primary color stimulus, and blue primary color stimulus.
[0155] The following is a specific example to illustrate the conversion between the RGB color system and the XYZ color system:
[0156] To convert between the RGB color system and the XYZ color system, you need to know the color coordinates of the three primary colors of the RGB color system in the XYZ color system, as well as the three stimulus values of the white point in the RGB color system and the XYZ color system. For example, the color matching units of 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 three stimulus values in the XYZ color system:
[0157] and
[0158] The three primary colors in the XYZ color system have color matching units [X], [Y] and [Z], and color coordinates (1, 0, 0), (0, 1, 0) and (0, 0, 1) respectively.
[0159] At this time, if there is any color P, the tristimulus value of color P in the RGB color system is (R P ,G P ,B P ), the tristimulus value in the XYZ color system is (X P ,Y P ,Z P ). Since each color is composed of the amounts of the three primary color stimuli, the following equation exists:
[0160] [P]=R P [R]+G P [G]+B P [B] = X P [X]+Y P [Y]+Z P [Z](3)
[0161] Where [P] represents the color value, R P , G P , B P They represent the three stimulus values of color P in the RGB color system, X P , Y P , Z P They represent the tristimulus values of color P in the XYZ color system, [R], [G], and [B] represent the color matching units in the RGB color system, and [X], [Y], and [Z] represent the color matching units in the XYZ color system.
[0162] Will Substituting into equation (3), we can get the following calculation process:
[0163]
[0164] Then, based on 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 in the XYZ color system are known, but Y R , Y G and Y B The proportional relationship is still unknown, so we only need to obtain Y R , Y G and Y B The proportional relationship can be used to obtain the transformation matrix.
[0167] It is known that the three stimulus values of white point in RGB color system are (1, 1, 1), and the three stimulus values in XYZ color system are 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), we can get Y R , Y G and Y B proportional relationship.
[0168] When Y is determined R , Y G and Y B The proportional relationship between the RGB color system and the XYZ color system can be obtained. In practical applications, the conversion between the RGB color system and the XYZ color system can be realized by directly substituting the image data under the RGB color system into the conversion matrix.
[0169] In step S303, the conversion between the third color system and the second color system, that is, the conversion between the XYZ color system and the HSV color system, also belongs to the existing color system conversion method. In the present disclosure, the conversion process of the two color systems is no longer described with a specific embodiment. The conversion of the two color systems can adopt a verified method in the relevant technology, for example, through a known conversion matrix, or through a known conversion tool or encoding 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 achieved. By adopting such a color system conversion method, the conversion process is no longer affected by the hardware performance of the device, so that the method in the present disclosure has a wider application range and can be used by devices with different hardware performances.
[0171] According to an exemplary embodiment, Figure 4As shown, the display control method in this embodiment includes:
[0172] S401: In response to a first operation, acquire a first image.
[0173] S402: Convert first image data of the first image in the first color system into third image data in the third color system.
[0174] S403: Convert the third image data in the third color system into the second image data in the second color system.
[0175] S404: Based on the brightness parameter of the display screen, obtain distribution data of preset parameters in the first image data.
[0176] S405: Determine a correction value of the target component based on the distribution data of the preset parameters in the first image data and the perceptual quantization curve.
[0177] S406 . Adjust the second image data based on the correction value of the target component to obtain second corrected image data.
[0178] S407: Convert the second corrected image data in the second color system into third corrected image data in the third color system.
[0179] S408: Convert the third corrected image data in the third color system into the first corrected image data in the first color system to obtain a target image.
[0180] S409: Before the target video frame switches to the second play state, the target video frame is covered with the target image and displayed 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 are not 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 the above step S303, 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. Referring to the conversion matrix between the RGB color system and the XYZ color system calculated in step S302, when it comes to the conversion between the XYZ color system and the RGB color system, 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 conversion matrix is used to convert the third corrected image data in the third color system into the first corrected image data in the first color system.
[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 adopt methods verified in related technologies, for example, conversion through a known conversion matrix, or conversion through a known conversion tool or encoding tool.
[0185] In the present disclosure, the process of converting the first image to the target image undergoes:
[0186] 1. Convert RGB color system to XYZ color system;
[0187] 2. Convert the XYZ color system to the HSV color system to obtain the second image data;
[0188] 3. Correct the second image data in the HSV color system;
[0189] 4. Convert the HSV color system to the XYZ color system, and convert the corrected second image data, i.e., the second corrected image data, to the third color system to obtain the third corrected image data;
[0190] 5. Convert the XYZ color system to the RGB color system, and then convert the third corrected image data to the first color system to obtain the first corrected image data and its corresponding target image.
[0191] Therefore, through the conversion between color systems and the correction of image data, the first image data corresponding to the first image is changed, so as to obtain a target image with the display effect of HDR technology.
[0192] According to an exemplary embodiment, Figure 5 As shown, the display control method in this embodiment includes:
[0193] S501: In response to a first operation, acquire a first image.
[0194] S502: Perform color correction processing on the first image based on the brightness parameter of the display screen to obtain a target image.
[0195] S503: Before the target video frame switches to the second play state, the target video frame is covered with a target image and displayed on a display screen.
[0196] S504: After the target video frame is switched to the second play state, the target image is deleted and the video is played in the second play state.
[0197] Among them, steps S501-S503 are the same as steps S101-S103 in the above embodiment, and are not repeated here.
[0198] In step S504, after the target video frame switches to the second playback state, it indicates that the switching process of the playback state is completed. At this time, the target image between the switching process of the first playback state and the second playback 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 HDR video is at the 12th video frame, the user performs the first operation, then the target video frame is the 12th video frame. According to the display control method provided by the present disclosure, the target image will be used to cover the target video frame. After the video frame completes the switching process (such as the rotation process from horizontal screen playback to vertical screen playback), 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, and then play it back until the first operation occurs again.
[0199] In the present disclosure, 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. The switching effect is smooth, which improves the user's visual experience.
[0200] The exemplary embodiment of the present disclosure provides a display control device, such as Figure 6 As shown, a block diagram of a display control device shown by our 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 the target video frame is switched from the first playback state to the second playback 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 the brightness parameters of the 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 cover the target video frame with the target image and display it on the display screen before the target video frame switches to the second playback state.
[0202] In some embodiments, the processing module 62 is specifically configured to:
[0203] converting first image data of the first image in the first color system into second image data in the second color system;
[0204] Based on the brightness parameter of the display screen, obtaining distribution data of a preset parameter in the first image data, where the preset parameter is used to characterize the brightness of the first image data;
[0205] Determining a correction value of a target component based on distribution data of a preset parameter in the first image data and a perceptual quantization curve, where the target component is used to characterize brightness of the second image data;
[0206] Adjusting the second image data based on the correction value of the target component to obtain second corrected image data;
[0207] 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 a target image.
[0208] In some embodiments, the processing module 62 is specifically configured to:
[0209] converting first image data of the first image in the first color system into third image data in the 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] converting the second corrected image data in the second color system into third corrected image data in the third color system;
[0213] 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 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 grayscale value; and the target component includes a brightness component in an HSV color system.
[0216] In some embodiments, the display control device further includes a second processing module, which is used to delete the target image and play the video in the second play state after the target video frame is switched to the second play state.
[0217] In some embodiments, the first playback state is one of a horizontal screen playback state and a vertical screen playback state, and the second playback state is the other of the horizontal screen playback state and the vertical screen playback state.
[0218] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0219] Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment.
[0220] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power 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 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may 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 on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device 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 memory, flash memory, magnetic disk or optical disk.
[0223] The power supply component 706 provides power to various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0224] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. 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 shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0225] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0226] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0227] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also 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 also 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 technologies.
[0229] In an exemplary embodiment, the electronic device 700 may be implemented by 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, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0230] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of an electronic device 700 to perform the above method. 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 disk, 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 execute the display control method provided by an exemplary embodiment of the present disclosure.
[0232] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0233] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A display control method, characterized in that: include: In response to a first operation, acquiring a first image, wherein the first operation is used to indicate that a target video frame is switched from a first playback state to a second playback state, and the first image is generated based on the target video frame; Based on the brightness parameter of the display screen, color correction processing is performed on the first image to obtain a target image, where the target image has the same display effect as the target video frame; Before the target video frame switches to the second play state, the target video frame is covered with the target image and displayed on the display screen.
2. The display control method according to claim 1, characterized in that: The step of performing color correction processing on the first image based on the brightness parameter of the display screen to obtain a target image includes: converting first image data of the first image in a first color system into second image data in a second color system; Based on the brightness parameter of the display screen, obtaining distribution data of a preset parameter in the first image data, wherein the preset parameter is used to characterize the brightness of the first image data; Determining a correction value of a target component based on distribution data of a preset parameter in the first image data and a perceptual quantization curve, the target component being used to characterize brightness of the second image data; adjusting the second image data based on the correction value of the target component to obtain second corrected image data; The second corrected image data in the second color system is converted into first corrected image data in the first color system to obtain the target image.
3. The display control method according to claim 2, characterized in that: The converting the first image data of the first image in the first color system into the second image data in the second color system comprises: converting first image data of the first image in a first color system into third image data in a third color system; The third image data in the third color system is converted into second image data in the second color system.
4. The display control method according to claim 3, characterized in that: The 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 comprises: converting the second corrected image data in the second color system into 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.
5. The display control method according to claim 3 or 4, characterized in that: 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.
6. The display control method according to claim 5, characterized in that: The preset parameter includes a grayscale value; the target component includes a brightness component in the HSV color system.
7. 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 play state, the target image is deleted and the video is played in the second play state.
8. The display control method according to claim 1, characterized in that: The first playback state is one of a horizontal screen playback state and a vertical screen playback state, and the second playback state is the other of the horizontal screen playback state and the vertical screen playback state.
9. A display control device, characterized in that: include: An acquisition module, configured to acquire a first image in response to a first operation, wherein the first operation is used to indicate that a target video frame is switched from a first playback state to a second playback state, and the first image is generated based on the target video frame; 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, wherein the target image has the same display effect as the target video frame; The display module is used for covering the target video frame with the target image and displaying it on the display screen before the target video frame switches to the second play state.
10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the display control method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Communication method and device
CN110168963A
Video conversion method and device, equipment, storage medium and program product
CN114866809A
Video processing method and device and storage medium
CN116805976A
Apparatus and method to convert image data
EP3454294A1
Image processing system, image projection device, and image processing method
JP2018026794A