MATLAB Answers

How to display *.obj or *.png files on a figure window?

284 views (last 30 days)
Cem
Cem on 15 Nov 2012
Answered: mitra on 5 Aug 2014
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.

Accepted Answer

Richard Quist
Richard Quist on 15 Nov 2012
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 Comment
Cem
Cem on 15 Nov 2012
Hello Richard,
Thank you for the tip. Now, I need to find out how to display obj files.

Sign in to comment.

More Answers (1)

mitra
mitra on 5 Aug 2014
hello, I need some doc. aboat 3d scan with parallel beams!

Community Treasure Hunt

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

Start Hunting!