Changeset 13593 for trunk/ppMerge/src/ppMergeOptions.c
- Timestamp:
- Jun 1, 2007, 6:16:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeOptions.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeOptions.c
r13246 r13593 59 59 options->combine->maskVal = 0xff; 60 60 options->combine->weights = false; 61 options->satMask = 0x00; 62 options->badMask = 0x00; 61 63 62 64 return options; … … 141 143 OPTION_PARSE(options->combine->fracLow, recipe, "FRACLOW", F32); 142 144 OPTION_PARSE(options->combine->nKeep, recipe, "NKEEP", S32); 143 OPTION_PARSE(options->combine->maskVal, recipe, "MASKVAL", S32);144 145 OPTION_PARSE(options->combine->weights, recipe, "WEIGHTS", Bool); 145 146 OPTION_PARSE(options->fringeNum, recipe, "FRINGE.NUM", S32); … … 153 154 OPTION_PARSE(options->maskBad, recipe, "MASK.BAD", F32); 154 155 156 const char *masks = psMetadataLookupStr(NULL, recipe, "MASKVAL"); 157 options->combine->maskVal = pmConfigMask(masks, config); 158 155 159 options->combine->combine = parseStat(recipe, "COMBINE"); 156 160 options->mean = parseStat(recipe, "MEAN"); … … 238 242 } 239 243 240 241 244 #if 0 242 245 // Or you can set them individually … … 249 252 OPTION_PARSE(options->onOff, config->arguments, "-onoff", S32); 250 253 254 // Masking options 255 options->satMask = pmConfigMask("SAT", config); 256 options->badMask = pmConfigMask("BAD", config); 257 251 258 return options; 252 259 }
Note:
See TracChangeset
for help on using the changeset viewer.
