Pixel Component Ordering
Swap the R and B pixel component data of RGB pixels
The Coaxlink image data stream pixel processor can be configured to swap the R and B pixel component data of RGB pixels.
The Red/Blue component swapping can be controlled through the RedBlueSwap
boolean GenICam feature. The component swapping
exclusively applies to the 3-component RGB pixel formats. It doesn't apply to other formats, e.e. RGBa.
The default settings preserve the original component order.
Output Pixel Format [PFNC] | Component Order |
---|---|
RGB8 | RGB10 | RGB12| RGB14| RGB16 | R (first), G, B (last) |
BGR8 | BGR10 | BGR12| BGR14| BGR16 | B (first), G, R (last) |
RGBa8 | RGBa10 | RGBa12 | RGBa14 | RGBa16 | R (first), G, B, a (last) |
Note: The order of component of the RGB8 format is not the same as the MultiCam RGB24 format. In RGB24, the component order is BGR with B at byte
0.
See also in the Reference