2D FFT for a non square masked image



Hi,Basically i am trying to apply a mask to an bitmap RGB image and then carry out a FFT on the image.It works on the whole 300x300 image but the masked area is adding towards the generated image - i believe! So can a FFT be applied to a masked area that is non-square??If so how?John Pierson Lv 8.20 Masked image, mask and VI attatched.nb, images have been converted to jpeg as .bmp is not alowed as an attachment.


Fourier Transform of RGB3.vi:
http://forums.ni.com/attachments/ni/170/327623/1/Fourier Transform of RGB3.vi


75.JPG:
http://forums.ni.com/attachments/ni/170/327623/2/75.JPG


mask75.JPG:
http://forums.ni.com/attachments/ni/170/327623/3/mask75.JPG
.