Changeset 15756 for trunk/psModules/src/imcombine/pmSubtractionStamps.h
- Timestamp:
- Dec 6, 2007, 3:57:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionStamps.h
r15443 r15756 23 23 psArray *x, *y; ///< Coordinates for possible stamps (or NULL) 24 24 psArray *flux; ///< Fluxes for possible stamps (or NULL) 25 int footprint; ///< Half-size of stamps 25 26 } pmSubtractionStampList; 26 27 … … 29 30 int numRows, // Number of rows in image 30 31 const psRegion *region, // Region for stamps, or NULL 32 int footprint, // Half-size of stamps 31 33 float spacing // Rough average spacing between stamps 32 34 ); … … 40 42 PS_ASSERT_ARRAY_SIZE((LIST)->stamps, (LIST)->num, RETURNVALUE); \ 41 43 PS_ASSERT_ARRAY_SIZE((LIST)->regions, (LIST)->num, RETURNVALUE); \ 44 PS_ASSERT_INT_NONNEGATIVE((LIST)->footprint, RETURNVALUE); \ 42 45 if ((LIST)->x || (LIST)->y || (LIST)->flux) { \ 43 46 PS_ASSERT_ARRAY_NON_NULL((LIST)->x, RETURNVALUE); \ … … 57 60 psKernel *image1; ///< Reference image postage stamp 58 61 psKernel *image2; ///< Input image postage stamp 59 psKernel *weight; ///< Weight image postage stamp 60 psArray *convolutions1; ///< Convolutions of image 1 for each kernel component 61 psArray *convolutions2; ///< Convolutions of image 2 for each kernel component 62 psImage *matrix; ///< Associated matrix 63 psVector *vector; ///< Assoicated vector 62 psKernel *weight; ///< Weight image postage stamp, or NULL 63 psArray *convolutions1; ///< Convolutions of image 1 for each kernel component, or NULL 64 psArray *convolutions2; ///< Convolutions of image 2 for each kernel component, or NULL 65 psImage *matrix1, *matrix2; ///< Matrices for each image, or NULL 66 psImage *matrixX; ///< Cross-matrix (for mode DUAL), or NULL 67 psVector *vector; ///< Associated vector (when mode not DUAL), or NULL 64 68 pmSubtractionStampStatus status; ///< Status of stamp 65 69 } pmSubtractionStamp; … … 74 78 const psRegion *region, ///< Region to search, or NULL 75 79 float threshold, ///< Threshold for stamps in the image 80 int footprint, ///< Half-size for stamps 76 81 float spacing, ///< Rough spacing for stamps 77 82 pmSubtractionMode mode ///< Mode for subtraction … … 85 90 const psImage *mask, ///< Mask, or NULL 86 91 const psRegion *region, ///< Region to search, or NULL 92 int footprint, ///< Half-size for stamps 87 93 float spacing, ///< Rough spacing for stamps 88 94 pmSubtractionMode mode ///< Mode for subtraction … … 94 100 const psImage *subMask, ///< Mask, or NULL 95 101 const psRegion *region, ///< Region to search, or NULL 102 int footprint, ///< Half-size for stamps 96 103 float spacing, ///< Rough spacing for stamps 97 104 pmSubtractionMode mode ///< Mode for subtraction … … 103 110 const psImage *subMask, ///< Mask, or NULL 104 111 const psRegion *region, ///< Region to search, or NULL 112 int footprint, ///< Half-size for stamps 105 113 float spacing, ///< Rough spacing for stamps 106 114 pmSubtractionMode mode ///< Mode for subtraction … … 109 117 /// Extract stamps from the images 110 118 bool pmSubtractionStampsExtract(pmSubtractionStampList *stamps, ///< Stamps 111 psImage * reference, ///< Reference image112 psImage *i nput, ///< Input image (or NULL)119 psImage *image1, ///< Reference image 120 psImage *image2, ///< Input image (or NULL) 113 121 psImage *weight, ///< Weight (variance) map 114 int footprint, ///< Stamp footprint size115 122 int kernelSize ///< Kernel half-size 116 123 );
Note:
See TracChangeset
for help on using the changeset viewer.
