![]() |
二维图像滤波器还原问题
clc
clear all close all H=imread('E:\final design\me\tire10--残缺一7.jpg','jpg'); I=rgb2gray(H); I=imresize(I,0.1,'bili'); figure;imshow(I),title('原图'); Y=fft2(I,1024,1024);YY=fftshift(abs(Y)); YY=255*YY/max(YY(:)); figure;imshow(YY);title('傅氏变换图'); a=1:1024; b=exp(-(a-512).^2/10000); figure,plot(b,'DisplayName','b','YDataSource','b') y=b'*b; figure;imshow(y,[]); RE=YY.*y; RE1=ifft2(RE); figure;imshow(uint8(RE1)); 为什么还原出的图像是一片黑呢? |
所有时间均为北京时间。现在的时间是 12:27。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.