CN106162150B - A kind of photographic method and mobile terminal - Google Patents
A kind of photographic method and mobile terminal Download PDFInfo
- Publication number
- CN106162150B CN106162150B CN201610873213.4A CN201610873213A CN106162150B CN 106162150 B CN106162150 B CN 106162150B CN 201610873213 A CN201610873213 A CN 201610873213A CN 106162150 B CN106162150 B CN 106162150B
- Authority
- CN
- China
- Prior art keywords
- terminal
- image
- reference object
- angle
- picture
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/271—Image signal generators wherein the generated image signals comprise depth maps or disparity maps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/239—Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/296—Synchronisation thereof; Control thereof
Abstract
The invention discloses a kind of photographic method and mobile terminals, are applied to first terminal, and method includes:Obtain the first image of the collected reference object of first terminal;Obtain the second image of the collected reference object of at least one second terminal;According to the first image and the second image, the stereo-picture of reference object is synthesized;Wherein, first terminal and second terminal are different relative to the orientation of reference object.The present invention synthesizes the image of the different angle shooting of same reference object first terminal and at least one second terminal, generates the stereo-picture of the reference object, only solid picture-taking and camera shooting need to can be realized by single camera mobile phone, improve user experience;And the stereoscopic imaging apparatus without increasing profession, save three-dimensional imaging cost.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods and mobile terminal.
Background technology
With the development of the communication technology, mobile terminal has more and more amusement functions, wherein camera function conduct
One of core of amusement function becomes the importance that user considers mobile terminal.And 3D stereoscopic imaging technologies is extensive
Using so that stereoscopic photograph/video becomes the trend of mobile terminal imaging.In the prior art, to realize that stereoscopic shooting needs
Complicated technology and expensive equipment is wanted to support
Invention content
An embodiment of the present invention provides a kind of photographic method and mobile terminals, to solve three-dimensional imaging in the prior art
The high problem of technical sophistication, cost of implementation.
In a first aspect, an embodiment of the present invention provides a kind of photographic method, it is applied to first terminal, including:
Obtain the first image of the collected reference object of first terminal;
Obtain the second image of the collected reference object of at least one second terminal;Wherein, first terminal and the second end
Hold the orientation relative to reference object different;
According to the first image and the second image, the stereo-picture of reference object is synthesized.
Second aspect, an embodiment of the present invention provides a kind of mobile terminals, are applied to first terminal, the mobile terminal packet
It includes:
First acquisition module, the first image for obtaining the collected reference object of first terminal;
Second acquisition module, the second image for obtaining the collected reference object of at least one second terminal;Wherein,
First terminal and second terminal are different relative to the orientation of reference object;
Synthesis module, for according to the first image and the second image, synthesizing the stereo-picture of reference object.
The advantageous effect of the embodiment of the present invention is:
In this way, by first terminal and at least one second terminal to the image of the different angle shooting of same reference object into
Row synthesis, generates the stereo-picture of the reference object, only solid picture-taking and camera shooting need to can be realized by single camera mobile phone, carry
High user experience;And the stereoscopic imaging apparatus without increasing profession, save three-dimensional imaging cost.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows the flow charts of the first embodiment of the photographic method of the first terminal side of the present invention;
Fig. 2 indicates the flow chart of the second embodiment of the photographic method of the first terminal side of the present invention;
Fig. 3 indicates the schematic diagram of a scenario of taking pictures of the photographic method of the present invention;
Fig. 4 indicates the structural schematic diagram of the 3rd embodiment of the mobile terminal of the present invention;
Fig. 5 indicates the block diagram of the fourth embodiment of mobile terminal of the present invention;
Fig. 6 indicates the block diagram of the 5th embodiment of mobile terminal of the present invention.
Specific implementation mode
Exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to be best understood from the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
First embodiment
As shown in Figure 1, the embodiment provides a kind of photographic method, it is applied to first terminal, this method is specific
Including:
Step 101:Obtain the first image of the collected reference object of first terminal.
Wherein, first terminal is the portable intelligents equipment such as mobile phone, tablet, the digital camera configured with camera.
Step 102:Obtain the second image of the collected reference object of at least one second terminal.
Wherein, second terminal is the portable intelligents equipment such as mobile phone, tablet, digital camera configured with camera, and with the
One terminal is in same scene.Further, first terminal and second terminal are different relative to the orientation of reference object, i.e., and the
One terminal and second terminal shoot reference object in different angles.First terminal is as main capture apparatus, Duo Ge
Two terminals are as auxiliary capture apparatus, or are from capture apparatus;Further, principal and subordinate's identity of first terminal and second terminal
Information can be interchanged.It is worth noting that collected first image of first terminal and collected second image of second terminal
It is the shooting image of reference object, only first terminal is different with the shooting angle of second terminal.
Step 103:According to the first image and the second image, the stereo-picture of reference object is synthesized.
First image and the second image are synthesized by preset three-dimensional composition algorithm.Specifically, the second image can
Can also be multiple to be one, the number of quantity and second terminal matches.In order to further ensure the first image and
The shooting of the real-time of two images, first terminal and second terminal can be uniformly controlled, specifically, can be by being set as main shooting
Standby first terminal is uniformly controlled.Such as:Detect whether itself camera meets shooting condition;If satisfied, then detecting whether to connect
Receive the information of awaiting orders of whole second terminals;If so, sending a photographing instruction respectively to first terminal and second terminal, make
One terminal and second terminal are taken pictures, wherein information of awaiting orders is that second terminal detects when itself meeting shooting condition to the
What one terminal was sent.
The embodiment of the present invention shoots the different angle of same reference object first terminal and at least one second terminal
Image information synthesized, generate the stereo-picture of the reference object, only solid need to can be realized by single camera mobile phone
It takes pictures and images, improve user experience;And the stereoscopic imaging apparatus without increasing profession, save three-dimensional imaging cost.
Second embodiment
First embodiment above to the present invention photographic method carried out simple introduction, below the present embodiment will be in conjunction with attached drawing
It is described further with concrete application scene.
As shown in Fig. 2, the photographic method of the embodiment of the present invention specifically includes:
Step 201:Establish the wireless connection between first terminal and at least one second terminal.
Wherein, the wireless connection between first terminal and an at least second terminal can specifically be established by following manner:It connects
The first connection request that at least one second terminal is sent is received, and first terminal and second terminal are established according to the first connection request
Between wireless connection;Alternatively, the second connection request is sent at least one second terminal, so that second terminal connects according to second
It connects and asks to establish the wireless connection between first terminal and second terminal.
Specifically, user can be by sending request from capture apparatus to main capture apparatus to establish connection, main shooting
Equipment establishes WIFI hot spot, inputs key from capture apparatus and is connected to the WIFI hot spot, true by main capture apparatus in user
After recognizing request, first terminal and second terminal can establish wireless connection.Alternatively, user can also be by from capture apparatus
One unlatching WIFI hot spot, main capture apparatus to from capture apparatus send request and key to be connected to the WIFI hot spot, with
Family is by the way that after capture apparatus confirmation request, first terminal and second terminal are established and be wirelessly connected.It is worth noting that it is above only
It is connected to by the WIFI between more equipment for example, it includes but not limited to such side that the present invention, which establishes in a manner of being wirelessly connected,
Formula, such as bluetooth connection, NFC connections etc. also belong to the content that the embodiment of the present invention is covered.
Step 202:Obtain the first image of the collected reference object of first terminal.
First terminal acquires the image of reference object by itself camera in real time, and carries out preview, when preview image is full
When the image quality of sufficient user requires, user can click virtual key of taking pictures, and at this moment system thinks to meet shooting condition when preceding camera,
It is automatic to detect whether to receive the information of awaiting orders that whole second terminals are sent, if so, the photographing instruction of response user and to the
Two terminals send the photographing instruction that control second terminal is taken pictures.
Step 203:Obtain the second image of the collected reference object of at least one second terminal.
Wherein, collected first image of first terminal and collected second image of second terminal are reference object
Image is shot, only first terminal is different with the shooting angle of second terminal.
Step 204:According to the first image and the second image, the stereo-picture of reference object is synthesized.
Specifically, building-up process can refer to following steps realization:According to the first image and the second image, first terminal is calculated
Visual angle interval between second terminal;By scheduled three-dimensional imaging algorithm, generate among multiple in the interval of visual angle
Image;First image, intermediate image and the second image are synthesized to the stereo-picture of reference object.
Further, the step of calculating the visual angle interval between first terminal and second terminal include:Obtain the first image
Focal position and focal length, determine the first shooting angle;Focal position and the focal length for obtaining the second image, determine the second shooting angle
Degree;According to the first shooting angle and the second shooting angle, the visual angle interval between first terminal and second terminal is calculated.According to
The shooting angle between first terminal and reference object can be obtained in the focal position of one image information and focal length, according to the second image
The shooting angle between second terminal and reference object can be obtained in the focal position of information and focal length.According to the first shooting angle and
Second shooting angle, the step of calculating the visual angle interval between first terminal and second terminal, specifically can refer to following manner reality
It is existing:According to the primary vector between the first shooting angle-determining first terminal and reference object;According to the second information of shooting angles
Secondary vector between second terminal and reference object;It is calculated between primary vector and secondary vector according to trigonometric function algorithm
Angle obtains the visual angle interval between first terminal and second terminal.
Specifically, it is illustrated by taking a second terminal as an example, as shown in figure 3, according to first terminal collected first
The focal position of image, and focusing focal length determine that the primary vector between first terminal and reference object is vector AO,
In, focal position determines that the directional information of vector AO, focusing focal length determine the length information of vector AO.It is acquired according to second terminal
The focal position of the second image arrived and focusing focal length determine that the secondary vector between second terminal and reference object is vector
BO, wherein focal position determines that the directional information of vector BO, focusing focal length determine the length information of vector BO.In this way according to
Measure AO and vector BO, you can determine N ° of visual angle interval before first terminal and second terminal.
Further, after first terminal and second terminal volume visual angle interval is calculated, pass through scheduled three-dimensional imaging
Algorithm, the step of generating multiple intermediate images in the interval of visual angle, specifically can refer to following steps and obtain:According to the first figure
Picture adjusts the second image, so that the second shooting angle is in the first shooting angle in same camera plane;By scheduled vertical
Body imaging algorithm generates multiple intermediate images in the interval of visual angle according to the second image after the first image and adjustment.Tool
Body, since first terminal in shooting process and second terminal present position are different, focusing focus is there is also difference, therefore first
There may be differences for the pitch angle of pitch angle and the second terminal shooting of terminal taking, in order to ensure that the stereo-picture of synthesis is not sent out
Raw jump can will shoot the first obtained image and the second image is adjusted, that is to say, that by the pitching of the second image taking
Angle is as far as possible close to the pitch angle of the first image taking, i.e. primary vector and second count corresponding to the first shooting angle
The secondary vector corresponding to angle is taken the photograph to be in same plane.Between being formed between first terminal and second terminal and reference object
Every N ° of angle, the focus of the first image and the second image is as the reference point for generating intermediate image.In order to further ensure synthesis
Effect, plane, focus institute where can determining the shooting angle of first terminal, camera according to the first image that first terminal acquires
In acquisition parameters such as positions, the second image is adjusted according to the acquisition parameters, so that the camera plane of the second image and the first image
It is identical.Further, since scene of the reference object in N ° of interval angles is covered by the first image and the second image, i.e.,
One terminal and second terminal take the first image and the second image includes whole scenes in N ° of interval angles, can lead in this way
It crosses three-dimensional imaging algorithm and generates P intermediate images, obtain the P sheet of planar figures in N ° of angle, each sheet of planar figure corresponds to not respectively
Same display figure, and the stereo-picture finally synthesized is the plan view for being switched to different visual angles.Wherein P is preset value, adjacent
Interval angles between image are N °/P, and therefore, the intermediate image of generation is more, P values are bigger, then corresponding details is abundanter,
The picture of the stereo-picture for being so synthetically generated the first image, intermediate image and the second image is finer and smoother, quality is higher, when
The stereoscopic viewing effect of different angle can be realized when P is sufficiently large.For example, two people of first, second carries out self-timer from different perspectives respectively
Group photo, the angle between the shooting angle of first and the shooting angle of second is 30 °, and it is 20 to preset and generate the number of intermediate image, that
Interval angles between adjacent image are 1.5 °, and each intermediate image is that first and second liang of people are flat in the group photo of different shooting angles
Face figure, these plan views carry out the group photo stereo-picture that synthesis can be obtained different visual angles in 30 °.
Step 205:The stereo-picture is preserved, and the stereo-picture is sent to second terminal.
It is preserved after generating stereo-picture, sliding mobile phone screen is i.e. changeable when watching the stereo-picture of preservation regards
Angle, that is, switch the plan view of different visual angles, and sliding screen is just to switch to different viewing angles, transfers corresponding angle in fact
Preserve image.
First terminal and at least one second terminal close the image of the different angle shooting of same reference object
At, generate the stereo-picture of the reference object, only solid picture-taking and camera shooting need to can be realized by single camera mobile phone, improve
User experience;And the stereoscopic imaging apparatus without increasing profession, save three-dimensional imaging cost.
3rd embodiment
It is that first embodiment and second embodiment are carried out with regard to the photographic method of the first terminal side of the present invention respectively above
Illustrate, below the present embodiment simple introduction will be done to its corresponding mobile terminal in conjunction with attached drawing.
Specifically, as shown in figure 4, the mobile terminal of the embodiment of the present invention includes:
First acquisition module 41, the first image for obtaining the collected reference object of first terminal;
Second acquisition module 42, the second image for obtaining the collected reference object of at least one second terminal;Its
In, first terminal and second terminal are different relative to the orientation of reference object;
Synthesis module 43, for according to the first image and the second image, synthesizing the stereo-picture of reference object.
Wherein, mobile terminal further includes:
Module is established, for establishing the wireless connection between first terminal and at least one second terminal.
Wherein, establishing module includes:
First establishing unit, the first connection request sent for receiving at least one second terminal, and connect according to first
It connects and asks to establish the wireless connection between first terminal and at least one second terminal;Alternatively,
Second establishes unit, for at least one second terminal send the second connection request so that second terminal according to
Second connection request establishes the wireless connection between first terminal and at least one second terminal.
Wherein, synthesis module 43 includes:
Computational submodule, for according to the first image and the second image, calculating regarding between first terminal and second terminal
Angular spacing;
Submodule is generated, for by scheduled three-dimensional imaging algorithm, generating multiple middle graphs in the interval of visual angle
Picture;
Synthesize submodule, the stereo-picture for the first image, intermediate image and the second image to be synthesized to reference object.
Wherein, computational submodule includes:
First acquisition unit, focal position and focal length for obtaining the first image, determines the first shooting angle;
Second acquisition unit, focal position and focal length for obtaining the second image, determines the second shooting angle;
Computing unit, for according to the first shooting angle and the second shooting angle, calculate first terminal and second terminal it
Between visual angle interval.
Computing unit includes:
First determination subelement, for according to first shooting angle-determining first terminal and reference object between first to
Amount;
Second determination subelement, for according to second shooting angle-determining second terminal and reference object between second to
Amount;
Computation subunit obtains first terminal and second eventually for calculating the angle between primary vector and secondary vector
Visual angle interval between end.
Wherein, generating submodule includes:
Adjustment unit, for according to the first image, adjusting the second image, so that the second shooting angle and the first shooting angle
In same plane;
Generation unit, for being generated according to the second image after the first image and adjustment in multiple in the interval of visual angle
Between image.
Wherein, mobile terminal further includes:
Processing module is sent to second terminal for preserving the stereo-picture, and by the stereo-picture.
It is worth noting that the mobile terminal of the embodiment of the present invention is mobile terminal corresponding with above-mentioned photographic method, on
The technique effect of the embodiment and realization of stating method is suitable for the embodiment of the mobile terminal.Wherein, the mobile terminal
First terminal and at least one second terminal synthesize the image of the different angle shooting of same reference object, generating should
The stereo-picture of reference object only need to can be realized solid picture-taking and camera shooting by single camera mobile phone, improve user experience;
And the stereoscopic imaging apparatus without increasing profession, save three-dimensional imaging cost.
Fourth embodiment
Fig. 5 is the block diagram of the mobile terminal 500 of another embodiment of the present invention, and mobile terminal as shown in Figure 5 includes:Extremely
Few a processor 501, memory 502, take pictures component 503 and user interface 504.Various components in mobile terminal 500 are logical
Bus system 505 is crossed to be coupled.It is understood that bus system 505 is for realizing the connection communication between these components.Bus
System 505 further includes power bus, controlling bus and status signal bus in addition in addition to including data/address bus.But in order to clear
For the sake of explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 504 may include display either pointing device (such as touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Both or may include volatile and non-volatile memory.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 RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is arbitrary its
It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, including 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 5022, including various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In an embodiment of the present invention, specifically can answer by the program or instruction of calling memory 502 to store
With the program or instruction stored in program 5022.Wherein, processor 501 is for obtaining the collected reference object of first terminal
First image;Obtain the second image of the collected reference object of at least one second terminal;According to the first image and the second figure
Picture synthesizes the stereo-picture of reference object;Wherein, first terminal and second terminal are different relative to the orientation of reference object.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 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 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) 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 can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, the above method is completed in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
It combines to realize.For hardware realization, processing unit may be implemented in one or more application-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.
Specifically, processor 501 is additionally operable to:According to the first image and the second image, first terminal and second terminal are calculated
Between visual angle interval;Generate multiple intermediate images in the interval of visual angle;By the first image, intermediate image and the second image
Synthesize the stereo-picture of reference object.
Further, processor 501 is additionally operable to:Focal position and the focal length for obtaining the first image, determine the first shooting angle
Degree;Focal position and the focal length for obtaining the second image, determine the second shooting angle;According to the first shooting angle and the second shooting angle
Degree calculates the visual angle interval between first terminal and second terminal.
Wherein, processor 501 is additionally operable to:According to first between the first shooting angle-determining first terminal and reference object
Vector;According to the secondary vector between the second shooting angle-determining second terminal and reference object;Calculate primary vector and second
Angle between vector obtains the visual angle interval between first terminal and second terminal.
Wherein, processor 501 is additionally operable to:According to the first image, the second image is adjusted, so that the second shooting angle and first
Shooting angle is in same plane;Multiple in the interval of visual angle are generated according to the second image after the first image and adjustment
Intermediate image.
Wherein, processor 501 is additionally operable to:The stereo-picture is preserved, and the stereo-picture is sent to second terminal.
The mobile terminal 500 of the embodiment of the present invention, by first terminal and at least one second terminal to same reference object
Different angle shooting image synthesized, generate the stereo-picture of the reference object, only need to be by single camera mobile phone
Solid picture-taking and camera shooting can be achieved, improve user experience;And the stereoscopic imaging apparatus without increasing profession, save it is three-dimensional at
As cost.
5th embodiment
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6
600 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 600 in Fig. 6 includes power supply 610, memory 620, input unit 630, display unit 640, takes pictures
Component 650, processor 660, WIFI (Wireless Fidelity) module 670, voicefrequency circuit 680 and RF circuits 690.
Wherein, input unit 630 can be used for receiving information input by user, and generate the user with mobile terminal 600
Setting and the related signal input of function control.Specifically, in the embodiment of the present invention, which may include touching
Control panel 631.Touch panel 631, also referred to as touch screen collect user on it or neighbouring touch operation (such as user
Use the operation of any suitable object or attachment such as finger, stylus on touch panel 631), and according to preset journey
Formula drives corresponding attachment device.Optionally, touch panel 631 may include two portions of touch detecting apparatus and touch controller
Point.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, it transmits a signal to
Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives
The processor 660, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type,
The multiple types such as infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can be with
Including other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control
Button processed, switch key etc.), it is trace ball, mouse, one or more in operating lever etc..
Wherein, display unit 640 can be used for showing information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 640 may include display panel 641, optionally, LCD or organic light emission may be used
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
It measures and sends processor 660 on it or after neighbouring touch operation to determine the type of touch event, be followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
Including the interface elements such as icon and/or widget desktop controls of at least one application program.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
A part by running or execute the software program and/or module that are stored in first memory 621, and is called and is stored in
Data in second memory 622 execute the various functions and processing data of mobile terminal, whole to be carried out to mobile terminal
Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by calling store the first memory 621 in software program and/or module and/
To the data in second memory 622, the first image of the collected reference object of first terminal is obtained;Obtain at least one
Second image of the collected reference object of two terminals;According to the first image and the second image, the stereogram of reference object is synthesized
Picture;Wherein, first terminal and second terminal are different relative to the orientation of reference object.
Specifically, processor 660 is additionally operable to:According to the first image and the second image, first terminal and second terminal are calculated
Between visual angle interval;Generate multiple intermediate images in the interval of visual angle;By the first image, intermediate image and the second image
Synthesize the stereo-picture of reference object.
Further, processor 660 is additionally operable to:Focal position and the focal length for obtaining the first image, determine the first shooting angle
Degree;Focal position and the focal length for obtaining the second image, determine the second shooting angle;According to the first shooting angle and the second shooting angle
Degree calculates the visual angle interval between first terminal and second terminal.
Wherein, processor 660 is additionally operable to:According to first between the first shooting angle-determining first terminal and reference object
Vector;According to the secondary vector between the second shooting angle-determining second terminal and reference object;Calculate primary vector and second
Angle between vector obtains the visual angle interval between first terminal and second terminal.
Wherein, processor 660 is additionally operable to:According to the first image, the second image is adjusted, so that the second shooting angle and first
Shooting angle is in same plane;Multiple in the interval of visual angle are generated according to the second image after the first image and adjustment
Intermediate image.
Wherein, processor 660 is additionally operable to:Stereo-picture is preserved, and the stereo-picture is sent to second terminal.
The mobile terminal 600 of the embodiment of the present invention, by first terminal and at least one second terminal to same reference object
Different angle shooting image synthesized, generate the stereo-picture of the reference object, only need to be by single camera mobile phone
Solid picture-taking and camera shooting can be achieved, improve user experience;And the stereoscopic imaging apparatus without increasing profession, save it is three-dimensional at
As cost.
Those of ordinary skill in the art may realize that lists 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, depends on the specific application and design constraint of 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 division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component 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 INDIRECT COUPLING or communication link by some interfaces, device or unit
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
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 read/write memory medium.Based on this understanding, technical scheme 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 expressed 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
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:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.
Claims (6)
1. a kind of photographic method is applied to first terminal, which is characterized in that including:
Obtain the first image of the collected reference object of the first terminal;
Obtain the second image of the collected reference object of at least one second terminal;Wherein, the first terminal and institute
The orientation that second terminal is stated relative to the reference object is different, and the first terminal and the second terminal are shot for unification
Control;
According to described first image and second image, calculate between the visual angle between the first terminal and the second terminal
Every;
Generate multiple intermediate images in the visual angle interval;
Described first image, the intermediate image and second image are synthesized to the stereo-picture of the reference object;
Wherein, it according to described first image and second image, calculates between the first terminal and the second terminal
The step of visual angle interval, including:
Focal position and the focal length for obtaining described first image, determine the first shooting angle;
Focal position and the focal length for obtaining second image, determine the second shooting angle;
The primary vector described in angle-determining between first terminal and the reference object is shot according to described first, wherein institute
The focal position for stating the first image determines that the directional information of the primary vector, the focal length of described first image determine described first
The length information of vector;
The secondary vector described in angle-determining between second terminal and the reference object is shot according to described second, wherein institute
The focal position for stating the second image determines that the directional information of the secondary vector, the focal length of second image determine described second
The length information of vector;
Calculate the angle between the primary vector and the secondary vector, obtain the first terminal and the second terminal it
Between visual angle interval.
2. photographic method according to claim 1, which is characterized in that generate among multiple in the visual angle interval
The step of image includes:
According to described first image, second image is adjusted, so that second shooting angle and first shooting angle
In same plane;
Multiple intermediate images in the visual angle interval are generated according to the second image after described first image and adjustment.
3. photographic method according to claim 1, which is characterized in that according to described first image and second image,
After the step of synthesizing the stereo-picture of the reference object, further include:
The stereo-picture is preserved, and the stereo-picture is sent to the second terminal.
4. a kind of mobile terminal is applied to first terminal, which is characterized in that including:
First acquisition module, the first image for obtaining the collected reference object of the first terminal;
Second acquisition module, the second image for obtaining the collected reference object of at least one second terminal;Wherein,
The first terminal and the second terminal are different relative to the orientation of the reference object, the first terminal and described second
Terminal is shot for being uniformly controlled;
Synthesis module, including:
Computational submodule, for according to described first image and second image, calculating the first terminal and described second
Visual angle interval between terminal;
Submodule is generated, for generating multiple intermediate images in the visual angle interval;
Submodule is synthesized, for described first image, the intermediate image and second image to be synthesized the shooting pair
The stereo-picture of elephant,
Wherein, the computational submodule includes:
First acquisition unit, the focal position for obtaining described first image and focal length, determine the first shooting angle;
Second acquisition unit, the focal position for obtaining second image and focal length, determine the second shooting angle;
Computing unit, for according to first shooting angle and second shooting angle, calculating the first terminal and institute
State the visual angle interval between second terminal;
Wherein, the computing unit includes:
First determination subelement, for being shot described in angle-determining between first terminal and the reference object according to described first
Primary vector, wherein the focal position of described first image determines the directional information of the primary vector, described first image
Focal length determine the length information of the primary vector;
Second determination subelement, for being shot described in angle-determining between second terminal and the reference object according to described second
Secondary vector, wherein the focal position of second image determines the directional information of the secondary vector, second image
Focal length determine the length information of the secondary vector;
Computation subunit obtains the first terminal for calculating the angle between the primary vector and the secondary vector
Visual angle interval between the second terminal.
5. mobile terminal according to claim 4, which is characterized in that the generation submodule includes:
Adjustment unit, for according to described first image, adjusting second image so that second shooting angle with it is described
First shooting angle is in same plane;
Generation unit is more in the visual angle interval for being generated according to the second image after described first image and adjustment
Open intermediate image.
6. mobile terminal according to claim 4, which is characterized in that the mobile terminal further includes:
Processing module is sent to the second terminal for preserving the stereo-picture, and by the stereo-picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610873213.4A CN106162150B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610873213.4A CN106162150B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106162150A CN106162150A (en) | 2016-11-23 |
CN106162150B true CN106162150B (en) | 2018-08-17 |
Family
ID=57341585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610873213.4A Active CN106162150B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106162150B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616702B (en) * | 2016-12-19 | 2021-02-12 | 纳恩博(北京)科技有限公司 | Image processing method and device |
CN106973237B (en) * | 2017-05-25 | 2019-03-01 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN107786866B (en) * | 2017-09-30 | 2020-05-19 | 深圳睛灵科技有限公司 | Binocular vision image synthesis system and method |
CN110769159B (en) * | 2019-11-19 | 2021-07-09 | 海南车智易通信息技术有限公司 | Photographing method, photographing device and panoramic photographing system |
CN112784081A (en) * | 2021-01-22 | 2021-05-11 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291441A (en) * | 2008-05-21 | 2008-10-22 | 深圳华为通信技术有限公司 | Terminal and image information processing method |
CN102231773A (en) * | 2011-05-26 | 2011-11-02 | 辜进荣 | Cell phone capable of acquiring three-dimensional images |
CN104581122A (en) * | 2015-01-27 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Three-dimensional image generating method and device, system and mobile terminals |
CN105872524A (en) * | 2016-04-08 | 2016-08-17 | 凯美斯三维立体影像(惠州)有限公司 | Imaging device and method of three-dimensional image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368826A (en) * | 2011-11-07 | 2012-03-07 | 天津大学 | Real time adaptive generation method from double-viewpoint video to multi-viewpoint video |
-
2016
- 2016-09-30 CN CN201610873213.4A patent/CN106162150B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291441A (en) * | 2008-05-21 | 2008-10-22 | 深圳华为通信技术有限公司 | Terminal and image information processing method |
CN102231773A (en) * | 2011-05-26 | 2011-11-02 | 辜进荣 | Cell phone capable of acquiring three-dimensional images |
CN104581122A (en) * | 2015-01-27 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Three-dimensional image generating method and device, system and mobile terminals |
CN105872524A (en) * | 2016-04-08 | 2016-08-17 | 凯美斯三维立体影像(惠州)有限公司 | Imaging device and method of three-dimensional image |
Also Published As
Publication number | Publication date |
---|---|
CN106162150A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106162150B (en) | A kind of photographic method and mobile terminal | |
US9674444B2 (en) | Apparatus and method for positioning image area using image sensor location | |
CN107395976B (en) | A kind of acquisition parameters setting method and mobile terminal | |
CN105959544B (en) | A kind of image processing method and mobile terminal of mobile terminal | |
CN108495032B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
JPH09322060A (en) | Image pickup device, image composing device and image composition system | |
CN104539849A (en) | Image pickup apparatus and its control method | |
CN109040524B (en) | Artifact eliminating method and device, storage medium and terminal | |
CN106412443A (en) | Shooting method and mobile terminal | |
CN107637063B (en) | Method for controlling function based on gesture of user and photographing device | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
KR20140106265A (en) | Apparatus and method for processing a image in device | |
CN108632543B (en) | Image display method, image display device, storage medium and electronic equipment | |
CN106131397A (en) | A kind of method that multi-medium data shows and electronic equipment | |
CN106412432A (en) | Photographing method and mobile terminal | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
CN107222737B (en) | A kind of processing method and mobile terminal of depth image data | |
CN104580899B (en) | The control method and imaging device of image objects | |
CN106200912B (en) | A kind of processing method that self-shooting bar is taken pictures and mobile terminal | |
US8194147B2 (en) | Image presentation angle adjustment method and camera device using the same | |
US20240031667A1 (en) | Image Processing Method, Mobile Terminal, and Storage Medium | |
CN107360364A (en) | A kind of image capturing method and master mobile terminal | |
CN106101552B (en) | A kind of panorama photographic method and mobile terminal | |
WO2017157293A1 (en) | Dual-camera mobile terminal and photography method thereof | |
CN116112787B (en) | Method for displaying thumbnail during photographing and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |