WO2017067520A1 - Mobile terminal having binocular cameras and photographing method therefor - Google Patents

Mobile terminal having binocular cameras and photographing method therefor Download PDF

Info

Publication number
WO2017067520A1
WO2017067520A1 PCT/CN2016/103015 CN2016103015W WO2017067520A1 WO 2017067520 A1 WO2017067520 A1 WO 2017067520A1 CN 2016103015 W CN2016103015 W CN 2016103015W WO 2017067520 A1 WO2017067520 A1 WO 2017067520A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
photo
angle
mobile terminal
photographing
Prior art date
Application number
PCT/CN2016/103015
Other languages
French (fr)
Chinese (zh)
Inventor
谢书勋
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017067520A1 publication Critical patent/WO2017067520A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • This document relates to, but is not limited to, the field of mobile terminal technologies, and in particular, to a mobile terminal having a binocular camera and a photographing method thereof.
  • the camera used in mobile terminals such as mobile phones and tablet computers has an equivalent focal length of substantially 35 mm to 28 mm, and the corresponding maximum field of view angle is between 63° and 75°. Due to the lens process, the ultra-wide-angle lens module is used on the mobile phone, that is, the lens module with a horizontal viewing angle of 80° or more, and the photo will have a relatively large distortion when photographed. Therefore, if the user wants to take a wide-angle photo, he can synthesize a wide-angle photo on the mobile phone after taking a photo with a rotating mobile phone. However, when the camera is rotated, the hand is liable to sway during the process of rotating the mobile phone, and the entire rotation process is not on the same horizontal line, resulting in poor image quality.
  • the embodiment of the invention provides a mobile terminal with a binocular camera and a photographing method thereof, which can realize a wide-angle photograph with good imaging quality conveniently and quickly.
  • An embodiment of the present invention provides a mobile terminal having a binocular camera, the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are disposed to rotate relative to the mobile terminal.
  • the rotation axes of the first camera and the second camera are respectively perpendicular to the connection between the first camera and the second camera, and the mobile terminal having the binocular camera includes:
  • the photographing module is configured to control the first camera and the second camera to take a photo with the same photographing parameter when receiving the wide-angle photographing instruction, wherein the first camera after the rotation a sum of an angle between a head and a plane in which the own rotation axis is located and an angle between the rotated second camera and a plane in which the rotation axis thereof is located is greater than zero, and smaller than the first camera and the second One-half of the sum of the field of view of the camera;
  • a photo acquisition module configured to acquire a first photo taken by the first camera and a second photo taken by the second camera
  • the photo synthesis module is configured to splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo.
  • the camera module includes:
  • the angle adjustment unit is configured to control the first camera and the second camera to rotate to a first preset angle and a second preset angle respectively when receiving the wide-angle photographing instruction, and turn on the first camera and the second camera Wherein the sum of the first preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera;
  • the photographing unit is configured to set the first camera and the second camera to the same photographing parameter, and perform photographing according to the photographing parameter.
  • the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by adjusting the photographing parameter of the second camera to The first camera is consistent.
  • the photo synthesis module includes:
  • the area dividing unit is configured to uniformly divide the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquire each of the sub-areas Gray value
  • a sum determination unit configured to acquire a sum of grayscale differences of overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determine the grayscale difference Whether the sum is less than or equal to the preset value
  • a photo synthesizing unit configured to: if the sum of the gradation difference values is less than or equal to the preset value, the first preset area of the first photo and the second pre-preparation of the second photo The region is fused to obtain the wide-angle photograph.
  • the photo synthesis module further includes:
  • the area adjustment unit is configured to adjust a position of the first preset area on the first photo and/or the second preset area if the sum of the grayscale difference values is greater than the preset value At a position on the second photo, until the sum of the acquired gradation difference values is less than or equal to the preset value.
  • the photographing parameters include: exposure value, exposure time, sensitivity, and aperture size.
  • the photo synthesis module is configured to perform splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo by:
  • the sum determination unit is configured to superimpose the preset regions of the first photo and the second photo, calculate a sum of grayscale differences of the sub-regions corresponding to each of the two photos, and determine Whether the sum of the gradation difference values is less than or equal to a preset value.
  • the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by:
  • the first preset area and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
  • an embodiment of the present invention further provides a photographing method of a mobile terminal having a binocular camera
  • the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are disposed opposite to each other.
  • Rotating the mobile terminal, the rotation axes of the first camera and the second camera are perpendicular to the connection between the first camera and the second camera, respectively, and the photographing method of the mobile terminal with the binocular camera include:
  • the first photo and the second photo are spliced and combined to obtain a wide-angle photograph.
  • the step of controlling the first camera and the second camera to take a photo with the same camera parameter when receiving the wide-angle camera instruction comprises:
  • the first camera and the second camera are set to the same photographing parameter, and photographing is performed according to the photographing parameter.
  • the step of setting the first camera and the second camera to the same camera parameter comprises:
  • the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo includes:
  • the first preset area of the first photo and the second preset area of the second photo are merged to obtain a A wide-angle photo.
  • the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo further comprises: acquiring each of the sub-regions and the second photo of the first photo a sum of grayscale differences of overlapping portions of each of said sub-regions, and determining a sum of said grayscale differences After the step of being less than or equal to the preset value,
  • Adjusting a position of the first preset area on the first photo and/or the second preset area in the second photo if the sum of the grayscale differences is greater than the preset value The upper position until the sum of the acquired gradation difference values is less than or equal to the preset value.
  • the photographing parameters include: exposure value, exposure time, sensitivity, and aperture size.
  • the splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo includes:
  • the sum of the gradation difference values of the overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo is:
  • the preset areas of the first photo and the second photo are superimposed, and the sum of the gradation differences of the sub-regions corresponding to each of the two photos is calculated.
  • the step of setting the first camera and the second camera to the same camera parameter comprises:
  • the first preset area and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
  • the mobile terminal with binocular camera and the photographing method thereof rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the field of view of the two cameras overlaps, and the first The camera and the second camera simultaneously take a picture, and the obtained two photos are spliced and combined to obtain a wide-angle photo.
  • the mobile terminal and the photographing method thereof in the embodiment of the invention do not need to use an external lens module, and do not need to rotate the mobile phone when taking a photo. You can take wide-angle photos with good image quality quickly and easily.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • Figure 2 is a block diagram showing the electrical structure of the camera of Figure 1;
  • FIG. 3 is a schematic diagram of functional modules of a first embodiment of a mobile terminal having a binocular camera according to the present invention
  • FIG. 4 is a schematic structural diagram of a first embodiment of a mobile terminal having a binocular camera according to the present invention.
  • FIG. 5 is a schematic view showing a field of view of a camera of a first embodiment of a mobile terminal having a binocular camera;
  • FIG. 6 is a schematic diagram of a refinement function module of a camera module in a second embodiment of a mobile terminal having a binocular camera according to the present invention
  • FIG. 7 is a schematic diagram of a refinement function module of a photo synthesizing module in a third embodiment of a mobile terminal having a binocular camera according to the present invention.
  • FIG. 8 is a schematic diagram of a photo area division manner in a third embodiment of a mobile terminal having a binocular camera according to the present invention.
  • FIG. 9 is a flowchart of a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention.
  • FIG. 10 is a schematic flowchart showing a refinement of a photographing step of a second embodiment of a photographing method for a mobile terminal having a binocular camera;
  • FIG. 11 is a refinement flow diagram of a photo synthesizing step of a third embodiment of a photographing method for a mobile terminal having a binocular camera according to the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device Mobile terminals of the like and fixed terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Tablett
  • PMP Portable Multimedia Player
  • the terminal is a mobile terminal.
  • the configuration of an embodiment in accordance with an embodiment of the present invention can be applied to a fixed type of terminal, in addition to elements that are specifically for mobile purposes.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication device or network.
  • the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast apparatuses.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H)
  • MediaFLO forward link media
  • the digital broadcasting device of the @ ) data broadcasting device, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives the digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast apparatuses suitable for providing broadcast signals as well as the above-described digital broadcast apparatuses.
  • the broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module that is configured to support short range communication.
  • Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
  • the location information module 115 is a module configured to check or acquire location information of the mobile terminal.
  • a typical example of a location information module is a GPS (Global Positioning Device).
  • the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is arranged to receive an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • Image frames processed by camera 121 can be stored in storage
  • the transmitter 160 (or other storage medium) transmits or transmits via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 can sense whether the slide type phone is turned on or off.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port configured to connect a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can be configured to receive input (eg, data information, power, etc.) from an external device and And the received input is transmitted to one or more components within the mobile terminal 100 or may be arranged to transfer data between the mobile terminal and an external device.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be set to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. Audio output module 152 It may include a pickup, a buzzer, and the like.
  • the alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like.
  • the controller 180 may include a multimedia module 181 configured to reproduce (or play back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180.
  • the controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be used, for example, in computer software, hardware, or any group thereof.
  • the computer readable medium is implemented.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the embodiment of the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • FIG. 2 is a block diagram of the electrical structure of the camera of FIG. 1.
  • the photographic lens 1211 is composed of a plurality of optical lenses provided to form a subject image, and is a single focus lens or a zoom lens.
  • the photographic lens 1211 is movable in the optical axis direction under the control of the lens driver 1221, and the lens driver 1221 controls the focus position of the photographic lens 1211 in accordance with a control signal from the lens driving control circuit 1222, and can also be controlled in the case of the zoom lens. Focus distance.
  • the lens drive control circuit 1222 performs drive control of the lens driver 1221 in accordance with a control command from the microcomputer 1217.
  • An imaging element 1212 is disposed on the optical axis of the photographic lens 1211 near the position of the subject image formed by the photographic lens 1211.
  • the imaging element 1212 is provided to image the subject image and acquire captured image data.
  • Photodiodes constituting each pixel are arranged two-dimensionally and in a matrix on the imaging element 1212. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, which is subjected to charge accumulation by a capacitor connected to each photodiode.
  • the front surface of each pixel is provided with a Bayer-arranged red, green and blue RGB color filter.
  • the imaging element 1212 is connected to the imaging circuit 1213.
  • the imaging circuit 1213 performs charge accumulation control and image signal readout control in the imaging element 1212, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement, etc., to become an appropriate signal power level.
  • the imaging circuit 1213 is connected to an A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
  • A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
  • the bus 1227 is a transmission path set to transfer a variety of data read or generated inside the camera.
  • the A/D converter 1214 is connected to the bus 1227, and an image processor 1215, a JPEG processor 1216, a microcomputer 1217, a Synchronous Dynamic Random Access Memory (SDRAM) 1218, and a memory interface are also connected. (hereinafter referred to as a memory I/F) 1219, a liquid crystal display (LCD) driver 1220.
  • a memory I/F memory I/F
  • LCD liquid crystal display
  • the image processor 1215 performs optical black (OB) subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, and simultaneous processing on the image data based on the output of the imaging element 1212.
  • OB optical black
  • the JPEG processor 1216 compresses the image data read out from the SDRAM 1218 in accordance with the JPEG compression method when the image data is recorded on the recording medium 1225. Further, the JPEG processor 1216 performs decompression of JPEG image data for image reproduction display.
  • the file recorded on the recording medium 1225 is read, and after the compression processing is performed in the JPEG processor 1216, the decompressed image data is temporarily stored in the SDRAM 1218 and displayed on the LCD 1226.
  • the JPEG method is adopted as the image compression/decompression method.
  • the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be used.
  • the microcomputer 1217 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera.
  • the microcomputer 1217 is connected to the operation unit 1223 and the flash memory 1224.
  • the operating unit 1223 includes, but is not limited to, a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, an enlarge button
  • the operation controls such as various input buttons and various input keys detect the operational state of these operation controls.
  • the detection result is output to the microcomputer 1217. Further, a touch panel is provided on the front surface of the LCD 1226 as a display, and the touch position of the user is detected, and the touch position is output to the microcomputer 1217.
  • the microcomputer 1217 executes various processing sequences corresponding to the user's operation in accordance with the detection result from the operation position of the operation unit 1223.
  • the flash memory 1224 stores programs for executing various processing sequences of the microcomputer 1217.
  • the microcomputer 1217 performs overall control of the camera in accordance with the program. Further, the flash memory 1224 stores various adjustment values of the camera, and the microcomputer 1217 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
  • the SDRAM 1218 is an electrically rewritable volatile memory that is set to temporarily store image data or the like.
  • the SDRAM 1218 temporarily stores image data output from the A/D converter 1214 and image data processed in the image processor 1215, the JPEG processor 1216, and the like.
  • the memory interface 1219 is connected to the recording medium 1225, and performs control for writing image data and a file header attached to the image data to the recording medium 1225 and reading out from the recording medium 1225.
  • the recording medium 1225 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body.
  • the recording medium 1225 is not limited thereto, and may be a hard disk or the like built in the camera body.
  • the LCD driver 1210 is connected to the LCD 1226, and stores image data processed by the image processor 1215 in the SDRAM 1218.
  • the image data stored in the SDRAM 1218 is read and displayed on the LCD 1226, or the image data stored in the JPEG processor 1216 is compressed.
  • the JPEG processor 1216 reads the compressed image data of the SDRAM 1218, decompresses it, and displays the decompressed image data through the LCD 1226.
  • the LCD 1226 is configured to display an image on the back of the camera body.
  • the LCD 1226 LCD is not limited thereto, and various display panels (LCD 1226) such as an organic EL may be used.
  • LCD 1226 display panels
  • the present invention is not limited thereto, and various display panels such as an organic EL may be used.
  • Embodiments of the present invention provide a mobile terminal having a binocular camera.
  • FIG. 3 it is a schematic diagram of a first embodiment of a mobile terminal having a binocular camera of the present invention.
  • the mobile terminal having a binocular camera includes:
  • the photographing module 10 is configured to control the first camera and the second camera to take photos with the same photographing parameter when receiving the wide-angle photographing instruction, wherein the rotated first camera and the plane where the rotating shaft is located Angle and rotation of the second camera and its own rotation
  • the sum of the angles between the planes in which the axes are located is greater than zero and less than one-half the sum of the field of view angles of the first camera and the second camera.
  • the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are rotatable relative to the mobile terminal, and the first camera and the second camera are The rotation axes are respectively perpendicular to a line connecting the first camera and the second camera.
  • the first camera and the second camera are located on the left and right sides of the back of the mobile terminal, and are rotatable relative to the mobile terminal.
  • the field of view of the camera and the second camera are equal, and the natural coordinate system built in the mobile terminal is used as the reference coordinate system, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel on the same horizontal line or vertical line, and
  • the maximum adjustable angle of the first camera is one-third of its field of view angle, and when the first camera and the second camera are both rotated to the maximum adjustable angle, their horizontal view There must be at least one-third of the coincident area between the field angle or the vertical field of view.
  • the camera can be automatically rotated or manually rotated.
  • a limit mechanism can be set to limit the maximum adjustable angle of the first camera and the second camera, or when the user performs manual adjustment according to the display.
  • the shooting screen adjusts the rotation angle of the camera; when the camera is automatically rotated, the user can preset the rotation angle.
  • the camera module 10 starts the camera according to the wide-angle camera command, the two cameras automatically rotate to the set angle, and the user can also Adjust the rotation angle of the camera according to the displayed shooting screen. It should be noted that when the camera is rotated, the rotation angles of the first camera and the second camera may be different, and may be set by the user.
  • the maximum adjustable angle of the camera can be set according to requirements, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel and perpendicular to the connection between the two cameras.
  • FIG. 5 it is a schematic diagram of the field of view of the camera of the mobile terminal in the embodiment.
  • the angle between L2 and L5 is the angle of view of the initial positions of the two cameras, that is, the camera is parallel to the terminal surface and is not rotated.
  • the positions of the first camera and the second camera may be set as needed, and the angles of view of the first camera and the second camera may also be different.
  • the first camera adopts an equivalent focal length.
  • the second camera uses a camera with an equivalent focal length of 28 mm and an angle of view of 75°.
  • the equivalent focal lengths are also equal, and the resulting wide-angle photograph has a better imaging effect.
  • the first camera and the second camera are rotated as needed, and adjusted to an appropriate angle for photographing. If the user only needs to take a general photo shooting, the camera does not need to be rotated.
  • One of the first camera and the second camera is selected for taking a picture.
  • the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and after receiving the wide-angle camera instruction, the mobile terminal turns on the first camera and the second camera to take a photo, because the user performs the photo before taking the photo.
  • the adjustment of the angle of one camera and the second camera if the two cameras are adjusted to the maximum adjustable angle, then the wide angle photo of the maximum angle is finally obtained. If the user does not adjust the angles of the first camera and the second camera, at this time, The fields of view of the first camera and the second camera substantially coincide, and the resulting first photo and second photo are substantially identical.
  • the photographing module 10 is set to set the photographing parameters of the two cameras to be the same, such as exposure value, exposure time, sensitivity. And aperture size and other parameters.
  • the camera parameters of the first camera and/or the second camera are adjusted, there may be multiple implementation manners.
  • the user adjusts the camera parameters of the second camera, And controlling the camera parameter of the first camera to be adjusted to be consistent with the second camera; in other embodiments, the default parameter value of the wide-angle camera may be preset, and after receiving the wide-angle camera command, the first The camera and the second camera directly adjust the camera parameters of the two cameras to the above default parameter values.
  • the photo acquisition module 20 is configured to acquire the first photo taken by the first camera and the first a second photo taken by two cameras;
  • the photo synthesizing module 30 is configured to splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo.
  • the photo synthesizing module 30 is configured to splicing and synthesizing the first photo taken by the first camera and the second photo taken by the second camera to obtain a wide-angle photo. There may be multiple implementations of the stitching synthesis. Two of the following are listed: In an embodiment, the photo composition module 30 is configured to determine the overlapping area of the two photos using the pixel matching method; and then the histogram matching method is adopted. Perform grayscale adjustment; finally, use the weighted smoothing algorithm to complete seamless stitching of images.
  • the photo synthesizing module 30 is configured to splicing and merging two photos using an image splicing algorithm based on gradation difference, optionally dividing the two photos into a plurality of sub-regions uniformly, and then two The preset area of the photo is superimposed, and the sum of the gray difference values of the corresponding sub-areas of each of the two photos is calculated, and when the value of the sum is greater than the preset value, the preset area is adjusted on the photo.
  • the photographing device of the mobile terminal with the binocular camera proposed in the embodiment rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the fields of view of the two cameras overlap, using the first camera and The second camera simultaneously performs photographing, and the obtained two photographs are stitched and combined to obtain a wide-angle photograph.
  • the external lens module is not needed, and the image quality can be conveniently and quickly photographed without rotating the mobile phone. Wide angle photo.
  • a first embodiment of a photographing apparatus of a mobile terminal having a binocular camera proposes a second embodiment of a photographing apparatus of a mobile terminal having a binocular camera of the present invention.
  • the device is different from the first embodiment in that the camera module 10 includes the following units:
  • the angle adjusting unit 11 is configured to, when receiving the wide-angle photographing instruction, control the first camera and the second camera to rotate to the first preset angle and the second preset angle, respectively, and turn on the first a camera and a second camera, wherein a sum of the first preset angle and the second preset angle is greater than zero and less than a dichotomy of a sum of field angles of the first camera and the second camera One.
  • the photographing unit 12 is configured to set the first camera and the second camera to the same photographing parameter, and perform photographing according to the photographing parameter.
  • the first camera and the second camera of the mobile terminal can control the rotation angle thereof through the terminal.
  • the preset control on the mobile terminal can be triggered to issue a wide-angle camera command, and the angle adjusting unit 11
  • the first camera and the second camera are rotated to corresponding positions according to the rotation angle parameter preset by the user after receiving the wide-angle photographing instruction. If the user needs to adjust the first camera and the second camera, the terminal can be passed through the terminal.
  • the corresponding control is adjusted, and the photographing unit 12 is set to set the first camera and the second camera to the same photographing parameter.
  • the photographing unit 12 is further configured to adjust the photographing parameter of the second camera to be consistent with the first camera, or adjust the photographing parameter of the first camera to the second camera. Consistent. For example, if the user adjusts the photographing parameters of the first camera, the photographing unit 12 is configured to adjust the photographing parameters of the second camera to be consistent with the first camera, and similarly, if the user makes the photographing parameters of the second camera. Adjusting, the photographing unit 12 adjusts the photographing parameters of the first camera to be consistent with the second camera.
  • the photographing device of the mobile terminal with the binocular camera proposed in the embodiment automatically controls the rotation angles of the two cameras when photographing, and can conveniently and accurately adjust the angle of the photographed wide-angle photograph when photographing.
  • a first embodiment of a photographing apparatus of a mobile terminal having a binocular camera proposes a third embodiment of a photographing apparatus of a mobile terminal having a binocular camera of the present invention.
  • the device is different from the first embodiment in that the photo synthesizing module 20 includes the following units:
  • the area dividing unit 21 is configured to uniformly divide the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquire each of the sub-areas The gray value of the area.
  • first preset area and the second preset area of the second photo may be divided into M*N squares, referring to the gray part in FIG.
  • the entire area of the first photo and the second photo may also be divided.
  • the splicing precision is the highest, wherein the first preset area and the second preset area are respectively the first photo and In the second photograph, there is an area of the overlapping portion, and in this embodiment, a partial area of one third of the edge adjacent to the photo may be selected.
  • a sum determining unit 22 configured to acquire a sum of gradation differences of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determine the grayscale difference Whether the sum of the values is less than or equal to the preset value.
  • the photo synthesizing unit 23 is configured to set the first preset area of the first photo and the second photo of the second photo if a sum of the gradation difference values is less than or equal to the preset value
  • the preset area is fused to obtain the wide-angle photo.
  • the sum determination unit 22 is configured to superimpose the first preset area and the second preset area, and calculate a sum of gradation difference values of each of the upper and lower corresponding sub-areas of the two photos, and determine the obtained Whether the sum is less than or equal to the preset value;
  • the photo synthesizing unit 23 is configured to perform the preset areas of the two photos when the sum of the gradation difference values of the corresponding sub-areas on the upper and lower two photos is less than or equal to the preset value Splicing fusion.
  • the mobile terminal with the binocular camera further includes:
  • the area adjustment unit is configured to adjust a position of the first preset area on the first photo and/or the second preset area if the sum of the grayscale difference values is greater than the preset value At a position on the second photo, until the sum of the acquired gradation difference values is less than or equal to the preset value.
  • the area adjustment unit is set to adjust the position of the preset area on the photo, and calculate the sum of the adjusted gradation difference values. Until the sum of the acquired gradation difference values is less than or equal to the preset value. Since the two photographs taken are on the same horizontal line, when the positions of the first preset area and/or the second preset area are adjusted, only the horizontal direction or the vertical direction needs to be adjusted, according to the direction of the photographed photograph. Deciding, for example, that the position of the first preset area on the first photo and/or the position of the second preset area on the second photo may be adjusted with reference to the adjustment direction in FIG. 8 or opposite to the direction shown in the figure The direction.
  • the first preset area and the second preset area are all or partially superimposed, and the positions of the first preset area and/or the second preset area are adjusted, so that The sub-region of a photo corresponds to the next sub-region of the second photo, and the sum of the gray-scale differences of the sub-regions corresponding to each of the two photos is calculated, and the gray of the corresponding sub-regions on the upper and lower photos is calculated.
  • the sum of the differences is the smallest, the matching positions of the two photos are overlapped, and the overlapping portions of the first photo and the second photo are merged according to the matching position to obtain a wide-angle photo.
  • the photographing device of the mobile terminal with the binocular camera proposed in the embodiment uses the image stitching algorithm based on the gray scale difference to splicing and merging the two photos.
  • the algorithm combines the speed of stitching and combining, has high stitching precision, and can obtain good image quality. Wide angle photo.
  • the embodiment of the invention further provides a photographing method for a mobile terminal with a binocular camera.
  • FIG. 9 is a flowchart of a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention.
  • the photographing method of the mobile terminal having the binocular camera includes:
  • Step S10 when receiving the wide-angle photographing instruction, controlling the first camera and the second camera to take a photograph with the same photographing parameter, wherein the rotated first camera and the plane where the rotation axis of the rotation is located
  • the angle between the angle and the angle between the rotated second camera and the plane in which the rotation axis of the rotation is located is greater than zero, and is smaller than the sum of the angles of the fields of view of the first camera and the second camera.
  • the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are rotatable relative to the mobile terminal, and the first camera and the second camera are The axis of rotation is perpendicular to a line between the first camera and the second camera.
  • the first camera and the second camera are located on the left and right sides of the back of the mobile terminal, and are rotatable relative to the mobile terminal.
  • the field of view of the camera and the second camera are equal, and the natural coordinate system built in the mobile terminal is used as the reference coordinate system, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel on the same horizontal line or vertical line, and
  • the maximum adjustable angle of the first camera is one-third of its field of view, when the first camera and the first When both cameras are rotated to the maximum adjustable angle, there must be at least one-third of the overlap between their horizontal or vertical field of view.
  • the camera can be automatically rotated or manually rotated.
  • a limit mechanism can be set to limit the maximum adjustable angle of the first camera and the second camera, or when the user performs manual adjustment according to the display.
  • the shooting screen adjusts the rotation angle of the camera; when the camera is automatically rotated, the user can preset the rotation angle.
  • the camera is activated according to the wide-angle camera command, the two cameras automatically rotate to the set angle, and the user can also display according to the The shooting screen adjusts the rotation angle of the camera. It should be noted that when the camera is rotated, the rotation angles of the first camera and the second camera may be different, and may be set by the user.
  • the maximum adjustable angle of the camera can be set according to requirements, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel and perpendicular to the connection between the two cameras.
  • FIG. 5 it is a schematic diagram of the field of view of the camera of the mobile terminal in the embodiment.
  • the angle between L2 and L5 is the angle of view of the initial positions of the two cameras, that is, the camera is parallel to the terminal surface and is not rotated.
  • the angle of view of the time; the angle between L1 and L4 is the angle of view of the left camera (first camera) rotated to the left by a certain angle, and the angle between L3 and L6 is the right camera (second camera)
  • the angle of view after rotating to the right by a certain angle, the angle between L3 and L4 is the portion where the field of view overlaps after the first camera and the second camera rotate, and the angle between L1 and L6 is the first camera and The total field of view angle formed after the second camera is rotated.
  • the positions of the first camera and the second camera may be set as needed, and the angles of view of the first camera and the second camera may also be different.
  • the first camera adopts an equivalent focal length. 35mm camera with a viewing angle of 63°
  • the second camera has an equivalent focal length of 28 mm and an angle of view of 75°
  • the camera when the user does not need to take a wide-angle photo, you can choose to use the camera without using the camera as needed. If the first camera and the second camera have the same angle of view, the equivalent focal lengths are also equal, and the resulting wide-angle photograph has a better imaging effect.
  • the first camera and the second camera are rotated as needed, and adjusted to an appropriate angle for photographing. If the user only needs to take a general photo shooting, the camera does not need to be rotated. Select one of the first camera and the second camera Take a photo.
  • the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and after receiving the wide-angle camera instruction, the mobile terminal turns on the first camera and the second camera to take a photo, because the user performs the photo before taking the photo.
  • the adjustment of the angle of one camera and the second camera if the two cameras are adjusted to the maximum adjustable angle, then the wide angle photo of the maximum angle is finally obtained. If the user does not adjust the angles of the first camera and the second camera, at this time, The fields of view of the first camera and the second camera substantially coincide, and the resulting first photo and second photo are substantially identical.
  • the photographing parameters of the two cameras are set to be the same when photographing, such as exposure value, exposure time, sensitivity and aperture. Parameters such as size.
  • the user adjusts the camera parameters of the second camera, And controlling the camera parameter of the first camera to be adjusted to be consistent with the second camera; in other embodiments, the default parameter value of the wide-angle camera may be preset, and after receiving the wide-angle camera command, the first The camera and the second camera directly adjust the camera parameters of the two cameras to the above default parameter values.
  • Step S20 acquiring a first photo taken by the first camera and a second photo taken by the second camera
  • Step S30 the first photo and the second photo are spliced and combined to obtain a wide-angle photo.
  • the first photo taken by the first camera and the second photo taken by the second camera are stitched and combined to obtain a wide-angle photo.
  • the stitching synthesis There may be multiple implementations of the stitching synthesis. Two ways are listed below: in one embodiment, the pixel matching method is used to determine the overlapping area of the two photos; then the histogram matching method is used for gray scale adjustment; Seamless splicing of images is done using a weighted smoothing algorithm. In another embodiment, the two photos are spliced and merged using an image mosaic algorithm based on gray scale difference. Optionally, the two photos are evenly divided into a plurality of sub-regions, and then the preset regions of the two photos are respectively divided.
  • the photographing method of the mobile terminal with the binocular camera proposed in this embodiment rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the fields of view of the two cameras overlap, using the first camera and The second camera simultaneously performs photographing, and the obtained two photographs are stitched and combined to obtain a wide-angle photograph.
  • the mobile terminal and the photographing method thereof in the embodiment of the invention do not need to use an external lens module, and the mobile phone does not need to be rotated when photographing. Take wide-angle photos with good image quality quickly and easily.
  • a first embodiment of a photographing method of a mobile terminal having a binocular camera proposes a second embodiment of a photographing method of a mobile terminal having a binocular camera of the present invention.
  • the method differs from the first embodiment in that step S10 includes the following refinement steps:
  • step S11 when the wide-angle photographing instruction is received, the first camera and the second camera are respectively rotated to a first preset angle and a second preset angle, and the first camera and the second camera are turned on, wherein The sum of the first preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera.
  • Step S12 The first camera and the second camera are set to the same camera parameter, and the camera is taken according to the camera parameter.
  • the first camera and the second camera of the mobile terminal can control the rotation angle of the terminal through the terminal.
  • the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and the mobile terminal is receiving.
  • the first camera and the second camera can be rotated to corresponding positions according to the rotation angle parameter preset by the user. If the user needs to adjust the first camera and the second camera, the corresponding control on the terminal can be performed. Adjustment.
  • the photographing method of the mobile terminal with the binocular camera proposed in the embodiment automatically controls the rotation angles of the two cameras when photographing, and can conveniently and accurately adjust the angle of the photographed wide-angle photograph when photographing.
  • a first embodiment of a photographing method of a mobile terminal having a binocular camera proposes a third embodiment of a photographing method of a mobile terminal having a binocular camera of the present invention.
  • the method differs from the first embodiment in that step S20 includes the following refinement steps:
  • Step S21 uniformly dividing the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquiring gray levels of each of the sub-areas value.
  • the obtained first preset area and the second preset area of the second photo into a preset number of sub-areas may be divided into M*N squares, as shown in the gray part of FIG.
  • the entire area of the first photo and the second photo may also be divided.
  • the values of M and N can be adjusted according to the pixels of the camera, and the gray value of each sub-region is an average value of the gray values of each pixel included in the region. The larger the value of M and N is, the higher the splicing precision is.
  • the splicing precision is the highest, wherein the first preset area and the second preset area are respectively the first photo and In the second photograph, there is an area of the overlapping portion, and in this embodiment, a partial area of one third of the edge adjacent to the photo may be selected.
  • Step S22 acquiring a sum of grayscale differences of overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determining whether the sum of the grayscale differences is Less than or equal to the preset value.
  • Step S23 if the sum of the gradation difference values is less than or equal to the preset value, performing the first preset area of the first photo and the second preset area of the second photo The wide angle photograph is obtained by fusion.
  • the method further includes:
  • Adjusting a position of the first preset area on the first photo and/or the second preset area in the second photo if the sum of the grayscale differences is greater than the preset value The upper position until the sum of the acquired gradation difference values is less than or equal to the preset value.
  • the position of the preset region on the photo is adjusted, and the sum of the adjusted grayscale differences is calculated until the obtained The sum of the gradation differences is less than or equal to the preset value. Since the two photographs taken are on the same horizontal line, when the positions of the first preset area and/or the second preset area are adjusted, only the horizontal direction or the vertical direction needs to be adjusted, according to the direction of the photographed photograph. Deciding, for example, that the position of the first preset area on the first photo and/or the position of the second preset area on the second photo may be adjusted with reference to the adjustment direction in FIG. 8 or opposite to the direction shown in the figure The direction.
  • the first preset area and the second preset area are all or partially superimposed, and the positions of the first preset area and/or the second preset area are adjusted, so that The sub-region of a photo corresponds to the next sub-region of the second photo, and the sum of the gray-scale differences of the sub-regions corresponding to each of the two photos is calculated, and the gray of the corresponding sub-regions on the upper and lower photos is calculated.
  • the sum of the differences is the smallest, the matching positions of the two photos are overlapped, and the overlapping portions of the first photo and the second photo are merged according to the matching position to obtain a wide-angle photo.
  • the photographing method of the mobile terminal with the binocular camera proposed in this embodiment uses the image stitching algorithm based on the gray scale difference to splicing and merging two photos.
  • the algorithm combines the speed of stitching and combining, has high stitching precision, and can obtain good image quality. Wide angle photo.
  • the above technical solution does not need to use an external lens module, and can take a wide-angle photo with good image quality conveniently and quickly without rotating the mobile phone when taking a photo.

Abstract

A mobile terminal having binocular cameras. The mobile terminal comprises: a photographing module, configured to control a first camera and a second camera to photograph by using the same photographing parameter when a wide-angle photographing command is received, wherein the sum of an angle between the first camera after rotating and the plane where an automatic rotating axis of the first camera is located and an angle between the second camera after rotating and the plane where an automatic rotating axis of the second camera is greater than zero, and is smaller than a half of the field angle sum of the first camera and the second camera; a photo acquiring module, configured to acquire a first photo photographed by the first camera and a second photo photographed by the second camera; and a photo combining module, configured to splice and combine the first photo and the second photo into a wide-angle photo. The technical solution is able to conveniently and quickly photograph a wide-angle photo with good imaging quality.

Description

具有双目摄像头的移动终端及其拍照方法Mobile terminal with binocular camera and photographing method thereof 技术领域Technical field
本文涉及但不限于移动终端技术领域,尤其涉及一种具有双目摄像头的移动终端及其拍照方法。This document relates to, but is not limited to, the field of mobile terminal technologies, and in particular, to a mobile terminal having a binocular camera and a photographing method thereof.
背景技术Background technique
目前,手机、平板电脑等移动终端使用的摄像头,其等效焦距基本都在35毫米到28毫米这个范围之内,对应的最大视场角度在63°到75°之间。由于镜头工艺的原因,手机上使用超广角镜头模组,即水平视场角80°以上的镜头模组,拍照时照片会有比较大的畸变。因此,如果用户想要拍摄广角照片,可以用旋转手机的方式拍照完成后在手机上合成广角照片。但是,在拍照时由于旋转手机的过程中人手容易发生晃动导致整个旋转过程不在同一个水平线上,导致成像质量差。At present, the camera used in mobile terminals such as mobile phones and tablet computers has an equivalent focal length of substantially 35 mm to 28 mm, and the corresponding maximum field of view angle is between 63° and 75°. Due to the lens process, the ultra-wide-angle lens module is used on the mobile phone, that is, the lens module with a horizontal viewing angle of 80° or more, and the photo will have a relatively large distortion when photographed. Therefore, if the user wants to take a wide-angle photo, he can synthesize a wide-angle photo on the mobile phone after taking a photo with a rotating mobile phone. However, when the camera is rotated, the hand is liable to sway during the process of rotating the mobile phone, and the entire rotation process is not on the same horizontal line, resulting in poor image quality.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种具有双目摄像头的移动终端及其拍照方法,能够实现方便快捷地拍摄出成像质量好的广角照片。The embodiment of the invention provides a mobile terminal with a binocular camera and a photographing method thereof, which can realize a wide-angle photograph with good imaging quality conveniently and quickly.
本发明实施例提供一种具有双目摄像头的移动终端,所述移动终端包括第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头设置为相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴分别垂直于所述第一摄像头和所述第二摄像头之间的连线,该具有双目摄像头的移动终端包括:An embodiment of the present invention provides a mobile terminal having a binocular camera, the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are disposed to rotate relative to the mobile terminal. The rotation axes of the first camera and the second camera are respectively perpendicular to the connection between the first camera and the second camera, and the mobile terminal having the binocular camera includes:
拍照模块,设置为在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像 头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;The photographing module is configured to control the first camera and the second camera to take a photo with the same photographing parameter when receiving the wide-angle photographing instruction, wherein the first camera after the rotation a sum of an angle between a head and a plane in which the own rotation axis is located and an angle between the rotated second camera and a plane in which the rotation axis thereof is located is greater than zero, and smaller than the first camera and the second One-half of the sum of the field of view of the camera;
照片获取模块,设置为获取所述第一摄像头拍摄的第一照片和所述第二摄像头拍摄的第二照片;a photo acquisition module, configured to acquire a first photo taken by the first camera and a second photo taken by the second camera;
照片合成模块,设置为将所述第一照片和所述第二照片进行拼接合成得到广角照片。The photo synthesis module is configured to splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo.
可选地,所述拍照模块包括:Optionally, the camera module includes:
角度调整单元,设置为在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;The angle adjustment unit is configured to control the first camera and the second camera to rotate to a first preset angle and a second preset angle respectively when receiving the wide-angle photographing instruction, and turn on the first camera and the second camera Wherein the sum of the first preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera;
拍照单元,设置为将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。The photographing unit is configured to set the first camera and the second camera to the same photographing parameter, and perform photographing according to the photographing parameter.
可选地,所述拍照单元,是设置为通过如下方式实现将所述第一摄像头和所述第二摄像头设置为相同的拍照参数:将所述第二摄像头的所述拍照参数调整至与所述第一摄像头一致。Optionally, the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by adjusting the photographing parameter of the second camera to The first camera is consistent.
可选地,所述照片合成模块包括:Optionally, the photo synthesis module includes:
区域划分单元,设置为将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值;The area dividing unit is configured to uniformly divide the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquire each of the sub-areas Gray value
总和判断单元,设置为获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值;a sum determination unit configured to acquire a sum of grayscale differences of overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determine the grayscale difference Whether the sum is less than or equal to the preset value;
照片合成单元,设置为若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。a photo synthesizing unit configured to: if the sum of the gradation difference values is less than or equal to the preset value, the first preset area of the first photo and the second pre-preparation of the second photo The region is fused to obtain the wide-angle photograph.
可选地,所述照片合成模块还包括: Optionally, the photo synthesis module further includes:
区域调整单元,设置为若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。The area adjustment unit is configured to adjust a position of the first preset area on the first photo and/or the second preset area if the sum of the grayscale difference values is greater than the preset value At a position on the second photo, until the sum of the acquired gradation difference values is less than or equal to the preset value.
可选地,拍照参数包括:曝光值,曝光时间,感光度和光圈大小。Optionally, the photographing parameters include: exposure value, exposure time, sensitivity, and aperture size.
可选地,照片合成模块,是设置为通过如下方式实现将所述第一照片和所述第二照片进行拼接合成得到广角照片:Optionally, the photo synthesis module is configured to perform splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo by:
使用像素匹配的方法确定出两张照片的重叠区域;Using pixel matching to determine the overlapping area of the two photos;
采用直方图匹配的方法进行灰度调整;Gray scale adjustment using a histogram matching method;
使用加权平滑算法完成图像的无缝拼接。Seamless splicing of images is done using a weighted smoothing algorithm.
可选地,总和判断单元,是设置为将第一张照片和第二张照片的预设区域进行叠加,计算两张照片的每个上下对应的子区域的灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值。Optionally, the sum determination unit is configured to superimpose the preset regions of the first photo and the second photo, calculate a sum of grayscale differences of the sub-regions corresponding to each of the two photos, and determine Whether the sum of the gradation difference values is less than or equal to a preset value.
可选地,所述拍照单元,是设置为通过如下方式实现将所述第一摄像头和所述第二摄像头设置为相同的拍照参数:Optionally, the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by:
将所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致。Adjusting the photographing parameter of the first camera to be consistent with the second camera.
可选地,第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域。Optionally, the first preset area and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
此外,本发明实施例还提供一种具有双目摄像头的移动终端的拍照方法,所述移动终端包括第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头设置为相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴分别垂直于所述第一摄像头和所述第二摄像头之间的连线,该具有双目摄像头的移动终端的拍照方法包括:In addition, an embodiment of the present invention further provides a photographing method of a mobile terminal having a binocular camera, the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are disposed opposite to each other. Rotating the mobile terminal, the rotation axes of the first camera and the second camera are perpendicular to the connection between the first camera and the second camera, respectively, and the photographing method of the mobile terminal with the binocular camera include:
在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视 场角之和的二分之一;When receiving the wide-angle photographing instruction, controlling the first camera and the second camera to take a photograph with the same photographing parameter, wherein an angle between the rotated first camera and a plane where the rotation axis of the rotation is located a sum of angles between the rotated second camera and a plane in which the own rotation axis is located is greater than zero, and smaller than the views of the first camera and the second camera One-half of the sum of the field angles;
获取所述第一摄像头拍摄的第一照片和所述第二摄像头拍摄的第二照片;Obtaining a first photo taken by the first camera and a second photo taken by the second camera;
将所述第一照片和所述第二照片进行拼接合成得到广角照片。The first photo and the second photo are spliced and combined to obtain a wide-angle photograph.
可选地,所述在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照的步骤包括:Optionally, the step of controlling the first camera and the second camera to take a photo with the same camera parameter when receiving the wide-angle camera instruction comprises:
在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;When receiving the wide-angle photographing instruction, controlling the first camera and the second camera to respectively rotate to a first preset angle and a second preset angle, and turn on the first camera and the second camera, wherein the first a sum of a preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera;
将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。The first camera and the second camera are set to the same photographing parameter, and photographing is performed according to the photographing parameter.
可选地,所述将所述第一摄像头和所述第二摄像头设置为相同的拍照参数的步骤包括:Optionally, the step of setting the first camera and the second camera to the same camera parameter comprises:
将所述第二摄像头的所述拍照参数调整至与所述第一摄像头一致。Adjusting the photographing parameter of the second camera to be consistent with the first camera.
可选地,所述将所述第一照片和所述第二照片进行拼接合成得到广角照片的步骤包括:Optionally, the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo includes:
将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值;Separating the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquiring gray values of each of the sub-areas;
获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值;Obtaining a sum of overlapping partial gradation differences of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determining whether a sum of the gradation differences is less than or equal to default value;
若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。If the sum of the grayscale differences is less than or equal to the preset value, the first preset area of the first photo and the second preset area of the second photo are merged to obtain a A wide-angle photo.
可选地,所述将所述第一照片和所述第二照片进行拼接合成得到广角照片的步骤还包括:所述获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和 是否小于或等于预设值的步骤之后,Optionally, the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo further comprises: acquiring each of the sub-regions and the second photo of the first photo a sum of grayscale differences of overlapping portions of each of said sub-regions, and determining a sum of said grayscale differences After the step of being less than or equal to the preset value,
若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。Adjusting a position of the first preset area on the first photo and/or the second preset area in the second photo if the sum of the grayscale differences is greater than the preset value The upper position until the sum of the acquired gradation difference values is less than or equal to the preset value.
可选地,拍照参数包括:曝光值,曝光时间,感光度和光圈大小。Optionally, the photographing parameters include: exposure value, exposure time, sensitivity, and aperture size.
可选地,将所述第一照片和所述第二照片进行拼接合成得到广角照片包括:Optionally, the splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo includes:
使用像素匹配的方法确定出两张照片的重叠区域;Using pixel matching to determine the overlapping area of the two photos;
采用直方图匹配的方法进行灰度调整;Gray scale adjustment using a histogram matching method;
使用加权平滑算法完成图像的无缝拼接。Seamless splicing of images is done using a weighted smoothing algorithm.
可选地,所述获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和包括:Optionally, the sum of the gradation difference values of the overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo is:
将第一张照片和第二张照片的预设区域进行叠加,计算两张照片的每个上下对应的子区域的灰度差值的总和。The preset areas of the first photo and the second photo are superimposed, and the sum of the gradation differences of the sub-regions corresponding to each of the two photos is calculated.
可选地,所述将所述第一摄像头和所述第二摄像头设置为相同的拍照参数的步骤包括:Optionally, the step of setting the first camera and the second camera to the same camera parameter comprises:
将所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致。Adjusting the photographing parameter of the first camera to be consistent with the second camera.
可选地,第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域。Optionally, the first preset area and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
本发明实施例提出的具有双目摄像头的移动终端及其拍照方法,在进行广角拍照时,将第一摄像头和第二摄像头旋转至一定角度,使两个摄像头的部分视场重叠,利用第一摄像头和第二摄像头同时进行拍照,将得到的两张照片进行拼接合成得到广角照片,本发明实施例的移动终端及其拍照方法,无需使用外接镜头模组,在拍照时无需对手机进行旋转,即可方便快捷地拍摄出成像质量好的广角照片。The mobile terminal with binocular camera and the photographing method thereof according to the embodiment of the present invention rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the field of view of the two cameras overlaps, and the first The camera and the second camera simultaneously take a picture, and the obtained two photos are spliced and combined to obtain a wide-angle photo. The mobile terminal and the photographing method thereof in the embodiment of the invention do not need to use an external lens module, and do not need to rotate the mobile phone when taking a photo. You can take wide-angle photos with good image quality quickly and easily.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为实现本发明各个实施例的移动终端的硬件结构示意图;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention;
图2为图1中相机的电气结构框图;Figure 2 is a block diagram showing the electrical structure of the camera of Figure 1;
图3为本发明具有双目摄像头的移动终端第一实施例的功能模块示意图;3 is a schematic diagram of functional modules of a first embodiment of a mobile terminal having a binocular camera according to the present invention;
图4为本发明具有双目摄像头的移动终端第一实施例的结构示意图;4 is a schematic structural diagram of a first embodiment of a mobile terminal having a binocular camera according to the present invention;
图5为本发明具有双目摄像头的移动终端第一实施例的摄像头的视场角示意图;5 is a schematic view showing a field of view of a camera of a first embodiment of a mobile terminal having a binocular camera;
图6为本发明具有双目摄像头的移动终端第二实施例中拍照模块的细化功能模块示意图;6 is a schematic diagram of a refinement function module of a camera module in a second embodiment of a mobile terminal having a binocular camera according to the present invention;
图7为本发明具有双目摄像头的移动终端第三实施例中照片合成模块的细化功能模块示意图;7 is a schematic diagram of a refinement function module of a photo synthesizing module in a third embodiment of a mobile terminal having a binocular camera according to the present invention;
图8为本发明具有双目摄像头的移动终端第三实施例中照片区域划分方式示意图;8 is a schematic diagram of a photo area division manner in a third embodiment of a mobile terminal having a binocular camera according to the present invention;
图9为本发明具有双目摄像头的移动终端的拍照方法第一实施例的流程图;9 is a flowchart of a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention;
图10为本发明具有双目摄像头的移动终端的拍照方法第二实施例的拍照步骤的细化流程示意图;FIG. 10 is a schematic flowchart showing a refinement of a photographing step of a second embodiment of a photographing method for a mobile terminal having a binocular camera;
图11为本发明具有双目摄像头的移动终端的拍照方法第三实施例的照片合成步骤的细化流程示意图。FIG. 11 is a refinement flow diagram of a photo synthesizing step of a third embodiment of a photographing method for a mobile terminal having a binocular camera according to the present invention.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用设置为表示元件的诸如“模块”、“部件”或“单元”的后缀仅为 了有利于本发明实施例的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A mobile terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the suffixes such as "module", "part" or "unit" set to represent elements are only used. The description that facilitates the embodiments of the present invention does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
移动终端可以以各种形式来实施。例如,本发明实施例中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明实施例的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device Mobile terminals of the like and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that the configuration of an embodiment in accordance with an embodiment of the present invention can be applied to a fixed type of terminal, in addition to elements that are specifically for mobile purposes.
图1为实现本发明各个实施例的移动终端的硬件结构示意。FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more. Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信装置或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication device or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种 类型的广播装置接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播装置、地面数字广播综合服务(ISDB-T)等等的数字广播装置接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播装置以及上述数字广播装置。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel can include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like. . The broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast apparatuses. In particular, the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H) The digital broadcasting device of the @ ) data broadcasting device, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives the digital broadcasting. The broadcast receiving module 111 can be constructed as various broadcast apparatuses suitable for providing broadcast signals as well as the above-described digital broadcast apparatuses. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless internet module 113 supports wireless internet access of the mobile terminal. The module can be internally or externally coupled to the terminal. The wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是设置为支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module that is configured to support short range communication. Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
位置信息模块115是设置为检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位装置)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module configured to check or acquire location information of the mobile terminal. A typical example of a location information module is a GPS (Global Positioning Device). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude. Currently, the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
A/V输入单元120设置为接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储 器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is arranged to receive an audio or video signal. The A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode. The processed image frame can be displayed on the display unit 151. Image frames processed by camera 121 can be stored in storage The transmitter 160 (or other storage medium) transmits or transmits via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal. The microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode. The microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或将速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器1410将在下面结合触摸屏来对此进行描述。The sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal. The orientation of 100, the acceleration of the mobile terminal 100 or the speed of movement and direction, and the like, and generates a command or signal for controlling the operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 can sense whether the slide type phone is turned on or off. In addition, the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device. Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、设置为连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以设置为接收来自外部装置的输入(例如,数据信息、电力等等)并 且将接收到的输入传输到移动终端100内的一个或多个元件或者可以设置为在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port configured to connect a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device. The interface unit 170 can be configured to receive input (eg, data information, power, etc.) from an external device and And the received input is transmitted to one or more components within the mobile terminal 100 or may be arranged to transfer data between the mobile terminal and an external device.
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152、警报单元153等等。In addition, when the mobile terminal 100 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal. Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base. Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可设置为检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, the display unit 151 can function as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. According to a particular desired embodiment, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) . The touch screen can be set to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152 可以包括拾音器、蜂鸣器等等。The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio signal is output as sound. Moreover, the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. Audio output module 152 It may include a pickup, a buzzer, and the like.
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。The alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括设置为再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 configured to reproduce (or play back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组 合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be used, for example, in computer software, hardware, or any group thereof. The computer readable medium is implemented. For hardware implementations, the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle. For software implementations, implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by controller 180.
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明实施例能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its function. Hereinafter, for the sake of brevity, a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the embodiment of the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
参照图2,图2为图1中相机的电气结构框图。2, FIG. 2 is a block diagram of the electrical structure of the camera of FIG. 1.
摄影镜头1211由设置为形成被摄体像的多个光学镜头构成,为单焦点镜头或变焦镜头。摄影镜头1211在镜头驱动器1221的控制下能够在光轴方向上移动,镜头驱动器1221根据来自镜头驱动控制电路1222的控制信号,控制摄影镜头1211的焦点位置,在变焦镜头的情况下,也可控制焦点距离。镜头驱动控制电路1222按照来自微型计算机1217的控制命令进行镜头驱动器1221的驱动控制。The photographic lens 1211 is composed of a plurality of optical lenses provided to form a subject image, and is a single focus lens or a zoom lens. The photographic lens 1211 is movable in the optical axis direction under the control of the lens driver 1221, and the lens driver 1221 controls the focus position of the photographic lens 1211 in accordance with a control signal from the lens driving control circuit 1222, and can also be controlled in the case of the zoom lens. Focus distance. The lens drive control circuit 1222 performs drive control of the lens driver 1221 in accordance with a control command from the microcomputer 1217.
在摄影镜头1211的光轴上、由摄影镜头1211形成的被摄体像的位置附近配置有摄像元件1212。摄像元件1212设置为对被摄体像摄像并取得摄像图像数据。在摄像元件1212上二维且呈矩阵状配置有构成每个像素的光电二极管。每个光电二极管产生与受光量对应的光电转换电流,该光电转换电流由与每个光电二极管连接的电容器进行电荷蓄积。每个像素的前表面配置有拜耳排列的红绿蓝RGB滤色器。An imaging element 1212 is disposed on the optical axis of the photographic lens 1211 near the position of the subject image formed by the photographic lens 1211. The imaging element 1212 is provided to image the subject image and acquire captured image data. Photodiodes constituting each pixel are arranged two-dimensionally and in a matrix on the imaging element 1212. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, which is subjected to charge accumulation by a capacitor connected to each photodiode. The front surface of each pixel is provided with a Bayer-arranged red, green and blue RGB color filter.
摄像元件1212与摄像电路1213连接,该摄像电路1213在摄像元件1212中进行电荷蓄积控制和图像信号读出控制,对该读出的图像信号(模拟图像信号)降低重置噪声后进行波形整形,进而进行增益提高等以成为适当的信号电 平。The imaging element 1212 is connected to the imaging circuit 1213. The imaging circuit 1213 performs charge accumulation control and image signal readout control in the imaging element 1212, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement, etc., to become an appropriate signal power level.
摄像电路1213与A/D转换器1214连接,该A/D转换器1214对模拟图像信号进行模数转换,向总线1227输出数字图像信号(以下称之为图像数据)。The imaging circuit 1213 is connected to an A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
总线1227是设置为传送在相机的内部读出或生成的多种数据的传送路径。在总线1227连接着上述A/D转换器1214,此外还连接着图像处理器1215、JPEG处理器1216、微型计算机1217、同步动态随机存取内存(Synchronous Dynamic random access memory,SDRAM)1218、存储器接口(以下称之为存储器I/F)1219、液晶显示器(Liquid Crystal Display,LCD)驱动器1220。The bus 1227 is a transmission path set to transfer a variety of data read or generated inside the camera. The A/D converter 1214 is connected to the bus 1227, and an image processor 1215, a JPEG processor 1216, a microcomputer 1217, a Synchronous Dynamic Random Access Memory (SDRAM) 1218, and a memory interface are also connected. (hereinafter referred to as a memory I/F) 1219, a liquid crystal display (LCD) driver 1220.
图像处理器1215对基于摄像元件1212的输出的图像数据进行光学黑体(Optical Black,OB)相减处理、白平衡调整、颜色矩阵运算、伽马转换、色差信号处理、噪声去除处理、同时化处理、边缘处理等各种图像处理。JPEG处理器1216在将图像数据记录于记录介质1225时,按照JPEG压缩方式压缩从SDRAM1218读出的图像数据。此外,JPEG处理器1216为了进行图像再现显示而进行JPEG图像数据的解压缩。进行解压缩时,读出记录在记录介质1225中的文件,在JPEG处理器1216中实施了解压缩处理后,将解压缩的图像数据暂时存储于SDRAM1218中并在LCD1226上进行显示。另外,在本实施方式中,作为图像压缩解压缩方式采用的是JPEG方式,然而压缩解压缩方式不限于此,当然可以采用MPEG、TIFF、H.264等其他的压缩解压缩方式。The image processor 1215 performs optical black (OB) subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, and simultaneous processing on the image data based on the output of the imaging element 1212. Various image processing such as edge processing. The JPEG processor 1216 compresses the image data read out from the SDRAM 1218 in accordance with the JPEG compression method when the image data is recorded on the recording medium 1225. Further, the JPEG processor 1216 performs decompression of JPEG image data for image reproduction display. At the time of decompression, the file recorded on the recording medium 1225 is read, and after the compression processing is performed in the JPEG processor 1216, the decompressed image data is temporarily stored in the SDRAM 1218 and displayed on the LCD 1226. Further, in the present embodiment, the JPEG method is adopted as the image compression/decompression method. However, the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be used.
微型计算机1217发挥作为该相机整体的控制部的功能,统一控制相机的各种处理序列。微型计算机1217连接着操作单元1223和闪存1224。The microcomputer 1217 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera. The microcomputer 1217 is connected to the operation unit 1223 and the flash memory 1224.
操作单元1223包括但不限于实体按键或者虚拟按键,该实体或虚拟按键可以为电源按钮、拍照键、编辑按键、动态图像按钮、再现按钮、菜单按钮、十字键、OK按钮、删除按钮、放大按钮等各种输入按钮和各种输入键等操作控件,检测这些操作控件的操作状态。The operating unit 1223 includes, but is not limited to, a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, an enlarge button The operation controls such as various input buttons and various input keys detect the operational state of these operation controls.
将检测结果向微型计算机1217输出。此外,在作为显示器的LCD1226的前表面设有触摸面板,检测用户的触摸位置,将该触摸位置向微型计算机1217输出。微型计算机1217根据来自操作单元1223的操作位置的检测结果,执行与用户的操作对应的各种处理序列。 The detection result is output to the microcomputer 1217. Further, a touch panel is provided on the front surface of the LCD 1226 as a display, and the touch position of the user is detected, and the touch position is output to the microcomputer 1217. The microcomputer 1217 executes various processing sequences corresponding to the user's operation in accordance with the detection result from the operation position of the operation unit 1223.
闪存1224存储用于执行微型计算机1217的各种处理序列的程序。微型计算机1217根据该程序进行相机整体的控制。此外,闪存1224存储相机的各种调整值,微型计算机1217读出调整值,按照该调整值进行相机的控制。The flash memory 1224 stores programs for executing various processing sequences of the microcomputer 1217. The microcomputer 1217 performs overall control of the camera in accordance with the program. Further, the flash memory 1224 stores various adjustment values of the camera, and the microcomputer 1217 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
SDRAM1218是设置为对图像数据等进行暂时存储的可电改写的易失性存储器。该SDRAM1218暂时存储从A/D转换器1214输出的图像数据和在图像处理器1215、JPEG处理器1216等中进行了处理后的图像数据。The SDRAM 1218 is an electrically rewritable volatile memory that is set to temporarily store image data or the like. The SDRAM 1218 temporarily stores image data output from the A/D converter 1214 and image data processed in the image processor 1215, the JPEG processor 1216, and the like.
存储器接口1219与记录介质1225连接,进行将图像数据和附加在图像数据中的文件头等数据写入记录介质1225和从记录介质1225中读出的控制。记录介质1225例如为能够在相机主体上自由拆装的存储器卡等记录介质,然而不限于此,也可以是内置在相机主体中的硬盘等。The memory interface 1219 is connected to the recording medium 1225, and performs control for writing image data and a file header attached to the image data to the recording medium 1225 and reading out from the recording medium 1225. The recording medium 1225 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body. However, the recording medium 1225 is not limited thereto, and may be a hard disk or the like built in the camera body.
LCD驱动器1210与LCD1226连接,将由图像处理器1215处理后的图像数据存储于SDRAM1218,需要显示时,读取SDRAM1218存储的图像数据并在LCD1226上显示,或者,JPEG处理器1216压缩过的图像数据存储于SDRAM1218,在需要显示时,JPEG处理器1216读取SDRAM1218的压缩过的图像数据,再进行解压缩,将解压缩后的图像数据通过LCD1226进行显示。The LCD driver 1210 is connected to the LCD 1226, and stores image data processed by the image processor 1215 in the SDRAM 1218. When display is required, the image data stored in the SDRAM 1218 is read and displayed on the LCD 1226, or the image data stored in the JPEG processor 1216 is compressed. In the SDRAM 1218, when display is required, the JPEG processor 1216 reads the compressed image data of the SDRAM 1218, decompresses it, and displays the decompressed image data through the LCD 1226.
LCD1226配置在相机主体的背面进行图像显示。该LCD1226LCD),然而不限于此,也可以采用有机EL等各种显示面板(LCD1226),然而不限于此,也可以采用有机EL等各种显示面板。The LCD 1226 is configured to display an image on the back of the camera body. The LCD 1226 LCD) is not limited thereto, and various display panels (LCD 1226) such as an organic EL may be used. However, the present invention is not limited thereto, and various display panels such as an organic EL may be used.
基于上述移动终端硬件结构以及相机的电气结构示意图,提出本发明方法各个实施例。Based on the hardware structure of the above mobile terminal and the electrical structure diagram of the camera, various embodiments of the method of the present invention are proposed.
本发明实施例提供一种具有双目摄像头的移动终端。Embodiments of the present invention provide a mobile terminal having a binocular camera.
参照图3所示,为本发明具有双目摄像头的移动终端的第一实施例的示意图。Referring to FIG. 3, it is a schematic diagram of a first embodiment of a mobile terminal having a binocular camera of the present invention.
在第一实施例中,该具有双目摄像头的移动终端包括:In the first embodiment, the mobile terminal having a binocular camera includes:
拍照模块10,设置为在接收到广角拍照指令时,控制第一摄像头和第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转 轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一。The photographing module 10 is configured to control the first camera and the second camera to take photos with the same photographing parameter when receiving the wide-angle photographing instruction, wherein the rotated first camera and the plane where the rotating shaft is located Angle and rotation of the second camera and its own rotation The sum of the angles between the planes in which the axes are located is greater than zero and less than one-half the sum of the field of view angles of the first camera and the second camera.
需要说明的是,所述移动终端包括第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头可以相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴分别垂直于所述第一摄像头和所述第二摄像头之间的连线。It should be noted that the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are rotatable relative to the mobile terminal, and the first camera and the second camera are The rotation axes are respectively perpendicular to a line connecting the first camera and the second camera.
参照图4所示,为本实施例的移动终端一实施方式的示意图,第一摄像头和第二摄像头位于移动终端背部的左右两侧,并且能够相对于移动终端旋转,在本实施例中,第一摄像头和第二摄像头的视场角相等,以移动终端内置的自然坐标系为参照坐标系,第一摄像头的旋转轴和第二摄像头的旋转轴平行设置在同一水平线或者垂直线上,并且,在进行广角照片的拍摄时,所述第一摄像头的最大可调整角度为其视场角的三分之一,当第一摄像头和第二摄像头均旋转到最大可调角度时,他们的水平视场角或者垂直视场角之间至少要有三分之一的重合区域。Referring to FIG. 4, which is a schematic diagram of an embodiment of a mobile terminal according to the embodiment, the first camera and the second camera are located on the left and right sides of the back of the mobile terminal, and are rotatable relative to the mobile terminal. In this embodiment, The field of view of the camera and the second camera are equal, and the natural coordinate system built in the mobile terminal is used as the reference coordinate system, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel on the same horizontal line or vertical line, and When shooting a wide-angle photo, the maximum adjustable angle of the first camera is one-third of its field of view angle, and when the first camera and the second camera are both rotated to the maximum adjustable angle, their horizontal view There must be at least one-third of the coincident area between the field angle or the vertical field of view.
其中,摄像头可以是自动旋转或者手动旋转,当摄像头为手动旋转时,可以设置限位机构,以限制第一摄像头和第二摄像头的最大可调整角度,或者用户在进行手动调节时,根据显示的拍摄画面对摄像头的旋转角度进行调整;当摄像头为自动旋转时,用户可以预先设置旋转角度,当拍照模块10根据广角拍照指令启动摄像头后,两个摄像头自动旋转至设定的角度,用户也可以根据显示的拍摄画面对摄像头的旋转角度进行调整。需要说明的是,在旋转摄像头时,第一摄像头和第二摄像头的旋转角度可以不相同,都可以由用户进行设置。Wherein, the camera can be automatically rotated or manually rotated. When the camera is manually rotated, a limit mechanism can be set to limit the maximum adjustable angle of the first camera and the second camera, or when the user performs manual adjustment according to the display. The shooting screen adjusts the rotation angle of the camera; when the camera is automatically rotated, the user can preset the rotation angle. When the camera module 10 starts the camera according to the wide-angle camera command, the two cameras automatically rotate to the set angle, and the user can also Adjust the rotation angle of the camera according to the displayed shooting screen. It should be noted that when the camera is rotated, the rotation angles of the first camera and the second camera may be different, and may be set by the user.
在其他实施例中,摄像头的最大可调整角度可以根据需求设置,将第一摄像头的旋转轴和第二摄像头的旋转轴平行设置,并垂直于两个摄像头之间的连线即可。参照图5所示,为本实施例中的移动终端摄像头的视场角示意图,L2和L5之间的夹角为两个摄像头初始位置的视场角,即摄像头平行于终端表面,未作旋转时的视场角;L1和L4之间的夹角为左侧摄像头(第一摄像头)向左旋转一定角度后的视场角,L3和L6之间的夹角为右侧摄像头(第二摄像头)向右旋转一定角度后的视场角,L3和L4之间的夹角为第一 摄像头和第二摄像头旋转之后视场角重叠的部分,L1和L6之间的夹角为第一摄像头和第二摄像头旋转之后形成的总视场角。In other embodiments, the maximum adjustable angle of the camera can be set according to requirements, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel and perpendicular to the connection between the two cameras. Referring to FIG. 5, it is a schematic diagram of the field of view of the camera of the mobile terminal in the embodiment. The angle between L2 and L5 is the angle of view of the initial positions of the two cameras, that is, the camera is parallel to the terminal surface and is not rotated. The angle of view of the time; the angle between L1 and L4 is the angle of view of the left camera (first camera) rotated to the left by a certain angle, and the angle between L3 and L6 is the right camera (second camera) ) The angle of view after rotating a certain angle to the right, the angle between L3 and L4 is the first The portion where the angle of view overlaps after the camera and the second camera rotate, and the angle between L1 and L6 is the total angle of view formed after the rotation of the first camera and the second camera.
需要说明的是,在其他实施例中,第一摄像头和第二摄像头的位置可以根据需要设置,第一摄像头和第二摄像头的视场角也可以不同,例如,第一摄像头采用等效焦距为35毫米、视场角为63°的摄像头,第二摄像头采用等效焦距为28毫米、视场角为75°的摄像头,当用户不需要拍摄广角照片时,可以根据需要选择使用不用的摄像头进行拍照。若第一摄像头和第二摄像头视场角相等,则其等效焦距也相等,那么最终得到的广角照片的成像效果更好。It should be noted that, in other embodiments, the positions of the first camera and the second camera may be set as needed, and the angles of view of the first camera and the second camera may also be different. For example, the first camera adopts an equivalent focal length. The camera with a 35 mm field of view and a viewing angle of 63°, the second camera uses a camera with an equivalent focal length of 28 mm and an angle of view of 75°. When the user does not need to take a wide-angle photo, he can choose to use the camera instead of the camera. Take a photo. If the first camera and the second camera have the same angle of view, the equivalent focal lengths are also equal, and the resulting wide-angle photograph has a better imaging effect.
当用户使用该移动终端拍摄广角照片时,根据需要旋转第一摄像头和第二摄像头,将其调整到合适的角度进行拍照,若用户只需要进行一般照片的拍摄时,无需对摄像头进行旋转,可以选择第一摄像头和第二摄像头其中之一进行拍照。当用户拍摄广角照片时,可以触发移动终端上的预设控件发出广角拍照指令,移动终端在接收到该广角拍照指令后,开启第一摄像头和第二摄像头进行拍照,由于用户在拍照前进行第一摄像头和第二摄像头角度的调整,若两个摄像头被调整到了最大可调整角度,那么最终会得到最大角度的广角照片,若用户没有进行第一摄像头和第二摄像头角度的调整,此时,第一摄像头和第二摄像头的视场基本上重合,得到的第一照片和第二照片基本上相同。When the user uses the mobile terminal to take a wide-angle photo, the first camera and the second camera are rotated as needed, and adjusted to an appropriate angle for photographing. If the user only needs to take a general photo shooting, the camera does not need to be rotated. One of the first camera and the second camera is selected for taking a picture. When the user takes a wide-angle photo, the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and after receiving the wide-angle camera instruction, the mobile terminal turns on the first camera and the second camera to take a photo, because the user performs the photo before taking the photo. The adjustment of the angle of one camera and the second camera, if the two cameras are adjusted to the maximum adjustable angle, then the wide angle photo of the maximum angle is finally obtained. If the user does not adjust the angles of the first camera and the second camera, at this time, The fields of view of the first camera and the second camera substantially coincide, and the resulting first photo and second photo are substantially identical.
需要说明的是,为了确保拼接出来的照片的两部分一致,得到一张过渡自然的广角照片,拍照模块10设置为将两个摄像头的拍照参数设置为相同,如曝光值,曝光时间,感光度和光圈大小等参数。在调整所述第一摄像头和/或所述第二摄像头的拍照参数时,可以有多种实现方式,以下列举其中两种方式进行说明:若用户是对第二摄像头的拍照参数进行了调整,则控制所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致;在其他的实施例中,可以预先设置广角拍摄的默认参数值,当接收到广角拍照指令后,开启第一摄像头和第二摄像头,并直接将两个摄像头的拍照参数调整至上述默认参数值。It should be noted that in order to ensure that the two parts of the stitched photo are consistent, a wide-angle photo with natural transition is obtained, and the photographing module 10 is set to set the photographing parameters of the two cameras to be the same, such as exposure value, exposure time, sensitivity. And aperture size and other parameters. When the camera parameters of the first camera and/or the second camera are adjusted, there may be multiple implementation manners. The following two methods are described: if the user adjusts the camera parameters of the second camera, And controlling the camera parameter of the first camera to be adjusted to be consistent with the second camera; in other embodiments, the default parameter value of the wide-angle camera may be preset, and after receiving the wide-angle camera command, the first The camera and the second camera directly adjust the camera parameters of the two cameras to the above default parameter values.
照片获取模块20,设置为获取所述第一摄像头拍摄的第一照片和所述第 二摄像头拍摄的第二照片;The photo acquisition module 20 is configured to acquire the first photo taken by the first camera and the first a second photo taken by two cameras;
照片合成模块30,设置为将所述第一照片和所述第二照片进行拼接合成得到广角照片。The photo synthesizing module 30 is configured to splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo.
照片合成模块30设置为将第一摄像头拍照得到的第一照片和第二摄像头拍照得到的第二照片进行拼接合成得到广角照片。其中拼接合成可以有多种实现方式,以下列举其中两种方式:在一实施例中,照片合成模块30设置为使用像素匹配的方法确定出两张照片的重叠区域;然后采用直方图匹配的方法进行灰度调整;最终使用加权平滑算法完成图像的无缝拼接。在另一实施例中,照片合成模块30设置为使用基于灰度差的图像拼接算法对两张照片进行拼接融合,可选地,将两张照片分别均匀地划分为多个子区域,然后将两张照片的预设区域进行叠加,并计算两张照片的每个上下对应的子区域的灰度差值的总和,当该总和的值大于预设值时,则调整预设区域在照片上的位置,当上下两张照片上对应的子区域的灰度差值的总和小于或者等于预设值时,将两张照片的预设区域进行拼接融合,其中,子区域的划分可以由用户根据摄像头的像素进行调整,子区域数量越多,拼接精度越高,得到的拼接合成照片的重叠部分就越精细。在其他实施例中,还可以使用其他的拼接合成方法,在此不再一一举例。The photo synthesizing module 30 is configured to splicing and synthesizing the first photo taken by the first camera and the second photo taken by the second camera to obtain a wide-angle photo. There may be multiple implementations of the stitching synthesis. Two of the following are listed: In an embodiment, the photo composition module 30 is configured to determine the overlapping area of the two photos using the pixel matching method; and then the histogram matching method is adopted. Perform grayscale adjustment; finally, use the weighted smoothing algorithm to complete seamless stitching of images. In another embodiment, the photo synthesizing module 30 is configured to splicing and merging two photos using an image splicing algorithm based on gradation difference, optionally dividing the two photos into a plurality of sub-regions uniformly, and then two The preset area of the photo is superimposed, and the sum of the gray difference values of the corresponding sub-areas of each of the two photos is calculated, and when the value of the sum is greater than the preset value, the preset area is adjusted on the photo. Position, when the sum of the gradation difference values of the corresponding sub-areas on the upper and lower two photos is less than or equal to the preset value, the preset areas of the two photos are spliced and merged, wherein the sub-area can be divided by the user according to the camera The pixels are adjusted, and the more the number of sub-regions, the higher the stitching precision, and the finer the overlapping portion of the stitched composite photograph obtained. In other embodiments, other stitching synthesis methods may also be used, which are not exemplified herein.
本实施例提出的具有双目摄像头的移动终端的拍照装置,在进行广角拍照时,将第一摄像头和第二摄像头旋转至一定角度,使两个摄像头的部分视场重叠,利用第一摄像头和第二摄像头同时进行拍照,将得到的两张照片进行拼接合成得到广角照片,本发明实施例无需使用外接镜头模组,在拍照时无需对手机进行旋转,即可方便快捷地拍摄出成像质量好的广角照片。The photographing device of the mobile terminal with the binocular camera proposed in the embodiment rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the fields of view of the two cameras overlap, using the first camera and The second camera simultaneously performs photographing, and the obtained two photographs are stitched and combined to obtain a wide-angle photograph. In the embodiment of the invention, the external lens module is not needed, and the image quality can be conveniently and quickly photographed without rotating the mobile phone. Wide angle photo.
参照图6所示,基于本发明具有双目摄像头的移动终端的拍照装置的第一实施例提出本发明具有双目摄像头的移动终端的拍照装置的第二实施例。在本实施例中,所述装置与第一实施例的区别在于,拍照模块10包括以下单元:Referring to Fig. 6, a first embodiment of a photographing apparatus of a mobile terminal having a binocular camera according to the present invention proposes a second embodiment of a photographing apparatus of a mobile terminal having a binocular camera of the present invention. In this embodiment, the device is different from the first embodiment in that the camera module 10 includes the following units:
角度调整单元11,设置为在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一 摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一。The angle adjusting unit 11 is configured to, when receiving the wide-angle photographing instruction, control the first camera and the second camera to rotate to the first preset angle and the second preset angle, respectively, and turn on the first a camera and a second camera, wherein a sum of the first preset angle and the second preset angle is greater than zero and less than a dichotomy of a sum of field angles of the first camera and the second camera One.
拍照单元12,设置为将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。The photographing unit 12 is configured to set the first camera and the second camera to the same photographing parameter, and perform photographing according to the photographing parameter.
本实施例中,移动终端的第一摄像头和第二摄像头,可以通过终端控制其旋转角度,当用户需要拍摄广角照片时,可以触发移动终端上的预设控件发出广角拍照指令,角度调整单元11设置为在接收到该广角拍照指令后,可以根据用户预先设置的旋转角度参数将第一摄像头和第二摄像头旋转至对应的位置,如果用户需要调整第一摄像头和第二摄像头,可以通过终端上对应的控件进行调节,拍照单元12设置为将第一摄像头和第二摄像头设置为相同的拍照参数。在其他实施例中,拍照单元12,还设置为将所述第二摄像头的所述拍照参数调整至与所述第一摄像头一致,或将第一摄像头的拍照参数调整至与所述第二摄像头一致。例如用户对第一摄像头的拍照参数作了调整,则拍照单元12设置为将第二摄像头的拍照参数调整至与所述第一摄像头一致,同样地,若用户对第二摄像头的拍照参数作了调整,拍照单元12将第一摄像头的拍照参数调整至与所述第二摄像头一致。In this embodiment, the first camera and the second camera of the mobile terminal can control the rotation angle thereof through the terminal. When the user needs to take a wide-angle photo, the preset control on the mobile terminal can be triggered to issue a wide-angle camera command, and the angle adjusting unit 11 The first camera and the second camera are rotated to corresponding positions according to the rotation angle parameter preset by the user after receiving the wide-angle photographing instruction. If the user needs to adjust the first camera and the second camera, the terminal can be passed through the terminal. The corresponding control is adjusted, and the photographing unit 12 is set to set the first camera and the second camera to the same photographing parameter. In other embodiments, the photographing unit 12 is further configured to adjust the photographing parameter of the second camera to be consistent with the first camera, or adjust the photographing parameter of the first camera to the second camera. Consistent. For example, if the user adjusts the photographing parameters of the first camera, the photographing unit 12 is configured to adjust the photographing parameters of the second camera to be consistent with the first camera, and similarly, if the user makes the photographing parameters of the second camera. Adjusting, the photographing unit 12 adjusts the photographing parameters of the first camera to be consistent with the second camera.
本实施例提出的具有双目摄像头的移动终端的拍照装置,在拍照时,自动控制两个摄像头的旋转角度,在拍照时,能够方便且精确地调节拍摄的广角照片的角度。The photographing device of the mobile terminal with the binocular camera proposed in the embodiment automatically controls the rotation angles of the two cameras when photographing, and can conveniently and accurately adjust the angle of the photographed wide-angle photograph when photographing.
参照图7所示,基于本发明具有双目摄像头的移动终端的拍照装置的第一实施例提出本发明具有双目摄像头的移动终端的拍照装置的第三实施例。在本实施例中,所述装置与第一实施例的区别在于,照片合成模块20包括以下单元:Referring to Fig. 7, a first embodiment of a photographing apparatus of a mobile terminal having a binocular camera according to the present invention proposes a third embodiment of a photographing apparatus of a mobile terminal having a binocular camera of the present invention. In the present embodiment, the device is different from the first embodiment in that the photo synthesizing module 20 includes the following units:
区域划分单元21,设置为将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值。The area dividing unit 21 is configured to uniformly divide the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquire each of the sub-areas The gray value of the area.
将得到的第一照片第一预设区域和第二照片的第二预设区域均匀地划分为预设数目的子区域,例如可以划分为M*N个方块,参照图8中灰色部 分所示;在其他实施例中,也可以将第一照片和第二照片的整个区域进行划分。其中,M和N的数值越大,拼接精度越高,当每一个子区域对应一个像素点时,拼接精度最高,其中,第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域,在本实施例中,可选为照片相邻的边缘处三分之一的部分区域。And dividing the obtained first preset area and the second preset area of the second photo into a preset number of sub-areas, for example, may be divided into M*N squares, referring to the gray part in FIG. In the other embodiments, the entire area of the first photo and the second photo may also be divided. The larger the value of M and N is, the higher the splicing precision is. When each sub-region corresponds to one pixel, the splicing precision is the highest, wherein the first preset area and the second preset area are respectively the first photo and In the second photograph, there is an area of the overlapping portion, and in this embodiment, a partial area of one third of the edge adjacent to the photo may be selected.
总和判断单元22,设置为获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域重叠部分的灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值。a sum determining unit 22, configured to acquire a sum of gradation differences of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determine the grayscale difference Whether the sum of the values is less than or equal to the preset value.
照片合成单元23,设置为若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。The photo synthesizing unit 23 is configured to set the first preset area of the first photo and the second photo of the second photo if a sum of the gradation difference values is less than or equal to the preset value The preset area is fused to obtain the wide-angle photo.
可选地,总和判断单元22是设置为将第一预设区域和第二预设区域进行叠加,并计算两张照片的每个上下对应的子区域的灰度差值的总和,判断获得的总和是否小于或者等于预设值;照片合成单元23是设置为当上下两张照片上对应的子区域的灰度差值的总和小于或者等于预设值时,将两张照片的预设区域进行拼接融合。Optionally, the sum determination unit 22 is configured to superimpose the first preset area and the second preset area, and calculate a sum of gradation difference values of each of the upper and lower corresponding sub-areas of the two photos, and determine the obtained Whether the sum is less than or equal to the preset value; the photo synthesizing unit 23 is configured to perform the preset areas of the two photos when the sum of the gradation difference values of the corresponding sub-areas on the upper and lower two photos is less than or equal to the preset value Splicing fusion.
可选地,该具有双目摄像头的移动终端还包括:Optionally, the mobile terminal with the binocular camera further includes:
区域调整单元,设置为若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。The area adjustment unit is configured to adjust a position of the first preset area on the first photo and/or the second preset area if the sum of the grayscale difference values is greater than the preset value At a position on the second photo, until the sum of the acquired gradation difference values is less than or equal to the preset value.
当上下两张照片上对应的子区域的灰度差值的总和大于预设值时,区域调整单元是设置为调整预设区域在照片上的位置,并计算调整后的灰度差值的总和,直至获取到的所述灰度差值的总和小于或等于所述预设值。由于拍摄的两张照片在同一水平线上,因此在调整第一预设区域和/或第二预设区域的位置时,只需要沿水平方向或者垂直方向调整即可,根据拍摄的照片的方向进行决定,例如,可以参照图8中的调整方向,调整第一预设区域在第一照片上的位置和/或第二预设区域在第二照片上的位置,或者与图中所示方向相反的方向。 When the sum of the gradation difference values of the corresponding sub-areas on the upper and lower two photos is greater than the preset value, the area adjustment unit is set to adjust the position of the preset area on the photo, and calculate the sum of the adjusted gradation difference values. Until the sum of the acquired gradation difference values is less than or equal to the preset value. Since the two photographs taken are on the same horizontal line, when the positions of the first preset area and/or the second preset area are adjusted, only the horizontal direction or the vertical direction needs to be adjusted, according to the direction of the photographed photograph. Deciding, for example, that the position of the first preset area on the first photo and/or the position of the second preset area on the second photo may be adjusted with reference to the adjustment direction in FIG. 8 or opposite to the direction shown in the figure The direction.
在其他实施例中,在进行照片的合成时,将第一预设区域和第二预设区域全部或者部分叠加,并调整第一预设区域和/或第二预设区域的位置,使第一照片的子区域与第二照片的子区域上下一一对应,计算两张照片的每个上下对应的子区域的灰度差值的总和,当上下两张照片上对应的子区域的灰度差值的总和最小时,则是两张照片拼接重合的匹配位置,按照该匹配位置将第一照片和第二照片的重叠部分进行融合得到广角照片。In other embodiments, when the photo is synthesized, the first preset area and the second preset area are all or partially superimposed, and the positions of the first preset area and/or the second preset area are adjusted, so that The sub-region of a photo corresponds to the next sub-region of the second photo, and the sum of the gray-scale differences of the sub-regions corresponding to each of the two photos is calculated, and the gray of the corresponding sub-regions on the upper and lower photos is calculated. When the sum of the differences is the smallest, the matching positions of the two photos are overlapped, and the overlapping portions of the first photo and the second photo are merged according to the matching position to obtain a wide-angle photo.
本实施例提出的具有双目摄像头的移动终端的拍照装置,使用基于灰度差的图像拼接算法对两张照片进行拼接融合,该算法拼接合成的速度快,拼接精度高,能够得到成像质量好的广角照片。The photographing device of the mobile terminal with the binocular camera proposed in the embodiment uses the image stitching algorithm based on the gray scale difference to splicing and merging the two photos. The algorithm combines the speed of stitching and combining, has high stitching precision, and can obtain good image quality. Wide angle photo.
本发明实施例还提出一种具有双目摄像头的移动终端的拍照方法。The embodiment of the invention further provides a photographing method for a mobile terminal with a binocular camera.
参照图9所示,为本发明具有双目摄像头的移动终端的拍照方法第一实施例的流程图。FIG. 9 is a flowchart of a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention.
在第一实施例中,该具有双目摄像头的移动终端的拍照方法包括:In the first embodiment, the photographing method of the mobile terminal having the binocular camera includes:
步骤S10,在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一。Step S10, when receiving the wide-angle photographing instruction, controlling the first camera and the second camera to take a photograph with the same photographing parameter, wherein the rotated first camera and the plane where the rotation axis of the rotation is located The angle between the angle and the angle between the rotated second camera and the plane in which the rotation axis of the rotation is located is greater than zero, and is smaller than the sum of the angles of the fields of view of the first camera and the second camera. one.
需要说明的是,所述移动终端包括第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头可以相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴垂直于所述第一摄像头和所述第二摄像头之间的连线。It should be noted that the mobile terminal includes a first camera and a second camera, and the first camera and the second camera are rotatable relative to the mobile terminal, and the first camera and the second camera are The axis of rotation is perpendicular to a line between the first camera and the second camera.
参照图4所示,为本实施例的移动终端一实施方式的示意图,第一摄像头和第二摄像头位于移动终端背部的左右两侧,并且能够相对于移动终端旋转,在本实施例中,第一摄像头和第二摄像头的视场角相等,以移动终端内置的自然坐标系为参照坐标系,第一摄像头的旋转轴和第二摄像头的旋转轴平行设置在同一水平线或者垂直线上,并且,在进行广角照片的拍摄时,所述第一摄像头的最大可调整角度为其视场角的三分之一,当第一摄像头和第 二摄像头均旋转到最大可调角度时,他们的水平视场角或者垂直视场角之间至少要有三分之一的重合区域。Referring to FIG. 4, which is a schematic diagram of an embodiment of a mobile terminal according to the embodiment, the first camera and the second camera are located on the left and right sides of the back of the mobile terminal, and are rotatable relative to the mobile terminal. In this embodiment, The field of view of the camera and the second camera are equal, and the natural coordinate system built in the mobile terminal is used as the reference coordinate system, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel on the same horizontal line or vertical line, and When shooting a wide-angle photo, the maximum adjustable angle of the first camera is one-third of its field of view, when the first camera and the first When both cameras are rotated to the maximum adjustable angle, there must be at least one-third of the overlap between their horizontal or vertical field of view.
其中,摄像头可以是自动旋转或者手动旋转,当摄像头为手动旋转时,可以设置限位机构,以限制第一摄像头和第二摄像头的最大可调整角度,或者用户在进行手动调节时,根据显示的拍摄画面对摄像头的旋转角度进行调整;当摄像头为自动旋转时,用户可以预先设置旋转角度,当根据广角拍照指令启动摄像头后,两个摄像头自动旋转至设定的角度,用户也可以根据显示的拍摄画面对摄像头的旋转角度进行调整。需要说明的是,在旋转摄像头时,第一摄像头和第二摄像头的旋转角度可以不相同,都可以由用户进行设置。Wherein, the camera can be automatically rotated or manually rotated. When the camera is manually rotated, a limit mechanism can be set to limit the maximum adjustable angle of the first camera and the second camera, or when the user performs manual adjustment according to the display. The shooting screen adjusts the rotation angle of the camera; when the camera is automatically rotated, the user can preset the rotation angle. When the camera is activated according to the wide-angle camera command, the two cameras automatically rotate to the set angle, and the user can also display according to the The shooting screen adjusts the rotation angle of the camera. It should be noted that when the camera is rotated, the rotation angles of the first camera and the second camera may be different, and may be set by the user.
在其他实施例中,摄像头的最大可调整角度可以根据需求设置,将第一摄像头的旋转轴和第二摄像头的旋转轴平行设置,并垂直于两个摄像头之间的连线即可。参照图5所示,为本实施例中的移动终端摄像头的视场角示意图,L2和L5之间的夹角为两个摄像头初始位置的视场角,即摄像头平行于终端表面,未作旋转时的视场角;L1和L4之间的夹角为左侧摄像头(第一摄像头)向左旋转一定角度后的视场角,L3和L6之间的夹角为右侧摄像头(第二摄像头)向右旋转一定角度后的视场角,L3和L4之间的夹角为第一摄像头和第二摄像头旋转之后视场角重叠的部分,L1和L6之间的夹角为第一摄像头和第二摄像头旋转之后形成的总视场角。In other embodiments, the maximum adjustable angle of the camera can be set according to requirements, and the rotation axis of the first camera and the rotation axis of the second camera are arranged in parallel and perpendicular to the connection between the two cameras. Referring to FIG. 5, it is a schematic diagram of the field of view of the camera of the mobile terminal in the embodiment. The angle between L2 and L5 is the angle of view of the initial positions of the two cameras, that is, the camera is parallel to the terminal surface and is not rotated. The angle of view of the time; the angle between L1 and L4 is the angle of view of the left camera (first camera) rotated to the left by a certain angle, and the angle between L3 and L6 is the right camera (second camera) The angle of view after rotating to the right by a certain angle, the angle between L3 and L4 is the portion where the field of view overlaps after the first camera and the second camera rotate, and the angle between L1 and L6 is the first camera and The total field of view angle formed after the second camera is rotated.
需要说明的是,在其他实施例中,第一摄像头和第二摄像头的位置可以根据需要设置,第一摄像头和第二摄像头的视场角也可以不同,例如,第一摄像头采用等效焦距为35毫米、视场角为63°的摄像头,第二摄像头采用等效焦距为28毫米、视场角为75° 的摄像头,当用户不需要拍摄广角照片时,可以根据需要选择使用不用的摄像头进行拍照。若第一摄像头和第二摄像头视场角相等,则其等效焦距也相等,那么最终得到的广角照片的成像效果更好。It should be noted that, in other embodiments, the positions of the first camera and the second camera may be set as needed, and the angles of view of the first camera and the second camera may also be different. For example, the first camera adopts an equivalent focal length. 35mm camera with a viewing angle of 63°, the second camera has an equivalent focal length of 28 mm and an angle of view of 75° The camera, when the user does not need to take a wide-angle photo, you can choose to use the camera without using the camera as needed. If the first camera and the second camera have the same angle of view, the equivalent focal lengths are also equal, and the resulting wide-angle photograph has a better imaging effect.
当用户使用该移动终端拍摄广角照片时,根据需要旋转第一摄像头和第二摄像头,将其调整到合适的角度进行拍照,若用户只需要进行一般照片的拍摄时,无需对摄像头进行旋转,可以选择第一摄像头和第二摄像头其中之 一进行拍照。当用户拍摄广角照片时,可以触发移动终端上的预设控件发出广角拍照指令,移动终端在接收到该广角拍照指令后,开启第一摄像头和第二摄像头进行拍照,由于用户在拍照前进行第一摄像头和第二摄像头角度的调整,若两个摄像头被调整到了最大可调整角度,那么最终会得到最大角度的广角照片,若用户没有进行第一摄像头和第二摄像头角度的调整,此时,第一摄像头和第二摄像头的视场基本上重合,得到的第一照片和第二照片基本上相同。When the user uses the mobile terminal to take a wide-angle photo, the first camera and the second camera are rotated as needed, and adjusted to an appropriate angle for photographing. If the user only needs to take a general photo shooting, the camera does not need to be rotated. Select one of the first camera and the second camera Take a photo. When the user takes a wide-angle photo, the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and after receiving the wide-angle camera instruction, the mobile terminal turns on the first camera and the second camera to take a photo, because the user performs the photo before taking the photo. The adjustment of the angle of one camera and the second camera, if the two cameras are adjusted to the maximum adjustable angle, then the wide angle photo of the maximum angle is finally obtained. If the user does not adjust the angles of the first camera and the second camera, at this time, The fields of view of the first camera and the second camera substantially coincide, and the resulting first photo and second photo are substantially identical.
需要说明的是,为了确保拼接出来的照片的两部分一致,得到一张过渡自然的广角照片,在拍照时将两个摄像头的拍照参数设置为相同,如曝光值,曝光时间,感光度和光圈大小等参数。在调整所述第一摄像头和/或所述第二摄像头的拍照参数时,可以有多种实现方式,以下列举其中两种方式进行说明:若用户是对第二摄像头的拍照参数进行了调整,则控制所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致;在其他的实施例中,可以预先设置广角拍摄的默认参数值,当接收到广角拍照指令后,开启第一摄像头和第二摄像头,并直接将两个摄像头的拍照参数调整至上述默认参数值。It should be noted that in order to ensure that the two parts of the stitched photo are consistent, a wide-angle photo with natural transition is obtained, and the photographing parameters of the two cameras are set to be the same when photographing, such as exposure value, exposure time, sensitivity and aperture. Parameters such as size. When the camera parameters of the first camera and/or the second camera are adjusted, there may be multiple implementation manners. The following two methods are described: if the user adjusts the camera parameters of the second camera, And controlling the camera parameter of the first camera to be adjusted to be consistent with the second camera; in other embodiments, the default parameter value of the wide-angle camera may be preset, and after receiving the wide-angle camera command, the first The camera and the second camera directly adjust the camera parameters of the two cameras to the above default parameter values.
步骤S20,获取所述第一摄像头拍摄的第一照片和所述第二摄像头拍摄的第二照片;Step S20, acquiring a first photo taken by the first camera and a second photo taken by the second camera;
步骤S30,将所述第一照片和所述第二照片进行拼接合成得到广角照片。Step S30, the first photo and the second photo are spliced and combined to obtain a wide-angle photo.
将第一摄像头拍照得到的第一照片和第二摄像头拍照得到的第二照片进行拼接合成得到广角照片。其中拼接合成可以有多种实现方式,以下列举其中两种方式:在一实施例中,使用像素匹配的方法确定出两张照片的重叠区域;然后采用直方图匹配的方法进行灰度调整;最终使用加权平滑算法完成图像的无缝拼接。在另一实施例中,使用基于灰度差的图像拼接算法对两张照片进行拼接融合,可选地,将两张照片分别均匀地划分为多个子区域,然后将两张照片的预设区域进行叠加,并计算两张照片的每个上下对应的子区域的灰度差值的总和,当该总和的值大于预设值时,则调整预设区域在照片上的位置,当上下两张照片上对应的子区域的灰度差值的总和小于或者等于预设值时,将两张照片的预设区域进行拼接融合,其中,子区域的划分可以由用户根据摄像头的像素进行调整,子区域数量越多,拼接精度越高,得 到的拼接合成照片的重叠部分就越精细。在其他实施例中,还可以使用其他的拼接合成方法,在此不再一一举例。The first photo taken by the first camera and the second photo taken by the second camera are stitched and combined to obtain a wide-angle photo. There may be multiple implementations of the stitching synthesis. Two ways are listed below: in one embodiment, the pixel matching method is used to determine the overlapping area of the two photos; then the histogram matching method is used for gray scale adjustment; Seamless splicing of images is done using a weighted smoothing algorithm. In another embodiment, the two photos are spliced and merged using an image mosaic algorithm based on gray scale difference. Optionally, the two photos are evenly divided into a plurality of sub-regions, and then the preset regions of the two photos are respectively divided. Perform superposition, and calculate the sum of the gradation differences of the corresponding sub-regions of the two photos. When the value of the sum is greater than the preset value, adjust the position of the preset region on the photo, when the upper and lower two When the sum of the gradation differences of the corresponding sub-areas on the photo is less than or equal to the preset value, the preset areas of the two photos are spliced and fused, wherein the division of the sub-areas can be adjusted by the user according to the pixels of the camera. The more the number of regions, the higher the stitching accuracy. The finer the overlapping portion of the stitched composite photo is. In other embodiments, other stitching synthesis methods may also be used, which are not exemplified herein.
本实施例提出的具有双目摄像头的移动终端的拍照方法,在进行广角拍照时,将第一摄像头和第二摄像头旋转至一定角度,使两个摄像头的部分视场重叠,利用第一摄像头和第二摄像头同时进行拍照,将得到的两张照片进行拼接合成得到广角照片,本发明实施例的移动终端及其拍照方法,无需使用外接镜头模组,在拍照时无需对手机进行旋转,即可方便快捷地拍摄出成像质量好的广角照片。The photographing method of the mobile terminal with the binocular camera proposed in this embodiment rotates the first camera and the second camera to a certain angle when the wide-angle photographing is performed, so that part of the fields of view of the two cameras overlap, using the first camera and The second camera simultaneously performs photographing, and the obtained two photographs are stitched and combined to obtain a wide-angle photograph. The mobile terminal and the photographing method thereof in the embodiment of the invention do not need to use an external lens module, and the mobile phone does not need to be rotated when photographing. Take wide-angle photos with good image quality quickly and easily.
参照图10所示,基于本发明具有双目摄像头的移动终端的拍照方法的第一实施例提出本发明具有双目摄像头的移动终端的拍照方法的第二实施例。在本实施例中,所述方法与第一实施例的区别在于,步骤S10包括以下细化步骤:Referring to FIG. 10, a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention proposes a second embodiment of a photographing method of a mobile terminal having a binocular camera of the present invention. In this embodiment, the method differs from the first embodiment in that step S10 includes the following refinement steps:
步骤S11,在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一。In step S11, when the wide-angle photographing instruction is received, the first camera and the second camera are respectively rotated to a first preset angle and a second preset angle, and the first camera and the second camera are turned on, wherein The sum of the first preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera.
步骤S12,将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。Step S12: The first camera and the second camera are set to the same camera parameter, and the camera is taken according to the camera parameter.
本实施例中,移动终端的第一摄像头和第二摄像头,可以通过终端控制其旋转角度,当用户需要拍摄广角照片时,可以触发移动终端上的预设控件发出广角拍照指令,移动终端在接收到该广角拍照指令后,可以根据用户预先设置的旋转角度参数将第一摄像头和第二摄像头旋转至对应的位置,如果用户需要调整第一摄像头和第二摄像头,可以通过终端上对应的控件进行调节。In this embodiment, the first camera and the second camera of the mobile terminal can control the rotation angle of the terminal through the terminal. When the user needs to take a wide-angle photo, the preset control on the mobile terminal can be triggered to issue a wide-angle camera instruction, and the mobile terminal is receiving. After the wide-angle photographing instruction, the first camera and the second camera can be rotated to corresponding positions according to the rotation angle parameter preset by the user. If the user needs to adjust the first camera and the second camera, the corresponding control on the terminal can be performed. Adjustment.
本实施例提出的具有双目摄像头的移动终端的拍照方法,在拍照时,自动控制两个摄像头的旋转角度,在拍照时,能够方便且精确地调节拍摄的广角照片的角度。 The photographing method of the mobile terminal with the binocular camera proposed in the embodiment automatically controls the rotation angles of the two cameras when photographing, and can conveniently and accurately adjust the angle of the photographed wide-angle photograph when photographing.
参照图11所示,基于本发明具有双目摄像头的移动终端的拍照方法的第一实施例提出本发明具有双目摄像头的移动终端的拍照方法的第三实施例。在本实施例中,所述方法与第一实施例的区别在于,步骤S20包括以下细化步骤:Referring to Fig. 11, a first embodiment of a photographing method of a mobile terminal having a binocular camera according to the present invention proposes a third embodiment of a photographing method of a mobile terminal having a binocular camera of the present invention. In this embodiment, the method differs from the first embodiment in that step S20 includes the following refinement steps:
步骤S21,将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值。Step S21, uniformly dividing the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquiring gray levels of each of the sub-areas value.
将得到的第一照片第一预设区域和第二照片的第二预设区域均匀地划分为预设数目的子区域,例如可以划分为M*N个方块,参照图8中灰色部分所示;在其他实施例中,也可以将第一照片和第二照片的整个区域进行划分。其中,M和N的数值可以根据摄像头的像素进行调整,每个子区域的灰度值为该区域中包含的每个像素点的灰度值的平均值。其中,M和N的数值越大,拼接精度越高,当每一个子区域对应一个像素点时,拼接精度最高,其中,第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域,在本实施例中,可选为照片相邻的边缘处三分之一的部分区域。And dividing the obtained first preset area and the second preset area of the second photo into a preset number of sub-areas, for example, may be divided into M*N squares, as shown in the gray part of FIG. In other embodiments, the entire area of the first photo and the second photo may also be divided. Wherein, the values of M and N can be adjusted according to the pixels of the camera, and the gray value of each sub-region is an average value of the gray values of each pixel included in the region. The larger the value of M and N is, the higher the splicing precision is. When each sub-region corresponds to one pixel, the splicing precision is the highest, wherein the first preset area and the second preset area are respectively the first photo and In the second photograph, there is an area of the overlapping portion, and in this embodiment, a partial area of one third of the edge adjacent to the photo may be selected.
步骤S22,获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值。Step S22, acquiring a sum of grayscale differences of overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determining whether the sum of the grayscale differences is Less than or equal to the preset value.
步骤S23,若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。Step S23, if the sum of the gradation difference values is less than or equal to the preset value, performing the first preset area of the first photo and the second preset area of the second photo The wide angle photograph is obtained by fusion.
将第一预设区域和第二预设区域进行叠加,并计算两张照片的每个上下对应的子区域的灰度差值的总和,当上下两张照片上对应的子区域的灰度差值的总和小于或者等于预设值时,将两张照片的预设区域进行拼接融合。Superimposing the first preset area and the second preset area, and calculating the sum of the gray difference values of the corresponding sub-areas of the two photos, and the gray difference of the corresponding sub-areas on the upper and lower two photos When the sum of the values is less than or equal to the preset value, the preset areas of the two photos are spliced and fused.
可选地,在步骤S22之后,该方法还包括:Optionally, after step S22, the method further includes:
若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。 Adjusting a position of the first preset area on the first photo and/or the second preset area in the second photo if the sum of the grayscale differences is greater than the preset value The upper position until the sum of the acquired gradation difference values is less than or equal to the preset value.
当上下两张照片上对应的子区域的灰度差值的总和大于预设值时,则调整预设区域在照片上的位置,并计算调整后的灰度差值的总和,直至获取到的所述灰度差值的总和小于或等于所述预设值。由于拍摄的两张照片在同一水平线上,因此在调整第一预设区域和/或第二预设区域的位置时,只需要沿水平方向或者垂直方向调整即可,根据拍摄的照片的方向进行决定,例如,可以参照图8中的调整方向,调整第一预设区域在第一照片上的位置和/或第二预设区域在第二照片上的位置,或者与图中所示方向相反的方向。When the sum of the grayscale differences of the corresponding sub-regions on the upper and lower photos is greater than the preset value, the position of the preset region on the photo is adjusted, and the sum of the adjusted grayscale differences is calculated until the obtained The sum of the gradation differences is less than or equal to the preset value. Since the two photographs taken are on the same horizontal line, when the positions of the first preset area and/or the second preset area are adjusted, only the horizontal direction or the vertical direction needs to be adjusted, according to the direction of the photographed photograph. Deciding, for example, that the position of the first preset area on the first photo and/or the position of the second preset area on the second photo may be adjusted with reference to the adjustment direction in FIG. 8 or opposite to the direction shown in the figure The direction.
在其他实施例中,在进行照片的合成时,将第一预设区域和第二预设区域全部或者部分叠加,并调整第一预设区域和/或第二预设区域的位置,使第一照片的子区域与第二照片的子区域上下一一对应,计算两张照片的每个上下对应的子区域的灰度差值的总和,当上下两张照片上对应的子区域的灰度差值的总和最小时,则是两张照片拼接重合的匹配位置,按照该匹配位置将第一照片和第二照片的重叠部分进行融合得到广角照片。In other embodiments, when the photo is synthesized, the first preset area and the second preset area are all or partially superimposed, and the positions of the first preset area and/or the second preset area are adjusted, so that The sub-region of a photo corresponds to the next sub-region of the second photo, and the sum of the gray-scale differences of the sub-regions corresponding to each of the two photos is calculated, and the gray of the corresponding sub-regions on the upper and lower photos is calculated. When the sum of the differences is the smallest, the matching positions of the two photos are overlapped, and the overlapping portions of the first photo and the second photo are merged according to the matching position to obtain a wide-angle photo.
本实施例提出的具有双目摄像头的移动终端的拍照方法,使用基于灰度差的图像拼接算法对两张照片进行拼接融合,该算法拼接合成的速度快,拼接精度高,能够得到成像质量好的广角照片。The photographing method of the mobile terminal with the binocular camera proposed in this embodiment uses the image stitching algorithm based on the gray scale difference to splicing and merging two photos. The algorithm combines the speed of stitching and combining, has high stitching precision, and can obtain good image quality. Wide angle photo.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的可选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above is only an alternative embodiment of the present invention, and thus does not limit the scope of the invention, and the equivalent structure or equivalent process transformation made by using the specification and the drawings of the present invention, or directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
上述技术方案无需使用外接镜头模组,在拍照时无需对手机进行旋转,即可方便快捷地拍摄出成像质量好的广角照片。 The above technical solution does not need to use an external lens module, and can take a wide-angle photo with good image quality conveniently and quickly without rotating the mobile phone when taking a photo.

Claims (20)

  1. 一种具有双目摄像头的移动终端,所述移动终端包括:A mobile terminal having a binocular camera, the mobile terminal comprising:
    第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头设置为相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴分别垂直于所述第一摄像头和所述第二摄像头之间的连线;a first camera and a second camera, the first camera and the second camera are arranged to rotate relative to the mobile terminal, and the rotation axes of the first camera and the second camera are perpendicular to the first a connection between the camera and the second camera;
    拍照模块,设置为在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;The photographing module is configured to, when receiving the wide-angle photographing instruction, control the first camera and the second camera to take photographs with the same photographing parameter, wherein the rotated first plane of the first camera and its own rotating axis The sum of the angle between the angle and the angle between the rotated second camera and the plane in which the own rotation axis is located is greater than zero, and is smaller than the sum of the angles of view of the first camera and the second camera. Half;
    照片获取模块,设置为获取所述第一摄像头拍摄的第一照片和所述第二摄像头拍摄的第二照片;a photo acquisition module, configured to acquire a first photo taken by the first camera and a second photo taken by the second camera;
    照片合成模块,设置为将所述第一照片和所述第二照片进行拼接合成得到广角照片。The photo synthesis module is configured to splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo.
  2. 根据权利要求1所述的具有双目摄像头的移动终端,其中,所述拍照模块包括:The mobile terminal with a binocular camera according to claim 1, wherein the camera module comprises:
    角度调整单元,设置为在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;The angle adjustment unit is configured to control the first camera and the second camera to rotate to a first preset angle and a second preset angle respectively when receiving the wide-angle photographing instruction, and turn on the first camera and the second camera Wherein the sum of the first preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera;
    拍照单元,设置为将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。The photographing unit is configured to set the first camera and the second camera to the same photographing parameter, and perform photographing according to the photographing parameter.
  3. 根据权利要求2所述的具有双目摄像头的移动终端,其中,所述拍照单元,是设置为通过如下方式实现将所述第一摄像头和所述第二摄像头设置为相同的拍照参数: The mobile terminal with a binocular camera according to claim 2, wherein the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by:
    将所述第二摄像头的所述拍照参数调整至与所述第一摄像头一致。Adjusting the photographing parameter of the second camera to be consistent with the first camera.
  4. 根据权利要求1所述的具有双目摄像头的移动终端,其中,所述照片合成模块包括:The mobile terminal with a binocular camera according to claim 1, wherein the photo synthesizing module comprises:
    区域划分单元,设置为将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值;The area dividing unit is configured to uniformly divide the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquire each of the sub-areas Gray value
    总和判断单元,设置为获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值;a sum determination unit configured to acquire a sum of grayscale differences of overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determine the grayscale difference Whether the sum is less than or equal to the preset value;
    照片合成单元,设置为若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。a photo synthesizing unit configured to: if the sum of the gradation difference values is less than or equal to the preset value, the first preset area of the first photo and the second pre-preparation of the second photo The region is fused to obtain the wide-angle photograph.
  5. 根据权利要求4所述的具有双目摄像头的移动终端,所述照片合成模块还包括:The mobile terminal with a binocular camera according to claim 4, the photo synthesizing module further comprising:
    区域调整单元,设置为若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。The area adjustment unit is configured to adjust a position of the first preset area on the first photo and/or the second preset area if the sum of the grayscale difference values is greater than the preset value At a position on the second photo, until the sum of the acquired gradation difference values is less than or equal to the preset value.
  6. 根据权利要求1所述的具有双目摄像头的移动终端,其中,A mobile terminal having a binocular camera according to claim 1, wherein
    拍照参数包括:曝光值,曝光时间,感光度和光圈大小。Photographing parameters include: exposure value, exposure time, sensitivity and aperture size.
  7. 根据权利要求1所述的具有双目摄像头的移动终端,其中,照片合成模块,是设置为通过如下方式实现将所述第一照片和所述第二照片进行拼接合成得到广角照片: The mobile terminal with a binocular camera according to claim 1, wherein the photo synthesizing module is configured to perform splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo by:
    使用像素匹配的方法确定出两张照片的重叠区域;Using pixel matching to determine the overlapping area of the two photos;
    采用直方图匹配的方法进行灰度调整;Gray scale adjustment using a histogram matching method;
    使用加权平滑算法完成图像的无缝拼接。Seamless splicing of images is done using a weighted smoothing algorithm.
  8. 根据权利要求4所述的具有双目摄像头的移动终端,其中,A mobile terminal having a binocular camera according to claim 4, wherein
    总和判断单元,是设置为将第一张照片和第二张照片的预设区域进行叠加,计算两张照片的每个上下对应的子区域的灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值。The sum determination unit is configured to superimpose the preset areas of the first photo and the second photo, calculate a sum of gradation difference values of each of the upper and lower corresponding sub-regions of the two photos, and determine the gray scale Whether the sum of the differences is less than or equal to the preset value.
  9. 根据权利要求2所述的具有双目摄像头的移动终端,其中,所述拍照单元,是设置为通过如下方式实现将所述第一摄像头和所述第二摄像头设置为相同的拍照参数:The mobile terminal with a binocular camera according to claim 2, wherein the photographing unit is configured to set the first camera and the second camera to the same photographing parameter by:
    将所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致。Adjusting the photographing parameter of the first camera to be consistent with the second camera.
  10. 根据权利要求4所述的具有双目摄像头的移动终端,其中,A mobile terminal having a binocular camera according to claim 4, wherein
    第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域。The first preset area, and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
  11. 一种具有双目摄像头的移动终端的拍照方法,所述移动终端包括第一摄像头和第二摄像头,所述第一摄像头和所述第二摄像头设置为相对于所述移动终端旋转,所述第一摄像头和所述第二摄像头的旋转轴分别垂直于所述第一摄像头和所述第二摄像头之间的连线,所述具有双目摄像头的移动终端的拍照方法包括:A photographing method for a mobile terminal having a binocular camera, the mobile terminal comprising a first camera and a second camera, the first camera and the second camera being arranged to rotate relative to the mobile terminal, the first The rotation axes of a camera and the second camera are respectively perpendicular to the connection between the first camera and the second camera, and the photographing method of the mobile terminal with the binocular camera includes:
    在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照,其中,旋转后的所述第一摄像头与其自身旋转轴所在的平面之间的角度与旋转后的所述第二摄像头与其自身旋转轴所在的平面之间的的角度之和大于零,且小于所述第一摄像头和所述第二摄像头的视 场角之和的二分之一;When receiving the wide-angle photographing instruction, controlling the first camera and the second camera to take a photograph with the same photographing parameter, wherein an angle between the rotated first camera and a plane where the rotation axis of the rotation is located a sum of angles between the rotated second camera and a plane in which the own rotation axis is located is greater than zero, and smaller than the views of the first camera and the second camera One-half of the sum of the field angles;
    获取所述第一摄像头拍摄的第一照片和所述第二摄像头拍摄的第二照片;Obtaining a first photo taken by the first camera and a second photo taken by the second camera;
    将所述第一照片和所述第二照片进行拼接合成得到广角照片。The first photo and the second photo are spliced and combined to obtain a wide-angle photograph.
  12. 根据权利要求11所述的具有双目摄像头的移动终端的拍照方法,其中,所述在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头以相同的拍照参数进行拍照的步骤包括:The photographing method of a mobile terminal with a binocular camera according to claim 11, wherein when the wide-angle photographing instruction is received, the first camera and the second camera are controlled to take photographs with the same photographing parameter. The steps include:
    在接收到广角拍照指令时,控制所述第一摄像头和所述第二摄像头分别旋转至第一预设角度和第二预设角度,并开启第一摄像头和第二摄像头,其中,所述第一预设角度和所述第二预设角度之和大于零且小于所述第一摄像头和所述第二摄像头的视场角之和的二分之一;When receiving the wide-angle photographing instruction, controlling the first camera and the second camera to respectively rotate to a first preset angle and a second preset angle, and turn on the first camera and the second camera, wherein the first a sum of a preset angle and the second preset angle is greater than zero and less than one-half of a sum of field angles of the first camera and the second camera;
    将所述第一摄像头和所述第二摄像头设置为相同的拍照参数,并按照所述拍照参数进行拍照。The first camera and the second camera are set to the same photographing parameter, and photographing is performed according to the photographing parameter.
  13. 根据权利要求12所述的具有双目摄像头的移动终端的拍照方法,其中,所述将所述第一摄像头和所述第二摄像头设置为相同的拍照参数的步骤包括:The photographing method of a mobile terminal with a binocular camera according to claim 12, wherein the step of setting the first camera and the second camera to the same photographing parameter comprises:
    将所述第二摄像头的所述拍照参数调整至与所述第一摄像头一致。Adjusting the photographing parameter of the second camera to be consistent with the first camera.
  14. 根据权利要求11所述的具有双目摄像头的移动终端的拍照方法,其中,所述将所述第一照片和所述第二照片进行拼接合成得到广角照片的步骤包括:The photographing method of a mobile terminal with a binocular camera according to claim 11, wherein the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo comprises:
    将所述第一照片的第一预设区域和所述第二照片的第二预设区域分别均匀地划分为预设数目的子区域,并获取每个所述子区域的灰度值;Separating the first preset area of the first photo and the second preset area of the second photo into a preset number of sub-areas, respectively, and acquiring gray values of each of the sub-areas;
    获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于 预设值;Obtaining a sum of overlapping partial gradation differences of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determining whether a sum of the gradation differences is less than or equal to default value;
    若所述灰度差值的总和小于或等于所述预设值,将所述第一照片的所述第一预设区域和所述第二照片的所述第二预设区域进行融合得到所述广角照片。If the sum of the grayscale differences is less than or equal to the preset value, the first preset area of the first photo and the second preset area of the second photo are merged to obtain a A wide-angle photo.
  15. 根据权利要求14所述的具有双目摄像头的移动终端的拍照方法,所述将所述第一照片和所述第二照片进行拼接合成得到广角照片的步骤还包括:The method for photographing a mobile terminal with a binocular camera according to claim 14, wherein the step of splicing and synthesizing the first photo and the second photo to obtain a wide-angle photo further comprises:
    所述获取所述第一照片的每个所述子区域与所述第二照片的每个所述子区域的重叠部分灰度差值的总和,并判断所述灰度差值的总和是否小于或等于预设值的步骤之后,若所述灰度差值的总和大于所述预设值,则调整所述第一预设区域在所述第一照片上的位置和/或所述第二预设区域在所述第二照片上的位置,直至获取到的所述灰度差值的总和小于或等于所述预设值。And acquiring, by the sum of the gradation difference values of the overlapping portions of each of the sub-regions of the first photo and each of the sub-regions of the second photo, and determining whether the sum of the gradation differences is smaller than Or after the step of being equal to the preset value, if the sum of the grayscale differences is greater than the preset value, adjusting a position of the first preset area on the first photo and/or the second a position of the preset area on the second photo until the sum of the acquired gradation difference values is less than or equal to the preset value.
  16. 根据权利要求11所述的具有双目摄像头的移动终端的拍照方法,其中,A photographing method of a mobile terminal having a binocular camera according to claim 11, wherein
    拍照参数包括:曝光值,曝光时间,感光度和光圈大小。Photographing parameters include: exposure value, exposure time, sensitivity and aperture size.
  17. 根据权利要求11所述的具有双目摄像头的移动终端的拍照方法,其中,将所述第一照片和所述第二照片进行拼接合成得到广角照片包括:The method for photographing a mobile terminal with a binocular camera according to claim 11, wherein the splicing and combining the first photo and the second photo to obtain a wide-angle photo comprises:
    使用像素匹配的方法确定出两张照片的重叠区域;Using pixel matching to determine the overlapping area of the two photos;
    采用直方图匹配的方法进行灰度调整;Gray scale adjustment using a histogram matching method;
    使用加权平滑算法完成图像的无缝拼接。Seamless splicing of images is done using a weighted smoothing algorithm.
  18. 根据权利要求15所述的具有双目摄像头的移动终端的拍照方法,其中,所述获取所述第一照片的每个所述子区域与所述第二照片的每个所述 子区域的重叠部分灰度差值的总和包括:The photographing method of a mobile terminal having a binocular camera according to claim 15, wherein said acquiring said each of said sub-area of said first photograph and said second photograph The sum of the grayscale differences of the overlapping portions of the subregions includes:
    将第一张照片和第二张照片的预设区域进行叠加,计算两张照片的每个上下对应的子区域的灰度差值的总和。The preset areas of the first photo and the second photo are superimposed, and the sum of the gradation differences of the sub-regions corresponding to each of the two photos is calculated.
  19. 根据权利要求12所述的具有双目摄像头的移动终端的拍照方法,其中,所述将所述第一摄像头和所述第二摄像头设置为相同的拍照参数的步骤包括:The photographing method of a mobile terminal with a binocular camera according to claim 12, wherein the step of setting the first camera and the second camera to the same photographing parameter comprises:
    将所述第一摄像头的所述拍照参数调整至与所述第二摄像头一致。Adjusting the photographing parameter of the first camera to be consistent with the second camera.
  20. 根据权利要求14所述的具有双目摄像头的移动终端,其中,A mobile terminal having a binocular camera according to claim 14, wherein
    第一预设区域,和第二预设区域分别为第一照片和第二照片中有重叠部分的区域。 The first preset area, and the second preset area are respectively an area having overlapping portions in the first photo and the second photo.
PCT/CN2016/103015 2015-10-22 2016-10-24 Mobile terminal having binocular cameras and photographing method therefor WO2017067520A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510696071.4A CN105262951A (en) 2015-10-22 2015-10-22 Mobile terminal having binocular camera and photographing method
CN201510696071.4 2015-10-22

Publications (1)

Publication Number Publication Date
WO2017067520A1 true WO2017067520A1 (en) 2017-04-27

Family

ID=55102439

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103015 WO2017067520A1 (en) 2015-10-22 2016-10-24 Mobile terminal having binocular cameras and photographing method therefor

Country Status (2)

Country Link
CN (1) CN105262951A (en)
WO (1) WO2017067520A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287155A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Picture processing method and device
US20210364898A1 (en) * 2017-09-27 2021-11-25 Zhejiang Dahua Technology Co., Ltd. Surveillance device

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262951A (en) * 2015-10-22 2016-01-20 努比亚技术有限公司 Mobile terminal having binocular camera and photographing method
CN105872361A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Shooting guidance device, system and method
CN107493422A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 A kind of fast acquiring method and device of big visual angle photo
CN106060526A (en) * 2016-07-04 2016-10-26 天脉聚源(北京)传媒科技有限公司 Live broadcast method and device based on two cameras
CN106550230A (en) * 2016-08-31 2017-03-29 深圳小辣椒虚拟现实技术有限责任公司 A kind of 3D rendering filming apparatus and method
CN106534406A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Terminal, photographing device and method
CN106375608A (en) * 2016-11-29 2017-02-01 努比亚技术有限公司 Terminal and method for using terminal to shoot
CN106791298A (en) * 2016-12-01 2017-05-31 广东虹勤通讯技术有限公司 A kind of terminal and photographic method with dual camera
CN106603931A (en) * 2017-02-27 2017-04-26 努比亚技术有限公司 Binocular shooting method and device
CN106681780A (en) * 2017-02-27 2017-05-17 努比亚技术有限公司 Mobile terminal and method for implementing live wallpaper
CN106851079A (en) * 2017-04-10 2017-06-13 深圳市世纪佳华电子科技有限公司 A kind of wide-angle imaging system
CN107248141B (en) * 2017-04-28 2021-01-05 努比亚技术有限公司 Image editing method and device and computer readable storage medium
WO2018233373A1 (en) * 2017-06-23 2018-12-27 华为技术有限公司 Image processing method and apparatus, and device
CN107295256A (en) 2017-06-23 2017-10-24 华为技术有限公司 A kind of image processing method, device and equipment
CN107483804A (en) * 2017-09-30 2017-12-15 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium
CN108270952B (en) * 2017-11-21 2020-08-07 深圳市芯舞时代科技有限公司 Method and system for correcting image chromatic aberration of binocular camera
CN108205801A (en) * 2017-12-27 2018-06-26 中兴通讯股份有限公司 A kind of method and terminal for supporting image mosaic
CN110876016B (en) * 2018-08-31 2021-03-16 珠海格力电器股份有限公司 Image processing method, apparatus and storage medium
CN111355878A (en) * 2018-12-21 2020-06-30 中兴通讯股份有限公司 Terminal, shooting method and storage medium
CN111565264B (en) * 2019-02-14 2021-11-23 北京小米移动软件有限公司 Camera assembly and mobile terminal
CN110784575B (en) * 2019-11-29 2021-04-20 维沃移动通信(杭州)有限公司 Electronic equipment and shooting method
CN111080720B (en) * 2019-12-26 2023-07-04 重庆盟讯电子科技有限公司 Module correction method
WO2021243566A1 (en) * 2020-06-02 2021-12-09 深圳市大疆创新科技有限公司 Imaging method, imaging apparatus, and computer readable storage medium
CN112601023A (en) * 2020-12-15 2021-04-02 展讯通信(天津)有限公司 Terminal device, variable-angle imaging method, electronic device, and storage medium
CN112911196A (en) * 2021-01-15 2021-06-04 随锐科技集团股份有限公司 Multi-lens collected video image processing method and system
CN113613177A (en) * 2021-08-26 2021-11-05 三一汽车制造有限公司 Method and device for pairing connection between terminals and operation machine

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212825A1 (en) * 2004-10-06 2008-09-04 Cssn Inc System and method for electronically combining images taken by two or more adjacent image sensors
CN202172446U (en) * 2011-08-29 2012-03-21 华为终端有限公司 Wide angle photographing apparatus
CN103150716A (en) * 2013-03-21 2013-06-12 山东省计算中心 Method for mosaicing infrared images
KR20130073116A (en) * 2011-12-23 2013-07-03 퍼스텍주식회사 Surveillance camera system
CN104469282A (en) * 2013-09-25 2015-03-25 中央大学 Image capturing system with double lenses
CN204517934U (en) * 2015-04-24 2015-07-29 李小宁 Digital vedio recording module
CN104994288A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Shooting method and user terminal
CN105262951A (en) * 2015-10-22 2016-01-20 努比亚技术有限公司 Mobile terminal having binocular camera and photographing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212825A1 (en) * 2004-10-06 2008-09-04 Cssn Inc System and method for electronically combining images taken by two or more adjacent image sensors
CN202172446U (en) * 2011-08-29 2012-03-21 华为终端有限公司 Wide angle photographing apparatus
KR20130073116A (en) * 2011-12-23 2013-07-03 퍼스텍주식회사 Surveillance camera system
CN103150716A (en) * 2013-03-21 2013-06-12 山东省计算中心 Method for mosaicing infrared images
CN104469282A (en) * 2013-09-25 2015-03-25 中央大学 Image capturing system with double lenses
CN204517934U (en) * 2015-04-24 2015-07-29 李小宁 Digital vedio recording module
CN104994288A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Shooting method and user terminal
CN105262951A (en) * 2015-10-22 2016-01-20 努比亚技术有限公司 Mobile terminal having binocular camera and photographing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210364898A1 (en) * 2017-09-27 2021-11-25 Zhejiang Dahua Technology Co., Ltd. Surveillance device
US11835847B2 (en) * 2017-09-27 2023-12-05 Zhejiang Dahua Technology Co., Ltd. Surveillance device
US11860516B2 (en) 2017-09-27 2024-01-02 Zhejiang Dahua Technology Co., Ltd. Surveillance device
CN112287155A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Picture processing method and device
CN112287155B (en) * 2020-10-30 2024-03-22 维沃移动通信有限公司 Picture processing method and device

Also Published As

Publication number Publication date
CN105262951A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
WO2017067520A1 (en) Mobile terminal having binocular cameras and photographing method therefor
WO2017071559A1 (en) Image processing apparatus and method
WO2017107629A1 (en) Mobile terminal, data transmission system and shooting method of mobile terminal
KR102314594B1 (en) Image display method and electronic device
WO2017088678A1 (en) Long-exposure panoramic image shooting apparatus and method
WO2017050115A1 (en) Image synthesis method
WO2017221659A1 (en) Image capturing device, display device, and image capturing and displaying system
CN106688227B (en) More photographic devices, more image capture methods
US20110102630A1 (en) Image capturing devices using device location information to adjust image data during image signal processing
JP2012239150A (en) Handheld electronic device, double image acquisition method applied to the device, and computer program product loaded to the device
WO2017045647A1 (en) Method and mobile terminal for processing image
WO2018076938A1 (en) Method and device for processing image, and computer storage medium
WO2017088662A1 (en) Focusing method and device
WO2017071475A1 (en) Image processing method, and terminal and storage medium
WO2017071558A1 (en) Mobile terminal photographing device and method
WO2017071469A1 (en) Mobile terminal, image capture method and computer storage medium
WO2017067523A1 (en) Image processing method, device and mobile terminal
WO2017054677A1 (en) Mobile terminal photographing system and mobile terminal photographing method
CN107071277B (en) Optical drawing shooting device and method and mobile terminal
WO2017088600A1 (en) Method and device for enlarging imaging range, mobile terminal and computer storage medium
WO2017067481A1 (en) Method and mobile terminal for processing image
JP2018007041A (en) Imaging apparatus, display device, and imaging and display system
US11555696B2 (en) Electronic terminal, photographing method and device, and storage medium
WO2016157607A1 (en) Camera device, image processing device, and image processing method
JP5742301B2 (en) Image projection apparatus, digital camera and optical apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16856951

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856951

Country of ref document: EP

Kind code of ref document: A1