I’m trying to create a simple macro that takes the open image (let’s pretend its 256x256 for this example), calculates the FFT of that image, zero padds it to be 512x512 (by altering the canvas size), then takes the inverse FFT.
I would expect the result to be a 512x512 image that consists of the same Fourier coefficients, only interpolated to at finer pixel spacing.
Here is the simple macro I’m trying to use:
run(“Canvas Size…”, “width=512 height=512 position=Center zero”);
However, the output image size is 256x256 (same as the original image)
Why does the inverse FFT not operate on the 512x512 image?
More importantly: how can I get it to return the 512x512 inverse FFT of the zero padded image?