- Timestamp:
- Jul 17, 2014, 12:32:26 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712/ppStack/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStackLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712/ppStack/src
- Property svn:mergeinfo changed
/trunk/ppStack/src merged: 35931,36364-36365,36610,36710,36717,36855,36886
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ops-20130712/ppStack/src/ppStackLoop.c
r35167 r37067 87 87 pmCellFreeData(options->cells->data[i]); 88 88 } 89 // psFree(stack); 89 //MEH -- must uncomment back out -- unclear is should be moved after pixel rejection 90 psFree(stack); 90 91 91 92 // Pixel rejection … … 119 120 psTrace("ppStack", 2, "Final stack of convolved images....\n"); 120 121 if (options->convolve) { 121 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true )) {122 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true, false)) { 122 123 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 123 124 psFree(stack); … … 127 128 else { 128 129 // Since we haven't convolved, I believe we do need to normalize here. 129 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)) { 130 132 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 131 133 psFree(stack); … … 181 183 return false; 182 184 } 183 // psFree(stack); 185 //MEH -- also must uncomment back out.. 186 psFree(stack); 184 187 psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS")); 185 188 ppStackMemDump("cleanup"); … … 205 208 // generate the unconvolved stack. NOTE: this one must be normalized since the inputs have not been 206 209 psTrace("ppStack", 2, "Stack of unconvolved images....\n"); 207 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)) { 208 214 psError(psErrorCodeLast(), false, "Unable to perform unconvolved combination."); 209 215 psFree(stack);
Note:
See TracChangeset
for help on using the changeset viewer.
