The content of the invention
The embodiments of the invention provide a kind of shooting preview method and capture apparatus, it is possible to achieve is quickly updating
The speed of preview screen, improve Consumer's Experience.
In a first aspect, the embodiment provides a kind of shooting preview method.This method includes:Really
Determine the acquisition parameters collection for the first image that capture apparatus obtains in first position, first image includes some
Region, the corresponding one group of acquisition parameters in each region, whole acquisition parameters of first image form shooting ginseng
Manifold.The anglec of rotation and the displacement of the second place are moved to by first position according to capture apparatus, determines
The region of the first image where the data collection point of two images, concentrated from acquisition parameters and obtain the second image
Data collection point where the first image region acquisition parameters.According to the data acquisition of the second image
The acquisition parameters in the region of the first image where point determine the second image, and the second image is presented on into shooting
Preview interface.It can be realized by the embodiment of the present invention, predefine the acquisition parameters of preview image, energy
Enough adjustment preview images faster, there is provided higher Consumer's Experience.
In a possible design, some regions of foregoing first image can be pros of the same area
Shape or regular hexagon.Preview graph more rationally can more accurately be predefined by the embodiment of the present invention
The acquisition parameters of picture.
It is foregoing that the second place is moved to by first position according to capture apparatus in another possible design
The anglec of rotation and displacement, determine that the region of the first image where the data collection point of the second image is specific
Including:The anglec of rotation and the displacement of the second place are moved to by first position according to capture apparatus, it is determined that clapping
The region for the first image taken the photograph where central point of the equipment at the second place.Can by the embodiment of the present invention
To realize, for central point focusing or the style of shooting of center spot light-metering, preview can be effectively improved
The renewal speed of image so that shooting experience is higher.
In another possible design, foregoing one group of acquisition parameters include photometric parameter.Wherein according to pre-
The acquisition parameters in the region for the first image look at where image data acquiring point determine that the second image specifically wraps
Include:According to the photometric parameter in the region of the first image where preview image data collection point, it is determined that exposure
Degree, obtains the second image.It can be realized by the embodiment of the present invention, it is contemplated that determine the light-metering of preview image
Parameter, so as to reduce the time of generation preview image, the renewal speed of preview image is improved, improves user
Experience.
In another possible design, foregoing one group of acquisition parameters include capture apparatus with it is captured
The range information of object.Wherein, according to the region of the first image where preview image data collection point
Acquisition parameters determine that the second image includes:According to the area of the first image where preview image data collection point
The captured object in domain and the range information of capture apparatus, the focusing focal length of capture apparatus is determined, is obtained
Second image.It can be realized by the embodiment of the present invention, it is contemplated that the focusing focal length of preview image is determined, from
And the time of generation preview image is reduced, the renewal speed of preview image is improved, improves Consumer's Experience.
Second aspect, the embodiment provides a kind of shooting preview device.This includes:Shooting ginseng
Manifold determining module, the acquisition parameters collection of the first image obtained for determining capture apparatus in first position,
Described first image includes some regions, and each region corresponds to one group of acquisition parameters, described first image
Whole acquisition parameters form the acquisition parameters collection;Acquisition parameters acquisition module, for according to the shooting
Equipment is moved to the anglec of rotation and the displacement of the second place by the first position, determines second image
Data collection point where the first image region, concentrated from the acquisition parameters and obtain second figure
As data collection point where the first image region acquisition parameters;Second image determining module, use
Acquisition parameters in the region of the first image where the data collection point according to second image determine
Two images, second image is presented on shooting preview interface.
In a possible design, some regions are square of the same area or regular hexagon.
In another possible design, acquisition parameters acquisition module includes:Central point determination subelement,
For the anglec of rotation and the displacement of the second place to be moved to by the first position according to the capture apparatus,
Determine the region of the first image where central point of the capture apparatus at the second place.
In another possible design, the second image determining module is specifically used for, according to the preview graph
The photometric parameter in the region of the first image as where data collection point, determines exposure, obtains the second figure
Picture.
In another possible design, the second image determining module is specifically used for, according to the preview graph
The captured object in the region of the first image as where data collection point and the distance of the capture apparatus
Information, the focusing focal length of capture apparatus is determined, obtains the second image.
The third aspect, the embodiment provides a kind of capture apparatus.The capture apparatus includes:Light
Unit is learned, for receiving the pickup light of reference object;Image pickup section, for according to the shooting pair
The pickup light of elephant, the first image is determined in first position;Sensor, for determining capture apparatus described
The acquisition parameters collection for the first image that first position obtains, described first image include some regions, each
The corresponding one group of acquisition parameters in region, whole acquisition parameters of described first image form the acquisition parameters collection;
The sensor, it is additionally operable to determine the rotation that the capture apparatus is moved to the second place by the first position
Gyration and displacement;Processor, for being moved to second by the first position according to the capture apparatus
The anglec of rotation of position and displacement, determine the first image where the data collection point of second image
Region, the first image where concentrating the data collection point for obtaining second image from the acquisition parameters
Region acquisition parameters;The processor is additionally operable to, according to the data collection point institute of second image
The acquisition parameters in region of the first image the optical unit is set so that described image shoots part
Determine the second image;Display unit, for second image to be presented.
In a possible design, some regions are square of the same area or regular hexagon.
In another possible design, the processor is additionally operable to, according to the capture apparatus by described
First position is moved to the anglec of rotation and the displacement of the second place, determines the capture apparatus in the second place
When central point where the first image region.
In another possible design, the processor is additionally operable to, and is adopted according to the preview image data
The photometric parameter in the region of the first image where collection point, determines exposure, sets the optical unit,
To cause described image shooting part to obtain the second image.
In another possible design, the processor is additionally operable to, and is adopted according to the preview image data
The range information of the captured object and the capture apparatus in the region of the first image where collection point, really
Determine the focusing focal length of capture apparatus, the optical unit is set, to cause described image shooting part to obtain
Second image.
Fourth aspect, the embodiments of the invention provide a kind of storage medium, is set for saving as above-mentioned shooting
Standby computer software instructions used, it, which is included, is used to perform the program designed by above-mentioned aspect.The present invention
The shooting preview method and capture apparatus that embodiment provides, it is possible to achieve calculate acquisition parameters in advance, subtract
Configuration capture apparatus obtains the time of preview image less, lifts the shooting preview experience of user.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Fig. 1 is a photographed scene example.As shown in figure 1, capture apparatus 110 is shot in first position
When, object 121 and shooting object 122 are shot in coverage 131, and capture apparatus 110 can be with
It is measured with shooting the distance 141 of object 121, further determines that focal length is focused, obtains preview image.
Now, the distance 142 of capture apparatus 110 and object 122 can also can also be measured simultaneously, when shooting is set
For when being moved to the second place, displacement and angle are determined by motion sensor, further according to distance 142
The distance 143 of capture apparatus 110 and object 122 after movement is extrapolated, can directly utilize distance 143
Focused as focal length, so as to faster adjust preview image.
It should be noted that the foregoing scene with reference to shown in Fig. 1 only describes a kind of focusing mode, may be used also
In a manner of having other focusings, following embodiments can be introduced in more detail.
Scene with reference to shown in Fig. 1, capture apparatus can also predefine other acquisition parameters, with reality
Now the faster adjustment of preview image, following embodiments can be introduced in more detail.
Wherein, the scene shown in Fig. 1 is merely to the solution of the present invention can be understood more readily from, not
Form and limit, other scene embodiment of the present invention that preview image is obtained using capture apparatus are all suitable for.
Fig. 2 is the structured flowchart of capture apparatus provided in an embodiment of the present invention.
The capture apparatus has optical unit 210, and the pickup light from imaging object (object being taken) is defeated
Enter to wherein;Image capturing unit 220, it is arranged on the rear portion of the optical axis of optical unit 210, and borrows
Optical unit 210 is helped to shoot imaging object;Processor 230, its real-time image processing and overall control
System;And display unit 240, for exporting the image treated through primary processor 230.
Wherein, optical unit 210 can include zoom lens, correction lens, diaphragm (diaphragm) machine
Structure and condenser lens etc..The zoom lens can be moved by zoom motor along optical axis direction, and this is poly-
Focus lens can be moved by focus motor along optical axis direction.Control the correction saturating by correcting lens motor
Mirror so that incident pickup light corresponds to the angle always substantially constant of image pickup surface.Pass through aperture
(iris) diaphragm of motor control diaphragm mechanism.Processor 230 controls these by motor driver 250
Motor.
The image pickup section 220 can include:CCD (Charged Coupled Device, electric charge coupling
Clutch part) imaging sensor, it is according to the shooting photogenerated reference object image from optical unit 210
Picture signal;CDS (Correlated Double Sampling, correlated double sampling) circuit, its
Implement related double sampling processing (CDS), the processing is eliminated in the image read by ccd image sensor
The noise components included in signal;(analog to digital converter, analog signal turn A/D
Change data signal into) converter, the analog signal by CDS processing of circuit is converted to data signal by it;
With timing generator (timinggenerator, TG), it generates the meter of driving ccd image sensor
When signal;Etc..
Processor 230 has various circuits, and it is connected to each other by main line.Specifically, processor 230
It can include:Image input controlling section, the view data from A/D converter is applied to main line by it;
Image processing circuit, it implements predetermined Digital Signal Processing based on the view data inputted;Video memory
(Video Random Access Memory, VRAM), it is used to store expression image to be displayed
View data;And display control unit, it implements control, the figure to the image shown on the display unit
It seem the view data based on VRAM memory storages.
Display unit 240 can be used for display by the information of user's input or be supplied to information and the bat of user
Take the photograph the various menus of equipment 200.Display unit 240 may include display panel, optionally, can use
LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting
Diode, Organic Light Emitting Diode) etc. form configure display panel.Further, contact panel can cover
Display panel, after contact panel detects the touch operation on or near it, send processor 230 to
To determine the type of touch event, device 230 is followed by subsequent processing according to the type of touch event on a display panel
Corresponding visual output is provided.In some embodiments it is possible to by contact panel and display panel it is integrated and
Realize input and output function.
Capture apparatus 200 can also include:Sensor 260, the sensor can include light meter 261,
For carrying out light-metering to reference object, photometric parameter is obtained.Motion sensor 262, set for measuring shooting
Standby 200 movement angle and displacement parameter etc..
Input block 270, available for the numeral or character information for receiving input, and generation and capture apparatus
The key signals input that 200 user is set and function control is relevant.Specifically, input block 270 can wrap
Include contact panel and other input equipments.Contact panel, also referred to as touch-screen, user is collected at it
On or near touch operation (for example user is existed using any suitable object or annex such as finger, stylus
Operation on contact panel or near contact panel), and driven accordingly according to formula set in advance
Attachment means.Except contact panel, input block 130 can also include other input equipments.Specifically,
Other input equipments can include but is not limited to physical keyboard, function key (such as tripper, switch press
Key etc.), trace ball, the one or more in action bars etc..
Memory 280 can be used for storage software program and module, and processor 230 is stored in by operation
The software program and module of memory 280, so as to perform the various function application of capture apparatus 200 with
And data processing.Memory 280 can mainly include storing program area and storage data field, wherein, storage
Program area can storage program area, needed at least one function application program (such as image preview function,
Image viewing function etc.) etc.;Storage data field can store uses what is created according to capture apparatus 200
Data (such as video data, photo etc.) etc..In addition, memory 280 can include depositing at random at a high speed
Access to memory, nonvolatile memory, for example, at least disk memory, a flash memory can also be included
Device or other volatile solid-state parts.
When using being shot with the capture apparatus 200 such as above-mentioned structure, capture apparatus 200 can lead to
Sensor 260 is crossed to situation of the optical parametric of data collection point local environment and captured object etc.
Measure, obtain acquisition parameters, the acquisition parameters then obtained according to measurement set optical unit 210
Or display unit 240, then image is obtained by image capturing unit 220 and is shown in the aobvious of capture apparatus
Show the shooting preview interface of unit 240, user can be shot with being seen by preview interface it is true,
Clearly image.
In embodiments of the present invention, in the optical parametric to reference object local environment and captured object
Situation etc. when measuring, preview image can be divided into some regions, and enter in units of region
Row measurement, acquisition parameters are respectively obtained, and the region that acquisition parameters and preview image are divided into corresponds,
When shooting angle or camera site etc. change, the motion sensor in capture apparatus can be utilized
Obtained measurement result is measured, judges new data collection point and former preview after capture apparatus movement
The position relationship of image, and then the region of former preview image where new data collection point can be determined, by
There are corresponding acquisition parameters in all areas of former preview image, so it is corresponding to find new data collection point
Former preview image region after, obtain acquisition parameters corresponding to the region, according to the acquisition parameters set
Capture apparatus, the image of a new frame is obtained, the image is included into the preview interface in capture apparatus,
Acquisition parameters are calculated in advance to realize, are reduced configuration capture apparatus and are obtained the time of preview image, lifting is used
The shooting preview experience at family.
For ease of the understanding to the embodiment of the present invention, done further with specific embodiment below in conjunction with accompanying drawing
Explanation, embodiment do not form the restriction to the embodiment of the present invention.
Fig. 3 is a kind of shooting preview method flow diagram that the inventive method embodiment provides.This method can be with
Operate in capture apparatus as shown in Figure 2.This method can specifically include:
S310, the acquisition parameters collection for the first image that capture apparatus obtains in first position is determined, wherein,
First image includes some regions, the corresponding one group of acquisition parameters in each region, each group of bat of the first image
Take the photograph parameter and form acquisition parameters collection.
Under a kind of implementation, the acquisition parameters of the first image can be photometric parameter, concrete implementation
Principle and embodiment are as follows.
When doing shooting in first position using capture apparatus and preparing, capture apparatus can be in the according to it
During one position, the optical parametric of local environment is measured by the light meter of capture apparatus, surveyed
Optical parameter.Wherein, when carrying out light-metering using light meter, multizone light-metering can be carried out, obtains light-metering
Parameter set, and by capture apparatus at first position, the first image obtained by imaging sensor is same
Region division is carried out, the region of division is identical with the region divided during light-metering, so, if the first image
The value of dry region and the photometric parameter concentration obtained during light-metering be it is one-to-one, in this way
To obtain the corresponding photometric parameter collection with some regions of the first image division.
Wherein, the division particularly for the photometry region using light meter or the region for the first image
Division can be depending on actual conditions, for example, the first image equably can be divided into some pros
Shape, form that can also be by the first image according to honeycomb are divided into multiple regular hexagons etc., specific region
Size can be depending on the needs to precision.
Under another implementation, the acquisition parameters of the first image can also be capture apparatus with being clapped
The range information of object, concrete implementation mode and realization principle are as follows.
Done using capture apparatus in first position shooting prepare when, capture apparatus can according to its acquiescence or
The rule for the focusing that user is set is focused, and then obtains more visible preview image, that is, first
Image.For general capture apparatus when getting the first image, the solid that can also get the first image is deep
Figure information is spent, for example, the capture apparatus with dual camera, can be in same position using capture apparatus
The difference of the image obtained when putting by two cameras, each object in image is calculated with clapping
Take the photograph the range information of equipment.Wherein it is possible to the first image that capture apparatus obtains at first position is entered
Row region division, respectively according to the three-dimensional depth figure information of image, being clapped in regional is calculated
The distance between the object and capture apparatus taken the photograph information.
It should be noted that the first image obtained to capture apparatus at first position carries out region division
When, to first when specific dividing mode can include photometric parameter with the acquisition parameters of foregoing first image
The mode of the region division of image is identical, in addition, when simultaneously the acquisition parameters of the first image are joined including light-metering
Number and capture apparatus and the range information for clapping object, the first image can only be divided in one way
Region, it can also be directed to different types of acquisition parameters and divide different regions.
It should be appreciated that foregoing specific acquisition parameters, and implementation is only distance, not structure
Into restriction.
S320, the anglec of rotation and the displacement of the second place are moved to by first position according to capture apparatus, really
The region of the first image where the data collection point of fixed second image, concentrates from acquisition parameters and obtains second
The acquisition parameters in the region of the first image where the data collection point of image.
Under a kind of implementation, capture apparatus is typically arranged with motion sensor, can be passed according to motion
Anglec of rotation when capture apparatus is moved to the second place by first position is calculated in the parameter that sensor measures
And displacement.
Can be the bat in the specific point or region obtained because capture apparatus is when obtaining preview image
Parameter is taken the photograph, to realize the setting of exposure and focal length etc..For example, center spot light-metering, is according to shooting
The photometric parameter of the center position of environment captured by equipment, exposure, accordingly, center are set
Point focusing, and using bat environment the object of center position and the distance of capture apparatus as focal length, enter
Row is set, Partial metering, is that a certain part that picture is clapped according to capture apparatus carries out light-metering, this survey
Light mode is similar with center spot light-metering, indicates the size of photometry region and has difference, etc..
Now, if determine anglec of rotation when capture apparatus is moved to the second place by first position and
Displacement, acquisition parameters specifically point or region can be obtained to determine capture apparatus in first position,
When being moved to the second place as first position in the first image where picture on caused displacement, so just
The position of the specific point or region of the acquisition parameters of the second image of acquisition on the first image can be determined
Put.That is, the anglec of rotation when second place is moved to by first position by capture apparatus and
Displacement, it may be determined that position of the data collection point of the second image on the first image, that is, can be with
Region of the data collection point of the second image on the first image is determined, due to whole areas on the first image
Domain surveys acquisition parameters and has measured to obtain acquisition parameters data set, it is possible to from acquisition parameters data set
Get, generate the acquisition parameters required for the second image, that is, the data collection point of the second image exists
Acquisition parameters corresponding to region on first image.
Under another implementation, capture apparatus can also obtain whole pictures when obtaining preview image
The mode of the acquisition parameters in face, for example, central heavy spot light-metering, the light-metering algorithm is to pay attention to picture center about
2/3 position, surrounding is also given in the consideration of some degree, evaluate light-metering, carried out for whole picture
Light-metering, exactly photometric parameter all in picture is all mixed, evaluated.Aforesaid way is all
It is to need to carry out light-metering to the Zone Full of picture, then calculates photometry result.Due in shooting process,
When capture apparatus is moved to the second place by first position, the picture of required shooting can also change,
In other words, when when capture apparatus is in first position and being in the second place, captured picture will not
It is identical, but can overlap.So for using the acquisition parameters for obtaining full frame
Method, can be as foregoing implementation, according to motion sensor when capture apparatus is moved
The parameter measured be calculated anglec of rotation when capture apparatus is moved to the second place by first position and
Displacement, according to the anglec of rotation of capture apparatus and displacement, it can be calculated, the first image and the second figure
Which the overlapping region of picture has, and for there is the mode of key area, the key area can also be calculated
Position on the first image, so can according to acquisition parameters data set, obtain overlapping region and or again
The part or all of acquisition parameters in point region, then go out to obtain the second image of acquisition according to these parameter estimations
Required parameter.Because the second image obtained by this method is close to by redefining the second place
Acquisition parameters result, so during camera moves, transition preview image can be used as,
Reduce uncomfortable or lofty sense to user etc..Or when obtaining the second image, due to these shooting ginsengs
Number obtains in advance, so continuing to obtain the acquisition parameters in other regions, reduces reacquisition
The data volume of acquisition parameters, improves efficiency.
Under another implementation, capture apparatus generates the first image or the when obtaining preview image
It can be unfixed that the acquisition point of parameter or region are clapped in the shooting of two images, for example, some capture apparatus
Some specific objects can be identified, for example, the camera with face identification functions, can using the face as
Focus is focused.Now, for the method using the acquisition parameters for obtaining full frame, in capture apparatus
, can be as foregoing implementation when being moved, the parameter measured according to motion sensor calculates
The anglec of rotation and displacement when the second place is moved to by first position to capture apparatus, set according to shooting
The standby anglec of rotation and displacement, it can be calculated, which the overlapping region of the first image and the second image has
A bit, the first step determines the certain objects of the overlapping region, it is then determined that the distance of the object and capture apparatus
Information, the root range information set the focal length of the second image of generation.
Under another implementation, capture apparatus generates the first image or the when obtaining preview image
It can be multiple that the acquisition point of parameter or region are clapped in the shooting of two images, for example, it may be central point and four
Individual angle point, or central point or with central spot in the point of ad-hoc location.Such a mode, obtain the second figure
Each point of picture or the determination mode in region are with foregoing similar, when obtaining some point of the second image not the
, can be by the way of estimation, it is for instance possible to use with being somebody's turn to do on the first image when in one image range
Collection point of the closest point of point as the acquisition parameters of the second image.Certainly, similarly can be again
Measure or be calculated.
S330, it is true according to the acquisition parameters in the region of the first image where the data collection point of the second image
Fixed second image, shooting preview interface is presented on by the second image.
The acquisition parameters of the second image can be obtained obtaining by aforementioned manner, according to these parameters to shooting
Equipment is configured, and can be included clapping by the second image to obtain the second image by imaging sensor
Take the photograph the shooting preview interface of equipment.
In addition, when capture apparatus continues to move to, step S310, S320, S330 can be repeated, this
When, the position in moving process before movement is properly termed as " first position ", the image obtained accordingly
It is properly termed as " the first image ", the position after movement is properly termed as " second place ", obtains accordingly
Image be properly termed as " the second image ".
It will be appreciated that when, word such as " first ", " second " in the application, merely to description is more
It is clear, restriction is not formed.
Professional should further appreciate that, be described with reference to the embodiments described herein
The unit and algorithm steps of each example, it can be come with electronic hardware, computer software or the combination of the two
Realize, in order to clearly demonstrate the interchangeability of hardware and software, in the above description according to function
Generally describe the composition and step of each example.These functions are come with hardware or software mode actually
Perform, application-specific and design constraint depending on technical scheme.Professional and technical personnel can be to every
Described function is realized in individual specific application using distinct methods, but it is this realize it is not considered that
It is beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, can use hardware, processing
The software module that device performs, or the two combination are implemented.Software module can be placed in random access memory
(RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM,
Any other form well known in register, hard disk, moveable magnetic disc, CD-ROM or technical field
Storage medium in.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out
Be further described, should be understood that the embodiment that the foregoing is only of the invention and
, the protection domain being not intended to limit the present invention, within the spirit and principles of the invention, done
Any modification, equivalent substitution and improvements etc., should be included in the scope of the protection.