libvibe++ : a generic C++ library for the ViBe algorithm
Data Structures | Macros
Manhattan.h File Reference

Distance function for computing the Euclidean distance between the pixel and samples of the model. More...

#include "../math/AbsoluteValue.h"
#include "../metaprograms/DistanceL1.h"
#include "../system/inline.h"
#include "../system/types.h"
Include dependency graph for Manhattan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ViBe::internals::ManhattanFactor< Channels >
 
struct  ViBe::Manhattan< Channels >
 

Macros

#define LIB_VIBE_XX_MANHATTAN_MAP_FLOAT_FACTOR(CHANNELS, FACTOR_VAL)
 
#define LIB_VIBE_XX_MANHATTAN_MAP_UINTG_FACTOR(CHANNELS, FACTOR_VAL)
 

Detailed Description

Distance function for computing the Euclidean distance between the pixel and samples of the model.

Author
Benjamin Laungraud and Marc Van Droogenbroeck
Date
June 2016

Definition in file Manhattan.h.

Macro Definition Documentation

#define LIB_VIBE_XX_MANHATTAN_MAP_FLOAT_FACTOR (   CHANNELS,
  FACTOR_VAL 
)
Value:
template <> \
struct ManhattanFactor<CHANNELS> { \
static const double FACTOR; \
}; \
\
const double ManhattanFactor<CHANNELS>::FACTOR = FACTOR_VAL;

Definition at line 34 of file Manhattan.h.

#define LIB_VIBE_XX_MANHATTAN_MAP_UINTG_FACTOR (   CHANNELS,
  FACTOR_VAL 
)
Value:
template <> \
struct ManhattanFactor<CHANNELS> { \
static const uint32_t FACTOR = FACTOR_VAL; \
};

Definition at line 42 of file Manhattan.h.


License/Copyright

This code is copyrighted by the University of Liège, Belgium. 
It is only shared for research purposes. Please do not distribute it. 
B. Laugraud and M. Van Droogenbroeck, May 2016.