Changeset 20492 for trunk/ppSub/src/ppSubArguments.c
- Timestamp:
- Oct 31, 2008, 4:04:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubArguments.c
r19962 r20492 230 230 psMetadataAddS32(arguments, PS_LIST_TAIL, "-opt-order", 0, "Maximum order for optimum kernel search", -1); 231 231 psMetadataAddBool(arguments, PS_LIST_TAIL, "-dual", 0, "Dual convolution", false); 232 psMetadataAddBool(arguments, PS_LIST_TAIL, "-renorm", 0, "Renormalise weights?", false); 233 psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Renormalisation width", 0); 232 psMetadataAddBool(arguments, PS_LIST_TAIL, "-renorm", 0, "Renormalise variance maps?", false); 233 psMetadataAddStr(arguments, PS_LIST_TAIL, "-renorm-mean", 0, 234 "Statistic for mean in renormalisation", NULL); 235 psMetadataAddStr(arguments, PS_LIST_TAIL, "-renorm-stdev", 0, 236 "Statistic for stdev in renormalisation", NULL); 237 psMetadataAddF32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Gaussian width for renormalisation", NAN); 238 psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-num", 0, "Number of samples for renormalisation", 0); 234 239 psMetadataAddBool(arguments, PS_LIST_TAIL, "-photometry", 0, "Perform photometry?", false); 235 240 psMetadataAddS32(arguments, PS_LIST_TAIL, "-threads", 0, "Number of threads", 0); … … 336 341 if (psMetadataLookupBool(NULL, arguments, "-renorm") || 337 342 psMetadataLookupBool(NULL, recipe, "RENORM")) { 338 psMetadataAddBool(recipe, PS_LIST_TAIL, "RENORM", PS_META_REPLACE, "Renormalise weights?", true); 339 VALUE_ARG_RECIPE_INT("-renorm-width", "RENORM.WIDTH", S32, 0); 340 } 343 psMetadataAddBool(arguments, PS_LIST_TAIL, "RENORM", 0, "Renormalise variance maps?", true); 344 } 345 VALUE_ARG_RECIPE_INT("-renorm-num", "RENORM.NUM", S32, 0); 346 VALUE_ARG_RECIPE_FLOAT("-renorm-width", "RENORM.WIDTH", F32); 347 valueArgRecipeStr(arguments, recipe, "-renorm-mean", "RENORM.MEAN", recipe); 348 valueArgRecipeStr(arguments, recipe, "-renorm-stdev", "RENORM.STDEV", recipe); 341 349 342 350 // Need to update this because it could have been overwritten by the camera's own recipe
Note:
See TracChangeset
for help on using the changeset viewer.
