I need to implement a very simple filter that suppresses a range of frequencies. Then I need to compute the inverse Fourier transform and save the new image.
I am using the CImg library ( C++ ). So far I have done:
const CImg<unsigned char> img(source_img);
CImgList<> F = img.get_FFT();
and I am stuck here. F is a a list of two CImg objects the real and Imaginary part , correct?
Having this F how I suppress frequencies and reconstruct the new Image?
P.S. This is a homework, so I don't want a solution but an explanation of what to do, how to do it and why.