IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2008, 2:05:48 PM (18 years ago)
Author:
Paul Price
Message:

Fixing mask values: making a bit more flexible, updating to new pmSubtractionMatch API.

File:
1 edited

Legend:

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

    r19072 r19172  
    803803        if (stats) {
    804804            psTrace("ppStack", 1, "Gathering statistics on stacked image....\n");
    805             ppStatsFPA(stats, outCell->parent->parent, view, pmConfigMaskGet("BLANK", config), config);
     805            psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits for bad
     806            psMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels
     807
     808            ppStatsFPA(stats, outCell->parent->parent, view, maskBad, config);
    806809        }
    807810
Note: See TracChangeset for help on using the changeset viewer.