Lines Matching refs:uchar
179 virtual void setShadowValue(int value) { nShadowDetection = (uchar)value; }
204 nShadowDetection = saturate_cast<uchar>((int)fn["shadowValue"]);
257 _cvUpdatePixelBackgroundNP( long pixel,const uchar* data, int nchannels, int m_nN,
258 uchar* m_aModel,
259 uchar* m_nNextLongUpdate,
260 uchar* m_nNextMidUpdate,
261 uchar* m_nNextShortUpdate,
262 uchar* m_aModelIndexLong,
263 uchar* m_aModelIndexMid,
264 uchar* m_aModelIndexShort,
271 uchar include
290 //m_nNextLongUpdate[pixel] = (uchar)(((m_nLongUpdate)*(rand()-1))/RAND_MAX);//0,...m_nLongUpdate-1;
291 m_nNextLongUpdate[pixel] = (uchar)( rand() % m_nLongUpdate );//0,...m_nLongUpdate-1;
304 m_nNextMidUpdate[pixel] = (uchar)( rand() % m_nMidUpdate );
319 m_nNextShortUpdate[pixel] = (uchar)( rand() % m_nShortUpdate );
325 const uchar* data, int nchannels,
327 uchar* m_aModel,
332 uchar& include)
338 //uchar& include=data[nchannels];
347 uchar* mean_m = &m_aModel[posPixel + n*ndata];
399 uchar* mean_m = &m_aModel[posPixel + n*ndata];
458 uchar nShadowDetection
464 uchar* m_aModel=_bgmodel.ptr(0);
465 uchar* m_nNextLongUpdate=_nNextLongUpdate.ptr(0);
466 uchar* m_nNextMidUpdate=_nNextMidUpdate.ptr(0);
467 uchar* m_nNextShortUpdate=_nNextShortUpdate.ptr(0);
468 uchar* m_aModelIndexLong=_aModelIndexLong.ptr(0);
469 uchar* m_aModelIndexMid=_aModelIndexMid.ptr(0);
470 uchar* m_aModelIndexShort=_aModelIndexShort.ptr(0);
515 const uchar* data = _src.ptr((int)y, (int)x);
518 uchar include=0;
607 const uchar* pbgmodel=bgmodel.ptr(0);
614 const uchar* mean_m = &pbgmodel[n*ndata];