20 parser = argparse.ArgumentParser(description=
"Read Write Vector Image.")
21 parser.add_argument(
"input_image")
22 parser.add_argument(
"output_image")
23 args = parser.parse_args()
31 ImageType =
itk.Image[PixelType, ImageDimension]
34 reader.SetFileName(args.input_image)
37 writer.SetFileName(args.output_image)
38 writer.SetInput(reader.GetOutput())