IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2009, 11:49:17 AM (17 years ago)
Author:
Paul Price
Message:

Allow convolution of images to be optional when stacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCombineInitial.c

    r23341 r23573  
    1616    psAssert(config, "Require configuration");
    1717
    18     psTimerStart("PPSTACK_FINAL");
     18    if (!options->convolve) {
     19        // No need to do initial combination when we haven't convolved
     20        return true;
     21    }
     22
     23    psTimerStart("PPSTACK_INITIAL");
    1924
    2025    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe
     
    6974        }
    7075
    71         // call: ppStackReadoutInitial(config, outRO, readouts, subRegions, subKernels)
    7276        psThreadJob *job = psThreadJobAlloc("PPSTACK_INITIAL_COMBINE"); // Job to start
    7377        psArrayAdd(job->args, 1, thread);
     
    128132
    129133    if (options->stats) {
    130         psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_FINAL", 0,
    131                          "Time to make final stack", psTimerMark("PPSTACK_FINAL"));
     134        psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_INITIAL", 0,
     135                         "Time to make final stack", psTimerMark("PPSTACK_INITIAL"));
    132136    }
    133137
Note: See TracChangeset for help on using the changeset viewer.