Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitk::CvMatFromVnlVector< T > Class Template Reference

#include <mitkCvMatFromVnlVector.h>

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

Public Member Functions

 CvMatFromVnlVector (const vnl_vector< T > *_VnlVector, cv::Mat *_CvMat)
 
void Update () override
 

Detailed Description

template<class T>
class mitk::CvMatFromVnlVector< T >

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

Definition at line 29 of file mitkCvMatFromVnlVector.h.

Constructor & Destructor Documentation

◆ CvMatFromVnlVector()

template<class T >
mitk::CvMatFromVnlVector< T >::CvMatFromVnlVector ( const vnl_vector< T > *  _VnlVector,
cv::Mat *  _CvMat 
)
inline

init default values and save references

Definition at line 36 of file mitkCvMatFromVnlVector.h.

Member Function Documentation

◆ Update()

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

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 47 of file mitkCvMatFromVnlVector.h.


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