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

13 views (last 30 days)
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.

Answers (2)

Image Analyst
Image Analyst on 12 Oct 2015

Dima Lisin
Dima Lisin on 12 Oct 2015
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.

Community Treasure Hunt

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

Start Hunting!