CN107742279A - A kind of image processing method, device and storage medium - Google Patents
A kind of image processing method, device and storage medium Download PDFInfo
- Publication number
- CN107742279A CN107742279A CN201711048052.6A CN201711048052A CN107742279A CN 107742279 A CN107742279 A CN 107742279A CN 201711048052 A CN201711048052 A CN 201711048052A CN 107742279 A CN107742279 A CN 107742279A
- Authority
- CN
- China
- Prior art keywords
- frequency information
- low
- image
- described image
- pixel
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims description 38
- 230000006854 communication Effects 0.000 claims description 22
- 230000008569 process Effects 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 21
- 230000009466 transformation Effects 0.000 claims description 17
- 238000001914 filtration Methods 0.000 claims description 16
- 238000011946 reduction process Methods 0.000 abstract description 3
- 230000000717 retained effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000004141 dimensional analysis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the present invention provides a kind of image processing method, including:Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;Processing is filtered to the low-frequency information of described image.The embodiment of the present invention also provides a kind of image processing apparatus and storage medium.By the embodiment of the present invention, on the premise of image detail information is retained, noise reduction process targetedly can be carried out to image.
Description
Technical field
The present invention relates to image processing techniques, more particularly to a kind of image processing method, device and storage medium.
Background technology
In correlation technique, when handling image, either image is handled or in frequency domain to figure in time domain
As being handled, it is impossible to targetedly the noise in image is handled, therefore, the noise reduction of image paid no attention to
Think.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of image processing method to solve problems of the prior art
Method, device and storage medium.
The embodiment of the present invention provides a kind of image processing method, including:
Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;
Processing is filtered to the low-frequency information.
It is described that image is handled based on time domain and frequency domain in such scheme, the low-frequency information of image is obtained, including:
Described image is handled based on wavelet transformation, obtain described image the first high-frequency information and image first
Low-frequency information;
The first low-frequency information for determining described image is the low-frequency information of described image.
In such scheme, methods described also includes:
The first low-frequency information of described image is handled based on wavelet transformation, obtains the second high frequency letter of described image
Second low-frequency information of breath and described image;
The second low-frequency information based on described image, update the low-frequency information of described image.
In such scheme, the low-frequency information to described image is filtered processing, including:
Respectively using each pixel in the low-frequency information of described image as starting pixels point, selection order is adjacent strange
Several pixels;
Filtering process is carried out to the odd number of pixels point.
It is described to odd number of pixels point progress filtering process in such scheme, including:
Determine the first average pixel value of the odd number of pixels point;
By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point, respectively with described first
Average pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;
Determine the second average pixel value of the pixel point set;
Based on second pixel value, the pixel value of the central pixel point is updated.
The embodiment of the present invention also provides a kind of image processing apparatus, including:Processor, memory and communication bus;
The communication bus, for realizing the connection communication between the processor and the memory;
The processor, for performing the image processing program stored in the memory, to realize following steps:
Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;
Processing is filtered to the low-frequency information.
In such scheme, the processor is specifically used for performing described image processing routine, to realize following steps:
Described image is handled based on wavelet transformation, obtain described image the first high-frequency information and image first
Low-frequency information;
The first low-frequency information of described image is handled based on wavelet transformation, obtains the second high frequency letter of described image
Second low-frequency information of breath and described image;
The second low-frequency information for determining described image is the low-frequency information of described image.
In such scheme, the processor is specifically used for performing described image processing routine, to realize following steps:
Respectively using each pixel in the low-frequency information of described image as starting pixels point, selection order is adjacent strange
Several pixels;
Filtering process is carried out to the odd number of pixels point.
In such scheme, the processor is specifically used for performing described image processing routine, to realize following steps:
Determine the first average pixel value of the odd number of pixels point;
By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point, respectively with described first
Average pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;
Determine the second average pixel value of the pixel point set;
Based on second pixel value, the pixel value of the central pixel point is updated.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium is stored with one or more program, institute
Stating one or more program can be by one or more computing device, to realize following steps:
Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;
Processing is filtered to the low-frequency information.
Image processing method, device and storage medium provided in the embodiment of the present invention, based on time domain and frequency domain to figure
As being handled, the low-frequency information of described image is obtained;Processing is filtered to the low-frequency information.Therefore, the present invention is implemented
When example is handled image based on frequency domain, the detailed information of image can be retained;By obtaining the low-frequency information of image, and singly
Solely the low-frequency information of image is handled, targetedly noise reduction process can be carried out to image.
In the embodiment of the present invention, when the low-frequency information to image is filtered processing, filtered by the way of iteration
Ripple processing, further increases the precision of filtering, and then improve the noise reduction of image.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system Organization Chart of the present invention;
Fig. 3 is a kind of basic handling schematic flow sheet of image processing method of the embodiment of the present invention;
Fig. 4 is the handling process schematic diagram that the embodiment of the present invention carries out filtering process to odd number of pixels point;
Fig. 5 is a kind of composition structural representation of image processing apparatus of the embodiment of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Can be that arbitrary electronics is set for realizing the image processing apparatus of image processing method in the embodiment of the present invention
It is standby, such as server, terminal;For pending image, it can be the storage region memory storage of electronic equipment itself, also may be used
To be that other equipment is sent to electronic equipment by network.
When the electronic equipment is terminal, terminal can be implemented in a variety of manners.For example, the end described in the present invention
End can include such as mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant (Personal Digital
Assistant, PDA), portable media player (Portable Media Player, PMP), guider, wearable set
The mobile terminals such as standby, Intelligent bracelet, pedometer, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
For moving outside purpose element, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under formula, speech recognition mode, broadcast reception mode isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 is also
The audio output related to the specific function that mobile terminal 100 performs can be provided (for example, call signal receives sound, message
Receive sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can receive in the operational modes such as telephone calling model, logging mode, speech recognition mode via microphone 1042
Sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can be with
The form output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.Wheat
Gram wind 1042 can implement various types of noises and eliminate (or suppression) algorithms to receive and sending audio to eliminate (or suppression)
Caused noise or interference during signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data
Information, electric power etc.) and one or more elements that the input received is transferred in mobile terminal 100 or can be used for
Data are transmitted between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Embodiment one
The handling process schematic diagram of one a kind of image processing method of the embodiment of the present invention, as shown in figure 3, including following step
Suddenly:
Step S101, is handled image based on time domain and frequency domain, obtains the low-frequency information of described image.
In an alternative embodiment, image processing apparatus is handled image based on wavelet transformation, obtains the of image
One high-frequency information and the first low-frequency information;Such as to whole pixels in image, by the pixel value phase of two adjacent pixels
Subtract, obtain the first high-frequency information of image;The pixel value of two adjacent pixels is added, obtains the first low frequency letter of image
Breath.The first low-frequency information of described image is handled based on wavelet transformation again, obtains the second high-frequency information of described image
With the second low-frequency information of described image;Such as, to whole pixels corresponding to the first low-frequency information, by two adjacent pixels
Pixel value subtract each other, obtain the second high-frequency information of image;The pixel value of two adjacent pixels is added, obtains image
Second low-frequency information;Low-frequency information using second low-frequency information as image.Wherein, the low-frequency information of image is used to characterize
Noise information in image.
Here, while the low-frequency information of image is obtained, additionally it is possible to get position corresponding to image low-frequency information and believe
Breath, during to be subsequently filtered processing to image, adjacent pixel can be got based on positional information.
It should be noted that a kind of m- dimensional analysis method when wavelet transformation is signal, has multiresolution analysis
Feature, and time domain and frequency domain all have characterize signal local feature ability, be a kind of window size immobilize but its
Shape is variable, time window and frequency window it is all variable time-domain and frequency-domain localization analysis method.With the low frequency part in image, tool
There are higher frequency resolution and temporal resolution, in the HFS of image, there is higher temporal resolution and relatively low
The characteristics of frequency resolution.Therefore, by carrying out Wavelet transformation processing to image, the detailed information in image can be retained.
The embodiment of the present invention, by carrying out wavelet transform process twice to image, the low-frequency information of image can be got
In low-frequency information, improve obtain noise in image precision, targetedly to be handled noise, so raising
The noise reduction of image.
Step S102, processing is filtered to the low-frequency information of described image.
In an optional embodiment, image processing apparatus is respectively with each pixel in the low-frequency information of described image
As starting pixels point, the adjacent odd number of pixels point of selection order, filtering process is carried out to the odd number of pixels point.This
In, the number of the pixel of selection, such as 5,7 or 9 can be preset.
By taking the pixel that the low-frequency information of described image corresponds to M rows N row as an example, place is filtered to M row pixels first
Reason, then processing is filtered to N row pixels.In this way, realizing the iterative filtering processing to pixel, filtering process is improved
Precision.
In an optional embodiment, the handling process of filtering process is carried out to odd number of pixels point, as shown in figure 4, bag
Include following steps:
Step S1021, determine the first average pixel value of odd number of pixels point.
In an optional embodiment, image processing apparatus determines the pixel value of each pixel respectively, by whole pixels
The pixel value of point is added, and obtains total pixel value;Using the number of total pixel value, divided by pixel, the first average picture is obtained
Element value.
Step S1022, by the odd number of pixels point, the pixel value of the pixel in addition to central pixel point, distinguish
Compared with first average pixel value.
Using the pixel of selection as the first pixel, the second pixel, the 3rd pixel, the 4th pixel and the 5th pixel
Exemplified by point, the first pixel is starting pixels point, pixel centered on the 3rd pixel, and the 5th pixel is termination pixel;
Image processing apparatus is by the pixel value of the first pixel, the second pixel, the 4th pixel and the 5th pixel respectively with first
Average pixel value is compared, and obtains the pixel point set that pixel value is more than the first average pixel value.In the embodiment of the present invention
The pixel point set that the pixel value arrived is more than the first average pixel value includes the first pixel, the second pixel and the 5th pixel
Point.The pixel value of pixel in addition to central pixel point, respectively compared with first average pixel value when, obtain
Less than the pixel of first average pixel value, it is believed that be that can be used for average pixel, without being carried out to the pixel
Further processing.
Step S1023, determine the second average pixel value of the pixel point set.
In an optional embodiment, image processing apparatus is by the first pixel, the second pixel and the 5th pixel
Pixel value is added, and obtains total pixel value;Using the number 3 of total pixel value, divided by pixel, the second mean pixel is obtained
Value.
Step S1024, based on second pixel value, update the pixel value of the central pixel point.
In an optional embodiment, the pixel value of the 3rd pixel is updated to the second mean pixel by image processing apparatus
Value, i.e., the average pixel value of the 3rd pixel is replaced with the second average pixel value.
The implementation process of filtering process is carried out to odd number of pixels point based on the image processing apparatus shown in above-mentioned Fig. 4, can
To be interpreted as, using five pixels as one group, the process handled every row pixel is image processing apparatus:First by
One pixel to the 5th pixel is divided into first group of pixel, at five pixels included to first group of pixel
Reason, to update the pixel value of the 3rd pixel.The second pixel to the 5th pixel is divided into second group of pixel again, to
When five pixels that two groups of pixels include are handled, the pixel value of the 3rd pixel used is the 3rd picture after renewal
The pixel value of vegetarian refreshments;I.e. the pixel value for the pixel that image processing process is related to then is used after updating in the event of renewal
Pixel value.In this way, realizing the iterative filtering of image, the noise reduction process effect of image is improved.
Similarly, when image processing apparatus is handled each column pixel, each pixel that each column pixel includes
Pixel value, if being updated when being handled with behavior unit pixel, using the pixel value after renewal.
Embodiment two
The handling process for the image processing method that the embodiment of the present invention two provides, with the image processing method shown in Fig. 3
Handling process is similar, and difference is, the embodiment of the present invention two is when obtaining the low-frequency information of image, image processing apparatus base
Image is handled in wavelet transformation, obtains the first high-frequency information and the first low-frequency information of image;Such as to complete in image
Portion's pixel, the pixel value of two adjacent pixels is subtracted each other, obtain the first high-frequency information of image;By two adjacent pictures
The pixel value of vegetarian refreshments is added, and obtains the first low-frequency information of image, the low-frequency information using the first low-frequency information as image.
Embodiment three
To realize the above-mentioned image processing method embodiment of the present invention, the embodiment of the present invention three also provides a kind of image procossing dress
Put, the composition structural representation of described image processing unit, as shown in figure 5, including:Processor 301, memory 302 and communication
Bus 303;Wherein,
The communication bus 303, for realizing the connection communication between processor 301 and memory 302;
The processor 301, for performing the image processing program stored in memory 302, to realize following steps:
Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;
Processing is filtered to the low-frequency information of described image.
In a preferred embodiment, the processor 301 be specifically used for based on wavelet transformation to described image at
Reason, obtains the first high-frequency information of described image and the first low-frequency information of image;
The first low-frequency information for determining described image is the low-frequency information of described image.
In a preferred embodiment, the processor 301 is additionally operable to low to the first of described image based on wavelet transformation
Frequency information is handled, and obtains the second high-frequency information of described image and the second low-frequency information of described image;Based on the figure
Second low-frequency information of picture, update the low-frequency information of described image.
In a preferred embodiment, the processor 301 is specifically used for respectively with the low-frequency information of described image
Each pixel is as starting pixels point, the adjacent odd number of pixels point of selection order;
Filtering process is carried out to the odd number of pixels point.
In a preferred embodiment, the processor 301 is specifically used for determining the first flat of the odd number of pixels point
Equal pixel value;
By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point, respectively with described first
Average pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;
Determine the second average pixel value of the pixel point set;
Based on second pixel value, the pixel value of the central pixel point is updated.
In the embodiment of the present invention, the function that the processor 301 in described image processing unit performs can be by positioned at same electronics
Central processing unit (CPU) or microprocessor (MPU) or digital signal processor (DSP) or programmable gate array in equipment
(FPGA) realize.
Example IV
To realize the above-mentioned image processing apparatus embodiment of the method for the present invention, the embodiment of the present invention four also provides a kind of storage and is situated between
Matter, it is characterised in that the storage medium is stored with one or more program, and one or more of programs can be by one
Or multiple computing devices, to realize following steps:
Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;
Processing is filtered to the low-frequency information of described image.
In a preferred embodiment, one or more of programs specifically can be by one or more of processors
Perform, to realize following steps:
Described image is handled based on wavelet transformation, obtain described image the first high-frequency information and image first
Low-frequency information;
The first low-frequency information for determining described image is the low-frequency information of described image.
In a preferred embodiment, one or more of programs specifically can be by one or more of processors
Perform, to realize following steps:
The first low-frequency information of described image is handled based on wavelet transformation, obtains the second high frequency letter of described image
Second low-frequency information of breath and described image;
The second low-frequency information based on described image, update the low-frequency information of described image.
In a preferred embodiment, one or more of programs specifically can be by one or more of processors
Perform, to realize following steps:
Respectively using each pixel in the low-frequency information of described image as starting pixels point, selection order is adjacent strange
Several pixels;
Filtering process is carried out to the odd number of pixels point.
In a preferred embodiment, one or more of programs specifically can be by one or more of processors
Perform, to realize following steps:
Determine the first average pixel value of the odd number of pixels point;
By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point, respectively with described first
Average pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;
Determine the second average pixel value of the pixel point set;
Based on second pixel value, the pixel value of the central pixel point is updated.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only
A kind of division of logic function, there can be other dividing mode when actually realizing, such as:Multiple units or component can combine, or
Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion
Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists
In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned
Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:It is movable storage device, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented
The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product,
The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with
It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention.
And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
- A kind of 1. image processing method, it is characterised in that including:Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;Processing is filtered to the low-frequency information of described image.
- 2. according to the method for claim 1, it is characterised in that it is described that image is handled based on time domain and frequency domain, obtain The low-frequency information of image is taken, including:Described image is handled based on wavelet transformation, obtains the first high-frequency information of described image and the first low frequency of image Information;The first low-frequency information for determining described image is the low-frequency information of described image.
- 3. according to the method for claim 2, it is characterised in that methods described also includes:The first low-frequency information of described image is handled based on wavelet transformation, obtain described image the second high-frequency information and Second low-frequency information of described image;The second low-frequency information based on described image, update the low-frequency information of described image.
- 4. according to the method for claim 1, it is characterised in that the low-frequency information to described image is filtered place Reason, including:Respectively using each pixel in the low-frequency information of described image as starting pixels point, the adjacent odd number of selection order Pixel;Filtering process is carried out to the odd number of pixels point.
- 5. according to the method for claim 4, it is characterised in that it is described that filtering process is carried out to the odd number of pixels point, Including:Determine the first average pixel value of the odd number of pixels point;By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point is average with described first respectively Pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;Determine the second average pixel value of the pixel point set;Based on second pixel value, the pixel value of the central pixel point is updated.
- 6. a kind of image processing apparatus, it is characterised in that described image processing unit includes:Processor, memory and communication are total Line;The communication bus, for realizing the connection communication between the processor and the memory;The processor, for performing the image processing program stored in the memory, to realize following steps:Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;Processing is filtered to the low-frequency information of described image.
- 7. image processing apparatus according to claim 6, it is characterised in that the processor is specifically used for performing the figure As processing routine, to realize following steps:Described image is handled based on wavelet transformation, obtains the first high-frequency information of described image and the first low frequency of image Information;The first low-frequency information of described image is handled based on wavelet transformation, obtain described image the second high-frequency information and Second low-frequency information of described image;The second low-frequency information for determining described image is the low-frequency information of described image.
- 8. image processing apparatus according to claim 6, it is characterised in that the processor is specifically used for performing the figure As processing routine, to realize following steps:Respectively using each pixel in the low-frequency information of described image as starting pixels point, the adjacent odd number of selection order Pixel;Filtering process is carried out to the odd number of pixels point.
- 9. image processing apparatus according to claim 8, it is characterised in that the processor is specifically used for performing the figure As processing routine, to realize following steps:Determine the first average pixel value of the odd number of pixels point;By in the odd number of pixels point, the pixel value of the pixel in addition to central pixel point is average with described first respectively Pixel value is compared, and obtains the pixel point set that pixel value is more than first average pixel value;Determine the second average pixel value of the pixel point set;Based on second pixel value, the pixel value of the central pixel point is updated.
- A kind of 10. storage medium, it is characterised in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be by one or more computing device, to realize following steps:Image is handled based on time domain and frequency domain, obtains the low-frequency information of described image;Processing is filtered to the low-frequency information of described image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711048052.6A CN107742279B (en) | 2017-10-31 | 2017-10-31 | Image processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711048052.6A CN107742279B (en) | 2017-10-31 | 2017-10-31 | Image processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107742279A true CN107742279A (en) | 2018-02-27 |
CN107742279B CN107742279B (en) | 2020-07-10 |
Family
ID=61233707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711048052.6A Active CN107742279B (en) | 2017-10-31 | 2017-10-31 | Image processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107742279B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068024A (en) * | 2018-06-29 | 2018-12-21 | 北京大学 | The method that a kind of pair of space-time signal is filtered |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308573A (en) * | 2008-06-30 | 2008-11-19 | 北京中星微电子有限公司 | Method and apparatus for eliminating noise |
CN101430759A (en) * | 2008-12-04 | 2009-05-13 | 上海大学 | Optimized recognition pretreatment method for human face |
CN102156963A (en) * | 2011-01-20 | 2011-08-17 | 中山大学 | Denoising method for image with mixed noises |
CN105184752A (en) * | 2015-09-23 | 2015-12-23 | 成都融创智谷科技有限公司 | Image processing method based on wavelet transform |
US20160148620A1 (en) * | 2014-11-25 | 2016-05-26 | Facebook, Inc. | Indexing based on time-variant transforms of an audio signal's spectrogram |
CN105844606A (en) * | 2016-03-22 | 2016-08-10 | 博康智能网络科技股份有限公司 | Wavelet transform-based image fusion method and system thereof |
CN106709891A (en) * | 2016-11-15 | 2017-05-24 | 哈尔滨理工大学 | Image processing method based on combination of wavelet transform and self-adaptive transform |
CN106910179A (en) * | 2017-01-22 | 2017-06-30 | 南京觅踪电子科技有限公司 | Multimode medical image fusion method based on wavelet transformation |
-
2017
- 2017-10-31 CN CN201711048052.6A patent/CN107742279B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308573A (en) * | 2008-06-30 | 2008-11-19 | 北京中星微电子有限公司 | Method and apparatus for eliminating noise |
CN101430759A (en) * | 2008-12-04 | 2009-05-13 | 上海大学 | Optimized recognition pretreatment method for human face |
CN102156963A (en) * | 2011-01-20 | 2011-08-17 | 中山大学 | Denoising method for image with mixed noises |
US20160148620A1 (en) * | 2014-11-25 | 2016-05-26 | Facebook, Inc. | Indexing based on time-variant transforms of an audio signal's spectrogram |
CN105184752A (en) * | 2015-09-23 | 2015-12-23 | 成都融创智谷科技有限公司 | Image processing method based on wavelet transform |
CN105844606A (en) * | 2016-03-22 | 2016-08-10 | 博康智能网络科技股份有限公司 | Wavelet transform-based image fusion method and system thereof |
CN106709891A (en) * | 2016-11-15 | 2017-05-24 | 哈尔滨理工大学 | Image processing method based on combination of wavelet transform and self-adaptive transform |
CN106910179A (en) * | 2017-01-22 | 2017-06-30 | 南京觅踪电子科技有限公司 | Multimode medical image fusion method based on wavelet transformation |
Non-Patent Citations (1)
Title |
---|
高欣欣等: "数字图像迭代均值滤波降噪算法", 《湖南文理学院学报(自然科学版)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068024A (en) * | 2018-06-29 | 2018-12-21 | 北京大学 | The method that a kind of pair of space-time signal is filtered |
CN109068024B (en) * | 2018-06-29 | 2020-07-21 | 北京大学 | Method for filtering time-space signals |
Also Published As
Publication number | Publication date |
---|---|
CN107742279B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108052302A (en) | Association display methods, terminal and the computer readable storage medium of double-sided screen | |
CN107133092A (en) | Multi-thread synchronization processing method, terminal and computer-readable recording medium | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN108055411A (en) | Flexible screen display methods, mobile terminal and computer readable storage medium | |
CN107436779A (en) | A kind of application management method, equipment and computer-readable recording medium | |
CN107515691A (en) | A kind of touch control display method and mobile terminal, storage medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
CN106953684A (en) | A kind of method for searching star, mobile terminal and computer-readable recording medium | |
CN107346200A (en) | One kind interval screenshot method and terminal | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN108196777A (en) | A kind of flexible screen application process, equipment and computer readable storage medium | |
CN107172605A (en) | A kind of Emmergency call method, mobile terminal and computer-readable recording medium | |
CN107426304A (en) | Method, system and the proxy server of interactive media resource | |
CN107608727A (en) | A kind of display methods of application program, mobile terminal and storage medium | |
CN107948397A (en) | A kind of information-pushing method, device and computer-readable recording medium | |
CN107239218A (en) | Control method, mobile terminal and the computer-readable recording medium of mobile terminal | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN107360312A (en) | Control method, equipment and the computer of screen can storage medium | |
CN107749054A (en) | A kind of image processing method, device and storage medium | |
CN107743199A (en) | Image processing method, mobile terminal and computer-readable recording medium | |
CN107273006A (en) | A kind of method for information display, equipment and computer-readable recording medium | |
CN107809527A (en) | A kind of method and apparatus that prompt operation is presented | |
CN107343092A (en) | Operate method, equipment and the computer-readable recording medium of screen | |
CN107390855A (en) | Control method, mobile terminal and the storage medium of mobile terminal split screen regional luminance | |
CN107360211A (en) | A kind of inserting method, relevant device and the computer-readable storage medium of information flow information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200612 Address after: Room 105-67309, No. 6, Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Applicant after: ZHUHAI DAHENGQIN TECHNOLOGY DEVELOPMENT Co.,Ltd. Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |