Point cloud info in command line

Feel free to ask any question here
Seb_B
Posts: 5
Joined: Mon Feb 03, 2014 2:16 pm

Point cloud info in command line

Post by Seb_B »

Hello,

Is it possible to get general info of the point cloud loaded in command line? Eg: number of points, min X, max X, min Y, max Y, ...?

Il might help to use the -CROP command after.

Thanks,
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point cloud info in command line

Post by daniel »

Nope. Can you develop on this maybe? What are you willing to do exactly?
Daniel, CloudCompare admin
Seb_B
Posts: 5
Joined: Mon Feb 03, 2014 2:16 pm

Re: Point cloud info in command line

Post by Seb_B »

If I know the minimum and maximum in z, I would like to do "slices" of a thichness of 0.5 m (with the -crop command) each 1 meter along the z axis of my point cloud.
For my loop, I need to know the minimum and maximum in z.
Seb_B
Posts: 5
Joined: Mon Feb 03, 2014 2:16 pm

Re: Point cloud info in command line

Post by Seb_B »

Ok, not 0.5m of thichness each 1 m! This was not a good example! But somthing like thichness of 0.2 m each 1 meter.
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point cloud info in command line

Post by daniel »

Ok. The current version (2.6.2.beta - 'CleanMeshCutter' branch) has a new command line option that allows to apply the 'Crop' algorithm in this way (with automatic repetition, etc.). It can even start from relative coordinates (i.e. 'min' or 'max' bounding-box coordinates). The command name will be 'CROSS_SECTION' (it relies on a XML file for the parameters as it requires too much parameters/options).

So if you are able to compile this version on your side, you can take a look at the code in 'ccCommandLineParser::commandCrossSection' to figure out how it works. Otherwise you'll have to wait for the next version (with an updated documentation ;).
Daniel, CloudCompare admin
jason3d
Posts: 13
Joined: Thu Aug 15, 2013 6:36 pm

Re: Point cloud info in command line

Post by jason3d »

Hello,
Are there any prebuilt downloads for the 2.6.2 beta?
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point cloud info in command line

Post by daniel »

I've just uploaded a fresh version here: http://www.cloudcompare.org/release/Clo ... in_x64.zip (EDIT: updated with the latest beta version on the 5/18).
Daniel, CloudCompare admin
jason3d
Posts: 13
Joined: Thu Aug 15, 2013 6:36 pm

Re: Point cloud info in command line

Post by jason3d »

Thanks
Rahul
Posts: 5
Joined: Thu Jul 23, 2015 10:54 am

About the new beta version 2.6.2

Post by Rahul »

What are the new features you have added.

Sir you did a great job the cc software is excellent because of this software I am able to do my m.tech desertation work on Lidar.thank you ..
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point cloud info in command line

Post by daniel »

For proper 'release notes' you'll have to wait for the official release.

But meanwhile you can look at the 'history.txt' file next to the executable.
Daniel, CloudCompare admin
Post Reply