IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2012, 5:51:09 PM (14 years ago)
Author:
watersc1
Message:

Upgrade to ppImage to make videodark/masks work.

File:
1 edited

Legend:

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

    r33590 r33848  
    4545    options->doMaskStats     = false;   // Calculate mask fractions
    4646    options->addNoise        = false;  //Degrade an MD image to a 3pi image
    47 
     47    options->hasVideo        = false;   // Determine if this OTA has a video cell
     48    options->useVideoDark    = false;   // Use video dark if we can?
     49    options->useVideoMask    = false;   // Use video mask if we can?
    4850    // output files requested
    4951    options->BaseFITS        = false;   // create output image
     
    362364    options->fringeKeep = psMetadataLookupF32(NULL, recipe, "FRINGE.KEEP");
    363365
     366    // Video cell options
     367    if (psMetadataLookup(recipe, "USE.VIDEO.DARK")) {
     368      options->useVideoDark = psMetadataLookupBool(NULL,recipe,"USE.VIDEO.DARK");
     369    }
     370    if (psMetadataLookup(recipe, "USE.VIDEO.MASK")) {
     371      options->useVideoMask = psMetadataLookupBool(NULL,recipe,"USE.VIDEO.MASK");
     372    }
     373
    364374    // Pattern correction
    365375    if (psMetadataLookup(format, "PATTERN.ROW.ORDER")) {
     
    418428      options->patternContinuityEdgeWidth = psMetadataLookupS32(NULL, recipe, "PATTERN.CONTINUITY.WIDTH");
    419429    }
    420    
     430
    421431
    422432    // Remnance options
Note: See TracChangeset for help on using the changeset viewer.