There’s a way to implement itk::Statistics::WeightedCentroidKdTreeGenerator
and itk::Statistics::KdTreeBasedKmeansEstimator
in python?
EDIT: i’m trying also to use itk::SmoothingRecursiveGaussianImageFilter
but it seems that is not included in the itk library in python.
import itk
ImageType=itk.Image[itk.F,3]
smooth=itk.SmoothingRecursiveGaussianImageFilter[ImageType,Imagetype].New()
AttributeError: module ‘itk’ has no attribute ‘SmoothingRecursiveGaussianImageFilter’