IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2008, 5:10:17 PM (18 years ago)
Author:
Paul Price
Message:

Merging pap_branch_080328 so we can use the modernised version of ppMerge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.h

    r15910 r17228  
    55 * @author Eugene Magnier, IfA
    66 *
    7  * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-12-24 21:10:28 $
     7 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-03-29 03:10:17 $
    99 * Copyright 2004 Institute for Astronomy, University of Hawaii
    1010 */
     
    1515/// @addtogroup detrend Detrend Creation and Application
    1616/// @{
     17
     18#define PM_MASK_ANALYSIS_SUSPECT "MASK.SUSPECT" // Readout analysis metadata keyword for suspect image
     19#define PM_MASK_ANALYSIS_NUM "MASK.NUM" // Readout analysis metadata keyword for number of inputs
     20
    1721
    1822typedef enum {
     
    4751/// image is of type S32.  The relevant median and standard deviation must be supplied in the
    4852/// readout->analysis metadata as READOUT.MEDIAN, READOUT.STDEVe
    49 psImage *pmMaskFlagSuspectPixels(psImage *out, ///< Suspected bad pixels image, or NULL
    50                                  const pmReadout *readout, ///< Readout to inspect
    51                                  float rej, ///< Rejection threshold (standard deviations)
    52                                  psMaskType maskVal ///< Mask value for statistics
    53                                 );
     53bool pmMaskFlagSuspectPixels(pmReadout *output, ///< Output readout, optionally with suspect pixels image
     54                             const pmReadout *readout, ///< Readout to inspect
     55                             float median, ///< Image median
     56                             float stdev, ///< Image standard deviation
     57                             float rej, ///< Rejection threshold (standard deviations)
     58                             psMaskType maskVal ///< Mask value for statistics
     59    );
    5460
    5561/// Identify bad pixels from the suspect pixels image
    5662///
    57 /// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images).
    58 /// Pixels marked as suspect in more than "thresh" standard deviations from the mean are identified as bad
    59 /// pixels (output image).  If "thresh" is negative, a Poisson is assumed.
    60 psImage *pmMaskIdentifyBadPixels(const psImage *suspects, ///< Accumulated suspect pixels image
    61                                  psMaskType maskVal, ///< Value to set for bad pixels
    62                                  int nTotal,
    63                                  float thresh, ///< Threshold for bad pixel (standard deviations)
    64                                  pmMaskIdentifyMode mode
    65                                 );
     63/// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images),
     64/// according to the chosen mode.
     65bool pmMaskIdentifyBadPixels(pmReadout *output, ///< Output readout, with suspect pixels imageOut
     66                             psMaskType maskVal, ///< Value to set for bad pixels
     67                             float thresh, ///< Threshold for bad pixel
     68                             pmMaskIdentifyMode mode ///< Mode for identifying bad pixels
     69    );
    6670/// @}
    6771#endif
Note: See TracChangeset for help on using the changeset viewer.