All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Member Functions | Public Attributes | Static Public Attributes
FgBgSegment::Foreground Class Reference

Class modelling foreground hypothesis. More...

#include <fgbgsegment.h>

Inheritance diagram for FgBgSegment::Foreground:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Class modelling foreground hypothesis.

Definition at line 189 of file fgbgsegment.h.


Constructor & Destructor Documentation

FgBgSegment::Foreground::Foreground ( FgBgSegment segm,
int  width,
int  height 
)

Constructor.

Foreground Hypothesis

Parameters:
segmSegmentation
widthWidth of the Image
heightHeight of the Image

Definition at line 137 of file fgbgsegment.cpp.


Member Function Documentation

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

Parameters:
startxx-Coordinate of initial point
startyy-Coordinate of initial point

Definition at line 325 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 533 of file fgbgsegment.cpp.

void FgBgSegment::Foreground::Update ( ) [virtual]

Update foreground hypothesis.

Reimplemented from FgBgSegment::ColorModel.

Definition at line 754 of file fgbgsegment.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


active_realtime_segmentation
Author(s): Mårten Björkman. Maintained by Jeannette Bohg
autogenerated on Wed Jan 23 2013 15:46:44