20 ComponentType = itk.ctype(
"float")
21 PixelType =
itk.Vector[ComponentType, Dimension]
22 ImageType =
itk.Image[PixelType, Dimension]
24 image = ImageType.New()
38 region.SetIndex(start)
40 image.SetRegions(region)
43 vectorValue = PixelType()
47 image.FillBuffer(vectorValue)
54 pixelValue = PixelType()
59 image.SetPixel(pixelIndex, pixelValue)
61 value = image.GetPixel(pixelIndex)