Visualize the depth matrix.

Hi,
I'm new in MATLAB. I have gained a "depth" matrix (700-by-700) from scanner, every element in the matrix represents the depth value (z-value) of each point.
How can I visualize this depth matrix? Do I need to use isosurface(x,y,z,v)? And if so, how to get the parameter "v"?
Thanks.
Tianyi

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2013년 8월 6일

0 개 추천

surf(z) % z - your "depth" matrix

댓글 수: 2

Tianyi
Tianyi 2013년 8월 6일
Thanks a lot for you answer. I knew surf, but I want to make it more beautiful using polygonal or volumetric visualization techniques. Could you advise me on this attempt?
Bjorn Gustavsson
Bjorn Gustavsson 2013년 8월 6일
If I understand it correctly you have the depth to the bottom surface, as a function of x and y. That is a type of data for which you won't need (and can't use) volumetric visualization. To need volumetric visualization you need to have at least scalar data as a function of (x,y,z) something like fog density, tissue X-ray absorption or the like.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Community Treasure Hunt

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

Start Hunting!

Translated by