Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::CvMatFromVnlMatrix< T > Class Template Reference

#include <mitkCvMatFromVnlMatrix.h>

Inheritance diagram for mitk::CvMatFromVnlMatrix< T >:
Collaboration diagram for mitk::CvMatFromVnlMatrix< T >:

Public Member Functions

 CvMatFromVnlMatrix (const vnl_matrix< T > *_VnlMatrix, cv::Mat *_CvMat)
 
void Update () override
 

Static Public Member Functions

template<class T_CvType , class T_VnlType >
static void Cast (const vnl_matrix< T_VnlType > &vnlMat, cv::Mat &cvMat)
 

Detailed Description

template<class T>
class mitk::CvMatFromVnlMatrix< T >

casts a random cv::Mat to a vnl Matrix if the columns of the first row are > 1 then the Matrix is filled with the values from this row otherwise the first elements of each row are used to fill the Matrix

Definition at line 35 of file mitkCvMatFromVnlMatrix.h.

Constructor & Destructor Documentation

template<class T>
mitk::CvMatFromVnlMatrix< T >::CvMatFromVnlMatrix ( const vnl_matrix< T > *  _VnlMatrix,
cv::Mat *  _CvMat 
)
inline

init default values and save references

Definition at line 42 of file mitkCvMatFromVnlMatrix.h.

Member Function Documentation

template<class T>
template<class T_CvType , class T_VnlType >
static void mitk::CvMatFromVnlMatrix< T >::Cast ( const vnl_matrix< T_VnlType > &  vnlMat,
cv::Mat &  cvMat 
)
inlinestatic

templated function for multiplexed cv::Mat

Definition at line 54 of file mitkCvMatFromVnlMatrix.h.

References endodebugvar.

template<class T>
void mitk::CvMatFromVnlMatrix< T >::Update ( )
inlineoverridevirtual

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 72 of file mitkCvMatFromVnlMatrix.h.

Referenced by mitk::Transform::GetCvMatrix(), and mitk::Transform::GetCvRotationMatrix().


The documentation for this class was generated from the following file: