Convert unorganized point cloud (MX3) to organized point cloud (MXNX3)

2 visualizaciones (últimos 30 días)
Hello all, I am wondering if there is a method to convert unorganized point cloud (MX3) to organized point cloud (MXNX3). The PLY format doesn't support organized format. I need to convert it to organized one in order to find the plane using pcfitplane like this method: . Thanks
  1 comentario
carlos Santiago Ovando
carlos Santiago Ovando el 4 de Oct. de 2019
Did you ever find out how to do this? I am running into the same issue.

Iniciar sesión para comentar.

Respuesta aceptada

Anand el 6 de Dic. de 2019
You do not need to convert a pointCloud to organized form to use the pcfitplane function.
Here is an example:
% Read an unorganized point cloud
ptCloud = pcread('teapot.ply');
% The point cloud is unorganized, since Location property is M-by-3
% Use pcfitplane
maxDistance = 0.5;
referenceVector = [0 0 1];
model = pcfitplane(ptCloud, maxDistance, referenceVector)
hold on
If you are getting an error, could you please send reproduction steps and the release of MATLAB you are using (use the ver command).

Más respuestas (0)


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

Community Treasure Hunt

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

Start Hunting!

Translated by