I did a 3D segmentation of an organ in a 3D volume of data acquired in CT. The output of the segmentation is defined as a binary 3D ndarray, where 1 is inside the organ, and 0 is outside the organ.
What is the best tool to extract the surface of this object as a mesh, that I can then export into a mesh format such as .stl?
Thanks!
I'm not sure that is a best variant, but there is easy way to do it if use MeshLib.
To install it on Windows use
py -3.10 -m pip install --upgrade meshlibScript to do this will look like:
I hope this helps you.