- Timestamp:
- Sep 19, 2014, 4:05:27 PM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ppStack/src/ppStackLoop.c
r36680 r37403 120 120 psTrace("ppStack", 2, "Final stack of convolved images....\n"); 121 121 if (options->convolve) { 122 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true )) {122 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true, false)) { 123 123 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 124 124 psFree(stack); … … 128 128 else { 129 129 // Since we haven't convolved, I believe we do need to normalize here. 130 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, true, true)) { 130 //MEH -- see below for comment on ppStackCombineFinal and bscaleOffset 131 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, true, true, true)) { 131 132 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 132 133 psFree(stack); … … 207 208 // generate the unconvolved stack. NOTE: this one must be normalized since the inputs have not been 208 209 psTrace("ppStack", 2, "Stack of unconvolved images....\n"); 209 if (!ppStackCombineFinal(stack, options->origCovars, options, config, false, true, false)) { 210 //MEH -- terrible hack for bscale offset to input warps -- treat like normalization 211 // -- if BSCALEOFFSET TRUE, 0.5*bscale for offset values, otherwise value 0.0 212 // -- bscaleOffset set when files read in and applied in CombineFinal (if arg true, only valid for unconv case) 213 if (!ppStackCombineFinal(stack, options->origCovars, options, config, false, true, false, true)) { 210 214 psError(psErrorCodeLast(), false, "Unable to perform unconvolved combination."); 211 215 psFree(stack);
Note:
See TracChangeset
for help on using the changeset viewer.
