CortidQCT  1.2.2.52
Functions
CortidQCT::LabelToColorMaps Namespace Reference

Namespace containing label to color maps. More...

Functions

template<class Scalar , class Label >
std::array< Scalar, 3 > defaultMap (Label label)
 Default label to color map. More...
 

Detailed Description

Namespace containing label to color maps.

Function Documentation

template<class Scalar , class Label >
std::array<Scalar, 3> CortidQCT::LabelToColorMaps::defaultMap ( Label  label)
inline

Default label to color map.

Inverse of ColorToLabelMaps::defaultMap().

Template Parameters
ScalarScalar type of color components
LabelLabel type, must be construtible from 64 bit unsigned integer
Parameters
labelthe label
Returns
RGB color