#include <OvStereoGlobalMatcherT.h>
Inheritance diagram for OvStereoGlobalMatcherT< T >:

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 |
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.
| OvStereoGlobalMatcherT< T >::OvStereoGlobalMatcherT | ( | ) |
Default constructor with no parameters
| OvStereoGlobalMatcherT< T >::~OvStereoGlobalMatcherT | ( | ) | [virtual] |
Destructor
| 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.
| 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). |
Implemented in OvStereoDiffuseMatcherT< T >.
| virtual void OvStereoGlobalMatcherT< T >::setLocalImageMatcher | ( | OvLocalMatcherT< T > & | localImageMatcher | ) | [pure virtual] |
Specifies the local image matcher to be used by the algorithm.
| localImageMatcher | this is an OvLocalMatcherT<T> object which matches a pair of images. |
Implemented in OvStereoDiffuseMatcherT< T >.
| virtual bool OvStereoGlobalMatcherT< T >::setParams | ( | int | nparams, | |
| double * | params | |||
| ) | [pure virtual] |
Used for specifying any parameters required.
| nparams | number of parameters which are being passed | |
| params | the values of the parameters |
Implemented in OvStereoDiffuseMatcherT< T >.
1.4.7