OvStereoDiffuseMatcherT< T > Class Template Reference

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

#include <OvStereoDiffuseMatcherT.h>

Inheritance diagram for OvStereoDiffuseMatcherT< T >:

OvStereoGlobalMatcherT< T > List of all members.

Public Member Functions

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

Detailed Description

template<typename T>
class OvStereoDiffuseMatcherT< T >

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

The OvStereoDiffuseMatcherT implements the fast diffusion based stereo matching discussed in 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>
OvStereoDiffuseMatcherT< T >::OvStereoDiffuseMatcherT (  ) 

Default constructor with no parameters

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

Destructor


Member Function Documentation

template<typename T>
bool OvStereoDiffuseMatcherT< T >::doMatching ( OvImageT< T > &  i1,
OvImageT< T > &  i2,
double  minshift,
double  maxshift,
OvImageT< double > &  leftDisparityMap,
OvImageT< double > &  rightDisparityMap,
OvImageT< double > &  leftOcclusions,
OvImageT< double > &  rightOcclusions 
) [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.

Implements OvStereoGlobalMatcherT< T >.

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

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