I have to program a fft function, which i/ps and image and calculates the fft/ifft of the image... I would like to know the syntax for loading a jpg file in the desired format, like the RGB components separated please...
you can use the OpenCV library. In OpenCV there are a lot of functions for advanced image manipulation (image loading/saving, conversion, filtering, etc.)