Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DstArrayT, class SrcArrayT>
void Impala::Core::Array::Harris ( DstArrayT *&  dst,
SrcArrayT *  Lx2,
SrcArrayT *  Ly2,
SrcArrayT *  LxLy,
Real64  sigmaA,
Real64  k,
bool  useRecGauss = false 
) [inline]

Definition at line 33 of file Harris.h.

References GaussDerivative(), Impala::Core::Array::Pattern::PatM3PixOp(), and RecGauss().

Referenced by Harris(), HarrisObj(), HarrisOpponent(), HarrisRGB(), and HarrisSperical().

00035 {
00036     DstArrayT* Lx2g = 0;
00037     DstArrayT* Ly2g = 0;
00038     DstArrayT* LxLyg = 0;
00039     if (useRecGauss)
00040     {
00041         RecGauss(Lx2g, Lx2, sigmaA, sigmaA, 0, 0, 3);
00042         RecGauss(Ly2g, Ly2, sigmaA, sigmaA, 0, 0, 3);
00043         RecGauss(LxLyg, LxLy, sigmaA, sigmaA, 0, 0, 3);
00044     }
00045     else
00046     {
00047         GaussDerivative(Lx2g, Lx2, sigmaA, 0, 0, 3.0);
00048         GaussDerivative(Ly2g, Ly2, sigmaA, 0, 0, 3.0);
00049         GaussDerivative(LxLyg, LxLy, sigmaA, 0, 0, 3.0);
00050     }
00051 
00052     Trait::M3poHarris<DstArrayT, SrcArrayT> mpo(k);
00053     Pattern::PatM3PixOp(dst, Lx2g, Ly2g, LxLyg, mpo);
00054 
00055     delete Lx2g;
00056     delete Ly2g;
00057     delete LxLyg;
00058 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:56:43 2010 for ImpalaSrc by  doxygen 1.5.1