CN104618643A - Shooting method and device - Google Patents
Shooting method and device Download PDFInfo
- Publication number
- CN104618643A CN104618643A CN201510028852.6A CN201510028852A CN104618643A CN 104618643 A CN104618643 A CN 104618643A CN 201510028852 A CN201510028852 A CN 201510028852A CN 104618643 A CN104618643 A CN 104618643A
- Authority
- CN
- China
- Prior art keywords
- shooting
- shot object
- terminal
- distance
- attribute
- 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 34
- 238000005070 sampling Methods 0.000 claims description 49
- 238000001514 detection method Methods 0.000 claims description 4
- 238000012986 modification Methods 0.000 abstract 1
- 230000004048 modification Effects 0.000 abstract 1
- 230000003287 optical effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000012010 growth Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Embodiments of the invention disclose a shooting method and a device, wherein the method may comprise the following steps: detecting an object distance between a shot object and a terminal; if judged the object distance is greater than a first preset threshold and less than a second preset threshold, modifying shooting attributes of the shot object according to preset rules based on the object distance, wherein the preset rules are used for indicating modification manners which modify the shooting attributes of the shot object; and shooting the shot object with the modified shooting attributes. By using the shooting method and device, clear photographs can also be shot, in condition that the distance between the shot object and the shooting terminal is close.
Description
Technical field
The present invention relates to electronic device field, particularly relate to a kind of image pickup method and device.
Background technology
Camera has become a requisite functional module in electronic equipment, user can use camera application built-in or external in electronic equipment to carry out shooting static images or dynamic clip, during current use mobile phone shooting closer object, because the distance between object and camera is too near, camera is caused to be difficult to focus successfully, the photo taken is very fuzzy, is therefore closely descending mobile phone can not reach good shooting effect.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of image pickup method and device, achieves shot object and camera terminal in in-plant situation, also can take clear photograph.
First aspect, embodiments provides a kind of image pickup method, comprising:
Detect the object distance between shot object and terminal;
If judge, described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
The shot object that have modified described shooting attribute is taken.
In conjunction with first aspect, in the implementation that the first is possible, described shooting attribute comprises: zoom magnification and shooting sampling number, described according to described object distance, modifies be specially according to the shooting attribute of preset rules to described shot object:
According to described object distance, according to described preset rules revise zoom magnification corresponding to described shot object and described shot object corresponding shooting sampling number.
In conjunction with first aspect, in the implementation that the second is possible, after the object distance between described detection shot object and terminal, also comprise:
Judge whether described object distance is less than or equal to the first predetermined threshold value, if so, provide default information, described default information is for pointing out the distance increased between described shot object and described terminal.
In conjunction with first aspect, in the implementation that the third is possible, after the object distance between described detection shot object and terminal, before the shot object that have modified described shooting attribute is taken, also comprise:
Judging whether described object distance is greater than or equal to the second predetermined threshold value, is if so, shooting attribute default value by the shooting setup of attribute of described shot object.
In conjunction with first aspect, in the 4th kind of possible implementation, described shooting attribute comprises: zoom magnification and shooting sampling number, and described is that shooting attribute default value comprises by the shooting setup of attribute of described shot object:
Zoom magnification corresponding for described shot object is set to zoom magnification default value, and shooting corresponding for described shot object sampling number is set to shooting sampling number default value.
Second aspect, embodiments provides a kind of filming apparatus, comprising:
Detecting unit, for detecting the object distance between shot object and terminal;
Amendment unit, if for judging that described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
Shooting unit, for taking the shot object that have modified described shooting attribute.
In conjunction with second aspect, in the implementation that the first is possible, described shooting attribute comprises: zoom magnification and shooting sampling number, described amendment unit specifically for:
According to described object distance, according to described preset rules revise zoom magnification corresponding to described shot object and described shot object corresponding shooting sampling number.
In conjunction with second aspect, in the implementation that the second is possible, also comprise:
Providing unit, for detect the object distance between shot object and terminal at detecting unit after, judge whether described object distance is less than or equal to the first predetermined threshold value, if, there is provided default information, described default information is for pointing out the distance increased between described shot object and described terminal.
In conjunction with second aspect, in the implementation that the third is possible, also comprise:
Setting unit, for detect the object distance between shot object and terminal at detecting unit after, before shooting unit is taken the shot object that have modified described shooting attribute, judge whether described object distance is greater than or equal to the second predetermined threshold value, if so, be shooting attribute default value by the shooting setup of attribute of described shot object.
In conjunction with second aspect, in the 4th kind of possible implementation, described shooting attribute comprises: zoom magnification and shooting sampling number, shooting corresponding for described shot object sampling number specifically for zoom magnification corresponding for described shot object is set to zoom magnification default value, and is set to shooting sampling number default value by described setting unit.
By implementing the embodiment of the present invention, according to the distance between shot object and camera terminal, prompting user adjusts the distance between shot object and camera terminal, and adjustment shooting attribute automatically, thus the zoom magnification of amendment shot object and shooting sampling number, when distance between shot object and camera terminal reaches microspur scope, by increasing zoom magnification and shooting sampling number, make camera terminal also can take clear photograph under macro mode.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of the image pickup method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the second embodiment of the image pickup method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of the first embodiment of the filming apparatus that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the second embodiment of the filming apparatus that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Embodiments provide a kind of image pickup method and device, achieve shot object and camera terminal in in-plant situation, also can take clear photograph.The image pickup method provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 4 and device are specifically described.
See Fig. 1, be the schematic flow sheet of the first embodiment of image pickup method provided by the invention, the method comprises:
Step S101: detect the object distance between shot object and terminal;
Particularly, terminal can detect object distance (object distance is the distance between object to face mirror (or photocentre of lens)) between shot object and described terminal according to transducer, and wherein, transducer includes but not limited to: range sensor.Described terminal can comprise the internet devices such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment.Transducer can be embedded in terminal, namely transducer is built in terminal, transducer also can independent of terminal, namely transducer and terminal are separated from each other, transducer can detect the object distance between shot object and terminal always, periodically can detect the object distance between shot object and terminal, can just start to detect the object distance between shot object and terminal after the enabled instruction receiving terminal use, the embodiment of the present invention do concrete restriction yet yet.
Step S103: the object distance between shot object and terminal is greater than the first predetermined threshold value and is less than the second predetermined threshold value if judge, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
Particularly, according to transducer, terminal can detect that the object distance between shot object and described terminal judges whether described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, if described object distance is greater than the first predetermined threshold value and be less than the second predetermined threshold value, namely prove between shot object and terminal to be closely state, then terminal needs to adjust according to the shooting attribute that preset rules is current to shot object, to take clear photograph.Wherein, the distance threshold of the macro mode that the first predetermined threshold value can pre-set for terminal use, also can be the distance threshold of the macro mode of default setting in terminal camera application system program, such as limit according to the motor of terminal camera, general is the distance threshold that 7cm is set to macro mode by object distance, when object distance between shot object and terminal is less than or equal to the first predetermined threshold value, prove that described shot object is within the scope of microspur, within the scope of microspur, terminal is difficult to focus on shot object, therefore terminal notifying user is needed to increase object distance between shot object and terminal.Wherein take attribute can include but not limited to: zoom magnification and shooting sampling number, when object distance is in the extraneous short range of microspur, need to modify according to the shooting attribute of preset rules to shot object, namely need to increase zoom magnification and shooting sampling number, take clear photograph to make terminal.Wherein preset rules can be the shooting attribution rule that user oneself is arranged, and also can be the shooting attribution rule of the camera application system program default setting of terminal.When object distance has exceeded the second predetermined threshold value, prove that the distance between shot object and terminal has exited short range, namely terminal can normal photographing, then not needing increases zoom magnification and shooting sampling number.
Further, can see table 1, be the corresponding relation between the object distance in the embodiment of the present invention and preset rules, wherein the first predetermined threshold value is 7cm, and the second predetermined threshold value is 15cm.
Table 1
Object distance | Zoom magnification | Shooting sampling number |
7cm | 1 | 1 |
8cm | 2 | 2 |
9cm | 3 | 4 |
10cm | 4 | 6 |
11cm | 5 | 8 |
12cm | 4 | 6 |
13cm | 3 | 4 |
14cm | 2 | 2 |
15cm | 1 | 1 |
Can find from table 1, when object distance between shot object and terminal is less than or equal to the first predetermined threshold value 7cm, zoom magnification and shooting sampling number are regime values, when object distance between shot object and terminal is greater than the first predetermined threshold value 7cm and is less than the second predetermined threshold value 15cm, zoom magnification and shooting sampling number change according to preset rules, and variation tendency is: zoom magnification and shooting sampling number are all parabolically trend growths along with the increase of object distance, when object distance between shot object and terminal is greater than the second predetermined threshold value 15cm, zoom magnification and shooting sampling number revert to regime values again.For optical zoom, optical zoom multiple is larger, and the scenery that can take is far away.After optical zoom can support image subject imaging, resolution and image quality can not change, and picture is relatively clear; For Digital Zoom, Digital Zoom multiple is larger, and picture is larger, passes through Digital Zoom, the scenery of shooting is exaggerated, but its definition has decline to a certain degree, but details can't be made more clear, in a particular application, user can set preset rules, thus takes clear photograph.
Step S105: the shot object that have modified described shooting attribute is taken.
Particularly, when terminal is according to the object distance between shot object and described terminal, have modified the shooting attribute of described shot object according to preset rules after, start to take described shot object.
In the embodiment of the present invention, terminal, according to the object distance between the shot object detected and terminal, judges whether object distance is in short range, when being in short range between shot object and terminal, need the shooting attribute changing shot object, thus shoot clear photograph.
Further, see Fig. 2, be the schematic flow sheet of the second embodiment of image pickup method provided by the invention, the method comprises:
Step S201: detect the object distance between shot object and terminal;
Particularly, terminal can detect object distance (object distance is the distance between object to face mirror (or photocentre of lens)) between shot object and described terminal according to transducer, and wherein, transducer includes but not limited to: range sensor.Described terminal can comprise the internet devices such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment.Transducer can be embedded in terminal, namely transducer is built in terminal, transducer also can independent of terminal, namely transducer and terminal are separated from each other, transducer can detect the object distance between shot object and terminal always, periodically can detect the object distance between shot object and terminal, can just start to detect the object distance between shot object and terminal after the enabled instruction receiving terminal use, the embodiment of the present invention do concrete restriction yet yet.
Step S203: judge whether described object distance is less than or equal to the first predetermined threshold value;
Particularly, when terminal to detect the object distance between shot object and described terminal according to transducer, judge whether described object distance is less than or equal to the first predetermined threshold value, the distance threshold of the macro mode that the first predetermined threshold value can pre-set for terminal use, also can be the distance threshold of the macro mode of default setting in terminal camera application system program, such as limit according to the motor of terminal camera, general is the distance threshold that 7cm is set to macro mode by object distance, when judging that described object distance is less than or equal to the first predetermined threshold value, enter step S205, when judging that described object distance is greater than the first predetermined threshold value, enter step S207.
Step S205: default information is provided, described default information is for pointing out the distance increased between described shot object and described terminal;
Particularly, when judging that the object distance between shot object and terminal is less than or equal to the first predetermined threshold value, prove that described shot object is within the scope of microspur, within the scope of microspur, terminal is difficult to focus on shot object, therefore terminal notifying user is needed to increase object distance between shot object and terminal, terminal provides default information to user, to point out user to increase distance between described shot object and described terminal, avoid causing taking unclear phenomenon because the distance between shot object and terminal is too small and occur.Wherein prompting mode can include but not limited to: the mode ejecting prompting frame.
Step S207: judge whether described object distance is less than the second predetermined threshold value;
Particularly, when judging that the object distance between shot object and terminal is greater than the first predetermined threshold value, judge whether described object distance is less than the second predetermined threshold value, when described object distance is less than the second predetermined threshold value, prove to be short range between described shot object and terminal, then need to process the shooting attribute of shot object, to shoot clear photograph, when described object distance is greater than the second predetermined threshold value, prove not to be in short range between described shot object and terminal, then terminal can shot object described in normal photographing.When described object distance is less than the second predetermined threshold value, enter step S209, when described object distance is greater than the second predetermined threshold value, enter step S211.
Step S209: according to described object distance, the shooting attribute of described shot object is revised according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object, and described shooting attribute comprises: zoom magnification and shooting sampling number;
Particularly, when object distance between described shot object and terminal is greater than the first predetermined threshold value and is less than the second predetermined threshold value, need to modify according to the shooting attribute of preset rules to shot object, wherein take attribute can include but not limited to: zoom magnification and shooting sampling number, namely need to increase zoom magnification and shooting sampling number, take clear photograph to make terminal.Wherein preset rules can be the shooting attribution rule that user oneself is arranged, and also can be the shooting attribution rule of the camera application system program default setting of terminal.Step S213 is entered after executing this step.
Further, when object distance between described shot object and terminal is greater than the first predetermined threshold value and is less than the second predetermined threshold value, terminal according to described object distance, according to preset rules revise zoom magnification corresponding to described shot object and described shot object corresponding shooting sampling number.
Step S211: by the shooting setup of attribute of described shot object for taking attribute default value;
Particularly, when object distance between described shot object and terminal is greater than or equal to the second predetermined threshold value, show that shot object has exited closely state, the shooting attribute of shot object can recover to be set to regime values by terminal, revert to regime values by the zoom magnification of described shot object and shooting sampling number, thus carry out normal photographing.
Further, when object distance between described shot object and terminal is greater than or equal to the second predetermined threshold value, show that shot object has exited closely state, zoom magnification corresponding for described shot object is set to zoom magnification default value by terminal, and shooting corresponding for described shot object sampling number is set to shooting sampling number default value.
Step S213: the shot object that have modified described shooting attribute is taken.
Particularly, when terminal is according to the object distance between shot object and described terminal, have modified the shooting attribute of described shot object according to preset rules after, start to take described shot object.
In the embodiment of the present invention, terminal is according to the object distance between the shot object detected and terminal, judge whether object distance is in short range, when being in microspur scope between shot object and terminal, terminal notifying user increases the object distance between shot object and described terminal, when being in short range between shot object and terminal, terminal revises zoom magnification and the shooting sampling number of described shot object according to preset rules, thus shoot clear photograph, when exiting short range between shot object and terminal, the shooting attribute of shot object is reverted to normal status value by terminal, thus complete normal shooting.
The above-mentioned method illustrating the embodiment of the present invention, below for the ease of implementing the such scheme of the embodiment of the present invention better, correspondingly, is also provided for coordinating the relevant apparatus implementing such scheme below.
See Fig. 3, be the structural representation of the first embodiment of filming apparatus provided by the invention, filming apparatus 30 comprises: detecting unit 301, amendment unit 303 and shooting unit 305, wherein:
Detecting unit 301, for detecting the object distance between shot object and terminal;
Particularly, detecting unit 301 can detect object distance (object distance is the distance between object to face mirror (or photocentre of lens)) between shot object and described terminal according to transducer, wherein, transducer includes but not limited to: range sensor.Described terminal can comprise the internet devices such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment.Transducer can be embedded in terminal, namely transducer is built in terminal, transducer also can independent of terminal, namely transducer and terminal are separated from each other, transducer can detect the object distance between shot object and terminal always, periodically can detect the object distance between shot object and terminal, can just start to detect the object distance between shot object and terminal after the enabled instruction receiving terminal use, the embodiment of the present invention do concrete restriction yet yet.In specific implementation, the step S101 in the first embodiment of the image pickup method that the specific implementation of above-mentioned detecting unit 301 can provide see the embodiment of the present invention, does not repeat them here.
Amendment unit 303, if for judging that described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
Particularly, according to transducer, terminal can detect that the object distance between shot object and described terminal judges whether described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, if described object distance is greater than the first predetermined threshold value and be less than the second predetermined threshold value, namely prove between shot object and terminal to be closely state, then revising unit 303 needs the shooting attribute according to preset rules is current to shot object to adjust, to take clear photograph.Wherein, the distance threshold of the macro mode that the first predetermined threshold value can pre-set for terminal use, also can be the distance threshold of the macro mode of default setting in terminal camera application system program, such as limit according to the motor of terminal camera, general is the distance threshold that 7cm is set to macro mode by object distance, when object distance between shot object and terminal is less than or equal to the first predetermined threshold value, prove that described shot object is within the scope of microspur, within the scope of microspur, terminal is difficult to focus on shot object, therefore terminal notifying user is needed to increase object distance between shot object and terminal.Wherein take attribute can include but not limited to: zoom magnification and shooting sampling number, when object distance is in the extraneous short range of microspur, need to modify according to the shooting attribute of preset rules to shot object, namely need to increase zoom magnification and shooting sampling number, take clear photograph to make terminal.Wherein preset rules can be the shooting attribution rule that user oneself is arranged, and also can be the shooting attribution rule of the camera application system program default setting of terminal.When object distance has exceeded the second predetermined threshold value, prove that the distance between shot object and terminal has exited short range, namely terminal can normal photographing, then not needing increases zoom magnification and shooting sampling number.In specific implementation, the step S103 in the first embodiment of the image pickup method that the specific implementation of above-mentioned amendment unit 303 can provide see the embodiment of the present invention, does not repeat them here.
Shooting unit 305, for taking the shot object that have modified described shooting attribute.
Particularly, when terminal is according to the object distance between shot object and described terminal, have modified the shooting attribute of described shot object according to preset rules after, start to take described shot object.
In the embodiment of the present invention, object distance between the shot object that terminal detects according to detecting unit 301 and terminal, judge whether object distance is in short range, when being in short range between shot object and terminal, amendment unit 303 needs the shooting attribute changing shot object, thus shooting unit 305 shoots clear photograph.In specific implementation, the step S105 in the first embodiment of the image pickup method that the specific implementation of above-mentioned shooting unit 305 can provide see the embodiment of the present invention, does not repeat them here.
See Fig. 4, it is the structural representation of the second embodiment of filming apparatus provided by the invention, further illustrate details for the structure of filming apparatus 30, filming apparatus 30 as shown in Figure 4 comprises: outside detecting unit 301, amendment unit 303 and shooting unit 305, also can comprise: providing unit 307 and setting unit 309.Wherein:
Described amendment unit 303, specifically for according to described object distance, revises zoom magnification corresponding to described shot object and shooting sampling number corresponding to described shot object according to described preset rules;
Particularly, when object distance between described shot object and terminal is greater than the first predetermined threshold value and is less than the second predetermined threshold value, amendment unit 303 needs to modify according to the shooting attribute of preset rules to shot object, wherein take attribute can include but not limited to: zoom magnification and shooting sampling number, namely need to increase zoom magnification and shooting sampling number, take clear photograph to make terminal.Wherein preset rules can be the shooting attribution rule that user oneself is arranged, and also can be the shooting attribution rule of the camera application system program default setting of terminal.In specific implementation, the step S209 in the second embodiment of the image pickup method that the specific implementation of above-mentioned amendment unit 303 can provide see the embodiment of the present invention, does not repeat them here.
Providing unit 307, for detect the object distance between shot object and terminal at detecting unit after, judge whether described object distance is less than or equal to the first predetermined threshold value, if, there is provided default information, described default information is for pointing out the distance increased between described shot object and described terminal;
Particularly, when judging that the object distance between shot object and terminal is less than or equal to the first predetermined threshold value, prove that described shot object is within the scope of microspur, within the scope of microspur, terminal is difficult to focus on shot object, therefore providing unit 307 is needed to point out user to increase object distance between shot object and terminal, terminal provides default information to user, to point out user to increase distance between described shot object and described terminal, avoid causing taking unclear phenomenon because the distance between shot object and terminal is too small and occur.Wherein prompting mode can include but not limited to: the mode ejecting prompting frame.In specific implementation, the step S205 in the second embodiment of the image pickup method that the specific implementation of above-mentioned providing unit 307 can provide see the embodiment of the present invention, does not repeat them here.
Setting unit 309, for detect the object distance between shot object and terminal at detecting unit after, before shooting unit is taken the shot object that have modified described shooting attribute, judge whether described object distance is greater than or equal to the second predetermined threshold value, if so, be shooting attribute default value by the shooting setup of attribute of described shot object.
Particularly, when object distance between described shot object and terminal is greater than or equal to the second predetermined threshold value, show that shot object has exited closely state, the shooting attribute of shot object can recover to be set to regime values by terminal, revert to regime values by the zoom magnification of described shot object and shooting sampling number, thus carry out normal photographing.
Further, when object distance between described shot object and terminal is greater than or equal to the second predetermined threshold value, show that shot object has exited closely state, zoom magnification corresponding for described shot object is set to zoom magnification default value by setting unit 309, and shooting corresponding for described shot object sampling number is set to shooting sampling number default value.In specific implementation, the step S211 in the second embodiment of the image pickup method that the specific implementation of above-mentioned setting unit 309 can provide see the embodiment of the present invention, does not repeat them here.
In sum, by implementing the embodiment of the present invention, terminal is according to the distance between shot object and camera terminal, the shooting attribute of automatic adjustment shot object, thus the zoom magnification of amendment shot object and shooting sampling number, when distance between shot object and camera terminal reaches short range, by increasing zoom magnification and shooting sampling number, make camera terminal also can take clear photograph under closely pattern.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit (ASIC)).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.
Claims (10)
1. an image pickup method, is characterized in that, comprising:
Detect the object distance between shot object and terminal;
If judge, described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
The shot object that have modified described shooting attribute is taken.
2. the method for claim 1, is characterized in that, described shooting attribute comprises: zoom magnification and shooting sampling number, described according to described object distance, modifies be specially according to the shooting attribute of preset rules to described shot object:
According to described object distance, according to described preset rules revise zoom magnification corresponding to described shot object and described shot object corresponding shooting sampling number.
3. the method for claim 1, is characterized in that, after the object distance between described detection shot object and terminal, also comprises:
Judge whether described object distance is less than or equal to the first predetermined threshold value, if so, provide default information, described default information is for pointing out the distance increased between described shot object and described terminal.
4. the method for claim 1, is characterized in that, after the object distance between described detection shot object and terminal, before taking, also comprises the shot object that have modified described shooting attribute:
Judging whether described object distance is greater than or equal to the second predetermined threshold value, is if so, shooting attribute default value by the shooting setup of attribute of described shot object.
5. method as claimed in claim 4, it is characterized in that, described shooting attribute comprises: zoom magnification and shooting sampling number, and described is that shooting attribute default value comprises by the shooting setup of attribute of described shot object:
Zoom magnification corresponding for described shot object is set to zoom magnification default value, and shooting corresponding for described shot object sampling number is set to shooting sampling number default value.
6. a filming apparatus, is characterized in that, comprising:
Detecting unit, for detecting the object distance between shot object and terminal;
Amendment unit, if for judging that described object distance is greater than the first predetermined threshold value and is less than the second predetermined threshold value, according to described object distance, revise the shooting attribute of described shot object according to preset rules, described preset rules is used to indicate the alter mode of modifying to the shooting attribute of described shot object;
Shooting unit, for taking the shot object that have modified described shooting attribute.
7. device as claimed in claim 6, it is characterized in that, described shooting attribute comprises: zoom magnification and shooting sampling number, described amendment unit specifically for:
According to described object distance, according to described preset rules revise zoom magnification corresponding to described shot object and described shot object corresponding shooting sampling number.
8. device as claimed in claim 6, is characterized in that, also comprise:
Providing unit, for detect the object distance between shot object and terminal at detecting unit after, judge whether described object distance is less than or equal to the first predetermined threshold value, if, there is provided default information, described default information is for pointing out the distance increased between described shot object and described terminal.
9. device as claimed in claim 6, is characterized in that, also comprise:
Setting unit, for detect the object distance between shot object and terminal at detecting unit after, before shooting unit is taken the shot object that have modified described shooting attribute, judge whether described object distance is greater than or equal to the second predetermined threshold value, if so, be shooting attribute default value by the shooting setup of attribute of described shot object.
10. device as claimed in claim 9, it is characterized in that, described shooting attribute comprises: zoom magnification and shooting sampling number, shooting corresponding for described shot object sampling number specifically for zoom magnification corresponding for described shot object is set to zoom magnification default value, and is set to shooting sampling number default value by described setting unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710856650.XA CN107493436B (en) | 2015-01-20 | 2015-01-20 | Shooting method and device |
CN201510028852.6A CN104618643B (en) | 2015-01-20 | 2015-01-20 | A kind of image pickup method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510028852.6A CN104618643B (en) | 2015-01-20 | 2015-01-20 | A kind of image pickup method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710856650.XA Division CN107493436B (en) | 2015-01-20 | 2015-01-20 | Shooting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104618643A true CN104618643A (en) | 2015-05-13 |
CN104618643B CN104618643B (en) | 2017-10-17 |
Family
ID=53152907
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710856650.XA Expired - Fee Related CN107493436B (en) | 2015-01-20 | 2015-01-20 | Shooting method and device |
CN201510028852.6A Expired - Fee Related CN104618643B (en) | 2015-01-20 | 2015-01-20 | A kind of image pickup method and device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710856650.XA Expired - Fee Related CN107493436B (en) | 2015-01-20 | 2015-01-20 | Shooting method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107493436B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208289A (en) * | 2015-10-27 | 2015-12-30 | 广东欧珀移动通信有限公司 | Shooting control method and device for mobile terminal and mobile terminal |
CN105554385A (en) * | 2015-12-18 | 2016-05-04 | 天津中科智能识别产业技术研究院有限公司 | Remote multimode biometric recognition method and system thereof |
CN105611151A (en) * | 2015-12-17 | 2016-05-25 | 深圳市金立通信设备有限公司 | Terminal control method and terminal |
CN105959555A (en) * | 2016-06-02 | 2016-09-21 | 广东欧珀移动通信有限公司 | Shooting mode automatic adjustment method and device and mobile terminal |
CN106131428A (en) * | 2016-07-29 | 2016-11-16 | 维沃移动通信有限公司 | The control method of a kind of flash lamp and mobile terminal |
CN106249876A (en) * | 2016-07-15 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of it is automatically adjusted the method and system that image shows |
CN106303256A (en) * | 2016-08-31 | 2017-01-04 | 广东小天才科技有限公司 | A kind of determination method and device of acquisition parameters |
CN106851116A (en) * | 2017-03-31 | 2017-06-13 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
CN107872622A (en) * | 2017-11-24 | 2018-04-03 | 广东小天才科技有限公司 | A kind of method being closely imaged and mobile terminal |
CN108206912A (en) * | 2016-12-20 | 2018-06-26 | 北京小米移动软件有限公司 | The method and device of abnormal prompt |
CN110913126A (en) * | 2019-10-31 | 2020-03-24 | 华为终端有限公司 | Shooting range calculation method and device and related equipment |
CN111586284A (en) * | 2019-02-19 | 2020-08-25 | 北京小米移动软件有限公司 | Scene recognition prompting method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174108A (en) * | 2018-03-08 | 2018-06-15 | 广州三星通信技术研究有限公司 | The method and apparatus and mobile terminal for effect of taking pictures are adjusted in the terminal |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050104980A1 (en) * | 2003-11-18 | 2005-05-19 | Kim Hak-Je | Photographing system for controlling a photographing device according to a control command made by combining plural remote control signals and control method thereof |
CN101126638A (en) * | 2007-09-29 | 2008-02-20 | 张小虎 | Pick-up measuring method for checking road surface planeness |
CN101639610A (en) * | 2008-08-01 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Digital photographic device and self-shoot guidance method |
CN101726966A (en) * | 2008-10-10 | 2010-06-09 | 深圳富泰宏精密工业有限公司 | Self photographing system and method |
CN102420940A (en) * | 2011-11-16 | 2012-04-18 | 中兴通讯股份有限公司 | Terminal with camera shooting function and camera zooming method thereof |
CN102801857A (en) * | 2012-07-30 | 2012-11-28 | 无锡智感星际科技有限公司 | Smart phone photographing guiding method based on image matching |
US20130004151A1 (en) * | 2011-07-01 | 2013-01-03 | Canon Kabushiki Kaisha | Shake compensation control apparatus, optical device, image capturing apparatus, and control method of shake compensation |
CN202818503U (en) * | 2012-09-24 | 2013-03-20 | 天津市亚安科技股份有限公司 | Multidirectional monitoring area early warning positioning automatic tracking and monitoring device |
CN103048765A (en) * | 2012-12-18 | 2013-04-17 | 天津三星光电子有限公司 | Camera focusing device and method |
CN103139480A (en) * | 2013-02-28 | 2013-06-05 | 华为终端有限公司 | Image acquisition method and image acquisition device |
CN103516972A (en) * | 2012-06-19 | 2014-01-15 | 联想(北京)有限公司 | Camera control method and electronic equipment |
CN103685962A (en) * | 2013-12-27 | 2014-03-26 | 广东欧珀移动通信有限公司 | Mobile terminal picture shooting method and system |
CN103702029A (en) * | 2013-12-20 | 2014-04-02 | 百度在线网络技术(北京)有限公司 | Method and device for prompting focusing during shooting |
CN104102068A (en) * | 2013-04-11 | 2014-10-15 | 聚晶半导体股份有限公司 | Automatic focusing method and automatic focusing device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179348A (en) * | 2013-03-25 | 2013-06-26 | 东莞宇龙通信科技有限公司 | Shooting method and system for mobile terminals and mobile terminal |
-
2015
- 2015-01-20 CN CN201710856650.XA patent/CN107493436B/en not_active Expired - Fee Related
- 2015-01-20 CN CN201510028852.6A patent/CN104618643B/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050104980A1 (en) * | 2003-11-18 | 2005-05-19 | Kim Hak-Je | Photographing system for controlling a photographing device according to a control command made by combining plural remote control signals and control method thereof |
CN101126638A (en) * | 2007-09-29 | 2008-02-20 | 张小虎 | Pick-up measuring method for checking road surface planeness |
CN101639610A (en) * | 2008-08-01 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Digital photographic device and self-shoot guidance method |
CN101726966A (en) * | 2008-10-10 | 2010-06-09 | 深圳富泰宏精密工业有限公司 | Self photographing system and method |
US20130004151A1 (en) * | 2011-07-01 | 2013-01-03 | Canon Kabushiki Kaisha | Shake compensation control apparatus, optical device, image capturing apparatus, and control method of shake compensation |
CN102420940A (en) * | 2011-11-16 | 2012-04-18 | 中兴通讯股份有限公司 | Terminal with camera shooting function and camera zooming method thereof |
CN103516972A (en) * | 2012-06-19 | 2014-01-15 | 联想(北京)有限公司 | Camera control method and electronic equipment |
CN102801857A (en) * | 2012-07-30 | 2012-11-28 | 无锡智感星际科技有限公司 | Smart phone photographing guiding method based on image matching |
CN202818503U (en) * | 2012-09-24 | 2013-03-20 | 天津市亚安科技股份有限公司 | Multidirectional monitoring area early warning positioning automatic tracking and monitoring device |
CN103048765A (en) * | 2012-12-18 | 2013-04-17 | 天津三星光电子有限公司 | Camera focusing device and method |
CN103139480A (en) * | 2013-02-28 | 2013-06-05 | 华为终端有限公司 | Image acquisition method and image acquisition device |
CN104102068A (en) * | 2013-04-11 | 2014-10-15 | 聚晶半导体股份有限公司 | Automatic focusing method and automatic focusing device |
CN103702029A (en) * | 2013-12-20 | 2014-04-02 | 百度在线网络技术(北京)有限公司 | Method and device for prompting focusing during shooting |
CN103685962A (en) * | 2013-12-27 | 2014-03-26 | 广东欧珀移动通信有限公司 | Mobile terminal picture shooting method and system |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208289A (en) * | 2015-10-27 | 2015-12-30 | 广东欧珀移动通信有限公司 | Shooting control method and device for mobile terminal and mobile terminal |
CN105611151A (en) * | 2015-12-17 | 2016-05-25 | 深圳市金立通信设备有限公司 | Terminal control method and terminal |
CN105554385A (en) * | 2015-12-18 | 2016-05-04 | 天津中科智能识别产业技术研究院有限公司 | Remote multimode biometric recognition method and system thereof |
CN105554385B (en) * | 2015-12-18 | 2018-07-10 | 天津中科智能识别产业技术研究院有限公司 | A kind of remote multi-modal biological characteristic recognition methods and its system |
CN105959555A (en) * | 2016-06-02 | 2016-09-21 | 广东欧珀移动通信有限公司 | Shooting mode automatic adjustment method and device and mobile terminal |
CN105959555B (en) * | 2016-06-02 | 2019-07-19 | Oppo广东移动通信有限公司 | Screening-mode automatic adjusting method, device and mobile terminal |
CN106249876A (en) * | 2016-07-15 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of it is automatically adjusted the method and system that image shows |
CN106131428A (en) * | 2016-07-29 | 2016-11-16 | 维沃移动通信有限公司 | The control method of a kind of flash lamp and mobile terminal |
CN106303256A (en) * | 2016-08-31 | 2017-01-04 | 广东小天才科技有限公司 | A kind of determination method and device of acquisition parameters |
CN108206912B (en) * | 2016-12-20 | 2020-12-04 | 北京小米移动软件有限公司 | Method and device for exception prompt and readable storage medium |
CN108206912A (en) * | 2016-12-20 | 2018-06-26 | 北京小米移动软件有限公司 | The method and device of abnormal prompt |
CN106851116A (en) * | 2017-03-31 | 2017-06-13 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
CN107872622A (en) * | 2017-11-24 | 2018-04-03 | 广东小天才科技有限公司 | A kind of method being closely imaged and mobile terminal |
CN107872622B (en) * | 2017-11-24 | 2020-12-25 | 广东小天才科技有限公司 | Close-range imaging method and mobile terminal |
CN111586284A (en) * | 2019-02-19 | 2020-08-25 | 北京小米移动软件有限公司 | Scene recognition prompting method and device |
CN111586284B (en) * | 2019-02-19 | 2021-11-30 | 北京小米移动软件有限公司 | Scene recognition prompting method and device |
CN110913126A (en) * | 2019-10-31 | 2020-03-24 | 华为终端有限公司 | Shooting range calculation method and device and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107493436B (en) | 2020-04-21 |
CN107493436A (en) | 2017-12-19 |
CN104618643B (en) | 2017-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618643A (en) | Shooting method and device | |
US9998650B2 (en) | Image processing apparatus and image pickup apparatus for adding blur in an image according to depth map | |
JP5967432B2 (en) | Processing apparatus, processing method, and program | |
US9071754B2 (en) | Image capturing apparatus, image processing apparatus, image processing method, and image processing program | |
CN107950018B (en) | Image generation method and system, and computer readable medium | |
US20170366804A1 (en) | Light field collection control methods and apparatuses, light field collection devices | |
CN108632596B (en) | Photographing apparatus and method of operating the same | |
CN107483825B (en) | Method and device for automatically adjusting focal length | |
CN106161910B (en) | Imaging control method and device and imaging equipment | |
CN103837129A (en) | Distance measuring method and device in terminals and terminal | |
US9451149B2 (en) | Processing apparatus, processing method, and program | |
CN104853094A (en) | Photographing method and device | |
KR20140145401A (en) | Method and apparatus for cancelling noise in an electronic device | |
CN104811607A (en) | Image capture apparatus and image capture method | |
CN104601883B (en) | A kind of method and device of image taking | |
KR20130081069A (en) | Digital photographing apparatus and method of controlling the same | |
US10629138B2 (en) | Mobile terminal and adjusting method thereof, and computer readable storage medium | |
EP3971642A1 (en) | Intermediate accessory apparatus, image pickup apparatus, image pickup system, processing method, and program | |
CN106878616A (en) | A kind of method and system that an action shot focus is automatically determined based on mobile terminal | |
JP2010026008A (en) | Focus adjustment device and method | |
JP2015215372A (en) | Focus adjustment unit, control method therefor, control program therefor, and storage medium | |
US11039060B2 (en) | Image capturing apparatus and focus control method | |
US11368622B2 (en) | Photographing method, photographing device and mobile terminal for shifting a lens | |
WO2023279275A1 (en) | Local motion detection for improving image capture and/or processing operations | |
CN116456189A (en) | Shooting method, mobile terminal and storage medium |
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 | ||
CP01 | Change in the name or title of a patent holder |
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 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171017 |
|
CF01 | Termination of patent right due to non-payment of annual fee |