Help with Image Processing Equation Implementation
9 views (last 30 days)
Show older comments
I need help implementing the following equation in MATLAB:

This equation, multiplied by the Fourier transform of the image and then taking its inverse in going to output a blurred image. I'm having problem implementing it. This is what I have so far:
T = 1;
a = 0.1;
b = 0.1;
I=imread('5.26.tif');
I_fft=fft2(I);
[u,v]=size(I);
for i=1:u
for j=1:v
eq=((T)/(pi*(i*a + j*b)))*sin(pi*(i*a + j*b))*exp(-1*pi*(i*a + j*b));
g(i,j)=eq;
end
end
I_Blur =ifft2(g.*I_fft);
figure
imshow(I_Blur)
T, a and b are given parameters
0 Comments
Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!