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

5 Ansichten (letzte 30 Tage)
Quentin McDermott
Quentin McDermott am 31 Mai 2018
Kommentiert: DGM am 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.

Antworten (1)

Anton Semechko
Anton Semechko am 1 Jun. 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 Kommentar
DGM
DGM am 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:

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by