Reputation: 33
Ineed to implement a PCA analysis with ITK in Python. After looking in the manuel, it seems easy enough.
typedef itk::ImagePCAShapeModelEstimator<ImageType, ImageType > my_Estimatortype;
However, in Python, I can't find the function. It should be something like
itk.ImagePCAShapeModelEstimator[ImageType, ImageType]
Am I missing something here, or is the ITK lib in Python not complete (I'm using the normal itk, not the SimpleITK)
Upvotes: 3
Views: 292
Reputation: 1431
The ImagePCAShapeModelEstimator is not currently wrapped for ITK. If you look inside the ITK repository a ".wrap" file is needed for wrapping. This is currently missing for this class [1]. It is generally not too hard to add a wrap file by finding a similar class' wrap file and copying it.
Upvotes: 1