OvStereoGlobalMatcherT< T > Class Template Reference

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

#include <OvStereoGlobalMatcherT.h>

Inheritance diagram for OvStereoGlobalMatcherT< T >:

OvStereoDiffuseMatcherT< T > List of all members.

Public Member Functions

 OvStereoGlobalMatcherT ()
virtual ~OvStereoGlobalMatcherT ()
virtual bool doMatching (OvImageT< T > &i1, OvImageT< T > &i2, double minshift, double maxshift, OvImageT< double > &leftDisparityMap, OvImageT< double > &rightDisparityMap, OvImageT< double > &leftOcclusions, OvImageT< double > &rightOcclusions)=0
virtual bool setParams (int nparams, double *params)=0
virtual void setLocalImageMatcher (OvLocalMatcherT< T > &localImageMatcher)=0

Detailed Description

template<typename T>
class OvStereoGlobalMatcherT< T >

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

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

Author:
Abhijit Ogale


Constructor & Destructor Documentation

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

Default constructor with no parameters

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

Destructor


Member Function Documentation

template<typename T>
virtual bool OvStereoGlobalMatcherT< T >::doMatching ( OvImageT< T > &  i1,
OvImageT< T > &  i2,
double  minshift,
double  maxshift,
OvImageT< double > &  leftDisparityMap,
OvImageT< double > &  rightDisparityMap,
OvImageT< double > &  leftOcclusions,
OvImageT< double > &  rightOcclusions 
) [pure virtual]

Main method for stereo matching an image pair. Note: This method modifies the input images, so be careful.

Parameters:
i1 the first image
i2 the second image
minshift method searches for disparities from minshift to maxshift
maxshift method searches for disparities from minshift to maxshift
leftDisparityMap the disparity map for the left image. (method sets this).
rightDisparityMap the disparity map for the right image. (method sets this).
leftOcclusions the occlusion map for the left image. (method sets this).
rightOcclusions the occlusion map for the right image. (method sets this).
Returns:
true if successful.

Implemented in OvStereoDiffuseMatcherT< T >.

template<typename T>
virtual void OvStereoGlobalMatcherT< 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 OvStereoDiffuseMatcherT< T >.

template<typename T>
virtual bool OvStereoGlobalMatcherT< 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 OvStereoDiffuseMatcherT< 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