I want to set the landmark registration module’s parameters from command line and then later select the landmarks interactively.
For example instead of using below dialog box to choose fixed and moved one and clicking apply
I want to set them from command line, so that I have to do only the land mark selection.
Landmark registration module is not prepared to be used from Python. I would recommend to use “Fiducial registration” module instead (it is a CLI module, can be used from Python as described here).
If you need more advanced features (such as automatic pairing of points, warping registration, real-time update of transformation), you can use “Fiducial registration wizard” module (in SlicerIGT extension).