IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2013, 2:24:05 PM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130207
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130207

  • branches/eam_branches/ipp-20130207/ppStack/src/ppStackLoop.c

    r34860 r35236  
    6363    }
    6464
    65     bool doBackground = psMetadataLookupBool(NULL, recipe, "BACKGROUND.MODEL");
     65    //    bool doBackground = psMetadataLookupBool(NULL, recipe, "BACKGROUND.MODEL");
    6666
    6767    // 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)) {
    6969        psError(psErrorCodeLast(), false, "Unable to prepare for combination.");
    7070        psFree(stack);
     
    146146
    147147    // Generate median background stack here.
    148     if (doBackground && !ppStackCombineBackground(stack, options, config)) {
     148    if (options->doBackground && !ppStackCombineBackground(stack, options, config)) {
    149149      psError(psErrorCodeLast(), false, "Unable to generate median of background images.");
    150150      psFree(stack);
Note: See TracChangeset for help on using the changeset viewer.