#include <OvImagePairPreprocessorT.h>
Public Member Functions | |
| OvImagePairPreprocessorT () | |
| virtual | ~OvImagePairPreprocessorT () |
| virtual bool | preProcessImagePair (OvImageT< T > &i1, OvImageT< T > &i2)=0 |
| virtual bool | setParams (int nparams, double *params)=0 |
The OvImagePairPreprocessorT class defines a basic interface for preprocessing a pair of images. Subclasses can implement the interface to provide a variety of preprocessors (e.g., contrast alignment, color to gray, median filtering, etc.)
| OvImagePairPreprocessorT< T >::OvImagePairPreprocessorT | ( | ) |
Default constructor with no parameters
| OvImagePairPreprocessorT< T >::~OvImagePairPreprocessorT | ( | ) | [virtual] |
Destructor
| virtual bool OvImagePairPreprocessorT< T >::preProcessImagePair | ( | OvImageT< T > & | i1, | |
| OvImageT< T > & | i2 | |||
| ) | [pure virtual] |
Main method for preprocessing an image pair. Note: This method modifies the input images, so be careful.
| i1 | the first image | |
| i2 | the second image |
| virtual bool OvImagePairPreprocessorT< 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 |
1.4.7