20 if len(sys.argv) != 3:
21 print(
'Usage: ' + sys.argv[0] +
' <InputFileName> <OutputFileName>')
30 ImageType =
itk.Image[PixelType, ImageDimension]
33 reader.SetFileName(sys.argv[1])
36 writer.SetFileName(sys.argv[2])
37 writer.SetInput(reader.GetOutput())