How to convert .nii MRI mask files to 3D volume that could be meshed with 3D element types later?

Hello,

I am trying to convert a .nii MRI mask (binary 3D mask) file to a 3D volume mesh or any 3D volume format, so I could mesh the model with 3D element types and do Finite Element Analysis.

I would appreciate it if anyone could help me with that.

Thanks,
Mohsen

You can load the nii file as a segmentation and then use SegmentMesher extension to create a volumetric mesh.

If you want to use a different mesher software then probably you want to export the segmentation as a surface mesh (ply, obj, stl, vtk,…), as most volumetric meshers require this format as input.

Thank you so much for your help!