CN106128414A - Control method, control device and electronic installation - Google Patents

Control method, control device and electronic installation Download PDF

Info

Publication number
CN106128414A
CN106128414A CN201610506513.9A CN201610506513A CN106128414A CN 106128414 A CN106128414 A CN 106128414A CN 201610506513 A CN201610506513 A CN 201610506513A CN 106128414 A CN106128414 A CN 106128414A
Authority
CN
China
Prior art keywords
flow rate
environment image
mean flow
module
camera module
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
Application number
CN201610506513.9A
Other languages
Chinese (zh)
Other versions
CN106128414B (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 CN201610506513.9A priority Critical patent/CN106128414B/en
Publication of CN106128414A publication Critical patent/CN106128414A/en
Application granted granted Critical
Publication of CN106128414B publication Critical patent/CN106128414B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Abstract

The invention discloses a kind of control method, for controlling the brightness of display screen of electronic installation, electronic installation includes the first camera module and the second camera module being positioned at electronic installation not homonymy, control method includes: controls the first camera module and takes pictures to obtain first environment image, and control the second camera module takes pictures to obtain second environment image;According to the first mean flow rate of first environment image computing environment, and the second mean flow rate according to second environment image computing environment;Relatively the first mean flow rate and the second mean flow rate;Brightness of display screen is regulated according to the greater in the first mean flow rate and the second mean flow rate.So, obtaining ambient image from different angles and be calculated multiple ambient brightness, by comparing acquisition ambient brightness more reasonable, objective, and the brightness of display screen of ambient brightness regulation accordingly contributes to eye protection because being consistent with ambient brightness.The invention also discloses a kind of control device and electronic installation.

Description

Control method, control device and electronic installation
Technical field
The present invention relates to shooting technology, particularly to a kind of control method, control device and electronic installation.
Background technology
The electronic installations such as existing mobile phone are general only senses ambient brightness from one direction, such as from the one of display screen place Side, is automatically adjusted screen intensity to protect eyes further according to ambient brightness.But, affected by mobile phone orientation and be easily caused environment Brightness measurement is forbidden, and such as, light the most from up to down irradiates, therefore, when mobile phone yaw upwards time the ambient brightness that measures Greatly, the ambient brightness minimum that when yaw is downward, (such as user couches when using mobile phone) measures, the screen intensity therefore regulated Be not suitable for current environment to use, may infringement eyes.
Summary of the invention
Embodiments of the present invention are intended at least to solve one of technical problem present in prior art.To this end, the present invention Embodiment need a kind of control method to be provided, controls device and electronic installation.
The invention provides a kind of control method, for controlling the brightness of display screen of electronic installation, described electronic installation bag Including the first camera module and the second camera module, described first camera module and described second camera module are positioned at described electronics dress The not homonymy put;Described control method includes:
Rate-determining steps, controls described first camera module and takes pictures to obtain first environment image, and controls described second and take the photograph As module takes pictures to obtain second environment image;
Calculation procedure, according to the first mean flow rate of described first environment image computing environment, and according to described second ring Second mean flow rate of border image computing environment;
Relatively described first mean flow rate and described second mean flow rate;
Described brightness of display screen is regulated according to the greater in described first mean flow rate and described second mean flow rate.
The control method of embodiment of the present invention obtains ambient image from different angles and to be calculated multiple environment bright Degree, by comparing acquisition ambient brightness more reasonable, objective, and the brightness of display screen regulated according to this ambient brightness because of with environment Brightness is consistent and contributes to eye protection.Additionally, due to the first camera module and the second camera module are all camera module, first is average Brightness and the acquisition process of the second mean flow rate and computational methods are also similar to, and therefore the first mean flow rate and the second mean flow rate have Preferably comparability.Some problem of prior art can be solved.
In some embodiments, described control method includes:
The described rate-determining steps of triggering is inputted according to user.
In some embodiments, described first camera module arranges identical with described display screen on said electronic device Side, described second camera module arranges opposing with described display screen on said electronic device side.
In some embodiments, described electronic installation also includes that aspect sensor, described aspect sensor are used for sensing Described display screen towards;Described control method includes:
Calculate described display screen towards amplitude of variation;And
Whether it is more than predetermined amplitude towards amplitude of variation and triggers described rate-determining steps when being judged as YES described in judging.
In some embodiments, described first environment image and second environment image are rgb format;Described brightness calculation Step includes:
Described first environment image and described second environment image are converted into HSL form;
Calculate in described first environment image the meansigma methods of the brightness value of each pixel to obtain described first mean flow rate, And calculate in described second environment image the meansigma methods of the brightness value of each pixel to obtain described second mean flow rate.
In some embodiments, described first environment image includes that continuous multiple frames, described second environment image include even Continuous multiframe, described intensity calculating step includes:
Calculate the first average brightness value of first environment image described in every frame, and calculate second environment image described in every frame Second average brightness value;And
Calculate the meansigma methods of described first average brightness value and as described first mean flow rate, and calculate described second flat All brightness value meansigma methods and as described second mean flow rate.
Present invention also offers a kind of control device, for controlling the brightness of display screen of electronic installation, described electronic installation Including the first camera module and the second camera module, described first camera module and described second camera module are positioned at described electronics The not homonymy of device;Described control device includes:
Control module, is used for controlling described first camera module and takes pictures to obtain first environment image, and control described Two camera modules take pictures to obtain second environment image;
Computing module, for according to the first mean flow rate of described first environment image computing environment, and according to described the Second mean flow rate of two ambient image computing environment;
Comparison module, for relatively described first mean flow rate and described second mean flow rate;And
Adjustment module, for according to described in the bigger regulation in described first mean flow rate and described second mean flow rate Brightness of display screen.
In some embodiments, described control device includes:
Input module, for inputting the described control module of triggering according to user.
In some embodiments, described first camera module arranges identical with described display screen on said electronic device Side, described second camera module arranges opposing with described display screen on said electronic device side.
In some embodiments, described electronic installation also includes that aspect sensor, described aspect sensor are used for sensing Described display screen towards;Described control device includes:
Magnitude computation module, for calculate described display screen towards amplitude of variation;
Amplitude judge module, is used for judging described whether to touch more than predetermined amplitude and when being judged as YES towards amplitude of variation Send out control module described.
In some embodiments, described first environment image and second environment image are rgb format;Described brightness calculation Module includes:
Transformant module, for being converted into HSL form by described first environment image and described second environment image;
First calculating sub module, for calculate in described first environment image the meansigma methods of the brightness value of each pixel with To described first mean flow rate, and it is described to obtain to calculate the meansigma methods of the brightness value of each pixel in described second environment image Second mean flow rate.
In some embodiments, described first environment image includes that continuous multiple frames, described second environment image include even Continuous multiframe, described brightness calculation module includes:
Second calculating sub module, for calculating the first average brightness value of first environment image described in every frame, and by based on Calculate the second average brightness value of second environment image described in every frame;And
3rd calculating sub module, for calculating the meansigma methods of described first average brightness value and as described first the brightest Degree, and for calculating the meansigma methods of described second average brightness value and as described second mean flow rate.
In some embodiments, described electronic installation includes mobile phone or panel computer.
The present invention also provides for a kind of electronic installation, and it includes the first camera module, the second camera module and above-mentioned embodiment party Control device described in formula.
The additional aspect of embodiments of the present invention and advantage will part be given in the following description, and part will be from following Description in become obvious, or recognized by the practice of embodiments of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of embodiments of the present invention and advantage are from combining accompanying drawings below to embodiment Description will be apparent from easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 2 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 3 is the principle schematic of the control method of some embodiment of the present invention.
Fig. 4 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 5 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 6 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 7 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 8 is the principle schematic of the control method of some embodiment of the present invention.
Fig. 9 is the schematic flow sheet of the control method of some embodiment of the present invention.
Figure 10 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Figure 11 is the schematic flow sheet of the control method of some embodiment of the present invention.
Figure 12 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Figure 13 is the principle schematic of the control method of some embodiment of the present invention.
Figure 14 is the schematic diagram in kind of the electronic installation of some embodiment of the present invention.
Detailed description of the invention
Embodiments of the present invention are described below in detail, and the example of embodiment is shown in the drawings, the most identical or class As label represent same or similar element from start to finish or there is the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, can only be used to explain embodiments of the present invention, and it is not intended that to the present invention The restriction of embodiment.
Refer to Fig. 1-3, the control method of embodiment of the present invention, can be used for controlling the brightness of display screen of electronic installation, Electronic installation can include that the first camera module and the second camera module, the first camera module and the second camera module are positioned at electronics dress The not homonymy put;Control method comprises the steps that
S01, controls the first camera module 170 and takes pictures to obtain first environment image, and control the second camera module 180 is clapped According to obtain second environment image;
S02, according to the first mean flow rate of first environment image computing environment, and according to second environment image computing environment The second mean flow rate;
S03, compares the first mean flow rate and the second mean flow rate;And
S04, regulates display screen 130 brightness according to the greater in the first mean flow rate and the second mean flow rate.
Referring to Fig. 2, the control method of embodiment of the present invention can be real by the control device 110 of embodiment of the present invention Existing.Control device 110 and can include control module 111, computing module 112, comparison module 113, adjustment module 114, can divide successively Not can be used for S01, S02, S03, the S04 realizing in control method.
The control method of embodiment of the present invention can be referred to as Intelligent adjustment function.Incorporated by reference to refering to Figure 14, the present invention is real The control device 110 executing mode can be used for the electronic installation 100 of embodiment of the present invention.In some embodiments, electricity Sub-device 100 can include mobile phone or panel computer.Electronic installation 100 can include light sensor 150, display screen 130, first take the photograph As module 170 and the second camera module 180.
The electronic installations such as existing mobile phone 100 are general only senses ambient brightness from one direction, such as from display screen 130 place Side light sensor 150 is set, ambient brightness is sensed, further according to ambient brightness be automatically adjusted screen intensity with protect Eye protection eyeball.But, affected by mobile phone orientation and be easily caused ambient brightness and measure inaccurate, such as, light the most from up to down according to Penetrate, therefore, when mobile phone yaw upwards time the ambient brightness that measures maximum, and when yaw is downward, (such as user couches use mobile phone Time) ambient brightness that measures is minimum, the screen intensity therefore regulated is not suitable for current environment and uses, may infringement eyes.
In the control method of embodiment of the present invention, electronic installation 100 has the first camera module 170 and second simultaneously and takes the photograph As module 180, and they are positioned at the not homonymy of electronic installation 100, and the such as first camera module 170 is positioned at front (display screen 130 The one side at place), and the second camera module 180 is positioned at the back side or side.Clapped by the two camera module of electronic installation 100 Take the photograph to obtain respectively ambient image, i.e. first environment image and second environment image, then it is calculated to obtain first respectively Mean flow rate and the second mean flow rate.Owing to the second camera module 180 and the first camera module 170 are positioned at not homonymy, second takes the photograph As the mean flow rate of module 180 correspondence and the ambient brightness of the first camera module 170 correspondence represent different directions respectively according to coming Light intensity.
Then ambient brightness and mean flow rate are compared, and select that the brightest value as according to regulating Display screen 130 brightness.Such as this value maybe added as display screen 130 brightness by this value or deduct a predetermined luminance difference, Or it is multiplied by a pre-determined factor as display screen 130 brightness.
It is appreciated that the most reasonable as the foundation of regulation display screen 130 brightness to the brightness value of light sensing.Because of people The size of the pupil of eye is the shadow region according to the overall brightness in the visual field of people rather than backlight.And the brightness in the visual field is relatively Gao Shi, the contracted pupil of people, if now using backlight sensing brightness value as regulation display screen 130 brightness foundation, can cause For the pupil reduced, display screen 130 too dark brightness, so that Consumer's Experience is the best.
The control method of embodiment of the present invention obtains ambient image from different angles and to be calculated multiple environment bright Degree, by comparing acquisition ambient brightness more reasonable, objective, and display screen 130 brightness regulated according to this ambient brightness because of with Ambient brightness is consistent and contributes to eye protection.Additionally, due to the first camera module 170 and the second camera module 180 are all shooting mould Group, the first mean flow rate and the acquisition process of the second mean flow rate and computational methods are also similar to, therefore the first mean flow rate and Two mean flow rates have preferable comparability.
Refer to Fig. 3, and in embodiment of the present invention, the first camera module 170 and the second camera module 180 are the most never Same angle acquisition monochrome information also respectively obtains ambient brightness and mean flow rate the two amount.Which value of the two amount is higher, Which the most more can reflect the true brightness level of environment, the most just can as the foundation of regulation display screen 130 brightness, thus Promote Consumer's Experience.Such as in Fig. 3, the second camera module 180 to light side, the backlight side of the first camera module 170, therefore with The mean flow rate that second camera module 180 obtains is the foundation of regulation display screen 130 brightness.
In some embodiments, the first camera module 170 is arranged on electronic installation 100 identical with display screen 130 Side, the second camera module 180 is arranged on side opposing with display screen 130 on electronic installation 100.
So, can just make the second camera module 180 to light when the first camera module 170 backlight;Or take the photograph second During as module 180 backlight, light sensor 150 first camera module 170 is to light, thus does not haves light sensor 150 the The situation of one camera module 170 and the second camera module 180 backlight simultaneously, makes sensing result more objective.Generally, hands On machine or panel computer, front-facing camera is positioned at the side identical with display screen 130, the i.e. first camera module 170, and be positioned at The second i.e. post-positioned pick-up head of camera module 180 of the opposing side of display screen 130.
Referring to Fig. 4-5, in some embodiments, control method can comprise the following steps that
S05, inputs triggering S01 according to user.
S05, can be realized by the input module 1151 of some embodiment, i.e. input module 1151 can be used for according to user defeated Enter trigger control module 111.
Such as, user is feeling that the brightness of display screen 130 is in good time, can click on that to represent Intelligent adjustment display screen 130 bright The virtual key of degree, thus triggers S01, to carry out each step of the control method of embodiment of the present invention, thus realize right The Intelligent adjustment of display screen 130 brightness.So, the use demand of user can preferably be met.
Referring to Fig. 6-8, in some embodiments, electronic installation 100 may also include aspect sensor, aspect sensor Can be used for sense display screen 130 towards;Control method comprises the steps that
S06, calculate display screen 130 towards amplitude of variation;
S07, it is judged that whether be more than predetermined amplitude towards amplitude of variation and trigger S01 when being judged as YES.
In some embodiments, control device 110 and can include magnitude computation module 116 and amplitude judge module 117, point Not can be used for realizing S06 and S07.It is to say, magnitude computation module 116 can be used for calculate display screen 130 towards change width Degree, whether amplitude judge module 117 can be used for judging towards amplitude of variation more than predetermined amplitude the triggering control when being judged as YES Molding block 111.
Incorporated by reference to refering to Fig. 8, the electronic installation 100 such as mobile phone is extensively provided with the light that can be used for sensing ambient brightness and passes Sensor 150, and it is generally seated in the side at display screen 130 place.Display screen 130 is according to light sensor 150 under normal conditions The ambient brightness sensed is automatically adjusted display screen 130 brightness.
When the modes of emplacement of electronic installation 100 change cause light sensor 150 towards changing, such as electronics Device 100 is placed vertically (picking up from desktop) by keeping flat to transfer to, or light sensor 150 is with electronic installation 100 upset °, by forward Transfer to backwards.When the light sensor 150 of electronic installation 100 is towards when changing, its light situation is it can also happen that become Change.Such as, light sensor 150 is towards light source, after electronic installation 100 upset, light sensor 150 backlight originally, leads Cause can not detect ambient brightness true, objective.
Therefore, at the display screen 130 of electronic installation 100 towards when changing, i.e. light sensor 150 towards generation During change, each step of the control method of embodiment of the present invention can be triggered, i.e. trigger first and second camera module 180 and take pictures And the higher foundation as regulation display screen 130 brightness in Environment brightness and mean flow rate.So, can with a definite target in view Trigger two camera modules, so that controlling more intelligent and energy-conservation.
Optimally, can determine whether the light sensor 150 size towards amplitude of variation.Gyroscope in electronic installation 100 or The sensing devices such as gravity sensor can realize the sensing to electronic installation 100 rotational steps, sensing result is converted into and light Sensor 150 is towards the angle changing value of normal in the same direction, and this angle changing value can be as towards amplitude of variation.This embodiment party In formula, such as, can arrange when angle changing value is more than 45 °, i.e. trigger control method.
In some embodiments, electronic installation 100 can include the light sensor 150 that can be used for obtaining ambient brightness, Electronic installation 100 may also include aspect sensor, aspect sensor can be used for light sensing sensor 150 towards;Controlling party Method can comprise the following steps that
Judge light sensor 150 towards the most downward;And
Light sensor 150 towards time downward trigger S01.
Refer to Figure 11, generally, the top (the such as outdoor sun, indoor lamp) being positioned at space of light source, If therefore light sensor 150 is towards downwards, the probability of backlight is relatively big, and the ambient brightness detected in the case of backlight is inadequate Objective, therefore trigger to carry out the Intelligent adjustment function of the control method of embodiment of the present invention, with by display screen 130 Brightness is transferred to suitably be worth.
Incorporated by reference to refering to Figure 13, general light sensor 150 is positioned at the same side with display screen 130, if therefore light level Device 150 and display screen 130 are down, it may be possible to user watches Mobile phone screen when reclining, lie low or looking up at, the most suitable Trigger the Intelligent adjustment function of control method of embodiment of the present invention to protect eyes of user.Optimally, light can be detected pass Sensor 150 towards with vertically downward vertical line vector angle, angle less than certain value (such as 45 °) time, all think towards For downwards, such as the angle in Figure 13 is 20 °, less than 45 °, is considered to be oriented downwards.So, more meet user and use electronics Practical situation during device 100, promotes Consumer's Experience.
In some embodiments, electronic installation 100 can include the light sensor 150 that can be used for obtaining ambient brightness, Electronic installation 100 may also include aspect sensor and global positioning system, and aspect sensor can be used for light sensing sensor 150 Towards;Control method can comprise the following steps that
Judge light sensor 150 towards the most downward;
Determining whether according to the system time of electronic installation 100 in the case of downwards at light sensor 150 Daytime;
Fine day is determined whether according to local weather information in the case of for daytime;
Then judge whether out of doors according to global positioning system in the case of for fine day;
S01 is triggered in the case of out of doors.
In the present embodiment, the triggering of S01 needs more condition.If light sensor 150 towards downwards, the most not Be enough to light sensor 150 backlight is described.The condition of light sensor 150 backlight may also include that daytime, fine day, and is outdoor, These three condition is indispensable, if such as daytime, fine day, just in indoor, also will not backlight;If fine day and out of doors, but time It is evening, the most not necessarily backlight.Therefore these conditions of comprehensive detection, to obtain judging more accurately, so that brightness is adjusted Save more intelligent, more energy efficient, be conducive to promoting Consumer's Experience.
Wherein, can determine whether daytime according to system time, may also be combined with system data and longitude and latitude etc., such as the Northern Hemisphere Somewhere, temperate zone, summer is the most long, and at 7 in possible evening still belongs to daytime, and to winter, just can be considered that entrance is late at 5 in afternoon Upper.Can judge whether weather is fine day according to the weather information of networking.Can judge whether according to global positioning system (GPS) Open air, such as street, square etc. belong to outdoor, and office building, unit building etc. belong to indoor, thus can carry out judgement substantially.
In some embodiments, electronic installation 100 can include the light sensor 150 that can be used for obtaining ambient brightness, Electronic installation 100 may also include aspect sensor and global positioning system, and aspect sensor can be used for light sensing sensor 150 Towards;Control method can comprise the following steps that
Judge light sensor 150 towards the most downward;
Determining whether according to the system time of electronic installation 100 in the case of downwards at light sensor 150 Evening;
Then judge whether in indoor according to global positioning system in the case of for evening;
S01 is triggered in the case of for indoor.
In present embodiment, light sensor 150 down on the premise of, also need judge condition comprise the steps that evening, Indoor.It is appreciated that evening and in indoor, typically has a lamp as light source, if light sensor 150 is down, easy backlight.Therefore Comprehensive detection the two condition, to obtain judging more accurately, so that brightness regulation is more intelligent, more energy efficient, is conducive to promoting Consumer's Experience.
In some embodiments, electronic installation 100 can include the light sensor 150 that can be used for obtaining ambient brightness, Control method can comprise the following steps that
The fall of computing environment brightness;And
Judge that whether fall is more than predetermined amplitude;
S01 is triggered in the case of fall is more than predetermined amplitude.
If during it is to say, the ambient brightness that light sensor 150 detects the most significantly declines, it may be possible to due to The placement of electronic installation 100 there occurs change, result in backlight etc., now triggers Intelligent adjustment mode.So, regulation can be promoted Intelligence degree, promote Consumer's Experience.
Referring to Fig. 9-10, in some embodiments, ambient image is rgb format;S02 comprises the steps that
S0201, is converted into HSL form by first environment image and second environment image;And
S0202, in calculating first environment image, the meansigma methods of the brightness value of each pixel is to obtain the first mean flow rate, and In calculating second environment image, the meansigma methods of the brightness value of each pixel is to obtain the second mean flow rate.
S0201, S0202 can be calculated son by the transformant module 1121 and first controlling device 110 of some embodiment Module 1122 realizes.It is to say, transformant module 1121 can be used for being converted into ambient image HSL form.First calculates son Module 1122 can be used for calculating in first environment image the meansigma methods of the brightness value of each pixel to obtain the first mean flow rate, and Can be used for calculating in second environment image the meansigma methods of the brightness value of each pixel to obtain the second mean flow rate.
HSL is a kind of color standard of industrial quarters, is by leading to form and aspect (H), saturation (S), three colors of lightness (L) The change in road and their superpositions each other obtain color miscellaneous.The unprocessed form of general environment image is GRB form, is translated into HSL form, thus conveniently obtains the brightness value of each pixel, be i.e. lightness (L).And then facilitate calculating One mean flow rate and the second mean flow rate.
Referring to Figure 11-12, in some embodiments, first environment image can include continuous multiple frames, second environment figure As including continuous multiple frames, intensity calculating step comprises the steps that
S0203, calculates the first average brightness value of every frame first environment image, and calculates the of every frame second environment image Two average brightness values;
S0204, calculates the meansigma methods of the first average brightness value and as the first mean flow rate, and calculates the second mean flow rate Value meansigma methods and as the second mean flow rate.
S0201, S0202 can be by second calculating sub module 1123 and the 3rd meters controlling device 110 of some embodiment Operator module 1124 realizes.It is to say, the second calculating sub module 1123 can be used for calculating the first of every frame first environment image Average brightness value, and can be used for calculating the second average brightness value of every frame second environment image.3rd calculating sub module 1124 can For calculating the meansigma methods of the first average brightness value and as the first mean flow rate, and can be used for calculating the second average brightness value Meansigma methods as the second mean flow rate.
Due to shooting single image, it is possible to because fortuitous event causes the brightness of image untrue objective, such as finger or Other article imprudences have blocked camera module, or owing to shake causes image fault etc..Therefore can shoot multi-frame images, ask The meansigma methods of the average brightness value of every two field picture is as mean flow rate.Further, can screen in multiple image, such as The image (being likely to be caused by above-mentioned fortuitous event) that Trimmed mean brightness value is too high or too low, then calculate flat with remaining image All brightness.
Incorporated by reference to refering to Fig. 2, the present invention also provides for a kind of electronic installation 100, it may include the first camera module 170, second The control device 110 of camera module 180 and above-mentioned embodiment.
Other parts not deployed in the electronic installation 100 of embodiment of the present invention, see the right of embodiment of above Burnt control device 110 and the corresponding part of imaging control apparatus 110, be no longer developed in details at this.
In the description of embodiments of the present invention, it is to be understood that term " " center ", " longitudinally ", " laterally ", " length Degree ", " width ", " thickness ", " on ", D score, "front", "rear", "left", "right", " vertically ", " level ", " top ", " end ", " interior ", Orientation or the position relationship of the instruction such as " outward ", " clockwise ", " counterclockwise " are based on orientation shown in the drawings or position relationship, only It is necessary for the ease of describing embodiments of the present invention and simplification description rather than instruction or the device of hint indication or element There is specific orientation, with specific azimuth configuration and operation, therefore it is not intended that restriction to embodiments of the present invention. Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance or implicit Indicate the quantity of indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or impliedly wrap Include one or more described features.In the description of embodiments of the present invention, " multiple " are meant that two or two Above, unless otherwise expressly limited specifically.
In the description of embodiments of the present invention, it should be noted that unless otherwise clearly defined and limited, term " install ", " being connected ", " connection " should be interpreted broadly, and connect for example, it may be fixing, it is also possible to be to removably connect, or one Body ground connects;Can be mechanically connected, it is also possible to be electrical connection or can mutually communication;Can be to be joined directly together, it is also possible to logical Cross intermediary to be indirectly connected to, can be connection or the interaction relationship of two elements of two element internals.For ability For the those of ordinary skill in territory, above-mentioned term specifically containing in embodiments of the present invention can be understood as the case may be Justice.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it On " " or D score can include that the first and second features directly contact, it is also possible to include that the first and second features are not directly to connect Touch but by the other characterisation contact between them.And, fisrt feature second feature " on ", " top " and " on Face " include fisrt feature directly over second feature and oblique upper, or it is special higher than second to be merely representative of fisrt feature level height Levy.Fisrt feature second feature " under ", " lower section " and " below " include that fisrt feature is directly over second feature and tiltedly on Side, or it is merely representative of fisrt feature level height less than second feature.
Following disclosure provides many different embodiments or example for realizing embodiments of the present invention not Same structure.In order to simplify the disclosure of embodiments of the present invention, hereinafter parts and setting to specific examples are described.When So, they are the most merely illustrative, and are not intended to limit the present invention.Additionally, embodiments of the present invention can be in different examples Repeat reference numerals and/or reference letter in son, this repetition is for purposes of simplicity and clarity, and itself does not indicate and is begged for Relation between the various embodiments of opinion and/or setting.Additionally, the various specific technique that embodiments of the present invention provide With the example of material, but those of ordinary skill in the art are it can be appreciated that the making of the application of other techniques and/or other materials With.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implement Mode ", " example ", the description of " concrete example " or " some examples " etc. mean to combine described embodiment or example describes tool Body characteristics, structure, material or feature are contained at least one embodiment or the example of the present invention.In this manual, The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.And, the specific features of description, knot Structure, material or feature can combine in any one or more embodiments or example in an appropriate manner.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of embodiments of the present invention can use hardware, software, firmware or combinations thereof to come in fact Existing.In the above-described embodiment, multiple steps or method can be with storing in memory and by suitable instruction execution system The software or the firmware that perform realize.Such as, if realized with hardware, with the most the same, available ability Any one or their combination in following technology known to territory realize: have for data signal is realized logic function The discrete logic of logic gates, has the special IC of suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in various embodiments of the present invention can integrated in a processor, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
Although above it has been shown and described that embodiments of the invention, it is to be understood that above-described embodiment is example Property, it is impossible to being interpreted as limitation of the present invention, those of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, revises, replaces and modification.

Claims (14)

1. a control method, for controlling the brightness of display screen of electronic installation, it is characterised in that described electronic installation includes the One camera module and the second camera module, described first camera module and described second camera module are positioned at described electronic installation Not homonymy;Described control method includes:
Rate-determining steps, controls described first camera module and takes pictures to obtain first environment image, and control described second shooting mould Group takes pictures to obtain second environment image;
Calculation procedure, according to the first mean flow rate of described first environment image computing environment, and according to described second environment figure The second mean flow rate as computing environment;
Relatively described first mean flow rate and described second mean flow rate;
Described brightness of display screen is regulated according to the greater in described first mean flow rate and described second mean flow rate.
2. control method as claimed in claim 1, it is characterised in that described control method includes:
The described rate-determining steps of triggering is inputted according to user.
3. control method as claimed in claim 1, it is characterised in that described first camera module is arranged on described electronic installation The upper side identical with described display screen, described second camera module arranges opposing with described display screen on said electronic device Side.
4. control method as claimed in claim 3, it is characterised in that described electronic installation also includes aspect sensor, described Aspect sensor for sense described display screen towards;Described control method includes:
Calculate described display screen towards amplitude of variation;And
Whether it is more than predetermined amplitude towards amplitude of variation and triggers described rate-determining steps when being judged as YES described in judging.
5. control method as claimed in claim 1, it is characterised in that described first environment image and second environment image are Rgb format;Described intensity calculating step includes:
Described first environment image and described second environment image are converted into HSL form;
Calculate in described first environment image the meansigma methods of the brightness value of each pixel to obtain described first mean flow rate, and meter Calculate in described second environment image the meansigma methods of the brightness value of each pixel to obtain described second mean flow rate.
6. control method as claimed in claim 1, it is characterised in that described first environment image includes continuous multiple frames, described Second environment image includes that continuous multiple frames, described intensity calculating step include:
Calculate the first average brightness value of first environment image described in every frame, and calculate described in every frame the second of second environment image Average brightness value;And
Calculate the meansigma methods of described first average brightness value and as described first mean flow rate, and calculate described second the brightest The meansigma methods of angle value as described second mean flow rate.
7. control a device, for controlling the brightness of display screen of electronic installation, it is characterised in that described electronic installation includes the One camera module and the second camera module, described first camera module and described second camera module are positioned at described electronic installation Not homonymy;Described control device includes:
Control module, is used for controlling described first camera module and takes pictures to obtain first environment image, and controls described second and take the photograph As module takes pictures to obtain second environment image;
Computing module, for the first mean flow rate according to described first environment image computing environment, and according to described second ring Second mean flow rate of border image computing environment;
Comparison module, for relatively described first mean flow rate and described second mean flow rate;And
Adjustment module, for according to the bigger described display of regulation in described first mean flow rate and described second mean flow rate Screen brightness.
Control device the most as claimed in claim 7, it is characterised in that described control device includes:
Input module, for inputting the described control module of triggering according to user.
Control device the most as claimed in claim 7, it is characterised in that described first camera module is arranged on described electronic installation The upper side identical with described display screen, described second camera module arranges opposing with described display screen on said electronic device Side.
Control device the most as claimed in claim 9, it is characterised in that described electronic installation also includes aspect sensor, described Aspect sensor for sense described display screen towards;Described control device includes:
Magnitude computation module, for calculate described display screen towards amplitude of variation;
Amplitude judge module, be used for judging described towards amplitude of variation whether more than predetermined amplitude and trigger institute when being judged as YES State control module.
11. control device as claimed in claim 7, it is characterised in that described first environment image and second environment image are Rgb format;Described brightness calculation module includes:
Transformant module, for being converted into HSL form by described first environment image and described second environment image;
First calculating sub module, for calculating in described first environment image the meansigma methods of the brightness value of each pixel to obtain State the first mean flow rate, and calculate in described second environment image the meansigma methods of the brightness value of each pixel to obtain described second Mean flow rate.
12. control device as claimed in claim 7, it is characterised in that described first environment image includes continuous multiple frames, described Second environment image includes that continuous multiple frames, described brightness calculation module include:
Second calculating sub module, for calculating the first average brightness value of first environment image described in every frame, and is used for calculating often Second average brightness value of second environment image described in frame;And
3rd calculating sub module, for calculating the meansigma methods of described first average brightness value and as described first mean flow rate, And for calculating the meansigma methods of described second average brightness value and as described second mean flow rate.
13. control device as claimed in claim 7, it is characterised in that described electronic installation includes mobile phone or panel computer.
14. 1 kinds of electronic installations, it is characterised in that include the first camera module, the second camera module and such as claim 7-13 Control device described in any one.
CN201610506513.9A 2016-06-28 2016-06-28 Control method, control device and electronic device Expired - Fee Related CN106128414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610506513.9A CN106128414B (en) 2016-06-28 2016-06-28 Control method, control device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610506513.9A CN106128414B (en) 2016-06-28 2016-06-28 Control method, control device and electronic device

Publications (2)

Publication Number Publication Date
CN106128414A true CN106128414A (en) 2016-11-16
CN106128414B CN106128414B (en) 2019-03-05

Family

ID=57467721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610506513.9A Expired - Fee Related CN106128414B (en) 2016-06-28 2016-06-28 Control method, control device and electronic device

Country Status (1)

Country Link
CN (1) CN106128414B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111028675A (en) * 2019-12-24 2020-04-17 维沃移动通信有限公司 Electronic equipment and control method for brightness of display screen of electronic equipment
CN112289279A (en) * 2020-11-05 2021-01-29 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327148A (en) * 2013-06-28 2013-09-25 惠州Tcl移动通信有限公司 Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal
CN104700816A (en) * 2015-01-08 2015-06-10 小米科技有限责任公司 Method and device for setting screen brightness
US20160005362A1 (en) * 2015-09-08 2016-01-07 Mediatek Inc. Determination Of Optical Condition And Adjustment Of Display
CN105425905A (en) * 2015-10-30 2016-03-23 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327148A (en) * 2013-06-28 2013-09-25 惠州Tcl移动通信有限公司 Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal
CN104700816A (en) * 2015-01-08 2015-06-10 小米科技有限责任公司 Method and device for setting screen brightness
US20160005362A1 (en) * 2015-09-08 2016-01-07 Mediatek Inc. Determination Of Optical Condition And Adjustment Of Display
CN105425905A (en) * 2015-10-30 2016-03-23 联想(北京)有限公司 Information processing method and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111028675A (en) * 2019-12-24 2020-04-17 维沃移动通信有限公司 Electronic equipment and control method for brightness of display screen of electronic equipment
CN112289279A (en) * 2020-11-05 2021-01-29 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106128414B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN105957499B (en) Control method, control device and electronic device
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
CN101419498B (en) Operation input device
CN106293059A (en) Control method and control device
CN108021161A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN106097953A (en) Control method and control device
CN101740005B (en) Display control apparatus and display control method
CN104488019B (en) Image display device and method
CN107945766A (en) Display device
CN101458921B (en) Brightness regulating method and apparatus for display and computer thereof
CN105450932B (en) Backlight photographic method and device
CN105959490A (en) Control method, control device and electronic device
CN109478331A (en) Display device and method for image procossing
CN107257438A (en) Take pictures based reminding method, device, terminal and computer-readable storage medium
CN107179889A (en) Interface color conditioning method, webpage color conditioning method and device
CN106448541A (en) Control method and control device
CN110378246A (en) Ground detection method, apparatus, computer readable storage medium and electronic equipment
CN106228945A (en) Control method and control device
CN105931614A (en) Control method, control device and electronic device
CN105489192A (en) Display with image automatic optimization function and image adjusting method thereof
CN110275612A (en) Brightness adjusting method, device, electronic equipment and storage medium
JP2015532041A (en) Backlight correction method, apparatus and terminal
CN106200935A (en) Control method, control device and electronic installation
CN106548765A (en) Screen luminance adjustment method and device
CN106128414A (en) Control method, control device and electronic installation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523859 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190305

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