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

#include <mitkVnlMatrixFromCvMat.h>

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

Public Member Functions

 VnlMatrixFromCvMat (const cv::Mat *_CvMat, vnl_matrix< T > *_VnlMatrix)
 
template<typename TCvMat , typename TVnlMat >
void ToVnlMatrix (vnl_matrix< TVnlMat > &vnlMat, const cv::Mat &mat)
 
void Update () override
 

Detailed Description

template<class T>
class mitk::VnlMatrixFromCvMat< T >

create a vnl_matrix from a cv mat

Definition at line 31 of file mitkVnlMatrixFromCvMat.h.

Constructor & Destructor Documentation

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

init default values and save references

Definition at line 38 of file mitkVnlMatrixFromCvMat.h.

Member Function Documentation

template<class T>
template<typename TCvMat , typename TVnlMat >
void mitk::VnlMatrixFromCvMat< T >::ToVnlMatrix ( vnl_matrix< TVnlMat > &  vnlMat,
const cv::Mat &  mat 
)
inline

cv mat to vnl matrix with known cv type

Definition at line 51 of file mitkVnlMatrixFromCvMat.h.

Referenced by mitk::VnlMatrixFromCvMat< T >::Update().

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

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