Effacer les filtres
Effacer les filtres

How to calculate the distance between a pointCloud and a planeModel?

2 vues (au cours des 30 derniers jours)
Adrian
Adrian le 14 Juil 2017
Réponse apportée : Adrian le 17 Juil 2017
Hi There! I have got two objects. I have got a Planemodel that represents a plane with a certain orientation in a certain place like so:
plane = planeModel([0 0 1 1]);
as well as a pointCloud like so:
load('object3d.mat');
I'm looking for a way to calculate the distance between the plane and the points in the point cloud, where points on one side of the plane get a positive and the other side a negative distance.

Réponse acceptée

Adrian
Adrian le 17 Juil 2017
I just want to add this: https://de.mathworks.com/matlabcentral/fileexchange/62096-point-plane-distance?focused=7396450&tab=function I found it after a lot more searching online, maybe it will help others who stumble across my question here.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by