WO2014059822A1 - 移动终端图像处理方法及移动终端 - Google Patents

移动终端图像处理方法及移动终端 Download PDF

Info

Publication number
WO2014059822A1
WO2014059822A1 PCT/CN2013/082071 CN2013082071W WO2014059822A1 WO 2014059822 A1 WO2014059822 A1 WO 2014059822A1 CN 2013082071 W CN2013082071 W CN 2013082071W WO 2014059822 A1 WO2014059822 A1 WO 2014059822A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
frequency domain
time slice
mobile terminal
air blowing
Prior art date
Application number
PCT/CN2013/082071
Other languages
English (en)
French (fr)
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 WO2014059822A1 publication Critical patent/WO2014059822A1/zh
Priority to US14/683,309 priority Critical patent/US9977651B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a mobile terminal image processing method and a mobile terminal. Background technique
  • the user can use the mouse to perform image processing such as photoshop or Mito Xiuxiu.
  • the tool processes the image.
  • the user can complete the processing of the image by means of the existing image processing tool through the touchpad.
  • the applicable image processing tools on the existing mobile terminal may include the Mito Xiuxiu iPhone version or the Android version, etc., as well as the Magic Picture Wizard iPhone or Android version and the like.
  • an embodiment of the present invention provides a mobile terminal image processing method and a mobile terminal.
  • the technical solution is as follows:
  • a mobile terminal image processing method includes:
  • a mobile terminal where the mobile terminal includes:
  • a sensor module for collecting an audio signal
  • An acquisition module configured to acquire a blow signal strength according to the collected audio signal
  • the mobile terminal image processing method and the mobile terminal provided by the embodiment of the present invention acquire an audio signal through a sensor of the mobile terminal; acquire a blow signal strength according to the collected audio signal; and process the image according to the blow signal strength.
  • the image can be processed according to the intensity of the blowing signal, which can effectively overcome the defects of low processing efficiency and high operation complexity of the image processing mode in the prior art.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve the image. Processing efficiency and reducing operational complexity.
  • FIG. 1 is a flowchart of a method for processing an image of a mobile terminal according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for processing an image of a mobile terminal according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for processing an image of a mobile terminal according to Embodiment 1 of the present invention.
  • the image processing method of the mobile terminal in this embodiment may specifically include the following steps: 100. Acquire an audio signal by using a sensor of the mobile terminal;
  • the execution body of the mobile terminal image processing method of this embodiment is a mobile terminal, and the mobile terminal is provided with a sensor for collecting and receiving an audio signal formed by the user's insufflation. And the mobile terminal is further provided with a display for displaying an image to be processed, and for displaying an image for processing the image according to the intensity of the blowing signal. Steps 100-102 of this embodiment may be implemented in particular by hardware associated with the program instructions.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the image processing method of the mobile terminal of the embodiment obtains the intensity of the blowing signal; and processes the image according to the intensity of the blowing signal.
  • the image can be processed according to the intensity of the blowing signal, which can effectively overcome the defects of low processing efficiency and high operation complexity of the image processing method in the prior art.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • step 101 “acquires the intensity of the blowing signal according to the collected audio signal” may specifically include the following steps:
  • the frequency domain signal of the audio signal can be divided into consecutive time slice frequency domain signals according to the time slice period.
  • each time slice represents a time period
  • the time slice size in this embodiment is based on Actual demand settings.
  • the at least one time slice frequency domain signal obtained in the embodiment is continuous in time. That is, when at least one time slice frequency domain signal is divided, the time is divided in order from the front to the back.
  • step (4) identifying whether the audio signal is a blow signal according to at least one time slice frequency domain signal and a preset characteristic of the blow signal; when the audio signal is a blow signal, performing step (4); when the audio signal is not a blow signal When, the end. At this point, the user can be prompted on the interface of the display that the audio signal is not a blow signal.
  • the blow signal is a specific low frequency signal. This step is specifically based on at least one time.
  • the preset characteristics of the inter-band frequency domain signal and the blow signal identify whether the audio signal is the particular low frequency signal. Wherein, if the time slice frequency domain signal satisfies the preset characteristic of the blow signal, determining that the time slice frequency domain signal is the specific low frequency signal; if the time slice frequency domain signal does not satisfy the preset characteristic of the blow signal, determining The time slice frequency domain signal is not the particular low frequency signal.
  • the step (3) identifies whether the audio signal is a blow signal according to the preset characteristics of the at least one time slice frequency domain signal and the air blowing signal, and specifically includes the following steps:
  • the time slice frequency domain signal satisfies the preset characteristic of the blow signal, determining that the time slice frequency domain signal is a blow signal; if the time slice frequency domain signal does not satisfy the preset characteristic of the blow signal, determining the The time slice frequency domain signal is not a blow signal.
  • the step is to identify each time slice frequency domain signal by using a preset characteristic of the blow signal to determine whether each time slice frequency domain signal is a blow signal.
  • the preset characteristic of the air blowing signal includes at least one of the following: First, the maximum intensity of the low frequency band signal is greater than the average intensity of the high frequency band signal and reaches a second preset threshold; second, the mean square error of the low frequency band signal The signal is less than or equal to the third preset threshold, that is, the low-band signal distribution is relatively average; third, the maximum value of the high-band signal is less than or equal to the fourth preset threshold, that is, the high-band signal has no significantly stronger peak.
  • the second preset threshold, the third preset threshold, and the fourth preset threshold in this embodiment may all be obtained according to experience. And the more the characteristics of the first, second and third above are included in the preset characteristics of the blow signal, the higher the accuracy of identifying whether the time slice frequency domain signal is a blow signal.
  • an accumulator may be provided to count the number of time slice frequency domain signals of the bit blowing signal, and the initial value of the accumulator is set to zero. For each of the time slice frequency domain signals of the at least one time slice frequency domain signal, if the time slice frequency domain signal satisfies a preset characteristic of the blow signal, determining that the time slice frequency domain signal is a blow signal, and the accumulator plus 1. Otherwise, the accumulator is not accumulated. After the end of the identification of the at least one time slice frequency domain signal, the value recorded by the accumulator is the number of time slice frequency domain signals of the blow signal in at least one time slice frequency domain signal.
  • the at least one time slice frequency domain signal determined by the above step is a time slice frequency domain of the blow signal
  • the number of signals divided by the total number of at least one time slice frequency domain signal can be used to obtain the proportion of the time slice frequency domain signal of the blow signal in at least one time slice frequency domain signal.
  • step (C) determining whether a ratio of a time slice frequency domain signal of the blow signal in the at least one time slice frequency domain signal is greater than or equal to a first preset threshold; when at least one time slice frequency domain signal is a blow signal When the proportion of the time slice frequency domain signal is greater than or equal to the first preset threshold, step (d) is performed; otherwise, step (e) is performed;
  • the number of time slice frequency domain signals of the blow signal in at least one time slice frequency domain signal can be obtained.
  • the value recorded by the accumulator indicates the number of time slice frequency domain signals of the blow signal in at least one time slice frequency domain signal.
  • the proportion of the time slice frequency domain signal of the blow signal in the at least one time slice frequency domain signal can be determined.
  • the audio signal is a blow signal, otherwise the audio signal is not a blow signal.
  • the first preset threshold can be set to any percentage between 0 and 100 percent according to actual demand. For example, it can be 70% remedy or 80%.
  • obtaining the blow signal strength according to the at least one time slice frequency domain signal may be: first obtaining an average signal strength of each of the time slice frequency domain signals in the at least one time slice frequency domain signal, At least one average signal strength; then taking an average of at least one average signal strength as the blow signal strength.
  • the blow signal strength can be obtained.
  • the step (1) of the foregoing embodiment performs windowed fast Fourier transform processing on the audio signal to obtain a frequency domain signal of the audio signal, and may further include the following steps: smoothing the audio signal and Equalization processing.
  • This step is mainly used for pre-smoothing and custom equalization of the collected audio signal, so that the signal characteristics of the audio signal in the frequency domain can become more obvious.
  • step 102 processes the image according to the intensity of the blowing signal", which may specifically include: (i) obtaining the strength according to the blowing signal Take image processing parameters.
  • the image processing parameter obtained according to the intensity of the blowing signal may be: obtaining image processing parameters corresponding to the intensity of the blowing signal according to the correspondence between the intensity of the blowing signal and the preset blowing signal intensity and the image processing parameter.
  • the correspondence between the blowing signal intensity and the image processing parameter may be preset in the mobile terminal. For example, when the blowing signal intensity is A, the image processing parameter is 0.8; when the blowing signal intensity is B, the image processing parameter is 1.2; When the blow signal strength is C, the image processing parameters are 1.5 and so on.
  • the image processing parameters herein may specifically indicate the size ratio relationship between the image to be processed and the current image. That is, if the image processing parameter is 0.8, it means that the current image is reduced by 0.8 times. An image processing parameter of 1.5 means that the current image is magnified 1.5 times.
  • a correspondence table between the blowing signal intensity and the image processing parameters may be pre-set in the mobile terminal.
  • image processing parameters in this embodiment are only examples, and the image processing parameters protected by the claims of the present application are not limited.
  • the actual image processing parameters may be other arbitrary values according to actual needs.
  • the corresponding relationship between the preset blow signal strength and the image processing parameter may be a correspondence relationship, or a many-to-one correspondence relationship, that is, a blow signal strength value of a certain region corresponds to the same image. Processing parameters.
  • the functional relationship between the blow signal strength and the image processing parameters may be preset according to experience (specifically, the function is not limited), and when the blow signal strength is determined, the image processing parameters may be determined according to a preset function relationship. .
  • Processing the image involved in the embodiment of the present invention mainly includes enlarging or reducing the image.
  • the specified area to be processed in the image may be selected, and the specified area to be processed in the image may be enlarged or reduced according to the image processing parameter.
  • the user can select a designated area in which the image is to be processed through a touch screen or a mouse. If the image is a human face, you can select a specified area in the image such as the eyes, nose, or mouth or forehead in the face to zoom in or out.
  • the specified area to be processed in the image is not selected, it can be understood that the entire image needs to be processed.
  • a blowing pipe may be disposed at the edge of the displayed image, so that the user feels that the air blown by the user through the microphone blows the image through the blowing pipe, thereby Amplification or reduction of the image is achieved.
  • the insertion depth of the air blowing tube is set differently, thereby effectively distinguishing the expression form of the air blowing tube when the image is reduced and enlarged.
  • a depth scale threshold when the image processing parameter is 1 may be taken. When the image processing parameter is greater than 1, the blowpipe insertion depth is deeper than the depth scale threshold, and when the image processing parameter is less than 1, the blowpipe insertion depth is shallower than Depth scale threshold.
  • a specific image processing algorithm may be specifically used to process a specified area to be processed in an image or an image.
  • the image processing algorithm in this embodiment may specifically be an algorithm similar to liquefaction, feathering, etc., so that the specified area in the image or image changes softer and more natural when zoomed in or out.
  • the image processing method of the mobile terminal of the above embodiment can process the image according to the intensity of the blowing signal, and can effectively overcome the defects of low processing efficiency and high operation complexity of the image processing method in the prior art.
  • the user does not need to manually control the mouse or the touchpad for image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • FIG. 2 is a flowchart of a method for processing an image of a mobile terminal according to Embodiment 2 of the present invention. As shown in FIG. 2, the image processing method of this embodiment may specifically include the following steps:
  • the user opens an image to be processed on the display of the mobile terminal
  • the user blows a microphone connected to the mobile terminal
  • the user can control the intensity of the gas blown into the microphone based on experience.
  • the sensor of the mobile terminal collects an audio signal that is blown by a user through a microphone
  • the sensor of the mobile terminal is connected to the microphone.
  • the mobile terminal performs smoothing processing and equalization processing on the audio signal.
  • This step can be used to make the signal characteristics of the audio signal in the frequency domain more visible.
  • the mobile terminal performs windowed FFT processing on the audio signal to obtain a frequency domain signal of the audio signal.
  • the mobile terminal divides the audio signal into 10 consecutive time slice frequency domain signals. In actual applications, the number of time slice frequency domain signals divided according to the size of the blown signal and the size of the time slice may be different. The size of the time slice can be set according to actual needs.
  • the technical solution of the present invention is described in the following example. The technical solution of the present invention is not limited to the technical solution of the embodiment of the present invention.
  • the mobile terminal For each time slice frequency domain signal of the 10 time slice frequency domain signals, the mobile terminal identifies, according to the preset characteristics of the time slice frequency domain signal and the air blowing signal, whether the time slice frequency domain signal is a blow signal. If yes, add 1 to the accumulator, otherwise the accumulator does not increase the value; repeat this step until the end of the 10 time slice frequency domain signal recognition;
  • the initial value of the accumulator is 0.
  • the value of the accumulator is the number of blow signals in the 10 time slice frequency domain signals.
  • the mobile terminal divides the value recorded by the accumulator by 10, and obtains a proportion of a time slice frequency domain signal of the blow signal in the 10 time slice frequency domain signals;
  • the mobile terminal determines whether the obtained ratio is greater than or equal to the first preset threshold; if greater than or equal to, step 209; otherwise, step 210;
  • the first preset threshold may be set to 0.7 or 70% according to the actual situation.
  • the audio signal can be regarded as a blow signal; otherwise, the audio signal is considered not to be a blow signal.
  • the mobile terminal determines that the audio signal is a blowing signal; performing step 211;
  • the mobile terminal determines that the audio signal is not a blow signal, and ends.
  • the mobile terminal can prompt the user on the display interface that "the collected audio signal is not a blow signal, and the image cannot be processed according to the audio signal.”
  • the mobile terminal acquires an average signal strength of each time slice frequency domain signal in the 10 time slice frequency domain signals, obtains 10 average signal strengths, and takes an average of 10 average signal strengths as the blow signal strength;
  • the mobile terminal acquires image processing parameters according to a correspondence between a blowing signal intensity and a preset blowing signal intensity and an image processing parameter;
  • the mobile terminal acquires image processing parameters corresponding to the blowing signal strength and the like according to the correspondence between the preset blowing signal intensity and the image processing parameter according to the blowing signal intensity. 213.
  • the mobile terminal enlarges or reduces the image according to the image processing parameter.
  • the image processing parameter when the image processing parameter is greater than 1, the image is enlarged.
  • the image processing parameter when the image processing parameter is less than 1, the image is reduced.
  • the image processing method of the mobile terminal of the present embodiment can process the image according to the intensity of the blowing signal, and can effectively overcome the defects of low processing efficiency and high operation complexity of the image processing method in the prior art.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 3 of the present invention.
  • the mobile terminal of this embodiment may specifically include a sensor module 10, an obtaining module 11, and a processing module 12.
  • the sensor module 10 is configured to acquire an audio signal according to the audio signal collected by the sensor module 10; the processing module 12 is connected to the acquisition module 11, and the processing module 12 is configured to acquire the audio signal according to the acquisition module 11.
  • the blown signal strength processes the image.
  • the mobile terminal of the present embodiment is the same as the implementation of the foregoing method embodiment by using the above-mentioned module to implement the image processing of the mobile terminal.
  • the mobile terminal of the present embodiment is the same as the implementation of the foregoing method embodiment by using the above-mentioned module to implement the image processing of the mobile terminal.
  • the mobile terminal of the embodiment can acquire an audio signal by using the above module; and processing the image according to the intensity of the blown signal according to the collected audio signal, which can effectively overcome the low processing efficiency and complicated operation of the image processing mode in the prior art. High degree of defects.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention. As shown in FIG. 4, the mobile terminal of this embodiment may further include the following technical solutions on the basis of the foregoing embodiment shown in FIG. 3.
  • the obtaining module 11 in the mobile terminal of this embodiment may specifically include a processing unit 111, a dividing unit 112, an identifying unit 113, and an obtaining unit 114.
  • the processing unit 111 is connected to the sensor module 10.
  • the processing unit 111 is configured to perform windowed fast Fourier transform processing on the audio signal collected by the sensor module 10 to obtain a frequency domain signal of the audio signal.
  • the dividing unit 112 is connected to the processing unit 111.
  • the dividing unit 112 is configured to divide the frequency domain signal of the audio signal obtained by the processing unit 111 into at least one time slice frequency domain signal; the identifying unit 113 is connected to the dividing unit 112, and the identifying unit 113 is configured to divide at least one obtained according to the dividing unit 112.
  • the preset characteristics of the time slice frequency domain signal and the blow signal identify whether the audio signal is a blow signal; the acquisition unit 114 is connected to the identification unit 113, and the acquisition unit 114 is configured to: when the recognition unit 113 recognizes that the audio signal is a blow signal, The blow signal strength is obtained based on at least one time slice frequency domain signal.
  • the identifying unit 113 in the mobile terminal of the embodiment is specifically configured to: for each time slice frequency domain signal in the at least one time slice frequency domain signal, according to the time slice frequency domain signal and the blowing signal preset Characterizing whether the time slice frequency domain signal is a blow signal; determining a proportion of a time slice frequency domain signal of the blow signal in at least one time slice frequency domain signal; determining that at least one time slice frequency domain signal is a blow signal Whether the proportion of the time slice frequency domain signal is greater than or equal to the first preset threshold; when the time slice frequency domain signal of the blow signal is at least one time slice frequency domain signal, the proportion of the frequency domain signal is greater than or equal to the first preset At the threshold, it is determined that the audio signal is a blow signal; otherwise it is determined that the audio signal is not a blow signal.
  • the processing unit 111 is further configured to perform windowed fast Fourier transform processing on the audio signal after the sensor module 10 acquires the audio signal, to obtain the frequency domain signal of the audio signal.
  • the audio signal is smoothed and equalized so that the signal characteristics of the audio signal in the frequency domain can become more apparent.
  • the obtaining unit 114 is specifically configured to obtain an average signal strength of each of the time slice frequency domain signals in the at least one time slice frequency domain signal, to obtain at least one average signal strength; The average of the average signal strength is taken as the blowing signal strength.
  • the preset characteristics of the air blowing signal in this embodiment include that the maximum strength of the low frequency band signal is greater than the average intensity of the high frequency band signal, and reaches a second preset threshold, and the mean square error of the low frequency band signal is less than or equal to the first
  • the three preset thresholds and the maximum value of the high frequency band signal are less than or equal to at least one of the fourth preset thresholds.
  • the processing module 12 is specifically configured to acquire image processing parameters according to the insufflation signal strength acquired by the obtaining module 11; and process the image according to the image processing parameters.
  • the processing module 12 may be specifically connected to the acquiring unit 114, and acquire image processing parameters according to the intensity of the blowing signal acquired by the acquiring unit 114; Line processing.
  • the processing module 12 is specifically configured to acquire image processing parameters corresponding to the blow signal strength according to the correspondence between the blow signal strength and the preset blow signal strength and the image processing parameter; and according to the image processing parameter Process the image.
  • the mobile terminal of this embodiment can effectively overcome the defects of the mobile terminal of the image processing method in the prior art by adopting the above module.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • Embodiment 5
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention. As shown in Figure 5, the entity:
  • the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity,
  • the Wireless Fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the mobile terminal structure illustrated in Figure 4 does not constitute a limitation to the mobile terminal, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements. Its towel:
  • the RF circuit 110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices via wireless communication.
  • SIM Subscriber Identity Module
  • the wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile) Communication, Global System for Mobile Communications, GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution, e-mail, SMS (Short Messaging Service), etc.).
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile terminal 1200 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 can also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • Input unit 130 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch sensitive surface 131 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, optionally, may
  • the display panel 141 is configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Mobile terminal 1200 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the mobile terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the mobile terminal 110 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • the audio circuit 160 may also include an earphone jack to provide communication of the peripheral earphones with the mobile terminal 1200.
  • WiFi is a short-range wireless transmission technology
  • the mobile terminal 1200 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and can be completely saved as needed without changing the essence of the invention.
  • the processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. , performing various functions and processes of the mobile terminal 1200 Data to monitor the phone as a whole.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the mobile terminal 1200 further includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal 1200 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the mobile terminal is a touch screen display, and the mobile terminal further includes a memory,
  • the audio signal is collected by the sensor of the mobile terminal; the intensity of the blown signal is obtained according to the collected audio signal; and the image is processed according to the intensity of the blown signal.
  • the memory of the mobile terminal further includes Instructions for the following operations:
  • the blow signal strength is obtained based on the at least one time slice frequency domain signal.
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • the audio signal is smoothed and equalized.
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • An average of the at least one average signal strength is taken as the blow signal strength.
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • the preset characteristic of the blow signal includes that the maximum intensity of the low frequency band signal is greater than the average intensity of the high frequency band signal, and reaches a second preset threshold, and the mean square error of the low frequency band signal is less than or equal to the third preset threshold and the high frequency band signal.
  • the maximum value is less than or equal to at least one of the fourth predetermined thresholds.
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • the image is processed in accordance with the image processing parameters.
  • the memory of the mobile terminal further includes an instruction for performing the following operations:
  • the mobile terminal of this embodiment can effectively overcome the image in the prior art by adopting the above module. A defect in the handling of mobile terminals.
  • the user does not need to manually control the mouse or the touchpad to perform image processing, and the image processing can be realized only by blowing air, and a new image processing scheme is provided, which can effectively improve image processing. Efficiency, reducing operational complexity.
  • still another embodiment of the present invention provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the above embodiment; There is a computer readable storage medium that is not incorporated into the mobile terminal.
  • the computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a mobile terminal image processing method, the method comprising:
  • the image is processed according to the intensity of the blown signal.
  • the acquiring the intensity of the blowing signal according to the collected audio signal includes:
  • the blow signal strength is obtained based on the at least one time slice frequency domain signal.
  • the audio signal is identified as being blown according to the preset characteristics of the at least one time slice frequency domain signal and the air blowing signal.
  • Signals including:
  • the method further includes:
  • the audio signal is smoothed and equalized.
  • the blowing signal strength is obtained according to the at least one time slice frequency domain signal, including:
  • An average of the at least one average signal strength is taken as the blow signal strength.
  • the preset characteristic of the air blowing signal includes that the maximum intensity of the low frequency band signal is greater than the average intensity of the high frequency band signal, and When the second preset threshold is reached, the mean square error of the low frequency band signal is less than or equal to the third preset threshold and the maximum value of the high frequency band signal is less than or equal to at least one of the fourth preset thresholds.
  • the image is processed according to the intensity of the blown signal, comprising:
  • the image is processed in accordance with the image processing parameters.
  • obtaining image processing parameters according to the insufflation signal strength includes:
  • another embodiment of the present invention further provides a graphical user interface, where the graphical user interface is used on a mobile terminal, where the mobile terminal includes a touch screen display, a memory, and is configured to perform one or more One or more processors of the program; the graphical user interface includes: Acquiring audio signals through sensors of the mobile terminal;
  • the image is processed according to the intensity of the blown signal.
  • the mobile terminal provided by the foregoing embodiment is only illustrated by the division of each functional module. In actual applications, the function allocation may be completed by different functional modules as needed, that is, moving. The internal structure of the terminal is divided into different functional modules to perform all or part of the functions described above.
  • the mobile terminal provided by the foregoing embodiment is the same as the method embodiment of the mobile terminal image processing, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种移动终端图像处理方法及移动终端,属于计算机技术领域。所述方法包括:通过移动终端的传感器采集音频信号;根据所采集的音频信号获取吹气信号强度;根据所述吹气信号强度对图像进行处理。本发明通过。取吹气信号强度;并根据吹气信号强度对图像进行处理,能够有效地克服现有技术中图像处理方式的处理效率低,操作复杂度高的缺陷。本发明的技术方案中,用户不需要通过手动控制鼠标或者触摸板进行图像处理,仅通过吹气便可以实现对图像的处理,提供了一种新的图像处理方案,能够有效地提高图像处理效率,降低操作复杂度。

Description

说 明 书
移动终端图像处理方法及移动终端
本申请要求于 2012 年 10 月 17 日提交中国专利局、 申请号为 2012103938700、 发明名称为 "移动终端图像处理方法及移动终端" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及移动终端领域,特别涉及一种移动终端图像处理方法及移动终 端。 背景技术
在现有技术中, 几乎所有的图像处理工具都是通过鼠标或者触摸板来完成 操作, 例如在个人计算机( Personal Computer, PC )上, 用户可以通过鼠标借 助于 photoshop或者美图秀秀等图像处理工具对图像进行处理。在移动终端上, 用户可以通过触摸板借助于现有的图像处理工具来完成对图像的处理工作。如 现有的移动终端上适用的图像处理工具可以有美图秀秀 iPhone版或者 Android 版等等, 以及魔图精灵 iPhone版或者 Android版等等。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 现有技术的上述图像处理方式的交互过于单一, 用户必须通过手动控制鼠 标或者触摸板才能进行图像处理, 处理效率低, 操作复杂度高。 发明内容
为了解决现有技术的问题, 本发明实施例提供了一种移动终端图像处理方 法及移动终端。 所述技术方案如下:
一方面, 提供了一种移动终端图像处理方法, 所述方法包括:
通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。 另一方面, 提供了一种移动终端, 所述移动终端包括:
传感器模块, 用于采集音频信号;
获取模块, 用于根据所采集的音频信号获取吹气信号强度;
处理模块, 用于根据所述吹气信号强度对图像进行处理。 本发明实施例提供的移动终端图像处理方法及移动终端, 通过移动终端的 传感器采集音频信号; 根据所采集的音频信号获取吹气信号强度; 并根据所述 吹气信号强度对图像进行处理。 采用本发明实施例的技术方案, 能够根据吹气 信号强度对图像进行处理, 能够有效地克服现有技术中图像处理方式的处理效 率低, 操作复杂度高的缺陷。 本发明实施例的技术方案中, 用户不需要通过手 动控制鼠标或者触摸板进行图像处理, 仅通过吹气便可以实现对图像的处理, 提供了一种新的图像处理方案, 能够有效地提高图像处理效率, 降低操作复杂 度。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一提供的移动终端图像处理方法的流程图;
图 2为本发明实施例二提供的移动终端图像处理方法的流程图;
图 3为本发明实施例三提供的移动终端的结构示意图;
图 4为本发明实施例四提供的移动终端的结构示意图;
图 5为本发明实施例五提供的移动终端的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。
实施例一
图 1为本发明实施例一提供的移动终端图像处理方法的流程图。如图 1所 示, 本实施例的移动终端图像处理方法, 具体可以包括如下步骤: 100、 通过移动终端的传感器采集音频信号;
101、 根据所采集的音频信号获取吹气信号强度;
102、 根据吹气信号强度对图像进行处理。
本实施例的移动终端图像处理方法的执行主体为移动终端, 该移动终端中 设置有传感器, 用于采集并接收用户吹气形成的音频信号。 且该移动终端中还 设置有显示器, 用于显示要处理的图像, 以及用于显示根据吹气信号强度对图 像进行处理的图像。 该实施方式的步骤 100- 102具体可以通过程序指令相关的 硬件来实现。 前述的程序可以存储于一计算机可读取存储介质中。 该程序在执 行时, 执行包括上述各方法实施例的步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
本实施例的移动终端图像处理方法, 通过获取吹气信号强度; 并根据所述 吹气信号强度对图像进行处理。 采用本实施例的技术方案, 能够根据吹气信号 强度对图像进行处理, 能够有效地克服现有技术中图像处理方式的处理效率 低, 操作复杂度高的缺陷。 本实施例的技术方案中, 用户不需要通过手动控制 鼠标或者触摸板进行图像处理, 仅通过吹气便可以实现对图像的处理, 提供了 一种新的图像处理方案, 能够有效地提高图像处理效率, 降低操作复杂度。
可选地, 在上述图 1所示实施例的基石出上, 其中步骤 101 "根据所采集的 音频信号获取吹气信号强度", 具体可以包括如下步骤:
( 1 )对音频信号进行加窗的快速傅里叶变换( Fast Fourier Transform, FFT ) 处理, 得到音频信号的频域信号;
( 2 )将音频信号的频域信号划分成至少一个时间片频域信号;
具体地, 音频信号的频域信号可以按照时间片为周期划分成连续的时间片 频域信号; 本实施例中, 每一个时间片即表示一个时间周期, 本实施例中的时 间片的大小根据实际需求设置。且本实施例中划分得到的至少一个时间片频域 信号在时间上是连续的。 即在划分至少一个时间片频域信号时, 按照时间由前 到后的顺序来顺次划分。
( 3 )根据至少一个时间片频域信号和吹气信号的预设特性识别音频信号 是否为吹气信号; 当音频信号是吹气信号时, 执行步骤(4 ); 当音频信号不是 吹气信号时, 结束。 此时可以在显示器的界面上向用户提示该音频信号不是吹 气信号。
由于吹气信号为一种特定的低频信号。该步骤具体就是要根据至少一个时 间片频域信号和吹气信号的预设特性识别音频信号是否为该特定的低频信号。 其中, 若时间片频域信号满足吹气信号的预设特性, 则确定该时间片频域 信号为该特定的低频信号; 若时间片频域信号不满足吹气信号的预设特性, 则 确定该时间片频域信号不为该特定的低频信号。
具体地, 步骤(3 ) 中的根据至少一个时间片频域信号和吹气信号的预设 特性识别音频信号是否为吹气信号, 具体可以包括如下步骤:
( a )对于至少一个时间片频域信号中的每一个时间片频域信号, 根据该 时间片频域信号和吹气信号的预设特性识别该时间片频域信号是否为吹气信 号;
具体地, 若时间片频域信号满足吹气信号的预设特性, 则确定该时间片频 域信号为吹气信号; 若时间片频域信号不满足吹气信号的预设特性, 则确定该 时间片频域信号不为吹气信号。
其中, 该步骤是利用吹气信号的预设特性对每一个时间片频域信号进行识 别, 以确定每一个时间片频域信号是否为吹气信号。
例如该吹气信号的预设特性包括如下中的至少一个: 第一、 低频带信号的 最大强度大于高频段信号的平均强度, 并达到第二预设阈值; 第二、 低频段信 号的均方差小于或等于第三预设阈值, 即低频段信号分布要较为平均; 第三、 高频段信号的最大值小于或等于第四预设阈值, 即高频段信号没有明显较强的 峰值。 本实施例中的第二预设阈值、 第三预设阈值和第四预设阈值均可以根据 经验获取到。 且吹气信号的预设特性包括的上述第一、 第二和第三中的特性越 多, 识别时间片频域信号是否为吹气信号的精确度越高。
具体地, 上述该步骤的一种可选的实现方式中, 可以设置一个累计器来对 位吹气信号的时间片频域信号数目进行计数, 累计器的初始值设置为 0。 对于 至少一个时间片频域信号中的每一个时间片频域信号, 若该时间片频域信号满 足吹气信号的预设特性,则确定该时间片频域信号为吹气信号,将累计器加 1。 否则对累计器不累加。 对至少一个时间片频域信号识别结束之后, 该累计器所 记的数值即为至少一个时间片频域信号中是吹气信号的时间片频域信号的数 目。
( b )确定至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例;
将上述步骤确定的至少一个时间片频域信号中是吹气信号的时间片频域 信号的数目除以至少一个时间片频域信号的总数即可以得到至少一个时间片 频域信号中是吹气信号的时间片频域信号所占的比例。
( C )判断至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例是否大于或等于第一预设阈值; 当至少一个时间片频域信号中是吹气信 号的时间片频域信号所占的比例大于或等于第一预设阈值时, 执行步骤(d ); 否则执行步骤(e );
( d )、 确定音频信号为吹气信号; 执行步骤(4 )
( e )确定音频信号不是吹气信号。
具体地, 根据步骤(a ) 中识别出的每一个时间片频域信号是否为吹气信 号的识别结果, 可以得到至少一个时间片频域信号中是吹气信号的时间片频域 信号的数目。 例如在至少一个时间片频域信号是否为吹气信号的识别结束中, 累计器所记的数值即表示至少一个时间片频域信号中是吹气信号的时间片频 域信号的数目。 然后根据步骤(b )可以确定该至少一个时间片频域信号中是 吹气信号的时间片频域信号所占的比例。 当该比例大于或等于第一预设阈值 时, 该音频信号为吹气信号, 否则该音频信号不是吹气信号。 其中的第一预设 阈值可以根据实际需求设置为 0 到百分之百之间的任意百分数。 例如可以为 70%„ 或者 80%。
( 4 )根据至少一个时间片频域信号获取吹气信号强度。
当确定音频信号为吹气信号时,根据至少一个时间片频域信号获取吹气信 号强度具体可以为: 先获取至少一个时间片频域信号中每一个时间片频域信号 的平均信号强度, 得到至少一个平均信号强度; 然后取至少一个平均信号强度 的平均值作为吹气信号强度。
采用上述实施例的具体方式, 当音频信号为吹气信号时, 可以获取到吹气 信号强度。
进一步可选地, 在上述实施例的步骤(1 )对音频信号进行加窗的快速傅 里叶变换处理, 得到音频信号的频域信号之前, 还可以包括如下步骤: 对音频 信号进行平滑处理和均衡化处理。 该步骤主要用于对采集到的音频信号进行前 期的平滑以及自定义的均衡化,使得音频信号在频域上的信号特征能够变得更 加明显。
进一步可选地,在上述图 1所示实施例的技术方案的基石出上,步骤 102 "根 据吹气信号强度对图像进行处理", 具体可以包括: ( i )根据吹气信号强度获 取图像处理参数。
其中, 根据吹气信号强度获取图像处理参数具体可以为: 根据吹气信号强 度和预设的吹气信号强度与图像处理参数之间的对应关系, 获取吹气信号强度 对应的图像处理参数。具体可以在移动终端中预设吹气信号强度与图像处理参 数之间的对应关系, 例如当吹气信号强度为 A时, 图像处理参数为 0.8; 吹气 信号强度为 B时, 图像处理参数为 1.2; 当吹气信号强度为 C时, 图像处理参 数为 1.5等等。 这里的图像处理参数具体可以表示需要处理后的图像与当前图 像的大小比例关系。 即图像处理参数为 0.8即表示将当前图像缩小 0.8倍。 图 像处理参数为 1.5即表示将当前图像放大 1.5倍。 实际应用中, 可以在移动终 端中预设有吹气信号强度与图像处理参数之间的对应关系表。
需要说明的是, 本实施例中的图像处理参数仅为举例, 并不对本申请权利 要求所保护的图像处理参数做任何限定, 实际的图像处理参数可以根据实际需 求为其他任意值。
其中,预设的吹气信号强度与图像处理参数之间的对应关系可以为——对 应关系, 也可以为多对一的对应关系, 即某一区域范围的吹气信号强度值对应 同一个图像处理参数。
或者,还可以根据经验预设吹气信号强度与图像处理参数之间的函数关系 (具体什么函数不作限定), 当确定吹气信号强度时, 便可以会根据预设的函 数关系确定图像处理参数。
( ϋ )根据图像处理参数对图像进行处理。
本发明实施例中所涉及的对图像进行处理主要包括对图像进行放大或者 缩小处理。
例如根据上述记载, 具体可以根据图像处理参数对图像进行放大或者缩小 处理。 需要说明的是, 在该步骤( ii )之前, 还可以包括选取图像中要处理的 指定区域, 具体可以根据图像处理参数对图像中要处理的指定区域进行放大或 者缩小处理。 例如可以由用户通过触摸屏或者鼠标选择图像要进行处理的指定 区域。 如图像为人脸的话, 可以选择人脸中的眼睛、 鼻子或者嘴巴或者额头等 图像中的某一指定区域进行放大或者缩小处理。 当未选择图像中要处理的指定 区域时, 可以理解为需要对整个图像进行处理。
需要说明的是, 为了增强图像处理的趣闻性, 可以在显示的图像边缘设一 个吹气管, 让用户感觉用户通过麦克风吹的气通过该吹气管吹入该图像, 从而 实现对该图像进行放大或者缩小处理。 并在图像处理参数大于 1和小于 1时, 将吹气管设置的插入深度不同,从而有效地区分缩小和放大图像时吹气管的表 现形式。 例如可以取一个图像处理参数为 1时的深度刻度阈值, 当图像处理参 数大于 1时显示的吹气管插入深度深于深度刻度阈值, 而当图像处理参数小于 1时显示的吹气管插入深度浅于深度刻度阈值。
需要说明的是, 在对图像或者图像中要处理的指定区域进行处理时, 具体 可以利用自定义的图像处理算法实现对图像或者图像中要处理的指定区域进 行处理。 本实施例中的图像处理算法具体可以为类似于液化, 羽化等算法, 使 得图像或者图像中的指定区域在放大或者缩小时变化比较柔和、 比较自然。
上述所有可选技术方案, 可以采用任意结合形成本发明的可选实施例, 在 此不再一一赘述。
上述实施例的移动终端图像处理方法, 能够根据吹气信号强度对图像进行 处理, 能够有效地克服现有技术中图像处理方式的处理效率低, 操作复杂度高 的缺陷。 上述实施例的技术方案中, 用户不需要通过手动控制鼠标或者触摸板 进行图像处理, 仅通过吹气便可以实现对图像的处理, 提供了一种新的图像处 理方案, 能够有效地提高图像处理效率, 降低操作复杂度。 实施例二
图 2为本发明实施例二提供的移动终端图像处理方法的流程图。如图 2所 示, 本实施例的图像处理方法, 具体可以包括如下步骤:
200、 用户在移动终端显示器上打开要处理的图像;
例如具体还可以进一步选择该图像的某一指定区域进行处理。本实施例中 以处理整个图像为例来详细介绍本发明的技术方案。
201、 用户对与移动终端相连的麦克风吹气;
具体地, 用户可以根据经验控制对麦克风吹入气体的强度。
202、 移动终端的传感器采集用户通过麦克风吹气的音频信号;
本实施例中移动终端的传感器与麦克风连接。
203、 移动终端对音频信号进行平滑处理和均衡化处理;
采用该步骤可以使得音频信号在频域上的信号特征能够变得更加明显。
204、 移动终端对音频信号进行加窗的 FFT处理, 得到音频信号的频域信 号; 205、 移动终端将音频信号划分为 10个连续的时间片频域信号; 实际应用中,根据吹入信号的大小以及时间片的大小划分的时间片频域信 号的数目可以不同。 其中时间片的大小可以根据实际需求设定。 本实施例中以 将音频信号划分为 10个时间片频域信号为例介绍本发明的技术方案, 该数字 并不对本发明实施例的技术方案做任何限定。
206、 对于 10个时间片频域信号中的每个时间片频域信号, 移动终端根据 该时间片频域信号和吹气信号的预设特性识别该时间片频域信号是否为吹气 信号, 若是, 将累加器加 1 , 否则累加器不增加数值; 重复此步骤直到对 10 个时间片频域信号识别结束;
其中, 累加器的初始值为 0。 对 10个时间片频域信号识别完毕之后, 累加 器的数值即为 10个时间片频域信号中是吹气信号的数目。
207、移动终端将累加器记录的数值除以 10,得到 10个时间片频域信号中 吹气信号的时间片频域信号所占的比例;
208、 移动终端判断所得的比例是否大于或等于第一预设阈值; 若大于或 等于时, 执行步骤 209; 否则执行步骤 210;
具体地, 即判断 10个时间片频域信号中吹气信号的时间片频域信号所占 的比例是否大于或等于第一预设阈值。例如该第一预设阈值可以根据实际情况 设置为 0.7即百分之七十。此时, 当 10个时间片频域信号中有 7个或者 7个以 上的时间片频域信号可以认为该音频信号为吹气信号; 否则认为该音频信号不 为吹气信号。
209、 移动终端确定音频信号为吹气信号; 执行步骤 211 ;
210、 移动终端确定音频信号不是吹气信号, 结束。
具体在实现时, 移动终端可以在显示器界面上提示用户 "采集的音频信号 不是吹气信号, 无法根据该音频信号对图像进行处理"。
211、 移动终端获取 10个时间片频域信号中每一个时间片频域信号的平均 信号强度, 得到 10个平均信号强度, 再取 10个平均信号强度的平均值作为吹 气信号强度;
212、 移动终端根据吹气信号强度和预设的吹气信号强度与图像处理参数 之间的对应关系, 获取图像处理参数;
具体地,移动终端根据吹气信号强度从预设的吹气信号强度与图像处理参 数之间的对应关系, 获取与吹气信号强等对应的图像处理参数。 213、 移动终端根据图像处理参数对图像进行放大或者缩小处理。
具体地, 当图像处理参数大于 1时, 对图像进行放大处理。 当图像处理参 数小于 1时, 对图像进行缩小处理。
本实施例的移动终端图像处理方法, 能够根据吹气信号强度对图像进行处 理, 能够有效地克服现有技术中图像处理方式的处理效率低, 操作复杂度高的 缺陷。 本实施例的技术方案中, 用户不需要通过手动控制鼠标或者触摸板进行 图像处理, 仅通过吹气便可以实现对图像的处理, 提供了一种新的图像处理方 案, 能够有效地提高图像处理效率, 降低操作复杂度。 实施例三
图 3为本发明实施例三提供的移动终端的结构示意图。 如图 3所示, 本实 施例的移动终端, 具体可以包括传感器模块 10、 获取模块 11和处理模块 12。
其中传感器模块 10用于采集音频信号; 获取模块 11用于根据传感器模块 10所采集的音频信号获取吹气信号强度; 处理模块 12与获取模块 11连接, 处 理模块 12用于根据获取模块 11获取的吹气信号强度对图像进行处理。
本实施例的移动终端, 通过采用上述模块实现移动终端图像处理与上述相 应方法实施例实现机制相同, 详细可以参考上述相关方法实施例的记载, 在此 不再赘述。
本实施例的移动终端, 通过采用上述模块能够采集音频信号; 根据所采集 的音频信号根据吹气信号强度对图像进行处理, 能够有效地克服现有技术中图 像处理方式的处理效率低, 操作复杂度高的缺陷。 上述实施例的技术方案中, 用户不需要通过手动控制鼠标或者触摸板进行图像处理,仅通过吹气便可以实 现对图像的处理, 提供了一种新的图像处理方案, 能够有效地提高图像处理的 效率, 降低操作复杂度。 实施例四
图 4为本发明实施例四提供的移动终端的结构示意图。 如图 4所示, 本实 施例的移动终端在上述图 3所示实施例的基础上, 进一步还可以包括如下技术 方案。
如图 4所示, 本实施例的移动终端中的获取模块 11具体可以包括处理单 元 111、 划分单元 112、 识别单元 113和获取单元 114。 处理单元 111与传感器模块 10连接, 处理单元 111用于对传感器模块 10 采集的音频信号进行加窗的快速傅里叶变换处理, 得到音频信号的频域信号; 划分单元 112与处理单元 111连接, 划分单元 112用于将处理单元 111得到的 音频信号的频域信号划分成至少一个时间片频域信号; 识别单元 113与划分单 元 112连接, 识别单元 113用于根据划分单元 112划分得到的至少一个时间片 频域信号和吹气信号的预设特性识别音频信号是否为吹气信号; 获取单元 114 与识别单元 113连接, 获取单元 114用于当识别单元 113识别得到音频信号是 吹气信号时, 根据至少一个时间片频域信号获取吹气信号强度。
进一步可选地, 本实施例的移动终端中识别单元 113具体用于对于至少一 个时间片频域信号中的每一个时间片频域信号 ,根据该时间片频域信号和吹气 信号的预设特性识别时间片频域信号是否为吹气信号; 确定至少一个时间片频 域信号中是吹气信号的时间片频域信号所占的比例; 判断至少一个时间片频域 信号中是吹气信号的时间片频域信号所占的比例是否大于或等于第一预设阈 值; 当至少一个时间片频域信号中是吹气信号的时间片频域信号所占的比例大 于或等于第一预设阈值时, 确定音频信号为吹气信号; 否则确定音频信号不是 吹气信号。
进一步可选地, 本实施例的移动终端中, 处理单元 111还用于在传感器模 块 10采集音频信号之后, 对音频信号进行加窗的快速傅里叶变换处理, 得到 音频信号的频域信号之前, 对音频信号进行平滑处理和均衡化处理, 以使得音 频信号在频域上的信号特征能够变得更加明显。
进一步可选地, 本实施例的移动终端中, 获取单元 114具体用于获取至少 一个时间片频域信号中每一个时间片频域信号的平均信号强度,得到至少一个 平均信号强度; 取至少一个平均信号强度的平均值作为吹气信号强度。
需要说明的是, 本实施例中的吹气信号的预设特性包括低频带信号的最大 强度大于高频段信号的平均强度, 并达到第二预设阈值、 低频段信号的均方差 小于或等于第三预设阈值和高频段信号的最大值小于或等于第四预设阈值中 的至少一个。
进一步可选地, 本实施例的移动终端中, 处理模块 12具体用于根据获取 模块 11 获取的吹气信号强度获取图像处理参数; 根据图像处理参数对图像进 行处理。 如图 4所示, 处理模块 12具体可以与获取单元 114连接, 根据获取 单元 114获取的吹气信号强度获取图像处理参数; 根据图像处理参数对图像进 行处理。
进一步可选地, 处理模块 12具体用于根据吹气信号强度和预设的吹气信 号强度与图像处理参数之间的对应关系, 获取吹气信号强度对应的图像处理参 数; 并根据图像处理参数对图像进行处理。
本实施例的上述所有可选技术方案, 可以采用任意结合形成本发明的可选 实施例, 在此不再——赞述。
本实施例的移动终端, 通过采用上述模块实现图像处理与上述相应方法实 施例实现机制相同,详细可以参考上述相关方法实施例的记载,在此不再赞述。
本实施例的移动终端, 通过采用上述模块能够有效地克服现有技术中图像 处理方式的移动终端的缺陷。 本实施例的技术方案中, 用户不需要通过手动控 制鼠标或者触摸板进行图像处理, 仅通过吹气便可以实现对图像的处理, 提供 了一种新的图像处理方案, 能够有效地提高图像处理效率, 降低操作复杂度。 实施例五
图 5为本发明实施例五提供的移动终端的结构示意图。 如图 5所示, 本实 体来讲:
移动终端 1200可以包括 RF ( Radio Frequency, 射频) 电路 110、 包括有 一个或一个以上计算机可读存储介质的存储器 120、 输入单元 130、 显示单元 140、 传感器 150、 音频电路 160、 WiFi(wireless fidelity, 无线保真)模块 170、 包括有一个或者一个以上处理核心的处理器 180、 以及电源 190等部件。 本领 域技术人员可以理解,图 4中示出的移动终端结构并不构成对移动终端的限定, 可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 其巾:
RF电路 110可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下行信息接收后, 交由一个或者一个以上处理器 180处理; 另外, 将 涉及上行的数据发送给基站。 通常, RF电路 110包括但不限于天线、 至少一 个放大器、 调谐器、 一个或多个振荡器、 用户身份模块(SIM )卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此外, RF 电路 110还可以通过无线通信与网络和其他设备通信。 所述无线通信可以使用 任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS(General Packet Radio Service, 通 用分组无线服务)、 CDMA(Code Division Multiple Access , 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution, 长期演进)、 电子邮件、 SMS(Short Messaging Service, 短消息 服务)等。
存储器 120可用于存储软件程序以及模块, 处理器 180通过运行存储在存 储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。 存储器 120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存 储数据区可存储根据移动终端 1200的使用所创建的数据(比如音频数据、 电 话本等)等。 此外, 存储器 120可以包括高速随机存取存储器, 还可以包括非 易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存 储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180和 输入单元 130对存储器 120的访问。
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户设置以 及功能控制有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 具体地, 输入单元 130可包括触敏表面 131 以及其他输入设备 132。 触敏表面 131 , 也 称为触摸显示屏或者触控板, 可收集用户在其上或附近的触摸操作 (比如用户 使用手指、 触笔等任何适合的物体或附件在触敏表面 131上或在触敏表面 131 附近的操作), 并根据预先设定的程式驱动相应的连接装置。 可选的, 触敏表 面 131可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置检测 用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触 摸控制器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处 理器 180, 并能接收处理器 180发来的命令并加以执行。 此外, 可以采用电阻 式、 电容式、 红外线以及表面声波等多种类型实现触敏表面 131。 除了触敏表 面 131 , 输入单元 130还可以包括其他输入设备 132。 具体地, 其他输入设备 132可以包括但不限于物理键盘、 功能键(比如音量控制按键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及移动 终端 1200的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构成。 显示单元 140可包括显示面板 141 , 可选的, 可以 采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板 141。 进一步的, 触敏表面 131 可覆盖显示面板 141 , 当触敏表面 131检测到在其上或附近的触摸操作后, 传 送给处理器 180以确定触摸事件的类型, 随后处理器 180根据触摸事件的类型 在显示面板 141上提供相应的视觉输出。 虽然在图 11 中, 触敏表面 131与显 示面板 141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例 中, 可以将触敏表面 131与显示面板 141集成而实现输入和输出功能。
移动终端 1200还可包括至少一种传感器 150, 比如光传感器、运动传感器 以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中, 环境光传感器可根据环境光线的明暗来调节显示面板 141的亮度,接近传感器 可在移动终端 1200移动到耳边时, 关闭显示面板 141和 /或背光。 作为运动传 感器的一种, 重力加速度传感器可检测各个方向上(一般为三轴)加速度的大 小, 静止时可检测出重力的大小及方向, 可用于识别手机姿态的应用 (比如横 竖屏切换、 相关游戏、 磁力计姿态校准)、 振动识别相关功能(比如计步器、 敲击)等; 至于移动终端 1200还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其他传感器, 在此不再贅述。
音频电路 160、 扬声器 161 , 传声器 162可提供用户与移动终端 1200之间 的音频接口。 音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬 声器 161 , 由扬声器 161转换为声音信号输出; 另一方面, 传声器 162将收集 的声音信号转换为电信号, 由音频电路 160接收后转换为音频数据, 再将音频 数据输出处理器 180处理后, 经 RF电路 110以发送给比如另一移动终端, 或 者将音频数据输出至存储器 120以便进一步处理。音频电路 160还可能包括耳 塞插孔, 以提供外设耳机与移动终端 1200的通信。
WiFi属于短距离无线传输技术,移动终端 1200通过 WiFi模块 170可以帮 助用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽 带互联网访问。 虽然图 11示出了 WiFi模块 170, 但是可以理解的是, 其并不 属于移动终端 1200的必须构成, 完全可以根据需要在不改变发明的本质的范 围内而省格。
处理器 180是移动终端 1200的控制中心, 利用各种接口和线路连接整个 手机的各个部分, 通过运行或执行存储在存储器 120内的软件程序和 /或模块, 以及调用存储在存储器 120内的数据, 执行移动终端 1200的各种功能和处理 数据, 从而对手机进行整体监控。 可选的, 处理器 180可包括一个或多个处理 核心; 优选的, 处理器 180可集成应用处理器和调制解调处理器, 其中, 应用 处理器主要处理操作系统、 用户界面和应用程序等, 调制解调处理器主要处理 无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器 180中。
移动终端 1200还包括给各个部件供电的电源 190 (比如电池), 优选的, 电源可以通过电源管理系统与处理器 180逻辑相连,从而通过电源管理系统实 现管理充电、 放电、 以及功耗管理等功能。 电源 190还可以包括一个或一个以 上的直流或交流电源、 再充电系统、 电源故障检测电路、 电源转换器或者逆变 器、 电源状态指示器等任意组件。
尽管未示出, 移动终端 1200还可以包括摄像头、 蓝牙模块等, 在此不再 贅述。 具体在本实施例中, 移动终端的显示单元是触摸屏显示器, 移动终端还 包括有存储器, 以
及一个或者一个以上的程序, 其中一个或者一个以上程序存储于存储器 中, 且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含 用于进行以下操作的指令:
通过移动终端的传感器采集音频信号; 根据所采集的音频信号获取吹气信 号强度; 根据所述吹气信号强度对图像进行处理。
4叚设上述为第一种可能的实施方式, 则在第一种可能的实施方式作为基石出 而提供的第二种可能的实施方式中, 所述移动终端的存储器中, 还包含用于执 行以下操作的指令:
对所述音频信号进行加窗的快速傅里叶变换处理,得到所述音频信号的频 域信号;
将所述音频信号的频域信号划分成至少一个时间片频域信号;
根据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频 信号是否为吹气信号;
当所述音频信号是吹气信号时,根据所述至少一个时间片频域信号获取所 述吹气信号强度。
在第二种可能的实施方式作为基石出而提供的第三种可能的实施方式中, 所 述移动终端的存储器中, 还包含用于执行以下操作的指令:
对于所述至少一个时间片频域信号中的每一个时间片频域信号 ,根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为 吹气信号;
确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例;
判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例是否大于或等于第一预设阈值;
当所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例大于或等于所述第一预设阈值时, 确定所述音频信号为所述吹气信号; 否 则确定所述音频信号不是所述吹气信号。
在第二或者第三种可能的实施方式作为基础而提供的第四种可能的实施 方式中, 所述移动终端的存储器中, 还包含用于执行以下操作的指令:
对所述音频信号进行平滑处理和均衡化处理。
在第四种可能的实施方式作为基石出而提供的第五种可能的实施方式中, 所 述移动终端的存储器中, 还包括用于执行以下操作的指令:
获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均 信号强度, 得到至少一个平均信号强度;
取所述至少一个平均信号强度的平均值作为所述吹气信号强度。
在第二或者第三种可能的实施方式作为基础而提供的第六种可能的实施 方式中, 所述移动终端的存储器中, 还包括用于执行以下操作的指令:
所述吹气信号的预设特性包括低频带信号的最大强度大于高频段信号的 平均强度, 并达到第二预设阈值、 低频段信号的均方差小于或等于第三预设阈 值和高频段信号的最大值小于或等于第四预设阈值中的至少一个。
在第一种可能的实施方式作为基石出而提供的第七种可能的实施方式中, 所 述移动终端的存储器中, 还包含用于执行以下操作的指令:
根据所述吹气信号强度获取图像处理参数;
根据所述图像处理参数对所述图像进行处理。
在第七种可能的实施方式作为基石出而提供的第八种可能的实施方式中, 所 述移动终端的存储器中, 还包含用于执行以下操作的指令:
根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对 应关系, 获取所述吹气信号强度对应的所述图像处理参数。 本实施例的移动终端, 通过采用上述模块能够有效地克服现有技术中图像 处理方式的移动终端的缺陷。 本实施例的技术方案中, 用户不需要通过手动控 制鼠标或者触摸板进行图像处理, 仅通过吹气便可以实现对图像的处理, 提供 了一种新的图像处理方案, 能够有效地提高图像处理效率, 降低操作复杂度。 作为另一方面, 本发明再一实施例还提供了一种计算机可读存储介质, 该 计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存 储介质; 也可以是单独存在, 未装配入移动终端中的计算机可读存储介质。 所 述计算机可读存储介质存储有一个或者一个以上程序, 所述一个或者一个以上 程序被一个或者一个以上的处理器用来执行一个移动终端图像处理方法, 所述 方法包括:
通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。
假设上述为第一种可能的实施方式, 则在第一种可能的实施方式作为基础 而提供的第二种可能的实施方式中,
所述根据所采集的音频信号获取吹气信号强度, 包括:
对所述音频信号进行加窗的快速傅里叶变换处理,得到所述音频信号的频 域信号;
将所述音频信号的频域信号划分成至少一个时间片频域信号;
根据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频 信号是否为吹气信号;
当所述音频信号是吹气信号时,根据所述至少一个时间片频域信号获取所 述吹气信号强度。
在第二种可能的实施方式作为基石出而提供的第三种可能的实施方式中,根 据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频信号是 否为吹气信号, 包括:
对于所述至少一个时间片频域信号中的每一个时间片频域信号,根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为 吹气信号;
确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例; 判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占 的比例是否大于或等于第一预设阈值;
当所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例大于或等于所述第一预设阈值时, 确定所述音频信号为所述吹气信号; 否 则确定所述音频信号不是所述吹气信号。
在第二或者第三种可能的实施方式作为基础而提供的第四种可能的实施 方式中, 所述采集音频信号之后, 对所述音频信号进行加窗的快速傅里叶变换 处理, 得到所述音频信号的频域信号之前, 所述方法还包括:
对所述音频信号进行平滑处理和均衡化处理。
在第四种可能的实施方式作为基石出而提供的第五种可能的实施方式中,根 据所述至少一个时间片频域信号获取所述吹气信号强度, 包括:
获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均 信号强度, 得到至少一个平均信号强度;
取所述至少一个平均信号强度的平均值作为所述吹气信号强度。
在第二或者第三种可能的实施方式作为基础而提供的第六种可能的实施 方式中, 所述吹气信号的预设特性包括低频带信号的最大强度大于高频段信号 的平均强度, 并达到第二预设阈值、 低频段信号的均方差小于或等于第三预设 阈值和高频段信号的最大值小于或等于第四预设阈值中的至少一个。
在第一种可能的实施方式作为基石出而提供的第七种可能的实施方式中,根 据所述吹气信号强度对图像进行处理, 包括:
根据所述吹气信号强度获取图像处理参数;
根据所述图像处理参数对所述图像进行处理。
在第七种可能的实施方式作为基石出而提供的第八种可能的实施方式中,根 据所述吹气信号强度获取图像处理参数, 包括:
根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对 应关系, 获取所述吹气信号强度对应的所述图像处理参数。 作为再一方面, 本发明另一实施例中还提供了一种图形用户接口, 所述图 形用户接口用在移动终端上, 所述移动终端包括触摸屏显示器、 存储器和用于 执行一个或者一个以上的程序的一个或者一个以上的处理器; 所述图形用户接 口包括: 通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。 需要说明的是: 上述实施例提供的移动终端在图像处理时, 仅以上述各功 能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由 不同的功能模块完成, 即将移动终端的内部结构划分成不同的功能模块, 以完 成以上描述的全部或者部分功能。 另外, 上述实施例提供的移动终端与移动终 端图像处理的方法实施例属于同一构思, 其具体实现过程详见方法实施例, 这 里不再贅述。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。

Claims

权 利 要 求 书
1、 一种移动终端图像处理方法, 其特征在于, 所述方法包括:
通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所采集的音频信号 获取吹气信号强度, 包括:
对所述音频信号进行加窗的快速傅里叶变换处理, 得到所述音频信号的频 域信号;
将所述音频信号的频域信号划分成至少一个时间片频域信号;
根据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频信 号是否为吹气信号;
当所述音频信号是吹气信号时, 根据所述至少一个时间片频域信号获取所 述吹气信号强度。
3、 根据权利要求 2所述的方法, 其特征在于, 根据所述至少一个时间片频 域信号和吹气信号的预设特性识别所述音频信号是否为吹气信号, 包括:
对于所述至少一个时间片频域信号中的每一个时间片频域信号, 根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为吹 气信号;
确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例;
判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例是否大于或等于第一预设阈值;
当所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的比 例大于或等于所述第一预设阈值时, 确定所述音频信号为所述吹气信号; 否则 确定所述音频信号不是所述吹气信号。
4、 根据权利要求 2或者 3所述的方法, 其特征在于, 所述采集音频信号之 后, 对所述音频信号进行加窗的快速傅里叶变换处理, 得到所述音频信号的频 域信号之前, 所述方法还包括:
对所述音频信号进行平滑处理和均衡化处理。
5、 根据权利要求 4所述的方法, 其特征在于, 根据所述至少一个时间片频 域信号获取所述吹气信号强度, 包括:
获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均信 号强度, 得到至少一个平均信号强度;
取所述至少一个平均信号强度的平均值作为所述吹气信号强度。
6、 根据权利要求 2或者 3所述的方法, 其特征在于, 所述吹气信号的预设 特性包括低频带信号的最大强度大于高频段信号的平均强度, 并达到第二预设 阈值、 低频段信号的均方差小于或等于第三预设阈值和高频段信号的最大值小 于或等于第四预设阈值中的至少一个。
7、 根据权利要求 1所述的方法, 其特征在于, 根据所述吹气信号强度对图 像进行处理, 包括:
根据所述吹气信号强度获取图像处理参数;
根据所述图像处理参数对所述图像进行处理。
8、 根据权利要求 7所述的方法, 其特征在于, 根据所述吹气信号强度获取 图像处理参数, 包括:
根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对应 关系, 获取所述吹气信号强度对应的所述图像处理参数。
9、 一种移动终端, 其特征在于, 所述移动终端包括:
传感器模块, 用于采集音频信号;
获取模块, 用于根据所采集的音频信号获取吹气信号强度;
处理模块, 用于根据所述吹气信号强度对图像进行处理。
10、 根据权利要求 9所述的移动终端, 其特征在于, 所述获取模块, 处理单元, 用于对所述音频信号进行加窗的快速傅里叶变换处理, 得到所 述音频信号的频域信号;
划分单元, 用于将所述音频信号的频域信号划分成至少一个时间片频域信 号;
识别单元, 用于根据所述至少一个时间片频域信号和吹气信号的预设特性 识别所述音频信号是否为吹气信号;
获取单元, 用于当所述音频信号是吹气信号时, 根据所述至少一个时间片 频域信号获取所述吹气信号强度。
11、 根据权利要求 10所述的移动终端, 其特征在于, 所述识别单元, 具体 用于对于所述至少一个时间片频域信号中的每一个时间片频域信号, 根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为吹 气信号; 确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所 占的比例; 判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号 所占的比例是否大于或等于第一预设阈值; 当所述至少一个时间片频域信号中 是吹气信号的时间片频域信号所占的比例大于或等于所述第一预设阈值时, 确 定所述音频信号为所述吹气信号; 否则确定所述音频信号不是所述吹气信号。
12、 根据权利要求 10或者 11所述的移动终端, 其特征在于, 所述处理单 元, 还用于在所述采集单元采集所述音频信号之后, 对所述音频信号进行加窗 的快速傅里叶变换处理, 得到所述音频信号的频域信号之前, 对所述音频信号 进行平滑处理和均衡化处理。
13、 根据权利要求 12所述的移动终端, 其特征在于, 所述获取单元, 用于 获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均信号强 度, 得到至少一个平均信号强度; 取所述至少一个平均信号强度的平均值作为 所述吹气信号强度。
14、 根据权利要求 10或者 11所述的移动终端, 其特征在于, 所述吹气信 号的预设特性包括低频带信号的最大强度大于高频段信号的平均强度, 并达到 第二预设阈值、 低频段信号的均方差小于或等于第三预设阈值和高频段信号的 最大值小于或等于第四预设阈值中的至少一个。
15、 根据权利要求 9所述的移动终端, 其特征在于, 所述处理模块, 具体 用于根据所述吹气信号强度获取图像处理参数; 根据所述图像处理参数对所述 图像进行处理。
16、 根据权利要求 15所述的移动终端, 其特征在于, 所述处理模块, 具体 用于根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对应 关系, 获取所述吹气信号强度对应的所述图像处理参数; 并根据所述图像处理 参数对所述图像进行处理。
17、 一种移动终端, 其特征在于, 所述移动终端包括: 触摸屏显示器、 一 个或者一个以上的处理器; 存储器; 以及一个或者一个以上的程序, 其中所述 一个或者一个以上程序存储于所述存储器中, 且经配置以由所述一个或者一个 以上处理器执行, 所述一个或者一个以上程序包含用于进行以下操作的指令: 通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。
18、 根据权利要求 17所述的移动终端, 其特征在于, 包含用于执行以下操 作的指令:
对所述音频信号进行加窗的快速傅里叶变换处理, 得到所述音频信号的频 域信号;
将所述音频信号的频域信号划分成至少一个时间片频域信号;
根据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频信 号是否为吹气信号;
当所述音频信号是吹气信号时, 根据所述至少一个时间片频域信号获取所 述吹气信号强度。
19、 根据权利要求 18所述的移动终端, 其特征在于, 包含用于执行以下操 作的指令: 对于所述至少一个时间片频域信号中的每一个时间片频域信号, 根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为吹 气信号;
确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例;
判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例是否大于或等于第一预设阈值;
当所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的比 例大于或等于所述第一预设阈值时, 确定所述音频信号为所述吹气信号; 否则 确定所述音频信号不是所述吹气信号。
20、 根据权利要求 18或者 19所述的移动终端, 其特征在于, 包含用于执 行以下操作的指令:
对所述音频信号进行平滑处理和均衡化处理。
21、 根据权利要求 20所述的移动终端, 其特征在于, 包含用于执行以下操 作的指令:
获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均信 号强度, 得到至少一个平均信号强度;
取所述至少一个平均信号强度的平均值作为所述吹气信号强度。
22、 根据权利要求 18或者 19所述的移动终端, 其特征在于, 包含用于执 行以下操作的指令:
所述吹气信号的预设特性包括低频带信号的最大强度大于高频段信号的平 均强度, 并达到第二预设阈值、 低频段信号的均方差小于或等于第三预设阈值 和高频段信号的最大值小于或等于第四预设阈值中的至少一个。
23、 根据权利要求 17所述的移动终端, 其特征在于, 包含用于执行以下操 作的指令:
根据所述吹气信号强度获取图像处理参数;
根据所述图像处理参数对所述图像进行处理。
24、 根据权利要求 23所述的移动终端, 其特征在于, 包含用于执行以下操 作的指令:
根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对应 关系, 获取所述吹气信号强度对应的所述图像处理参数。
25、 一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质存 储有一个或者一个以上程序, 所述一个或者一个以上程序被一个或者一个以上 的处理器用来执行一个移动终端图像处理方法, 所述方法包括:
通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。
26、 根据权利要求 25所述的计算机可读存储介质, 其特征在于, 所述根据 所采集的音频信号获取吹气信号强度, 包括:
对所述音频信号进行加窗的快速傅里叶变换处理, 得到所述音频信号的频 域信号;
将所述音频信号的频域信号划分成至少一个时间片频域信号;
根据所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频信 号是否为吹气信号;
当所述音频信号是吹气信号时, 根据所述至少一个时间片频域信号获取所 述吹气信号强度。
27、 根据权利要求 26所述的计算机可读存储介质, 其特征在于, 所述根据 所述至少一个时间片频域信号和吹气信号的预设特性识别所述音频信号是否为 吹气信号, 包括:
对于所述至少一个时间片频域信号中的每一个时间片频域信号, 根据所述 时间片频域信号和所述吹气信号的预设特性识别所述时间片频域信号是否为吹 气信号;
确定所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例; 判断所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的 比例是否大于或等于第一预设阈值;
当所述至少一个时间片频域信号中是吹气信号的时间片频域信号所占的比 例大于或等于所述第一预设阈值时, 确定所述音频信号为所述吹气信号; 否则 确定所述音频信号不是所述吹气信号。
28、 根据权利要求 26或者 27所述的计算机可读存储介质, 其特征在于, 所述采集音频信号之后, 对所述音频信号进行加窗的快速傅里叶变换处理, 得 到所述音频信号的频域信号之前, 所述方法还包括:
对所述音频信号进行平滑处理和均衡化处理。
29、 根据权利要求 28所述的计算机可读存储介质, 其特征在于, 所述根据 所述至少一个时间片频域信号获取所述吹气信号强度, 包括:
获取所述至少一个时间片频域信号中每一个所述时间片频域信号的平均信 号强度, 得到至少一个平均信号强度;
取所述至少一个平均信号强度的平均值作为所述吹气信号强度。
30、 根据权利要求 26或者 27所述的计算机可读存储介质, 其特征在于, 所述吹气信号的预设特性包括低频带信号的最大强度大于高频段信号的平均强 度, 并达到第二预设阈值、 低频段信号的均方差小于或等于第三预设阈值和高 频段信号的最大值小于或等于第四预设阈值中的至少一个。
31、 根据权利要求 25所述的计算机可读存储介质, 其特征在于, 所述根据 所述吹气信号强度对图像进行处理, 包括:
根据所述吹气信号强度获取图像处理参数;
根据所述图像处理参数对所述图像进行处理。
32、 根据权利要求 31所述的计算机可读存储介质, 其特征在于, 所述根据 所述吹气信号强度获取图像处理参数, 包括:
根据所述吹气信号强度和预设的吹气信号强度与图像处理参数之间的对应 关系, 获取所述吹气信号强度对应的所述图像处理参数。
33、 一种图形用户接口, 其特征在于, 所述图形用户接口用在移动终端上, 所述移动终端包括触摸屏显示器、 存储器和用于执行一个或者一个以上的程序 的一个或者一个以上的处理器; 所述图形用户接口包括:
通过移动终端的传感器采集音频信号;
根据所采集的音频信号获取吹气信号强度;
根据所述吹气信号强度对图像进行处理。
PCT/CN2013/082071 2012-10-17 2013-08-22 移动终端图像处理方法及移动终端 WO2014059822A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/683,309 US9977651B2 (en) 2012-10-17 2015-04-10 Mobile terminal and image processing method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210393870.0 2012-10-17
CN201210393870.0A CN103780738B (zh) 2012-10-17 2012-10-17 移动终端图像处理方法及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/683,309 Continuation US9977651B2 (en) 2012-10-17 2015-04-10 Mobile terminal and image processing method thereof

Publications (1)

Publication Number Publication Date
WO2014059822A1 true WO2014059822A1 (zh) 2014-04-24

Family

ID=50487536

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082071 WO2014059822A1 (zh) 2012-10-17 2013-08-22 移动终端图像处理方法及移动终端

Country Status (3)

Country Link
US (1) US9977651B2 (zh)
CN (1) CN103780738B (zh)
WO (1) WO2014059822A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142791A (zh) * 2013-05-09 2014-11-12 腾讯科技(深圳)有限公司 资源更换方法、装置及终端
CN105573481A (zh) * 2014-11-07 2016-05-11 中国移动通信集团四川有限公司 一种控制方法和移动终端
CN104615358A (zh) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 一种应用程序启动方法和电子设备
CN105160695B (zh) * 2015-06-30 2019-02-01 Oppo广东移动通信有限公司 一种照片处理方法及移动终端
CN105303592A (zh) * 2015-09-11 2016-02-03 东莞市微云系统科技有限公司 一种图像在线处理的方法及系统
CN106648377A (zh) * 2017-01-04 2017-05-10 上海斐讯数据通信技术有限公司 一种用于移动终端的图片缩放方法及装置
CN107832714B (zh) * 2017-11-14 2020-07-07 腾讯科技(上海)有限公司 活体鉴别方法、装置及存储设备
CN112153269B (zh) * 2019-06-27 2022-04-29 京东方科技集团股份有限公司 应用于电子设备的图片显示方法、装置、介质与电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100227640A1 (en) * 2009-03-03 2010-09-09 Jong Hwan Kim Mobile terminal and operation control method thereof
CN102608931A (zh) * 2012-03-28 2012-07-25 深圳鼎瑄通讯科技有限公司 一种电子设备的控制系统及控制方法
CN102668391A (zh) * 2009-12-18 2012-09-12 三星电子株式会社 用于控制移动装置的外部输出的方法和系统

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7895036B2 (en) * 2003-02-21 2011-02-22 Qnx Software Systems Co. System for suppressing wind noise
JP3734823B1 (ja) * 2005-01-26 2006-01-11 任天堂株式会社 ゲームプログラムおよびゲーム装置
DE102005040192A1 (de) * 2005-08-25 2007-03-01 Robert Bosch Gmbh Verfahren und Vorrichtung zur Erkennung von Quietschgeräuschen
JP5170771B2 (ja) * 2009-01-05 2013-03-27 任天堂株式会社 描画処理プログラム、情報処理装置、情報処理システムおよび情報処理制御方法
KR20100086161A (ko) * 2009-01-22 2010-07-30 주식회사 팬택 바람 인식을 통한 동작 제어 장치 및 방법
CA2750445A1 (en) * 2009-01-23 2010-07-29 Widex A/S A system, method and hearing aids for in situ occlusion effect measurement
CN102012773B (zh) * 2009-09-08 2012-06-06 中国移动通信集团公司 利用气流对界面进行操作的方法及其设备
CN102148892A (zh) * 2010-02-09 2011-08-10 北京数字天域科技有限责任公司 一种手机口吹短信的实现方法
CN201985993U (zh) * 2010-12-29 2011-09-21 上海华勤通讯技术有限公司 带有吹气控制功能的手机
EP2676178B1 (en) * 2011-01-26 2020-04-22 Novodigit Sarl Breath-sensitive digital interface
CN201995017U (zh) * 2011-04-22 2011-09-28 深圳市隆宇世纪科技有限公司 一种通过麦克风声控的手机
JP5919647B2 (ja) * 2011-05-11 2016-05-18 富士通株式会社 風雑音抑圧装置、半導体集積回路及び風雑音抑圧方法
CN102523347A (zh) * 2011-12-16 2012-06-27 广东步步高电子工业有限公司 一种应用于电子产品中的吹气操控方法和装置
CN102609092A (zh) * 2012-02-14 2012-07-25 广东步步高电子工业有限公司 基于气流感应技术进行交互的手机及其方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100227640A1 (en) * 2009-03-03 2010-09-09 Jong Hwan Kim Mobile terminal and operation control method thereof
CN102668391A (zh) * 2009-12-18 2012-09-12 三星电子株式会社 用于控制移动装置的外部输出的方法和系统
CN102608931A (zh) * 2012-03-28 2012-07-25 深圳鼎瑄通讯科技有限公司 一种电子设备的控制系统及控制方法

Also Published As

Publication number Publication date
CN103780738A (zh) 2014-05-07
US20150212793A1 (en) 2015-07-30
CN103780738B (zh) 2017-08-29
US9977651B2 (en) 2018-05-22

Similar Documents

Publication Publication Date Title
WO2014059822A1 (zh) 移动终端图像处理方法及移动终端
US9658757B2 (en) Method and device for managing progress indicator display
CN108459797B (zh) 一种折叠屏的控制方法及移动终端
US20180348980A1 (en) Method and apparatus for switching screen interface and terminal
TWI520043B (zh) 消息查看方法、裝置和移動終端
WO2016119580A1 (zh) 一种开启终端的语音输入功能的方法、装置和终端
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
WO2014000632A1 (zh) 一种获取移动终端安全状态的方法、装置及设备
WO2015078145A1 (zh) 放大显示字体的方法和装置
CN109144441B (zh) 一种屏幕调节方法、终端及计算机可读存储介质
CN107219951B (zh) 触控屏控制方法、装置、存储介质及终端设备
WO2014000656A1 (zh) 刷新页面的方法、装置及终端
CN108037887B (zh) 终端虚拟按键的构建方法、终端及计算机可读存储介质
CN106940997B (zh) 一种向语音识别系统发送语音信号的方法和装置
WO2013149530A1 (zh) 显示信息的方法、移动终端和计算机可读存储介质
WO2017096909A1 (zh) 建立数据连接的方法及装置
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
WO2015032245A1 (en) Method and device for managing progress indicator display
TW201541337A (zh) 移動終端中訊息的顯示方法、裝置和系統
WO2019011231A1 (zh) 降低移动终端sar值的方法及存储介质、移动终端
WO2019057119A1 (zh) 基于移动终端的wifi热点连接方法及移动终端、存储介质
WO2015074387A1 (zh) 滑动操作响应方法、装置及终端设备
CN110096213B (zh) 基于手势的终端操作方法、移动终端及可读存储介质
CN108744505B (zh) 一种速率控制方法、终端和计算机可读存储介质
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.09.2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13847125

Country of ref document: EP

Kind code of ref document: A1