- Timestamp:
- Aug 26, 2009, 4:56:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup/ppImage/src/ppImageOptions.c
r24951 r25210 21 21 options->doMaskSat = false; // mask saturated pixels 22 22 options->doMaskLow = false; // mask low pixels 23 options->doMaskBurntool = false; // mask potential burntool trails 23 24 options->doVarianceBuild = false; // Build internal variance 24 25 options->doMask = false; // Mask bad pixels … … 64 65 options->blankMask = 0x00; // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic) 65 66 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 = 0x00; // Which types of burntool areas to mask. 67 69 // crosstalk options 68 70 options->doCrosstalkMeasure = false; // measure crosstalk … … 219 221 options->doMaskSat = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED"); 220 222 options->doMaskLow = psMetadataLookupBool(NULL, recipe, "MASK.LOW"); 223 options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL"); 221 224 options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD"); 222 225 … … 245 248 options->applyParity = psMetadataLookupBool(NULL, recipe, "APPLY.CELL.PARITY"); 246 249 250 options->burntoolTrails = psMetadataLookupU16(&status, recipe, "BURNTOOL.TRAILS"); 251 if (!status) { 252 psWarning("BURNTOOL.TRAILS not found in recipe: setting to default value.\n"); 253 } 254 247 255 // binned image options 248 256 options->xBin1 = psMetadataLookupS32(&status, recipe, "BIN1.XBIN"); 249 257 if (!status) { 250 258 psWarning("BIN1.XBIN not found in recipe: setting to default value.\n"); 259 options->xBin1 = 4; 251 260 } 252 261 options->yBin1 = psMetadataLookupS32(&status, recipe, "BIN1.YBIN"); 253 262 if (!status) { 254 263 psWarning("BIN1.YBIN not found in recipe: setting to default value.\n"); 255 options->yBin1 = 16;264 options->yBin1 = 4; 256 265 } 257 266
Note:
See TracChangeset
for help on using the changeset viewer.
