Convex and concave surfaces wrong principal component analysis#1567
Convex and concave surfaces wrong principal component analysis#1567jspricke merged 1 commit intoPointCloudLibrary:masterfrom
Conversation
|
There is a big machine precision problem with the way with by using |
|
And it gets worse when looking for eigen values: should be: and it's particularly bad when comparing the smallest to the biggest eigen value as the ratio goes from |
|
Thanks for this. Now I'm just wondering if the best solution is to adopt your changes or have a go at |
|
So at first sight it looks like a precision issue in Based on this comment what you proposed makes sense. Any particular reason for having removed the aligned allocation? I ask although being aware that Overall this LGTM 👍 Just do a double check on the spacings of the parenthesis. I've seen a bunch of them missing. |
|
@SergioRAgostinho No reason for the aligned, I'll add it back and fix the code style issues during this week. |
|
I would prefer to adopt something like I described over here. Although we might still need to reach a consensus on what's the best way to do this and how to make the user aware and have control over it. |
|
@SergioRAgostinho rebased, added back the aligns and fixed the spaces. |
…ed first Eigen values can be negative, better to check for 0 first
|
Guys, any last comments on this with respect to what was discussed in #1407? If not, it's good to merge. |
Original PR #1565. I think this fix is a bit more important than the other one and should be included for the 1.8