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

Improve symmetric ICP #126

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Improve symmetric ICP #126

merged 1 commit into from
Dec 10, 2023

Conversation

eclipse0922
Copy link
Contributor

@eclipse0922 eclipse0922 commented Dec 10, 2023

I found some bugs after the initial implementation was merged.

This PR addresses a mistake in the initial implementation of the Symmetric ICP algorithm.
I did too much simplification in previous implementations.

Key Changes

  1. ComputeErrorUsingNormals Function
    Updated to calculate errors using the sum of normals from both the source and target, improving the balance and accuracy in line with Symmetric ICP.

  2. ComputeTransformation Method:
    Extracts and squares the rotation matrix from the transformation matrix, following the Symmetric ICP approach.
    Ensures higher accuracy by converting the rotation matrix to double precision for Rodrigues' formula-based calculations.
    Constructs the final transformation matrix using the squared rotation matrix and original translation.

and additionally
Renaming and Normal check condition added

- more accurate computation
- normal check
- renaming
Copy link
Owner

@neka-nat neka-nat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@neka-nat neka-nat merged commit 0eb7d8b into neka-nat:develop Dec 10, 2023
@eclipse0922 eclipse0922 deleted the symmetric_fix branch December 10, 2023 11: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.

2 participants