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

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107124538B
CN107124538B CN201710391450.1A CN201710391450A CN107124538B CN 107124538 B CN107124538 B CN 107124538B CN 201710391450 A CN201710391450 A CN 201710391450A CN 107124538 B CN107124538 B CN 107124538B
Authority
CN
China
Prior art keywords
frame
image
dynamic stabilization
mobile terminal
focus
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
CN201710391450.1A
Other languages
Chinese (zh)
Other versions
CN107124538A (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 CN201710391450.1A priority Critical patent/CN107124538B/en
Publication of CN107124538A publication Critical patent/CN107124538A/en
Application granted granted Critical
Publication of CN107124538B publication Critical patent/CN107124538B/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/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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/67Focus control based on electronic image sensor signals
    • 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
    • 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
    • H04N23/681Motion detection

Abstract

The present invention provides a kind of photographic method and mobile terminal, this method comprises: generating focus frame at image taking interface;According to the motion state of the mobile terminal, dynamic stabilization frame is shown in the focus frame, and obtains the first characteristics of image in the dynamic stabilization frame;Whether the detection dynamic stabilization frame that described image shoots interface display within a preset time exceeds the focus frame, wherein the characteristics of image to match in the image acquired in the display preset time in the dynamic stabilization frame with the first image feature;If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time.By detection, whether dynamic stabilization frame exceeds focus frame within a preset time in this way, realizes the automatic shooting of image, avoids the problem that float caused by acknowledgement key of taking pictures due to pressing, effectively improves the shooting effect of image.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods and mobile terminal.
Background technique
With the development of the mobile terminals such as mobile phone and universal, more and more users are clapped using the camera of mobile terminal According to.However, due to lacking corresponding fixed device, user is pressing when using the carry out photograph taking of mobile terminal Mobile terminal take pictures acknowledgement key when, mobile terminal stress can be made and shaken, and then shooting picture is caused to be shaken so that shooting Photo effect out is poor.As it can be seen that there is effect difference of taking pictures in existing image taking.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, there is effect of taking pictures to solve existing image taking The problem of fruit difference.
In a first aspect, being applied to mobile terminal the embodiment of the invention provides a kind of photographic method, comprising:
Focus frame is generated at image taking interface;
According to the motion state of the mobile terminal, dynamic stabilization frame is shown in the focus frame, and is obtained described dynamic The first characteristics of image in state stabilization frame;
Whether the detection dynamic stabilization frame that described image shoots interface display within a preset time exceeds the focusing Frame, wherein in the image acquired in the display preset time in the dynamic stabilization frame with the first image feature phase The characteristics of image matched;
If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, comprising:
Generation module, for generating focus frame at image taking interface;
Display module shows dynamic stabilization frame for the motion state according to the mobile terminal in the focus frame, And obtain the first characteristics of image in the dynamic stabilization frame;
First detection module, for detecting the dynamic stabilization frame of described image shooting interface display within a preset time Whether exceed the focus frame, wherein in the image acquired in the display preset time in the dynamic stabilization frame with it is described The characteristics of image that first characteristics of image matches;
Photo module carries out if being used for the dynamic stabilization frame in the preset time without departing from the focus frame It takes pictures.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory and are stored in described On memory and the camera program that can run on the processor, the processor are realized above-mentioned when executing the camera program The step of photographic method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Camera program is stored on medium, the step of camera program realizes above-mentioned photographic method when being executed by processor.
In this way, generating focus frame at image taking interface in the embodiment of the present invention;According to the movement shape of the mobile terminal State shows dynamic stabilization frame in the focus frame, and obtains the first characteristics of image in the dynamic stabilization frame;Detection is pre- If whether the dynamic stabilization frame of described image shooting interface display exceeds the focus frame in the time, wherein the dynamic The characteristics of image to match in the image acquired in the display preset time in stabilization frame with the first image feature;If The dynamic stabilization frame is then taken pictures without departing from the focus frame in the preset time.In this way through detection when default Whether interior dynamic stabilization frame exceeds focus frame, realizes the automatic shooting of image, avoids taking pictures caused by acknowledgement key due to pressing The problem of float, effectively improves the shooting effect of image.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 a is one of the schematic diagram at image taking interface provided in an embodiment of the present invention;
Fig. 2 b is the two of the schematic diagram at image taking interface provided in an embodiment of the present invention;
Fig. 2 c is the three of the schematic diagram at image taking interface provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another photographic method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of display module in mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 be a kind of flow chart of photographic method provided in an embodiment of the present invention, as shown in Figure 1, include with Lower step:
Step 101 generates focus frame at image taking interface.
In the step, the camera of mobile terminal is opened, automatic camera mould can be set by the photographing mode of mobile terminal Formula then can generate a focus frame at the image taking interface of mobile terminal, and the focus frame can be set in image shoot process It is set to flashing state, is automatic camera mode for prompting the current photographing mode of user.
In a specific embodiment of the invention, the center at image taking interface is arranged in focus frame, as shown in 2a, The rectangle frame of periphery is image taking interface, and the dotted line frame in rectangle frame is focus frame.Wherein, focus frame, which also can be set, is scheming As the other positions at shooting interface, user can position of the self-setting focus frame at image taking interface according to the actual situation.
It should be noted that user can adjust and focus according to the near-far situation of reference object during actual photographed The size of frame.
Step 102, according to the motion state of the mobile terminal, dynamic stabilization frame is shown in the focus frame, and obtain Take the first characteristics of image in the dynamic stabilization frame.
In the step, during taking pictures, focus frame can be directed at reference object by way of mobile mobile terminal. During focus frame is directed at reference object, the motion state for detecting mobile terminal can be continued;For example, when detecting shifting When the moving distance very little of dynamic terminal, then it can determine that focus frame has been targeted by reference object, and in focus frame for the first time Show dynamic stabilization frame.Wherein, the first time display of the dynamic stabilization frame indicates that focus frame has been targeted by reference object, that is, works as When focus frame is targeted by reference object, then dynamic stabilization frame can be shown for the first time in focus frame, in embodiments of the present invention, when When showing dynamic stabilization frame for the first time in focus frame, the available image when showing dynamic stabilization frame in focus frame for the first time Shoot first characteristics of image of the preview image of interface display in dynamic stabilization frame.Display of the dynamic stabilization frame in focus frame Specific dotted line frame indicates focus frame as shown in Figure 2 b, and the box in the dotted line frame indicates dynamic stabilization frame.Wherein, it acquires The first characteristics of image can be saved in mobile terminal backstage, do not appear in image taking interface.As shown in Figure 2 c, in Fig. 2 c Big small circle indicates the first characteristics of image in dynamic stabilization frame.
Whether step 103, detection the dynamic stabilization frame that described image shoots interface display within a preset time exceed The focus frame.
In the step, after the display dynamic stabilization frame for the first time of image taking interface, in subsequent image acquisition process, Image taking interface can correspond in acquisition image and show new dynamic stabilization frame with the characteristics of image that the first characteristics of image matches, Can be interpreted as the content shown in the dynamic stabilization frame shown in preset time is CCD camera assembly acquisition in preset time Image in the characteristics of image that matches with the first characteristics of image.It in the present embodiment can be by detecting when pre-set Whether the dynamic stabilization frame of interior image taking interface display exceeds focus frame, realizes automatic camera.Specifically, when default When interior dynamic stabilization frame exceeds focus frame, it can choose end process, shooting scenery can also be readjusted;When default When interior dynamic stabilization frame is without departing from focus frame, 104 are thened follow the steps.In the present embodiment, which can be set to 2 Second, the preset time can also be arranged in user according to the actual situation.
For example, as shown in Figure 2 c, can there is whether the dynamic stabilization frame (solid box) of big small circle exceeds by detection block Focus frame (dotted line frame), to determine whether executing automatic camera.
Step 104 is taken pictures.
In the step, when dynamic stabilization frame can then determine mobile terminal without departing from focus frame in the preset time Jitter range very little, meets photographical condition, carries out automatic camera, and image taking interface display is taken pictures success, to realize logical Cross the automatic shooting of image.Image pickup method provided in an embodiment of the present invention, user are not necessarily to press acknowledgement key of taking pictures, so as to avoid The problem of acknowledgement key of taking pictures causes shooting picture to be shaken is pressed, and then promotes the shooting effect of image.Wherein, when interface of taking pictures mentions Show after taking pictures successfully, user can choose the process of taking pictures that continues to execute, and also can choose and exits camera program.
It should be noted that in embodiments of the present invention, without limitation, stabilization frame includes the shape of focus frame and stabilization frame Dynamic stabilization frame and dynamic stabilization frame.Wherein, focus frame can be rectangular, be also possible to circle or other shapes, stabilization frame can Be it is rectangular, be also possible to circle or other shapes, user can be with itself hobby and actual conditions sets itself focus frame and anti- Tremble the shape of frame.
In the embodiment of the present invention, above-mentioned mobile terminal any can have the mobile terminal of CCD camera assembly, such as: hand Machine, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital help Manage (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, ) or wearable device (Wearable Device) etc. MID.
The photographic method of the embodiment of the present invention generates focus frame at image taking interface;According to the fortune of the mobile terminal Dynamic state, shows dynamic stabilization frame, and obtain the first characteristics of image in the dynamic stabilization frame in the focus frame;Detection Whether the dynamic stabilization frame of described image shooting interface display exceeds the focus frame within a preset time, wherein described The characteristics of image to match in the image acquired in the display preset time in dynamic stabilization frame with the first image feature; If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time.In this way by detection pre- If whether dynamic stabilization frame exceeds focus frame in the time, the automatic shooting of image is realized, avoid drawing due to pressing acknowledgement key of taking pictures The problem of float risen, effectively improve the shooting effect of image.
It is the flow chart of another photographic method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3, including Following steps:
Step 301 generates focus frame at image taking interface.
In the step, the camera of mobile terminal is opened, automatic camera mould can be set by the photographing mode of mobile terminal Formula then can generate a focus frame at the image taking interface of mobile terminal, and the focus frame can be set in image shoot process It is set to flashing state, is automatic camera mode for prompting the current photographing mode of user.
Step 302, according to the motion state of the mobile terminal, dynamic stabilization frame is shown in the focus frame, and obtain Take the first characteristics of image in the dynamic stabilization frame.
In the step, during taking pictures, focus frame can be directed at reference object by way of mobile mobile terminal. During focus frame is directed at reference object, the motion state for detecting mobile terminal can be continued;For example, when detecting shifting When the moving distance very little of dynamic terminal, then it can determine that focus frame has been targeted by reference object, and in focus frame for the first time Show dynamic stabilization frame.Wherein, the first time display of the dynamic stabilization frame indicates that focus frame has been targeted by reference object, that is, works as When focus frame is targeted by reference object, then dynamic stabilization frame can be shown for the first time in focus frame, in embodiments of the present invention, when When showing dynamic stabilization frame for the first time in focus frame, the available image when showing dynamic stabilization frame in focus frame for the first time Shoot first characteristics of image of the preview image of interface display in dynamic stabilization frame.Display of the dynamic stabilization frame in focus frame Specific dotted line frame indicates focus frame as shown in Figure 2 b, and the box in the dotted line frame indicates dynamic stabilization frame.Wherein, it acquires The first characteristics of image can be saved in mobile terminal backstage, do not appear in image taking interface.As shown in Figure 2 c, in Fig. 2 c Big small circle indicates the first characteristics of image in dynamic stabilization frame.
The to match in step 303, the image that is acquired in the preset time of identification with the first image feature Two characteristics of image identify the position of second characteristics of image, show in the position dynamic including second characteristics of image State stabilization frame, and judge whether the dynamic stabilization frame exceeds the focus frame.
In the step, after the display dynamic stabilization frame for the first time of image taking interface, in subsequent image acquisition process, Image taking interface can correspond in acquisition image and show new dynamic stabilization frame with the characteristics of image that the first characteristics of image matches, Can be interpreted as the content shown in the dynamic stabilization frame shown in preset time is CCD camera assembly acquisition in preset time Image in the characteristics of image that matches with the first characteristics of image.It can be former according to the similarity of characteristics of image in the present embodiment Reason identifies the second characteristics of image to match in the image acquired within the pre-set time with the first characteristics of image, identification The position of second characteristics of image, display includes the dynamic stabilization frame of the second image in the position, then judges the dynamic stabilization frame Whether focus frame is exceeded.If the dynamic stabilization frame exceeds focus frame, it can choose end process, shooting can also be readjusted Scenery;If the dynamic stabilization frame is without departing from focus frame, 304 are thened follow the steps.In the present embodiment, which can set It is set to 2 seconds, the preset time can also be arranged in user according to the actual situation.
In a specific embodiment of the invention, at regular intervals, found from the image of real-time acquisition back with Then the second characteristics of image that first characteristics of image matches determines that the second characteristics of image is implementing the position in acquisition image, And generate new dynamic stabilization frame in the image for implementing acquisition according to the position, that is, dynamic stabilization frame is generated, and clap in image Take the photograph interface display dynamic stabilization frame.Wherein, the time interval in present embodiment is shorter, and the real-time of detection is stronger, stabilization Error rate is with regard to smaller.
It should be noted that in real-time update dynamic stabilization frame each time, user can be according to dynamic stabilization frame and poly- The positional relationship of burnt frame, knows whether mobile terminal shakes severity, and the shooting matter of image is improved by adjusting oneself state Amount.
Step 304 is taken pictures.
In the step, when dynamic stabilization frame can then determine mobile terminal without departing from focus frame in the preset time Jitter range very little, meets photographical condition, carries out automatic camera, and image taking interface display is taken pictures success, to realize logical Cross the automatic shooting of image.Wherein, after interface prompt of taking pictures is taken pictures successfully, user, which can choose, continues to execute the process of taking pictures, Also it can choose and exit camera program.
Optionally, the motion state according to the mobile terminal shows dynamic stabilization frame in the focus frame, and The step of obtaining the first characteristics of image in the dynamic stabilization frame, comprising:
Detect the motion change parameter of the mobile terminal;
If the motion change parameter is less than predetermined movement running parameter, dynamic stabilization is shown in the focus frame Frame, and obtain the first characteristics of image in the dynamic stabilization frame.
It, can be by the motion change parameter of detection mobile terminal, to confirm mobile terminal whether in the embodiment It is moved to the desired position of user, when mobile terminal is moved to the desired position of user, i.e., focus frame has been targeted by use The object of shooting is wanted at family, then dynamic stabilization frame is shown in focus frame, and obtain the first characteristics of image in dynamic stabilization frame. Wherein, the motion change parameter of mobile terminal can be the rotational angle of mobile terminal in the unit time, when being also possible to unit The shift offset of interior mobile terminal.
For example, can then determine user when the shift offset for detecting mobile terminal is less than preset displacement offset Reference object has been chosen, and focus frame is targeted by reference object.For another example, when detecting mobile terminal in unit When rotational angle in time is less than default rotational angle, then it can determine that user has chosen reference object, and incited somebody to action Focus frame is targeted by reference object.
Optionally, the motion state according to the mobile terminal shows dynamic stabilization frame in the focus frame, and The step of obtaining the first characteristics of image in the dynamic stabilization frame, comprising:
According to the motion state of the mobile terminal, the region that one is less than the focus frame is chosen in the focus frame and is made For target area, display includes the dynamic stabilization frame of the target area in the focus frame, and obtains the dynamic stabilization The first characteristics of image in frame.
In the embodiment, according to the motion state of mobile terminal, it can be confirmed that reference object has had been selected in user, And focus frame is targeted by reference object, then dynamic stabilization frame is shown in focus frame, and can be according to the first image spy The positional relationship for levying the dynamic stabilization frame and focus frame that generate judges whether to trigger automatic camera.Wherein, dynamic stabilization frame is poly- The corresponding frame contour in a certain region in burnt frame, and the frame contour of the dynamic stabilization frame is entirely located in the frame contour of focus frame.It is excellent Choosing, it is higher to the stabilization requirement taken pictures when the size of dynamic stabilization frame is closer to the size of focus frame, take the image come Quality is higher.
Optionally, described before the step of image taking interface generates focus frame, the method also includes:
Detect whether the mobile terminal is in transverse screen photographing mode;
If the mobile terminal is in the transverse screen photographing mode, controls the mobile terminal and be in automatic camera mould Formula;
It is described image taking interface generate focus frame the step of, comprising:
When the mobile terminal is in automatic camera mode, then in image taking interface generation focus frame.
It, can be by detecting whether mobile terminal is in transverse screen screening-mode in the embodiment, control mobile terminal is cut Automatic camera mode is shifted to, automatic camera mode is manually selected without user, optimizes user's operation, promote user experience.
The photographic method of the embodiment of the present invention generates focus frame at image taking interface;According to the fortune of the mobile terminal Dynamic state, shows dynamic stabilization frame, and obtain the first characteristics of image in the dynamic stabilization frame in the focus frame;Identification The second characteristics of image to match in the image acquired in the preset time with the first image feature identifies described the The position of two characteristics of image shows the dynamic stabilization frame including second characteristics of image in the position, and judges described dynamic Whether state stabilization frame exceeds the focus frame;It takes pictures.By detection, whether dynamic stabilization frame surpasses within a preset time in this way Focus frame out realizes the automatic shooting of image, avoids the problem that float caused by acknowledgement key of taking pictures due to pressing, effectively Improve the shooting effect of image.
Referring to fig. 4, Fig. 4 is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 4, mobile terminal 400 wraps Include generation module 401, display module 402, first detection module 403 and photo module 404, wherein generation module 401 and display Module 402 connects, and display module 402 is also connect with first detection module 403, and first detection module 403 is gone back and photo module 404 connections:
Generation module 401, for generating focus frame at image taking interface;
Display module 402 shows dynamic stabilization for the motion state according to the mobile terminal in the focus frame Frame, and obtain the first characteristics of image in the dynamic stabilization frame;
First detection module 403, the dynamic for detecting described image shooting interface display within a preset time are anti- Tremble whether frame exceeds the focus frame, wherein in the image acquired in the display preset time in the dynamic stabilization frame with The characteristics of image that the first image feature matches;
Photo module 404, if in the preset time dynamic stabilization frame without departing from the focus frame, into Row is taken pictures.
Optionally, in the image that the first detection module 403 acquires in the preset time for identification with it is described The second characteristics of image that first characteristics of image matches identifies the position of second characteristics of image, shows and wraps in the position The dynamic stabilization frame of second characteristics of image is included, and judges whether the dynamic stabilization frame exceeds the focus frame.
Optionally, as shown in figure 5, the display module 402 includes:
Detection unit 4021, for detecting the motion change parameter of the mobile terminal;
Display unit 4022, if being less than predetermined movement running parameter for the motion change parameter, in the focusing Dynamic stabilization frame is shown in frame, and obtains the first characteristics of image in the dynamic stabilization frame.
Optionally, the display module is used for the motion state according to the mobile terminal, chooses in the focus frame One is less than the region of the focus frame as target area, and display includes that the dynamic of the target area is anti-in the focus frame Frame is trembled, and obtains the first characteristics of image in the dynamic stabilization frame.
Optionally, as shown in fig. 6, the mobile terminal 400 further include:
Second detection module 405, for detecting whether the mobile terminal is in transverse screen photographing mode;
Control module 406 controls the mobile terminal if being in the transverse screen photographing mode for the mobile terminal In automatic camera mode;
The generation module 401 is used to be in automatic camera mode when the mobile terminal, then raw at image taking interface At focus frame.
Mobile terminal 400 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to keep away Exempt to repeat, which is not described herein again.
The mobile terminal of the embodiment of the present invention generates focus frame at image taking interface;According to the fortune of the mobile terminal Dynamic state, shows dynamic stabilization frame, and obtain the first characteristics of image in the dynamic stabilization frame in the focus frame;Detection Whether the dynamic stabilization frame of described image shooting interface display exceeds the focus frame within a preset time, wherein described The characteristics of image to match in the image acquired in the display preset time in dynamic stabilization frame with the first image feature; If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time.In this way by detection pre- If whether dynamic stabilization frame exceeds focus frame in the time, the automatic shooting of image is realized, avoid drawing due to pressing acknowledgement key of taking pictures The problem of float risen, effectively improve the shooting effect of image.
It is the structure chart that the present invention implements a kind of mobile terminal provided referring to Fig. 7, Fig. 7, as shown in fig. 7, mobile terminal 700 include: at least one processor 701, memory 702, at least one network interface 704 and user interface 703.Mobile terminal Various components in 700 are coupled by bus system 705.It is understood that bus system 705 for realizing these components it Between connection communication.Bus system 705 further includes power bus, control bus and status signal in addition to including data/address bus Bus.But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7, mobile terminal 700 also wraps Include CCD camera assembly 706, wherein CCD camera assembly 706 is connect by bus system 705 with the various components of mobile terminal.
Wherein, user interface 703 may 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 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 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 memory 702 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
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, mobile terminal 700 further includes being stored on memory 702 and can be on processor 701 The camera program of operation, specifically, can be the camera program stored in application program 7022, camera program is by processor 701 Following steps are realized when execution: generating focus frame at image taking interface;According to the motion state of the mobile terminal, described Dynamic stabilization frame is shown in focus frame, and obtains the first characteristics of image in the dynamic stabilization frame;Detection is within a preset time Whether the dynamic stabilization frame of described image shooting interface display exceeds the focus frame, wherein in the dynamic stabilization frame Show the characteristics of image to match in the image acquired in the preset time with the first image feature;If described default The dynamic stabilization frame is then taken pictures without departing from the focus frame in time.
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.This is computer-readable to deposit Storage media is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware Suddenly.Specifically, camera program is stored on the computer readable storage medium, camera program is realized when being executed by processor 701 Such as each step of above-mentioned photographic method embodiment.
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, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 701 executes the described image within a preset time that detects and shoots the described dynamic of interface display The step of whether state stabilization frame exceeds the focus frame, comprising:
Identify that the second image to match in the image acquired in the preset time with the first image feature is special Sign identifies the position of second characteristics of image, shows the dynamic stabilization frame including second characteristics of image in the position, And judge whether the dynamic stabilization frame exceeds the focus frame.
Optionally, processor 701 executes the motion state according to the mobile terminal, shows in the focus frame Dynamic stabilization frame, and the step of obtaining the first characteristics of image in the dynamic stabilization frame, comprising:
Detect the motion change parameter of the mobile terminal;
If the motion change parameter is less than predetermined movement running parameter, dynamic stabilization is shown in the focus frame Frame, and obtain the first characteristics of image in the dynamic stabilization frame.
Optionally, processor 701 executes the motion state according to the mobile terminal, shows in the focus frame Dynamic stabilization frame, and the step of obtaining the first characteristics of image in the dynamic stabilization frame, comprising:
According to the motion state of the mobile terminal, the region that one is less than the focus frame is chosen in the focus frame and is made For target area, display includes the dynamic stabilization frame of the target area in the focus frame, and obtains the dynamic stabilization The first characteristics of image in frame.
Optionally, processor 701 executes described before the step of image taking interface generates focus frame, and the method is also Include:
Detect whether the mobile terminal is in transverse screen photographing mode;
If the mobile terminal is in the transverse screen photographing mode, controls the mobile terminal and be in automatic camera mould Formula;
It is described image taking interface generate focus frame the step of, comprising:
When the mobile terminal is in automatic camera mode, then in image taking interface generation focus frame.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 700 of the embodiment of the present invention generates focus frame at image taking interface;According to the mobile terminal Motion state shows dynamic stabilization frame in the focus frame, and obtains the first characteristics of image in the dynamic stabilization frame;Inspection Whether the dynamic stabilization frame for surveying described image shooting interface display within a preset time exceeds the focus frame, wherein institute It is special to state the image to match in the image acquired in the display preset time in dynamic stabilization frame with the first image feature Sign;If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time.Existed in this way by detection Whether dynamic stabilization frame exceeds focus frame in preset time, realizes the automatic shooting of image, avoids acknowledgement key of taking pictures due to pressing The problem of caused float, effectively improves the shooting effect of image.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present 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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of photographic method is applied to mobile terminal characterized by comprising
Focus frame is generated at image taking interface;
According to the motion state of the mobile terminal, dynamic stabilization frame is shown in the focus frame, and it is anti-to obtain the dynamic The first characteristics of image in frame is trembled, the first image feature is the feature of the target object in current acquisition range;
Whether the detection dynamic stabilization frame that described image shoots interface display within a preset time exceeds the focus frame, In, the figure to match in the image acquired in the preset time with the first image feature is shown in the dynamic stabilization frame As feature;
If the dynamic stabilization frame is taken pictures without departing from the focus frame in the preset time;
Wherein, the motion state according to the mobile terminal shows dynamic stabilization frame in the focus frame, and obtains The step of the first characteristics of image in the dynamic stabilization frame, comprising:
Detect the motion change parameter of the mobile terminal;
If the motion change parameter is less than predetermined movement running parameter, dynamic stabilization frame is shown in the focus frame, and Obtain the first characteristics of image in the dynamic stabilization frame.
2. the method according to claim 1, wherein described image shoots interface within a preset time for the detection The step of whether the dynamic stabilization frame of display exceeds the focus frame, comprising:
It identifies the second characteristics of image to match in the image acquired in the preset time with the first image feature, knows The position of not described second characteristics of image shows the dynamic stabilization frame including second characteristics of image in the position, and sentences Whether the dynamic stabilization frame that breaks exceeds the focus frame.
3. method according to claim 1 or 2, which is characterized in that the motion state according to the mobile terminal, In Dynamic stabilization frame, and the step of obtaining the first characteristics of image in the dynamic stabilization frame are shown in the focus frame, comprising:
According to the motion state of the mobile terminal, one is chosen in the focus frame and is less than the region of the focus frame as mesh Region is marked, display includes the dynamic stabilization frame of the target area in the focus frame, and obtains in the dynamic stabilization frame The first characteristics of image.
4. method according to claim 1 or 2, which is characterized in that the step for generating focus frame at image taking interface Before rapid, the method also includes:
Detect whether the mobile terminal is in transverse screen photographing mode;
If the mobile terminal is in the transverse screen photographing mode, controls the mobile terminal and be in automatic camera mode;
It is described image taking interface generate focus frame the step of, comprising:
When the mobile terminal is in automatic camera mode, then in image taking interface generation focus frame.
5. a kind of mobile terminal characterized by comprising
Generation module, for generating focus frame at image taking interface;
Display module shows dynamic stabilization frame for the motion state according to the mobile terminal in the focus frame, and obtains The first characteristics of image in the dynamic stabilization frame is taken, the first image feature is the target object in current acquisition range Feature;
First detection module, for detect the shooting interface display of described image within a preset time the dynamic stabilization frame whether Beyond the focus frame, wherein with described first in the image acquired in the display preset time in the dynamic stabilization frame The characteristics of image that characteristics of image matches;
Photo module is taken pictures if being used for the dynamic stabilization frame in the preset time without departing from the focus frame;
Wherein, the display module includes:
Detection unit, for detecting the motion change parameter of the mobile terminal;
Display unit is shown in the focus frame if being less than predetermined movement running parameter for the motion change parameter Dynamic stabilization frame, and obtain the first characteristics of image in the dynamic stabilization frame.
6. mobile terminal according to claim 5, which is characterized in that the first detection module is for identification described pre- If the second characteristics of image to match in the image acquired in the time with the first image feature, identify that second image is special The position of sign shows the dynamic stabilization frame including second characteristics of image in the position, and judges the dynamic stabilization frame Whether the focus frame is exceeded.
7. mobile terminal according to claim 5 or 6, which is characterized in that the display module is used for according to the movement The motion state of terminal, the region that selection one is less than the focus frame in the focus frame are gathered as target area described Display includes the dynamic stabilization frame of the target area in burnt frame, and obtains the first characteristics of image in the dynamic stabilization frame.
8. mobile terminal according to claim 5 or 6, which is characterized in that the mobile terminal further include:
Second detection module, for detecting whether the mobile terminal is in transverse screen photographing mode;
Control module controls the mobile terminal and is in certainly if being in the transverse screen photographing mode for the mobile terminal Dynamic photographing mode;
The generation module is used to be in automatic camera mode when the mobile terminal, then generates and focus at image taking interface Frame.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The camera program run on processor, the processor realize such as any one of claims 1 to 4 when executing the camera program The step of described photographic method.
10. a kind of computer readable storage medium, which is characterized in that be stored with journey of taking pictures on the computer readable storage medium The step of sequence, the camera program realizes photographic method according to any one of claims 1 to 4 when being executed by processor.
CN201710391450.1A 2017-05-27 2017-05-27 A kind of photographic method and mobile terminal Active CN107124538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710391450.1A CN107124538B (en) 2017-05-27 2017-05-27 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710391450.1A CN107124538B (en) 2017-05-27 2017-05-27 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107124538A CN107124538A (en) 2017-09-01
CN107124538B true CN107124538B (en) 2019-11-22

Family

ID=59729039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710391450.1A Active CN107124538B (en) 2017-05-27 2017-05-27 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107124538B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581410A (en) * 2021-02-26 2021-03-30 智己汽车科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040083822A (en) * 2003-03-25 2004-10-06 (주)시스포 A Moving Vector Detector of Camera Motion
CN102057665A (en) * 2009-05-07 2011-05-11 松下电器产业株式会社 Electron camera, image processing device, and image processing method
CN103220465A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method, device and mobile terminal for accurate positioning of facial image when mobile phone is used for photographing
CN103442169A (en) * 2013-07-29 2013-12-11 北京智谷睿拓技术服务有限公司 Method for having control over shooting function of image collection device and image collection device
CN103780841A (en) * 2014-01-23 2014-05-07 深圳市金立通信设备有限公司 Shooting method and shooting device
CN105430262A (en) * 2015-11-17 2016-03-23 小米科技有限责任公司 Photographing control method and photographing control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5361528B2 (en) * 2009-05-15 2013-12-04 キヤノン株式会社 Imaging apparatus and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040083822A (en) * 2003-03-25 2004-10-06 (주)시스포 A Moving Vector Detector of Camera Motion
CN102057665A (en) * 2009-05-07 2011-05-11 松下电器产业株式会社 Electron camera, image processing device, and image processing method
CN103220465A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method, device and mobile terminal for accurate positioning of facial image when mobile phone is used for photographing
CN103442169A (en) * 2013-07-29 2013-12-11 北京智谷睿拓技术服务有限公司 Method for having control over shooting function of image collection device and image collection device
CN103780841A (en) * 2014-01-23 2014-05-07 深圳市金立通信设备有限公司 Shooting method and shooting device
CN105430262A (en) * 2015-11-17 2016-03-23 小米科技有限责任公司 Photographing control method and photographing control device

Also Published As

Publication number Publication date
CN107124538A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN105827964B (en) A kind of image processing method and mobile terminal
CN106170058B (en) A kind of exposure method and mobile terminal
CN106254682B (en) A kind of photographic method and mobile terminal
CN107231530B (en) A kind of photographic method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN105827970B (en) A kind of image processing method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
JP2012520628A (en) Support for blur detection in images
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN105959574B (en) A kind of photographic method and mobile terminal
CN109639973A (en) Shoot image methods of marking, scoring apparatus, electronic equipment and storage medium
WO2021169686A1 (en) Photo capture control method and apparatus and computer readable storage medium
CN106993139B (en) A kind of image pickup method and mobile terminal
CN106162150B (en) A kind of photographic method and mobile terminal
CN112887617B (en) Shooting method and device and electronic equipment
CN112954212B (en) Video generation method, device and equipment
CN106303234A (en) Take pictures processing method and processing device
CN107222737B (en) A kind of processing method and mobile terminal of depth image data
US20160006938A1 (en) Electronic apparatus, processing method and storage medium
CN106060408B (en) A kind of photographic method and mobile terminal
CN106791375B (en) A kind of shooting focusing method and mobile terminal
CN107124538B (en) A kind of photographic method and mobile terminal
CN106488140B (en) A kind of setting method and mobile terminal of camera acquisition parameter
CN103945116A (en) Apparatus and method for processing image in mobile terminal having camera

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