Compare two matrices and obtain points in common
Afficher commentaires plus anciens
Hi everyone! I'm trying to extract the coordinates XYZ of some paths I extracted from an orthophoto. I have the coordinates XY (matrix 323659x2) of the paths and a point cloud containing the coordinates XYZ of the whole area including the paths (matrix 6501725x3). The coordinates (UTM) are 6-7 digits long and have 3-4 decimals so I need to introduce 1 meter tolerance to make it work. I want to use the coordinates XY from the paths and the Z from the point cloud. I've tried it using intersect and ismembertol.
[ia,ib]=ismembertol(XY,XYZ(:,1:2),1,'DataScale',1);
xyz=XYZ(ia,:);
2 commentaires
Jan
le 31 Jan 2017
This sounds okay. What is your question?
Alyssa Webb
le 31 Jan 2017
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Process Point Clouds dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!