Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::core::MatWrapper Struct Reference

Very simply wrapper about the opencv C++ matrix type cv::Mat. More...

#include <OpenCV.h>

Public Member Functions

 MatWrapper ()
 
 MatWrapper (depth d, const utils::Size &size, int channels)
 
 MatWrapper (const MatWrapper &other)
 
 MatWrapper (const ::cv::Mat &other)
 
void adapt (depth d, const utils::Size &size, int channels)
 
MatWrapperoperator= (const ::cv::Mat &other)
 
MatWrapperoperator= (const MatWrapper &other)
 
MatWrapperoperator= (const ImgBase &image)
 
void copyTo (ImgBase **dst)
 
void convertTo (ImgBase &dst)
 
utils::Size getSize () const
 
int getChannels () const
 
depth getDepth () const
 
template<class T >
ICLCore_API T * getInterleavedData ()
 
template<class T >
ICLCore_API const T * getInterleavedData () const
 

Public Attributes

::cv::Mat mat
 

Detailed Description

Very simply wrapper about the opencv C++ matrix type cv::Mat.

Constructor & Destructor Documentation

◆ MatWrapper() [1/4]

icl::core::MatWrapper::MatWrapper ( )

◆ MatWrapper() [2/4]

icl::core::MatWrapper::MatWrapper ( depth  d,
const utils::Size size,
int  channels 
)

◆ MatWrapper() [3/4]

icl::core::MatWrapper::MatWrapper ( const MatWrapper other)

◆ MatWrapper() [4/4]

icl::core::MatWrapper::MatWrapper ( const ::cv::Mat &  other)
explicit

Member Function Documentation

◆ adapt()

void icl::core::MatWrapper::adapt ( depth  d,
const utils::Size size,
int  channels 
)

◆ convertTo()

void icl::core::MatWrapper::convertTo ( ImgBase dst)

◆ copyTo()

void icl::core::MatWrapper::copyTo ( ImgBase **  dst)

◆ getChannels()

int icl::core::MatWrapper::getChannels ( ) const

◆ getDepth()

depth icl::core::MatWrapper::getDepth ( ) const

◆ getInterleavedData() [1/2]

template<class T >
ICLCore_API T* icl::core::MatWrapper::getInterleavedData ( )

◆ getInterleavedData() [2/2]

template<class T >
ICLCore_API const T* icl::core::MatWrapper::getInterleavedData ( ) const

◆ getSize()

utils::Size icl::core::MatWrapper::getSize ( ) const

◆ operator=() [1/3]

MatWrapper& icl::core::MatWrapper::operator= ( const ::cv::Mat &  other)

◆ operator=() [2/3]

MatWrapper& icl::core::MatWrapper::operator= ( const MatWrapper other)

◆ operator=() [3/3]

MatWrapper& icl::core::MatWrapper::operator= ( const ImgBase image)

Member Data Documentation

◆ mat

::cv::Mat icl::core::MatWrapper::mat

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