$search

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:
segm Segmentation
width Width of the Image
height Height of the Image

Definition at line 136 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:
startx x-Coordinate of initial point
starty y-Coordinate of initial point

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

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

Update foreground hypothesis.

Reimplemented from FgBgSegment::ColorModel.

Definition at line 753 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 Tue Mar 5 14:01:57 2013