[Insight-users] Creating a blank Image / instantiating classes in python
Rick Giuly
rgiuly at gmail.com
Fri Feb 27 13:00:23 EST 2009
Hello All,
I'm trying to create a blank itk.Image in python (analogous to page 36
in the ITK Software Guide).
Types involved are:
ImageType (I'm using itk.Image)
IndexType (I'm using itk.ImageIndex)
SizeType (I'm using itk.Size)
RegionType (I'm using itk.ImageRegion)
For the classes other than itk.Image I don't know how to create an
instance: as far as I can tell, the classes itk.ImageIndex, itk.Size,
and itk.ImageRegion do not have New() functions.
So my question is how do you instantiate classes that don't have the
New() function?
Any help is appreciated.
-Rick
More information about the Insight-users
mailing list