-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check overlap / cc.DistanceComputationTools.computeApproxCloud2CloudDistance(cloud1,cloud2) #141
Comments
Hello, |
I suggest to use the getOwnBB method of the cloud. You don't need to deal with octree at that step. |
ok will try if a comparison of what is returned by [getOwnBB] satisfies our need. |
If you want to be sure to have the same shift, use an explicit shift : see Load with explicit shift parameters. |
Shift is not always the same, even in the same script! There is for instance the #29 issue about this problem. |
ok thanks for the warning. |
Hi @prascle then comes the second step with computeApproxCloud2CloudDistance How do you deal with returned value with cc.DistanceComputationTools.computeApproxCloud2CloudDistance(cloud1,cloud2) How are those values computed by CC ? [min, max, mean, variance, error max] ![]() in order to eliminate more non-overlapping pairs... you were also suggesting Label Connected Components If I understand well that function returns If we have a look to the function can I get d from min or max values from computeApproxCloud2CloudDistance ? I would like to work with first octree level . can I use level 0 ? when computing individual octree level for each cloud we can see overlapping areas... but probably we should also combine that with computeApproxCloud2CloudDistance results... If we understand them. ![]() ![]() ![]() Is there any equivalence between that computeApproxCloud2CloudDistance and what CC GUI offer in TOOL> DISTANCES > Compute closest point set cloudcompare wiki gives that answer https://danielgm.net/cc/forum/viewtopic.php?p=7869&sid=fe28db4801179d505def3307b301563c#p7869 |
hello @prascle ![]() skip unwanted pairs that do not overlaps themselve (DONE) and also skip or prevent from doing C2C computation for small or bad layout of overlaping boxs (exemple below) ![]() it would be good to skip also the below case ![]() where there is a small relevant part to analyse the adjutement between the pairs of scans when using C2CDistance (a small amount of point in a given distance range / compare to the entire point count) ![]() by the way how does [Cloud2CloudDistance(cloud1,cloud2)] behave if the process fails ? does it return an error , or should we use it like below example to avoid error in the console (if the C2C computation doesn't give any result ?) if cc.DistanceComputationTools.computeApproxCloud2CloudDistance(cloud2ref, cloud3): |
hi @prascle with that example (2 closed BBox with limited overlap) I tested approximate distance , here is what CloudCompPy returns |
Hello, Paul |
Hello again,
before running C2C in batch all thousand of scan stations,
I would like to check if there are overlaps between tested pointclouds
to skip the unecessary pairs .
if i input 2 scans in cc GUI
I can see there is no overlap
but if I run a test using
cc.DistanceComputationTools.computeApproxCloud2CloudDistance(cloud1,cloud2)
I still have value returns
Is there any boolean function to check any overlaps between 2 clouds ? ;
otherwise any alternative way such as with bounding box of E57 inputs ? (boolean intersection)
thanks
antoine
The text was updated successfully, but these errors were encountered: