Namespaces | Defines | 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

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 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 Mon Oct 6 2014 00:45:02