-
Notifications
You must be signed in to change notification settings - Fork 549
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
Fix the surface normals datapoints filter covariance matrix bug #465
Fix the surface normals datapoints filter covariance matrix bug #465
Conversation
The covariance needed to be divided by realKnn in the SurfaceNormals filter and by colCount in the SamplingSurfaceNormalsData filter
Can one of the admins verify this patch? |
add to whitelist |
@aguenette so the computed eigenvalues had an unexpected scale? |
@YoshuaNava do you know who handle Jenkins at ASL? They changed something and the CI pipeline is broken again. |
@pomerlef I need to rectified something about the pictures you posted. The first one was taken using the I made a mistake by assuming that both filters were giving the same results. So, after seeing the question of @YoshuaNava yesterday, I ran some tests with both filters before and after the correction were applied. So, here's some pictures taken from those tests that are more representatives:
and after:
and after: 15 So, it's looks like that the Sorry about that. 😓 |
@pomerlef Sorry for the delay, I was focused on a software release sprint. At the moment I'm not aware of who is handling the CI from ASL. @aguenette Thank you for the very detailed explanation 🙂. I have two questions that are closely related:
|
@YoshuaNava, You're welcome! 🙂
|
There was a bug in the computation of the covariance matrix, which had an impact in the eigen values and eigen vectors computation.
In the
SurfaceNormals
filter: the covariance matrix needed to be divided byrealKnn
.In the
SamplingSurfaceNormals
filter: the covariance matrix needed to be divided bycolCount
.Credits go to @pomerlef.