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