Summary of the invention
The embodiment of the invention provides a kind of shooting preview method and capture apparatus, may be implemented quickly updating preview picture
The speed in face improves user experience.
In a first aspect, the embodiment provides a kind of shooting preview methods.This method comprises: determining capture apparatus
In the acquisition parameters collection for the first image that first position obtains, which includes several regions, and each region is one group corresponding
Whole acquisition parameters of acquisition parameters, first image constitute acquisition parameters collection.It is moved to according to capture apparatus by first position
The rotation angle of the second position and displacement determine the region of the first image where the data collection point of the second image, from shooting
The acquisition parameters in the region of the first image where the data collection point of the second image are obtained in parameter set.According to the second image
The acquisition parameters in the region of the first image where data collection point determine the second image, and the second image is presented on shooting preview
Interface.It may be implemented through the embodiment of the present invention, predefine the acquisition parameters of preview image, preview graph can be adjusted faster
Picture provides higher user experience.
In a possible design, several regions of aforementioned first image can for square of the same area or just
Hexagon.More rationally it more accurately can predefine the acquisition parameters of preview image through the embodiment of the present invention.
In another possible design, the aforementioned rotation angle for being moved to the second position by first position according to capture apparatus
Degree and displacement, determine that the region of the first image where the data collection point of the second image specifically includes: according to capture apparatus by
First position is moved to the rotation angle and displacement of the second position, where determining central point of the capture apparatus at the second position
The region of first image.It may be implemented through the embodiment of the present invention, for the shooting side of central point focusing or center spot light-metering
Formula can effectively improve the renewal speed of preview image, so that shooting experience is higher.
In another possible design, aforementioned one group of acquisition parameters include photometric parameter.Wherein according to preview image number
It determines that the second image specifically includes according to the acquisition parameters in the region of the first image where collection point: being adopted according to preview image data
The photometric parameter in the region of the first image where collection point, determines exposure, obtains the second image.Through the embodiment of the present invention may be used
To realize, it is contemplated that determine the photometric parameter of preview image, to reduce the time generated a preview image, improve preview image more
New speed improves user experience.
In another possible design, aforementioned one group of acquisition parameters include capture apparatus and captured object away from
From information.Wherein, the second image is determined according to the acquisition parameters in the region of the first image where preview image data collection point
It include: the captured object according to the region of the first image where preview image data collection point at a distance from capture apparatus
Information determines the focusing focal length of capture apparatus, obtains the second image.It may be implemented through the embodiment of the present invention, it is contemplated that determine pre-
The focusing focal length of image look to reduce the time generated a preview image improves the renewal speed of preview image, improves user's body
It tests.
Second aspect, the embodiment provides a kind of shooting preview devices.This includes: that acquisition parameters collection determines mould
Block, for determining the acquisition parameters collection of the first image that capture apparatus is obtained in first position, the first image includes several
Region, the corresponding one group of acquisition parameters in each region, whole acquisition parameters of the first image constitute the acquisition parameters collection;It claps
Parameter acquisition module is taken the photograph, for being moved to rotation angle and the position of the second position by the first position according to the capture apparatus
It moves, determines the region of the first image where the data collection point of second image, concentrated from the acquisition parameters and obtain institute
State the acquisition parameters in the region of the first image where the data collection point of the second image;Second image determining module is used for root
The second image is determined according to the acquisition parameters in the region of the first image where the data collection point of second image, by described
Two images are presented on shooting preview interface.
In a possible design, several regions are square or regular hexagon of the same area.
In another possible design, it includes: that central point determines subelement that acquisition parameters, which obtain module, for according to institute
Rotation angle and displacement that capture apparatus is moved to the second position by the first position are stated, determines the capture apparatus second
The region of the first image where central point when position.
In another possible design, the second image determining module is specifically used for, and is adopted according to the preview image data
The photometric parameter in the region of the first image where collection point, determines exposure, obtains the second image.
In another possible design, the second image determining module is specifically used for, and is adopted according to the preview image data
The captured object in the region of the first image where collection point and the range information of the capture apparatus, determine capture apparatus
Focusing focal length, obtains the second image.
The third aspect, the embodiment provides a kind of capture apparatus.The capture apparatus includes: optical unit, is used
In the pickup light for receiving reference object;Image pickup section, it is true in first position for the pickup light according to the reference object
Fixed first image;Sensor, for determining the acquisition parameters collection of the first image that capture apparatus is obtained in the first position, institute
Stating the first image includes several regions, the corresponding one group of acquisition parameters in each region, whole acquisition parameters structures of the first image
At the acquisition parameters collection;The sensor is also used to determine that the capture apparatus is moved to second by the first position
The rotation angle set and displacement;Processor, for being moved to the second position by the first position according to the capture apparatus
Angle and displacement are rotated, determines the region of the first image where the data collection point of second image, is joined from the shooting
The acquisition parameters in the region of the first image where the data collection point of second image are obtained in manifold;The processor is also
For the optics list to be arranged in the acquisition parameters in the region of the first image where the data collection point of second image
Member, so that described image shooting unit determines the second image;Display unit, for rendering second image.
In a possible design, several regions are square or regular hexagon of the same area.
In another possible design, the processor is also used to, according to the capture apparatus by the first position
It is moved to the rotation angle and displacement of the second position, determines first where central point of the capture apparatus at the second position
The region of image.
In another possible design, the processor is also used to, according to where the preview image data collection point
The first image region photometric parameter, determine exposure, the optical unit be set, so that described image shooting unit
Obtain the second image.
In another possible design, the processor is also used to, according to where the preview image data collection point
The first image region captured object and the capture apparatus range information, determine that the focusing of capture apparatus is burnt
Away from the optical unit being arranged, so that described image shooting unit obtains the second image.
Fourth aspect, the embodiment of the invention provides a kind of storage mediums, for being stored as used in above-mentioned capture apparatus
Computer software instructions, it includes for executing program designed by above-mentioned aspect.Shooting preview provided in an embodiment of the present invention
Method and capture apparatus may be implemented to calculate acquisition parameters in advance, reduce configuration capture apparatus and obtain the time of preview image,
Promote the shooting preview experience of user.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Fig. 1 is a photographed scene example.As shown in Figure 1, capture apparatus 110 shoots object when first position is shot
121 and shooting object 122 in coverage 131, capture apparatus 110 can measure itself and shooting object 121 at a distance from
141, it further determines that focal length is focused, obtains preview image.At this point, capture apparatus 110 can also can also be measured simultaneously
With 142 at a distance from object 122, when capture apparatus is moved to the second position, displacement and angle are determined by motion sensor
Degree extrapolates the capture apparatus 110 after movement 143 at a distance from object 122 further according to distance 142, can directly utilize distance
143 focus as focal length, to faster adjust preview image.
It should be noted that aforementioned scene as shown in connection with fig. 1 only describes a kind of focusing mode, there can also be others
Focusing mode, following embodiments will do it more detailed introduction.
Scene as shown in connection with fig. 1, capture apparatus can also predefine other acquisition parameters, faster to realize
The adjustment of preview image, following embodiments will do it more detailed introduction.
Wherein, scene shown in FIG. 1 is merely to the solution of the present invention can be easier to understand, and composition does not limit,
Other are all suitable for using the scene embodiment of the present invention that capture apparatus obtains preview image.
Fig. 2 is the structural block diagram 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 input to it
In;Image capturing unit 220 is arranged in the rear portion of the optical axis of optical unit 210, and is imaged by 210 Duis of optical unit
Object is shot;Processor 230, real-time image processing and whole control;And display unit 240, for exporting through master
The processed image of processor 230.
Wherein, optical unit 210 may include zoom lens, correction lens, diaphragm (diaphragm) mechanism and focus saturating
Mirror etc..The zoom lens can be moved by zoom motor along optical axis direction and the condenser lens can be by focus motor edge
Optical axis direction it is mobile.The correction lens are controlled by correcting lens motor, so that incident pickup light corresponds to image taking
The angle on surface always substantially constant.Pass through the diaphragm of aperture (iris) motor control diaphragm mechanism.Processor 230 passes through electronic drive
Dynamic device 250 controls these motors.
The image pickup section 220 may include: CCD (Charged Coupled Device, charge-coupled device) figure
As sensor, according to the picture signal of the shooting photogenerated reference object image from optical unit 210;CDS
(Correlated Double Sampling, correlated double sampling) circuit implements relevant double sampling processing (CDS), should
The noise components for including in the picture signal read by ccd image sensor are eliminated in processing;A/D(analog to digital
Converter, analog signal are converted into digital signal) converter, number will be converted to by the analog signal of CDS processing of circuit
Signal;With timing generator (timinggenerator, TG), the timing signal of driving ccd image sensor is generated;
Etc..
Processor 230 has various circuits, is connected to each other by main line.Specifically, processor 230 may include: figure
As input control portion, the image data from A/D converter is applied to main line;Image processing circuit is based on having inputted
Image data implement scheduled Digital Signal Processing;Video memory (Video Random Access Memory, VRAM), is used for
Store the image data of expression image to be displayed;And display control section, the image shown on the display unit is implemented
Control, which is based on the image data stored in VRAM.
Display unit 240 can be used for showing information input by user or the information and capture apparatus that are supplied to user
200 various menus.Display unit 240 may include display panel, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure display panel.Further, touch panel can cover display panel, when touch panel detects touching on it or nearby
After touching operation, processor 230 is sent to determine the type of touch event, is followed by subsequent processing device 230 according to the type of touch event
Corresponding visual output is provided on a display panel.In some embodiments it is possible to by touch panel and display panel it is integrated and
Realization outputs and inputs function.
Capture apparatus 200 can also include: sensor 260, which may include light meter 261, for shooting
Object carries out survey light, obtains photometric parameter.Motion sensor 262, for measuring movement angle and the displacement of capture apparatus 200
Parameter etc..
Input unit 270 can be used for receiving the number or character information of input, and generate the use with capture apparatus 200
Family setting and the related key signals input of function control.Specifically, input unit 270 may include touch panel and other are defeated
Enter equipment.Touch panel, also referred to as touch screen, collect user on it or nearby touch operation (such as user use hand
The operation of any suitable object or attachment such as finger, stylus on touch panel or near touch panel), and according to setting in advance
Fixed formula drives corresponding attachment device.In addition to touch panel, input unit 130 can also include other input equipments.Tool
Body, other input equipments can include but is not limited to physical keyboard, function key (such as tripper, switch key etc.), rail
One of mark ball, operating stick etc. are a variety of.
Memory 280 can be used for storing software program and module, and processor 230 is stored in memory 280 by operation
Software program and module, thereby executing the various function application and data processing of capture apparatus 200.Memory 280 can
It mainly include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function
Application program (such as image preview function, image viewing function etc.) etc.;Storage data area can be stored according to capture apparatus 200
Use created data (such as video data, photo etc.) etc..In addition, memory 280 may include high random access
Memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are volatile
Property solid-state memory.
When using having the capture apparatus 200 such as above structure to be shot, capture apparatus 200 can pass through sensor
The case where optical parameter and captured object of 260 pairs of data collection point local environments etc., measures, and obtains shooting ginseng
Number, the acquisition parameters setting optical unit 210 or display unit 240 then obtained according to measurement, then pass through image taking list
Member 220 obtains image and is shown in the shooting preview interface of the display unit 240 of capture apparatus, and user can be by preview circle
Face is seen to be shot true, clearly image.
In embodiments of the present invention, the optical parameter and captured object to reference object local environment the case where etc.
When etc. measuring, preview image can be divided into several regions, and measure as unit of region, respectively obtaining shooting ginseng
Number, and the region that acquisition parameters and preview image are divided into corresponds, when shooting angle or camera site etc. change
When, it can use the measurement result that the motion sensor in capture apparatus measures, after judging that capture apparatus is mobile
The positional relationship of new data collection point and former preview image, and then can determine former preview image where new data collection point
Region, since all areas of former preview image have corresponding acquisition parameters, so it is corresponding to find new data collection point
Behind the region of former preview image, the corresponding acquisition parameters in the region are obtained, capture apparatus is set according to the acquisition parameters, are obtained new
The image shows the preview interface in capture apparatus, can realize and calculate acquisition parameters in advance by the image of one frame, and reduction is matched
It sets capture apparatus and obtains the time of preview image, promote the shooting preview experience of user.
In order to facilitate understanding of embodiments of the present invention, it is further explained below in conjunction with attached drawing with specific embodiment
Bright, embodiment does not constitute the restriction to the embodiment of the present invention.
Fig. 3 is a kind of shooting preview method flow diagram that embodiment of the present invention method provides.This method may operate in as
In capture apparatus shown in Fig. 2.This method can specifically include:
S310 determines the acquisition parameters collection for the first image that capture apparatus is obtained in first position, wherein the first image packet
Several regions, the corresponding one group of acquisition parameters in each region are included, each group of acquisition parameters of the first image constitute acquisition parameters collection.
In an implementation mode, the acquisition parameters of the first image can be photometric parameter, concrete implementation principle and
Embodiment is as follows.
When doing shooting preparation in first position using capture apparatus, capture apparatus can be in first position according to it
When, the optical parameter of local environment is measured by the light meter of capture apparatus, obtains photometric parameter.Wherein, it is utilizing
When light meter carries out survey light, multizone can be carried out and survey light, obtain photometric parameter collection, and by capture apparatus at first position,
Region division, the region of division and the region phase divided when surveying light are equally carried out by the first image that imaging sensor obtains
Together, in this way, the value that several regions of the first image are concentrated with the photometric parameter obtained when surveying light is correspondingly, by this
Mode can obtain the corresponding photometric parameter collection in several regions divided with the first image.
Wherein, particularly for using light meter photometry region division or can for the division in the region of the first image
For example, several squares equably can be divided into the first image, the first image can also be pressed depending on actual conditions
According to the form of honeycomb, it is divided into multiple regular hexagons etc., the size in specific region can be depending on the needs to precision.
Under another implementation, the acquisition parameters of the first image can also be capture apparatus and clapped object away from
From information, concrete implementation mode and realization principle are as follows.
When doing shooting preparation in first position using capture apparatus, capture apparatus can be according to its default or user setting
The rule of focusing focus, and then obtain more visible preview image, that is, the first image.General capture apparatus is obtaining
When getting the first image, the three-dimensional depth figure information of the first image can also be got, for example, the shooting with dual camera is set
It is standby, it can use difference when capture apparatus is in same position by two camera images obtained, figure be calculated
The range information of each object and capture apparatus as in.Wherein it is possible to obtained to capture apparatus at first position first
Image carries out region division and the captured object in each region is calculated respectively according to the three-dimensional depth figure information of image
The distance between body and capture apparatus information.
It should be noted that when carrying out region division to the first image that capture apparatus is obtained at first position, specifically
Division mode when can include photometric parameter with the acquisition parameters of aforementioned first image to the side of the region division of the first image
Formula is identical, in addition, the acquisition parameters when the first image include simultaneously photometric parameter and capture apparatus at a distance from clapped object
Information only can divide region to the first image in one way, can also divide for different types of acquisition parameters different
Region.
It should be appreciated that aforementioned specific acquisition parameters and implementation are only distance, do not constitute and limit.
S320 is moved to the rotation angle and displacement of the second position by first position according to capture apparatus, determines the second figure
As data collection point where the first image region, from acquisition parameters concentrate obtain the second image data collection point where
The first image region acquisition parameters.
In an implementation mode, capture apparatus is typically arranged with motion sensor, can be measured according to motion sensor
Parameter rotation angle and displacement when capture apparatus is moved to the second position by first position is calculated.
Since capture apparatus is when obtaining preview image, it can be the specific point of acquisition or the acquisition parameters in region,
To realize the setting of exposure and focal length etc..For example, center spot light-metering, is the center of the environment according to captured by capture apparatus
Photometric parameter at position, is arranged exposure, correspondingly, central point is focused, and with the center position of clapped environment
Object is focal length at a distance from capture apparatus, is configured, Partial metering, is a certain part according to the clapped picture of capture apparatus
Survey light is carried out, this Exposure Metering is similar with center spot light-metering, indicates that the size of photometry region has difference, etc..
As long as at this point, determining the rotation angle and displacement when capture apparatus is moved to the second position by first position, just
It can determine that capture apparatus obtains acquisition parameters in first position and specifically puts or region, be moved to second by first position
The displacement generated on the picture where the first image when position can determine the acquisition parameters for obtaining the second image in this way
The position of specific point or region on the first image.That is, being moved to second by first position by capture apparatus
Rotation angle and displacement when position, it may be determined that the position of the data collection point of the second image on the first image, also
It is that can determine the region of the data collection point of the second image on the first image, is surveyed and clapped due to the whole region on the first image
It takes the photograph parameter to have measured to obtain acquisition parameters data set, it is possible to get from acquisition parameters data set, generate the second figure
As required acquisition parameters, that is, the data collection point corresponding shooting ginseng in region on the first image of the second image
Number.
Under another implementation, capture apparatus is when obtaining preview image, the also shooting of available whole pictures
The mode of parameter, for example, central heavy spot light-metering, which is the position for paying attention to picture center about 2/3, surrounding is also given in
Light is surveyed in the considerations of certain degree, evaluation, is to carry out survey light for entire picture, is exactly that photometric parameter all in picture is all mixed
Altogether, it is evaluated.Aforesaid way is all to need to carry out survey light to the whole region of picture, then calculates photometry result.By
In in shooting process, when capture apparatus is moved to the second position by first position, the picture of required shooting can also become
Change, in other words, when capture apparatus being in first position in the second position, captured picture will not be identical,
But it can overlap.So being moved for the method using the acquisition parameters for obtaining full frame in capture apparatus
When, capture apparatus can be calculated by first position according to the parameter that motion sensor measures as aforementioned implementation
Rotation angle and displacement when being moved to the second position can be calculated according to the rotation angle of capture apparatus and displacement,
Which the overlapping region of first image and the second image has, and for there is the mode of key area, the emphasis can also be calculated
The position of region on the first image, so can according to acquisition parameters data set, obtain overlapping region and or key area
Then part or all of acquisition parameters go out parameter required for obtaining obtaining the second image according to these parameter estimations.Due to logical
The second image of this method acquisition is crossed close to the result by redefining the acquisition parameters of the second position, so moving in camera
In dynamic process, transition preview image can be used as, reduce to the uncomfortable or lofty sense etc. of user.Alternatively, obtaining the second figure
When picture, since these acquisition parameters obtain in advance, so continuing to obtain the acquisition parameters in other regions, weight is reduced
The new data volume for obtaining acquisition parameters, improves efficiency.
Under another implementation, capture apparatus generates the first image or the second image when obtaining preview image
Shooting clap parameter acquisition point or region can be it is unfixed, for example, some capture apparatus can identify some specific objects
Body, for example, the camera with face identification functions, can focus using the face as focus.At this point, for being drawn using acquisition is complete
The method of the acquisition parameters in face can be as aforementioned implementation, according to motion sensor when capture apparatus occurs mobile
Rotation angle and displacement when capture apparatus is moved to the second position by first position is calculated in the parameter measured, according to bat
The rotation angle and displacement for taking the photograph equipment, can be calculated, which the overlapping region of the first image and the second image has, the first step
It determines the certain objects of the overlapping region, then determines that the range information of the object and capture apparatus, the root range information set life
At the focal length of the second image.
Under another implementation, capture apparatus generates the first image or the second image when obtaining preview image
Shooting clap parameter acquisition point or region can be it is multiple, for example, it may be central point and four angle points or central point or with
Center is in the point of specific position.Such mode obtains each point of the second image or the method for determination in region and aforementioned class
It seemingly, can be by the way of estimation, for example, can adopt when obtaining some point of the second image not in the first image range
Use on the first image with point distance it is nearest o'clock as the second image acquisition parameters collection point.Certainly, similarly may be used
To re-measure or be calculated.
S330 determines the second figure according to the acquisition parameters in the region of the first image where the data collection point of the second image
Second image is presented on shooting preview interface by picture.
By the available acquisition parameters for obtaining the second image of foregoing manner, capture apparatus is carried out according to these parameters
Setting, the second image can be obtained by imaging sensor, the second image is shown the shooting preview interface in capture apparatus.
In addition, step S310, S320, S330 can be repeated when capture apparatus continues to move to, at this point, being moved through
Position in journey before movement is properly termed as " first position ", and the image obtained accordingly is properly termed as " the first image ", after mobile
Position be properly termed as " second position ", the image obtained accordingly is properly termed as " the second image ".
It will be appreciated that when, " first " in the application, words such as " second " do not constitute limit merely to description becomes apparent from
It is fixed.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.