WO2017071468A1 - Information processing method, mobile terminal and computer storage medium - Google Patents

Information processing method, mobile terminal and computer storage medium Download PDF

Info

Publication number
WO2017071468A1
WO2017071468A1 PCT/CN2016/101883 CN2016101883W WO2017071468A1 WO 2017071468 A1 WO2017071468 A1 WO 2017071468A1 CN 2016101883 W CN2016101883 W CN 2016101883W WO 2017071468 A1 WO2017071468 A1 WO 2017071468A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
acquisition unit
image acquisition
preview
sub
Prior art date
Application number
PCT/CN2016/101883
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 WO2017071468A1 publication Critical patent/WO2017071468A1/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
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Definitions

  • the present invention relates to information processing technologies, and in particular, to an information processing method, a mobile terminal, and a computer storage medium.
  • the embodiments of the present invention provide an information processing method, a mobile terminal, and a computer storage medium, which can change the perspective of the camera of the mobile terminal, meet user requirements, and improve the user experience.
  • the embodiment of the present invention provides a mobile terminal, where the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit that are located in the same plane; the mobile terminal further includes: a driving unit and an image processing unit;
  • the driving unit is configured to detect a first instruction, enable a first image capturing unit and a second image capturing unit based on the first instruction; and control a first focus parameter and the first image of the first image capturing unit
  • the second focus parameters of the two image acquisition units are the same, such that the first focus plane of the first image acquisition unit and the second focus plane of the second image acquisition unit are on the same plane;
  • An instruction to simultaneously control the first based on the second instruction The image acquisition unit acquires the first image and controls the second image acquisition unit to acquire the second image;
  • the image processing unit is configured to process the first image acquired by the first image acquisition unit and the second image acquired by the second image acquisition unit according to a preset processing manner to generate an image.
  • the image processing unit is further configured to obtain a preview image by the first image acquisition unit and the second image acquisition unit before detecting the second instruction;
  • the preview image includes: first a preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; the third preview sub-image is the second a preview image obtained by the image acquisition unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
  • the mobile terminal further includes a viewing angle adjustment module configured to detect, for the first preview sub image, the second preview sub image, and the third preview sub before the driving unit detects the second instruction a third instruction for previewing the sub-image in the image; and closing an image preview of the other preview sub-images other than the at least one preview sub-image based on the third instruction to obtain an image acquisition parameter.
  • a viewing angle adjustment module configured to detect, for the first preview sub image, the second preview sub image, and the third preview sub before the driving unit detects the second instruction a third instruction for previewing the sub-image in the image; and closing an image preview of the other preview sub-images other than the at least one preview sub-image based on the third instruction to obtain an image acquisition parameter.
  • the image processing unit is configured to perform cropping and/or superimposition processing on the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter.
  • the image processing unit is configured to identify a first sub image and a second sub image in the first image, and to identify a third sub image and a fourth sub image in the second image Wherein the second sub-image and the third sub-image are coincident; and the first image and the second image are cropped based on the image acquisition parameter to obtain at least two sub-images; Two sub-images are superimposed to obtain the image acquisition parameters Image.
  • the driving unit is configured to detect a first triggering operation of the first button, generate a first instruction based on the first triggering operation, and enable the first image capturing unit and the first instruction based on the first instruction Second image acquisition unit.
  • the first preview sub-image D1, the second preview sub-image D2, and the third preview sub-image D3 respectively satisfy the following expression:
  • ⁇ 1 is the angle of view of the first image acquisition unit
  • ⁇ 2 is the angle of view of the second image acquisition unit
  • d is the distance between the first image acquisition unit and the second image acquisition unit
  • L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; ⁇ 1 and ⁇ 2 are both greater than 0° and less than 180°.
  • the image processing unit is configured to perform pixel level superposition and weighted average on the second preview sub image in the first image and the second image based on the image acquisition parameter. deal with.
  • the driving unit is configured to control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same; the first focus parameter and the first focus parameter
  • the second focal length parameter includes a focal length and/or an object distance.
  • the first image acquisition unit and the second image acquisition unit have the same hardware structure, so that the first image acquisition unit and the second image acquisition unit have the same optical parameters.
  • the optical parameter includes at least one of the following parameters: resolution, sensitivity, exposure compensation parameter, aperture range.
  • the embodiment of the present invention further provides an information processing method, which is applied to a mobile terminal; the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located in the same plane; the method includes:
  • Detecting a second instruction controlling, according to the second instruction, the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image;
  • the first image and the second image are processed in a preset processing manner to generate an image.
  • the method before the detecting the second instruction, further includes: obtaining, by the first image acquiring unit and the second image collecting unit, a preview image; the preview image includes: a first preview a sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; the third preview sub-image is the second image a preview image obtained by the acquisition unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
  • the method before the detecting the second instruction, further includes: detecting, for the at least one preview sub-image of the first preview sub-image, the second preview sub-image, and the third preview sub-image a third instruction; obtaining an image acquisition parameter by turning off an image preview of other preview sub-images other than the at least one preview sub-image based on the third instruction.
  • the processing, by using the preset processing manner, to generate the image by using the first image and the second image includes:
  • the superimposition process obtains an image that satisfies the image acquisition parameters.
  • the cropping and/or superimposing processing the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter includes:
  • Image Identifying a first sub-image and a second sub-image in the first image, and identifying a third sub-image and a fourth sub-image in the second image; wherein the second sub-image and the third Sub-images are overlapped; the first image and the second image are cropped based on the image acquisition parameters to obtain at least two sub-images; and the at least two sub-images are superimposed to obtain the image acquisition parameters.
  • the detecting the first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction comprising: detecting a first trigger operation of the first button, based on the The first triggering operation generates a first instruction to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
  • the first preview sub-image D1, the second preview sub-image D2, and the third preview sub-image D3 respectively satisfy the following expression:
  • ⁇ 1 is the angle of view of the first image acquisition unit
  • ⁇ 2 is the angle of view of the second image acquisition unit
  • d is the distance between the first image acquisition unit and the second image acquisition unit
  • L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; ⁇ 1 and ⁇ 2 are both greater than 0° and less than 180°.
  • the first image and the second image are processed by default
  • the way to process the generated image including:
  • controlling the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are the same, including:
  • the first focus parameter of the first image acquisition unit is controlled to be the same as the second focus parameter of the second image acquisition unit; the first focus distance parameter and the second focus distance parameter include a focal length and/or an object distance.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the information processing method according to the embodiment of the invention.
  • the information processing method, the mobile terminal and the computer storage medium provided by the embodiment of the present invention collect the first image and the second image acquisition unit to acquire the second image by using the first image acquisition unit disposed in the same plane, in the first image and the first image
  • the two images are cropped and/or superimposed, and the image acquisition field of view is adjusted without replacing the external lens, which satisfies the user's needs without increasing the cost, and greatly improves the user experience.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of a preview image obtained by a mobile terminal according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of adjusting a viewing angle of a mobile terminal according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a structure of an information processing method according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of an information processing method according to Embodiment 4 of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in 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, etc.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components 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 system or network.
  • the wireless communication unit may include a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, and a short-range communication module. At least one of 114 and 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 systems.
  • 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 system of the @) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system.
  • 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
  • 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 Microwave Interconnect) Access), HSDPA (High Speed Downlink Packet Access), etc.
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is GPS (Global Positioning System).
  • GPS Global Positioning System
  • the position information module 115 as a GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensionality based on longitude, latitude, and altitude.
  • Current location information 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 position information module 115 as the GPS module can calculate the speed information by continuously calculating the current position information in real time.
  • the A/V input unit 120 is for receiving 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.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the 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 user input unit 130 can generate key input data according to a command input by the user to control the shift. 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.
  • a touch screen can be formed.
  • 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 141 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 for connecting 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 from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • 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 bottom allowing A path through which various command signals input to the mobile terminal are transmitted to the mobile 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 used 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 a specific function performed by the mobile terminal 100. Off audio output (eg, call signal reception sound, message reception sound, etc.).
  • the audio output module 152 can include a speaker, 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 that performs 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, and the like) 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 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180.
  • Controller The pattern recognition process may be performed 180 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 implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • 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 and executed by
  • 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 present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • Such communication systems may use different air interfaces and/or physical layers.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • the MSC 280 is configured to interface with a public switched telephone network (PSTN) 290.
  • PSTN public switched telephone network
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 can include multiple BSCs 275.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally refer to a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 1 of the present invention; as shown in FIG. 3, the mobile terminal is provided with a first image acquiring unit 31 located on the same plane and a second image acquisition unit 32; the mobile terminal further includes: a driving unit 33 and an image processing unit 34; wherein
  • the driving unit 33 is configured to detect the first instruction, enable the first image acquiring unit 31 and the second image collecting unit 32 based on the first instruction, and control the first focusing parameter of the first image collecting unit 31.
  • the image processing unit 34 is configured to process the first image collected by the first image acquisition unit 31 and the second image collected by the second image acquisition unit 32 in a preset processing manner to generate an image.
  • the mobile terminal is provided with two image collection units, which are respectively the first image.
  • the image capturing unit 31 and the second image capturing unit 32; the first image capturing unit 31 and the second image capturing unit 32 are disposed on the same plane.
  • the first image capturing unit 31 and the second image capturing unit 32 are both disposed on the main design surface of the mobile terminal; the main design surface is opposite to the plane of the display screen of the mobile terminal, and can be understood.
  • the main design surface is a surface of the mobile terminal in contact with the stage when the mobile terminal is placed horizontally and the display screen is placed on the shelf.
  • the first image capturing unit 31 and the second image capturing unit 32 may also be disposed on a plane of the display screen of the mobile terminal.
  • the first image capturing unit 31 and the second image capturing unit 32 may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
  • the driving unit 33 detects the first instruction, and the first image capturing unit 31 and the second image capturing unit 32 are enabled based on the first instruction, including: the driving unit 33 detects the first of the first button Triggering operation, generating a first instruction based on the first triggering operation, and enabling the first image capturing unit 31 and the second image capturing unit 32 based on the first instruction.
  • the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image capturing unit 31 and the second image capturing unit 32 to be simultaneously turned on.
  • the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit 31 and the second image capturing unit 32, and the first image capturing unit is respectively enabled by two triggering operations. 31 and the second image acquisition unit 32.
  • the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • the first image acquisition unit 31 and the second image acquisition unit 32 have the same hardware structure, that is, the first image acquisition unit 31 and the second image acquisition unit. 32 has the same hardware structure of the photosensitive device, sensor, etc., correspondingly, the first image acquisition unit 31 and the second image acquisition unit 32 have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, and the like. It can also be understood that the first image acquisition unit 31 and the second image acquisition unit 32 are the same image acquisition unit. when However, in other embodiments, the first image capturing unit 31 and the second image capturing unit 32 may be different, and are not specifically limited in this embodiment.
  • the driving unit 33 may adopt an auto focus mode or a manual focus mode, and control the first focus parameter of the first image acquisition unit 31 and the second focus parameter of the second image acquisition unit 32 to be the same.
  • the first focus parameter and the second focus parameter are specifically focal lengths; when, as an embodiment, the first image acquisition unit 31 and the second image acquisition unit 32 have the same hardware structure,
  • the first focus parameter and the second focus parameter may specifically be an object distance, and the object distance is a captured object and an image acquisition unit (the first image acquisition unit 31 or the second image acquisition unit 32) The distance between them.
  • 4 is a schematic diagram of a preview image obtained by a mobile terminal according to Embodiment 1 of the present invention; as shown in FIG.
  • the first focal length of the first image acquisition unit 31 and the second focal length of the second image acquisition unit 32 are the same.
  • the first focus plane of the first image acquisition unit 31 and the second focus plane of the second image acquisition unit 32 belong to the same focus plane, that is, the first image acquisition unit 31 is away from the focus plane.
  • the distance (first object distance) and the distance (second object distance) of the second image acquisition unit 32 from the focus plane are both L (L is a positive integer) in the present illustration.
  • the driving unit 33 detects the second instruction, and simultaneously controls the first image acquiring unit 31 to acquire the first image and the second image acquiring unit 32 to collect the second image based on the second instruction.
  • the driving unit 33 detects a second triggering operation of the second button, generates a second instruction based on the second triggering operation, and simultaneously controls the first image capturing unit 31 to acquire the first image based on the second instruction.
  • the image and the second image acquisition unit 32 are controlled to acquire a second image.
  • the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit 31 and the second image acquisition unit 32 to simultaneously acquire images.
  • the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • the image processing unit 34 is further configured to obtain a preview image by the first image capturing unit 31 and the second image capturing unit 32 before detecting the second instruction;
  • the preview image includes: a first preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31; the third preview sub-image is a preview image obtained by the second image acquisition unit 32; the second preview sub-image is a preview image obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed.
  • the first image acquisition unit 31 and the second image acquisition unit 32 are ⁇ 2
  • the distance between 32 is d
  • the distance between the first image acquisition unit 31 and the second image acquisition unit 32 from the focus plane is L; wherein d and L are positive integers; ⁇ 1 and ⁇ 2 is greater than 0 ° less than 180 °.
  • the focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG.
  • the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit 31, and correspondingly, D1 corresponds a first preview sub-image in the preview image; D3 is an image collection area unique to the second image acquisition unit 32, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image
  • D1 is an image acquisition area unique to the first image acquisition unit 31, and correspondingly, D1 corresponds a first preview sub-image in the preview image
  • D3 is an image collection area unique to the second image acquisition unit 32, and correspondingly, D3 corresponds to a third preview sub-image in the preview image
  • D2 is the first image
  • the image acquisition area shared by the image acquisition unit 31 and the second image acquisition unit 32, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
  • the image processing unit 34 when obtaining the preview image by the first image acquisition unit 31 and the second image acquisition unit 32, based on the above expressions (1), (2), and (3), A preview sub-image, the second preview sub-image, and the third preview sub-image are divided, and the second preview sub-image (ie, the D2 portion) is processed.
  • the second preview sub-image collected by the first image acquisition unit 31 and the second preview sub-image collected by the second image acquisition unit 32 may be superimposed and subjected to weighted averaging processing.
  • a second preview sub-image corresponding to the D2 portion is obtained.
  • the second preview sub-image obtained by the first image acquisition unit 31 may be separately acquired, and the preview image obtained by the second image acquisition unit 32 may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit 32, and a preview corresponding to the D2 portion of the preview image obtained by the first image acquisition unit 31
  • the image further obtains preview images including the first preview sub image, the second preview sub image, and the third preview sub image corresponding to D1, D2, and D3, respectively.
  • the image processing unit 34 processes the first image and the second image in a preset processing manner to generate an image, including: the image processing unit 34, the first image, and the The second image is cropped or superimposed to obtain an image.
  • the first image is The first image acquired by the acquisition unit 31 and the corresponding D2 portion of the second image acquired by the second image acquisition unit 32 perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining D1. Partial complete image of D2 and D3.
  • the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 part in the first image, thereby obtaining a package Contains a complete image of D1, D2 and D3 parts.
  • the preview image is obtained, and details are not described herein again.
  • the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 2 of the present invention; as shown in FIG. 5, the mobile terminal is provided with a first plane located on the same plane.
  • the image acquisition unit 31 and the second image acquisition unit 32; the mobile terminal further includes: a driving unit 33, a viewing angle adjustment module, and an image processing unit 34;
  • the driving unit 33 is configured to detect the first instruction, enable the first image acquiring unit 31 and the second image collecting unit 32 based on the first instruction, and control the first focusing parameter of the first image collecting unit 31.
  • the viewing angle adjustment module is configured to detect, before the driving unit 33 detects the second instruction, the first preview image of the first preview sub image, the second preview sub image, and the third preview sub image a three-instruction; closing an image preview of other preview sub-images other than the at least one preview sub-image based on the third instruction, obtaining an image acquisition parameter;
  • the image processing unit 34 is configured to obtain a preview image by the first image acquisition unit 31 and the second image acquisition unit 32 before the driving unit 33 detects the second instruction;
  • the preview image includes: a first preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31;
  • the third preview sub-image is a preview image obtained by the second image acquisition unit 32;
  • the second preview sub-image is a preview obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed.
  • An image is further configured to crop and/or superimpose the first image acquired by the first image acquisition unit 31 and the second image acquired by the second image acquisition unit 32 based on image acquisition parameters obtained by the viewing angle adjustment module Processing to obtain an image that satisfies the image acquisition parameters.
  • the image processing unit 34 obtains a preview image by using the first image capturing unit 31 and the second image capturing unit 32; the preview image includes: a preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31; the third preview sub-image is the a preview image obtained by the image acquisition unit 32; the second preview sub-image is a preview image obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed.
  • FIG. 6 is a schematic diagram of adjusting a viewing angle of a mobile terminal according to Embodiment 2 of the present invention. referring to FIG. 6, it is assumed that a viewing angle of the first image capturing unit 31 is ⁇ 1 and a viewing angle of the second image capturing unit 32 is ⁇ 2 .
  • the distance between the first image acquisition unit 31 and the second image acquisition unit 32 is d, and the distance between the first image acquisition unit 31 and the second image acquisition unit 32 from the focus plane is Is L; wherein, d and L are both positive integers; ⁇ 1 and ⁇ 2 are both greater than 0° and less than 180°.
  • the focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane.
  • the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit 31, and correspondingly, D1 corresponds a first preview sub-image in the preview image; D3 is an image collection area unique to the second image acquisition unit 32, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first The image acquisition area shared by the image acquisition unit 31 and the second image acquisition unit 32, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
  • the above D1, D2, and D3 satisfy the expressions (1), (2), and (3) in the first embodiment, respectively.
  • the first preview is performed based on the above expressions (1), (2), and (3)
  • the sub-image, the second preview sub-image, and the third preview sub-image are divided, and the second preview sub-image (ie, the D2 portion) is processed.
  • the second preview sub-image collected by the first image acquisition unit 31 and the second preview sub-image collected by the second image acquisition unit 32 may be superimposed and subjected to weighted averaging processing.
  • a second preview sub-image corresponding to the D2 portion is obtained.
  • the second preview sub-image obtained by the first image acquisition unit 31 may be separately acquired, and the preview image obtained by the second image acquisition unit 32 may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit 32, and a preview corresponding to the D2 portion of the preview image obtained by the first image acquisition unit 31
  • the image further obtains preview images including the first preview sub image, the second preview sub image, and the third preview sub image corresponding to D1, D2, and D3, respectively.
  • the mobile terminal when the mobile terminal obtains and outputs a preview image by using the first image capturing unit 31 and the second image capturing unit 32, the mobile terminal further outputs the first preview sub-image and the second preview.
  • An optional item corresponding to the sub-image and the third preview sub-image respectively (refer to FIG. 6 for details); the viewing angle adjustment module detects a trigger operation for any one of the three selectable items And generating a third instruction to close an image preview of the preview sub-image corresponding to the selectable item other than the selected selectable item based on the third instruction. For example, when a trigger operation for the selectable items d1 and d2 corresponding to D1 and D2 is detected, the third preview sub-corresponding to D3 is turned off.
  • the image acquisition parameters described in this embodiment are perspective parameters of the first image acquisition unit 31 and/or the second image acquisition unit 32.
  • the image processing unit 34 is configured to identify the first sub image and the second sub image in the first image, and identify the third sub image and the fourth sub image in the second image. Wherein the second sub-image and the third sub-image are coincident; and the first image and the second image are cropped based on the image acquisition parameter to obtain at least two sub-images; The two sub-images are subjected to superimposition processing to obtain an image satisfying the image acquisition parameters.
  • the image processing unit 34 The first image acquired by the first image acquisition unit 31 and the corresponding D2 portion of the second image acquired by the second image acquisition unit 32 perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining the inclusion There are complete images of the D1 part, the D2 part and the D3 part.
  • the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3.
  • the manner in which the image processing unit 34 performs the cropping or superimposition processing on the first image and the second image may refer to the foregoing to obtain a preview. The way the image is used is not repeated here.
  • the processing manner of the first image and the second image by the image processing unit 34 includes: cropping the sub-image corresponding to the D2 portion in the first image Obtaining a first sub-image, and cropping the sub-image corresponding to the D2 portion in the second image to obtain a second sub-image, and combining the first sub-image and the second sub-image to generate an image.
  • the mobile terminal may determine, according to the expressions (4), (5), and (6), a range of regions of the partial image in which the first image and the second image are coincident, and then based on the region range The first image and the second image are subjected to a cropping process.
  • the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
  • the driving unit 33, the viewing angle adjustment module and the image processing unit 34 in the mobile terminal may be used by the central processing unit (CPU, Central) in the mobile terminal in practical applications.
  • a processing unit a digital signal processor (DSP) or a field-programmable gate array (FPGA); the first image acquisition unit 31 and the second image acquisition unit 32, In practical applications, it can be implemented by a camera in the mobile terminal.
  • DSP digital signal processor
  • FPGA field-programmable gate array
  • FIG. 7 is an information processing method according to Embodiment 3 of the present invention; Schematic diagram of the composition; as shown in FIG. 7, the information processing method includes:
  • Step 701 Detect a first instruction, and enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
  • the mobile terminal is provided with two image acquisition units, which are respectively a first image acquisition unit and a second image acquisition unit; the first image acquisition unit and the second image acquisition unit are disposed in the same plane. on.
  • the first image capturing unit and the second image capturing unit are both disposed on a main design surface of the mobile terminal; the main design surface is opposite to a plane of the display screen of the mobile terminal, and can be understood as When the mobile terminal is horizontally placed and the display screen is placed on the storage rack, the main design surface is a surface of the mobile terminal that is in contact with the storage platform.
  • the first image capturing unit and the second image capturing unit may also be disposed on a plane of the display screen of the mobile terminal.
  • the first image capturing unit and the second image capturing unit may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
  • the detecting the first instruction enabling the first image acquisition unit and the second image acquisition unit based on the first instruction, comprising: detecting a first trigger operation of the first button, based on the first trigger operation
  • a first instruction is generated to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
  • the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image acquisition unit and the second image acquisition unit to be simultaneously turned on.
  • the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit and the second image capturing unit, and respectively enabling the first image capturing unit and the device by two triggering operations.
  • the second image acquisition unit is described.
  • the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • Step 702 Control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same, so that the first focus of the first image acquisition unit is flat.
  • the face and the second focus plane of the second image acquisition unit are on the same plane.
  • the first image acquisition unit and the second image acquisition unit have the same hardware structure, that is, the first image acquisition unit and the second image acquisition unit have the same
  • the hardware structure of the photosensitive device, the sensor, etc. correspondingly, the first image acquisition unit and the second image acquisition unit have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, etc.;
  • the first image acquisition unit and the second image acquisition unit are the same image acquisition unit.
  • the first image capturing unit and the second image capturing unit may be different, and are not specifically limited in this embodiment.
  • an autofocus mode or a manual focus mode may be adopted, and the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are controlled to be the same, the first focus parameter and The second focus parameter is specifically a focal length; when the first image acquisition unit and the second image acquisition unit have the same hardware structure as an embodiment, the first focus parameter and the second The focus parameter may specifically be an object distance, which is the distance between the object being photographed and the image acquisition unit (the first image acquisition unit or the second image acquisition unit). Specifically, as shown in FIG.
  • the first focal length of the first image capturing unit and the second focal length of the second image capturing unit are the same, such that the first focus plane and the first image of the first image capturing unit
  • the second focus planes of the two image acquisition units belong to the same focus plane, that is, the distance of the first image acquisition unit from the focus plane (first object distance) and the second image acquisition unit are away from the focus plane
  • the distance (second object distance) is the same, and in the present illustration, it is L (L is a positive integer).
  • Step 703 Detect a second instruction, and simultaneously control, according to the second instruction, the first image acquisition unit to acquire a first image and the second image acquisition unit to acquire a second image.
  • the detecting the second instruction controlling, according to the second instruction, the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image
  • the method includes: detecting a second triggering operation of the second button, generating a second instruction based on the second triggering operation, simultaneously controlling the first image acquiring unit to acquire the first image and controlling the second based on the second instruction
  • the image acquisition unit acquires a second image.
  • the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit and the second image acquisition unit to simultaneously acquire an image.
  • the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • the method before the detecting the second instruction, further includes: obtaining, by the first image acquiring unit and the second image collecting unit, a preview image; the preview image includes: a first preview An image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; and the third preview sub-image is the second image acquisition a preview image obtained by the unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
  • the angle of view of the first image acquisition unit is ⁇ 1 and the angle of view of the second image acquisition unit is ⁇ 2 , between the first image acquisition unit and the second image acquisition unit.
  • the distance is d
  • the distance between the first image acquisition unit and the second image acquisition unit from the focus plane is L; wherein d and L are positive integers; ⁇ 1 and ⁇ 2 are both greater than 0°; 180°.
  • the focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG.
  • the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit, and correspondingly, D1 corresponds to a first preview sub-image in the preview image; D3 is an image acquisition area unique to the second image acquisition unit, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image acquisition The image acquisition area shared by the unit and the second image acquisition unit, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
  • the mobile terminal when obtaining a preview image by the first image acquisition unit and the second image acquisition unit, based on the above expressions (4), (5), and (6), the first preview sub image And dividing the second preview sub-image and the third preview sub-image, and processing the second preview sub-image (ie, the D2 portion).
  • the second preview sub-image collected by the first image acquisition unit and the second preview sub-image collected by the second image acquisition unit may be superimposed on the pixel points and subjected to weighted average processing to obtain D2. Partially corresponding second preview sub-image.
  • the second preview sub-image may be separately acquired from the second preview sub-image obtained by the first image acquisition unit, and the preview image obtained by the second image acquisition unit may be cropped.
  • a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit, and a preview image corresponding to the D2 portion of the preview image obtained by the first image acquisition unit, and then obtained D1, D2, and D3 respectively correspond to preview images including a first preview sub image, a second preview sub image, and a third preview sub image.
  • Step 704 Process the first image and the second image according to a preset processing manner to generate an image.
  • the processing by using the preset processing manner, the image is generated by the first image and the second image, including: cutting or superimposing the first image and the second image to obtain image.
  • the first image acquisition unit is And acquiring a D2 part of the first image acquired by the first image and the second image acquired by the second image capturing unit, and performing weighted averaging processing to obtain an image of the D2 portion, thereby obtaining a portion including D1, D2, and D3. Complete image.
  • the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3.
  • the method for obtaining the preview image in step 703 refer to the method for obtaining the preview image in step 703, and details are not described herein again.
  • the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
  • FIG. 8 is a schematic structural diagram of an information processing method according to Embodiment 4 of the present invention; as shown in FIG. 8, the information processing method includes:
  • Step 801 Detecting a first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction.
  • the mobile terminal is provided with two image acquisition units, which are respectively a first image acquisition unit and a second image acquisition unit; the first image acquisition unit and the second image acquisition unit are disposed in the same plane. on.
  • the set units are all disposed on the main design surface of the mobile terminal; the main design surface is opposite to the plane of the display screen of the mobile terminal, and can be understood as when the mobile terminal is horizontally placed and the display screen is placed upwards
  • the main design surface is a surface on which the mobile terminal contacts the stage when the table is placed.
  • the first image capturing unit and the second image capturing unit may also be disposed on a plane of the display screen of the mobile terminal.
  • the first image capturing unit and the second image capturing unit may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
  • the detecting the first instruction enabling the first image acquisition unit and the second image acquisition unit based on the first instruction, comprising: detecting a first trigger operation of the first button, based on the first trigger operation
  • a first instruction is generated to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
  • the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image acquisition unit and the second image acquisition unit to be simultaneously turned on.
  • the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit and the second image capturing unit, and respectively enabling the first image capturing unit and the device by two triggering operations.
  • the second image acquisition unit is described.
  • the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • Step 802 Control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same, so that the first focus plane and the second image of the first image acquisition unit The second focus plane of the image acquisition unit is on the same plane.
  • the first image acquisition unit and the second image acquisition unit have the same hardware structure, that is, the first image acquisition unit and the second image acquisition unit have the same The hardware structure of the photosensitive device, the sensor, etc., correspondingly, the first image acquisition unit and the second image acquisition unit have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, etc.;
  • the first image acquisition unit And the second image acquisition unit is the same image acquisition unit.
  • the first image capturing unit and the second image capturing unit may be different, and are not specifically limited in this embodiment.
  • an autofocus mode or a manual focus mode may be adopted, and the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are controlled to be the same, the first focus parameter and The second focus parameter is specifically a focal length; when the first image acquisition unit and the second image acquisition unit have the same hardware structure as an embodiment, the first focus parameter and the second The focus parameter may specifically be an object distance, which is the distance between the object being photographed and the image acquisition unit (the first image acquisition unit or the second image acquisition unit). Specifically, as shown in FIG.
  • the first focal length of the first image acquisition unit and the second focal length of the second image acquisition unit are controlled to be the same, such that the first focus plane and the first image of the first image acquisition unit
  • the second focus planes of the two image acquisition units belong to the same focus plane, that is, the distance of the first image acquisition unit from the focus plane (first object distance) and the second image acquisition unit are away from the focus plane
  • the distance (second object distance) is the same, and in the present illustration, it is L (L is a positive integer).
  • Step 803 Obtain a preview image by using the first image capturing unit and the second image capturing unit; the preview image includes: a first preview sub image, a second preview sub image, and a third preview sub image;
  • the first preview sub-image is a preview image obtained by the first image acquisition unit;
  • the third preview sub-image is a preview image obtained by the second image acquisition unit;
  • the second preview sub-image is the An image acquisition unit and the second image acquisition unit jointly obtain and superimpose the processed preview image.
  • the angle of view of the first image acquisition unit is ⁇ 1 and the angle of view of the second image acquisition unit is ⁇ 2 , between the first image acquisition unit and the second image acquisition unit.
  • the distance is d
  • the distance between the first image acquisition unit and the second image acquisition unit from the focus plane is L; wherein d and L are positive integers; ⁇ 1 and ⁇ 2 are both greater than 0°; 180°.
  • the focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG.
  • the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit, and correspondingly, D1 corresponds to a first preview sub-image in the preview image; D3 is an image acquisition area unique to the second image acquisition unit, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image acquisition The image acquisition area shared by the unit and the second image acquisition unit, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
  • the above D1, D2, and D3 satisfy the expressions (4), (5), and (6) in the third embodiment, respectively.
  • the mobile terminal when obtaining a preview image by the first image acquisition unit and the second image acquisition unit, based on the above expressions (4), (5), and (6), the first preview sub image And dividing the second preview sub-image and the third preview sub-image, and processing the second preview sub-image (ie, the D2 portion).
  • the second preview sub-image collected by the first image acquisition unit and the second preview sub-image collected by the second image acquisition unit may be superimposed on the pixel points and subjected to weighted average processing to obtain D2. Partially corresponding second preview sub-image.
  • the second preview sub-image may be separately acquired from the second preview sub-image obtained by the first image acquisition unit, and the preview image obtained by the second image acquisition unit may be cropped.
  • a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit, and a preview image corresponding to the D2 portion of the preview image obtained by the first image acquisition unit, and then obtained D1, D2, and D3 respectively correspond to preview images including a first preview sub image, a second preview sub image, and a third preview sub image.
  • Step 804 Detect a third instruction for at least one preview sub-image of the first preview sub-image, the second preview sub-image, and the third preview sub-image; and close the at least one preview sub-based based on the third instruction Image preview of other preview sub-images outside the image, obtaining image acquisition parameters number.
  • the mobile terminal when the mobile terminal obtains and outputs a preview image through the first image acquisition unit and the second image acquisition unit, the mobile terminal further outputs the first preview sub image, the second preview sub image, and the a third preview sub-image corresponding to the selectable item (refer to FIG. 6 for details); when detecting a trigger operation for any one of the three selectable items, generating a third instruction, based on the third The instruction closes the image preview of the preview sub-image corresponding to the selectable item other than the selected option.
  • the third preview sub-image corresponding to D3 is turned off; when the triggering operations of the selectable items d2 and d3 corresponding to D2 and D3 are detected.
  • the first preview sub-image corresponding to D1 is turned off; when the triggering operation for the selectable items d1 and d3 corresponding to D1 and D3 is detected, the second preview sub-image corresponding to D2 is turned off.
  • the image acquisition parameter described in this embodiment is a view parameter of the first image acquisition unit and/or the second image acquisition unit.
  • Step 805 Detect a second instruction, and simultaneously control, according to the second instruction, the first image acquisition unit to acquire a first image and the second image acquisition unit to acquire a second image.
  • the detecting the second instruction controlling the first image acquisition unit to acquire the first image and controlling the second image acquisition unit to acquire the second image based on the second instruction, including: detecting the second button a second triggering operation, generating a second instruction based on the second triggering operation, simultaneously controlling the first image acquiring unit to acquire a first image and controlling the second image capturing unit to acquire a second image based on the second instruction .
  • the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit and the second image acquisition unit to simultaneously acquire an image.
  • the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
  • Step 806 Perform cropping and/or superimposition processing on the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter.
  • the cropping and/or superimposing processing of the first image and the second image based on the image capturing parameter to obtain an image satisfying the image capturing parameter includes:
  • Image Identifying a first sub-image and a second sub-image in the first image, and identifying a third sub-image and a fourth sub-image in the second image; wherein the second sub-image and the third Sub-images are overlapped; the first image and the second image are cropped based on the image acquisition parameters to obtain at least two sub-images; and the at least two sub-images are superimposed to obtain the image acquisition parameters.
  • the first image is The first image acquired by the acquisition unit and the corresponding D2 portion of the second image acquired by the second image acquisition unit perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining a portion including D1 and D2. Part and complete image of part D3.
  • the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3.
  • the manner of performing the cropping or superimposing process on the first image and the second image may refer to the manner of obtaining the preview image in step 804. I won't go into details here.
  • the processing manner of the first image and the second image is performed.
  • the method includes: cropping a sub-image corresponding to the D2 portion in the first image to obtain a first sub-image, and cropping the sub-image corresponding to the D2 portion in the second image to obtain a second sub-image, and then Combining the first sub-image and the second sub-image to generate an image.
  • the mobile terminal may determine, according to the expressions (4), (5), and (6), a range of regions of the partial image in which the first image and the second image are coincident, and then based on the region range The first image and the second image are subjected to a cropping process.
  • the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the various components shown or discussed may be through some interface, device or unit.
  • the indirect coupling or communication connection can be electrical, mechanical or other form.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the first image and the second image capturing unit collect the second image by acquiring the first image and the second image collecting unit in the same plane, and the first image and the second image are cut and/or superimposed, without replacing the plug-in.
  • the lens realizes the adjustment of the image acquisition field of view, and satisfies the user's needs without increasing the cost, which greatly enhances the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed are an information processing method, a mobile terminal and a computer storage medium. The mobile terminal is provided with a first image collection unit and a second image collection unit located in the same plane. The mobile terminal further comprises: a drive unit, configured to detect a first instruction, enable the first image collection unit and the second image collection unit based on the first instruction, and control a first focusing parameter of the first image collection unit and a second focusing parameter of the second image collection unit to be the same; and is further configured to detect a second instruction, and control the first image collection unit to collect a first image and control the second image collection unit to collect a second image at the same time based on the second instruction; and an image processing unit, configured to process the first image collected by the first image collection unit and the second image collected by the second image collection unit according to a pre-set processing method to generate an image.

Description

一种信息处理方法、移动终端及计算机存储介质Information processing method, mobile terminal and computer storage medium 技术领域Technical field
本发明涉及信息处理技术,具体涉及一种信息处理方法、移动终端及计算机存储介质。The present invention relates to information processing technologies, and in particular, to an information processing method, a mobile terminal, and a computer storage medium.
背景技术Background technique
现有技术中,移动终端预先安装的摄像头的视角固定,无法改变。即使是专业的数码单镜反光相机(DSLR,Digital Single Lens Reflex Camera),也需要通过更换外挂镜头改变视角,且外挂镜头通常价格不菲,无法满足大多数用户的需求。In the prior art, the angle of view of the camera installed in advance by the mobile terminal is fixed and cannot be changed. Even professional digital single-lens reflex cameras (DSLR, Digital Single Lens Reflex Camera) need to change the viewing angle by replacing the external lens, and the external lens is usually expensive and cannot meet the needs of most users.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种信息处理方法、移动终端及计算机存储介质,能够实现移动终端摄像头视角的改变,满足用户需求,提升用户体验。In order to solve the existing technical problems, the embodiments of the present invention provide an information processing method, a mobile terminal, and a computer storage medium, which can change the perspective of the camera of the mobile terminal, meet user requirements, and improve the user experience.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种移动终端,所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元;所述移动终端还包括:驱动单元和图像处理单元;其中,The embodiment of the present invention provides a mobile terminal, where the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit that are located in the same plane; the mobile terminal further includes: a driving unit and an image processing unit;
所述驱动单元,配置为检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元;控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面在同一平面上;还配置为检测到第二指令,基于所述第二指令同时控制所述第一 图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像;The driving unit is configured to detect a first instruction, enable a first image capturing unit and a second image capturing unit based on the first instruction; and control a first focus parameter and the first image of the first image capturing unit The second focus parameters of the two image acquisition units are the same, such that the first focus plane of the first image acquisition unit and the second focus plane of the second image acquisition unit are on the same plane; An instruction to simultaneously control the first based on the second instruction The image acquisition unit acquires the first image and controls the second image acquisition unit to acquire the second image;
所述图像处理单元,配置为对所述第一图像采集单元采集的所述第一图像和所述第二图像采集单元采集的第二图像按预设处理方式进行处理生成图像。The image processing unit is configured to process the first image acquired by the first image acquisition unit and the second image acquired by the second image acquisition unit according to a preset processing manner to generate an image.
作为一种实施方式,所述图像处理单元,还配置为检测到第二指令之前,通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单元共同获得并叠加处理的预览图像。In an embodiment, the image processing unit is further configured to obtain a preview image by the first image acquisition unit and the second image acquisition unit before detecting the second instruction; the preview image includes: first a preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; the third preview sub-image is the second a preview image obtained by the image acquisition unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
作为一种实施方式,所述移动终端还包括视角调整模块,配置为所述驱动单元检测到第二指令之前,检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他预览子图像的图像预览,获得图像采集参数。In an embodiment, the mobile terminal further includes a viewing angle adjustment module configured to detect, for the first preview sub image, the second preview sub image, and the third preview sub before the driving unit detects the second instruction a third instruction for previewing the sub-image in the image; and closing an image preview of the other preview sub-images other than the at least one preview sub-image based on the third instruction to obtain an image acquisition parameter.
作为一种实施方式,所述图像处理单元,配置为基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像。In one embodiment, the image processing unit is configured to perform cropping and/or superimposition processing on the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter.
作为一种实施方式,所述图像处理单元,配置为识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数 的图像。In one embodiment, the image processing unit is configured to identify a first sub image and a second sub image in the first image, and to identify a third sub image and a fourth sub image in the second image Wherein the second sub-image and the third sub-image are coincident; and the first image and the second image are cropped based on the image acquisition parameter to obtain at least two sub-images; Two sub-images are superimposed to obtain the image acquisition parameters Image.
作为一种实施方式,所述驱动单元,配置为检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。As an implementation manner, the driving unit is configured to detect a first triggering operation of the first button, generate a first instruction based on the first triggering operation, and enable the first image capturing unit and the first instruction based on the first instruction Second image acquisition unit.
作为一种实施方式,所述第一预览子图像D1、所述第二预览子图像D2和所述第三预览子图像D3分别满足以下表达式:As an implementation manner, the first preview sub-image D1, the second preview sub-image D2, and the third preview sub-image D3 respectively satisfy the following expression:
Figure PCTCN2016101883-appb-000001
Figure PCTCN2016101883-appb-000001
Figure PCTCN2016101883-appb-000002
Figure PCTCN2016101883-appb-000002
Figure PCTCN2016101883-appb-000003
Figure PCTCN2016101883-appb-000003
其中,θ1为第一图像采集单元的视角,θ2为第二图像采集单元的视角,d为所述第一图像采集单元和所述第二图像采集单元之间的距离,L为所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。Where θ 1 is the angle of view of the first image acquisition unit, θ 2 is the angle of view of the second image acquisition unit, d is the distance between the first image acquisition unit and the second image acquisition unit, and L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; θ 1 and θ 2 are both greater than 0° and less than 180°.
作为一种实施方式,所述图像处理单元,配置为基于所述图像采集参数对所述第一图像和所述第二图像中的所述第二预览子图像进行像素点的叠加并做加权平均处理。In an embodiment, the image processing unit is configured to perform pixel level superposition and weighted average on the second preview sub image in the first image and the second image based on the image acquisition parameter. deal with.
作为一种实施方式,所述驱动单元,配置为控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同;所述第一焦距参数和所述第二焦距参数包括焦距和/或物距。In one embodiment, the driving unit is configured to control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same; the first focus parameter and the first focus parameter The second focal length parameter includes a focal length and/or an object distance.
作为一种实施方式,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构,以使所述第一图像采集单元和所述第二图像采集单元具有相同的光学参数,所述光学参数包括以下参数的至少之一:分辨率、感光度、曝光补偿参数、光圈范围。 In an embodiment, the first image acquisition unit and the second image acquisition unit have the same hardware structure, so that the first image acquisition unit and the second image acquisition unit have the same optical parameters. The optical parameter includes at least one of the following parameters: resolution, sensitivity, exposure compensation parameter, aperture range.
本发明实施例还提供了一种信息处理方法,应用于移动终端中;所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元;所述方法包括:The embodiment of the present invention further provides an information processing method, which is applied to a mobile terminal; the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located in the same plane; the method includes:
检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元;Detecting a first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction;
控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面在同一平面上;Controlling that the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are the same, such that the first focus plane and the second image acquisition unit of the first image acquisition unit The second focus plane is on the same plane;
检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像;Detecting a second instruction, controlling, according to the second instruction, the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image;
对所述第一图像和所述第二图像按预设处理方式进行处理生成图像。The first image and the second image are processed in a preset processing manner to generate an image.
作为一种实施方式,所述检测到第二指令之前,所述方法还包括:通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单元共同获得并叠加处理的预览图像。In an embodiment, before the detecting the second instruction, the method further includes: obtaining, by the first image acquiring unit and the second image collecting unit, a preview image; the preview image includes: a first preview a sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; the third preview sub-image is the second image a preview image obtained by the acquisition unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
作为一种实施方式,所述检测到第二指令之前,所述方法还包括:检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他预览子图像的图像预览,获得图像采集参数。In one embodiment, before the detecting the second instruction, the method further includes: detecting, for the at least one preview sub-image of the first preview sub-image, the second preview sub-image, and the third preview sub-image a third instruction; obtaining an image acquisition parameter by turning off an image preview of other preview sub-images other than the at least one preview sub-image based on the third instruction.
作为一种实施方式,所述对所述第一图像和所述第二图像按预设处理方式进行处理生成图像,包括:As an implementation manner, the processing, by using the preset processing manner, to generate the image by using the first image and the second image, includes:
基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或 叠加处理,获得满足所述图像采集参数的图像。Trimming and/or cropping the first image and the second image based on the image acquisition parameters The superimposition process obtains an image that satisfies the image acquisition parameters.
作为一种实施方式,所述基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像,包括:As an embodiment, the cropping and/or superimposing processing the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter includes:
识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数的图像。Identifying a first sub-image and a second sub-image in the first image, and identifying a third sub-image and a fourth sub-image in the second image; wherein the second sub-image and the third Sub-images are overlapped; the first image and the second image are cropped based on the image acquisition parameters to obtain at least two sub-images; and the at least two sub-images are superimposed to obtain the image acquisition parameters. Image.
作为一种实施方式,所述检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元,包括:检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。In one embodiment, the detecting the first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction, comprising: detecting a first trigger operation of the first button, based on the The first triggering operation generates a first instruction to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
作为一种实施方式,所述第一预览子图像D1、所述第二预览子图像D2和所述第三预览子图像D3分别满足以下表达式:As an implementation manner, the first preview sub-image D1, the second preview sub-image D2, and the third preview sub-image D3 respectively satisfy the following expression:
Figure PCTCN2016101883-appb-000004
Figure PCTCN2016101883-appb-000004
Figure PCTCN2016101883-appb-000005
Figure PCTCN2016101883-appb-000005
Figure PCTCN2016101883-appb-000006
Figure PCTCN2016101883-appb-000006
其中,θ1为第一图像采集单元的视角,θ2为第二图像采集单元的视角,d为所述第一图像采集单元和所述第二图像采集单元之间的距离,L为所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。Where θ 1 is the angle of view of the first image acquisition unit, θ 2 is the angle of view of the second image acquisition unit, d is the distance between the first image acquisition unit and the second image acquisition unit, and L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; θ 1 and θ 2 are both greater than 0° and less than 180°.
作为一种实施方式,所述对所述第一图像和所述第二图像按预设处理 方式进行处理生成图像,包括:As an implementation manner, the first image and the second image are processed by default The way to process the generated image, including:
基于所述图像采集参数对所述第一图像和所述第二图像中的所述第二预览子图像进行像素点的叠加并做加权平均处理。And superimposing pixel points on the second preview sub-image in the first image and the second image based on the image acquisition parameter and performing weighted averaging processing.
作为一种实施方式,所述控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,包括:As an embodiment, the controlling the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are the same, including:
控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同;所述第一焦距参数和所述第二焦距参数包括焦距和/或物距。The first focus parameter of the first image acquisition unit is controlled to be the same as the second focus parameter of the second image acquisition unit; the first focus distance parameter and the second focus distance parameter include a focal length and/or an object distance.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行本发明实施例所述的信息处理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the information processing method according to the embodiment of the invention.
本发明实施例提供的信息处理方法、移动终端及计算机存储介质,通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。The information processing method, the mobile terminal and the computer storage medium provided by the embodiment of the present invention collect the first image and the second image acquisition unit to acquire the second image by using the first image acquisition unit disposed in the same plane, in the first image and the first image The two images are cropped and/or superimposed, and the image acquisition field of view is adjusted without replacing the external lens, which satisfies the user's needs without increasing the cost, and greatly improves the user experience.
附图说明DRAWINGS
图1为实现本发明各个实施例的移动终端的硬件结构示意图;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention;
图2为如图1所示的移动终端的无线通信系统示意图;2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
图3为本发明实施例一的移动终端的组成结构示意图;3 is a schematic structural diagram of a mobile terminal according to Embodiment 1 of the present invention;
图4为本发明实施例一中移动终端获得的预览图像的示意图;4 is a schematic diagram of a preview image obtained by a mobile terminal according to Embodiment 1 of the present invention;
图5为本发明实施例二的移动终端的组成结构示意图;5 is a schematic structural diagram of a mobile terminal according to Embodiment 2 of the present invention;
图6为本发明实施例二中移动终端对视角进行调整的示意图;6 is a schematic diagram of adjusting a viewing angle of a mobile terminal according to Embodiment 2 of the present invention;
图7为本发明实施例三的信息处理方法的组成结构示意图;FIG. 7 is a schematic structural diagram of a structure of an information processing method according to Embodiment 3 of the present invention; FIG.
图8为本发明实施例四的信息处理方法的组成结构示意图。 FIG. 8 is a schematic structural diagram of an information processing method according to Embodiment 4 of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。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 use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and 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 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, etc. Mobile terminals 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 configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components 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 system or network. For example, the wireless communication unit may include a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, and a short-range communication module. At least one of 114 and 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 systems. 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 system of the @) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting. The broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system. 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 Microwave Interconnect) Access), HSDPA (High Speed Downlink Packet Access), etc.
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位系统)。根据当前的技术,作为GPS模块的位置信息模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,作为GPS模块的位置信息模块115能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of a location information module is GPS (Global Positioning System). According to the current technology, the position information module 115 as a GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensionality based on longitude, latitude, and altitude. Current location information. 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 position information module 115 as the GPS module can calculate the speed information by continuously calculating the 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 for receiving 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. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the 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 can generate key input data according to a command input by the user to control the shift. 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可以包括接近传感器141将在下面结合触摸屏来对此进行描述。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 or deceleration movement and direction of the mobile terminal 100, 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 141 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 for connecting 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 from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
另外,当移动终端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 bottom allowing A path through which various command signals input to the mobile terminal are transmitted to the mobile 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 used 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 a specific function performed by the mobile terminal 100. Off audio output (eg, call signal reception sound, message reception sound, etc.). The audio output module 152 can include a speaker, a buzzer, and the like.
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incomingcommunication)时,警报单元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 that performs 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, and the like) 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 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180. Controller The pattern recognition process may be performed 180 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 implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. 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 present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。The mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
现在将参考图2描述其中根据本发明的移动终端能够操作的通信系统。A communication system in which a mobile terminal according to the present invention can be operated will now be described with reference to FIG.
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA 通信系统,但是这样的教导同样适用于其它类型的系统。Such communication systems may use different air interfaces and/or physical layers. For example, air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc. As a non-limiting example, the following description relates to CDMA Communication systems, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干已知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC275。Referring to FIG. 2, a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280. The MSC 280 is configured to interface with a public switched telephone network (PSTN) 290. The MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line. The backhaul line can be constructed in accordance with any of a number of known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 can include multiple BSCs 275.
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" can be used to generally refer to a single BSC 275 and at least one BS 270. A base station can also be referred to as a "cell station." Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In Figure 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of mobile terminals 100.
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。 In Figure 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites. The GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。As a typical operation of a wireless communication system, BS 270 receives reverse link signals from various mobile terminals 100. Mobile terminal 100 typically participates in calls, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within a particular BS 270. The obtained data is forwarded to the relevant BSC 275. The BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270. The BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
基于上述移动终端硬件结构以及通信系统,提出本发明各个实施例。Various embodiments of the present invention are proposed based on the above-described mobile terminal hardware structure and communication system.
实施例一Embodiment 1
本发明实施例提供了一种移动终端;图3为本发明实施例一的移动终端的组成结构示意图;如图3所示,所述移动终端设置有位于同一平面的第一图像采集单元31和第二图像采集单元32;所述移动终端还包括:驱动单元33和图像处理单元34;其中,The embodiment of the present invention provides a mobile terminal. FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 1 of the present invention; as shown in FIG. 3, the mobile terminal is provided with a first image acquiring unit 31 located on the same plane and a second image acquisition unit 32; the mobile terminal further includes: a driving unit 33 and an image processing unit 34; wherein
所述驱动单元33,配置为检测到第一指令,基于所述第一指令使能第一图像采集单元31和第二图像采集单元32;控制所述第一图像采集单元31的第一聚焦参数和所述第二图像采集单元32的第二聚焦参数相同,以使所述第一图像采集单元31的第一聚焦平面和所述第二图像采集单元32的第二聚焦平面在同一平面上;还配置为检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元31采集第一图像以及控制所述第二图像采集单元32采集第二图像;The driving unit 33 is configured to detect the first instruction, enable the first image acquiring unit 31 and the second image collecting unit 32 based on the first instruction, and control the first focusing parameter of the first image collecting unit 31. The same as the second focus parameter of the second image acquisition unit 32, such that the first focus plane of the first image acquisition unit 31 and the second focus plane of the second image acquisition unit 32 are on the same plane; Is further configured to detect the second instruction, and simultaneously control the first image acquisition unit 31 to acquire the first image and the second image acquisition unit 32 to acquire the second image based on the second instruction;
所述图像处理单元34,配置为对所述第一图像采集单元31采集的所述第一图像和所述第二图像采集单元32采集的第二图像按预设处理方式进行处理生成图像。The image processing unit 34 is configured to process the first image collected by the first image acquisition unit 31 and the second image collected by the second image acquisition unit 32 in a preset processing manner to generate an image.
本实施例中,所述移动终端设置有两个图像采集单元,分别为第一图 像采集单元31和第二图像采集单元32;所述第一图像采集单元31和所述第二图像采集单元32设置在同一平面上。如所述第一图像采集单元31和所述第二图像采集单元32均设置在所述移动终端的主外观面上;所述主外观面与所述移动终端的显示屏所在平面相对,可以理解为当所述移动终端水平放置且显示屏朝上置放在置物台上时,所述主外观面为所述移动终端与所述置物台接触的表面。再例如,所述第一图像采集单元31和所述第二图像采集单元32也可均设置在所述移动终端的显示屏所在平面上。当然,所述第一图像采集单元31和所述第二图像采集单元32也可设置在所述移动终端的边框所在面上,本实施例中不做具体限定。In this embodiment, the mobile terminal is provided with two image collection units, which are respectively the first image. The image capturing unit 31 and the second image capturing unit 32; the first image capturing unit 31 and the second image capturing unit 32 are disposed on the same plane. The first image capturing unit 31 and the second image capturing unit 32 are both disposed on the main design surface of the mobile terminal; the main design surface is opposite to the plane of the display screen of the mobile terminal, and can be understood. The main design surface is a surface of the mobile terminal in contact with the stage when the mobile terminal is placed horizontally and the display screen is placed on the shelf. For example, the first image capturing unit 31 and the second image capturing unit 32 may also be disposed on a plane of the display screen of the mobile terminal. Of course, the first image capturing unit 31 and the second image capturing unit 32 may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
这里,所述驱动单元33检测到第一指令,基于所述第一指令使能第一图像采集单元31和第二图像采集单元32,包括:所述驱动单元33检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元31和第二图像采集单元32。Here, the driving unit 33 detects the first instruction, and the first image capturing unit 31 and the second image capturing unit 32 are enabled based on the first instruction, including: the driving unit 33 detects the first of the first button Triggering operation, generating a first instruction based on the first triggering operation, and enabling the first image capturing unit 31 and the second image capturing unit 32 based on the first instruction.
具体的,所述移动终端设置有第一功能按键,所述第一功能按键的触发能够使能所述第一图像采集单元31和所述第二图像采集单元32同时开启。或者,所述移动终端分别设置有用于使能所述第一图像采集单元31和所述第二图像采集单元32的功能按键,通过两次的触发操作,分别使能所述第一图像采集单元31和所述第二图像采集单元32。当然,上述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。Specifically, the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image capturing unit 31 and the second image capturing unit 32 to be simultaneously turned on. Alternatively, the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit 31 and the second image capturing unit 32, and the first image capturing unit is respectively enabled by two triggering operations. 31 and the second image acquisition unit 32. Of course, the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
本步骤中,作为一种实施方式,所述第一图像采集单元31和所述第二图像采集单元32具有相同的硬件结构,即所述第一图像采集单元31和所述第二图像采集单元32具有相同的感光器件、传感器等硬件结构,相应的,所述第一图像采集单元31和所述第二图像采集单元32具有相同的分辨率、感光度、曝光补偿参数、光圈范围等光学参数;也可以理解为,所述第一图像采集单元31和所述第二图像采集单元32为相同的图像采集单元。当 然,在其他实施方式中,所述第一图像采集单元31和所述第二图像采集单元32也可不同,本实施例中不做具体限定。In this step, as an implementation manner, the first image acquisition unit 31 and the second image acquisition unit 32 have the same hardware structure, that is, the first image acquisition unit 31 and the second image acquisition unit. 32 has the same hardware structure of the photosensitive device, sensor, etc., correspondingly, the first image acquisition unit 31 and the second image acquisition unit 32 have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, and the like. It can also be understood that the first image acquisition unit 31 and the second image acquisition unit 32 are the same image acquisition unit. when However, in other embodiments, the first image capturing unit 31 and the second image capturing unit 32 may be different, and are not specifically limited in this embodiment.
本实施例中,所述驱动单元33可采用自动对焦方式或手动对焦方式,控制所述第一图像采集单元31的第一聚焦参数和所述第二图像采集单元32的第二聚焦参数相同,所述第一聚焦参数和所述第二聚焦参数具体为焦距;当作为一种实施方式,所述第一图像采集单元31和所述第二图像采集单元32具有相同的硬件结构时,所述第一聚焦参数和所述第二聚焦参数具体可以为物距,所述物距为被拍摄的物体与图像采集单元(所述第一图像采集单元31或所述第二图像采集单元32)之间的距离。图4为本发明实施例一中移动终端获得的预览图像的示意图;如图4所示,控制所述第一图像采集单元31的第一焦距和所述第二图像采集单元32的第二焦距相同,使得所述第一图像采集单元31的第一聚焦平面和所述第二图像采集单元32的第二聚焦平面属于同一个聚焦平面,也即所述第一图像采集单元31距离所述聚焦平面的距离(第一物距)和所述第二图像采集单元32距离所述聚焦平面的距离(第二物距)相同,在本示意中均为L(L为正整数)。In this embodiment, the driving unit 33 may adopt an auto focus mode or a manual focus mode, and control the first focus parameter of the first image acquisition unit 31 and the second focus parameter of the second image acquisition unit 32 to be the same. The first focus parameter and the second focus parameter are specifically focal lengths; when, as an embodiment, the first image acquisition unit 31 and the second image acquisition unit 32 have the same hardware structure, The first focus parameter and the second focus parameter may specifically be an object distance, and the object distance is a captured object and an image acquisition unit (the first image acquisition unit 31 or the second image acquisition unit 32) The distance between them. 4 is a schematic diagram of a preview image obtained by a mobile terminal according to Embodiment 1 of the present invention; as shown in FIG. 4, the first focal length of the first image acquisition unit 31 and the second focal length of the second image acquisition unit 32 are the same. The first focus plane of the first image acquisition unit 31 and the second focus plane of the second image acquisition unit 32 belong to the same focus plane, that is, the first image acquisition unit 31 is away from the focus plane. The distance (first object distance) and the distance (second object distance) of the second image acquisition unit 32 from the focus plane are both L (L is a positive integer) in the present illustration.
本实施例中,所述驱动单元33检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元31采集第一图像以及控制所述第二图像采集单元32采集第二图像,包括:所述驱动单元33检测到第二按键的第二触发操作,基于所述第二触发操作生成第二指令,基于所述第二指令同时控制所述第一图像采集单元31采集第一图像以及控制所述第二图像采集单元32采集第二图像。In this embodiment, the driving unit 33 detects the second instruction, and simultaneously controls the first image acquiring unit 31 to acquire the first image and the second image acquiring unit 32 to collect the second image based on the second instruction. The driving unit 33 detects a second triggering operation of the second button, generates a second instruction based on the second triggering operation, and simultaneously controls the first image capturing unit 31 to acquire the first image based on the second instruction. The image and the second image acquisition unit 32 are controlled to acquire a second image.
具体的,所述移动终端设置有第二功能按键,所述第二功能按键的触发使能所述第一图像采集单元31和所述第二图像采集单元32同时采集图像。当然,所述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。 Specifically, the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit 31 and the second image acquisition unit 32 to simultaneously acquire images. Of course, the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
本实施例中,所述图像处理单元34,还配置为检测到第二指令之前,通过所述第一图像采集单元31和所述第二图像采集单元32获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元31获得的预览图像;所述第三预览子图像为所述第二图像采集单元32获得的预览图像;所述第二预览子图像为所述第一图像采集单元31和所述第二图像采集单元32共同获得并叠加处理的预览图像。In this embodiment, the image processing unit 34 is further configured to obtain a preview image by the first image capturing unit 31 and the second image capturing unit 32 before detecting the second instruction; the preview image includes: a first preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31; the third preview sub-image is a preview image obtained by the second image acquisition unit 32; the second preview sub-image is a preview image obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed.
具体的,参照图4所示,假设第一图像采集单元31的视角为θ1,第二图像采集单元32的视角为θ2,所述第一图像采集单元31和所述第二图像采集单元32之间的距离为d,所述第一图像采集单元31和所述第二图像采集单元32距离聚焦平面之间的距离均为L;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。所述聚焦平面可以理解为待拍摄的物体所在的平面,也可以理解为所述移动终端的图像采集区域;从所述移动终端的显示屏中输出的预览图像即表征所述聚焦平面。从图4中可以看出,所述对焦平面上的区域被分为三个部分:D1、D2和D3;其中,D1为第一图像采集单元31独有的图像采集区域,相应的,D1对应所述预览图像中的第一预览子图像;D3为第二图像采集单元32独有的图像采集区域,相应的,D3对应所述预览图像中的第三预览子图像;D2为所述第一图像采集单元31和所述第二图像采集单元32共有的图像采集区域,相应的,D2对应所述预览图像中的第二预览子图像。Specifically, referring to FIG. 4, assuming that the angle of view of the first image acquisition unit 31 is θ 1 and the angle of view of the second image acquisition unit 32 is θ 2 , the first image acquisition unit 31 and the second image acquisition unit The distance between 32 is d, and the distance between the first image acquisition unit 31 and the second image acquisition unit 32 from the focus plane is L; wherein d and L are positive integers; θ 1 and θ 2 is greater than 0 ° less than 180 °. The focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG. 4, the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit 31, and correspondingly, D1 corresponds a first preview sub-image in the preview image; D3 is an image collection area unique to the second image acquisition unit 32, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image The image acquisition area shared by the image acquisition unit 31 and the second image acquisition unit 32, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
具体的,上述D1、D2和D3分别满足表达式(1)、(2)和(3):Specifically, the above D1, D2, and D3 satisfy the expressions (1), (2), and (3), respectively:
Figure PCTCN2016101883-appb-000007
Figure PCTCN2016101883-appb-000007
Figure PCTCN2016101883-appb-000008
Figure PCTCN2016101883-appb-000008
Figure PCTCN2016101883-appb-000009
Figure PCTCN2016101883-appb-000009
所述图像处理单元34在通过所述第一图像采集单元31和所述第二图像采集单元32获得预览图像时,基于上述表达式(1)、(2)和(3),对所述第一预览子图像、所述第二预览子图像和所述第三预览子图像进行划分,并对所述第二预览子图像(即D2部分)进行处理。作为一种实施方式,可对所述第一图像采集单元31采集的第二预览子图像和所述第二图像采集单元32采集的第二预览子图像进行像素点的叠加并做加权平均处理,获得D2部分对应的第二预览子图像。当然,作为其他实施方式,对于所述第二预览子图像,也可以单独从所述第一图像采集单元31获得的第二预览子图像获取,裁剪所述第二图像采集单元32获得的预览图像中的D2部分对应的预览图像;或者可以单独从所述第二图像采集单元32获得的第二预览子图像获取,裁剪所述第一图像采集单元31获得的预览图像中的D2部分对应的预览图像,进而获得D1、D2和D3分别对应的包含有第一预览子图像、第二预览子图像和第三预览子图像的预览图像。The image processing unit 34, when obtaining the preview image by the first image acquisition unit 31 and the second image acquisition unit 32, based on the above expressions (1), (2), and (3), A preview sub-image, the second preview sub-image, and the third preview sub-image are divided, and the second preview sub-image (ie, the D2 portion) is processed. As an embodiment, the second preview sub-image collected by the first image acquisition unit 31 and the second preview sub-image collected by the second image acquisition unit 32 may be superimposed and subjected to weighted averaging processing. A second preview sub-image corresponding to the D2 portion is obtained. Of course, as another embodiment, for the second preview sub-image, the second preview sub-image obtained by the first image acquisition unit 31 may be separately acquired, and the preview image obtained by the second image acquisition unit 32 may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit 32, and a preview corresponding to the D2 portion of the preview image obtained by the first image acquisition unit 31 The image further obtains preview images including the first preview sub image, the second preview sub image, and the third preview sub image corresponding to D1, D2, and D3, respectively.
本实施例中,所述图像处理单元34对所述第一图像和所述第二图像按预设处理方式进行处理生成图像,包括:所述图像处理单元34对所述第一图像和所述第二图像进行裁剪或叠加处理,获得图像。In this embodiment, the image processing unit 34 processes the first image and the second image in a preset processing manner to generate an image, including: the image processing unit 34, the first image, and the The second image is cropped or superimposed to obtain an image.
具体的,参照图4所示,由于所述第一图像采集单元31和所述第二图像采集单元32具有共有的图像采集区域,即D2部分,则本实施例中,对所述第一图像采集单元31采集的第一图像和所述第二图像采集单元32采集的第二图像中相应的D2部分进行像素点的叠加并做加权平均处理,获得D2部分的图像,进而获得包含有D1、D2和D3部分完整的图像。当然,作为其他实施方式,对于所述第一图像和所述第二图像中的D2部分,也可以单独从所述第一图像中获取,裁剪所述第二图像中的D2部分;或者可以单独从所述第二图像中获取,裁剪所述第一图像中的D2部分,进而获得包 含有D1、D2和D3部分完整的图像。具体的实现方式可参照上述预览图像的获取方式,这里不再赘述。Specifically, as shown in FIG. 4, since the first image capturing unit 31 and the second image capturing unit 32 have a common image capturing area, that is, a D2 portion, in this embodiment, the first image is The first image acquired by the acquisition unit 31 and the corresponding D2 portion of the second image acquired by the second image acquisition unit 32 perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining D1. Partial complete image of D2 and D3. Of course, as other embodiments, the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 part in the first image, thereby obtaining a package Contains a complete image of D1, D2 and D3 parts. For a specific implementation manner, reference may be made to the manner in which the preview image is obtained, and details are not described herein again.
采用本发明实施例的技术方案,通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。According to the technical solution of the embodiment of the present invention, the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
实施例二Embodiment 2
基于实施例一,本发明实施例提供了一种移动终端;图5为本发明实施例二的移动终端的组成结构示意图;如图5所示,所述移动终端设置有位于同一平面的第一图像采集单元31和第二图像采集单元32;所述移动终端还包括:驱动单元33、视角调整模块和图像处理单元34;其中,The embodiment of the present invention provides a mobile terminal according to the first embodiment. FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 2 of the present invention; as shown in FIG. 5, the mobile terminal is provided with a first plane located on the same plane. The image acquisition unit 31 and the second image acquisition unit 32; the mobile terminal further includes: a driving unit 33, a viewing angle adjustment module, and an image processing unit 34;
所述驱动单元33,配置为检测到第一指令,基于所述第一指令使能第一图像采集单元31和第二图像采集单元32;控制所述第一图像采集单元31的第一聚焦参数和所述第二图像采集单元32的第二聚焦参数相同,以使所述第一图像采集单元31的第一聚焦平面和所述第二图像采集单元32的第二聚焦平面在同一平面上;还配置为检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元31采集第一图像以及控制所述第二图像采集单元32采集第二图像;The driving unit 33 is configured to detect the first instruction, enable the first image acquiring unit 31 and the second image collecting unit 32 based on the first instruction, and control the first focusing parameter of the first image collecting unit 31. The same as the second focus parameter of the second image acquisition unit 32, such that the first focus plane of the first image acquisition unit 31 and the second focus plane of the second image acquisition unit 32 are on the same plane; Is further configured to detect the second instruction, and simultaneously control the first image acquisition unit 31 to acquire the first image and the second image acquisition unit 32 to acquire the second image based on the second instruction;
所述视角调整模块,配置为所述驱动单元33检测到第二指令之前,检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他预览子图像的图像预览,获得图像采集参数;The viewing angle adjustment module is configured to detect, before the driving unit 33 detects the second instruction, the first preview image of the first preview sub image, the second preview sub image, and the third preview sub image a three-instruction; closing an image preview of other preview sub-images other than the at least one preview sub-image based on the third instruction, obtaining an image acquisition parameter;
所述图像处理单元34,配置为所述驱动单元33检测到第二指令之前,通过所述第一图像采集单元31和所述第二图像采集单元32获得预览图像; 所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元31获得的预览图像;所述第三预览子图像为所述第二图像采集单元32获得的预览图像;所述第二预览子图像为所述第一图像采集单元31和所述第二图像采集单元32共同获得并叠加处理的预览图像;还配置为基于所述视角调整模块获得的图像采集参数对所述第一图像采集单元31采集的第一图像和所述第二图像采集单元32采集的第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像。The image processing unit 34 is configured to obtain a preview image by the first image acquisition unit 31 and the second image acquisition unit 32 before the driving unit 33 detects the second instruction; The preview image includes: a first preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31; The third preview sub-image is a preview image obtained by the second image acquisition unit 32; the second preview sub-image is a preview obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed. An image is further configured to crop and/or superimpose the first image acquired by the first image acquisition unit 31 and the second image acquired by the second image acquisition unit 32 based on image acquisition parameters obtained by the viewing angle adjustment module Processing to obtain an image that satisfies the image acquisition parameters.
区别于实施例一中所述,本实施例中,所述图像处理单元34通过所述第一图像采集单元31和所述第二图像采集单元32获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元31获得的预览图像;所述第三预览子图像为所述第二图像采集单元32获得的预览图像;所述第二预览子图像为所述第一图像采集单元31和所述第二图像采集单元32共同获得并叠加处理的预览图像。Different from the first embodiment, in the embodiment, the image processing unit 34 obtains a preview image by using the first image capturing unit 31 and the second image capturing unit 32; the preview image includes: a preview sub-image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit 31; the third preview sub-image is the a preview image obtained by the image acquisition unit 32; the second preview sub-image is a preview image obtained by the first image acquisition unit 31 and the second image acquisition unit 32 and superimposed and processed.
具体的,图6为本发明实施例二中移动终端对视角进行调整的示意图;参照图6所示,假设第一图像采集单元31的视角为θ1,第二图像采集单元32的视角为θ2,所述第一图像采集单元31和所述第二图像采集单元32之间的距离为d,所述第一图像采集单元31和所述第二图像采集单元32距离聚焦平面之间的距离均为L;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。所述聚焦平面可以理解为待拍摄的物体所在的平面,也可以理解为所述移动终端的图像采集区域;从所述移动终端的显示屏中输出的预览图像即表征所述聚焦平面。从图6中可以看出,所述对焦平面上的区域被分为三个部分:D1、D2和D3;其中,D1为第一图像采集单元31独有的图像采集区域,相应的,D1对应所述预览图像中的第一预览子图像;D3 为第二图像采集单元32独有的图像采集区域,相应的,D3对应所述预览图像中的第三预览子图像;D2为所述第一图像采集单元31和所述第二图像采集单元32共有的图像采集区域,相应的,D2对应所述预览图像中的第二预览子图像。Specifically, FIG. 6 is a schematic diagram of adjusting a viewing angle of a mobile terminal according to Embodiment 2 of the present invention; referring to FIG. 6, it is assumed that a viewing angle of the first image capturing unit 31 is θ 1 and a viewing angle of the second image capturing unit 32 is θ 2 . The distance between the first image acquisition unit 31 and the second image acquisition unit 32 is d, and the distance between the first image acquisition unit 31 and the second image acquisition unit 32 from the focus plane is Is L; wherein, d and L are both positive integers; θ 1 and θ 2 are both greater than 0° and less than 180°. The focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG. 6, the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit 31, and correspondingly, D1 corresponds a first preview sub-image in the preview image; D3 is an image collection area unique to the second image acquisition unit 32, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first The image acquisition area shared by the image acquisition unit 31 and the second image acquisition unit 32, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
具体的,上述D1、D2和D3分别满足实施例一中的表达式(1)、(2)和(3)。所述移动终端在通过所述第一图像采集单元31和所述第二图像采集单元32获得预览图像时,基于上述表达式(1)、(2)和(3),对所述第一预览子图像、所述第二预览子图像和所述第三预览子图像进行划分,并对所述第二预览子图像(即D2部分)进行处理。作为一种实施方式,可对所述第一图像采集单元31采集的第二预览子图像和所述第二图像采集单元32采集的第二预览子图像进行像素点的叠加并做加权平均处理,获得D2部分对应的第二预览子图像。当然,作为其他实施方式,对于所述第二预览子图像,也可以单独从所述第一图像采集单元31获得的第二预览子图像获取,裁剪所述第二图像采集单元32获得的预览图像中的D2部分对应的预览图像;或者可以单独从所述第二图像采集单元32获得的第二预览子图像获取,裁剪所述第一图像采集单元31获得的预览图像中的D2部分对应的预览图像,进而获得D1、D2和D3分别对应的包含有第一预览子图像、第二预览子图像和第三预览子图像的预览图像。Specifically, the above D1, D2, and D3 satisfy the expressions (1), (2), and (3) in the first embodiment, respectively. When the mobile terminal obtains a preview image by the first image capturing unit 31 and the second image capturing unit 32, the first preview is performed based on the above expressions (1), (2), and (3) The sub-image, the second preview sub-image, and the third preview sub-image are divided, and the second preview sub-image (ie, the D2 portion) is processed. As an embodiment, the second preview sub-image collected by the first image acquisition unit 31 and the second preview sub-image collected by the second image acquisition unit 32 may be superimposed and subjected to weighted averaging processing. A second preview sub-image corresponding to the D2 portion is obtained. Of course, as another embodiment, for the second preview sub-image, the second preview sub-image obtained by the first image acquisition unit 31 may be separately acquired, and the preview image obtained by the second image acquisition unit 32 may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit 32, and a preview corresponding to the D2 portion of the preview image obtained by the first image acquisition unit 31 The image further obtains preview images including the first preview sub image, the second preview sub image, and the third preview sub image corresponding to D1, D2, and D3, respectively.
本实施例中,所述移动终端通过所述第一图像采集单元31和所述第二图像采集单元32获得并输出预览图像时,还输出与所述第一预览子图像、所述第二预览子图像和所述第三预览子图像分别对应的可选择项(具体可参照图6所示);所述视角调整模块,检测到针对三个可选择项中任一可选择项的触发操作时,生成第三指令,基于所述第三指令关闭选中的可选择项以外的可选择项对应的预览子图像的图像预览。例如,当检测到针对D1和D2对应的可选择项d1和d2的触发操作时,关闭D3对应的第三预览子 图像;当检测到针对D2和D3对应的可选择项d2和d3的触发操作时,关闭D1对应的第一预览子图像;当检测到针对D1和D3对应的可选择项d1和d3的触发操作时,关闭D2对应的第二预览子图像。作为一种实施方式,本实施例中所述的图像采集参数为所述第一图像采集单元31和/或所述第二图像采集单元32的视角参数。In this embodiment, when the mobile terminal obtains and outputs a preview image by using the first image capturing unit 31 and the second image capturing unit 32, the mobile terminal further outputs the first preview sub-image and the second preview. An optional item corresponding to the sub-image and the third preview sub-image respectively (refer to FIG. 6 for details); the viewing angle adjustment module detects a trigger operation for any one of the three selectable items And generating a third instruction to close an image preview of the preview sub-image corresponding to the selectable item other than the selected selectable item based on the third instruction. For example, when a trigger operation for the selectable items d1 and d2 corresponding to D1 and D2 is detected, the third preview sub-corresponding to D3 is turned off. Image; when the triggering operation for the selectable items d2 and d3 corresponding to D2 and D3 is detected, the first preview sub-image corresponding to D1 is turned off; when the triggering operations of the selectable items d1 and d3 corresponding to D1 and D3 are detected When the second preview sub-image corresponding to D2 is closed. As an embodiment, the image acquisition parameters described in this embodiment are perspective parameters of the first image acquisition unit 31 and/or the second image acquisition unit 32.
本实施例中,所述图像处理单元34,配置为识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数的图像。In this embodiment, the image processing unit 34 is configured to identify the first sub image and the second sub image in the first image, and identify the third sub image and the fourth sub image in the second image. Wherein the second sub-image and the third sub-image are coincident; and the first image and the second image are cropped based on the image acquisition parameter to obtain at least two sub-images; The two sub-images are subjected to superimposition processing to obtain an image satisfying the image acquisition parameters.
参照图6所示,由于所述第一图像采集单元31和所述第二图像采集单元32具有共有的图像采集区域,即D2部分,则本实施例中,所述图像处理单元34对所述第一图像采集单元31采集的第一图像和所述第二图像采集单元32采集的第二图像中相应的D2部分进行像素点的叠加并做加权平均处理,获得D2部分的图像,进而获得包含有D1部分、D2部分和D3部分完整的图像。当然,作为其他实施方式,对于所述第一图像和所述第二图像中的D2部分,也可以单独从所述第一图像中获取,裁剪所述第二图像中的D2部分;或者可以单独从所述第二图像中获取,裁剪所述第一图像中的D2部分,进而获得包含有D1、D2和D3部分完整的图像。Referring to FIG. 6, since the first image capturing unit 31 and the second image capturing unit 32 have a common image capturing area, that is, a D2 portion, in the embodiment, the image processing unit 34 The first image acquired by the first image acquisition unit 31 and the corresponding D2 portion of the second image acquired by the second image acquisition unit 32 perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining the inclusion There are complete images of the D1 part, the D2 part and the D3 part. Of course, as other embodiments, the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3.
具体的,当所述图像采集参数(即视角参数)与图6中D1和D2对应的第一预览子图像和第二预览子图像对应、或者所述图像采集参数(即视角参数)与图6中D2和D3对应的第二预览子图像和第三预览子图像对应时,所述图像处理单元34对所述第一图像和所述第二图像进行裁剪或叠加处理的方式可参照前述获得预览图像的方式,这里不再赘述。Specifically, when the image acquisition parameter (ie, the angle of view parameter) corresponds to the first preview sub image and the second preview sub image corresponding to D1 and D2 in FIG. 6, or the image acquisition parameter (ie, the angle of view parameter) and FIG. 6 When the second preview sub-image corresponding to the D2 and the D3 corresponds to the third preview sub-image, the manner in which the image processing unit 34 performs the cropping or superimposition processing on the first image and the second image may refer to the foregoing to obtain a preview. The way the image is used is not repeated here.
当所述图像采集参数(即视角参数)与图6中D1和D3对应的第一预 览子图像和第三预览子图像对应时,则所述图像处理单元34对所述第一图像和所述第二图像的处理方式包括:裁剪所述第一图像中的D2部分对应的子图像获得第一子图像,以及裁剪所述第二图像中的D2部分对应的子图像获得第二子图像,再将所述第一子图像和所述第二子图像进行合并处理生成图像。也即,裁剪所述第一图像中与所述第二图像重合的部分图像获得第一子图像,以及裁剪所述第二图像中与所述第一图像重合的部分图像获得第二子图像,将所述第一子图像和所述第二子图像进行合并处理生成图像。具体的,所述移动终端可基于表达式(4)、(5)和(6)确定所述第一图像和所述第二图像重合的部分图像的区域范围,再基于所述区域范围对所述第一图像和所述第二图像进行裁剪处理。When the image acquisition parameter (ie, the angle of view parameter) corresponds to the first pre-D1 and D3 in FIG. When the view sub-image corresponds to the third preview sub-image, the processing manner of the first image and the second image by the image processing unit 34 includes: cropping the sub-image corresponding to the D2 portion in the first image Obtaining a first sub-image, and cropping the sub-image corresponding to the D2 portion in the second image to obtain a second sub-image, and combining the first sub-image and the second sub-image to generate an image. That is, cropping a partial image of the first image that coincides with the second image to obtain a first sub-image, and cropping a partial image of the second image that coincides with the first image to obtain a second sub-image, Combining the first sub-image and the second sub-image to generate an image. Specifically, the mobile terminal may determine, according to the expressions (4), (5), and (6), a range of regions of the partial image in which the first image and the second image are coincident, and then based on the region range The first image and the second image are subjected to a cropping process.
采用本发明实施例的技术方案,通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。According to the technical solution of the embodiment of the present invention, the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
在本发明实施例一和实施例二中,所述移动终端中的驱动单元33、视角调整模块和图像处理单元34,在实际应用中均可由所述移动终端中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述第一图像采集单元31和所述第二图像采集单元32,在实际应用中均可由所述移动终端中的摄像头实现。In the first embodiment and the second embodiment of the present invention, the driving unit 33, the viewing angle adjustment module and the image processing unit 34 in the mobile terminal may be used by the central processing unit (CPU, Central) in the mobile terminal in practical applications. a processing unit), a digital signal processor (DSP) or a field-programmable gate array (FPGA); the first image acquisition unit 31 and the second image acquisition unit 32, In practical applications, it can be implemented by a camera in the mobile terminal.
实施例三Embodiment 3
基于实施例一,本发明实施例还提供了一种信息处理方法,所述信息处理方法应用于移动终端中;所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元。图7为本发明实施例三的信息处理方法 的组成结构示意图;如图7所示,所述信息处理方法包括:The embodiment of the present invention further provides an information processing method, where the information processing method is applied to a mobile terminal; the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located on the same plane. . FIG. 7 is an information processing method according to Embodiment 3 of the present invention; Schematic diagram of the composition; as shown in FIG. 7, the information processing method includes:
步骤701:检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。Step 701: Detect a first instruction, and enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
本实施例中,所述移动终端设置有两个图像采集单元,分别为第一图像采集单元和第二图像采集单元;所述第一图像采集单元和所述第二图像采集单元设置在同一平面上。如所述第一图像采集单元和所述第二图像采集单元均设置在所述移动终端的主外观面上;所述主外观面与所述移动终端的显示屏所在平面相对,可以理解为当所述移动终端水平放置且显示屏朝上置放在置物台上时,所述主外观面为所述移动终端与所述置物台接触的表面。再例如,所述第一图像采集单元和所述第二图像采集单元也可均设置在所述移动终端的显示屏所在平面上。当然,所述第一图像采集单元和所述第二图像采集单元也可设置在所述移动终端的边框所在面上,本实施例中不做具体限定。In this embodiment, the mobile terminal is provided with two image acquisition units, which are respectively a first image acquisition unit and a second image acquisition unit; the first image acquisition unit and the second image acquisition unit are disposed in the same plane. on. The first image capturing unit and the second image capturing unit are both disposed on a main design surface of the mobile terminal; the main design surface is opposite to a plane of the display screen of the mobile terminal, and can be understood as When the mobile terminal is horizontally placed and the display screen is placed on the storage rack, the main design surface is a surface of the mobile terminal that is in contact with the storage platform. For another example, the first image capturing unit and the second image capturing unit may also be disposed on a plane of the display screen of the mobile terminal. Of course, the first image capturing unit and the second image capturing unit may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
这里,所述检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元,包括:检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。Here, the detecting the first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction, comprising: detecting a first trigger operation of the first button, based on the first trigger operation A first instruction is generated to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
具体的,所述移动终端设置有第一功能按键,所述第一功能按键的触发能够使能所述第一图像采集单元和所述第二图像采集单元同时开启。或者,所述移动终端分别设置有用于使能所述第一图像采集单元和所述第二图像采集单元的功能按键,通过两次的触发操作,分别使能所述第一图像采集单元和所述第二图像采集单元。当然,上述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。Specifically, the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image acquisition unit and the second image acquisition unit to be simultaneously turned on. Alternatively, the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit and the second image capturing unit, and respectively enabling the first image capturing unit and the device by two triggering operations. The second image acquisition unit is described. Of course, the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
步骤702:控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平 面和所述第二图像采集单元的第二聚焦平面在同一平面上。Step 702: Control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same, so that the first focus of the first image acquisition unit is flat. The face and the second focus plane of the second image acquisition unit are on the same plane.
本步骤中,作为一种实施方式,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构,即所述第一图像采集单元和所述第二图像采集单元具有相同的感光器件、传感器等硬件结构,相应的,所述第一图像采集单元和所述第二图像采集单元具有相同的分辨率、感光度、曝光补偿参数、光圈范围等光学参数;也可以理解为,所述第一图像采集单元和所述第二图像采集单元为相同的图像采集单元。当然,在其他实施方式中,所述第一图像采集单元和所述第二图像采集单元也可不同,本实施例中不做具体限定。In this step, as an implementation manner, the first image acquisition unit and the second image acquisition unit have the same hardware structure, that is, the first image acquisition unit and the second image acquisition unit have the same The hardware structure of the photosensitive device, the sensor, etc., correspondingly, the first image acquisition unit and the second image acquisition unit have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, etc.; The first image acquisition unit and the second image acquisition unit are the same image acquisition unit. Of course, in other embodiments, the first image capturing unit and the second image capturing unit may be different, and are not specifically limited in this embodiment.
本实施例中,可采用自动对焦方式或手动对焦方式,控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,所述第一聚焦参数和所述第二聚焦参数具体为焦距;当作为一种实施方式,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构时,所述第一聚焦参数和所述第二聚焦参数具体可以为物距,所述物距为被拍摄的物体与图像采集单元(所述第一图像采集单元或所述第二图像采集单元)之间的距离。具体如图4所示,控制所述第一图像采集单元的第一焦距和所述第二图像采集单元的第二焦距相同,使得所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面属于同一个聚焦平面,也即所述第一图像采集单元距离所述聚焦平面的距离(第一物距)和所述第二图像采集单元距离所述聚焦平面的距离(第二物距)相同,在本示意中均为L(L为正整数)。In this embodiment, an autofocus mode or a manual focus mode may be adopted, and the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are controlled to be the same, the first focus parameter and The second focus parameter is specifically a focal length; when the first image acquisition unit and the second image acquisition unit have the same hardware structure as an embodiment, the first focus parameter and the second The focus parameter may specifically be an object distance, which is the distance between the object being photographed and the image acquisition unit (the first image acquisition unit or the second image acquisition unit). Specifically, as shown in FIG. 4, the first focal length of the first image capturing unit and the second focal length of the second image capturing unit are the same, such that the first focus plane and the first image of the first image capturing unit The second focus planes of the two image acquisition units belong to the same focus plane, that is, the distance of the first image acquisition unit from the focus plane (first object distance) and the second image acquisition unit are away from the focus plane The distance (second object distance) is the same, and in the present illustration, it is L (L is a positive integer).
步骤703:检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像。Step 703: Detect a second instruction, and simultaneously control, according to the second instruction, the first image acquisition unit to acquire a first image and the second image acquisition unit to acquire a second image.
这里,所述检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像, 包括:检测到第二按键的第二触发操作,基于所述第二触发操作生成第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像。Here, the detecting the second instruction, controlling, according to the second instruction, the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image, The method includes: detecting a second triggering operation of the second button, generating a second instruction based on the second triggering operation, simultaneously controlling the first image acquiring unit to acquire the first image and controlling the second based on the second instruction The image acquisition unit acquires a second image.
具体的,所述移动终端设置有第二功能按键,所述第二功能按键的触发使能所述第一图像采集单元和所述第二图像采集单元同时采集图像。当然,所述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。Specifically, the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit and the second image acquisition unit to simultaneously acquire an image. Of course, the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
本实施例中,所述检测到第二指令之前,所述方法还包括:通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单元共同获得并叠加处理的预览图像。In this embodiment, before the detecting the second instruction, the method further includes: obtaining, by the first image acquiring unit and the second image collecting unit, a preview image; the preview image includes: a first preview An image, a second preview sub-image, and a third preview sub-image; wherein the first preview sub-image is a preview image obtained by the first image acquisition unit; and the third preview sub-image is the second image acquisition a preview image obtained by the unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
具体的,参照图4所示,假设第一图像采集单元的视角为θ1,第二图像采集单元的视角为θ2,所述第一图像采集单元和所述第二图像采集单元之间的距离为d,所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离均为L;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。所述聚焦平面可以理解为待拍摄的物体所在的平面,也可以理解为所述移动终端的图像采集区域;从所述移动终端的显示屏中输出的预览图像即表征所述聚焦平面。从图4中可以看出,所述对焦平面上的区域被分为三个部分:D1、D2和D3;其中,D1为第一图像采集单元独有的图像采集区域,相应的,D1对应所述预览图像中的第一预览子图像;D3为第二图像采集单元独有的图像采集区域,相应的,D3对应所述预览图像中的第三预览子图像;D2为所述第一图像采集单元和所述第二图像采集单元共有 的图像采集区域,相应的,D2对应所述预览图像中的第二预览子图像。Specifically, referring to FIG. 4, it is assumed that the angle of view of the first image acquisition unit is θ 1 and the angle of view of the second image acquisition unit is θ 2 , between the first image acquisition unit and the second image acquisition unit. The distance is d, the distance between the first image acquisition unit and the second image acquisition unit from the focus plane is L; wherein d and L are positive integers; θ 1 and θ 2 are both greater than 0°; 180°. The focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG. 4, the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit, and correspondingly, D1 corresponds to a first preview sub-image in the preview image; D3 is an image acquisition area unique to the second image acquisition unit, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image acquisition The image acquisition area shared by the unit and the second image acquisition unit, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
具体的,上述D1、D2和D3分别满足表达式(4)、(5)和(6):Specifically, the above D1, D2, and D3 satisfy the expressions (4), (5), and (6), respectively:
Figure PCTCN2016101883-appb-000010
Figure PCTCN2016101883-appb-000010
Figure PCTCN2016101883-appb-000011
Figure PCTCN2016101883-appb-000011
Figure PCTCN2016101883-appb-000012
Figure PCTCN2016101883-appb-000012
所述移动终端在通过所述第一图像采集单元和所述第二图像采集单元获得预览图像时,基于上述表达式(4)、(5)和(6),对所述第一预览子图像、所述第二预览子图像和所述第三预览子图像进行划分,并对所述第二预览子图像(即D2部分)进行处理。作为一种实施方式,可对所述第一图像采集单元采集的第二预览子图像和所述第二图像采集单元采集的第二预览子图像进行像素点的叠加并做加权平均处理,获得D2部分对应的第二预览子图像。当然,作为其他实施方式,对于所述第二预览子图像,也可以单独从所述第一图像采集单元获得的第二预览子图像获取,裁剪所述第二图像采集单元获得的预览图像中的D2部分对应的预览图像;或者可以单独从所述第二图像采集单元获得的第二预览子图像获取,裁剪所述第一图像采集单元获得的预览图像中的D2部分对应的预览图像,进而获得D1、D2和D3分别对应的包含有第一预览子图像、第二预览子图像和第三预览子图像的预览图像。The mobile terminal, when obtaining a preview image by the first image acquisition unit and the second image acquisition unit, based on the above expressions (4), (5), and (6), the first preview sub image And dividing the second preview sub-image and the third preview sub-image, and processing the second preview sub-image (ie, the D2 portion). As an embodiment, the second preview sub-image collected by the first image acquisition unit and the second preview sub-image collected by the second image acquisition unit may be superimposed on the pixel points and subjected to weighted average processing to obtain D2. Partially corresponding second preview sub-image. Of course, as another embodiment, the second preview sub-image may be separately acquired from the second preview sub-image obtained by the first image acquisition unit, and the preview image obtained by the second image acquisition unit may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit, and a preview image corresponding to the D2 portion of the preview image obtained by the first image acquisition unit, and then obtained D1, D2, and D3 respectively correspond to preview images including a first preview sub image, a second preview sub image, and a third preview sub image.
步骤704:对所述第一图像和所述第二图像按预设处理方式进行处理生成图像。Step 704: Process the first image and the second image according to a preset processing manner to generate an image.
本实施例中,所述对所述第一图像和所述第二图像按预设处理方式进行处理生成图像,包括:对所述第一图像和所述第二图像进行裁剪或叠加处理,获得图像。 In this embodiment, the processing, by using the preset processing manner, the image is generated by the first image and the second image, including: cutting or superimposing the first image and the second image to obtain image.
具体的,参照图4所示,由于所述第一图像采集单元和所述第二图像采集单元具有共有的图像采集区域,即D2部分,则本实施例中,对所述第一图像采集单元采集的第一图像和所述第二图像采集单元采集的第二图像中相应的D2部分进行像素点的叠加并做加权平均处理,获得D2部分的图像,进而获得包含有D1、D2和D3部分完整的图像。当然,作为其他实施方式,对于所述第一图像和所述第二图像中的D2部分,也可以单独从所述第一图像中获取,裁剪所述第二图像中的D2部分;或者可以单独从所述第二图像中获取,裁剪所述第一图像中的D2部分,进而获得包含有D1、D2和D3部分完整的图像。具体的实现方式可参照步骤703中预览图像的获取方式,这里不再赘述。Specifically, as shown in FIG. 4, since the first image acquisition unit and the second image acquisition unit have a common image collection area, that is, a D2 portion, in this embodiment, the first image acquisition unit is And acquiring a D2 part of the first image acquired by the first image and the second image acquired by the second image capturing unit, and performing weighted averaging processing to obtain an image of the D2 portion, thereby obtaining a portion including D1, D2, and D3. Complete image. Of course, as other embodiments, the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3. For the specific implementation, refer to the method for obtaining the preview image in step 703, and details are not described herein again.
采用本发明实施例的技术方案,通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。According to the technical solution of the embodiment of the present invention, the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
实施例四Embodiment 4
基于实施例二,本发明实施例还提供了一种信息处理方法,所述信息处理方法应用于移动终端中;所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元。图8为本发明实施例四的信息处理方法的组成结构示意图;如图8所示,所述信息处理方法包括:The embodiment of the present invention further provides an information processing method, where the information processing method is applied to a mobile terminal, where the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located on the same plane. . FIG. 8 is a schematic structural diagram of an information processing method according to Embodiment 4 of the present invention; as shown in FIG. 8, the information processing method includes:
步骤801:检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。Step 801: Detecting a first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction.
本实施例中,所述移动终端设置有两个图像采集单元,分别为第一图像采集单元和第二图像采集单元;所述第一图像采集单元和所述第二图像采集单元设置在同一平面上。如所述第一图像采集单元和所述第二图像采 集单元均设置在所述移动终端的主外观面上;所述主外观面与所述移动终端的显示屏所在平面相对,可以理解为当所述移动终端水平放置且显示屏朝上置放在置物台上时,所述主外观面为所述移动终端与所述置物台接触的表面。再例如,所述第一图像采集单元和所述第二图像采集单元也可均设置在所述移动终端的显示屏所在平面上。当然,所述第一图像采集单元和所述第二图像采集单元也可设置在所述移动终端的边框所在面上,本实施例中不做具体限定。In this embodiment, the mobile terminal is provided with two image acquisition units, which are respectively a first image acquisition unit and a second image acquisition unit; the first image acquisition unit and the second image acquisition unit are disposed in the same plane. on. As described in the first image acquisition unit and the second image The set units are all disposed on the main design surface of the mobile terminal; the main design surface is opposite to the plane of the display screen of the mobile terminal, and can be understood as when the mobile terminal is horizontally placed and the display screen is placed upwards The main design surface is a surface on which the mobile terminal contacts the stage when the table is placed. For another example, the first image capturing unit and the second image capturing unit may also be disposed on a plane of the display screen of the mobile terminal. Of course, the first image capturing unit and the second image capturing unit may also be disposed on the surface of the frame of the mobile terminal, which is not specifically limited in this embodiment.
这里,所述检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元,包括:检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。Here, the detecting the first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction, comprising: detecting a first trigger operation of the first button, based on the first trigger operation A first instruction is generated to enable the first image acquisition unit and the second image acquisition unit based on the first instruction.
具体的,所述移动终端设置有第一功能按键,所述第一功能按键的触发能够使能所述第一图像采集单元和所述第二图像采集单元同时开启。或者,所述移动终端分别设置有用于使能所述第一图像采集单元和所述第二图像采集单元的功能按键,通过两次的触发操作,分别使能所述第一图像采集单元和所述第二图像采集单元。当然,上述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。Specifically, the mobile terminal is provided with a first function button, and the triggering of the first function button enables the first image acquisition unit and the second image acquisition unit to be simultaneously turned on. Alternatively, the mobile terminal is respectively provided with function buttons for enabling the first image capturing unit and the second image capturing unit, and respectively enabling the first image capturing unit and the device by two triggering operations. The second image acquisition unit is described. Of course, the above-mentioned function buttons can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
步骤802:控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面在同一平面上。Step 802: Control the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit to be the same, so that the first focus plane and the second image of the first image acquisition unit The second focus plane of the image acquisition unit is on the same plane.
本步骤中,作为一种实施方式,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构,即所述第一图像采集单元和所述第二图像采集单元具有相同的感光器件、传感器等硬件结构,相应的,所述第一图像采集单元和所述第二图像采集单元具有相同的分辨率、感光度、曝光补偿参数、光圈范围等光学参数;也可以理解为,所述第一图像采集单元 和所述第二图像采集单元为相同的图像采集单元。当然,在其他实施方式中,所述第一图像采集单元和所述第二图像采集单元也可不同,本实施例中不做具体限定。In this step, as an implementation manner, the first image acquisition unit and the second image acquisition unit have the same hardware structure, that is, the first image acquisition unit and the second image acquisition unit have the same The hardware structure of the photosensitive device, the sensor, etc., correspondingly, the first image acquisition unit and the second image acquisition unit have the same optical parameters such as resolution, sensitivity, exposure compensation parameter, aperture range, etc.; The first image acquisition unit And the second image acquisition unit is the same image acquisition unit. Of course, in other embodiments, the first image capturing unit and the second image capturing unit may be different, and are not specifically limited in this embodiment.
本实施例中,可采用自动对焦方式或手动对焦方式,控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,所述第一聚焦参数和所述第二聚焦参数具体为焦距;当作为一种实施方式,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构时,所述第一聚焦参数和所述第二聚焦参数具体可以为物距,所述物距为被拍摄的物体与图像采集单元(所述第一图像采集单元或所述第二图像采集单元)之间的距离。具体如图6所示,控制所述第一图像采集单元的第一焦距和所述第二图像采集单元的第二焦距相同,使得所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面属于同一个聚焦平面,也即所述第一图像采集单元距离所述聚焦平面的距离(第一物距)和所述第二图像采集单元距离所述聚焦平面的距离(第二物距)相同,在本示意中均为L(L为正整数)。In this embodiment, an autofocus mode or a manual focus mode may be adopted, and the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are controlled to be the same, the first focus parameter and The second focus parameter is specifically a focal length; when the first image acquisition unit and the second image acquisition unit have the same hardware structure as an embodiment, the first focus parameter and the second The focus parameter may specifically be an object distance, which is the distance between the object being photographed and the image acquisition unit (the first image acquisition unit or the second image acquisition unit). Specifically, as shown in FIG. 6, the first focal length of the first image acquisition unit and the second focal length of the second image acquisition unit are controlled to be the same, such that the first focus plane and the first image of the first image acquisition unit The second focus planes of the two image acquisition units belong to the same focus plane, that is, the distance of the first image acquisition unit from the focus plane (first object distance) and the second image acquisition unit are away from the focus plane The distance (second object distance) is the same, and in the present illustration, it is L (L is a positive integer).
步骤803:通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单元共同获得并叠加处理的预览图像。Step 803: Obtain a preview image by using the first image capturing unit and the second image capturing unit; the preview image includes: a first preview sub image, a second preview sub image, and a third preview sub image; The first preview sub-image is a preview image obtained by the first image acquisition unit; the third preview sub-image is a preview image obtained by the second image acquisition unit; the second preview sub-image is the An image acquisition unit and the second image acquisition unit jointly obtain and superimpose the processed preview image.
具体的,参照图6所示,假设第一图像采集单元的视角为θ1,第二图像采集单元的视角为θ2,所述第一图像采集单元和所述第二图像采集单元之间的距离为d,所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离均为L;其中,d和L均为正整数;θ1和θ2均大于0°小于 180°。所述聚焦平面可以理解为待拍摄的物体所在的平面,也可以理解为所述移动终端的图像采集区域;从所述移动终端的显示屏中输出的预览图像即表征所述聚焦平面。从图6中可以看出,所述对焦平面上的区域被分为三个部分:D1、D2和D3;其中,D1为第一图像采集单元独有的图像采集区域,相应的,D1对应所述预览图像中的第一预览子图像;D3为第二图像采集单元独有的图像采集区域,相应的,D3对应所述预览图像中的第三预览子图像;D2为所述第一图像采集单元和所述第二图像采集单元共有的图像采集区域,相应的,D2对应所述预览图像中的第二预览子图像。Specifically, referring to FIG. 6, it is assumed that the angle of view of the first image acquisition unit is θ 1 and the angle of view of the second image acquisition unit is θ 2 , between the first image acquisition unit and the second image acquisition unit. The distance is d, the distance between the first image acquisition unit and the second image acquisition unit from the focus plane is L; wherein d and L are positive integers; θ 1 and θ 2 are both greater than 0°; 180°. The focus plane can be understood as the plane in which the object to be photographed is located, and can also be understood as the image acquisition area of the mobile terminal; the preview image outputted from the display screen of the mobile terminal represents the focus plane. As can be seen from FIG. 6, the area on the focus plane is divided into three parts: D1, D2, and D3; wherein D1 is an image acquisition area unique to the first image acquisition unit, and correspondingly, D1 corresponds to a first preview sub-image in the preview image; D3 is an image acquisition area unique to the second image acquisition unit, and correspondingly, D3 corresponds to a third preview sub-image in the preview image; D2 is the first image acquisition The image acquisition area shared by the unit and the second image acquisition unit, correspondingly, D2 corresponds to the second preview sub-image in the preview image.
具体的,上述D1、D2和D3分别满足实施例三中的表达式(4)、(5)和(6)。所述移动终端在通过所述第一图像采集单元和所述第二图像采集单元获得预览图像时,基于上述表达式(4)、(5)和(6),对所述第一预览子图像、所述第二预览子图像和所述第三预览子图像进行划分,并对所述第二预览子图像(即D2部分)进行处理。作为一种实施方式,可对所述第一图像采集单元采集的第二预览子图像和所述第二图像采集单元采集的第二预览子图像进行像素点的叠加并做加权平均处理,获得D2部分对应的第二预览子图像。当然,作为其他实施方式,对于所述第二预览子图像,也可以单独从所述第一图像采集单元获得的第二预览子图像获取,裁剪所述第二图像采集单元获得的预览图像中的D2部分对应的预览图像;或者可以单独从所述第二图像采集单元获得的第二预览子图像获取,裁剪所述第一图像采集单元获得的预览图像中的D2部分对应的预览图像,进而获得D1、D2和D3分别对应的包含有第一预览子图像、第二预览子图像和第三预览子图像的预览图像。Specifically, the above D1, D2, and D3 satisfy the expressions (4), (5), and (6) in the third embodiment, respectively. The mobile terminal, when obtaining a preview image by the first image acquisition unit and the second image acquisition unit, based on the above expressions (4), (5), and (6), the first preview sub image And dividing the second preview sub-image and the third preview sub-image, and processing the second preview sub-image (ie, the D2 portion). As an embodiment, the second preview sub-image collected by the first image acquisition unit and the second preview sub-image collected by the second image acquisition unit may be superimposed on the pixel points and subjected to weighted average processing to obtain D2. Partially corresponding second preview sub-image. Of course, as another embodiment, the second preview sub-image may be separately acquired from the second preview sub-image obtained by the first image acquisition unit, and the preview image obtained by the second image acquisition unit may be cropped. a preview image corresponding to the D2 portion; or a second preview sub-image obtained from the second image acquisition unit, and a preview image corresponding to the D2 portion of the preview image obtained by the first image acquisition unit, and then obtained D1, D2, and D3 respectively correspond to preview images including a first preview sub image, a second preview sub image, and a third preview sub image.
步骤804:检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他预览子图像的图像预览,获得图像采集参 数。Step 804: Detect a third instruction for at least one preview sub-image of the first preview sub-image, the second preview sub-image, and the third preview sub-image; and close the at least one preview sub-based based on the third instruction Image preview of other preview sub-images outside the image, obtaining image acquisition parameters number.
这里,所述移动终端通过所述第一图像采集单元和所述第二图像采集单元获得并输出预览图像时,还输出与所述第一预览子图像、所述第二预览子图像和所述第三预览子图像分别对应的可选择项(具体可参照图6所示);检测到针对三个可选择项中任一可选择项的触发操作时,生成第三指令,基于所述第三指令关闭选中的可选择项以外的可选择项对应的预览子图像的图像预览。例如,当检测到针对D1和D2对应的可选择项d1和d2的触发操作时,关闭D3对应的第三预览子图像;当检测到针对D2和D3对应的可选择项d2和d3的触发操作时,关闭D1对应的第一预览子图像;当检测到针对D1和D3对应的可选择项d1和d3的触发操作时,关闭D2对应的第二预览子图像。作为一种实施方式,本实施例中所述的图像采集参数为所述第一图像采集单元和/或所述第二图像采集单元的视角参数。Here, when the mobile terminal obtains and outputs a preview image through the first image acquisition unit and the second image acquisition unit, the mobile terminal further outputs the first preview sub image, the second preview sub image, and the a third preview sub-image corresponding to the selectable item (refer to FIG. 6 for details); when detecting a trigger operation for any one of the three selectable items, generating a third instruction, based on the third The instruction closes the image preview of the preview sub-image corresponding to the selectable item other than the selected option. For example, when a triggering operation for the selectable items d1 and d2 corresponding to D1 and D2 is detected, the third preview sub-image corresponding to D3 is turned off; when the triggering operations of the selectable items d2 and d3 corresponding to D2 and D3 are detected When the first preview sub-image corresponding to D1 is turned off; when the triggering operation for the selectable items d1 and d3 corresponding to D1 and D3 is detected, the second preview sub-image corresponding to D2 is turned off. As an embodiment, the image acquisition parameter described in this embodiment is a view parameter of the first image acquisition unit and/or the second image acquisition unit.
步骤805:检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像。Step 805: Detect a second instruction, and simultaneously control, according to the second instruction, the first image acquisition unit to acquire a first image and the second image acquisition unit to acquire a second image.
这里,所述检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像,包括:检测到第二按键的第二触发操作,基于所述第二触发操作生成第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像。Here, the detecting the second instruction, controlling the first image acquisition unit to acquire the first image and controlling the second image acquisition unit to acquire the second image based on the second instruction, including: detecting the second button a second triggering operation, generating a second instruction based on the second triggering operation, simultaneously controlling the first image acquiring unit to acquire a first image and controlling the second image capturing unit to acquire a second image based on the second instruction .
具体的,所述移动终端设置有第二功能按键,所述第二功能按键的触发使能所述第一图像采集单元和所述第二图像采集单元同时采集图像。当然,所述功能按键也可以通过物理按键的组合实现,本实施例中不作具体限定。Specifically, the mobile terminal is provided with a second function button, and the triggering of the second function button enables the first image acquisition unit and the second image acquisition unit to simultaneously acquire an image. Of course, the function button can also be implemented by a combination of physical buttons, which is not specifically limited in this embodiment.
步骤806:基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像。 Step 806: Perform cropping and/or superimposition processing on the first image and the second image based on the image capturing parameter to obtain an image that satisfies the image capturing parameter.
这里,所述基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像,包括:Here, the cropping and/or superimposing processing of the first image and the second image based on the image capturing parameter to obtain an image satisfying the image capturing parameter includes:
识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数的图像。Identifying a first sub-image and a second sub-image in the first image, and identifying a third sub-image and a fourth sub-image in the second image; wherein the second sub-image and the third Sub-images are overlapped; the first image and the second image are cropped based on the image acquisition parameters to obtain at least two sub-images; and the at least two sub-images are superimposed to obtain the image acquisition parameters. Image.
本实施例中,参照图6所示,由于所述第一图像采集单元和所述第二图像采集单元具有共有的图像采集区域,即D2部分,则本实施例中,对所述第一图像采集单元采集的第一图像和所述第二图像采集单元采集的第二图像中相应的D2部分进行像素点的叠加并做加权平均处理,获得D2部分的图像,进而获得包含有D1部分、D2部分和D3部分完整的图像。当然,作为其他实施方式,对于所述第一图像和所述第二图像中的D2部分,也可以单独从所述第一图像中获取,裁剪所述第二图像中的D2部分;或者可以单独从所述第二图像中获取,裁剪所述第一图像中的D2部分,进而获得包含有D1、D2和D3部分完整的图像。In this embodiment, referring to FIG. 6, since the first image capturing unit and the second image capturing unit have a common image capturing area, that is, a D2 portion, in the embodiment, the first image is The first image acquired by the acquisition unit and the corresponding D2 portion of the second image acquired by the second image acquisition unit perform superimposition of pixel points and perform weighted averaging processing to obtain an image of the D2 portion, thereby obtaining a portion including D1 and D2. Part and complete image of part D3. Of course, as other embodiments, the D2 part in the first image and the second image may be separately obtained from the first image, and the D2 part in the second image may be cropped; or may be separately Obtaining from the second image, cropping the D2 portion in the first image, thereby obtaining an image including a complete portion of D1, D2, and D3.
具体的,当所述图像采集参数(即视角参数)与图6中D1和D2对应的第一预览子图像和第二预览子图像对应、或者所述图像采集参数(即视角参数)与图6中D2和D3对应的第二预览子图像和第三预览子图像对应时,对所述第一图像和所述第二图像进行裁剪或叠加处理的方式可参照步骤804中获得预览图像的方式,这里不再赘述。Specifically, when the image acquisition parameter (ie, the angle of view parameter) corresponds to the first preview sub image and the second preview sub image corresponding to D1 and D2 in FIG. 6, or the image acquisition parameter (ie, the angle of view parameter) and FIG. 6 When the second preview sub-image corresponding to the D2 and the D3 corresponds to the third preview sub-image, the manner of performing the cropping or superimposing process on the first image and the second image may refer to the manner of obtaining the preview image in step 804. I won't go into details here.
当所述图像采集参数(即视角参数)与图6中D1和D3对应的第一预览子图像和第三预览子图像对应时,则对所述第一图像和所述第二图像的处理方式包括:裁剪所述第一图像中的D2部分对应的子图像获得第一子图像,以及裁剪所述第二图像中的D2部分对应的子图像获得第二子图像,再 将所述第一子图像和所述第二子图像进行合并处理生成图像。也即,裁剪所述第一图像中与所述第二图像重合的部分图像获得第一子图像,以及裁剪所述第二图像中与所述第一图像重合的部分图像获得第二子图像,将所述第一子图像和所述第二子图像进行合并处理生成图像。具体的,所述移动终端可基于表达式(4)、(5)和(6)确定所述第一图像和所述第二图像重合的部分图像的区域范围,再基于所述区域范围对所述第一图像和所述第二图像进行裁剪处理。When the image acquisition parameter (ie, the angle of view parameter) corresponds to the first preview sub image and the third preview sub image corresponding to D1 and D3 in FIG. 6, the processing manner of the first image and the second image is performed. The method includes: cropping a sub-image corresponding to the D2 portion in the first image to obtain a first sub-image, and cropping the sub-image corresponding to the D2 portion in the second image to obtain a second sub-image, and then Combining the first sub-image and the second sub-image to generate an image. That is, cropping a partial image of the first image that coincides with the second image to obtain a first sub-image, and cropping a partial image of the second image that coincides with the first image to obtain a second sub-image, Combining the first sub-image and the second sub-image to generate an image. Specifically, the mobile terminal may determine, according to the expressions (4), (5), and (6), a range of regions of the partial image in which the first image and the second image are coincident, and then based on the region range The first image and the second image are subjected to a cropping process.
采用本发明实施例的技术方案,通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。According to the technical solution of the embodiment of the present invention, the first image and the second image capturing unit are collected by the first image collecting unit disposed in the same plane to collect the second image, and the first image and the second image are cropped and/or superimposed. Processing, no need to replace the external lens to achieve the adjustment of the image acquisition field of view, to meet the needs of users without additional cost, greatly improving the user experience.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元 的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the various components shown or discussed may be through some interface, device or unit. The indirect coupling or communication connection can be electrical, mechanical or other form.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可 轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can within the technical scope disclosed by the present invention. It is easy to think of variations or substitutions that are within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例通过在同一平面设置的第一图像采集单元采集第一图像和第二图像采集单元采集第二图像,在对第一图像和第二图像进行裁剪和/或叠加处理,无需更换外挂镜头实现了图像采集视野的调整,在不额外增加成本的前提下满足了用户的需求,大大提升了用户的体验。 In the embodiment of the present invention, the first image and the second image capturing unit collect the second image by acquiring the first image and the second image collecting unit in the same plane, and the first image and the second image are cut and/or superimposed, without replacing the plug-in. The lens realizes the adjustment of the image acquisition field of view, and satisfies the user's needs without increasing the cost, which greatly enhances the user experience.

Claims (20)

  1. 一种移动终端,所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元;所述移动终端还包括:驱动单元和图像处理单元;其中,A mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located in the same plane; the mobile terminal further includes: a driving unit and an image processing unit; wherein
    所述驱动单元,配置为检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元;控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面在同一平面上;还配置为检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像;The driving unit is configured to detect a first instruction, enable a first image capturing unit and a second image capturing unit based on the first instruction; and control a first focus parameter and the first image of the first image capturing unit The second focus parameters of the two image acquisition units are the same, such that the first focus plane of the first image acquisition unit and the second focus plane of the second image acquisition unit are on the same plane; The command, based on the second instruction, simultaneously controlling the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image;
    所述图像处理单元,配置为对所述第一图像采集单元采集的所述第一图像和所述第二图像采集单元采集的第二图像按预设处理方式进行处理生成图像。The image processing unit is configured to process the first image acquired by the first image acquisition unit and the second image acquired by the second image acquisition unit according to a preset processing manner to generate an image.
  2. 根据权利要求1所述的移动终端,其中,所述图像处理单元,还配置为检测到第二指令之前,通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单元共同获得并叠加处理的预览图像。The mobile terminal of claim 1, wherein the image processing unit is further configured to obtain a preview image by the first image acquisition unit and the second image acquisition unit before detecting the second instruction; The preview image includes: a first preview sub image, a second preview sub image, and a third preview sub image; wherein the first preview sub image is a preview image obtained by the first image capturing unit; the third preview sub The image is a preview image obtained by the second image acquisition unit; the second preview sub-image is a preview image obtained by the first image acquisition unit and the second image acquisition unit and superimposed and processed.
  3. 根据权利要求2所述的移动终端,其中,所述移动终端还包括视角调整模块,配置为所述驱动单元检测到第二指令之前,检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他 预览子图像的图像预览,获得图像采集参数。The mobile terminal of claim 2, wherein the mobile terminal further comprises a viewing angle adjustment module configured to detect, for the first preview sub image and the second preview sub, before the driving unit detects the second instruction a third instruction for previewing at least one of the image and the third preview sub-image; closing other than the at least one preview sub-image based on the third instruction Preview the image preview of the sub image to obtain image acquisition parameters.
  4. 根据权利要求3所述的移动终端,其中,所述图像处理单元,配置为基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像。The mobile terminal of claim 3, wherein the image processing unit is configured to perform cropping and/or superimposition processing on the first image and the second image based on the image acquisition parameter to obtain the An image of the image acquisition parameters.
  5. 根据权利要求4所述的移动终端,其中,所述图像处理单元,配置为识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数的图像。The mobile terminal of claim 4, wherein the image processing unit is configured to identify a first sub image and a second sub image in the first image, and to identify a third sub in the second image And an image of the fourth sub-image; wherein the second sub-image and the third sub-image are coincident; and the first image and the second image are cropped based on the image acquisition parameter to obtain at least two sub- And superimposing the at least two sub-images to obtain an image that satisfies the image acquisition parameters.
  6. 根据权利要求1所述的移动终端,其中,所述驱动单元,配置为检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。The mobile terminal of claim 1, wherein the driving unit is configured to detect a first triggering operation of the first button, generate a first instruction based on the first triggering operation, and enable based on the first instruction a first image acquisition unit and a second image acquisition unit.
  7. 根据权利要求2所述的移动终端,其中,所述第一预览子图像D1、所述第二预览子图像D2和所述第三预览子图像D3分别满足以下表达式:The mobile terminal of claim 2, wherein the first preview sub-image D1, the second preview sub-image D2, and the third preview sub-image D3 respectively satisfy the following expression:
    Figure PCTCN2016101883-appb-100001
    Figure PCTCN2016101883-appb-100001
    Figure PCTCN2016101883-appb-100002
    Figure PCTCN2016101883-appb-100002
    Figure PCTCN2016101883-appb-100003
    Figure PCTCN2016101883-appb-100003
    其中,θ1为第一图像采集单元的视角,θ2为第二图像采集单元的视角,d为所述第一图像采集单元和所述第二图像采集单元之间的距离,L为所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。Where θ 1 is the angle of view of the first image acquisition unit, θ 2 is the angle of view of the second image acquisition unit, d is the distance between the first image acquisition unit and the second image acquisition unit, and L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; θ 1 and θ 2 are both greater than 0° and less than 180°.
  8. 根据权利要求3所述的移动终端,其中,所述图像处理单元,配置 为基于所述图像采集参数对所述第一图像和所述第二图像中的所述第二预览子图像进行像素点的叠加并做加权平均处理。The mobile terminal of claim 3, wherein the image processing unit is configured And superimposing pixel points on the second preview sub-image in the first image and the second image based on the image acquisition parameter and performing weighted averaging processing.
  9. 根据权利要求1所述的移动终端,其中,所述驱动单元,配置为控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同;所述第一焦距参数和所述第二焦距参数包括焦距和/或物距。The mobile terminal according to claim 1, wherein the driving unit is configured to control the first focusing parameter of the first image capturing unit and the second focusing parameter of the second image capturing unit to be the same; A focal length parameter and the second focal length parameter include a focal length and/or an object distance.
  10. 根据权利要求9所述的移动终端,其中,所述第一图像采集单元和所述第二图像采集单元具有相同的硬件结构,以使所述第一图像采集单元和所述第二图像采集单元具有相同的光学参数,所述光学参数包括以下参数的至少之一:分辨率、感光度、曝光补偿参数、光圈范围。The mobile terminal of claim 9, wherein the first image acquisition unit and the second image acquisition unit have the same hardware structure to enable the first image acquisition unit and the second image acquisition unit Having the same optical parameters, the optical parameters include at least one of the following parameters: resolution, sensitivity, exposure compensation parameters, aperture range.
  11. 一种信息处理方法,应用于移动终端中;所述移动终端设置有位于同一平面的第一图像采集单元和第二图像采集单元;所述方法包括:An information processing method is applied to a mobile terminal; the mobile terminal is provided with a first image acquisition unit and a second image acquisition unit located in the same plane; the method includes:
    检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元;Detecting a first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction;
    控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,以使所述第一图像采集单元的第一聚焦平面和所述第二图像采集单元的第二聚焦平面在同一平面上;Controlling that the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are the same, such that the first focus plane and the second image acquisition unit of the first image acquisition unit The second focus plane is on the same plane;
    检测到第二指令,基于所述第二指令同时控制所述第一图像采集单元采集第一图像以及控制所述第二图像采集单元采集第二图像;Detecting a second instruction, controlling, according to the second instruction, the first image acquisition unit to acquire a first image and controlling the second image acquisition unit to acquire a second image;
    对所述第一图像和所述第二图像按预设处理方式进行处理生成图像。The first image and the second image are processed in a preset processing manner to generate an image.
  12. 根据权利要求11所述的方法,其中,所述检测到第二指令之前,所述方法还包括:通过所述第一图像采集单元和所述第二图像采集单元获得预览图像;所述预览图像包括:第一预览子图像、第二预览子图像和第三预览子图像;其中,所述第一预览子图像为所述第一图像采集单元获得的预览图像;所述第三预览子图像为所述第二图像采集单元获得的预览图像;所述第二预览子图像为所述第一图像采集单元和所述第二图像采集单 元共同获得并叠加处理的预览图像。The method of claim 11, wherein before the detecting the second instruction, the method further comprises: obtaining a preview image by the first image acquisition unit and the second image acquisition unit; the preview image The first preview sub image, the second preview sub image, and the third preview sub image; wherein the first preview sub image is a preview image obtained by the first image capturing unit; the third preview sub image is a preview image obtained by the second image acquisition unit; the second preview sub-image is the first image acquisition unit and the second image acquisition list The metadata is obtained and superimposed on the preview image.
  13. 根据权利要求12所述的方法,其中,所述检测到第二指令之前,所述方法还包括:检测到针对所述第一预览子图像、第二预览子图像和第三预览子图像中至少一个预览子图像的第三指令;基于所述第三指令关闭除所述至少一个预览子图像外的其他预览子图像的图像预览,获得图像采集参数。The method of claim 12, wherein before the detecting the second instruction, the method further comprises: detecting at least the first preview sub image, the second preview sub image, and the third preview sub image a third instruction for previewing the sub-image; and closing an image preview of the other preview sub-images other than the at least one preview sub-image based on the third instruction to obtain an image acquisition parameter.
  14. 根据权利要求13所述的方法,其中,所述对所述第一图像和所述第二图像按预设处理方式进行处理生成图像,包括:The method according to claim 13, wherein the processing of the first image and the second image in a predetermined processing manner to generate an image comprises:
    基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像。The first image and the second image are cropped and/or superimposed based on the image acquisition parameters to obtain an image that satisfies the image acquisition parameters.
  15. 根据权利要求13所述的方法,其中,所述基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪和/或叠加处理,获得满足所述图像采集参数的图像,包括:The method of claim 13, wherein said cropping and/or superimposing said first image and said second image based on said image acquisition parameters to obtain an image that satisfies said image acquisition parameters, including :
    识别所述第一图像中的第一子图像和第二子图像,以及识别所述第二图像中的第三子图像和第四子图像;其中,所述第二子图像和所述第三子图像重合;基于所述图像采集参数对所述第一图像和所述第二图像进行裁剪处理,获得至少两个子图像;对所述至少两个子图像进行叠加处理,获得满足所述图像采集参数的图像。Identifying a first sub-image and a second sub-image in the first image, and identifying a third sub-image and a fourth sub-image in the second image; wherein the second sub-image and the third Sub-images are overlapped; the first image and the second image are cropped based on the image acquisition parameters to obtain at least two sub-images; and the at least two sub-images are superimposed to obtain the image acquisition parameters. Image.
  16. 根据权利要求11所述的方法,其中,所述检测到第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元,包括:检测到第一按键的第一触发操作,基于所述第一触发操作生成第一指令,基于所述第一指令使能第一图像采集单元和第二图像采集单元。The method of claim 11, wherein the detecting the first instruction, enabling the first image acquisition unit and the second image acquisition unit based on the first instruction comprises: detecting a first trigger of the first key The operation generates a first instruction based on the first triggering operation, and enables the first image capturing unit and the second image capturing unit based on the first instruction.
  17. 根据权利要求12所述的方法,其中,所述第一预览子图像D1、所述第二预览子图像D2和所述第三预览子图像D3分别满足以下表达式:The method according to claim 12, wherein said first preview sub-image D1, said second preview sub-image D2, and said third preview sub-image D3 respectively satisfy the following expression:
    Figure PCTCN2016101883-appb-100004
    Figure PCTCN2016101883-appb-100004
    Figure PCTCN2016101883-appb-100005
    Figure PCTCN2016101883-appb-100005
    Figure PCTCN2016101883-appb-100006
    Figure PCTCN2016101883-appb-100006
    其中,θ1为第一图像采集单元的视角,θ2为第二图像采集单元的视角,d为所述第一图像采集单元和所述第二图像采集单元之间的距离,L为所述第一图像采集单元和所述第二图像采集单元距离聚焦平面之间的距离;其中,d和L均为正整数;θ1和θ2均大于0°小于180°。Where θ 1 is the angle of view of the first image acquisition unit, θ 2 is the angle of view of the second image acquisition unit, d is the distance between the first image acquisition unit and the second image acquisition unit, and L is the The distance between the first image acquisition unit and the second image acquisition unit from the focus plane; wherein d and L are both positive integers; θ 1 and θ 2 are both greater than 0° and less than 180°.
  18. 根据权利要求13所述的方法,其中,所述对所述第一图像和所述第二图像按预设处理方式进行处理生成图像,包括:The method according to claim 13, wherein the processing of the first image and the second image in a predetermined processing manner to generate an image comprises:
    基于所述图像采集参数对所述第一图像和所述第二图像中的所述第二预览子图像进行像素点的叠加并做加权平均处理。And superimposing pixel points on the second preview sub-image in the first image and the second image based on the image acquisition parameter and performing weighted averaging processing.
  19. 根据权利要求11所述的方法,其中,所述控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同,包括:The method according to claim 11, wherein the controlling the first focus parameter of the first image acquisition unit and the second focus parameter of the second image acquisition unit are the same, comprising:
    控制所述第一图像采集单元的第一聚焦参数和所述第二图像采集单元的第二聚焦参数相同;所述第一焦距参数和所述第二焦距参数包括焦距和/或物距。The first focus parameter of the first image acquisition unit is controlled to be the same as the second focus parameter of the second image acquisition unit; the first focus distance parameter and the second focus distance parameter include a focal length and/or an object distance.
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行权利要求11至19任一项所述的信息处理方法。 A computer storage medium having computer executable instructions stored therein, the computer executable instructions being configured to perform the information processing method of any one of claims 11 to 19.
PCT/CN2016/101883 2015-10-30 2016-10-12 Information processing method, mobile terminal and computer storage medium WO2017071468A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510728417.4A CN105338244B (en) 2015-10-30 2015-10-30 A kind of information processing method and mobile terminal
CN201510728417.4 2015-10-30

Publications (1)

Publication Number Publication Date
WO2017071468A1 true WO2017071468A1 (en) 2017-05-04

Family

ID=55288499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101883 WO2017071468A1 (en) 2015-10-30 2016-10-12 Information processing method, mobile terminal and computer storage medium

Country Status (2)

Country Link
CN (1) CN105338244B (en)
WO (1) WO2017071468A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338244B (en) * 2015-10-30 2019-04-16 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN107295256A (en) 2017-06-23 2017-10-24 华为技术有限公司 A kind of image processing method, device and equipment
WO2018233373A1 (en) * 2017-06-23 2018-12-27 华为技术有限公司 Image processing method and apparatus, and device
CN112702517B (en) * 2020-12-24 2023-04-07 维沃移动通信(杭州)有限公司 Display control method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480622A (en) * 2010-11-30 2012-05-30 比亚迪股份有限公司 Three-dimensional image acquisition method and system as well as mobile terminal
EP2871832A1 (en) * 2013-11-06 2015-05-13 LG Electronics, Inc. Mobile terminal and control method thereof
CN204481874U (en) * 2015-02-17 2015-07-15 胡光南 A kind of 3-dimensional image mobile phone
CN104954689A (en) * 2015-06-30 2015-09-30 努比亚技术有限公司 Method and shooting device for acquiring photo through double cameras
CN105338244A (en) * 2015-10-30 2016-02-17 努比亚技术有限公司 Information processing method and mobile terminal
CN105759556A (en) * 2016-04-08 2016-07-13 凯美斯三维立体影像(惠州)有限公司 Mobile phone having three-dimensional image shooting function

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597810B (en) * 2011-05-27 2017-02-15 诺基亚技术有限公司 Image stitching
CN102645836A (en) * 2012-04-20 2012-08-22 中兴通讯股份有限公司 Photograph shooting method and electronic apparatus
US8836998B2 (en) * 2012-10-30 2014-09-16 Eastman Kodak Company Method of printing a panoramic print
CN104349044B (en) * 2013-08-09 2018-08-31 联想(北京)有限公司 The image pickup method and electronic equipment of panoramic picture
CN103501409B (en) * 2013-10-01 2017-01-11 中国人民解放军国防科学技术大学 Ultrahigh resolution panorama speed dome AIO (All-In-One) system
JP2015173428A (en) * 2014-02-19 2015-10-01 株式会社リコー projection system and projection method
CN104023203B (en) * 2014-04-17 2017-10-27 深圳英飞拓科技股份有限公司 A kind of image generating method and device based on video camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480622A (en) * 2010-11-30 2012-05-30 比亚迪股份有限公司 Three-dimensional image acquisition method and system as well as mobile terminal
EP2871832A1 (en) * 2013-11-06 2015-05-13 LG Electronics, Inc. Mobile terminal and control method thereof
CN204481874U (en) * 2015-02-17 2015-07-15 胡光南 A kind of 3-dimensional image mobile phone
CN104954689A (en) * 2015-06-30 2015-09-30 努比亚技术有限公司 Method and shooting device for acquiring photo through double cameras
CN105338244A (en) * 2015-10-30 2016-02-17 努比亚技术有限公司 Information processing method and mobile terminal
CN105759556A (en) * 2016-04-08 2016-07-13 凯美斯三维立体影像(惠州)有限公司 Mobile phone having three-dimensional image shooting function

Also Published As

Publication number Publication date
CN105338244A (en) 2016-02-17
CN105338244B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN106454121B (en) Double-camera shooting method and device
WO2018019124A1 (en) Image processing method and electronic device and storage medium
WO2017050115A1 (en) Image synthesis method
WO2017020836A1 (en) Device and method for processing depth image by blurring
CN106909274B (en) Image display method and device
WO2018076935A1 (en) Image blurring processing method, device, mobile terminal, and computer storage medium
WO2017045650A1 (en) Picture processing method and terminal
CN106713716B (en) Shooting control method and device for double cameras
WO2018019122A1 (en) Focusing method, terminal, and computer storage medium
WO2018019128A1 (en) Method for processing night scene image and mobile terminal
WO2018050014A1 (en) Focusing method, photographing device and storage medium
WO2018076938A1 (en) Method and device for processing image, and computer storage medium
CN107483777B (en) Imaging method and device and mobile terminal
WO2017071532A1 (en) Group selfie photography method and apparatus
WO2017067523A1 (en) Image processing method, device and mobile terminal
CN106657782B (en) Picture processing method and terminal
WO2017071476A1 (en) Image synthesis method and device, and storage medium
WO2017045647A1 (en) Method and mobile terminal for processing image
CN106911881B (en) Dynamic photo shooting device and method based on double cameras and terminal
WO2017071475A1 (en) Image processing method, and terminal and storage medium
WO2017071469A1 (en) Mobile terminal, image capture method and computer storage medium
WO2017071468A1 (en) Information processing method, mobile terminal and computer storage medium
CN106851125B (en) Mobile terminal and multiple exposure shooting method
WO2017041714A1 (en) Method and device for acquiring rgb data
CN105959551A (en) Shooting device, shooting method and mobile terminal

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: 16858904

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: 16858904

Country of ref document: EP

Kind code of ref document: A1