IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41848


Ignore:
Timestamp:
Oct 17, 2021, 1:31:19 PM (5 years ago)
Author:
eugene
Message:

basic combine-by-percent is working (needs variance and mask fixes)

Location:
branches/eam_branches/ppStack.20211015/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ppStack.20211015/src/ppStackCombineFinal.c

    r36855 r41848  
    22
    33// This is the doomsday switch.
    4 // #define TESTING                         // Enable test output
     4// # define TESTING                         // Enable test output
    55
    66//MEH -- adhoc addition to blank mask border of final stack since rejection different/none on order of KERNEL.SIZE with overlap in CombineInitial
  • branches/eam_branches/ppStack.20211015/src/ppStackCombinePercent.c

    r41842 r41848  
    11#include "ppStack.h"
     2
     3// #define TESTING
    24
    35bool ppStackCombinePercent(ppStackThreadData *stack, ppStackOptions *options, pmConfig *config)
     
    3234    }
    3335
    34     if (!psThreadPoolWait(false, true)) {
     36    if (!psThreadPoolWait(true, true)) {
    3537        psError(psErrorCodeLast(), false, "Unable to do initial combination.");
    3638        return false;
    37     }
    38 
    39     psThreadJob *job;               // Completed job
    40     while ((job = psThreadJobGetDone())) {
    41         psAssert(strcmp(job->type, "PPSTACK_PERCENT_COMBINE") == 0,
    42                  "Job has incorrect type: %s", job->type);
    43         psFree(job);
    4439    }
    4540
  • branches/eam_branches/ppStack.20211015/src/ppStackLoopByPercent.c

    r41842 r41848  
    4141
    4242    // Done with stack inputs for now
    43     // XXX is this where we are leaking??
    4443    for (int i = 0; i < options->num; i++) {
    4544        pmCellFreeData(options->cells->data[i]);
    4645    }
    47     // MEH -- must uncomment back out -- unclear is should be moved after pixel rejection
    48     psFree(stack);
    4946
    5047    psLogMsg("ppStack", PS_LOG_INFO, "Stage 5: Final Stack: %f sec", psTimerClear("PPSTACK_STEPS"));
     
    9693        return false;
    9794    }
    98     // MEH -- also must uncomment back out..
    9995    psFree(stack);
    10096    psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS"));
Note: See TracChangeset for help on using the changeset viewer.