M3C2 - how to save the points used in the search cylinder

For any question about plugins!
Post Reply
MonicaPala
Posts: 3
Joined: Mon Jan 20, 2020 3:48 pm

M3C2 - how to save the points used in the search cylinder

Post by MonicaPala »

Hi,

I am using M3C2 to do a difference between a very dense point cloud from SfM and a very sparse point cloud that actually has GPS coordinates for validation. The second sparse GPS point cloud has around 100 points. So i used these points as core points. So for each core point the search cylinder has 1 point from the GPS point cloud and between 5 to 60 points from the dense SfM point cloud. Saving the M3C2 table i have the coordinates of the GPS points used as core. I would like to see and save also the points used from the dense SfM point cloud that were used in each search cylinder, maybe grouped with an id that identifies the core GPS point.

Is there any way to do that? My cylinders are small, 0.25 x 0.25 by 0.5 m height.

Thanks, take care,
Monica
daniel
Site Admin
Posts: 7383
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: M3C2 - how to save the points used in the search cylinder

Post by daniel »

Hum, not with the current implementation. You would have to hack the code!
Daniel, CloudCompare admin
MonicaPala
Posts: 3
Joined: Mon Jan 20, 2020 3:48 pm

Re: M3C2 - how to save the points used in the search cylinder

Post by MonicaPala »

Hi,

Thanks. How can i find that code? I never tried to see the whole code of a plugin in CC as yet. Also, what language is in? Python or C++?

Thanks, take care,
Monica
daniel
Site Admin
Posts: 7383
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: M3C2 - how to save the points used in the search cylinder

Post by daniel »

It's C++: https://github.com/CloudCompare/CloudCo ... dard/qM3C2

But that's definitely not the simplest plugin...
Daniel, CloudCompare admin
MonicaPala
Posts: 3
Joined: Mon Jan 20, 2020 3:48 pm

Re: M3C2 - how to save the points used in the search cylinder

Post by MonicaPala »

Thanks. I will see if any of my colleagues is good enough in C++ to extract the part i am after. Unfortunately i don't know C++ to do that myself.

Thanks, take care,
Monica
Post Reply