IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30878 for trunk/ppImage/src


Ignore:
Timestamp:
Mar 11, 2011, 5:12:01 PM (15 years ago)
Author:
watersc1
Message:

Although we want the format to hold the tables, we really want the recipe to set whether we turn something on or not.

File:
1 edited

Legend:

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

    r30831 r30878  
    240240
    241241    // Look for pattern correction options in the camera format. If not found, look in the recipe.
    242     if (psMetadataLookup(format, "PATTERN.ROW")) {
    243       options->doPatternRow = psMetadataLookupBool(NULL, format, "PATTERN.ROW");
    244     }
    245     else {
    246       options->doPatternRow = psMetadataLookupBool(NULL, recipe, "PATTERN.ROW");
    247     }
    248     if (psMetadataLookup(format, "PATTERN.CELL")) {
    249       options->doPatternCell = psMetadataLookupBool(NULL, format, "PATTERN.CELL");
    250     }
    251     else {
    252       options->doPatternCell = psMetadataLookupBool(NULL, recipe, "PATTERN.CELL");
    253     }
     242/*     if (psMetadataLookup(format, "PATTERN.ROW")) { */
     243/*       options->doPatternRow = psMetadataLookupBool(NULL, format, "PATTERN.ROW"); */
     244/*     } */
     245/*     else { */
     246    options->doPatternRow = psMetadataLookupBool(NULL, recipe, "PATTERN.ROW");
     247/*     } */
     248/*     if (psMetadataLookup(format, "PATTERN.CELL")) { */
     249/*       options->doPatternCell = psMetadataLookupBool(NULL, format, "PATTERN.CELL"); */
     250/*     } */
     251/*     else { */
     252    options->doPatternCell = psMetadataLookupBool(NULL, recipe, "PATTERN.CELL");
     253/*     } */
    254254    options->doMaskStats = psMetadataLookupBool(NULL, recipe, "MASK.STATS");
    255255    options->addNoise = psMetadataLookupBool(NULL, recipe, "ADDNOISE");
Note: See TracChangeset for help on using the changeset viewer.