Sofa CGAL: meshing from medical images #4896
-
|
Hello Sofa community, I would like to use the Sofa CGAL plugin to create a mesh from labeled medical image data. I've seen the cube meshing example here, where a Is there a way to use other medical image formats such as NIfTI or MetaImage as input ? Or, is there a way to convert from these formats to the Best |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
The example you mention is hosted here: https://github.com/sofa-framework/CGALPlugin/blob/master/scenes/MeshGenerationFromImage.scn The image is loaded in the sofa/applications/plugins/image/ImageContainer.h Lines 189 to 196 in 376a975 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @alxbilger for your answer. I had tried meshing from a MetaImage |
Beta Was this translation helpful? Give feedback.
The example you mention is hosted here: https://github.com/sofa-framework/CGALPlugin/blob/master/scenes/MeshGenerationFromImage.scn
The image is loaded in the
ImageContainercomponent, where you can specify a filename. Have you tried to specify a path to a NIfTI file? It should work. SOFA will consider files with.hdrand.niias NIfTI images:sofa/applications/plugins/image/ImageContainer.h
Lines 189 to 196 in 376a975