CN107920211A - A kind of photographic method, terminal and computer-readable recording medium - Google Patents
A kind of photographic method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107920211A CN107920211A CN201711471234.4A CN201711471234A CN107920211A CN 107920211 A CN107920211 A CN 107920211A CN 201711471234 A CN201711471234 A CN 201711471234A CN 107920211 A CN107920211 A CN 107920211A
- Authority
- CN
- China
- Prior art keywords
- value
- shooting
- target
- terminal
- destination object
- 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.)
- Pending
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/67—Focus control based on electronic image sensor signals
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a kind of photographic method, terminal and computer-readable recording medium, wherein this method includes:Preview image is gathered by camera;The preview image includes destination object to be captured;Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;The shooting height value be the camera when gathering the preview image and supporting surface distance value;The Target To Film Distance value between the destination object and terminal is determined according to the shooting height value and the target angle of visibility angle value;According to shooting distance value and the default correspondence of acquisition parameters, the corresponding acquisition parameters of the target range value are obtained;The acquisition parameters include at least focal length;If detecting shooting instruction, photo is shot according to the acquisition parameters.The embodiment of the present invention accurately adjusts the focal length of camera by Target To Film Distance value, and shooting obtains the picture rich in detail of destination object, improves the image quality of photo.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of photographic method, terminal and computer-readable recording medium.
Background technology
As the popularity rate of the intelligent mobile terminals such as mobile phone, tablet computer is higher and higher, the camera function in mobile terminal
It is used widely.People can utilize the camera function record daily life of mobile terminal, also increasingly be chased after during taking pictures
Seek the quality of photo.Wherein, many because being known as of photographic quality, the size (pixel) of camera lens, camera lens material, zoom system are influenced
System, flash lamp etc., and in the case where camera hardware is constant, the adjusting of light exposure, focal length is to influence the pass of photographic quality
Key factor.
However, for layman, people's mode of generally use auto-focusing during taking pictures is clapped
According to, can not accurately be focused for different shooting distances, cause shooting photo it is not clear enough, reduce the image of photo
Quality.
The content of the invention
The embodiment of the present invention provides a kind of photographic method, terminal and computer-readable recording medium, can shoot to obtain mesh
The picture rich in detail of object is marked, improves the image quality of photo.
In a first aspect, an embodiment of the present invention provides a kind of photographic method, this method includes:
Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured;
Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;Wherein, the shooting
Height value be the camera when gathering the preview image and supporting surface distance value;
The mesh between the destination object and terminal is determined according to the shooting height value and the target angle of visibility angle value
Mark shooting distance value;
According to shooting distance value and the default correspondence of acquisition parameters, the corresponding shooting ginseng of the target range value is obtained
Number;Wherein, the acquisition parameters include at least focal length;
If detecting shooting instruction, photo is shot according to the acquisition parameters.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes being used to perform above-mentioned first aspect
The unit of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention by the angle of visibility angle value of current shooting height value and camera determine destination object with
Target To Film Distance value between terminal, and determine the corresponding acquisition parameters of Target To Film Distance value, which includes Jiao
Away from, and taken pictures according to definite acquisition parameters.Terminal can accurately adjust Jiao of camera according to Target To Film Distance value
Away from shooting obtains the picture rich in detail of destination object, improves the image quality of photo.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of photographic method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of photographed scene provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram for photographic method that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic diagram for photographed scene that another embodiment of the present invention provides;
Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch
Sensing surface) it can support the various application programs with user interface directly perceived and transparent for a user.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of photographic method referring to Fig. 1.The photographic method of the present embodiment
Executive agent be terminal, terminal can include but is not limited to the shifting such as smart mobile phone, tablet computer or personal digital assistant PDA
Dynamic terminal.Photographic method as depicted may include:
S101:Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured.
When detecting that user's click is taken pictures using or by other applications calling camera function, terminal starts terminal
Camera, and the preview image for including destination object to be captured is gathered by camera.
Camera can include simulation camera and digital camera, and the camera that terminal starts can be preposition shooting
Head or rear camera, the number of rear camera can be one, or 2, not limit herein.Take the photograph
As head includes imaging sensor, imaging sensor can be charge coupling device (charge-coupled device, CCD) or
Complementary metal oxide semiconductor (complementary metal oxide semiconductor, CMOS), does not limit herein
It is fixed.
The size of imaging sensor can include but is not limited to 1/3 inch or 1/4 inch in camera, such as 1/3CCD, 1/
4CCD.Wherein, the catercorner length of the size generally use imaging sensor of imaging sensor is described, as 1/3CCD is represented
The catercorner length of CCD is 1/3.Catercorner length is that 1/3 inch of CCDs of the CDD than 1/4 inch is big.The bigger CCD of size,
Under same parfocal aperture, the depth of field is more shallow.That is " virtualization effect " can be better.
Target object can be personage, can also be animal, plant or not have vital object (e.g., building etc.).
When target object is personage or animal, target object can be actionless or dynamic mobile, not do herein
Limit.The number of target object can be one or at least two, not limit herein.
In identification preview image target object to be captured can be user manually focus be determined or
Terminal automatic identification.Specifically, terminal can be by degree of focus highest in image recognition technology identification image or in image
The object identification of center is destination object, and the destination object that can also go out terminal recognition is prompted to user, so that user determines
It is whether correct.
S102:Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;Wherein, it is described
Shooting height value be the camera when gathering the preview image and supporting surface distance value.
Terminal can obtain the sensing that current shooting height value input by user or terminal pass through terminal built-in
The data that device detects determine current shooting height value.Shooting height value is camera terminal and branch when gathering preview image
The distance between support face be worth, the distance value be terminal on gravity direction apart from the height value of supporting surface.Wherein, terminal can lead to
Cross infrared ray sensor, ultrasonic sensor etc. and be capable of the distance value that the sensor of measurement distance detects and determine current shooting
Height value;Terminal can also can measure movement velocity by gravity sensor, acceleration transducer or gyro sensor etc.
The movement velocity of gravity direction that detects of sensor and move to the shooting height required time from supporting surface, calculate
Shooting height value.
The lens focus of camera and the visible angle (visual angle) of camera lens correspond, and terminal is getting the mirror of camera
During head focal length, you can get target visible angle corresponding with lens focus.
Supporting surface refers to when the surface of the supporter of front support photographer, the object of fixed terminal or destination object, and is somebody's turn to do
Surface is contacted with photographer, the object of fixed terminal or destination object.The surface of supporter can be the building of earth's surface or building
The surface of layer.For example, when destination object station is on ground, supporting surface is ground level;When destination object station in certain building or
When on building, supporting surface is that destination object is presently in the corresponding plane of floor surface.When destination object is in the vehicles
When interior, supporting surface is the interior surface for being used for carrying or support target object of the vehicles.The intersection point of destination object and supporting surface is
Refer to supporting point of the destination object relative to the supporter surface contacted with destination object.
Photographer's (or object of fixed terminal) and destination object are in same supporting surface.
S103:Determined according to the shooting height value and the target angle of visibility angle value between the destination object and terminal
Target To Film Distance value.
Target To Film Distance value is terminal and the distance value of destination object in the horizontal direction.
Also referring to Fig. 2, Fig. 2 is a kind of schematic diagram of photographed scene provided in an embodiment of the present invention.As shown in Figure 2
Photographed scene includes terminal 10 and destination object 20, wherein, the visible angle of the camera of terminal 10 is θ, terminal 10 and branch
Height between support face is h, and terminal 10 and the distance of destination object 20 in the horizontal direction are L.
Terminal is when getting current shooting height value h and the corresponding target angle of visibility angle value θ of camera, according to public affairs
Target To Film Distance value L can be calculated in formula (1).
Wherein, formula (1) is:L=h*tan (90 ° of-θ/2).
S104:According to shooting distance value and the default correspondence of acquisition parameters, it is corresponding to obtain the target range value
Acquisition parameters;Wherein, the acquisition parameters include at least focal length.
The default correspondence between acquisition parameters and shooting distance value is prestored in terminal, terminal is getting mesh
When marking the Target To Film Distance value L between object and terminal, default corresponding pass that can be according to shooting distance value with acquisition parameters
System determines the corresponding acquisition parameters of Target To Film Distance.
Wherein, acquisition parameters can include but is not limited to focal length, can also include f-number, shutter speed, sensitivity, exposure
Light quantity etc..
S105:If detecting shooting instruction, photo is shot according to the acquisition parameters.
Terminal is when detecting shooting instruction, according to the corresponding acquisition parameters shooting current visual angle capture of Target To Film Distance
The image arrived, and form photo.
Shooting instruction can be triggered by user by shooting button or terminal is touched automatically according to the timed shooting time
Hair, is not limited herein.
Such scheme, terminal by the angle of visibility angle value of current shooting height value and camera determine destination object with
Target To Film Distance value between terminal, and determine the corresponding acquisition parameters of Target To Film Distance value, which includes Jiao
Away from, and taken pictures according to definite acquisition parameters.Terminal can accurately adjust Jiao of camera according to Target To Film Distance value
Away from shooting obtains the picture rich in detail of destination object, improves the image quality of photo.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of photographic method referring to Fig. 3.The photographic method of the present embodiment
Executive agent be terminal, terminal can include but is not limited to the shifting such as smart mobile phone, tablet computer or personal digital assistant PDA
Dynamic terminal.Photographic method as depicted may include:
S201:Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured.
S201 in the present embodiment is identical with the S101 in a upper embodiment, referring specifically to S101 in a upper embodiment
Associated description, does not repeat herein.
S202:Obtain current shooting height value;Wherein, the shooting height value is that the camera is described pre- in collection
Look at image when and supporting surface distance value.
The distance value be terminal on gravity direction apart from the height value of supporting surface.
Further, S202 includes:Obtain current shooting height value input by user;Or the biography for passing through terminal built-in
The data that sensor detects determine current shooting height value.
Terminal can obtain the sensing that current shooting height value input by user or terminal pass through terminal built-in
The data that device detects determine current shooting height value.Wherein, terminal can pass through infrared ray sensor, ultrasonic sensor
The distance value detected etc. the sensor for being capable of measurement distance determines current shooting height value;Terminal can also be passed by gravity
The fortune for the gravity direction that the sensor that sensor, acceleration transducer or gyro sensor etc. can measure movement velocity detects
Move speed and move to the shooting height required time from supporting surface, calculate shooting height value.
S203:According to the default correspondence between lens focus and angle of visibility angle value, the camera lens of the camera is obtained
The corresponding target angle of visibility angle value of focal length.
Terminal obtain built-in camera configuration parameter information, according to lens focus, camera configuration parameter information with
Default correspondence between angle of visibility angle value, obtains the matched lens focus of configuration parameter information with terminal built-in camera
Default correspondence between angle of visibility angle value, to be obtained according to the default correspondence between lens focus and angle of visibility angle value
Take the corresponding target angle of visibility angle value of lens focus of camera.
Wherein, the configuration parameter information of camera includes the parameter information of lens focus and imaging sensor, and image passes
The parameter information of sensor includes the type of imaging sensor and cornerwise length of imaging sensor.Prestored in terminal
Have:Default correspondence between lens focus, the configuration parameter information of camera and angle of visibility angle value.Lens focus refers to mirror
Head optics posterior principal point to focus distance, be camera lens important performance indexes.For same reference object and shooting distance,
The lens focus of camera is bigger, and imaging is smaller, and visual angle is smaller;The lens focus of camera is smaller, and imaging is smaller, visual angle is got over
Greatly.
Terminal can also according to the configuration parameter information of camera, lens focus, camera configuration parameter information with can
Default correspondence between the angle value of visual angle, directly acquires the target angle of visibility angle value of camera.
For example, when the imaging sensor of the camera of terminal built-in is CCD, terminal can be according to camera lens Jiao of camera
Away from and CCD cornerwise length inquiry table one, obtain the corresponding target angle of visibility angle value of lens focus of camera.
Table one:
For example, when the lens focus that terminal gets camera is 2.8 millimeters, the imaging sensor of camera is CCD, its
When cornerwise length is 1/3 inch, terminal inquiry table one can obtain 4 millimeters of the corresponding target visible angle of lens focus
It is worth for 89.9 °.
S204:Determined according to the shooting height value and the target angle of visibility angle value between the destination object and terminal
Target To Film Distance value.
Also referring to Fig. 2, Fig. 2 is a kind of schematic diagram of photographed scene provided in an embodiment of the present invention.As shown in Figure 2
Photographed scene includes terminal 10 and destination object 20, wherein, the visible angle of the camera of terminal 10 is θ, terminal 10 and branch
Height between support face is h, and terminal 10 and the distance of destination object 20 in the horizontal direction are L.
Terminal is when getting current shooting height value h and the corresponding target angle of visibility angle value θ of camera, according to public affairs
Target To Film Distance value L can be calculated in formula (1).
Wherein, formula (1) is:L=h*tan (90 ° of-θ/2).
Alternatively, when destination object is personage, and the number of destination object is at least two, after S202 is performed, this
Photographic method in embodiment further includes S205~S206, S204 and S205 and sequentially performs in no particular order.It is specific as follows:
S205:Obtain the expectation height difference between first object object and the second destination object.
Expectation height difference between first object object and the second destination object can be that user inputs in real time, also may be used
To be pre-set and store in terminal, or by user from the expectation height difference at least two candidates that terminal provides
Determine.It is expected that height difference can be specifically configured according to actual needs, be not limited herein.
It can be the height difference reached corresponding to " it is poor most to sprout height " effect it is expected height difference.By 30 centimetres in network
Height difference be known as " it is poor most to sprout height ", in the present embodiment, it is expected height difference can be 30 centimetres, may be set to be it
He is worth.
S206:It is corresponding according to the corresponding first picture altitude value of the first object object, second destination object
Second picture altitude value and the expectation height difference, determine and prompt the first object object or second target pair
The moving direction and moving distance value answered.
Terminal, can be according in current shooting height value, image and current when getting current shooting height value
The number of pixel that is included of the identical length of shooting height value, calculate corresponding first image of first object object respectively
Height value and the corresponding second picture altitude value of the second destination object.
Illustrated below by taking preview image includes 2 destination objects as an example, it is to be understood that in other embodiment
In, can be according to realizing two targets pair when it is that desired height is poor to need to realize the height difference between multiple destination objects
Height difference as between is the implementation of desired height difference.
Specifically, also referring to Fig. 4, Fig. 4 is a kind of schematic diagram for photographed scene that another embodiment of the present invention provides.
Photographed scene as shown in Figure 4 includes terminal 10,20 and second destination object 30 of first object object, wherein, terminal 10
The visible angle of camera is θ, and the height between terminal 10 and supporting surface is h, and terminal 10 and destination object 20 are in the horizontal direction
On distance be L.
The corresponding first picture altitude value H of second destination object as shown in Figure 41=Hab+Hbc, wherein, HabWith current bat
It is identical to take the photograph height value h, then, i.e. Hab=h.
Terminal obtains HabComprising pixel the first sum S1, and obtain HbcComprising pixel second sum
S2, calculate HbcWith HbdBetween ratio, wherein, Hbd=h.Due to the second sum S2With the first sum S1Between ratio be equal to Hbc
With HbdBetween ratio, terminal can be according to formula (2)H is calculatedbc, at this time, by formula (2) and Hab=h
Substitution formula H1=Hab+Hbc, you can obtain formula (3):
Terminal can obtain the corresponding first picture altitude value of first object object in preview image according to formula (3).
The corresponding second picture altitude value H of the second destination object can be calculated as stated above for terminal2, terminal is according to the phase
Hope height difference, it is expected the sum and the corresponding distance of a pixel of the corresponding pixel of height difference, determine first
First picture altitude value of destination object and the second picture altitude value of the second destination object reach when it is expected height difference, it is necessary to
The sum of the pixel of experience, and the pixel undergone according to pixel, the needs of the vertex correspondence of the first picture altitude value
The final position of the definite first object object of sum, or according to the pixel of the vertex correspondence of the second picture altitude value, need through
The sum for the pixel gone through determines the final position of the second destination object.
It is understood that terminal can be according to keeping the position of first object object constant, according to first object pair
The initial position of elephant is determined the final position of arrival after the movement of the second destination object;It can also keep the second destination object
Position is constant, is determined the final position of arrival according to the initial position of the second destination object after the movement of first object object;Also
It can determine that first object object will after moving according to the initial position of first object object, the initial position of the second destination object
The final position of arrival and determine the final position of arrival after the movement of the second destination object, at this time first object it is corresponding and
Second destination object is required to move.
Afterwards, terminal is true according to the final position of the corresponding initial position a of first object object and first object object
Determining first object object needs mobile distance and moving direction, or according to the corresponding initial position a ' of the second destination object
And second the final position of destination object determine that the second destination object needs mobile distance and moving direction.
The moving direction of first object object and displacement distance are prompted to the user that takes pictures by terminal, so that the user that takes pictures refers to
Lead first object object and be moved to the final position that the needs for the first object object that terminal determines reach;Or by the second target
The moving direction and displacement distance of object are prompted to the user that takes pictures, so that user guided second destination object of taking pictures is moved to end
The final position that the needs of the second definite destination object of end reach, so as to realize first object object in the photograph taken
Height difference between the second destination object is expectation height difference.
In other embodiments, terminal can prompt user using dimensional measuring instrument to the target pair in preview image
The image of elephant carries out physical measurement, so as to obtain the corresponding first picture altitude value of first object object, the second destination object pair
The the second picture altitude value answered, then the first picture altitude value and the second picture altitude input by user are received by human-computer interaction
Value.Afterwards, terminal determine as stated above and prompt first object object or the second destination object need mobile distance and
Moving direction.
When photographic method does not include S205~S206, terminal can perform S207 after S204 is performed;Photographic method bag
When including S205~S206, terminal performs S207 after S204 and S207 is performed.
S207:According to shooting distance value and the default correspondence of acquisition parameters, it is corresponding to obtain the target range value
Acquisition parameters;Wherein, the acquisition parameters include at least focal length.
The default correspondence between acquisition parameters and shooting distance value is prestored in terminal, terminal is getting mesh
When marking the Target To Film Distance value L between object and terminal, default corresponding pass that can be according to shooting distance value with acquisition parameters
System determines the corresponding acquisition parameters of Target To Film Distance.
Wherein, acquisition parameters can include but is not limited to focal length, and focal length when which is imaging, can also include aperture
Value, shutter speed, sensitivity, light exposure etc..Wherein, when destination object is apart from the distance difference of camera, it is imaged for clarity,
Need to adjust the distance between camera lens and imaging sensor (imaging surface), which is focus process;It is, target
When the distance of object distance camera is different, imaging focal length the distance between (camera lens from sensor) is different.
Aperture we can generally represent that, as f/1.4, f/8 etc., f-number is used to adjust the light-inletting quantity of camera, light with f
Circle value is smaller, and it is bigger to represent aperture, and more light can be allowed to pass through;The size of aperture and its numeral be it is just opposite, therefore
F/1.4 is large aperture, and f/8 is small aperture.
Shutter speed is faster, and light exposure is just fewer.What sensitivity represented is the imaging sensor of camera to the quick of light
Sense degree.Sensitivity adds digital representation with ISO, and numeral is higher, and sensitivity is higher, and imaging sensor is more sensitive to light.
Further, S207 can include S2071:According to shooting distance value and the default correspondence of acquisition parameters, obtain
Take the corresponding focal length of the target range value and f-number.
Prestored the default correspondence of shooting distance value and acquisition parameters in terminal, acquisition parameters include focal length with
And f-number, terminal obtain the Target To Film Distance value when determining the Target To Film Distance value between destination object and terminal
Corresponding focal length and f-number.
Alternatively, photographic method can also include S208:The brightness value of current ambient light is obtained, and determines the illumination
It is worth corresponding exposure value.
The default correspondence between the brightness value of ambient light and exposure value is prestored in terminal, terminal is being got
During the brightness value of current ambient light, it can be determined according to the default correspondence between the brightness value and exposure value of ambient light
The corresponding exposure value of the brightness value.
Wherein, S208 and S202~S207 is sequentially performed in no particular order, can be performed when performing S202~S207
S208。
S209:If detecting shooting instruction, photo is shot according to the acquisition parameters.
Terminal is when detecting shooting instruction, according to the corresponding acquisition parameters shooting current visual angle capture of Target To Film Distance
The image arrived, and form photo.
Shooting instruction can be triggered by user by shooting button or terminal is touched automatically according to the timed shooting time
Hair, is not limited herein.
Shooting instruction can be triggered by user by shooting button or terminal is touched automatically according to the timed shooting time
Hair, is not limited herein.
When performing S2071, S208, S209 can include terminal:If detecting shooting instruction, according to the brightness value
Corresponding exposure value, the target range are worth corresponding focal length and f-number shooting photo.
Further, S209 can include S2091~S2092.
S2091:If detecting shooting instruction, the movement velocity of the destination object is obtained.
Terminal obtains the movement velocity of the destination object of focusing when detecting shooting instruction.Wherein, when either objective pair
The movement velocity of elephant is more than snacks, performs S2092;When the movement velocity of destination object is equal to zero, by the bat determined in S207
Parameter is taken the photograph to take pictures.
S2092:If the movement velocity is more than zero, the target position of the destination object is determined according to the movement velocity
Put, and the acquisition parameters are adjusted according to the target location, taken pictures according to the acquisition parameters after the adjustment.
Terminal is when the movement velocity for detecting destination object is more than zero, and second in record first position, motion process
Position and the run duration that the second place is moved to from first position, according to first position and the second place calculate movement away from
From, and according to the move distance being calculated and the run duration got, calculate destination object and moved to from first position
The average speed of the second place, according to the average speed prediction destination object of destination object in the target position that subsequent time is reached
Put.After subsequent time is at the time of the second place is moved to.Subsequent time can be at the time of the second place is moved to it
Afterwards 0.1 second or 0.5 second etc..
Terminal determines current shooting distance according to the target location of destination object, and obtains current shooting distance and correspond to
Acquisition parameters, according to the acquisition parameters obtained in the corresponding acquisition parameters adjustment S207 of current shooting distance, and according to tune
Acquisition parameters after whole are taken pictures.
Specifically, it is initial position before terminal can be moved according to destination object, the target location for predicting destination object, initial
Between first shooting distance of position correspondence, the sum of the pixel of the first shooting distance protection, initial position and target location
The sum of pixel that is included of line segment, calculate sum, initial position and the target of the pixel that the first shooting distance includes
The total ratio for the pixel that line segment between position is included, according to the ratio it is corresponding with initial position first shooting away from
From calculating the distance between initial position and target location, and the distance the first shooting distance corresponding with initial position is added
Method obtains corresponding second shooting distance in target location (i.e. current shooting distance).
Wherein, can be with according to the method for distance between the ratio calculation initial position of the number of pixel and target location
With reference to the above-mentioned method that picture altitude is calculated according to the number of pixel, do not repeat herein.
Terminal can determine the acquisition parameters that should be used during terminal taking photo according to current shooting distance, and shooting is shone
The acquisition parameters that should be used during piece include but not limited to focal length, and the f-number that can also include using, should use
Photosensitive value or aperture time etc..
The acquisition parameters determined in S207 are adjusted to the above-mentioned definite acquisition parameters that should be used by terminal.
Further, when performing S2071, S208, S2092 can be specially terminal:If the movement velocity is more than zero,
The target location of the destination object is then determined according to the movement velocity, and target range value is adjusted according to the target location
Corresponding focal length and f-number shoot photo, according to the focal length after the corresponding exposure value of current light value, adjustment and adjustment
F-number shooting photo afterwards.
Alternatively, after S204, the image pickup method of the present embodiment further includes S210~S213.Specifically:
S210:According to the default correspondence between the dimension information of lens focus, shooting distance and coverage, really
Determine the dimension information of the corresponding target coverage of the Target To Film Distance.
The lens focus, shooting distance and coverage (or catching range of camera lens) of camera have been prestored in terminal
Dimension information between default correspondence, terminal is according to the lens focus of the camera of terminal built-in, terminal and target pair
Target To Film Distance as between, determines under Target To Film Distance, the corresponding target coverage of lens focus of camera
Dimension information, and obtain the length value and width value of the size of target coverage.Wherein, the lens focus of camera with
Default correspondence between the dimension information of coverage (or catching range of camera lens) refers to table two.
Table two:
For example, when the lens focus of camera is 2.8 millimeters (mm), when shooting distance is 5 meters (m), target coverage
To be 13 meters long, the area corresponding to wide 9.8 meters.
Wherein, S2010 and S207 is step arranged side by side, and order performs in no particular order.
S211:The corresponding figure of the destination object is determined according to the target angle of visibility angle value and the shooting height value
Image height angle value.
The method of the corresponding picture altitude value of calculating destination object see the associated description in S206, not repeat herein.
S212:It is true according to the dimension information of the target coverage and the corresponding picture altitude value of the destination object
Determine the corresponding picture traverse value of the destination object.
Due to the first ratio of the picture altitude value of destination object width value corresponding with target coverage, and target
Second ratio of the picture traverse value length value corresponding with target coverage of object is equal, and therefore, terminal is according to S206
In method when the picture altitude value of destination object is calculated, can be according to the corresponding length value of target coverage, target pair
The ratio of the picture altitude value width value corresponding with target coverage of elephant, calculates the corresponding picture traverse value of destination object.
Wherein, picture traverse value refers to the width value of destination object face camera in preview image.
S213:According to the corresponding picture altitude value of dimension information, the destination object of the target coverage and described
The corresponding picture traverse value of destination object, determines and exports described in the photo that destination object is corresponding to repair graph parameter.
For example, terminal can calculate the corresponding length value of target coverage picture altitude value corresponding with destination object it
Between lenth ratio, and according to the default correspondence between default lenth ratio and width ratio, obtain the lenth ratio
Corresponding width ratio, so that mesh be calculated according to the width ratio that is calculated, the corresponding width value of target coverage
Corresponding target image width value is marked, and according to the difference between the corresponding target image width value of destination object and picture traverse value
Value, what output was used to adjusting the corresponding picture traverse of destination object repaiies graph parameter, so that terminal is when obtaining photo, is repaiied according to this
Graph parameter carries out repairing figure, to beautify photo.
Such scheme, terminal by the angle of visibility angle value of current shooting height value and camera determine destination object with
Target To Film Distance value between terminal, and determine the corresponding acquisition parameters of Target To Film Distance value, which includes Jiao
Away from, and taken pictures according to definite acquisition parameters.Terminal can accurately adjust Jiao of camera according to Target To Film Distance value
Away from shooting obtains the picture rich in detail of destination object, improves the image quality of photo.
Terminal determines the corresponding exposure value of the brightness value by the brightness value of current ambient light, and according to the exposure value,
The corresponding focal length of Target To Film Distance and f-number are taken pictures, it is not necessary to user's manual setting exposure value, focal length and light
The acquisition parameters such as circle, can prevent the acquisition parameters that user is adjusted manually from mismatching with current photographed scene to cause shooting to obtain
The unsharp situation of photograph occur, since accurate whole exposure value, the corresponding focal length of Target To Film Distance and aperture can be set
Value, improves the imaging definition of destination object, further improves the image quality of photo.
Terminal can export according to the imaging width value and image height value of destination object and repair graph parameter, so as to root
Graph parameter is repaiied according to this to shooting obtained photo to beautify, to adjust the stature ratio in photograph.
Terminal can be to the shooting distance during the destination object predicted motion in movement, so as to the target pair in movement
As focusing, the image quality for improving the destination object in movement is obtained.
Terminal can determine and carry according to height difference, the corresponding picture altitude value of any two destination object it is expected
Show first object object or the corresponding moving direction of the second target and moving distance value, being had between the destination object in photo
There is the effect for most sprouting height difference.
The embodiment of the present invention also provides a kind of terminal, which is used for the list for performing foregoing any one of them photographic method
Member.Specifically, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 5.The terminal 5 of the present embodiment includes:
Image acquisition units 501, first acquisition unit 502, the first determination unit 503, second acquisition unit 504 and photographing unit
505。
Image acquisition units 501, for gathering preview image by camera;Wherein, the preview image includes and waits to clap
The destination object taken the photograph;
First acquisition unit 502, it is visual for obtaining current shooting height value and the corresponding target of the camera
Angle value;Wherein, the shooting height value be the camera when gathering the preview image and supporting surface distance value;
First determination unit 503, for determining the mesh according to the shooting height value and the target angle of visibility angle value
Mark the Target To Film Distance value between object and terminal;
Second acquisition unit 504, for the default correspondence according to shooting distance value and acquisition parameters, obtains the mesh
The corresponding acquisition parameters of subject distance value;Wherein, the acquisition parameters include at least focal length;
Photographing unit 505, if for detecting shooting instruction, photo is shot according to the acquisition parameters.
Further, photographing unit 505 specifically includes:
Detection unit 5051, if for detecting shooting instruction, obtains the movement velocity of the destination object;
Shooting unit 5052, if being more than zero for the movement velocity, the target is determined according to the movement velocity
The target location of object, and the acquisition parameters are adjusted according to the target location, according to the acquisition parameters after the adjustment into
Row is taken pictures.
Alternatively, first acquisition unit 502 includes:
Shooting height acquiring unit 5021, for obtaining current shooting height value;
Visual angle acquiring unit 5022, for according to the default correspondence between lens focus and angle of visibility angle value, obtaining
The corresponding target angle of visibility angle value of lens focus of the camera.
Further, shooting height acquiring unit 5021 is specifically used for:Obtain current shooting height value input by user;
Or the data detected by the sensor of terminal built-in determine current shooting height value.
Alternatively, terminal further includes:
Coverage determination unit 506, for when the first determination unit 503 determines Target To Film Distance, according to camera lens
Default correspondence between the dimension information of focal length, shooting distance and coverage, determines the Target To Film Distance pair
The dimension information for the target coverage answered;
Picture altitude determination unit 507, for the target angle of visibility angle value that is obtained according to first acquisition unit 502 with
And the shooting height value determines the corresponding picture altitude value of the destination object;
Picture traverse determination unit 508, for the dimension information according to the target coverage and the target pair
As corresponding picture altitude value determines the corresponding picture traverse value of the destination object;
Graph parameter determination unit 509 is repaiied, it is corresponding for dimension information, the destination object according to the target coverage
Picture altitude value and the corresponding picture traverse value of the destination object, determine and export the photograph of the shooting of shooting unit 5052
The destination object in piece is corresponding to repair graph parameter.
Alternatively, the destination object is at least two, and terminal can also include:
3rd acquiring unit 510, for obtaining the expectation height difference between first object object and the second destination object;
Second determination unit 511, for according to the corresponding first picture altitude value of the first object object, described second
The corresponding second picture altitude value of destination object and it is described expectation height difference, determine and prompt the first object object or
The corresponding moving direction of second target and moving distance value, the second determination unit 511 prompt the first object object
Or after the corresponding moving direction of second target and moving distance value, notification information, notice are sent to photographing unit 505
Photographing unit 505 detects photographing instruction.
Specifically, terminal can also include:
4th acquiring unit 512, for obtaining the brightness value of current ambient light, and determines the corresponding exposure of the brightness value
Light value;
Second acquisition unit 504 is specifically used for:According to shooting distance value and the default correspondence of acquisition parameters, institute is obtained
State the corresponding focal length of target range value and f-number;
Photographing unit 504 is specifically used for:If detecting shooting instruction, according to the corresponding exposure value of the brightness value, institute
State the corresponding focal length of target range value and f-number shooting photo.
Such scheme, terminal by the angle of visibility angle value of current shooting height value and camera determine destination object with
Target To Film Distance value between terminal, and determine the corresponding acquisition parameters of Target To Film Distance value, which includes Jiao
Away from, and taken pictures according to definite acquisition parameters.Terminal can accurately adjust Jiao of camera according to Target To Film Distance value
Away from shooting obtains the picture rich in detail of destination object, improves the image quality of photo.
Terminal determines the corresponding exposure value of the brightness value by the brightness value of current ambient light, and according to the exposure value,
The corresponding focal length of Target To Film Distance and f-number are taken pictures, it is not necessary to user's manual setting exposure value, focal length and light
The acquisition parameters such as circle, can prevent the acquisition parameters that user is adjusted manually from mismatching with current photographed scene to cause shooting to obtain
The unsharp situation of photograph occur, since accurate whole exposure value, the corresponding focal length of Target To Film Distance and aperture can be set
Value, improves the imaging definition of destination object, further improves the image quality of photo.
Terminal can export according to the imaging width value and image height value of destination object and repair graph parameter, so as to root
Graph parameter is repaiied according to this to shooting obtained photo to beautify, to adjust the stature ratio in photograph.
Terminal can be to the shooting distance during the destination object predicted motion in movement, so as to the target pair in movement
As focusing, the image quality for improving the destination object in movement is obtained.
Terminal can determine and carry according to height difference, the corresponding picture altitude value of any two destination object it is expected
Show first object object or the corresponding moving direction of the second target and moving distance value, being had between the destination object in photo
There is the effect for most sprouting height difference.
It is a kind of terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 6.In the present embodiment as depicted
Terminal 6 can include:One or more processors 601;One or more input equipments 602, one or more output equipments
603 and memory 604.Above-mentioned processor 601, input equipment 602, output equipment 603 and memory 604 are connected by bus 605
Connect.Memory 604 is used to store computer program, and the computer program includes programmed instruction, and processor 601 is deposited for execution
The programmed instruction that reservoir 604 stores.Wherein, processor 601 is arranged to call described program instruction to perform:
Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured;
Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;Wherein, the shooting
Height value be the camera when gathering the preview image and supporting surface distance value;
The mesh between the destination object and terminal is determined according to the shooting height value and the target angle of visibility angle value
Mark shooting distance value;
According to shooting distance value and the default correspondence of acquisition parameters, the corresponding shooting ginseng of the target range value is obtained
Number;Wherein, the acquisition parameters include at least focal length;
If detecting shooting instruction, photo is shot according to the acquisition parameters.
Alternatively, processor 601 is specific is arranged to call described program instruction to perform:
Obtain current shooting height value;
According to the default correspondence between lens focus and angle of visibility angle value, the lens focus pair of the camera is obtained
The target angle of visibility angle value answered.
Alternatively, it is described that the destination object and end are determined according to the shooting height value and the target angle of visibility angle value
After Target To Film Distance value between end, processor 601 is additionally configured to call described program instruction to perform:
According to the default correspondence between the dimension information of lens focus, shooting distance and coverage, institute is determined
State the dimension information of the corresponding target coverage of Target To Film Distance;
Determine that the corresponding image of the destination object is high according to the target angle of visibility angle value and the shooting height value
Angle value;
Institute is determined according to the dimension information of the target coverage and the corresponding picture altitude value of the destination object
State the corresponding picture traverse value of destination object;
According to the corresponding picture altitude value of dimension information, the destination object of the target coverage and the target pair
As corresponding picture traverse value, determine and export described in the photo that destination object is corresponding to repair graph parameter.
Alternatively, the destination object is at least two;If described detect shooting instruction, according to the acquisition parameters
Before shooting photo, processor 601 is additionally configured to call described program instruction to perform:
Obtain the expectation height difference between first object object and the second destination object;
According to the corresponding first picture altitude value of the first object object, corresponding second figure of second destination object
Image height angle value and the expectation height difference, determine and prompt the first object object or the corresponding shifting of second target
Dynamic direction and moving distance value.
Alternatively, processor 601 is additionally configured to call described program instruction to perform:
If detecting shooting instruction, the movement velocity of the destination object is obtained;
If the movement velocity is more than zero, the target location of the destination object is determined according to the movement velocity, and
The acquisition parameters are adjusted according to the target location, are taken pictures according to the acquisition parameters after the adjustment.
Alternatively, processor 601 is specific is arranged to call described program instruction to perform:Obtain input by user current
Shooting height value;Or the data detected by the sensor of terminal built-in determine current shooting height value.
Alternatively, processor 601 is arranged to call described program instruction to perform:
The brightness value of current ambient light is obtained, and determines the corresponding exposure value of the brightness value;
According to shooting distance value and the default correspondence of acquisition parameters, obtain the corresponding focal length of the target range value with
And f-number;
If detecting shooting instruction, corresponding Jiao is worth according to the corresponding exposure value of the brightness value, the target range
Away from and f-number shooting photo.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 602 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 603 can include display (LCD etc.), loudspeaker etc..
The memory 604 can include read-only storage and random access memory, and to processor 410 provide instruction and
Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited
Store up the information of device type.
In the specific implementation, processor 601, input equipment 602, the output equipment 603 described in the embodiment of the present invention can
The implementation described in the first embodiment and second embodiment of photographic method provided in an embodiment of the present invention is performed, also may be used
The implementation of the described terminal of the embodiment of the present invention is performed, details are not described herein.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured;
Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;Wherein, the shooting
Height value be the camera when gathering the preview image and supporting surface distance value;
The mesh between the destination object and terminal is determined according to the shooting height value and the target angle of visibility angle value
Mark shooting distance value;
According to shooting distance value and the default correspondence of acquisition parameters, the corresponding shooting ginseng of the target range value is obtained
Number;Wherein, the acquisition parameters include at least focal length;
If detecting shooting instruction, photo is shot according to the acquisition parameters.
Alternatively, implemented when described program instruction is executed by processor:
Obtain current shooting height value;
According to the default correspondence between lens focus and angle of visibility angle value, the lens focus pair of the camera is obtained
The target angle of visibility angle value answered.
Alternatively, it is described that the destination object and end are determined according to the shooting height value and the target angle of visibility angle value
After Target To Film Distance value between end, described program instruction is also realized when being executed by processor:
According to the default correspondence between the dimension information of lens focus, shooting distance and coverage, institute is determined
State the dimension information of the corresponding target coverage of Target To Film Distance;
Determine that the corresponding image of the destination object is high according to the target angle of visibility angle value and the shooting height value
Angle value;
Institute is determined according to the dimension information of the target coverage and the corresponding picture altitude value of the destination object
State the corresponding picture traverse value of destination object;
According to the corresponding picture altitude value of dimension information, the destination object of the target coverage and the target pair
As corresponding picture traverse value, determine and export described in the photo that destination object is corresponding to repair graph parameter.
Alternatively, the destination object is at least two;If described detect shooting instruction, according to the acquisition parameters
Before shooting photo, described program instruction is also realized when being executed by processor:
Obtain the expectation height difference between first object object and the second destination object;
According to the corresponding first picture altitude value of the first object object, corresponding second figure of second destination object
Image height angle value and the expectation height difference, determine and prompt the first object object or the corresponding shifting of second target
Dynamic direction and moving distance value.
Alternatively, implemented when described program instruction is executed by processor:
If detecting shooting instruction, the movement velocity of the destination object is obtained;
If the movement velocity is more than zero, the target location of the destination object is determined according to the movement velocity, and
The acquisition parameters are adjusted according to the target location, are taken pictures according to the acquisition parameters after the adjustment.
Alternatively, implemented when described program instruction is executed by processor:It is high to obtain current shooting input by user
Angle value;Or the data detected by the sensor of terminal built-in determine current shooting height value.
Alternatively, realized when described program instruction is executed by processor:
The brightness value of current ambient light is obtained, and determines the corresponding exposure value of the brightness value;
According to shooting distance value and the default correspondence of acquisition parameters, obtain the corresponding focal length of the target range value with
And f-number;
If detecting shooting instruction, corresponding Jiao is worth according to the corresponding exposure value of the brightness value, the target range
Away from and f-number shooting photo.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can pass through it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art, or all or part of the technical solution can be in the form of software product
Embody, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
- A kind of 1. photographic method, it is characterised in that including:Preview image is gathered by camera;Wherein, the preview image includes destination object to be captured;Obtain current shooting height value and the corresponding target angle of visibility angle value of the camera;Wherein, the shooting height Value be the camera when gathering the preview image and supporting surface distance value;Determine that the target between the destination object and terminal is clapped according to the shooting height value and the target angle of visibility angle value Photographic range value;According to shooting distance value and the default correspondence of acquisition parameters, the corresponding acquisition parameters of the target range value are obtained; Wherein, the acquisition parameters include at least focal length;If detecting shooting instruction, photo is shot according to the acquisition parameters.
- 2. photographic method according to claim 1, it is characterised in that the current shooting height value and described of obtaining The corresponding target angle of visibility angle value of camera, including:Obtain current shooting height value;According to the default correspondence between lens focus and angle of visibility angle value, the lens focus for obtaining the camera is corresponding Target angle of visibility angle value.
- 3. photographic method according to claim 1 or 2, it is characterised in that it is described according to the shooting height value with it is described After target angle of visibility angle value determines the Target To Film Distance value between the destination object and terminal, further include:According to the default correspondence between the dimension information of lens focus, shooting distance and coverage, the mesh is determined Mark the dimension information of the corresponding target coverage of shooting distance;The corresponding picture altitude value of the destination object is determined according to the target angle of visibility angle value and the shooting height value;The mesh is determined according to the dimension information of the target coverage and the corresponding picture altitude value of the destination object Mark the corresponding picture traverse value of object;According to the corresponding picture altitude value of dimension information, the destination object of the target coverage and the destination object pair The picture traverse value answered, determines and exports described in the photo that destination object is corresponding to repair graph parameter.
- 4. photographic method according to claim 1, it is characterised in that the destination object is at least two, if the inspection Shooting instruction is measured, then before shooting photo according to the acquisition parameters, is further included:Obtain the expectation height difference between first object object and the second destination object;It is high according to the corresponding first picture altitude value of the first object object, corresponding second image of second destination object Angle value and the expectation height difference, determine and prompt the first object object or the corresponding movement side of second target To and moving distance value.
- 5. photographic method according to claim 1, it is characterised in that if described detect shooting instruction, according to Acquisition parameters shooting photo includes:If detecting shooting instruction, the movement velocity of the destination object is obtained;If the movement velocity is more than zero, the target location of the destination object is determined according to the movement velocity, and according to The target location adjusts the acquisition parameters, is taken pictures according to the acquisition parameters after the adjustment.
- 6. photographic method according to claim 2, it is characterised in that the current shooting height value of the acquisition includes:Obtain current shooting height value input by user;OrThe data detected by the sensor of terminal built-in determine current shooting height value.
- 7. according to claim 1,2,4-6 any one of them photographic methods, it is characterised in that further include:The brightness value of current ambient light is obtained, and determines the corresponding exposure value of the brightness value;It is described according to shooting distance value and the default correspondence of acquisition parameters, obtain the corresponding shooting ginseng of the target range value Number includes:According to shooting distance value and the default correspondence of acquisition parameters, the corresponding focal length of the target range value and light are obtained Circle value;If described detect shooting instruction, shooting photo according to the acquisition parameters includes:If detecting shooting instruction, according to the corresponding exposure value of the brightness value, the target range be worth corresponding focal length with And f-number shooting photo.
- 8. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-7 any claims Member.
- 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performs such as any one of claim 1-7 The method.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-7 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711471234.4A CN107920211A (en) | 2017-12-28 | 2017-12-28 | A kind of photographic method, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711471234.4A CN107920211A (en) | 2017-12-28 | 2017-12-28 | A kind of photographic method, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107920211A true CN107920211A (en) | 2018-04-17 |
Family
ID=61894519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711471234.4A Pending CN107920211A (en) | 2017-12-28 | 2017-12-28 | A kind of photographic method, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107920211A (en) |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989687A (en) * | 2018-09-07 | 2018-12-11 | 北京小米移动软件有限公司 | camera focusing method and device |
CN109035805A (en) * | 2018-09-21 | 2018-12-18 | 深圳市九洲电器有限公司 | A kind of intelligent identification Method and device of license plate number |
CN109696158A (en) * | 2018-05-05 | 2019-04-30 | 福建汇川物联网技术科技股份有限公司 | Distance measurement method, distance-measuring device and electronic equipment |
CN109803090A (en) * | 2019-01-25 | 2019-05-24 | 睿魔智能科技(深圳)有限公司 | Unmanned shooting automatic zooming method and system, unmanned cameras and storage medium |
CN110276251A (en) * | 2019-05-13 | 2019-09-24 | 联想(上海)信息技术有限公司 | A kind of image-recognizing method, device, equipment and storage medium |
CN110604579A (en) * | 2019-09-11 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Data acquisition method, device, terminal and storage medium |
CN111102966A (en) * | 2018-10-29 | 2020-05-05 | 所罗门股份有限公司 | Method for automatically acquiring equipment state |
CN111191623A (en) * | 2020-01-03 | 2020-05-22 | 圣点世纪科技股份有限公司 | Finger vein shooting distance determination method |
CN111324131A (en) * | 2020-03-31 | 2020-06-23 | 中通服创立信息科技有限责任公司 | Following monitoring method of track type inspection robot based on human body radar |
WO2021032197A1 (en) * | 2019-08-21 | 2021-02-25 | 长城汽车股份有限公司 | Monocular vision distance measurement method, storage medium, and monocular camera |
CN112446925A (en) * | 2020-10-20 | 2021-03-05 | 广州视源电子科技股份有限公司 | Camera equipment parameter calibration method, equipment and system |
CN112511740A (en) * | 2020-11-23 | 2021-03-16 | 浙江大华技术股份有限公司 | Image pickup method, image pickup apparatus, electronic device, and storage medium |
CN112738393A (en) * | 2020-12-25 | 2021-04-30 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN113347363A (en) * | 2021-03-24 | 2021-09-03 | 三星电子(中国)研发中心 | Shooting method and device |
CN113422901A (en) * | 2021-05-29 | 2021-09-21 | 华为技术有限公司 | Camera focusing method and related equipment |
CN113542729A (en) * | 2021-06-28 | 2021-10-22 | 惠州Tcl云创科技有限公司 | Camera analysis force acquisition method and device, intelligent terminal and storage medium |
WO2021259063A1 (en) * | 2020-06-23 | 2021-12-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system for automatically zooming one or more objects present in a camera preview frame |
CN114040115A (en) * | 2021-11-29 | 2022-02-11 | 海南哦课教育科技有限公司 | Method, device, medium and electronic equipment for capturing abnormal action of target object |
CN114111704A (en) * | 2020-08-28 | 2022-03-01 | 华为技术有限公司 | Method and device for measuring distance, electronic equipment and readable storage medium |
CN114596362A (en) * | 2022-03-15 | 2022-06-07 | 云粒智慧科技有限公司 | High-point camera coordinate calculation method and device, electronic equipment and medium |
CN114697538A (en) * | 2020-12-31 | 2022-07-01 | 武汉联影生命科学仪器有限公司 | Animal imaging equipment and focusing method and video monitoring method of monitoring camera of animal imaging equipment |
CN115334243A (en) * | 2022-08-23 | 2022-11-11 | 维沃移动通信有限公司 | Shooting method and device thereof |
US11785335B2 (en) | 2021-03-04 | 2023-10-10 | Samsung Electronics Co., Ltd. | Automatic adjusting photographing method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100053354A1 (en) * | 2008-08-29 | 2010-03-04 | Sony Corporation | Image pickup apparatus and image processing apparatus |
CN105120148A (en) * | 2015-08-14 | 2015-12-02 | 深圳市金立通信设备有限公司 | An automatic focusing method and a terminal |
CN105227838A (en) * | 2015-09-28 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image processing method and mobile terminal |
-
2017
- 2017-12-28 CN CN201711471234.4A patent/CN107920211A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100053354A1 (en) * | 2008-08-29 | 2010-03-04 | Sony Corporation | Image pickup apparatus and image processing apparatus |
CN105120148A (en) * | 2015-08-14 | 2015-12-02 | 深圳市金立通信设备有限公司 | An automatic focusing method and a terminal |
CN105227838A (en) * | 2015-09-28 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image processing method and mobile terminal |
Cited By (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109696158A (en) * | 2018-05-05 | 2019-04-30 | 福建汇川物联网技术科技股份有限公司 | Distance measurement method, distance-measuring device and electronic equipment |
CN108989687A (en) * | 2018-09-07 | 2018-12-11 | 北京小米移动软件有限公司 | camera focusing method and device |
CN109035805A (en) * | 2018-09-21 | 2018-12-18 | 深圳市九洲电器有限公司 | A kind of intelligent identification Method and device of license plate number |
CN111102966A (en) * | 2018-10-29 | 2020-05-05 | 所罗门股份有限公司 | Method for automatically acquiring equipment state |
CN109803090A (en) * | 2019-01-25 | 2019-05-24 | 睿魔智能科技(深圳)有限公司 | Unmanned shooting automatic zooming method and system, unmanned cameras and storage medium |
CN109803090B (en) * | 2019-01-25 | 2021-09-28 | 睿魔智能科技(深圳)有限公司 | Automatic zooming method and system for unmanned shooting, unmanned camera and storage medium |
CN110276251A (en) * | 2019-05-13 | 2019-09-24 | 联想(上海)信息技术有限公司 | A kind of image-recognizing method, device, equipment and storage medium |
WO2021032197A1 (en) * | 2019-08-21 | 2021-02-25 | 长城汽车股份有限公司 | Monocular vision distance measurement method, storage medium, and monocular camera |
CN110604579A (en) * | 2019-09-11 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Data acquisition method, device, terminal and storage medium |
CN110604579B (en) * | 2019-09-11 | 2024-05-17 | 腾讯科技(深圳)有限公司 | Data acquisition method, device, terminal and storage medium |
CN111191623A (en) * | 2020-01-03 | 2020-05-22 | 圣点世纪科技股份有限公司 | Finger vein shooting distance determination method |
CN111191623B (en) * | 2020-01-03 | 2023-09-19 | 圣点世纪科技股份有限公司 | Method for determining finger vein shooting distance |
CN111324131A (en) * | 2020-03-31 | 2020-06-23 | 中通服创立信息科技有限责任公司 | Following monitoring method of track type inspection robot based on human body radar |
CN111324131B (en) * | 2020-03-31 | 2023-09-01 | 中通服创立信息科技有限责任公司 | Tracking monitoring method of track type inspection robot based on human body radar |
WO2021259063A1 (en) * | 2020-06-23 | 2021-12-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system for automatically zooming one or more objects present in a camera preview frame |
CN114111704B (en) * | 2020-08-28 | 2023-07-18 | 华为技术有限公司 | Method and device for measuring distance, electronic equipment and readable storage medium |
CN114111704A (en) * | 2020-08-28 | 2022-03-01 | 华为技术有限公司 | Method and device for measuring distance, electronic equipment and readable storage medium |
CN112446925A (en) * | 2020-10-20 | 2021-03-05 | 广州视源电子科技股份有限公司 | Camera equipment parameter calibration method, equipment and system |
CN112446925B (en) * | 2020-10-20 | 2024-02-23 | 广州视源电子科技股份有限公司 | Parameter calibration method, device and system for image pickup device |
CN112511740A (en) * | 2020-11-23 | 2021-03-16 | 浙江大华技术股份有限公司 | Image pickup method, image pickup apparatus, electronic device, and storage medium |
CN112738393A (en) * | 2020-12-25 | 2021-04-30 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN112738393B (en) * | 2020-12-25 | 2022-08-09 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN114697538A (en) * | 2020-12-31 | 2022-07-01 | 武汉联影生命科学仪器有限公司 | Animal imaging equipment and focusing method and video monitoring method of monitoring camera of animal imaging equipment |
CN114697538B (en) * | 2020-12-31 | 2023-09-12 | 武汉联影生命科学仪器有限公司 | Animal imaging equipment, focusing method of monitoring camera of animal imaging equipment and video monitoring method of animal imaging equipment |
US11785335B2 (en) | 2021-03-04 | 2023-10-10 | Samsung Electronics Co., Ltd. | Automatic adjusting photographing method and apparatus |
CN113347363A (en) * | 2021-03-24 | 2021-09-03 | 三星电子(中国)研发中心 | Shooting method and device |
CN113422901B (en) * | 2021-05-29 | 2023-03-03 | 华为技术有限公司 | Camera focusing method and related equipment |
CN113422901A (en) * | 2021-05-29 | 2021-09-21 | 华为技术有限公司 | Camera focusing method and related equipment |
CN113542729A (en) * | 2021-06-28 | 2021-10-22 | 惠州Tcl云创科技有限公司 | Camera analysis force acquisition method and device, intelligent terminal and storage medium |
CN113542729B (en) * | 2021-06-28 | 2024-03-19 | 惠州Tcl云创科技有限公司 | Camera resolution obtaining method and device, intelligent terminal and storage medium |
CN114040115A (en) * | 2021-11-29 | 2022-02-11 | 海南哦课教育科技有限公司 | Method, device, medium and electronic equipment for capturing abnormal action of target object |
CN114596362A (en) * | 2022-03-15 | 2022-06-07 | 云粒智慧科技有限公司 | High-point camera coordinate calculation method and device, electronic equipment and medium |
CN115334243A (en) * | 2022-08-23 | 2022-11-11 | 维沃移动通信有限公司 | Shooting method and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107920211A (en) | A kind of photographic method, terminal and computer-readable recording medium | |
US10944901B2 (en) | Real time assessment of picture quality | |
WO2020038109A1 (en) | Photographing method and device, terminal, and computer-readable storage medium | |
CN108200335A (en) | Photographic method, terminal and computer readable storage medium based on dual camera | |
CN108495050B (en) | Photographing method, photographing device, terminal and computer-readable storage medium | |
CN108933899B (en) | Panorama shooting method, device, terminal and computer readable storage medium | |
CN105227857B (en) | A kind of method and apparatus of automatic exposure | |
CN105227838B (en) | A kind of image processing method and mobile terminal | |
JP7397983B2 (en) | Photography methods and electronic equipment | |
TW201007583A (en) | Shadow and reflection identification in image capturing devices | |
CN102883104A (en) | Automatic image capture | |
CN106464800B (en) | Method, system, machine readable media and the calculating equipment that automatic anti-dazzle for imaging device exposes | |
CN101183206A (en) | Method for calculating distance and actuate size of shot object | |
CN106464807A (en) | Reliability measurements for phase based autofocus | |
WO2018120662A1 (en) | Photographing method, photographing apparatus and terminal | |
CN108200351A (en) | Image pickup method, terminal and computer-readable medium | |
CN103188434A (en) | Method and device of image collection | |
CN105391940B (en) | A kind of image recommendation method and device | |
CN107787463A (en) | The capture of optimization focusing storehouse | |
CN109714539B (en) | Image acquisition method and device based on gesture recognition and electronic equipment | |
CN106791809B (en) | A kind of light measuring method and mobile terminal | |
CN106610270A (en) | Measurement method, measurement device and mobile terminal | |
CN107682691B (en) | A kind of method, terminal and the computer readable storage medium of camera focus calibration | |
CN107360361B (en) | Method and device for shooting people in backlight mode | |
CN110971814B (en) | Shooting adjustment method and device, electronic equipment and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180417 |
|
WD01 | Invention patent application deemed withdrawn after publication |