#include <stdexcept>
#include <string>
Go to the source code of this file.
#define CHECK_BIT_DEPTH | ( | B, | |
T | |||
) |
if (encoding == TYPE_##B##T##C1 || \ encoding == TYPE_##B##T##C2 || \ encoding == TYPE_##B##T##C3 || \ encoding == TYPE_##B##T##C4) \ return B; \ /***/
#define CHECK_CHANNELS | ( | N | ) |
if (encoding == TYPE_8UC##N || \ encoding == TYPE_8SC##N || \ encoding == TYPE_16UC##N || \ encoding == TYPE_16SC##N || \ encoding == TYPE_32SC##N || \ encoding == TYPE_32FC##N || \ encoding == TYPE_64FC##N) \ return N; \ /***/