- I don't know where the source image came from, but be aware that you're comparing two different images.
- Blurring does not mean that high frequency content does not generally exist. It means it's been attenuated.
- Bear in mind that a motion blur is not symmetric. It acts as a low-pass filter primarily in a specific direction.
when blur is a low frequency component, how does a motion blurred image spectrum possess high frequency?
7 次查看(过去 30 天)
显示 更早的评论
when blur is a low frequency component. How does a motion blurred image spectrum possess high frequency?
As high frequencies are absent in a blurred image, and so it doesn't have diagonal lines, then how are diagonal lines found beyond the spectrum present in the clear image.?
0 个评论
回答(1 个)
DGM
2022-3-7
This isn't going to be a technical explanation, but consider the following:
Let's take one source image and compare a motion blur against a radially symmetric blur with the (approximately) same directional profile and width.
A = imread('cameraman.tif');
A = im2double(A);
% generate filters
radius = 30;
fkm = fspecial('motion',2*radius,-45);
fkg = fspecial('disk',radius);
imshow(fkm,[])
imshow(fkg,[])
% filter the image
B = imfilter(A,fkm,'replicate'); % motion filter
C = imfilter(A,fkg,'replicate'); % disk filter
% do FFT
Fa = getfft(A);
Fb = getfft(B);
Fc = getfft(C);
imshow([A B C; Fa Fb Fc]); % Display the results
function F = getfft(A)
F = fftshift(fft2(A));
F = abs(F); % magnitude
F = mat2gray(log(F+1));
end
As you can see, the motion filter only reduces HF content in one direction. The symmetric filter reduces HF content in all directions. As the filter widths are the same, it should be clear that this behavior is attributable to the filter shape.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!