How to display *.obj or *.png files on a figure window?
52 次查看(过去 30 天)
显示 更早的评论
Hello,
I have some 3D scans of some objects in *.png or *.obj formats. How can I display them in a figure window? thank you.
0 个评论
采纳的回答
Richard Quist
2012-11-15
I'm not sure about the .obj files, but for .png files something like the following should work to display the image in the current axes:
img = imread('foo.png');
image(img);
For more options/details, run:
help imread
help image
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!