Lines Matching refs:m_nN
155 aModelIndexShort = Scalar::all(0);//random? //((m_nN)*rand())/(RAND_MAX+1);//0...m_nN-1
257 _cvUpdatePixelBackgroundNP( long pixel,const uchar* data, int nchannels, int m_nN,
276 long offsetLong = ndata * (pixel * m_nN * 3 + m_aModelIndexLong[pixel] + m_nN * 2);
277 long offsetMid = ndata * (pixel * m_nN * 3 + m_aModelIndexMid[pixel] + m_nN * 1);
278 long offsetShort = ndata * (pixel * m_nN * 3 + m_aModelIndexShort[pixel]);
286 m_aModelIndexLong[pixel] = (m_aModelIndexLong[pixel] >= (m_nN-1)) ? 0 : (m_aModelIndexLong[pixel] + 1);
300 m_aModelIndexMid[pixel] = (m_aModelIndexMid[pixel] >= (m_nN-1)) ? 0 : (m_aModelIndexMid[pixel] + 1);
315 m_aModelIndexShort[pixel] = (m_aModelIndexShort[pixel] >= (m_nN-1)) ? 0 : (m_aModelIndexShort[pixel] + 1);
326 int m_nN,
342 long posPixel = pixel * ndata * m_nN * 3;
345 for (int n = 0; n < m_nN*3; n++)
396 for (int n = 0; n < m_nN*3; n++)
473 int m_nN=_nN;
489 int m_nShortUpdate = (Kshort/m_nN)+1;
490 int m_nMidUpdate = (Kmid/m_nN)+1;
491 int m_nLongUpdate = (Klong/m_nN)+1;
493 //int m_nShortUpdate = MAX((Kshort/m_nN),m_nN);
494 //int m_nMidUpdate = MAX((Kmid/m_nN),m_nN);
495 //int m_nLongUpdate = MAX((Klong/m_nN),m_nN);
520 m_nN, m_aModel, m_fTb,m_nkNN, m_fTau,m_bShadowDetection,include);
523 m_nN, m_aModel,