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

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

Definition at line 631 of file KfrMotionExtractor.h.

References m_TPLMax, and m_TPLMin.

Referenced by HandleNewFrame(), and LoadEnergyTemplate().

00632     {
00633         // output the weight matrix
00634         printf("Template Weigth Matrix (%dx%d)_%d is:\n",bWidth,bHeight, index);
00635 
00636         int i,j;
00637         for (j=0; j<bHeight; j++)
00638         {
00639             for (i=0; i<bWidth; i++)
00640             {
00641                 printf("%2.d ",(int)weight[j*bWidth+i]);
00642                 //printf("%.2f ",weight[j*bWidth+i]);
00643             }
00644             printf("\n");
00645         }
00646         printf("(Min, Max) = (%.2f, %.2f)\n", m_TPLMin[index], m_TPLMax[index]);
00647         printf("\n");
00648     }


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