You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the noise filter on point clouds there is a strange behaviour. Although setting it to KNN and using only 6 points it takes much longer than the SOR filter. It seems like the KNN methods depends on the kernel size and the other way around.
Within the code of the noise filter in CloudSamplingTools.cpp I found these lines:
if (useKnn)
octreeLevel = octree->findBestLevelForAGivenNeighbourhoodSizeExtraction(kernelRadius);
else
octreeLevel = octree->findBestLevelForAGivenPopulationPerCell(knn);
Shouldn't this be the other way around?
How to reproduce
Select a cloud
Go to 'Clean\Noise filter'
Click on 'Radius (Sphere)'
Input '6' as the kernel size
Select 'Points (kNN)'
Input '6' as the number of neighbours
Start filter
Expected behaviour
The processing shouldn't take much longer than the SOR filter. In my case for 20.000 points it almost took 10 seconds compared to the SOR filter (less than 1 second).
Your environment
CCCoreLib Version: 2.11.1
OS & Version: Windows 10
Qt Version: QT 5.15
The text was updated successfully, but these errors were encountered:
When using the noise filter on point clouds there is a strange behaviour. Although setting it to KNN and using only 6 points it takes much longer than the SOR filter. It seems like the KNN methods depends on the kernel size and the other way around.
Within the code of the noise filter in CloudSamplingTools.cpp I found these lines:
Shouldn't this be the other way around?
How to reproduce
Expected behaviour
The processing shouldn't take much longer than the SOR filter. In my case for 20.000 points it almost took 10 seconds compared to the SOR filter (less than 1 second).
Your environment
The text was updated successfully, but these errors were encountered: