Volumetric mesh to Segmentation


#1

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!


(Andras Lasso) #2

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