数字图像处理-冈萨雷斯-课件英文版-Chapter05-图像复原.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《数字图像处理-冈萨雷斯-课件英文版-Chapter05-图像复原.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字图像 处理 冈萨雷斯 课件 英文 Chapter05 图像 复原
- 资源描述:
-
1、Digital Image ProcessingChapter 5:Image Restoration23 June 2006(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image restoration is to restore a degraded image back tothe original image while image enhancement is to manipulate the image so that it is suitable f
2、or a specificapplication.Degradation model:),(),(),(),(yxyxhyxfyxgwhere h(x,y)is a system that causes image distortion and(x,y)is noise.Noise cannot be predicted but can be approximately described instatistical way using the probability density function(PDF)Gaussian noise:222/)(21)(zezpRayleigh nois
3、eazfor 0for )(2)(/)(2azeazbzpbazErlang(Gamma)noise0zfor 00for )()!1()(1zeazbzazpazbbExponential noiseUniform noiseImpulse(salt&pepper)noiseazaezp)(otherwise 0afor a-b1)(bzzpotherwise 0for for )(bzPazPzpba(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.PDF tells
4、 how mucheach z value occurs.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Original imageHistogramDegraded images),(),(),(yxyxfyxg(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Original imageHistogramDegraded images),()
5、,(),(yxyxfyxg(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Periodic noise looks like dotsIn the frequencydomain(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.We cannot use the image histogram to estimate noise PDF.It is
6、 better to use the histogram of one areaof an image that has constant intensity to estimate noise PDF.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Band reject filterRestored imageDegraded imageDFTPeriodic noisecan be reduced bysetting frequencycomponentscorr
7、esponding to noise to zero.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Use to eliminate frequency components in some bandsPeriodic noise from theprevious slide that is Filtered out.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2
8、nd Edition.A notch reject filter is used to eliminate some frequency components.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Degraded imageDFTNotch filter(freq.Domain)Restored imageNoise(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processi
9、ng,2nd Edition.Degraded imageDFT(no shift)Restored imageNoiseDFT of noiseArithmetic mean filter or moving average filter(from Chapter 3)xyStstsgmnyxf),(),(1),(Geometric mean filtermnStsxytsgyxf1),(),(),(mn=size of moving windowDegradation model:),(),(),(),(yxyxhyxfyxgTo remove this part(Images from
10、Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Original imageImage corrupted by AWGNImage obtained using a 3x3geometric mean filterImage obtained using a 3x3arithmetic mean filterAWGN:Additive White Gaussian NoiseHarmonic mean filterxyStstsgmnyxf),(),(1),(Contraharmonic me
11、an filterxyxyStsQStsQtsgtsgyxf),(),(1),(),(),(mn=size of moving windowWorks well for salt noisebut fails for pepper noiseQ=the filter orderPositive Q is suitable for eliminating pepper noise.Negative Q is suitable for eliminating salt noise.For Q=0,the filter reduces to an arithmetic mean filter.For
12、 Q=-1,the filter reduces to a harmonic mean filter.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by pepper noise with prob.=0.1Image corrupted by salt noise with prob.=0.1Image obtained using a 3x3contra-harmonic mean filterWith Q=1.5Image obt
13、ained using a 3x3contra-harmonic mean filterWith Q=-1.5(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by pepper noise with prob.=0.1Image corrupted by salt noise with prob.=0.1Image obtained using a 3x3contra-harmonic mean filterWith Q=-1.5Imag
14、e obtained using a 3x3contra-harmonic mean filterWith Q=1.5subimageOriginal imageMoving windowStatistic parametersMean,Median,Mode,Min,Max,Etc.Output imageMedian filter),(median),(),(tsgyxfxyStsMax filter),(max),(),(tsgyxfxyStsMin filter),(min),(),(tsgyxfxyStsMidpoint filter),(min),(max21),(),(),(ts
15、gtsgyxfxyxyStsStsReduce“dark”noise (pepper noise)Reduce“bright”noise (salt noise)A median filter is good for removing impulse,isolated noiseDegraded imageSalt noisePepper noiseMovingwindowSorted arraySalt noisePepper noiseMedianFilter outputNormally,impulse noise has high magnitude and is isolated.W
16、hen we sort pixels in the moving window,noise pixels are usually at the ends of the array.Therefore,its rare that the noise pixel will be a median value.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by salt-and-pepper noise with pa=pb=0.1Image
17、s obtained using a 3x3 median filter1423(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by pepper noise with prob.=0.1Image corrupted by salt noise with prob.=0.1Image obtained using a 3x3max filterImage obtained using a 3x3min filterxyStsrtsgdm
18、nyxf),(),(1),(where gr(s,t)represent the remaining mn-d pixels after removing the d/2 highest and d/2 lowest values of g(s,t).This filter is useful in situations involving multiple typesof noise such as a combination of salt-and-pepper and Gaussian noise.Formula:(Images from Rafael C.Gonzalez and Ri
19、chard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by additiveuniform noiseImage obtained using a 5x5arithmetic mean filterImage additionallycorrupted by additivesalt-and-pepper noise122Image obtained using a 5x5geometric mean filter2Image corrupted by additiveuniform noiseImage obtai
20、ned using a 5x5 median filterImage additionallycorrupted by additivesalt-and-pepper noise122Image obtained using a 5x5alpha-trimmed mean filterwith d=52Image obtained using a 5x5arithmetic mean filterImage obtained using a 5x5geometric mean filterImage obtained using a 5x5 median filterImage obtaine
21、d using a 5x5alpha-trimmed mean filterwith d=5-Filter behavior depends on statistical characteristics of local areas inside mxn moving window-More complex but superior performance compared with“fixed”filtersStatistical characteristics:General concept:xyStsLtsgmnm),(),(1Local mean:Local variance:xySt
22、sLLmtsgmn),(22),(12Noise variance:Purpose:want to preserve edges1.If 2 is zero,No noisethe filter should return g(x,y)because g(x,y)=f(x,y)2.If L2 is high relative to 2,Edges(should be preserved),the filter should return the value close to g(x,y)3.If L2=2,Areas inside objectsthe filter should return
23、 the arithmetic mean value mLLLmyxgyxgyxf),(),(),(22Formula:Concept:(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Image corrupted by additiveGaussian noise with zero meanand 2=1000Imageobtained using a 7x7arithmeticmean filterImageobtained using a 7x7geometri
24、cmean filterImageobtained using a 7x7adaptivenoise reduction filterAlgorithm:Level A:A1=zmedian zminA2=zmedian zmaxIf A1 0 and A2 0,goto level BElse increase window sizeIf window size 0 and B2 0,return zxyElse return zmedianzmin=minimum gray level value in Sxyzmax=maximum gray level value in Sxyzmed
25、ian=median of gray levels in Sxyzxy=gray level value at pixel(x,y)Smax=maximum allowed size of SxywherePurpose:want to remove impulse noise while preserving edgesLevel A:A1=zmedian zmin A2=zmedian zmax Else Window is not big enough increase window sizeIf window size 0 and B2 0 and A2 0,goto level BL
展开阅读全文