WO2017067481A1 - Method and mobile terminal for processing image - Google Patents

Method and mobile terminal for processing image Download PDF

Info

Publication number
WO2017067481A1
WO2017067481A1 PCT/CN2016/102737 CN2016102737W WO2017067481A1 WO 2017067481 A1 WO2017067481 A1 WO 2017067481A1 CN 2016102737 W CN2016102737 W CN 2016102737W WO 2017067481 A1 WO2017067481 A1 WO 2017067481A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
picture
focus
mobile terminal
unit
Prior art date
Application number
PCT/CN2016/102737
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 WO2017067481A1 publication Critical patent/WO2017067481A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present application relates to, but is not limited to, smart terminal technology, and more particularly to a mobile terminal and a method for processing an image thereof.
  • the methods for achieving soft focus include the following: one is to use a special soft focus lens; the other is to use soft focus or slow shutter to achieve soft focus; the third is to use image processing software (PS, Adobe Photoshop) for shooting Photo or image for post-softening.
  • PS image processing software
  • the use of special soft focus lens is costly, which increases the user's economic burden; the method of using soft focus or slow shutter speed to achieve soft focus has higher requirements on the user's photographic technology; using PS for post processing, the user cannot take photos. WYSIWYG at the time.
  • the method for realizing soft focus in the related art cannot satisfy the needs of photographers, and it is impossible to automatically and quickly synthesize images with sharp focus and edge softening in camera shooting of a mobile terminal, and the user experience is not good.
  • Embodiments of the present invention provide a mobile terminal and a method for processing an image thereof, which can automatically and quickly synthesize images with sharp focus and edge softening, and enhance the user experience.
  • An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a binocular camera, and the mobile terminal further includes: an acquiring unit, a transmitting unit, a synthesizing unit, and a display unit;
  • Obtaining a unit configured to acquire a focus picture captured by the first camera according to a focus instruction of the user; and acquire a defocus picture corresponding to the focus picture captured by the second camera;
  • a transmission unit configured to transmit the obtained focus picture and defocused picture to the synthesizing unit
  • a synthesizing unit configured to combine the obtained focus picture and the defocused picture
  • the display unit is set to display the synthesized screen.
  • the acquiring unit is configured to acquire a focus image captured by the first camera according to a focus instruction of the user by:
  • the acquiring unit is configured to acquire a defocused picture corresponding to the focus picture captured by the second camera by:
  • the display unit is further configured to display a human-machine interaction interface for adjusting a soft focus effect
  • the mobile terminal further includes a first monitoring unit, configured to send a first notification to the acquiring unit when the user selects a selection operation of the human-machine interaction interface;
  • the obtaining unit is configured to receive the first notification, acquire a selection operation of the user on the human-machine interaction interface, and adjust a soft focus effect of the defocused image according to the obtained user selection operation;
  • the soft focus effect comprises: a softening effect and a halo effect.
  • the obtaining unit is configured to:
  • the first monitoring unit monitors the user sliding softening effect button
  • the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button; or,
  • the first monitoring unit monitors the user sliding halo effect button
  • the direction and distance of the user sliding halo effect button are acquired; and the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
  • the mobile terminal further includes a second monitoring unit and a processing unit;
  • the second monitoring unit is configured to monitor a user's operation on the synthesized screen; and when the user's operation on the synthesized screen is monitored, send a second notification to the processing unit;
  • the processing unit is configured to receive the second notification, and perform corresponding processing on the synthesized screen according to the operation of the synthesized screen by the user;
  • the operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  • the mobile terminal further includes a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
  • a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
  • the mobile terminal further includes a pre-prediction unit configured to: monitor whether the user has a specific operation on the touch screen of the mobile terminal;
  • the obtained information of the specific operation When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
  • the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  • the specific operation further includes a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
  • the synthesis unit is set to:
  • a screen composed of each of the third pixels is used as a combined screen.
  • the embodiment of the invention further provides a method for processing an image, which is applied to a mobile terminal with a binocular camera, and includes:
  • the obtained focus picture and defocus picture are synthesized and the combined picture is displayed.
  • the acquiring a focus image captured by the first camera according to the user's focus instruction includes:
  • the acquiring the defocused image corresponding to the focus picture captured by the second camera comprises:
  • the method further includes:
  • the soft focus effect comprises: a softening effect and a halo effect.
  • the adjusting the soft focus effect of the defocusing screen according to the obtained user's selection operation comprises:
  • the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button;
  • the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
  • the method further includes: setting a direction and a distance and a softness of the user sliding the softening effect button The correspondence between the processing; setting the correspondence between the direction and distance of the user sliding halo effect button and the halo processing.
  • the method further includes:
  • the operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  • the synthesizing the acquired focus picture and the defocus picture include:
  • a screen composed of each of the third pixels is used as a combined screen.
  • the method before the acquiring the focus image captured by the first camera according to the user's focus instruction, the method further includes:
  • the obtained information of the specific operation When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
  • the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  • the specific operation further includes a sliding operation; the information of the specific operation further includes a sliding distance, and/or a sliding direction.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the technical solution of the embodiment of the present invention includes: an acquiring unit, a transmitting unit, a synthesizing unit, and a display unit; wherein the acquiring unit is configured to acquire a focus image captured by the first camera according to a focus instruction of the user; and acquire and focus the second camera. a defocusing picture corresponding to the picture; a transmission unit configured to transmit the obtained focus picture and the defocused picture to the synthesizing unit; a synthesizing unit configured to be combined to obtain a focused picture and a defocused picture; and a display unit configured to display the synthesized picture .
  • the technical solution of the embodiment of the invention realizes automatic and fast synthesis of images with clear focus and edge softening, which enhances the user's experience.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present application
  • FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals of the present application
  • FIG. 3 is a structural block diagram of a binocular imaging apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for processing an image according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a holding terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a human-machine interaction interface according to an embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminals described in this application may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), navigation devices, and the like.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • configurations in accordance with embodiments of the present application can be applied to fixed type terminals in addition to elements that are specifically for mobile purposes.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present application.
  • 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 at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast 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
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
  • the location information module 115 is a module 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 GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is 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 it is possible to process such sounds into 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 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • 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 can be used as an allowable The path through which power is supplied from the cradle to the mobile terminal 100 or may be used as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the 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 audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • 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 for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like.
  • the controller 180 may include a multimedia module 181 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.
  • the controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein can be implemented using an application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing A device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • DSPD digital signal processing A device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • processor a controller
  • controller 180 a microcontroller
  • 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.
  • 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 application 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
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • 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 well 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 frequencies Rate allocation, and each frequency allocation has a specific 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.
  • the photographic lens 701 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens, and in the present embodiment, the photographic lens 701 is two.
  • the photographic lens 701 can be moved in the optical axis direction by the lens driving unit 711, and controls the focus position of the taking lens 701 based on the control signal from the lens driving control circuit 712, and also controls the focus distance in the case of the zoom lens.
  • the lens drive control circuit 712 performs drive control of the lens drive unit 711 in accordance with a control command from the microcomputer 707.
  • An imaging element 702 is disposed in the vicinity of a position where the subject image is formed by the photographing lens 701 on the optical axis of the photographing lens 701.
  • the imaging element 702 functions as an imaging unit that images an object and acquires captured image data.
  • Photodiodes constituting each pixel are two-dimensionally arranged in a matrix on the imaging element 702. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, which is subjected to charge accumulation by a capacitor connected to each photodiode.
  • the front surface of each pixel is provided with a Bayer array of RGB color filters.
  • the imaging element 702 is connected to an imaging circuit 703 that performs charge accumulation control and image signal readout control in the imaging element 702, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level.
  • the imaging circuit 703 is connected to an analog-to-digital conversion (A/D) conversion unit 704 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 199.
  • A/D analog-to-digital conversion
  • the bus 199 is a transmission path for transmitting various data read or generated inside the camera.
  • the A/D conversion unit 704 is connected to the bus 199, and an image processor 705, a JPEG processor 706, a microcomputer 707, a dynamic random access memory (SDRAM) 708, and a memory interface are connected (hereinafter referred to as A memory I/F) 709, a liquid crystal display (LCD) driver 710.
  • a memory I/F liquid crystal display
  • the image processor 705 performs various types of images such as OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 702. deal with.
  • the JPEG processor 706 compresses the image data read out from the SDRAM 708 in accordance with the JPEG compression method when the image data is recorded on the recording medium 715. Further, the JPEG processor 706 performs decompression of JPEG image data for image reproduction display.
  • the file recorded in the recording medium 715 is read, and after the compression processing is performed in the JPEG processor 706, the decompressed image data is temporarily stored in the SDRAM 708 and displayed on the LCD 716.
  • the JPEG method is employed as the image compression/decompression method.
  • the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be employed.
  • the microcomputer 707 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera.
  • the microcomputer 707 is connected to the operation unit 713 and the flash memory 714.
  • the operation unit 713 includes but is not limited to a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, and an enlarge button.
  • the operation members such as various input buttons and various input keys are detected, and the operation states of these operation members are detected.
  • the detection result is output to the microcomputer 707. Further, a touch panel is provided on the front surface of the LCD 716 as a display portion, and the touch position of the user is detected, and the touch position is output to the microcomputer 707.
  • the microcomputer 707 executes various processing sequences corresponding to the user's operation based on the detection result of the operation member from the operation unit 713. Also, here, the microcomputer 707 may perform various processing sequences corresponding to the user's operation based on the detection result of the touch panel in front of the LCD 716.
  • the flash memory 714 stores programs for executing various processing sequences of the microcomputer 707.
  • the microcomputer 707 performs overall control of the camera in accordance with the program. Further, the flash memory 714 stores various adjustment values of the camera, and the microcomputer 707 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
  • the SDRAM 708 is an electrically rewritable volatile memory for temporarily storing image data or the like.
  • the SDRAM 708 temporarily stores the image data output from the A/D conversion unit 704 and the image data processed in the image processor 705, the JPEG processor 706, and the like.
  • the memory interface 709 is connected to the recording medium 715, and performs control for writing image data and a file header attached to the image data to the recording medium 715 and reading out from the recording medium 715.
  • the recording medium 715 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body.
  • the recording medium 715 is not limited thereto, and may be a hard disk or the like built in the camera body.
  • the LCD driver 710 is connected to the LCD 716, and stores image data processed by the image processor 705 in the SDRAM.
  • the image data stored in the SDRAM is read and displayed on the LCD 716, or the image data stored in the JPEG processor 706 is compressed.
  • the JPEG processor 706 reads the compressed image data of the SDRAM, decompresses it, and displays the decompressed image data through the LCD 716.
  • the LCD 716 is disposed on the back of the camera body or the like to perform image display.
  • the LCD 716 is provided with a touch panel that detects a user's touch operation.
  • the liquid crystal display panel (LCD 716) is disposed in the present embodiment.
  • the present invention is not limited thereto, and various display panels such as an organic EL may be employed.
  • the binocular camera is a common component structure.
  • the binocular camera is fixedly placed on the back of the mobile terminal. Its advantage is that the imaging speed is fast, the picture is clear, and the depth of field effect can be simulated.
  • the binocular camera imaging system can obtain the left eye image and the right eye image at the same time, and the left eye image and the right eye image are processed by the imaging processing software to form an original image requiring preview framing.
  • the inventors have found that the function of the binocular camera described above can be used to achieve softening of the framing photo.
  • the mobile terminal includes a binocular camera. As shown in FIG. 4, the mobile terminal includes an acquiring unit 40, a transmitting unit 41, a synthesizing unit 42, and a display unit 43. among them,
  • the obtaining unit 40 is configured to acquire a focus picture captured by the first camera according to the focus instruction of the user, and acquire a defocus picture corresponding to the focus picture captured by the second camera.
  • the acquiring unit 40 is configured to acquire the focus image captured by the first camera according to the user's focus instruction by:
  • the obtaining unit 40 is configured to acquire a defocused screen corresponding to the focus picture captured by the second camera by:
  • the picture captured by the second camera in the binocular camera at the adjusted defocus position is obtained as a defocused picture of the edge softening.
  • the obtaining unit 40 is configured to receive the first notification, obtain a selection operation of the user in the human-machine interaction interface, and adjust a soft focus effect of the defocused image according to the obtained user selection operation;
  • the soft focus effect includes: a softening effect and a halo effect.
  • the transmission unit 41 is arranged to transmit the obtained focus picture and defocus picture to the synthesizing unit 42.
  • the synthesizing unit 42 is configured to synthesize the obtained focus picture and defocus picture.
  • the synthesizing unit 42 may synthesize the obtained focus picture and defocus picture by the following method:
  • a screen composed of each of the third pixels is used as a combined screen.
  • the display unit 43 is arranged to display the synthesized screen.
  • the display unit 43 is further configured to display a human-computer interaction interface for adjusting the soft focus effect.
  • the human-computer interaction interface for adjusting the soft focus effect is as shown in FIG. 7.
  • the direction and distance of the user sliding softening effect button are obtained through the pressure sensor; according to the obtained user sliding softening effect button
  • the direction and distance of the real-time display is the softened screen corresponding to the direction and distance of the user's sliding softening effect button; or, when the user slides the halo effect button, the direction of the user sliding halo effect button is obtained by the pressure sensor And the distance; according to the direction and distance of the obtained user sliding halo effect button, the real-time display shows the halo-processed screen corresponding to the direction and distance of the user's sliding halo effect button.
  • the mobile terminal further includes a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
  • a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
  • the mobile terminal further includes a first monitoring unit 44 configured to monitor a user's selection operation on the human-machine interaction interface; and when the user selects a selection operation of the human-computer interaction interface, send the first notification to the obtaining unit 40. .
  • a first monitoring unit 44 configured to monitor a user's selection operation on the human-machine interaction interface; and when the user selects a selection operation of the human-computer interaction interface, send the first notification to the obtaining unit 40.
  • the mobile terminal further includes a second monitoring unit 45 and a processing unit 46;
  • the second monitoring unit 45 is configured to monitor the user's operation on the synthesized screen; when the user's operation on the synthesized screen is monitored, the second notification is sent to the processing unit 46;
  • the processing unit 46 is configured to receive the second notification, and perform corresponding processing on the synthesized screen according to the operation of the synthesized screen by the user;
  • the operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  • the mobile terminal further includes a pre-prediction unit configured to: monitor whether the user has a specific operation on the touch screen of the mobile terminal;
  • the obtained information of the specific operation When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
  • the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  • the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
  • the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
  • the pre-prediction unit is configured to judge whether the obtained information of the specific operation satisfies the preset condition by:
  • the specific operation may further include a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
  • the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
  • the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
  • the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
  • first monitoring unit 40 and the second monitoring unit 45 in the mobile terminal may be disposed in the sensing unit 140 in FIG. 1, and the obtaining module 40 and the transmitting module 41 may be disposed in the figure.
  • the display unit 43 may be disposed in the display unit 151 in FIG. 1
  • the synthesizing unit 42 and the processing unit 46 may be disposed in the controller 180 in FIG.
  • this application is not limited thereto.
  • FIG. 5 is a flowchart of a method for processing an image according to an embodiment of the present invention, which is applied to a mobile terminal with a binocular camera, as shown in FIG. 5, and includes:
  • Step 501 Acquire a focus picture captured by the first camera according to a focus instruction of the user.
  • the binocular camera comprises a first camera and a second camera.
  • This step can include:
  • the method further includes: monitoring whether the user has a specific operation on the touch screen of the mobile terminal;
  • the obtained information of the specific operation When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
  • the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  • the information of the specific operation includes the location and the duration, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
  • determining whether the obtained information of the specific operation meets the preset condition comprises: determining whether the obtained force is greater than or equal to the pressure threshold;
  • the information of the specific operation includes the position and the force size and the duration, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
  • the specific operation may further include a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
  • the information of the specific operation includes the sliding direction
  • the information of the specific operation includes the sliding distance
  • the information of the specific operation obtained is judged Whether the preset conditions are met, including:
  • the information of the specific operation includes the sliding direction and the sliding distance, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
  • determining whether the obtained specific operation information satisfies the preset condition is to avoid the influence of the user's misoperation on the subsequent process of the embodiment of the present invention.
  • the method further includes: ending the process when it is determined that the obtained information of the specific operation does not satisfy the preset condition.
  • the pressure sensor may be located in the display area of the mobile terminal, or may be located in the interactive area of the display of the mobile terminal and the side of the mobile terminal.
  • FIG. 6 is an example in which the mobile terminal is held by the right hand, and an example of holding the mobile terminal with the left hand is not described again.
  • Step 502 Acquire a defocus picture corresponding to the focus picture captured by the second camera.
  • This step can include:
  • the picture captured by the second camera in the binocular camera at the adjusted defocus position is obtained as a defocused picture of the edge softening.
  • the method further includes:
  • the soft focus effect includes: a softening effect and a halo effect.
  • the human-computer interaction interface for adjusting the soft focus effect is as shown in FIG. 7.
  • the direction and distance of the user sliding softening effect button are obtained through the pressure sensor; according to the obtained user sliding softening effect button
  • the direction and distance of the real-time display is the softened screen corresponding to the direction and distance of the user's sliding softening effect button; or, when the user slides the halo effect button, the direction of the user sliding halo effect button is obtained by the pressure sensor And the distance; according to the direction and distance of the obtained user sliding halo effect button, the real-time display shows the halo-processed screen corresponding to the direction and distance of the user's sliding halo effect button.
  • the method further includes: setting a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a correspondence between a direction and a distance of the user sliding the light effect button and the halo processing .
  • Step 503 synthesize the obtained focus picture and defocus picture and display the synthesized picture.
  • a screen composed of each of the third pixels is used as a combined screen.
  • the method further includes:
  • the operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  • WYSIWYG is realized, thereby realizing automatic and fast synthesis of the image with clear focus and edge softening. , enhance the user's experience.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present application.
  • the embodiment of the present application provides a mobile terminal and a method for processing an image thereof, which realizes an automatic and fast synthesis of an image with clear focus and edge softening, which enhances the user experience.

Abstract

A mobile terminal comprises: an acquisition unit, a transmission unit, a synthesis unit and a display unit. The acquisition unit is configured to acquire a focus picture captured by a first camera according to a focus command of a user, and to acquire a defocus picture corresponding to the focus picture captured by a second camera. The transmission unit is configured to transmit the acquired focus picture and defocus picture to the synthesis unit. The synthesis unit is configured to synthesize the acquired focus picture and defocus picture. The display unit is configured to display the synthesized picture. The technical solution realizes automatic and fast synthesis of an image which is in focus and edges thereof are softened, and improves the user experience.

Description

一种移动终端及其处理图像的方法Mobile terminal and method for processing image thereof 技术领域Technical field
本申请涉及但不限于智能终端技术,尤指一种移动终端及其处理图像的方法。The present application relates to, but is not limited to, smart terminal technology, and more particularly to a mobile terminal and a method for processing an image thereof.
背景技术Background technique
目前,实现柔焦的方法包括以下几种:一是需要使用专门的柔焦镜头;二是利用散焦或慢速快门实现柔焦;三是利用图像处理软件(PS,Adobe Photoshop)对拍摄的照片或图片进行后期柔化处理。其中,使用专门的柔焦镜头成本高,增加了用户的经济负担;利用散焦或慢速快门实现柔焦的方法对用户的摄影技术要求较高;利用PS进行后期处理,无法实现用户拍摄照片时的所见即所得。At present, the methods for achieving soft focus include the following: one is to use a special soft focus lens; the other is to use soft focus or slow shutter to achieve soft focus; the third is to use image processing software (PS, Adobe Photoshop) for shooting Photo or image for post-softening. Among them, the use of special soft focus lens is costly, which increases the user's economic burden; the method of using soft focus or slow shutter speed to achieve soft focus has higher requirements on the user's photographic technology; using PS for post processing, the user cannot take photos. WYSIWYG at the time.
也就是说,相关技术中的实现柔焦的方法无法满足摄影爱好者的需求,无法在移动终端的相机拍摄中自动、快速地合成对焦清晰且边沿柔化的图像,用户体验不好。That is to say, the method for realizing soft focus in the related art cannot satisfy the needs of photographers, and it is impossible to automatically and quickly synthesize images with sharp focus and edge softening in camera shooting of a mobile terminal, and the user experience is not good.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种移动终端及其处理图像的方法,能够自动、快速地合成对焦清晰且边沿柔化的图像,增强用户的体验感。Embodiments of the present invention provide a mobile terminal and a method for processing an image thereof, which can automatically and quickly synthesize images with sharp focus and edge softening, and enhance the user experience.
本发明实施例提供了一种移动终端,该移动终端包括双目摄像头,该移动终端还包括:获取单元、传输单元、合成单元和显示单元;其中,An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a binocular camera, and the mobile terminal further includes: an acquiring unit, a transmitting unit, a synthesizing unit, and a display unit;
获取单元,设置为根据用户的对焦指令获取第一摄像头捕获的对焦画面;获取第二摄像头捕获的与对焦画面对应的散焦画面;Obtaining a unit, configured to acquire a focus picture captured by the first camera according to a focus instruction of the user; and acquire a defocus picture corresponding to the focus picture captured by the second camera;
传输单元,设置为将获得的对焦画面和散焦画面传输至合成单元;a transmission unit configured to transmit the obtained focus picture and defocused picture to the synthesizing unit;
合成单元,设置为合成获得的对焦画面和散焦画面; a synthesizing unit configured to combine the obtained focus picture and the defocused picture;
显示单元,设置为显示合成后的画面。The display unit is set to display the synthesized screen.
可选地,所述获取单元设置为通过以下方式根据用户的对焦指令获取第一摄像头捕获的对焦画面:Optionally, the acquiring unit is configured to acquire a focus image captured by the first camera according to a focus instruction of the user by:
按照预先设置的对焦算法调整并记录所述双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
获取所述双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtaining a picture captured by the first camera of the binocular camera at the adjusted focus position as a focused image with a clear focus.
可选地,所述获取单元设置为通过以下方式获取第二摄像头捕获的与对焦画面对应的散焦画面:Optionally, the acquiring unit is configured to acquire a defocused picture corresponding to the focus picture captured by the second camera by:
根据记录的所述对焦位置调整所述双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
获取所述双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。Obtaining a picture captured by the second camera in the binocular camera at the adjusted defocus position as a defocused picture of edge softening.
可选地,所述显示单元,还设置为显示一调整柔焦效果的人机交互界面;Optionally, the display unit is further configured to display a human-machine interaction interface for adjusting a soft focus effect;
该移动终端还包括第一监测单元,设置为当监测到用户在人机交互界面的选择操作时,向所述获取单元发送第一通知;The mobile terminal further includes a first monitoring unit, configured to send a first notification to the acquiring unit when the user selects a selection operation of the human-machine interaction interface;
所述获取单元,设置为接收到第一通知,获取用户在人机交互界面的选择操作;根据获得的用户的选择操作调整所述散焦画面的柔焦效果;The obtaining unit is configured to receive the first notification, acquire a selection operation of the user on the human-machine interaction interface, and adjust a soft focus effect of the defocused image according to the obtained user selection operation;
其中,所述柔焦效果包括:柔化效果和光晕效果。Wherein, the soft focus effect comprises: a softening effect and a halo effect.
可选地,所述获取单元,设置为:Optionally, the obtaining unit is configured to:
当所述第一监测单元监测到用户滑动柔化效果按钮时,获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时调整柔化处理的画面;或者,When the first monitoring unit monitors the user sliding softening effect button, the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button; or,
当所述第一监测单元监测到用户滑动光晕效果按钮时,获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时调整光晕处理的画面。When the first monitoring unit monitors the user sliding halo effect button, the direction and distance of the user sliding halo effect button are acquired; and the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
可选地,该移动终端还包括第二监测单元和处理单元;其中, Optionally, the mobile terminal further includes a second monitoring unit and a processing unit;
所述第二监测单元,设置为监测用户对合成后的画面的操作;当监测到用户对合成后的画面的操作时,向处理单元发送第二通知;The second monitoring unit is configured to monitor a user's operation on the synthesized screen; and when the user's operation on the synthesized screen is monitored, send a second notification to the processing unit;
所述处理单元,设置为接收到第二通知,根据用户对合成后的画面的操作对合成后的画面进行相应的处理;The processing unit is configured to receive the second notification, and perform corresponding processing on the synthesized screen according to the operation of the synthesized screen by the user;
其中,所述用户对合成后的画面的操作包括存储操作或不存储操作。The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
可选地,该移动终端还包括设置单元,配置为设置用户滑动柔化效果按钮的方向和距离与柔化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。Optionally, the mobile terminal further includes a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
可选地,该移动终端还包括前期预判单元,设置为:监测用户是否对移动终端的触摸屏幕有特定操作;Optionally, the mobile terminal further includes a pre-prediction unit configured to: monitor whether the user has a specific operation on the touch screen of the mobile terminal;
当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
可选地,所述特定操作还包括滑动操作;特定操作的信息还可以包括滑动距离,和/或滑动方向。Optionally, the specific operation further includes a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
可选地,合成单元设置为:Optionally, the synthesis unit is set to:
获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
本发明实施例还提供了一种处理图像的方法,应用于内置有双目摄像头的移动终端中,包括:The embodiment of the invention further provides a method for processing an image, which is applied to a mobile terminal with a binocular camera, and includes:
根据用户的对焦指令获取第一摄像头捕获的对焦画面; Obtaining a focus image captured by the first camera according to a user's focus instruction;
获取第二摄像头捕获的与对焦画面对应的散焦画面;Obtaining a defocus picture corresponding to the focus picture captured by the second camera;
合成获得的对焦画面和散焦画面并显示合成后的画面。The obtained focus picture and defocus picture are synthesized and the combined picture is displayed.
可选地,所述根据用户的对焦指令获取第一摄像头捕获的对焦画面,包括:Optionally, the acquiring a focus image captured by the first camera according to the user's focus instruction includes:
按照预先设置的对焦算法调整并记录所述双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
获取所述双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtaining a picture captured by the first camera of the binocular camera at the adjusted focus position as a focused image with a clear focus.
可选地,所述获取第二摄像头捕获的与对焦画面对应的散焦画面,包括:Optionally, the acquiring the defocused image corresponding to the focus picture captured by the second camera comprises:
根据记录的所述对焦位置调整所述双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
获取所述双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。Obtaining a picture captured by the second camera in the binocular camera at the adjusted defocus position as a defocused picture of edge softening.
可选地,该方法还包括:Optionally, the method further includes:
显示一调整柔焦效果的人机交互界面;Displaying a human-computer interaction interface for adjusting the soft focus effect;
监测并获取用户在人机交互界面的选择操作;Monitoring and obtaining the user's selection operation on the human-computer interaction interface;
根据获得的用户的选择操作调整所述散焦画面的柔焦效果;Adjusting a soft focus effect of the defocused screen according to the obtained user's selection operation;
其中,所述柔焦效果包括:柔化效果和光晕效果。Wherein, the soft focus effect comprises: a softening effect and a halo effect.
可选地,所述根据获得的用户的选择操作调整所述散焦画面的柔焦效果,包括:Optionally, the adjusting the soft focus effect of the defocusing screen according to the obtained user's selection operation comprises:
当监测到用户滑动柔化效果按钮时,获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时调整柔化处理的画面;或者,When the user sliding softening effect button is detected, the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button; or
当监测到用户滑动光晕效果按钮时,获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时调整光晕处理的画面。When the user sliding halo effect button is detected, the direction and distance of the user sliding halo effect button are acquired; the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
可选地,该方法还包括:设置用户滑动柔化效果按钮的方向和距离与柔 化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。Optionally, the method further includes: setting a direction and a distance and a softness of the user sliding the softening effect button The correspondence between the processing; setting the correspondence between the direction and distance of the user sliding halo effect button and the halo processing.
可选地,所述合成获得的对焦画面和散焦画面并显示合成后的画面之后,该方法还包括:Optionally, after the combining the obtained focus picture and the defocused picture and displaying the synthesized picture, the method further includes:
监测用户对合成后的画面的操作;Monitoring the user's operation on the synthesized picture;
根据监测到的用户对合成后的画面的操作对合成后的画面进行相应的处理;Performing corresponding processing on the synthesized screen according to the monitored user's operation on the synthesized screen;
其中,用户对合成后的画面的操作包括存储操作或不存储操作。The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
可选地,所述合成获取的对焦画面和散焦画面,包括:Optionally, the synthesizing the acquired focus picture and the defocus picture include:
获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
可选地,所述根据用户的对焦指令获取第一摄像头捕获的对焦画面之前,该方法还包括:Optionally, before the acquiring the focus image captured by the first camera according to the user's focus instruction, the method further includes:
监测用户是否对移动终端的触摸屏幕有特定操作;Monitoring whether the user has a specific operation on the touch screen of the mobile terminal;
当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
可选地,所述特定操作还包括滑动操作;特定操作的信息还包括滑动距离,和/或滑动方向。Optionally, the specific operation further includes a sliding operation; the information of the specific operation further includes a sliding distance, and/or a sliding direction.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述处理图像的方法。 The embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
本发明实施例的技术方案包括:获取单元、传输单元、合成单元和显示单元;其中,获取单元,设置为根据用户的对焦指令获取第一摄像头捕获的对焦画面;获取第二摄像头捕获的与对焦画面对应的散焦画面;传输单元,设置为将获得对焦画面和散焦画面传输至合成单元;合成单元,设置为合成获得的对焦画面和散焦画面;显示单元,设置为显示合成后的画面。本发明实施例的技术方案实现了自动、快速地合成对焦清晰且边沿柔化的图像,增强了用户的体验感。The technical solution of the embodiment of the present invention includes: an acquiring unit, a transmitting unit, a synthesizing unit, and a display unit; wherein the acquiring unit is configured to acquire a focus image captured by the first camera according to a focus instruction of the user; and acquire and focus the second camera. a defocusing picture corresponding to the picture; a transmission unit configured to transmit the obtained focus picture and the defocused picture to the synthesizing unit; a synthesizing unit configured to be combined to obtain a focused picture and a defocused picture; and a display unit configured to display the synthesized picture . The technical solution of the embodiment of the invention realizes automatic and fast synthesis of images with clear focus and edge softening, which enhances the user's experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为实现本申请各个实施例的移动终端的硬件结构示意;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present application;
图2为支持本申请的移动终端之间进行通信的通信系统的示意图;2 is a schematic diagram of a communication system supporting communication between mobile terminals of the present application;
图3为本发明实施例的双目摄像装置的结构框图;3 is a structural block diagram of a binocular imaging apparatus according to an embodiment of the present invention;
图4为本发明实施例的移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图5为本发明实施例的处理图像的方法的流程图;FIG. 5 is a flowchart of a method for processing an image according to an embodiment of the present invention; FIG.
图6为本发明实施例的握持终端的示意图。FIG. 6 is a schematic diagram of a holding terminal according to an embodiment of the present invention.
图7为本发明实施例的人机交互界面的示意图。FIG. 7 is a schematic diagram of a human-machine interaction interface according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图及实施例对本申请的技术方案进行更详细的说明。The technical solutions of the present application will be described in more detail below with reference to the accompanying drawings and embodiments.
现在将参考附图描述实现本申请各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。 A mobile terminal implementing various embodiments of the present application 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 application, 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 terminals described in this application may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), navigation devices, and the like. 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 application can be applied to fixed type terminals in addition to elements that are specifically for mobile purposes.
图1为实现本申请各个实施例的移动终端的硬件结构示意图。FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present application.
移动终端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 at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播系统接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播 系统、地面数字广播综合服务(ISDB-T)等等的数字广播系统接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播系统以及上述数字广播系统。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel can include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like. . The broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast 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 Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位系统)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module 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 GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude. Currently, the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据), 并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is 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 it is possible to process such sounds into audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode. The microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器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 an external base, the interface unit 170 can be used as an allowable The path through which power is supplied from the cradle to the mobile terminal 100 or may be used as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the 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 audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. The audio output module 152 can include a speaker, a buzzer, and the like.
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型 的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。The alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical Events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 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. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理 装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementations, the embodiments described herein can be implemented using an application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing A device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein One implementation, in some cases, such an implementation may be implemented in controller 180. 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 application 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 the mobile terminal according to the present application can operate 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 a CDMA communication system, 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 well 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 frequencies Rate allocation, and each frequency allocation has a specific 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.
图3为本发明实施例的相机的主要电气结构的框图。摄影镜头701由用于形成被摄体像的多个光学镜头构成,是单焦点镜头或变焦镜头,其中在本实施例中,摄影镜头701为两个。摄影镜头701能够通过镜头驱动部711在光轴方向上移动,根据来自镜头驱动控制电路712的控制信号,控制摄影镜头701的焦点位置,在变焦镜头的情况下,也控制焦点距离。镜头驱动控制电路712按照来自微型计算机707的控制命令进行镜头驱动部711的驱动控制。 3 is a block diagram of a main electrical structure of a camera according to an embodiment of the present invention. The photographic lens 701 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens, and in the present embodiment, the photographic lens 701 is two. The photographic lens 701 can be moved in the optical axis direction by the lens driving unit 711, and controls the focus position of the taking lens 701 based on the control signal from the lens driving control circuit 712, and also controls the focus distance in the case of the zoom lens. The lens drive control circuit 712 performs drive control of the lens drive unit 711 in accordance with a control command from the microcomputer 707.
在摄影镜头701的光轴上、由摄影镜头701形成被摄体像的位置附近配置有摄像元件702。摄像元件702发挥作为对被摄体摄像并取得摄像图像数据的摄像部的功能。在摄像元件702上二维地呈矩阵状配置有构成每个像素的光电二极管。每个光电二极管产生与受光量对应的光电转换电流,该光电转换电流由与每个光电二极管连接的电容器进行电荷蓄积。每个像素的前表面配置有拜耳排列的RGB滤色器。An imaging element 702 is disposed in the vicinity of a position where the subject image is formed by the photographing lens 701 on the optical axis of the photographing lens 701. The imaging element 702 functions as an imaging unit that images an object and acquires captured image data. Photodiodes constituting each pixel are two-dimensionally arranged in a matrix on the imaging element 702. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, which is subjected to charge accumulation by a capacitor connected to each photodiode. The front surface of each pixel is provided with a Bayer array of RGB color filters.
摄像元件702与摄像电路703连接,该摄像电路703在摄像元件702中进行电荷蓄积控制和图像信号读出控制,对该读出的图像信号(模拟图像信号)降低重置噪声后进行波形整形,进而进行增益提高等以成为适当的信号电平。摄像电路703与模拟数字转换(A/D)转换部704连接,该A/D转换部704对模拟图像信号进行模数转换,向总线199输出数字图像信号(以下称之为图像数据)。The imaging element 702 is connected to an imaging circuit 703 that performs charge accumulation control and image signal readout control in the imaging element 702, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level. The imaging circuit 703 is connected to an analog-to-digital conversion (A/D) conversion unit 704 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 199.
总线199是用于传送在相机的内部读出或生成的各种数据的传送路径。在总线199连接着上述A/D转换部704,此外还连接着图像处理器705、JPEG处理器706、微型计算机707、动态随机访问存储器(SDRAM,Synchronous DRAM)708、存储器接口(以下称之为存储器I/F)709、液晶显示器(LCD,Liquid Crystal Display)驱动器710。The bus 199 is a transmission path for transmitting various data read or generated inside the camera. The A/D conversion unit 704 is connected to the bus 199, and an image processor 705, a JPEG processor 706, a microcomputer 707, a dynamic random access memory (SDRAM) 708, and a memory interface are connected (hereinafter referred to as A memory I/F) 709, a liquid crystal display (LCD) driver 710.
图像处理器705对基于摄像元件702的输出的图像数据进行OB相减处理、白平衡调整、颜色矩阵运算、伽马转换、色差信号处理、噪声去除处理、同时化处理、边缘处理等各种图像处理。JPEG处理器706在将图像数据记录于记录介质715时,按照JPEG压缩方式压缩从SDRAM 708读出的图像数据。此外,JPEG处理器706为了进行图像再现显示而进行JPEG图像数据的解压缩。进行解压缩时,读出记录在记录介质715中的文件,在JPEG处理器706中实施了解压缩处理后,将解压缩的图像数据暂时存储于SDRAM708中并在LCD716上进行显示。另外,在本实施例中,作为图像压缩解压缩方式采用的是JPEG方式,然而压缩解压缩方式不限于此,当然可以采用MPEG、TIFF、H.264等其他的压缩解压缩方式。The image processor 705 performs various types of images such as OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 702. deal with. The JPEG processor 706 compresses the image data read out from the SDRAM 708 in accordance with the JPEG compression method when the image data is recorded on the recording medium 715. Further, the JPEG processor 706 performs decompression of JPEG image data for image reproduction display. At the time of decompression, the file recorded in the recording medium 715 is read, and after the compression processing is performed in the JPEG processor 706, the decompressed image data is temporarily stored in the SDRAM 708 and displayed on the LCD 716. Further, in the present embodiment, the JPEG method is employed as the image compression/decompression method. However, the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be employed.
微型计算机707发挥作为该相机整体的控制部的功能,统一控制相机的各种处理序列。微型计算机707连接着操作部713和闪存714。 The microcomputer 707 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera. The microcomputer 707 is connected to the operation unit 713 and the flash memory 714.
操作部713包括但不限于实体按键或者虚拟按键,该实体或虚拟按键可以为电源按钮、拍照键、编辑按键、动态图像按钮、再现按钮、菜单按钮、十字键、OK按钮、删除按钮、放大按钮等各种输入按钮和各种输入键等操作部材,检测这些操作部材的操作状态。The operation unit 713 includes but is not limited to a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, and an enlarge button. The operation members such as various input buttons and various input keys are detected, and the operation states of these operation members are detected.
将检测结果向微型计算机707输出。此外,在作为显示部的LCD716的前表面设有触摸面板,检测用户的触摸位置,将该触摸位置向微型计算机707输出。微型计算机707根据来自操作部713的操作部材的检测结果,执行与用户的操作对应的各种处理序列。同样,此处可以是微型计算机707根据LCD716前面的触摸面板的检测结果,执行与用户的操作对应的各种处理序列。The detection result is output to the microcomputer 707. Further, a touch panel is provided on the front surface of the LCD 716 as a display portion, and the touch position of the user is detected, and the touch position is output to the microcomputer 707. The microcomputer 707 executes various processing sequences corresponding to the user's operation based on the detection result of the operation member from the operation unit 713. Also, here, the microcomputer 707 may perform various processing sequences corresponding to the user's operation based on the detection result of the touch panel in front of the LCD 716.
闪存714存储用于执行微型计算机707的各种处理序列的程序。微型计算机707根据该程序进行相机整体的控制。此外,闪存714存储相机的各种调整值,微型计算机707读出调整值,按照该调整值进行相机的控制。The flash memory 714 stores programs for executing various processing sequences of the microcomputer 707. The microcomputer 707 performs overall control of the camera in accordance with the program. Further, the flash memory 714 stores various adjustment values of the camera, and the microcomputer 707 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
SDRAM 708是用于对图像数据等进行暂时存储的可电改写的易失性存储器。该SDRAM708暂时存储从A/D转换部704输出的图像数据和在图像处理器705、JPEG处理器706等中进行了处理后的图像数据。The SDRAM 708 is an electrically rewritable volatile memory for temporarily storing image data or the like. The SDRAM 708 temporarily stores the image data output from the A/D conversion unit 704 and the image data processed in the image processor 705, the JPEG processor 706, and the like.
存储器接口709与记录介质715连接,进行将图像数据和附加在图像数据中的文件头等数据写入记录介质715和从记录介质715中读出的控制。记录介质715例如为能够在相机主体上自由拆装的存储器卡等记录介质,然而不限于此,也可以是内置在相机主体中的硬盘等。The memory interface 709 is connected to the recording medium 715, and performs control for writing image data and a file header attached to the image data to the recording medium 715 and reading out from the recording medium 715. The recording medium 715 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body. However, the recording medium 715 is not limited thereto, and may be a hard disk or the like built in the camera body.
LCD驱动器710与LCD716连接,将由图像处理器705处理后的图像数据存储于SDRAM,需要显示时,读取SDRAM存储的图像数据并在LCD716上显示,或者,JPEG处理器706压缩过的图像数据存储于SDRAM,在需要显示时,JPEG处理器706读取SDRAM的压缩过的图像数据,再进行解压缩,将解压缩后的图像数据通过LCD716进行显示。The LCD driver 710 is connected to the LCD 716, and stores image data processed by the image processor 705 in the SDRAM. When display is required, the image data stored in the SDRAM is read and displayed on the LCD 716, or the image data stored in the JPEG processor 706 is compressed. In the SDRAM, when display is required, the JPEG processor 706 reads the compressed image data of the SDRAM, decompresses it, and displays the decompressed image data through the LCD 716.
LCD716配置在相机主体的背面等上,进行图像显示。该LCD716设有检测用户的触摸操作的触摸面板。另外,作为显示部,在本实施例中配置的是液晶表示面板(LCD716),然而不限于此,也可以采用有机EL等各种显示面板。 The LCD 716 is disposed on the back of the camera body or the like to perform image display. The LCD 716 is provided with a touch panel that detects a user's touch operation. Further, as the display portion, the liquid crystal display panel (LCD 716) is disposed in the present embodiment. However, the present invention is not limited thereto, and various display panels such as an organic EL may be employed.
基于上述移动终端硬件结构以及通信系统,提出本发明实施例的方案。Based on the hardware structure of the mobile terminal and the communication system, the solution of the embodiment of the present invention is proposed.
双目摄像头是一种常见的组成结构,双目摄像头固定安放在移动终端背面,其优势是成像速度快,画面清晰,可以模拟实现景深效果。双目摄像头成像系统可以在同一时刻得到左目图像和右目图像,并将左目图像和右目图像交由成像处理软件处理,以形成需要预览取景的原始图像。发明人发现可以采用上述双目摄像头的功能来实现对取景照片的柔化处理。The binocular camera is a common component structure. The binocular camera is fixedly placed on the back of the mobile terminal. Its advantage is that the imaging speed is fast, the picture is clear, and the depth of field effect can be simulated. The binocular camera imaging system can obtain the left eye image and the right eye image at the same time, and the left eye image and the right eye image are processed by the imaging processing software to form an original image requiring preview framing. The inventors have found that the function of the binocular camera described above can be used to achieve softening of the framing photo.
图4为本发明实施例的移动终端的结构示意图,该移动终端包括双目摄像头,如图4所示,包括:获取单元40、传输单元41、合成单元42和显示单元43。其中,4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal includes a binocular camera. As shown in FIG. 4, the mobile terminal includes an acquiring unit 40, a transmitting unit 41, a synthesizing unit 42, and a display unit 43. among them,
获取单元40,设置为根据用户的对焦指令获取第一摄像头捕获的对焦画面;获取第二摄像头捕获的与对焦画面对应的散焦画面。The obtaining unit 40 is configured to acquire a focus picture captured by the first camera according to the focus instruction of the user, and acquire a defocus picture corresponding to the focus picture captured by the second camera.
其中,获取单元40设置为通过以下方式根据用户的对焦指令获取第一摄像头捕获的对焦画面:The acquiring unit 40 is configured to acquire the focus image captured by the first camera according to the user's focus instruction by:
按照预先设置的对焦算法调整并记录双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
获取双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtain the image captured by the first camera in the binocular camera at the adjusted focus position as a focused focus image.
其中,获取单元40设置为通过以下方式获取第二摄像头捕获的与对焦画面对应的散焦画面:The obtaining unit 40 is configured to acquire a defocused screen corresponding to the focus picture captured by the second camera by:
根据记录的对焦位置调整双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
获取双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。The picture captured by the second camera in the binocular camera at the adjusted defocus position is obtained as a defocused picture of the edge softening.
可选地,获取单元40,设置为接收到第一通知,获取用户在人机交互界面的选择操作;根据获得的用户的选择操作调整散焦画面的柔焦效果;Optionally, the obtaining unit 40 is configured to receive the first notification, obtain a selection operation of the user in the human-machine interaction interface, and adjust a soft focus effect of the defocused image according to the obtained user selection operation;
其中,柔焦效果包括:柔化效果和光晕效果。Among them, the soft focus effect includes: a softening effect and a halo effect.
传输单元41,设置为将获得的对焦画面和散焦画面传输至合成单元42。The transmission unit 41 is arranged to transmit the obtained focus picture and defocus picture to the synthesizing unit 42.
合成单元42,设置为合成获得的对焦画面和散焦画面。 The synthesizing unit 42 is configured to synthesize the obtained focus picture and defocus picture.
需要说明的是,关于如何合成对焦画面和散焦画面,属于本领域技术人员所熟知的惯用技术手段,关于采用何种方法合成对焦画面和散焦画面并不用来限制本申请。It should be noted that, as to how to synthesize the focus picture and the defocus picture, it is a conventional technique well known to those skilled in the art, and the method of synthesizing the focus picture and the defocus picture is not used to limit the present application.
例如,合成单元42可以采用以下方法合成获得的对焦画面和散焦画面:For example, the synthesizing unit 42 may synthesize the obtained focus picture and defocus picture by the following method:
获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
显示单元43,设置为显示合成后的画面。The display unit 43 is arranged to display the synthesized screen.
可选地,显示单元43,还设置为显示一调整柔焦效果的人机交互界面。Optionally, the display unit 43 is further configured to display a human-computer interaction interface for adjusting the soft focus effect.
其中,调整柔焦效果的人机交互界面如图7所示,当用户滑动柔化效果按钮时,通过压力传感器获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时的显示与用户滑动柔化效果按钮的方向和距离对应的柔化处理后的画面;或者,当用户滑动光晕效果按钮时,通过压力传感器获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时的显示与用户滑动光晕效果按钮的方向和距离对应的光晕处理后的画面。可选地,该移动终端还包括设置单元,配置为设置用户滑动柔化效果按钮的方向和距离与柔化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。The human-computer interaction interface for adjusting the soft focus effect is as shown in FIG. 7. When the user slides the soft effect button, the direction and distance of the user sliding softening effect button are obtained through the pressure sensor; according to the obtained user sliding softening effect button The direction and distance of the real-time display is the softened screen corresponding to the direction and distance of the user's sliding softening effect button; or, when the user slides the halo effect button, the direction of the user sliding halo effect button is obtained by the pressure sensor And the distance; according to the direction and distance of the obtained user sliding halo effect button, the real-time display shows the halo-processed screen corresponding to the direction and distance of the user's sliding halo effect button. Optionally, the mobile terminal further includes a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a direction and a distance and a halo processing of the user sliding the light effect button Correspondence between them.
可选地,该移动终端还包括第一监测单元44,设置为监测用户在人机交互界面的选择操作;当监测到用户在人机交互界面的选择操作时,向获取单元40发送第一通知。Optionally, the mobile terminal further includes a first monitoring unit 44 configured to monitor a user's selection operation on the human-machine interaction interface; and when the user selects a selection operation of the human-computer interaction interface, send the first notification to the obtaining unit 40. .
可选地,该移动终端还包括第二监测单元45和处理单元46;其中,Optionally, the mobile terminal further includes a second monitoring unit 45 and a processing unit 46;
第二监测单元45,设置为监测用户对合成后的画面的操作;当监测到用户对合成后的画面的操作时,向处理单元46发送第二通知;The second monitoring unit 45 is configured to monitor the user's operation on the synthesized screen; when the user's operation on the synthesized screen is monitored, the second notification is sent to the processing unit 46;
处理单元46,设置为接收到第二通知,根据用户对合成后的画面的操作对合成后的画面进行相应的处理;The processing unit 46 is configured to receive the second notification, and perform corresponding processing on the synthesized screen according to the operation of the synthesized screen by the user;
其中,用户对合成后的画面的操作包括存储操作或不存储操作。 The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
可选地,该移动终端还包括前期预判单元,设置为:监测用户是否对移动终端的触摸屏幕有特定操作;Optionally, the mobile terminal further includes a pre-prediction unit configured to: monitor whether the user has a specific operation on the touch screen of the mobile terminal;
当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
其中,当特定操作的信息包括位置和持续时长时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the location and the duration, the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的持续时长是否大于或等于时长阈值;当判断出获得的持续时长大于或等于时长阈值时,则判断出获得的特定操作的信息满足预设的条件;Determining whether the obtained duration is greater than or equal to the duration threshold; when it is determined that the obtained duration is greater than or equal to the duration threshold, determining that the obtained specific operation information satisfies the preset condition;
当判断出获得的持续时长小于时长阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained duration is less than the duration threshold, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括位置和用力大小时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the location and the force size, the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的用力大小是否大于或等于压力阈值;Determining whether the obtained force is greater than or equal to the pressure threshold;
当判断出获得的用力大小大于或等于压力阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained force amount is greater than or equal to the pressure threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的用力大小小于压力阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained force is smaller than the pressure threshold, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括位置和用力大小和持续时长时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the position and the force size and the duration, the pre-prediction unit is configured to judge whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的用力大小是否大于或等于压力阈值;以及判断获得的持续时长是否大于或等于时长阈值;Determining whether the obtained force is greater than or equal to the pressure threshold; and determining whether the obtained duration is greater than or equal to the duration threshold;
当判断出获得的用力大小小于压力阈值,且判断出获得的持续时长大于 或等于时长阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is judged that the obtained force is smaller than the pressure threshold, and it is judged that the obtained duration is greater than Or equal to the duration threshold, it is determined that the obtained information of the specific operation satisfies the preset condition;
当判断出获得的持续时长小于时长阈值,或者判断出获得的用力大小小于压力阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is determined that the obtained duration is less than the duration threshold, or it is determined that the obtained force is smaller than the pressure threshold, it is determined that the obtained specific operation information does not satisfy the preset condition.
可选地,特定操作还可以包括滑动操作;特定操作的信息还可以包括滑动距离,和/或滑动方向。Optionally, the specific operation may further include a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
其中,当特定操作的信息包括滑动方向时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the sliding direction, the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的滑动方向是否在预设方向上;Determining whether the obtained sliding direction is in a preset direction;
当判断出获得的滑动方向在预设方向上时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding direction is in the preset direction, it is determined that the obtained information of the specific operation satisfies the preset condition;
当判断出获得的滑动方向不在预设方向上时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained sliding direction is not in the preset direction, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括滑动距离时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the sliding distance, the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的滑动距离是否大于或等于预设的距离阈值;Determining whether the obtained sliding distance is greater than or equal to a preset distance threshold;
当判断出获得的滑动距离大于或等于预设的距离阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding distance is greater than or equal to the preset distance threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的滑动距离小于预设的距离阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is determined that the obtained sliding distance is less than the preset distance threshold, it is determined that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括滑动方向和滑动距离时,前期预判单元设置为通过以下方式判断获得的特定操作的信息是否满足预设的条件:Wherein, when the information of the specific operation includes the sliding direction and the sliding distance, the pre-prediction unit is configured to determine whether the obtained information of the specific operation satisfies the preset condition by:
判断获得的滑动方向是否在预设方向上;以及判断获得的滑动距离是否大于或等于预设的距离阈值;Determining whether the obtained sliding direction is in a preset direction; and determining whether the obtained sliding distance is greater than or equal to a preset distance threshold;
当判断出获得的滑动方向在预设方向上,且获得的滑动距离大于或等于预设的距离阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding direction is in the preset direction, and the obtained sliding distance is greater than or equal to the preset distance threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的滑动方向不在预设方向上,或者判断出获得的滑动距离小于预设的距离阈值时,则判断出获得的特定操作的信息不满足预设的条件。 When it is determined that the obtained sliding direction is not in the preset direction, or it is determined that the obtained sliding distance is less than the preset distance threshold, it is determined that the obtained specific operation information does not satisfy the preset condition.
需要说明的是,本发明实施例提供的移动终端中的第一监测单元40、第二监测单元45可以设置在图1中的感测单元140中,获取模块40以及传输模块41可以设置在图1中的相机121中,显示单元43可以设置在图1中的显示单元151中,合成单元42以及处理单元46可以设置在图1中的控制器180中。然而,本申请对此并不限定。It should be noted that the first monitoring unit 40 and the second monitoring unit 45 in the mobile terminal provided by the embodiment of the present invention may be disposed in the sensing unit 140 in FIG. 1, and the obtaining module 40 and the transmitting module 41 may be disposed in the figure. In the camera 121 of 1, the display unit 43 may be disposed in the display unit 151 in FIG. 1, and the synthesizing unit 42 and the processing unit 46 may be disposed in the controller 180 in FIG. However, this application is not limited thereto.
图5为本发明实施例的处理图像的方法的流程图,应用于内置有双目摄像头的移动终端中,如图5所示,包括:FIG. 5 is a flowchart of a method for processing an image according to an embodiment of the present invention, which is applied to a mobile terminal with a binocular camera, as shown in FIG. 5, and includes:
步骤501:根据用户的对焦指令获取第一摄像头捕获的对焦画面。Step 501: Acquire a focus picture captured by the first camera according to a focus instruction of the user.
其中,双目摄像头包括第一摄像头和第二摄像头。Wherein, the binocular camera comprises a first camera and a second camera.
本步骤可以包括:This step can include:
按照预先设置的对焦算法调整并记录双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
获取双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtain the image captured by the first camera in the binocular camera at the adjusted focus position as a focused focus image.
可选地,本步骤之前,该方法还包括:监测用户是否对移动终端的触摸屏幕有特定操作;Optionally, before the step, the method further includes: monitoring whether the user has a specific operation on the touch screen of the mobile terminal;
当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
其中,当特定操作的信息包括位置和持续时长时,判断获得的特定操作的信息是否满足预设的条件,包括:Wherein, when the information of the specific operation includes the location and the duration, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
判断获得的持续时长是否大于或等于时长阈值;当判断出获得的持续时长大于或等于时长阈值时,则判断出获得的特定操作的信息满足预设的条件; Determining whether the obtained duration is greater than or equal to the duration threshold; when it is determined that the obtained duration is greater than or equal to the duration threshold, determining that the obtained specific operation information satisfies the preset condition;
当判断出获得的持续时长小于时长阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained duration is less than the duration threshold, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括位置和用力大小时,判断获得的特定操作的信息是否满足预设的条件,包括:判断获得的用力大小是否大于或等于压力阈值;Wherein, when the information of the specific operation includes the location and the magnitude of the force, determining whether the obtained information of the specific operation meets the preset condition comprises: determining whether the obtained force is greater than or equal to the pressure threshold;
当判断出获得的用力大小大于或等于压力阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained force amount is greater than or equal to the pressure threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的用力大小小于压力阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained force is smaller than the pressure threshold, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括位置和用力大小和持续时长时,判断获得的特定操作的信息是否满足预设的条件,包括:Wherein, when the information of the specific operation includes the position and the force size and the duration, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
判断获得的用力大小是否大于或等于压力阈值;以及判断获得的持续时长是否大于或等于时长阈值;Determining whether the obtained force is greater than or equal to the pressure threshold; and determining whether the obtained duration is greater than or equal to the duration threshold;
当判断出获得的用力大小小于压力阈值,且判断出获得的持续时长大于或等于时长阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained force is smaller than the pressure threshold, and it is determined that the obtained duration is greater than or equal to the duration threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的持续时长小于时长阈值,或者判断出获得的用力大小小于压力阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is determined that the obtained duration is less than the duration threshold, or it is determined that the obtained force is smaller than the pressure threshold, it is determined that the obtained specific operation information does not satisfy the preset condition.
可选地,特定操作还可以包括滑动操作;特定操作的信息还可以包括滑动距离,和/或滑动方向。Optionally, the specific operation may further include a sliding operation; the information of the specific operation may further include a sliding distance, and/or a sliding direction.
其中,当特定操作的信息包括滑动方向时,判断获得的特定操作的信息是否满足预设的条件,包括:Wherein, when the information of the specific operation includes the sliding direction, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
判断获得的滑动方向是否在预设方向上;Determining whether the obtained sliding direction is in a preset direction;
当判断出获得的滑动方向在预设方向上时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding direction is in the preset direction, it is determined that the obtained information of the specific operation satisfies the preset condition;
当判断出获得的滑动方向不在预设方向上时,则判断出获得的特定操作的信息不满足预设的条件。When it is judged that the obtained sliding direction is not in the preset direction, it is judged that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括滑动距离时,判断获得的特定操作的信息 是否满足预设的条件,包括:Wherein, when the information of the specific operation includes the sliding distance, the information of the specific operation obtained is judged Whether the preset conditions are met, including:
判断获得的滑动距离是否大于或等于预设的距离阈值;Determining whether the obtained sliding distance is greater than or equal to a preset distance threshold;
当判断出获得的滑动距离大于或等于预设的距离阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding distance is greater than or equal to the preset distance threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的滑动距离小于预设的距离阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is determined that the obtained sliding distance is less than the preset distance threshold, it is determined that the obtained information of the specific operation does not satisfy the preset condition.
其中,当特定操作的信息包括滑动方向和滑动距离时,判断获得的特定操作的信息是否满足预设的条件,包括:Wherein, when the information of the specific operation includes the sliding direction and the sliding distance, it is determined whether the obtained information of the specific operation satisfies the preset condition, including:
判断获得的滑动方向是否在预设方向上;以及判断获得的滑动距离是否大于或等于预设的距离阈值;Determining whether the obtained sliding direction is in a preset direction; and determining whether the obtained sliding distance is greater than or equal to a preset distance threshold;
当判断出获得的滑动方向在预设方向上,且获得的滑动距离大于或等于预设的距离阈值时,则判断出获得的特定操作的信息满足预设的条件;When it is determined that the obtained sliding direction is in the preset direction, and the obtained sliding distance is greater than or equal to the preset distance threshold, it is determined that the obtained specific operation information satisfies the preset condition;
当判断出获得的滑动方向不在预设方向上,或者判断出获得的滑动距离小于预设的距离阈值时,则判断出获得的特定操作的信息不满足预设的条件。When it is determined that the obtained sliding direction is not in the preset direction, or it is determined that the obtained sliding distance is less than the preset distance threshold, it is determined that the obtained specific operation information does not satisfy the preset condition.
需要说明的是,判断获得的特定操作的信息是否满足预设的条件是为了避免用户的误操作对本发明实施例后续流程的影响。It should be noted that determining whether the obtained specific operation information satisfies the preset condition is to avoid the influence of the user's misoperation on the subsequent process of the embodiment of the present invention.
可选地,该方法还包括:当判断出获得的特定操作的信息不满足预设的条件,结束本流程。Optionally, the method further includes: ending the process when it is determined that the obtained information of the specific operation does not satisfy the preset condition.
其中,可以通过压力传感器获取特定操作的信息。压力传感器可以位于移动终端的显示屏区域,也可以位于移动终端的显示屏和移动终端的侧边的交互区域。图6是以右手握持移动终端为例的,以左手握持移动终端的示例图不再赘述。Among them, the information of the specific operation can be obtained through the pressure sensor. The pressure sensor may be located in the display area of the mobile terminal, or may be located in the interactive area of the display of the mobile terminal and the side of the mobile terminal. FIG. 6 is an example in which the mobile terminal is held by the right hand, and an example of holding the mobile terminal with the left hand is not described again.
步骤502:获取第二摄像头捕获的与对焦画面对应的散焦画面。Step 502: Acquire a defocus picture corresponding to the focus picture captured by the second camera.
本步骤可以包括:This step can include:
根据记录的对焦位置调整双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
获取双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。 The picture captured by the second camera in the binocular camera at the adjusted defocus position is obtained as a defocused picture of the edge softening.
需要说明的是,关于如何根据对焦位置调整散焦位置,属于本领域技术人员所熟知的惯用技术手段,在此不再赘述,并不用来限制本申请。It should be noted that the method for adjusting the defocus position according to the focus position is a conventional technical means well known to those skilled in the art, and is not described herein again, and is not intended to limit the application.
可选地,该方法还包括:Optionally, the method further includes:
显示一调整柔焦效果的人机交互界面;Displaying a human-computer interaction interface for adjusting the soft focus effect;
监测并获取用户在人机交互界面的选择操作;Monitoring and obtaining the user's selection operation on the human-computer interaction interface;
根据获得的用户的选择操作调整散焦画面的柔焦效果;Adjusting the soft focus effect of the defocused screen according to the obtained user's selection operation;
其中,柔焦效果包括:柔化效果和光晕效果。Among them, the soft focus effect includes: a softening effect and a halo effect.
其中,调整柔焦效果的人机交互界面如图7所示,当用户滑动柔化效果按钮时,通过压力传感器获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时的显示与用户滑动柔化效果按钮的方向和距离对应的柔化处理后的画面;或者,当用户滑动光晕效果按钮时,通过压力传感器获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时的显示与用户滑动光晕效果按钮的方向和距离对应的光晕处理后的画面。可选地,该方法还包括:设置用户滑动柔化效果按钮的方向和距离与柔化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。The human-computer interaction interface for adjusting the soft focus effect is as shown in FIG. 7. When the user slides the soft effect button, the direction and distance of the user sliding softening effect button are obtained through the pressure sensor; according to the obtained user sliding softening effect button The direction and distance of the real-time display is the softened screen corresponding to the direction and distance of the user's sliding softening effect button; or, when the user slides the halo effect button, the direction of the user sliding halo effect button is obtained by the pressure sensor And the distance; according to the direction and distance of the obtained user sliding halo effect button, the real-time display shows the halo-processed screen corresponding to the direction and distance of the user's sliding halo effect button. Optionally, the method further includes: setting a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; setting a correspondence between a direction and a distance of the user sliding the light effect button and the halo processing .
步骤503:合成获得的对焦画面和散焦画面并显示合成后的画面。Step 503: synthesize the obtained focus picture and defocus picture and display the synthesized picture.
需要说明的是,关于如何合成对焦画面和散焦画面,属于本领域技术人员所熟知的惯用技术手段,关于采用何种方法合成对焦画面和散焦画面并不用来限制本申请。It should be noted that, as to how to synthesize the focus picture and the defocus picture, it is a conventional technique well known to those skilled in the art, and the method of synthesizing the focus picture and the defocus picture is not used to limit the present application.
如可以采用以下方法合成获得的对焦画面和散焦画面:If you can use the following methods to synthesize the obtained focus picture and defocus picture:
获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
可选地,步骤503之后,该方法还包括:Optionally, after step 503, the method further includes:
监测用户对合成后的画面的操作; Monitoring the user's operation on the synthesized picture;
根据监测到的用户对合成后的画面的操作对合成后的画面进行相应的处理;Performing corresponding processing on the synthesized screen according to the monitored user's operation on the synthesized screen;
其中,用户对合成后的画面的操作包括存储操作或不存储操作。The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
本发明实施例的方法中,通过获取对焦画面和散焦画面、合成并显示对焦画面和散焦画面,实现了所见即所得,从而实现了自动、快速地合成对焦清晰且边沿柔化的图像,增强了用户的体验感。In the method of the embodiment of the invention, by acquiring the focus picture and the defocus picture, synthesizing and displaying the focus picture and the defocus picture, WYSIWYG is realized, thereby realizing automatic and fast synthesis of the image with clear focus and edge softening. , enhance the user's 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.
工业实用性Industrial applicability
本申请实施例提供一种移动终端及其处理图像的方法,实现了自动、快速地合成对焦清晰且边沿柔化的图像,增强了用户的体验感。 The embodiment of the present application provides a mobile terminal and a method for processing an image thereof, which realizes an automatic and fast synthesis of an image with clear focus and edge softening, which enhances the user experience.

Claims (20)

  1. 一种移动终端,该移动终端包括双目摄像头,所述移动终端包括:获取单元、传输单元、合成单元和显示单元;其中,a mobile terminal, comprising: a binocular camera, the mobile terminal comprising: an acquisition unit, a transmission unit, a synthesizing unit and a display unit; wherein
    获取单元,设置为根据用户的对焦指令获取第一摄像头捕获的对焦画面;获取第二摄像头捕获的与对焦画面对应的散焦画面;Obtaining a unit, configured to acquire a focus picture captured by the first camera according to a focus instruction of the user; and acquire a defocus picture corresponding to the focus picture captured by the second camera;
    传输单元,设置为将获得的对焦画面和散焦画面传输至合成单元;a transmission unit configured to transmit the obtained focus picture and defocused picture to the synthesizing unit;
    合成单元,设置为合成获得的对焦画面和散焦画面;a synthesizing unit configured to combine the obtained focus picture and the defocused picture;
    显示单元,设置为显示合成后的画面。The display unit is set to display the synthesized screen.
  2. 根据权利要求1所述的移动终端,其中,所述获取单元设置为通过以下方式根据用户的对焦指令获取第一摄像头捕获的对焦画面:The mobile terminal of claim 1, wherein the acquisition unit is configured to acquire a focus image captured by the first camera according to a focus instruction of the user by:
    按照预先设置的对焦算法调整并记录所述双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
    获取所述双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtaining a picture captured by the first camera of the binocular camera at the adjusted focus position as a focused image with a clear focus.
  3. 根据权利要求2所述的移动终端,其中,所述获取单元设置为通过以下方式获取第二摄像头捕获的与对焦画面对应的散焦画面:The mobile terminal of claim 2, wherein the acquisition unit is configured to acquire a defocused picture corresponding to the focused picture captured by the second camera by:
    根据记录的所述对焦位置调整所述双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
    获取所述双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。Obtaining a picture captured by the second camera in the binocular camera at the adjusted defocus position as a defocused picture of edge softening.
  4. 根据权利要求1所述的移动终端,其中,所述显示单元,还设置为显示一调整柔焦效果的人机交互界面;The mobile terminal according to claim 1, wherein the display unit is further configured to display a human-machine interaction interface for adjusting a soft focus effect;
    该移动终端还包括第一监测单元,设置为当监测到用户在人机交互界面的选择操作时,向所述获取单元发送第一通知;The mobile terminal further includes a first monitoring unit, configured to send a first notification to the acquiring unit when the user selects a selection operation of the human-machine interaction interface;
    所述获取单元,设置为接收到第一通知,获取用户在人机交互界面的选择操作;根据获得的用户的选择操作调整所述散焦画面的柔焦效果;The obtaining unit is configured to receive the first notification, acquire a selection operation of the user on the human-machine interaction interface, and adjust a soft focus effect of the defocused image according to the obtained user selection operation;
    其中,所述柔焦效果包括:柔化效果和光晕效果。 Wherein, the soft focus effect comprises: a softening effect and a halo effect.
  5. 根据权利要求4所述的移动终端,其中,所述获取单元,设置为:The mobile terminal of claim 4, wherein the obtaining unit is configured to:
    当所述第一监测单元监测到用户滑动柔化效果按钮时,获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时调整柔化处理的画面;或者,When the first monitoring unit monitors the user sliding softening effect button, the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button; or,
    当所述第一监测单元监测到用户滑动光晕效果按钮时,获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时调整光晕处理的画面。When the first monitoring unit monitors the user sliding halo effect button, the direction and distance of the user sliding halo effect button are acquired; and the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
  6. 根据权利要求5所述的移动终端,该移动终端还包括设置单元,配置为设置用户滑动柔化效果按钮的方向和距离与柔化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。The mobile terminal according to claim 5, further comprising a setting unit configured to set a correspondence between a direction and a distance of the user sliding the softening effect button and the softening process; and setting a direction of the user sliding the light effect button And the correspondence between distance and halo processing.
  7. 根据权利要求1至6任一项所述的移动终端,该移动终端还包括第二监测单元和处理单元;其中,The mobile terminal according to any one of claims 1 to 6, further comprising a second monitoring unit and a processing unit; wherein
    所述第二监测单元,设置为监测用户对合成后的画面的操作;当监测到用户对合成后的画面的操作时,向处理单元发送第二通知;The second monitoring unit is configured to monitor a user's operation on the synthesized screen; and when the user's operation on the synthesized screen is monitored, send a second notification to the processing unit;
    所述处理单元,设置为接收到第二通知,根据用户对合成后的画面的操作对合成后的画面进行相应的处理;The processing unit is configured to receive the second notification, and perform corresponding processing on the synthesized screen according to the operation of the synthesized screen by the user;
    其中,所述用户对合成后的画面的操作包括存储操作或不存储操作。The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  8. 根据权利要求1所述的移动终端,该移动终端还包括前期预判单元,设置为:监测用户是否对移动终端的触摸屏幕有特定操作;The mobile terminal according to claim 1, further comprising a pre-prediction unit configured to: monitor whether the user has a specific operation on the touch screen of the mobile terminal;
    当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
    判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
    当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
    其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  9. 根据权利要求8所述的移动终端,其中,所述特定操作还包括滑动操 作;特定操作的信息还可以包括滑动距离,和/或滑动方向。The mobile terminal of claim 8, wherein the specific operation further comprises a sliding operation The information for a particular operation may also include a sliding distance, and/or a sliding direction.
  10. 根据权利要求1所述的移动终端,其中,所述合成单元,设置为:The mobile terminal of claim 1, wherein the synthesizing unit is configured to:
    获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
    对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
    将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
  11. 一种处理图像的方法,应用于内置有双目摄像头的移动终端中,包括:A method for processing an image is applied to a mobile terminal having a binocular camera built therein, including:
    根据用户的对焦指令获取第一摄像头捕获的对焦画面;Obtaining a focus image captured by the first camera according to a user's focus instruction;
    获取第二摄像头捕获的与对焦画面对应的散焦画面;Obtaining a defocus picture corresponding to the focus picture captured by the second camera;
    合成获得的对焦画面和散焦画面并显示合成后的画面。The obtained focus picture and defocus picture are synthesized and the combined picture is displayed.
  12. 根据权利要求11所述的方法,其中,所述根据用户的对焦指令获取第一摄像头捕获的对焦画面,包括:The method according to claim 11, wherein the acquiring a focus image captured by the first camera according to a focus instruction of the user comprises:
    按照预先设置的对焦算法调整并记录所述双目摄像头中的第一摄像头的镜头的对焦位置;Adjusting and recording the focus position of the lens of the first camera in the binocular camera according to a preset focusing algorithm;
    获取所述双目摄像头中的第一摄像头在调整后的对焦位置捕获的画面作为对焦清楚的对焦画面。Obtaining a picture captured by the first camera of the binocular camera at the adjusted focus position as a focused image with a clear focus.
  13. 根据权利要求12所述的方法,其中,所述获取第二摄像头捕获的与对焦画面对应的散焦画面,包括:The method according to claim 12, wherein the acquiring the defocused image corresponding to the focus picture captured by the second camera comprises:
    根据记录的所述对焦位置调整所述双目摄像头中的第二摄像头的镜头的散焦位置;Adjusting a defocus position of a lens of the second camera in the binocular camera according to the recorded focus position;
    获取所述双目摄像头中的第二摄像头在调整后的散焦位置捕获的画面作为边沿柔化的散焦画面。Obtaining a picture captured by the second camera in the binocular camera at the adjusted defocus position as a defocused picture of edge softening.
  14. 根据权利要求11所述的方法,该方法还包括:The method of claim 11 further comprising:
    显示一调整柔焦效果的人机交互界面;Displaying a human-computer interaction interface for adjusting the soft focus effect;
    监测并获取用户在人机交互界面的选择操作;Monitoring and obtaining the user's selection operation on the human-computer interaction interface;
    根据获得的用户的选择操作调整所述散焦画面的柔焦效果; Adjusting a soft focus effect of the defocused screen according to the obtained user's selection operation;
    其中,所述柔焦效果包括:柔化效果和光晕效果。Wherein, the soft focus effect comprises: a softening effect and a halo effect.
  15. 根据权利要求14所述的方法,其中,所述根据获得的用户的选择操作调整所述散焦画面的柔焦效果,包括:The method according to claim 14, wherein the adjusting the soft focus effect of the defocused picture according to the obtained user's selection operation comprises:
    当监测到用户滑动柔化效果按钮时,获取用户滑动柔化效果按钮的方向和距离;根据获得的用户滑动柔化效果按钮的方向和距离实时调整柔化处理的画面;或者,When the user sliding softening effect button is detected, the direction and distance of the user sliding softening effect button are acquired; and the softening processing screen is adjusted in real time according to the obtained direction and distance of the user sliding softening effect button; or
    当监测到用户滑动光晕效果按钮时,获取用户滑动光晕效果按钮的方向和距离;根据获得的用户滑动光晕效果按钮的方向和距离实时调整光晕处理的画面。When the user sliding halo effect button is detected, the direction and distance of the user sliding halo effect button are acquired; the halo processing screen is adjusted in real time according to the obtained direction and distance of the user sliding halo effect button.
  16. 根据权利要求15所述的方法,该方法还包括:设置用户滑动柔化效果按钮的方向和距离与柔化处理之间的对应关系;设置用户滑动光晕效果按钮的方向和距离与光晕处理之间的对应关系。The method according to claim 15, further comprising: setting a correspondence between a direction and a distance of the user sliding softening effect button and the softening process; setting a direction and distance of the user sliding light effect button and a halo processing Correspondence between them.
  17. 根据权利要求11至16任一项所述的方法,所述合成获得的对焦画面和散焦画面并显示合成后的画面之后,该方法还包括:The method according to any one of claims 11 to 16, after the combining the obtained focused picture and the defocused picture and displaying the synthesized picture, the method further comprises:
    监测用户对合成后的画面的操作;Monitoring the user's operation on the synthesized picture;
    根据监测到的用户对合成后的画面的操作对合成后的画面进行相应的处理;Performing corresponding processing on the synthesized screen according to the monitored user's operation on the synthesized screen;
    其中,所述用户对合成后的画面的操作包括存储操作或不存储操作。The operation of the user on the synthesized picture includes a storage operation or a non-storage operation.
  18. 根据权利要求11所述的方法,其中,所述合成获取的对焦画面和散焦画面,包括:The method according to claim 11, wherein the synthesizing the acquired focus picture and the defocus picture comprises:
    获取对焦画面的每个第一像素点以及获取散焦画面的每个第二像素点;Acquiring each first pixel of the focused picture and acquiring each second pixel of the defocused picture;
    对第一像素点和与第一像素点对应的第二像素点采用加权平均算法获取第三像素点;Obtaining a third pixel point by using a weighted average algorithm for the first pixel point and the second pixel point corresponding to the first pixel point;
    将每个第三像素点所构成的画面作为合成后的画面。A screen composed of each of the third pixels is used as a combined screen.
  19. 根据权利要求11所述的方法,其中,所述根据用户的对焦指令获取第一摄像头捕获的对焦画面之前,该方法还包括:The method according to claim 11, wherein the method further comprises: before acquiring the focus picture captured by the first camera according to the user's focus instruction, the method further comprising:
    监测用户是否对移动终端的触摸屏幕有特定操作; Monitoring whether the user has a specific operation on the touch screen of the mobile terminal;
    当监测用户到对移动终端的触摸屏幕有特定操作时,获取特定操作的信息;Obtaining information of a specific operation when the user is monitored to have a specific operation on the touch screen of the mobile terminal;
    判断获得的特定操作的信息是否满足预设的条件;Determining whether the obtained information of the specific operation satisfies the preset condition;
    当判断出获得的特定操作的信息满足预设的条件时,记录获得的特定操作的信息并将记录的特定操作的信息作为用户的对焦指令;When it is determined that the obtained information of the specific operation satisfies the preset condition, the obtained information of the specific operation is recorded and the information of the specific operation recorded is taken as the focus command of the user;
    其中,特定操作包括点击操作或按压操作;特定操作的信息包括位置,和/或持续时长,和/或用力大小。Wherein, the specific operation includes a click operation or a pressing operation; the information of the specific operation includes a position, and/or a duration, and/or a force size.
  20. 根据权利要求19所述的方法,其中,所述特定操作还包括滑动操作;特定操作的信息还包括滑动距离,和/或滑动方向。 The method of claim 19, wherein the specific operation further comprises a sliding operation; the information of the specific operation further comprises a sliding distance, and/or a sliding direction.
PCT/CN2016/102737 2015-10-23 2016-10-20 Method and mobile terminal for processing image WO2017067481A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510698110.4A CN105262952A (en) 2015-10-23 2015-10-23 Mobile terminal and image processing method thereof
CN201510698110.4 2015-10-23

Publications (1)

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

Family

ID=55102440

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102737 WO2017067481A1 (en) 2015-10-23 2016-10-20 Method and mobile terminal for processing image

Country Status (2)

Country Link
CN (1) CN105262952A (en)
WO (1) WO2017067481A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670432A (en) * 2018-12-13 2019-04-23 北京小米移动软件有限公司 Action identification method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262952A (en) * 2015-10-23 2016-01-20 努比亚技术有限公司 Mobile terminal and image processing method thereof
CN105959534B (en) * 2016-04-28 2019-09-17 青岛海信移动通信技术股份有限公司 Image processing method, device and electronic equipment
CN106454131B (en) * 2016-11-29 2019-09-06 Oppo广东移动通信有限公司 Photographic method, device and the terminal of terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100716179B1 (en) * 2006-01-05 2007-05-10 삼성전자주식회사 Outfocusing image photographing system and method in two camera phone
CN101764925A (en) * 2008-12-25 2010-06-30 华晶科技股份有限公司 Simulation method for shallow field depth of digital image
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof
CN204669468U (en) * 2015-05-27 2015-09-23 联想(北京)有限公司 Mobile terminal
CN105049558A (en) * 2015-07-03 2015-11-11 广东欧珀移动通信有限公司 Terminal
CN105262952A (en) * 2015-10-23 2016-01-20 努比亚技术有限公司 Mobile terminal and image processing method thereof
WO2016061757A1 (en) * 2014-10-22 2016-04-28 宇龙计算机通信科技(深圳)有限公司 Image generation method based on dual camera module and dual camera module

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2582126A4 (en) * 2010-07-14 2014-08-13 Lg Electronics Inc Autofocus device and a method therefor
KR101701852B1 (en) * 2010-12-29 2017-02-13 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN102811309A (en) * 2011-05-31 2012-12-05 华晶科技股份有限公司 Method and device for generating shallow depth-of-field image
US20130242057A1 (en) * 2012-03-16 2013-09-19 Research In Motion Limited Methods and devices for producing an enhanced image
CN103945210B (en) * 2014-05-09 2015-08-05 长江水利委员会长江科学院 A kind of multi-cam image pickup method realizing shallow Deep Canvas
CN104349063B (en) * 2014-10-27 2018-05-15 东莞宇龙通信科技有限公司 A kind of method, apparatus and terminal for controlling camera shooting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100716179B1 (en) * 2006-01-05 2007-05-10 삼성전자주식회사 Outfocusing image photographing system and method in two camera phone
CN101764925A (en) * 2008-12-25 2010-06-30 华晶科技股份有限公司 Simulation method for shallow field depth of digital image
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof
WO2016061757A1 (en) * 2014-10-22 2016-04-28 宇龙计算机通信科技(深圳)有限公司 Image generation method based on dual camera module and dual camera module
CN204669468U (en) * 2015-05-27 2015-09-23 联想(北京)有限公司 Mobile terminal
CN105049558A (en) * 2015-07-03 2015-11-11 广东欧珀移动通信有限公司 Terminal
CN105262952A (en) * 2015-10-23 2016-01-20 努比亚技术有限公司 Mobile terminal and image processing method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670432A (en) * 2018-12-13 2019-04-23 北京小米移动软件有限公司 Action identification method and device
CN109670432B (en) * 2018-12-13 2023-08-04 北京小米移动软件有限公司 Action recognition method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN106454121B (en) Double-camera shooting method and device
WO2018076938A1 (en) Method and device for processing image, and computer storage medium
WO2017071559A1 (en) Image processing apparatus and method
WO2017045647A1 (en) Method and mobile terminal for processing image
WO2018019124A1 (en) Image processing method and electronic device and storage medium
CN106909274B (en) Image display method and device
WO2017050115A1 (en) Image synthesis method
WO2018076935A1 (en) Image blurring processing method, device, mobile terminal, and computer storage medium
CN106453924A (en) Image shooting method and apparatus
CN104954689A (en) Method and shooting device for acquiring photo through double cameras
WO2017054704A1 (en) Method and device for generating video image
CN105159594A (en) Touch photographing device and method based on pressure sensor, and mobile terminal
WO2017067481A1 (en) Method and mobile terminal for processing image
WO2017088662A1 (en) Focusing method and device
CN105242844A (en) Terminal and camera parameter setting method
CN106911881B (en) Dynamic photo shooting device and method based on double cameras and terminal
WO2017071542A1 (en) Image processing method and apparatus
CN107040723B (en) Imaging method based on double cameras, mobile terminal and storage medium
CN106657782B (en) Picture processing method and terminal
WO2018019128A1 (en) Method for processing night scene image and mobile terminal
WO2017054677A1 (en) Mobile terminal photographing system and mobile terminal photographing method
WO2017071532A1 (en) Group selfie photography method and apparatus
WO2017185778A1 (en) Mobile terminal, exposure method therefor, and computer storage medium
WO2017071558A1 (en) Mobile terminal photographing device and method
WO2017054616A1 (en) Method and device for displaying video picture, and picture display method

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

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

Country of ref document: EP

Kind code of ref document: A1