latest version v1.9 - last update 10 Apr 2010 |
This class computes the optical flow between two consecutive images according to the gradient based method of Lucas+Kanade. More...
#include <ltiOpticalFlowLK.h>
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 |
opticalFlowLK & | copy (const opticalFlowLK &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
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.
lti::opticalFlowLK::opticalFlowLK | ( | ) |
default constructor
lti::opticalFlowLK::opticalFlowLK | ( | const opticalFlowLK & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::opticalFlowLK::~opticalFlowLK | ( | ) | [virtual] |
destructor
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.
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.
other | the functor to be copied |
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.