![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
#include <mdsPixelTraits.h>
Public Types | |
| enum | { isFilterable = SIsFilterable<T>::RESULT } |
| Simple pixel type checks. More... | |
| enum | { isPointer = SIsPointer<T>::RESULT } |
| Simple type checks. More... | |
| enum | { isReference = SIsReference<T>::RESULT } |
| enum | { isMemberPointer = SIsMemberPointer<T>::RESULT } |
| enum | { isUnsignedInt = SIsUnsignedInt<T>::RESULT } |
| enum | { isSignedInt = SIsSignedInt<T>::RESULT } |
| enum | { isFloat = SIsFloat<T>::RESULT } |
| enum | { isConst = SIsConst<T>::RESULT } |
| enum | { isIntegral = isUnsignedInt || isSignedInt || SIsOtherInt<T>::RESULT } |
| enum | { isFundamental = isIntegral || isFloat || SIsOtherStd<T>::RESULT } |
| typedef SIsFilterable< T > ::tFilterResponse | tFilterResponse |
| Filter response type. | |
| typedef SIsConst< T >::tNonConst | tNonConst |
| Non-const type if T is constant. | |
| typedef SSelect< isFundamental||isPointer||isMemberPointer, T, tReferred & >::RESULT | tParameter |
| Type used to pass type T as a function/method parameter. | |
| typedef SIsPointer< T >::tPointee | tPointee |
| Pointee type if T is pointer. | |
| typedef SIsReference< T > ::tReferred | tReferred |
| Referred type if T is reference. | |
Public Member Functions | |
| template<> | |
| tPixel8 | getGray () |
| template<> | |
| tPixel16 | getGray () |
| template<> | |
| tPixel32 | getGray () |
| template<> | |
| tFloatPixel | getGray () |
| template<> | |
| tDensityPixel | getGray () |
| template<> | |
| tRGBPixel | getGray () |
| template<> | |
| tComplexPixel | getGray () |
| template<> | |
| mds::sys::tInt8 | getMax () |
| template<> | |
| mds::sys::tUInt8 | getMax () |
| template<> | |
| mds::sys::tInt16 | getMax () |
| template<> | |
| mds::sys::tUInt16 | getMax () |
| template<> | |
| mds::sys::tInt32 | getMax () |
| template<> | |
| mds::sys::tUInt32 | getMax () |
| template<> | |
| mds::img::tRGBPixel | getMax () |
| template<> | |
| mds::img::tRGBPixel | getMax () |
| template<> | |
| mds::sys::tInt8 | getMin () |
| template<> | |
| mds::sys::tUInt8 | getMin () |
| template<> | |
| mds::sys::tInt16 | getMin () |
| template<> | |
| mds::sys::tUInt16 | getMin () |
| template<> | |
| mds::sys::tInt32 | getMin () |
| template<> | |
| mds::sys::tUInt32 | getMin () |
| template<> | |
| mds::img::tRGBPixel | getMin () |
| template<> | |
| mds::img::tRGBPixel | getMin () |
| template<> | |
| tPixel8 | getPixelMax () |
| template<> | |
| tPixel16 | getPixelMax () |
| template<> | |
| tPixel32 | getPixelMax () |
| template<> | |
| tFloatPixel | getPixelMax () |
| template<> | |
| tDensityPixel | getPixelMax () |
| template<> | |
| tRGBPixel | getPixelMax () |
| template<> | |
| tComplexPixel | getPixelMax () |
| template<> | |
| tPixel8 | getPixelMin () |
| template<> | |
| tPixel16 | getPixelMin () |
| template<> | |
| tPixel32 | getPixelMin () |
| template<> | |
| tFloatPixel | getPixelMin () |
| template<> | |
| tDensityPixel | getPixelMin () |
| template<> | |
| tRGBPixel | getPixelMin () |
| template<> | |
| tComplexPixel | getPixelMin () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| const char * | getPixelName () |
| template<> | |
| mds::sys::tInt8 | getZero () |
| template<> | |
| mds::sys::tUInt8 | getZero () |
| template<> | |
| mds::sys::tInt16 | getZero () |
| template<> | |
| mds::sys::tUInt16 | getZero () |
| template<> | |
| mds::sys::tInt32 | getZero () |
| template<> | |
| mds::sys::tUInt32 | getZero () |
| template<> | |
| mds::img::tRGBPixel | getZero () |
| template<> | |
| mds::img::tRGBPixel | getZero () |
Static Public Member Functions | |
| static T | getGray () |
| Returns value corresponding to the gray color. | |
| static T | getMax () |
| Maximal value of the type T. | |
| static T | getMin () |
| Minimal value of the type T. | |
| static T | getPixelMax () |
| Maximal pixel value. | |
| static T | getPixelMin () |
| Minimal pixel value. | |
| static const char * | getPixelName () |
| Returns pixel name. | |
| static tSize | getSize () |
| Returns size of the type T in bytes. | |
| static T | getZero () |
| Zero defined for the type T. | |
| typedef SIsFilterable<T>::tFilterResponse mds::img::CPixelTraits< T >::tFilterResponse |
Filter response type.
typedef SIsConst<T>::tNonConst mds::CTypeTraits< T >::tNonConst [inherited] |
Non-const type if T is constant.
typedef SSelect<isFundamental || isPointer || isMemberPointer, T, tReferred&>::RESULT mds::CTypeTraits< T >::tParameter [inherited] |
Type used to pass type T as a function/method parameter.
typedef SIsPointer<T>::tPointee mds::CTypeTraits< T >::tPointee [inherited] |
Pointee type if T is pointer.
typedef SIsReference<T>::tReferred mds::CTypeTraits< T >::tReferred [inherited] |
Referred type if T is reference.
| tPixel8 mds::img::CPixelTraits< tPixel8 >::getGray | ( | ) |
| tPixel16 mds::img::CPixelTraits< tPixel16 >::getGray | ( | ) |
| static T mds::img::CPixelTraits< T >::getGray | ( | ) | [static] |
Returns value corresponding to the gray color.
| tPixel32 mds::img::CPixelTraits< tPixel32 >::getGray | ( | ) |
| tFloatPixel mds::img::CPixelTraits< tFloatPixel >::getGray | ( | ) |
| tDensityPixel mds::img::CPixelTraits< tDensityPixel >::getGray | ( | ) |
| tRGBPixel mds::img::CPixelTraits< tRGBPixel >::getGray | ( | ) |
| tComplexPixel mds::img::CPixelTraits< tComplexPixel >::getGray | ( | ) |
| mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getMax | ( | ) | [inherited] |
| mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getMax | ( | ) | [inherited] |
| mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getMax | ( | ) | [inherited] |
| mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getMax | ( | ) | [inherited] |
| mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getMax | ( | ) | [inherited] |
| mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getMax | ( | ) | [inherited] |
| static T mds::CTypeTraits< T >::getMax | ( | ) | [static, inherited] |
Maximal value of the type T.
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMax | ( | ) | [inherited] |
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMax | ( | ) | [inherited] |
| mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getMin | ( | ) | [inherited] |
| mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getMin | ( | ) | [inherited] |
| mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getMin | ( | ) | [inherited] |
| mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getMin | ( | ) | [inherited] |
| mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getMin | ( | ) | [inherited] |
| mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getMin | ( | ) | [inherited] |
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMin | ( | ) | [inherited] |
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMin | ( | ) | [inherited] |
| static T mds::CTypeTraits< T >::getMin | ( | ) | [static, inherited] |
Minimal value of the type T.
| tPixel8 mds::img::CPixelTraits< tPixel8 >::getPixelMax | ( | ) |
| tPixel16 mds::img::CPixelTraits< tPixel16 >::getPixelMax | ( | ) |
| static T mds::img::CPixelTraits< T >::getPixelMax | ( | ) | [static] |
Maximal pixel value.
| tPixel32 mds::img::CPixelTraits< tPixel32 >::getPixelMax | ( | ) |
| tFloatPixel mds::img::CPixelTraits< tFloatPixel >::getPixelMax | ( | ) |
| tDensityPixel mds::img::CPixelTraits< tDensityPixel >::getPixelMax | ( | ) |
| tRGBPixel mds::img::CPixelTraits< tRGBPixel >::getPixelMax | ( | ) |
| tComplexPixel mds::img::CPixelTraits< tComplexPixel >::getPixelMax | ( | ) |
| tPixel8 mds::img::CPixelTraits< tPixel8 >::getPixelMin | ( | ) |
| tPixel16 mds::img::CPixelTraits< tPixel16 >::getPixelMin | ( | ) |
| static T mds::img::CPixelTraits< T >::getPixelMin | ( | ) | [static] |
Minimal pixel value.
| tPixel32 mds::img::CPixelTraits< tPixel32 >::getPixelMin | ( | ) |
| tFloatPixel mds::img::CPixelTraits< tFloatPixel >::getPixelMin | ( | ) |
| tDensityPixel mds::img::CPixelTraits< tDensityPixel >::getPixelMin | ( | ) |
| tRGBPixel mds::img::CPixelTraits< tRGBPixel >::getPixelMin | ( | ) |
| tComplexPixel mds::img::CPixelTraits< tComplexPixel >::getPixelMin | ( | ) |
| const char * mds::img::CPixelTraits< tPixel8 >::getPixelName | ( | ) |
| const char * mds::img::CPixelTraits< tPixel16 >::getPixelName | ( | ) |
| static const char* mds::img::CPixelTraits< T >::getPixelName | ( | ) | [static] |
Returns pixel name.
| const char * mds::img::CPixelTraits< tPixel32 >::getPixelName | ( | ) |
| const char * mds::img::CPixelTraits< tFloatPixel >::getPixelName | ( | ) |
| const char * mds::img::CPixelTraits< tDensityPixel >::getPixelName | ( | ) |
| const char * mds::img::CPixelTraits< tRGBPixel >::getPixelName | ( | ) |
| const char * mds::img::CPixelTraits< tComplexPixel >::getPixelName | ( | ) |
| static tSize mds::CTypeTraits< T >::getSize | ( | ) | [static, inherited] |
Returns size of the type T in bytes.
| mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getZero | ( | ) | [inherited] |
| mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getZero | ( | ) | [inherited] |
| mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getZero | ( | ) | [inherited] |
| mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getZero | ( | ) | [inherited] |
| mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getZero | ( | ) | [inherited] |
| mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getZero | ( | ) | [inherited] |
| static T mds::CTypeTraits< T >::getZero | ( | ) | [static, inherited] |
Zero defined for the type T.
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getZero | ( | ) | [inherited] |
| mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getZero | ( | ) | [inherited] |
1.7.6.1