Changeset 13735 for trunk/psModules/src/imcombine/pmSubtraction.h
- Timestamp:
- Jun 8, 2007, 3:04:02 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtraction.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtraction.h
r13340 r13735 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 5-11 02:21:01$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-06-09 01:04:02 $ 10 10 * Copyright 2004-207 Institute for Astronomy, University of Hawaii 11 11 */ … … 19 19 /// @addtogroup imcombine Image Combinations 20 20 /// @{ 21 22 typedef enum { 23 PM_SUBTRACTION_MASK_CLEAR = 0x00, // No masking 24 PM_SUBTRACTION_MASK_REF = 0x01, // Reference image is bad 25 PM_SUBTRACTION_MASK_INPUT = 0x02, // Input image is bad 26 PM_SUBTRACTION_MASK_CONVOLVE = 0x04, // If convolved, would be bad 27 PM_SUBTRACTION_MASK_FOOTPRINT = 0x08, // Bad pixel within the stamp footprint 28 PM_SUBTRACTION_MASK_BORDER = 0x10, // Image border 29 PM_SUBTRACTION_MASK_REJ = 0x20, // Previously tried as a stamp, and rejected 30 } pmSubtractionMasks; 31 32 /// Generate a mask for use in the subtraction process 33 psImage *pmSubtractionMask(const psImage *inMask, ///< Mask for the input image 34 const psImage *refMask, ///< Mask for the reference image (will be convolved) 35 psMaskType maskVal, ///< Value to mask out 36 int size, ///< Half-size of the kernel (pmSubtractionKernels.size) 37 int footprint ///< Half-size of the kernel footprint 38 ); 21 39 22 40 /// Calculate the least-squares equation to match the image quality … … 38 56 const psImage *refImage, ///< Reference image 39 57 psImage *inImage, ///< Input image 40 psImage *mask, ///< Mask image 41 psMaskType badStampMaskVal, ///< Value to use in mask for bad stamp 58 psImage *subMask, ///< Subtraction mask 42 59 const psVector *solution, ///< Solution vector 43 60 int footprint, ///< Region to mask if stamp is bad … … 58 75 const psImage *inImage, ///< Input image 59 76 const psImage *inWeight, ///< Input weight map (or NULL) 60 const psImage *inMask, ///< Input mask (or NULL) 61 psMaskType maskVal, ///< Value to mask 77 const psImage *subMask, ///< Subtraction mask (or NULL) 62 78 psMaskType blank, ///< Mask value for blank regions 63 79 const psVector *solution, ///< The solution vector
Note:
See TracChangeset
for help on using the changeset viewer.
