KitwareMedical / ITKContourInterpolation

An implementation of morphological contour interpolation
http://hdl.handle.net/10380/3563
Apache License 2.0
30 stars 13 forks source link

how to use this module in python? #88

Closed lancexiang closed 3 years ago

lancexiang commented 4 years ago

Hi, i have installed the python package, and i can find it in itk.MorphologicalContourInterpolator, but i don't know how to use it? Can you give me a demo in python? best with numpy.ndarray as input...

Thanks.

dzenanz commented 4 years ago

It is just a normal filter, so basic use instructions should apply. If you write a bare-bones code to invoke it, it would be nice to submit it as an example.

thewtex commented 4 years ago

NumPy array inputs will be supported with a rebuild against ITK 5.1 after it has been released.

lancexiang commented 4 years ago

Yeah, i have used it in Linux, there were some erros occurs in OSX. But the function consume much time and raise some errors for some mask with spotted region, like chest vessel mask.

dzenanz commented 3 years ago

I just added a Python usage example in #96.