#include <mitkStaticIGTHelperFunctions.h>
|
static double | GetAngleBetweenTwoQuaterions (mitk::Quaternion a, mitk::Quaternion b, itk::Vector< double, 3 > rotationVector) |
|
static double | GetAngleBetweenTwoQuaterions (mitk::Quaternion a, mitk::Quaternion b) |
|
static itk::Matrix< double, 3, 3 > | ConvertEulerAnglesToRotationMatrix (double alpha, double beta, double gamma) |
|
static double | ComputeFRE (mitk::PointSet::Pointer imageFiducials, mitk::PointSet::Pointer realWorldFiducials, vtkSmartPointer< vtkLandmarkTransform > transform=nullptr) |
| Computes the fiducial registration error out of two sets of fiducials. The two sets must have the same size and the points must correspond to each other. More...
|
|
◆ ComputeFRE()
Computes the fiducial registration error out of two sets of fiducials. The two sets must have the same size and the points must correspond to each other.
- Parameters
-
imageFiducials | |
realWorldFiducials | |
transform | This transform is applied to the image fiducials before the FRE calculation if it is given. |
- Returns
- Returns the FRE. Returns -1 if there was an error.
◆ ConvertEulerAnglesToRotationMatrix()
static itk::Matrix<double,3,3> mitk::StaticIGTHelperFunctions::ConvertEulerAnglesToRotationMatrix |
( |
double |
alpha, |
|
|
double |
beta, |
|
|
double |
gamma |
|
) |
| |
|
static |
Converts euler angles (in degrees) to a rotation matrix.
◆ GetAngleBetweenTwoQuaterions() [1/2]
Computes the angle in the plane perpendicular to the rotation axis of the two quaterions. Therefore, a vector is rotated with the difference of both rotations and the angle is computed. In some cases you might want to define this vector e.g., if working with 5D tools. For NDI Aurora 5D tools you need to defined this vector along the Z-axis.
- Returns
- Returns the angle in degrees.
◆ GetAngleBetweenTwoQuaterions() [2/2]
The documentation for this class was generated from the following file: