From fac7e107e0ecd5b074d6368a7d31101d3a7c71cc Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Thu, 23 May 2024 14:12:24 +0800 Subject: [PATCH] fix #7793 Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- tests/test_warp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_warp.py b/tests/test_warp.py index 55f40764c3..0e5f2466db 100644 --- a/tests/test_warp.py +++ b/tests/test_warp.py @@ -217,6 +217,7 @@ def itk_warp(img, ddf): # warp warp_filter.SetDisplacementField(displacement_field) warp_filter.SetInput(itk_img) + warp_filter.Update() warped_img = warp_filter.GetOutput() warped_img = np.asarray(warped_img)