MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Template of a class for basic pixel conversions. More...
#include <mdsPixelConversions.h>
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. |
Template of a class for basic pixel conversions.
typedef T mds::img::CPixelConversion< T, R >::tPixel |
Input pixel type.
typedef R mds::img::CPixelConversion< T, R >::tResult |
Output pixel type.
tComplexPixel CPixelConversion::convert | ( | const T & | Value | ) | [static] |
Method for pixel value conversion.
tComplexPixel CPixelConversion::convert | ( | const tRGBPixel & | Value | ) |
tRGBPixel mds::img::CPixelConversion< tPixel8, tRGBPixel >::convert | ( | const tPixel8 & | Value | ) |
tRGBPixel CPixelConversion::convert | ( | const tComplexPixel & | Value | ) |
tComplexPixel mds::img::CPixelConversion< tFloatPixel, tComplexPixel >::convert | ( | const tFloatPixel & | Value | ) |