Summary of the invention
The technical issues that need to address of the present invention provide a kind of method of lcd screen demonstration and are used for the lcd screen device shown, are reaching in power saving, have kept the original brightness display effect of image.
In order to solve the problems of the technologies described above, the invention provides the method that a kind of LCD lcd screen shows, comprising:
In the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image is regulated, so that the backlight illumination that reduces is compensated, show the image after regulating then.
Further, said method specifically comprises:
Obtain nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value;
In the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, according to the backlight illumination rank of current environmental light brightness and current LCD display screen, the corresponding Gamma regulated value of inquiry in said nonlinear relationship;
According to said Gamma regulated value the Gamma value of current LCD display image is regulated, and show the image after regulating.
Further, the said nonlinear relationship of obtaining at different environment luminance brightness lower back light intensity levels and Gamma regulated value comprises:
Dividing environmental light brightness is M grade, and 1 grade the darkest, and the M level is the brightest; Dividing the backlight illumination rank is N grade, and 1 grade the darkest, and the N level is the brightest; Suppose the current environmental light brightness deepening, system regulates the backlight illumination rank that reduces LCD display, regulates the Gamma value, makes brightness of image reach preset backlight illumination rank, record Gamma value at this moment; Said M and N are the positive integer greater than zero;
Be recorded in respectively under 1 to the M level environmental light brightness; When the backlight illumination rank is 1 to N; Make brightness of image reach preset other Gamma value of backlight illumination level; As the Gamma regulated value, the M*N that obtains thus at different environment luminance brightness lower back light intensity levels and Gamma regulated value organizes nonlinear relationship with said Gamma value.
Further, said backlight illumination rank according to current environmental light brightness and current LCD display screen, the corresponding Gamma regulated value of inquiry in said nonlinear relationship comprises:
Obtain current environmental light brightness from ambient light sensor,, shine upon the corresponding value x of said current environmental light brightness, and obtain the backlight illumination rank y of current LCD display screen through the brightness section relation that pre-sets;
The Gamma regulated value Gamma that the value x of inquiry environmental light brightness correspondence and backlight illumination rank y are corresponding in said nonlinear relationship (x, y).
Further, saidly the Gamma value of current LCD display image is regulated, comprising according to said Gamma regulated value:
The Gamma value of said current LCD display screen entire image is replaced with said Gamma regulated value.
In order to solve the problems of the technologies described above, the present invention also provides a kind of LCD lcd screen device shown that is used for, and comprising:
Gamma value adjustment module; Be used in the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image regulated; Backlight illumination with to reduction compensates, and the image data transmission after will regulating is to display module;
Display module is used for after receiving said view data, being presented on the lcd screen.
Further, said device also comprises the parameter configuration module that links to each other with said Gamma value adjustment module, wherein:
Said parameter configuration module is used to obtain the nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value;
Said Gamma value adjustment module is used in the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image is regulated, and so that the backlight illumination that reduces is compensated, comprising:
Gamma value adjustment module; Be used in the current environmental light brightness deepening; When system regulates the backlight illumination rank that reduces LCD display; In said nonlinear relationship, inquire about corresponding Gamma regulated value according to the backlight illumination rank of current environmental light brightness and current LCD display screen, and the Gamma value of current LCD display image is regulated according to said Gamma regulated value.
Further, said parameter configuration module is used to obtain the nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value, comprising:
Dividing environmental light brightness is M grade, and 1 grade the darkest, and the M level is the brightest; Dividing the backlight illumination rank is N grade, and 1 grade the darkest, and the N level is the brightest; Suppose the current environmental light brightness deepening, system regulates the backlight illumination rank that reduces LCD display, regulates the Gamma value, makes brightness of image reach preset backlight illumination rank, record Gamma value at this moment; Said M and N are the positive integer greater than zero;
Be recorded in respectively under 1 to the M level environmental light brightness; When the backlight illumination rank is 1 to N; Make brightness of image reach preset other Gamma value of backlight illumination level; As the Gamma regulated value, the M*N that obtains thus at different environment luminance brightness lower back light intensity levels and Gamma regulated value organizes nonlinear relationship with said Gamma value.
Further, said device also comprises ambient light sensor and backlight illumination rank acquisition module, wherein:
Said ambient light sensor is used to obtain current environmental light brightness, through the brightness section relation that pre-sets, shines upon the corresponding value x of said current environmental light brightness;
Said backlight illumination rank acquisition module is used to obtain the backlight illumination rank y of current LCD display screen;
Said Gamma value adjustment module is used for inquiring about corresponding Gamma regulated value according to the backlight illumination rank of current environmental light brightness and current LCD display screen in said nonlinear relationship, comprising:
The Gamma regulated value Gamma that the value x of inquiry environmental light brightness correspondence and backlight illumination rank y are corresponding in said nonlinear relationship (x, y).
Further, said Gamma value adjustment module is used for according to said Gamma regulated value the Gamma value of current LCD display image being regulated, and comprising:
Gamma value in the said current LCD display screen entire image is replaced with said Gamma regulated value.
Compared with prior art; The method that lcd screen provided by the invention shows and be used for the lcd screen device shown; When system regulated reduction LCD display brightness automatically according to environmental light brightness, through regulating the Gamma value, the logical light quantity of control screen compensated the variation of brightness; In power saving, reached the visual effect of the image demonstration of customer requirements.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Embodiment:
Gamma comes from the response curve of cathode-ray tube CRT display/televisor, i.e. the nonlinear relationship of CRT monitor brightness and input voltage, and same raw frames, adjusting Gamma value is big more, and it is brighter then to export picture, but can lose certain color resolution.The adjusting of Gamma is embodied in the lcd screen, is exactly the control to the liquid crystal molecule phase state, and the Gamma value is big more, and then liquid crystal molecule is positioned at the logical big more position of light rate.When present embodiment is regulated the backlight illumination rank that reduces LCD display in system according to environmental light brightness automatically; Through regulating the Gamma value, the logical light quantity of control screen compensates the backlight illumination that reduces; Reach in power saving, keep the purpose of original display effect as far as possible.
As shown in Figure 1, present embodiment provides a kind of lcd screen device shown that is used for, and comprising:
Gamma value adjustment module; Be used in the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image regulated; Backlight illumination with to reduction compensates, and the image data transmission after will regulating is to display module;
Display module is used for after receiving said view data, being presented on the lcd screen.
In addition, this device also comprises the parameter configuration module that links to each other with said Gamma value adjustment module,
Wherein:
Said parameter configuration module is used to obtain the nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value;
As a kind of preferred mode, said parameter configuration module can be obtained the nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value like this:
Dividing environmental light brightness is M grade, and 1 grade the darkest, and the M level is the brightest; Dividing the backlight illumination rank is N grade, and 1 grade the darkest, and the N level is the brightest; Suppose the current environmental light brightness deepening, system regulates the backlight illumination rank that reduces LCD display, in order to keep preset image display brightness, regulates the Gamma value, makes brightness of image reach preset backlight illumination rank, writes down the Gamma value of this moment; Said M and N are the positive integer greater than zero;
Be recorded in respectively under 1 to the M level environmental light brightness; When the backlight illumination rank is 1 to N; Make brightness of image reach preset other Gamma value of backlight illumination level; As the Gamma regulated value, the M*N that obtains thus at different environment luminance brightness lower back light intensity levels and Gamma regulated value organizes nonlinear relationship with said Gamma value.
Consider power problems; In order to keep preset image display brightness; Be to say to experience to be provided with according to the user to want the backlight illumination that reaches, might not reach original image brightness, certainly; When specific needs, be to reach M*N group nonlinear relationship that original image brightness obtains at different environment luminance brightness lower back light intensity levels and Gamma regulated value.
Gamma value adjustment module; Be used in the current environmental light brightness deepening; When system regulates the backlight illumination rank that reduces LCD display; In said nonlinear relationship, inquire about corresponding Gamma regulated value according to the backlight illumination rank of current environmental light brightness and current LCD display screen, and the Gamma value of current LCD display image is regulated according to said Gamma regulated value.
In addition, said device also comprises ambient light sensor and backlight illumination rank acquisition module, wherein:
Said ambient light sensor is used to obtain current environmental light brightness, through the brightness section relation that pre-sets, shines upon the corresponding x value of said current environmental light brightness;
Said backlight illumination rank acquisition module is used to obtain the backlight illumination rank y of current LCD display screen;
Said Gamma value adjustment module is used for inquiring about corresponding Gamma regulated value according to the backlight illumination rank of current environmental light brightness and current LCD display screen in said nonlinear relationship, comprising:
The Gamma regulated value Gamma that the value x of inquiry environmental light brightness correspondence and backlight illumination rank y are corresponding in said nonlinear relationship (x, y).
Wherein, said Gamma value adjustment module replaces with said Gamma regulated value with the Gamma value in the said current LCD display screen entire image when the Gamma value of current LCD display image is regulated.
Method as shown in Figure 2, that present embodiment provides a kind of lcd screen to show may further comprise the steps:
S101: in the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image is regulated, so that the backlight illumination that reduces is compensated;
S102: show the image after regulating.
In step S101,, as shown in Figure 3 as a kind of preferred implementation; In the current environmental light brightness deepening; When system regulates the backlight illumination rank that reduces LCD display, the Gamma value of current LCD display image is regulated, specifically may further comprise the steps:
S1011: obtain nonlinear relationship at different environment luminance brightness lower back light intensity levels and Gamma regulated value;
S1012: in the current environmental light brightness deepening, when system regulates the backlight illumination rank that reduces LCD display, according to the backlight illumination rank of current environmental light brightness and current LCD display screen, the corresponding Gamma regulated value of inquiry in said nonlinear relationship;
S1013: according to said Gamma regulated value the Gamma value of current LCD display image is regulated, and show the image after regulating.
In step S1011, can obtain above-mentioned nonlinear relationship like this at different environment luminance brightness lower back light intensity levels and Gamma regulated value:
Dividing environmental light brightness is M grade, and 1 grade the darkest, and the M level is the brightest; Dividing the backlight illumination rank is N grade, and 1 grade the darkest, and the N level is the brightest; Suppose the current environmental light brightness deepening, system regulates the backlight illumination rank that reduces LCD display, regulates the Gamma value, makes brightness of image reach preset backlight illumination rank, record Gamma value at this moment; Said M and N are the positive integer greater than zero;
Be recorded in respectively under 1 to the M level environmental light brightness; When the backlight illumination rank is 1 to N; Make brightness of image reach preset other Gamma value of backlight illumination level; As the Gamma regulated value, the M*N that obtains thus at different environment luminance brightness lower back light intensity levels and Gamma regulated value organizes nonlinear relationship with said Gamma value.
As shown in Figure 4, specifically comprise:
The initial value of S201:M is 1, sets m=1;
S202: environmental light brightness is adjusted to m;
The initial value of S203:N is 1, sets n=1;
S204: and backlight illumination is adjusted to n;
S205: regulate the Gamma value, and compare as backlight illumination rank with reference to the display device of machine;
Wherein, this is provided with according to user's impression and visual effect as the backlight illumination with reference to the display device of machine in advance.
S206: with reference to the visual effect difference of machine whether less than predetermined threshold value, if, execution in step S207 then, otherwise return step S205;
S207: record Gamma value, and the n value adds 1;
Whether S208:n equals N+1, if, execution in step S209, otherwise go to step S204;
S209: the m value is added 1;
Whether S210:m equals M+1, if, process ends, otherwise go to step S202.
Thus, can obtain M*N group as shown in table 1 below is obtained backlight illumination rank and Gamma regulated value under the different environment luminance brightness nonlinear relationship.
N/M |
n=1 |
n=2 |
...... |
n=N |
m=1 |
γ
11 |
γ
12 |
...... |
γ
1N |
m=2 |
γ
21 |
γ
22 |
...... |
γ
2N |
... |
...... |
...... |
...... |
...... |
m=M |
γ
M1 |
γ
M2 |
...... |
γ
MN |
Table 1: the nonlinear relationship of under the different environment luminance brightness, obtaining backlight illumination rank and Gamma regulated value.
In step S1012, according to the backlight illumination rank of current environmental light brightness and current LCD display screen, the corresponding Gamma regulated value of inquiry in said nonlinear relationship specifically comprises:
At this device ambient light sensor has been installed, has been obtained current environmental light brightness,, shone upon the corresponding value x of said current environmental light brightness through the brightness section relation that pre-sets from ambient light sensor;
Mapping to brightness section is a Nonlinear Mapping; Be that the brightness value that environmental sensor obtains is divided according to brightness section, be mapped to corresponding value x, main cause there is no need to carry out ten minutes adjusting accurately when being actual realizations; Because such storage space and the time that will cost a lot of money is carried out the preparation of preset parameter; Such as: this interval corresponding mapping value of brightness 1-100 is 1, if the current environmental light brightness that environmental sensor obtains is the arbitrary value between 1-100, so all can be mapped to 1.
Obtain the backlight illumination rank y of current LCD display screen;
Then, from said nonlinear relationship (table 1), obtain the corresponding Gamma regulated value γ of environmental light brightness value m=x and backlight illumination rank n=y
M, n
In step S1013, according to said Gamma regulated value the Gamma value of current LCD display image is regulated, comprising:
The Gamma value of said current LCD display screen entire image is replaced with said Gamma regulated value.
In an applying examples, the above-mentioned nonlinear relationship of having obtained at different environment luminance brightness lower back light intensity levels and Gamma regulated value, promptly; Table 1 can be used as the configuration file of display device and implants in the display device; On this basis, display device will be regulated the Gamma value of image, thereby make the brightness of image reach the visual effect of customer requirements; Concrete display device is as shown in Figure 5, comprising:
Adjustment module links to each other with parameter configuration module, ambient light sensor and buffer zone respectively, wherein:
Parameter configuration module provides the configuration file in the nonlinear relationship of different environment luminance brightness lower back light intensity levels and Gamma regulated value;
Ambient light sensor obtains environmental light brightness, through the brightness section relation that pre-sets, shines upon the corresponding value x of this environmental light brightness;
System obtains the backlight illumination rank y of LCD display this moment;
Two frames that need mark off same capability in the display memory of display device cushion FBufferA and FBufferB, and adjustment module outputs to FBufferA after accomplishing the processing of a two field picture.Generally speaking, adjustment module can be synchronized to FBufferB after obtaining view data from FBufferA, and display device is obtained the display image line output of going forward side by side in the FBufferB.
Adjustment module is positioned at display driver; If the user enables the gamma of display device and regulates electricity-saving function, read parameter configuration module, obtain M*N group nonlinear correspondence relation; And obtain the backlight illumination rank y that environmental light brightness x and system are provided with from ambient light sensor; Obtain this environmental light brightness and the pairing Gamma regulated value of this rank backlight γ xy from parameter list, obtain view data, the Gamma value of entire image is replaced with γ xy from FBufferA; Data after the conversion are write FBufferB, and display device obtains view data from FBufferB, exports.
As shown in Figure 6, display device will be regulated the Gamma value of image, thereby it is following to make the brightness of image reach the flow process of visual effect of customer requirements:
S301: read parameter list;
S302: obtain the environmental light brightness value and convert x to through ambient light sensor;
S303: obtain settings y backlight from system;
S304: obtain this environmental light brightness and the pairing Gamma regulated value of this rank backlight γ
Xy
S305: obtain view data from FBufferA, the Gamma value of entire image is replaced with γ
Xy
S306: the data after the conversion are write FBufferB;
S307: display device is obtained view data from FBufferB, exports.
LCD display mainly is divided into two parts: liquid crystal panel and backlight.Because lcd screen belongs to passive luminous demonstration; Its illumination comes from the fluorescent tube or the led light source at screen rear, and the electric weight that backlight consumed accounts for the overwhelming majority of the whole electric quantity consumption of LCD; Therefore; It is the control to liquid crystal panel that Gamma regulates, and can not change the power consumption of liquid crystal panel itself, and Gamma adjusting itself is irrelevant with backlight.
Can find out from the foregoing description; With respect to prior art, the method that the lcd screen that provides in the foregoing description shows and be used for the lcd screen device shown is regulated when reducing the LCD display brightness according to environmental light brightness in system automatically; Through regulating the Gamma value; The logical light quantity of control screen compensates the variation of backlight illumination, in power saving, has reached the visual effect of the image demonstration of customer requirements.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuit to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is merely the preferred embodiments of the present invention, is not to be used to limit protection scope of the present invention.According to summary of the invention of the present invention; Also other various embodiments can be arranged; Under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art are when making various corresponding changes and distortion according to the present invention, and are all within spirit of the present invention and principle; Any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.