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/ppImageReplaceBackground.c

    r18255 r18556  
    4040    psAssert (replaceSkyMode != MODE_NONE, "replace sky mode not defined");
    4141
    42     // define the mask value to be used in ppImage
    43     psMaskType maskVal  = options->satMask | options->badMask | options->flatMask | options->blankMask;
     42    // XXX Should this be options->maskValue or & ~options->satMask? the latter will leave saturated pixels high
     43    // psMaskType maskVal  = options->maskValue & ~options->satMask;
     44    psMaskType maskVal  = options->maskValue;
    4445
    4546    pmFPAfile *modelFile = NULL;
Note: See TracChangeset for help on using the changeset viewer.