How can I turn a grayscale image into a .stl 3d file?

17 次查看(过去 30 天)
I have an grayscale image, I'd like to export it as an .stl file for 3d printing using the function surf2stl. I have been trying to turn the image file, which is a two dimensional matrix, into a surface using the color values as a height. Using the function surfht, I can get the interpolate contour map I want to print, but it is only displayed and I can't use it in surf2stl, also the surf function returns a 1x1 value, which can't be right. Is anyone able to shed some light on what steps I should take to turn this image to a surface and then an stl, or what I am doing wrong?
Thanks!
The image I'm using: http://imgur.com/cDszY

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by