Changeset 30878 for trunk/ppImage/src
- Timestamp:
- Mar 11, 2011, 5:12:01 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageOptions.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageOptions.c
r30831 r30878 240 240 241 241 // 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 /* } */ 254 254 options->doMaskStats = psMetadataLookupBool(NULL, recipe, "MASK.STATS"); 255 255 options->addNoise = psMetadataLookupBool(NULL, recipe, "ADDNOISE");
Note:
See TracChangeset
for help on using the changeset viewer.
