Skip to content

Commit

Permalink
changed sitk2vtk import
Browse files Browse the repository at this point in the history
  • Loading branch information
dave3d committed Jul 3, 2023
1 parent b37ced8 commit a46cdfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dicom2stl.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import re
import SimpleITK as sitk

import SimpleITK.utilities as sitkutils
from SimpleITK.utilities.vtk import sitk2vtk

This comment has been minimized.

Copy link
@Jipiness

Jipiness Oct 3, 2023

image
can you please help me with this problem?


import parseargs

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a46cdfb

Please sign in to comment.