CortidQCT  1.2.2.52
Classes | Namespaces | Typedefs | Functions
ColorToLabelMap.h File Reference

This finle contains definitions for color to index map types. More...

#include <array>
#include <cassert>
#include <functional>
#include <unordered_map>
Include dependency graph for ColorToLabelMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::hash< CortidQCT::ColorRGB >
 
struct  CortidQCT::ColorToLabelMaps::CustomMap
 A customaizable color to label map. More...
 

Namespaces

 CortidQCT
 Name namespace for CortidQCT library.
 
 CortidQCT::ColorToLabelMaps
 Namespace containing color to label maps.
 

Typedefs

using CortidQCT::ColorRGB = std::array< std::uint8_t, 3 >
 24-bit RGB color type
 
template<class Label , class Scalar >
using CortidQCT::ColorToLabelMap = std::function< Label(Scalar, Scalar, Scalar)>
 Color to label map. More...
 

Functions

template<class Label , class Scalar >
Label CortidQCT::ColorToLabelMaps::defaultMap (Scalar red, Scalar green, Scalar blue)
 Default color to label map. More...
 

Detailed Description

This finle contains definitions for color to index map types.

Author
Stefan Reinhold