#include <pcl/io/debayer.h>
Go to the source code of this file.
Defines | |
#define | AVG(a, b) static_cast<unsigned char>((int(a) + int(b)) >> 1) |
#define | AVG3(a, b, c) static_cast<unsigned char>((int(a) + int(b) + int(c)) / 3) |
#define | AVG4(a, b, c, d) static_cast<unsigned char>((int(a) + int(b) + int(c) + int(d)) >> 2) |
#define | WAVG4(a, b, c, d, x, y) static_cast<unsigned char>( ( (int(a) + int(b)) * int(x) + (int(c) + int(d)) * int(y) ) / ( (int(x) + (int(y))) << 1 ) ) |
#define AVG | ( | a, | |
b | |||
) | static_cast<unsigned char>((int(a) + int(b)) >> 1) |
Definition at line 39 of file debayer.cpp.
#define AVG3 | ( | a, | |
b, | |||
c | |||
) | static_cast<unsigned char>((int(a) + int(b) + int(c)) / 3) |
Definition at line 40 of file debayer.cpp.
#define AVG4 | ( | a, | |
b, | |||
c, | |||
d | |||
) | static_cast<unsigned char>((int(a) + int(b) + int(c) + int(d)) >> 2) |
Definition at line 41 of file debayer.cpp.
#define WAVG4 | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
y | |||
) | static_cast<unsigned char>( ( (int(a) + int(b)) * int(x) + (int(c) + int(d)) * int(y) ) / ( (int(x) + (int(y))) << 1 ) ) |
Definition at line 42 of file debayer.cpp.