Changeset 25116 for trunk/psModules/src/camera/pmFPAMaskWeight.h
- Timestamp:
- Aug 18, 2009, 1:43:11 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.h
r24483 r25116 15 15 /// @addtogroup Camera Camera Layout 16 16 /// @{ 17 18 #if 019 /// Pixel mask values20 typedef enum {21 PM_MASK_CLEAR = 0x00, ///< The pixel is not masked22 PM_MASK_BLANK = 0x01, ///< The pixel is blank or has no (valid) data23 PM_MASK_FLAT = 0x02, ///< The pixel is non-positive in the flat-field24 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 interest26 PM_MASK_BAD = 0x04, ///< The pixel is low in the image of interest27 PM_MASK_RANGE = 0x04, ///< The pixel is out of range in the image of interest28 PM_MASK_CR = 0x08, ///< The pixel is probably a CR29 PM_MASK_SPARE1 = 0x10, ///< Spare mask value30 PM_MASK_SPARE2 = 0x20, ///< Spare mask value31 PM_MASK_SUSPECT = 0x40, ///< The pixel is suspected of being bad, but may not be32 PM_MASK_MARK = 0x80, ///< The pixel is marked as temporarily ignored33 } pmMaskValue;34 #define PM_MASK_MARK 0x80 ///< The pixel is marked as temporarily ignored35 #define PM_MASK_SAT 0x04 ///< The pixel is saturated in the image of interest36 #endif37 17 38 18 /// Set a temporary readout mask using CELL.SATURATION and CELL.BAD … … 54 34 /// can't be generated. 55 35 bool pmReadoutSetVariance(pmReadout *readout, ///< Readout for which to set variance 56 const psImage *noiseMap, ///< 2D image of the read noise in DN36 const psImage *noiseMap, ///< 2D image of the read noise in DN 57 37 bool poisson ///< Include poisson variance (in addition to read noise)? 58 38 ); … … 73 53 /// with HDU entry). This is intended for most operations. 74 54 bool pmReadoutGenerateVariance(pmReadout *readout, ///< Readout for which to generate variance 75 const psImage *noiseMap, ///< 2D image of the read noise in DN55 const psImage *noiseMap, ///< 2D image of the read noise in DN 76 56 bool poisson ///< Include poisson variance (in addition to read noise)? 77 57 ); … … 83 63 psImageMaskType sat, ///< Mask value to give saturated pixels 84 64 psImageMaskType bad, ///< Mask value to give bad (low) pixels 85 const psImage *noiseMap, ///< 2D image of the read noise in DN65 const psImage *noiseMap, ///< 2D image of the read noise in DN 86 66 bool poisson ///< Include poisson variance (in addition to read noise)? 87 67 ); … … 93 73 psImageMaskType sat, ///< Mask value to give saturated pixels 94 74 psImageMaskType bad, ///< Mask value to give bad (low) pixels 95 const psImage *noiseMap, ///< 2D image of the read noise in DN75 const psImage *noiseMap, ///< 2D image of the read noise in DN 96 76 bool poisson ///< Include poisson variance (in addition to read noise)? 97 77 );
Note:
See TracChangeset
for help on using the changeset viewer.
