MATLAB: How to apply 2D hanning window to an image

2d hanning window

I want to carry out 2D FFT of an image. Before that i want to apply Hanning window to my image. But i dont know how to apply 2D window to an image.
Can anyone please help me.
Related Question