Optimized Belief Propagation (CPU and GPU)
|
#include <cmath>
Go to the source code of this file.
Classes | |
struct | bp_single_thread_imp::rgb |
Namespaces | |
bp_single_thread_imp | |
Class and structs in single-thread CPU bp implementation by Pedro Felzenwalb available at https://cs.brown.edu/people/pfelzens/bp/index.html. | |
Macros | |
#define | M_PI 3.141592653589793 |
Typedefs | |
typedef unsigned char | uchar |
Functions | |
bool | bp_single_thread_imp::operator== (const rgb &a, const rgb &b) |
template<class T > | |
T | bp_single_thread_imp::abs (const T &x) |
template<class T > | |
int | bp_single_thread_imp::sign (const T &x) |
template<class T > | |
T | bp_single_thread_imp::square (const T &x) |
template<class T > | |
T | bp_single_thread_imp::bound (const T &x, const T &min, const T &max) |
template<class T > | |
bool | bp_single_thread_imp::check_bound (const T &x, const T &min, const T &max) |
int | bp_single_thread_imp::vlib_round (float x) |
int | bp_single_thread_imp::vlib_round (double x) |
double | bp_single_thread_imp::gaussian (double val, double sigma) |