From a46cdfb51cdcf62e5f25c2847b26973af84e7deb Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Mon, 3 Jul 2023 16:29:16 -0400 Subject: [PATCH] changed sitk2vtk import --- dicom2stl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dicom2stl.py b/dicom2stl.py index 83d5e71..fc50d72 100755 --- a/dicom2stl.py +++ b/dicom2stl.py @@ -28,7 +28,7 @@ import re import SimpleITK as sitk -import SimpleITK.utilities as sitkutils +from SimpleITK.utilities.vtk import sitk2vtk import parseargs @@ -385,7 +385,7 @@ def dicom2stl(args): print("") # Convert the SimpleITK image to a VTK image - vtkimg = sitkutils.sitk2vtk(img) + vtkimg = sitk2vtk(img) # Delete the SimpleITK image, free its memory img = None