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

3 次查看(过去 30 天)
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.

采纳的回答

Adrian
Adrian 2017-7-17
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by