MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Static Public Member Functions
mds::img::CvTraits< T > Class Template Reference

#include <mdsCvTraits.h>

List of all members.

Public Member Functions

template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int convWidthStep (int Bytes)
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getChannels ()
template<>
int getDepth ()
template<>
int getDepth ()
template<>
int getDepth ()
template<>
int getDepth ()
template<>
int getDepth ()
template<>
int getDepth ()
template<>
int getDepth ()

Static Public Member Functions

static int convWidthStep (int Bytes)
 Returns offset (in pixels) betwen two neighbouring pixels in image column.
static int getChannels ()
 Returns number of channels for a corresponding OpenCV image.
static int getDepth ()
 Returns depth for a corresponding OpenCV image.
static int getPixelSize ()
 Returns pixel size in bytes.

template<typename T>
class mds::img::CvTraits< T >


Member Function Documentation

template<>
int mds::img::CvTraits< tPixel8 >::convWidthStep ( int  Bytes)
template<typename T >
static int mds::img::CvTraits< T >::convWidthStep ( int  Bytes) [static]

Returns offset (in pixels) betwen two neighbouring pixels in image column.

template<>
int mds::img::CvTraits< tPixel16 >::convWidthStep ( int  Bytes)
template<>
int mds::img::CvTraits< tPixel32 >::convWidthStep ( int  Bytes)
template<>
int mds::img::CvTraits< tFloatPixel >::convWidthStep ( int  Bytes)
template<>
int mds::img::CvTraits< tRGBPixel >::convWidthStep ( int  Bytes)
template<typename T >
static int mds::img::CvTraits< T >::getChannels ( ) [static]

Returns number of channels for a corresponding OpenCV image.

template<>
int mds::img::CvTraits< tPixel8 >::getDepth ( )
template<typename T >
static int mds::img::CvTraits< T >::getDepth ( ) [static]

Returns depth for a corresponding OpenCV image.

template<typename T >
static int mds::img::CvTraits< T >::getPixelSize ( ) [static]

Returns pixel size in bytes.


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