IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2020, 3:29:09 PM (6 years ago)
Author:
tdeboer
Message:

added procedure to remove pixel NaNing

File:
1 edited

Legend:

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

    r38233 r41382  
    5353    options->useVideoDark    = false;   // Use video dark if we can?
    5454    options->useVideoMask    = false;   // Use video mask if we can?
     55    options->doApplyPixelZero  = true;   // option for zero'ing pixels under masks
     56
    5557    // output files requested
    5658    options->BaseFITS        = false;   // create output image
     
    234236    options->doMaskBurntool  = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL");
    235237    options->doApplyBurntool = psMetadataLookupBool(NULL, recipe, "APPLY.BURNTOOL");
     238    //TdB: read in switch for zero'ing pixels under masks
     239    options->doApplyPixelZero = psMetadataLookupBool(NULL, recipe, "APPLY.PIXELZERO");
    236240    options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD");
    237241    options->doAuxMask       = psMetadataLookupBool(NULL, recipe, "MASK.AUXMASK");
     
    245249        }
    246250    }
     251
    247252
    248253    // Mask recipe options (note that mask bit values are set in ppImageSetMaskBits.c)
Note: See TracChangeset for help on using the changeset viewer.