Changeset 17299 for trunk/psModules/src/imcombine/pmStackReject.c
- Timestamp:
- Apr 2, 2008, 4:24:26 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmStackReject.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmStackReject.c
r16607 r17299 10 10 11 11 #define PIXEL_LIST_BUFFER 100 // Number of pixels to add to list at a time 12 13 //#define TESTING // Testing output 14 12 15 13 16 psPixels *pmStackReject(const psPixels *in, const psRegion *valid, float threshold, … … 126 129 psFree(convRO); 127 130 131 #ifdef TESTING 132 { 133 static int seqNum = 0; // Sequence number 134 psString name = NULL; // Name of image 135 psStringAppend(&name, "inspect_conv_%02d.fits", seqNum); 136 seqNum++; 137 psFits *fits = psFitsOpen(name, "w"); // FITS file pointer 138 psFree(name); 139 psFitsWriteImage(fits, NULL, convolved, 0, NULL); 140 psFitsClose(fits); 141 } 142 #endif 143 128 144 // Threshold the convolved image 129 145 psPixels *bad = psPixelsAllocEmpty(PIXEL_LIST_BUFFER); // List of pixels that should be masked
Note:
See TracChangeset
for help on using the changeset viewer.
