IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 1, 2006, 1:12:16 PM (20 years ago)
Author:
magnier
Message:

API change: moved several arguments to a new psStats argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageBackground.h

    r10169 r10396  
    77
    88// Get the background for an image
    9 psStats *psImageBackground(const psImage *image, // Image for which to get the background
    10                            const psImage *mask, // Mask image
    11                            psMaskType maskValue, // Mask pixels which this mask value
    12                            double fmin, // Fraction to return in the lower quartile field (0.25 for LQ)
    13                            double fmax, // Fraction to return in the upper quartile field (0.75 for LQ)
    14                            long nMax,   // Maximum number of pixels to subsample
    15                            psStatsOptions option,
    16                            psRandom *rng // Random number generator (for pixel selection)
    17                           );
     9bool psImageBackground(psStats *stats, // desired measurement and options
     10                       const psImage *image, // Image for which to get the background
     11                       const psImage *mask, // Mask image
     12                       psMaskType maskValue, // Mask pixels which this mask value
     13                       psRandom *rng // Random number generator (for pixel selection)
     14                      );
    1815
    1916#endif // #ifndef PS_IMAGE_BACKGROUND_H
Note: See TracChangeset for help on using the changeset viewer.