Home
last modified time | relevance | path

Searched refs:rNew (Results 1 – 1 of 1) sorted by relevance

/external/opencv/cvaux/src/
Dcvvecfacetracking.cpp360 CvTrackingRect rNew; in MergeRects() local
361 rNew.iColor = (pRect1->iColor + pRect2->iColor + 1) / 2; in MergeRects()
362 rNew.r.x = min(pRect1->r.x, pRect2->r.x); in MergeRects()
363 rNew.r.y = min(pRect1->r.y, pRect2->r.y); in MergeRects()
364rNew.r.width = max(pRect1->r.x + pRect1->r.width, pRect2->r.x + pRect2->r.width) - rNew.r.x; in MergeRects()
365rNew.r.height = min(pRect1->r.y + pRect1->r.height, pRect2->r.y + pRect2->r.height) - rNew.r.y; in MergeRects()
366 if (rNew.r != pRect1->r && rNew.r != pRect2->r) in MergeRects()
368 rNew.ptCenter = Center(rNew.r); in MergeRects()
369 cvSeqPush(m_seqRects, &rNew); in MergeRects()