Index: trunk/psLib/src/fft/psImageFFT.h
===================================================================
--- trunk/psLib/src/fft/psImageFFT.h	(revision 28998)
+++ trunk/psLib/src/fft/psImageFFT.h	(revision 29592)
@@ -84,4 +84,16 @@
     );
 
+/// Convolve an image with a kernel, using the FFT, applying a window function
+///
+/// This is appropriate for larger kernels, where the direct convolution is slow.  The input image and kernel
+/// are suitably padded to avoid wrap-around effects.
+psImage *psImageConvolveFFTwithWindow(
+    psImage *out,                       ///< Output image, or NULL
+    const psImage *in,                  ///< Image to convolve
+    const psImage *mask,                ///< Corresponding mask
+    psImageMaskType maskVal,		///< Value to mask
+    const psKernel *kernel              ///< kernel to convolve with
+    );
+
 /// Allocate an the psKernelFFT structure
 psKernelFFT *psKernelFFTAlloc(
