How to calculate the shortest distance between one cloud point to another in a 3D mesh of triangles using Intel Realsense camera?

After getting x,y,z coordinate of a point on a 3D mesh, we want to get the shortest distance from one vertex of a triangle to another vertex of different triangle in single mesh. We measured the euclidean distance but it is irrelevant as it wont travel the 3D surface of mesh.
Kindly suggest how my algorithm should proceed or if already matlab has features to achieve it? PFA screenshot to see 2 points encircled with the shortest path to reach from one to another.

답변 (2개)

You can try using the graph object in base MATLAB. You can represent you mesh as a graph, and use the built-in shortest path functionality.

댓글 수: 1

Thanks for the answer. I am looking into it asap. Is it related to geodesic distance?

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

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

질문:

2015년 10월 12일

댓글:

2015년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by