CN105025182A - Noise reduction method and terminal - Google Patents

Noise reduction method and terminal Download PDF

Info

Publication number
CN105025182A
CN105025182A CN201510319428.7A CN201510319428A CN105025182A CN 105025182 A CN105025182 A CN 105025182A CN 201510319428 A CN201510319428 A CN 201510319428A CN 105025182 A CN105025182 A CN 105025182A
Authority
CN
China
Prior art keywords
noise
signal
attribute information
rotation
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510319428.7A
Other languages
Chinese (zh)
Other versions
CN105025182B (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510319428.7A priority Critical patent/CN105025182B/en
Publication of CN105025182A publication Critical patent/CN105025182A/en
Application granted granted Critical
Publication of CN105025182B publication Critical patent/CN105025182B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The embodiment of the invention provides a noise reduction method and terminal. The method comprises the steps of receiving input rotation control instructions about a rotation direction and a rotation speed, controlling a camera to rotate according to the rotation direction at the rotation speed, analyzing noise signals generated by the camera in a rotation process, obtaining attribute information of the noise signals, determining noise reduction signals according to the attribute information and superposing the noise reduction signals on the noise signals. Through the embodiment of the invention, interferences brought by the noises generated in the rotation process of the camera can be effectively reduced.

Description

A kind of noise-reduction method and terminal
Technical field
The present invention relates to signal processing technology field, be specifically related to a kind of noise-reduction method and terminal.
Background technology
In recent years, in view of flexibility and the practicality of rotating camera, the terminal being equipped with rotating camera gets more and more, as smart mobile phone, panel computer etc., utilize rotating camera user can shoot various, the interesting joyful photo of pattern or video etc., carrying out automatic panorama as utilized rotating camera to take pictures, splendid experience of taking pictures can be brought to user, and obtaining the very high photo of quality.But, rotating camera can produce the interference noise that some affect miscellaneous equipment (as microphone, loud speaker etc.) in rotary course, such as, reduce the effect of speech quality and multimedia resource broadcasting, disturb the collection of input signal to external world, identification etc.Therefore, how to reduce and rotate due to rotating camera the interference that brings of noise produced and become problem demanding prompt solution.
Summary of the invention
Embodiments provide a kind of noise-reduction method and terminal, effectively can reduce the interference that the noise that produces in camera rotary course brings.
Embodiment of the present invention first aspect provides a kind of noise-reduction method, comprising:
Receive the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed;
Control camera according to described direction of rotation, rotate with described rotary speed;
Resolve the noise signal produced in described camera rotary course, obtain the attribute information of described noise signal;
According to described attribute information determination de-noising signal, and described de-noising signal is superposed with described noise signal.
In conjunction with first aspect, in the first possible implementation of first aspect, described attribute information comprise in noise type and target signature parameter one or more.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, described attribute information comprises noise type, described according to described attribute information determination de-noising signal, comprising:
From preset signals storehouse, obtain the signal mated with described noise type;
The signal that described and described noise type mates is set to de-noising signal.
In conjunction with the first possible implementation of first aspect, in the third possible implementation of first aspect, described attribute information comprises target signature parameter, described according to described attribute information determination de-noising signal, comprising:
Obtain the fisrt feature parameter with described target signature parameter with reversed nature;
According to described fisrt feature parameter, generate de-noising signal.
In conjunction with the first possible implementation of first aspect to the third possible implementation any one, in the 4th kind of possible implementation of first aspect, described noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise), described target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
Embodiment of the present invention second aspect provides a kind of terminal, comprising:
Receiver module, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed;
Control module, for controlling camera according to described direction of rotation, rotates with described rotary speed;
Acquisition module, for resolving the noise signal produced in described camera rotary course, obtains the attribute information of described noise signal;
Processing module, for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal.
In conjunction with second aspect, in the first possible implementation of second aspect, described attribute information comprise in noise type and target signature parameter one or more.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described attribute information comprises noise type, and described processing module comprises:
First acquiring unit, for from preset signals storehouse, obtains the signal mated with described noise type;
Setting unit, is set to de-noising signal for the signal mated by described and described noise type;
First superpositing unit, for superposing described de-noising signal with described noise signal.
In conjunction with the first possible implementation of second aspect, in the third possible implementation of second aspect, described attribute information comprises target signature parameter, and described processing module comprises:
Second acquisition unit, for obtaining the fisrt feature parameter with described target signature parameter with reversed nature;
Generation unit, for according to described fisrt feature parameter, generates de-noising signal;
Second superpositing unit, for superposing described de-noising signal with described noise signal.
In conjunction with the first possible implementation of second aspect to the third possible implementation any one, in the 4th kind of possible implementation of second aspect, described noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise), described target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, and then according to this attribute information determination de-noising signal, this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Terminal in the embodiment of the present invention can comprise possess camera function smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, digital camera, palmtop PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Referring to Fig. 1, is the first embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides.Noise-reduction method described in the present embodiment, comprises the following steps:
S101, terminal receive the rotation control command of input, and described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Terminal, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
S102, terminal control camera, according to described direction of rotation, rotate with described rotary speed.
Concrete, after terminal gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera, according to above-mentioned direction of rotation, rotates with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, i.e. the concrete angle value that rotates from current location of terminal control camera.
The noise signal produced in camera rotary course described in S103, terminal parses, obtains the attribute information of described noise signal.
Wherein, above-mentioned attribute information comprises one or more in noise type and target signature parameter.
In the execution mode that some are feasible, above-mentioned noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc., above-mentioned target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, terminal can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute information such as its noise type, target signature parameter.
In the execution mode that some are feasible, terminal is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the noise type of noise signal.
Described de-noising signal according to described attribute information determination de-noising signal, and superposes with described noise signal by S104, terminal.
Concrete, terminal can determine according to the attribute information of noise signal the de-noising signal that matches with its attribute information, and then is superposed with noise signal by the de-noising signal obtained, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, and then according to this attribute information determination de-noising signal, this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 2, is the second embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides.Noise-reduction method described in the present embodiment, comprises the following steps:
S201, terminal receive the rotation control command of input, and described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Terminal, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
S202, terminal control camera, according to described direction of rotation, rotate with described rotary speed.
Concrete, after terminal gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera, according to above-mentioned direction of rotation, rotates with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, i.e. the concrete angle value that rotates from current location of terminal control camera.
The noise signal produced in camera rotary course described in S203, terminal parses, obtains the attribute information of described noise signal, and described attribute information comprises noise type.
Wherein, above-mentioned noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, and terminal can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute informations such as its noise type.
In the execution mode that some are feasible, terminal is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the noise type of noise signal.
S204, terminal, from preset signals storehouse, obtain the signal mated with described noise type.
Wherein, above-mentioned preset signals storehouse comprises the noise signal of various common type, as Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc., above-mentioned preset signals storehouse install beforehand is in the memory space of terminal, also can be stored in Cloud Server, also can be stored in terminal local and Cloud Server, the concrete memory location embodiment of the present invention for preset signals does not limit simultaneously.
Concrete, after terminal determines the noise type of noise signal, the signal mated with the noise type of noise signal can be obtained from preset signals storehouse, type as noise signal is impulsive noise, then the terminal signal belonging to impulse noise types that the characteristic parameter such as acquisition amplitude, frequency content and energy value is identical or close with noise signal from preset signals storehouse.
In the execution mode that some are feasible, first terminal inquires about the signal whether existing and mate with the noise type of noise signal from the preset signals storehouse that this locality stores, if not, then terminal obtains the signal mated with the noise type of noise signal further from the preset signals storehouse that Cloud Server stores.
The signal that described and described noise type mates is set to de-noising signal by S205, terminal, and is superposed with described noise signal by described de-noising signal.
Concrete, terminal is set to de-noising signal obtain the signal mated with the noise type of noise signal from preset signals storehouse after, and superposes with noise signal after above-mentioned de-noising signal is carried out anti-phase process, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, this attribute information comprises noise type, and then from preset signals storehouse, obtain the signal mated with this noise type, the signal mated with this noise type is set to de-noising signal, and this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 3, is the 3rd embodiment schematic flow sheet of a kind of noise-reduction method that the embodiment of the present invention provides.Noise-reduction method described in the present embodiment, comprises the following steps:
S301, terminal receive the rotation control command of input, and described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Terminal, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
S302, terminal control camera, according to described direction of rotation, rotate with described rotary speed.
Concrete, after terminal gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera, according to above-mentioned direction of rotation, rotates with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, i.e. the concrete angle value that rotates from current location of terminal control camera.
The noise signal produced in camera rotary course described in S303, terminal parses, obtains the attribute information of described noise signal, and described attribute information comprises target signature parameter.
Wherein, above-mentioned target signature parameter comprises one or more in amplitude, frequency content, phase place and energy.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, and terminal can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute informations such as its target signature parameter.
In the execution mode that some are feasible, terminal is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the value of the target signature parameters such as amplitude, frequency content, phase place and energy.
S304, terminal obtain the fisrt feature parameter with described target signature parameter with reversed nature.
Concrete, terminal determines the fisrt feature parameter with it with reversed nature after obtaining the target signature parameter of noise signal, as identical in parameters such as amplitude, frequency content and energy, reverse-phase, namely differs 180 degree.
S305, terminal generate de-noising signal according to described fisrt feature parameter, and are superposed with described noise signal by described de-noising signal.
Concrete, terminal is by digital to analog converter (English full name: Digital to Analog Converter, english abbreviation: DAC) or signal generator generate the de-noising signal corresponding with above-mentioned fisrt feature parameter, and above-mentioned de-noising signal is superposed with above-mentioned noise signal, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, this attribute information comprises target signature parameter, and then to obtain and this target signature parameter has the fisrt feature parameter of reversed nature, and generate de-noising signal according to this fisrt feature parameter, this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiver module 401, control module 402, acquisition module 403 and processing module 404, wherein:
Receiver module 401, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Receiver module 401, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
Control module 402, for controlling camera according to described direction of rotation, rotates with described rotary speed.
Concrete, after receiver module 401 gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera according to above-mentioned direction of rotation by control module 402, rotate with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, and namely control module 402 controls the concrete angle value that camera rotates from current location.
Acquisition module 403, for resolving the noise signal produced in described camera rotary course, obtains the attribute information of described noise signal.
Wherein, above-mentioned attribute information comprises one or more in noise type and target signature parameter.
In the execution mode that some are feasible, above-mentioned noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc., above-mentioned target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, acquisition module 403 can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute information such as its noise type, target signature parameter.
In the execution mode that some are feasible, acquisition module 403 is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the noise type of noise signal.
Processing module 404, for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal.
Concrete, processing module 404 can determine according to the attribute information of noise signal the de-noising signal that matches with its attribute information, and then is superposed with noise signal by the de-noising signal obtained, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, and then according to this attribute information determination de-noising signal, this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiver module 501, control module 502, acquisition module 503 and processing module 504, wherein:
Receiver module 501, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Receiver module 501, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
Control module 502, for controlling camera according to described direction of rotation, rotates with described rotary speed.
Concrete, after receiver module 501 gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera according to above-mentioned direction of rotation by control module 502, rotate with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, and namely control module 502 controls the concrete angle value that camera rotates from current location.
Acquisition module 503, for resolving the noise signal produced in described camera rotary course, obtain the attribute information of described noise signal, described attribute information comprises noise type.
Wherein, above-mentioned noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, and acquisition module 503 can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute informations such as its noise type.
In the execution mode that some are feasible, acquisition module 503 is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the noise type of noise signal.
Processing module 504, for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal;
Described processing module 504 specifically comprises the first acquiring unit 5040, setting unit 5041 and the first superpositing unit 5042, wherein:
First acquiring unit 5040, for from preset signals storehouse, obtains the signal mated with described noise type.
Wherein, above-mentioned preset signals storehouse comprises the noise signal of various common type, as Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise) etc., above-mentioned preset signals storehouse install beforehand is in the memory space of terminal, also can be stored in Cloud Server, also can be stored in terminal local and Cloud Server, the concrete memory location embodiment of the present invention for preset signals does not limit simultaneously.
Concrete, after acquisition module 503 determines the noise type of noise signal, first acquiring unit 5040 can obtain the signal mated with the noise type of noise signal from preset signals storehouse, type as noise signal is impulsive noise, then the first acquiring unit 5040 signal belonging to impulse noise types that the characteristic parameter such as acquisition amplitude, frequency content and energy value is identical or close with noise signal from preset signals storehouse.
In the execution mode that some are feasible, first first acquiring unit 5040 inquires about the signal whether existing and mate with the noise type of noise signal from the preset signals storehouse that terminal local stores, if not, then the first acquiring unit 5040 obtains the signal mated with the noise type of noise signal further from the preset signals storehouse that Cloud Server stores.
Setting unit 5041, is set to de-noising signal for the signal mated by described and described noise type;
First superpositing unit 5042, for superposing described de-noising signal with described noise signal.
Concrete, after first acquiring unit 5040 obtains the signal mated with the noise type of noise signal from preset signals storehouse, setting unit 5041 is set to de-noising signal, and superpose with noise signal after above-mentioned de-noising signal being carried out anti-phase process by the first superpositing unit 5042, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, this attribute information comprises noise type, and then from preset signals storehouse, obtain the signal mated with this noise type, the signal mated with this noise type is set to de-noising signal, and this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 6, is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiver module 601, control module 602, acquisition module 603 and processing module 604, wherein:
Receiver module 601, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed.
Concrete, take pictures at use camera or in video process, rotate, to shoot the better photo of effect or video by rotating control command control camera to terminal input.Above-mentioned rotation control command specifically can comprise direction of rotation and rotary speed.Receiver module 601, after receiving above-mentioned rotation control command, obtains the control information that it comprises, i.e. direction of rotation and rotary speed.
Control module 602, for controlling camera according to described direction of rotation, rotates with described rotary speed.
Concrete, after receiver module 601 gets and rotates control information (i.e. direction of rotation and rotary speed) that control command comprises, control camera according to above-mentioned direction of rotation by control module 602, rotate with above-mentioned rotary speed.
In the execution mode that some are feasible, above-mentioned rotation control command also can comprise the anglec of rotation, and namely control module 602 controls the concrete angle value that camera rotates from current location.
Acquisition module 603, for resolving the noise signal produced in described camera rotary course, obtain the attribute information of described noise signal, described attribute information comprises target signature parameter.
Wherein, above-mentioned target signature parameter comprises one or more in amplitude, frequency content, phase place and energy.
Concrete, camera can produce some noises due to reasons such as the frictions between rotary components in rotary course, and acquisition module 603 can the above-mentioned noise signal of Real-time Collection, and then resolves above-mentioned noise signal, obtains the attribute informations such as its target signature parameter.
In the execution mode that some are feasible, acquisition module 603 is by carrying out spectrum analysis to above-mentioned noise signal, namely the amplitude of noise signal, phase place or energy conversion are represented with frequency coordinate axle, and then analyze its frequency characteristic, obtain each frequency content in noise signal and frequency distribution scope, and the amplitude distribution of each frequency content and Energy distribution, and then draw the frequency values of main amplitude and Energy distribution, and determine the value of the target signature parameters such as amplitude, frequency content, phase place and energy.
Processing module 604, for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal;
Described processing module 604 specifically comprises second acquisition unit 6040, generation unit 6041 and the second superpositing unit 6042, wherein:
Second acquisition unit 6040, for obtaining the fisrt feature parameter with described target signature parameter with reversed nature.
Concrete, after acquisition module 603 obtains the target signature parameter of noise signal, determined the fisrt feature parameter with it with reversed nature by second acquisition unit 6040, as identical in parameters such as amplitude, frequency content and energy, reverse-phase, namely differs 180 degree.
Generation unit 6041, for according to described fisrt feature parameter, generates de-noising signal;
Second superpositing unit 6042, for superposing described de-noising signal with described noise signal.
Concrete, generation unit 6041 is by digital to analog converter (English full name: Digital to AnalogConverter, english abbreviation: DAC) or signal generator generate the de-noising signal corresponding with above-mentioned fisrt feature parameter, and by the second superpositing unit 6042, above-mentioned de-noising signal is superposed with above-mentioned noise signal, to eliminate or to weaken above-mentioned noise signal.
The rotation control command of input can be received by the embodiment of the present invention, this rotation control command comprises direction of rotation and rotary speed, and then control camera according to this direction of rotation, rotate with this rotary speed, resolve the noise signal produced in this camera rotary course, and obtain the attribute information of this noise signal, this attribute information comprises target signature parameter, and then to obtain and this target signature parameter has the fisrt feature parameter of reversed nature, and generate de-noising signal according to this fisrt feature parameter, this de-noising signal is superposed with this noise signal, effectively can reduce the interference that the noise that produces in camera rotary course brings, reduce the microphone to terminal, the impact of the equipment such as loud speaker, strengthen Consumer's Experience.
Referring to Fig. 7, is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: at least one input equipment 701; At least one output equipment 702; At least one processor 703, such as CPU; With memory 704, above-mentioned input equipment 701, output equipment 702, processor 703 are connected by bus 705 with memory 704.
Wherein, above-mentioned input equipment 701 specifically can be camera and the contact panel of terminal, and above-mentioned camera is used for catching shooting picture, and above-mentioned contact panel comprises touch-screen and touch screen, for detecting the operational order of input.
Above-mentioned output equipment 702 specifically can be the display screen of terminal, for exporting, showing related data information.
Above-mentioned memory 704 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 704 is for storing batch processing code, and above-mentioned input equipment 701, output equipment 702 and processor 703, for calling the program code stored in memory 704, perform and operate as follows:
Above-mentioned input equipment 701, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed;
Above-mentioned processor 703, for controlling camera according to described direction of rotation, rotates with described rotary speed, and resolves the attribute information that the noise signal produced in described camera rotary course obtains described noise signal;
Above-mentioned processor 703, also for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal.
In the execution mode that some are feasible, described attribute information comprise in noise type and target signature parameter one or more.
In the execution mode that some are feasible, described attribute information comprises noise type, and above-mentioned processor 703 according to the concrete mode of described attribute information determination de-noising signal is:
From preset signals storehouse, obtain the signal mated with described noise type;
The signal that described and described noise type mates is set to de-noising signal.
In the execution mode that some are feasible, described attribute information comprises target signature parameter, and above-mentioned processor 703 according to the concrete mode of described attribute information determination de-noising signal is:
Obtain the fisrt feature parameter with described target signature parameter with reversed nature;
According to described fisrt feature parameter, generate de-noising signal.
In the execution mode that some are feasible, described noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise), described target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
In specific implementation, input equipment 701 described in the embodiment of the present invention, output equipment 702 and processor 703 can perform the first embodiment of a kind of noise-reduction method that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of a kind of terminal that the embodiment of the present invention provides, the second embodiment and the terminal described in the 3rd embodiment, not repeat them here.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
A kind of noise-reduction method provided the embodiment of the present invention above and terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a noise-reduction method, is characterized in that, comprising:
Receive the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed;
Control camera according to described direction of rotation, rotate with described rotary speed;
Resolve the noise signal produced in described camera rotary course, obtain the attribute information of described noise signal;
According to described attribute information determination de-noising signal, and described de-noising signal is superposed with described noise signal.
2. method according to claim 1, is characterized in that,
Described attribute information comprise in noise type and target signature parameter one or more.
3. method according to claim 2, is characterized in that, described attribute information comprises noise type, described according to described attribute information determination de-noising signal, comprising:
From preset signals storehouse, obtain the signal mated with described noise type;
The signal that described and described noise type mates is set to de-noising signal.
4. method according to claim 2, is characterized in that, described attribute information comprises target signature parameter, described according to described attribute information determination de-noising signal, comprising:
Obtain the fisrt feature parameter with described target signature parameter with reversed nature;
According to described fisrt feature parameter, generate de-noising signal.
5. the method according to any one of claim 2 ~ 4, is characterized in that,
Described noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise), described target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
6. a terminal, is characterized in that, comprising:
Receiver module, for receiving the rotation control command of input, described rotation control command comprises direction of rotation and rotary speed;
Control module, for controlling camera according to described direction of rotation, rotates with described rotary speed;
Acquisition module, for resolving the noise signal produced in described camera rotary course, obtains the attribute information of described noise signal;
Processing module, for according to described attribute information determination de-noising signal, and superposes described de-noising signal with described noise signal.
7. terminal according to claim 6, is characterized in that,
Described attribute information comprise in noise type and target signature parameter one or more.
8. terminal according to claim 7, is characterized in that, described attribute information comprises noise type, and described processing module comprises:
First acquiring unit, for from preset signals storehouse, obtains the signal mated with described noise type;
Setting unit, is set to de-noising signal for the signal mated by described and described noise type;
First superpositing unit, for superposing described de-noising signal with described noise signal.
9. terminal according to claim 7, is characterized in that, described attribute information comprises target signature parameter, and described processing module comprises:
Second acquisition unit, for obtaining the fisrt feature parameter with described target signature parameter with reversed nature;
Generation unit, for according to described fisrt feature parameter, generates de-noising signal;
Second superpositing unit, for superposing described de-noising signal with described noise signal.
10. the terminal according to any one of claim 7 ~ 9, is characterized in that,
Described noise type comprises: one or more in Gaussian noise, rayleigh noise, uniformly distributed noise and impulsive noise (salt-pepper noise), described target signature parameter comprise in amplitude, frequency content, phase place and energy one or more.
CN201510319428.7A 2015-06-11 2015-06-11 A kind of noise-reduction method and terminal Expired - Fee Related CN105025182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510319428.7A CN105025182B (en) 2015-06-11 2015-06-11 A kind of noise-reduction method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510319428.7A CN105025182B (en) 2015-06-11 2015-06-11 A kind of noise-reduction method and terminal

Publications (2)

Publication Number Publication Date
CN105025182A true CN105025182A (en) 2015-11-04
CN105025182B CN105025182B (en) 2018-07-06

Family

ID=54414868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510319428.7A Expired - Fee Related CN105025182B (en) 2015-06-11 2015-06-11 A kind of noise-reduction method and terminal

Country Status (1)

Country Link
CN (1) CN105025182B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135037A (en) * 2017-05-23 2017-09-05 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, computer-readable recording medium and terminal
WO2018214296A1 (en) * 2017-05-26 2018-11-29 西安中兴新软件有限责任公司 Noise reduction method, device, terminal, and computer storage medium
CN109147754A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of audio generation method, terminal and computer storage medium
CN110764520A (en) * 2018-07-27 2020-02-07 杭州海康威视数字技术股份有限公司 Aircraft control method, aircraft control device, aircraft and storage medium
CN111314532A (en) * 2020-02-17 2020-06-19 Oppo广东移动通信有限公司 Noise reduction method and device, electronic equipment and storage medium
CN111356908A (en) * 2017-09-29 2020-06-30 深圳传音通讯有限公司 Noise reduction method and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013567A1 (en) * 2003-11-27 2006-01-19 Canon Kabushiki Kaisha Electronic device, video camera apparatus, and control method therefor
CN201323620Y (en) * 2008-12-23 2009-10-07 昆盈企业股份有限公司 Movable network camera and noise eliminating circuit thereof
CN101727895A (en) * 2008-10-20 2010-06-09 联想(北京)有限公司 Noise reduction device, computer and noise reduction method
CN104217728A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Audio processing method and electronic device
CN104349064A (en) * 2014-10-28 2015-02-11 广东欧珀移动通信有限公司 Terminal and camera control method, device, and system thereof
CN104575510A (en) * 2015-02-04 2015-04-29 深圳酷派技术有限公司 Noise reduction method, noise reduction device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013567A1 (en) * 2003-11-27 2006-01-19 Canon Kabushiki Kaisha Electronic device, video camera apparatus, and control method therefor
CN101727895A (en) * 2008-10-20 2010-06-09 联想(北京)有限公司 Noise reduction device, computer and noise reduction method
CN201323620Y (en) * 2008-12-23 2009-10-07 昆盈企业股份有限公司 Movable network camera and noise eliminating circuit thereof
CN104217728A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Audio processing method and electronic device
CN104349064A (en) * 2014-10-28 2015-02-11 广东欧珀移动通信有限公司 Terminal and camera control method, device, and system thereof
CN104575510A (en) * 2015-02-04 2015-04-29 深圳酷派技术有限公司 Noise reduction method, noise reduction device and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135037A (en) * 2017-05-23 2017-09-05 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, computer-readable recording medium and terminal
WO2018214296A1 (en) * 2017-05-26 2018-11-29 西安中兴新软件有限责任公司 Noise reduction method, device, terminal, and computer storage medium
CN111356908A (en) * 2017-09-29 2020-06-30 深圳传音通讯有限公司 Noise reduction method and terminal
CN110764520A (en) * 2018-07-27 2020-02-07 杭州海康威视数字技术股份有限公司 Aircraft control method, aircraft control device, aircraft and storage medium
CN109147754A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of audio generation method, terminal and computer storage medium
CN111314532A (en) * 2020-02-17 2020-06-19 Oppo广东移动通信有限公司 Noise reduction method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105025182B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN105025182A (en) Noise reduction method and terminal
CN104134230B (en) A kind of image processing method, device and computer equipment
CN108470571B (en) Audio detection method and device and storage medium
CN112738634B (en) Video file generation method, device, terminal and storage medium
JP7218391B2 (en) NOISE REDUCTION METHOD, APPARATUS, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM FOR IN-VEHICLE ENVIRONMENT
CN111222509B (en) Target detection method and device and electronic equipment
CN108009033B (en) Touch simulation method and device and mobile terminal
CN108055567A (en) A kind of method for processing video frequency, device, terminal device and storage medium
CN111986689A (en) Audio playing method, audio playing device and electronic equipment
CN112037223B (en) Image defect detection method and device and electronic equipment
CN113630695A (en) Sound channel switching method and device and electronic equipment
CN104063660A (en) Virus scanning method and device as well as terminal
US20130286009A1 (en) Techniques for multiple pass rendering
CN111428165A (en) Three-dimensional model display method and device and electronic equipment
CA2873358C (en) Method for improving touch recognition and electronic device thereof
CN114898177B (en) Defect image generation method, model training method, device, medium and product
CN109559757A (en) A kind of method of canceling noise and mobile terminal
CN104378728A (en) Stereophonic audio processing method and device
CN104899000A (en) Information processing method and electronic device
CN112581947A (en) Voice instruction response method and device and terminal equipment
CN115866314A (en) Video playing method and device
CN116996778A (en) Image restoration method and device, storage medium and electronic equipment
CN108027962B (en) Image processing method, electronic device and storage medium
CN115295024A (en) Signal processing method, signal processing device, electronic apparatus, and medium
CN110941455B (en) Active wake-up method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180706