LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::opticalFlowHS Class Reference

Computes the optical flow between two consecutive images according to Horn-Schunks gradient based method. More...

#include <ltiOpticalFlowHS.h>

Inheritance diagram for lti::opticalFlowHS:
Inheritance graph
[legend]
Collaboration diagram for lti::opticalFlowHS:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class opticalFlowHS More...

Public Member Functions

 opticalFlowHS ()
 opticalFlowHS (const opticalFlowHS &other)
virtual ~opticalFlowHS ()
virtual const char * getTypeName () const
void apply (channel &ch_t0_u, channel &ch_t1_v) const
void apply (const channel &ch_t0, const channel &ch_t1, channel &u, channel &v) const
opticalFlowHScopy (const opticalFlowHS &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

Computes the optical flow between two consecutive images according to Horn-Schunks gradient based method.

Optical flow is determined by velocity components u, v, which are searched to complete the optical flow equation:

I(x+u*delta_t, y+v*delta_t, t+delta_t) = I(x,y,t) + e

I=intensity function, t=timeindex, x/y=coordinates, e=error

Theory: "The Computation of Optical Flow", Beauchemin & Barron, ACM Computing Surveys, Vol.27 No. 3

Algorithm: "Computer Vision", Klette, Schluens & koschan, Springer, pp.190


Constructor & Destructor Documentation

lti::opticalFlowHS::opticalFlowHS (  ) 

default constructor

lti::opticalFlowHS::opticalFlowHS ( const opticalFlowHS other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::opticalFlowHS::~opticalFlowHS (  )  [virtual]

destructor


Member Function Documentation

void lti::opticalFlowHS::apply ( const channel ch_t0,
const channel ch_t1,
channel u,
channel v 
) const

operates on a copy of the given parameters.

Parameters:
ch_t0 channel at timeindex 0.
ch_t1 channel at timeindex 1. Note that ch_t0 is the predecessor of ch_t1.
u x component of flowfield
v y component of flowfield
void lti::opticalFlowHS::apply ( channel ch_t0_u,
channel ch_t1_v 
) const

operates on the given parameter.

Parameters:
ch_t0_u channel at timeindex 0.
ch_t1_v channel at timeindex 1. Note that ch_t0 is the predecessor of ch_t1. u,v (x,y components of flowfield) are returned in ch_t0_u, ch_t1_v
virtual functor* lti::opticalFlowHS::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

opticalFlowHS& lti::opticalFlowHS::copy ( const opticalFlowHS other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

const parameters& lti::opticalFlowHS::getParameters (  )  const

returns used parameters

Reimplemented from lti::transform.

virtual const char* lti::opticalFlowHS::getTypeName (  )  const [virtual]

returns the name of this type ("opticalFlowHS")

Reimplemented from lti::transform.


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

Generated on Sat Apr 10 15:27:38 2010 for LTI-Lib by Doxygen 1.6.1