Changeset 25924 for branches/pap/ppStack/src/ppStackReadout.c
- Timestamp:
- Oct 22, 2009, 2:19:10 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ppStack/src/ppStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppStack/src/ppStackReadout.c
r25830 r25924 44 44 pmConfig *config = args->data[3]; // Configuration 45 45 bool full = PS_SCALAR_VALUE(args->data[4], U8); // Combine full image? 46 bool normalise = PS_SCALAR_VALUE(args->data[5], U8); // Normalise images? 46 bool safety = PS_SCALAR_VALUE(args->data[5], U8); // Safety switch on? 47 bool normalise = PS_SCALAR_VALUE(args->data[6], U8); // Normalise images? 47 48 48 49 psVector *mask = options->inputMask; // Mask for inputs … … 53 54 54 55 bool status = ppStackReadoutFinal(config, target, thread->readouts, mask, rejected, 55 weightings, addVariance, full, norm); // Status of operation56 weightings, addVariance, full, safety, norm); // Status of operation 56 57 57 58 thread->busy = false; … … 183 184 bool ppStackReadoutFinal(const pmConfig *config, pmReadout *outRO, const psArray *readouts, 184 185 const psVector *mask, const psArray *rejected, const psVector *weightings, 185 const psVector *addVariance, bool full, const psVector *norm)186 const psVector *addVariance, bool full, bool safety, const psVector *norm) 186 187 { 187 188 assert(config); … … 216 217 if (rejected) { 217 218 // We have rejection from a previous combination: combine without flagging pixels to inspect 218 safe = false;219 safe &= safety; 219 220 iter = 0; 220 221 combineRej = NAN;
Note:
See TracChangeset
for help on using the changeset viewer.
