This question already has an answer here:
I want to generate Fourier transforms of a picture. the transform can represent the diffraction pattern of the picture.
Basically, if I have a picture. Then, the result should look like this:
For a more complicated case, for the image on the left, The results should look like:
I was hoping Mathematica will have some built-in function to full fill the result. I saw a demonstration project with similar function. But the shapes are built in also. I need to process some of my own image. And retrieve the original image from the spectrum image.
Thanks for any suggestion