Consider an image (img
) as
A nice explanation of the Fourier transform of an image can be found here. However, I want to perform the Fourier transform locally. For example,
{w,h} = ImageDimensions[img];
imgparts = ImagePartition[img,{w/8,h/8}];
This will give me 64
image parts and I can apply Fourier transform on each image part and assemble them. However, this is computationally very expensive.
Is there any better and faster way (maybe applying the Fourier transform only once) to do it?
Map[ImagePeriodogram, imgparts, {2}]
anddat = Map[Fourier@*ImageData, imgparts, {2}];
evaluates really fast for me on your example. How many transforms do you plan to do? I don't really see how this is operation is computationally prohibitive. $\endgroup$