How to convert an image to FFT mask?

I need to learn more about numpy arrays. Thanks for the link.