Medical Imaging Interaction Toolkit  2022.10.99-eeb2f471
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 

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)

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 

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 ( )

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: