CN105763799A - Control method, control apparatus and electronic apparatus - Google Patents
- ️Wed Jul 13 2016
Detailed description of the invention
Being described below in detail embodiments of the present invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element from start to finish or has the element of same or like function.
The embodiment described below with reference to accompanying drawing is illustrative of, and is only used for explaining embodiments of the present invention, and it is not intended that restriction to embodiments of the present invention.
Refer to Fig. 1, the control method of embodiment of the present invention, it is used for controlling imaging device.Control method comprises the following steps:
S10: judge whether imaging device is in microshot pattern;
S20: when imaging device is in microshot pattern, controls imaging device and focuses to obtain focusing object distance;
S30: control imaging device to defocused repeatedly imaging measurement object distance when measuring each imaging under shutter trigger signal;And
S40: using described measurement object distance closest to the image of described focusing object distance as picture rich in detail.
Referring to Fig. 2, the control device 100 of embodiment of the present invention includes judge module 10, first and controls module the 20, second control module 30 and the first processing module 40.As an example, the control method of embodiment of the present invention can be realized by the control device 100 of embodiment of the present invention, and can be applicable to electronic installation 1000, and electronic installation 1000 can include controlling device 100 and imaging device 200.
Wherein, the step S10 of the control method of embodiment of the present invention can be realized by judge module 10, and step S20 can be controlled module 20 by first and realize, and step S30 can be controlled module 30 by second and realize, and step S40 can be realized by the first processing module 40.In other words, it is judged that module 10 is used for judging whether imaging device 200 is in microshot pattern.First controls module 20 for when imaging device 200 is in microshot pattern, controlling imaging device 200 and focus to obtain focusing object distance.Second controls module 30 for controlling imaging device 200 to defocused repeatedly imaging measurement object distance when measuring each imaging under shutter trigger signal.First processing module 40 is for measure object distance closest to the image of focusing object distance as picture rich in detail.
When using electronic installation 1000 to carry out shooting photo, running into the photographed scene in the less situation of object distance, that is to say microshot, microshot generally can shoot in closer distance and obtain the object image of bigger multiplying power.In such image, user is easier to observe the detail content of objects, for instance form and texture, increases the enjoyment of taking pictures of user.
Should be noted that, although be microshot, but the distance of imaging device 200 and object can not be excessively near, excessively near object distance will cause that imaging device 200 cannot be focused.
It is appreciated that; when user's hand-hold electronic device 1000 shoots; in choosing the process that object carrying out is focused; inevitably there is slight shake in hand, shooting distance farther out time, shake in flakes impact less; and the development along with the imaging device 200 being applied to electronic installation 1000; imaging device 200 would generally adopt certain stabilization measure, for instance optical anti-vibration or electronic flutter-proof so that imaging device 200 remains to shoot image clearly when shake.But under macro mode, shake is exaggerated too, therefore stabilization poor effect.
It is that imaging device 200 is focused after successfully owing to shake causes the unsharp main cause of imaging, rocking of object fore-and-aft direction, it is thus desirable to focusing motor is focused again, guarantee image is clear, and under macro mode, the less shake in front and back is accomplished by the adjustment that focusing motor is bigger, in this case, imaging device 200 is difficult to complete repeatedly to focus in once shooting.
The control method of embodiment of the present invention, when judging that imaging device 200 is in macro mode, controls imaging device 200 and focuses and obtain focusing object distance.Press shutter user and trigger repeatedly imaging after shutter signal, and measurement object distance when measuring each imaging respectively.Measurement object distance and imaging object distance are compared, and chooses and measure in object distance closest to the image of focusing object distance as the picture rich in detail under macro mode.
In sum, the control method of embodiment of the present invention, control device 100 and electronic installation 1000, when imaging device 200 is in microshot pattern, obtain multiple image when triggering shutter signal and carry out object distance and compare thus obtaining image clearly, being effectively improved the stabilization effect under microshot pattern.
In some embodiments, electronic installation 1000 can be the electric terminal that mobile phone or panel computer etc. have camera function.And imaging device 200 includes preposition and/or rearmounted camera.
It is appreciated that electronic installation 1000 includes but not limited to the example of present embodiment.
In some embodiments, focusing object distance is obtained by contrast focal modes, phase place focal modes and/or laser focal modes.
In some embodiments, imaging device 200 includes laser ranging system 210.
Measuring object distance to be obtained by laser ranging system 210, in other words, under triggering shutter signal during repeatedly imaging, each imaging all has laser ranging system 210 to obtain measurement object distance.
It should be noted that focus after successfully according to acquired focusing object distance, will no longer again promote focusing motor focus again, in other words, although owing to shake makes object distance change, but still adopting image distance when focusing successfully to carry out imaging, measure respectively when secondary measurement object distance when imaging.
Referring to Fig. 3, in some embodiments, imaging device 200 includes laser ranging system 210.
Control method includes step:
S00: control laser ranging system and launch laser to object;And
S01: process the laser of the return that laser ranging system receives to obtain the object distance of object.
Step S10 is by judging less than preset distance, whether object distance judges whether imaging device is in microshot pattern.
Refer to Fig. 4, in some embodiments, control device 100 and include the 3rd control module 50 and the second processing module 60.Step S00 can be controlled module 50 by the 3rd and realize, and step S01 can be realized by the second processing module 60.In other words, the 3rd controls module 50 and is used for controlling laser ranging system 210 and launches laser to object.And the second processing module 60 is used for the laser processing the return that laser ranging system 210 receives to obtain the object distance of object.Judge module 10 is for by judging less than preset distance, whether object distance judges whether imaging device 200 is in microshot pattern.
Such as the explanation of above-mentioned embodiment, the usual object distance of microshot pattern is less, for instance preset distance could be arranged to 30 centimetres, and in other words, when the object distance of object is less than 30 centimetres, imaging device 200 is in microshot pattern.
It is to be appreciated that the concrete numerical value of preset distance is only and schematically illustrates, the design parameter according to imaging device 200, for different imaging devices, the unlatching distance of its macro mode also differs.
Laser focal modes mainly utilizes the characteristic that infrared light centrality not easily spreads by force, emit from laser ranging system by recording infrared light, reflect through target surface, the time difference finally received, image-signal processor calculate the target distance to imaging device.This distance is the object distance in focus process, and the focometer further according to eyeglass module calculates the concrete numerical value of the required image distance adjusted and then adjusts focusing position, it is achieved focusing.Thus, laser focal modes can the object distance of quick obtaining object.
It is understandable that, explanation such as above-mentioned embodiment, focusing object distance can also pass through contrast focal modes except laser focal modes or phase place focal modes obtains, thus likely, it is judged that whether imaging device 200 is in microshot pattern can be undertaken by contrast focal modes or phase place focal modes.Comparatively speaking, laser focal modes obtains the process of focusing object distance the most directly, quickly and accurately by laser ranging system 210.
So, available laser ranging system 210 quick and precisely obtains the object distance of object, thus judging whether imaging device 200 is in microshot pattern, in order to the stabilization carrying out image under microshot pattern processes, and obtains the picture rich in detail under microshot pattern.
Referring to Fig. 5, in some embodiments, imaging device 200 still includes laser ranging system 210.
Part different from the embodiment described above is in that, control method includes step after step S00:
S02: recording laser range unit is by launching laser to receiving the time that laser returns.
Step S10 is by judging less than the scheduled time, whether the time judges whether imaging device is in microshot pattern.
Refer to Fig. 6, in some embodiments, control device 100 and include the 4th control module 70 and the 3rd processing module 80.Step S00 can be controlled module 70 by the 4th and realize, and step S02 can be realized by the 3rd processing module 80.In other words, the 4th controls module 70 and is used for controlling laser ranging system 210 and launches laser to object.And the 3rd processing module 80 is extremely received, by launching laser, the time that laser returns for recording laser range unit 210.Judge module 10 is for by judging less than the scheduled time, whether the time judges whether imaging device 200 is in microshot pattern.
Essentially identical with above-mentioned embodiment principle, it is different in that, present embodiment is by comparing the time but not object distance judges whether imaging device is in microshot pattern.
So, can be judged whether imaging device 200 is in microshot pattern according to laser ranging system 210 by the time launched to receiving range laser, in order to the stabilization carrying out image under microshot pattern processes, and obtains the picture rich in detail under microshot pattern.
In some embodiments, step S30 includes:
Step S31: compare measurement object distance and focusing object distance and to measure the image differing minimum in object distance with focusing object distance for described picture rich in detail.
In some embodiments, step S31 can be realized by processing module 30.
It is appreciated that, after focusing completes, such as complete defocused by laser focal modes, the focusing object distance U of object can be obtained, user presses shutter key, owing to hand is shaken, it is possible to the object distance that can cause multiple images obtained within the unit interval is different, recording measurement object distance respectively is U1, U2, U3 ... Un, wherein n is positive integer.Un can more than or less than focusing object distance.Un and U is compared, chooses | Un-U | minimum, namely measurement object distance immediate with focusing object distance U.And using image corresponding to this measurement object distance thus as the picture rich in detail under microshot pattern.
So, the focusing object distance when measurement object distance measured when triggering a shutter signal repeatedly imaging by comparing and focusing compares, and wherein differs the minimum image corresponding to measurement object distance with focusing object distance and is picture rich in detail.
It is appreciated that, focusing after successfully, imaging device is by according to object distance when focusing successfully, and controlling the image that imaging lens obtains in relevant position is image clearly, and owing to hand shake causes the actual object distance of image during imaging more than or less than focusing object distance, what therefore shoot is not fogging clear.And get over hour when the object distance of image differ with focusing object distance, image is also more clear, and thus, measurement object distance during by comparison each imaging and focusing object distance, namely the image wherein differing minimum is picture rich in detail.
Embodiment of the present invention control device 100 and not deployed other parts of electronic installation 1000, the corresponding part of the control method of embodiment of above can be joined, be no longer developed in details at this.
In the description of embodiments of the present invention, it will be appreciated that, term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", " outward ", " clockwise ", orientation or the position relationship of the instruction such as " counterclockwise " are based on orientation shown in the drawings or position relationship, it is for only for ease of description embodiments of the present invention and simplifies description, rather than the device of instruction or hint indication or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that restriction to embodiments of the present invention.
Additionally, term " first ", " second " are only for descriptive purposes, and it is not intended that indicate or imply relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or implicitly include one or more described features.In the description of embodiments of the present invention, " multiple " are meant that two or more, unless otherwise expressly limited specifically.
In the description of embodiments of the present invention, it is necessary to explanation, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, for instance, it is possible to it is fixing connection, can also be removably connect, or connect integratedly;Can be mechanically connected, it is also possible to be electrical connection or can communication mutually;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, it is possible to be connection or the interaction relationship of two elements of two element internals.For the ordinary skill in the art, it is possible to understand above-mentioned term concrete meaning in embodiments of the present invention as the case may be.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it " on " or D score can include the first and second features and directly contact, it is also possible to include the first and second features and be not directly contact but by the other characterisation contact between them.And, fisrt feature second feature " on ", " top " and " above " include fisrt feature directly over second feature and oblique upper, or be merely representative of fisrt feature level height higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " include fisrt feature directly over second feature and oblique upper, or be merely representative of fisrt feature level height less than second feature.
Above disclosure provides many different embodiments or example for realizing the different structure of embodiments of the present invention.In order to simplify disclosing of embodiments of the present invention, above parts and setting to specific examples are described.Certainly, they are only merely illustrative, and are not intended to the restriction present invention.Additionally, embodiments of the present invention can in different examples repeat reference numerals and/or reference letter, this repetition is for purposes of simplicity and clarity, the relation between itself not indicating discussed various embodiment and/or arranging.Additionally, the example of the various specific technique that provides of embodiments of the present invention and material, but those of ordinary skill in the art are it can be appreciated that the use of the application of other techniques and/or other materials.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " exemplary embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with described embodiment or example describe are contained at least one embodiment or the example of the present invention.In this manual, the schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.And, the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiments or example.
Describe in flow chart or in this any process described otherwise above or method and be construed as, represent and include the module of code of executable instruction of one or more step for realizing specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Represent in flow charts or in this logic described otherwise above and/or step, such as, it is considered the sequencing list of executable instruction for realizing logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (such as computer based system, including the system of processing module or other can from instruction execution system, device or equipment instruction fetch the system performing instruction), or use in conjunction with these instruction execution systems, device or equipment.For the purpose of this specification, " computer-readable medium " can be any can comprise, store, communicate, propagate or transmission procedure is for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium includes following: have the electrical connection section (electronic installation) of one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable edit read only memory (EPROM or flash memory), fiber device, and portable optic disk read only memory (CDROM).Additionally, computer-readable medium can even is that the paper that can print described program thereon or other suitable media, because can such as by paper or other media be carried out optical scanning, then carry out editing, interpreting or be processed to electronically obtain described program with other suitable methods if desired, be then stored in computer storage.
Should be appreciated that each several part of embodiments of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with the storage software or firmware in memory and by suitable instruction execution system execution.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic of logic gates for data signal realizes logic function, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries can be by the hardware that program carrys out instruction relevant and complete, described program can be stored in a kind of computer-readable recording medium, this program upon execution, including the step one or a combination set of of embodiment of the method.
Additionally, each functional unit in various embodiments of the present invention can be integrated in a processing module, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes.If described integrated module is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
Although above it has been shown and described that embodiments of the invention, it is understandable that, above-described embodiment is illustrative of, it is impossible to be interpreted as limitation of the present invention, and above-described embodiment can be changed, revises, replace and modification by those of ordinary skill in the art within the scope of the invention.