Lines Matching full:rect
64 template <typename T> cv::Rect get_bounding_rect(const vector <Point_<T> > src);
78 template <typename T> cv::Rect CV_BoundingRectTest::get_bounding_rect(const vector <Point_<T> > src)
92 return Rect((int)min_w, (int)min_h, (int)max_w-(int)min_w + 1, (int)max_h-(int)min_h + 1);
109 cv::Rect right = get_bounding_rect <T> (src);
111 cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) };
113 for (int i = 0; i < 2; ++i) if (rect[i] != right)
126 cout << "Right rect (x, y, w, h): [" << right.x << ", " << right.y << ", " << right.width << ", " << right.height << "]" << endl;
127 cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl;