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

lti::opticalFlowLK Class Reference

This class computes the optical flow between two consecutive images according to the gradient based method of Lucas+Kanade. More...

#include <ltiOpticalFlowLK.h>

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

List of all members.

Classes

class  parameters
 the parameters for the class opticalFlowLK More...

Public Member Functions

 opticalFlowLK ()
 opticalFlowLK (const opticalFlowLK &other)
virtual ~opticalFlowLK ()
virtual const char * getTypeName () const
void apply (channel &at_t, channel &at_delta_t) const
void apply (const channel &at_t, const channel &at_delta_t, channel &u, channel &v) const
opticalFlowLKcopy (const opticalFlowLK &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

This class computes the optical flow between two consecutive images according to the gradient based method of Lucas+Kanade.

Optical flow is determined by the 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 and Algorithm: "Performance of Optical Flow Techniques", Barron+Fleet+Beauchemin, IEEE CVPR, 1992. "An iterative image registration technique with ...", Lucas+Kanade, DARPA IU Workshop, 1981.


Constructor & Destructor Documentation

lti::opticalFlowLK::opticalFlowLK (  ) 

default constructor

lti::opticalFlowLK::opticalFlowLK ( const opticalFlowLK other  ) 

copy constructor

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

destructor


Member Function Documentation

void lti::opticalFlowLK::apply ( const channel at_t,
const channel at_delta_t,
channel u,
channel v 
) const

operates on a copy of the given parameters.

Parameters:
at_t channel with the source data at time index t.
at_delta_t channel with the source data at time index t+delta_t.
u is the x-component of the resulting optical flow.
v is the y-component of the resulting optical flow.
void lti::opticalFlowLK::apply ( channel at_t,
channel at_delta_t 
) const

operates on the given parameter.

Parameters:
at_t channel with the source data at time index t. The x-component of the result (u) will be left here too.
at_delta_t channel with the source data at time index t+delta_t. The y-component of the result (v) will be left here too.
virtual functor* lti::opticalFlowLK::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

opticalFlowLK& lti::opticalFlowLK::copy ( const opticalFlowLK 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::opticalFlowLK::getParameters (  )  const

returns used parameters

Reimplemented from lti::transform.

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

returns the name of this type ("opticalFlowLK")

Reimplemented from lti::transform.


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

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