Index: trunk/psModules/src/imcombine/pmSubtractionEquation.h
===================================================================
--- trunk/psModules/src/imcombine/pmSubtractionEquation.h	(revision 29004)
+++ trunk/psModules/src/imcombine/pmSubtractionEquation.h	(revision 29543)
@@ -65,3 +65,30 @@
     );
 
+bool pmSubtractionCalculateNormalization(
+  pmSubtractionStampList *stamps,
+  const pmSubtractionMode mode);
+
+bool pmSubtractionCalculateNormalizationStamp(
+    pmSubtractionStamp *stamp,		// stamp on which to save normalization)
+    const psKernel *input,		// Input image (target)
+    const psKernel *reference,		// Reference image (convolution source)
+    int footprint,			// (Half-)Size of stamp
+    int normWindow1,			// Window (half-)size for normalisation measurement
+    int normWindow2			// Window (half-)size for normalisation measurement
+  );
+
+bool pmSubtractionCalculateMoments(
+    pmSubtractionKernels *kernels, // Kernels
+    pmSubtractionStampList *stamps);
+
+bool pmSubtractionCalculateMomentsStamp(
+    pmSubtractionKernels *kernels, // Kernels
+    pmSubtractionStamp *stamp,		// stamp on which to save normalization)
+    int footprint,			// (Half-)Size of stamp
+    int normWindow1,			// Window (half-)size for normalisation measurement
+    int normWindow2			// Window (half-)size for normalisation measurement
+    );
+
+bool pmSubtractionCalculateMomentsKernel(double *Mxx, double *Myy, psKernel *image, int footprint, int window);
+
 #endif
