CN107018327B - A kind of image capturing method and mobile terminal - Google Patents

A kind of image capturing method and mobile terminal Download PDF

Info

Publication number
CN107018327B
CN107018327B CN201710210052.5A CN201710210052A CN107018327B CN 107018327 B CN107018327 B CN 107018327B CN 201710210052 A CN201710210052 A CN 201710210052A CN 107018327 B CN107018327 B CN 107018327B
Authority
CN
China
Prior art keywords
image
shooting
finger
shooting button
mobile terminal
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.)
Active
Application number
CN201710210052.5A
Other languages
Chinese (zh)
Other versions
CN107018327A (en
Inventor
王江华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710210052.5A priority Critical patent/CN107018327B/en
Publication of CN107018327A publication Critical patent/CN107018327A/en
Application granted granted Critical
Publication of CN107018327B publication Critical patent/CN107018327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations

Abstract

The present invention provides a kind of image capturing method and mobile terminals, the method comprise the steps that detecting to shooting button detection zone;When detecting that finger is located in the shooting button detection zone and is greater than or equal to preset value with the distance between the shooting button, at least first image is shot;When detecting the operation of shooting button described in finger touch, the second image is shot;Whether the mobile terminal is shaken when judging to shoot second image;If being shaken, using the highest image of clarity in the first image of shooting as target image.The image capturing method provided through the invention, caused by capable of effectively avoiding due to mobile terminal shakes captured by the low problem of image definition, to promote the usage experience of user.

Description

A kind of image capturing method and mobile terminal
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of image capturing method and mobile terminal.
Background technique
With the continuous promotion of mobile terminal camera pixel, under many scenes, mobile terminal carries out the shooting of image Substantially instead of professional camera.
When carrying out image taking using mobile terminal, the shooting button that user needs to click on mobile terminal is clapped According to.When mobile terminal receives touch command of the user to shooting button, image taking is carried out.And in actual use process In, even if mobile terminal is held very steady when user takes pictures, when finger touches screen, mobile terminal can also occur centainly The shake of angle, and this shake must will affect the clarity of captured photo.
As it can be seen that existing image taking scheme can not be avoided effectively, because mobile terminal is shaken when image taking, and caused by The problem of captured image definition reduces.
Summary of the invention
The present invention provides a kind of image capturing method and mobile terminal, with solve present in conventional images photographic schemes because Mobile terminal shake and caused by the low problem of captured image definition.
According to one aspect of the present invention, a kind of image capturing method is provided, is applied to mobile terminal, wherein described Method includes: to detect to shooting button detection zone;When detect finger be located in the shooting button detection zone and When the distance between described shooting button is greater than or equal to preset value, at least first image is shot;When detecting finger When the operation of shooting button described in touch-control, the second image is shot;Whether the mobile terminal when judging to shoot second image It is shaken;If being shaken, using the highest image of clarity in the first image of shooting as target image.
According to another aspect of the present invention, a kind of mobile terminal is provided, wherein the mobile terminal includes: detection mould Block, for being detected to shooting button detection zone;First shooting module, for when detect finger be located at it is described shooting by In button detection zone and when being greater than or equal to preset value with the distance between the shooting button, at least first figure is shot Picture;Second shooting module, for shooting the second image when detecting the operation of shooting button described in finger touch;Judge mould Block, whether the mobile terminal is shaken when for judging to shoot second image;Image determining module, if being used for institute The judging result for stating judgment module is when shake has occurred, using the highest image of clarity in the first image of shooting as Target image.
Compared with prior art, the invention has the following advantages that
Image capturing method and mobile terminal provided in an embodiment of the present invention, in finger after judging user's image to be shot Just image taking is carried out when non-touch-control shooting button, is trembled because therefore the non-touch-control shooting button of finger not will cause mobile terminal It is dynamic, therefore the high image of clarity can be taken.When detecting the operation of finger touch shooting button, the second image of shooting is simultaneously Judge whether mobile terminal is shaken when shooting the second image, is selected if being shaken clear in captured first image The clear highest image of degree is as target image.In this way, effect of jitter has occurred in mobile terminal when even the second image taking The clarity of second image can also select clearest image as target image from the first captured image, therefore energy The low problem of image definition captured by reaching caused by effectively avoiding due to mobile terminal shakes, to promote the use body of user It tests.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various advantage and benefit are for ordinary skill people Member will become clear.Attached drawing is only used for showing preferred embodiment, and is not to be construed as limiting the invention.And In entire attached drawing, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one image capturing method;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two image capturing method;
Fig. 3 is the structural schematic diagram of the shooting button and finger position relationship in embodiment two;
Fig. 4 is a kind of step flow chart of according to embodiments of the present invention three image capturing method;
Fig. 5 is the structural schematic diagram of the shooting button and finger position relationship in embodiment three;
Fig. 6 is a kind of structural block diagram of according to embodiments of the present invention four mobile terminal;
Fig. 7 is a kind of structural block diagram of according to embodiments of the present invention five mobile terminal;
Fig. 8 is a kind of structural block diagram of according to embodiments of the present invention six mobile terminal;
Fig. 9 is a kind of structural block diagram of according to embodiments of the present invention seven mobile terminal.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Referring to Fig.1, a kind of step flow chart of image capturing method of the embodiment of the present invention one is shown.
The image capturing method of the embodiment of the present invention the following steps are included:
Step 101: shooting button detection zone is detected.
Image capturing method in the embodiment of the present invention is applied to mobile terminal, and the screen of mobile terminal is touch screen, when When opening image taking interface, image taking shows shooting button in interface.
Shooting button detection zone is then the region of shooting button face, which can be the cylinder of shooting button face The section in shape region, the cylindrical region is identical as shooting button cross sectional shape and size.Certainly, which also may include The cylindrical region and volume are greater than the cylindrical region;The region is further included in the cylindrical region.
Whether mobile terminal in real time detects shooting button region, it is therefore an objective to detect in shooting button detection zone to go out Existing finger can also moreover detect between finger and shooting button after finger appears in shooting button detection zone Distance.
Step 102: when detecting that finger is located in shooting button detection zone and is greater than with the distance between shooting button Or when being equal to preset value, at least first image is shot.
It, can be by mobile terminal screen or mobile terminal when at a distance from detection finger is between shooting button In Home key integrate ultrasonic wave, come identify finger at a distance from screen, the distance then between finger and shooting button away from From.
It should be noted that preset value can be by those skilled in the art according to actual needs during specific implementation It is configured, this is not specifically limited in the embodiment of the present invention.Finger is shot from apart from shooting button preset value to click Under the time interval of button, object to be captured blur-free imaging just in shooting image.The imaging speed of preset value and mobile terminal Degree is inversely proportional, and the more fast then preset value of image taking speed is smaller.
Step 103: when detecting the operation of finger touch shooting button, shooting the second image.
The operation of finger touch shooting button can be detected by the pressure sensor being arranged below shooting button, be had Body, pressure sensor detects pressure value suffered by shooting button, and central processing unit obtains pressure detected by pressure sensor Force value judges whether shooting button receives finger touch according to pressure value.It is of course also possible to which obstructed over-voltage force snesor is pressed Force value detection, and directly by the operation of the touching detection finger touch shooting button of mobile terminal.
Step 104: judging whether mobile terminal is shaken when shooting the second image;If so, 105 are thened follow the steps, If it is not, then executing setting operation.
When judging whether mobile terminal is shaken when shooting the second image, it can be determined that whether the clarity of the second image Greater than preset value, if so, determining that mobile terminal is shaken when shooting the second image, on the contrary then determining mobile terminal exists It is not shaken when shooting the second image.
Wherein, setting operation can be set to using the second image as target image;It may be set to be prompt user's weight It is new to carry out image taking.
If mobile terminal is shaken when shooting the second image, the clarity of the second captured image will affect, Therefore the second image shot under mobile terminal jitter conditions can not be used as target image therefore need to be from first shot in advance Select the highest image of clarity as target image in image.
Step 105: if being shaken, using the highest image of clarity in the first image of shooting as target image.
At least first image has been shot by step 102 to step 103, will shoot effect in the embodiment of the present invention The first best image recommendation of fruit selects clarity highest with image processing algorithm to user from all images of shooting Image recommend user as target image, in this way, optimal shooting image can be obtained in user.
Image capturing method provided in an embodiment of the present invention, in the non-touch-control shooting of finger after judging user's image to be shot Just image taking is carried out when button, since therefore mobile terminal will not be shaken the non-touch-control shooting button of finger, therefore can be clapped Take the photograph the high image of clarity.When detecting the operation of finger touch shooting button, shoots the second image and judge shooting the Whether mobile terminal is shaken when two images, and the highest figure of clarity in the first image of shooting is selected if being shaken As shooting image as target.In this way, the second image of effect of jitter has occurred in mobile terminal when even the second image taking Clarity, clearest image can also be selected as target image from the first captured image, therefore can effectively kept away The low problem of image definition captured by caused by exempting from due to mobile terminal shakes, to promote the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of image capturing method of the embodiment of the present invention two is shown.
The image capturing method of the embodiment of the present invention the following steps are included:
Step 201: shooting button detection zone is detected.
Image capturing method in the embodiment of the present invention is suitable for mobile terminal.The screen of mobile terminal is touch screen, when When opening image taking interface, image taking shows shooting button in interface.
Wherein, shooting button detection zone is the cylindrical region of shooting button face.As shown in figure 3, a-quadrant is then bat Button detection zone is taken the photograph, B is then the screen of mobile terminal, and C is then the shooting button on screen, and D is then finger, and Y is then default Value.
Mobile terminal in real time detects shooting button detection zone, it is therefore an objective to detect finger and appear in shooting button inspection After surveying in region, the distance between finger and shooting button are detected.
Step 202: when detecting that finger is located in shooting button detection zone and the distance between finger and shooting button When equal to preset value, first image is shot.
Preset value is the minimum image-forming range in screen between shooting button and finger, and finger is preset from apart from shooting button It has been worth to the time interval for clicking shooting button, object to be captured blur-free imaging just in shooting image.Preset value and shifting The image taking speed of dynamic terminal is inversely proportional, and the more fast then preset value of image taking speed is smaller.
Image camera function is opened when being equal to preset value in interval between finger and shooting button, carries out image taking energy Shooting obtains clearly image before enough guaranteeing finger touch to shooting button.
At present the image taking speed of mobile terminal quickly, therefore preset value Y very little, the time point and use that this basic triggering is taken pictures The time point of family touch-control shooting button is close, the basic unaware of user.
Step 203: when detecting the operation of finger touch shooting button, shooting the second image.
The operation of finger touch shooting button can be detected by the pressure sensor being arranged below shooting button, be had Body, pressure sensor detects pressure value suffered by shooting button, and central processing unit obtains pressure detected by pressure sensor Force value judges whether shooting button receives finger touch according to pressure value.
Step 204: judging whether mobile terminal is shaken when shooting the second image;If so, 206 are thened follow the steps, If it is not, thening follow the steps 205.
Step 205: if not shaking, using the second image as target image.
Step 206: if being shaken, using the first image of shooting as target image.
Since the second image is shot under mobile terminal jitter conditions in the embodiment of the present invention, the second image Clarity be inherently affected, and the first image is shot before finger does not touch shooting button, due to not touching bat Taking the photograph button, therefore mobile terminal not will shake when shooting the first image, therefore the clarity of the first image is higher than the second image. Therefore, user directly is recommended using the first image as target image, in this way, optimal shooting image can be obtained in user.
Step 207: showing all images of shooting, and target image is highlighted.
During specific implementation, target image directly can be recommended into user, and provide user images select button, User can trigger all images of mobile terminal display shooting by triggering image selection button, and user can be from captured Image selection is carried out in all images.All images can also be directly displayed, and target image is highlighted, to mention Show that ownership goal image is the highest image of clarity of shooting, is selected for user.
Image capturing method provided in an embodiment of the present invention, except being had with image capturing method shown in embodiment one Outside some beneficial effects, captured all images can also be shown to user and selected for user, can satisfy of user Property demand, promotes the usage experience of user.
Embodiment three
Referring to Fig. 4, a kind of step flow chart of image capturing method of the embodiment of the present invention three is shown.
The image capturing method of the embodiment of the present invention the following steps are included:
Step 401: shooting button detection zone is detected.
Image capturing method in the embodiment of the present invention is suitable for mobile terminal.The screen of mobile terminal is touch screen, when When opening image taking interface, image taking shows shooting button in interface.
Wherein, shooting button detection zone is the cylindrical region of shooting button face.As shown in figure 5, a-quadrant is then bat Button detection zone is taken the photograph, B is then the screen of mobile terminal, and C is then the shooting button on screen, and D is then finger, and Y is then default Value, X are then when finger is appeared in for the first time in shooting button detection zone the distance between with shooting button.
Step 402: when detecting that finger is located in shooting button detection zone for the first time, starting to carry out the first image bat It takes the photograph.
It, can be by mobile terminal screen or mobile terminal when at a distance from detection finger is between shooting button The ultrasonic wave integrated in Home key, to identify the distance between finger and shooting button.
Step 403: during finger is mobile to shooting button, shooting the first image according to prefixed time interval, directly It is equal to preset value to the distance between finger and shooting button and stops the first image taking.
Wherein, prefixed time interval can be configured according to actual needs by those skilled in the art, and the present invention is implemented This is not specifically limited in example.
In the embodiment of the present invention, from detecting that finger enters shooting button detection zone and open, to finger and shooting button Within the preset value this time period, shooting obtains image group.Referring to Figure 5, i.e., finger from apart from shooting button X to away from From between shooting button Y, mobile terminal shoots image group.
Step 404: when detecting the operation of finger touch shooting button, shooting the second image.
When finger touch is to shooting button, i.e., the distance between finger and shooting button are zero, shoot the second image.
Step 405: judging whether mobile terminal is shaken when shooting the second image;If so, 407 are thened follow the steps, If it is not, thening follow the steps 406.
If mobile terminal is shaken when shooting the second image, the clarity of the second captured image will affect, Therefore the second image shot under mobile terminal jitter conditions can not be used as target image therefore need to be from first shot in advance Select the highest image of clarity as target image in image.
Step 406: if not shaking, using the second image as target image.
Step 407: if being shaken, using the highest image of clarity in all the first images of shooting as target figure Picture.
In the embodiment of the present invention in order to by the best image recommendation of shooting effect to user, with image processing algorithm from bat The highest image of clarity is selected as target image in multiple first images taken the photograph and recommends user, in this way, user Obtain optimal shooting image.
Step 408: showing all images of shooting, and target image is highlighted.
During specific implementation, target image directly can be recommended into user, and provide user images select button, User can trigger all images of mobile terminal display shooting by triggering image selection button, and user can be from captured Image selection is carried out in all images.
Image capturing method provided in an embodiment of the present invention, in the non-touch-control shooting of finger after judging user's image to be shot Just image taking is carried out when button, since therefore mobile terminal will not be shaken the non-touch-control shooting button of finger, therefore can be clapped Take the photograph the high image of clarity.When detecting the operation of finger touch shooting button, shoots the second image and judge shooting the Whether mobile terminal is shaken when two images, selects clarity in captured first image highest if being shaken Image shoots image as target.In this way, the second figure of effect of jitter has occurred in mobile terminal when even the second image taking The clarity of picture can also select clearest image as target image, therefore can effectively keep away from captured first image The low problem of image definition captured by caused by exempting from due to mobile terminal shakes, to promote the usage experience of user.
Example IV
Referring to Fig. 6, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
The mobile terminal of the embodiment of the present invention includes: detection module 501, for examining to shooting button detection zone It surveys;First shooting module 502, for when detect finger be located in the shooting button detection zone and with it is described shoot by When the distance between button is greater than or equal to preset value, an at least image is shot;Second shooting module 503 is detected for working as When the operation of shooting button described in finger touch, the second image is shot;Judgment module 504 shoots second figure for judging As when the mobile terminal whether shaken;Image determining module 505, if the judgement knot for the judgment module 504 Fruit is when shake has occurred, using the highest image of clarity in the first image of shooting as target image.
Mobile terminal provided in an embodiment of the present invention, in the non-touch-control shooting button of finger after judging user's image to be shot When just carry out image taking, since therefore mobile terminal will not be shaken the non-touch-control shooting button of finger, therefore can take The high image of clarity.When detecting the operation of finger touch shooting button, shoots the second image and judge to shoot the second figure As when mobile terminal whether shaken, the highest image of clarity in captured first image is selected if being shaken Image is shot as target.In this way, the second image of effect of jitter has occurred in mobile terminal when even the second image taking Clarity can also select clearest image as target image, therefore can effectively avoid from the first captured image The low problem of image definition captured by caused by due to mobile terminal shake, to promote the usage experience of user.
Embodiment five
Referring to Fig. 7, a kind of structural block diagram of mobile terminal of the embodiment of the present invention five is shown.
The mobile terminal of the embodiment of the present invention is advanced optimizing to the mobile terminal in example IV, the shifting after optimization Dynamic terminal includes: detection module 601, for detecting to shooting button detection zone;First shooting module 602, for working as Detect that finger is located in the shooting button detection zone and is greater than or equal to the distance between the shooting button default When value, an at least image is shot;Second shooting module 603, for when the operation for detecting shooting button described in finger touch When, shoot the second image;Judgment module 604, whether the mobile terminal has occurred when for judging to shoot second image Shake;Image determining module 605, if the judging result for the judgment module 604 is when shake has occurred, by the of shooting The highest image of clarity is as target image in one image.
Preferably, described image determining module 605 is also used to, if the judging result of the judgment module 604 is not occur When shake, then using second image as target image.
Preferably, first shooting module 602 includes: the first shooting submodule 6021, detects finger position for working as In the shooting button detection zone and when the distance between finger and shooting button are equal to preset value, one first is shot Image.
Preferably, first shooting module 602 includes: the second shooting submodule 6022, in one's hands for that ought detect for the first time When referring in the shooting button detection zone, start to carry out the first image taking;Third shooting submodule 6023 is used for During the finger is moved to the shooting button, the first image is shot according to prefixed time interval, until finger and institute It states the distance between shooting button and stops the first image taking equal to preset value.
Preferably, the mobile terminal further include: image display 606, being used for will in described image determining module 604 After the highest image of clarity is as target image in first image of shooting, all images of shooting are shown, and to described Target image is highlighted.
The mobile terminal of the embodiment of the present invention corresponding image taking into embodiment three for realizing previous embodiment one Method, and there is beneficial effect corresponding with embodiment of the method, details are not described herein.
Embodiment six
Referring to Fig. 8, a kind of structural block diagram of mobile terminal of the embodiment of the present invention six is shown.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memory 702, at least one net Network interface 704 and other users interface 703.Various components in mobile terminal 700 are coupled by bus system 705. It is understood that bus system 705 is for realizing the connection communication between these components.Bus system 705 remove include data/address bus it It outside, further include power bus, control bus and status signal bus in addition.It, in fig. 8 will be various total but for the sake of clear explanation Line is all designated as bus system 705.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double DataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Ram bus RAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to this A little and any other suitable type memory.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 is for detecting shooting button detection zone;It is in one's hands when detecting Refer to when being located in the shooting button detection zone and being greater than or equal to preset value with the distance between the shooting button, claps Take the photograph at least first image;When detecting the operation of shooting button described in finger touch, the second image is shot;Judgement shooting Whether the mobile terminal is shaken when second image;It, will be in the first image of shooting if being shaken The highest image of clarity is as target image.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 702, processor 701 reads the information in memory 702, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
It optionally, will if the mobile terminal is not shaken when processor 701 is also used to shoot second image Second image is as target image.
Optionally, it is described when detect finger be located in the shooting button detection zone and with the shooting button it Between distance when being greater than or equal to preset value, when processor 701 shoots at least first image, be specifically used for: when detecting When finger is located in the shooting button detection zone and the distance between finger and the shooting button are equal to preset value, clap Take the photograph first image.
Optionally, when detecting that finger is located in the shooting button detection zone and between the shooting button When distance is greater than or equal to preset value, when processor 701 shoots at least first image, it is specifically used for: is detected when for the first time When finger is located in the shooting button detection zone, start to carry out the first image taking;It is pressed in the finger to the shooting During button is mobile, the first image is shot according to prefixed time interval, until between the finger and the shooting button Distance is equal to preset value and stops the first image taking.
Optionally, processor 701 in the first image using shooting the highest image of clarity as target It after image, is also used to: showing all images of shooting, and the target image is highlighted.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
Mobile terminal provided in an embodiment of the present invention is after judging user's image to be shot in the non-touch-control shooting button of finger When just carry out image taking, since therefore mobile terminal will not be shaken the non-touch-control shooting button of finger, therefore can take The high image of clarity.When detecting the operation of finger touch shooting button, shoots the second image and judge to shoot the second figure As when mobile terminal whether shaken, the highest image of clarity in captured first image is selected if being shaken Image is shot as target.In this way, the second image of effect of jitter has occurred in mobile terminal when even the second image taking Clarity can also select clearest image as target image, therefore can effectively avoid from the first captured image The low problem of image definition captured by caused by due to mobile terminal shake, to promote the usage experience of user.
Embodiment seven
Referring to Fig. 9, a kind of structural block diagram of mobile terminal of the embodiment of the present invention seven is shown.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 831.Touch panel 831, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 831), and according to setting in advance Fixed formula drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then The processor 860 is given, and order that processor 860 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit 830 Can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal.Display unit 840 may include display panel 841, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 821, and is called and is stored in Data in second memory 822 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/ Or the data in the second memory 822, processor 860 is for detecting shooting button detection zone;It is in one's hands when detecting Refer to when being located in the shooting button detection zone and being greater than or equal to preset value with the distance between the shooting button, claps Take the photograph at least first image;When detecting the operation of shooting button described in finger touch, the second image is shot;Judgement shooting Whether the mobile terminal is shaken when second image;It, will be in the first image of shooting if being shaken The highest image of clarity is as target image.
It optionally, will if the mobile terminal is not shaken when processor 860 is also used to shoot second image Second image is as target image.
Optionally, it is described when detect finger be located in the shooting button detection zone and with the shooting button it Between distance when being greater than or equal to preset value, when processor 860 shoots at least first image, be specifically used for: when detecting When finger is located in the shooting button detection zone and the distance between finger and the shooting button are equal to preset value, clap Take the photograph first image.
Optionally, when detecting that finger is located in the shooting button detection zone and between the shooting button When distance is greater than or equal to preset value, when processor 860 shoots at least first image, it is specifically used for: is detected when for the first time When finger is located in the shooting button detection zone, start to carry out the first image taking;It is pressed in the finger to the shooting During button is mobile, the first image is shot according to prefixed time interval, until between the finger and the shooting button Distance is equal to preset value and stops the first image taking.
Optionally, processor 860 in the first image using shooting the highest image of clarity as target It is also used to after image: showing all images of shooting, and the target image is highlighted.
Mobile terminal provided in an embodiment of the present invention is after judging user's image to be shot in the non-touch-control shooting button of finger When just carry out image taking, since therefore mobile terminal will not be shaken the non-touch-control shooting button of finger, therefore can take The high image of clarity.When detecting the operation of finger touch shooting button, shoots the second image and judge to shoot the second figure As when mobile terminal whether shaken, the highest image of clarity in captured first image is selected if being shaken Image is shot as target.In this way, the second image of effect of jitter has occurred in mobile terminal when even the second image taking Clarity can also select clearest image as target image, therefore can effectively avoid from the first captured image The low problem of image definition captured by caused by due to mobile terminal shake, to promote the usage experience of user.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Provided herein image taking scheme not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in image taking scheme according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of image capturing method is applied to mobile terminal, which is characterized in that the described method includes:
Shooting button detection zone is detected;
When detecting that finger is located in the shooting button detection zone and is greater than or waits with the distance between the shooting button When preset value, at least first image is shot;Wherein, the shooting button detection zone is the shooting button face Region;
When detecting the operation of shooting button described in finger touch, the second image is shot;
Whether the mobile terminal is shaken when judging to shoot second image;
If being shaken, using the highest image of clarity in the first image of shooting as target image.
2. the method according to claim 1, wherein the method also includes:
If the mobile terminal is not shaken when shooting second image, using second image as target image.
3. the method according to claim 1, wherein described ought detect that finger is located at shooting button detection In region and when being greater than or equal to preset value with the distance between the shooting button, the step of at least one the first image is shot Suddenly, comprising:
When detecting that finger is located in the shooting button detection zone and the distance between finger and the shooting button are equal to When preset value, first image is shot.
4. the method according to claim 1, wherein when detecting that finger is located at the shooting button detection zone In and when being greater than or equal to preset value with the distance between the shooting button, the step of shooting at least first image, packet It includes:
When detecting that finger is located in the shooting button detection zone for the first time, start to carry out the first image taking;
During the finger is mobile to the shooting button, the first image is shot according to prefixed time interval, until institute It states the distance between finger and the shooting button and stops the first image taking equal to preset value.
5. the method according to claim 1, wherein clarity is most in the first image by shooting After the step of high image is as target image, the method also includes:
It shows all images of shooting, and the target image is highlighted.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Detection module, for being detected to shooting button detection zone;
First shooting module, for when detect finger be located in the shooting button detection zone and with the shooting button The distance between be greater than or equal to preset value when, shoot at least first image;Wherein, the shooting button detection zone is The region of the shooting button face;
Second shooting module, for shooting the second image when detecting the operation of shooting button described in finger touch;
Judgment module, whether the mobile terminal is shaken when for judging to shoot second image;
Image determining module, if the judging result for the judgment module is when shake has occurred, by described the first of shooting The highest image of clarity is as target image in image.
7. mobile terminal according to claim 6, which is characterized in that described image determining module is also used to:
If the judging result of the judgment module is not shake, using second image as target image.
8. mobile terminal according to claim 6, which is characterized in that first shooting module includes:
First shooting submodule, for when detect finger be located in the shooting button detection zone and finger and shooting by When the distance between button is equal to preset value, first image is shot.
9. mobile terminal according to claim 6, which is characterized in that first shooting module includes:
Second shooting submodule, for starting to carry out when detecting that finger is located in the shooting button detection zone for the first time First image taking;
Third shooting submodule is used for during the finger is mobile to the shooting button, according to prefixed time interval The first image is shot, until the distance between finger and the shooting button are equal to preset value and stop the first image taking.
10. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Image display, for the highest image of clarity in the first image of the described image determining module by shooting After target image, all images of shooting are shown, and highlight to the target image.
CN201710210052.5A 2017-03-31 2017-03-31 A kind of image capturing method and mobile terminal Active CN107018327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210052.5A CN107018327B (en) 2017-03-31 2017-03-31 A kind of image capturing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210052.5A CN107018327B (en) 2017-03-31 2017-03-31 A kind of image capturing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107018327A CN107018327A (en) 2017-08-04
CN107018327B true CN107018327B (en) 2019-11-22

Family

ID=59445786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210052.5A Active CN107018327B (en) 2017-03-31 2017-03-31 A kind of image capturing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107018327B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743191B (en) * 2017-08-24 2020-05-19 捷开通讯(深圳)有限公司 Terminal, anti-shake photographing method thereof and storage device
CN109005355B (en) * 2018-09-28 2020-10-09 维沃移动通信有限公司 Shooting method and mobile terminal
CN111741217A (en) * 2020-06-23 2020-10-02 上海闻泰信息技术有限公司 Photographing method and photographing device of mobile terminal, mobile terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5822122A (en) * 1995-10-12 1998-10-13 Sony Corporation Image stabilizing optical device
KR20100013420A (en) * 2008-07-31 2010-02-10 엘지전자 주식회사 Digital camera and portable terminal comprising it
CN102118560A (en) * 2009-12-30 2011-07-06 深圳富泰宏精密工业有限公司 Photographic system and method
JP2013174697A (en) * 2012-02-24 2013-09-05 Nec Casio Mobile Communications Ltd Portable device, photographing method for portable device, and photographing program for portable device
CN104104857A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Optimized shooting method, optimized shooting system and hand-held device
CN104104858A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Slip shooting method, slip shooting system and hand-held device
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
CN104869314A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Photographing method and device
CN105677196A (en) * 2015-12-25 2016-06-15 深圳市金立通信设备有限公司 Photographic method of terminal device, and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI390970B (en) * 2009-07-22 2013-03-21 Altek Corp Use motion detection to adjust the digital camera's shooting settings

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5822122A (en) * 1995-10-12 1998-10-13 Sony Corporation Image stabilizing optical device
KR20100013420A (en) * 2008-07-31 2010-02-10 엘지전자 주식회사 Digital camera and portable terminal comprising it
CN102118560A (en) * 2009-12-30 2011-07-06 深圳富泰宏精密工业有限公司 Photographic system and method
JP2013174697A (en) * 2012-02-24 2013-09-05 Nec Casio Mobile Communications Ltd Portable device, photographing method for portable device, and photographing program for portable device
CN104104857A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Optimized shooting method, optimized shooting system and hand-held device
CN104104858A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Slip shooting method, slip shooting system and hand-held device
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
CN104869314A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Photographing method and device
CN105677196A (en) * 2015-12-25 2016-06-15 深圳市金立通信设备有限公司 Photographic method of terminal device, and terminal device

Also Published As

Publication number Publication date
CN107018327A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN106326710B (en) A kind of quickly starting payment interface method and mobile terminal
CN107547734B (en) Method, mobile terminal and the storage medium that screen intensity is adjusted
CN106027907B (en) A kind of method and mobile terminal of adjust automatically camera
CN107454330B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN105959553B (en) A kind of switching method and terminal of camera
CN107368150A (en) A kind of photographic method and mobile terminal
CN106101553B (en) A kind of photographic method and mobile terminal
CN107181913B (en) A kind of photographic method and mobile terminal
CN106101544B (en) A kind of image processing method and mobile terminal
CN105979157B (en) A kind of screening-mode switching method and mobile terminal
CN105959544B (en) A kind of image processing method and mobile terminal of mobile terminal
CN106650367A (en) Private content display method and mobile terminal
CN107566723B (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107404577B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106775322B (en) A kind of method preventing virtual key false triggering and mobile terminal
CN107018327B (en) A kind of image capturing method and mobile terminal
CN107566720B (en) A kind of method and mobile terminal of the calibration value updating mobile terminal
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN106131398B (en) A kind of image browsing method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107509024B (en) One kind is taken pictures processing method and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106713715B (en) A kind of photographic method and mobile terminal
CN106407259A (en) Cookbook determination method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant