CN111866482B - Display method, terminal and storage medium - Google Patents
Display method, terminal and storage medium Download PDFInfo
- Publication number
- CN111866482B CN111866482B CN202010655363.4A CN202010655363A CN111866482B CN 111866482 B CN111866482 B CN 111866482B CN 202010655363 A CN202010655363 A CN 202010655363A CN 111866482 B CN111866482 B CN 111866482B
- Authority
- CN
- China
- Prior art keywords
- brightness
- display area
- low gray
- gray scale
- time length
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The embodiment of the application discloses a display method, a terminal and a storage medium, wherein the terminal comprises a display screen, the display screen comprises a light-transmitting display area and a normal display area, the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area, and the method comprises the following steps: converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area, and converting second use time of the normal display area under standard brightness by using the acquired second use information of the normal display area; determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration; under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference to obtain a compensation image; and controlling the display screen to display the compensation image.
Description
Technical Field
The embodiment of the application relates to the technical field of screen display, in particular to a display method, a terminal and a storage medium.
Background
The full screen display technology is a technical scheme for realizing full screen display on the front side of the display terminal by hiding, lifting or edge-placing a front camera and the like.
At present, the area corresponding to the front camera is mainly divided on the display screen, so that the area is manufactured into low-pixel-density display, the light transmission is increased, ambient light can penetrate through the screen and enter the front camera, and the function of camera shooting under the screen is achieved. For the area corresponding to the front camera in the display screen, in order to ensure the brightness consistent with the normal area in the screen, the light-emitting intensity of a single pixel is required to be higher.
However, the display screen is usually made of Organic Light-Emitting diodes (OLEDs), and the Light intensity gradually decreases with the use of time. In the display screen, the light-transmitting display area and other areas have different attenuation speeds due to different deployment and luminous intensities of the OLEDs, so that the brightness of the two areas is not matched, and the display effect of the display screen is poor.
Disclosure of Invention
The embodiment of the application provides a display method, a terminal and a storage medium, which are used for carrying out brightness compensation processing on an image to be displayed in advance, so that the brightness difference of the image presented in different areas of a display screen is reduced, and the display effect of the display screen is improved.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a display method, which is applied to a terminal, wherein the terminal comprises a display screen, the display screen comprises a light-transmitting display area and a normal display area, the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area, and the method comprises the following steps:
converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area, and converting second use time of the normal display area under the standard brightness by using the acquired second use information of the normal display area;
determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration;
under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to the light-transmitting display area in the target image based on the brightness difference to obtain a compensation image;
and controlling the display screen to display the compensation image.
In the method, before the obtaining the first usage information of the transparent display area is used to calculate the first usage duration of the transparent display area under the standard brightness, the method further includes:
acquiring used low gray scale brightness of the light-transmitting display area, and determining each acquired low gray scale brightness as a first low gray scale brightness to obtain at least one first low gray scale brightness;
obtaining the service time of each first low gray scale brightness in the at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time;
determining the at least one first low gray scale luminance and the at least one first historical duration as the first usage information.
In the above method, the converting, by using the acquired first usage information of the light-transmitting display region, a first usage duration of the light-transmitting display region under standard brightness includes:
acquiring at least one first time length conversion parameter corresponding to the at least one first low gray scale brightness;
converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length;
determining a sum of the at least one first standard duration as the first usage duration.
In the above method, before the obtaining of the second usage information of the normal display area is used to convert the second usage duration of the normal display area at the standard brightness, the method further includes:
acquiring used low gray scale brightness of the normal display area, and determining each acquired low gray scale brightness as a second low gray scale brightness to obtain at least one second low gray scale brightness;
acquiring the use time of each second low gray scale brightness in the at least one second low gray scale brightness of the normal display area to obtain at least one second historical time;
determining the at least one second low grayscale brightness and the at least one second historical duration as the second usage information.
In the above method, the converting, by using the acquired second usage information of the normal display area, a second usage duration of the normal display area at the standard brightness includes:
acquiring at least one second duration conversion parameter corresponding to the at least one second low gray-scale brightness;
converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length;
determining the sum of the at least one second standard time length as the second usage time length.
In the above method, the determining the brightness difference between the light-transmitting display area and the normal display area based on the first usage time period and the second usage time period includes:
acquiring first brightness attenuation information corresponding to the first use duration and second brightness attenuation information corresponding to the second use duration;
determining the brightness difference according to the first brightness attenuation information and the second brightness attenuation information.
In the above method, the performing, based on the brightness difference, a brightness compensation process on an image area corresponding to the transparent display area in the target image to obtain a compensated image includes:
acquiring a preset correction parameter corresponding to the brightness difference;
loading the preset correction parameters to a preset skin function to obtain a loaded skin function;
and performing skinning processing on the image area by using the loaded skinning function to obtain the compensation image.
In the above method, after determining the brightness difference between the light-transmitting display area and the normal display area based on the first usage time period and the second usage time period, the method further includes:
and controlling the display screen to display the target image under the condition that the brightness difference does not exceed the preset difference threshold value.
The embodiment of the application provides a terminal, including the display screen, the display screen includes the printing opacity subregion, the display screen includes printing opacity subregion and normal display area, the luminance decay rate in printing opacity display area is higher than normal display area, the terminal still includes:
the time conversion module is used for converting first use information of the light-transmitting display area into first use time of the light-transmitting display area under standard brightness and converting second use information of the normal display area into second use time of the normal display area under the standard brightness;
the difference determining module is used for determining the brightness difference between the light-transmitting display area and the normal display area based on the first using time length and the second using time length;
the brightness compensation module is used for performing brightness compensation processing on an image area corresponding to the light-transmitting display area in the target image based on the brightness difference information under the condition that the brightness difference exceeds a preset difference threshold value to obtain a compensation image;
and the display control module is used for controlling the display screen to display the compensation image.
In the terminal, the time conversion module is further configured to obtain used low gray scale brightness of the light-transmitting display region, and determine each obtained low gray scale brightness as a first low gray scale brightness to obtain at least one first low gray scale brightness; obtaining the service time of each first low gray scale brightness in the at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time; determining the at least one first low gray scale luminance and the at least one first historical duration as the first usage information.
In the terminal, the time conversion module is specifically configured to obtain at least one first time length conversion parameter corresponding to the at least one first low gray scale luminance; converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length; determining a sum of the at least one first standard duration as the first usage duration.
In the terminal, the time conversion module is further configured to obtain low gray scale luminance used in the normal display area, and determine each obtained low gray scale luminance as a second low gray scale luminance to obtain at least one second low gray scale luminance; obtaining the use time of each second low gray scale brightness in the at least one second low gray scale brightness of the normal display area to obtain at least one second historical time; determining the at least one second low grayscale brightness and the at least one second historical duration as the second usage information.
In the terminal, the time conversion module is specifically configured to obtain at least one second duration conversion parameter corresponding to the at least one second low grayscale brightness; converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length; determining the sum of the at least one second standard time length as the second usage time length.
In the terminal, the difference determining module is specifically configured to obtain first brightness attenuation information corresponding to the first usage duration and second brightness attenuation information corresponding to the second usage duration; determining the brightness difference according to the first brightness attenuation information and the second brightness attenuation information.
In the terminal, the brightness compensation module is specifically configured to obtain a preset correction parameter corresponding to the brightness difference; loading the preset correction parameters to a preset skin function to obtain a loaded skin function; and performing skinning processing on the image area by using the loaded skinning function to obtain the compensation image.
In the terminal, the display control module is further configured to control the display screen to display the target image when the brightness difference does not exceed the preset difference threshold.
The embodiment of the application provides a terminal, which comprises a display screen, a processor, a memory and a communication bus, wherein the display screen comprises a light-transmitting display area and a normal display area, and the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area;
the communication bus is used for realizing communication connection among the display screen, the processor and the memory;
the processor is used for executing the display program stored in the memory so as to realize the display method.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the display method described above.
The embodiment of the application provides a display method, a terminal and a storage medium, wherein the terminal comprises a display screen, the display screen comprises a light-transmitting display area and a normal display area, the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area, and the method comprises the following steps: converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area, and converting second use time of the normal display area under standard brightness by using the acquired second use information of the normal display area; determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration; under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference to obtain a compensation image; and controlling the display screen to display the compensation image. According to the technical scheme, the images needing to be displayed are subjected to brightness compensation processing in advance, so that the brightness difference of the images presented in different areas of the display screen is reduced, and the display effect of the display screen is improved.
Drawings
FIG. 1 is an exemplary luminance decay contrast diagram provided by an embodiment of the present application;
FIG. 2 is a graph illustrating an exemplary luminance decay curve of a normal display area according to an embodiment of the present disclosure;
FIG. 3 is a graph illustrating the luminance decay of an exemplary light transmissive display region according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a display method according to an embodiment of the present application;
FIG. 5 is an exemplary skinned compensated image provided by an embodiment of the present application;
fig. 6 is a first schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
The embodiment of the application provides a display method which is applied to a terminal. The terminal may be an electronic device such as a mobile phone and a tablet computer, and the specific terminal is not limited in the embodiment of the present application.
It should be noted that, in the embodiments of the present application, the terminal includes a display screen, and the display screen includes a light-transmitting display area and a normal display area. The brightness decay speed of the light-transmitting display area is higher than that of a normal display area.
It will be appreciated that in embodiments of the present application, the display screen may be divided into two regions, a transmissive display region and a normal display region. The light-transmitting display area is actually a display area corresponding to the front camera. The front camera is arranged below the transparent display area, the number of pixels arranged in the transparent display area is small, and the pixel density is low, so that incident light penetrating through gaps among the pixels in the transparent display area can be received by the front camera to form images. Since the transparent display area has fewer pixels and low density, and the normal display area has more pixels and high density, the brightness attenuation speed is higher than that of the normal display area, as shown in fig. 1, which is a contrast graph of brightness attenuation of displaying a pure white picture under the same brightness of the normal display area and the transparent display area.
Fig. 2 is a luminance decay curve of an exemplary normal display area according to an embodiment of the present disclosure. Fig. 3 is a luminance decay curve of an exemplary light-transmissive display region according to an embodiment of the present disclosure. As shown in fig. 2 and 3, 10 display screens are taken as test objects, that is, 10 series in the corresponding graph and fig. 3, corresponding brightness attenuation curves can be respectively determined, wherein the brightness attenuation speeds of the transparent display area and the normal display area are not consistent, but it can be seen from the comparison of multiple sets of data that the brightness attenuation curves are relatively stable in the transparent display area or the normal display area. I.e. uniformity and reliability of the display screen is guaranteed. This is the physical basis for correcting for brightness decay.
Based on the description of the display screen, the display method will be described in detail below.
Fig. 4 is a schematic flowchart of a display method according to an embodiment of the present application. As shown in fig. 4, in the embodiment of the present application, the display method mainly includes the following steps:
s101, converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area, and converting second use time of the normal display area under the standard brightness by using the acquired second use information of the normal display area.
In the embodiment of the application, the terminal may convert the first use duration of the light-transmitting display area under the standard brightness by using the acquired first use information of the light-transmitting display area, and convert the second use duration of the normal display area under the standard brightness by using the acquired second use information of the normal display area.
It is understood that, in the embodiment of the present application, the standard brightness may be a preset brightness, and specifically may be the highest brightness that can be achieved by the display screen. When a user uses the terminal daily, the transparent display area is not always under the standard brightness, and may be under various brightness conditions, so that the historical use duration under different brightness conditions needs to be converted to obtain the use duration under the standard brightness.
Specifically, in an embodiment of the present application, before the terminal converts the first usage duration of the light-transmitting display area under the standard brightness by using the acquired first usage information of the light-transmitting display area, the method includes: acquiring used low gray scale brightness of a light-transmitting display area, and determining each acquired low gray scale brightness as a first low gray scale brightness to obtain at least one first low gray scale brightness; acquiring the use time of each first low gray scale brightness in at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time; at least one first low gray scale luminance and at least one first history duration are determined as the first usage information.
It should be noted that, in the embodiment of the present application, the terminal may continuously monitor the low gray-scale luminance of the transparent display area, so as to be able to obtain each used low gray-scale luminance of the transparent display screen, and determine each used low gray-scale luminance as a first low gray-scale luminance. In addition, the terminal can continuously count the use duration of different low gray scale brightness in the process of historical use of the light-transmitting display area, and each use duration is determined as a first historical duration, so that at least one first historical duration is obtained.
Specifically, in an embodiment of the present application, the method for converting, by a terminal, a first usage duration of a light-transmitting display area under standard brightness by using acquired first usage information of the light-transmitting display area includes: acquiring at least one first time length conversion parameter corresponding to at least one first low gray scale brightness; converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length; the sum of the at least one first standard time duration is determined as the first usage time duration.
It should be noted that, in the embodiment of the present application, time length conversion parameters corresponding to different low gray-scale luminances are stored in the terminal. Therefore, the terminal can directly acquire the at least one first time length conversion parameter. The specific time length conversion parameter is not limited in the embodiments of the present application.
It should be noted that, in the embodiment of the present application, the terminal may multiply each duration in the at least one first historical duration by a corresponding parameter in the at least one duration conversion parameter to obtain a corresponding standard duration, and then add all the standard durations to obtain the first usage duration, that is, convert the usage duration of the transparent display screen at the standard brightness.
Specifically, in the embodiment of the present application, in a case that the transparent display area has used n low gray-scale luminances, n is a natural number greater than or equal to 1, and the terminal may convert the first usage duration of the transparent display area under the standard luminance by using formula (1), where the specific formula is as follows:
wherein, TStandard of meritFor a first duration of use, T, of the light-transmissive display region at standard brightnessiThe duration of the light-transmitting display area under the ith low gray scale brightness in the n low gray scale brightness, and K (i) is a duration conversion parameter corresponding to the ith low gray scale brightness.
Specifically, in an embodiment of the present application, before the terminal converts the second usage duration of the normal display area under the standard brightness by using the obtained second usage information of the normal display area, the method includes: acquiring used low gray scale brightness of a normal display area, and determining each acquired low gray scale brightness as a second low gray scale brightness to obtain at least one second low gray scale brightness; obtaining the use time of each second low-gray-scale brightness in at least one second low-gray-scale brightness of the normal display area to obtain at least one second historical time; and determining at least one second low gray scale brightness and at least one second historical duration as second usage information.
Specifically, in an embodiment of the present application, the converting, by the terminal, the second use duration of the normal display area under the standard brightness by using the obtained second use information of the normal display area includes: acquiring at least one second duration conversion parameter corresponding to at least one second low gray-scale brightness; converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length; the sum of the at least one second standard time duration is determined as the second usage time duration.
It can be understood that, in the embodiment of the present application, the terminal uses the second usage information of the normal display area to convert the second usage duration of the normal display area under the standard brightness, which is completely the same as the way of using the first usage information of the transparent display area to convert the second usage duration of the transparent display area under the standard brightness, and is not described herein again.
S102, determining the brightness difference between the light-transmitting display area and the normal display area based on the first using time length and the second using time length.
In the embodiment of the application, after the terminal obtains the first using time length and the second using time length, the brightness difference between the light-transmitting display area and the normal display area is determined based on the first using time length and the second using time length.
Specifically, in an embodiment of the present application, the determining, by the terminal, the brightness difference between the transparent display area and the normal display area based on the first duration of use and the second duration of use includes: acquiring first brightness attenuation information corresponding to the first use duration and second brightness attenuation information corresponding to the second use duration; and determining the brightness difference according to the first brightness attenuation information and the second brightness attenuation information.
It should be noted that, in the embodiment of the present application, for the transparent display area and the normal display area, luminance attenuation information corresponding to different use durations of the transparent display area and the normal display area under standard luminance is counted in advance, so that after the terminal obtains the first use duration and the second use duration, the first luminance attenuation information and the second luminance attenuation information can be obtained.
And S103, under the condition that the brightness difference exceeds a preset difference threshold, performing brightness compensation processing on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference to obtain a compensation image.
In the embodiment of the application, after the terminal determines the brightness difference, under the condition that the brightness difference exceeds a preset difference threshold, the brightness compensation processing is performed on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference, so that a compensation image is obtained.
In the embodiment of the present application, the target image is an image that needs to be displayed on the display screen. The specific target image may be determined according to actual requirements, and the embodiment of the present application is not limited.
Specifically, in an embodiment of the present application, the method for performing brightness compensation processing on an image area corresponding to a transparent display area in a target image by a terminal based on a brightness difference to obtain a compensated image includes: acquiring preset correction parameters corresponding to the brightness difference; loading a preset correction parameter to a preset skin function to obtain a loaded skin function; and carrying out skinning processing on the image area by using the loaded skinning function to obtain a compensation image.
It can be understood that, in the embodiment of the present application, before the terminal controls the display screen to display the original image or video data, that is, the target image, a skinning function covering preset correction parameters is added to the image corresponding to the transparent display area in the target image, and after the skinning function covers, the information of each pixel point in the image area has been modified and adapted.
FIG. 5 is an exemplary compensated image after skinning according to an embodiment of the present disclosure. As shown in fig. 5, on an original target image, the terminal performs a skinning function on an image area corresponding to a fillet of a screen in a display screen and a display area corresponding to a camera under the screen, that is, a transparent display area, so as to obtain a compensated image.
And S104, controlling the display screen to display the compensation image.
In the embodiment of the application, after the terminal obtains the compensation image, the terminal can control the display screen to display the compensation image.
It can be understood that, in the embodiment of the present application, the terminal controls the display screen to display the compensation image, and since the compensation image is obtained by performing a skinning function on an image area corresponding to the transparent display area by using the target image, the compensation image displayed on the display screen will have an effect of no brightness difference, that is, visually, a user can see that the brightness of each part of the compensation image displayed in the transparent display area and the normal display area is consistent.
It can be understood that, in the embodiment of the present application, the terminal may control the driving circuit to correspondingly supply power to different pixels in the display screen according to the compensation image, so as to display the compensation image on the display screen. The compensation image is identical to the image content actually represented by the target image, except that the brightness effect displayed in accordance with the compensation image is consistent between the transparent display area and the normal display area.
It should be noted that, in the embodiment of the present application, in step S102, after the terminal determines the brightness difference between the transparent display area and the normal display area, the brightness difference may not exceed the preset difference threshold, and therefore, after the terminal determines the brightness difference between the transparent display area and the normal display area based on the first duration of use and the second duration of use, the method further includes: and controlling the display screen to display the target image under the condition that the brightness difference does not exceed the preset difference threshold value.
It can be understood that, in the embodiment of the present application, since the luminance decay rate of the display screen itself is relatively slow, the display correction of the light-transmitting display area does not need to be performed in real time, and the correction is performed when the luminance difference is selected to a certain extent.
The embodiment of the application provides a display method, which is applied to a terminal, wherein the terminal comprises a display screen, the display screen comprises a light-transmitting display area and a normal display area, the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area, and the method comprises the following steps: converting the first use time of the light-transmitting display area under the standard brightness by using the acquired first use information of the light-transmitting display area, and converting the second use time of the normal display area under the standard brightness by using the acquired second use information of the normal display area; determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration; under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference to obtain a compensation image; and controlling the display screen to display the compensation image. According to the display method provided by the embodiment of the application, the brightness compensation processing is performed on the image to be displayed in advance, so that the brightness difference of the image presented in different areas of the display screen is reduced, and the display effect of the display screen is improved.
The embodiment of the application also provides a terminal. Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 6, the terminal includes a display screen 601, the display screen includes a transparent display area and a normal display area, the luminance decay rate of the transparent display area is higher than that of the normal display area, and the terminal further includes:
a time conversion module 602, configured to convert a first usage duration of the transparent display area at a standard brightness by using the acquired first usage information of the transparent display area, and convert a second usage duration of the normal display area at the standard brightness by using the acquired second usage information of the normal display area;
a difference determining module 603, configured to determine a brightness difference between the transparent display area and the normal display area based on the first duration of use and the second duration of use;
a brightness compensation module 604, configured to perform brightness compensation processing on an image area corresponding to the light-transmitting display area in the target image based on the brightness difference information when the brightness difference exceeds a preset difference threshold, so as to obtain a compensated image;
and a display control module 605, configured to control the display screen 601 to display the compensated image.
In an embodiment of the application, the time conversion module 602 is further configured to obtain low gray scale luminance used by the light-transmitting display region, and determine each obtained low gray scale luminance as a first low gray scale luminance to obtain at least one first low gray scale luminance; obtaining the use time of each first low gray scale brightness in the at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time; determining the at least one first low gray scale luminance and the at least one first historical duration as the first usage information.
In an embodiment of the present application, the time conversion module 602 is specifically configured to obtain at least one first time length conversion parameter corresponding to the at least one first low gray-scale luminance; converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length; determining a sum of the at least one first standard duration as the first usage duration.
In an embodiment of the application, the time conversion module 602 is further configured to obtain low gray-scale luminance used in the normal display area, and determine each obtained low gray-scale luminance as a second low gray-scale luminance to obtain at least one second low gray-scale luminance; acquiring the use time of each second low gray scale brightness in the at least one second low gray scale brightness of the normal display area to obtain at least one second historical time; determining the at least one second low gray scale luminance and the at least one second historical duration as the second usage information.
In an embodiment of the present application, the time conversion module 602 is specifically configured to obtain at least one second duration conversion parameter corresponding to the at least one second low grayscale brightness; converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length; determining the sum of the at least one second standard time length as the second usage time length.
In an embodiment of the present application, the difference determining module 603 is specifically configured to obtain first brightness attenuation information corresponding to the first usage duration and second brightness attenuation information corresponding to the second usage duration; and determining the brightness difference according to the first brightness attenuation information and the second brightness attenuation information.
In an embodiment of the present application, the brightness compensation module 604 is specifically configured to obtain a preset correction parameter corresponding to the brightness difference; loading the preset correction parameters to a preset skin function to obtain a loaded skin function; and carrying out skinning processing on the image area by using the loaded skinning function to obtain the compensation image.
In an embodiment of the application, the display control module 605 is further configured to control the display screen to display the target image when the brightness difference does not exceed the preset difference threshold.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 7, the terminal includes: the display screen 701 comprises a light-transmitting display area and a normal display area, wherein the brightness decay speed of the light-transmitting display area is higher than that of the normal display area;
the communication bus 704 is used for realizing communication connection among the display screen 701, the processor 702 and the memory 703;
the processor 702 is configured to execute the display program stored in the memory 703 to implement the display method.
The embodiment of the application provides a terminal, which comprises a display screen, wherein the display screen comprises a light-transmitting display area and a normal display area, the brightness attenuation speed of the light-transmitting display area is higher than that of the normal display area, the terminal converts first use time of the light-transmitting display area under standard brightness by using acquired first use information of the light-transmitting display area, and converts second use time of the normal display area under the standard brightness by using acquired second use information of the normal display area; determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration; under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to a light-transmitting display area in the target image based on the brightness difference to obtain a compensation image; and controlling the display screen to display the compensation image. The terminal provided by the embodiment of the application carries out brightness compensation processing on the image to be displayed in advance, thereby reducing the brightness difference of the image presented in different areas of the display screen and improving the display effect of the display screen.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the display method. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (7)
1. A display method applied to a terminal, the terminal comprising a display screen, the display screen comprising a light-transmitting display area and a normal display area, the light-transmitting display area having a higher brightness decay rate than the normal display area, the method comprising:
converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area, and converting second use time of the normal display area under the standard brightness by using the acquired second use information of the normal display area;
determining the brightness difference between the light-transmitting display area and the normal display area based on the first use duration and the second use duration;
under the condition that the brightness difference exceeds a preset difference threshold value, performing brightness compensation processing on an image area corresponding to the light-transmitting display area in the target image based on the brightness difference to obtain a compensation image;
controlling the display screen to display the compensation image;
before the converting the obtained first usage information of the transparent display area into the first usage duration of the transparent display area under the standard brightness, the method further includes: acquiring used low gray scale brightness of the light-transmitting display area, and determining each acquired low gray scale brightness as a first low gray scale brightness to obtain at least one first low gray scale brightness; obtaining the service time of each first low gray scale brightness in the at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time; determining the at least one first low gray scale brightness and the at least one first historical duration as the first usage information; correspondingly, the converting the first use duration of the light-transmitting display area under the standard brightness by using the acquired first use information of the light-transmitting display area includes:
acquiring at least one first time length conversion parameter corresponding to the at least one first low gray scale brightness; converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length; determining a sum of the at least one first standard duration as the first usage duration;
before the obtaining of the second usage information of the normal display area is used to convert the second usage duration of the normal display area under the standard brightness, the method further includes: acquiring used low gray scale brightness of the normal display area, and determining each acquired low gray scale brightness as a second low gray scale brightness to obtain at least one second low gray scale brightness; obtaining the use time of each second low gray scale brightness in the at least one second low gray scale brightness of the normal display area to obtain at least one second historical time; determining the at least one second low gray scale brightness and the at least one second historical duration as the second usage information; correspondingly, the converting the second usage duration of the normal display area under the standard brightness by using the acquired second usage information of the normal display area includes:
acquiring at least one second duration conversion parameter corresponding to the at least one second low gray-scale brightness; converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length; determining the sum of the at least one second standard time length as the second usage time length.
2. The method of claim 1, wherein determining the difference in brightness between the transmissive display area and the normal display area based on the first duration of use and the second duration of use comprises:
acquiring first brightness attenuation information corresponding to the first using time length and second brightness attenuation information corresponding to the second using time length;
determining the brightness difference according to the first brightness attenuation information and the second brightness attenuation information.
3. The method according to claim 1, wherein performing a brightness compensation process on an image area corresponding to the transparent display area in the target image based on the brightness difference to obtain a compensated image comprises:
acquiring a preset correction parameter corresponding to the brightness difference;
loading the preset correction parameters to a preset skin function to obtain a loaded skin function;
and carrying out skinning processing on the image area by using the loaded skinning function to obtain the compensation image.
4. The method of claim 1, wherein after determining the difference in brightness between the transmissive display region and the normal display region based on the first and second periods of use, the method further comprises:
and controlling the display screen to display the target image under the condition that the brightness difference does not exceed the preset difference threshold value.
5. A terminal, comprising a display screen, wherein the display screen comprises a transparent display area, the display screen comprises a transparent display area and a normal display area, the brightness attenuation speed of the transparent display area is higher than that of the normal display area, and the terminal further comprises:
the time conversion module is used for converting first use time of the light-transmitting display area under standard brightness by using the acquired first use information of the light-transmitting display area and converting second use time of the normal display area under the standard brightness by using the acquired second use information of the normal display area; and the number of the first and second groups,
the time conversion module is further configured to obtain low gray scale brightness used by the light-transmitting display region, and determine each obtained low gray scale brightness as a first low gray scale brightness to obtain at least one first low gray scale brightness; obtaining the service time of each first low gray scale brightness in the at least one first low gray scale brightness of the light-transmitting display area to obtain at least one first historical time; determining the at least one first low gray scale brightness and the at least one first historical duration as the first usage information; correspondingly, the converting the first use duration of the light-transmitting display area under the standard brightness by using the acquired first use information of the light-transmitting display area includes: acquiring at least one first time length conversion parameter corresponding to the at least one first low gray scale brightness; converting each time length in the at least one first historical time length into a first standard time length by using a corresponding parameter in the at least one first time length conversion parameter to obtain at least one first standard time length; determining a sum of the at least one first standard duration as the first usage duration;
the time conversion module is further configured to obtain low gray scale luminance used in the normal display area, and determine each obtained low gray scale luminance as a second low gray scale luminance to obtain at least one second low gray scale luminance; acquiring the use time of each second low gray scale brightness in the at least one second low gray scale brightness of the normal display area to obtain at least one second historical time; determining the at least one second low gray scale brightness and the at least one second historical duration as the second usage information; correspondingly, the converting the second usage duration of the normal display area under the standard brightness by using the acquired second usage information of the normal display area includes: acquiring at least one second duration conversion parameter corresponding to the at least one second low gray-scale brightness; converting each time length in the at least one second historical time length into a second standard time length by using a corresponding parameter in the at least one second time length conversion parameter to obtain at least one second standard time length; determining the sum of the at least one second standard time length as the second usage time length;
the difference determining module is used for determining the brightness difference between the light-transmitting display area and the normal display area based on the first using time length and the second using time length;
the brightness compensation module is used for carrying out brightness compensation processing on an image area corresponding to the light-transmitting display area in the target image based on the brightness difference information under the condition that the brightness difference exceeds a preset difference threshold value to obtain a compensation image;
and the display control module is used for controlling the display screen to display the compensation image.
6. A terminal, comprising a display screen, a processor, a memory and a communication bus, wherein the display screen comprises a light-transmitting display area and a normal display area, and the light-transmitting display area has a higher brightness decay rate than the normal display area;
the communication bus is used for realizing communication connection among the display screen, the processor and the memory;
the processor is configured to execute the display program stored in the memory to implement the display method according to any one of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the display method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010655363.4A CN111866482B (en) | 2020-07-09 | 2020-07-09 | Display method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010655363.4A CN111866482B (en) | 2020-07-09 | 2020-07-09 | Display method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111866482A CN111866482A (en) | 2020-10-30 |
CN111866482B true CN111866482B (en) | 2022-06-24 |
Family
ID=73152991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010655363.4A Active CN111866482B (en) | 2020-07-09 | 2020-07-09 | Display method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111866482B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112466253B (en) * | 2020-11-30 | 2022-02-18 | 合肥维信诺科技有限公司 | Display judgment method, device, equipment and storage medium |
CN112435623B (en) * | 2020-12-01 | 2023-08-22 | Oppo广东移动通信有限公司 | Control method, display screen and electronic equipment |
CN113380165B (en) * | 2021-06-10 | 2024-01-09 | Oppo广东移动通信有限公司 | Method, device, system and storage medium for detecting display device |
CN113242339B (en) * | 2021-06-15 | 2023-08-29 | Oppo广东移动通信有限公司 | Display method, display device, electronic equipment and storage medium |
CN113889016B (en) * | 2021-09-29 | 2024-04-19 | 昆山国显光电有限公司 | Display compensation method, device, display device and storage medium |
CN117939717A (en) * | 2022-10-14 | 2024-04-26 | 青岛海尔空调器有限总公司 | Method, device, electronic equipment and storage medium for controlling LED light source |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109147663A (en) * | 2018-11-28 | 2019-01-04 | 南京中电熊猫平板显示科技有限公司 | A kind of organic light-emitting display device and its luminance compensation method |
CN110767136B (en) * | 2018-12-29 | 2020-10-09 | 云谷(固安)科技有限公司 | Display panel brightness correction method, display panel brightness correction device and display device |
CN110634434B (en) * | 2019-09-11 | 2022-08-05 | 武汉天马微电子有限公司 | Driving method and driving device of display panel and display device |
CN110706634B (en) * | 2019-09-30 | 2022-07-26 | 联想(北京)有限公司 | Display method and electronic device |
CN110910822B (en) * | 2019-11-27 | 2021-03-16 | 深圳市华星光电半导体显示技术有限公司 | OLED compensation method, compensation device and computer readable storage medium |
CN110880297B (en) * | 2019-12-10 | 2021-09-17 | 京东方科技集团股份有限公司 | Display panel brightness adjusting method and device and display device |
-
2020
- 2020-07-09 CN CN202010655363.4A patent/CN111866482B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111866482A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111866482B (en) | Display method, terminal and storage medium | |
CN104113688B (en) | A kind of image processing method and its electronic equipment | |
CN107111992B (en) | method and terminal for adjusting backlight brightness | |
US8576256B2 (en) | Dynamic backlight adaptation for video images with black bars | |
JP6478499B2 (en) | Image processing apparatus, image processing method, and program | |
US10783837B2 (en) | Driving method and driving device of display device, and related device | |
US20150356905A1 (en) | Liquid crystal display device | |
TW200917206A (en) | Mangement techniques for video playback | |
US11509806B2 (en) | Under-display camera synchronization with display pixel operation | |
EP2174489B1 (en) | Management techniques for video playback | |
CN108364271B (en) | Method and device for improving image contrast | |
JP2017046045A (en) | Image processing system | |
CN109637437B (en) | Image display control method, device, medium and display screen control system | |
KR20160130005A (en) | Optical compensation system and Optical compensation method thereof | |
CN112289278A (en) | Screen brightness adjusting method, screen brightness adjusting device and electronic equipment | |
KR20160068627A (en) | Image processing device, image processing method and display device | |
CN111090384A (en) | Soft keyboard display method and device | |
CN112309321A (en) | Display control method and device and storage medium | |
CN113963671B (en) | Display method, terminal and storage medium | |
JP6548516B2 (en) | IMAGE DISPLAY DEVICE, IMAGE PROCESSING DEVICE, CONTROL METHOD OF IMAGE DISPLAY DEVICE, AND CONTROL METHOD OF IMAGE PROCESSING DEVICE | |
CN107895563B (en) | Display control method and device, terminal and computer readable storage medium | |
CN114143448B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113242339B (en) | Display method, display device, electronic equipment and storage medium | |
US20220385933A1 (en) | A system for performing image motion compensation | |
US20230085693A1 (en) | Image capturing device and image calculation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |