# Set landmark registration parameters from command line python

**URL:** <https://discourse.slicer.org/t/set-landmark-registration-parameters-from-command-line-python/10760>\
**Category:** Development\
**Created:** [March 20, 2020, 11:01am UTC](https://discourse.slicer.org/t/set-landmark-registration-parameters-from-command-line-python/10760 "2020-03-20T11:01:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tokai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tokai/32/4851_2.png) [@Tokai](https://discourse.slicer.org/u/Tokai)\
**Post date:** [March 20, 2020, 11:01am UTC](https://discourse.slicer.org/t/set-landmark-registration-parameters-from-command-line-python/10760/1 "2020-03-20T11:01:16Z")

</div>

Hi,  
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  
 ![Unbenannt](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/1/71c07a2ab26040ccc7c73fb102aa4ed77ee02f4c.png)

I want to set them from command line, so that I have to do only the land mark selection.

Thanks

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 20, 2020, 4:09pm UTC](https://discourse.slicer.org/t/set-landmark-registration-parameters-from-command-line-python/10760/2 "2020-03-20T16:09:18Z")

</div>

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](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#Running_a_CLI_from_Python)).

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).
