CN107770444A - Parameter determination method of taking pictures and device - Google Patents
Parameter determination method of taking pictures and device Download PDFInfo
- Publication number
- CN107770444A CN107770444A CN201711029932.9A CN201711029932A CN107770444A CN 107770444 A CN107770444 A CN 107770444A CN 201711029932 A CN201711029932 A CN 201711029932A CN 107770444 A CN107770444 A CN 107770444A
- Authority
- CN
- China
- Prior art keywords
- acquisition parameters
- displacement
- camera site
- terminal
- calibration
- 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/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/10—Details of telephonic subscriber devices including a GPS signal receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
Abstract
The disclosure discloses a kind of acquisition parameters and determines method and device, belongs to data processing field.The acquisition parameters determine that method includes:The first camera site and the first acquisition parameters, the first acquisition parameters for recording terminal are the parameters when the first camera site is shot;When receiving shooting instruction, the displacement between the second camera site and the first camera site is determined, the second camera site is position when receiving shooting instruction;When displacement is less than default mobile threshold value, the second acquisition parameters are determined according to the first acquisition parameters, the difference between the first acquisition parameters and the second acquisition parameters is less than predetermined threshold value;Shot according to the second acquisition parameters.The disclosure can keep acquisition parameters not to be mutated, so as to ensure the shooting quality of terminal when the moving range of terminal is smaller.
Description
Technical field
The embodiment of the present disclosure is related to data processing field, and more particularly to one kind is taken pictures parameter determination method and device.
Background technology
Smart mobile phone can voluntarily adjust acquisition parameters when shooting photo according to environmental light parameter.
For example smart mobile phone voluntarily determines first group according to environmental light parameter when medium and long distance shoots an object
Acquisition parameters are shot;Smart mobile phone voluntarily determines second group of bat according to environmental light parameter in the shooting at close range object
Parameter is taken the photograph to be shot.
But due to the algorithm errors of smart mobile phone, the difference for two groups of acquisition parameters that smart mobile phone is voluntarily determined may
It is very big, cause to shoot the photo difference on effect come twice very big.
The content of the invention
The embodiment of the present disclosure provides one kind and taken pictures parametric technique and device, can be used for solving smart mobile phone difference away from
During from shooting same object, the problem of acquisition parameters difference that terminal is voluntarily determined is larger, the technical scheme is as follows:
According to the first aspect of the disclosure, there is provided one kind is taken pictures parameter determination method, and methods described includes:
The first camera site and the first acquisition parameters of terminal are recorded, first acquisition parameters are in the described first shooting
Parameter when position is shot;
When receiving shooting instruction, the displacement between the second camera site and first camera site is determined,
Second camera site is position when receiving the shooting instruction;
When the displacement is less than default mobile threshold value, determine that the second shooting is joined according to first acquisition parameters
Number, the difference between first acquisition parameters and second acquisition parameters are less than predetermined threshold value;
Shot according to second acquisition parameters.
It is described when receiving shooting instruction in an optional embodiment, determine the second camera site and described the
Displacement between one camera site, including:
Record acceleration of the terminal in three reference axis of default rectangular coordinate system in space;
Acceleration in three reference axis is integrated, obtains the displacement in three reference axis;
According to the displacement in three reference axis, second camera site and first camera site are calculated
Between displacement.
In an optional embodiment, methods described also includes:
When receiving shooting instruction, the second calibration camera site is obtained by global position system GPS;
The second calibration the distance between the camera site and first camera site are calculated, as reference distance;
The displacement is calibrated using the reference distance.
It is described that the displacement is calibrated using the reference distance in an optional embodiment, including:
Using the reference distance as the displacement after calibration;
Or;
It is weighted averagely using the reference distance and the displacement, obtains the displacement after the calibration.
It is described to determine the second acquisition parameters according to first acquisition parameters in an optional embodiment, including:
Use environment optical parameter is determined to predict acquisition parameters;
It is weighted averagely using first acquisition parameters and prediction acquisition parameters, obtains second acquisition parameters.
It is described to use first acquisition parameters and predict that it is flat that acquisition parameters are weighted in an optional embodiment
, second acquisition parameters are obtained, including:
Calculate the image quality fraction of the image photographed according to first acquisition parameters;
The weights according to corresponding to the image quality fraction determines first acquisition parameters;
According to weights corresponding to first acquisition parameters, first acquisition parameters and prediction acquisition parameters are added
Weight average, obtain second acquisition parameters.
In an optional embodiment, first acquisition parameters and second acquisition parameters include:It is f-number, fast
At least one of gate value, color temperature value, light exposure, white balance value.
According to the second aspect of the disclosure, there is provided a kind of acquisition parameters determining device, described device include:
Logging modle, it is configured as recording the first camera site and the first acquisition parameters of terminal, the first shooting ginseng
Number is the parameter when first camera site is shot;
First determining module, it is configured as, when receiving shooting instruction, determining the second camera site and the first count
The displacement to act as regent between putting, second camera site are positions when receiving the shooting instruction;
Second determining module, when being configured as the displacement less than default mobile threshold value, according to the first count
Take the photograph parameter and determine the second acquisition parameters, the difference between first acquisition parameters and second acquisition parameters is less than default
Threshold value;
Taking module, it is configured as being shot according to second acquisition parameters.
In an optional embodiment, first determining module, including:
Record sub module, it is configured as recording the terminal in three reference axis of default rectangular coordinate system in space
Acceleration;
Submodule is integrated, is configured as integrating the acceleration in three reference axis, obtains three seats
Displacement on parameter;
Calculating sub module, it is configured as, according to the displacement in three reference axis, calculating the second count and acting as regent
Put the displacement between first camera site.
In an optional embodiment, first determining module also includes:
Acquisition submodule, it is configured as, when receiving shooting instruction, the second calibration being obtained by global position system GPS
Camera site;
The calculating sub module, it is configured as calculating between the second calibration camera site and first camera site
Distance, as reference distance;
Submodule is calibrated, the reference distance is configured with and the displacement is calibrated.
In an optional embodiment, the calibration submodule, including:
Using the reference distance as the displacement after calibration;
Or;
It is weighted averagely using the reference distance and the displacement, obtains the displacement after the calibration.
In an optional embodiment, second determining module, including:
Submodule is multiplexed, is configured as first acquisition parameters being multiplexed with second acquisition parameters.
In an optional embodiment, second determining module, including:
Determination sub-module, it is configured with environmental light parameter and determines to predict acquisition parameters;
Submodule is weighted, first acquisition parameters is configured with and prediction acquisition parameters is weighted averagely, obtain
To second acquisition parameters.
In an optional embodiment, the weighting submodule, including:
Calculating sub module, it is configured as calculating the image quality point of the image photographed according to first acquisition parameters
Number;
Determination sub-module, it is configured as the power according to corresponding to the image quality fraction determines first acquisition parameters
Value;
Submodule is weighted, the weights according to corresponding to first acquisition parameters are configured as, to first acquisition parameters
It is weighted averagely with prediction acquisition parameters, obtains second acquisition parameters.
In an optional embodiment, first acquisition parameters and second acquisition parameters include:It is f-number, fast
At least one of gate value, color temperature value, light exposure, white balance value.
According to the third aspect of the disclosure, there is provided a kind of terminal, the equipment includes processor and memory, described to deposit
At least one instruction is stored with reservoir, at least one instruction is loaded by the processor and performed to realize such as the disclosure
Acquisition parameters described in embodiment first aspect and its any optional embodiment determine method.
According to the fourth aspect of the disclosure, there is provided a kind of computer-readable recording medium, store in the storage medium
There is at least one instruction, at least one instruction is loaded by the processor and performed to realize such as the embodiment of the present disclosure first
Acquisition parameters described in aspect and its any optional embodiment determine method.
The beneficial effect brought of technical scheme that the embodiment of the present disclosure provides is:
When the distance of terminal movement is less than predetermined threshold value, the second acquisition parameters are determined by the first acquisition parameters so that
Difference between first acquisition parameters and the second acquisition parameters is less than predetermined threshold value, so that difference of the terminal in close range
When position is taken pictures to same object, acquisition parameters do not have mutation, so as to ensure the shooting quality of terminal.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present disclosure, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present disclosure, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart that the acquisition parameters that one exemplary embodiment of the disclosure provides determine method;
Fig. 2 is that the acquisition parameters of the disclosure another exemplary embodiment offer determine the flow chart of method;
Fig. 3 is that the acquisition parameters of the disclosure another exemplary embodiment offer determine the flow chart of method;
Fig. 4 is the structural representation for the acquisition parameters determining device that one exemplary embodiment of the disclosure provides;
Fig. 5 is the structural representation for the acquisition parameters determining device that one exemplary embodiment of the disclosure provides.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party
Formula is described in further detail.
Image collecting device:For being acquired to target image.Image collecting device is internally provided with CCD camera assembly,
Image collecting device includes but is not limited to following several:Camera, video camera, mobile phone, tablet personal computer, wearable device, platform
Formula calculates and pocket computer on knee.
Aperture:After in control light in gathering image process through camera lens, into the light quantity of the interior photosurface of fuselage.
Shutter:For controlling light in image process is gathered into the duration of the interior photosurface of fuselage.Moved in shooting
During the target of speed, the duration of shutter is smaller, and now light exposure is less;During low-light (level), the duration of shutter is generally larger, this
When light exposure it is larger.
Color temperature value:It is the index of light source light spectrum quality, for representing the colour temperature of light source.
Light exposure:Refer to during gathering a two field picture, the light quantity that the interior photosurface of image collecting device receives.Expose
Light quantity=illumination × time.Wherein, illumination is determined by aperture, and the time is by shutter control.Aperture size is bigger, and light exposure is bigger;
The duration of shutter is longer, and light exposure is bigger.
White balance:Refer to reducing power of the camera to white object.
Fig. 1 is the flow chart that a kind of acquisition parameters according to an exemplary embodiment determine method, the acquisition parameters
The method of determination be can apply in terminal, and camera and positioning component are provided with the terminal.This method can include following step
Suddenly.
Step 101, the first camera site and the first acquisition parameters of terminal are recorded.
Wherein, the first acquisition parameters are the parameters when the first camera site is shot, for representing that terminal is receiving
To the parameter value of taking pictures that during shooting instruction, terminal is set automatically according to environmental light parameter.Alternatively, environmental light parameter includes:Ring
Border luminous intensity, and/or, environment light color temperature.
When user clicks on shutter, terminal receives the first shooting instruction.Terminal determines to receive the first shooting instruction
When, the locus of terminal is determined by positioning component, and the locus is stored as the first camera site.
Meanwhile terminal also obtains the parameter value of taking pictures when receiving the first shooting instruction, the parameter value of taking pictures is regard as the
One acquisition parameters are stored in terminal.
Step 102, when receiving shooting instruction, determine movement between the second camera site and the first camera site away from
From.
After terminal moves from the first camera site, when user again taps on shutter, terminal receives the second shooting again
Instruction.Terminal obtains locus when receiving the second shooting instruction, using the locus as the second camera site, and counts
Calculate the displacement between the second camera site and the first camera site.
Wherein, displacement can be by pre-establishing rectangular coordinate system in space, and computing terminal is in rectangular coordinate system in space
Three directions on the distance that moves respectively, and the distance by being moved respectively on three directions calculated from the first camera site
It is moved to the actual displacement of the second camera site;Or pass through GPS (Global Positioning System, the whole world
Alignment system) the first camera site and the second camera site are positioned, then calculate between the first camera site and the second camera site
Displacement;Or wireless signal is sent to terminal by three Wi-Fi anchor points of indoor setting, received according to terminal
The attenuation degree for the wireless signal that the Wi-Fi anchor points arrived are sent, determines the first camera site and the second camera site, then calculate
Displacement between first camera site and the second camera site.The embodiment of the present disclosure is not added with to the calculation of displacement
To limit.
Step 103, when displacement is less than default mobile threshold value, determine that the second shooting is joined according to the first acquisition parameters
Number, the difference between the first acquisition parameters and the second acquisition parameters are less than predetermined threshold value.
A mobile threshold value is preset in terminal, when terminal is moved to from the first camera site the shifting of the second camera site
When dynamic distance is more than the movement threshold value, it is determined that this time mobile situation larger for displacement, terminal is voluntarily according to environment beche-de-mer without spike
Number calculates the second acquisition parameters of the second camera site, and is shot according to the second acquisition parameters.Alternatively, environment beche-de-mer without spike
Number includes:Ambient light intensity and/or environment light color temperature.
When terminal from the first camera site be moved to second count act as regent the displacement that postpones be less than the movement threshold value when, really
Fixed this time movement is the less situation of displacement, and terminal determines the second acquisition parameters according to the first acquisition parameters, and guarantee the
Difference between one acquisition parameters and the second acquisition parameters is less than preset difference value.Namely ensure the first acquisition parameters and the second shooting
It will not be mutated between parameter.
Alternatively, terminal determines that the second acquisition parameters can include according to the first acquisition parameters:First acquisition parameters are straight
Connect and be multiplexed with the second acquisition parameters, or, as second after the first acquisition parameters and prediction acquisition parameters are weighted averagely
Acquisition parameters, prediction acquisition parameters are the acquisition parameters that terminal is voluntarily determined according to environmental light parameter.
In addition, predetermined threshold value is used to judge the difference between the acquisition parameters of terminal first and the second acquisition parameters, when first
When difference between acquisition parameters and the second acquisition parameters is more than predetermined threshold value, represent that the Parameters variation of taking pictures of terminal is larger, clap
It is larger to take the photograph effect difference;When the difference between the first acquisition parameters and the second acquisition parameters is less than predetermined threshold value, terminal is represented
Parameters variation of taking pictures it is smaller, shooting effect difference it is smaller.Terminal only needs to ensure the first acquisition parameters and the second acquisition parameters
Between difference be less than predetermined threshold value, when actually realizing, terminal be not necessarily to the differences of two groups of acquisition parameters with it is pre-
If threshold value is compared, the predetermined threshold value also not necessarily clearly stores in the terminal.
Step 104, shot according to the second acquisition parameters.
After terminal gets the second acquisition parameters, terminal is configured according to the second acquisition parameters to acquisition parameters, and
Shot according to acquisition parameters.
In summary, the acquisition parameters provided in the embodiment of the present disclosure determine method, by judge the first camera site with
The magnitude relationship between displacement and default mobile threshold value between second camera site, when displacement is less than default movement
During threshold value, the second acquisition parameters are determined according to the first acquisition parameters, terminal is shot according to the second acquisition parameters, so as to solve
When terminal, when different distance shoots same object, acquisition parameters numerical value difference is larger, causes the photograph taking effect shot
The problem of differing greatly, reach when the moving range of terminal is smaller, the acquisition parameters of terminal carry without the effect of mutation
High user carries out the shooting quality for the photo that photographing operation obtains.
Fig. 2 is a kind of flow chart of parameter determination method of taking pictures according to another exemplary embodiment, the ginseng of taking pictures
Number determination method is applied in terminal, and camera and positioning component are provided with the terminal.Alternatively, the positioning component is to accelerate
Spend sensor and/or GPS.This method comprises the following steps:
Step 201, the first camera site and the first acquisition parameters of terminal are recorded.
Wherein, the first acquisition parameters are the parameters when the first camera site is shot, and can be used to indicate that terminal exists
When receiving the first shooting instruction, parameter value of taking pictures that terminal is set automatically according to environmental light parameter.
When user clicks on shutter, terminal receives the first shooting instruction.Terminal determines to receive the first shooting instruction
When terminal locus, and the locus is stored as the first camera site.
Meanwhile terminal also obtains the parameter value of taking pictures when receiving the first shooting instruction, the parameter value of taking pictures is regard as the
One acquisition parameters are stored in terminal.
Wherein, the first acquisition parameters can include but is not limited to:F-number, fast gate value, color temperature value, light exposure, white balance
At least one of value.
Such as first acquisition parameters be:F-number is F2, fast gate value is 1/150s, color temperature value 2700k, light exposure are
4。
It should be noted that after camera application program is opened, acquisition parameters when terminal can shoot first time are made
For the first acquisition parameters, acquisition parameters when terminal can also shoot ith are as the first acquisition parameters, and the present embodiment is to this
It is not limited.In other words, the first time in " first " not necessarily actual photographed in the present embodiment, but refer to
The repeatedly ith in shooting;Second in " second " not necessarily actual photographed in the present embodiment, but refer to repeatedly
I+1 time in shooting.
Step 202, acceleration of the terminal in three reference axis of default rectangular coordinate system in space is recorded.
Acceleration transducer is provided with terminal, acceleration transducer can collect mobile acceleration of the terminal in movement
Degree.
Rectangular coordinate system in space is established as origin using any point in terminal.When terminal moves from the first camera site
During the second camera site, terminal obtains three reference axis of rectangular coordinate system in space by acceleration transducer respectively
Acceleration on direction.
Such as using the position where acceleration transducer as origin, using perpendicular to the direction of terminal as Z-direction,
Using the short side of terminal as X-axis, rectangular coordinate system in space is established as Y-axis using the long side of terminal.
Step 203, the acceleration in three reference axis is integrated, obtains the displacement in three reference axis.
Terminal obtains carries out the first shooting time of photographing operation in the first camera site, obtains and enters in the second camera site
Second shooting time of row photographing operation, and the time difference between the first shooting time and the second shooting time is obtained, when comparing
Between it is poor with the magnitude relationship of default time threshold.
When the time difference being more than time threshold, because the adjacent interval that shoots twice is too long, terminal can not consider first
The influence of acquisition parameters, terminal automatically determine out the second acquisition parameters according to second count according to the environmental light parameter at moment.
When the time difference being less than time threshold because it is adjacent shoot twice it is closely spaced, terminal need consider first count
Take the photograph the influence of parameter, terminal obtains the acceleration on three change in coordinate axis direction of rectangular coordinate system in space, and when being shot with first
The period between the second shooting time is carved as the time of integration, the acceleration on three change in coordinate axis direction is accumulated respectively
Point, calculate the distance that terminal moves on three change in coordinate axis direction.
For example terminal is 0s in the first shooting time that the first camera site carries out shooting operation, in the second camera site
The second shooting time for carrying out shooting operation is 1s, and terminal calculates terminal and is moved to the second camera site from the first camera site
Time difference be 1s, it is assumed that default time threshold be 1 minute, therefore the time difference be less than time threshold.Acted as regent from first count
Put during being moved to the second camera site, the acceleration that terminal is got in the X-direction of rectangular coordinate system in space is
2cm/s2, the acceleration in Y direction is 4cm/s2, the acceleration in Z-direction is 8cm/s2.Terminal is respectively to three coordinates
Acceleration on direction of principal axis carries out quadratic integral, and obtaining terminal, displacement is 1cm in the X-axis direction, and terminal is in the Y-axis direction
Mobile distance is 2cm, and the distance that terminal moves in the Z-axis direction is 4cm.
Step 204, according to the displacement in three reference axis, calculate between the second camera site and the first camera site
Displacement.
Terminal gets terminal after three distances just moved up of reference axis according to formula
The displacement of computing terminal.
Wherein, D is the distance between the second camera site and the first camera site, x0Moved for terminal from the first camera site
Move second count to act as regent the distance for postponing and moving in the X-axis direction, y0For terminal the second shooting is moved to from the first camera site
The distance moved in the Y-axis direction behind position, z0From the first camera site second count is moved to for terminal acts as regent postpone in Z axis side
The distance moved up.
For example the distance that terminal moves in the X-axis direction is x0=1cm, the distance that terminal moves in Y-axis are y0=
2cm, the distance that terminal moves on Z axis are z0=4cm, therefore, terminal are moved to the second picture-taking position from the first picture-taking position
Displacement
Alternatively, because the position error of acceleration transducer is small but drift error is very big, GPS position error is big but floats
Shift error very little, so the present embodiment also includes following calibration process:
Step 205, when receiving shooting instruction, the second calibration camera site is obtained by GPS.
When terminal is receiving the second shooting instruction on the second camera site, terminal also passes through global position system GPS
Obtain the second calibration camera site that terminal is currently located.
Step 206, the second calibration the distance between camera site and the first camera site is calculated, as reference distance.
For example terminal is calculated the distance between second calibration camera site and the first camera site by GPS and is
8cm, therefore 8cm is reference distance.
Step 207, displacement is calibrated using reference distance.
Because terminal is larger using drift error caused by the displacement of integral and calculating terminal, and determined using GPS
The drift error of position and the displacement of the terminal by being calculated is smaller, and therefore, terminal is using GPS location mode to terminal
Displacement calibrated.
When displacement and reference distance difference, terminal is calibrated using reference distance to displacement.
Step 208, when displacement is less than default mobile threshold value, the first acquisition parameters are multiplexed with the second shooting ginseng
Number.
When displacement is less than default mobile threshold value, the first acquisition parameters are directly multiplexed with the second shooting and joined by terminal
Number.
Step 211, shot according to the second acquisition parameters.
After terminal gets the second acquisition parameters, shot according to the second acquisition parameters.
It should be noted that step 202-204 and step 205-206 does not have sequencing only to perform step 202-
204, or, step 202-204 and step 205-206 carries out simultaneously.
In an optional embodiment, step 208 can also replace with step 209 to step 210.
Step 209, when displacement is less than default mobile threshold value, use environment optical parameter automatically determines out prediction shooting
Parameter.
Wherein, the method that terminal use environment optical parameter automatically determines out prediction acquisition parameters, can include:Work as end
When under exposal model, terminal obtains the environmental light parameter of surrounding with sometime interval automatically, and by environmental light parameter certainly
It is dynamic to determine to predict acquisition parameters.
Or, taken pictures when terminal is under state, when terminal gets photographing instruction, it is automatic that terminal obtains environmental light parameter
Determine to predict acquisition parameters.
Step 210, it is weighted averagely using the first acquisition parameters and prediction acquisition parameters, obtains the second acquisition parameters.
When the displacement of terminal is less than default mobile threshold value, the first acquisition parameters and prediction acquisition parameters are added
Weight average obtains the second acquisition parameters.
Alternatively, because the first acquisition parameters include many kinds of parameters, prediction acquisition parameters also include many kinds of parameters.Carry out
During weighted average, the acquisition parameters that same type is belonged in the first acquisition parameters and prediction acquisition parameters are weighted average.
For example the color temperature value of the color temperature value in the first acquisition parameters and prediction acquisition parameters is weighted average, the first acquisition parameters
In light exposure and prediction acquisition parameters light exposure be weighted it is average, and be unable to different type parameter be weighted it is average.
Alternatively, whole parameters in the first acquisition parameters and prediction acquisition parameters are weighted average or only right
Partial parameters are weighted average.
Wherein, the weighted value of the first acquisition parameters and the weighted value of default acquisition parameters can be fixed weighted value,
Can actual photographed situation is dynamically determined according to weighted value.But the weighted value of the first acquisition parameters and default acquisition parameters
Weighted value and equal to 1.
In summary, the acquisition parameters provided in the embodiment of the present disclosure determine method, by judge the first camera site with
The magnitude relationship between displacement and default mobile threshold value between second camera site, when displacement is less than default movement
During threshold value, the second acquisition parameters are determined according to the first acquisition parameters, terminal is shot according to the second acquisition parameters, so as to solve
When terminal, when different distance shoots same object, acquisition parameters difference is larger, causes the photograph taking difference on effect shot
The problem of larger, reach when the moving range of terminal is smaller, the acquisition parameters of terminal are improved and used without the effect of mutation
Family carries out the shooting quality for the photo that photographing operation obtains.
The acquisition parameters provided in the embodiment of the present disclosure determine method, by obtaining terminal in rectangular coordinate system in space
Acceleration, computing terminal moves up distance in three sides of reference axis, and computing terminal is moved to from the first camera site
The displacement of two camera sites, the effect accurately calculated displacement of the terminal in short-distance movement is reached.
The acquisition parameters provided in the embodiment of the present disclosure determine method, and the second calibration shooting position of terminal is obtained by GPS
Put, reference distance is used as by the distance between the calibrating position of terminal second and the first camera site, and with reference distance to moving
Dynamic distance is calibrated, and has reached the effect calibrated to distance of the terminal in short-distance movement, is improved terminal and is calculated
Displacement accuracy.
The acquisition parameters provided in the embodiment of the present disclosure determine method, by being less than predetermined threshold value by first when displacement
Acquisition parameters are assigned to the second acquisition parameters.Reach the acquisition parameters of quick obtaining second and reduce the meter that terminal calculates acquisition parameters
The effect of calculation amount.
The acquisition parameters provided in the embodiment of the present disclosure determine method, by judging the first acquisition parameters and prediction shooting ginseng
Number, which is weighted, averagely obtains the second acquisition parameters, has reached the effect for obtaining the preferable acquisition parameters of shooting effect.
Fig. 3 is a kind of flow chart of parameter determination method of taking pictures according to another exemplary embodiment, the ginseng of taking pictures
Number determination method is applied in terminal, and camera and positioning component are provided with the terminal.Alternatively, the positioning component is to accelerate
Spend sensor and/or GPS.This method comprises the following steps:
In step 301, the first camera site and the first acquisition parameters of terminal are recorded.
Wherein, the first acquisition parameters are the parameters when the first camera site is shot, and can be used to indicate that terminal exists
When receiving the first shooting instruction, parameter value of taking pictures that terminal is set automatically according to environmental light parameter.
When user clicks on shutter, terminal receives the first shooting instruction.Terminal determines to receive the first shooting instruction
When terminal locus, and the locus is stored as the first camera site.
Meanwhile terminal also obtains the parameter value of taking pictures when receiving the first shooting instruction, the parameter value of taking pictures is regard as the
One acquisition parameters are stored in terminal.
Wherein, the first acquisition parameters can include but is not limited to:F-number, fast gate value, color temperature value, light exposure, white balance
At least one of value.
Such as first acquisition parameters be:F-number is F2, fast gate value is 1/150s, color temperature value 2700k, light exposure are
4。
It should be noted that after camera application program is opened, acquisition parameters when terminal can shoot first time are made
For the first acquisition parameters, acquisition parameters when terminal can also shoot ith are as the first acquisition parameters, and the present embodiment is to this
It is not limited.In other words, the first time in " first " not necessarily actual photographed in the present embodiment, but refer to
The repeatedly ith in shooting;Second in " second " not necessarily actual photographed in the present embodiment, but refer to repeatedly
I+1 time in shooting.
Step 302, acceleration of the terminal in three reference axis of default rectangular coordinate system in space is recorded.
Acceleration transducer is provided with terminal, acceleration transducer can collect mobile acceleration of the terminal in movement
Degree.
Rectangular coordinate system in space is established as origin using any point in terminal.When terminal moves from the first camera site
During the second camera site, terminal obtains three reference axis of rectangular coordinate system in space by acceleration transducer respectively
Acceleration on direction.
Such as using the position where acceleration transducer as origin, using perpendicular to the direction of terminal as Z-direction,
Using the short side of terminal as X-axis, rectangular coordinate system in space is established as Y-axis using the long side of terminal.
Step 303, the acceleration in three reference axis is integrated, obtains the displacement in three reference axis.
Terminal obtains carries out the first shooting time of photographing operation in the first camera site, obtains and enters in the second camera site
Second shooting time of row photographing operation, and the time difference between the first shooting time and the second shooting time is obtained, when comparing
Between it is poor with the magnitude relationship of default time threshold.
When the time difference being more than time threshold, because the adjacent interval that shoots twice is too long, terminal can not consider first
The influence of acquisition parameters, terminal automatically determine out the second acquisition parameters according to second count according to the environmental light parameter at moment.
When the time difference being less than time threshold because it is adjacent shoot twice it is closely spaced, terminal need consider first count
Take the photograph the influence of parameter, terminal obtains the acceleration on three change in coordinate axis direction of rectangular coordinate system in space, and when being shot with first
The period between the second shooting time is carved as the time of integration, the acceleration on three change in coordinate axis direction is accumulated respectively
Point, calculate the distance that terminal moves on three change in coordinate axis direction.
For example terminal is 0s in the first shooting time that the first camera site carries out shooting operation, in the second camera site
The second shooting time for carrying out shooting operation is 1s, and terminal calculates terminal and is moved to the second camera site from the first camera site
Time difference be 1s, it is assumed that default time threshold be 1 minute, therefore the time difference be less than time threshold.Acted as regent from first count
Put during being moved to the second camera site, the acceleration that terminal is got in the X-direction of rectangular coordinate system in space is
2cm/s2, the acceleration in Y direction is 4cm/s2, the acceleration in Z-direction is 8cm/s2.Terminal is respectively to three coordinates
Acceleration on direction of principal axis carries out quadratic integral, and obtaining terminal, displacement is 1cm in the X-axis direction, and terminal is in the Y-axis direction
Mobile distance is 2cm, and the distance that terminal moves in the Z-axis direction is 4cm.
In step 304, according to the displacement in three reference axis, calculate the second camera site and the first camera site it
Between displacement.
Terminal gets terminal after three distances just moved up of reference axis according to formula
The displacement of computing terminal.
Wherein, D is the distance between the second camera site and the first camera site, x0Moved for terminal from the first camera site
Move second count to act as regent the distance for postponing and moving in the X-axis direction, y0For terminal the second shooting is moved to from the first camera site
The distance moved in the Y-axis direction behind position, z0From the first camera site second count is moved to for terminal acts as regent postpone in Z axis side
The distance moved up.
For example the distance that terminal moves in the X-axis direction is x0=1cm, the distance that terminal moves in Y-axis are y0=
2cm, the distance that terminal moves on Z axis are z0=4cm, therefore, terminal are moved to the second picture-taking position from the first picture-taking position
Displacement
Alternatively, because the position error of acceleration transducer is small but drift error is very big, GPS position error is big but floats
Shift error very little, so the present embodiment also includes following calibration process:
In step 305, when receiving shooting instruction, the second calibration camera site is obtained by GPS.
When terminal is receiving the second shooting instruction on the second camera site, terminal also passes through global position system GPS
Obtain the second calibration camera site that terminal is currently located.
In step 306, the second calibration the distance between camera site and the first camera site is calculated, as reference distance.
For example terminal is calculated the distance between second calibration camera site and the first camera site by GPS and is
8cm, therefore 8cm is reference distance.
Step 307, using reference distance as the displacement after calibration.
When displacement and reference distance difference, terminal can be calibrated using reference distance to displacement.Can
Selection of land, terminal by second calibration camera site and the first camera site between reference distance, directly as the movement after calibration
Distance.
In an optional embodiment, step 307 could alternatively be step 308.
In step 308, average, the displacement after being calibrated is weighted using reference distance and displacement.
When the displacement that terminal is calculated is with reference distance difference, terminal is entered using reference distance and displacement
Row weighted average, using obtained displacement as the displacement after calibration.
Wherein, the weighted value of the weighted value of reference distance and displacement can be fixed value, also can arbitrarily set, but join
Examine the weighted value of distance and the weighted value of displacement and for 1.
Such as, it is assumed that the weighted value of reference position is set in terminal as 0.6, the weighted value of displacement is 0.4, therefore school
Displacement after standard is:0.6 × reference distance+0.4 × displacement.
Step 309, when displacement is less than default mobile threshold value, the first acquisition parameters are multiplexed with the second shooting ginseng
Number.
In an optional embodiment, when the value of displacement is less than predetermined threshold value, terminal is by the first acquisition parameters
Directly it is multiplexed with the second acquisition parameters.
In another optional embodiment, step 309 could alternatively be step 310 to step 313.
Step 310, use environment optical parameter is determined to predict acquisition parameters.
Wherein, the method that terminal use environment optical parameter automatically determines out prediction acquisition parameters, can include:Work as end
When under exposal model, terminal obtains the environmental light parameter of surrounding with sometime interval automatically, and by environmental light parameter certainly
It is dynamic to determine to predict acquisition parameters.
Or, taken pictures when terminal is under state, when terminal gets photographing instruction, it is automatic that terminal obtains environmental light parameter
Determine to predict acquisition parameters.
Step 311, the image quality fraction of the image photographed according to the first acquisition parameters is calculated.
Terminal carries out image quality marking according to the image parameter of the photo shot in the first camera site to the photo.
Wherein, the image quality of image can be by the pixel resolution of photo, color rendition degree, the white balance degree of accuracy, the exposure degree of accuracy
Assessed etc. factor.The present embodiment is not limited to terminal carries out image quality marking using which kind of algorithm.
Step 312, the weights according to corresponding to image quality fraction determines the first acquisition parameters.
The corresponding relation being stored with terminal between image quality marking and weights.Alternatively, image quality marking and power
It is worth correlation.Terminal is after image quality fraction is calculated, and by inquiring about the corresponding relation, determines and the first shooting
Weights corresponding to parameter.
When the image quality fraction of the first acquisition parameters is higher, the weighted value of the first acquisition parameters is arranged to higher value such as
0.7th, 0.8 etc.;When the image quality fraction of the first acquisition parameters is relatively low, the weighted value of the first acquisition parameters is arranged to smaller value
Such as 0.3,0.2.
Image quality fraction is higher, and the weighted value of the first acquisition parameters is bigger;Image quality fraction is lower, the first shooting ginseng
Several weighted values is smaller.
Step 313, the weights according to corresponding to the first acquisition parameters, the first acquisition parameters and prediction acquisition parameters are added
Weight average, obtain the second acquisition parameters.
Such as more a height of 60 points of the default image quality fraction of terminal, then terminal determine the weighted value of the first acquisition parameters
For 0.6, therefore it is 0.4 to predict that the weighted value of acquisition parameters should be 1 to subtract 0.6;Assuming that the imaging matter of the acquisition parameters of terminal-pair first
Amount marking is 70, therefore the weighted value of the first acquisition parameters is 0.7, and the weighted value for predicting acquisition parameters is that 1 to subtract 0.7 be 0.3.
Step 314, shot according to the second acquisition parameters.
After terminal gets the second acquisition parameters, shot according to the second acquisition parameters.
It should be noted that step 302 to step 304 and step 305 to the no sequencing of step 306 can be performed only
Step 302 to step 304 or step 302 is carried out simultaneously to step 304 with step 305 to step 306.
In summary, the acquisition parameters provided in the embodiment of the present disclosure determine method, also by clapping the first camera site
The image taken the photograph carries out image quality marking, and the acquisition parameters higher to image quality fraction set higher weights, to imaging
The relatively low acquisition parameters of mass fraction set relatively low weights, reach and get preferable second acquisition parameters, and then shoot
The effect of the image of better quality.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of acquisition parameters determining device according to an exemplary embodiment, and the acquisition parameters are true
Device is determined applied in terminal, and the acquisition parameters determining device includes but is not limited to:Logging modle 401, the first determining module
402nd, the second determining module 403, taking module 404, the first determining module 402 include:Record sub module 405, integration submodule
Block 406, calculating sub module 407, acquisition submodule 408, calibration submodule 409, wherein the second determining module 403 includes:It is multiple
With submodule 410, determination sub-module 411, submodule 412 is weighted, wherein weighting submodule 412 includes:Calculating sub module 413,
Determination sub-module 414, weighting submodule 415.
Logging modle 401, it is configured as recording the first camera site and the first acquisition parameters of terminal, first shooting
Parameter is the parameter when first camera site is shot;
First determining module 402, it is configured as, when receiving shooting instruction, determining the second camera site and described first
Displacement between camera site, second camera site are positions when receiving the shooting instruction;
Second determining module 403, when being configured as the displacement less than default mobile threshold value, according to described first
Acquisition parameters determine the second acquisition parameters, and the difference between first acquisition parameters and second acquisition parameters is less than pre-
If threshold value;
Taking module 404, it is configured as being shot according to second acquisition parameters.
Record sub module 405, it is configured as recording three reference axis of the terminal in default rectangular coordinate system in space
On acceleration;
Submodule 406 is integrated, is configured as integrating the acceleration in three reference axis, obtains described three
Displacement in reference axis;
Calculating sub module 407, it is configured as according to the displacement in three reference axis, calculates second shooting
Displacement between position and first camera site.
Acquisition submodule 408, it is configured as, when receiving shooting instruction, second being obtained by global position system GPS
Calibrate camera site;
Calculating sub module 407, it is configured as calculating between the second calibration camera site and first camera site
Distance, as reference distance;
Submodule 409 is calibrated, the reference distance is configured with and the displacement is calibrated.Calibrate submodule
Block 409, it is configured as using the reference distance as the displacement after calibration;Or;Use the reference distance and described
Displacement is weighted averagely, obtains the displacement after the calibration.
Submodule 410 is multiplexed, is configured as first acquisition parameters being multiplexed with second acquisition parameters.
Determination sub-module 411, it is configured with environmental light parameter and determines to predict acquisition parameters;
Submodule 412 is weighted, first acquisition parameters is configured with and prediction acquisition parameters is weighted averagely,
Obtain second acquisition parameters.
Calculating sub module 413, it is configured as calculating the image quality of the image photographed according to first acquisition parameters
Fraction;
Determination sub-module 414, it is configured as according to corresponding to the image quality fraction determines first acquisition parameters
Weights;
Submodule 415 is weighted, is configured as the weights according to corresponding to first acquisition parameters, the described first shooting is joined
Number and prediction acquisition parameters are weighted averagely, obtain second acquisition parameters.
First acquisition parameters and second acquisition parameters include:F-number, fast gate value, color temperature value, light exposure, white balance
At least one of value.
Fig. 5 is a kind of schematic diagram for acquisition parameters determining device 500 according to an exemplary embodiment.Example
Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board is set
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing component 502, memory 504, power supply
Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Treatment element 502 can refer to including one or more processors 518 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 502 can include one or more modules, just
Interaction between processing component 502 and other assemblies.For example, processing component 502 can include multi-media module, it is more to facilitate
Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in equipment 500.These data are shown
Example includes the instruction of any application program or method for operating on device 500, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers
Body component 508 includes a front camera and/or rear camera.When equipment 500 is in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike
Wind (MIC), when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set
Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor cluster 514 can detect opening/closed mode of equipment 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device
Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500
Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in no any physical contact
The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 518 of device 500.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
It should be noted that:Above-described embodiment provide acquisition parameters determining device be determined take pictures parameter when, only
With the division progress of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned function distribution by
Different functional modules is completed, i.e., the internal structure of equipment is divided into different functional modules, described above complete to complete
Portion or partial function.In addition, the acquisition parameters determining device that above-described embodiment provides determines embodiment of the method with acquisition parameters
Belong to same design, its specific implementation process refers to embodiment of the method, repeats no more here.
The embodiment of the present disclosure additionally provides a kind of computer-readable medium, and the computer-readable medium storage has at least one
Instruction, at least one instruction are loaded as the processor and performed to realize the parameter of taking pictures described in as above each embodiment
Determine method.
The embodiment of the present disclosure additionally provides a kind of computer program product, and the computer program product is stored with least one
Instruction, at least one instruction are loaded as the processor and performed to realize the parameter of taking pictures described in as above each embodiment
Determine method.
Above-mentioned embodiment of the present disclosure sequence number is for illustration only, does not represent the quality of embodiment.
The foregoing is only the preferred embodiment of the disclosure, not to limit the disclosure, all spirit in the disclosure and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included within the protection domain of the disclosure.
Claims (18)
1. a kind of acquisition parameters determine method, it is characterised in that methods described includes:
The first camera site and the first acquisition parameters, first acquisition parameters for recording terminal are in first camera site
Parameter when being shot;
When receiving shooting instruction, the displacement between the second camera site and first camera site is determined, it is described
Second camera site is position when receiving the shooting instruction;
When the displacement is less than default mobile threshold value, the second acquisition parameters are determined according to first acquisition parameters,
Difference between first acquisition parameters and second acquisition parameters is less than predetermined threshold value;
Shot according to second acquisition parameters.
2. according to the method for claim 1, it is characterised in that it is described when receiving shooting instruction, determine the second shooting
Displacement between position and first camera site, including:
Record acceleration of the terminal in three reference axis of default rectangular coordinate system in space;
Acceleration in three reference axis is integrated, obtains the displacement in three reference axis;
According to the displacement in three reference axis, calculate between second camera site and first camera site
Displacement.
3. according to the method for claim 2, it is characterised in that methods described also includes:
When receiving shooting instruction, the second calibration camera site is obtained by global position system GPS;
The second calibration the distance between the camera site and first camera site are calculated, as reference distance;
The displacement is calibrated using the reference distance.
4. according to the method for claim 3, it is characterised in that described that the displacement is entered using the reference distance
Row calibration, including:
Using the reference distance as the displacement after calibration;
Or;
It is weighted averagely using the reference distance and the displacement, obtains the displacement after the calibration.
5. method according to any one of claims 1 to 4, it is characterised in that described to be determined according to first acquisition parameters
Go out the second acquisition parameters, including:
First acquisition parameters are multiplexed with second acquisition parameters.
6. method according to any one of claims 1 to 4, it is characterised in that described to be determined according to first acquisition parameters
Go out the second acquisition parameters, including:
Use environment optical parameter is determined to predict acquisition parameters;
It is weighted averagely using first acquisition parameters and prediction acquisition parameters, obtains second acquisition parameters.
7. according to the method for claim 6, it is characterised in that described to use first acquisition parameters and prediction shooting ginseng
Number is weighted averagely, obtains second acquisition parameters, including:
Calculate the image quality fraction of the image photographed according to first acquisition parameters;
The weights according to corresponding to the image quality fraction determines first acquisition parameters;
According to weights corresponding to first acquisition parameters, first acquisition parameters and prediction acquisition parameters are weighted flat
, second acquisition parameters are obtained.
8. method according to any one of claims 1 to 4, it is characterised in that first acquisition parameters and the second count
Taking the photograph parameter includes:At least one of f-number, fast gate value, color temperature value, light exposure, white balance value.
9. a kind of acquisition parameters determining device, it is characterised in that described device includes:
Logging modle, the first camera site and the first acquisition parameters, first acquisition parameters for being configured as recording terminal are
Parameter when first camera site is shot;
First determining module, it is configured as, when receiving shooting instruction, determining that the second camera site and the first count act as regent
Displacement between putting, second camera site are positions when receiving the shooting instruction;
Second determining module, when being configured as the displacement less than default mobile threshold value, joined according to the described first shooting
Number determines the second acquisition parameters, and the difference between first acquisition parameters and second acquisition parameters is less than default threshold
Value;
Taking module, it is configured as being shot according to second acquisition parameters.
10. device according to claim 9, it is characterised in that first determining module, including:
Record sub module, it is configured as recording acceleration of the terminal in three reference axis of default rectangular coordinate system in space
Degree;
Submodule is integrated, is configured as integrating the acceleration in three reference axis, obtains three reference axis
On displacement;
Calculating sub module, be configured as according to the displacement in three reference axis, calculate second camera site and
Displacement between first camera site.
11. device according to claim 10, it is characterised in that first determining module also includes:
Acquisition submodule, is configured as when receiving shooting instruction, and obtaining the second calibration by global position system GPS shoots
Position;
The calculating sub module, be configured as calculating between the second calibration camera site and first camera site away from
From as reference distance;
Submodule is calibrated, the reference distance is configured with and the displacement is calibrated.
12. device according to claim 11, it is characterised in that the calibration submodule, including:
Using the reference distance as the displacement after calibration;
Or;
It is weighted averagely using the reference distance and the displacement, obtains the displacement after the calibration.
13. according to any described device of claim 9 to 12, it is characterised in that second determining module, including:
Submodule is multiplexed, is configured as first acquisition parameters being multiplexed with second acquisition parameters.
14. according to any described device of claim 9 to 12, it is characterised in that second determining module, including:
Determination sub-module, it is configured with environmental light parameter and determines to predict acquisition parameters;
Submodule is weighted, first acquisition parameters is configured with and prediction acquisition parameters is weighted averagely, obtain institute
State the second acquisition parameters.
15. device according to claim 14, it is characterised in that the weighting submodule, including:
Calculating sub module, it is configured as calculating the image quality fraction of the image photographed according to first acquisition parameters;
Determination sub-module, it is configured as the weights according to corresponding to the image quality fraction determines first acquisition parameters;
Submodule is weighted, is configured as the weights according to corresponding to first acquisition parameters, to first acquisition parameters and in advance
Survey acquisition parameters to be weighted averagely, obtain second acquisition parameters.
16. according to any described device of claim 9 to 12, it is characterised in that first acquisition parameters and described second
Acquisition parameters include:At least one of f-number, fast gate value, color temperature value, light exposure, white balance value.
17. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory
One instruction, at least one instruction are loaded by the processor and performed to realize as described in claim 1 to 8 is any
Take pictures parameter determination method.
18. a kind of computer-readable recording medium, it is characterised in that at least one instruction, institute are stored with the storage medium
At least one instruction is stated to be loaded by the processor and performed to realize that the parameter of taking pictures as described in claim 1 to 8 is any is true
Determine method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711029932.9A CN107770444B (en) | 2017-10-27 | 2017-10-27 | Photographing parameter determination method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711029932.9A CN107770444B (en) | 2017-10-27 | 2017-10-27 | Photographing parameter determination method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107770444A true CN107770444A (en) | 2018-03-06 |
CN107770444B CN107770444B (en) | 2020-12-29 |
Family
ID=61270743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711029932.9A Active CN107770444B (en) | 2017-10-27 | 2017-10-27 | Photographing parameter determination method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107770444B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616691A (en) * | 2018-04-28 | 2018-10-02 | 北京小米移动软件有限公司 | Photographic method, device, server based on automatic white balance and storage medium |
WO2020199090A1 (en) * | 2019-04-01 | 2020-10-08 | Citrix Systems, Inc. | Automatic image capture |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103475818A (en) * | 2013-09-03 | 2013-12-25 | 小米科技有限责任公司 | Shooting method and device and terminal device |
CN103472919A (en) * | 2013-09-12 | 2013-12-25 | 深圳先进技术研究院 | Intelligent glasses system for image display and use method |
CN103577789A (en) * | 2012-07-26 | 2014-02-12 | 中兴通讯股份有限公司 | Detection method and device |
CN104885442A (en) * | 2012-12-27 | 2015-09-02 | 奥林巴斯株式会社 | Server device and photographing device |
CN105093178A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Terminal positioning method, apparatus and system |
JP2016140030A (en) * | 2015-01-29 | 2016-08-04 | 株式会社リコー | Image processing apparatus, imaging device, and image processing program |
CN106488140A (en) * | 2016-12-30 | 2017-03-08 | 维沃移动通信有限公司 | A kind of method to set up of camera acquisition parameters and mobile terminal |
-
2017
- 2017-10-27 CN CN201711029932.9A patent/CN107770444B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577789A (en) * | 2012-07-26 | 2014-02-12 | 中兴通讯股份有限公司 | Detection method and device |
CN104885442A (en) * | 2012-12-27 | 2015-09-02 | 奥林巴斯株式会社 | Server device and photographing device |
CN103475818A (en) * | 2013-09-03 | 2013-12-25 | 小米科技有限责任公司 | Shooting method and device and terminal device |
CN103472919A (en) * | 2013-09-12 | 2013-12-25 | 深圳先进技术研究院 | Intelligent glasses system for image display and use method |
JP2016140030A (en) * | 2015-01-29 | 2016-08-04 | 株式会社リコー | Image processing apparatus, imaging device, and image processing program |
CN105093178A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Terminal positioning method, apparatus and system |
CN106488140A (en) * | 2016-12-30 | 2017-03-08 | 维沃移动通信有限公司 | A kind of method to set up of camera acquisition parameters and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616691A (en) * | 2018-04-28 | 2018-10-02 | 北京小米移动软件有限公司 | Photographic method, device, server based on automatic white balance and storage medium |
CN108616691B (en) * | 2018-04-28 | 2020-07-10 | 北京小米移动软件有限公司 | Photographing method and device based on automatic white balance, server and storage medium |
WO2020199090A1 (en) * | 2019-04-01 | 2020-10-08 | Citrix Systems, Inc. | Automatic image capture |
US11095804B2 (en) | 2019-04-01 | 2021-08-17 | Citrix Systems, Inc. | Automatic image capture |
US11483465B2 (en) | 2019-04-01 | 2022-10-25 | Citrix Systems, Inc. | Automatic image capture |
Also Published As
Publication number | Publication date |
---|---|
CN107770444B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270565B (en) | Image capturing method, device and equipment | |
CN107920211A (en) | A kind of photographic method, terminal and computer-readable recording medium | |
CN104469167B (en) | Atomatic focusing method and device | |
CN107770451A (en) | Take pictures method, apparatus, terminal and the storage medium of processing | |
CN105100764B (en) | Image pickup method and device | |
CN108616691B (en) | Photographing method and device based on automatic white balance, server and storage medium | |
CN105959587B (en) | Shutter speed acquisition methods and device | |
CN107302632A (en) | A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium | |
US10481140B2 (en) | Method and apparatus for calibrating particulate matter measurement value | |
US10248855B2 (en) | Method and apparatus for identifying gesture | |
CN107560619A (en) | Recommend method and apparatus in path | |
CN106357804A (en) | Image processing method, electronic equipment and cloud server | |
CN107820024A (en) | Image capturing method, device and storage medium | |
CN107480785A (en) | The training method and device of convolutional neural networks | |
CN106291519A (en) | Distance-finding method and device | |
CN107147823A (en) | Exposure method, device, computer-readable recording medium and mobile terminal | |
CN111932604A (en) | Method and device for measuring human ear characteristic distance | |
CN107770444A (en) | Parameter determination method of taking pictures and device | |
EP2981065B1 (en) | Light metering method and device | |
CN108629814B (en) | Camera adjusting method and device | |
CN110990728B (en) | Method, device, equipment and storage medium for managing interest point information | |
CN111147744B (en) | Shooting method, data processing device, electronic equipment and storage medium | |
CN115861741B (en) | Target calibration method and device, electronic equipment, storage medium and vehicle | |
CN104168419A (en) | Image shooting method and apparatus | |
CN105430273A (en) | Method and device for taking photos and measuring distances by using 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 |