From: David Young on 22 Apr 2010 05:06 Well it seems like the basic problem is that you used abs, log etc. to let you visualise the spectrum, but those operations also affected the data you used in the main computation. So what you need to do is to separate out viewing the spectrum from the filtering operation. You might do something like this, in outline F = fft(image); Fview = some function of F that makes it easier to view the structure imshow(Fview); Fout = some function of F that carries out filtering - e.g. setting high-frequency components to zero newimage = ifft(Fout); Then the things you do to see the spectrum (abs, logarithm and so on) only affect Fview, and don't affect Fout.
|
Pages: 1 Prev: producing 3D plot that looks like a 'origin' 3d walls plot Next: How to plot several 3d matrix |