How can i find the distance between every point in two different point-clouds

9 views (last 30 days)
I have two point cloud models, one deformed and one "perfect" .
I'm trying to find the differences in xyz distance values, so it comes out in a '10200x3' matrix. (As i have 10200 points in the point cloud)
So i'm trying to get a distance from one point in model1 to the closest point in model2, currently i have a nested for loop but it's not really working.
Any tips?

Answers (1)

Torsten
Torsten on 25 Apr 2019
min (D) or min (D.') seems to be what you are looking for.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!