Changeset 16622 for trunk/ppStack/src/ppStackReadout.c
- Timestamp:
- Feb 22, 2008, 4:29:09 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r16605 r16622 31 31 32 32 // Get the recipe values 33 bool mdok; // Status of MD lookup 33 34 int iter = psMetadataLookupS32(NULL, config->arguments, "ITER"); // Rejection iterations 34 35 float combineRej = psMetadataLookupF32(NULL, config->arguments, "COMBINE.REJ"); // Combination threshold … … 36 37 psMaskType maskBlank = psMetadataLookupU8(NULL, config->arguments, "MASK.BLANK"); // Mask for blank reg. 37 38 float threshold = psMetadataLookupF32(NULL, config->arguments, "THRESHOLD.MASK"); // Threshold for mask deconvolution 39 bool useVariance = psMetadataLookupBool(&mdok, config->arguments, "VARIANCE"); // Use variance for rejection? 40 bool safe = psMetadataLookupBool(&mdok, config->arguments, "SAFE"); // Play safe when combining small numbers of pixels? 38 41 39 42 int num = readouts->n; // Number of inputs … … 106 109 } 107 110 108 if (!pmStackCombine(outRO, stack, maskBad, maskBlank, iter, combineRej )) {111 if (!pmStackCombine(outRO, stack, maskBad, maskBlank, iter, combineRej, useVariance, safe)) { 109 112 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection."); 110 113 psFree(fpaList); … … 175 178 #endif 176 179 177 if (!pmStackCombine(outRO, stack, maskBad, maskBlank, 0, combineRej )) {180 if (!pmStackCombine(outRO, stack, maskBad, maskBlank, 0, combineRej, useVariance, safe)) { 178 181 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts."); 179 182 psFree(fpaList);
Note:
See TracChangeset
for help on using the changeset viewer.
