Volumetric mesh to Segmentation

Hi! If I have a volumetric mesh, where separate regions of the mesh are defined by an associated scalar, can I import it directly into Segmentations? (i.e. with the different scalar-defined regions as different segments).

Thanks!

There is no such feature yet. You can use a few VTK filters to do this conversion (probably 15-20 lines of Python code). Two possible approaches:

  • get each sub-volume using threshold filter, extract surface, and then import the surface to segmentation
  • use probe filter to convert the unstructured grid to image data and import that labelmap volume to segmentation
1 Like