CN107483804A - A kind of image pickup method, mobile terminal and computer-readable recording medium - Google Patents

A kind of image pickup method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107483804A
CN107483804A CN201710912717.7A CN201710912717A CN107483804A CN 107483804 A CN107483804 A CN 107483804A CN 201710912717 A CN201710912717 A CN 201710912717A CN 107483804 A CN107483804 A CN 107483804A
Authority
CN
China
Prior art keywords
image
camera
region
picture
axis
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.)
Withdrawn
Application number
CN201710912717.7A
Other languages
Chinese (zh)
Inventor
卢亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710912717.7A priority Critical patent/CN107483804A/en
Publication of CN107483804A publication Critical patent/CN107483804A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of image pickup method, mobile terminal and computer-readable recording medium, the image pickup method controls the first camera to rotate first angle to first direction, and second camera rotates second angle to second direction;First camera is found a view, obtains the first image, the second camera is found a view, obtains the second image;Described first image and second image are synthesized, obtains finding a view picture comprising first camera and the second camera is found a view the target image of picture.So, wide angle shot can be realized using image pickup method of the present invention, and the photo that shooting obtains will not produce distortion, improve wide angle shot quality.

Description

A kind of image pickup method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to technique for taking field, more particularly to a kind of image pickup method, mobile terminal and computer-readable storage Medium.
Background technology
With the continuous development of electronic technology, the function of mobile terminal (such as smart mobile phone, tablet personal computer etc.) is increasingly It is powerful, play indispensable key player in the work and life of people.Mobile terminal typically all has at present Camera function, user can be shot using mobile terminal whenever and wherever possible, record Life intravenous drip.
When user wants shooting wide-angle photo, it is necessary to gather picture by constantly can be manually rotated camera, will adopt All pictures collected synthesize a wide-angle photo on mobile terminals, but due to user during terminal is rotated easily Shake, so as to cause the picture of collection not in same level, and then cause the wide-angle photo of synthesis to produce distortion.
The content of the invention
In view of this, the present invention proposes a kind of image pickup method, mobile terminal and computer-readable recording medium, with solution State technical problem.
First, to achieve the above object, the present invention proposes a kind of image pickup method, described mobile whole applied to mobile terminal End includes two cameras positioned at the mobile terminal the same face, and methods described includes:
The first camera is controlled to rotate first angle to first direction, second camera rotates second jiao to second direction Degree;
First camera is found a view, obtains the first image, the second camera is found a view, obtains the second image;
Described first image and second image are synthesized, obtain finding a view picture comprising first camera And the second camera is found a view the target image of picture.
Alternatively, the first direction is opposite direction with the second direction.
Alternatively, the first camera of the control rotates first angle to first direction, and second camera is to second direction Second angle is rotated, including:
The stabilization eyeglass of first camera is adjusted so that first camera is produced to first direction rotation first The equivalent rotary of angle;
The stabilization eyeglass of the second camera is adjusted so that the second camera is produced to second direction rotation second The equivalent rotary of angle.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
The image of first area in described first image is bonded with second image, obtains target image, wherein, institute The image for stating first area is different from second image;Or
The image of second area in second image is bonded with described first image, obtains target image, wherein, institute The image for stating second area is different from described first image.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
Determine the axis of described first image and second image;
Take the image in the 3rd region in described first image to be bonded with four-range image in the second image, obtain target Image, wherein, the 3rd region is that with the region of first direction, the 4th region is institute for axis in described first image Axis is stated in the second image with the region of second direction.
Alternatively, first camera is left camera, and the second camera is right camera, the first direction For left-hand, the second direction is dextrad;
3rd region is that with the region on a left side, the 4th region is second figure for axis in described first image Axis is with the region on the right side as in.
Alternatively, the first angle is identical with the second angle.
Alternatively, it is described to take in described first image four-range image in the image and the second image in the 3rd region to paste Close, before obtaining target image, the image pickup method also includes:
Axis is using the picture width in the region of first direction as the first picture width in acquisition described first image;
Axis is obtained in second image using the picture width in the region of second direction as the second picture width;
Determine that first picture width and the second picture width minimum value are target picture width;
Determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and really Axis is using the region of the target picture width of second direction as the 4th region in fixed second image.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes storage Device, at least one processor and it is stored on the memory and can be at least one journey of at least one computing device Sequence, the step in the method described in any of the above-described is realized when at least one program is by least one computing device Suddenly.
Further, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, the computer Readable storage medium storing program for executing is stored with the executable at least one program of computer, and at least one program is performed by the computer When the computer is performed the step in the method described in any of the above-described.
Compared to prior art, image pickup method proposed by the invention controls the first camera to first direction rotation first Angle, second camera rotate second angle to second direction;First camera is found a view, obtains the first image, to institute State second camera to find a view, obtain the second image;Described first image and second image are synthesized, comprising The target image of first camera finds a view picture and the second camera is found a view picture.So, using institute of the present invention The image pickup method stated can realize wide angle shot, and the photo that shooting obtains will not produce distortion, improve wide angle shot quality.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of image pickup method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another image pickup method provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of a kind of first image and the second image provided in an embodiment of the present invention;
Fig. 6 is the target image schematic diagram of the first image and the synthesis of the second image shown in Fig. 5;
Fig. 7 is the schematic flow sheet of another image pickup method provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of another first image and the second image provided in an embodiment of the present invention;
Fig. 9 is the target image schematic diagram of the first image and the synthesis of the second image shown in Fig. 8;
Figure 10 is the schematic diagram of another first image and the second image provided in an embodiment of the present invention;
Figure 11 is the target image schematic diagram of the first image and the synthesis of the second image shown in Figure 10;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, CD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and at least one element that the input received is transferred in mobile terminal 100 or can use In transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on the above-mentioned hardware configuration of mobile terminal 100 and communications network system, each embodiment of the inventive method is proposed. In the embodiment of the present invention, the mobile terminal 100 also includes two cameras for being arranged on the same face of mobile terminal 100, Described two cameras include optical anti-vibration camera lens (OSI), and the optical anti-vibration camera lens includes stabilization eyeglass.
Refering to Fig. 3, Fig. 3 is a kind of step flow chart of image pickup method provided in an embodiment of the present invention, methods described application In a mobile terminal, as shown in figure 3, methods described includes:
Step 301, the first camera of control rotate first angle to first direction, and second camera rotates to second direction Second angle.
In the step, methods described is when the mobile terminal is opened described two cameras and shot, described in control First camera rotates first angle to first direction, and second camera rotates second angle to second direction.The first party To being opposite direction with the second direction, the first angle can be the same or different with the second angle.
In embodiments of the present invention, first camera is the left camera of the mobile terminal, second shooting Head is the right camera of the mobile terminal.The first direction is left-hand, and the second direction is dextrad.It is appreciated that It is that in the case of this kind, methods described controls first camera to rotate first angle to first direction, second camera is to the The mode that two directions rotate second angle specially controls the left camera of the mobile terminal to be controlled to anticlockwise first angle The right camera of the mobile terminal is to right rotation second angle.
The mode of methods described control camera rotation can realize camera by adjusting the stabilization eyeglass of camera Equivalent rotary.Specifically, methods described controls first camera to rotate first angle, second camera to first direction Can be specifically that the stabilization eyeglass for adjusting first camera causes first shooting to second direction rotation second angle Head produces the equivalent rotary to first direction rotation first angle, and the stabilization eyeglass for adjusting the second camera causes described the Two cameras produce the equivalent rotary to the second square rotation second angle.
Step 302, first camera is found a view, obtain the first image, the second camera is found a view, obtain Two images.
In the step, methods described is individually found a view first camera and the second camera respectively, is obtained First image and the second image.It is understood that because in step 301, first camera images with described second The direction of head rotation is different, and therefore, the picture of finding a view of the find a view picture and the second camera of first camera is endless Exactly the same, i.e. described first image and second image is incomplete same.
Step 303, described first image and second image synthesized, obtain including first camera Find a view picture and the second camera is found a view the target image of picture.
In the step, methods described is synthesized described first image and second image, is obtained comprising described The target image of first camera finds a view picture and the second camera is found a view picture.So, the step can be by two The difference of camera picture of finding a view is fused in target image, realizes wide angle shot, and target image will not produce distortion, is improved Shooting effect.
In the embodiment of the present invention, methods described can be using one in described first image and second image as master Image, the non-duplicate image then obtained in another image are bonded with the master image, obtain the target image.
The image of first area in described first image can be bonded by methods described with second image, obtain target Image, wherein, the image of the first area is different from second image, i.e., by described first image with second figure The image differed as in is bonded with second image.Methods described can also be by the figure of second area in second image As being bonded with described first image, target image is obtained, wherein, the image of the second area is different from described first image, It will be bonded in second image with the image differed in described first image with described first image.
In other embodiments of the present invention, methods described can also determine described first image and second image Axis, the image in the 3rd region in described first image is then taken to be bonded with four-range image in second image, Target image is obtained, wherein, the 3rd region is that axis is in described first image with first direction, the 4th region Axis is with the region of second direction in second image.
In the present embodiment, the image pickup method controls the first camera to rotate first angle, the second shooting to first direction Head rotates second angle to second direction;First camera is found a view, obtains the first image, the second camera is taken Scape, obtain the second image;Described first image and second image are synthesized, obtain including first camera Find a view picture and the second camera is found a view the target image of picture.So, using image pickup method energy of the present invention Wide angle shot is enough realized, and the photo that shooting obtains will not produce distortion, improve wide angle shot quality.
Alternatively, the first direction is opposite direction with the second direction.
Alternatively, the first camera of the control rotates first angle to first direction, and second camera is to second direction Second angle is rotated, including:
The stabilization eyeglass of first camera is adjusted so that first camera is produced to first direction rotation first The equivalent rotary of angle;
The stabilization eyeglass of the second camera is adjusted so that the second camera is produced to second direction rotation second The equivalent rotary of angle.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet of another image pickup method provided in an embodiment of the present invention, as shown in figure 4, Methods described includes:
Step 401, the first camera of control rotate first angle to first direction, and second camera rotates to second direction Second angle.
Step 402, first camera is found a view, obtain the first image, the second camera is found a view, obtain Two images.
The step 401 and step 402 are identical with the step 301 in the embodiment shown in Fig. 3 and step 302, herein not Repeat again.
Step 403, the image of first area in described first image is bonded with second image, obtains target figure Picture, wherein, the image of the first area is different from second image;Or the figure by second area in second image As being bonded with described first image, target image is obtained, wherein, the image of the second area is different from described first image.
In the embodiment, methods described is using one in described first image and second image as master image, so The non-duplicate image obtained afterwards in another image is bonded with the master image, obtains the target image.Specifically, methods described The image of first area in first image is bonded with second image, obtains target image, wherein, the first area Image it is different from second image;Or the image of the second area in second image and described first image are pasted Close, obtain target image, wherein, the image of the second area is different from described first image.
For example, region 5011 and region 5022 are included refering to Fig. 5, the first image 501, the second image 502 includes Region 5021 and region 5022, wherein, what the region 5022 of the image 502 of region 5012 and second of the first image 501 included Image is identical, is image A, and the region 5011 of the first image 501 includes image B, and the region 5022 of the second image 502 includes figure As C, methods described can determine that the region 5011 of described first image 501 is the first area, then by region 5011 Image (i.e. image B) is bonded with the second image 502, obtains target image 600 as shown in Figure 6.Similarly, methods described also may be used To determine the region 5022 of second image as the second area, then by the image (i.e. image C) in region 5022 and the One image 501 is bonded, and obtains target image 600 as shown in Figure 6.
Referring to Fig. 7, Fig. 7 is the schematic flow sheet of another image pickup method provided in an embodiment of the present invention, as shown in fig. 7, Methods described includes:
Step 701, the first camera of control rotate first angle to first direction, and second camera rotates to second direction Second angle.
Step 702, first camera is found a view, obtain the first image, the second camera is found a view, obtain Two images.
The step 701 and step 702 are identical with the step 301 in the embodiment shown in Fig. 3 and step 302, herein not Repeat again.
Step 703, the axis for determining described first image and second image.
In the step, methods described determines the axis of described first image and second image.It is appreciated that It is that axis is the most middle axis of image, such as dotted line as shown in Figure 8.
Step 704, the image in the 3rd region in described first image is taken to be bonded with four-range image in the second image, Target image is obtained, wherein, the 3rd region is that axis is with the region of first direction in described first image, the described 4th Region is axis in second image with the region of second direction.
In the step, methods described takes in described first image four-range in the image and the second image in the 3rd region Image is bonded, and obtains target image.Wherein, the 3rd region is axis in described first image with the area of first direction Domain, the 4th region are axis in second image with the region of second direction.
For example, referring to Fig. 8, the first image 801 includes region 8011 and region 8012, and wherein region 8011 includes figure As A1, region 8012 includes image A2;Second image 802 includes region 8021 and region 8022, and wherein region 8021 includes figure As B1, region 8022 includes image B2.Assuming that the first direction is left-hand, the second direction is dextrad, and methods described can With axis in the first image 801 of determination with the region (i.e. region 8011) on a left side for the 3rd region, in determining in the second image 802 Axis with the right side region (i.e. region 8022) for the 4th region, and by the 3rd region of determination and the 4th region fitting, obtain Target image 900 as shown in Figure 9, the image A1 in the inclusion region 8011 of target image 900 and the figure in region 8022 As B2.
Alternatively, first camera is left camera, and the second camera is right camera, the first direction For left-hand, the second direction is dextrad;
3rd region is that with the region on a left side, the 4th region is second figure for axis in described first image Axis is with the region on the right side as in.
Alternatively, the first angle is identical with the second angle.
Alternatively, it is described to take in described first image four-range image in the image and the second image in the 3rd region to paste Close, before obtaining target image, the image pickup method also includes:
Axis is using the picture width in the region of first direction as the first picture width in acquisition described first image;
Axis is obtained in second image using the picture width in the region of second direction as the second picture width;
Determine that first picture width and the second picture width minimum value are target picture width;
Determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and really Axis is using the region of the target picture width of second direction as the 4th region in fixed second image.
In the embodiment, when the picture width of described first image and second image differs, methods described can To determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and described in determination Axis is using the region of the target picture width of the second image as the 4th region in second image.
Specifically, methods described can obtain in described first image axis with the picture width in the region of first direction For the first picture width, it is wide as the second picture using the picture width in the region of second direction to obtain axis in second image Degree, it is then determined that first picture width and the second picture width minimum value are target picture width.
For example, as shown in Figure 10, the first image 1001 includes region 100111, region 100112 and region 10012, wherein, region 100111 includes image M11, and region 100112 includes image M12, and region 100112 includes image M2; Second image 1002 includes region 10021 and region 10022, wherein, region 10021 includes image N1, and region 10022 includes Image N2.Axis is using the picture width in the region on a left side as L1 in described first image 1001, axis in the second image 1002 Using the picture width in the region on the right side as L2, L1 is more than L2, and methods described can determine that L2 is target picture width.Then is obtained Axis is with left width L2 region (i.e. region 100112 in Figure 10) in one image 1001, and obtains the second image 1002 Middle axis is with right width L2 region (i.e. region 10022 in Figure 10), and methods described is by region 100112 and region 10022 Fitting, obtain the target image 1100 for including image M11 and image N2 as shown in figure 11.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method is can be with Completed by the related hardware of at least one programmed instruction, at least one program can be stored in shifting as shown in Figure 1 In the memory 109 of dynamic terminal 100, and can the processor 110 perform, at least one program is by the processor During 110 execution, following steps are realized:
The first camera is controlled to rotate first angle to first direction, second camera rotates second jiao to second direction Degree;
First camera is found a view, obtains the first image, the second camera is found a view, obtains the second image;
Described first image and second image are synthesized, obtain finding a view picture comprising first camera And the second camera is found a view the target image of picture.
Alternatively, the first direction is opposite direction with the second direction.
Alternatively, the first camera of the control rotates first angle to first direction, and second camera is to second direction Second angle is rotated, including:
The stabilization eyeglass of first camera is adjusted so that first camera is produced to first direction rotation first The equivalent rotary of angle;
The stabilization eyeglass of the second camera is adjusted so that the second camera is produced to second direction rotation second The equivalent rotary of angle.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
The image of first area in described first image is bonded with second image, obtains target image, wherein, institute The image for stating first area is different from second image;Or
The image of second area in second image is bonded with described first image, obtains target image, wherein, institute The image for stating second area is different from described first image.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
Determine the axis of described first image and second image;
Take the image in the 3rd region in described first image to be bonded with four-range image in the second image, obtain target Image, wherein, the 3rd region is that with the region of first direction, the 4th region is institute for axis in described first image Axis is stated in the second image with the region of second direction.
Alternatively, first camera is left camera, and the second camera is right camera, the first direction For left-hand, the second direction is dextrad;
3rd region is that with the region on a left side, the 4th region is second figure for axis in described first image Axis is with the region on the right side as in.
Alternatively, the first angle is identical with the second angle.
Alternatively, it is described to take in described first image four-range image in the image and the second image in the 3rd region to paste Close, before obtaining target image, the image pickup method also includes:
Axis is using the picture width in the region of first direction as the first picture width in acquisition described first image;
Axis is obtained in second image using the picture width in the region of second direction as the second picture width;
Determine that first picture width and the second picture width minimum value are target picture width;
Determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and really Axis is using the region of the target picture width of second direction as the 4th region in fixed second image.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method is can be with Completed by the related hardware of at least one programmed instruction, at least one program can be stored in one and computer-readable deposit In storage media, when at least one program is performed, following steps are realized:
The first camera is controlled to rotate first angle to first direction, second camera rotates second jiao to second direction Degree;
First camera is found a view, obtains the first image, the second camera is found a view, obtains the second image;
Described first image and second image are synthesized, obtain finding a view picture comprising first camera And the second camera is found a view the target image of picture.
Alternatively, the first direction is opposite direction with the second direction.
Alternatively, the first camera of the control rotates first angle to first direction, and second camera is to second direction Second angle is rotated, including:
The stabilization eyeglass of first camera is adjusted so that first camera is produced to first direction rotation first The equivalent rotary of angle;
The stabilization eyeglass of the second camera is adjusted so that the second camera is produced to second direction rotation second The equivalent rotary of angle.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
The image of first area in described first image is bonded with second image, obtains target image, wherein, institute The image for stating first area is different from second image;Or
The image of second area in second image is bonded with described first image, obtains target image, wherein, institute The image for stating second area is different from described first image.
Alternatively, it is described by described first image and second image is synthesized, obtain taking the photograph comprising described first As head finds a view picture and the second camera is found a view the target image of picture, including:
Determine the axis of described first image and second image;
Take the image in the 3rd region in described first image to be bonded with four-range image in the second image, obtain target Image, wherein, the 3rd region is that with the region of first direction, the 4th region is institute for axis in described first image Axis is stated in the second image with the region of second direction.
Alternatively, first camera is left camera, and the second camera is right camera, the first direction For left-hand, the second direction is dextrad;
3rd region is that with the region on a left side, the 4th region is second figure for axis in described first image Axis is with the region on the right side as in.
Alternatively, the first angle is identical with the second angle.
Alternatively, it is described to take in described first image four-range image in the image and the second image in the 3rd region to paste Close, before obtaining target image, the image pickup method also includes:
Axis is using the picture width in the region of first direction as the first picture width in acquisition described first image;
Axis is obtained in second image using the picture width in the region of second direction as the second picture width;
Determine that first picture width and the second picture width minimum value are target picture width;
Determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and really Axis is using the region of the target picture width of second direction as the 4th region in fixed second image.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of image pickup method, applied to mobile terminal, the mobile terminal includes two positioned at the mobile terminal the same face Individual camera, it is characterised in that methods described includes:
The first camera is controlled to rotate first angle to first direction, second camera rotates second angle to second direction;
First camera is found a view, obtains the first image, the second camera is found a view, obtains the second image;
Described first image and second image are synthesized, obtain comprising first camera find a view picture and The second camera is found a view the target image of picture.
2. image pickup method as claimed in claim 1, it is characterised in that the first direction is opposite with the second direction Direction.
3. image pickup method as claimed in claim 2, it is characterised in that the first camera of the control is to first direction rotation the One angle, second camera rotate second angle to second direction, including:
The stabilization eyeglass of first camera is adjusted so that first camera, which is produced to first direction, rotates first angle Equivalent rotary;
The stabilization eyeglass of the second camera is adjusted so that the second camera, which is produced to second direction, rotates second angle Equivalent rotary.
4. image pickup method as claimed in claim 2, it is characterised in that described by described first image and second image Synthesized, obtain finding a view picture comprising first camera and the second camera is found a view the target image of picture, Including:
The image of first area in described first image is bonded with second image, obtains target image, wherein, described The image in one region is different from second image;Or
The image of second area in second image is bonded with described first image, obtains target image, wherein, described The image in two regions is different from described first image.
5. image pickup method as claimed in claim 2, it is characterised in that described by described first image and second image Synthesized, obtain finding a view picture comprising first camera and the second camera is found a view the target image of picture, Including:
Determine the axis of described first image and second image;
Take the image in the 3rd region in described first image to be bonded with four-range image in the second image, obtain target figure Picture, wherein, the 3rd region is that with the region of first direction, the 4th region is described for axis in described first image Axis is with the region of second direction in second image.
6. image pickup method as claimed in claim 5, it is characterised in that first camera is left camera, described second Camera is right camera, and the first direction is left-hand, and the second direction is dextrad;
3rd region is that with the region on a left side, the 4th region is in second image for axis in described first image Axis is with the region on the right side.
7. image pickup method as claimed in claim 5, it is characterised in that the first angle is identical with the second angle.
8. image pickup method as claimed in claim 5, it is characterised in that the image for taking the 3rd region in described first image It is bonded with four-range image in the second image, before obtaining target image, the image pickup method also includes:
Axis is using the picture width in the region of first direction as the first picture width in acquisition described first image;
Axis is obtained in second image using the picture width in the region of second direction as the second picture width;
Determine that first picture width and the second picture width minimum value are target picture width;
Determine that axis is using the region of the target picture width of first direction as the 3rd region in described first image, and determine institute Axis is stated in the second image using the region of the target picture width of second direction as the 4th region.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes memory, at least one processor and is stored in institute State on memory and can at least one program of at least one computing device, at least one program by it is described extremely The step in the method described in any one of the claims 1~8 is realized during a few computing device.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer executable at least One program, it is characterised in that at least one program makes the computer perform above-mentioned power when being performed by the computer Profit requires the step in the method described in 1~8 any one.
CN201710912717.7A 2017-09-30 2017-09-30 A kind of image pickup method, mobile terminal and computer-readable recording medium Withdrawn CN107483804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912717.7A CN107483804A (en) 2017-09-30 2017-09-30 A kind of image pickup method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912717.7A CN107483804A (en) 2017-09-30 2017-09-30 A kind of image pickup method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107483804A true CN107483804A (en) 2017-12-15

Family

ID=60605833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912717.7A Withdrawn CN107483804A (en) 2017-09-30 2017-09-30 A kind of image pickup method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107483804A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156374A (en) * 2017-12-25 2018-06-12 努比亚技术有限公司 A kind of image processing method, terminal and readable storage medium storing program for executing
CN110177216A (en) * 2019-06-28 2019-08-27 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and storage medium
CN111131706A (en) * 2019-12-30 2020-05-08 维沃移动通信有限公司 Video picture processing method and electronic equipment
CN111215991A (en) * 2020-01-22 2020-06-02 黄惠惠 Steering wheel processing rotary driving device based on machine vision
CN112472110A (en) * 2019-09-12 2021-03-12 通用电气精准医疗有限责任公司 X-ray imaging system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100069844A (en) * 2008-12-17 2010-06-25 삼성전자주식회사 Mobile terminal and method for taking image
CN105262951A (en) * 2015-10-22 2016-01-20 努比亚技术有限公司 Mobile terminal having binocular camera and photographing method
CN105635579A (en) * 2015-12-31 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Image display method and device
CN106534649A (en) * 2016-12-20 2017-03-22 北京小米移动软件有限公司 Composing method and device for double rotary cameras and mobile terminal
CN206181216U (en) * 2016-12-02 2017-05-17 杭州海康威视数字技术股份有限公司 Monitoring camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100069844A (en) * 2008-12-17 2010-06-25 삼성전자주식회사 Mobile terminal and method for taking image
CN105262951A (en) * 2015-10-22 2016-01-20 努比亚技术有限公司 Mobile terminal having binocular camera and photographing method
CN105635579A (en) * 2015-12-31 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Image display method and device
CN206181216U (en) * 2016-12-02 2017-05-17 杭州海康威视数字技术股份有限公司 Monitoring camera
CN106534649A (en) * 2016-12-20 2017-03-22 北京小米移动软件有限公司 Composing method and device for double rotary cameras and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156374A (en) * 2017-12-25 2018-06-12 努比亚技术有限公司 A kind of image processing method, terminal and readable storage medium storing program for executing
CN108156374B (en) * 2017-12-25 2020-12-08 努比亚技术有限公司 Image processing method, terminal and readable storage medium
CN110177216A (en) * 2019-06-28 2019-08-27 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and storage medium
CN112472110A (en) * 2019-09-12 2021-03-12 通用电气精准医疗有限责任公司 X-ray imaging system and method
CN111131706A (en) * 2019-12-30 2020-05-08 维沃移动通信有限公司 Video picture processing method and electronic equipment
CN111131706B (en) * 2019-12-30 2022-04-01 维沃移动通信有限公司 Video picture processing method and electronic equipment
CN111215991A (en) * 2020-01-22 2020-06-02 黄惠惠 Steering wheel processing rotary driving device based on machine vision

Similar Documents

Publication Publication Date Title
CN107659758A (en) Periscopic filming apparatus and mobile terminal
CN107770448A (en) A kind of image-pickup method, mobile terminal and computer-readable storage medium
CN107317896A (en) A kind of Double-camera device and mobile terminal
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN107463481A (en) Data interactive method, mobile terminal and storage medium
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107483804A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107133939A (en) A kind of picture synthesis method, equipment and computer-readable recording medium
CN108055411A (en) Flexible screen display methods, mobile terminal and computer readable storage medium
CN107343064A (en) A kind of mobile terminal of two-freedom rotating camera
CN107666526A (en) A kind of terminal with camera
CN107194963A (en) A kind of dual camera image processing method and terminal
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN107682630A (en) Dual camera anti-fluttering method, mobile terminal and computer-readable recording medium
CN107404618A (en) A kind of image pickup method and terminal
CN107948430A (en) A kind of display control method, mobile terminal and computer-readable recording medium
CN107239205A (en) A kind of photographic method, mobile terminal and storage medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN107770443A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN107678625A (en) Information Sharing menu display method, mobile terminal and computer-readable recording medium
CN108196777A (en) A kind of flexible screen application process, equipment and computer readable storage medium
CN107613206A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107818022A (en) Application programming interfaces merging method, mobile terminal and computer-readable recording medium
CN107846534A (en) A kind of camera and photographic method

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171215