Elastix registration error

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’

How can I solve this problem?

Best regards!
Bence

Szia Bence,

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

Hi Csaba,

My Slicer version is 4.10.1, I uninstall and reinstall Elastix, but the problem is remain.
So maybe I schould try Slicer version 4.11. ?

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!

Okey, thank you very much! :slight_smile: