OvFlowGlobalMatcherT< T > Class Template Reference

Abstract Base Class Template for defining a global matching flow algorithm. More...

#include <OvFlowGlobalMatcherT.h>

Inheritance diagram for OvFlowGlobalMatcherT< T >:

OvFlowDiffuseMatcherT< T > List of all members.

Public Member Functions

 OvFlowGlobalMatcherT ()
virtual ~OvFlowGlobalMatcherT ()
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)=0
virtual bool setParams (int nparams, double *params)=0
virtual void setLocalImageMatcher (OvLocalMatcherT< T > &localImageMatcher)=0

Detailed Description

template<typename T>
class OvFlowGlobalMatcherT< T >

Abstract Base Class Template for defining a global matching flow algorithm.

The OvFlowGlobalMatcherT class defines a basic interface for a global matching flow algorithm. Subclasses can implement the interface to provide a variety of global matching methods.

Author:
Abhijit Ogale


Constructor & Destructor Documentation

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

Default constructor with no parameters

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

Destructor


Member Function Documentation

template<typename T>
virtual bool OvFlowGlobalMatcherT< 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 
) [pure 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.

Implemented in OvFlowDiffuseMatcherT< T >.

template<typename T>
virtual void OvFlowGlobalMatcherT< T >::setLocalImageMatcher ( OvLocalMatcherT< T > &  localImageMatcher  )  [pure 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.

Implemented in OvFlowDiffuseMatcherT< T >.

template<typename T>
virtual bool OvFlowGlobalMatcherT< T >::setParams ( int  nparams,
double *  params 
) [pure 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.

Implemented in OvFlowDiffuseMatcherT< 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