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

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) |
The OvStereoDiffuseMatcherT implements the fast diffusion based stereo matching discussed in Ogale and Aloimonos, ICRA April 2005 and IJCV July 2006.
| OvStereoDiffuseMatcherT< T >::OvStereoDiffuseMatcherT | ( | ) |
Default constructor with no parameters
| OvStereoDiffuseMatcherT< T >::~OvStereoDiffuseMatcherT | ( | ) | [virtual] |
Destructor
| 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.
| 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). |
Implements OvStereoGlobalMatcherT< T >.
| void OvStereoDiffuseMatcherT< T >::setLocalImageMatcher | ( | OvLocalMatcherT< T > & | localImageMatcher | ) | [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. |
Implements OvStereoGlobalMatcherT< T >.
| bool OvStereoDiffuseMatcherT< T >::setParams | ( | int | nparams, | |
| double * | params | |||
| ) | [virtual] |
Used for specifying any parameters required.
| nparams | number of parameters which are being passed | |
| params | the values of the parameters |
Implements OvStereoGlobalMatcherT< T >.
1.4.7