File exchange could do without this kind of submission. No explanation at all.
30 Sep 2008
Hi, I am new to image processing and i need to filter some grayscale images with low and high frequency band filters.
Your code works fine but I still don't quite understand the parameter P. If I had to filter the image so that only frequencies < 6 cycles per degree where displayed on the image when viewed form 80 cm distance, then don't know how to calculate the accurate P value.
Could you give me a hint on this? I would really apreciate it
Thank you very much
07 Jul 2008
I think, if you wnat to use this to a full color image, you might need some changes...
%IDEAL LOW-PASS FILTER
for i = 1:O
G(:,:,i) = H.*F(:,:,i);
02 Jun 2008
10 May 2008
this is a load of crap!
24 Apr 2008
can anyone tell me how to implement this file ? It can't work. When i run the file from editor/debug, errors appear.
31 Mar 2008
11 Mar 2008
The worst low-pass filter ever. Not ideal at all. That's hard to believe than more than 5000 (hopeless?) people have downloaded it. Examples in the Matlab documentation are by far much better (and not poorly coded). Is FEX finally just a collection of irrelevant poor codes?
10 Mar 2008
This code has no comments, but it works just spledidly -- it was designed for 2-D Images of a generic length. As a better illustration, try this code for an image with equal height and width.
% Ideal low pass filter
img = X/max(max(X));
P=[10 20 50 100];
% generate a mask to apply over the
% image's fourier transform.
% for square images, we can simplify the
% code to make a mask:
dFromCenter = sqrt((i-L/2)^2 + (j-L/2)^2);
% apply the mask over the transform
F=fftshift(fft2(img)); % fft the image,
% bringing the 0
% frequencies to
G=fftshift(H.*F); % mask out outer
% frequencies and shift
% back to image state
13 Nov 2007
This is just a poorly done homework problem. What does ideal mean? Here is the first three lines of the file:
%IDEAL LOW-PASS FILTER
11 Nov 2007
This program is horrible. Not a single comment, no explanation of how to use. This is not even ready to be generalized.
06 Oct 2007
24 Sep 2007
This is a perfect example of junk submission- posting some badly written homework assignments. Please remove it all from FEX, there is enough junk already.
2 charles khoo: You marked file that you couldnt even run as excellent. I wonder what mark do you give to the function that DOES work?
24 May 2007
Hallo, can anyone tell me how to implement this file ? It can't work.
When i run the file from editor/debug, errors appear.