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

void Impala::Core::Feature::HaarSecondLine ( std::vector< Array::Array2dScalarReal64 * > &  response,
Array::Array2dScalarReal64 *  image,
int  y 
)

Definition at line 38 of file HaarResponse.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::W().

Referenced by HaarResponse().

00040 {
00041     double* sPtr = image->CPB(0, y);
00042     double* sPtr2 = sPtr+1;
00043     double* dPtrH = response[0]->CPB(0, y-1);
00044     double* dPtrV = response[1]->CPB(0, y-1);
00045     for(int x=0 ; x<image->W()-1 ; ++x)
00046     {
00047         double h = *sPtr2 - *sPtr;
00048         double v = *sPtr + *sPtr2;
00049         *dPtrH += h;
00050         *dPtrV += v;
00051         ++sPtr;
00052         ++sPtr2;
00053         ++dPtrH;
00054         ++dPtrV;
00055     }
00056 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:08:11 2010 for ImpalaSrc by  doxygen 1.5.1