Changeset 23825 for trunk/ppImage/src/ppImageDetrendReadout.c
- Timestamp:
- Apr 11, 2009, 7:49:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageDetrendReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendReadout.c
r23426 r23825 17 17 // Masking on the basis of pixel value needs to be done before anything else, so the values are pristine. 18 18 if (options->doMaskBuild) { 19 pmReadoutGenerateMask(input, options->satMask, options->badMask); 19 psImageMaskType satMask = options->doMaskSat ? options->satMask : 0; 20 psImageMaskType lowMask = options->doMaskLow ? options->lowMask : 0; 21 pmReadoutGenerateMask(input, satMask, lowMask); 20 22 } 21 23 // apply the externally supplied mask to the input->mask pixels … … 74 76 75 77 if (options->doRemnance) { 76 if (!pmRemnance(input, options->maskValue, options-> badMask,78 if (!pmRemnance(input, options->maskValue, options->lowMask, 77 79 options->remnanceSize, options->remnanceThresh)) { 78 80 psError(PS_ERR_UNKNOWN, false, "Unable to mask remnance.");
Note:
See TracChangeset
for help on using the changeset viewer.
