Namespaces | Macros | Functions
edge_aware.cpp File Reference
#include "edge_aware.h"
Include dependency graph for edge_aware.cpp:

Go to the source code of this file.

Namespaces

 image_proc
 

Macros

#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)
 

Macro Definition Documentation

#define AVG (   a,
 
)    (((int)(a) + (int)(b)) >> 1)

Definition at line 36 of file edge_aware.cpp.

#define AVG3 (   a,
  b,
 
)    (((int)(a) + (int)(b) + (int)(c)) / 3)

Definition at line 37 of file edge_aware.cpp.

#define AVG4 (   a,
  b,
  c,
  d 
)    (((int)(a) + (int)(b) + (int)(c) + (int)(d)) >> 2)

Definition at line 38 of file edge_aware.cpp.

#define WAVG4 (   a,
  b,
  c,
  d,
  x,
 
)    ( ( ((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.



image_proc
Author(s): Patrick Mihelich, Kurt Konolige, Jeremy Leibs
autogenerated on Fri May 3 2019 02:59:51