Converting a stack of .bmp images into an .stl file

5 vues (au cours des 30 derniers jours)
Quentin McDermott
Quentin McDermott le 31 Mai 2018
Commenté : DGM le 20 Avr 2025
I have a large set of images taken by a micro-CT scanner that I am trying to convert to an STL file. Does anybody have an idea of how to do this on Matlab? If not, does anyone know of any software that I could use to do this? I know of ImageJ but I can't seem to get that to work.

Réponses (1)

Anton Semechko
Anton Semechko le 1 Juin 2018
(1) Segment the object of interest in your 3D image,
(2) Reconstruct boundary of the segmented object using 'isosurface' function,
(3) Download 'stl_write' function from FEX
(4) Export mesh from (2) using 'stl_write'
  1 commentaire
DGM
DGM le 20 Avr 2025
This example refers to Sven's stlwrite() from FEX #20922 or #51200, though after R2018b, the same can be done using MATLAB's built-in stlwrite()
#20922 expects F,V lists to either be provided together as a struct or as separate numeric arguments.
R2018b stlwrite() expects the data to be presented as a triangulation object.
For example:

Connectez-vous pour commenter.

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by