Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxNgbNormCorrelation Class Template Reference

Neighbourhood functor for normalized (cross) correlation filter. More...

#include <HxNgbNormCorrelation.h>

List of all members.

Public Types

typedef HxNgbLoopTag IteratorCategory
 Loop version. More...

typedef HxNgb2PhaseTag PhaseCategory
 2 phases. More...

typedef HxNgbTransInVarTag TransVarianceCategory
 Translation invariant. More...


Public Methods

 HxNgbNormCorrelation (HxTagList &tags)
 ~HxNgbNormCorrelation ()
HxSizes size ()
void init ()
void next (int x, int y, ArithT pixV, ArithT maskV)
void init2 ()
void next2 (int x, int y, ArithT pixV, ArithT maskV)
ResultT result ()

Static Public Methods

HxString className ()
 The name : "normalizedCorrelation". More...


Detailed Description

template<class ArithT, class ResultT>
class HxNgbNormCorrelation< ArithT, ResultT >

Neighbourhood functor for normalized (cross) correlation filter.

Formula:

\begin{verbatim} Sum[f(x,y) - fBar(x,y)][w(x,y) - wBar] x,y --------------------------------------------------------- Sqrt[ Sum[f(x,y) - fBar(x,y)]^2 * Sum[w(x,y) - wBar]^2 ] x,y x,y \end{verbatim}


Member Typedef Documentation

template<class ArithT, class ResultT>
typedef HxNgbLoopTag HxNgbNormCorrelation::IteratorCategory
 

Loop version.

template<class ArithT, class ResultT>
typedef HxNgb2PhaseTag HxNgbNormCorrelation::PhaseCategory
 

2 phases.

template<class ArithT, class ResultT>
typedef HxNgbTransInVarTag HxNgbNormCorrelation::TransVarianceCategory
 

Translation invariant.


Member Function Documentation

template<class ArithT, class ResultT>
HxString HxNgbNormCorrelation< ArithT, ResultT >::className   [static]
 

The name : "normalizedCorrelation".

00030 {
00031     static HxString name("normalizedCorrelation");
00032     return name;
00033 }


The documentation for this class was generated from the following files:
Generated on Tue Jan 8 13:59:33 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001