problem while ploting a surface from the image and depth map of image

Dear all, I have the gray scale image and, its 2d depth map image which has values ranging from 0 to nearly 1500. I want to build 3D from this data(Indicate pixel value at its respective depth). Can any one suggest me the way... Thank you,

 Accepted Answer

How about using the surf() function?

2 Comments

Its working but i am getting discrete surface. Is there a method to get the smooth surface out of depth map.
I don't know what this means. Do you want to smooth out the data, like use conv2(), filter2(), or imfilter() on the data before calling surf()?

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!