CN115602127A - Screen picture display method and device, terminal equipment and storage medium - Google Patents

Screen picture display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115602127A
CN115602127A CN202110768695.8A CN202110768695A CN115602127A CN 115602127 A CN115602127 A CN 115602127A CN 202110768695 A CN202110768695 A CN 202110768695A CN 115602127 A CN115602127 A CN 115602127A
Authority
CN
China
Prior art keywords
backlight
parameter set
gamma
screen
screen brightness
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.)
Pending
Application number
CN202110768695.8A
Other languages
Chinese (zh)
Inventor
杨新勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110768695.8A priority Critical patent/CN115602127A/en
Publication of CN115602127A publication Critical patent/CN115602127A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Abstract

The embodiment of the application discloses screen picture display, a device, terminal equipment and a storage medium, belongs to the technical field of display, and can solve the problem of poor screen display color accuracy caused in the backlight adjustment process in the prior art. The method comprises the following steps: modifying the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, wherein the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight grade from the first backlight grade to the second backlight grade, the default gamma parameter set corresponds to the first backlight grade, or the default gamma parameter set corresponds to the second backlight grade, and i is a positive integer; after the ith backlight adjustment, displaying the screen picture based on the target gamma parameter set.

Description

Screen picture display method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a method and an apparatus for displaying a screen, a terminal device, and a storage medium.
Background
Currently, backlight adjustment smoothing schemes are generally implemented by Polynomial calibration (PCC) or by correlated Color map (CCORR), however, in the backlight adjustment process, the problem of poor screen display Color accuracy is caused no matter the backlight smoothing is implemented by PCC or CCORR.
Disclosure of Invention
The embodiment of the application provides a screen picture display method and device, terminal equipment and a storage medium, and aims to solve the problem that screen display color accuracy is poor in the backlight adjustment process in the prior art.
In a first aspect of the embodiments of the present application, a method for displaying a screen image is provided, where the method includes: modifying the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, wherein the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight grade from the first backlight grade to the second backlight grade, the default gamma parameter set corresponds to the first backlight grade or the default gamma parameter set corresponds to the second backlight grade, and i is a positive integer; after the ith backlight adjustment, displaying a screen picture based on the target gamma parameter set.
In a second aspect of the embodiments of the present application, there is provided a screen display apparatus, including: the device comprises a correction module and a display module; the correction module is used for correcting the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight grade from the first backlight grade to the second backlight grade, the default gamma parameter set corresponds to the first backlight grade, or the default gamma parameter set corresponds to the second backlight grade, and i is a positive integer; and the display module is used for displaying the screen picture based on the target gamma parameter set obtained by the correction module after the ith backlight adjustment.
In a third aspect of the embodiments of the present application, a terminal device is provided, where the terminal device includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, and when the program or the instruction is executed by the processor, the terminal device implements the steps of the screen display method according to the first aspect.
A fourth aspect of the embodiments of the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the screen display method according to the first aspect.
In a fifth aspect of the embodiments of the present application, a chip is provided, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the screen display method according to the first aspect.
In the embodiment of the application, a target gamma parameter set corresponding to the first screen brightness is obtained by correcting the default gamma parameter set based on the first screen brightness after the ith backlight adjustment, and a screen picture is displayed based on the target gamma parameter set after the ith backlight adjustment; the ith backlight adjustment is any one of a plurality of backlight adjustments for adjusting the backlight level from the first backlight level to the second backlight level, the default gamma parameter set corresponds to the first backlight level, or the default gamma parameter set corresponds to the second backlight level, and i is a positive integer. In the scheme, in the backlight grade adjusting process of smoothing the screen brightness change through multiple times of intermediate brightness backlight adjustment, the default gamma parameter set is corrected based on the screen brightness after the ith backlight adjustment to obtain the target gamma parameter set corresponding to the ith backlight adjustment, and then the screen picture is displayed based on the target gamma parameter set corresponding to the adjusted screen brightness after the ith backlight adjustment, so that the problem of screen picture color level deterioration caused by the default gamma parameter set (the gamma parameter set which does not correspond to the adjusted screen brightness) in the backlight adjusting process can be solved, and the screen brightness change is smoother through improving the color level of the screen picture in the backlight adjusting process.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
Fig. 1 is a schematic structural diagram of a hardware platform system for implementing backlight smoothing based on CCORR according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a screen display method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a gamma parameter set according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram of a gamma parameter set provided by the present application;
FIG. 5 is a third exemplary diagram of a gamma parameter set according to an embodiment of the present invention;
FIG. 6 is a second flowchart illustrating a screen display method according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a screen display device according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen picture display method provided by the embodiment of the application can be applied to the screen backlight level adjustment process, in the backlight level adjustment process of the prior art, the screen brightness changes smoothly through multiple times of intermediate brightness backlight adjustment, however, in each time of intermediate brightness backlight adjustment, the screen brightness is adjusted, but the default gamma parameter set is not corrected based on the screen brightness, and the screen picture is still displayed based on the default gamma parameter set corresponding to the backlight level, so that the color accuracy of the screen picture is poor.
In order to solve the above technical problem, in the embodiment of the present application, a default gamma parameter set corresponding to a backlight level is modified based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set, and after the ith backlight adjustment, a screen is displayed based on the target gamma parameter set corresponding to the adjusted screen brightness, so that a problem of color level degradation of the screen caused by the default gamma parameter set (a gamma parameter set not corresponding to the adjusted screen brightness) in a backlight adjustment process can be solved. Therefore, in the backlight adjustment process, the change of the screen brightness is smoother by improving the color accuracy of the screen picture.
First, fig. 1 is a hardware platform system for implementing backlight smoothing based on CCORR according to an embodiment of the present application. As shown in fig. 1, the hardware platform system includes: an OverLay (OVL) module, a Picture Quality (PQ) module, a Sub-Pixel Render/Color Manager (SRP/CM) module, a Display Stream Compression (DSC) module, and a Display Serial Interface (DSI) module. Wherein, PQ module includes: the system comprises a Sharpness (Sharpness, TDSHP for short) module, a color adjustment (color) module, a CCORR module, a three-dimensional lookup table (3D Look up table, C3D) module, an Ambient-light Adaptive luminance (AAL) module, a Gamma (Gamma) module and a jitter (Dither) module. The PQ module is at least one module configuration parameter and update parameter of a TDSHP module, a color module, a CCORR module, a C3D module, an AAL module, a Gamma module and a diter module, and the parameter of the Gamma module is a Gamma parameter set in the embodiment of the present application.
It should be noted that the screen image display method provided in the embodiment of the present application may be used in, in addition to the hardware platform system that implements backlight smoothing based on CCORR, other hardware platform systems that implement backlight smoothing by adding multiple intermediate brightness adjustments, for example, a hardware platform system that implements backlight smoothing based on PCC, which may be determined specifically according to actual use requirements, and the embodiment of the present application is not limited.
The terminal device in the embodiment of the application may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present application are not particularly limited.
The execution main body of the screen display method provided in the embodiment of the present application may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the screen display method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.
The screen display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by using specific embodiments and application scenarios thereof.
As shown in fig. 2, an embodiment of the present application provides a screen display method, and an example of the screen display method provided in the embodiment of the present application is described below with an execution subject as a terminal device. The method may include steps 201 and 202 described below.
201. And the terminal equipment modifies the default gamma parameter set based on the first screen brightness after the ith backlight adjustment so as to obtain a target gamma parameter set corresponding to the first screen brightness.
The ith backlight adjustment is any one of a plurality of backlight adjustments for adjusting the backlight level from the first backlight level to the second backlight level, the default gamma parameter set corresponds to the first backlight level, or the default gamma parameter set corresponds to the second backlight level, and i is a positive integer.
It can be understood that, in the embodiment of the present application, the terminal device generally includes a plurality of backlight levels, and under each backlight level, the screen brightness of the corresponding full white picture is different, and each backlight level corresponds to a default gamma parameter set.
It should be noted that, the default gamma parameter sets corresponding to different backlight levels may be the same or different, and may be determined specifically according to actual use requirements, which is not limited in the embodiment of the present application.
It can be understood that, in this embodiment of the present application, the first backlight level and the second backlight level may be adjacent backlight levels, or may also be non-adjacent backlight levels (i.e., other backlight levels at an intermediate interval), which may be specifically determined according to actual use requirements, and this embodiment of the present application is not limited.
It will be appreciated that in the backlight adjustment process, in order to smooth the screen brightness variation (i.e., smooth the backlight adjustment), the first backlight level is not normally adjusted to the second backlight level directly, but is adjusted to the second backlight level by a plurality of screen brightness adjustments (at least one intermediate screen brightness is added between the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level).
Optionally, when the default gamma parameter sets corresponding to different backlight levels are different, the terminal device may determine, according to a relationship between the first screen brightness and the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level, that the default gamma parameter set is the default gamma parameter set corresponding to the first backlight level, or that the default gamma parameter set is the default gamma parameter set corresponding to the second backlight level. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Exemplarily, if the absolute value of the difference between the first screen brightness and the screen brightness corresponding to the first backlight level is less than or equal to the absolute value of the difference between the first screen brightness and the screen brightness corresponding to the second backlight level, determining the set of default gamma parameters to be the set of default gamma parameters corresponding to the first backlight level; if the absolute value of the difference between the first screen brightness and the screen brightness corresponding to the first backlight level is greater than the absolute value of the difference between the first screen brightness and the screen brightness corresponding to the second backlight level, determining that the default gamma parameter set is the default gamma parameter set corresponding to the second backlight level.
Optionally, in this embodiment of the present application, the default gamma parameter set may be modified based on the first screen brightness and other parameters to obtain a target gamma parameter set, or the gamma parameter set corresponding to the first screen brightness may be matched from a plurality of preset gamma parameter sets based on the first screen brightness to serve as the target gamma parameter set, or the gamma parameter set corresponding to the first screen brightness may be calculated based on the first screen brightness and the plurality of preset gamma parameter sets to serve as the target gamma parameter set, or the default gamma parameter set may be modified by another method based on the first screen brightness to obtain the target gamma parameter set, which is not limited in this embodiment of the present application.
202. And after the ith backlight adjustment, the terminal equipment displays a screen picture based on the target gamma parameter set.
It can be understood that, in the process of the ith backlight adjustment, the terminal device modifies the default gamma parameter set into the target gamma parameter set, and after the ith backlight adjustment and before the screen picture is displayed, the terminal device processes each frame of screen picture through the parameters in the target gamma parameter set and then displays the each frame of screen picture.
Exemplarily, in the backlight adjustment process based on fig. 1, after the terminal device modifies the parameters (default Gamma parameter set) of the Gamma module through the PQ module and updates the modified parameters to the target Gamma parameter set in the ith backlight adjustment process, before displaying the screen picture, the terminal device displays each frame of screen picture after processing the screen picture through the respective modules under the PQ module.
Optionally, in the embodiment of the present application, in the process of backlight adjustment, the terminal device may obtain, in advance, a target gamma parameter set corresponding to each backlight adjustment before adjusting the screen brightness, and then update the default gamma parameter set to the target gamma parameter set (obtained in advance and corresponding to the backlight adjustment) during each backlight adjustment; or when backlight adjustment is performed each time, acquiring a target gamma parameter set corresponding to the backlight adjustment, and then updating the default gamma parameter set to the target gamma parameter set; the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, the foregoing steps 201 to 202 may be performed in each backlight adjustment of a plurality of backlight adjustments for adjusting the backlight level from the first backlight level to the second backlight level; the steps 201 to 202 may also be performed in some backlight adjustments of the plurality of backlight adjustments, and the steps 201 to 202 are not performed in other backlight adjustments of the plurality of backlight adjustments; the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, the gamma parameter set is corrected in the backlight adjustment process, and then the screen picture is displayed based on the corrected gamma parameter set, so that the problem of color difference in display of the screen picture caused by the gamma parameter set can be solved in the backlight adjustment process, and the change of the screen brightness is smoother by improving the color accuracy of the screen picture.
Alternatively, the step 201 may be specifically realized by the following step 201 a.
201a, the terminal device modifies the default gamma parameter set based on the first screen brightness, the second screen brightness and the screen gamma value to obtain a target gamma parameter set.
The second screen brightness is the screen brightness corresponding to the first backlight level, or the second screen brightness is the screen brightness corresponding to the second backlight level.
In an alternative implementation, in the case that the default gamma parameter set corresponds to the first backlight level (i.e. the default gamma parameter set is the default gamma parameter corresponding to the first backlight level), the second screen brightness is the screen brightness corresponding to the first backlight level; in another alternative implementation, in a case that the default gamma parameter set corresponds to the second backlight level (i.e., the default gamma parameter set is the default gamma parameter corresponding to the second backlight level), the second screen brightness is the screen brightness corresponding to the second backlight level; in another alternative implementation, in a case that the default gamma parameter set corresponds to the first backlight level, the second screen brightness is a screen brightness corresponding to the second backlight level; in another alternative implementation manner, under the condition that the default gamma parameter set corresponds to the second backlight level, the second screen brightness is the screen brightness corresponding to the first backlight level; the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, a scheme for correcting the default gamma parameter set based on the first screen brightness, the second screen brightness and the screen gamma value is provided, and based on the first screen brightness, the second screen brightness and the screen gamma value, the target gamma parameter set can be closer to reality, and the problem of color difference in display of a screen picture can be better solved.
Optionally, if the default gamma parameter set corresponds to the first backlight level, the second screen brightness is the screen brightness corresponding to the first backlight level; the step 201a can be specifically realized by the following step 201a 1.
201a1, the terminal device calculates a target gamma parameter set based on the first screen brightness, the second screen brightness, the screen gamma value, the default gamma parameter set, the first formula and the second formula.
Wherein the first formula is G = (2) k -1)×(B/A) 1/γ The second formula is L i =L 0 ×(G-1)/G 0 G is the maximum parameter in the target gamma parameter set, k is the bit number of each parameter, k is a positive integer, A is the second screen brightness, B is the first screen brightness, gamma is the screen gamma value, G 0 Is a disease ofIdentifying the maximum parameter, L, in the set of gamma parameters 0 Is a first gamma parameter, L i Is the second gamma parameter.
It is understood that γ is determined by the physical characteristics of the screen, and γ may be the same or different for different types of screens, and the embodiments of the present application are not limited thereto.
Illustratively, γ may be 2.2.
It should be noted that, during the image processing, the Gamma parameter (Gamma module) in the Gamma parameter set is used to modify the Gamma of the display content (screen picture) of the screen, and the screen itself also has a Gamma characteristic (i.e. the Gamma value, γ of the screen). The final optical image (screen) viewed by human eyes is determined by the Gamma parameters (Gamma module) and Gamma in the Gamma parameter set. In the embodiment of the application, the screen gamma value participates in the calculation in the process of correcting the gamma parameters in the gamma parameter set. The gamma parameter corresponding to a frame of screen is determined by the gray level of the frame of screen, for example, if the gray level of the frame of screen is 255, it corresponds to the 512 th gamma parameter in the gamma parameter set (the gamma parameter set includes 512 parameters), and if the gray level of the frame of screen is 127, it corresponds to the 256 th gamma parameter in the gamma parameter set.
Optionally, in this embodiment, after the default gamma parameter set is modified according to the step 201a1, each parameter in the modified default gamma parameter set may be multiplied by a modification coefficient to obtain a final target gamma parameter set. Wherein, the correction coefficient of each parameter can be the same or different; the correction coefficient can be obtained through a plurality of tests and is within an allowable range; the correction coefficient may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.
The embodiment of the application provides a scheme for obtaining a target gamma parameter set by calculation based on first screen brightness, second screen brightness, a screen gamma value, a default gamma parameter set, a first formula and a second formula, so that the target gamma parameter set is closer to reality, and the problem of color difference in display of screen pictures can be better solved.
It should be noted that, in the embodiment of the present application, the default gamma parameter set may also be corrected based on the first screen brightness, the second screen brightness, and the screen gamma value by using other methods, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.
Alternatively, the step 201 may be specifically realized by the following step 201 b.
201b, the terminal device determines a preset gamma parameter set matched with the first screen brightness from the plurality of preset gamma parameter sets as a target gamma parameter set.
Optionally, the preset gamma parameter sets may be obtained through experiments, or may be obtained through calculation (which may be obtained through calculation before the terminal device leaves a factory, or obtained through calculation in a previous backlight adjustment process, and then stored), and the embodiment of the present application is not limited.
It can be understood that, in the embodiment of the present application, the preset gamma parameter sets corresponding to different screen brightness in the backlight level adjustment process are set in advance, and then, in the backlight level adjustment process, the preset gamma parameter set corresponding to the first screen brightness may be matched from the multiple preset gamma parameter sets to serve as the target gamma parameter set.
In the embodiment of the application, the scheme that the preset gamma parameter set corresponding to the first screen brightness is matched from the plurality of preset gamma parameter sets and serves as the target gamma parameter set is provided, the calculation amount can be reduced, and the efficiency of obtaining the target gamma parameter set is improved.
Optionally, each Gamma parameter set may include three sets of Gamma parameters, one for each of the three primary color components (for example, the Gamma module may also include three channels, each of which includes 2 channels t K bits of integer, each channel being a channel corresponding to one of the three primary color components, i.e. one channel for each set of gamma parameters); may also include a set of Gamma parameters corresponding to the luminance component (e.g., the Gamma module may also be said to include a channel, one channelThe track comprises 2 t The one channel is a channel corresponding to the luminance component, that is, the one set of gamma parameters corresponds to the one channel), which may be determined according to actual usage requirements, and the embodiment of the present application is not limited.
Optionally, each set of gamma parameters comprises three sets of gamma parameters, each set comprising 2 t Each group of gamma parameters is a gamma parameter corresponding to one primary color component in the three primary color components; wherein t is more than or equal to 0 and less than or equal to k.
It should be noted that, at present, when recording the color of a digital image, it is actually expressed by the bit depth (bit for short) required by each pixel, that is, the depth of the image is used to express the number of bits used for storing each pixel, and is also used to measure the color resolution of the image. The image depth determines the number of possible colors per pixel of a color image or the number of possible gray levels per pixel of a gray scale image. It determines the maximum number of colors that can be present in a color image, or the maximum gray level in a gray scale image. For example, a monochrome image, if each pixel has 8 bits (bit), the maximum number of gray levels is 2 to the power of 8, i.e., 256. The pixel bit numbers of the components of R, G, and B3 of a color image are 4,4,2, respectively, and the maximum color number is 4+2=10 powers of 2, i.e. 1024, that is, the depth of the pixel is 10 bits, and each pixel may be one of 1024 colors. Therefore, the component values of the image, the luminance values of the image, and the like in the embodiment of the present invention are dimensionless.
It can be understood that what color a pixel represents is determined by the three primary color components. For example, one pixel includes three sub-pixels of red (R), green (G) and blue (B), and the three primary color components are R, G and B components. For another example, if a pixel includes three sub-pixels of cyan (C), magenta (M), and yellow (Y), the three primary color components may be C component, M component, and Y component. In the embodiment of the present application, the three primary color components may be R, G, and B components or C, M, and Y components, and may be other color components. In the following embodiments, the three primary color components are exemplified as the R component, the G component, and the B component.
Example 1, t is 9, k is 10, i.e. each channel comprises an integer of 512 10 bits. As shown in fig. 3, one of the three sets of gamma parameters in the default gamma parameter set corresponding to the first backlight level is the same, and the gamma parameters in each set are even numbers from 0 to 1022.
It should be noted that, in practice, the parameters in the three sets of gamma parameters may be the same or different; the gamma parameter in each set may be an even number from 0 to 1022, an odd number from 1 to 1023, or other integers (e.g., a fraction of the odd number and a fraction of the even number); the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Example 2, following the above example 1, to make the backlight adjustment smoother and improve the problem of color quality degradation after backlight adjustment, we need one backlight Level (Level) for multiple luminances. Assuming that the brightness of a full white picture (8 bits corresponding to 255 and 10 bits corresponding to 1023) at a certain backlight level is a and the gamma value of the screen is γ, any other brightness B can be obtained by modifying the parameters in the default gamma parameter set, first obtaining the maximum parameter G in the target gamma parameter set, and then calculating other parameters in the target gamma parameter set, wherein the calculation formula is as follows:
(G/1023) γ ×A=B
G=1023×(B/A) (1/γ)
L i =L 0 ×(G-1)/G 0
for example, at the maximum backlight level, the brightness of the full white picture 255 is 420, and assuming γ is 2.2, then the maximum parameter in the gamma parameter set corresponding to 75% brightness is G 1 =1023×(0.75) (1/2.2) =897, other parameters in the gamma parameter set may pass L 1 =L 0 ×(G 1 -1)/G 0 A set of gamma parameters in the gamma parameter set corresponding to the specific 75% brightness is obtained as shown in fig. 4.
Also for example, at maximum backlight levelWhen the brightness of the full-white frame 255 is 420, and γ is 2.2, the maximum parameter in the gamma parameter set corresponding to 50% of the brightness is G 2 =1023×(0.5) (1/2.2) =747, other parameters in the gamma parameter set may pass through L 2 =L 0 ×(G 1 -1)/G 0 A group of gamma parameters in the gamma parameter set corresponding to the specific 50% brightness is obtained as shown in fig. 5.
Example 3, following the above example 2, as shown in table 1, is the screen brightness and γ value corresponding to different gray levels and different gamma parameter sets under actual measurement. Wherein, # DIV/0! Represents that the denominator is 0 and is absent; # NUM! Indicating no meaning. The actual measurement and the theoretical calculation are well corresponded, the gamma is basically kept unchanged within an error allowable range and has small errors, and the target gamma parameter set obtained through calculation in the embodiment of the application is relatively fit with the reality and has high accuracy.
TABLE 1
Figure BDA0003152905710000111
In the embodiment of the application, in the backlight adjustment process, the screen brightness change can be very smooth, human eyes basically cannot perceive the jump of the screen brightness, and color jump (namely color difference and high color level) does not exist, because the R component, the G component and the B component are all in equal proportion change, and other superposition operations do not exist, the human eyes are very comfortable, especially under a dark environment, the human eyes are very sensitive, and the slight change can cause flicker and can be perceived by the human eyes. The scheme can ensure that the screen brightness is adjusted smoothly, and cannot cause color difference.
Optionally, each set of gamma parameters comprises a set of gamma parameters, a set of gamma parameters comprising 2 t K bits of integer, one group of gamma parameters are gamma parameters corresponding to the brightness component; wherein t is more than or equal to 0 and less than or equal to k.
It is understood that the luminance component may also be referred to as a gray value and the chrominance component includes a hue component and a saturation component. In the embodiment of the present invention, the color space composed of the luminance component and the chrominance component may be a YUV color space, a YCbCr color space, an HSI color space, an HSV color space, or the like.
In the following, a few commonly used color spaces comprising a luminance component and a chrominance component are briefly described.
YUV: where Y denotes the Luminance component (Luminance or Luma), i.e. the grey value, and U and V denote the Chrominance component (Chroma or Chroma). In YUV, the Y value is the luminance value.
YCbCr: is a scaled and shifted version of YUV. Wherein Y is consistent with Y meaning in YUV, and Cb and Cr refer to colors and are different only in representation method. Among YUV family, YCbCr is the most used member in computer systems, and its application field is wide, and JPEG and MPEG adopt this format. YUV is generally referred to as YCbCr. In YCbCr, the Y value is the luminance value.
HSI: reflecting the way in which the human visual system perceives color, color is perceived in three basic feature quantities, a hue component (H), a saturation component (S), and a brightness component (I). In HSI, the I value is the luminance value.
HSV: the method is a color space created according to the visual characteristics of colors, and the parameters are as follows: hue component (H), saturation component (S), value component (V). In HSV, the V component is a luminance component, and the V value is a luminance value.
In the embodiment of the present invention, an example is given in which a color space composed of a luminance component and a chrominance component is a YCbCr color space.
Illustratively, t is 9 and k is 10, i.e., a set of gamma parameters comprises an integer of 512 bits of 10 bits. Specifically, reference may be made to the related settings of the gamma parameter set including the three sets of gamma parameters, which are not described in detail in this embodiment of the present application.
In the embodiment of the application, only gamma parameters corresponding to brightness components exist in each gamma parameter set, and the default gamma parameter set is corrected, so that the brightness of a screen can be smoothly adjusted, and the problem of color difference of a screen picture can be solved.
In the embodiment of the present application, a plurality of gamma parameter sets are provided, so that different color spaces (for example, three primary color spaces, or luminance and chrominance color spaces, etc.) can be adapted, and for different color spaces, in the backlight level adjustment process, the problem of color difference in display of a screen picture is solved by modifying the default gamma parameter set. By the method provided by the embodiment of the present application, other types of gamma parameter sets can be corrected, and the embodiment of the present application is not limited.
Alternatively, in a case that each gamma parameter set includes a set of gamma parameters, and the set of gamma parameters is a gamma parameter corresponding to a luminance component, the step 202 may be specifically implemented by the following steps 202a to 202 c.
202a, after the ith backlight adjustment, the terminal device processes the brightness component of each pixel point in the screen picture based on the target gamma parameter set.
202b, the terminal device performs color compensation corresponding to the processed brightness component on the chrominance component of each pixel point.
It is understood that color compensation may also be referred to as color difference compensation, i.e., a method of compensating for color differences of an image.
202c, the terminal equipment displays a screen.
In the embodiment of the present application, color compensation is performed on Cb and Cr components of a YCbCr image as an example, and a method of color compensation may be any one of the prior art, which is not described herein again.
Illustratively, the chrominance components are color compensated according to the following formula:
K c =Y o /Y,Cb o =Kreg×K c ×Cb,Cr o =Kreg×K c ×Cr
wherein Y is the brightness component before being processed by the target Gamma parameter set (Gamma module), Y o Cb for the luminance component after processing based on a set of target Gamma parameters (Gamma block) o 、Cr o For the color compensated chrominance component, kreg is used to control the intensity of the color compensation, and the value range is generally [0,4 ]]The specific value is requiredAs the skilled person will be able to determine the actual situation.
It should be noted that: if the input image (to-be-displayed screen picture) is an image composed of three primary color spaces, the input image is converted from the three primary color spaces to luminance and chrominance color spaces before being processed by the gamma module, the luminance component is processed by the gamma module, and the chrominance component is subjected to color compensation, and then the processed image is converted from the luminance and chrominance color spaces to the three primary color spaces. If the input image itself is an image of a color space composed of luminance and chrominance, the input image does not need to be converted into the color space, and if the output image supports the luminance and chrominance color space, the processed Y is directly output o Cb o Cr o
In the embodiment of the application, on the premise that the brightness components of the pixels in the screen are adjusted through the target gamma parameter set, the color components are subjected to corresponding color compensation, so that the problem of color difference of the screen can be further improved.
Optionally, before the step 201, the screen display method provided in the embodiment of the present application may further include the following steps 203 and 204.
203. And the terminal equipment determines a backlight adjusting scheme according to the screen brightness corresponding to the first backlight grade and the screen brightness corresponding to the second backlight grade.
The backlight adjusting scheme is used for indicating the number of times of backlight adjustment in multiple backlight adjustments and the change rule of the screen brightness corresponding to each backlight adjustment, and the change rule is uniform change or exponential change.
The indication changes, the brightness changes slowly in the low-brightness area and quickly in the high-brightness area, so that the backlight adjusting device can better adapt to the characteristic that human eyes are sensitive in a dark environment, and the backlight adjustment is smoother.
Optionally, in this embodiment of the application, when a larger screen brightness (hereinafter referred to as brightness 1) of the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level is smaller than a brightness threshold or a smaller screen brightness (hereinafter referred to as brightness 2) is larger than the brightness threshold, the change rule may be determined to be a uniform change or an exponential change, and the backlight adjustment number and the screen brightness corresponding to each backlight adjustment may be determined according to the determined change rule; and when the brightness 1 is greater than the brightness threshold and the brightness 2 is less than the brightness threshold, determining the change rule as exponential change, and determining the backlight adjustment times and the screen brightness corresponding to each backlight adjustment according to the determined exponential change rule.
Optionally, in this embodiment of the application, when the luminance 1 is smaller than the luminance threshold, the change rule may also be determined as a uniform change, and the backlight adjustment times and the screen luminance corresponding to each backlight adjustment are determined according to the determined uniform change rule; when the brightness 2 is larger than the brightness threshold, determining the change rule as an exponential change, and determining the backlight adjustment times and the screen brightness corresponding to each backlight adjustment according to the determined exponential change rule; when the brightness 1 is larger than the brightness threshold value and the brightness 2 is smaller than the brightness threshold value, determining the change rule as exponential change, and determining the backlight adjustment times and the screen brightness corresponding to each backlight adjustment according to the determined exponential change rule.
It can be understood that, in the embodiment of the present application, other backlight adjustment schemes may also be determined according to the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level, which is not limited in the embodiment of the present application.
204. The terminal equipment determines the first screen brightness according to the backlight adjusting scheme.
In the adjusting process of the backlight grade, a plurality of specific changing processes (linear uniform changing or exponential changing) are added, transitional screen brightness is calculated firstly in each changing process, then parameters of a target gamma parameter set are calculated through the gamma characteristic (gamma value) of the screen and a default gamma module (mainly bit width of data, such as 10bit, for improving the adjusting and calculating precision) corresponding to the backlight grade, and the gamma module is synchronously updated, so that the backlight changing of the screen is smoother, and the problem of color difference of screen display can be solved.
Exemplarily, assuming that the screen brightness corresponding to the backlight level _1 is a _1, and the screen brightness corresponding to the backlight level _1-1 is a _2, in the process of adjusting the screen brightness from a _1 to a _2, in order to smooth the backlight adjustment, as shown in fig. 6, the method includes the following steps:
601. and the terminal equipment calculates the brightness difference d between the two adjacent backlight grades and determines that the brightness adjustment of the two adjacent backlight grades is completed through N times of backlight adjustment.
Where d is a positive number, N is an integer greater than 1, and the screen brightness is uniformly changed by i ÷ N, as exemplified by the change in screen brightness per backlight adjustment.
The terminal device obtains an initial backlight level and an initial screen brightness, that is, the corresponding backlight level _1 and the screen brightness a _1 are sent through a Display Driver Integrated Circuit (DDIC) of the Display screen. The terminal equipment acquires an initial default gamma parameter set as a default gamma parameter set corresponding to the backlight level _1, and the gamma parameter set is updated through a PQ module of the display screen.
602. The terminal device calculates the screen brightness corresponding to the ith backlight adjustment in the ith backlight adjustment of which the screen brightness is changed from A _1 to A _ 2.
Wherein i is a positive integer, i is 1,2, \8230;, N. The screen brightness corresponding to the i backlight adjustments is A _1-d × (i/N).
603. And the terminal equipment calculates to obtain a target gamma parameter set through a first formula and a second formula based on the screen brightness adjusted by the backlight at the ith time, the screen gamma value and a default gamma parameter set corresponding to the backlight level _ 1.
And the terminal equipment calculates the parameters of the target gamma parameter set according to the first formula and the second formula, wherein the parameters comprise three groups of gamma parameters corresponding to the R component, the G component and the B component.
604. And the terminal equipment updates the default gamma parameter set corresponding to the backlight level _1 into a target gamma parameter set.
It should be noted that, when the terminal device transitions from the backlight level _1 to an arbitrary level _ N, the above steps 601 to 604 need to be repeated.
605. And the terminal equipment judges whether the N-th backlight adjustment is finished or not.
If the terminal device determines that the nth backlight adjustment is not completed, the process returns to step 602, otherwise, the following step 606 is executed.
606. And the terminal equipment completes the adjustment of the backlight grade and updates the gamma parameter set into a default gamma parameter set corresponding to the adjusted backlight grade.
It can be understood that the terminal device adjusts the backlight level _1 to the backlight level _1-1, and updates the Gamma parameter set (i.e. the parameter of the Gamma module) to the default Gamma parameter set corresponding to the backlight level _ 1-1.
Fig. 7 is a block diagram of a screen display device according to an embodiment of the present application, and as shown in fig. 7, the screen display device includes: a correction module 701 and a display module 702; a correcting module 701, configured to correct the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, where the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight level from the first backlight level to the second backlight level, the default gamma parameter set corresponds to the first backlight level, or the default gamma parameter set corresponds to the second backlight level, and i is a positive integer; and a display module 702, configured to display a screen based on the target gamma parameter set obtained by the modification module 701 after the ith backlight adjustment.
Optionally, in this embodiment of the present application, the correcting module 701 may be the PQ module in fig. 1, for example, the correcting module 701 may be configured to determine an adjustment scheme for multiple backlight adjustments from the first backlight level to the second backlight level (for example, including determining the adjustment times of the multiple backlight adjustments and the screen brightness after each backlight adjustment), may also be configured to correct the default gamma parameter set to obtain a target gamma parameter set corresponding to the first screen brightness, and may also have other functions, which is not limited in this embodiment of the present application.
Optionally, the modification module 701 may be one or a combination of multiple modules of the PQ module in fig. 1, which can implement the above functions, and this embodiment of the present invention is not limited thereto. For example, the modification module 701 may be a module of the PQ module, which configures and updates parameters for the Gamma module.
Optionally, the display module 702 may be a combination of the PQ module and the display panel in fig. 1, or a combination of one module (or multiple modules) in the PQ module and the display panel (for example, a combination of a Gamma module and the display panel), which may be determined specifically according to actual use requirements, and the embodiment of the present application is not limited.
Optionally, in this embodiment of the application, the modification module 701 and the display module 702 may also correspond to other functional modules or units in a hardware platform system that implements backlight smoothing, which is not limited in this embodiment of the application.
Optionally, the correcting module 701 is specifically configured to correct the default gamma parameter set based on the first screen brightness, the second screen brightness, and the screen gamma value, so as to obtain a target gamma parameter set; the second screen brightness is the screen brightness corresponding to the first backlight level, or the second screen brightness is the screen brightness corresponding to the second backlight level.
Optionally, the default gamma parameter set corresponds to a first backlight level, and the second screen brightness is the screen brightness corresponding to the first backlight level; the correction module 701 is specifically configured to calculate a target gamma parameter set based on the first screen brightness, the second screen brightness, the screen gamma value, the default gamma parameter set, the first formula and the second formula; wherein the first formula is G = (2) k -1)×(B/A) 1/γ The second formula is L i =L 0 ×(G-1)/G 0 G is the maximum parameter in the target gamma parameter set, k is the bit number of each parameter, k is a positive integer, A is the second screen brightness, B is the first screen brightness, gamma is the screen gamma value, G 0 Is the largest parameter in the default gamma parameter set, L 0 Is a first gamma parameter, L i Is the second gamma parameter.
Optionally, the modifying module 701 is specifically configured to determine, as the target gamma parameter set, a preset gamma parameter set that matches the first screen brightness, from among the multiple preset gamma parameter sets.
Optionally, each set of gamma parameters comprises three sets of gamma parameters, each set comprising 2 gamma parameters t Each group of gamma parameters is a gamma parameter corresponding to one primary color component in the three primary color components; alternatively, each set of gamma parameters comprises a set of gamma parameters, a set of gamma parameters comprising 2 t K bits of integer, one group of gamma parameters are gamma parameters corresponding to the brightness component; wherein t is more than or equal to 0 and less than or equal to k.
Optionally, in a case that each gamma parameter set includes a set of gamma parameters, the display module 702 is specifically configured to, after the ith backlight adjustment, process the luminance component of each pixel point in the screen image based on the target gamma parameter set; carrying out color compensation corresponding to the processed brightness component on the chrominance component of each pixel point; and displaying the screen picture.
Optionally, the screen display device includes: a determination module; the determining module is configured to determine the backlight adjusting scheme according to the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level before the correcting module 701 corrects the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness; determining a first screen brightness according to a backlight adjusting scheme; the backlight adjusting scheme is used for indicating the number of times of backlight adjustment in multiple backlight adjustments and the change rule of the screen brightness corresponding to each backlight adjustment, and the change rule is uniform change or exponential change.
For example, the determining module may be the CCORR module in fig. 1, or may be a combination of the CCORR module and other modules, and the embodiment of the present application is not limited.
In the embodiment of the present application, each module may implement the screen image display method provided in the above method embodiment, and may achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Fig. 8 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present application, as shown in fig. 8, the terminal device includes, but is not limited to: a Radio Frequency (RF) circuit 801, a memory 802, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a wireless fidelity (WiFi) module 807, a processor 808, a power supply 809, and a camera 810. The rf circuit 801 includes a receiver 8011 and a transmitter 8012. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 801 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the downlink information to the processor 808; in addition, data for designing uplink is transmitted to the base station. In general, the RF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), etc.
The memory 802 may be used to store software programs and modules, and the processor 808 may execute various functional applications of the terminal device and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 803 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 803 may include a touch panel 8031 and other input devices 8032. The touch panel 8031, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 8031 (e.g., operations of the user on or near the touch panel 8031 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 8031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 808, and can receive and execute commands sent from the processor 808. In addition, the touch panel 8031 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8031, the input unit 803 may include other input devices 8032. In particular, other input devices 8032 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 804 may include a display panel 8041, and optionally, the display panel 8041 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 8031 can cover the display panel 8041, and when the touch panel 8031 detects a touch operation on or near the touch panel 8031, the touch operation can be transmitted to the processor 808 to determine a touch event, and then the processor 808 can provide a corresponding visual output on the display panel 8041 according to the touch event. Although in fig. 8, the touch panel 8031 and the display panel 8041 are implemented as two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8031 and the display panel 8041 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 8041 according to the brightness of ambient light, and a proximity sensor that may exit the display panel 8041 and/or backlight when the terminal device moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a geomagnetic sensor, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal device, further description is omitted here. In the embodiment of the present application, the terminal device may include an acceleration sensor, a depth sensor, a distance sensor, or the like.
Audio circuitry 806, speaker 8061, microphone 8062 may provide an audio interface between the user and the terminal device. The audio circuit 806 can transmit the electrical signal converted from the received audio data to the speaker 8061, and convert the electrical signal into an audio signal by the speaker 8061 for outputting; on the other hand, the microphone 8062 converts the collected sound signal into an electric signal, which is received by the audio circuit 806 and converted into audio data, which is then processed by the audio data output processor 808, and then sent to another terminal device via the RF circuit 801, or outputs the audio data to the memory 802 for further processing.
WiFi belongs to short distance wireless transmission technology, and the terminal device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 807, which provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 807, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the terminal device. Alternatively, processor 808 may include one or more processing units; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 808. In an embodiment of the present application, the processor 808 may comprise a hardware platform system that implements backlight smoothing.
The terminal device also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 808 via a power management system to manage charging, discharging, and power consumption via the power management system. Although not shown, the terminal device may further include a bluetooth module or the like, which is not described in detail herein.
In this embodiment, the processor 808 is configured to modify the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, where the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight level from the first backlight level to the second backlight level, the default gamma parameter set corresponds to the first backlight level, or the default gamma parameter set corresponds to the second backlight level, and i is a positive integer; and is further configured to control the display unit 804 to display the screen picture based on the target gamma parameter set after the ith backlight adjustment.
Optionally, the processor 808 is specifically configured to modify the default gamma parameter set based on the first screen brightness, the second screen brightness, and the screen gamma value, so as to obtain a target gamma parameter set; the second screen brightness is the screen brightness corresponding to the first backlight level, or the second screen brightness is the screen brightness corresponding to the second backlight level.
Optionally, the default gamma parameter set corresponds to a first backlight level, and the second screen brightness is the screen brightness corresponding to the first backlight level; a processor 808, specifically configured to calculate a target gamma parameter set based on the first screen brightness, the second screen brightness, the screen gamma value, the default gamma parameter set, the first formula and the second formula; wherein the first formula is G = (2) k -1)×(B/A) 1/γ The second formula is L i =L 0 ×(G-1)/G 0 G is the maximum parameter in the target gamma parameter set, k is the bit number of each parameter, k is a positive integer, A is the second screen brightness, B is the first screen brightness, gamma is the screen gamma value, G is the maximum value of the gamma parameter set, and 0 is the largest parameter in the default gamma parameter set, L 0 Is a first gamma parameter, L i Is the second gamma parameter.
Optionally, the processor 808 is specifically configured to determine, as the target gamma parameter set, a preset gamma parameter set that matches the first screen brightness from among the plurality of preset gamma parameter sets.
Optionally, each set of gamma parameters comprises three sets of gamma parameters, each set comprising 2 gamma parameters t Each group of gamma parameters is a gamma parameter corresponding to one primary color component in the three primary color components; alternatively, each set of gamma parameters comprises a set of gamma parameters, a set of gamma parameters comprising 2 t K bits of integer, one group of gamma parameters are gamma parameters corresponding to the brightness component; wherein t is more than or equal to 0 and less than or equal to k.
Optionally, in a case that each gamma parameter set includes a set of gamma parameters, the processor 808 is specifically configured to process, after the ith backlight adjustment, a luminance component of each pixel point in the screen image based on the target gamma parameter set; carrying out color compensation corresponding to the processed brightness component on the chrominance component of each pixel point; the display unit 804 is controlled to display a screen.
Optionally, the processor 808 is further configured to determine a backlight adjusting scheme according to the screen brightness corresponding to the first backlight level and the screen brightness corresponding to the second backlight level before modifying the default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness; determining a first screen brightness according to a backlight adjusting scheme; the backlight adjusting scheme is used for indicating the number of times of backlight adjustment in multiple backlight adjustments and the change rule of the screen brightness corresponding to each backlight adjustment, and the change rule is uniform change or exponential change.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the foregoing screen image display method embodiment, and in order to avoid repetition, details are not described here again.
An embodiment of the present application further provides a terminal device, where the terminal device may include: the processor, the memory and the program or the instruction stored in the memory and capable of running on the processor, when the program or the instruction is executed by the processor, each process of the screen image display method provided by the above method embodiments can be implemented, and the same technical effect can be achieved.
Embodiments of the present application provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the screen image display method provided in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present application further provides a computer program product, where the computer program product includes a computer instruction, and when the computer program product runs on a processor, the processor executes the computer instruction, so as to implement each process of the screen image display method provided in the foregoing method embodiment, and achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the screen display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, server and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for displaying a screen, the method comprising:
modifying a default gamma parameter set based on first screen brightness after an ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, wherein the ith backlight adjustment is any one of a plurality of backlight adjustments for adjusting a backlight grade from a first backlight grade to a second backlight grade, the default gamma parameter set corresponds to the first backlight grade, or the default gamma parameter set corresponds to the second backlight grade, and i is a positive integer;
and after the ith backlight adjustment, displaying screen pictures based on the target gamma parameter set.
2. The method of claim 1, wherein modifying a default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness comprises:
modifying the default gamma parameter set based on the first screen brightness, the second screen brightness and the screen gamma value to obtain the target gamma parameter set;
and the second screen brightness is the screen brightness corresponding to the first backlight level, or the second screen brightness is the screen brightness corresponding to the second backlight level.
3. The method of claim 2, wherein the default gamma parameter set corresponds to the first backlight level, and the second screen brightness is a screen brightness corresponding to the first backlight level; modifying the default gamma parameter set based on the first screen brightness, the second screen brightness and the screen gamma value to obtain the target gamma parameter set, including:
calculating to obtain the target gamma parameter set based on the first screen brightness, the second screen brightness, the screen gamma value, the default gamma parameter set, a first formula and a second formula;
wherein the first formula is G = (2) k -1)×(B/A) The second formula is L i =L 0 ×(G-1)/G 0 G is the maximum parameter in the target gamma parameter set, k is the bit number of each parameter, k is a positive integer, A is the second screen brightness, B is the first screen brightness, gamma is the screen gamma value, G is the maximum value of the target gamma parameter set, k is the bit number of each parameter, k is a positive integer, A is the second screen brightness, B is the first screen brightness, gamma is the screen gamma value, and 0 is the largest parameter, L, of the default set of gamma parameters 0 Is the first gamma parameter, L i Is the second gamma parameter.
4. The method of claim 1, wherein modifying a default gamma parameter set based on the first screen brightness after the ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness comprises:
and determining a preset gamma parameter set matched with the first screen brightness as the target gamma parameter set from a plurality of preset gamma parameter sets.
5. The method of any one of claims 1 to 4, wherein each set of gamma parameters comprises three sets of gamma parameters, each set comprising 2 t Each group of gamma parameters is a gamma parameter corresponding to one primary color component in the three primary color components;
alternatively, the first and second electrodes may be,
each set of gamma parameters comprises a set of gamma parameters comprising 2 t K bits of integer, the set of gamma parameters being gamma parameters corresponding to the luminance component;
wherein t is more than or equal to 0 and less than or equal to k.
6. The method of claim 5, wherein in the case that each gamma parameter set comprises a set of gamma parameters, displaying the screen picture based on the target gamma parameter set after the ith backlight adjustment comprises:
processing the brightness component of each pixel point in the screen picture based on the target gamma parameter set;
carrying out color compensation corresponding to the processed brightness component on the chrominance component of each pixel point;
and displaying the screen picture.
7. The method of any of claims 1-4, further comprising, prior to modifying a default gamma parameter set based on an ith backlight adjusted first screen brightness to obtain a target gamma parameter set corresponding to the first screen brightness:
determining a backlight adjusting scheme according to the screen brightness corresponding to the first backlight grade and the screen brightness corresponding to the second backlight grade;
determining the first screen brightness according to the backlight adjusting scheme;
the backlight adjusting scheme is used for indicating the number of times of backlight adjustment in the backlight adjustment and the change rule of the screen brightness corresponding to each backlight adjustment, and the change rule is uniform change or exponential change.
8. A screen display apparatus, comprising: the device comprises a correction module and a display module;
the correction module is used for correcting a default gamma parameter set based on first screen brightness after ith backlight adjustment to obtain a target gamma parameter set corresponding to the first screen brightness, wherein the ith backlight adjustment is any one of multiple backlight adjustments for adjusting the backlight grade from a first backlight grade to a second backlight grade, the default gamma parameter set corresponds to the first backlight grade, or the default gamma parameter set corresponds to the second backlight grade, and i is a positive integer;
and the display module is used for displaying a screen picture based on the target gamma parameter set obtained by the correction module after the ith backlight adjustment.
9. A terminal device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen display method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the screen display method according to any one of claims 1 to 7.
CN202110768695.8A 2021-07-07 2021-07-07 Screen picture display method and device, terminal equipment and storage medium Pending CN115602127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110768695.8A CN115602127A (en) 2021-07-07 2021-07-07 Screen picture display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110768695.8A CN115602127A (en) 2021-07-07 2021-07-07 Screen picture display method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115602127A true CN115602127A (en) 2023-01-13

Family

ID=84840209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110768695.8A Pending CN115602127A (en) 2021-07-07 2021-07-07 Screen picture display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115602127A (en)

Similar Documents

Publication Publication Date Title
CN110602473B (en) White balance calibration method and device
EP3040967B1 (en) Color adjustment method and device
CN109238460B (en) Method for obtaining ambient light intensity and terminal equipment
CN108257581B (en) Light intensity detection device, mobile terminal and display screen brightness adjustment method
CN110021256B (en) Display brightness adjusting method and related product
CN108494974B (en) Display brightness adjusting method, mobile terminal and storage medium
CN110908765A (en) Interface display method and device, terminal equipment and storage medium
CN107038715B (en) Image processing method and device
CN107067842B (en) Color value adjusting method, mobile terminal and storage medium
US9691318B2 (en) Image display method and device and electronic apparatus
CN109032741B (en) Terminal screen brightness adjusting method, mobile terminal and storage medium
WO2007069478A1 (en) Image processing device and image display device
CN107958470A (en) A kind of color correcting method, mobile terminal
CN107705247B (en) Image saturation adjusting method, terminal and storage medium
CN112532958B (en) Image processing method, device, electronic equipment and readable storage medium
CN111491072A (en) Pixel clock frequency adjusting method and device and electronic equipment
CN111899695A (en) Backlight adjusting method, terminal device and readable storage medium
CN109729280B (en) Image processing method and mobile terminal
CN112199065A (en) Method and device for determining local display area compensation value, storage medium and terminal equipment
CN115602127A (en) Screen picture display method and device, terminal equipment and storage medium
CN112203022B (en) Electrochromic control method and device and computer readable storage medium
CN108735158B (en) Image display method and device and electronic equipment
CN110062244B (en) VoLTE video compensation method, terminal and readable storage medium
CN109639889B (en) Display control method, double-screen terminal and computer readable storage medium
CN112492450A (en) Sound parameter regulation and control method, equipment and computer readable storage medium

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