View plane overlapped with point cloud.

4 次查看(过去 30 天)
Using the function pcfitplane, I get an equation of a plane. In this case, it is [-0.097 -0.055 0.993]. How can I view it such that it overlaps with my point cloud ?

回答(1 个)

Zheng
Zheng 2015-9-15
编辑:Zheng 2015-9-15
mdl = pcfitplane(...);
pcshow(ptCloud);
hold on
% The returned planeModel object has a plot method
plot(mdl);
  1 个评论
Meghana Dinesh
Meghana Dinesh 2015-9-16
Works good! Thank-you.
As an extension to the same problem, suppose I have PtCloud = [M X N X 3] matrix and an equation of a plane.
When I plot it using the plot function as usual, the plane looks very huge and my other data points which I have plot in 3D appear very minute. I don't want this. I want to plot it such it lies within the same range as my data in 3D. I have attached here an example data-set here and the equation of plane which has to be plot such that it overlaps with my data. Equation of plane: [0.0589 0.0111 0.9982]. I want to limit the size of my plane to my data.

请先登录,再进行评论。

类别

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