Page 1 of 1

Ply Format Issue ?

Posted: Mon Apr 13, 2020 8:04 pm
by mfk16
Hi,

I'm running RANSAC via the command line, and it seems to work for one ply file I have, but not another ply file.

However, the file that did NOT work by the command line DID work within CloudCompare

The command line I'm using is:
cloudcompare -O temp.ply -RANSAC ENABLE_PRIMITIVE CYLINDER EPSILON_ABSOLUTE 10.0 BITMAP_EPSILON_ABSOLUTE 1.8 SUPPORT_POINTS 800 MAX_NORMAL_DEV 45 PROBABILITY 0.01

The error that I'm getting with the command line is a pop-up window: No point loud to attempt RANSAC on (be sure to open with "-O [cloud filename]" before "-RANSAC".

Is there particular information that the ply file should have in the header? The zip file attached has the ply file that failed (temp.ply, which is homemade) and the one that worked (bun000.ply).

Thanks for your help!

Re: Ply Format Issue ?

Posted: Tue Apr 14, 2020 5:34 pm
by daniel
It's because the second PLY file contains a mesh, and not a point cloud.

Either you are confident in the density of the mesh vertices, then you can 'promote' them as a point cloud (with '-EXTRACT_VERTICES').

Otherwise, you can sample a lot of points on the mesh (with '-SAMPLE_MESH').