I realized something with the IJ2 Macro Command recording, namely that it removes all capitalization in the parameters, resulting in recordings such as:
This is fine and works as a macro, however when trying to use this as a starting point for running the command from command line, it does not work. The reason is that on the command line the parameters do need the correct capitalization, e.g. elastixdirectory should actually be elastixDirectory, otherwise one gets an error.
Would it maybe be possible to unify this?
Furthermore: SciJava module parameters are case-sensitive, whereas ImageJ1 macro parameters are case-insensitive.
From @tischi on the Image.sc Forum:
Furthermore: SciJava module parameters are case-sensitive, whereas ImageJ1 macro parameters are case-insensitive.