#include "edge_aware.h"
Go to the source code of this file.
Namespaces | |
namespace | image_proc |
Defines | |
#define | AVG(a, b) (((int)(a) + (int)(b)) >> 1) |
#define | AVG3(a, b, c) (((int)(a) + (int)(b) + (int)(c)) / 3) |
#define | AVG4(a, b, c, d) (((int)(a) + (int)(b) + (int)(c) + (int)(d)) >> 2) |
#define | WAVG4(a, b, c, d, x, y) ( ( ((int)(a) + (int)(b)) * (int)(x) + ((int)(c) + (int)(d)) * (int)(y) ) / ( 2 * ((int)(x) + (int(y))) ) ) |
Functions | |
void | image_proc::debayerEdgeAware (const cv::Mat &bayer, cv::Mat &color) |
void | image_proc::debayerEdgeAwareWeighted (const cv::Mat &bayer, cv::Mat &color) |
#define AVG | ( | a, | |
b | |||
) | (((int)(a) + (int)(b)) >> 1) |
Definition at line 36 of file edge_aware.cpp.
#define AVG3 | ( | a, | |
b, | |||
c | |||
) | (((int)(a) + (int)(b) + (int)(c)) / 3) |
Definition at line 37 of file edge_aware.cpp.
Definition at line 38 of file edge_aware.cpp.
#define WAVG4 | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
y | |||
) | ( ( ((int)(a) + (int)(b)) * (int)(x) + ((int)(c) + (int)(d)) * (int)(y) ) / ( 2 * ((int)(x) + (int(y))) ) ) |
Definition at line 39 of file edge_aware.cpp.