Changeset 9996 for trunk/ppMerge/src/ppMergeOptions.c
- Timestamp:
- Nov 14, 2006, 4:49:37 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeOptions.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeOptions.c
r9832 r9996 37 37 options->fringe = false; 38 38 options->shutter = false; 39 options->mask = false; 39 40 options->sample = 1; 40 41 options->mean = PS_STAT_SAMPLE_MEDIAN; … … 47 48 options->shutterIter = 2; 48 49 options->shutterRej = 3.0; 50 options->maskSuspect = 5.0; 51 options->maskBad = 10.0; 49 52 options->onOff = 0; 50 53 options->combine = pmCombineParamsAlloc(PS_STAT_SAMPLE_MEAN); … … 143 146 OPTION_PARSE(options->shutterIter, recipe, "SHUTTER.ITER", S32); 144 147 OPTION_PARSE(options->shutterRej, recipe, "SHUTTER.REJECT", F32); 148 OPTION_PARSE(options->maskSuspect, recipe, "MASK.SUSPECT", F32); 149 OPTION_PARSE(options->maskBad, recipe, "MASK.BAD", F32); 145 150 146 151 options->combine->combine = parseStat(recipe, "COMBINE"); … … 159 164 options->fringe = false; 160 165 options->shutter = false; 166 options->mask = false; 161 167 } else if (strcasecmp(type, "DARK") == 0) { 162 168 options->zero = false; … … 165 171 options->fringe = false; 166 172 options->shutter = false; 173 options->mask = false; 167 174 } else if (strcasecmp(type, "FLAT") == 0) { 168 175 options->zero = false; … … 171 178 options->fringe = false; 172 179 options->shutter = false; 180 options->mask = false; 173 181 } else if (strcasecmp(type, "FRINGE") == 0) { 174 182 options->zero = true; … … 177 185 options->fringe = true; 178 186 options->shutter = false; 187 options->mask = false; 179 188 } else if (strcasecmp(type, "SHUTTER") == 0) { 180 189 options->zero = false; … … 183 192 options->fringe = false; 184 193 options->shutter = true; 194 options->mask = false; 195 options->rows = 0; // Read the whole image at once 196 } else if (strcasecmp(type, "MASK") == 0) { 197 options->zero = false; 198 options->scale = false; 199 options->darktime = false; 200 options->fringe = false; 201 options->shutter = false; 202 options->mask = true; 185 203 } else { 186 204 psLogMsg(__func__, PS_LOG_WARN, "Unrecognised image type: %s --- assuming BIAS.\n", type); … … 190 208 options->fringe = false; 191 209 options->shutter = false; 210 options->mask = false; 192 211 } 193 212 } else { … … 198 217 options->fringe = false; 199 218 options->shutter = false; 219 options->mask = false; 200 220 } 201 221
Note:
See TracChangeset
for help on using the changeset viewer.
