Definition at line 16 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(). 00018 { 00019 double* sPtr = image->CPB(0, y); 00020 double* sPtr2 = sPtr+1; 00021 double* dPtrH = response[0]->CPB(0, y); 00022 double* dPtrV = response[1]->CPB(0, y); 00023 for(int x=0 ; x<image->W()-1 ; ++x) 00024 { 00025 double h = *sPtr2 - *sPtr; 00026 double v = *sPtr + *sPtr2; 00027 *dPtrH = h; 00028 *dPtrV = -v; 00029 ++dPtrH; 00030 ++dPtrV; 00031 ++sPtr; 00032 ++sPtr2; 00033 } 00034 }
Here is the call graph for this function:
|