Converting a stack of .bmp images into an .stl file
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Anton Semechko
on 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 Comment
DGM
on 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:
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!