Borrar filtros
Borrar filtros

I have a 3D logical matrix represented a segmented spinal volume. I want to export this volume as .obj or .stl for further use. How can I do this?

3 visualizaciones (últimos 30 días)
I processed a volume of CT spinal images, and segmented out the ROI for my desired application. I now want to export the 3D logical matrix as a .obj or .stl file. I have not found a feasible solution to this yet. Does anyone know how I can go about doing this?

Respuesta aceptada

Matt J
Matt J el 1 de Feb. de 2022
Editada: Matt J el 1 de Feb. de 2022
Use isosurface to triangulate the surface of the spine. Then, use stlwrite,
  1 comentario
Anupreet Singh
Anupreet Singh el 2 de Feb. de 2022
Hi Matt,
Thanks for your response. So my segmented volume is of the following form: BW - 512x513x312 logical.
I used isosurface in the following way: s = isosurface(BW);
The output was a struct with two fields: vertices and faces.
I attempted to use this in the stlwrite function, but I got an error back saying that s is not a triangulation object. Am I missing a step?

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by