function Iout=padFFTImage(Iin)
			szPad = size(Iin)*2-1; % szPad = szImage + szFilter -1 = 2*szFilter-1 (in our case)
			pH = zeros(szPad);
			pH(1:size(Iin,1), 1:size(Iin,2)) = Iin;  %put at top-left corner (should flip but we skip)
			Iout =fft2(pH);
return

