View plane overlapped with point cloud.

1 visualización (últimos 30 días)
Meghana Dinesh
Meghana Dinesh el 14 de Sept. de 2015
Comentada: Meghana Dinesh el 16 de Sept. de 2015
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 ?

Respuestas (1)

Zheng
Zheng el 15 de Sept. de 2015
Editada: Zheng el 15 de Sept. de 2015
mdl = pcfitplane(...);
pcshow(ptCloud);
hold on
% The returned planeModel object has a plot method
plot(mdl);
  1 comentario
Meghana Dinesh
Meghana Dinesh el 16 de Sept. de 2015
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Point Cloud Processing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by