- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
a=[1 1 1 1;1 1 1 1;0 0 0 0; 0 0 0 0]; a=repmat(a,64); figure,subplot(1,2,1),imshow(a,[]) subplot(1,2,2),imshow(log(1+abs(fftshift(fft2(a)))),[]) help fftshift a=[1 1 1 1;1 1 1 1;0 0 0 0; 0 0 0 0]; a=repmat(a,64); figure,subplot(1,2,1),imshow(a,[]) subplot(1,2,2),imshow(log(1+abs(fftshift(fft2(a)))),[]) help fftshift a=[1 1 0 0;1 1 0 0;0 0 1 1; 0 0 1 1]; a=repmat(a,64); figure,subplot(1,2,1),imshow(a,[]) subplot(1,2,2),imshow(log(1+abs(fftshift(fft2(a)))),[]) help fftshift I=imread(lenna.bmp); figure,imshow(I,[]) figure,imshow(log(1+fftshift(abs(fft2(I)))),[]) 高频和低频 Saliency Detection: A?Spectral Residual?Approach Saliency Detection: A Spectral Residual Approach %% Read image from file inImg = im2double(rgb2gray(imread(giraffe.jpg))); %% Spectral Residual myFFT = fft2(inImg); myLogAmplitude = log(abs(myFFT)); myPhase = angle(myFFT); mySpectralResidual = myLogAmplitude - imfilter(myLogAmplitude, fspecial(average, 3), replicate); saliencyMap = abs(ifft2(exp(mySpectralResidual + i*myPhase))).^2; %% After Effect saliencyMap = mat2gray(imfilter(saliencyMap, fspecial(gaussian, [3, 3], 1))); figure,imshow(saliencyMap,[]); /blog-493885-589542.html (The PhD Grind) Guo, Chenlei, Qi Ma, and Liming Zhang. “Spatio-temporal saliency detection using phase spectrum of quaternion fourier transform.”?Computer vision and pattern recognition, 2008. cvpr 2008. ieee conference on. IEEE, 2008. The results are good, but the reason is questionable The no-end story %% Read image from file inImg = im2double(rgb2gray(imread(giraffe.jpg))); %% Spectral Residual myFFT = fft2(inImg); myPhase = angle(myFFT); saliencyMap = abs(ifft2(exp(i*myPhase))).^2; %% After Effect saliencyMap = mat2gray(imfilter(saliencyMap, fspecial(gaussian, [3, 3], 1))); figure,imshow(saliencyMap,[]); * Fourier变换 What does the Fourier Transform do? Given a smoothie, it finds the recipe. What does the Fourier transform do? Given a smoothie, it finds the recipe. How? Run the smoothie through filt
您可能关注的文档
最近下载
- 秋季安全生产培训ppt.pptx VIP
- (完整word版)护理安全(不良)事件报告制度及工作流程.docx VIP
- 体育教学工作总结学情分析报告(共8).docx VIP
- 内部审核工作程序.pdf VIP
- 怪物猎人3金手指素材代码.doc VIP
- 马工程-中国古代文学史(第二版)第三编上册魏晋南北朝文学PPT课件-50109.docx VIP
- 传统节日中秋节介绍英文版ppt课件.pptx VIP
- 销售合同管理excel表格系统 台账登记统计 到期提醒Excel表格模板 (9).xlsx VIP
- 刘毅5000词汇.doc VIP
- 《单相全桥逆变器死区效应分析及补偿方法》-毕业论文(设计).doc VIP
文档评论(0)