IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2008, 5:44:05 PM (18 years ago)
Author:
Paul Price
Message:

Removing psFitsScalingMeasure, since psImageBackground removes all non-finite pixels before doing statistics, so that a mask is unnecessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsScale.h

    r16185 r16197  
    66#include <psType.h>
    77#include <psRandom.h>
    8 
    9 /// Measure statistics on the image for the PS_FITS_SCALE_STDEV_ options
    10 ///
    11 /// NB: It is the user's responsibility to call this function if there is the possibility of scaling being
    12 /// performed.  The reason this is required is that this function takes a mask (required for measuring the
    13 /// statistics properly), whereas we would like to avoid having to pass a mask to all the other FITS
    14 /// functions.  Therefore, since the other FITS functions don't have the mask, while the user may, it is the
    15 /// user's responsibility to call this function.
    16 bool psFitsScaleMeasure(psFits *fits,   ///< FITS file
    17                         const psImage *image, ///< Image to measure
    18                         const psImage *mask, ///< Mask image, or NULL
    19                         psMaskType maskVal, ///< Value to mask
    20                         psRandom *rng ///< Random number generator, or NULL
    21     );
    228
    239/// Determine BSCALE and BZERO for an image
Note: See TracChangeset for help on using the changeset viewer.