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

3 visualizzazioni (ultimi 30 giorni)
Quentin McDermott
Quentin McDermott il 31 Mag 2018
Commentato: DGM il 20 Apr 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.

Risposte (1)

Anton Semechko
Anton Semechko il 1 Giu 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 Commento
DGM
DGM il 20 Apr 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:

Accedi per commentare.

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by