Defines
debayer.cpp File Reference
#include <pcl/io/debayer.h>
Include dependency graph for debayer.cpp:

Go to the source code of this file.

Defines

#define AVG(a, b)   static_cast<unsigned char>((int(a) + int(b)) >> 1)
#define AVG3(a, b, c)   static_cast<unsigned char>((int(a) + int(b) + int(c)) / 3)
#define AVG4(a, b, c, d)   static_cast<unsigned char>((int(a) + int(b) + int(c) + int(d)) >> 2)
#define WAVG4(a, b, c, d, x, y)   static_cast<unsigned char>( ( (int(a) + int(b)) * int(x) + (int(c) + int(d)) * int(y) ) / ( (int(x) + (int(y))) << 1 ) )

Define Documentation

#define AVG (   a,
 
)    static_cast<unsigned char>((int(a) + int(b)) >> 1)

Definition at line 39 of file debayer.cpp.

#define AVG3 (   a,
  b,
 
)    static_cast<unsigned char>((int(a) + int(b) + int(c)) / 3)

Definition at line 40 of file debayer.cpp.

#define AVG4 (   a,
  b,
  c,
 
)    static_cast<unsigned char>((int(a) + int(b) + int(c) + int(d)) >> 2)

Definition at line 41 of file debayer.cpp.

#define WAVG4 (   a,
  b,
  c,
  d,
  x,
 
)    static_cast<unsigned char>( ( (int(a) + int(b)) * int(x) + (int(c) + int(d)) * int(y) ) / ( (int(x) + (int(y))) << 1 ) )

Definition at line 42 of file debayer.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:44