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

Template of a class for basic pixel conversions. More...

#include <mdsPixelConversions.h>

List of all members.

Public Types

typedef T tPixel
 Input pixel type.
typedef R tResult
 Output pixel type.

Public Member Functions

template<>
tPixel8 convert (const tRGBPixel &Value)
template<>
tRGBPixel convert (const tPixel8 &Value)
template<>
tFloatPixel convert (const tComplexPixel &Value)
template<>
tComplexPixel convert (const tFloatPixel &Value)

Static Public Member Functions

static R convert (const T &Value)
 Method for pixel value conversion.

Detailed Description

template<typename T, typename R>
class mds::img::CPixelConversion< T, R >

Template of a class for basic pixel conversions.


Member Typedef Documentation

template<typename T , typename R >
typedef T mds::img::CPixelConversion< T, R >::tPixel

Input pixel type.

template<typename T , typename R >
typedef R mds::img::CPixelConversion< T, R >::tResult

Output pixel type.


Member Function Documentation

template<typename T , typename R >
tComplexPixel CPixelConversion::convert ( const T &  Value) [static]

Method for pixel value conversion.

template<>
tComplexPixel CPixelConversion::convert ( const tRGBPixel Value)
template<>
tRGBPixel CPixelConversion::convert ( const tComplexPixel Value)

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