IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2009, 7:49:45 AM (17 years ago)
Author:
eugene
Message:

make it optional to set the mask bits for low and/or sat; renamed bad to low internally

File:
1 edited

Legend:

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

    r23411 r23825  
    1919    // actions which ppImage should perform
    2020    options->doMaskBuild     = false;   // Build internal mask
    21     options->doVarianceBuild   = false;   // Build internal variance
     21    options->doMaskSat       = false;   // mask saturated pixels
     22    options->doMaskLow       = false;   // mask low pixels
     23    options->doVarianceBuild = false;   // Build internal variance
    2224    options->doMask          = false;   // Mask bad pixels
    2325    options->doNonLin        = false;   // Non-linearity correction
     
    5456    options->maskValue       = 0x00;    // Default mask value (used to skip / ignore pixels)
    5557    options->satMask         = 0x00;    // Saturated pixels (supplied to pmReadoutGenerateMask)
    56     options->badMask         = 0x00;    // Bad (low) pixels (supplied to pmReadoutGenerateMask)
     58    options->lowMask         = 0x00;    // out-of-bounds (low) pixels (supplied to pmReadoutGenerateMask)
    5759    options->flatMask        = 0x00;    // Bad flat pixels (supplied to pmFlatField)
    5860    options->blankMask       = 0x00;    // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic)
     
    198200    // for these images, even if not required otherwise
    199201    options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD");
     202    options->doMaskSat   = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED");
     203    options->doMaskLow   = psMetadataLookupBool(NULL, recipe, "MASK.LOW");
    200204    options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD");
    201205
Note: See TracChangeset for help on using the changeset viewer.