mimas::hf::hypothesis2D Class Reference
[Particle filter]

2-D location of an object More...

#include <hypothesis2D.h>

Inheritance diagram for mimas::hf::hypothesis2D:

Inheritance graph
[legend]
Collaboration diagram for mimas::hf::hypothesis2D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

hypothesis2D drift (void) const
 carefull some memory is allocated with this function !!
hypothesis2D mean (const hypothesis2D &h)
 !!might be implemented as a type trait so s.o. who don't
float distance (const hypothesis2D &h)
 hypothesis2D (float x=0, float y=0, double weight=0)

Public Attributes

float x
float y

Static Public Attributes

static float sigmaSpan
 float sigmaSpan;///<Don't forget to change this value according to the desired drift Don't forget to change this value according to the desired drift

Detailed Description

2-D location of an object

if the object has a transversal movement for instance

Definition at line 23 of file hypothesis2D.h.


Constructor & Destructor Documentation

mimas::hf::hypothesis2D::hypothesis2D ( float  x = 0,
float  y = 0,
double  weight = 0 
) [inline]

Definition at line 63 of file hypothesis2D.h.

Referenced by drift(), and mean().


Member Function Documentation

hypothesis2D mimas::hf::hypothesis2D::drift ( void   )  const [inline]

carefull some memory is allocated with this function !!

Definition at line 33 of file hypothesis2D.h.

References Dice::gaussian_random(), hypothesis2D(), sigmaSpan, mimas::hf::hypothesis::weight, x, and y.

Here is the call graph for this function:

hypothesis2D mimas::hf::hypothesis2D::mean ( const hypothesis2D h  )  [inline]

!!might be implemented as a type trait so s.o. who don't

Definition at line 44 of file hypothesis2D.h.

References hypothesis2D(), mimas::hf::hypothesis::weight, x, and y.

Here is the call graph for this function:

float mimas::hf::hypothesis2D::distance ( const hypothesis2D h  )  [inline]

Definition at line 58 of file hypothesis2D.h.

References x, and y.


Member Data Documentation

float mimas::hf::hypothesis2D::x

Definition at line 26 of file hypothesis2D.h.

Referenced by distance(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw(), drift(), and mean().

float mimas::hf::hypothesis2D::y

Definition at line 27 of file hypothesis2D.h.

Referenced by distance(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw(), drift(), and mean().

float mimas::hf::hypothesis2D::sigmaSpan [static]

float sigmaSpan;///<Don't forget to change this value according to the desired drift Don't forget to change this value according to the desired drift

Definition at line 29 of file hypothesis2D.h.

Referenced by drift().


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:50 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...