CN104660766B - The backlight adjusting method and device of a kind of mobile terminal - Google Patents

The backlight adjusting method and device of a kind of mobile terminal Download PDF

Info

Publication number
CN104660766B
CN104660766B CN201510097205.0A CN201510097205A CN104660766B CN 104660766 B CN104660766 B CN 104660766B CN 201510097205 A CN201510097205 A CN 201510097205A CN 104660766 B CN104660766 B CN 104660766B
Authority
CN
China
Prior art keywords
mobile terminal
described image
image frame
backlight
camera
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.)
Expired - Fee Related
Application number
CN201510097205.0A
Other languages
Chinese (zh)
Other versions
CN104660766A (en
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 CN201510097205.0A priority Critical patent/CN104660766B/en
Publication of CN104660766A publication Critical patent/CN104660766A/en
Application granted granted Critical
Publication of CN104660766B publication Critical patent/CN104660766B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The present invention is applied to technical field of mobile terminals there is provided a kind of backlight adjusting method of mobile terminal and device, including:Pre-set the corresponding screen back light value of different acquisition parameters;When mobile terminal triggering backlight regulation, the camera of the mobile terminal is opened;Obtain the acquisition parameters of the camera;The backlight illumination of the mobile terminal is adjusted into screen back light value corresponding to the acquisition parameters.In the present invention, the screen back light value that mobile terminal needs to adjust is calculated by the use of the camera of mobile terminal as auxiliary lighting apparatus, by increasing capacitance it is possible to increase the accuracy of backlight regulation, reduces the interference that light sensation error band comes, lift the display effect of mobile terminal screen.

Description

The backlight adjusting method and device of a kind of mobile terminal
Technical field
The invention belongs to the backlight adjusting method and device of technical field of mobile terminals, more particularly to a kind of mobile terminal.
Background technology
At present, automatic backlight regulation turns into one of necessary functions of smart mobile phone, under different ambient light intensities, The function ensures that screen is under a suitable brightness all the time, so that user sees screen content clearly all the time.Generally, opponent The backlight adjustment of machine is that ambient light sensor measurement is obtained come what is realized based on the ambient light sensor of interior of mobile phone is arranged on Varying environment light intensity value can directly correspond to a light-source brightness value, and mobile phone screen light source is adjusted according to the light-source brightness value Brightness so that realize automatic backlight adjust.
However, by placement direction of the ambient light sensor on cell phone mainboard, the glass of shade ambient light sensor The influence of many factors such as light transmittance and the structure of mobile phone, material, the ambient light intensity measured by ambient light sensor with it is true There is difference to a certain extent in real ambient light intensity, cause automatic backlight regulation inaccurate, influence display effect.
The content of the invention
The purpose of the embodiment of the present invention is the backlight adjusting method and device for providing a kind of mobile terminal, it is intended to solve mesh The automatic backlight regulation of preceding mobile terminal is inaccurate, the problem of influenceing display effect.
The embodiment of the present invention is achieved in that a kind of backlight adjusting method of mobile terminal, including:
Pre-set the corresponding screen back light value of different acquisition parameters;
When mobile terminal triggering backlight regulation, the camera of the mobile terminal is opened;
Obtain the acquisition parameters of the camera;
The backlight illumination of the mobile terminal is adjusted into screen back light value corresponding to the acquisition parameters.
The another object of the embodiment of the present invention is the backlight adjusting means for providing a kind of mobile terminal, including:
Setting unit, for pre-setting the corresponding screen back light value of different acquisition parameters;
Opening unit, for when mobile terminal triggering backlight regulation, opening the camera of the mobile terminal;
Acquiring unit, the acquisition parameters for obtaining the camera;
Adjustment unit, for the backlight illumination of the mobile terminal to be adjusted into screen backlight corresponding to the acquisition parameters Value.
In embodiments of the present invention, mobile terminal is calculated by the use of the camera of mobile terminal as auxiliary lighting apparatus is needed The screen back light value to be adjusted, by increasing capacitance it is possible to increase the accuracy of backlight regulation, reduces the interference that light sensation error band comes, and lifting is mobile eventually Hold the display effect of screen.
Brief description of the drawings
Fig. 1 is the implementation process figure of the backlight adjusting method of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is that the backlight adjusting method S103 of mobile terminal provided in an embodiment of the present invention implements flow chart;
Fig. 3 is that the backlight adjusting method S202 of mobile terminal provided in an embodiment of the present invention implements flow chart;
Fig. 4 is that the backlight adjusting method S104 of mobile terminal provided in an embodiment of the present invention implements flow chart;
Fig. 5 is the structured flowchart of the backlight adjusting means of mobile terminal provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In embodiments of the present invention, mobile terminal is calculated by the use of the camera of mobile terminal as auxiliary lighting apparatus is needed The screen back light value to be adjusted, by increasing capacitance it is possible to increase the accuracy of backlight regulation, reduces the interference that light sensation error band comes, and lifting is mobile eventually Hold the display effect of screen.
The backlight adjusting method and device of mobile terminal provided in an embodiment of the present invention can apply to be integrated with camera Terminal device in, including smart mobile phone, flat board, palm PC (Personal Digital Assistant, PDA), photograph Machine, etc..
Fig. 1 shows the implementation process of the backlight adjusting method of mobile terminal provided in an embodiment of the present invention, and details are as follows:
In S101, the corresponding screen back light value of different acquisition parameters is pre-set.
Mobile terminal camera can operationally produce acquisition parameters, the including but not limited to acquisition parameters, camera The overall gray value of captured picture frame, and automatic exposure (Automatic Exposure, AE) value that camera is exported, In the present embodiment, corresponding screen back light value is set for different acquisition parameters scopes in advance.By taking table 1 as an example:
Table 1
It is interval Overall gray value Light sensation reading Screen back light value
1 0~4 0~3lux 8
2 5~100 4~260lux 50
…… …… …… ……
N 255 It is infinitely great Maximum
As shown in table 1, set N number of screen backlight regulation interval, one screen back light value of each interval correspondence, to shoot ginseng Exemplified by number is the overall gray value of picture frame, overall gray value is also divided to N number of interval from low to high, it is each interval respectively with one Individual screen back light value is corresponding.
In S102, when mobile terminal triggering backlight regulation, the camera of the mobile terminal is opened.
In the present embodiment, the mobile terminal triggering backlight regulation, refers to the ambient light sensing built in mobile terminal The luminous intensity that device detects mobile terminal local environment changes, and the intensity of variation has arrived and needs to adjust backlight value In the case of, before the backlight value of mobile terminal is adjusted output signal, suspends backlight regulation operation first, open and move The camera of dynamic terminal.
The camera of mobile terminal is opened, including by " taking pictures " application of mobile terminal by closed mode or running background State activation is to system front stage operation.
The camera, can be the front camera or rear camera of mobile terminal.Preferably, it can select out The screen opened with mobile terminal is in conplane front camera, to ensure the ambient light relevant parameter produced by camera It is consistent with the ambient light residing for screen.
In S103, the acquisition parameters of the camera are obtained.
According to the difference of acquisition parameters, the acquisition modes of acquisition parameters are also different:
As one embodiment of the present of invention, the acquisition parameters include the image that overall gray value, i.e. camera are shot The overall gray value of frame, then as shown in Fig. 2 S103 is specially:
S201, a picture frame is shot by the camera.
S202, calculates the overall gray value of described image frame.
The form of the picture frame shot according to mobile terminal is different, and the calculation of overall gray value also has difference.
As one embodiment of the present of invention, if described image frame is rgb format, as shown in figure 3, S202 is specially:
S301, calculates the average gray value of each pixel of described image frame.
S302, by the average gray value of described image frame all pixels point be added again divided by described image frame pixel Point sum, obtains the overall gray value of described image frame.
In the present embodiment, first by formula (0.299*R+0.587*G+0.114*B), each picture in picture frame is calculated The average gray value of vegetarian refreshments, then the average gray value for calculating obtained each pixel is mutually added up, divided by the picture frame Pixel sum, has just obtained the overall gray value of the picture frame.
As another embodiment of the present invention, if described image frame is yuv format, S202 is specially:
The luminance signal part (i.e. Y-signal part) of each pixel of described image frame is added, then divided by described image The pixel sum of frame, obtains the overall gray value of described image frame.
As another embodiment of the present invention, if the acquisition parameters include automatic exposure value, S103 is specially:
Obtain the automatic exposure value of the camera output.
The present embodiment is applied to support directly to export the camera of AE values, and the camera during operation can be automatically to current Ambient light is detected, and exports AE values in real time.
In S104, the backlight illumination of the mobile terminal is adjusted into screen back light value corresponding to the acquisition parameters.
The acquisition parameters calculated according to S103, find acquisition parameters institute right in the corresponding relation that S101 is pre-set The screen back light value answered, and the backlight illumination of mobile terminal is adjusted to the screen back light value.
Specific regulation process can be as shown in Figure 4:
In S401, the corresponding screen back light value of the acquisition parameters is judged and according to the environment built in the mobile terminal Whether the screen back light value acquired in optical sensor is consistent.
One screen back light value also can correspondingly be corresponded to by the ambient light intensity measured by ambient light sensor, in this reality Apply in example, by judging whether the two is consistent, may further ensure that the accuracy of backlight regulation.
In S402, if the corresponding screen back light value of the acquisition parameters with according to the ambient light built in the mobile terminal Screen back light value acquired in sensor is consistent, then adjusts the backlight illumination of the mobile terminal to acquisition parameters correspondence Screen back light value.
In S403, if the corresponding screen back light value of the acquisition parameters with according to the ambient light built in the mobile terminal Screen back light value acquired in sensor is inconsistent, then adjusts the backlight illumination of the mobile terminal to the acquisition parameters pair The screen back light value answered, and will restart after automatic backlight regulatory function closing preset time period.
In the present embodiment, automatic backlight regulatory function was closed after a period of time and be then turned on, can avoided because shooting ginseng The corresponding screen back light values of number with it is inconsistent according to the screen back light value acquired in the ambient light sensor built in mobile terminal and Caused backlight shake.
In embodiments of the present invention, mobile terminal is calculated by the use of the camera of mobile terminal as auxiliary lighting apparatus is needed The screen back light value to be adjusted, by increasing capacitance it is possible to increase the accuracy of backlight regulation, reduces the interference that light sensation error band comes, and lifting is mobile eventually Hold the display effect of screen.
Corresponding to the backlight adjusting method of the mobile terminal described in foregoing embodiments, Fig. 5 shows that the embodiment of the present invention is carried The structured flowchart of the backlight adjusting means of the mobile terminal of confession, for convenience of description, illustrate only portion related to the present embodiment Point.
Reference picture 5, the device includes:
Setting unit 51, pre-sets the corresponding screen back light value of different acquisition parameters;
Opening unit 52, when mobile terminal triggering backlight regulation, opens the camera of the mobile terminal;
Acquiring unit 53, obtains the acquisition parameters of the camera;
Adjustment unit 54, screen backlight corresponding to the acquisition parameters is adjusted by the backlight illumination of the mobile terminal Value.
Alternatively, the acquisition parameters include overall gray value, and the acquiring unit 53 includes:
Subelement is shot, a picture frame is shot by the camera;
Computation subunit, calculates the overall gray value of described image frame.
Alternatively, described image frame be rgb format, the computation subunit specifically for:
Calculate the average gray value of each pixel of described image frame;
By the average gray value of described image frame all pixels point be added again divided by described image frame pixel it is total Number, obtains the overall gray value of described image frame.
Alternatively, described image frame be yuv format, the computation subunit specifically for:
The luminance signal part of each pixel of described image frame is added, then divided by described image frame pixel it is total Number, obtains the overall gray value of described image frame.
Alternatively, the acquisition parameters include automatic exposure value, the acquiring unit 53 specifically for:
Obtain the automatic exposure value of the camera output.
In embodiments of the present invention, mobile terminal is calculated by the use of the camera of mobile terminal as auxiliary lighting apparatus is needed The screen back light value to be adjusted, by increasing capacitance it is possible to increase the accuracy of backlight regulation, reduces the interference that light sensation error band comes, and lifting is mobile eventually Hold the display effect of screen.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of backlight adjusting method of mobile terminal, it is characterised in that including:
Pre-set the corresponding screen back light value of different acquisition parameters;
When mobile terminal triggering backlight regulation, the camera of the mobile terminal is opened;
Obtain the acquisition parameters of the camera;
The backlight illumination of the mobile terminal is adjusted into screen back light value corresponding to the acquisition parameters,
The mobile terminal triggering backlight regulation, refers to that the ambient light sensor built in mobile terminal detects mobile terminal institute The luminous intensity of place's environment is changed, and the intensity of variation has been arrived in the case of needing regulation backlight value, in output signal Before the backlight value of mobile terminal is adjusted, suspends backlight regulation operation first, open the camera of mobile terminal.
2. the method as described in claim 1, it is characterised in that the acquisition parameters include overall gray value, the acquisition institute Stating the acquisition parameters of camera includes:
One picture frame is shot by the camera;
Calculate the overall gray value of described image frame.
3. method as claimed in claim 2, it is characterised in that described image frame is rgb format, the calculating described image frame Overall gray value include:
Calculate the average gray value of each pixel of described image frame;
By the average gray value of described image frame all pixels point be added again divided by described image frame pixel sum, obtain To the overall gray value of described image frame.
4. method as claimed in claim 2, it is characterised in that described image frame is yuv format, the calculating described image frame Overall gray value include:
The luminance signal part of each pixel of described image frame is added, then divided by described image frame pixel sum, obtain To the overall gray value of described image frame.
5. the method as described in claim 1, it is characterised in that the acquisition parameters include automatic exposure value, the acquisition institute Stating the acquisition parameters of camera includes:
Obtain the automatic exposure value of the camera output.
6. a kind of backlight adjusting means of mobile terminal, it is characterised in that including:
Setting unit, for pre-setting the corresponding screen back light value of different acquisition parameters;
Opening unit, for when mobile terminal triggering backlight regulation, opening the camera of the mobile terminal;
Acquiring unit, the acquisition parameters for obtaining the camera;
Adjustment unit, for the backlight illumination of the mobile terminal to be adjusted into screen back light value corresponding to the acquisition parameters,
The mobile terminal triggering backlight regulation, refers to that the ambient light sensor built in mobile terminal detects mobile terminal institute The luminous intensity of place's environment is changed, and the intensity of variation has been arrived in the case of needing regulation backlight value, in output signal Before the backlight value of mobile terminal is adjusted, suspends backlight regulation operation first, open the camera of mobile terminal.
7. device as claimed in claim 6, it is characterised in that the acquisition parameters include overall gray value, the acquisition list Member includes:
Subelement is shot, for shooting a picture frame by the camera;
Computation subunit, the overall gray value for calculating described image frame.
8. device as claimed in claim 7, it is characterised in that described image frame is rgb format, the computation subunit is specific For:
Calculate the average gray value of each pixel of described image frame;
By the average gray value of described image frame all pixels point be added again divided by described image frame pixel sum, obtain To the overall gray value of described image frame.
9. device as claimed in claim 7, it is characterised in that described image frame is yuv format, the computation subunit is specific For:
The luminance signal part of each pixel of described image frame is added, then divided by described image frame pixel sum, obtain To the overall gray value of described image frame.
10. device as claimed in claim 6, it is characterised in that the acquisition parameters include automatic exposure value, the acquisition list Member specifically for:
Obtain the automatic exposure value of the camera output.
CN201510097205.0A 2015-03-04 2015-03-04 The backlight adjusting method and device of a kind of mobile terminal Expired - Fee Related CN104660766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510097205.0A CN104660766B (en) 2015-03-04 2015-03-04 The backlight adjusting method and device of a kind of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510097205.0A CN104660766B (en) 2015-03-04 2015-03-04 The backlight adjusting method and device of a kind of mobile terminal

Publications (2)

Publication Number Publication Date
CN104660766A CN104660766A (en) 2015-05-27
CN104660766B true CN104660766B (en) 2017-08-29

Family

ID=53251452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510097205.0A Expired - Fee Related CN104660766B (en) 2015-03-04 2015-03-04 The backlight adjusting method and device of a kind of mobile terminal

Country Status (1)

Country Link
CN (1) CN104660766B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323382B (en) * 2015-11-04 2019-03-19 Oppo广东移动通信有限公司 A kind of screen light compensation method, device and mobile terminal
CN105577941A (en) 2016-02-01 2016-05-11 惠州Tcl移动通信有限公司 Terminal screen brightness adjusting method and system
CN105872402A (en) 2016-06-15 2016-08-17 深圳Tcl新技术有限公司 Photographing method and system of smart television
CN106648066A (en) * 2016-11-09 2017-05-10 北京小米移动软件有限公司 Backlight adjustment method and device and intelligent glasses
CN108986768B (en) 2017-06-02 2020-09-22 广东夏野日用电器有限公司 Control method
CN108597432B (en) * 2018-04-19 2021-05-07 Oppo广东移动通信有限公司 Brightness adjusting method and related product
CN108564915B (en) * 2018-04-25 2021-05-14 Oppo广东移动通信有限公司 Brightness adjusting method and related product
CN110244310A (en) * 2019-06-27 2019-09-17 Oppo广东移动通信有限公司 A kind of TOF system and image processing method, storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3970709B2 (en) * 2002-07-16 2007-09-05 株式会社日立製作所 Mobile communication terminal, mobile communication system, and data transmission rate display method for mobile communication
CN101179789B (en) * 2007-09-12 2013-04-10 青岛海信移动通信技术股份有限公司 Backlight brightness self-adjusting mobile phone and implementing method thereof
CN103973867B (en) * 2013-01-28 2016-05-04 广州三星通信技术研究有限公司 Control wireless communication terminal and method thereof backlight

Also Published As

Publication number Publication date
CN104660766A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104660766B (en) The backlight adjusting method and device of a kind of mobile terminal
TWI651709B (en) System and method for adjusting brightness of a display screen of an electronic device
CN107438163B (en) Photographing method, terminal and computer readable storage medium
CN108307125B (en) Image acquisition method, device and storage medium
TWI549106B (en) Image display method and electronic device
CN105744175B (en) A kind of screen light compensation method, device and mobile terminal
RU2704724C1 (en) Method and device for displaying an image of an interface
TWI433533B (en) Image capturing device and image synthesis method thereof
EP3373283A3 (en) Method and apparatus for adjusting backlight brightness of screen, and mobile terminal
WO2017024728A1 (en) Method and device for reducing display brightness
CN104575448B (en) The backlight adjusting method and device of a kind of display device
KR20150122768A (en) Shooting method and apparatus of electronic device, and electronic device
CN107644607B (en) Color temperature adjusting method of display panel and display device
KR20130035682A (en) Method and apparatus for controlling of image output in projector
WO2016065053A2 (en) Automatic display image enhancement based on user's visual perception model
CN105244008A (en) Display equipment and brightness adjusting method thereof
CN108200352B (en) Method, terminal and storage medium for adjusting picture brightness
CN109729281A (en) Image processing method, device, storage medium and terminal
CN102148936A (en) High dynamic range imaging optimization method and device
CN101126661A (en) Method and apparatus for determining ambient light
CN105592254A (en) Image display method and electronic device
TW201725578A (en) Image adjusting method capable of executing optimal adjustment according to envorimental variation and related display
CN105702230B (en) Display backlight luminance regulating method, device and the terminal of a kind of terminal
CN106550227B (en) A kind of image saturation method of adjustment and device
CN111492653A (en) Method and device for quickly adjusting white balance of camera and computer readable storage medium

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523841 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.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170829

CF01 Termination of patent right due to non-payment of annual fee