CN104935815A - Shooting method, shooting device, camera and mobile terminal - Google Patents
Shooting method, shooting device, camera and mobile terminal Download PDFInfo
- Publication number
- CN104935815A CN104935815A CN201510308331.6A CN201510308331A CN104935815A CN 104935815 A CN104935815 A CN 104935815A CN 201510308331 A CN201510308331 A CN 201510308331A CN 104935815 A CN104935815 A CN 104935815A
- Authority
- CN
- China
- Prior art keywords
- camera
- distance
- formula
- parameter
- screen pixels
- 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
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 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
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Studio Devices (AREA)
Abstract
The invention provides a shooting method, a shooting device, a camera and a mobile terminal, suitable for the technical field of digital photograph. The shooting method comprises the steps that the practical size S of an object which is shot at present and the distance L between the shooting object and the camera are determined; the present focusing distance M of the camera is calculated according to the present zooming multiple, the aperture value and the screen pixel parameter Y1 of the camera; the coordinates X and Y of a touch position are obtained; an input shooting instruction is received; the practical focusing distance H is calculated according to S, L, X and Y as well as the screen pixel parameters X1 and Y1 of the camera; and the S, L, X, Y, M and H as well as the difference between M and H are recorded on a photograph. The values of parameters related to the quality of the photograph are recorded on the photograph, quality information is provided for professional photographers, and basis is provided for improving the shooting effects of the camera.
Description
Technical field
The invention belongs to digital photographic technology field, particularly relate to a kind of method, device and camera of taking pictures and mobile terminal.
Background technology
The photo of present camera shooting can some extrinsic informations such as records photographing time, size and geographical position, and user can be helped to remember the scene of taking pictures.
But realizing in process of the present invention, inventor finds camera that prior art provides, and at least there are the following problems:
The photo obtained taken by existing camera, can not the quality information of recording photograph, and therefore the personnel adjustment of taking pictures of inconvenient specialty is taken pictures effect, takes better photo.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, device and camera of taking pictures and mobile terminal, the photo obtained taken by the camera provided to solve prior art, can not the quality information of recording photograph, therefore the personnel adjustment of taking pictures of inconvenient specialty is taken pictures effect, takes the problem of better photo.
First aspect, provides a kind of method of taking pictures, comprising:
Determine the actual size S of current shooting object and the distance L of described current shooting object and camera;
The present convergence distance M of camera is calculated according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Obtain coordinate X, Y of touch location;
Receive the photographing instruction of input;
According to screen pixels parameter X1, the Y1 of described S, described L, described X, Y and described camera, calculate the actual focusing distance H of camera;
Record difference between described S, described L, described X, Y, described M, described H and described M and H on photo.
In conjunction with first aspect, in the first possible implementation of first aspect, the described screen pixels parameter Y1 according to the current zoom multiple of camera, the f-number of camera and camera calculates the present convergence distance M of camera, comprising:
Obtain the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle A MP.AMp.Amp is calculated according to the f-number of camera;
According to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
In conjunction with first aspect or the first the possible implementation in conjunction with first aspect, in the implementation that the second of first aspect is possible, described screen pixels parameter X1, Y1 according to described S, described L, described X, Y and described camera, calculate the actual focusing distance H of camera, comprising:
By formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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, provides a kind of device of taking pictures, comprising:
Determining unit, for the distance L of the actual size S and described current shooting object and camera that determine current shooting object;
First computing unit, for calculating the present convergence distance M of camera according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Acquiring unit, for obtaining coordinate X, Y of touch location;
Receiving element, for receiving the photographing instruction of input;
Second computing unit, X, Y of getting for the described S determined according to described determining unit, described L, described acquiring unit and screen pixels parameter X1, the Y1 of described camera, calculate the actual focusing distance H of camera;
Record cell, the difference between the described H that the described M calculated for the X, the Y that record described S, the described L that described determining unit determines, described acquiring unit gets, described first computing unit, described second computing unit calculate and described M and H is at photo.
In conjunction with second aspect, in the first possible implementation of second aspect, described first computing unit, comprising:
Acquisition module, for obtaining the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle calculation module, the f-number for the camera got according to described acquisition module calculates light-inletting quantity angle A MP.AMp.Amp;
Computing module, for according to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
In conjunction with second aspect or the first the possible implementation in conjunction with second aspect, in the implementation that the second of second aspect is possible, described second computing unit is by formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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, provides a kind of camera, and described camera comprises the device of taking pictures described in second aspect.
Fourth aspect, provides a kind of mobile terminal, and described mobile terminal comprises the camera as described in the third aspect.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described mobile terminal is smart mobile phone or panel computer.
In the embodiment of the present invention, when taking pictures, the distance L of the actual size S of records photographing object, reference object and camera, coordinate X, the Y of focal position, present convergence distance M, these quality informations of difference between actual focusing distance H and present convergence distance M and actual focusing distance H are on photo, thus some quality informations can be provided to the specialty personnel of taking pictures, the shooting effect improving camera for professional provides foundation, to adjust the effect of taking pictures better, take better photo.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the embodiment of the method that the present invention takes pictures;
Fig. 2 is the structured flowchart of 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 object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, first obtain the distance L of the actual size S of reference object, reference object and camera, coordinate X, the Y of focal position, present convergence distance M, actual focusing distance H, when taking pictures, the distance L of the actual size S of records photographing object, reference object and camera, coordinate X, the Y of focal position, present convergence distance M, these quality informations of difference between actual focusing distance H and present convergence distance M and actual focusing distance H are on photo.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the method for taking pictures that the embodiment of the present invention one provides, and details are as follows:
In step S101, determine the actual size S of current shooting object and the distance L of described current shooting object and camera.
In embodiments of the present invention, the actual size S of current shooting object and the distance L of described current shooting object and camera can be obtained by measuring intuitively.
Also the actual size S of current shooting object and the distance L of described current shooting object and camera can be obtained according to following methods:
Adjustment camera is under preview state, camera regulates zoom automatically, the size of the image of taking pictures obtained under obtaining current zoom multiple and pixel quantity, according to size and the pixel quantity of the image of taking pictures obtained under the size of the image of taking pictures obtained under current zoom multiple and pixel quantity and non-zoom condition, obtain the actual size S of current shooting object and the distance L of described current shooting object and camera.
In step s 102, the present convergence distance M of camera is calculated according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera.
In embodiments of the present invention, first obtain the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera, light-inletting quantity angle A MP.AMp.Amp is calculated again, finally according to formula 1 according to the f-number of camera) and formula 2) calculate the present convergence distance M of camera.
Wherein, formula 1) meet:
1/u+1/v=1/f formula 1)
Formula 2) meet:
Tan &=Y1/2v formula 2)
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera, 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 is obtained.
In embodiments of the present invention, user touches the focal position that camera screen shows, and camera obtains coordinate X, Y of described focal position.
In step S104, receive the photographing instruction of input.
In embodiments of the present invention, user clicks button of taking pictures and starts to take pictures, and after camera gets photographing instruction, can start to take pictures.
In step S105, according to screen pixels parameter X1, the Y1 of described S, described L, described X, Y and described camera, calculate the actual focusing distance H of camera.
In embodiments of the present invention, by formula 3) the actual focusing distance H of camera can be calculated, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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, described S, described L, described X, Y, described M, described H and the difference between described M and described H is recorded on photo.
In embodiments of the present invention, present convergence distance M can be calculated according to step S102 and step S104, actual focusing distance H, first calculate the difference between present convergence distance M and actual focusing distance H, the actual size S that determines of recording step S101 again, distance L, the coordinate X of the touch location that step S103 obtains, Y, the present convergence distance M that step S102 and step S104 calculates and actual focusing distance H, and the difference between present convergence distance M and actual focusing distance H is on photo, some quality informations can be provided like this to the specialty personnel of taking pictures, the shooting effect improving camera for professional provides foundation, to adjust the effect of taking pictures better, take better photo.
Preferably, the value of the above-mentioned parameter be recorded on photo can be kept in the memory cell of camera.
The present embodiment, when taking pictures, the actual size S of records photographing object, the distance L of reference object and camera, the coordinate X of focal position, Y, present convergence distance M, these quality informations of difference between actual focusing distance H and present convergence distance M and actual focusing distance H are on photo, thus some quality informations can be provided to the specialty personnel of taking pictures, the shooting effect improving camera for professional provides foundation, to adjust the effect of taking pictures better, take better photo, the photo obtained taken by the camera that overcoming prior art provides, can not the quality information of recording photograph, therefore the personnel adjustment of taking pictures of inconvenient specialty is taken pictures effect, take the problem of better photo.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
One of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
Embodiment two
Fig. 2 shows the concrete structure block diagram of the device of taking pictures that the embodiment of the present invention two provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.This device 2 of taking pictures can be the unit being built in magazine software unit, hardware cell or software and hardware combining, and this device 2 of taking pictures comprises: determining unit 21, first computing unit 22, acquiring unit 23, receiving element 24, second computing unit 25 and record cell 26.
Wherein, determining unit 21, for the distance L of the actual size S and described current shooting object and camera that determine current shooting object;
First computing unit 22, for calculating the present convergence distance M of camera according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Acquiring unit 23, for obtaining coordinate X, Y of touch location;
Receiving element 24, for receiving the photographing instruction of input;
Second computing unit 25, X, Y of getting for the described S determined according to described determining unit, described L, described acquiring unit and screen pixels parameter X1, the Y1 of described camera, calculate the actual focusing distance H of camera;
Record cell 26, the difference between the described H that the described M calculated for the X, the Y that record described S, the described L that described determining unit determines, described acquiring unit gets, described first computing unit, described second computing unit calculate and described M and H is at photo.
Concrete, described first computing unit 22, comprising:
Acquisition module, for obtaining the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle calculation module, the f-number for the camera got according to described acquisition module calculates light-inletting quantity angle A MP.AMp.Amp;
Computing module, for according to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
Concrete, described second computing unit 25 is by formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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 of taking pictures that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, see the description of above-described embodiment one, do not repeat them here.
Embodiment three
Fig. 3 shows the concrete structure block diagram of the camera that the embodiment of the present invention three provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.This camera 3 can be the unit of the software unit be built in mobile terminal, hardware cell or software and hardware combining, this camera 3 comprises the device 2 of taking pictures described in embodiment two, and this device 2 of taking pictures comprises: determining unit 21, first computing unit 22, acquiring unit 23, receiving element 24, second computing unit 25 and record cell 26.
Wherein, determining unit 21, for the distance L of the actual size S and described current shooting object and camera that determine current shooting object;
First computing unit 22, for calculating the present convergence distance M of camera according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Acquiring unit 23, for obtaining coordinate X, Y of touch location;
Receiving element 24, for receiving the photographing instruction of input;
Second computing unit 25, X, Y of getting for the described S determined according to described determining unit, described L, described acquiring unit and screen pixels parameter X1, the Y1 of described camera, calculate the actual focusing distance H of camera;
Record cell 26, the difference between the described H that the described M calculated for the X, the Y that record described S, the described L that described determining unit determines, described acquiring unit gets, described first computing unit, described second computing unit calculate and described M and H is at photo.
Concrete, described first computing unit 22, comprising:
Acquisition module, for obtaining the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle calculation module, the f-number for the camera got according to described acquisition module calculates light-inletting quantity angle A MP.AMp.Amp;
Computing module, for according to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
Concrete, described second computing unit 25 is by formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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 camera that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, see the description of above-described embodiment one, do not repeat them here.
Embodiment four
Fig. 4 shows the concrete structure block diagram of the mobile terminal that the embodiment of the present invention four provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.This mobile terminal 4 can be smart mobile phone or panel computer, comprise the camera 3 described in embodiment three kinds, this camera 3 comprises the device 2 of taking pictures described in embodiment two, and this device 2 of taking pictures comprises: determining unit 21, first computing unit 22, acquiring unit 23, receiving element 24, second computing unit 25 and record cell 26.
Wherein, determining unit 21, for the distance L of the actual size S and described current shooting object and camera that determine current shooting object;
First computing unit 22, for calculating the present convergence distance M of camera according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Acquiring unit 23, for obtaining coordinate X, Y of touch location;
Receiving element 24, for receiving the photographing instruction of input;
Second computing unit 25, X, Y of getting for the described S determined according to described determining unit, described L, described acquiring unit and screen pixels parameter X1, the Y1 of described camera, calculate the actual focusing distance H of camera;
Record cell 26, the difference between the described H that the described M calculated for the X, the Y that record described S, the described L that described determining unit determines, described acquiring unit gets, described first computing unit, described second computing unit calculate and described M and H is at photo.
Concrete, described first computing unit 22, comprising:
Acquisition module, for obtaining the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle calculation module, the f-number for the camera got according to described acquisition module calculates light-inletting quantity angle A MP.AMp.Amp;
Computing module, for according to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
Concrete, described second computing unit 25 is by formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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 mobile terminal that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, see the description of above-described embodiment one, do not repeat them here.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.
Claims (9)
1. a method of taking pictures, is characterized in that, comprising:
Determine the actual size S of current shooting object and the distance L of described current shooting object and camera;
The present convergence distance M of camera is calculated according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Obtain coordinate X, Y of touch location;
Receive the photographing instruction of input;
According to screen pixels parameter X1, the Y1 of described S, described L, described X, Y and described camera, calculate the actual focusing distance H of camera;
Record difference between described S, described L, described X, Y, described M, described H and described M and H on photo.
2. the method for claim 1, is characterized in that, the described screen pixels parameter Y1 according to the current zoom multiple of camera, the f-number of camera and camera calculates the present convergence distance M of camera, comprising:
Obtain the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle A MP.AMp.Amp is calculated according to the f-number of camera;
According to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
3. method as claimed in claim 1 or 2, is characterized in that, described screen pixels parameter X1, Y1 according to described S, described L, described X, Y and described camera, calculate the actual focusing distance H of camera, comprising:
By formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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.
4. a device of taking pictures, is characterized in that, comprising:
Determining unit, for the distance L of the actual size S and described current shooting object and camera that determine current shooting object;
First computing unit, for calculating the present convergence distance M of camera according to the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Acquiring unit, for obtaining coordinate X, Y of touch location;
Receiving element, for receiving the photographing instruction of input;
Second computing unit, X, Y of getting for the described S determined according to described determining unit, described L, described acquiring unit and screen pixels parameter X1, the Y1 of described camera, calculate the actual focusing distance H of camera;
Record cell, the difference between the described H that the described M calculated for the X, the Y that record described S, the described L that described determining unit determines, described acquiring unit gets, described first computing unit, described second computing unit calculate and described M and H is at photo.
5. device as claimed in claim 4, it is characterized in that, described first computing unit, comprising:
Acquisition module, for obtaining the screen pixels parameter Y1 of the current zoom multiple of camera, the f-number of camera and camera;
Light-inletting quantity angle calculation module, the f-number for the camera got according to described acquisition module calculates light-inletting quantity angle A MP.AMp.Amp;
Computing module, for according to formula 1) and formula 2) calculate the present convergence distance M of camera;
Wherein, formula 1) meet:
1/u+1/v=1/f
Formula 2) meet:
tan&=Y1/2v
Wherein, u is present convergence distance M, f is current zoom multiple, v is image distance, and Y1 is the screen pixels parameter of camera.
6. the device as described in claim 4 or 5, is characterized in that, described second computing unit is by formula 3) calculate the actual focusing distance H of camera, wherein, and formula 3) meet:
Wherein, the coordinate that the distance that S is the actual size of current shooting object, L is current shooting object and camera, X, Y are focal positions, X1, Y1 are the screen pixels parameters of camera, the lateral parameter of the screen pixels of camera and longitudinal parameter, it is 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.
7. a camera, is characterized in that, described camera comprises the device of taking pictures as described in any one of claim 4 to 6.
8. a mobile terminal, is characterized in that, described mobile terminal comprises camera as claimed in claim 7.
9. mobile terminal as claimed in claim 8, it is characterized in that, described mobile terminal is smart mobile phone or panel 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 true CN104935815A (en) | 2015-09-23 |
CN104935815B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924415A (en) * | 2018-06-27 | 2018-11-30 | 亿嘉和科技股份有限公司 | The method that consistency calibration is carried out to zoom camera individual focussing disparity |
CN113917437A (en) * | 2021-10-09 | 2022-01-11 | 福建汇川物联网技术科技股份有限公司 | Focusing method and device of measuring equipment, electronic equipment and storage medium |
CN114449165A (en) * | 2021-12-27 | 2022-05-06 | 广州极飞科技股份有限公司 | Photographing control method and device, unmanned equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562699A (en) * | 2009-05-26 | 2009-10-21 | 天津三星光电子有限公司 | Realization method for grading photos of digital camera |
US20100245544A1 (en) * | 2009-03-31 | 2010-09-30 | Casio Computer Co., Ltd. | Imaging apparatus, imaging control method, and recording medium |
CN102647449A (en) * | 2012-03-20 | 2012-08-22 | 西安联客信息技术有限公司 | Intelligent shooting method and intelligent shooting device based on cloud service and mobile terminal |
US20130162864A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Capturing apparatus and method of capturing image |
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 |
-
2015
- 2015-06-08 CN CN201510308331.6A patent/CN104935815B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100245544A1 (en) * | 2009-03-31 | 2010-09-30 | Casio Computer Co., Ltd. | Imaging apparatus, imaging control method, and recording medium |
CN101562699A (en) * | 2009-05-26 | 2009-10-21 | 天津三星光电子有限公司 | Realization method for grading photos of digital camera |
US20130162864A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Capturing apparatus and method of capturing image |
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 |
US20130342713A1 (en) * | 2012-03-20 | 2013-12-26 | Xi'an Lianke Information Technology Co., Ltd. | Cloud service based intelligent photographic method, device and mobile terminal |
CN104683697A (en) * | 2015-03-17 | 2015-06-03 | 努比亚技术有限公司 | Shooting parameter adjusting method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924415A (en) * | 2018-06-27 | 2018-11-30 | 亿嘉和科技股份有限公司 | The method that consistency calibration is carried out to zoom camera individual focussing disparity |
CN113917437A (en) * | 2021-10-09 | 2022-01-11 | 福建汇川物联网技术科技股份有限公司 | Focusing method and device of measuring equipment, electronic equipment and storage medium |
CN114449165A (en) * | 2021-12-27 | 2022-05-06 | 广州极飞科技股份有限公司 | Photographing control method and device, unmanned equipment and storage medium |
CN114449165B (en) * | 2021-12-27 | 2023-07-18 | 广州极飞科技股份有限公司 | Photographing control method and device, unmanned equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104935815B (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9998650B2 (en) | Image processing apparatus and image pickup apparatus for adding blur in an image according to depth map | |
US10915998B2 (en) | Image processing method and device | |
CN105453136B (en) | The three-dimensional system for rolling correction, method and apparatus are carried out using automatic focus feedback | |
US10171791B2 (en) | Methods and apparatus for conditional display of a stereoscopic image pair | |
CN104333748A (en) | Method, device and terminal for obtaining image main object | |
US10306210B2 (en) | Image processing apparatus and image capturing apparatus | |
CN104363378A (en) | Camera focusing method, camera focusing device and terminal | |
US9332195B2 (en) | Image processing apparatus, imaging apparatus, and image processing method | |
CN104539844A (en) | Terminal | |
CN104363377A (en) | Method and apparatus for displaying focus frame as well as terminal | |
CN102523376A (en) | Shooting equipment and method | |
CN105721768B (en) | Method and apparatus for generating a suitable slice image from a focus stack | |
CN106131397A (en) | A kind of method that multi-medium data shows and electronic equipment | |
CN112511767B (en) | Video splicing method and device, and storage medium | |
CN104580891A (en) | Method for terminal to take images | |
CN104184935A (en) | Image shooting device and method | |
CN105635568A (en) | Image processing method in mobile terminal and mobile terminal | |
US10154241B2 (en) | Depth map based perspective correction in digital photos | |
CN104935815A (en) | Shooting method, shooting device, camera and mobile terminal | |
CN103945116A (en) | Apparatus and method for processing image in mobile terminal having camera | |
CN104902183A (en) | Panoramic photographing method and device | |
CN104662890A (en) | Imaging device and image processing method | |
CN110689565B (en) | Depth map determination method and device and electronic equipment | |
JP6645711B2 (en) | Image processing apparatus, image processing method, and program | |
CN104539847A (en) | Panoramic photographing method and mobile terminal |
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 |