static void cvTsUpdateMHI( const CvMat* silh, CvMat* mhi, double timestamp, double duration )
{
int i, j;
+ float delbound = (float)(timestamp - duration);
for( i = 0; i < mhi->rows; i++ )
{
const uchar* silh_row = silh->data.ptr + i*silh->step;
{
if( silh_row[j] )
mhi_row[j] = (float)timestamp;
- else if( mhi_row[j] < timestamp - duration )
+ else if( mhi_row[j] < delbound )
mhi_row[j] = 0.f;
}
}
"warp-resize", //ticket 429
"warp-undistort", //ticket 577
- "mhi-update", //ticket 639
+ //"mhi-update", //ticket 639
0
};