Repository navigation
ICP: point-to-plane metric, robust weighting and 2 fixes - #144
Merged
Merged
Conversation
2 of 6 tasks
dgirardeau
reviewed
Nov 28, 2026
dgirardeau
left a comment
Member
There was a problem hiding this comment.
Thanks for this interesting contribution. ICP is obviously something used a lot.
Contributor
Author
dgirardeau
approved these changes
Nov 28, 2026
Contributor
Author
|
Thanks for the approval! I don't have write access to CCCoreLib, so I can't merge it myself. Could you merge it? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three commits; the two fixes come first and don't depend on the feature.
Parameters::errorMetricandParameters::robustWeighting.POINT_TO_PLANE: linearized least squares on 6 degrees of freedom, solved with an eigen-decomposition so that undetermined motions (e.g. a plane sliding on itself) stay at zero. The transformation filters remove the corresponding degrees of freedom, so they're applied exactly. It needs the model normals (or a mesh: the triangle normals) and can't adjust the scale (ICP_ERROR_INVALID_INPUTotherwise).HUBER_WEIGHTING/CAUCHY_WEIGHTING/TUKEY_WEIGHTING: iteratively reweighted least squares, with the scale estimated as 1.4826 × the median absolute residual and the usual constants (1.345 / 2.3849 / 4.685).POINT_TO_POINT,NO_ROBUST_WEIGHTING) keep the previous behavior and results.Needed by the point-to-plane ICP PR in the CloudCompare repo: CloudCompare/CloudCompare#2556. Its submodule points to this branch, so this PR should be merged first.