I agree. :)

From: Federico Milano [mailto:fmil...@gmail.com]
Sent: Tuesday, October 1, 2019 6:43 PM
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Invalid rotation matrix warning

Hi. I'm calling SliceNavigationController::ReorientSlices with the following 2 
vectors:
[0.112397, 0.435929, -0.892935]

and

[-0.865338 -0.398769 -0.30360146]

Their dot product is 0.0, so they are orthogonal, but the following message is 
printed inside the ReorientSlices call:

WARNING: Invalid rotation matrix! R*R^T != ID. Max value: 1.08593e-08 (should 
be 0)

I have been looking for the mitk::eps constant, and I have found that it is 
around 1e-14 (vnl eps is around 1e-16). In my case the error is 1e-08...maybe 
1e-14 is too much to validate rotation matrices? What do you think?

Thanks

Federico
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to