Fitting plane to a 3D point cloud using pcfitplane
Mostra commenti meno recenti
Is this the correct approach.
When I plot this I am not getting any plane in the window.
ptCloud1 = pointCloud(rand(200,3,'single'));
figure
pcshow(ptCloud1, 'MarkerSize',50)
[model, inlier, outlier] = pcfitplane(ptCloud1,0.05,[0,0,1], 5);
plane1 = select(ptCloud1, inlier);
pcshow(plane1)
% p1 = pointCloud(a);
Output : -

1 Commento
mithu max
il 27 Mar 2017
Can someone provide the mat function code for pcfitplane
Risposte (1)
Witek Jachimczyk
il 11 Dic 2025
0 voti
You're most likely not getting anything because you might have picked a normal vector that doesn't work out or your max distance of individual points from the plane model is too tight. You can skip supplying the reference normal vector.
HTH
Witek
Categorie
Scopri di più su Point Cloud Processing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!