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

namespace  openni_wrapper

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

Define 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 Tue Apr 18 2017 02:14:10