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

void Impala::Core::Tracking::KernelSet::ReconstructSeparate ( std::vector< Array::Array2dVec3Real64 * > *  images,
Array::Array2dScalarReal64 texture 
) [inline]

Definition at line 185 of file KernelSet.h.

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

00186     {
00187         int y;
00188         for(y=0 ; y<mFilterSize ; y++)
00189         {
00190             for(int i=0 ; i<mFilters.size() ; i++)
00191             {
00192                 double* ip = (*images)[i]->CPB(0,y);
00193                 int x;
00194                 for(x=0 ; x<3*mFilterSize ; x++)
00195                 {
00196                     *ip = 0.0;
00197                     ip++;
00198                 }
00199             }
00200         }
00201 
00202         for(y=0 ; y<mFilterSize ; y++)
00203         {
00204             for(int i=0 ; i<mFilters.size() ; i++)
00205             {
00206                 double *ip = (*images)[i]->CPB(0, y);
00207                 double *fp = mFilters[i]->CPB(0, y);
00208                 int x;
00209                 for(x=0 ; x<mFilterSize ; x++)
00210                 {
00211                     double *tp; // texture pointer
00212                     tp = texture.CPB(i*3, 0);
00213                     // red
00214                     *ip += *tp * *fp;
00215                     tp++;
00216                     ip++;
00217                     // green
00218                     *ip += *tp * *fp;
00219                     tp++;
00220                     ip++;
00221                     // blue
00222                     *ip += *tp * *fp;
00223                     ip++;
00224                     fp++;
00225                 }
00226             }
00227         }
00228     }

Here is the call graph for this function:


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