Changeset 5858 for trunk/ppImage/src/ppImageDetrendMask.c
- Timestamp:
- Dec 30, 2005, 7:05:28 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageDetrendMask.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendMask.c
r5857 r5858 1 1 # include "ppImage.h" 2 2 3 bool ppDetrendMask (pmCell *cell, pmReadout *readout, pmImage *mask) { 3 # define MASK_MODE (PM_MASK_TRAP | PM_MASK_BADCOL | PM_MASK_SAT) 4 5 // XXX pass 'concepts' not 'cell' to this function? 6 7 bool ppDetrendMask (pmCell *cell, pmReadout *input, pmReadout *mask) { 4 8 5 9 float saturation = psMetadataLookupF32(NULL, cell->concepts, "CELL.SATURATION"); 6 10 7 11 // Need to change this later to grow the mask by the size of the convolution kernel 8 (void)pmMaskBadPixels(readout, mask,9 PM_MASK_TRAP | PM_MASK_BADCOL | PM_MASK_SAT, saturation, 10 PM_MASK_TRAP, 0);12 // XXX does this function respect the mask / image cell region information? 13 // XXX should probably take pmRegion *mask 14 pmMaskBadPixels(input, mask->image, MASK_MODE, saturation, PM_MASK_TRAP, 0); 11 15 12 16 return true; 13 17 } 14
Note:
See TracChangeset
for help on using the changeset viewer.
