Namespaces | Macros
openni_image_bayer_grbg.cpp File Reference
#include <openni_camera/openni_image_bayer_grbg.h>
#include <sstream>
#include <iostream>
Include dependency graph for openni_image_bayer_grbg.cpp:

Go to the source code of this file.

Namespaces

 openni_wrapper
 

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

Macro Definition Documentation

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

Definition at line 41 of file openni_image_bayer_grbg.cpp.

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

Definition at line 42 of file openni_image_bayer_grbg.cpp.

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

Definition at line 43 of file openni_image_bayer_grbg.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 44 of file openni_image_bayer_grbg.cpp.



openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Mon Jun 10 2019 14:15:53