Index: /trunk/archive/modules/include/phase2.h
===================================================================
--- /trunk/archive/modules/include/phase2.h	(revision 966)
+++ /trunk/archive/modules/include/phase2.h	(revision 967)
@@ -42,5 +42,5 @@
 typedef struct {
     const int x0, y0;			///< Offset to region
-    const int nRow, nCol;		///< Size of region
+    const int nX, nY;			///< Size of region
 } psImageRegion;
 
@@ -48,6 +48,6 @@
 psImageRegion *psImageRegionAlloc(int x0, ///< x offset to region
 				  int y0, ///< y offset to region
-				  int nRow, ///< Number of rows in region
-				  int nCol ///< Number of columns in region
+				  int nX, ///< Size of region in x
+				  int nY ///< Size of region in y
 				  );
 /** Destructor */
@@ -61,5 +61,6 @@
     PS_OVERSCAN_COLUMNS = 2, 		///< Subtract columns
     PS_OVERSCAN_ROWS_FIT = -1,		///< Subtract a fit to rows
-    PS_OVERSCAN_COLUMNS_FIT = -2	///< Subtract a fit to columns
+    PS_OVERSCAN_COLUMNS_FIT = -2,	///< Subtract a fit to columns
+    PS_OVERSCAN_ALL = 3			///< Subtract the statistic of all pixels in overscan region
 } psOverscanAxis;
 
@@ -117,4 +118,5 @@
 				 const psImage *mask, ///< Bad pixel mask to apply
 				 int maskVal, ///< Mask the pixels for which mask & maskVal > 0.
+				 float sat, ///< Saturation level: pixels brighter than this level are masked
 				 int grow ///< Radius to grow the bad pixels
 				 );
