| 
    MeVisLab Toolbox Reference
    
   | 
 
Go to the source code of this file.
Namespaces | |
| namespace | ml | 
| Main documentation file for ML users and developers.  | |
Enumerations | |
| enum | ml::LUTVisualType {  ml::LUT_L = 0 , ml::LUT_LA , ml::LUT_RGB , ml::LUT_RGBA , ml::LUT_BGR , ml::LUT_ABGR , ml::LUT_NUM_VISUAL_TYPE_LAYOUTS , ml::LUT_NUM_VISUAL_TYPES = LUT_RGBA+1 }  | 
| LUT visual type constants to identify the visual interpretation of the individual LUT channels.  More... | |
| enum | ml::LUTDimensionality { ml::LUT_1D = 1 , ml::LUT_2D , ml::LUT_3D } | 
| LUT dimensionality.  More... | |
Functions | |
| MLLUT_EXPORT int | ml::LUTNumberOfChannels (LUTVisualType visualType) | 
| Get number of channels for given LUTVisualType, or 0 if unknown.   | |
| MLLUT_EXPORT LUTVisualType | ml::LUTReducedVisualType (LUTVisualType visualType) | 
| Get reduced visual type, i.e. ignoring layout variants.   | |
| MLLUT_EXPORT int | ml::LUTAlphaChannelIndex (LUTVisualType visualType) | 
| Get index of alpha channel, or -1 if none.   | |
| MLLUT_EXPORT double | ml::LUTConvertRGBtoL (double r, double g, double b) | 
| Convert RGB to luminance.   | |
| template<typename T > | |
| T | ml::LUTCastFromDouble (double value) | 
| Helper template function to cast from double to type T, performing a proper round operation in case of integer types.   | |
Variables | |
| MLLUT_EXPORT const char * | ml::LUTVisualTypeName [LUT_NUM_VISUAL_TYPE_LAYOUTS] | 
| Visual type name strings ("L", "LA", ...)   | |