haesleinhuepf / napari-process-points-and-surfaces

Process and analyze surfaces using vedo in napari.
BSD 3-Clause "New" or "Revised" License
22 stars 4 forks source link

added marching cubes for all labels #27

Closed jo-mueller closed 1 year ago

jo-mueller commented 1 year ago

Hi @haesleinhuepf ,

following up on the recent request of a certain collaborator of ours, here comes a function that extents the currently built-in marching cubes a bit. More specifically it

I'm not sure whether it's smart in the long run to use the values column of the tuple for this, but as long as we can not pass metadata in a good way this will probably do.

Here's what I get from that from binary_blobs.tif:

Label image label_image

Labelled surface label_surface

LMKWYT :)