Effacer les filtres
Effacer les filtres

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 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Matt J
Matt J le 1 Fév 2022
Modifié(e) : Matt J le 1 Fév 2022
Use isosurface to triangulate the surface of the spine. Then, use stlwrite,
  1 commentaire
Anupreet Singh
Anupreet Singh le 2 Fév 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by