Medical Imaging Interaction Toolkit  2023.12.00
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 28 of file mitkStringFromCvMat.h.

Constructor & Destructor Documentation

◆ StringFromCvMat()

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

init default values and save references

Definition at line 35 of file mitkStringFromCvMat.h.

Member Function Documentation

◆ SetMatrix()

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

Definition at line 64 of file mitkStringFromCvMat.h.

◆ ToString()

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 48 of file mitkStringFromCvMat.h.

Referenced by Update().

◆ Update()

void mitk::StringFromCvMat::Update ( )
inlineoverridevirtual

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 73 of file mitkStringFromCvMat.h.

References endoAccessCvMat, and ToString().


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