A kind of mobile terminal and camera control method thereof
Technical field
The present invention relates to shooting technology field, particularly relate to a kind of mobile terminal and camera control method thereof.
Background technology
Along with the development of mobile terminal, mobile terminal has been increasingly becoming requisite one way of life in people's daily life
Instrument.When user uses mobile terminal, have a kind of such use scene, owing to surrounding is too dark, cause working as user
When light uses front-facing camera to take pictures than in the environment of dark, effectiveness comparison of often taking pictures is poor, as when user is relatively
When the scenes such as dark indoor or cavern are autodyned, the photo effect also ratio often taken is dark, it is impossible to meet the need of user
Ask.
Summary of the invention
In view of this, a kind of mobile terminal of offer and camera control method thereof are provided, can solve to compare at light
Use front-facing camera to take pictures when taking pictures the problem of weak effect in the environment of An, improve the effect of taking pictures of front-facing camera,
Promote the experience of user.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention provides a kind of mobile terminal, described mobile terminal includes:
Detector unit, is used for detecting front-facing camera and post-positioned pick-up head is opened the most simultaneously;
Acquiring unit, for obtaining the first photometric data of post-positioned pick-up head;
Light filling unit, the light-metering of the picture of finding a view for obtaining based on described first photometric data regulation front-facing camera
Value;
Control unit, for control described front-facing camera based on regulation after light value to described find a view in picture enter
Row is taken pictures.
In such scheme, alternatively, described mobile terminal also includes:
Judging unit, is used for after described detector unit detects front-facing camera and post-positioned pick-up head is opened simultaneously,
Judge whether the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records is less than
First predetermined luminance threshold;If less than described first predetermined luminance threshold, notifying that described post-positioned pick-up head records the first light-metering number
According to;And/or judge the current environmental light brightness of the display screen direction of described mobile terminal that described front-facing camera records
Whether higher than the second predetermined luminance threshold;If higher than described second predetermined luminance threshold, notify that described post-positioned pick-up head records the
One photometric data.
In such scheme, alternatively, described light filling unit, it is additionally operable to:
Automatically described first photometric data is fed back to finding a view in picture of described front-facing camera;
Utilize described first photometric data that described picture of finding a view is carried out light-metering location, make described front-facing camera clap
The photometric data of image institute foundation is consistent with the first photometric data measured by described post-positioned pick-up head.
In such scheme, alternatively, described light filling unit, it is additionally operable to:
When the first operation being detected, finding a view in picture of the described post-positioned pick-up head that acquisition determines according to described first operation
First area;Wherein, described first operation determines the second photometric data for instruction according to input operation;
The second photometric data that described first area is corresponding is obtained from described first photometric data;
Utilize described second photometric data described front-facing camera is found a view picture to carry out light-metering location, make described preposition
The photometric data of the image institute foundation that photographic head is clapped is consistent with described second photometric data.
In such scheme, alternatively, described mobile terminal also includes:
Display unit, for showing the picture and described rearmounted take the photograph of finding a view of described front-facing camera the most simultaneously
Picture of finding a view as head;The picture of finding a view of described post-positioned pick-up head is shown in the light-metering frame that described front-facing camera is corresponding, logical
Cross the first area that the picture of finding a view of described post-positioned pick-up head chosen by mobile described light-metering frame.
Present invention also offers a kind of camera control method, be applied to mobile terminal, described method includes:
Detect when front-facing camera and post-positioned pick-up head are opened simultaneously,
Obtain the first photometric data of post-positioned pick-up head;
Light value based on the picture of finding a view that described first photometric data regulation front-facing camera obtains, and find a view to described
Picture is taken pictures.
In such scheme, alternatively, described in detect that front-facing camera and post-positioned pick-up head are opened simultaneously after, described side
Method also includes:
Judge the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records
Whether less than the first predetermined luminance threshold;
If less than described first predetermined luminance threshold, notifying that described post-positioned pick-up head records the first photometric data.
And/or
Judge the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records
Whether higher than the second predetermined luminance threshold;
If higher than described second predetermined luminance threshold, notifying that described post-positioned pick-up head records the first photometric data.
In such scheme, alternatively, the described picture of finding a view obtained based on described first photometric data regulation front-facing camera
The light value in face, including:
Automatically described first photometric data is fed back to finding a view in picture of described front-facing camera;
Utilize described first photometric data that described picture of finding a view is carried out light-metering location, make described front-facing camera clap
The photometric data of image institute foundation is consistent with the first photometric data measured by described post-positioned pick-up head.
In such scheme, alternatively, the described picture of finding a view obtained based on described first photometric data regulation front-facing camera
The light value in face, including:
When the first operation being detected, show the most simultaneously described front-facing camera find a view picture and described after
Put the picture of finding a view of photographic head;Wherein, described first operation determines the second photometric data for instruction according to input operation;
Obtain the first area finding a view in picture of the described post-positioned pick-up head determined according to described first operation;
The second photometric data that described first area is corresponding is obtained from described first photometric data;
Utilize described second photometric data described front-facing camera is found a view picture to carry out light-metering location, make described preposition
The photometric data of the image institute foundation that photographic head is clapped is consistent with described second photometric data.
In such scheme, alternatively, described method also includes:
The picture of finding a view of described post-positioned pick-up head is shown, by mobile institute in the light-metering frame that described front-facing camera is corresponding
State the first area that the picture of finding a view of described post-positioned pick-up head chosen by light-metering frame.
A kind of mobile terminal provided by the present invention and camera control method thereof, detect front-facing camera and rearmounted shooting
When head is opened simultaneously, obtain the first photometric data of post-positioned pick-up head;Preposition take the photograph based on described first photometric data regulation is described
Light value as the picture of finding a view of head;Control described front-facing camera to enter in described picture of finding a view based on the light value after regulation
Row is taken pictures;So, based on described first photometric data front-facing camera found a view and picture is taken pictures, solve at least
Use front-facing camera to take pictures when taking pictures the problem of weak effect in the environment of light is too stronger than dark or light, improve preposition
The effect of taking pictures of photographic head, promotes the experience of user.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The camera control method that Fig. 3 provides for the embodiment of the present invention realize schematic flow sheet one;
The camera control method that Fig. 4 provides for the embodiment of the present invention realize schematic flow sheet two;
A kind of startup that Fig. 5 provides for the embodiment of the present invention presets the schematic diagram applied;
Front-facing camera is found a view picture by the post-positioned pick-up head that Fig. 6 provides for the embodiment of the present invention based on overall photometric data
Face carries out the schematic diagram of light filling;
The post-positioned pick-up head photometric data based on regional area that Fig. 7 provides for the embodiment of the present invention is to front-facing camera
Picture of finding a view carries out the schematic diagram of light filling;
The composition structural representation one of the mobile terminal that Fig. 8 provides for the embodiment of the present invention;
The composition structural representation two of the mobile terminal that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
In order to more fully hereinafter understand feature and the technology contents of the embodiment of the present invention, below in conjunction with the accompanying drawings to this
The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the embodiment of the present invention.
The terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use is used for
Represent the suffix of such as " module ", " parts " or " unit " of element only for the explanation of the beneficially embodiment of the present invention, its
Body does not has specific meaning.Therefore, " module ", " parts " or " unit " can mixedly use.
Terminal can be implemented in a variety of manners.Such as, the terminal described in the embodiment of the present invention can include such as moving
Mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA, Personal Digital
Assistant), panel computer (PAD), portable media player (PMP, Portable Media Player), navigation dress
The terminal put etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.
However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose, according to the enforcement of the present invention
The structure of mode can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include audio/video (A/V) input block 120, user input unit 130, output unit
150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows have various assembly
Mobile terminal, it should be understood that be not required for implementing all assemblies illustrated.Can alternatively implement more or less of
Assembly.Will be discussed in more detail below the element of mobile terminal.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He
Mike 1220, the camera 121 static map to being obtained by image capture apparatus in Video Capture pattern or image capture mode
The view data of sheet or video processes.Picture frame after process may be displayed on display unit 151.At camera 121
Picture frame after reason can be stored in memorizer 160 (or other storage medium), can provide according to the structure of mobile terminal
Two or more cameras 1210.Mike 122 can run at telephone calling model, logging mode, speech recognition mode etc.
Pattern receives sound (voice data) via mike, and can be voice data by such acoustic processing.Mike
122 can implement various types of noise eliminates (or suppression) algorithm and is receiving to eliminate (or suppression) and sending audio signal
During produce noise or interference.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100
Kind of information and can include subscriber identification module (UIM, User Identify Module), client identification module (SIM,
Subscriber Identity Module), Universal Subscriber identification module (USIM, Universal Subscriber
Identity Module) etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can take intelligence
The form of card, therefore, identifies that device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170
May be used for receive from external device (ED) input (such as, data message, electric power etc.) and will receive input transmission
One or more elements in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it
Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it
It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100
During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate
Download etc.) relevant user interface (UI, User Interface) or graphic user interface (GUI, Graphical User
Interface).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can show
Show image and/or the image of reception, UI or GUI illustrating video or image and correlation function etc. of capture.
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit
151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD, Liquid
Crystal Display), thin film transistor (TFT) LCD (TFT-LCD, Thin Film Transistor-LCD), organic light-emitting diodes
In pipe (OLED, Organic Light-Emitting Diode) display, flexible display, three-dimensional (3D) display etc.
At least one.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as
Transparent display, typical transparent display can for example, transparent organic light emitting diode (TOLED) display etc..According to
The specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), example
As, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for examining
Survey touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode,
Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160
The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile
The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant.
Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical event is permissible
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit
153 can provide output with the generation of notification event in a different manner.Such as, alarm unit 153 can be with the form of vibration
Output is provided, when receiving calling, message or some other entrance communication (incoming communication), alarm list
Unit 153 can provide sense of touch output (that is, vibration) to notify to user.By providing such sense of touch to export, even if
When the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 is also
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can
The data (such as, telephone directory, message, still image, video etc.) that maybe will export have been exported temporarily to store.And
And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal
Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many
Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM, Random Access
Memory), static random-access memory (SRAM, Static Random Access Memory), read only memory (ROM,
Read Only Memory), Electrically Erasable Read Only Memory (EEPROM, Electrically Erasable
Programmable Read Only Memory), programmable read only memory (PROM, Programmable Read Only
Memory), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network
The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data
Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that with control
Device 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC
(ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital
Signal Processing), digital signal processing device (DSPD, Digital Signal Processing Device), can
Programmed logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field
Programmable Gate Array), processor, controller, microcontroller, microprocessor, be designed to perform described herein
Function electronic unit at least one implement, in some cases, such embodiment can be at controller 180
Middle enforcement.Implementing for software, the embodiment of such as process or function can perform at least one function or operation with permission
Single software module implement.Software code can be by the software application write with any suitable programming language
(or program) is implemented, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2, the communication system that mobile terminal the most according to embodiments of the present invention is operable to is described.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use
Air interface includes such as frequency division multiple access (FDMA, Frequency Division Multiple Access), time division multiple acess
(TDMA, Time Division Multiple Access), CDMA (CDMA, Code Division Multiple
And UMTS (UMTS, Universal Mobile Telecommunications System) is (special Access)
Not, Long Term Evolution (LTE, Long Term Evolution)), global system for mobile communications (GSM) etc..As unrestricted
Property example, explained below relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS, Base
270 Station), base station controller (BSC, Base Station Controller) 275 and mobile switching centre (MSC,
Mobile Switching Center)280.MSC280 is configured to and Public Switched Telephony Network (PSTN, Public
Switched Telephone Network) 290 formation interfaces.MSC280 is also structured to and can couple via back haul link
BSC275 to base station 270 forms interface.If back haul link can construct according to any one in the interface that Ganji knows, described
Interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that as shown in Figure 2
System can include multiple BSC275.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception
Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum
(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS, Base Transceiver Station) or other equivalent terms.In this case, term " base station "
May be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, special
The each subregion determining BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to by broadcsting transmitter (BT, Broadcast Transmitter) 295
The mobile terminal 100 of operation in system.As shown in Figure 1 broadcast reception module 111 is arranged on mobile terminal 100 and sentences and connect
Receive the broadcast singal sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 is helped
Help at least one positioned in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful
Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1
Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of
Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead
Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call
Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, in order to preferably serve user, allow users to
Use front-facing camera to take to obtain effective photo at light in the environment of dark, propose each embodiment of the inventive method.
Embodiment one
The camera control method that Fig. 3 provides for the embodiment of the present invention realize schematic flow sheet one, taking pictures in this example
Control method is applied to mobile terminal, as it is shown on figure 3, described camera control method mainly comprises the steps that
Step 301: detect when front-facing camera and post-positioned pick-up head are opened simultaneously, obtains the first survey of post-positioned pick-up head
Light data.
Here, described first photometric data includes: ambient light intensity, EV value etc..
Wherein, described EV value is generally determined with aperture index by shutter index;Described ambient light intensity is rearmounted shooting
The light intensity of the shooting environmental pointed by Tou.
Here, described first photometric data can be by described post-positioned pick-up head or the light-metering being connected with described post-positioned pick-up head
The light intensity of shooting environmental is detected and obtains by system.
In an optional embodiment, described in detect that front-facing camera and post-positioned pick-up head are opened simultaneously after, described
Method also includes:
Judge the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records
Whether less than the first predetermined luminance threshold;
If less than described first predetermined luminance threshold, notifying that described post-positioned pick-up head records the first photometric data.
It is to say, only when the brightness of the environment pointed by described front-facing camera is less than certain value, notify institute
State post-positioned pick-up head and record the first photometric data.
When the brightness of the environment pointed by described front-facing camera is higher than certain threshold value and less than the second predetermined luminance threshold
During value, the picture directly gathered front-facing camera according to the photometric data measured by described front-facing camera is taken pictures;
So, the photo taken is more true, more can reduce the environment scene of side pointed by front-facing camera at that time of taking pictures.
In an optional embodiment, described in detect that front-facing camera and post-positioned pick-up head are opened simultaneously after, described
Method also includes:
Judge the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records
Whether higher than the second predetermined luminance threshold;
If higher than described second predetermined luminance threshold, notifying that described post-positioned pick-up head records the first photometric data.
It is to say, when the brightness of the environment pointed by described front-facing camera is higher than the second predetermined luminance threshold,
Also notify that described post-positioned pick-up head records the first photometric data.
In an optional embodiment, described in detect when front-facing camera and post-positioned pick-up head are opened simultaneously, after acquisition
Put the first photometric data of photographic head, including:
Directly close the light measuring function of front-facing camera;
Notify that described post-positioned pick-up head records the first photometric data.
It is to say, detect when front-facing camera is opened, directly notify that described post-positioned pick-up head records the first light-metering number
According to.So, the picture that front-facing camera is gathered by the first photometric data measured by post-positioned pick-up head described in direct basis enters
Row is taken pictures;Make when light uses front-facing camera to take pictures than in the environment of dark, also will not be because of front-facing camera institute
The environment pointed to is dark and has influence on the effect of taking pictures of front-facing camera.
In actual applications, when mobile terminal receives the photographing instruction that user is sent by the first button, institute is controlled
State mobile terminal and open front-facing camera, show the picture of finding a view gathered by described front-facing camera on a display screen.
Step 302: regulate the light value of the picture of finding a view of described front-facing camera based on described first photometric data.
As a rule, front-facing camera is used to carry out the bat taken pictures than in the environment of dark to preferably be guaranteed in light
According to effect, the photometric data of finding a view of front-facing camera can be fitted along with the change of the light intensity of the environment pointed by post-positioned pick-up head
The change of answering property.
In an optional embodiment, the light value of the picture of finding a view of the described front-facing camera of described regulation, including:
Automatically described first photometric data is fed back to finding a view in picture of described front-facing camera;
Utilize described first photometric data that described picture of finding a view is carried out light-metering location, make described front-facing camera clap
The photometric data of image institute foundation is consistent with the first photometric data measured by described post-positioned pick-up head.
In a detailed description of the invention, post-positioned pick-up head obtains the picture of finding a view of better quality, records this and finds a view in picture
Regional or the light data of each point, based on regional or light data genaration first photometric data of each point;Then move
Described first photometric data region is fed back to front-facing camera to region or point-to-point mode and finds a view in picture by dynamic terminal,
Here, the picture of finding a view of post-positioned pick-up head is the most equal with the size of the picture of finding a view of front-facing camera;So, front-facing camera
Utilize described first photometric data described front-facing camera is found a view picture to carry out light-metering location, make described front-facing camera
Photometric data of finding a view is consistent with the overall photometric data measured by described post-positioned pick-up head.
For example, post-positioned pick-up head obtains the image of a size of 100 × 100;Described image is divided into 5 districts
Territory, zone line and be surrounded on the upper left corner area around described zone line, region, the lower left corner, upper right comer region and
Lower right field;The photometric data difference that each region is corresponding;Found a view picture by front-facing camera, described in find a view picture
Size be also 100 × 100, the image obtained corresponding to post-positioned pick-up head, picture of finding a view be also classified into size and
5 regions that shape is equal, the photometric data in each region corresponds respectively to corresponding post-positioned pick-up head and obtains the survey in image
Light data.So, find a view photometric data and the overall light-metering number measured by described post-positioned pick-up head of described front-facing camera are made
According to unanimously.
The most for example, post-positioned pick-up head obtains the image of a size of 100 × 100;Described image is divided into multiple
Pixel;The photometric data that each pixel is corresponding may be different;Found a view picture by front-facing camera, described in find a view picture
The size in face is also 100 × 100, the image obtained corresponding to post-positioned pick-up head, and picture of finding a view is also classified into multiple picture
Vegetarian refreshments, the photometric data of each pixel corresponds respectively to corresponding post-positioned pick-up head and obtains the photometric data in image.So,
The photometric data of finding a view making described front-facing camera is consistent with the overall photometric data measured by described post-positioned pick-up head.
In an optional embodiment, the described picture of finding a view regulating described front-facing camera based on described first photometric data
The light value in face, including:
When the first operation being detected, show the most simultaneously described front-facing camera find a view picture and described after
Put the picture of finding a view of photographic head;Wherein, described first operation determines the second photometric data for instruction according to input operation;
Obtain the first area finding a view in picture of the described post-positioned pick-up head determined according to described first operation;
The second photometric data that described first area is corresponding is obtained from described first photometric data;
Utilize described second photometric data described front-facing camera is found a view picture to carry out light-metering location, make described preposition
The photometric data of the image institute foundation that photographic head is clapped is consistent with the second photometric data measured by described post-positioned pick-up head.
Here, described first area be whole described in find a view the subregion of picture.
In a detailed description of the invention, when user is unsatisfactory for using the overall light-metering of post-positioned pick-up head to carry out preposition light-metering
During adjustment, the light-metering frame of removable front-facing camera, find a view in picture the of described post-positioned pick-up head is determined by light-metering frame
One region, obtains the second photometric data that described first area is corresponding from described first photometric data, surveys based on described second
Light data picture of finding a view described front-facing camera carries out light filling.
For example, post-positioned pick-up head obtains the image of a size of 100 × 100;Described image is divided into 5 districts
Territory, zone line and be surrounded on the upper left corner area around described zone line, region, the lower left corner, upper right comer region and
Lower right field;The photometric data difference that each region is corresponding, the brightness of zone line is significantly greater than other regions;By front
Put photographic head to find a view picture, described in the find a view size of picture be also 100 × 100, obtained corresponding to post-positioned pick-up head
Image, picture of finding a view is also classified into size and equal 5 regions of shape, the photometric data in each region correspondence respectively
Photometric data in corresponding post-positioned pick-up head obtains image;If user thinks other regions or dark, before can moving
Put the light-metering frame of photographic head, determined the zone line finding a view in picture of described post-positioned pick-up head by light-metering frame, from described
One photometric data obtains the second photometric data that described zone line is corresponding, based on described second photometric data to described preposition
The whole picture of finding a view of photographic head carries out light filling;So, the photometric data of finding a view making described front-facing camera rearmounted is taken the photograph with described
As the photometric data of the zone line measured by head is consistent, and then also contribute to meet use by front-facing camera acquisition brightness
The image of family demand.
In a detailed description of the invention, described method also includes:
The picture of finding a view of described post-positioned pick-up head is shown, by mobile institute in the light-metering frame that described front-facing camera is corresponding
State the first area that the picture of finding a view of described post-positioned pick-up head chosen by light-metering frame.
So, the light-metering frame that described front-facing camera is corresponding shows the picture of finding a view of described post-positioned pick-up head, convenient
User selects the first area that user chooses in advance, and selection course is simpler, clear.So so that finding a view of front-facing camera
Light-metering, according to the photometry region change of post-positioned pick-up head corresponding to light-metering frame, reaches to use the photometry region of post-positioned pick-up head to change
The purpose of the photometric data of front-facing camera.
Step 303: control described front-facing camera and based on the light value after regulation, described picture of finding a view is taken pictures.
Alternatively, described picture of finding a view is clapped by the described front-facing camera of described control based on the light value after regulation
According to, may include that
Control described front-facing camera based on the light value after regulation, the described part found a view in picture to be taken pictures.
Alternatively, described picture of finding a view is clapped by the described front-facing camera of described control based on the light value after regulation
According to, may include that
Control described front-facing camera based on the light value after regulation, picture of finding a view described in whole to be taken pictures.
So, it is possible to improve the effect of taking pictures of front-facing camera.
In embodiments of the present invention, detect when front-facing camera is opened, obtain the first photometric data of post-positioned pick-up head;
Light filling is carried out based on described first photometric data described front-facing camera found a view picture;Control described front-facing camera based on
Photometric data after light filling is taken pictures in described picture of finding a view;So, based on described first photometric data to preposition shooting
The picture of finding a view of head is taken pictures, solve at least and use front-facing camera in the environment of light is too stronger than dark or light
Take pictures when taking pictures the problem of weak effect, improve the effect of taking pictures of front-facing camera, improve the experience of user.
Embodiment two
The camera control method that Fig. 4 provides for the embodiment of the present invention realize schematic flow sheet two, taking pictures in this example
Control method is applied to mobile terminal, and as shown in Figure 4, described camera control method mainly comprises the steps that
Step 401: operate to start according to the selection of user and preset application.
Here, described default application can be understood as the application with positive and negative light measuring function.
Wherein, described positive and negative light measuring function refers to take front-facing camera according to the photometric data of post-positioned pick-up head
Scape picture carries out light filling.
During it is to say, only receive the selection operation of user, just start described default application.
Certainly, in another optional embodiment, mobile terminal detects when front-facing camera is opened, and automatically starts described
Preset application.
Fig. 5 shows a kind of schematic diagram starting and presetting application, as it is shown in figure 5, mobile terminal receives user clicks on institute
When stating the operation of default application icon, start described default application.
Step 402: utilize post-positioned pick-up head to record the first photometric data.
Specifically, post-positioned pick-up head carries out light-metering to the environment pointed by post-positioned pick-up head, generates the first photometric data.Institute
State the first photometric data and include environment illumination intensity, EV value etc..
Step 403: carry out light filling based on described first photometric data front-facing camera found a view picture.
Fig. 6 shows that a kind of post-positioned pick-up head carries out light filling based on overall photometric data picture of finding a view front-facing camera
Schematic diagram, as shown in Figure 6, post-positioned pick-up head obtains quality in preset range and preferably finds a view picture, records this picture of finding a view
Middle overall photometric data, then mobile terminal using described overall photometric data as the first photometric data, with region to region or
Point-to-point mode feeds back to the finding a view in picture of front-facing camera.
So, the light-metering of finding a view of front-facing camera is determined by the photometric data measured by post-positioned pick-up head.
Step 404: the first operation whether detected in judging Preset Time, if the first operation being detected, performs step
405;If being not detected by the first operation, perform step 407.
Wherein, described first operation determines the second photometric data for instruction according to input operation.
Step 405: obtain firstth district found a view in picture of the described post-positioned pick-up head determined according to described first operation
Territory, then performs step 406.
Step 406: obtain the second photometric data that described first area is corresponding from described first photometric data;Based on institute
State the second photometric data described front-facing camera is found a view picture and carry out light filling.
Fig. 7 shows that a kind of post-positioned pick-up head photometric data based on regional area picture of finding a view front-facing camera enters
The schematic diagram of row light filling, preferably finds a view picture, then basis as it is shown in fig. 7, post-positioned pick-up head obtains quality in preset range
The first area finding a view in picture of the described post-positioned pick-up head that described first operation determines, obtains described first area corresponding
Second photometric data;Light filling is carried out based on described second photometric data described front-facing camera found a view picture.Such as Fig. 7 institute
Showing, described light-metering frame can move, and shows the picture of finding a view acquired in post-positioned pick-up head, example on the display screen of mobile terminal
As, user can according to demand described light-metering be frameed shift move to described in find a view in picture a part of region, described light-metering frame is permissible
Amplification can also be reduced, and then can draw a circle to approve the first area selected by user more accurately.
So, the light-metering survey by the subregion found a view in picture measured by post-positioned pick-up head of finding a view of front-facing camera
Light data determine.
Step 407: control described front-facing camera based on the photometric data after light filling in described picture of finding a view at least
A part is taken pictures.
For example, when user selects to preset application, operations described below can be performed:
The first step: user " presets application " by click on terminal desktop, and button selects to open positive and negative light measuring function.
Specifically, after receiving above-mentioned clicking operation, the positive and negative light measuring function function of system opens positive and negative light measuring function, real
Time detection user whether be currently in use front-facing camera and take pictures.
It is, of course, also possible to the shortcut of described " presetting application " button is put on the main interface of camera applications, so, exist
After opening camera applications, positive and negative light measuring function can be opened in more convenient and quicker ground.
Second step: after opening this positive and negative light measuring function, detects that user puts photographic head when taking pictures before use, mobile
Terminal calls positive and negative light measuring function function automatically, uses post-positioned pick-up head to carry out light-metering, is preserved by the first photometric data recorded.
3rd step: after mobile terminal obtains the first photometric data of post-positioned pick-up head, according to described first photometric data
Light-metering of finding a view front-facing camera is adjusted.
4th step: when user is unsatisfactory for using rearmounted overall light-metering to be adjusted preposition light-metering, removable preposition
The light-metering frame of photographic head, when mobile light-metering frame, calls drafting function, by rearmounted photometry region corresponding for light-metering frame with diplopia
Situation is temporarily illustrated in preposition finding a view, and the most temporarily shows the picture of finding a view that post-positioned pick-up head obtains, as it is shown in fig. 7, user can
To be chosen a certain region in the photometry region of post-positioned pick-up head by mobile light-metering frame, it is thus achieved that described some region of light-metering number
According to, this photometric data is delivered to preposition finding a view simultaneously and draws so that preposition light-metering of finding a view is corresponding according to light-metering frame
Rearmounted photometry region changes and changes, and reaches the purpose using rearmounted photometry region to change preposition light-metering.
In embodiments of the present invention, can operate according to the selection of user and start default application, by more weak for light-metering ability originally
Front-facing camera use post-positioned pick-up head photometric data carry out light filling so that energy on the lightness that front-facing camera is taken
Reach whole machine balancing state, it is also possible to carry out light-metering according to the personal like of user so that user has more preferable Consumer's Experience, also
Add playability and the interest of user.
Embodiment three
The composition structural representation one of the mobile terminal that Fig. 8 provides for the embodiment of the present invention, as shown in Figure 8, described movement
Terminal includes detector unit 81, acquiring unit 82, light filling unit 83 and control unit 84;Wherein,
Described detector unit 81, is used for detecting front-facing camera and post-positioned pick-up head is opened the most simultaneously;
Described acquiring unit 82, for obtaining the first photometric data of post-positioned pick-up head;
Described light filling unit 83, for regulating the picture of finding a view of described front-facing camera based on described first photometric data
Light value;
Described control unit 84, for controlling described front-facing camera based on the light value after regulation to described picture of finding a view
Take pictures.
In one embodiment, described mobile terminal also includes:
In described detector unit 81, judging unit 85, for detecting that front-facing camera and post-positioned pick-up head open it simultaneously
After, it is judged that the current environmental light brightness of the display screen direction of the described mobile terminal that described front-facing camera records is the lowest
In the first predetermined luminance threshold;If less than described first predetermined luminance threshold, notifying that described post-positioned pick-up head records the first light-metering
Data;And/or judge the current environment light of the display screen direction of described mobile terminal that described front-facing camera records
Whether degree is higher than the second predetermined luminance threshold;If higher than described second predetermined luminance threshold, notifying that described post-positioned pick-up head records
First photometric data.
In an optional embodiment, described light filling unit 83, it is additionally operable to:
Automatically described first photometric data is fed back to finding a view in picture of described front-facing camera;
Utilize described first photometric data that described picture of finding a view is carried out light-metering location, make described front-facing camera clap
The photometric data of image institute foundation is consistent with the first photometric data measured by described post-positioned pick-up head.
In an optional embodiment, described light filling unit 83, it is additionally operable to:
When the first operation being detected, finding a view in picture of the described post-positioned pick-up head that acquisition determines according to described first operation
First area;Wherein, described first operation determines the second photometric data for instruction according to input operation;
The second photometric data that described first area is corresponding is obtained from described first photometric data;
Utilize described second photometric data described front-facing camera is found a view picture to carry out light-metering location, make described preposition
The photometric data of the image institute foundation that photographic head is clapped is consistent with the second photometric data measured by described post-positioned pick-up head.
In an embodiment example, described mobile terminal also includes:
Display unit 86, for showing the picture and described rearmounted of finding a view of described front-facing camera the most simultaneously
The picture of finding a view of photographic head;The picture of finding a view of described post-positioned pick-up head is shown in the light-metering frame that described front-facing camera is corresponding,
The first area of the picture of finding a view of described post-positioned pick-up head is chosen by mobile described light-metering frame.
It will be appreciated by those skilled in the art that each processing unit in the mobile terminal shown in Fig. 8 realizes function, can
Understand with reference to the associated description of aforementioned camera control method.It will be appreciated by those skilled in the art that the mobile terminal shown in Fig. 8
Middle each processing unit, can be realized by the program that runs on processor, it is possible to realized by specifically logic circuit.
Detector unit 81, acquiring unit 82, light filling unit 83 and control in mobile terminal described in various embodiments above
Unit 84, concrete structure in actual applications may both correspond to processor.The concrete structure of described processor can be central authorities
Processor (CPU, Central Processing Unit), microprocessor (MCU, Micro Controller Unit), numeral
Signal processor (DSP, Digital Signal Processing) or PLD (PLC, Programmable
Logic Controller) etc. have and process the electronic devices and components of function or the set of electronic devices and components.Wherein, described processor
Including executable code, described executable code is stored in storage medium, and described processor can be connect by communications such as buses
Mouth is connected in described storage medium, when performing the corresponding function of concrete each unit, reads also from described storage medium
Run described executable code.Described storage medium is preferably the storage of non-moment for the part storing described executable code and is situated between
Matter.
Mobile terminal described in the present embodiment, solve at least use in the environment of light is too stronger than dark or light preposition
Take pictures when photographic head is taken pictures the problem of weak effect, improve the effect of taking pictures of front-facing camera, promote the experience of user.
Embodiment four
The composition structural representation two of the mobile terminal that Fig. 9 provides for the embodiment of the present invention, as it is shown in figure 9, described movement
Terminal includes sensor 91 and processor 92;Wherein,
Sensor 91, is used for detecting front-facing camera and post-positioned pick-up head is opened the most simultaneously;
Processor 92, for obtaining the first photometric data of post-positioned pick-up head;Institute is regulated based on described first photometric data
State the light value of the picture of finding a view of front-facing camera;Control described front-facing camera to take described based on the photometric data after regulation
Scape picture is taken pictures.
In one embodiment, described processor 92, it is additionally operable to:
After detecting that front-facing camera and post-positioned pick-up head are opened simultaneously, it is judged that it is described that described front-facing camera records
Whether the current environmental light brightness of the display screen direction of mobile terminal is less than the first predetermined luminance threshold;If less than described the
One predetermined luminance threshold, notifies that described post-positioned pick-up head records the first photometric data;And/or, it is judged that described front-facing camera is surveyed
Whether the current environmental light brightness of the display screen direction of the described mobile terminal obtained is higher than the second predetermined luminance threshold;If it is high
In described second predetermined luminance threshold, notify that described post-positioned pick-up head records the first photometric data.
As an optional embodiment, described processor 92, it is additionally operable to:
Automatically described first photometric data is fed back to finding a view in picture of described front-facing camera;
Utilize described first photometric data that described picture of finding a view is carried out light-metering location, make described front-facing camera clap
The photometric data of image institute foundation is consistent with the first photometric data measured by described post-positioned pick-up head.
As an optional embodiment, described processor 92, it is additionally operable to:
When the first operation being detected, finding a view in picture of the described post-positioned pick-up head that acquisition determines according to described first operation
First area;Wherein, described first operation determines the second photometric data for instruction according to input operation;
The second photometric data that described first area is corresponding is obtained from described first photometric data;
Utilize described second photometric data described front-facing camera is found a view picture to carry out light-metering location, make described preposition
The photometric data of the image institute foundation that photographic head is clapped is consistent with the second photometric data measured by described post-positioned pick-up head.
As an optional embodiment, described processor 92, it is additionally operable to:
Show the picture of finding a view of find a view picture and the described post-positioned pick-up head of described front-facing camera the most simultaneously
Face;The picture of finding a view of described post-positioned pick-up head is shown, by mobile described survey in the light-metering frame that described front-facing camera is corresponding
The first area of the picture of finding a view of described post-positioned pick-up head chosen by light frame.
It will be appreciated by those skilled in the art that each processing unit in the mobile terminal shown in Fig. 9 realizes function, can
Understand with reference to the associated description of aforementioned camera control method.
In actual applications, described processor 92 can be realized by CPU, DSP or FPGA in described mobile terminal etc..
Mobile terminal described in the present embodiment, solve at least use in the environment of light is too stronger than dark or light preposition
Take pictures when photographic head is taken pictures the problem of weak effect, improve the effect of taking pictures of front-facing camera, promote the experience of user.
Between technical scheme described in the embodiment of the present invention, in the case of not conflicting, can be in any combination.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Ke Yitong
The mode crossing other realizes.Apparatus embodiments described above is only schematically, such as, and the division of described unit, only
Being only a kind of logic function to divide, actual can have other dividing mode, such as when realizing: multiple unit or assembly can be tied
Close, or be desirably integrated into another system, or some features can be ignored, or do not perform.It addition, shown or discussed each group
The coupling each other of one-tenth part or direct-coupling or communication connection can be indirect by some interfaces, equipment or unit
Coupling or communication connection, can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, it is also possible to be distributed to multiple network list
In unit;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in second processing unit,
Can also be that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;
Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is real
Existing.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.