Index: trunk/psModules/src/imcombine/pmSubtractionStamps.h
===================================================================
--- trunk/psModules/src/imcombine/pmSubtractionStamps.h	(revision 14455)
+++ trunk/psModules/src/imcombine/pmSubtractionStamps.h	(revision 14480)
@@ -4,4 +4,5 @@
 #include <pslib.h>
 
+#include "pmSubtractionKernels.h"
 
 /// Status of stamp
@@ -17,4 +18,8 @@
 typedef struct {
     int x, y;                           ///< Position
+    float xNorm, yNorm;                 ///< Normalised position
+    psKernel *reference;                ///< Reference image postage stamp
+    psKernel *input;                    ///< Input image postage stamp
+    psKernel *weight;                   ///< Weight image postage stamp
     psImage *matrix;                    ///< Associated matrix
     psVector *vector;                   ///< Assoicated vector
@@ -31,4 +36,12 @@
     );
 
+/// Extract stamps from the images
+bool pmSubtractionExtractStamps(psArray *stamps, ///< Stamps
+                                psImage *reference, ///< Reference image
+                                psImage *input, ///< Input image (or NULL)
+                                psImage *weight, ///< Weight (variance) map
+                                int footprint, ///< Stamp footprint size
+                                const pmSubtractionKernels *kernels ///< Kernel basis functions (for size)
+    );
 
 #endif
