CN101212563A - Noise estimation based partial image filtering method - Google Patents

Noise estimation based partial image filtering method Download PDF

Info

Publication number
CN101212563A
CN101212563A CNA2006101324145A CN200610132414A CN101212563A CN 101212563 A CN101212563 A CN 101212563A CN A2006101324145 A CNA2006101324145 A CN A2006101324145A CN 200610132414 A CN200610132414 A CN 200610132414A CN 101212563 A CN101212563 A CN 101212563A
Authority
CN
China
Prior art keywords
image
overbar
pixel
component
square deviation
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
CNA2006101324145A
Other languages
Chinese (zh)
Other versions
CN100548028C (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.)
Guangzhou Ankai Microelectronics Co.,Ltd.
Original Assignee
ANKAI (GUANGZHOU) SOFTWARE TECHN Co 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 ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd filed Critical ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd
Priority to CNB2006101324145A priority Critical patent/CN100548028C/en
Publication of CN101212563A publication Critical patent/CN101212563A/en
Application granted granted Critical
Publication of CN100548028C publication Critical patent/CN100548028C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for filtering a partial image based on a noise estimation, which comprises the following the steps: (1) selecting a pixel as a central pixel in the image; (2) selecting a pixel area with a size of M*N in the center of the selected central pixel; (3) obtaining averages R, G, B of a red component (R), a green component (G) and a blue component (B) of all pixel in the selected area; (4) obtaining a sum of squares between the G and the different of G component of all pixel in the selected area, and obtaining a corresponding mean square deviation SE; (5) according to the R, G, B, and the mean square deviation SE, adjusting a corresponding pixel color value and obtaining the filtered corresponding color component; (6) carrying out an iterative processing to the whole image according to the method and then obtaining a filtered image as well as storing the image data. The invention can effectively estimate a noise signal in the image and maintains a sharpening effect in the image edge details and has an effective application in a real-time system.

Description

Partial image filtering method based on Noise Estimation
Technical field
The present invention relates to a kind of filter processing method, relate in particular to a kind of partial image filtering method based on Noise Estimation.
Background technology
What the noise of digital picture was mainly derived from image obtains (digitized process) and transmission course.The working condition of imageing sensor (Image Sensor) is subjected to the influence of various factors, as the quality of environmental condition in the image acquisition and sensing components and parts self.For example, use ccd video camera to obtain image, illumination degree and sensor temperature are to generate the principal element that produces much noise in the image.Image searches out The noise mainly due to the interference of used transmission channel in transmission course.Such as, may be contaminated by the image of wireless network transmissions because of the interference of light or other atmospheric factor.
Filtering Processing is exactly under the situation that guarantees the image useful signal, removes noise signal as much as possible, to guarantee the quality of image and edge details thereof.
Most of process of image restoration is an objective process, and the recovery of image utilizes certain priori of degradation phenomena to rebuild or restores the phenomenon of being degenerated.Therefore recovery technique is exactly degradation modelization, and adopts opposite process to handle, so that restore original image.
Filtering technique is exactly to utilize a kind of technology of the principle of this image restoration.In Fourier (Fourier) conversion of image, the demonstration of low frequency major decision image overall gray level in smooth region, and high frequency decision image detail part are as edge and noise.Adopt low pass filter that image is carried out Filtering Processing, the also corresponding edge details of having removed when removing noise.
The existing filtering method that overcomes the above problems, adopt following steps usually:
(1), in image, selects a center pixel successively;
(2), choose this pixel interior pixels in 5 * 5 zones on every side;
(3), the weighted average of the calculating pixel data corresponding with selected pixel, and weight coefficient relevant with the interior pixel of each institute's favored area when calculating is inversely proportional to this pixel distance or its square to corresponding center pixel, and is inversely proportional to the pixel data of this pixel with to difference, squared difference or its relative ratio of the data of deserved center pixel;
(4), according to the weighted average that calculates, adjust the pixel data of center pixel.
Entire image is carried out iterative computation by above-mentioned steps.In the method, a pixel decentre pixel is far away more, and its influence to the adjustment of center pixel is more little; Big more with the difference of center pixel, more little to the influence of center pixel.Yet adopt the said method calculation of complex, amount of calculation is bigger, is unfavorable for that image handles in real time.And can only be effective to certain specific noise, such as salt-pepper noise, white noise etc.
Therefore, be necessary to provide a kind of new rapid image filtering method, can cross and come adaptive-filtering, and can apply in the real-time system according to Noise Estimation.
Summary of the invention
The object of the present invention is to provide a kind ofly, can keep carrying out Filtering Processing to various types of noises under sharp-edged prerequisite fast based on the partial image filtering method of Noise Estimation.
For achieving the above object, the present invention can realize by following technical measures, may further comprise the steps:
(1), in image, chooses a pixel as center pixel;
(2), be the center with selected center pixel, get the pixel region of deciding M * N size;
(3), obtain the red component (R) of all pixels in institute's favored area, green component (G), the mean value R of blue component (B), G, B;
(4), obtain the quadratic sum of difference of the green component of pixels all in G and the institute's favored area, and obtain the mean square deviation SE of correspondence;
(5), according to the mean value R of step (3), G, the mean square deviation SE of B and step (4) adjusts corresponding pixel color value, obtains corresponding color component after the selected center pixel filtering;
(6), entire image is carried out iterative processing in (1)-(5) set by step, obtain filtered image;
(7), store filtered view data.
Adopt green channel, red channel or blue channel to calculate mean square deviation in the present invention, can avoid traditional heavy weight coefficient to calculate like this, adopt the mean square deviation account form of single color component, when guaranteeing picture quality, also reduced operand, improved treatment effeciency.Therefore the present invention can effectively estimate the noise signal in the image, keeps the sharpen effect of image border details, and has reduced computation complexity greatly by having reduced amount of calculation, can effectively use in real-time system.
Description of drawings
The system applies block diagram that Fig. 1 handles for pictorial data;
Fig. 2 is the partial image filtering processing mode schematic diagram based on Noise Estimation;
Fig. 3 is the flow chart that the present invention is based on the partial image filtering method of Noise Estimation;
Fig. 4 is the model schematic diagram of image degradation/recuperation;
The schematic diagram that Fig. 5 handles degraded image for the present invention.
Embodiment
As shown in Figure 1, the system applies block diagram of handling for pictorial data.Imageing sensor is sent to the view data that collects on the data/address bus, and image processing module carries out various processing to the data on the data bus, and the data after the processing are transferred to display module demonstration or data memory module preservation through data/address bus.
As shown in Figure 2, be partial image filtering processing mode schematic diagram based on Noise Estimation.Image capture module is sent to the Filtering Processing module with the view data that collects and carries out Filtering Processing.Because a filtration module processing digital signal if therefore the image of image capture module output is an analog signal, needs analog signal is changed through the analog/digital signal conversion module, makes to be output as digital signal; If the image of image capture module output is a digital signal, then directly carry out Filtering Processing.Filtered view data is carried out the data preservation or data show.
As shown in Figure 3, be the flow chart of the partial image filtering method that the present invention is based on Noise Estimation.Its idiographic flow is:
(1), in image, chooses a pixel as center pixel;
(2), be the center with selected center pixel, get the pixel region of deciding M * N size;
(3), obtain the red component (R) of all pixels in institute's favored area, green component (G), the mean value R of blue component (B), G, B:
R ‾ = Σ i = 1 M Σ j = 1 N R ( i , j ) M × N
G ‾ = Σ i = 1 M Σ j = 1 N G ( i , j ) M × N
B ‾ = Σ i = 1 M Σ j = 1 N B ( i , j ) M × N
(4), obtain the quadratic sum of difference of the G component of pixels all in G and the institute's favored area, and obtain the mean square deviation SE of correspondence:
SE ‾ = Σ i = 1 M Σ j = 1 N ( G ( i , j ) - G ‾ ) 2 M × N ;
(5), according to the mean value R of step (3), G, the mean square deviation SE of B and step (4) adjusts corresponding pixel color value, obtains corresponding color component after the selected center pixel filtering:
R ′ = R ‾ + ( SE ‾ - Thre ) × ( R - R ‾ ) SE ‾
G ′ = G ‾ + ( SE ‾ - Thre ) × ( G - G ‾ ) SE ‾
B ′ = B ‾ + ( SE ‾ - Thre ) × ( B - B ‾ ) SE ‾
Wherein, R, G, B are the color component of center pixel, and R ', G ', B ' are color component corresponding after the filtering, and Thre is a pre-set threshold;
(6), entire image carries out iterative processing in (1)-(5) set by step, obtains filtered image;
(7), store filtered view data.
Wherein, image can be static image, also can be dynamic image.During concrete calculating, can select all pixels in the whole rectangle, also can select to be positioned at the pixel of image XY change in coordinate axis direction.Adopt green channel to calculate mean square deviation in the present invention, can avoid traditional heavy weight coefficient to calculate like this, adopt the mean square deviation account form of single color component, when guaranteeing picture quality, also reduced operand, improved treatment effeciency.
Also can adopt red channel or blue channel to calculate mean square deviation in the present invention.The quadratic sum of the difference by obtaining red, the blue component in redness in institute's favored area and blue component mean value and interior all pixels of institute's favored area respectively obtains the mean square deviation of both correspondences then.
As shown in Figure 4, be the model schematic diagram of image degradation/recuperation.Degenerative process can be modeled as a degenrate function and an additive noise term, a given width of cloth input picture F (x, y), degenrate function H (x, y) and additive noise item N (x, y), then degraded image can be expressed as:
G(x,y)=H(x,y)*F(x,y)+N(x,y)
" * " representation space convolution.
Recovery function to degraded image G (x y) carries out Filtering Processing, obtain restored image F ' (x, y).
As shown in Figure 5, the schematic diagram of degraded image being handled for the present invention.Number in the figure is the center pixel of pixel for selecting 1., and filter will be adjusted the data of center pixel by the relation between computer center's pixel and the selected pixel on every side.Adopt the rectangular window zone of M * N in the present invention, comprise also that with the black sign label is a central point pixel 1. in the drawings, generally claim this window to be " convolution window ".
At first, calculate the mean value of the RGB color component of all pixels in the selected window:
R ‾ = Σ i = 1 M Σ j = 1 N R ( i , j ) M × N
G ‾ = Σ i = 1 M Σ j = 1 N G ( i , j ) M × N
B ‾ = Σ i = 1 M Σ j = 1 N B ( i , j ) M × N
Then, calculate the G color component of all pixels in the selected convolution window and the mean square deviation of G mean value:
SE ‾ = Σ i = 1 M Σ j = 1 N ( G ( i , j ) - G ‾ ) 2 M × N
At last, calculate corresponding color component by mean square deviation:
R ′ = R ‾ + ( SE ‾ - Thre ) × ( R - R ‾ ) SE ‾
G ′ = G ‾ + ( SE ‾ - Thre ) × ( G - G ‾ ) SE ‾
B ′ = B ‾ + ( SE ‾ - Thre ) × ( B - B ‾ ) SE ‾
In above-mentioned formula, M, N are the size of selected window, can adjust the size of window as the case may be; Thre comes preset threshold for the noise according to image, and noise is big more, and corresponding Thre value is big more, also can make corresponding adjustment according to actual conditions, and typical value is M=7, N=7, Thre=1; R, G, B are the RGB component of central pixel point, and R ', G ', B ' are corresponding filtered value.
Entire image is carried out iterative processing as stated above, then can obtain filtered image.

Claims (5)

1. partial image filtering method based on Noise Estimation is characterized in that may further comprise the steps:
(1), in image, chooses a pixel as center pixel;
(2), be the center with selected center pixel, get the pixel region of deciding M * N size;
(3), obtain the red component (R) of all pixels in institute's favored area, green component (G), the mean value R of blue component (B), G, B;
(4), obtain the quadratic sum of difference of the G component of pixels all in G and the institute's favored area, and obtain the mean square deviation SE of correspondence;
(5), according to the mean value R of step (3), G, the mean square deviation SE of B and step (4) adjusts corresponding pixel color value, obtains corresponding color component after the selected center pixel filtering;
(6), entire image is carried out iterative processing in (1)-(5) set by step, obtain filtered image;
(7), store filtered view data.
2. filter processing method according to claim 1 is characterized in that: described image is static state or dynamic image.
3. filter processing method according to claim 1 is characterized in that: all pixels are all pixels in the whole rectangle in institute's favored area of described step (3) and (4), or are positioned at the pixel of image XY change in coordinate axis direction.
4. filter processing method according to claim 1, it is characterized in that: the mean square deviation of described step (4) also can obtain by utilizing redness or blue component: the quadratic sum of the difference by obtaining red, the blue component in redness in institute's favored area and blue component mean value and interior all pixels of institute's favored area respectively obtains the mean square deviation of both correspondences then.
5. filter processing method according to claim 1 is characterized in that: corresponding color component was after described step (5) obtained filtering:
R ′ = R ‾ + ( SE ‾ - Thre ) × ( R - R ‾ ) SE ‾
G ′ = G ‾ + ( SE ‾ - Thre ) × ( G - G ‾ ) SE ‾
B ′ = B ‾ + ( SE ‾ - Thre ) × ( B - B ‾ ) SE ‾
Wherein, R, G, B are the color component of center pixel, and R ', G ', B ' are color component corresponding after the filtering, and Thre comes preset threshold for the noise according to image.
CNB2006101324145A 2006-12-29 2006-12-29 Partial image filtering method based on Noise Estimation Active CN100548028C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101324145A CN100548028C (en) 2006-12-29 2006-12-29 Partial image filtering method based on Noise Estimation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101324145A CN100548028C (en) 2006-12-29 2006-12-29 Partial image filtering method based on Noise Estimation

Publications (2)

Publication Number Publication Date
CN101212563A true CN101212563A (en) 2008-07-02
CN100548028C CN100548028C (en) 2009-10-07

Family

ID=39612202

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101324145A Active CN100548028C (en) 2006-12-29 2006-12-29 Partial image filtering method based on Noise Estimation

Country Status (1)

Country Link
CN (1) CN100548028C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102349090A (en) * 2009-03-16 2012-02-08 株式会社理光 Noise reduction device, noise reduction method, noise reduction program, and recording medium
CN102567954A (en) * 2010-12-30 2012-07-11 深圳迈瑞生物医疗电子股份有限公司 Method and device for suppressing noise of flat panel detector
CN102801928A (en) * 2012-09-10 2012-11-28 上海国茂数字技术有限公司 Image processing method and image processing equipment
CN102045513B (en) * 2009-10-13 2013-01-02 原相科技股份有限公司 Image noise filtering method
CN103595933A (en) * 2013-11-25 2014-02-19 陈皓 Method for image noise reduction
CN103906149A (en) * 2012-12-28 2014-07-02 中国移动通信集团北京有限公司 Method, device and system for signal fluctuation analysis
CN104598120A (en) * 2013-10-30 2015-05-06 宏达国际电子股份有限公司 Color Sampling Method and Touch Control Device thereof
CN105096262A (en) * 2014-05-22 2015-11-25 安凯(广州)微电子技术有限公司 Image filtering method and device
CN111724325A (en) * 2020-06-24 2020-09-29 湖南国科微电子股份有限公司 Trilateral filtering image processing method and device
CN112862851A (en) * 2021-01-18 2021-05-28 网娱互动科技(北京)股份有限公司 Automatic image matting method and system based on image recognition technology

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102349090A (en) * 2009-03-16 2012-02-08 株式会社理光 Noise reduction device, noise reduction method, noise reduction program, and recording medium
CN102349090B (en) * 2009-03-16 2014-06-18 株式会社理光 Noise reduction device and noise reduction method
CN102045513B (en) * 2009-10-13 2013-01-02 原相科技股份有限公司 Image noise filtering method
CN102567954B (en) * 2010-12-30 2015-06-17 深圳迈瑞生物医疗电子股份有限公司 Method and device for suppressing noise of flat panel detector
CN102567954A (en) * 2010-12-30 2012-07-11 深圳迈瑞生物医疗电子股份有限公司 Method and device for suppressing noise of flat panel detector
CN102801928A (en) * 2012-09-10 2012-11-28 上海国茂数字技术有限公司 Image processing method and image processing equipment
CN103906149A (en) * 2012-12-28 2014-07-02 中国移动通信集团北京有限公司 Method, device and system for signal fluctuation analysis
CN103906149B (en) * 2012-12-28 2017-06-20 中国移动通信集团北京有限公司 A kind of signal fluctuation analysis method, apparatus and system
CN104598120B (en) * 2013-10-30 2018-06-01 宏达国际电子股份有限公司 Color sample method and touch-control control device
CN104598120A (en) * 2013-10-30 2015-05-06 宏达国际电子股份有限公司 Color Sampling Method and Touch Control Device thereof
CN103595933A (en) * 2013-11-25 2014-02-19 陈皓 Method for image noise reduction
CN103595933B (en) * 2013-11-25 2019-04-16 陈皓 A kind of noise-reduction method of image
CN105096262A (en) * 2014-05-22 2015-11-25 安凯(广州)微电子技术有限公司 Image filtering method and device
CN105096262B (en) * 2014-05-22 2018-03-27 安凯(广州)微电子技术有限公司 image filtering method and device
CN111724325A (en) * 2020-06-24 2020-09-29 湖南国科微电子股份有限公司 Trilateral filtering image processing method and device
CN111724325B (en) * 2020-06-24 2023-10-31 湖南国科微电子股份有限公司 Trilateral filtering image processing method and trilateral filtering image processing device
CN112862851A (en) * 2021-01-18 2021-05-28 网娱互动科技(北京)股份有限公司 Automatic image matting method and system based on image recognition technology
CN112862851B (en) * 2021-01-18 2021-10-15 网娱互动科技(北京)股份有限公司 Automatic image matting method and system based on image recognition technology

Also Published As

Publication number Publication date
CN100548028C (en) 2009-10-07

Similar Documents

Publication Publication Date Title
CN100548028C (en) Partial image filtering method based on Noise Estimation
US8588551B2 (en) Multi-image sharpening and denoising using lucky imaging
US20210073957A1 (en) Image processor and method
US20080118179A1 (en) Method of and apparatus for eliminating image noise
US20150254813A1 (en) Methods and systems for suppressing atmospheric turbulence in images
WO2013029337A1 (en) Image defogging method and system
CN101626454B (en) Method for intensifying video visibility
CN103347190B (en) Edge-related and color-combined demosaicing and amplifying method
CN1985274A (en) Methods, system and program modules for restoration of color components in an image model
CN104091310A (en) Image defogging method and device
CN102509294B (en) Single-image-based global depth estimation method
CN102768760A (en) Quick image dehazing method on basis of image textures
CN105046658A (en) Low-illumination image processing method and device
US8488899B2 (en) Image processing apparatus, method and recording medium
KR102182697B1 (en) Apparatus and method for processing image
CN113850741B (en) Image noise reduction method and device, electronic equipment and storage medium
EP1027662A1 (en) Image noise reduction system using a dct pyramid
CN102724541A (en) Intelligent diagnosis and recovery method for monitoring images
Soni et al. Removal of high density salt and pepper noise removal by modified median filter
WO2009141339A2 (en) Image processing to enhance image sharpness
CA2949105C (en) Methods and systems for suppressing atmospheric turbulence in images
CN103679653A (en) System and method for eliminating stray light of satellite images
Tang et al. Sky-preserved image dehazing and enhancement for outdoor scenes
Nancy et al. Comparative analysis and implementation of image enhancement techniques using MATLAB
Wen et al. TransIm: Transfer image local statistics across EOTFs for HDR image applications

Legal Events

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

Address after: 510663 301-303401-402, area C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone, Guangdong Province

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 510663 301-303401-402, area C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone, Guangdong Province

Patentee before: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 510663 301-303401-402, area C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone, Guangdong Province

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.