00001 #ifndef PS_IMAGE_BACKGROUND_H 00002 #define PS_IMAGE_BACKGROUND_H 00003 00004 #include "psStats.h" 00005 #include "psImage.h" 00006 #include "psType.h" 00007 00008 // Get the background for an image 00009 psStats *psImageBackground(const psImage *image, // Image for which to get the background 00010 const psImage *mask, // Mask image 00011 psMaskType maskValue, // Mask pixels which this mask value 00012 double fmin, // Fraction to return in the lower quartile field (0.25 for LQ) 00013 double fmax, // Fraction to return in the upper quartile field (0.75 for LQ) 00014 long nMax, // Maximum number of pixels to subsample 00015 psRandom *rng // Random number generator (for pixel selection) 00016 ); 00017 00018 #endif // #ifndef PS_IMAGE_BACKGROUND_H
1.4.4