Single max value of point clouds distance by scripting
Posted: Mon Oct 24, 2016 5:59 pm
Hello,
I would like to get a SINGLE value for the maximum distance between two point clouds that I want to compare using CC on the command line. In the following link,
http://www.danielgm.net/cc/doc/wiki/ind ... #Example_1
I found an example like:
The problem is that it generates a complete cloud with the scalar value of each point being its distance to the reference cloud. What I really want is to only get the MAX value of all these scalar values. So you understand my business case, here is why...
I have very complicated C++ point cloud algorithms that I need to refactor and optimize. I have a bunch of point clouds that are the results of my original code and I want to be sure that my refactoring still gives the same results within a given tolerance (very small). I want to be able to run the new code and compare its output with the old point clouds automatically because I have over 80 such comparisons to make. That's why I need to be able to do it by scripting and get a simple PASS/FAIL answer for each comparison based on my tolerance.
Regards,
Bruno Martin
I would like to get a SINGLE value for the maximum distance between two point clouds that I want to compare using CC on the command line. In the following link,
http://www.danielgm.net/cc/doc/wiki/ind ... #Example_1
I found an example like:
Code: Select all
CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0
I have very complicated C++ point cloud algorithms that I need to refactor and optimize. I have a bunch of point clouds that are the results of my original code and I want to be sure that my refactoring still gives the same results within a given tolerance (very small). I want to be able to run the new code and compare its output with the old point clouds automatically because I have over 80 such comparisons to make. That's why I need to be able to do it by scripting and get a simple PASS/FAIL answer for each comparison based on my tolerance.
Regards,
Bruno Martin