Azzera filtri
Azzera filtri

View plane overlapped with point cloud.

1 visualizzazione (ultimi 30 giorni)
Meghana Dinesh
Meghana Dinesh il 14 Set 2015
Commentato: Meghana Dinesh il 16 Set 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 ?

Risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by