Medical Imaging Interaction Toolkit  2022.04.99-b2814023
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 32 of file mitkCvMatFromVnlMatrix.h.

Constructor & Destructor Documentation

◆ CvMatFromVnlMatrix()

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 39 of file mitkCvMatFromVnlMatrix.h.

Member Function Documentation

◆ Cast()

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 51 of file mitkCvMatFromVnlMatrix.h.

References endodebugvar.

◆ Update()

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

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 69 of file mitkCvMatFromVnlMatrix.h.


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