ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
Functions | |
template<typename TValueType , unsigned int NRows, unsigned int NCols> | |
const TValueType * | GetPointerToMatrixData (const vnl_matrix_fixed< TValueType, NRows, NCols > &inputMatrix) |
template<typename TValueType > | |
const TValueType * | GetPointerToMatrixData (const vnl_matrix< TValueType > &inputMatrix) |
template<typename TValueType , unsigned int NRows, unsigned int NCols> | |
const TValueType * | GetPointerToMatrixData (const itk::Matrix< TValueType, NRows, NCols > &inputMatrix) |
template<typename TArray > | |
std::vector< int > | sortEigenValuesByMagnitude (TArray &eigenValues, const unsigned int numberOfElements) |
template<typename QMatrix > | |
void | permuteColumnsWithSortIndices (QMatrix &eigenVectors, const std::vector< int > &indicesSortPermutations) |
const TValueType* itk::detail::GetPointerToMatrixData | ( | const vnl_matrix_fixed< TValueType, NRows, NCols > & | inputMatrix | ) |
Definition at line 37 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::SymmetricEigenAnalysis< TInputImage::PixelType, TOutputImage::PixelType >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl(), itk::SymmetricEigenAnalysisFixedDimension< TMatrixDimension, TInput, TOutput >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl(), itk::SymmetricEigenAnalysis< TInputImage::PixelType, TOutputImage::PixelType >::ComputeEigenValuesWithEigenLibraryImpl(), and itk::SymmetricEigenAnalysisFixedDimension< TMatrixDimension, TInput, TOutput >::ComputeEigenValuesWithEigenLibraryImpl().
const TValueType* itk::detail::GetPointerToMatrixData | ( | const vnl_matrix< TValueType > & | inputMatrix | ) |
Definition at line 42 of file itkSymmetricEigenAnalysis.h.
const TValueType* itk::detail::GetPointerToMatrixData | ( | const itk::Matrix< TValueType, NRows, NCols > & | inputMatrix | ) |
Definition at line 48 of file itkSymmetricEigenAnalysis.h.
References itk::Matrix< T, NRows, NColumns >::GetVnlMatrix().
void itk::detail::permuteColumnsWithSortIndices | ( | QMatrix & | eigenVectors, |
const std::vector< int > & | indicesSortPermutations | ||
) |
Permute a eigenVectors matrix according to the permutation indices computed from the output of a sort function like
QMatrix | a Eigen3 matrix |
eigenVectors | stored in columns |
indicesSortPermutations | container with the permutations from the output of a sort function. |
Definition at line 98 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::SymmetricEigenAnalysis< TInputImage::PixelType, TOutputImage::PixelType >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl(), and itk::SymmetricEigenAnalysisFixedDimension< TMatrixDimension, TInput, TOutput >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl().
std::vector<int> itk::detail::sortEigenValuesByMagnitude | ( | TArray & | eigenValues, |
const unsigned int | numberOfElements | ||
) |
Sort input to be ordered by magnitude, and returns container with the permutations required for the sorting.
For example, if input eigenValues = {10, 0, 40}, the output would be: {2,0,1} and the eigenValues would be modified in-place: {40, 10, 0}.
The permutations indices is used to order the matrix of eigenVectors.
TArray | array type with operator [] |
eigenValues | input array, requires operator [] |
numberOfElements | size of array |
Definition at line 69 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::SymmetricEigenAnalysis< TInputImage::PixelType, TOutputImage::PixelType >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl(), itk::SymmetricEigenAnalysisFixedDimension< TMatrixDimension, TInput, TOutput >::ComputeEigenValuesAndVectorsWithEigenLibraryImpl(), itk::SymmetricEigenAnalysis< TInputImage::PixelType, TOutputImage::PixelType >::ComputeEigenValuesWithEigenLibraryImpl(), and itk::SymmetricEigenAnalysisFixedDimension< TMatrixDimension, TInput, TOutput >::ComputeEigenValuesWithEigenLibraryImpl().