CN107094235A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107094235A
CN107094235A CN201710225315.XA CN201710225315A CN107094235A CN 107094235 A CN107094235 A CN 107094235A CN 201710225315 A CN201710225315 A CN 201710225315A CN 107094235 A CN107094235 A CN 107094235A
Authority
CN
China
Prior art keywords
image
similarity
camera
mobile terminal
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710225315.XA
Other languages
Chinese (zh)
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 CN201710225315.XA priority Critical patent/CN107094235A/en
Publication of CN107094235A publication Critical patent/CN107094235A/en
Pending legal-status Critical Current

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
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Abstract

The embodiment of the present invention discloses a kind of photographic method and mobile terminal.This method is used for the mobile terminal with camera, and this method includes:Receive photographing instruction;First image is gathered by camera;After the first image is gathered, by the first preset time, the second image is gathered by camera;Compare the similarity of the first image and the second image;If the similarity of the first image and the second image is more than first threshold, the 3rd image is gathered by camera.The embodiment of the present invention compares the similarity of the first image and the second image to judge whether mobilizable destination object is ready to, if the similarity of the first image and the second image is more than first threshold, shows that this kind of destination object is ready to, then gathers the 3rd image;The 3rd image is gathered without default photo opporunity, the time that making this kind of destination object has abundance prepares posture of taking pictures;And just taken pictures after this kind of destination object is ready to, this kind of destination object stand-by period will not be made long, lifting user takes pictures experience.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of photographic method and mobile terminal.
Background technology
Stronger and stronger with the camera function of mobile terminal, image quality more and more higher is light easily with reference to mobile terminal In the advantage of carrying, mobile terminal gradually turns into the essential tool taken pictures in people's daily life instead of traditional camera.One A little scenes, such as many people are taken a group photo but no stranger is helped in the case of taking a picture, it is necessary to use countdown camera function.
The process that the countdown of the mobile terminal of prior art is taken pictures is:The parameters such as shooting angle are adjusted first, then in advance If photo opporunity, posture of taking pictures then is set before camera lens within the time of setting, completion to be captured is waited.The photographic method is more difficult It is determined that needing default count down time of taking pictures.If set of time is too short, user may be caused not yet to set posture of taking pictures, moved Dynamic terminal has just been taken pictures, and causes the photo can not obtain satisfied effect;If set of time is long, user may be caused to put After good posture, it is still desirable to wait one end time, mobile terminal is just taken pictures, poor user experience.Therefore, a kind of easily setting is invented Count down time of accurately taking pictures improves the photographic method of Consumer's Experience, as technical problem urgently to be resolved hurrily.
The content of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, can be achieved fast and accurately to take pictures.
First aspect is there is provided a kind of photographic method, and for the mobile terminal with camera, methods described includes:Receive Photographing instruction;First image is gathered by the camera;After collection described first image, by the first preset time, lead to Cross the camera and gather the second image;Compare the similarity of described first image and second image;If first figure The similarity of picture and second image is more than first threshold, then gathers the 3rd image by the camera.
Second aspect there is provided a kind of mobile terminal, including:Camera, the mobile terminal also includes:First receives mould Block, for receiving photographing instruction;First acquisition module, for gathering the first image by the camera;Second acquisition module, For after collection described first image, by the first preset time, the second image to be gathered by the camera;Compare mould Block, the similarity for comparing described first image and second image;3rd acquisition module, if for described first image It is more than first threshold with the similarity of second image, then the 3rd image is gathered by the camera.
So, in the embodiment of the present invention, by comparing the similarity of the first image and the second image to judge people, animal Whether it is ready to etc. this kind of mobilizable destination object, if the similarity of the first image and the second image is more than first threshold, table Bright this kind of destination object is ready to, then gathers the 3rd image;Without gathering the 3rd image by default photo opporunity so that this The time that class destination object has abundance prepares posture of taking pictures;And just taken pictures after this kind of destination object is ready to, this will not be made The class destination object stand-by period is long;Lifting user takes pictures experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2 is the flow chart of the photographic method of second embodiment of the invention;
Fig. 3 is the structured flowchart of the mobile terminal of third embodiment of the invention;
Fig. 4 is the structured flowchart of the mobile terminal of fourth embodiment of the invention;
Fig. 5 is the structured flowchart of the mobile terminal of fifth embodiment of the invention;
Fig. 6 is the structured flowchart of the mobile terminal of sixth embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
First embodiment
First embodiment of the invention discloses a kind of photographic method.This method is used for the mobile terminal with camera.Should Camera can be front camera or rear camera.As shown in figure 1, this method includes the steps:
Step S101:Receive photographing instruction.
Specifically, mobile terminal user can by clicking on the mechanical key of mobile terminal, can also pass through touch it is mobile eventually The modes such as the figure button on the screen at end, which are triggered, takes pictures, and mobile terminal is received photographing instruction.
Step S102:First image is gathered by camera.
First image is used to be contrasted with the second image, to determine the similarity of the first image and the second image.
Step S103:After the first image is gathered, by the first preset time, the second image is gathered by camera.
Second image is used to be contrasted with the first image, to determine the similarity of the first image and the second image. First preset time can be set by mobile terminal system or user.It is general, first preset time include 500ms~ 1s.By setting after the first preset time, then gather the second image, be easy to determine the first image and the second image whether phase Seemingly.Because if mobilizable destination object such as people is not ready, the similarity of the second image and the first image is smaller, then Change of two images relative to the first image needs the time to embody, therefore, if continuous acquisition or the first preset time It is very short, it is likely that the second image is changed relative to the first image, but be due to that interval time is too short, cause to make mistake Sentence.First preset time is also unsuitable oversize, it is to avoid lose time.
Step S104:Compare the similarity of the first image and the second image.
The final image of generation of taking pictures can include people, animal, landscape etc..Wherein, mobilizable target pair such as people, animal As if influence take pictures generation final image effect principal element, therefore, this kind of destination object be also influence the first image With the principal element of the similarity of the second image.The similarity that this step compares the first image and the second image is mainly and compares this The similarity of class destination object, to judge whether this kind of destination object is ready for taking pictures.Specifically, with motion detection Algorithm scheduling algorithm compares the similarity of the first image and the second image.Mobile terminal system or user can set first threshold. For example, setting first threshold as 80%.The first threshold is used for the similarity for representing the first image and the second image.First threshold Bigger, similarity is bigger.
Due to influenceing mobilizable destination object such as principal element behaviours, animal of similarity, during taking pictures, typically this Class destination object is to be in static state, therefore, if the similarity of the first image and the second image is not more than first threshold, Show that this kind of destination object does not adjust posture of taking pictures also.For example, in the first image, this kind of destination object have not been entered into or Person part enters image;In second image, this kind of destination object is had completely passed into image, then both similarities are smaller, The similarity is not more than first threshold, shows that this kind of destination object does not adjust posture of taking pictures also.
Step S105:If the similarity of the first image and the second image is more than first threshold, pass through camera collection the Three images.
If the similarity of the first image and the second image is more than first threshold, show that people, animal etc. are this kind of mobilizable Destination object is already prepared to, and wait is taken pictures.At this point it is possible to gather the 3rd image by camera, complete to take pictures.
To sum up, the photographic method of first embodiment of the invention, by compare the similarity of the first image and the second image with Just judge whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image is big In first threshold, show that this kind of destination object is ready to, then gather the 3rd image;This method without by default photo opporunity come Gather the 3rd image so that the time that this kind of destination object has abundance prepares posture of taking pictures;And prepare in this kind of destination object Just taken pictures after good, this kind of destination object stand-by period will not be made long;Lifting user takes pictures experience.
Second embodiment
Second embodiment of the invention discloses a kind of photographic method.This method is used for the mobile terminal with camera.Should Camera can be front camera or rear camera.As shown in Fig. 2 this method includes the steps:
Step S201:Receive the parameter of taking pictures that user is set.
Enabled instruction of taking pictures is being received, is being started after camera function, by this step, the ginseng of taking pictures of user's setting can be received Number.Wherein, parameter of taking pictures mainly includes:In shooting angle parameter, shooting focal length parameter and the screening-mode parameter of camera It is one or more kinds of.It should be appreciated that according to the actual requirements, other parameters of taking pictures can also be set, for example, flash lamp, photograph Piece ratio etc..Wherein, screening-mode includes:General mode, burst mode etc..In order to avoid occurring because fortuitous event is made Into shooting effect it is bad the problem of, for example, when taking pictures someone blink result in the need for taking pictures again, can by screening-mode acquiescence set It is set to burst mode.
Step S202:Receive photographing instruction.
Specifically, mobile terminal user can by clicking on the mechanical key of mobile terminal, can also pass through touch it is mobile eventually The modes such as the figure button on the screen at end, which are triggered, takes pictures, and mobile terminal is received photographing instruction.
Step 203:Send the prompt message of the image of preparation for acquiring first.
After mobile terminal receives photographing instruction, prepare to clap for the ease of this kind of destination object mobile terminal such as prompter According to prompt message can be sent.For example, the prompt message can send sound or flash lamp flicker.Destination object is being received After the prompt message, it may be to know that mobile terminal prepares to take pictures, and should keep the posture taken pictures.
Step S204:First image is gathered by camera.
First image is used to be contrasted with the second image, to determine the similarity of the first image and the second image.
Step S205:After the first image is gathered, by the first preset time, the second image is gathered by camera.
Second image is used to be contrasted with the first image, to determine the similarity of the first image and the second image. First preset time can be set by mobile terminal system or user.It is general, first preset time include 500ms~ 1s.By setting after the first preset time, then gather the second image, be easy to determine the first image and the second image whether phase Seemingly.Because if mobilizable destination object such as people is not ready, the similarity of the second image and the first image is smaller, then Change of two images relative to the first image needs the time to embody, therefore, if continuous acquisition or the first preset time It is very short, it is likely that the second image is changed relative to the first image, but be due to that interval time is too short, cause to make mistake Sentence.First preset time is also unsuitable oversize, it is to avoid lose time.
Step S206:Compare the similarity of the first image and the second image.
The final image of generation of taking pictures can include people, animal, landscape etc..Wherein, mobilizable target pair such as people, animal As if influence take pictures generation final image effect principal element, therefore, this kind of destination object be also influence the first image With the principal element of the similarity of the second image.The similarity that this step compares the first image and the second image is mainly and compares this The similarity of class destination object, to judge whether this kind of destination object is ready for taking pictures.Specifically, with motion detection Algorithm scheduling algorithm compares the similarity of the first image and the second image.Mobile terminal system or user can set first threshold. For example, setting first threshold as 80%.The first threshold is used for the similarity for representing the first image and the second image.First threshold Bigger, similarity is bigger.
Due to influenceing mobilizable destination object such as principal element behaviours, animal of similarity, during taking pictures, typically this Class destination object is to be in static state, therefore, if the similarity of the first image and the second image is not more than first threshold, Show that this kind of destination object does not adjust posture of taking pictures also, it is necessary to after step S206, by the second preset time, repeat The step of being acquired, compare, that is, repeat step S204~S206, until the similarity of the first image and the second image is big In first threshold.Wherein, the second preset time includes 2s~3s.
If the similarity of the first image and the second image is more than first threshold, show that this kind of destination object is already prepared to, Wait is taken pictures, then carries out step S207.
Step S207:3rd image is gathered with burst mode by camera.
If the similarity of the first image and the second image is more than first threshold, show this kind of mobilizable mesh such as people, animal Mark object is already prepared to posture of taking pictures, and wait is taken pictures.Now, the 3rd image is gathered with burst mode by camera, completed Take pictures.Multiple the 3rd images can be gathered within a short period of time by gathering the 3rd image with burst mode, to solve mobilizable mesh Some snap actions of mark object cause the problem of effect of the photo shot is bad.For example, people's blink causes shooting effect not It is good, gathered by burst mode after multiple the 3rd images, wherein one the 3rd image that may be collected is the figure after having blinked Picture, such 3rd image is not influenceed by blinking, effect is preferable, it is to avoid retake.
To sum up, the photographic method of second embodiment of the invention, by compare the similarity of the first image and the second image with Just judge whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image is big In first threshold, show that this kind of destination object is ready to, then gather the 3rd image;If this kind of destination object is not ready for, The image of repeated acquisition first and the second image, and compare the first image of repeated acquisition and the similarity of the second image, until two The similarity of person is more than after first threshold, then gathers the 3rd image;In addition, gathering the 3rd image by burst mode, it can avoid The influence of some snap actions effect that to take pictures is bad;This method need not gather the 3rd image by default photo opporunity, So that the time that destination object has abundance prepares posture of taking pictures;And just taken pictures after destination object is ready to, target will not be made The object stand-by period is long;Lifting user takes pictures experience.
3rd embodiment
Third embodiment of the invention discloses a kind of mobile terminal.It is preferred that, the mobile terminal of the embodiment can be but It is not limited to mobile phone, tablet personal computer, MP3/MP4, personal digital assistant (Personal Digital Assistant, PDA) etc..Such as It is the structured flowchart of the mobile terminal of third embodiment of the invention shown in Fig. 3.The mobile terminal 300 includes camera 301, should Mobile terminal 300 is specific also to include following module:
First receiving module 302, for receiving photographing instruction.
Specifically, the user of mobile terminal 300 can also pass through and touch by clicking on the mechanical key of mobile terminal 300 The modes such as the figure button on the screen of mobile terminal 300, which are triggered, takes pictures, and receiving module 302 is received photographing instruction.
First acquisition module 303, for gathering the first image by camera 301.
First image is used to be contrasted with the second image, to determine the similarity of the first image and the second image.
Second acquisition module 304, for after the first image is gathered, by the first preset time, being adopted by camera 301 Collect the second image.
Second image is used to be contrasted with the first image, to determine the similarity of the first image and the second image. First preset time can be set by the system of mobile terminal 300 or user.General, first preset time includes 500ms ~1s.By setting the second acquisition module 304 after the first preset time, then the second image is gathered, be easy to determine the first figure Whether picture and the second image are similar.Because if mobilizable destination object such as people were not ready, the second image and the first figure The similarity of picture is smaller, then change of second image relative to the first image needs the time to embody, therefore, if continuously adopted Collection or the first preset time are very short, it is likely that the second image is changed relative to the first image, but are due to interval Time is too short, causes to make erroneous judgement.First preset time is also unsuitable oversize, loses time.
Comparison module 305, the similarity for comparing the first image and the second image.
The final image of generation of taking pictures can include people, animal, landscape etc..Wherein, mobilizable target pair such as people, animal As if influence take pictures generation final image effect principal element, therefore, this kind of destination object be also influence the first image With the principal element of the similarity of the second image.Specifically, comparison module 305 can compare with motion detection algorithm scheduling algorithm The similarity of first image and the second image.The system of mobile terminal 300 or user can set first threshold.For example, setting the One threshold value is 80%.The first threshold is used for the similarity for representing the first image and the second image.First threshold is bigger, similarity It is bigger.
Due to influenceing mobilizable destination object such as principal element behaviours, animal of similarity, during taking pictures, typically this Class destination object is to be in static state, therefore, if the similarity of the first image and the second image is not more than first threshold, Show that this kind of destination object does not adjust posture of taking pictures also.For example, in the first image, this kind of destination object have not been entered into or Person part enters image;In second image, this kind of destination object is had completely passed into image, then both similarities are smaller, The similarity is not more than first threshold, shows that this kind of destination object does not adjust posture of taking pictures also.
3rd acquisition module 306, if the similarity for the first image and the second image is more than first threshold, by taking the photograph As first 301 the 3rd images of collection.
If the similarity of the first image and the second image is more than first threshold, show that people, animal etc. are this kind of mobilizable Destination object is already prepared to, and wait is taken pictures.Now, the 3rd acquisition module 306 can gather the 3rd figure by camera 301 Picture, completes to take pictures.
To sum up, the mobile terminal 300 of third embodiment of the invention, by the similarity for comparing the first image and the second image To judge whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image More than first threshold, show that this kind of destination object is ready to, then gather the 3rd image, without being gathered by default photo opporunity 3rd image so that the time that this kind of destination object has abundance prepares posture of taking pictures;And after this kind of destination object is ready to Just take pictures, this kind of destination object stand-by period will not be made long;Lifting user takes pictures experience.
Fourth embodiment
Fourth embodiment of the invention discloses a kind of mobile terminal.It is preferred that, the mobile terminal of the embodiment can be but It is not limited to mobile phone, tablet personal computer, MP3/MP4, personal digital assistant (Personal Digital Assistant, PDA) etc..Such as It is the structured flowchart of the mobile terminal of fourth embodiment of the invention shown in Fig. 4.The mobile terminal 400 includes:Camera 401, One receiving module 402, the first acquisition module 403, the second acquisition module 404, the acquisition module 406 of comparison module 405 and the 3rd.On The module and the function phase of the middle equal modules of 3rd embodiment stated are same, will not be repeated here.
It is preferred that, the mobile terminal 400 also includes:
Second receiving module 407, the step of for receiving photographing instruction before, receive the parameter of taking pictures that user is set.
Enabled instruction of taking pictures is being received, is being started after camera function, by this module, the ginseng of taking pictures of user's setting can be received Number.Wherein, parameter of taking pictures includes:One in shooting angle parameter, shooting focal length parameter and the screening-mode parameter of camera 401 Plant or a variety of.It should be appreciated that according to the actual requirements, other parameters of taking pictures can also be set, for example, flash lamp, photo ratio Example etc..Wherein, screening-mode includes:General mode, burst mode etc..In order to avoid occurring because fortuitous event causes to clap The problem of effect is bad is taken the photograph, for example, someone's blink results in the need for taking pictures again when taking pictures, can be by screening-mode default setting Burst mode.
It is preferred that, the mobile terminal 400 also includes:
Reminding module 408, the step of for receiving photographing instruction after, send the prompting letter of the image of preparation for acquiring first Breath.
It is accurate for the ease of the destination object such as prompter mobile terminal 400 after the first receiving module 402 receives photographing instruction It is standby to shoot, prompt message can be sent.For example, reminding module 408 can be carried by sending sound or flash lamp flicker to send Show information.Destination object is after the prompt message is received, it may be to know that mobile terminal 400 prepares to take pictures, and should keep the posture taken pictures.
It is preferred that, the mobile terminal 400 also includes:
After the step of loop module 409, similarity for comparing the first image and the second image, if the first image and The similarity of second image is not more than first threshold, then after the step of comparing the similarity of the first image and the second image, By the second preset time, the step of the step of repeating the first image of collection, the second image of collection and compare the first figure The step of similarity of picture and the second image, until the similarity of the first image and the second image is more than first threshold.
If the similarity of the first image and the second image is not more than first threshold, show mobilizable destination object such as people also Do not adjust and take pictures posture, it is necessary to indicate the first acquisition module 403, the second acquisition module 404, ratio by loop module 409 Repeat to gather compared with module 405, compare.
Wherein, the second preset time includes 2s~3s.By the instruction of the module, collection the first image and second is repeated Image, and compare the similarity of the first image and the second image, until the similarity of the first image and the second image is more than first Threshold value, shows that this kind of mobilizable destination object is ready for preparation of taking pictures, and can gather the 3rd by the 3rd acquisition module 406 Image.
It is preferred that, the 3rd acquisition module 406 includes:
Submodule 4061 is gathered, if the similarity for the first image and the second image is not more than first threshold, is passed through Camera 401 gathers the 3rd image with burst mode.
Multiple the 3rd images can be gathered within a short period of time by gathering the 3rd image with burst mode, mobilizable to solve Some snap actions of destination object cause the problem of effect of the photo shot is bad.For example, people's blink causes shooting effect It is bad, gathered by burst mode after multiple the 3rd images, wherein one the 3rd image that may be collected is after having blinked Image, such 3rd image is not influenceed by blinking, effect is preferable, it is to avoid retake.
To sum up, the mobile terminal 400 of fourth embodiment of the invention, by the similarity for comparing the first image and the second image To judge whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image More than first threshold, show that this kind of destination object is ready to, then gather the 3rd image;If this kind of destination object is not ready for, The then image of repeated acquisition first and the second image, and compare the first image of repeated acquisition and the similarity of the second image, until Both similarities are more than after first threshold, then gather the 3rd image;In addition, gathering the 3rd image by burst mode, it can keep away Exempt from the influence of some snap actions so that effect of taking pictures is bad;The mobile terminal 400 by default photo opporunity without being gathered 3rd image so that the time that this kind of destination object has abundance prepares posture of taking pictures;And after this kind of destination object is ready to Just take pictures, this kind of destination object stand-by period will not be made long;Lifting user takes pictures experience.
5th embodiment
Fig. 5 is the structured flowchart of the mobile terminal of fifth embodiment of the invention.Mobile terminal 500 shown in Fig. 5 includes:Extremely A few processor 501, memory 502, at least one network interface 504, user interface 503 and camera 506.Mobile terminal Each component in 500 is coupled by bus system 505.It is understood that bus system 505 be used for realize these components it Between connection communication.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal Bus.But for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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 Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 502 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 5022, 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 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction.In embodiments of the present invention, processor 501 is used to receive photographing instruction;By taking the photograph As first 506 the first images of collection;After the first image is gathered, by the first preset time, the second figure is gathered by camera 506 Picture;Compare the similarity of the first image and the second image;If the similarity of the first image and the second image is more than first threshold, 3rd image is gathered by camera 506.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform 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 can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 reads the information in memory 502, the step of completing the above method with reference to its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (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 place Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory 502 and by computing device.Memory 502 can realize in processor 501 or outside processor 501.
Alternatively, after the step of processor 501 is used to compare the similarity of the first image and the second image, processor If 501 are additionally operable to the similarity no more than first threshold of the first image and the second image, comparing the first image and the second figure After the step of similarity of picture, by the second preset time, the step of repeating the first image of collection, the second image of collection The step of and the step of compare the similarity of the first image and the second image, until the similarity of the first image and the second image More than first threshold.
Alternatively, after processor 501 is used for the step of receive photographing instruction, processor 501, which is additionally operable to send preparation, to be adopted Collect the prompt message of the first image.
Alternatively, before the step of processor 501 is used to receive photographing instruction, processor 501 is additionally operable to reception user and set The parameter of taking pictures put, parameter of taking pictures includes:Shooting angle parameter, shooting focal length parameter and the screening-mode parameter of camera 506 In one or more.
Alternatively, in the step of processor 501 is used to gather three images by camera 506, processor 501 is specifically used If being not more than first threshold in the similarity of the first image and the second image, by camera 501 with burst mode collection the Three images.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 500 of the embodiment of the present invention, by comparing the similarity of the first image and the second image to judge Whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image is more than first Threshold value, shows that this kind of destination object is ready to, then gathers the 3rd image;If this kind of destination object is not ready for, repeat to adopt Collect the first image and the second image, and compare the first image of repeated acquisition and the similarity of the second image, until both phases It is more than like degree after first threshold, then gathers the 3rd image;In addition, gathering the 3rd image by burst mode, some winks can be avoided When the influence that the acts effect that to take pictures it is bad;The mobile terminal 500 need not gather the 3rd image by default photo opporunity, So that the time that this kind of destination object has abundance prepares posture of taking pictures;And just taken pictures after this kind of destination object is ready to, no This kind of destination object stand-by period can be made long;Lifting user takes pictures experience.
Sixth embodiment
Fig. 6 is the structural representation of the mobile terminal of sixth embodiment of the invention.Specifically, the mobile terminal 600 in Fig. 6 Can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680, power supply 690 and camera 650.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (such as user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for information and the movement for showing the information inputted by user or being supplied to user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor 660 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 conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, software program and/or module in first memory 621 are stored in by operation or execution, and call storage Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, the mobile terminal 600 has front camera, and the first memory is stored by calling The data in software program and/or module and/or the second memory 622 in 621, processor 660 is taken pictures finger for reception Order;First image is gathered by camera 650;After the first image is gathered, by the first preset time, pass through camera 650 Gather the second image;Compare the similarity of the first image and the second image;If the similarity of the first image and the second image is more than First threshold, then gather the 3rd image by camera 650.
Alternatively, after the step of processor 660 is used to compare the similarity of the first image and the second image, processor If 660 are additionally operable to the similarity no more than first threshold of the first image and the second image, comparing the first image and the second figure After the step of similarity of picture, by the second preset time, the step of repeating the first image of collection, the second image of collection The step of and the step of compare the similarity of the first image and the second image, until the similarity of the first image and the second image More than first threshold.
Alternatively, after processor 660 is used for the step of receive photographing instruction, processor 660, which is additionally operable to send preparation, to be adopted Collect the prompt message of the first image.
Alternatively, before the step of processor 660 is used to receive photographing instruction, processor 660 is additionally operable to reception user and set The parameter of taking pictures put, parameter of taking pictures includes:Shooting angle parameter, shooting focal length parameter and the screening-mode parameter of camera 650 In one or more.
Alternatively, in the step of processor 660 is used to gather three images by camera 650, processor 660 is specifically used If being not more than first threshold in the similarity of the first image and the second image, by camera 650 with burst mode collection the Three images.
It can be seen that, the mobile terminal 600 of the embodiment of the present invention, by compare the similarity of the first image and the second image so as to Judge whether this kind of mobilizable destination object such as people, animal is ready to, if the similarity of the first image and the second image is more than First threshold, shows that this kind of destination object is ready to, then gathers the 3rd image;If this kind of destination object is not ready for, weigh The image of second mining collection first and the second image, and compare the first image of repeated acquisition and the similarity of the second image, until both Similarity be more than after first threshold, then gather the 3rd image;In addition, gathering the 3rd image by burst mode, one can be avoided The influence of a little snap actions effect that to take pictures is bad;The mobile terminal 600 by default photo opporunity without gathering the 3rd Image so that the time that this kind of destination object has abundance prepares posture of taking pictures;And just clapped after this kind of destination object is ready to According to this kind of destination object stand-by period will not be made long;Lifting user takes pictures experience.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of photographic method, for the mobile terminal with camera, it is characterised in that methods described includes:
Receive photographing instruction;
First image is gathered by the camera;
After collection described first image, by the first preset time, the second image is gathered by the camera;
Compare the similarity of described first image and second image;
If described first image and the similarity of second image are more than first threshold, the 3rd is gathered by the camera Image.
2. according to the method described in claim 1, it is characterised in that described first image and second image of comparing After the step of similarity, methods described also includes:
If described first image and the similarity of second image are not more than the first threshold, in the comparison described After the step of similarity of one image and second image, by the second preset time, repeat the collection first The step of the step of image, second image of collection and described compare the similar of described first image and second image The step of spending, until described first image and the similarity of second image are more than first threshold.
3. according to the method described in claim 1, it is characterised in that after the step of the reception photographing instruction, methods described Also include:
Send the prompt message of preparation for acquiring described first image.
4. according to the method described in claim 1, it is characterised in that before the step of the reception photographing instruction, methods described Also include:
The parameter of taking pictures that user is set is received, the parameter of taking pictures includes:The shooting angle parameter of the camera, shooting focal length One or more in parameter and screening-mode parameter.
5. according to the method described in claim 1, it is characterised in that described the step of gather three images by the camera Including:
If described first image and the similarity of second image are not more than first threshold, by the camera with continuous shooting 3rd image described in type collection.
6. a kind of mobile terminal, including:Camera, it is characterised in that the mobile terminal also includes:
First receiving module, for receiving photographing instruction;
First acquisition module, for gathering the first image by the camera;
Second acquisition module, for after collection described first image, by the first preset time, being gathered by the camera Second image;
Comparison module, the similarity for comparing described first image and second image;
3rd acquisition module, if being more than first threshold for described first image and the similarity of second image, passes through The camera gathers the 3rd image.
7. mobile terminal according to claim 6, it is characterised in that also include:
After the step of loop module, similarity for comparing described first image and second image for described, if described The similarity of first image and second image is not more than the first threshold, then compares described first image and institute described After the step of stating the similarity of the second image, by the second preset time, the step of repeating the first image of the collection, It is described collection the second image the step of and it is described compare described first image and second image similarity the step of, directly It is more than first threshold to described first image and the similarity of second image.
8. mobile terminal according to claim 6, it is characterised in that also include:
Reminding module, for it is described reception photographing instruction the step of after, send preparation for acquiring described first image prompting letter Breath.
9. mobile terminal according to claim 6, it is characterised in that also include:
Second receiving module, for it is described reception photographing instruction the step of before, receive user set parameter of taking pictures, the bat Include according to parameter:It is a kind of or many in shooting angle parameter, shooting focal length parameter and the screening-mode parameter of the camera Kind.
10. mobile terminal according to claim 6, it is characterised in that the 3rd acquisition module includes:
Submodule is gathered, if the similarity for described first image and second image is not more than first threshold, is passed through The camera gathers the 3rd image with burst mode.
CN201710225315.XA 2017-04-07 2017-04-07 A kind of photographic method and mobile terminal Pending CN107094235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710225315.XA CN107094235A (en) 2017-04-07 2017-04-07 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710225315.XA CN107094235A (en) 2017-04-07 2017-04-07 A kind of photographic method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107094235A true CN107094235A (en) 2017-08-25

Family

ID=59649102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710225315.XA Pending CN107094235A (en) 2017-04-07 2017-04-07 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107094235A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737718A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Image pickup method, device and smart machine
CN110062158A (en) * 2019-04-08 2019-07-26 北京字节跳动网络技术有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
CN112422823A (en) * 2020-11-09 2021-02-26 广汽本田汽车有限公司 Automatic visual shooting triggering method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079844A1 (en) * 2007-09-25 2009-03-26 Masatoshi Suzuki Image pickup apparatus for performing a desireble self-timer shooting and an automatic shooting method using the same
CN102404508A (en) * 2011-11-18 2012-04-04 深圳市万兴软件有限公司 Auto-photo method and device
CN102420941A (en) * 2011-11-18 2012-04-18 深圳市万兴软件有限公司 Automatic shooting method and device
CN103384301A (en) * 2013-07-12 2013-11-06 广东欧珀移动通信有限公司 Method and device for performing autodyne through rear camera and mobile terminal
CN104767925A (en) * 2014-01-03 2015-07-08 北京云狐时代科技有限公司 Technology for realizing functions of automatic delayed picture taking and automatic image pick-up

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079844A1 (en) * 2007-09-25 2009-03-26 Masatoshi Suzuki Image pickup apparatus for performing a desireble self-timer shooting and an automatic shooting method using the same
CN102404508A (en) * 2011-11-18 2012-04-04 深圳市万兴软件有限公司 Auto-photo method and device
CN102420941A (en) * 2011-11-18 2012-04-18 深圳市万兴软件有限公司 Automatic shooting method and device
CN103384301A (en) * 2013-07-12 2013-11-06 广东欧珀移动通信有限公司 Method and device for performing autodyne through rear camera and mobile terminal
CN104767925A (en) * 2014-01-03 2015-07-08 北京云狐时代科技有限公司 Technology for realizing functions of automatic delayed picture taking and automatic image pick-up

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737718A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Image pickup method, device and smart machine
CN110062158A (en) * 2019-04-08 2019-07-26 北京字节跳动网络技术有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
CN112422823A (en) * 2020-11-09 2021-02-26 广汽本田汽车有限公司 Automatic visual shooting triggering method and device

Similar Documents

Publication Publication Date Title
CN106657814B (en) A kind of video recording method and mobile terminal
CN106844067B (en) A kind of processing method and mobile terminal of content
CN107181913B (en) A kind of photographic method and mobile terminal
CN106210526A (en) A kind of image pickup method and mobile terminal
CN106101553B (en) A kind of photographic method and mobile terminal
CN106657793B (en) A kind of image processing method and mobile terminal
CN106713764A (en) Photographic method and mobile terminal
CN106713780A (en) Control method for flash lamp and mobile terminal
CN106791357A (en) A kind of image pickup method and mobile terminal
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN107395997A (en) A kind of image pickup method and mobile terminal
CN107105160A (en) A kind of method, system and mobile terminal for starting camera
CN106227488B (en) A kind of display methods and mobile terminal of reminder message
CN107147837A (en) The method to set up and mobile terminal of a kind of acquisition parameters
CN106791437B (en) Panoramic image shooting method and mobile terminal
CN107317993A (en) A kind of video call method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107395976A (en) A kind of acquisition parameters method to set up and mobile terminal
CN106506960A (en) A kind of processing method of view data and mobile terminal
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN107346332A (en) A kind of image processing method and mobile terminal
CN106952235A (en) A kind of image processing method and mobile terminal
CN106791422A (en) A kind of image processing method and mobile terminal
CN107172347A (en) A kind of photographic method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170825

RJ01 Rejection of invention patent application after publication