IRSOL
C++ code implementing socket server for interacting with Baumer camera.
irsol::camera::PixelRepresentation< BitDepth > Struct Template Reference

Helper trait to map a pixel bit depth to an appropriate integral representation type. More...

Detailed Description

template<uint8_t BitDepth>
struct irsol::camera::PixelRepresentation< BitDepth >

Helper trait to map a pixel bit depth to an appropriate integral representation type.

This trait is specialized for supported bit depths. Attempting to use an unsupported bit depth will cause a compilation error due to the lack of a default definition.

Usage:

using Rep8 = PixelRepresentation<8>::type; // uint8_t
using Rep12 = PixelRepresentation<12>::type; // uint16_t
using Rep16 = PixelRepresentation<16>::type; // uint16_t
Helper trait to map a pixel bit depth to an appropriate integral representation type.
Template Parameters
BitDepthNumber of bits per pixel.

Definition at line 34 of file pixel_format.hpp.


The documentation for this struct was generated from the following file: