IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2007, 12:22:06 PM (18 years ago)
Author:
eugene
Message:

added pmMaskIdentifyMode functions

File:
1 edited

Legend:

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

    r12696 r15865  
    55 * @author Eugene Magnier, IfA
    66 *
    7  * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-03-30 21:12:56 $
     7 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-12-16 22:22:06 $
    99 * Copyright 2004 Institute for Astronomy, University of Hawaii
    1010 */
     
    1515/// @addtogroup detrend Detrend Creation and Application
    1616/// @{
     17
     18typedef enum {
     19  PM_MASK_ID_NONE,
     20  PM_MASK_ID_VALUE,
     21  PM_MASK_ID_FRACTION,
     22  PM_MASK_ID_SIGMA,
     23  PM_MASK_ID_POISSON,
     24} pmMaskIdentifyMode;
     25
     26pmMaskIdentifyMode pmMaskIdentifyModeFromString (const char *string);
    1727
    1828/// Applies the bad pixel mask to the input
     
    4959/// pixels (output image).  If "thresh" is negative, a Poisson is assumed.
    5060psImage *pmMaskIdentifyBadPixels(const psImage *suspects, ///< Accumulated suspect pixels image
     61                                 psMaskType maskVal, ///< Value to set for bad pixels
     62                                 int nTotal,
    5163                                 float thresh, ///< Threshold for bad pixel (standard deviations)
    52                                  psMaskType maskVal ///< Value to set for bad pixels
     64                                 pmMaskIdentifyMode mode
    5365                                );
    5466/// @}
Note: See TracChangeset for help on using the changeset viewer.