diff --git a/Examples/Python/SimpleTransformix.py b/Examples/Python/SimpleTransformix.py index 7940ffa57..1ec599b43 100644 --- a/Examples/Python/SimpleTransformix.py +++ b/Examples/Python/SimpleTransformix.py @@ -13,7 +13,7 @@ transformixImageFilter = sitk.TransformixImageFilter() # Read Input -transformixImageFilter.SetInputImage(sitk.ReadImage(str(sys.argv[4]))) +transformixImageFilter.SetMovingImage(sitk.ReadImage(str(sys.argv[4]))) transformixImageFilter.SetParameterMap(elastixImageFilter.GetTransformParameterMap()) # Perform warp