evo icon indicating copy to clipboard operation
evo copied to clipboard

Less than m non-colinear points

Open Davidyao99 opened this issue 1 year ago • 1 comments

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?

Davidyao99 avatar Apr 27 '24 18:04 Davidyao99

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.

MichaelGrupp avatar Apr 29 '24 19:04 MichaelGrupp