Ply Format Issue ?

Feel free to ask any question here
Post Reply
mfk16
Posts: 1
Joined: Mon Apr 13, 2020 7:47 pm

Ply Format Issue ?

Post 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!
Attachments
bun000.zip
(404.09 KiB) Downloaded 139 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Ply Format Issue ?

Post 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').
Daniel, CloudCompare admin
Post Reply