I know itk::MattesMutualInformationImageToImageMetricv4 and itk::MeanSquaresImageToImageMetricv4 have been wrapped to python. How about others (e.g. itk::CorrelationImageToImageMetricv4, itk.DemonsImageToImageMetricv4, itk.JointHistogramMutualInformationImageToImageMetricv4) ? If not, could anyone please to wrap them to python?
Hey friend, I’m not sure who decides which ITK functions/classes are wrapped and why, so it may be faster to try wrapping them yourself - a fairly simple process… Here’s a link to an example metric wrap … Perhaps try copying this code, replacing the metric class in that file with the other metric classes you want to wrap, then rebuilding ITK with the python wrapping.
@matt.mccormick so basically you just wrap classes as people request them? I never understood why some classes aren’t wrapped that easily can be - thought it was maybe to keep the package size down?
@ncullen93 Contributed patches are the fastest way to get classes wrapped . Package size is a concern when wrapping classes, but if a class is useful and not wrapped at all, then it should be wrapped.
Progress on the GitHub migration can be tracked here.