View plane overlapped with point cloud.

조회 수: 1 (최근 30일)
Meghana Dinesh
Meghana Dinesh 2015년 9월 14일
댓글: Meghana Dinesh 2015년 9월 16일
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