IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2010, 12:01:15 PM (16 years ago)
Author:
Paul Price
Message:

Reworking ppStack to not grow the rejected pixels for the unconvolved stack. Also working with convolved and unconvolved stacks separately, so they don't have to be in memory at the same time. This should reduce the memory usage of ppStack.

File:
1 edited

Legend:

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

    r27189 r27319  
    77#include <pslib.h>
    88#include <psmodules.h>
    9 #include <ppStats.h>
    109#include <psphot.h>
    1110
     
    4948    }
    5049
    51 
    52     // Statistics on output
    53     if (options->stats) {
    54         psTrace("ppStack", 1, "Gathering statistics on stacked image....\n");
    55         psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits for bad
    56         psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels
    57 
    58         pmFPAview *view = pmFPAviewAlloc(0); // View to readout
    59         view->chip = view->cell = view->readout = 0;
    60 
    61         ppStatsFPA(options->stats, options->outRO->parent->parent->parent, view, maskBad, config);
    62 
    63         psFree(view);
    64     }
    65 
    66     ppStackMemDump("stats");
    67 
    68     psFree(options->outRO); options->outRO = NULL;
    6950
    7051    return true;
Note: See TracChangeset for help on using the changeset viewer.