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

Public Member Functions | |
| OvFlowDiffuseMatcherT () | |
| virtual | ~OvFlowDiffuseMatcherT () |
| 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) |
| virtual bool | setParams (int nparams, double *params) |
| virtual void | setLocalImageMatcher (OvLocalMatcherT< T > &localImageMatcher) |
The OvFlowDiffuseMatcherT implements the fast diffusion based optical flow based on Ogale and Aloimonos, ICRA April 2005 and IJCV July 2006.
| OvFlowDiffuseMatcherT< T >::OvFlowDiffuseMatcherT | ( | ) |
Default constructor with no parameters
| OvFlowDiffuseMatcherT< T >::~OvFlowDiffuseMatcherT | ( | ) | [virtual] |
Destructor
| bool OvFlowDiffuseMatcherT< 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 | |||
| ) | [virtual] |
Main method for computing optical flow on an image pair. Note: This method modifies the input images, so be careful.
| 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). |
Implements OvFlowGlobalMatcherT< T >.
| void OvFlowDiffuseMatcherT< 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 OvFlowGlobalMatcherT< T >.
| bool OvFlowDiffuseMatcherT< 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 OvFlowGlobalMatcherT< T >.
1.4.7