Skip to content
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 sigmaz #156

Open
wants to merge 8 commits into
base: development
Choose a base branch
from
Open

Check sigmaz #156

wants to merge 8 commits into from

Conversation

fnattino
Copy link
Collaborator

@fnattino fnattino commented Feb 4, 2020

Looked at issue #153 : the calculation of sigma_z has been vectorized, together with the extraction of xyz coordinates from the point-cloud for multiple neighbourhoods. It gives a speedup when the number of neighbourhoods is large (2X for ~150000), it should be largest for neighbourhoods with similar number of points.

No need to recompute them from the plane parameters and the input points.
fit_plane now returns plane function and sum of residuals. Test on value of the residuals introduced.
Suppress warning due to change in behavior from np 1.14.0 with rcond.
For singula matrices, the sum of residuals should be zero, not nan.
Use SVD decomposition explicitely, since numpy lstsq does not work on stack of matrices.
new vectorized implementation compared agains previous serial version.
@fnattino fnattino requested a review from cwmeijer February 4, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant