IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2006, 6:25:41 PM (20 years ago)
Author:
eugene
Message:

configuration updates, added new mask functions, added psphot support

File:
1 edited

Legend:

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

    r6849 r7508  
    2828    // default flags for various activities
    2929    options->doMask     = false;        // Mask bad pixels
     30    options->maskValue  = 0xff;         // Default mask value
     31
    3032    options->doNonLin   = false;        // Non-linearity correction
    3133    options->doBias     = false;        // Bias subtraction
     
    138140    // Mask recipe options
    139141    options->doMask = psMetadataLookupBool(NULL, recipe, "MASK");
     142    psMaskType maskValue = psMetadataLookupU8(&status, recipe, "MASK.VALUE");
     143    if (status) {
     144        options->maskValue = maskValue;
     145    }
     146
    140147    options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS");
    141148    options->doDark = psMetadataLookupBool(NULL, recipe, "DARK");
Note: See TracChangeset for help on using the changeset viewer.