OvLocalMatcherT< T > Class Template Reference

Abstract Base Class Template for matching a pair of images. More...

#include <OvLocalMatcherT.h>

Inheritance diagram for OvLocalMatcherT< T >:

BTLocalMatcherT< T > List of all members.

Public Member Functions

 OvLocalMatcherT ()
virtual ~OvLocalMatcherT ()
virtual bool setImagePair (const OvImageT< T > &i1, const OvImageT< T > &i2)=0
virtual bool setParams (int nparams, double *params)=0
virtual const OvImageT< double > getMatch (int shiftx, int shifty=0)=0
virtual const OvImageT< double > getRawMatch (int shiftx, int shifty=0)=0

Detailed Description

template<typename T>
class OvLocalMatcherT< T >

Abstract Base Class Template for matching a pair of images.

The OvLocalMatcherT class defines a basic interface for matching a pair of images. Subclasses can implement the interface to provide a variety of local image matchers.

Author:
Abhijit Ogale


Constructor & Destructor Documentation

template<typename T>
OvLocalMatcherT< T >::OvLocalMatcherT (  ) 

Default constructor with no parameters

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

Destructor


Member Function Documentation

template<typename T>
virtual const OvImageT<double> OvLocalMatcherT< T >::getMatch ( int  shiftx,
int  shifty = 0 
) [pure virtual]

Used to retrieve results of matching the two images with a relative 2D translation. Note: Values of the result are between 0 to 1 always.

Parameters:
shiftx horizontal relative shift
shifty vertical relative shift
Returns:
resulting single channel image if sucessful (values between 0 (no match) and 1 (match)).
See also:
getRawMatch(int shiftx, int shifty)

Implemented in BTLocalMatcherT< T >.

template<typename T>
virtual const OvImageT<double> OvLocalMatcherT< T >::getRawMatch ( int  shiftx,
int  shifty = 0 
) [pure virtual]

Used to retrieve raw results of matching the two images with a relative 2D translation. Note: The range of values of the result and their interpretation depends on the particular matcher being used.

Parameters:
shiftx horizontal relative shift
shifty vertical relative shift
Returns:
result image if sucessful, which has same number of channels as the input images.
See also:
getMatch(int shiftx, int shifty)

Implemented in BTLocalMatcherT< T >.

template<typename T>
virtual bool OvLocalMatcherT< T >::setImagePair ( const OvImageT< T > &  i1,
const OvImageT< T > &  i2 
) [pure virtual]

Method used for specifying the image pair to be matched.

Parameters:
i1 the first image
i2 the second image
Returns:
true if successful (both images are of the same dimensions).

Implemented in BTLocalMatcherT< T >.

template<typename T>
virtual bool OvLocalMatcherT< T >::setParams ( int  nparams,
double *  params 
) [pure virtual]

Used for specifying any parameters required by the matcher.

Parameters:
nparams number of parameters which are being passed
params the values of the parameters
Returns:
true if successful.

Implemented in BTLocalMatcherT< 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