Function rcg::isFormatSupported

Function Documentation

bool rcg::isFormatSupported(uint64_t pixelformat, bool only_color)

Returns true if the given pixel format is supported by the convertImage() function.

Currently supported color formats are: RGB8, BayerRG8, BayerBG8, BayerGR8, BayerGB8, YCbCr411_8, YCbCr422_8 and YUV422_8

Currently supported monochrome formats: Mono8, Confidence8, Error8

Parameters:

only_color – If true, the true is returned only for supported color formats.

Returns:

True if given pixel format is supported.