Technical Discussions related to Image Processing (image coding, compression, digital effects, mpeg, etc)
I am trying to remove gaussian noise from a 256*256 gray image using
FIR hamming window.
I created a 2D window and then convolved with the image.
I dont seem to get the desired result.
Here's my code:
hamm1=hamming(32);
len=length(hamm1);
for i=1:len,
for j=1:len,
hamm2(j,i)=hamm1(j,1);
end
end
hamm2d=hamm2.*hamm2';
hamm_max=max(max(hamm2));
norm_hamm2=hamm2d/hamm_max;
K=conv2(norm_hamm2,noisy_image);
Can someone tell me what is wrong with this and how to correct it?
Any help will be highly appreciated.
Thanks.