Changeset 31435 for trunk/ppSub/src/ppSubThreshold.c
- Timestamp:
- May 4, 2011, 3:59:42 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubThreshold.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubThreshold.c
r30619 r31435 95 95 96 96 // Input images 97 pmReadout *in = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT.CONV"); // Input image 97 bool noConvolve = psMetadataLookupBool(NULL, recipe, "NOCONVOLVE"); 98 99 pmReadout *in; 100 if (noConvolve) { 101 in = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT"); // Input image 102 } 103 else { 104 in = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT.CONV"); // Input image 105 } 98 106 if (!in) { 99 107 psError(PPSUB_ERR_UNKNOWN, false, "Unable to find readout."); … … 102 110 } 103 111 104 pmReadout *ref = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV"); // Reference image 112 pmReadout *ref; 113 if (noConvolve) { 114 ref = pmFPAfileThisReadout(config->files, view, "PPSUB.REF"); // Reference image 115 } 116 else { 117 ref = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV"); // Reference image 118 } 105 119 if (!ref) { 106 120 psError(PPSUB_ERR_UNKNOWN, false, "Unable to find readout.");
Note:
See TracChangeset
for help on using the changeset viewer.
