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

104 Ansichten (letzte 30 Tage)
Cem
Cem am 15 Nov. 2012
Beantwortet: mitra am 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by