IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25116


Ignore:
Timestamp:
Aug 18, 2009, 1:43:11 PM (17 years ago)
Author:
Paul Price
Message:

Remove old code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.h

    r24483 r25116  
    1515/// @addtogroup Camera Camera Layout
    1616/// @{
    17 
    18 #if 0
    19 /// Pixel mask values
    20 typedef enum {
    21     PM_MASK_CLEAR    = 0x00,            ///< The pixel is not masked
    22     PM_MASK_BLANK    = 0x01,            ///< The pixel is blank or has no (valid) data
    23     PM_MASK_FLAT     = 0x02,            ///< The pixel is non-positive in the flat-field
    24     PM_MASK_DETECTOR = 0x02,            ///< The detector pixel is bad (e.g., bad column, charge trap)
    25     PM_MASK_SAT      = 0x04,            ///< The pixel is saturated in the image of interest
    26     PM_MASK_BAD      = 0x04,            ///< The pixel is low in the image of interest
    27     PM_MASK_RANGE    = 0x04,            ///< The pixel is out of range in the image of interest
    28     PM_MASK_CR       = 0x08,            ///< The pixel is probably a CR
    29     PM_MASK_SPARE1   = 0x10,            ///< Spare mask value
    30     PM_MASK_SPARE2   = 0x20,            ///< Spare mask value
    31     PM_MASK_SUSPECT  = 0x40,            ///< The pixel is suspected of being bad, but may not be
    32     PM_MASK_MARK     = 0x80,            ///< The pixel is marked as temporarily ignored
    33 } pmMaskValue;
    34 #define PM_MASK_MARK 0x80            ///< The pixel is marked as temporarily ignored
    35 #define PM_MASK_SAT  0x04            ///< The pixel is saturated in the image of interest
    36 #endif
    3717
    3818/// Set a temporary readout mask using CELL.SATURATION and CELL.BAD
     
    5434/// can't be generated.
    5535bool pmReadoutSetVariance(pmReadout *readout, ///< Readout for which to set variance
    56                           const psImage *noiseMap, ///< 2D image of the read noise in DN
     36                          const psImage *noiseMap, ///< 2D image of the read noise in DN
    5737                          bool poisson    ///< Include poisson variance (in addition to read noise)?
    5838    );
     
    7353/// with HDU entry).  This is intended for most operations.
    7454bool pmReadoutGenerateVariance(pmReadout *readout, ///< Readout for which to generate variance
    75                           const psImage *noiseMap, ///< 2D image of the read noise in DN
     55                          const psImage *noiseMap, ///< 2D image of the read noise in DN
    7656                               bool poisson    ///< Include poisson variance (in addition to read noise)?
    7757    );
     
    8363                                   psImageMaskType sat, ///< Mask value to give saturated pixels
    8464                                   psImageMaskType bad, ///< Mask value to give bad (low) pixels
    85                                    const psImage *noiseMap, ///< 2D image of the read noise in DN
     65                                   const psImage *noiseMap, ///< 2D image of the read noise in DN
    8666                                   bool poisson ///< Include poisson variance (in addition to read noise)?
    8767    );
     
    9373                                psImageMaskType sat, ///< Mask value to give saturated pixels
    9474                                psImageMaskType bad, ///< Mask value to give bad (low) pixels
    95                                 const psImage *noiseMap, ///< 2D image of the read noise in DN
     75                                const psImage *noiseMap, ///< 2D image of the read noise in DN
    9676                                bool poisson ///< Include poisson variance (in addition to read noise)?
    9777    );
Note: See TracChangeset for help on using the changeset viewer.