CN108307123A - A kind of exposure adjustment method and mobile terminal - Google Patents
A kind of exposure adjustment method and mobile terminal Download PDFInfo
- Publication number
- CN108307123A CN108307123A CN201810058434.5A CN201810058434A CN108307123A CN 108307123 A CN108307123 A CN 108307123A CN 201810058434 A CN201810058434 A CN 201810058434A CN 108307123 A CN108307123 A CN 108307123A
- Authority
- CN
- China
- Prior art keywords
- depth
- preview image
- block
- weight
- field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of exposure adjustment method and mobile terminal, which includes:The depth of view information of the preview image of camera acquisition is obtained, the depth of view information includes including each depth of field of block and the correspondence of weight in the preview image;Obtain the depth of field of the focusing block of the preview image;According to the depth of field of the depth of view information and the focusing block, the dynamic light metering weight of each block is generated;According to the brightness of image of the dynamic light metering weight and the preview image of each block, the exposure value of the preview image is adjusted, can realize that survey light is more accurate, so that the exposure of different scenes is more in line with user demand, to promote user experience.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of exposure adjustment methods and mobile terminal.
Background technology
It is universal with mobile device, camera function in mobile device it is more and more, slowly replace card camera
Epoch.User is higher and higher to the quality requirement for imaging of taking pictures simultaneously, because the limitation of mobile device feature itself, at present can not
The optical zoom and aperture size for accomplishing good result can adjust at any time.It is limited by these hardware, if to have good
Side image quality, equipment manufacturers can only carry out endless exploration in software algorithm, find the deficiency that can overcome the disadvantages that on hardware.
In general, in exposure, a basis of whole photo has been established in accurately exposure, accurately exposure on condition that
It needs accurately to survey light.Most equipment is all fixed several Exposure Meterings at present, is selected for different a few class scenes different
Side light metering weight carries out survey light.
However, single side Exposure Metering cannot accomplish the accurate survey light of all scenes, this just has certain scenes and can not do
Light is surveyed to accurate, for example center weight surveys light, it is not just so accurate to survey light to seascape side, and seascape has sea to have sky,
This scene, which needs to provide different light metering weights just to sea and sky, can accomplish more accurately to survey light.Therefore, if surveying
Light strategy is too single, cannot be to covering all scenes, it may appear that it is inaccurate that certain scenes survey light.
Invention content
A kind of exposure adjustment method of offer of the embodiment of the present invention and mobile terminal cause to expose to solve to survey light inaccuracy
Also inaccurate problem.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, a kind of exposure adjustment method is provided, including:
The depth of view information of the preview image of camera acquisition is obtained, the depth of view information includes every in the preview image
The depth of field of a block and the correspondence of weight;
Obtain the depth of field of the focusing block of the preview image;
According to the depth of field of the depth of view information and the focusing block, the dynamic light metering weight of each block is generated;
According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview graph is adjusted
The exposure value of picture.
Second aspect provides a kind of mobile terminal, including:
First acquisition module, obtains the depth of view information of the preview image of camera acquisition, and the depth of view information includes described
Each depth of field of block and the correspondence of weight in preview image;
Second acquisition module obtains the depth of field of the focusing block of the preview image;
Generation module, according to the depth of field of the depth of view information and the focusing block, the dynamic for generating each block surveys light
Weight;
Module is adjusted, according to the brightness of image of the dynamic light metering weight and the preview image of each block, adjustment
The exposure value of the preview image.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium
Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor
Suddenly.
In embodiments of the present invention, by obtaining the depth of view information of the preview image of camera acquisition, the depth of view information
Including each depth of field of block and the correspondence of weight in the preview image;Obtain the focusing block of the preview image
The depth of field;According to the depth of field of the depth of view information and the focusing block, the dynamic light metering weight of each block is generated;According to described
The brightness of image of the dynamic light metering weight and the preview image of each block, adjusts the exposure value of the preview image, can
Realize that survey light is more accurate, so that the exposure of different scenes is more in line with user demand, to promote user experience.
Description of the drawings
Fig. 1 is the schematic flow chart of the exposure adjustment method of one embodiment of the present of invention.
Fig. 2A is the schematic diagram of the center weight of center weight method.
Fig. 2 B are the schematic diagrames of the dynamic light metering weight of one embodiment of the present of invention.
Fig. 3 A are the schematic diagrames of the average weight of average weight method.
The schematic diagram of the dynamic light metering weight of Fig. 3 B an alternative embodiment of the invention.
Fig. 4 is the detailed schematic flow chart of the step 140 of Fig. 1.
Fig. 5 is the schematic flow chart of the exposure adjustment method of an alternative embodiment of the invention.
Fig. 6 is the structural schematic diagram of mobile terminal according to an embodiment of the invention.
Fig. 7 is the structural schematic diagram of mobile terminal in accordance with another embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Fig. 1 is the schematic flow chart of the exposure adjustment method of one embodiment of the present of invention.As shown in Figure 1, exposure is adjusted
Adjusting method includes:
Step 110, the depth of view information of the preview image of camera acquisition is obtained, the depth of view information includes the preview graph
Each depth of field of block and the correspondence of weight as in.
In the present embodiment, Image Acquisition can be carried out to current scene by the camera of mobile terminal, it is pre- to generate
Look at image.Then, 2PD technologies obtain the depth-of-field guide in each region in current scene.For example, pass through the calculation of 2PD technologies
The preview image is divided into n*m blocks, and analyzed the data of each block in the preview image by method, to obtain
The depth of view information (i.e. depth of field related data) of the preview image is taken, wherein the depth of view information includes every in the preview image
The depth of field of a block and the correspondence of weight.Also, the depth of view information can be presented in a manner of table, in order to be easy area
It is in the same depth of field or to be different the depth of field to separate those blocks.For example, the block of the same depth of field can use same light of surveying to weigh
Weight, and the block of the different depth of field can use different sidelight weight, and the difference of the depth of field differs used in remoter block
Light metering weight is lower.
Step 120, the depth of field of the focusing block of the preview image is obtained.In the present embodiment, the preview image
Block of focusing can be the center block being preset on the display screen of mobile terminal, or can be that user touches mobile terminal
The block corresponding to any position on display screen, i.e. user carry out area of focusing caused by touching focusing during camera shooting
Block).Also, the depth of field of the focusing block of preview image can be used as a variable, to carry out subsequent operation.
Step 130, it according to the depth of field of the depth of view information and the focusing block, generates each block dynamic and surveys light power
Weight.Wherein, the dynamic light metering weight can be used to indicate that the brightness of image of each block is bright in the image of the preview image
Weight in degree.That is, the depth of field of the focusing block as the preview image of variable can be believed with the depth of field
Correspondence between breath, to generate each block dynamic light metering weight, so as to adjust the survey light of the preview image
Degree so that it is more accurate to survey light.Furthermore, it is understood that the embodiment of the present invention can obtain the corresponding preview according to different scenes
The depth of field of the depth of view information of image and block of focusing, and corresponding light metering weight is generated, the dynamic to reach each block surveys light
The effect of weight adjustment so that it is more accurate to survey light.
Optionally, in one embodiment, step 130 can specifically include:According to the scape of the depth of field of the focusing block
Deep value, determines the depth of field weight that the depth of field value is corresponded in the depth of view information, further according to depth of field weight adjustment center power
Weight values, to generate the dynamic light metering weight of each block, as shown in Figure 2 A and 2 B.That is, the embodiment of the present invention
Based on the center weight value (as shown in Figure 2 A) of center weight method, according to it is described focusing block the depth of field depth of field value, in
It is searched in the depth of view information and determines depth of field weighted value corresponding with the focusing depth of field value of the depth of field of block, then to be obtained
The center weight value of the depth of field weighted value adjustment center weight method obtained, to generate the dynamic light metering weight of each block (i.e.
The center weight of center weight method is in conjunction with the weight obtained according to the depth of field of the depth of view information and the focusing block).
Center weight in Fig. 2A display centre methods of weighting, Fig. 2 B show each block that the embodiment of the present invention is generated
Dynamic light metering weight.From Fig. 2A, it can be seen that the weighted value of the centre block of center weight method is higher, and center weight method is in
Between block other than block weighted value it is relatively low, and the weighted value of the centre block of center weight method is about 0.9.Passing through this
After embodiment adjustment, it can find out from Fig. 2 B, the weighted value of the centre block of the dynamic light metering weight of the present embodiment is about
0.6.Thus, to each scene, the dynamic light metering weight of the present embodiment is the depth of field according to the current focusing block
It adjusts in real time and generates variation so that survey light is more accurate, can make up to a certain extent specific without reference to current scene
Deficiency, the information for only considering the depth of field in scene is also made up, without considering that most of user's all the center of interest surpass surrounding
One use habit.
Optionally, in another embodiment, step 130 can specifically include:According to the depth of field of the focusing block
Depth of field value determines the depth of field weight that the depth of field value is corresponded in the depth of view information, is adjusted further according to the depth of field weight average
Weighted value, to generate the dynamic light metering weight of each block, as shown in Figure 3A and Figure 3B.That is, the present invention is implemented
Example based on the average weight value (as shown in Figure 3A) of average weight method, according to it is described focus block the depth of field depth of field value,
It is searched in the depth of view information and determines depth of field weighted value corresponding with the focusing depth of field value of the depth of field of block, then with institute
The average weight value of the depth of field weighted value adjustment average weight method of acquisition, to generate the dynamic light metering weight of each block
(i.e. the average weight of average weight method is in conjunction with the weight obtained according to the depth of field of the depth of view information and the focusing block).
Fig. 3 A show that the average weight in average weight method, Fig. 3 B show the dynamic of each block that inventive embodiments are generated
State light metering weight.From Fig. 3 A, it can be seen that the weighted value of all blocks of average weight method is all identical, and average weight method
The weighted values of all blocks be about 1.After adjusting through this embodiment, it can find out from Fig. 3 B, the present embodiment moves
The weighted value of the centre block of state light metering weight is about 0.6, and the weight of block of the dynamic light metering weight other than centre block
It is worth relatively low, is, for example, less than 0.6.Thus, to each scene, the dynamic light metering weight of the present embodiment is according to described current
The depth of field of focusing block adjusts and generates variation in real time so that survey light is more accurate.
Step 140, according to the brightness of image of the dynamic light metering weight and the preview image of each block, institute is adjusted
State the exposure value of preview image.That is, using each block dynamic light metering weight and the preview image it is bright
Correspondence between degree generates adjusting parameter, so as to adjust the exposure value of the preview image.Furthermore, it is understood that such as 4 institutes of Fig.
Show, step 140 may include:
Step 410, according to the brightness of image of the dynamic light metering weight and the preview image of each block, institute is determined
State the survey luminance data of preview image.
Optionally, in one embodiment, it is assumed that the preview image is divided into 6*6 (n*m) block, as shown in table 1.
Table 1
0.1657 | 0.2940 | 0.3114 | 0.3114 | 0.2940 | 0.1657 |
0.2940 | 0.6954 | 0.7049 | 0.7049 | 0.6954 | 0.2940 |
0.3114 | 0.7049 | 1 | 1 | 0.7049 | 0.3114 |
0.3114 | 0.7049 | 1 | 1 | 0.7049 | 0.3114 |
0.2940 | 0.6954 | 0.7049 | 0.7049 | 0.6954 | 0.2940 |
0.1657 | 0.2940 | 0.3114 | 0.3114 | 0.2940 | 0.1657 |
Also, the survey luminance data of the preview image can be calculated and determined by formula (1), and formula
(1) as follows:
Wherein, Lumax,yFor the brightness of image of the preview image, Wx,yFor the dynamic light metering weight of each block,
Cur_lum is to survey luminance data.The preview image is illustrated with being divided into for 6*6 blocks (i.e. n=6, m=6),
It is a kind of implementation example of the present invention, is not used in the limitation present invention, also its visual demand voluntarily adjusts the preview image to user
The quantity of block (n*m) is cut, and can refer to preceding description, to avoid repeating, which is not described herein again.
Step 420, it according to the survey luminance data of the preview image and preset survey luminance data, calculates exposure and adjusts
Whole parameter.That is, the survey luminance data of the preview image and preset survey luminance data are compared, in terms of
Exposure adjusting parameter needed for calculating, also, the purpose for surveying light is exactly for judging whether current exposure meets user to pre-
Look at the brightness requirement of image.For example, when the survey luminance data (i.e. photometry result) of the preview image is less than described pre-
If survey luminance data when, then calculated exposure adjusting parameter be need to improve exposure value so that exposure brightness
It reaches and requires.
When the survey luminance data (i.e. photometry result) of the preview image is more than the preset survey luminance data,
Then calculated exposure adjusting parameter is to need to reduce exposure value, so that exposure brightness reaches requirement.When the exposure
Survey luminance data (i.e. photometry result) when being equal to the preset survey luminance data, then calculated exposure adjusting parameter
For that need not be adjusted to exposure value.
In the present embodiment, the preset survey luminance data can be initial photometric parameter, alternatively, described preset
Surveying luminance data can be and the shortest moment acquired image of time interval of the acquisition time of the preview image
Survey brightness parameter.Wherein, initial photometric parameter can be when mobile terminal opens camera function required one it is initial
Change photometric parameter, so as to the foundation adjusted as exposure value.In addition, most with the time interval of the acquisition time of the preview image
The survey brightness parameter of acquired image can be the survey light corresponding to the previous frame image of present preview image at the time of short
Luminance parameter, so as to the foundation adjusted as exposure value.
Step 430, according to the exposure adjusting parameter, the exposure value of the preview image is adjusted.
For example, when calculated exposure adjusting parameter is to need to improve exposure value, then by the preview
The exposure value of image rises to identical as exposure adjusting parameter so that the brightness of preview image can reach requirement.When calculating
Exposure adjusting parameter be then to be reduced to adjust with exposing by the exposure value of the preview image when needing to reduce exposure value
Whole parameter is identical so that the brightness of preview image can reach requirement.When calculated exposure adjusting parameter is not need pair
Exposure value is adjusted, then need not be adjusted to the exposure value of the preview image, so that the exposure of different scenes
It is more in line with user demand.
Exposure adjustment method according to the ... of the embodiment of the present invention is believed by obtaining the depth of field of preview image of camera acquisition
Breath, the depth of view information includes each depth of field of block and the correspondence of weight in the preview image;Obtain the preview
The depth of field of the focusing block of image;According to the depth of field of the depth of view information and the focusing block, the dynamic of each block is generated
Light metering weight;According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview is adjusted
The exposure value of image can realize that survey light is more accurate, so that the exposure of different scenes is more in line with user demand.
Fig. 5 is the schematic flow chart of the exposure adjustment method of an alternative embodiment of the invention.As shown in figure 5, exposure
Method of adjustment includes:
Step 510, the depth of view information of the preview image of camera acquisition is obtained, the depth of field letter includes the preview image
In each depth of field of block and the correspondence of weight.
Step 520, the depth of field of the focusing block of the preview image is obtained.
Step 530, according to the depth of field of the depth of view information and the focusing block, the dynamic for generating each block surveys light
Weight.
Step 540, according to the brightness of image of the dynamic light metering weight and the preview image of each block, institute is adjusted
State the exposure value of preview image.
Wherein, the step of embodiment of the step 510, step 520, step 530 and step 540 of the present embodiment and Fig. 1
110, step 120, step 130 and step 140 are identical, can refer to the explanation of the embodiment of Fig. 1, to avoid repeating, here no longer
It repeats.In addition, step 540 also can refer to saying for the embodiment of Fig. 4 including step 410 shown in Fig. 4, step 420, step 430
Bright, to avoid repeating, which is not described herein again.
After executing step 540, the exposure value of the preview image can also be further determined that whether in preset range
It is interior.That is, determining whether the exposure of current mobile terminal restrains.
In the present embodiment, convergent condition is that the brightness of the preview image reaches preset range (such as phase of user
The range of prestige).As an example it is assumed that the brightness for being contemplated to be the preview image of user is 50, and can be by the numerical value of brightness
In addition fault-tolerant error amount is using as acceptable preset range, such as preset range is 48 to 52 (i.e. 50 ± 2), that is, described in
The exposure value position of preview image can think that the brightness of the preview image has reached the expectation of user between 48 to 52
Value.
Then, step 550, in the case where the exposure value of the preview image exceeds preset range, the acquisition is executed
The step of depth of view information of the preview image of camera acquisition, indicate that the exposure value of the preview image is not up to the expectation of user
Value, that is, is subsequently returning to step 510, be exposed the operating process of method of adjustment again, i.e. step 510~step 580
Operating process, so as to carry out the mobile terminal next stage exposure adjustment operation.
In addition, when the exposure value of the preview image is in the preset range, the state of the preview image is determined,
Such as determine whether the state of the preview image changes.In the present embodiment, scene changes will necessarily cause to survey light
Variation, therefore need to judge whether scene changes.Also, determine whether the state of the preview image changes
Foundation be whether to change and carry out by exposure value and the white balance information such as focus.
Step 560, in the exposure value of the preview image in the preset range and the state of the preview image not
In the case of changing, the exposure value of the preview image is kept.
Step 570, in the exposure value of the preview image in the preset range and the state of the preview image send out
In the case of changing, the step of executing the depth of view information of the preview image for obtaining camera acquisition, that is, then return
To step 510, be exposed the operating process of method of adjustment, the i.e. operating process of step 510~step 580 again, so as into
The exposure adjustment operation of row next stage.
Exposure adjustment method according to the ... of the embodiment of the present invention is described in detail in figure 1 above, Fig. 4 and Fig. 5, below in conjunction with figure
6 detailed description mobile terminals according to the ... of the embodiment of the present invention.
Fig. 6 shows the structure chart of mobile terminal according to an embodiment of the invention.As shown in fig. 6, mobile terminal 600
Including:
First acquisition module 610 obtains the depth of view information of the preview image of camera acquisition, and the depth of view information includes institute
State each depth of field of block and the correspondence of weight in preview image;
Second acquisition module 620 obtains the depth of field of the focusing block of the preview image;
Generation module 630, according to the depth of field of the depth of view information and the focusing block, the dynamic for generating each block is surveyed
Light weight;
Module 640 is adjusted, according to the brightness of image of the dynamic light metering weight and the preview image of each block, is adjusted
The exposure value of the whole preview image.
Optionally, as one embodiment, the adjustment module 640 is specifically used for:
According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview graph is determined
The survey luminance data of picture;
According to the survey luminance data of the preview image and preset survey luminance data, exposure adjusting parameter is calculated;
According to the exposure adjusting parameter, the exposure value of the preview image is adjusted.
Optionally, as one embodiment, the preset survey luminance data is initial photometric parameter, alternatively, described
Preset luminance data of surveying is the shortest moment acquired image of time interval with the acquisition time of the preview image
Survey brightness parameter.
Optionally, as one embodiment, the generation module 630 is specifically used for:
According to the depth of field value of the depth of field of the focusing block, the depth of field that the depth of field value is corresponded in the depth of view information is determined
Weight adjusts center weight value or average weight value further according to the depth of field weight, and the dynamic to generate each block is surveyed
Light weight.
Optionally, as one embodiment, the mobile terminal 600 includes:
First acquisition module 610 is then carried out in the case where the exposure value of the preview image exceeds preset range
Obtain the depth of view information of the preview image of camera acquisition;
Keep module 650, the preview image exposure value in the preset range and the shape of the preview image
In the case that state does not change, the exposure value of the preview image is kept;
First acquisition module 610, the preview image exposure value in the preset range and the preview
In the case that the state of image changes, then the depth of view information for obtaining the preview image of camera acquisition is carried out.
Mobile terminal provided in an embodiment of the present invention can realize realized in the embodiment of the method for Fig. 1, Fig. 4 and Fig. 5 it is each
A process, to avoid repeating, which is not described herein again.
A kind of hardware architecture diagram of Fig. 7 mobile terminals of each embodiment to realize the present invention,
The mobile terminal 700 includes but not limited to:It is radio frequency unit 701, network module 702, audio output unit 703, defeated
Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor
The components such as 710 and power supply 711.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, the depth of view information of the preview image for obtaining camera acquisition, the depth of view information packet
Include each depth of field of block and the correspondence of weight in the preview image;Obtain the focusing block of the preview image
The depth of field;According to the depth of field of the depth of view information and the focusing block, the dynamic light metering weight of each block is generated;According to described
The brightness of image of the dynamic light metering weight and the preview image of each block, adjusts the exposure value of the preview image.
Mobile terminal according to the ... of the embodiment of the present invention, the depth of view information of the preview image by obtaining camera acquisition, institute
It includes including each depth of field of block and the correspondence of weight in the preview image to state depth of view information;Obtain the preview image
Focusing block the depth of field;According to the depth of field of the depth of view information and the focusing block, the dynamic for generating each block surveys light
Weight;According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview image is adjusted
Exposure value, can realize survey light it is more accurate so that the exposure of different scenes is more in line with user demand, to promote use
It experiences at family.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 701 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 702 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 703 can receive radio frequency unit 701 or network module 702 or in memory 709
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 703 includes loud speaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor
(Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited
Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike
Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 701 by being converted in the case of telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear
Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap
Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and
Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071
Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area
It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments
7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it
On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touch
The type for touching event provides corresponding visual output on display panel 7061.Although in the figure 7, touch panel 7071 and display
Panel 7061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more components that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal
Transmission data between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage
Data in device 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711
Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709 is stored in
On memory 709 and the computer program that can be run on the processor 710, the computer program are executed by processor 710
Each process of the above-mentioned exposure adjustment method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned exposure adjustment method embodiment, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), disk or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, disk, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (12)
1. a kind of exposure adjustment method, which is characterized in that including:
The depth of view information of the preview image of camera acquisition is obtained, the depth of view information includes each block in the preview image
The depth of field and weight correspondence;
Obtain the depth of field of the focusing block of the preview image;
According to the depth of field of the depth of view information and the focusing block, the dynamic light metering weight of each block is generated;
According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview image is adjusted
Exposure value.
2. exposure adjustment method according to claim 1, which is characterized in that described according to the dynamic light metering weight and institute
The brightness of image for stating preview image adjusts the exposure value of the preview image, including:
According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview image is determined
Survey luminance data;
According to the survey luminance data of the preview image and preset survey luminance data, exposure adjusting parameter is calculated;
According to the exposure adjusting parameter, the exposure value of the preview image is adjusted.
3. exposure adjustment method according to claim 2, which is characterized in that the preset survey luminance data is initial
Photometric parameter, alternatively, the preset survey luminance data is most short with the time interval of the acquisition time of the preview image
At the time of acquired image survey brightness parameter.
4. exposure adjustment method according to claim 1, which is characterized in that described according to the depth of view information and described right
The depth of field of burnt block generates the dynamic light metering weight of each block, including:
According to the depth of field value of the depth of field of the focusing block, the depth of field power that the depth of field value is corresponded in the depth of view information is determined
Weight;
According to the depth of field weight, center weight value or average weight value are adjusted, the dynamic for generating each block surveys light power
Weight.
5. exposure adjustment method according to claim 1, which is characterized in that further include:
In the case where the exposure value of the preview image exceeds preset range, the preview graph for obtaining camera acquisition is executed
The step of depth of view information of picture;
The preview image exposure value in the preset range and the not changed feelings of the state of the preview image
Under condition, the exposure value of the preview image is kept;
In the exposure value in the preset range and the case where the state of the preview image changes of the preview image
Under, execute it is described obtain camera acquisition preview image depth of view information the step of.
6. a kind of mobile terminal, which is characterized in that including:
First acquisition module obtains the depth of view information of the preview image of camera acquisition, and the depth of view information includes the preview
Each depth of field of block and the correspondence of weight in image;
Second acquisition module obtains the depth of field of the focusing block of the preview image;
Generation module generates the dynamic light metering weight of each block according to the depth of field of the depth of view information and the focusing block;
Module is adjusted, according to the brightness of image of the dynamic light metering weight and the preview image of each block, described in adjustment
The exposure value of preview image.
7. mobile terminal according to claim 6, which is characterized in that the adjustment module is specifically used for:
According to the brightness of image of the dynamic light metering weight and the preview image of each block, the preview image is determined
Survey luminance data;
According to the survey luminance data of the preview image and preset survey luminance data, exposure adjusting parameter is calculated;
According to the exposure adjusting parameter, the exposure value of the preview image is adjusted.
8. mobile terminal according to claim 7, which is characterized in that the preset survey luminance data is initial photometric
Parameter, alternatively, when the preset survey luminance data is shortest with the time interval of the acquisition time of the preview image
Carve the survey brightness parameter of acquired image.
9. mobile terminal according to claim 6, which is characterized in that the generation module is specifically used for::
According to the depth of field value of the depth of field of the focusing block, the depth of field power that the depth of field value is corresponded in the depth of view information is determined
Weight adjusts center weight value or average weight value further according to the depth of field weight, and the dynamic to generate each block surveys light
Weight.
10. mobile terminal according to claim 6, which is characterized in that further include:
First acquisition module is then carried out obtaining and be taken the photograph in the case where the exposure value of the preview image exceeds preset range
As the depth of view information for the preview image that head acquires;
Keep module, the preview image exposure value is in the preset range and the state of the preview image does not occur
In the case of variation, the exposure value of the preview image is kept;
First acquisition module, the preview image exposure value in the preset range and the shape of the preview image
State change in the case of when, then carry out obtain camera acquisition preview image depth of view information.
11. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in exposure adjustment method the step of.
12. a kind of computer-readable medium, which is characterized in that computer program is stored on the computer-readable medium, it is described
The step of exposure adjustment method as described in any one of claim 1 to 5 is realized when computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810058434.5A CN108307123B (en) | 2018-01-22 | 2018-01-22 | Exposure adjusting method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810058434.5A CN108307123B (en) | 2018-01-22 | 2018-01-22 | Exposure adjusting method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108307123A true CN108307123A (en) | 2018-07-20 |
CN108307123B CN108307123B (en) | 2021-10-26 |
Family
ID=62865827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810058434.5A Active CN108307123B (en) | 2018-01-22 | 2018-01-22 | Exposure adjusting method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108307123B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587407A (en) * | 2018-12-14 | 2019-04-05 | 广州华多网络科技有限公司 | Exposure amount adjustment method, device and the computer equipment of image taking |
CN111083386A (en) * | 2019-12-24 | 2020-04-28 | 维沃移动通信有限公司 | Image processing method and electronic device |
CN111654640A (en) * | 2020-05-27 | 2020-09-11 | 维沃移动通信有限公司 | Exposure adjusting method and device and electronic equipment |
EP3716610A3 (en) * | 2019-03-27 | 2020-12-30 | Audio Technology Switzerland S.A. | Method and device to acquire images with an image sensor device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399924A (en) * | 2007-09-25 | 2009-04-01 | 展讯通信(上海)有限公司 | Automatic exposure method and device based on brightness histogram |
CN103108134A (en) * | 2011-11-11 | 2013-05-15 | 佳能株式会社 | Image capture apparatus and control method thereof |
CN104333710A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Camera exposure method, camera exposure device and camera exposure equipment |
JP2015222388A (en) * | 2014-05-23 | 2015-12-10 | キヤノン株式会社 | Image-capturing device, control method, and program |
CN106791475A (en) * | 2017-01-23 | 2017-05-31 | 上海兴芯微电子科技有限公司 | Exposure adjustment method and the vehicle mounted imaging apparatus being applicable |
CN106791809A (en) * | 2016-12-14 | 2017-05-31 | 维沃移动通信有限公司 | A kind of light measuring method and mobile terminal |
CN107018323A (en) * | 2017-03-09 | 2017-08-04 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN107241558A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Exposure processing method, device and terminal device |
CN107592468A (en) * | 2017-10-23 | 2018-01-16 | 维沃移动通信有限公司 | A kind of shooting parameter adjustment method and mobile terminal |
-
2018
- 2018-01-22 CN CN201810058434.5A patent/CN108307123B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399924A (en) * | 2007-09-25 | 2009-04-01 | 展讯通信(上海)有限公司 | Automatic exposure method and device based on brightness histogram |
CN103108134A (en) * | 2011-11-11 | 2013-05-15 | 佳能株式会社 | Image capture apparatus and control method thereof |
JP2015222388A (en) * | 2014-05-23 | 2015-12-10 | キヤノン株式会社 | Image-capturing device, control method, and program |
CN104333710A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Camera exposure method, camera exposure device and camera exposure equipment |
CN106791809A (en) * | 2016-12-14 | 2017-05-31 | 维沃移动通信有限公司 | A kind of light measuring method and mobile terminal |
CN106791475A (en) * | 2017-01-23 | 2017-05-31 | 上海兴芯微电子科技有限公司 | Exposure adjustment method and the vehicle mounted imaging apparatus being applicable |
CN107018323A (en) * | 2017-03-09 | 2017-08-04 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN107241558A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Exposure processing method, device and terminal device |
CN107592468A (en) * | 2017-10-23 | 2018-01-16 | 维沃移动通信有限公司 | A kind of shooting parameter adjustment method and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587407A (en) * | 2018-12-14 | 2019-04-05 | 广州华多网络科技有限公司 | Exposure amount adjustment method, device and the computer equipment of image taking |
EP3716610A3 (en) * | 2019-03-27 | 2020-12-30 | Audio Technology Switzerland S.A. | Method and device to acquire images with an image sensor device |
CN111083386A (en) * | 2019-12-24 | 2020-04-28 | 维沃移动通信有限公司 | Image processing method and electronic device |
CN111083386B (en) * | 2019-12-24 | 2021-01-22 | 维沃移动通信有限公司 | Image processing method and electronic device |
CN111654640A (en) * | 2020-05-27 | 2020-09-11 | 维沃移动通信有限公司 | Exposure adjusting method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108307123B (en) | 2021-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107770438B (en) | A kind of photographic method and mobile terminal | |
CN107580184B (en) | A kind of image pickup method and mobile terminal | |
CN107566730B (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN107483836B (en) | A kind of image pickup method and mobile terminal | |
CN107566748A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN108495029A (en) | A kind of photographic method and mobile terminal | |
CN108307123A (en) | A kind of exposure adjustment method and mobile terminal | |
CN110365907A (en) | A kind of photographic method, device and electronic equipment | |
CN109688322A (en) | A kind of method, device and mobile terminal generating high dynamic range images | |
CN110213484A (en) | A kind of photographic method, terminal device and computer readable storage medium | |
CN109474787A (en) | A kind of photographic method, terminal device and storage medium | |
CN109743506A (en) | A kind of image capturing method and terminal device | |
CN108449541A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN107948516A (en) | A kind of image processing method, device and mobile terminal | |
CN108683850A (en) | A kind of shooting reminding method and mobile terminal | |
CN107623818A (en) | A kind of image exposure method and mobile terminal | |
CN108564613A (en) | A kind of depth data acquisition methods and mobile terminal | |
CN108848309A (en) | A kind of camera programm starting method and mobile terminal | |
CN108718389A (en) | A kind of screening-mode selection method and mobile terminal | |
CN109104578A (en) | A kind of image processing method and mobile terminal | |
CN109005355A (en) | A kind of image pickup method and mobile terminal | |
CN108174110A (en) | A kind of photographic method and flexible screen terminal | |
CN108718388A (en) | A kind of photographic method and mobile terminal | |
CN108174109A (en) | A kind of photographic method and mobile terminal | |
CN107959755A (en) | A kind of photographic method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |