Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to visualize a depth map?
Replies: 7   Last Post: Jan 21, 2013 4:26 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Wenlong

Posts: 51
Registered: 3/2/12
Re: How to visualize a depth map?
Posted: Jan 21, 2013 4:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, there

I finally overcame the problem.

The method proposed by ImageAnalyst at 5th level is the solution with Matlab. But the result image is not a continuous image, but an image composed of descrete points. Their intensity values reveals the depth values.

If your application is not restricted with Matlab, and you do want to create a continuous depth map, you can use C++ and VTK to realize it. It directly extract the depth values from GPU for each pixels on you screen, thus the depth map is smooth and looks really nice. My code was submitted to the website as a good-to-go example, and you can get it from VTK website.

Hope this can help you. Good luck.

Best regards
Wenlong



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.