To perform landmark registration from Python, add a vtkMRMLFiducialRegistrationWizardNode node to the scene, set input markup fiducial nodes (SetAndObserveFromFiducialListNodeId
and SetAndObserveToFiducialListNodeId
), output transform node (SetOutputTransformNodeId
), and optionally other registration parameters, then call SetUpdateModeToAuto()
to enable computation of the output transform automatically. You can verify if you have set all parameters correctly in the Fiducial registration wizard module GUI.
1 Like