85inline std::ostream& operator<<(std::ostream& os,
const Channel channel)
98 if (channel ==
"Intensity")
102 if (channel ==
"Red")
106 if (channel ==
"Green")
110 if (channel ==
"Blue")
114 if (channel ==
"Alpha")
130 if (channel ==
"Bayer")
134 if (channel ==
"ChromaU")
138 if (channel ==
"ChromaV")
Thrown when a function receives an invalid parameter.
Definition peak_common_exceptions.hpp:58
Channel
Represents the various data channels in image or spatial data formats.
Definition peak_common_channel.hpp:33
@ X
Definition peak_common_channel.hpp:39
@ Z
Definition peak_common_channel.hpp:41
@ ChromaV
Definition peak_common_channel.hpp:44
@ Y
Definition peak_common_channel.hpp:40
@ Alpha
Definition peak_common_channel.hpp:38
@ Intensity
Definition peak_common_channel.hpp:34
@ Blue
Definition peak_common_channel.hpp:37
@ ChromaU
Definition peak_common_channel.hpp:43
@ Green
Definition peak_common_channel.hpp:36
@ Bayer
Definition peak_common_channel.hpp:42
@ Red
Definition peak_common_channel.hpp:35
Channel ToChannel(const std::string &channel)
Definition peak_common_channel.hpp:96
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:22
std::string ToString(Channel channel)
Converts a Channel enum value to its string representation.
Definition peak_common_channel.hpp:51