qCANUPO export the multi-scale dimensionality metrics for each point

For any question about plugins!
Post Reply
woodstonelee
Posts: 3
Joined: Mon Mar 30, 2015 12:52 am

qCANUPO export the multi-scale dimensionality metrics for each point

Post by woodstonelee »

Hi, I'm trying to combine some scalar fields of points and the multi-scale dimensionality metrics from CANUPO together for classification or unsupervised clustering of points. Is there anyway I can export the multi-scale metrics from qCANUPO in CloudCompare so that I can use them along with the other scalar fields in a preferred clustering algorithm? I tried the original CANUPO program from http://nicolas.brodu.net/en/recherche/canupo/ to export it. But I found that the speed of that program is somehow much slower than the qCANUPO implementation in the CloudCompare. Not sure if I did something wrong with the original program. I did use the same amount of core points for metric calculation.

If possible, can I borrow the source code of the plugin qCANUPO and add export function or wrap the qCANUPO implementation into a standardalone but faster CANUPO. I checked the repo of CloucCompare on github but didn't find the source code of qCANUPO.

Have you got any thought on this? Thanks for any comment or suggestion.

Zhan.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: qCANUPO export the multi-scale dimensionality metrics for each point

Post by daniel »

Indeed the qCanupo plugin is multi-threaded while the original program is not.

And sadly the code is not public yet. The code of the original program is on the contrary.

Moreover pay attention that the dimensionality is not a single value but in fact 2 values for each scale.
Daniel, CloudCompare admin
woodstonelee
Posts: 3
Joined: Mon Mar 30, 2015 12:52 am

Re: qCANUPO export the multi-scale dimensionality metrics for each point

Post by woodstonelee »

Daniel, thanks for your response. Sorry that the code is not public yet but I got the confirmation that the qCANUPO is indeed faster than the original one for a reason! I realize that the dimensionality is 2 values for each scale. I currently wrap the original C++ program in python and use these exported functions to read msc files. It works fine except coming to large files which are what I really need to work on. I'll see if I can find any other compromise between speed and data size.

Thanks,

Zhan.
woodstonelee
Posts: 3
Joined: Mon Mar 30, 2015 12:52 am

Re: qCANUPO export the multi-scale dimensionality metrics for each point

Post by woodstonelee »

Daniel, but may I suggest that the qCANUPO add a function that the classification can take in not only the dimensionalty but also some scalar field of points? I think sometimes this will be very helpful when some attributes of points, such as intensity that can boost the classification accuracy.

Zhan.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: qCANUPO export the multi-scale dimensionality metrics for each point

Post by daniel »

I believe it's already in the pipe (as well as colors, etc.). However you should tell that to Dimitri Lague, the author of the plugin ;)
Daniel, CloudCompare admin
Post Reply