Index: trunk/psLib/src/imageops/psImageStats.h
===================================================================
--- trunk/psLib/src/imageops/psImageStats.h	(revision 767)
+++ trunk/psLib/src/imageops/psImageStats.h	(revision 797)
@@ -7,14 +7,14 @@
 
 /// This routine must determine the various statistics for the image.
-psStats *
-psImageGetStats(const psImage *input,   ///< image (or subimage) to calculate stats
-                psStats *stats          ///< defines statistics to be calculated & target
-               );
+psStats *psImageStats(psStats *stats, ///< defines statistics to be calculated
+                      psImage *in,    ///< image (or subimage) to calculate stats
+                      psImage *mask,  ///< mask data for image (NULL ok)
+                      int maskVal);   ///< mask Mask for mask
 
-/// Construct a histogram from an image (or subimage).
-psHistogram *
-psImageHistogram(psHistogram *hist,     ///< input histogram description & target
-                 const psImage *input   ///< determine histogram of this image
-                );
+
+psHistogram *psImageHistogram(psHistogram *out,  ///< input histogram description & target
+                              psImage *in,       ///< Image data to be histogramed.
+                              psImage *mask,     ///< mask data for image (NULL ok)
+                              int maskVal);      ///< mask Mask for mask
 
 /// Fit a 2-D polynomial surface to an image.
