Index: trunk/psLib/src/imageops/psImageBackground.h
===================================================================
--- trunk/psLib/src/imageops/psImageBackground.h	(revision 10169)
+++ trunk/psLib/src/imageops/psImageBackground.h	(revision 10396)
@@ -7,13 +7,10 @@
 
 // Get the background for an image
-psStats *psImageBackground(const psImage *image, // Image for which to get the background
-                           const psImage *mask, // Mask image
-                           psMaskType maskValue, // Mask pixels which this mask value
-                           double fmin, // Fraction to return in the lower quartile field (0.25 for LQ)
-                           double fmax, // Fraction to return in the upper quartile field (0.75 for LQ)
-                           long nMax,   // Maximum number of pixels to subsample
-                           psStatsOptions option,
-                           psRandom *rng // Random number generator (for pixel selection)
-                          );
+bool psImageBackground(psStats *stats, // desired measurement and options
+                       const psImage *image, // Image for which to get the background
+                       const psImage *mask, // Mask image
+                       psMaskType maskValue, // Mask pixels which this mask value
+                       psRandom *rng // Random number generator (for pixel selection)
+                      );
 
 #endif // #ifndef PS_IMAGE_BACKGROUND_H
