Class modelling foreground hypothesis. More...
#include <fgbgsegment.h>
Public Member Functions | |
Foreground (FgBgSegment &segm, int width, int height) | |
Constructor. | |
void | Initialize (int startx, int starty) |
Initialize the foreground hypothesis. | |
void | SetInitParams (float l_window_size, float l_ball_size) |
virtual void | Update () |
Update foreground hypothesis. | |
Public Attributes | |
float | ball_size |
bool | combined |
Whether position and disparity are combined into one vector and therefore if correlations between them are taken into account. | |
Vector3 | position3d |
Image< float > | probabilities |
Probabilities for each pixel to belong to the foreground. | |
Matrix3 | spread3d |
float | window_size |
rough size of objects in window (dependent on focal length of camera) | |
Static Public Attributes | |
static const float | strength = 10.0f |
static const float | weight_d = 0.5f*0.5f |
static const float | weight_p = 0.005f*0.005f |
Class modelling foreground hypothesis.
Definition at line 189 of file fgbgsegment.h.
FgBgSegment::Foreground::Foreground | ( | FgBgSegment & | segm, | |
int | width, | |||
int | height | |||
) |
void FgBgSegment::Foreground::Initialize | ( | int | startx, | |
int | starty | |||
) |
Initialize the foreground hypothesis.
Initialize the foreground hypothesis by placing an ellipsis around initial point in x,y,disparty space
startx | x-Coordinate of initial point | |
starty | y-Coordinate of initial point |
Definition at line 323 of file fgbgsegment.cpp.
void FgBgSegment::Foreground::SetInitParams | ( | float | l_window_size, | |
float | l_ball_size | |||
) |
Explicitely set size of initialisation region of rough object size in image
Definition at line 531 of file fgbgsegment.cpp.
void FgBgSegment::Foreground::Update | ( | ) | [virtual] |
Update foreground hypothesis.
Reimplemented from FgBgSegment::ColorModel.
Definition at line 752 of file fgbgsegment.cpp.
Definition at line 198 of file fgbgsegment.h.
Whether position and disparity are combined into one vector and therefore if correlations between them are taken into account.
Definition at line 201 of file fgbgsegment.h.
Definition at line 202 of file fgbgsegment.h.
Probabilities for each pixel to belong to the foreground.
Definition at line 205 of file fgbgsegment.h.
Definition at line 203 of file fgbgsegment.h.
const float FgBgSegment::Foreground::strength = 10.0f [static] |
Definition at line 193 of file fgbgsegment.h.
const float FgBgSegment::Foreground::weight_d = 0.5f*0.5f [static] |
Definition at line 192 of file fgbgsegment.h.
const float FgBgSegment::Foreground::weight_p = 0.005f*0.005f [static] |
Definition at line 191 of file fgbgsegment.h.
rough size of objects in window (dependent on focal length of camera)
Definition at line 197 of file fgbgsegment.h.