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

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

The kernel[i] is multiplied texture[i], resulting in a list of images.

Used in the past for visual debugging

in: texture out: images

Definition at line 203 of file KernelSet.h.

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

00205     {
00206         int y;
00207         for(y=0 ; y<mFilterSize ; y++)
00208         {
00209             for(int i=0 ; i<mFilters.size() ; i++)
00210             {
00211                 double* ip = (*images)[i]->CPB(0,y);
00212                 int x;
00213                 for(x=0 ; x<3*mFilterSize ; x++)
00214                 {
00215                     *ip = 0.0;
00216                     ip++;
00217                 }
00218             }
00219         }
00220 
00221         for(y=0 ; y<mFilterSize ; y++)
00222         {
00223             for(int i=0 ; i<mFilters.size() ; i++)
00224             {
00225                 double *ip = (*images)[i]->CPB(0, y);
00226                 double *fp = mFilters[i]->CPB(0, y);
00227                 int x;
00228                 for(x=0 ; x<mFilterSize ; x++)
00229                 {
00230                     double *tp; // texture pointer
00231                     tp = texture.CPB(i*3, 0);
00232                     // red
00233                     *ip += *tp * *fp;
00234                     tp++;
00235                     ip++;
00236                     // green
00237                     *ip += *tp * *fp;
00238                     tp++;
00239                     ip++;
00240                     // blue
00241                     *ip += *tp * *fp;
00242                     ip++;
00243                     fp++;
00244                 }
00245             }
00246         }
00247     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:05 2011 for ImpalaSrc by  doxygen 1.5.1