MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitk::VnlMatrixFromCvMat< T > Class Template Reference

#include <mitkVnlMatrixFromCvMat.h>

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

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
 
- Public Member Functions inherited from mitk::Algorithm

Detailed Description

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

create a vnl_matrix from a cv mat

Definition at line 27 of file mitkVnlMatrixFromCvMat.h.

Constructor & Destructor Documentation

◆ VnlMatrixFromCvMat()

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 34 of file mitkVnlMatrixFromCvMat.h.

Member Function Documentation

◆ ToVnlMatrix()

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 47 of file mitkVnlMatrixFromCvMat.h.

◆ Update()

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

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 58 of file mitkVnlMatrixFromCvMat.h.


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