CortidQCT
1.2.2.52
|
Namespace containing color to label maps. More...
Classes | |
struct | CustomMap |
A customaizable color to label map. More... | |
Functions | |
template<class Label , class Scalar > | |
Label | defaultMap (Scalar red, Scalar green, Scalar blue) |
Default color to label map. More... | |
Namespace containing color to label maps.
|
inline |
Default color to label map.
Converts RGB color to labels by treating each color value as 8 bit components of a multi byte integerm where the red components represents the least significant byte and the blue component the most significant byte.
Label | Label type, must be construtible from 64 bit unsigned integer |
Scalar | Scalar type of color components |
red | red component |
green | green component |
blue | blue component |