Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvcamshift.cpp68 CvRect cur_rect = windowIn; in cvMeanShift() local
100 CV_CALL( cvGetSubRect( mat, &cur_win, cur_rect )); in cvMeanShift()
111 nx = cur_rect.x + dx; in cvMeanShift()
112 ny = cur_rect.y + dy; in cvMeanShift()
116 else if( nx + cur_rect.width > mat->cols ) in cvMeanShift()
117 nx = mat->cols - cur_rect.width; in cvMeanShift()
121 else if( ny + cur_rect.height > mat->rows ) in cvMeanShift()
122 ny = mat->rows - cur_rect.height; in cvMeanShift()
124 dx = nx - cur_rect.x; in cvMeanShift()
125 dy = ny - cur_rect.y; in cvMeanShift()
[all …]
Dcvpyrsegmentation.cpp114 static void icvMaxRoi( _CvRect16u *max_rect, _CvRect16u* cur_rect );
1762 icvMaxRoi( _CvRect16u * max_rect, _CvRect16u * cur_rect ) in icvMaxRoi() argument
1765 *max_rect = *cur_rect; in icvMaxRoi()
1768 if( max_rect->x1 > cur_rect->x1 ) in icvMaxRoi()
1769 max_rect->x1 = cur_rect->x1; in icvMaxRoi()
1770 if( max_rect->y1 > cur_rect->y1 ) in icvMaxRoi()
1771 max_rect->y1 = cur_rect->y1; in icvMaxRoi()
1773 if( max_rect->x2 < cur_rect->x2 ) in icvMaxRoi()
1774 max_rect->x2 = cur_rect->x2; in icvMaxRoi()
1775 if( max_rect->y2 < cur_rect->y2 ) in icvMaxRoi()
[all …]