Index: trunk/psLib/src/imageops/psImageMapFit.h
===================================================================
--- trunk/psLib/src/imageops/psImageMapFit.h	(revision 30044)
+++ trunk/psLib/src/imageops/psImageMapFit.h	(revision 37721)
@@ -20,4 +20,28 @@
 // fit the image map to a set of points
 bool psImageMapClipFit(bool *pGoodFit, 
+		       psImageMap *map,
+                       psStats *stats,
+                       psVector *mask,  // WARNING: Mask is modified!
+                       psVectorMaskType maskValue,
+                       const psVector *x,
+                       const psVector *y,
+                       const psVector *f,
+                       const psVector *df
+    );
+
+
+// fit the image map to a set of points, using sparse matrix tools
+bool psImageMapFitSparse(bool *pGoodFit, 
+		   psImageMap *map,
+                   const psVector *mask,
+                   psVectorMaskType maskValue, // 
+                   const psVector *x,
+                   const psVector *y,
+                   const psVector *f,
+                   const psVector *df
+    );
+
+// fit the image map to a set of points using sparse matrix tools
+bool psImageMapClipFitSparse(bool *pGoodFit, 
 		       psImageMap *map,
                        psStats *stats,
