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

void Impala::Core::VideoSet::KfrMotionExtractor::DumpWeightMatrix ( double *  weight,
int  bWidth,
int  bHeight,
int  index 
) [inline]

Definition at line 638 of file KfrMotionExtractor.h.

References m_TPLMax, and m_TPLMin.

Referenced by HandleNewFrame(), and LoadEnergyTemplate().

00639     {
00640         // output the weight matrix
00641         printf("Template Weigth Matrix (%dx%d)_%d is:\n",bWidth,bHeight, index);
00642 
00643         int i,j;
00644         for (j=0; j<bHeight; j++)
00645         {
00646             for (i=0; i<bWidth; i++)
00647             {
00648                 printf("%2.d ",(int)weight[j*bWidth+i]);
00649                 //printf("%.2f ",weight[j*bWidth+i]);
00650             }
00651             printf("\n");
00652         }
00653         printf("(Min, Max) = (%.2f, %.2f)\n", m_TPLMin[index], m_TPLMax[index]);
00654         printf("\n");
00655     }


Generated on Thu Jan 13 09:22:01 2011 for ImpalaSrc by  doxygen 1.5.1