Changeset 35167 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Feb 13, 2013, 4:18:09 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r34860 r35167 63 63 } 64 64 65 bool doBackground = psMetadataLookupBool(NULL, recipe, "BACKGROUND.MODEL");65 // bool doBackground = psMetadataLookupBool(NULL, recipe, "BACKGROUND.MODEL"); 66 66 67 67 // Prepare for combination 68 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", doBackground ? "PPSTACK.OUTPUT.BKGMODEL" : NULL, PPSTACK_FILES_STACK, stack, options, config)) {68 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", options->doBackground ? "PPSTACK.OUTPUT.BKGMODEL" : NULL, PPSTACK_FILES_STACK, stack, options, config)) { 69 69 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); 70 70 psFree(stack); … … 146 146 147 147 // Generate median background stack here. 148 if ( doBackground && !ppStackCombineBackground(stack, options, config)) {148 if (options->doBackground && !ppStackCombineBackground(stack, options, config)) { 149 149 psError(psErrorCodeLast(), false, "Unable to generate median of background images."); 150 150 psFree(stack);
Note:
See TracChangeset
for help on using the changeset viewer.
