OvFlowDiffuseMatcherT< T > Class Template Reference

Global optical flow algorithm based on fast diffusion (see Ogale et al. ICRA April 05, IJCV July 06). More...

#include <OvFlowDiffuseMatcherT.h>

Inheritance diagram for OvFlowDiffuseMatcherT< T >:

OvFlowGlobalMatcherT< T > List of all members.

Public Member Functions

 OvFlowDiffuseMatcherT ()
virtual ~OvFlowDiffuseMatcherT ()
virtual bool doMatching (OvImageT< T > &i1, OvImageT< T > &i2, double minshiftX, double maxshiftX, double minshiftY, double maxshiftY, OvImageT< double > &u1, OvImageT< double > &v1, OvImageT< double > &o1, OvImageT< double > &u2, OvImageT< double > &v2, OvImageT< double > &o2)
virtual bool setParams (int nparams, double *params)
virtual void setLocalImageMatcher (OvLocalMatcherT< T > &localImageMatcher)

Detailed Description

template<typename T>
class OvFlowDiffuseMatcherT< T >

Global optical flow algorithm based on fast diffusion (see Ogale et al. ICRA April 05, IJCV July 06).

The OvFlowDiffuseMatcherT implements the fast diffusion based optical flow based on Ogale and Aloimonos, ICRA April 2005 and IJCV July 2006.

See also:
http://www.cs.umd.edu/users/ogale/publist.htm
Author:
Abhijit Ogale


Constructor & Destructor Documentation

template<typename T>
OvFlowDiffuseMatcherT< T >::OvFlowDiffuseMatcherT (  ) 

Default constructor with no parameters

template<typename T>
OvFlowDiffuseMatcherT< T >::~OvFlowDiffuseMatcherT (  )  [virtual]

Destructor


Member Function Documentation

template<typename T>
bool OvFlowDiffuseMatcherT< T >::doMatching ( OvImageT< T > &  i1,
OvImageT< T > &  i2,
double  minshiftX,
double  maxshiftX,
double  minshiftY,
double  maxshiftY,
OvImageT< double > &  u1,
OvImageT< double > &  v1,
OvImageT< double > &  o1,
OvImageT< double > &  u2,
OvImageT< double > &  v2,
OvImageT< double > &  o2 
) [virtual]

Main method for computing optical flow on an image pair. Note: This method modifies the input images, so be careful.

Parameters:
i1 the first image
i2 the second image
minshiftX method searches for horizontal flow values from minshiftX to maxshiftX
maxshiftX method searches for horizontal flow values from minshiftX to maxshiftX
minshiftY method searches for vertical flow values from minshiftY to maxshiftY
maxshiftY method searches for vertical flow values from minshiftY to maxshiftY
u1 the horizontal flow for image 1. (method sets this).
v1 the vertical flow for image 1. (method sets this).
o1 the occlusion map for image 1. (method sets this).
u2 the horizontal flow for image 2. (method sets this).
v2 the vertical flow for image 2. (method sets this).
o2 the occlusion map for image 2. (method sets this).
Returns:
true if successful.

Implements OvFlowGlobalMatcherT< T >.

template<typename T>
void OvFlowDiffuseMatcherT< T >::setLocalImageMatcher ( OvLocalMatcherT< T > &  localImageMatcher  )  [virtual]

Specifies the local image matcher to be used by the algorithm.

Parameters:
localImageMatcher this is an OvLocalMatcherT<T> object which matches a pair of images.

Implements OvFlowGlobalMatcherT< T >.

template<typename T>
bool OvFlowDiffuseMatcherT< T >::setParams ( int  nparams,
double *  params 
) [virtual]

Used for specifying any parameters required.

Parameters:
nparams number of parameters which are being passed
params the values of the parameters
Returns:
true if successful.

Implements OvFlowGlobalMatcherT< T >.


The documentation for this class was generated from the following file:
Generated on Thu Feb 1 15:58:49 2007 for OpenVis3D by  doxygen 1.4.7