第四章 图像变换及应用(2017C).ppt

  1. 1、本文档共230页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第四章 图像变换及应用(2017C)

Example: given an image f and an 9×9 spatial filter imfilter(f, h,’conv’ ,’circular’,’ same’) is shown below. we would like to perform the same filtering but in the frequency domain. Build frequency domain filters from spatial domain filters 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Step 1: zero-padding the spatial domain filter h to make the size the same as the size of the image f (300×300). How? 300 9 9 300 300 9 9 300 Option 1 the filter is located at the center of the expanded filter (h_exp1) Option 2 the filter is located at the top-left corner (h_exp2) Which one is correct ? Build frequency domain filters from spatial domain filters Step 2: obtain the frequency domain representation of the expanded spatial domain filter by taking the DFT h_exp1 h_exp2 Results using the following MATLAB commands are shown below H=fft2(h_exp);imshow(log(1+abs(H)), [ ]); imshow(log(1+abs(fftshift(H))), [ ]); imshow(angle(H), [ ]); Notice the spectra are the same for h_exp1 and h_exp2 (from shift property). The difference lies in the phase spectrum Build frequency domain filters from spatial domain filters Step 3: multiply the DFT of the image (not centered) by the DFT of expanded h. F H F?H Centered F Centered F?H Notice that, overall speaking, the high frequency parts of F are attenuated. Build frequency domain filters from spatial domain filters Step 4: take the real part of the IDFT of the results of step 3. From h_exp1 From h_exp2 From spatial domain filtering Build frequency domain filters from spatial domain filters Spatial filtering in terms of correlation and convolution Correlation Convolution Convolution theorem The origin of spatial filter is at the center for spatial filtering while the origin of the filter in convolution theory is at the top, left corner. Spatial filtering vs. Convolution theory wavedec2()函数 功能:2-D信号的多层小波分解 格式: [C,S]=wavedec2

文档评论(0)

l215322 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档