21 from distutils.version
import StrictVersion
24 print(
"ITK 5.2.0 is required.")
27 parser = argparse.ArgumentParser(description=
"Convert An itk Image to vtk Image Data.")
28 parser.add_argument(
"input_image")
29 args = parser.parse_args()
31 inputImage = itk.imread(args.input_image)
33 vtkImage = itk.vtk_image_from_image(inputImage)