Hi,
I want to registrate preoperative CT with postoperative CT , but Elastix always give me this error, when try to generate output:
Failed to load output transform from C:/Users/HORVIR~1/AppData/Local/Temp/Slicer/Elastix/20210426_161835_807\result-resample\deformationField.mhd
Error: type object ‘MRMLCorePython.vtkMRMLTransformNode’ has no attribute ‘GetMovingNodeReferenceRole’
Which Slicer version do you use? If not the latest preview then please install that and try again (you seem to use Windows so Elastix should be fine for that - it has issues on Mac for several weeks now).
4.10.1 is two and a half years old and we made a lot of improvements and fixes since then. I suggest using at least the latest stable, which is 4.11.20210226. We do not fix bugs in old versions, so in any case if something is broken then we will only fix it if it persists in the latest version. Thanks!