19template <peak::common::PixelFormat pixelFormat>
20struct PixelFormatTraits;
27 static constexpr std::array<Channel, 1>
Channels()
32 static constexpr auto Name()
49 static constexpr std::array<Channel, 1>
Channels()
54 static constexpr auto Name()
71 static constexpr std::array<Channel, 1>
Channels()
76 static constexpr auto Name()
93 static constexpr std::array<Channel, 1>
Channels()
98 static constexpr auto Name()
386 return "Confidence8";
408 return "Confidence16";
452 return "Coord3D_C16";
474 return "Coord3D_C32f";
496 return "Coord3D_ABC32f";
518 return "YUV420_8_YY_UV_SemiplanarIDS";
540 return "YUV420_8_YY_VU_SemiplanarIDS";
562 return "YUV422_8_UYVY";
1002 return "BayerRG12p";
1112 return "BayerRG10g40IDS";
1134 return "BayerGB10g40IDS";
1156 return "BayerGR10g40IDS";
1178 return "BayerBG10g40IDS";
1200 return "BayerRG12g24IDS";
1222 return "BayerGB12g24IDS";
1244 return "BayerGR12g24IDS";
1266 return "BayerBG12g24IDS";
1288 return "Mono10g40IDS";
1310 return "Mono12g24IDS";
1354 return "Mono32fIDS";
1420 return "Mono10g40IDS_I_A_B";
1442 return "BayerRG10g40IDS_I_A_B";
1464 return "BayerBG10g40IDS_I_A_B";
1486 return "BayerGR10g40IDS_I_A_B";
1508 return "BayerGB10g40IDS_I_A_B";
1530 return "Mono12g24IDS_I_A_B";
1552 return "BayerRG12g24IDS_I_A_B";
1574 return "BayerBG12g24IDS_I_A_B";
1596 return "BayerGR12g24IDS_I_A_B";
1618 return "BayerGB12g24IDS_I_A_B";
1640 return "Mono8_I_A_B";
1662 return "BayerRG8_I_A_B";
1684 return "BayerBG8_I_A_B";
1706 return "BayerGR8_I_A_B";
1728 return "BayerGB8_I_A_B";
1750 return "Mono10_I_A_B";
1772 return "BayerRG10_I_A_B";
1794 return "BayerBG10_I_A_B";
1816 return "BayerGR10_I_A_B";
1838 return "BayerGB10_I_A_B";
1860 return "Mono12_I_A_B";
1882 return "BayerRG12_I_A_B";
1904 return "BayerBG12_I_A_B";
1926 return "BayerGR12_I_A_B";
1948 return "BayerGB12_I_A_B";
1970 return "Mono10p_I_A_B";
1992 return "BayerRG10p_I_A_B";
2014 return "BayerBG10p_I_A_B";
2036 return "BayerGR10p_I_A_B";
2058 return "BayerGB10p_I_A_B";
2080 return "Mono12p_I_A_B";
2102 return "BayerRG12p_I_A_B";
2124 return "BayerBG12p_I_A_B";
2146 return "BayerGR12p_I_A_B";
2168 return "BayerGB12p_I_A_B";
2190 return "Mono8_I_AB_CD";
2212 return "Mono10_I_AB_CD";
2234 return "Mono12_I_AB_CD";
2256 return "Mono10p_I_AB_CD";
2278 return "Mono12p_I_AB_CD";
2300 return "Mono10g40IDS_I_AB_CD";
2322 return "Mono12g24IDS_I_AB_CD";
2366 return "BayerRG10_AB";
2388 return "BayerBG10_AB";
2410 return "BayerGR10_AB";
2432 return "BayerGB10_AB";
2476 return "BayerRG12_AB";
2498 return "BayerBG12_AB";
2520 return "BayerGR12_AB";
2542 return "BayerGB12_AB";
2586 return "BayerRG8_AB";
2608 return "BayerBG8_AB";
2630 return "BayerGR8_AB";
2652 return "BayerGB8_AB";
2674 return "Mono8_ABCD";
2696 return "Mono10_ABCD";
2718 return "Mono12_ABCD";
PixelFormat
Enum listing all supported pixel formats and their internal IDs.
Definition peak_common_pixel_format.hpp:59
@ 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
@ BayerGR12p_I_A_B
BayerGR 12-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:180
@ BayerGB12_AB
BayerGB 12-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:199
@ BayerRG12g24IDS
BayerRG 12-Bit grouped 24-bit (IDS)
Definition peak_common_pixel_format.hpp:136
@ BayerBG12p_I_A_B
BayerBG 12-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:179
@ Coord3D_C8
3D coordinate C 8-Bit format
Definition peak_common_pixel_format.hpp:85
@ Mono10g40IDS_I_A_B
Mono 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:147
@ RGBa10
RGBA 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:106
@ RGB8
RGB 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:96
@ Mono10_I_AB_CD
Mono 10-Bit pixel format pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:183
@ Mono12p
Mono 12-Bit packed format.
Definition peak_common_pixel_format.hpp:126
@ Mono12
Mono 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:78
@ BGR10p32
BGR 10-Bit packed 32-bit format.
Definition peak_common_pixel_format.hpp:129
@ BayerGR12_AB
BayerGR 12-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:198
@ BayerGB10
BayerGB 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:69
@ BayerBG8_I_A_B
BayerBG 8-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:159
@ BayerGB12p_I_A_B
BayerGB 12-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:181
@ BayerRG12p
BayerRG 12-Bit packed format.
Definition peak_common_pixel_format.hpp:123
@ BayerBG10
BayerBG 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:73
@ BayerGR10_I_A_B
BayerGR 10-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:165
@ RGBa8
RGBA 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:105
@ Mono10g40IDS
Mono 10-Bit grouped 40-bit (IDS)
Definition peak_common_pixel_format.hpp:141
@ BayerRG8_I_A_B
BayerRG 8-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:158
@ BayerGB10g40IDS_I_A_B
BayerGB 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:151
@ BayerGR10g40IDS
BayerGR 10-Bit grouped 40-bit (IDS)
Definition peak_common_pixel_format.hpp:133
@ BayerGR12_I_A_B
BayerGR 12-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:170
@ BayerBG8_AB
BayerBG 8-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:202
@ BayerBG10p
BayerBG 10-Bit packed format.
Definition peak_common_pixel_format.hpp:113
@ BayerRG10p_I_A_B
BayerRG 10-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:173
@ Mono10_ABCD
Mono 10-Bit pixel format Components A, B, C, D.
Definition peak_common_pixel_format.hpp:206
@ RGBa12
RGBA 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:107
@ BayerGB10p_I_A_B
BayerGB 10-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:176
@ BayerGB12p
BayerGB 12-Bit packed format.
Definition peak_common_pixel_format.hpp:117
@ BGRa12
BGRA 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:111
@ BayerGR12
BayerGR 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:62
@ Mono10p_I_A_B
Mono 10-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:172
@ BayerRG10p
BayerRG 10-Bit packed format.
Definition peak_common_pixel_format.hpp:122
@ BayerGR8_I_A_B
BayerGR 8-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:160
@ BayerGR10p_I_A_B
BayerGR 10-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:175
@ BayerRG12
BayerRG 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:66
@ BayerBG10g40IDS_I_A_B
BayerBG 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:149
@ BayerGR12p
BayerGR 12-Bit packed format.
Definition peak_common_pixel_format.hpp:120
@ BayerGR8
BayerGR 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:60
@ BayerBG12p
BayerBG 12-Bit packed format.
Definition peak_common_pixel_format.hpp:114
@ BayerBG8
BayerBG 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:72
@ BayerBG12_AB
BayerBG 12-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:197
@ Mono32f
Mono 32-Bit float pixel format.
Definition peak_common_pixel_format.hpp:80
@ Confidence16
Confidence 16-Bit format.
Definition peak_common_pixel_format.hpp:83
@ BayerGB12_I_A_B
BayerGB 12-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:171
@ RGB32f
RGB 32-Bit float pixel format.
Definition peak_common_pixel_format.hpp:99
@ Mono12g24IDS
Mono 12-Bit grouped 24-bit (IDS)
Definition peak_common_pixel_format.hpp:142
@ BayerRG10
BayerRG 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:65
@ BayerGB12
BayerGB 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:70
@ Mono8_I_AB_CD
Mono 8-Bit pixel format pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:182
@ BayerRG8
BayerRG 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:64
@ BayerGR10p
BayerGR 10-Bit packed format.
Definition peak_common_pixel_format.hpp:119
@ BayerBG12_I_A_B
BayerBG 12-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:169
@ BayerBG10_AB
BayerBG 10-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:192
@ YUV422_8_UYVY
UYVY 4:2:2 8-Bit format.
Definition peak_common_pixel_format.hpp:94
@ YUV420_8_YY_VU_SemiplanarIDS
YUV4:2:0 8-Bit YY/VU semiplanar (IDS)
Definition peak_common_pixel_format.hpp:92
@ BayerRG12g24IDS_I_A_B
BayerRG 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:153
@ Mono8_ABCD
Mono 8-Bit pixel format Components A, B, C, D.
Definition peak_common_pixel_format.hpp:205
@ Mono12p_I_AB_CD
Mono 12-Bit packed format pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:186
@ BayerGB8
BayerGB 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:68
@ Mono12_I_AB_CD
Mono 12-Bit pixel format pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:184
@ Mono10_I_A_B
Mono 10-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:162
@ BGR12
BGR 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:103
@ Mono8_AB
Mono 8-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:200
@ Confidence8
Confidence 8-Bit format.
Definition peak_common_pixel_format.hpp:82
@ Mono10g40IDS_I_AB_CD
Mono 10-Bit grouped 40-bit (IDS) pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:187
@ BayerRG10g40IDS_I_A_B
BayerRG 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:148
@ BayerGR12g24IDS_I_A_B
BayerGR 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:155
@ RGB10
RGB 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:97
@ BayerGR12g24IDS
BayerGR 12-Bit grouped 24-bit (IDS)
Definition peak_common_pixel_format.hpp:138
@ YUV420_8_YY_UV_SemiplanarIDS
YUV4:2:0 8-Bit YY/UV semiplanar (IDS)
Definition peak_common_pixel_format.hpp:91
@ BayerGR10
BayerGR 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:61
@ Coord3D_C32f
3D coordinate C 32-Bit float format
Definition peak_common_pixel_format.hpp:87
@ Mono16
Mono 16-Bit pixel format.
Definition peak_common_pixel_format.hpp:79
@ Mono10
Mono 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:77
@ BayerRG12_AB
BayerRG 12-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:196
@ Mono10p_I_AB_CD
Mono 10-Bit packed format pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:185
@ Mono12g24IDS_I_A_B
Mono 12-Bit grouped 24-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:152
@ BayerRG10_AB
BayerRG 10-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:191
@ Mono8
Mono 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:76
@ Mono12_I_A_B
Mono 12-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:167
@ BGR10
BGR 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:102
@ BayerBG10_I_A_B
BayerBG 10-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:164
@ Mono12p_I_A_B
Mono 12-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:177
@ BayerGB12g24IDS_I_A_B
BayerGB 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:156
@ Coord3D_ABC32f
3D coordinates A, B, C 32-Bit float format
Definition peak_common_pixel_format.hpp:89
@ RGB12
RGB 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:98
@ BayerGB10_I_A_B
BayerGB 10-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:166
@ BayerBG10p_I_A_B
BayerBG 10-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:174
@ BayerGR10_AB
BayerGR 10-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:193
@ BayerBG12
BayerBG 12-Bit pixel format.
Definition peak_common_pixel_format.hpp:74
@ BayerBG10g40IDS
BayerBG 10-Bit grouped 40-bit (IDS)
Definition peak_common_pixel_format.hpp:134
@ BayerGR8_AB
BayerGR 8-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:203
@ BayerGB10p
BayerGB 10-Bit packed format.
Definition peak_common_pixel_format.hpp:116
@ Mono12g24IDS_I_AB_CD
Mono 12-Bit grouped 24-bit (IDS) pixel Interleaved Components A, B, C, D.
Definition peak_common_pixel_format.hpp:188
@ BayerRG8_AB
BayerRG 8-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:201
@ BGRa8
BGRA 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:109
@ BayerGB8_AB
BayerGB 8-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:204
@ BayerGB10_AB
BayerGB 10-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:194
@ BGRa10
BGRA 10-Bit pixel format.
Definition peak_common_pixel_format.hpp:110
@ Coord3D_C16
3D coordinate C 16-Bit format
Definition peak_common_pixel_format.hpp:86
@ BayerRG12_I_A_B
BayerRG 12-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:168
@ BGR8
BGR 8-Bit pixel format.
Definition peak_common_pixel_format.hpp:101
@ BayerBG12g24IDS_I_A_B
BayerBG 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:154
@ BayerBG12g24IDS
BayerBG 12-Bit grouped 24-bit (IDS)
Definition peak_common_pixel_format.hpp:139
@ Mono8_I_A_B
Mono 8-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:157
@ Mono12_AB
Mono 12-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:195
@ Mono10_AB
Mono 10-Bit pixel format Components A, B.
Definition peak_common_pixel_format.hpp:190
@ BayerGR10g40IDS_I_A_B
BayerGR 10-Bit grouped 40-bit (IDS) line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:150
@ Mono10p
Mono 10-Bit packed format.
Definition peak_common_pixel_format.hpp:125
@ BayerRG10g40IDS
BayerRG 10-Bit grouped 40-bit (IDS)
Definition peak_common_pixel_format.hpp:131
@ BayerGB8_I_A_B
BayerGB 8-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:161
@ BayerRG12p_I_A_B
BayerRG 12-Bit packed format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:178
@ Mono12_ABCD
Mono 12-Bit pixel format Components A, B, C, D.
Definition peak_common_pixel_format.hpp:207
@ BayerRG10_I_A_B
BayerRG 10-Bit pixel format line Interleaved Components A, B.
Definition peak_common_pixel_format.hpp:163
@ RGB10p32
RGB 10-Bit packed 32-bit format.
Definition peak_common_pixel_format.hpp:128
@ BayerGB10g40IDS
BayerGB 10-Bit grouped 40-bit (IDS)
Definition peak_common_pixel_format.hpp:132
@ BayerGB12g24IDS
BayerGB 12-Bit grouped 24-bit (IDS)
Definition peak_common_pixel_format.hpp:137
Namespace for internal implementation details and low-level types.
Definition peak_common_math.hpp:19
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:17
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
#define PEAK_COMMON_END_DISABLE_DEPRECATED_WARNINGS
Definition peak_common_defines.h:34
#define PEAK_COMMON_BEGIN_DISABLE_DEPRECATED_WARNINGS
Definition peak_common_defines.h:33