IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2009, 4:02:42 PM (17 years ago)
Author:
eugene
Message:

updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/ppImage/src/ppImageOptions.c

    r25022 r25406  
    2121    options->doMaskSat       = false;   // mask saturated pixels
    2222    options->doMaskLow       = false;   // mask low pixels
     23    options->doMaskBurntool  = false;   // mask potential burntool trails
    2324    options->doVarianceBuild = false;   // Build internal variance
    2425    options->doMask          = false;   // Mask bad pixels
     
    6465    options->blankMask       = 0x00;    // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic)
    6566    options->markValue       = 0x00;    // A safe bit for internal marking
    66 
     67    options->burntoolMask    = 0x00;    // Suspect pixels that fall where a burntool trail is expected.
     68    options->burntoolTrails  = 0x07;    // Which types of burntool areas to mask.
    6769    // crosstalk options
    6870    options->doCrosstalkMeasure = false;   // measure crosstalk
     
    219221    options->doMaskSat   = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED");
    220222    options->doMaskLow   = psMetadataLookupBool(NULL, recipe, "MASK.LOW");
     223    options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL");
    221224    options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD");
    222225
     
    245248    options->applyParity = psMetadataLookupBool(NULL, recipe, "APPLY.CELL.PARITY");
    246249
     250    options->burntoolTrails = psMetadataLookupS32(&status, recipe, "BURNTOOL.TRAILS");
     251    fprintf(stderr,"TRAILS: %d %d %d\n",options->burntoolTrails,psMetadataLookupS32(&status,recipe,"BURNTOOL.TRAILS"),status);
     252    if (!status) {
     253      psWarning("BURNTOOL.TRAILS not found in recipe: setting to default value.\n");
     254    }
     255   
    247256    // binned image options
    248257    options->xBin1 = psMetadataLookupS32(&status, recipe, "BIN1.XBIN");
    249258    if (!status) {
    250259        psWarning("BIN1.XBIN not found in recipe: setting to default value.\n");
     260        options->xBin1 = 4;
    251261    }
    252262    options->yBin1 = psMetadataLookupS32(&status, recipe, "BIN1.YBIN");
    253263    if (!status) {
    254264        psWarning("BIN1.YBIN not found in recipe: setting to default value.\n");
    255         options->yBin1 = 16;
     265        options->yBin1 = 4;
    256266    }
    257267
Note: See TracChangeset for help on using the changeset viewer.