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

Less than m non-colinear points #659

Closed
Davidyao99 opened this issue Apr 27, 2024 · 1 comment
Closed

Less than m non-colinear points #659

Davidyao99 opened this issue Apr 27, 2024 · 1 comment
Labels

Comments

@Davidyao99
Copy link

I realize that when my trajectory is a straight line in 3D, umeyama_alignment throws an exception. This results in None results for some trajectories in my evaluation.

Is there anyway to prevent this from happening? I made a toy example and realized that if I ignore the exception, the alignment returned appears to be right. However, I am not sure if this will lead to other issues. Any suggestions / guidance on how to resolve this?

@MichaelGrupp
Copy link
Owner

The solution is only unique if there are >=3 non-colinear points in 3D space. For full details, I would recommend to check the original paper of the algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants