converting .jpeg or matlab fig image to stl or cad format

13 visualizaciones (últimos 30 días)
Sandeep
Sandeep el 9 de Mayo de 2013
Editada: DGM el 26 de Jun. de 2025
Hello all , i have image i have to convert matlab image to stl or cad format, since i have to load to autocad software using matlab how can i do that
  2 comentarios
Siddharth U
Siddharth U el 13 de Oct. de 2021
Editada: Walter Roberson el 17 de Abr. de 2025
Check this video : https://youtu.be/z7Jl-OgBbjw
In this it is clearly demonstrated
DGM
DGM el 16 de Abr. de 2025
So in other words, your advice is to take a PNG, display it in a figure, save a screenshot of the figure as a low-quality JPG and then use an online converter to convert the JPG screenshot to an SVG.
I don't think it really matters that much here, but unnecessary screenshots and JPGs should have no place in an image processing pipeline. Just use imwrite() to directly save the result as a PNG. It's faster, non-destructive, and the filesize is smaller.
I will add though that convertio's SVG converter does actually vectorize the content. I half-expected it to just embed the raster data in an SVG. It expects a roughly binarized input, so that works fine here.

Iniciar sesión para comentar.

Respuestas (2)

David Sanchez
David Sanchez el 9 de Mayo de 2013
Hi, follow the link:
I think that's what you need.

David Sanchez
David Sanchez el 21 de Mayo de 2013
Editada: DGM el 26 de Jun. de 2025
This link provides a .m to write .stl files from matlab data.
I hope it is useful for you

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by