Medical Imaging Interaction Toolkit  2024.06.99-fe296c79
Medical Imaging Interaction Toolkit
mitkMatrix.h File Reference
#include <itkMatrix.h>
#include "mitkArray.h"
#include "mitkEqual.h"
#include "mitkNumericConstants.h"

Go to the source code of this file.

Classes

class  mitk::Matrix< T, NRows, NColumns >
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Typedefs

typedef Matrix< ScalarType, 2, 2 > mitk::Matrix2D
 
typedef Matrix< ScalarType, 3, 3 > mitk::Matrix3D
 
typedef Matrix< ScalarType, 4, 4 > mitk::Matrix4D
 

Functions

template<typename TCoordRep , unsigned int NRows, unsigned int NCols>
bool mitk::MatrixEqualRMS (const vnl_matrix_fixed< TCoordRep, NRows, NCols > &matrix1, const vnl_matrix_fixed< TCoordRep, NRows, NCols > &matrix2, mitk::ScalarType epsilon=mitk::eps)
 Check for matrix equality with a user defined accuracy. As an equality metric the root mean squared error (RMS) of all elements is calculated. More...
 
template<typename TCoordRep , unsigned int NRows, unsigned int NCols>
bool mitk::MatrixEqualRMS (const itk::Matrix< TCoordRep, NRows, NCols > &matrix1, const itk::Matrix< TCoordRep, NRows, NCols > &matrix2, mitk::ScalarType epsilon=mitk::eps)
 Check for matrix equality with a user defined accuracy. As an equality metric the root mean squared error (RMS) of all elements is calculated. More...
 
template<typename TCoordRep , unsigned int NRows, unsigned int NCols>
bool mitk::MatrixEqualElementWise (const vnl_matrix_fixed< TCoordRep, NRows, NCols > &matrix1, const vnl_matrix_fixed< TCoordRep, NRows, NCols > &matrix2, mitk::ScalarType epsilon=mitk::eps)
 Check for element-wise matrix equality with a user defined accuracy. More...
 
template<typename TCoordRep , unsigned int NRows, unsigned int NCols>
bool mitk::MatrixEqualElementWise (const itk::Matrix< TCoordRep, NRows, NCols > &matrix1, const itk::Matrix< TCoordRep, NRows, NCols > &matrix2, mitk::ScalarType epsilon=mitk::eps)
 Check for element-wise matrix equality with a user defined accuracy. More...