CN106911881B - Dynamic photo shooting device and method based on double cameras and terminal - Google Patents

Dynamic photo shooting device and method based on double cameras and terminal Download PDF

Info

Publication number
CN106911881B
CN106911881B CN201710108602.2A CN201710108602A CN106911881B CN 106911881 B CN106911881 B CN 106911881B CN 201710108602 A CN201710108602 A CN 201710108602A CN 106911881 B CN106911881 B CN 106911881B
Authority
CN
China
Prior art keywords
camera
dynamic
image data
shooting
static
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
CN201710108602.2A
Other languages
Chinese (zh)
Other versions
CN106911881A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710108602.2A priority Critical patent/CN106911881B/en
Publication of CN106911881A publication Critical patent/CN106911881A/en
Application granted granted Critical
Publication of CN106911881B publication Critical patent/CN106911881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums

Abstract

The invention discloses a device, a method and a terminal for shooting dynamic pictures based on double cameras. The dynamic photo shooting device includes: the first camera shoots a static shooting object to obtain static image data; the second camera shoots a dynamic shooting object to obtain dynamic image data; and the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo, so that the definition of the content of the dynamic image is improved, and the use experience of a user is met.

Description

Dynamic photo shooting device and method based on double cameras and terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a device, a method and a terminal for shooting dynamic pictures based on double cameras.
Background
In the prior art, a new mobile phone has a livephoto function, specifically, a user presses a shutter to take a picture and records a small video as a dynamic image content of the picture. The method has the problems that when the livephoto photos are shot by adopting the mobile phone, the generated photos are generally clear, but due to inaccurate focusing, the content of the subsequently generated dynamic images is not clear, and the situation is common, so that the experience of a user using the function is greatly influenced. Therefore, a device, a method and a terminal for taking a dynamic photo based on two cameras are needed to solve the above technical problems in the prior art.
Disclosure of Invention
The invention mainly aims to provide a device, a method and a terminal for shooting dynamic photos based on double cameras, so that the dynamic photos are shot, and the use experience of a user is met.
In order to achieve the above object, the present invention provides a dynamic photo taking device based on two cameras, comprising: the first camera shoots a static shooting object to obtain static image data; the second camera shoots a dynamic shooting object to obtain dynamic image data; and the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo.
Preferably, the first camera is further configured to: identifying a focusing object in the preview image; and marking the focusing object area where the focusing object is located and the extension area of the focusing object area.
Preferably, the second camera is specifically configured to: and recording the dynamic shooting object by taking the focusing object area and the extension area as video recording focusing areas, wherein the recording time period is T.
Preferably, the first shutter speed T of the first camera is less than the recording time period T.
Preferably, the starting time t of the first shutter speed t0Occurs within the recording time period T.
Preferably, the first shutter speed T occurs within the recording time period T.
Preferably, the first camera is specifically configured to: in the recording time period T, the first camera continuously shoots a plurality of first images of a static shooting object at the first shutter speed; and selecting the clearest first image of the static shooting objects in the plurality of first images as static image data.
Preferably, the shooting parameters of the first camera are better than the shooting parameters of the second camera.
The invention also provides a dynamic photo shooting method based on the double cameras, which comprises the following steps: shooting a static shooting object by a first camera to obtain static image data; shooting a dynamic shooting object by a second camera to obtain dynamic image data; and the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo.
Preferably, before the first camera shoots a still shooting object and obtains still image data, the method further includes: identifying a focusing object in the preview image; and marking the focusing object area where the focusing object is located and the extension area of the focusing object area.
Preferably, the shooting of the dynamic shooting object by the second camera to obtain dynamic image data specifically includes: and recording the dynamic shooting object by taking the focusing object area and the extension area as video recording focusing areas, wherein the recording time period is T.
Preferably, the shooting of the still shooting object by the first camera to obtain the still image data specifically includes: in the recording time period T, the first camera continuously shoots a plurality of first images of a static shooting object at the first shutter speed; and selecting the clearest first image of the static shooting objects in the plurality of first images as static image data.
In addition, the invention also provides a mobile terminal which comprises the dynamic photo shooting device.
According to the double-camera-based dynamic photo shooting device, the first camera and the second camera are adopted to respectively shoot the static shooting object and the dynamic shooting object, the problem that the static shooting object and the dynamic shooting object are not accurately focused when the dynamic shooting object is shot due to the fact that one camera simultaneously shoots the static shooting object and the dynamic shooting object is solved, the definition of dynamic image content is improved, and the use experience of a user is met.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a block diagram of a dynamic picture photographing apparatus according to a first embodiment of the present invention;
fig. 4 is a flowchart of a method for taking a dynamic picture according to a sixth embodiment of the present invention;
fig. 5 is a flowchart of a dynamic photo taking method according to a seventh embodiment of the present invention;
fig. 6 is a flowchart of a dynamic photo taking method according to an eighth embodiment of the present invention;
fig. 7 is a flowchart of a method for taking a dynamic picture according to a ninth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further includeBroadcast signals combined with TV or radio broadcast signals. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time period information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time period information uses three satellites and corrects errors of the calculated position and time period information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the method of the present invention are proposed.
First embodiment
As shown in fig. 3, the first embodiment provides a dual-camera-based moving picture photographing apparatus, including: a first camera 10 which photographs a still photographic subject to obtain still image data; a second camera 20 for shooting a dynamic shot object to obtain dynamic image data; and a synthesis module 30 for synthesizing the static image data and the dynamic image data to obtain a dynamic photo. The dynamic picture shooting device of the embodiment comprises a first camera 10, a second camera 20 and a synthesis module 30, wherein the first camera 10 and the second camera 20 respectively shoot a static shooting object and a dynamic shooting object to obtain static image data and dynamic image data, and finally the synthesis module 30 synthesizes the static image data and the dynamic image data to obtain a dynamic picture.
The above-mentioned synthesis of the still image data and the moving image data is to integrate the still image data and the moving image data into a moving picture, which is an image file, and for example, the still image data and the moving image data may be packaged into one jpg image file. When the user browses the image file using the mobile phone, the image browsing program can parse the jpg image file, and when previewing, the image file is displayed to the user as a static image, and when holding the image file or performing other special operations, a dynamic image associated with the static image can be seen. In the embodiment, the two cameras are used for shooting the static shooting object and the dynamic shooting object respectively, and after the shooting and recording operation is completed, the static image data and the dynamic image data after the shooting are synthesized, so that the definition of the content of the dynamic image is improved.
In the two-camera based moving picture photographing apparatus of the present embodiment, it is preferable that the photographing parameters of the first camera are better than the photographing parameters of the second camera. In the preferred embodiment, the shooting parameters of the first camera are better than those of the second camera, and the first camera is adopted to shoot the static shooting object, so that the definition of the static image content in the static image data is improved. In general, parameters of the two cameras are different, and since shooting of a still shot object requires higher definition, the first camera with better shooting parameters of the two cameras is used for shooting the still shot object. When a user uses the double-camera-based dynamic picture shooting device to shoot dynamic pictures, the first camera acquires static image data, the second camera acquires dynamic image data, and common picture parts in the static image data and the dynamic image data are matched according to a matching and synthesizing technology, so that wide-angle preview picture information is obtained.
Because there is the interval between first camera and the second camera for the visual angle of first camera and second camera has coincidence portion and difference, matches through the common picture part in the image that obtains two cameras, alright in order to obtain the wide angle preview picture information that is greater than single camera visual angle.
Then, the dynamic photo shooting device receives the touch control operation of the user and identifies the function corresponding to the touch operation.
The user inputs operation information to the terminal by performing a touch operation such as clicking or sliding on the display interface.
The dynamic photo shooting device acquires a touch area corresponding to a user touch operation and judges a camera corresponding to the touch area.
Specifically, when the camera acquires the image data, the camera includes the device information for acquiring the image data. The touch screen acquires coordinate values of touch operations of a user, corresponding pixel point information can be determined according to the coordinate values, and equipment information corresponding to the pixel point is obtained by judging image data to which the pixel point belongs, so that whether the touch area of the user corresponds to a first camera or a second camera is judged.
In order to enable a user to know the camera corresponding to the touch operation of the user conveniently, the display interface may represent the camera corresponding to the picture information of the different areas of the display interface in a manner of an identification frame, for example, the display interface includes an identification frame Z1/Z2/Z3, Z1 represents a common picture area of the first camera and the second camera, Z2 represents a unique image information part acquired by the first camera, and Z3 represents a unique image information part acquired by the second camera.
And then the dynamic photo shooting device controls the camera corresponding to the touch operation according to the function corresponding to the touch operation. Specifically, the same function may display corresponding operation function prompts in the three areas, so that the user may control the three areas respectively. When the terminal recognizes that the touch operation of the user is located in the Z1 area, the first camera and the second camera are simultaneously controlled to perform synchronous adjustment and shooting according to the touch operation instruction. When it is recognized that the touch operation by the user is at Z2 or Z3, control is performed only for the image of the area. Specifically, taking the camera corresponding to the current touch operation as the first camera as an example, after the content described in the previous step determines that the touch operation is directed to the first camera, comparing the pixel points acquired by the first camera with the pixel points acquired by the second camera, determining the pixel points which are not successfully matched with the pixel points acquired by the second camera in the pixel points acquired by the first camera as the pixel points corresponding to the Z2 area, and adjusting the pixel points of the part according to the function corresponding to the touch operation.
And then, when the fact that the user moves the operation function prompt of other areas to move across areas is detected, controlling the operation of the starting area according to the operation parameters of the ending area. The camera corresponding to the start coordinate and the camera corresponding to the end coordinate can be judged according to the content in the last step by acquiring the start coordinate of the light measuring frame and the end coordinate of the light measuring frame, when the cameras corresponding to the start coordinate and the end coordinate are different, the light measuring parameter of the camera corresponding to the end coordinate at the moment is acquired, and the terminal adjusts the pixel information corresponding to the start area according to the light measuring parameter.
By the mode, the adjustable range of the mobile terminal during shooting can be enlarged, and the control parameters which cannot be obtained by a single camera can be acquired. Due to the distance between the two cameras, one of the cameras can obtain data which cannot be obtained by the other camera, for example, the first camera may obtain better light data, and the second camera cannot obtain the light data, so that by the mode, the second camera can be controlled to shoot by using light information obtained by the first camera under the condition of not rotating or moving the mobile terminal.
Second embodiment
On the basis of the first embodiment, in the dual-camera based moving picture photographing apparatus of the present embodiment, the first camera 10 is further configured to: identifying a focusing object in the preview image; and marking the focusing object area where the focusing object is located and the extension area of the focusing object area.
When a mobile phone is used for shooting a dynamic picture, firstly, a shooting mode of the dynamic picture is started, a first camera is used for identifying a focusing object in a preview image, a focusing object area where the focusing object is located and an extension area of the focusing object area are marked, the extension area of the extension area needs to be proper, and the specific extension area can refer to the related technical scheme in the prior art. After the focus object region where the focus object is located and the extension region of the focus object region are marked, the first camera 10 takes a still shot picture to obtain a first image.
Third embodiment
On the basis of the second embodiment, the second camera 20 is specifically configured to: and taking the focusing object area and the extension area of the focusing object area as a video recording focusing area, shooting the dynamic shooting object, wherein the recording time period for shooting the dynamic shooting object is T.
The second camera 20 takes the focus object region where the focus object marked by the first camera 10 is located and the extended region of the focus object region as the video recording focus region, and shoots the dynamic shot object, so as to enhance the accuracy of shooting the dynamic shot object.
Fourth embodiment
In the dual-camera based moving picture photographing apparatus of the present embodiment, on the basis of the third embodiment, the first shutter speed T of the first camera 10 is less than the recording period T. Preferably, the starting time t of the first shutter speed t0Occurs within the recording period T. Dynamics of the present embodimentIn the photo shooting device, because the static image data is a certain frame in the dynamic image data which is shot by the camera and is different from the camera, and the static image data is clearer, the association degree of the dynamic image data and the static image data is improved, and the clearness of the static image data is ensured.
Starting time t of first shutter speed of first camera0Recording start time T of recording time period T of second camera0It may be different that, before the first shutter of the first camera 10 falls down, the focusing on the subject object is completed, and the focused object is identified, for example, in the preview image, the user clicks the area needing focusing with the finger, but does not press the photographing key, then the preparation condition for the second camera to photograph the dynamic photographed object is already provided, because the second camera only needs to obtain the focused object area where the identified focused object is located and the extended area of the focused object area, so as to start recording the recording time period T. In addition, the start time t of the first shutter speed of the first camera 100The photographing can be completed by clicking the photographing key at any time after the focusing object is recognized, and thus, the starting time t of the first shutter speed t of the first camera 10 is0May occur within the recording time period T, i.e. may be later than the recording start time T of the recording time period T0But not later than the recording end time T of the recording period T1If the starting time t of the first shutter speed t0Recording end time T too late to recording time period T1Obtaining the first image after the start of photographing the still photographic subject may result in that the content of the moving photographic subject photographed by the second camera 20 is not much related to the content of the still photographic subject photographed by the first camera 10, but the start time t of the first shutter speed t is not large0It is impossible to precede the recording start time T of the recording period T0
For example, the first camera presses the shutter at 17:05:02 seconds, the start time t of the first shutter speed t of the first camera0For this time, assuming that the first shutter speed t, i.e., the exposure time of the first camera, is 0.5 seconds, the first camera starts from 17:05:02 and takes 0.5 seconds to finish shooting the pair of still shotsLike work. However, the selected recording time period T for the second camera to shoot the dynamic shooting object can be 17:05:01-17:05: 05.
Further, the first shutter speed T occurs within the recording period T. During dynamic shooting, a focusing object is identified, after a focusing object area where the focusing object is located and an extension area of the focusing object area are marked, the first camera 10 and the second camera 20 can start shooting a static shooting object and a dynamic shooting object respectively, and before the second camera 20 finishes shooting the dynamic shooting object, the first camera finishes shooting the static shooting object, so that the association degree of static image data and dynamic image data is further ensured.
Fifth embodiment
On the basis of the first embodiment, in the dual-camera-based moving picture photographing apparatus of the present embodiment, the first camera 10 is specifically configured to: in the recording time period T, a first camera continuously shoots a plurality of first images of a static shooting object at a first shutter speed; and selecting the clearest first image of the static shooting objects in the plurality of first images as static image data.
For example, if the first shutter speed is 0.01 second and the recording time period T is 2 seconds, the first shutter speed of the first camera 10 may continuously shoot the still photographic subject at regular intervals (for example, 0.1 second) within the 2 seconds to obtain a plurality of first images, and select one of the plurality of first images, in which the still photographic subject is clearest, as the still image data to be synthesized. Sixth embodiment
As shown in fig. 4, the present embodiment provides a method for taking a dynamic photo based on two cameras, including: step S10: the first camera shoots a static shooting object to obtain static image data. Step S20: and the second camera shoots the dynamic shooting object to obtain dynamic image data. Step S30: the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo.
Seventh embodiment
As shown in fig. 5, on the basis of the sixth embodiment, step S10: before the first camera shoots a static shooting object and obtains static image data, the method for shooting a dynamic picture based on two cameras further comprises: step S40: identifying a focusing object in the preview image; step S50: and marking the focusing object area where the focusing object is located and the extension area of the focusing object area.
Eighth embodiment
As shown in fig. 6, in the dual-camera based moving picture photographing method of the present embodiment on the basis of the sixth embodiment, step S20: the second camera shoots a dynamic shooting object to obtain dynamic image data, and the method specifically comprises the following steps: step S200: and taking the focusing object area and the extension area as video recording focusing areas, and recording the dynamic shooting object, wherein the recording time period is T.
Ninth embodiment
As shown in fig. 7, in the dual-camera based moving picture photographing method of the present embodiment based on the eighth embodiment, step S10: the first camera shoots a static shooting object to obtain static image data, and the method specifically comprises the following steps: step S100: in the recording time period T, a first camera continuously shoots a plurality of first images of a static shooting object at a first shutter speed; step S101: and selecting the clearest first image of the static shooting objects in the plurality of first images as static image data.
Tenth embodiment
In addition, the invention also provides a mobile terminal which comprises the dynamic photo shooting device. Therefore, the corresponding technical effects can also be achieved, and the detailed description is already provided, and will not be repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.

Claims (5)

1. The utility model provides a device is shot to dynamic photo based on two cameras which characterized in that includes:
the first camera shoots a static shooting object to obtain static image data;
the second camera shoots a dynamic shooting object to obtain dynamic image data;
the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo;
the first camera is further configured to:
identifying a focusing object in the preview image;
marking a focusing object area where the focusing object is located and an extension area of the focusing object area;
the second camera is specifically configured to:
recording the dynamic shooting object by taking the focusing object area and the extension area as video recording focusing areas, wherein the recording time period is T;
the first camera is specifically used for:
in the recording time period T, the first camera continuously shoots a plurality of first images of a static shooting object at a first shutter speed;
selecting the clearest first image of the static shooting objects in the plurality of first images as static image data;
starting time t of the first shutter speed t0Occurs within the recording time period T.
2. A moving picture photographing device according to claim 1, wherein the first shutter speed T of the first camera is less than the recording period T.
3. The motion picture taking apparatus as claimed in claim 1, wherein the taking parameters of the first camera are better than the taking parameters of the second camera.
4. A dynamic photo shooting method based on double cameras is characterized by comprising the following steps:
shooting a static shooting object by a first camera to obtain static image data;
shooting a dynamic shooting object by a second camera to obtain dynamic image data;
the synthesis module synthesizes the static image data and the dynamic image data to obtain a dynamic photo;
before the first camera shoots a static shooting object and obtains static image data, the method further comprises the following steps:
identifying a focusing object in the preview image;
marking a focusing object area where the focusing object is located and an extension area of the focusing object area;
the second camera shoots a dynamic shooting object to obtain dynamic image data, and the method specifically comprises the following steps:
recording the dynamic shooting object by taking the focusing object area and the extension area as video recording focusing areas, wherein the recording time period is T;
the first camera shoots a static shooting object to obtain static image data, and the method specifically comprises the following steps:
in the recording time period T, the first camera continuously shoots a plurality of first images of the static shooting object at a first shutter speed;
selecting the clearest first image of the static shooting objects in the plurality of first images as static image data;
starting time t of the first shutter speed t0Occurs within the recording time period T.
5. A mobile terminal characterized by comprising the dynamic photo taking apparatus according to any one of claims 1 to 3.
CN201710108602.2A 2017-02-27 2017-02-27 Dynamic photo shooting device and method based on double cameras and terminal Active CN106911881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710108602.2A CN106911881B (en) 2017-02-27 2017-02-27 Dynamic photo shooting device and method based on double cameras and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710108602.2A CN106911881B (en) 2017-02-27 2017-02-27 Dynamic photo shooting device and method based on double cameras and terminal

Publications (2)

Publication Number Publication Date
CN106911881A CN106911881A (en) 2017-06-30
CN106911881B true CN106911881B (en) 2020-10-16

Family

ID=59208382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710108602.2A Active CN106911881B (en) 2017-02-27 2017-02-27 Dynamic photo shooting device and method based on double cameras and terminal

Country Status (1)

Country Link
CN (1) CN106911881B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493438B (en) * 2017-09-26 2020-05-15 华勤通讯技术有限公司 Continuous shooting method and device for double cameras and electronic equipment
CN109515367A (en) * 2018-10-22 2019-03-26 北京长城华冠汽车科技股份有限公司 A kind of intelligent alarm system and electric car of electric car
CN110149479A (en) * 2019-05-20 2019-08-20 上海闻泰信息技术有限公司 Dual camera imaging method, device, terminal and medium
CN110213500B (en) * 2019-06-17 2021-03-30 易诚高科(大连)科技有限公司 Wide dynamic graph generation method for multi-lens shooting
CN111770277A (en) * 2020-07-31 2020-10-13 RealMe重庆移动通信有限公司 Auxiliary shooting method, terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331462A (en) * 2015-06-25 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Method and device for shooting track pictures, as well as mobile terminal
CN104954689B (en) * 2015-06-30 2018-06-26 努比亚技术有限公司 A kind of method and filming apparatus that photo is obtained using dual camera
CN105245777A (en) * 2015-09-28 2016-01-13 努比亚技术有限公司 Method and device for generating video image

Also Published As

Publication number Publication date
CN106911881A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106454121B (en) Double-camera shooting method and device
CN106909274B (en) Image display method and device
WO2018019124A1 (en) Image processing method and electronic device and storage medium
WO2017050115A1 (en) Image synthesis method
CN106713716B (en) Shooting control method and device for double cameras
CN106911881B (en) Dynamic photo shooting device and method based on double cameras and terminal
CN105468158B (en) Color adjustment method and mobile terminal
CN106657782B (en) Picture processing method and terminal
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN106060407A (en) Focusing method and terminal
CN106200991B (en) Angle adjusting method and device and mobile terminal
CN106534553B (en) Mobile terminal and shooting method thereof
CN106482641B (en) Size measuring device and method
CN106937056B (en) Focusing processing method and device for double cameras and mobile terminal
CN104917965A (en) Shooting method and device
CN106131327B (en) Terminal and image acquisition method
CN107018326B (en) Shooting method and device
CN106851114B (en) Photo display device, photo generation device, photo display method, photo generation method and terminal
CN106993134B (en) Image generation device and method and terminal
CN106851125B (en) Mobile terminal and multiple exposure shooting method
CN106973226B (en) Shooting method and terminal
WO2017071471A1 (en) Mobile terminal and shooting control method therefor
WO2017071468A1 (en) Information processing method, mobile terminal and computer storage medium
CN107071275B (en) Image synthesis method and terminal
CN106990896B (en) Stereo photo display method and device based on double cameras and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant