IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 18, 2009, 10:42:06 AM (17 years ago)
Author:
eugene
Message:

adding noise map to variance generation; adding options to supply the noiseMap

File:
1 edited

Legend:

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

    r24229 r24485  
    2525    options->doNonLin        = false;   // Non-linearity correction
    2626    options->doOverscan      = false;   // Overscan subtraction
     27    options->doNoiseMap      = false;   // Apply Read Noise Map
    2728    options->doBias          = false;   // Bias subtraction
    2829    options->doDark          = false;   // Dark subtraction
     
    217218    options->doCrosstalkCorrect = psMetadataLookupBool(NULL, recipe, "CROSSTALK.CORRECT");
    218219
     220    options->doNoiseMap = psMetadataLookupBool(NULL, recipe, "NOISEMAP");
    219221    options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS");
    220222    options->doDark = psMetadataLookupBool(NULL, recipe, "DARK");
     
    278280
    279281    // even if not requested explicitly, if any of these are set, build an internal mask and variance:
    280     if (options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat ||
     282    if (options->doNoiseMap || options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat ||
    281283        options->doPhotom) {
    282284        options->doMaskBuild = true;
Note: See TracChangeset for help on using the changeset viewer.