[Insight-users] manage argumets : input, output, parameters
elhadj meljane
elhadj.meljane at gmail.com
Thu Sep 30 13:03:00 EDT 2010
Hi all,
I have a program that use too many arguments: input, output parameters, the
program work with
>./runProgram ImageInput ImageOutput Parameter1 .... ParameterN
Sometimes, just 1 prameter is needed.
I want to make the program easy to use, for example :
>./runProgram -I ImageInput -O ImageOutput -o option1 -p Parameter (in this
case I dont need to give the rest of the parameters)
>./runProgram -I ImageInput -O ImageOutput -o option2 -p1 Parameter1 ... -pN
parameterN
Do I need to implement method for this with "If" ....
or there exist itk methods that help to do that ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100930/dfbe9db0/attachment.htm>
More information about the Insight-users
mailing list