libvibe++ : a generic C++ library for the ViBe algorithm
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
ViBe::ViBeBase Class Reference
Inheritance diagram for ViBe::ViBeBase:
Inheritance graph
[legend]

Public Member Functions

uint32_t getMatchingNumber () const
 
uint32_t getMatchingThreshold () const
 
uint32_t getNumberOfSamples () const
 
uint32_t getUpdateFactor () const
 
virtual void print (std::ostream &os=std::cout) const
 
void setMatchingNumber (int32_t matchingNumber)
 
void setMatchingThreshold (int32_t matchingThreshold)
 
void setUpdateFactor (int32_t updateFactor)
 

Static Public Attributes

static const uint8_t BACKGROUND = 0
 
static const uint8_t FOREGROUND = 255
 

Protected Member Functions

 ViBeBase (int32_t height, int32_t width, int32_t channels, const uint8_t *buffer)
 

Protected Attributes

uint32_t height
 
uint8_t * historyBuffer
 
uint8_t * historyImage
 
uint32_t * jump
 
uint32_t lastHistoryImageSwapped
 
uint32_t matchingNumber
 
uint32_t matchingThreshold
 
int32_t * neighbor
 
uint32_t numberOfSamples
 
uint32_t numValues
 
uint32_t pixels
 
uint32_t * position
 
uint32_t stride
 
uint32_t updateFactor
 
uint32_t width
 

Static Protected Attributes

static const uint32_t DEFAULT_MATCHING_NUMBER = 2
 
static const uint32_t DEFAULT_MATCHING_THRESHOLD = 20
 
static const uint32_t DEFAULT_NUMBER_OF_SAMPLES = 20
 
static const uint32_t DEFAULT_UPDATE_FACTOR = 16
 
static const uint32_t NUMBER_OF_HISTORY_IMAGES = 2
 

Friends

std::ostream & operator<< (std::ostream &os, const ViBeBase &vibe)
 

Detailed Description

Definition at line 34 of file ViBeBase.h.


The documentation for this class was generated from the following files:

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.