Home
last modified time | relevance | path

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

/external/opencv/cvaux/src/
Dcvvecfacetracking.cpp356 CvTrackingRect* pRect2 = (CvTrackingRect*)(reader2.ptr); in MergeRects() local
357 if (abs(pRect1->ptCenter.y - pRect2->ptCenter.y) < d && in MergeRects()
358 abs(pRect1->r.height - pRect2->r.height) < d) in MergeRects()
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()
364 … rNew.r.width = max(pRect1->r.x + pRect1->r.width, pRect2->r.x + pRect2->r.width) - rNew.r.x; in MergeRects()
365 … rNew.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()
383 CvTrackingRect* pRect2 = (CvTrackingRect*)cvGetSeqElem(m_seqRects, j); in MergeRects() local
[all …]