Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::StringFromCvMat Class Reference

#include <mitkStringFromCvMat.h>

Inheritance diagram for mitk::StringFromCvMat:
Collaboration diagram for mitk::StringFromCvMat:

Public Member Functions

 StringFromCvMat (const cv::Mat *_CvMat, std::string *_String)
 
template<typename TCvMat , char T_Delim>
void ToString (std::string &string, const cv::Mat &mat)
 
void SetMatrix (const cv::Mat *_CvMat)
 
void Update () override
 

Detailed Description

create a vnl_matrix from a cv mat

Definition at line 31 of file mitkStringFromCvMat.h.

Constructor & Destructor Documentation

mitk::StringFromCvMat::StringFromCvMat ( const cv::Mat *  _CvMat,
std::string *  _String 
)
inline

init default values and save references

Definition at line 38 of file mitkStringFromCvMat.h.

Member Function Documentation

void mitk::StringFromCvMat::SetMatrix ( const cv::Mat *  _CvMat)
inline

Definition at line 67 of file mitkStringFromCvMat.h.

template<typename TCvMat , char T_Delim>
void mitk::StringFromCvMat::ToString ( std::string &  string,
const cv::Mat &  mat 
)
inline

cv mat to vnl matrix with known cv type

Definition at line 51 of file mitkStringFromCvMat.h.

Referenced by Update().

void mitk::StringFromCvMat::Update ( )
inlineoverridevirtual

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 76 of file mitkStringFromCvMat.h.

References endoAccessCvMat, and ToString().


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