IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 10:26:37 AM (18 years ago)
Author:
eugene
Message:

re-org and cleanup of the mask bits to make it consistent with the pmConfigMaskSetBits concepts; ensure mark and mask are correctly used and supplied to psphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageMetadataStats.c

    r16249 r18556  
    1313        return true;
    1414    }
    15 
    16     psMaskType maskVal = options->satMask | options->badMask | options->maskValue;
    1715
    1816    // Extract statistics from the last output fpa
     
    5048    pmFPAview *view = pmFPAviewAlloc(0);
    5149
    52     if (!ppStatsMetadata(stats, output->fpa, view, maskVal, config)) {
     50    if (!ppStatsMetadata(stats, output->fpa, view, options->maskValue, config)) {
    5351        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to generate stats for image.");
    5452        psFree(view);
Note: See TracChangeset for help on using the changeset viewer.