图像处理报告 第五章所有报告 冈萨雷斯 全英文 原创 Digital Image Processing.doc_第1页
图像处理报告 第五章所有报告 冈萨雷斯 全英文 原创 Digital Image Processing.doc_第2页
图像处理报告 第五章所有报告 冈萨雷斯 全英文 原创 Digital Image Processing.doc_第3页
图像处理报告 第五章所有报告 冈萨雷斯 全英文 原创 Digital Image Processing.doc_第4页
图像处理报告 第五章所有报告 冈萨雷斯 全英文 原创 Digital Image Processing.doc_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Digital Image Processing Project chapter Chapter 5 Project number Proj05 01 Proj05 04 Student s name Student s number Class 1 Contents NOISE GENERATORS 2 NOISE REDUCTION USING A MEDIAN FILTER 2 PERIODIC NOISE REDUCTION US ING A NOTCH FILTER 4 PARAMETRIC WIENER FILTER 7 2 Noise Generators Exp 16 PROJECT 05 01 Multiple Uses Objective To know how to generate noise images with different probability density functions distributions The noise im ages are useful in simulation for image enhancement and image restoration Requirements This is a generic project in the sense that the programs developed here are used in several of the projects that follow See Fig 5 2 for the shapes and parameters of the following noise probability density functions a Find or develop a program to add Gaussian noise to an image You must be able to sp ecify the noise mean and variance b Find or develop a program to add salt and pepper impulse noise to an image You must be able to specify the probabilities of each of the two noise components Figure 1 Fig5 03 jpg 1 Program listings I imread Fig5 03 jpg r imnoise I gaussian 0 0 01 m 5000 subplot 2 2 1 imshow r title original subplot 2 2 2 imhist r m title gaussian r1 imnoise I salt m 100 subplot 2 2 3 imshow r1 title add noise subplot 2 2 4 imhist r1 m title salt Discussion of results original 0 200 400 gaussian 0100200 add noise 0 2000 4000 6000 8000 salt figure 1 subplot 211 imshow f title original g imnoise f salt subplot 223 imshow g title salt f1 medfilt2 g 3 3 symmetric subplot 224 imshow f1 title median filter Discussion of results original salt C 343 0 r R S imnoise3 688 688 C 40000000 subplot 221 imshow r title noise I1 double I I2 r I1 subplot 222 I3 uint8 I2 imshow I3 title add noise M N size I I1 double I3 F fft2 I subplot 223 imshow F title fourier frequency sig 100 H lpfilter gaussian M N sig G H F g real ifft2 G I4 uint8 g subplot 224 imshow I4 title after LPF 6 Discussion of results noiseadd noise fourier frequencyafter LPF Figure 6 results of project 05 03 7 Parametric Wiener Filter Exp 19 PROJECT 05 04 Objective To understand the high performance of the parametric Wiener Filter in image restoration when there are additive noise after the image degradation Requirements a Implement a blurring filter as in Eq 5 6 11 b Blur image 5 26 a in the 45 direction using T 1 as in Fig 5 26 b c Add Gaussian noise of 0 mean an d variance of 10 pixels to the blurred image d Restore the image using the parame tric Wiener filter given in Eq 5 8 3 Figure 7 Fig5 26 a jpg 8 Program listings f imread Fig5 26 a jpg I im2double f figure 1 subplot 221 imshow f title original PSF fspecial motion 21 45 gb imfilter f PSF conv circular subplot 222 imshow gb title circular convolution noise var 0 0001 noise imnoise gb gaussian 0 noise var subplot 234 imshow noise title blurred and noise fr1 deconvwnr noise PSF 0 subplot 235 imshow fr1 title simple Wiener estimated nsr noise var var I fr2 deconvwnr noise PSF estimated nsr subplot 236 imshow fr2 title constant ratio W

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论