CN104935815B - Method, device and the camera and mobile terminal taken pictures - Google Patents
Method, device and the camera and mobile terminal taken pictures Download PDFInfo
- Publication number
- CN104935815B CN104935815B CN201510308331.6A CN201510308331A CN104935815B CN 104935815 B CN104935815 B CN 104935815B CN 201510308331 A CN201510308331 A CN 201510308331A CN 104935815 B CN104935815 B CN 104935815B
- Authority
- CN
- China
- Prior art keywords
- camera
- mrow
- formula
- msup
- msub
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 8
- 241000208340 Araliaceae Species 0.000 description 5
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 5
- 235000003140 Panax quinquefolius Nutrition 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 235000008434 ginseng Nutrition 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Studio Devices (AREA)
Abstract
The present invention is applied to digital photographic technology field there is provided a kind of method taken pictures, device and camera and mobile terminal, and methods described includes:Determine current shooting object actual size S and the current shooting object and camera apart from L;The present convergence of camera is calculated apart from M according to the screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera of camera;Obtain coordinate X, Y of touch location;Receive the photographing instruction of input;According to screen pixels parameter X1, Y1 of the S, the L, described X, Y and the camera, the actual focusing distance H for obtaining camera is calculated;The difference between the S, the L, the X, Y, the M, the H and the M and H is recorded on photo.The present invention, the value of some parameters relevant with photographic quality is recorded on photo, some quality informations can be provided to the specialty personnel of taking pictures, and the shooting effect for improving camera for professional provides foundation.
Description
Technical field
The invention belongs to digital photographic technology field, more particularly to a kind of method taken pictures, device and camera and movement are eventually
End.
Background technology
The photo that present camera is shot can be with some extrinsic informations such as records photographing time, size and geographical position, can
The scene taken pictures with helping user to remember.
However, in process of the present invention is realized, at least there are the following problems for the camera that inventor's discovery prior art is provided:
Existing camera shoots obtained photo, it is impossible to the quality information of recording photograph, therefore inconvenient specialty is taken pictures people
Member adjusts effect of taking pictures, and takes more preferable photo.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method taken pictures, device and camera and mobile terminal, existing to solve
The camera for having technology to provide shoots obtained photo, it is impossible to the quality information of recording photograph, therefore inconvenient specialty is taken pictures personnel
Adjust take pictures effect, the problem of taking more preferable photo.
First aspect there is provided a kind of method taken pictures, including:
Determine current shooting object actual size S and the current shooting object and camera apart from L;
Camera is calculated according to the screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera of camera
Present convergence is apart from M;
Obtain coordinate X, Y of touch location;
Receive the photographing instruction of input;
According to screen pixels parameter X1, Y1 of the S, the L, described X, Y and the camera, calculating obtains camera
Actual focusing distance H;
The difference between the S, the L, the X, Y, the M, the H and the M and H is recorded on photo.
With reference in a first aspect, in the first possible implementation of first aspect, the current change according to camera
The screen pixels parameter Y1 of burnt multiple, the f-number of camera and camera calculates the present convergence of camera apart from M, including:
Obtain the screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera of camera;
Calculated according to the f-number of camera and obtain light-inletting quantity angle;
According to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera.
With reference to first aspect or the first possible implementation of combination first aspect, at second of first aspect
In possible implementation, screen pixels parameter X1, Y1 according to the S, the L, described X, Y and the camera,
The actual focusing distance H for obtaining camera is calculated, including:
By formula 3) the actual focusing distance H for obtaining camera is calculated, wherein, formula 3) meet:
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
Second aspect there is provided a kind of device taken pictures, including:
Determining unit, for determine current shooting object actual size S and the current shooting object and camera away from
From L;
First computing unit, the screen picture for the current zoom multiple according to camera, the f-number of camera and camera
Plain parameter Y1 calculates the present convergence of camera apart from M;
Acquiring unit, coordinate X, Y for obtaining touch location;
Receiving unit, the photographing instruction for receiving input;
Second computing unit, the S, the L, the acquiring unit for being determined according to the determining unit are got
X, Y and the camera screen pixels parameter X1, Y1, calculate and obtain the actual focusing distance H of camera;
Recording unit, for record X that the S, the L, the acquiring unit that the determining unit determines get,
Y, first computing unit calculate the obtained M, second computing unit and calculate the obtained H and the M and H
Between difference on photo.
With reference to second aspect, in the first possible implementation of second aspect, first computing unit, bag
Include:
Acquisition module, the screen pixels ginseng of current zoom multiple, the f-number of camera and camera for obtaining camera
Number Y1;
Light-inletting quantity angle calculation module, the f-number of the camera for being got according to the acquisition module calculates
Light quantity angle &;
Computing module, for according to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera.
With reference to second aspect or the first possible implementation of combination second aspect, at second of second aspect
In possible implementation, second computing unit passes through formula 3) the actual focusing distance H for obtaining camera is calculated, wherein,
Formula 3) meet:
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
The third aspect includes the device taken pictures described in second aspect there is provided a kind of camera, the camera.
Fourth aspect includes the camera as described in the third aspect there is provided a kind of mobile terminal, the mobile terminal.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the mobile terminal is intelligent hand
Machine or tablet personal computer.
In the embodiment of the present invention, when taking pictures, the actual size S of records photographing object, reference object and camera distance
L, the coordinate X of focal position, Y, present convergence apart from M, actual focusing distance H and present convergence apart from M with it is actual focus on away from
It is special so as to provide some quality informations to the specialty personnel of taking pictures from the difference between H these quality informations on photo
The shooting effect that industry personnel improve camera provides foundation, preferably to adjust the effect taken pictures, takes more preferable photo.
Brief description of the drawings
Fig. 1 is the implementation process figure for the embodiment of the method that the present invention takes pictures;
Fig. 2 is the structured flowchart for the device embodiment that the present invention takes pictures;
Fig. 3 is the structured flowchart of camera embodiment of the present invention;
Fig. 4 is the structured flowchart of mobile terminal embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, first obtain the actual size S of reference object, reference object and camera apart from L, focus on
The coordinate X of position, Y, present convergence are apart from M, actual focusing distance H, when taking pictures, and the actual size S of records photographing object, clap
Take the photograph object and camera apart from L, the coordinate X of focal position, Y, present convergence apart from M, actual focusing distance H and present convergence
Difference these quality informations between M and actual focusing distance H are on photo.
The realization of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process for the method taken pictures that the embodiment of the present invention one is provided, and details are as follows:
In step S101, determine current shooting object actual size S and the current shooting object and camera away from
From L.
In embodiments of the present invention, the actual size S of current shooting object can be obtained by intuitively measuring and described
Current shooting object and camera apart from L.
The actual size S and the current shooting object and camera of current shooting object can also be obtained according to following methods
Apart from L:
Adjust under camera to preview state, camera automatically adjusts zoom, obtain taking pictures of being obtained under current zoom multiple
The size and pixel quantity of image, according to the size and pixel quantity of the image of taking pictures obtained under current zoom multiple with
The size and pixel quantity for the image of taking pictures not obtained in the case of zoom, obtain current shooting object actual size S and
The current shooting object and camera apart from L.
In step s 102, joined according to the screen pixels of the current zoom multiple, the f-number of camera and camera of camera
Number Y1 calculates the present convergence of camera apart from M.
In embodiments of the present invention, the screen of the current zoom multiple, the f-number of camera and camera of camera is first obtained
Pixel-parameters Y1, the f-number calculating further according to camera obtains light-inletting quantity angle, finally according to formula 1) and formula 2) calculate
Present convergence to camera is apart from M.
Wherein, formula 1) meet:
1/u+1/v=1/f formula 1)
Formula 2) meet:
Tan&=Y1/2v formula 2)
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera,
It is longitudinal parameter of the screen pixels of camera, is the maximum number of pixels of the screen longitudinal direction of camera.
In step s 103, coordinate X, Y of touch location are obtained.
In embodiments of the present invention, user touches the focal position shown in camera screen, and camera obtains the focusing position
Coordinate X, the Y put.
In step S104, the photographing instruction of input is received.
In embodiments of the present invention, user clicks on button of taking pictures and starts to take pictures, and camera is got after photographing instruction, Ke Yikai
Beginning takes pictures.
In step S105, according to screen pixels parameter X1, Y1 of the S, the L, described X, Y and the camera,
Calculate the actual focusing distance H for obtaining camera.
In embodiments of the present invention, by formula 3) the actual focusing distance H for obtaining camera can be calculated, wherein, formula
3) meet:
Formula 3)
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
In step s 106, record between the S, the L, the X, Y, the M, the H and the M and the H
Difference on photo.
In embodiments of the present invention, it can be calculated according to step S102 and step S104 and obtain present convergence apart from M, reality
Focusing distance H, first calculates difference of the present convergence between M and actual focusing distance H, re-records step S101 determinations
Actual size S, coordinate X, Y apart from L, step the S103 touch location obtained, step S102 and step S104 calculate what is obtained
Present convergence is apart from M and actual focusing distance H, and difference of the present convergence between M and actual focusing distance H is in photo
On, some quality informations can be so provided to the specialty personnel of taking pictures, for professional improve camera shooting effect provide according to
According to preferably to adjust the effect taken pictures, taking more preferable photo.
Preferably, the value of parameter that can be by above-mentioned record on photo is stored in the memory cell of camera.
The present embodiment, when taking pictures, the actual size S of records photographing object, reference object and camera apart from L, focus on
The coordinate X of position, Y, present convergence are apart from M, actual focusing distance H and present convergence between M and actual focusing distance H
Difference these quality informations on photo, be professional so as to provide some quality informations to the specialty personnel of taking pictures
The shooting effect for improving camera provides foundation, preferably to adjust the effect taken pictures, takes more preferable photo, overcomes existing
The camera that technology is provided shoots obtained photo, it is impossible to the quality information of recording photograph, therefore inconvenient specialty is taken pictures personnel's tune
Whole effect of taking pictures, the problem of taking more preferable photo.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Limited into any.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in the various embodiments described above method is
To instruct the hardware of correlation to complete by program, corresponding program can be stored in a computer read/write memory medium
In, described storage medium, such as ROM/RAM, disk or CD.
Embodiment two
Fig. 2 shows the concrete structure block diagram for the device taken pictures that the embodiment of the present invention two is provided, for convenience of description, only
Show the part related to the embodiment of the present invention.The device 2 taken pictures can be built in magazine software unit, hardware
The unit of unit or software and hardware combining, the device 2 taken pictures includes:Determining unit 21, the first computing unit 22, acquiring unit
23rd, receiving unit 24, the second computing unit 25 and recording unit 26.
Wherein it is determined that unit 21, actual size S and the current shooting object and phase for determining current shooting object
Machine apart from L;
First computing unit 22, the screen for the current zoom multiple according to camera, the f-number of camera and camera
Pixel-parameters Y1 calculates the present convergence of camera apart from M;
Acquiring unit 23, coordinate X, Y for obtaining touch location;
Receiving unit 24, the photographing instruction for receiving input;
Second computing unit 25, the S, the L, the acquiring unit for being determined according to the determining unit are obtained
X, the Y and screen pixels parameter X1, Y1 of the camera arrived, calculates the actual focusing distance H for obtaining camera;
Recording unit 26, the S, the L, the acquiring unit for recording the determining unit determination are got
X, Y, first computing unit calculate the obtained M, second computing unit and calculate the obtained H and the M
Difference between H is on photo.
Specifically, first computing unit 22, including:
Acquisition module, the screen pixels ginseng of current zoom multiple, the f-number of camera and camera for obtaining camera
Number Y1;
Light-inletting quantity angle calculation module, the f-number of the camera for being got according to the acquisition module calculates
Light quantity angle &;
Computing module, for according to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera.
Specifically, second computing unit 25 is by formula 3) the actual focusing distance H for obtaining camera is calculated, wherein,
Formula 3) meet:
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
The device provided in an embodiment of the present invention taken pictures can be applied in foregoing corresponding embodiment of the method one, details ginseng
See the description of above-described embodiment one, will not be repeated here.
Embodiment three
Fig. 3 shows the concrete structure block diagram for the camera that the embodiment of the present invention three is provided, and for convenience of description, illustrate only
The part related to the embodiment of the present invention.The camera 3 can be built in mobile terminal software unit, hardware cell or
The unit of software and hardware combining, the camera 3 includes the device 2 taken pictures described in embodiment two, and the device 2 taken pictures includes:Really
Order member 21, the first computing unit 22, acquiring unit 23, receiving unit 24, the second computing unit 25 and recording unit 26.
Wherein it is determined that unit 21, actual size S and the current shooting object and phase for determining current shooting object
Machine apart from L;
First computing unit 22, the screen for the current zoom multiple according to camera, the f-number of camera and camera
Pixel-parameters Y1 calculates the present convergence of camera apart from M;
Acquiring unit 23, coordinate X, Y for obtaining touch location;
Receiving unit 24, the photographing instruction for receiving input;
Second computing unit 25, the S, the L, the acquiring unit for being determined according to the determining unit are obtained
X, the Y and screen pixels parameter X1, Y1 of the camera arrived, calculates the actual focusing distance H for obtaining camera;
Recording unit 26, the S, the L, the acquiring unit for recording the determining unit determination are got
X, Y, first computing unit calculate the obtained M, second computing unit and calculate the obtained H and the M
Difference between H is on photo.
Specifically, first computing unit 22, including:
Acquisition module, the screen pixels ginseng of current zoom multiple, the f-number of camera and camera for obtaining camera
Number Y1;
Light-inletting quantity angle calculation module, the f-number of the camera for being got according to the acquisition module calculates
Light quantity angle &;
Computing module, for according to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera.
Specifically, second computing unit 25 is by formula 3) the actual focusing distance H for obtaining camera is calculated, wherein,
Formula 3) meet:
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
Camera provided in an embodiment of the present invention can be applied in foregoing corresponding embodiment of the method one, and details are referring to above-mentioned
The description of embodiment one, will not be repeated here.
Example IV
Fig. 4 shows the concrete structure block diagram for the mobile terminal that the embodiment of the present invention four is provided, and for convenience of description, only shows
The part related to the embodiment of the present invention is gone out.The mobile terminal 4 can be smart mobile phone or tablet personal computer, including embodiment three
Camera 3 described in kind, the camera 3 includes the device 2 taken pictures described in embodiment two, and the device 2 taken pictures includes:It is determined that single
First 21, first computing unit 22, acquiring unit 23, receiving unit 24, the second computing unit 25 and recording unit 26.
Wherein it is determined that unit 21, actual size S and the current shooting object and phase for determining current shooting object
Machine apart from L;
First computing unit 22, the screen for the current zoom multiple according to camera, the f-number of camera and camera
Pixel-parameters Y1 calculates the present convergence of camera apart from M;
Acquiring unit 23, coordinate X, Y for obtaining touch location;
Receiving unit 24, the photographing instruction for receiving input;
Second computing unit 25, the S, the L, the acquiring unit for being determined according to the determining unit are obtained
X, the Y and screen pixels parameter X1, Y1 of the camera arrived, calculates the actual focusing distance H for obtaining camera;
Recording unit 26, the S, the L, the acquiring unit for recording the determining unit determination are got
X, Y, first computing unit calculate the obtained M, second computing unit and calculate the obtained H and the M
Difference between H is on photo.
Specifically, first computing unit 22, including:
Acquisition module, the screen pixels ginseng of current zoom multiple, the f-number of camera and camera for obtaining camera
Number Y1;
Light-inletting quantity angle calculation module, the f-number of the camera for being got according to the acquisition module calculates
Light quantity angle &;
Computing module, for according to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera.
Specifically, second computing unit 25 is by formula 3) the actual focusing distance H for obtaining camera is calculated, wherein,
Formula 3) meet:
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are to focus on
Coordinate, X1, Y1 of position are the screen pixels parameters of camera, are the lateral parameter and longitudinal parameter of the screen pixels of camera, are
The horizontal and vertical maximum number of pixels of the screen of camera, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2
=S, X2/Y2=X1/Y1.
Mobile terminal provided in an embodiment of the present invention can be applied in foregoing corresponding embodiment of the method one, details referring to
The description of above-described embodiment one, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (5)
1. a kind of method taken pictures, it is characterised in that including:
Determine current shooting object actual size S and the current shooting object and camera apart from L;
The current of camera is calculated according to the screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera of camera
Focusing distance M;
Obtain coordinate X, Y of touch location;
Receive the photographing instruction of input;
According to screen pixels parameter X1, Y1 of the S, the L, described X, Y and the camera, the reality for obtaining camera is calculated
Focusing distance H;
The difference between the S, the L, the X, Y, the M, the H and the M and H is recorded on photo;
The screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera according to camera calculates camera
Present convergence apart from M, including:
Obtain the screen pixels parameter Y1 of the current zoom multiple, the f-number of camera and camera of camera;
Calculated according to the f-number of camera and obtain light-inletting quantity angle;
According to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera;
Screen pixels parameter X1, Y1 according to the S, the L, described X, Y and the camera, calculating obtains camera
Actual focusing distance H, including:
By formula 3) the actual focusing distance H for obtaining camera is calculated, wherein, formula 3) meet:
<mrow>
<mi>H</mi>
<mo>=</mo>
<msqrt>
<mrow>
<msup>
<mi>L</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mo>(</mo>
<msub>
<mi>X</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<msub>
<mi>Y</mi>
<mn>1</mn>
</msub>
<mo>*</mo>
<msqrt>
<mrow>
<msup>
<mrow>
<mo>(</mo>
<mi>X</mi>
<mo>-</mo>
<msub>
<mi>X</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<mn>2</mn>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mo>(</mo>
<mi>Y</mi>
<mo>-</mo>
<msub>
<mi>Y</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<mn>2</mn>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
</mrow>
</msqrt>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
</mrow>
</msqrt>
</mrow>
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are focal positions
Coordinate, X1, Y1 be camera screen pixels parameter, be the lateral parameter and longitudinal parameter of the screen pixels of camera, be camera
The horizontal and vertical maximum number of pixels of screen, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2=S,
X2/Y2=X1/Y1.
2. a kind of device taken pictures, it is characterised in that including:
Determining unit, for determine current shooting object actual size S and the current shooting object and camera apart from L;
First computing unit, the screen pixels for the current zoom multiple according to camera, the f-number of camera and camera are joined
Number Y1 calculates the present convergence of camera apart from M;
Acquiring unit, coordinate X, Y for obtaining touch location;
Receiving unit, the photographing instruction for receiving input;
Second computing unit, X that the S, the L, the acquiring unit for being determined according to the determining unit are got,
Y and the camera screen pixels parameter X1, Y1, calculate the actual focusing distance H for obtaining camera;
Recording unit, for recording the X, Y, institute that the S, the L, the acquiring unit that the determining unit determines get
The first computing unit is stated to calculate between the obtained M, the H that second computing unit calculating is obtained and the M and H
Difference on photo;
First computing unit, including:
Acquisition module, the screen pixels parameter Y1 of current zoom multiple, the f-number of camera and camera for obtaining camera;
Light-inletting quantity angle calculation module, the f-number of the camera for being got according to the acquisition module, which is calculated, obtains light-inletting quantity
Angle &;
Computing module, for according to formula 1) and formula 2) present convergence for obtaining camera is calculated apart from M;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
Tan&=Y1/2v
Wherein, it is that current zoom multiple, v are image distance that u, which is present convergence apart from M, f, and Y1 is the screen pixels parameter of camera;
Second computing unit passes through formula 3) the actual focusing distance H for obtaining camera is calculated, wherein, formula 3) meet:
<mrow>
<mi>H</mi>
<mo>=</mo>
<msqrt>
<mrow>
<msup>
<mi>L</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mo>(</mo>
<msub>
<mi>X</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<msub>
<mi>Y</mi>
<mn>1</mn>
</msub>
<mo>*</mo>
<msqrt>
<mrow>
<msup>
<mrow>
<mo>(</mo>
<mi>X</mi>
<mo>-</mo>
<msub>
<mi>X</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<mn>2</mn>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mo>(</mo>
<mi>Y</mi>
<mo>-</mo>
<msub>
<mi>Y</mi>
<mn>1</mn>
</msub>
<mo>/</mo>
<mn>2</mn>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
</mrow>
</msqrt>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
</mrow>
</msqrt>
</mrow>
Wherein, S is that the actual size of current shooting object, L are that the distance of current shooting object and camera, X, Y are focal positions
Coordinate, X1, Y1 be camera screen pixels parameter, be the lateral parameter and longitudinal parameter of the screen pixels of camera, be camera
The horizontal and vertical maximum number of pixels of screen, the actual length and width of reference object is respectively X2, Y2, wherein, X2*Y2=S,
X2/Y2=X1/Y1.
3. a kind of camera, it is characterised in that the camera includes the device taken pictures as claimed in claim 2.
4. a kind of mobile terminal, it is characterised in that the mobile terminal includes camera as claimed in claim 3.
5. mobile terminal as claimed in claim 4, it is characterised in that the mobile terminal is smart mobile phone or tablet personal computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510308331.6A CN104935815B (en) | 2015-06-08 | 2015-06-08 | Method, device and the camera and mobile terminal taken pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510308331.6A CN104935815B (en) | 2015-06-08 | 2015-06-08 | Method, device and the camera and mobile terminal taken pictures |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104935815A CN104935815A (en) | 2015-09-23 |
CN104935815B true CN104935815B (en) | 2017-09-29 |
Family
ID=54122758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510308331.6A Expired - Fee Related CN104935815B (en) | 2015-06-08 | 2015-06-08 | Method, device and the camera and mobile terminal taken pictures |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104935815B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924415B (en) * | 2018-06-27 | 2021-02-02 | 亿嘉和科技股份有限公司 | Method for carrying out consistency calibration on individual focusing difference of zoom camera |
CN113917437A (en) * | 2021-10-09 | 2022-01-11 | 福建汇川物联网技术科技股份有限公司 | Focusing method and device of measuring equipment, electronic equipment and storage medium |
CN114449165B (en) * | 2021-12-27 | 2023-07-18 | 广州极飞科技股份有限公司 | Photographing control method and device, unmanned equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562699A (en) * | 2009-05-26 | 2009-10-21 | 天津三星光电子有限公司 | Realization method for grading photos of digital camera |
CN102647449A (en) * | 2012-03-20 | 2012-08-22 | 西安联客信息技术有限公司 | Intelligent shooting method and intelligent shooting device based on cloud service and mobile terminal |
CN103209291A (en) * | 2012-01-17 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Method, apparatus and device for controlling automatic image shooting |
CN104683697A (en) * | 2015-03-17 | 2015-06-03 | 努比亚技术有限公司 | Shooting parameter adjusting method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4775474B2 (en) * | 2009-03-31 | 2011-09-21 | カシオ計算機株式会社 | Imaging apparatus, imaging control method, and program |
CN103188423A (en) * | 2011-12-27 | 2013-07-03 | 富泰华工业(深圳)有限公司 | Camera shooting device and camera shooting method |
-
2015
- 2015-06-08 CN CN201510308331.6A patent/CN104935815B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562699A (en) * | 2009-05-26 | 2009-10-21 | 天津三星光电子有限公司 | Realization method for grading photos of digital camera |
CN103209291A (en) * | 2012-01-17 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Method, apparatus and device for controlling automatic image shooting |
CN102647449A (en) * | 2012-03-20 | 2012-08-22 | 西安联客信息技术有限公司 | Intelligent shooting method and intelligent shooting device based on cloud service and mobile terminal |
CN104683697A (en) * | 2015-03-17 | 2015-06-03 | 努比亚技术有限公司 | Shooting parameter adjusting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104935815A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107509037B (en) | The method and terminal taken pictures using different field angle cameras | |
CN104967803B (en) | A kind of video recording method and device | |
CN103152489B (en) | A kind of exhibiting method of image of autodyning and device | |
CN104333708B (en) | Photographic method, camera arrangement and terminal | |
CN105453136B (en) | The three-dimensional system for rolling correction, method and apparatus are carried out using automatic focus feedback | |
CN103685925B (en) | Camera device and image pickup processing method | |
CN104363377B (en) | Display methods, device and the terminal of focus frame | |
CN104539844A (en) | Terminal | |
CN104717427A (en) | Automatic zooming method and device and mobile terminal | |
CN102547111A (en) | Electronic equipment | |
CN101938604A (en) | Image processing method and camera | |
CN104025151A (en) | Method and electronic device for creating a combined image | |
CN104867125B (en) | Obtain the method and device of image | |
CN103945134A (en) | Method and terminal for taking and viewing photos | |
US20140022246A1 (en) | Three-dimensional image output apparatus and three-dimensional image output method | |
CN104935815B (en) | Method, device and the camera and mobile terminal taken pictures | |
CN104641625A (en) | Image processing device, imaging device, image processing method and image processing program | |
CN105005599A (en) | Photograph sharing method and mobile terminal | |
CN104205825B (en) | Image processing apparatus and method and camera head | |
CN108781254A (en) | It takes pictures method for previewing, graphic user interface and terminal | |
CN104755981A (en) | Image processor, image-capturing device, and image processing method and program | |
CN104247412A (en) | Image processing device, imaging device, image processing method, recording medium, and program | |
CN104869317B (en) | Smart machine image pickup method and device | |
CN106162150A (en) | A kind of photographic method and mobile terminal | |
CN104903769A (en) | Image processing device, imaging device, program, and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |