80inline std::ostream& operator<<(std::ostream& os,
const Channel channel)
93 if (channel ==
"Intensity")
101 if (channel ==
"Green")
105 if (channel ==
"Blue")
109 if (channel ==
"Alpha")
125 if (channel ==
"Bayer")
129 if (channel ==
"ChromaU")
133 if (channel ==
"ChromaV")
Thrown when a function receives an invalid parameter.
Definition peak_common_exceptions.hpp:53
Channel
Represents the various data channels in image or spatial data formats.
Definition peak_common_channel.hpp:28
@ X
Definition peak_common_channel.hpp:34
@ Z
Definition peak_common_channel.hpp:36
@ ChromaV
Definition peak_common_channel.hpp:39
@ Y
Definition peak_common_channel.hpp:35
@ Alpha
Definition peak_common_channel.hpp:33
@ Intensity
Definition peak_common_channel.hpp:29
@ Blue
Definition peak_common_channel.hpp:32
@ ChromaU
Definition peak_common_channel.hpp:38
@ Green
Definition peak_common_channel.hpp:31
@ Bayer
Definition peak_common_channel.hpp:37
@ Red
Definition peak_common_channel.hpp:30
Channel ToChannel(const std::string &channel)
Definition peak_common_channel.hpp:91
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:17
std::string ToString(Channel channel)
Converts a Channel enum value to its string representation.
Definition peak_common_channel.hpp:46