Changeset 17368 for trunk/ppSub/src/ppSubArguments.c
- Timestamp:
- Apr 7, 2008, 12:35:31 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubArguments.c
r15817 r17368 212 212 psMetadataAddS32(arguments, PS_LIST_TAIL, "-opt-order", 0, "Maximum order for optimum kernel search", -1); 213 213 psMetadataAddBool(arguments, PS_LIST_TAIL, "-dual", 0, "Dual convolution", false); 214 psMetadataAddBool(arguments, PS_LIST_TAIL, "-renorm", 0, "Renormalise weights?", false); 215 psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Renormalisation width", 0); 214 216 215 217 if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 4) { … … 291 293 psMetadataLookupBool(NULL, arguments, "-dual")); 292 294 295 if (psMetadataLookupBool(NULL, arguments, "-renorm") || psMetadataLookupBool(NULL, recipe, "RENORM")) { 296 psMetadataAddBool(config->arguments, PS_LIST_TAIL, "RENORM", 0, "Renormalise weights?", true); 297 VALUE_ARG_RECIPE_INT("-renorm-width", "RENORM.WIDTH", S32, 0); 298 } 299 293 300 // Translate the kernel type 294 301 psString type = psMetadataLookupStr(NULL, arguments, "-type"); // Name of kernel type
Note:
See TracChangeset
for help on using the changeset viewer.
