CN104902088A - Method and device for adjusting screen brightness of mobile terminal - Google Patents
Method and device for adjusting screen brightness of mobile terminal Download PDFInfo
- Publication number
- CN104902088A CN104902088A CN201510270116.1A CN201510270116A CN104902088A CN 104902088 A CN104902088 A CN 104902088A CN 201510270116 A CN201510270116 A CN 201510270116A CN 104902088 A CN104902088 A CN 104902088A
- Authority
- CN
- China
- Prior art keywords
- value
- initial
- pixels
- pixel
- adjustment
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000001143 conditioned effect Effects 0.000 claims description 26
- 238000005286 illumination Methods 0.000 claims description 15
- 238000013481 data capture Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004438 eyesight Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention is suitable for the technical field of mobile terminals, and provides a method and device for adjusting screen brightness of a mobile terminal. The method comprises the following steps: adjusting the backlight brightness of the mobile terminal to the minimum value while detecting that the current ambient light intensity is less than a first preset value; acquiring initial RGB data of all pixels to be displayed on a screen of the mobile terminal; converting the initial RGB data to initial YUV data, and adjusting an initial Y value in the initial YUV data to obtain the adjusted YUV data; converting the adjusted YUV data to adjusted RGB data, and outputting the adjusted RGB data. Under the condition that the ambient light intensity is less than the first preset value, the Y values in a YUV color space of all to-be-displayed pixels are reduced while the backlight brightness is adjusted to the minimum value; therefore, the screen brightness is further reduced through the reduction of the luminance of display data, and the gentle display is realized under the condition that the ambient light intensity is extremely low.
Description
Technical field
The invention belongs to technical field of mobile terminals, particularly relate to method and the device of mobile terminal adjustment screen intensity.
Background technology
A lot of user habit uses mobile terminal before sleeping at night, even in quilt, uses mobile terminal.Under this application scenarios, ambient light intensity is often very low, even if the backlight illumination of mobile terminal screen is transferred to minimum by user, also usually feels that screen is very dazzling.Particularly when user wake up midnight check mobile terminal, screen backlight often allows user can't keep one's eyes open, and bring strong impulse to the eyes of user, Consumer's Experience is poor.
Summary of the invention
Given this, embodiments provide method and the device of a kind of mobile terminal adjustment screen intensity, to solve existing mobile terminal when ambient light intensity is lower, screen backlight brightness stimulates larger problem to eyes of user.
On the one hand, embodiments provide the method for a kind of mobile terminal adjustment screen intensity, comprising:
When detecting that current ambient light intensity is less than the first preset value, the backlight illumination of described mobile terminal is adjusted to minimum;
Obtain the Initial R GB data of all pixels on the screen of described mobile terminal to be shown;
Described Initial R GB data are converted to initial yuv data, and adjust the Y value in described initial yuv data, obtain the yuv data after adjustment;
Yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
Second aspect, embodiments provides the device of a kind of mobile terminal adjustment screen intensity, comprising:
Backlight illumination adjustment unit, for when detecting that current ambient light intensity is less than the first preset value, is adjusted to minimum by the backlight illumination of described mobile terminal;
Initial R GB data capture unit, for obtaining the Initial R GB data of all pixels on the screen of described mobile terminal to be shown;
Adjustment unit, for described Initial R GB data are converted to initial yuv data, and adjusts the Y value in described initial yuv data, obtains the yuv data after adjustment;
Output unit, for the yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is when the current ambient light intensity detected is less than the first preset value; while the backlight illumination of mobile terminal is adjusted to minimum; reduce the Y value in the YUV color space of all pixels to be shown; lightness thus by reducing display data reduces screen intensity further; thus achieve soft display when ambient light intensity is very low, and then protection user eyesight.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the method for the mobile terminal adjustment screen intensity that the embodiment of the present invention provides;
Fig. 2 be the mobile terminal adjustment screen intensity that the embodiment of the present invention provides method step S103 described in adjust Y value in described initial yuv data, obtain the specific implementation flow chart of the yuv data after adjustment;
Fig. 3 is the realization flow figure of the method for the mobile terminal adjustment screen intensity that another embodiment of the present invention provides;
Fig. 4 be the embodiment of the present invention provide mobile terminal adjustment screen intensity method step S304 described according to the initial Y value in described initial yuv data, described all pixels are classified, obtain the specific implementation flow chart of at least one set of pixels;
Fig. 5 is the schematic diagram of pixel of left of pixel in the method for the mobile terminal adjustment screen intensity that the embodiment of the present invention provides directly over the pixel of Current Scan and this pixel, this pixel;
Fig. 6 is the structured flowchart of the device of the mobile terminal adjustment screen intensity that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the realization flow figure of the method for the mobile terminal adjustment screen intensity that the embodiment of the present invention provides, and details are as follows:
In step S101, when detecting that current ambient light intensity is less than the first preset value, the backlight illumination of described mobile terminal is adjusted to minimum.
It should be noted that, mobile terminal in the embodiment of the present invention can comprise mobile phone (or being called " honeycomb " phone) and have the computer of mobile terminal, such as, can be portable, pocket, hand-hold type, built-in computer or vehicle-mounted mobile device, they and wireless access network exchange language and/or data.Such as, Personal Communications Services (Personal Communication Service, PCS) phone, cordless telephone, Session initiation Protocol (Session Initiation Protocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistant (Personal Digital Assistant, the equipment such as PDA), in this no limit.
As one embodiment of the present of invention, when the screen of mobile terminal is in illuminating state, obtain ambient light intensity by ambient light sensor.When the ambient light intensity that ambient light sensor obtains is less than the first preset value, directly the backlight illumination of mobile terminal is adjusted to minimum.
In step s 102, the Initial R GB data of all pixels on the screen of described mobile terminal to be shown are obtained.
Rgb color pattern be by the change of red (R), green (G) and blue (B) three Color Channels and they mutually between superposition obtain color miscellaneous, each RGB data comprises R value, G value and B value.As one embodiment of the present of invention, rgb color pattern is 256 grades, and namely the span of the span of R value to be the span of 0 to 255, G value be 0 to 255, B value is 0 to 255.The corresponding Initial R GB data of each pixel on the screen of the mobile terminal to be shown, each Initial R GB data comprises Initial R-value, initial G value and initial B value.
In step s 103, described Initial R GB data are converted to initial yuv data, and adjust the initial Y value in described initial yuv data, obtain the yuv data after adjustment.
YUV is a kind of colour coding method.Each yuv data comprises Y value, U value and V value.Wherein, Y value represents lightness (Luminance), and U value and V value represent colourity and concentration (Chrominance) jointly.
Initial R GB data are converted to initial yuv data be specially:
Y
0=0.299×R
0+0.587×G
0+0.114×B
0;
U=-0.147×R
0-0.289G
0×+0.436×B
0=0.492×(B
0-Y
0);
V=0.615×R
0-0.515×G
0-0.100×B
0=0.877×(R
0-Y
0)。
Wherein, Y
0, U and V represent initial Y value, U value and V value in initial yuv data, R respectively
0, G
0and B
0represent the Initial R-value in Initial R GB data, initial G value and initial B value respectively.
In step S104, the yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
Yuv data after adjustment is converted to the RGB data after adjustment be specially:
R
1=Y
1+1.140×V;
G
1=Y
1-0.394×U-0.581×V;
B
1=Y
1+2.032×U。
Wherein, R
1, G
1and B
1represent the B value after the R value after the adjustment in the RGB data after adjustment, the G value after adjustment and adjustment respectively, Y
1represent the Y value after the adjustment in the yuv data after adjustment.It should be noted that, U value in yuv data after adjustment equals the U value in initial yuv data, V value in yuv data after adjustment equals the V value in initial yuv data, does not namely adjust the U value in initial yuv data and V value, to maintain the validity of color.
Adjust the Y value in described initial yuv data described in the method step S103 that Fig. 2 shows the mobile terminal adjustment screen intensity that the embodiment of the present invention provides, obtain the specific implementation flow chart of the yuv data after adjustment, with reference to Fig. 2:
In step s 201, the product of initial Y value in described initial yuv data and Y value regulation coefficient is calculated, the Y value after being adjusted;
In step S202, determine the yuv data after adjusting according to the U value in the Y value after described adjustment and described initial yuv data, V value.
Wherein, Y value regulation coefficient is greater than 0 and is less than 1.Y value after being adjusted by the product calculating initial Y value and Y value regulation coefficient, thus reduce the Y value in YUV color space, namely reduce the lightness of display data, to reduce the screen intensity of mobile terminal further.
Fig. 3 shows the realization flow figure of the method for the mobile terminal adjustment screen intensity that another embodiment of the present invention provides, with reference to Fig. 3:
In step S301, when detecting that current ambient light intensity is less than the first preset value, the backlight illumination of described mobile terminal is adjusted to minimum;
In step s 302, the Initial R GB data of all pixels on the screen of described mobile terminal to be shown are obtained;
In step S303, described Initial R GB data are converted to initial yuv data;
In step s 304, according to the initial Y value in described initial yuv data, described all pixels are classified, obtain at least one set of pixels;
In step S305, if a certain set of pixels at least one set of pixels described meets first pre-conditioned, then using the second preset value as Y value regulation coefficient corresponding to this set of pixels; If a certain set of pixels at least one set of pixels described meets second pre-conditioned, then using the 3rd preset value as Y value regulation coefficient corresponding to this set of pixels; If a certain set of pixels at least one set of pixels described neither meet described first pre-conditioned do not meet yet described second pre-conditioned, then using the 4th preset value as Y value regulation coefficient corresponding to this set of pixels, described 4th preset value is less than described second preset value and is greater than described 3rd preset value;
In step S306, according to the initial Y value in the described initial yuv data of Y value regulation coefficient adjustment, obtain the yuv data after adjustment;
In step S307, the yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
As one embodiment of the present of invention, the initial Y value according to each pixel is classified to all pixels, obtains at least one set of pixels, and each set of pixels comprises at least one pixel.In embodiments of the present invention, the 4th preset value is less than the second preset value and is greater than the 3rd preset value.Such as, the second preset value is 2 times of the 4th preset value, and the 3rd preset value is 1/2 times of the 4th preset value.Such as, the 4th preset value equals 0.25, and the second preset value equals 0.5, and the 3rd preset value equals 0.125.The embodiment of the present invention improves the contrast of display data by arranging different Y value regulation coefficient to different set of pixels, strengthen visual.
Preferably, described a certain set of pixels meets the average initial Y value that the first pre-conditioned average initial Y value referring to this set of pixels is greater than all set of pixels around this set of pixels, and described a certain set of pixels meets the average initial Y value that the second pre-conditioned average initial Y value referring to this set of pixels is less than all set of pixels around this set of pixels.
As one embodiment of the present of invention, if the average initial Y value of a certain set of pixels is greater than the average initial Y value of all set of pixels around this set of pixels, then judge that this set of pixels meets first pre-conditioned.If the average initial Y value of a certain set of pixels is less than the average initial Y value of all set of pixels around this set of pixels, then judge that this set of pixels meets second pre-conditioned.It should be noted that, suppose that the set of pixels around the first set of pixels comprises the second set of pixels, then have at least the pixel in a pixel and the first set of pixels adjacent in the second set of pixels.
According to the initial Y value in described initial yuv data, described all pixels are classified described in the method step S304 that Fig. 4 shows the mobile terminal adjustment screen intensity that the embodiment of the present invention provides, obtain the specific implementation flow chart of at least one set of pixels, with reference to Fig. 4:
In step S401, line by line scan according to order from left to right, from top to bottom, and judge whether the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value, if so, perform step S402; If not, step S403 is performed;
In step S402, the pixel of Current Scan is sorted out the set of pixels belonging to the pixel to this pixel;
In step S403, judge whether the difference of the initial Y value of the pixel of the initial Y value of the pixel of Current Scan and the left of this pixel is less than the 5th preset value, if so, perform step S404; If not, step S405 is performed;
In step s 404, by the pixel of Current Scan sort out to the left of this pixel pixel belonging to set of pixels;
In step S405, the pixel of Current Scan is sorted out to a new set of pixels.
As one embodiment of the present of invention, for all pixels on the screen of the mobile terminal to be shown, line by line scan according to order from left to right, from top to bottom, and one by one the pixel of Current Scan is sorted out.In embodiments of the present invention, preferentially judge whether the initial Y value of the pixel of Current Scan sorts out the set of pixels belonging to pixel to this pixel, if not, then judge whether the initial Y value of pixel of Current Scan sorts out the set of pixels belonging to pixel to the left of this pixel.Here, the 5th preset value can be 40, does not limit at this.
Fig. 5 shows the schematic diagram of pixel of left of pixel directly over the pixel of Current Scan in the method for the mobile terminal adjustment screen intensity that the embodiment of the present invention provides and this pixel, this pixel.With reference to Fig. 5, pixel A is the pixel of Current Scan, and pixel B is the pixel directly over this pixel, and pixel C is the pixel of the left of this pixel.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
The embodiment of the present invention is when the current ambient light intensity detected is less than the first preset value; while the backlight illumination of mobile terminal is adjusted to minimum; reduce the Y value in the YUV color space of all pixels to be shown; lightness thus by reducing display data reduces screen intensity further; thus achieve soft display when ambient light intensity is very low, and then protection user eyesight.
Fig. 6 shows the structured flowchart of the device of the mobile terminal adjustment screen intensity that the embodiment of the present invention provides, and this device may be used for the method for the mobile terminal adjustment screen intensity shown in service chart 1 to Fig. 4.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
With reference to Fig. 6, this device comprises:
Backlight illumination adjustment unit 61, for when detecting that current ambient light intensity is less than the first preset value, is adjusted to minimum by the backlight illumination of described mobile terminal;
Initial R GB data capture unit 62, for obtaining the Initial R GB data of all pixels on the screen of described mobile terminal to be shown;
Adjustment unit 63, for described Initial R GB data are converted to initial yuv data, and adjusts the initial Y value in described initial yuv data, obtains the yuv data after adjustment;
Output unit 64, for the yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
Preferably, described adjustment unit 63 comprises:
Y value adjustment subelement 631, for calculating the product of initial Y value in described initial yuv data and Y value regulation coefficient, the Y value after being adjusted;
Yuv data determination subelement 632 after adjustment, for determining the yuv data after adjusting according to the U value in the Y value after described adjustment and described initial yuv data, V value.
Preferably, described device also comprises taxon 65 and Y value regulation coefficient determining unit 66;
Described taxon 65, for classifying to described all pixels according to described initial Y value, obtains at least one set of pixels;
Y value regulation coefficient determining unit 66 comprises:
First Y value regulation coefficient determination subelement 661, if meet first pre-conditioned for a certain set of pixels at least one set of pixels described, then using the second preset value as Y value regulation coefficient corresponding to this set of pixels;
Second Y value regulation coefficient determination subelement 662, if meet second pre-conditioned for a certain set of pixels at least one set of pixels described, then using the 3rd preset value as Y value regulation coefficient corresponding to this set of pixels;
3rd Y value regulation coefficient determination subelement 663, if for a certain set of pixels at least one set of pixels described neither meet described first pre-conditioned do not meet yet described second pre-conditioned, then using the 4th preset value as Y value regulation coefficient corresponding to this set of pixels, described 4th preset value is less than described second preset value and is greater than described 3rd preset value.
Preferably, described a certain set of pixels meets the average initial Y value that the first pre-conditioned average initial Y value referring to this set of pixels is greater than all set of pixels around this set of pixels, and described a certain set of pixels meets the average initial Y value that the second pre-conditioned average initial Y value referring to this set of pixels is less than all set of pixels around this set of pixels.
Preferably, described taxon 65 specifically for:
Line by line scan according to order from left to right, from top to bottom, and judge whether the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value, then the pixel of Current Scan is sorted out the set of pixels belonging to pixel to this pixel;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is more than or equal to described 5th preset value, then judge whether the difference of the initial Y value of the pixel of the initial Y value of the pixel of Current Scan and the left of this pixel is less than the 5th preset value, if so, then by the pixel of Current Scan sort out to the left of this pixel pixel belonging to set of pixels.
The embodiment of the present invention is when the current ambient light intensity detected is less than the first preset value; while the backlight illumination of mobile terminal is adjusted to minimum; reduce the Y value in the YUV color space of all pixels to be shown; lightness thus by reducing display data reduces screen intensity further; thus achieve soft display when ambient light intensity is very low, and then protection user eyesight.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.
Claims (10)
1. a method for mobile terminal adjustment screen intensity, is characterized in that, comprising:
When detecting that current ambient light intensity is less than the first preset value, the backlight illumination of described mobile terminal is adjusted to minimum;
Obtain the Initial R GB data of all pixels on the screen of described mobile terminal to be shown;
Described Initial R GB data are converted to initial yuv data, and adjust the initial Y value in described initial yuv data, obtain the yuv data after adjustment;
Yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
2. the method for claim 1, is characterized in that, the Y value in the described initial yuv data of described adjustment, and the yuv data obtained after adjustment comprises:
Calculate the product of initial Y value in described initial yuv data and Y value regulation coefficient, the Y value after being adjusted;
The yuv data after adjusting is determined according to the U value in the Y value after described adjustment and described initial yuv data, V value.
3. the method for claim 1, is characterized in that, after described Initial R GB data are converted to initial yuv data, before adjusting the Y value in described initial yuv data, described method also comprises:
According to the initial Y value in described initial yuv data, described all pixels are classified, obtain at least one set of pixels;
If a certain set of pixels at least one set of pixels described meets first pre-conditioned, then using the second preset value as Y value regulation coefficient corresponding to this set of pixels;
If a certain set of pixels at least one set of pixels described meets second pre-conditioned, then using the 3rd preset value as Y value regulation coefficient corresponding to this set of pixels;
If a certain set of pixels at least one set of pixels described neither meet described first pre-conditioned do not meet yet described second pre-conditioned, then using the 4th preset value as Y value regulation coefficient corresponding to this set of pixels, described 4th preset value is less than described second preset value and is greater than described 3rd preset value.
4. method as claimed in claim 3, it is characterized in that, described a certain set of pixels meets the average initial Y value that the first pre-conditioned average initial Y value referring to this set of pixels is greater than all set of pixels around this set of pixels, and described a certain set of pixels meets the average initial Y value that the second pre-conditioned average initial Y value referring to this set of pixels is less than all set of pixels around this set of pixels.
5. the method as described in claim 3 or 4, is characterized in that, describedly classifies to described all pixels according to described initial Y value, obtains at least one set of pixels and comprises:
Line by line scan according to order from left to right, from top to bottom, and judge whether the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value, then the pixel of Current Scan is sorted out the set of pixels belonging to pixel to this pixel;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is more than or equal to described 5th preset value, then judge whether the difference of the initial Y value of the pixel of the initial Y value of the pixel of Current Scan and the left of this pixel is less than described 5th preset value, if so, then by the pixel of Current Scan sort out to the left of this pixel pixel belonging to set of pixels.
6. a device for mobile terminal adjustment screen intensity, is characterized in that, comprising:
Backlight illumination adjustment unit, for when detecting that current ambient light intensity is less than the first preset value, is adjusted to minimum by the backlight illumination of described mobile terminal;
Initial R GB data capture unit, for obtaining the Initial R GB data of all pixels on the screen of described mobile terminal to be shown;
Adjustment unit, for described Initial R GB data are converted to initial yuv data, and adjusts the initial Y value in described initial yuv data, obtains the yuv data after adjustment;
Output unit, for the yuv data after described adjustment is converted to the RGB data after adjustment, and exports the RGB data after described adjustment.
7. device as claimed in claim 6, it is characterized in that, described adjustment unit comprises:
Y value adjustment subelement, for calculating the product of initial Y value in described initial yuv data and Y value regulation coefficient, the Y value after being adjusted;
Yuv data determination subelement after adjustment, for determining the yuv data after adjusting according to the U value in the Y value after described adjustment and described initial yuv data, V value.
8. device as claimed in claim 6, it is characterized in that, described device also comprises taxon and Y value regulation coefficient determining unit;
Described taxon, for classifying to described all pixels according to the initial Y value in described initial yuv data, obtains at least one set of pixels;
Y value regulation coefficient determining unit comprises:
First Y value regulation coefficient determination subelement, if meet first pre-conditioned for a certain set of pixels at least one set of pixels described, then using the second preset value as Y value regulation coefficient corresponding to this set of pixels;
Second Y value regulation coefficient determination subelement, if meet second pre-conditioned for a certain set of pixels at least one set of pixels described, then using the 3rd preset value as Y value regulation coefficient corresponding to this set of pixels;
3rd Y value regulation coefficient determination subelement, if for a certain set of pixels at least one set of pixels described neither meet described first pre-conditioned do not meet yet described second pre-conditioned, then using the 4th preset value as Y value regulation coefficient corresponding to this set of pixels, described 4th preset value is less than described second preset value and is greater than described 3rd preset value.
9. device as claimed in claim 8, it is characterized in that, described a certain set of pixels meets the average initial Y value that the first pre-conditioned average initial Y value referring to this set of pixels is greater than all set of pixels around this set of pixels, and described a certain set of pixels meets the average initial Y value that the second pre-conditioned average initial Y value referring to this set of pixels is less than all set of pixels around this set of pixels.
10. as claimed in claim 8 or 9 device, is characterized in that, described taxon specifically for:
Line by line scan according to order from left to right, from top to bottom, and judge whether the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is less than the 5th preset value, then the pixel of Current Scan is sorted out the set of pixels belonging to pixel to this pixel;
If the difference of the initial Y value of the pixel directly over the initial Y value of the pixel of Current Scan and this pixel is more than or equal to described 5th preset value, then judge whether the difference of the initial Y value of the pixel of the initial Y value of the pixel of Current Scan and the left of this pixel is less than described 5th preset value, if so, then by the pixel of Current Scan sort out to the left of this pixel pixel belonging to set of pixels.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270116.1A CN104902088B (en) | 2015-05-25 | 2015-05-25 | Mobile terminal adjusts the method and device of screen intensity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270116.1A CN104902088B (en) | 2015-05-25 | 2015-05-25 | Mobile terminal adjusts the method and device of screen intensity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104902088A true CN104902088A (en) | 2015-09-09 |
CN104902088B CN104902088B (en) | 2017-09-29 |
Family
ID=54034479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510270116.1A Expired - Fee Related CN104902088B (en) | 2015-05-25 | 2015-05-25 | Mobile terminal adjusts the method and device of screen intensity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104902088B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201414A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN106448556A (en) * | 2016-12-20 | 2017-02-22 | 珠海市魅族科技有限公司 | Method of adjusting OLED screen display and device thereof |
CN106504723A (en) * | 2016-10-09 | 2017-03-15 | 北京金山安全软件有限公司 | Screen color adjusting method and device and electronic equipment |
CN106793046A (en) * | 2017-03-27 | 2017-05-31 | 维沃移动通信有限公司 | The adjusting method and mobile terminal of screen display |
CN108494974A (en) * | 2018-05-10 | 2018-09-04 | Oppo广东移动通信有限公司 | Adjusting method, mobile terminal and the storage medium of display brightness |
CN108510955A (en) * | 2018-04-23 | 2018-09-07 | Oppo广东移动通信有限公司 | Adjust the method and Related product of brightness of display screen |
CN108711402A (en) * | 2018-05-07 | 2018-10-26 | Oppo广东移动通信有限公司 | Brightness of display screen method of adjustment and Related product |
CN108735183A (en) * | 2018-05-07 | 2018-11-02 | Oppo广东移动通信有限公司 | Brightness of display screen method of adjustment and Related product |
CN109947230A (en) * | 2019-03-29 | 2019-06-28 | 广东小天才科技有限公司 | A kind of screen luminance adjustment method of terminal device, device and terminal device |
CN110730262A (en) * | 2019-10-30 | 2020-01-24 | 北京字节跳动网络技术有限公司 | Environment brightness value detection method and device and electronic equipment |
CN112261223A (en) * | 2020-10-20 | 2021-01-22 | 网易(杭州)网络有限公司 | Image rendering method, device and equipment and storage medium |
CN115116404A (en) * | 2021-03-22 | 2022-09-27 | 广州视源电子科技股份有限公司 | Color temperature and brightness calibration method, device, medium and interactive panel |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110157255A1 (en) * | 2009-12-30 | 2011-06-30 | Ching-Fu Hsu | System and method for modulating backlight |
CN102318337A (en) * | 2011-07-13 | 2012-01-11 | 华为终端有限公司 | Method, device and system for video signal processing |
CN102752604A (en) * | 2012-06-18 | 2012-10-24 | 深圳创维-Rgb电子有限公司 | Image display method and intelligent device |
CN103077696A (en) * | 2013-01-15 | 2013-05-01 | Opera软件股份公司 | Method and equipment for adjusting brightness of display screen and display system |
CN103179453A (en) * | 2011-12-26 | 2013-06-26 | 中国电信股份有限公司 | Method and system for providing content data to terminal |
CN103401970A (en) * | 2013-07-23 | 2013-11-20 | 广东欧珀移动通信有限公司 | Method and system for adjusting display screen backlight and mobile terminal |
CN103578435A (en) * | 2012-07-26 | 2014-02-12 | 国基电子(上海)有限公司 | Backlight adjusting method and electronic device with backlight adjusting function |
CN104640186A (en) * | 2015-03-17 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Method and device for reducing power consumption of mobile terminal |
-
2015
- 2015-05-25 CN CN201510270116.1A patent/CN104902088B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110157255A1 (en) * | 2009-12-30 | 2011-06-30 | Ching-Fu Hsu | System and method for modulating backlight |
CN102318337A (en) * | 2011-07-13 | 2012-01-11 | 华为终端有限公司 | Method, device and system for video signal processing |
CN103179453A (en) * | 2011-12-26 | 2013-06-26 | 中国电信股份有限公司 | Method and system for providing content data to terminal |
CN102752604A (en) * | 2012-06-18 | 2012-10-24 | 深圳创维-Rgb电子有限公司 | Image display method and intelligent device |
CN103578435A (en) * | 2012-07-26 | 2014-02-12 | 国基电子(上海)有限公司 | Backlight adjusting method and electronic device with backlight adjusting function |
CN103077696A (en) * | 2013-01-15 | 2013-05-01 | Opera软件股份公司 | Method and equipment for adjusting brightness of display screen and display system |
CN103401970A (en) * | 2013-07-23 | 2013-11-20 | 广东欧珀移动通信有限公司 | Method and system for adjusting display screen backlight and mobile terminal |
CN104640186A (en) * | 2015-03-17 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Method and device for reducing power consumption of mobile terminal |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201414A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN106201414B (en) * | 2016-06-28 | 2019-05-17 | Oppo广东移动通信有限公司 | Control method, control device and electronic device |
CN106504723B (en) * | 2016-10-09 | 2019-02-15 | 北京金山安全软件有限公司 | Screen color adjusting method and device and electronic equipment |
CN106504723A (en) * | 2016-10-09 | 2017-03-15 | 北京金山安全软件有限公司 | Screen color adjusting method and device and electronic equipment |
CN106448556A (en) * | 2016-12-20 | 2017-02-22 | 珠海市魅族科技有限公司 | Method of adjusting OLED screen display and device thereof |
CN106793046B (en) * | 2017-03-27 | 2020-06-09 | 维沃移动通信有限公司 | Screen display adjusting method and mobile terminal |
CN106793046A (en) * | 2017-03-27 | 2017-05-31 | 维沃移动通信有限公司 | The adjusting method and mobile terminal of screen display |
CN108510955A (en) * | 2018-04-23 | 2018-09-07 | Oppo广东移动通信有限公司 | Adjust the method and Related product of brightness of display screen |
CN108711402A (en) * | 2018-05-07 | 2018-10-26 | Oppo广东移动通信有限公司 | Brightness of display screen method of adjustment and Related product |
CN108735183A (en) * | 2018-05-07 | 2018-11-02 | Oppo广东移动通信有限公司 | Brightness of display screen method of adjustment and Related product |
CN108494974A (en) * | 2018-05-10 | 2018-09-04 | Oppo广东移动通信有限公司 | Adjusting method, mobile terminal and the storage medium of display brightness |
CN108494974B (en) * | 2018-05-10 | 2021-05-04 | Oppo广东移动通信有限公司 | Display brightness adjusting method, mobile terminal and storage medium |
CN109947230A (en) * | 2019-03-29 | 2019-06-28 | 广东小天才科技有限公司 | A kind of screen luminance adjustment method of terminal device, device and terminal device |
CN110730262A (en) * | 2019-10-30 | 2020-01-24 | 北京字节跳动网络技术有限公司 | Environment brightness value detection method and device and electronic equipment |
CN112261223A (en) * | 2020-10-20 | 2021-01-22 | 网易(杭州)网络有限公司 | Image rendering method, device and equipment and storage medium |
CN115116404A (en) * | 2021-03-22 | 2022-09-27 | 广州视源电子科技股份有限公司 | Color temperature and brightness calibration method, device, medium and interactive panel |
CN115116404B (en) * | 2021-03-22 | 2023-08-01 | 广州视源电子科技股份有限公司 | Color temperature and brightness calibration method, device, medium and interactive flat panel |
Also Published As
Publication number | Publication date |
---|---|
CN104902088B (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104902088A (en) | Method and device for adjusting screen brightness of mobile terminal | |
CN103004213B (en) | Tone and method of color gamut mapping of color and device | |
CN104778047B (en) | A kind of content display method and terminal | |
JP5896497B2 (en) | Method and wireless handheld device for determining the hue of an image | |
KR101917776B1 (en) | Method and apparatus of converting color for color vision defectives | |
CN109274985B (en) | Video transcoding method and device, computer equipment and storage medium | |
US20110305386A1 (en) | Color Indication Tool for Colorblindness | |
CN105828058B (en) | A kind of method of adjustment and device of white balance | |
WO2021114684A1 (en) | Image processing method and apparatus, computing device, and storage medium | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
US20140015850A1 (en) | Color transformation method and apparatus for person with color vision defect | |
CN107211142A (en) | The method and apparatus decoded to coloured image | |
CN104765437A (en) | Power saving method and power saving system | |
CN104811677A (en) | Display control method and device of mobile terminal | |
CN108806638B (en) | Image display method and device | |
CN100556071C (en) | Image processing method | |
CN104935902A (en) | Image color enhancement method and device, and electronic equipment | |
CN106843782B (en) | Method for adjusting color of image of electronic equipment and electronic equipment | |
CN110335279A (en) | Real-time green curtain is scratched as method, apparatus, equipment and storage medium | |
CN107391150A (en) | The adaptive variation of mobile terminal topic tone and system | |
KR102091072B1 (en) | Contents providing apparatus, display apparatus and controlling method thereof | |
KR20190080732A (en) | Estimation of illumination chromaticity in automatic white balancing | |
CN104640186A (en) | Method and device for reducing power consumption of mobile terminal | |
US9390678B2 (en) | Image display method and device | |
CN113658287B (en) | User interface color matching processing method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |