Index: trunk/archive/pslib/include/psImage.h
===================================================================
--- trunk/archive/pslib/include/psImage.h	(revision 1585)
+++ trunk/archive/pslib/include/psImage.h	(revision 1633)
@@ -80,8 +80,8 @@
 /** Direction in which to cut */
 typedef enum {
-    PS_CUT_X_POS,			///< Cut in positive x direction
-    PS_CUT_X_NEG,			///< Cut in negative x direction
-    PS_CUT_Y_POS,			///< Cut in positive y direction
-    PS_CUT_Y_NEG			///< Cut in negative y direction
+    PS_CUT_X_POS,                     ///< Cut in positive x direction
+    PS_CUT_X_NEG,                     ///< Cut in negative x direction
+    PS_CUT_Y_POS,                     ///< Cut in positive y direction
+    PS_CUT_Y_NEG                      ///< Cut in negative y direction
 } psImageCutDirection;
 
@@ -89,14 +89,13 @@
 psVector *
 psImageSlice(psVector *out,		///< Vector to output, or NULL
-	     psVector *coords,		///< Returned coordinates along the slice, or NULL
 	     const psImage *input,	///< Input image
 	     const psImage *mask,	///< Ignore those pixels where mask & maskVal == 1.  May be NULL
 	     unsigned int maskVal,	///< Value in mask to ignore
-	     unsigned int x,		///< starting x coord of region to slice
-	     unsigned int y,		///< starting y coord of region to slice
-	     unsigned int nx,		///< length of region in x
-	     unsigned int ny,		///< length of region in y
+	     unsigned int x,            ///< starting x coord of region to slice
+	     unsigned int y,            ///< starting y coord of region to slice
+	     unsigned int nx,           ///< length of region in x
+	     unsigned int ny,           ///< length of region in y
 	     psImageCutDirection direction, ///< Direction in which to cut
-	     const psStats *stats	///< defines statistics used to find output values
+	     const psStats *stats       ///< defines statistics used to find output values
     );
 
@@ -111,7 +110,7 @@
 	   float xe, 			///< ending x coord of cut
 	   float ye, 			///< ending y coord of cut
-	   float dw, 			///< width of cut
-	   const psStats *stats)	///< defines statistics used to find output values
-;
+	   unsigned int nSamples,	///< Number of samples along the slice
+	   psImageInterpolateMode mode	///< defines statistics used to find output values
+	   );
 
 /// Extract radial annulii data to a vector.
