CortidQCT  1.2.2.52
ColorToLabelMapIO.h
Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "ColorToLabelMap.h"
16 
17 namespace YAML {
18 
19 class Node;
20 
21 } // namespace YAML
22 
23 namespace CortidQCT {
24 
25 namespace ColorToLabelMaps {
26 namespace IO {
27 
44 CustomMap loadCustomMapFromYAMLNode(YAML::Node const &node);
45 
56 ColorRGB loadColorRGBFromYAMLNode(YAML::Node const &node);
57 
58 } // namespace IO
59 
60 } // namespace ColorToLabelMaps
61 } // namespace CortidQCT
Name namespace for CortidQCT library.
Definition: CortidQCT.h:23
This finle contains definitions for color to index map types.
ColorRGB loadColorRGBFromYAMLNode(YAML::Node const &node)
Reads a ColorRGB from a YAML node.
Definition: ColorToLabelMapIO.cpp:81
CustomMap loadCustomMapFromYAMLNode(YAML::Node const &node)
Reads a custom color to label map from the given yaml node.
Definition: ColorToLabelMapIO.cpp:39
std::array< std::uint8_t, 3 > ColorRGB
24-bit RGB color type
Definition: ColorToLabelMap.h:23
Definition: ColorToLabelMapIO.h:17