rect 110 apps/traincascade/HOGfeatures.cpp rect[i] = Rect(0, 0, 0, 0); rect 116 apps/traincascade/HOGfeatures.cpp rect[0] = Rect(x, y, cellW, cellH); //cell0 rect 117 apps/traincascade/HOGfeatures.cpp rect[1] = Rect(x+cellW, y, cellW, cellH); //cell1 rect 118 apps/traincascade/HOGfeatures.cpp rect[2] = Rect(x, y+cellH, cellW, cellH); //cell2 rect 119 apps/traincascade/HOGfeatures.cpp rect[3] = Rect(x+cellW, y+cellH, cellW, cellH); //cell3 rect 123 apps/traincascade/HOGfeatures.cpp CV_SUM_OFFSETS(fastRect[i].p0, fastRect[i].p1, fastRect[i].p2, fastRect[i].p3, rect[i], offset); rect 132 apps/traincascade/HOGfeatures.cpp fs << "[:" << rect[i].x << rect[i].y << rect[i].width << rect[i].height << "]"; rect 152 apps/traincascade/HOGfeatures.cpp fs << CC_RECT << "[:" << rect[0].x << rect[0].y << rect 153 apps/traincascade/HOGfeatures.cpp rect[0].width << rect[0].height << featComponentIdx << "]"; rect 39 apps/traincascade/HOGfeatures.h cv::Rect rect[N_CELLS]; //cells rect 249 apps/traincascade/haarfeatures.cpp rect[0].r = rect[1].r = rect[2].r = Rect(0,0,0,0); rect 250 apps/traincascade/haarfeatures.cpp rect[0].weight = rect[1].weight = rect[2].weight = 0; rect 260 apps/traincascade/haarfeatures.cpp rect[0].r.x = x0; rect 261 apps/traincascade/haarfeatures.cpp rect[0].r.y = y0; rect 262 apps/traincascade/haarfeatures.cpp rect[0].r.width = w0; rect 263 apps/traincascade/haarfeatures.cpp rect[0].r.height = h0; rect 264 apps/traincascade/haarfeatures.cpp rect[0].weight = wt0; rect 266 apps/traincascade/haarfeatures.cpp rect[1].r.x = x1; rect 267 apps/traincascade/haarfeatures.cpp rect[1].r.y = y1; rect 268 apps/traincascade/haarfeatures.cpp rect[1].r.width = w1; rect 269 apps/traincascade/haarfeatures.cpp rect[1].r.height = h1; rect 270 apps/traincascade/haarfeatures.cpp rect[1].weight = wt1; rect 272 apps/traincascade/haarfeatures.cpp rect[2].r.x = x2; rect 273 apps/traincascade/haarfeatures.cpp rect[2].r.y = y2; rect 274 apps/traincascade/haarfeatures.cpp rect[2].r.width = w2; rect 275 apps/traincascade/haarfeatures.cpp rect[2].r.height = h2; rect 276 apps/traincascade/haarfeatures.cpp rect[2].weight = wt2; rect 282 apps/traincascade/haarfeatures.cpp if( rect[j].weight == 0.0F ) rect 284 apps/traincascade/haarfeatures.cpp CV_SUM_OFFSETS( fastRect[j].p0, fastRect[j].p1, fastRect[j].p2, fastRect[j].p3, rect[j].r, offset ) rect 291 apps/traincascade/haarfeatures.cpp if( rect[j].weight == 0.0F ) rect 293 apps/traincascade/haarfeatures.cpp CV_TILTED_OFFSETS( fastRect[j].p0, fastRect[j].p1, fastRect[j].p2, fastRect[j].p3, rect[j].r, offset ) rect 301 apps/traincascade/haarfeatures.cpp for( int ri = 0; ri < CV_HAAR_FEATURE_MAX && rect[ri].r.width != 0; ++ri ) rect 303 apps/traincascade/haarfeatures.cpp fs << "[:" << rect[ri].r.x << rect[ri].r.y << rect 304 apps/traincascade/haarfeatures.cpp rect[ri].r.width << rect[ri].r.height << rect[ri].weight << "]"; rect 59 apps/traincascade/haarfeatures.h } rect[CV_HAAR_FEATURE_MAX]; rect 82 apps/traincascade/haarfeatures.h float ret = rect[0].weight * (img[fastRect[0].p0] - img[fastRect[0].p1] - img[fastRect[0].p2] + img[fastRect[0].p3] ) + rect 83 apps/traincascade/haarfeatures.h rect[1].weight * (img[fastRect[1].p0] - img[fastRect[1].p1] - img[fastRect[1].p2] + img[fastRect[1].p3] ); rect 84 apps/traincascade/haarfeatures.h if( rect[2].weight != 0.0f ) rect 85 apps/traincascade/haarfeatures.h ret += rect[2].weight * (img[fastRect[2].p0] - img[fastRect[2].p1] - img[fastRect[2].p2] + img[fastRect[2].p3] ); rect 49 apps/traincascade/lbpfeatures.cpp rect = cvRect(0, 0, 0, 0); rect 54 apps/traincascade/lbpfeatures.cpp Rect tr = rect = cvRect(x, y, _blockWidth, _blockHeight); rect 56 apps/traincascade/lbpfeatures.cpp tr.x += 2*rect.width; rect 58 apps/traincascade/lbpfeatures.cpp tr.y +=2*rect.height; rect 60 apps/traincascade/lbpfeatures.cpp tr.x -= 2*rect.width; rect 66 apps/traincascade/lbpfeatures.cpp fs << CC_RECT << "[:" << rect.x << rect.y << rect.width << rect.height << "]"; rect 34 apps/traincascade/lbpfeatures.h cv::Rect rect; rect 9 apps/traincascade/traincascade_features.h #define CV_SUM_OFFSETS( p0, p1, p2, p3, rect, step ) \ rect 11 apps/traincascade/traincascade_features.h (p0) = (rect).x + (step) * (rect).y; \ rect 13 apps/traincascade/traincascade_features.h (p1) = (rect).x + (rect).width + (step) * (rect).y; \ rect 15 apps/traincascade/traincascade_features.h (p2) = (rect).x + (step) * ((rect).y + (rect).height); \ rect 17 apps/traincascade/traincascade_features.h (p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height); rect 19 apps/traincascade/traincascade_features.h #define CV_TILTED_OFFSETS( p0, p1, p2, p3, rect, step ) \ rect 21 apps/traincascade/traincascade_features.h (p0) = (rect).x + (step) * (rect).y; \ rect 23 apps/traincascade/traincascade_features.h (p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\ rect 25 apps/traincascade/traincascade_features.h (p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \ rect 27 apps/traincascade/traincascade_features.h (p3) = (rect).x + (rect).width - (rect).height \ rect 28 apps/traincascade/traincascade_features.h + (step) * ((rect).y + (rect).width + (rect).height); rect 1686 modules/calib3d/src/calibinit.cpp CvRect rect = ((CvContour*)src_contour)->rect; rect 1689 modules/calib3d/src/calibinit.cpp if( CV_IS_SEQ_HOLE(src_contour) && rect.width*rect.height >= min_size ) rect 1071 modules/calib3d/src/circlesgrid.cpp Rect_<float> rect(samples[i] - Point2f(parameters.densityNeighborhoodSize) * 0.5, rect 1076 modules/calib3d/src/circlesgrid.cpp if (rect.contains(samples[j])) rect 190 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSetImageROI( IplImage* image, CvRect rect ); rect 357 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ); rect 256 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Rect_<_Tp>& rect) rect 258 modules/core/include/opencv2/core/cvstd.inl.hpp return out << "[" << rect.width << " x " << rect.height << " from (" << rect.x << ", " << rect.y << ")]"; rect 809 modules/core/include/opencv2/core/types_c.h CV_INLINE IplROI cvRectToROI( CvRect rect, int coi ) rect 812 modules/core/include/opencv2/core/types_c.h roi.xOffset = rect.x; rect 813 modules/core/include/opencv2/core/types_c.h roi.yOffset = rect.y; rect 814 modules/core/include/opencv2/core/types_c.h roi.width = rect.width; rect 815 modules/core/include/opencv2/core/types_c.h roi.height = rect.height; rect 1375 modules/core/include/opencv2/core/types_c.h CvRect rect; \ rect 44 modules/core/misc/java/test/PointTest.java Rect rect = new Rect(0, 0, 5, 3); rect 45 modules/core/misc/java/test/PointTest.java assertTrue(p1.inside(rect)); rect 48 modules/core/misc/java/test/PointTest.java assertFalse(p2.inside(rect)); rect 11 modules/core/misc/java/test/RectTest.java private Rect rect; rect 18 modules/core/misc/java/test/RectTest.java rect = new Rect(0, 0, 10, 10); rect 23 modules/core/misc/java/test/RectTest.java area = rect.area(); rect 29 modules/core/misc/java/test/RectTest.java p_br = rect.br(); rect 35 modules/core/misc/java/test/RectTest.java r = rect.clone(); rect 36 modules/core/misc/java/test/RectTest.java assertEquals(rect, r); rect 40 modules/core/misc/java/test/RectTest.java Rect rect = new Rect(0, 0, 10, 10); rect 49 modules/core/misc/java/test/RectTest.java assertTrue(rect.contains(p_inner)); rect 50 modules/core/misc/java/test/RectTest.java assertTrue(rect.contains(p_bl)); rect 52 modules/core/misc/java/test/RectTest.java assertFalse(rect.contains(p_outer)); rect 53 modules/core/misc/java/test/RectTest.java assertFalse(rect.contains(p_br)); rect 54 modules/core/misc/java/test/RectTest.java assertFalse(rect.contains(p_tl)); rect 55 modules/core/misc/java/test/RectTest.java assertFalse(rect.contains(p_tr)); rect 60 modules/core/misc/java/test/RectTest.java flag = rect.equals(r); rect 63 modules/core/misc/java/test/RectTest.java r = rect.clone(); rect 64 modules/core/misc/java/test/RectTest.java flag = rect.equals(r); rect 69 modules/core/misc/java/test/RectTest.java assertEquals(rect.hashCode(), rect.hashCode()); rect 94 modules/core/misc/java/test/RectTest.java assertNotNull(rect); rect 95 modules/core/misc/java/test/RectTest.java assertEquals(0, rect.x); rect 96 modules/core/misc/java/test/RectTest.java assertEquals(0, rect.y); rect 97 modules/core/misc/java/test/RectTest.java assertEquals(10, rect.width); rect 98 modules/core/misc/java/test/RectTest.java assertEquals(10, rect.height); rect 147 modules/core/misc/java/test/RectTest.java assertEquals(s2, rect.size()); rect 152 modules/core/misc/java/test/RectTest.java p_tl = rect.tl(); rect 158 modules/core/misc/java/test/RectTest.java String actual = rect.toString(); rect 1256 modules/core/src/array.cpp cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ) rect 1267 modules/core/src/array.cpp if( (rect.x|rect.y|rect.width|rect.height) < 0 ) rect 1270 modules/core/src/array.cpp if( rect.x + rect.width > mat->cols || rect 1271 modules/core/src/array.cpp rect.y + rect.height > mat->rows ) rect 1283 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + (size_t)rect.y*mat->step + rect 1284 modules/core/src/array.cpp rect.x*CV_ELEM_SIZE(mat->type); rect 1286 modules/core/src/array.cpp submat->type = (mat->type & (rect.width < mat->cols ? ~CV_MAT_CONT_FLAG : -1)) | rect 1287 modules/core/src/array.cpp (rect.height <= 1 ? CV_MAT_CONT_FLAG : 0); rect 1288 modules/core/src/array.cpp submat->rows = rect.height; rect 1289 modules/core/src/array.cpp submat->cols = rect.width; rect 3008 modules/core/src/array.cpp cvSetImageROI( IplImage* image, CvRect rect ) rect 3014 modules/core/src/array.cpp CV_Assert( rect.width >= 0 && rect.height >= 0 && rect 3015 modules/core/src/array.cpp rect.x < image->width && rect.y < image->height && rect 3016 modules/core/src/array.cpp rect.x + rect.width >= (int)(rect.width > 0) && rect 3017 modules/core/src/array.cpp rect.y + rect.height >= (int)(rect.height > 0) ); rect 3019 modules/core/src/array.cpp rect.width += rect.x; rect 3020 modules/core/src/array.cpp rect.height += rect.y; rect 3022 modules/core/src/array.cpp rect.x = std::max(rect.x, 0); rect 3023 modules/core/src/array.cpp rect.y = std::max(rect.y, 0); rect 3024 modules/core/src/array.cpp rect.width = std::min(rect.width, image->width); rect 3025 modules/core/src/array.cpp rect.height = std::min(rect.height, image->height); rect 3027 modules/core/src/array.cpp rect.width -= rect.x; rect 3028 modules/core/src/array.cpp rect.height -= rect.y; rect 3032 modules/core/src/array.cpp image->roi->xOffset = rect.x; rect 3033 modules/core/src/array.cpp image->roi->yOffset = rect.y; rect 3034 modules/core/src/array.cpp image->roi->width = rect.width; rect 3035 modules/core/src/array.cpp image->roi->height = rect.height; rect 3038 modules/core/src/array.cpp image->roi = icvCreateROI( 0, rect.x, rect.y, rect.width, rect.height ); rect 3066 modules/core/src/array.cpp CvRect rect; rect 3071 modules/core/src/array.cpp rect = cvRect( img->roi->xOffset, img->roi->yOffset, rect 3074 modules/core/src/array.cpp rect = cvRect( 0, 0, img->width, img->height ); rect 3076 modules/core/src/array.cpp return rect; rect 4033 modules/core/src/persistence.cpp cvWriteInt( fs, "x", point_seq->rect.x ); rect 4034 modules/core/src/persistence.cpp cvWriteInt( fs, "y", point_seq->rect.y ); rect 4035 modules/core/src/persistence.cpp cvWriteInt( fs, "width", point_seq->rect.width ); rect 4036 modules/core/src/persistence.cpp cvWriteInt( fs, "height", point_seq->rect.height ); rect 4298 modules/core/src/persistence.cpp point_seq->rect.x = cvReadIntByName( fs, rect_node, "x", 0 ); rect 4299 modules/core/src/persistence.cpp point_seq->rect.y = cvReadIntByName( fs, rect_node, "y", 0 ); rect 4300 modules/core/src/persistence.cpp point_seq->rect.width = cvReadIntByName( fs, rect_node, "width", 0 ); rect 4301 modules/core/src/persistence.cpp point_seq->rect.height = cvReadIntByName( fs, rect_node, "height", 0 ); rect 701 modules/core/test/test_operations.cpp Mat_<uchar> rect(eye, Rect(0, 0, 1, 1)); rect 702 modules/core/test/test_operations.cpp if (rect.cols != 1 || rect.rows != 1 || rect(0,0) != uchar_data[0]) throw test_excep(); rect 669 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void rectStdDev(InputArray src, InputArray sqr, OutputArray dst, Rect rect, Stream& stream = Stream::Null()); rect 186 modules/cudaarithm/src/reductions.cpp void cv::cuda::rectStdDev(InputArray _src, InputArray _sqr, OutputArray _dst, Rect rect, Stream& _stream) rect 200 modules/cudaarithm/src/reductions.cpp nppRect.height = rect.height; rect 201 modules/cudaarithm/src/reductions.cpp nppRect.width = rect.width; rect 202 modules/cudaarithm/src/reductions.cpp nppRect.x = rect.x; rect 203 modules/cudaarithm/src/reductions.cpp nppRect.y = rect.y; rect 498 modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp NcvSize32u roi, NcvRect32u rect, rect 521 modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp NcvSize32u roi, NcvRect32u rect, rect 729 modules/cudalegacy/src/NCV.cpp NcvRect32u rect; rect 730 modules/cudalegacy/src/NCV.cpp rect.x = nr.x; rect 731 modules/cudalegacy/src/NCV.cpp rect.y = nr.y; rect 732 modules/cudalegacy/src/NCV.cpp rect.width = nr.width; rect 733 modules/cudalegacy/src/NCV.cpp rect.height = nr.height; rect 734 modules/cudalegacy/src/NCV.cpp return rect; rect 831 modules/cudalegacy/src/NCV.cpp NcvRect32u rect = h_rects[i]; rect 833 modules/cudalegacy/src/NCV.cpp if (rect.x < dstWidth) rect 835 modules/cudalegacy/src/NCV.cpp for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) rect 837 modules/cudalegacy/src/NCV.cpp h_dst[each*dstStride+rect.x] = color; rect 840 modules/cudalegacy/src/NCV.cpp if (rect.x+rect.width-1 < dstWidth) rect 842 modules/cudalegacy/src/NCV.cpp for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) rect 844 modules/cudalegacy/src/NCV.cpp h_dst[each*dstStride+rect.x+rect.width-1] = color; rect 847 modules/cudalegacy/src/NCV.cpp if (rect.y < dstHeight) rect 849 modules/cudalegacy/src/NCV.cpp for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++) rect 851 modules/cudalegacy/src/NCV.cpp h_dst[rect.y*dstStride+j] = color; rect 854 modules/cudalegacy/src/NCV.cpp if (rect.y + rect.height - 1 < dstHeight) rect 856 modules/cudalegacy/src/NCV.cpp for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++) rect 858 modules/cudalegacy/src/NCV.cpp h_dst[(rect.y+rect.height-1)*dstStride+j] = color; rect 385 modules/cudalegacy/src/fgd.cpp if (cnt->rect.width * cnt->rect.height < params.minArea || (params.is_obj_without_holes && CV_IS_SEQ_HOLE(seq))) rect 231 modules/cudalegacy/test/TestHaarCascadeApplication.cpp const NcvRect32u rect( rect 240 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NcvSize32u(searchRoi.width, searchRoi.height), rect, rect 54 modules/cudalegacy/test/TestRectStdDev.cpp rect(rect_), rect 65 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "rect=[" << rect.x << ", " << rect.y << ", " << rect.width << ", " << rect.height << "]\n"; rect 83 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32s _normWidth = (Ncv32s)this->width - this->rect.x - this->rect.width + 1; rect 84 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32s _normHeight = (Ncv32s)this->height - this->rect.y - this->rect.height + 1; rect 151 modules/cudalegacy/test/TestRectStdDev.cpp szNormRoi, this->rect, rect 172 modules/cudalegacy/test/TestRectStdDev.cpp szNormRoi, this->rect, rect 55 modules/cudalegacy/test/TestRectStdDev.h Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor, rect 70 modules/cudalegacy/test/TestRectStdDev.h NcvRect32u rect; rect 100 modules/cudalegacy/test/main_nvidia.cpp NcvRect32u rect(1,1,18,18); rect 107 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i*2, i, rect, 1, true)); rect 108 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i*2, i, rect, 1.5, false)); rect 109 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i-1, i*2-1, rect, 1, false)); rect 110 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i-1, i*2-1, rect, 2.5, true)); rect 113 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev("RectStdDev_VGA", src, 640, 480, rect, 1, true)); rect 756 modules/cudaobjdetect/src/cascadeclassifier.cpp FileNode rect = (*f_it)[CUDA_CC_RECT]; rect 757 modules/cudaobjdetect/src/cascadeclassifier.cpp FileNodeIterator r_it = rect.begin(); rect 1071 modules/features2d/src/mser.cpp RotatedRect rect = fitEllipse(Mat(msers[i])); rect 1072 modules/features2d/src/mser.cpp float diam = std::sqrt(rect.size.height*rect.size.width); rect 1074 modules/features2d/src/mser.cpp if( diam > std::numeric_limits<float>::epsilon() && r.contains(rect.center) && rect 1075 modules/features2d/src/mser.cpp (mask.empty() || mask.at<uchar>(cvRound(rect.center.y), cvRound(rect.center.x)) != 0) ) rect 1076 modules/features2d/src/mser.cpp keypoints.push_back( KeyPoint(rect.center, diam) ); rect 223 modules/highgui/src/window_carbon.cpp CGRect rect; rect 234 modules/highgui/src/window_carbon.cpp rect.origin = origin; rect.size = size; rect 240 modules/highgui/src/window_carbon.cpp rect.origin = origin; rect.size = size; rect 247 modules/highgui/src/window_carbon.cpp CGContextDrawImage(myContext,rect,window->imageRef); rect 305 modules/highgui/src/window_w32.cpp icvLoadWindowPos( const char* name, CvRect& rect ) rect 312 modules/highgui/src/window_w32.cpp rect.x = rect.y = CW_USEDEFAULT; rect 313 modules/highgui/src/window_w32.cpp rect.width = rect.height = 320; rect 321 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Left", NULL, &dwType, (BYTE*)&rect.x, &dwSize); rect 322 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Top", NULL, &dwType, (BYTE*)&rect.y, &dwSize); rect 323 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Width", NULL, &dwType, (BYTE*)&rect.width, &dwSize); rect 324 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Height", NULL, &dwType, (BYTE*)&rect.height, &dwSize); rect 326 modules/highgui/src/window_w32.cpp if( rect.x != (int)CW_USEDEFAULT && (rect.x < -200 || rect.x > 3000) ) rect 327 modules/highgui/src/window_w32.cpp rect.x = 100; rect 328 modules/highgui/src/window_w32.cpp if( rect.y != (int)CW_USEDEFAULT && (rect.y < -200 || rect.y > 3000) ) rect 329 modules/highgui/src/window_w32.cpp rect.y = 100; rect 331 modules/highgui/src/window_w32.cpp if( rect.width != (int)CW_USEDEFAULT && (rect.width < 0 || rect.width > 3000) ) rect 332 modules/highgui/src/window_w32.cpp rect.width = 100; rect 333 modules/highgui/src/window_w32.cpp if( rect.height != (int)CW_USEDEFAULT && (rect.height < 0 || rect.height > 3000) ) rect 334 modules/highgui/src/window_w32.cpp rect.height = 100; rect 345 modules/highgui/src/window_w32.cpp icvSaveWindowPos( const char* name, CvRect rect ) rect 399 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Left", 0, REG_DWORD, (BYTE*)&rect.x, sizeof(rect.x)); rect 400 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Top", 0, REG_DWORD, (BYTE*)&rect.y, sizeof(rect.y)); rect 401 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Width", 0, REG_DWORD, (BYTE*)&rect.width, sizeof(rect.width)); rect 402 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Height", 0, REG_DWORD, (BYTE*)&rect.height, sizeof(rect.height)); rect 465 modules/highgui/src/window_w32.cpp RECT rect; rect 466 modules/highgui/src/window_w32.cpp GetWindowRect(window->frame, &rect); rect 467 modules/highgui/src/window_w32.cpp CvRect RectCV = cvRect(rect.left, rect.top,rect.right - rect.left, rect.bottom - rect.top); rect 473 modules/highgui/src/window_w32.cpp hMonitor = MonitorFromRect(&rect, MONITOR_DEFAULTTONEAREST); rect 719 modules/highgui/src/window_w32.cpp CvRect rect; rect 747 modules/highgui/src/window_w32.cpp icvLoadWindowPos( name, rect ); rect 750 modules/highgui/src/window_w32.cpp rect.x, rect.y, rect.width, rect.height, 0, 0, hg_hinstance, 0 ); rect 757 modules/highgui/src/window_w32.cpp hWnd = CreateWindow("HighGUI class", "", (defStyle & ~WS_SIZEBOX) | WS_CHILD, CW_USEDEFAULT, 0, rect.width, rect.height, mainhWnd, 0, hg_hinstance, 0); rect 984 modules/highgui/src/window_w32.cpp static void icvScreenToClient( HWND hwnd, RECT* rect ) rect 987 modules/highgui/src/window_w32.cpp p.x = rect->left; rect 988 modules/highgui/src/window_w32.cpp p.y = rect->top; rect 990 modules/highgui/src/window_w32.cpp OffsetRect( rect, p.x - rect->left, p.y - rect->top ); rect 998 modules/highgui/src/window_w32.cpp RECT crect, trect, rect; rect 1007 modules/highgui/src/window_w32.cpp SubtractRect( &rect, &crect, &trect); rect 1010 modules/highgui/src/window_w32.cpp rect = crect; rect 1012 modules/highgui/src/window_w32.cpp rect.top += gutter; rect 1013 modules/highgui/src/window_w32.cpp rect.left += gutter; rect 1014 modules/highgui/src/window_w32.cpp rect.bottom -= gutter; rect 1015 modules/highgui/src/window_w32.cpp rect.right -= gutter; rect 1017 modules/highgui/src/window_w32.cpp return rect; rect 1054 modules/highgui/src/window_w32.cpp RECT rect; rect 1079 modules/highgui/src/window_w32.cpp rect = icvCalcWindowRect(window); rect 1080 modules/highgui/src/window_w32.cpp MoveWindow(window->hwnd, rect.left, rect.top, rect 1081 modules/highgui/src/window_w32.cpp rect.right - rect.left + 1, rect 1082 modules/highgui/src/window_w32.cpp rect.bottom - rect.top + 1, TRUE ); rect 1235 modules/highgui/src/window_w32.cpp RECT rect; rect 1236 modules/highgui/src/window_w32.cpp GetClientRect(w_hWnd, &rect); rect 1237 modules/highgui/src/window_w32.cpp StretchDIBits( hdc, 0, 0, rect.right, rect.bottom, 0, 0, image->width, image->height, dst_ptr, &tempbinfo, DIB_RGB_COLORS, SRCCOPY ); rect 1254 modules/highgui/src/window_w32.cpp RECT rmw, rw, rect; rect 1278 modules/highgui/src/window_w32.cpp rect = icvCalcWindowRect(window); rect 1279 modules/highgui/src/window_w32.cpp MoveWindow(window->hwnd, rect.left, rect.top, rect 1280 modules/highgui/src/window_w32.cpp rect.right - rect.left + 1, rect.bottom - rect.top + 1, TRUE); rect 1293 modules/highgui/src/window_w32.cpp RECT rect; rect 1302 modules/highgui/src/window_w32.cpp GetWindowRect( window->frame, &rect ); rect 1303 modules/highgui/src/window_w32.cpp MoveWindow( window->frame, x, y, rect.right - rect.left, rect.bottom - rect.top, TRUE); rect 1333 modules/highgui/src/window_w32.cpp RECT rect; rect 1341 modules/highgui/src/window_w32.cpp GetWindowRect( window->toolbar.first->hwnd, &rect ); rect 1342 modules/highgui/src/window_w32.cpp minmax->ptMinTrackSize.y += window->toolbar.rows*(rect.bottom - rect.top); rect 1343 modules/highgui/src/window_w32.cpp minmax->ptMinTrackSize.x = MAX(rect.right - rect.left + HG_BUDDY_WIDTH, HG_BUDDY_WIDTH*2); rect 1356 modules/highgui/src/window_w32.cpp RECT rect; rect 1357 modules/highgui/src/window_w32.cpp GetWindowRect(window->toolbar.toolbar, &rect); rect 1358 modules/highgui/src/window_w32.cpp MoveWindow(window->toolbar.toolbar, 0, 0, pos->cx, rect.bottom - rect.top, TRUE); rect 1372 modules/highgui/src/window_w32.cpp RECT rect; rect 1373 modules/highgui/src/window_w32.cpp GetWindowRect(window->frame, &rect); rect 1376 modules/highgui/src/window_w32.cpp hMonitor = MonitorFromRect(&rect, MONITOR_DEFAULTTONEAREST); rect 1423 modules/highgui/src/window_w32.cpp RECT rect; rect 1424 modules/highgui/src/window_w32.cpp GetClientRect( window->hwnd, &rect ); rect 1429 modules/highgui/src/window_w32.cpp window->on_mouse( event, pt.x*size.cx/MAX(rect.right - rect.left,1), rect 1430 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, rect 1562 modules/highgui/src/window_w32.cpp RECT rect = icvCalcWindowRect(window); rect 1563 modules/highgui/src/window_w32.cpp pos->x = rect.left; rect 1564 modules/highgui/src/window_w32.cpp pos->y = rect.top; rect 1565 modules/highgui/src/window_w32.cpp pos->cx = rect.right - rect.left + 1; rect 1566 modules/highgui/src/window_w32.cpp pos->cy = rect.bottom - rect.top + 1; rect 1615 modules/highgui/src/window_w32.cpp RECT rect; rect 1618 modules/highgui/src/window_w32.cpp GetClientRect( window->hwnd, &rect ); rect 1621 modules/highgui/src/window_w32.cpp window->on_mouse( event, pt.x*size.cx/MAX(rect.right - rect.left,1), rect 1622 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, rect 1661 modules/highgui/src/window_w32.cpp RECT rect; rect 1662 modules/highgui/src/window_w32.cpp GetClientRect(window->hwnd, &rect); rect 1663 modules/highgui/src/window_w32.cpp StretchBlt( hdc, 0, 0, rect.right - rect.left, rect.bottom - rect.top, rect 1818 modules/highgui/src/window_w32.cpp RECT rect; rect 1820 modules/highgui/src/window_w32.cpp (WPARAM)trackbar->id, (LPARAM)&rect); rect 1821 modules/highgui/src/window_w32.cpp MoveWindow(trackbar->hwnd, rect.left + HG_BUDDY_WIDTH, rect.top, rect 1822 modules/highgui/src/window_w32.cpp rect.right - rect.left - HG_BUDDY_WIDTH, rect 1823 modules/highgui/src/window_w32.cpp rect.bottom - rect.top, FALSE); rect 1824 modules/highgui/src/window_w32.cpp MoveWindow(trackbar->buddy, rect.left, rect.top, rect 1825 modules/highgui/src/window_w32.cpp HG_BUDDY_WIDTH, rect.bottom - rect.top, FALSE); rect 2024 modules/highgui/src/window_w32.cpp RECT rect; rect 2041 modules/highgui/src/window_w32.cpp GetClientRect(window->frame, &rect); rect 2043 modules/highgui/src/window_w32.cpp rect.right - rect.left, default_height, TRUE); rect 2104 modules/highgui/src/window_w32.cpp GetClientRect(window->hwnd, &rect); rect 2105 modules/highgui/src/window_w32.cpp tbis.cx = (unsigned short)(rect.right - rect.left); rect 2112 modules/highgui/src/window_w32.cpp (WPARAM)tbs.idCommand, (LPARAM)&rect); rect 2132 modules/highgui/src/window_w32.cpp rect.left + HG_BUDDY_WIDTH, rect.top, rect 2133 modules/highgui/src/window_w32.cpp rect.right - rect.left - HG_BUDDY_WIDTH, rect 2134 modules/highgui/src/window_w32.cpp rect.bottom - rect.top, window->toolbar.toolbar, rect 2140 modules/highgui/src/window_w32.cpp rect.left, rect.top, rect 2141 modules/highgui/src/window_w32.cpp HG_BUDDY_WIDTH, rect.bottom - rect.top, rect 2148 modules/highgui/src/window_w32.cpp MAKEWPARAM(1, FALSE), (LPARAM)&rect ); rect 896 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP Subdiv2D(Rect rect); rect 897 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void initDelaunay(Rect rect); rect 3055 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void grabCut( InputArray img, InputOutputArray mask, Rect rect, rect 3144 modules/imgproc/include/opencv2/imgproc.hpp Point seedPoint, Scalar newVal, CV_OUT Rect* rect = 0, rect 3219 modules/imgproc/include/opencv2/imgproc.hpp Point seedPoint, Scalar newVal, CV_OUT Rect* rect=0, rect 61 modules/imgproc/include/opencv2/imgproc/types_c.h CvRect rect; /**<ROI of the component */ rect 120 modules/imgproc/src/contours.cpp CvRect rect; /* bounding rectangle */ rect 230 modules/imgproc/src/contours.cpp scanner->frame_info.rect = cvRect( 0, 0, size.width, size.height ); rect 680 modules/imgproc/src/contours.cpp CvRect rect; rect 697 modules/imgproc/src/contours.cpp rect.x = rect.width = pt.x; rect 698 modules/imgproc/src/contours.cpp rect.y = rect.height = pt.y; rect 761 modules/imgproc/src/contours.cpp if( pt.x < rect.x ) rect 762 modules/imgproc/src/contours.cpp rect.x = pt.x; rect 763 modules/imgproc/src/contours.cpp else if( pt.x > rect.width ) rect 764 modules/imgproc/src/contours.cpp rect.width = pt.x; rect 766 modules/imgproc/src/contours.cpp if( pt.y < rect.y ) rect 767 modules/imgproc/src/contours.cpp rect.y = pt.y; rect 768 modules/imgproc/src/contours.cpp else if( pt.y > rect.height ) rect 769 modules/imgproc/src/contours.cpp rect.height = pt.y; rect 783 modules/imgproc/src/contours.cpp rect.width -= rect.x - 1; rect 784 modules/imgproc/src/contours.cpp rect.height -= rect.y - 1; rect 789 modules/imgproc/src/contours.cpp ((CvContour*)contour)->rect = rect; rect 796 modules/imgproc/src/contours.cpp if( _rect ) *_rect = rect; rect 865 modules/imgproc/src/contours.cpp CvRect rect; rect 887 modules/imgproc/src/contours.cpp rect.x = rect.width = pt.x; rect 888 modules/imgproc/src/contours.cpp rect.y = rect.height = pt.y; rect 950 modules/imgproc/src/contours.cpp if( pt.x < rect.x ) rect 951 modules/imgproc/src/contours.cpp rect.x = pt.x; rect 952 modules/imgproc/src/contours.cpp else if( pt.x > rect.width ) rect 953 modules/imgproc/src/contours.cpp rect.width = pt.x; rect 955 modules/imgproc/src/contours.cpp if( pt.y < rect.y ) rect 956 modules/imgproc/src/contours.cpp rect.y = pt.y; rect 957 modules/imgproc/src/contours.cpp else if( pt.y > rect.height ) rect 958 modules/imgproc/src/contours.cpp rect.height = pt.y; rect 972 modules/imgproc/src/contours.cpp rect.width -= rect.x - 1; rect 973 modules/imgproc/src/contours.cpp rect.height -= rect.y - 1; rect 978 modules/imgproc/src/contours.cpp ((CvContour*)contour)->rect = rect; rect 985 modules/imgproc/src/contours.cpp if( _rect ) *_rect = rect; rect 1089 modules/imgproc/src/contours.cpp if( (unsigned) (lnbd.x - cur->rect.x) < (unsigned) cur->rect.width && rect 1090 modules/imgproc/src/contours.cpp (unsigned) (lnbd.y - cur->rect.y) < (unsigned) cur->rect.height ) rect 1162 modules/imgproc/src/contours.cpp &(l_cinfo->rect) ); rect 1174 modules/imgproc/src/contours.cpp lval, &(l_cinfo->rect) ); rect 1176 modules/imgproc/src/contours.cpp l_cinfo->rect.x -= scanner->offset.x; rect 1177 modules/imgproc/src/contours.cpp l_cinfo->rect.y -= scanner->offset.y; rect 502 modules/imgproc/src/convhull.cpp hull.c->rect = cvBoundingRect( ptseq, rect 99 modules/imgproc/src/floodfill.cpp Rect rect; rect 117 modules/imgproc/src/floodfill.cpp rect = Rect(0, 0, 0, 0); rect 213 modules/imgproc/src/floodfill.cpp region->rect.x = XMin; rect 214 modules/imgproc/src/floodfill.cpp region->rect.y = YMin; rect 215 modules/imgproc/src/floodfill.cpp region->rect.width = XMax - XMin + 1; rect 216 modules/imgproc/src/floodfill.cpp region->rect.height = YMax - YMin + 1; rect 445 modules/imgproc/src/floodfill.cpp region->rect.x = XMin; rect 446 modules/imgproc/src/floodfill.cpp region->rect.y = YMin; rect 447 modules/imgproc/src/floodfill.cpp region->rect.width = XMax - XMin + 1; rect 448 modules/imgproc/src/floodfill.cpp region->rect.height = YMax - YMin + 1; rect 459 modules/imgproc/src/floodfill.cpp Point seedPoint, Scalar newVal, Rect* rect, rect 465 modules/imgproc/src/floodfill.cpp if( rect ) rect 466 modules/imgproc/src/floodfill.cpp *rect = Rect(); rect 540 modules/imgproc/src/floodfill.cpp if( rect ) rect 541 modules/imgproc/src/floodfill.cpp *rect = comp.rect; rect 622 modules/imgproc/src/floodfill.cpp if( rect ) rect 623 modules/imgproc/src/floodfill.cpp *rect = comp.rect; rect 629 modules/imgproc/src/floodfill.cpp Scalar newVal, Rect* rect, rect 632 modules/imgproc/src/floodfill.cpp return floodFill(_image, Mat(), seedPoint, newVal, rect, loDiff, upDiff, flags); rect 646 modules/imgproc/src/floodfill.cpp comp ? (cv::Rect*)&comp->rect : 0, rect 345 modules/imgproc/src/grabcut.cpp static void initMaskWithRect( Mat& mask, Size imgSize, Rect rect ) rect 350 modules/imgproc/src/grabcut.cpp rect.x = std::max(0, rect.x); rect 351 modules/imgproc/src/grabcut.cpp rect.y = std::max(0, rect.y); rect 352 modules/imgproc/src/grabcut.cpp rect.width = std::min(rect.width, imgSize.width-rect.x); rect 353 modules/imgproc/src/grabcut.cpp rect.height = std::min(rect.height, imgSize.height-rect.y); rect 355 modules/imgproc/src/grabcut.cpp (mask(rect)).setTo( Scalar(GC_PR_FGD) ); rect 528 modules/imgproc/src/grabcut.cpp void cv::grabCut( InputArray _img, InputOutputArray _mask, Rect rect, rect 548 modules/imgproc/src/grabcut.cpp initMaskWithRect( mask, img.size(), rect ); rect 338 modules/imgproc/src/lsd.cpp const double prec, const double p, rect& rec) const; rect 354 modules/imgproc/src/lsd.cpp const double prec, double p, rect& rec, const double& density_th); rect 361 modules/imgproc/src/lsd.cpp const double prec, double p, rect& rec, double density, const double& density_th); rect 367 modules/imgproc/src/lsd.cpp double rect_improve(rect& rec) const; rect 373 modules/imgproc/src/lsd.cpp double rect_nfa(const rect& rec) const; rect 489 modules/imgproc/src/lsd.cpp rect rec; rect 689 modules/imgproc/src/lsd.cpp const double reg_angle, const double prec, const double p, rect& rec) const rect 785 modules/imgproc/src/lsd.cpp const double prec, double p, rect& rec, const double& density_th) rect 833 modules/imgproc/src/lsd.cpp const double prec, double p, rect& rec, double density, const double& density_th) rect 871 modules/imgproc/src/lsd.cpp double LineSegmentDetectorImpl::rect_improve(rect& rec) const rect 882 modules/imgproc/src/lsd.cpp rect r = rect(rec); // Copy rect 891 modules/imgproc/src/lsd.cpp rec = rect(r); rect 897 modules/imgproc/src/lsd.cpp r = rect(rec); rect 906 modules/imgproc/src/lsd.cpp rec = rect(r); rect 914 modules/imgproc/src/lsd.cpp r = rect(rec); rect 927 modules/imgproc/src/lsd.cpp rec = rect(r); rect 935 modules/imgproc/src/lsd.cpp r = rect(rec); rect 948 modules/imgproc/src/lsd.cpp rec = rect(r); rect 956 modules/imgproc/src/lsd.cpp r = rect(rec); rect 966 modules/imgproc/src/lsd.cpp rec = rect(r); rect 975 modules/imgproc/src/lsd.cpp double LineSegmentDetectorImpl::rect_nfa(const rect& rec) const rect 53 modules/imgproc/src/samplers.cpp Rect rect; rect 58 modules/imgproc/src/samplers.cpp rect.x = 0; rect 62 modules/imgproc/src/samplers.cpp rect.x = -ip.x; rect 63 modules/imgproc/src/samplers.cpp if( rect.x > win_size.width ) rect 64 modules/imgproc/src/samplers.cpp rect.x = win_size.width; rect 68 modules/imgproc/src/samplers.cpp rect.width = win_size.width; rect 71 modules/imgproc/src/samplers.cpp rect.width = src_size.width - ip.x - 1; rect 72 modules/imgproc/src/samplers.cpp if( rect.width < 0 ) rect 74 modules/imgproc/src/samplers.cpp src += rect.width*pix_size; rect 75 modules/imgproc/src/samplers.cpp rect.width = 0; rect 77 modules/imgproc/src/samplers.cpp assert( rect.width <= win_size.width ); rect 83 modules/imgproc/src/samplers.cpp rect.y = 0; rect 86 modules/imgproc/src/samplers.cpp rect.y = -ip.y; rect 89 modules/imgproc/src/samplers.cpp rect.height = win_size.height; rect 92 modules/imgproc/src/samplers.cpp rect.height = src_size.height - ip.y - 1; rect 93 modules/imgproc/src/samplers.cpp if( rect.height < 0 ) rect 95 modules/imgproc/src/samplers.cpp src += rect.height*src_step; rect 96 modules/imgproc/src/samplers.cpp rect.height = 0; rect 100 modules/imgproc/src/samplers.cpp *pRect = rect; rect 101 modules/imgproc/src/samplers.cpp return src - rect.x*pix_size; rect 1048 modules/imgproc/src/shapedescr.cpp CvRect rect; rect 1086 modules/imgproc/src/shapedescr.cpp return ((CvContour*)ptseq)->rect; rect 1090 modules/imgproc/src/shapedescr.cpp rect = cv::maskBoundingRect(cv::cvarrToMat(mat)); rect 1095 modules/imgproc/src/shapedescr.cpp rect = cv::pointSetBoundingRect(cv::cvarrToMat(ptseq, false, false, 0, &abuf)); rect 1098 modules/imgproc/src/shapedescr.cpp ((CvContour*)ptseq)->rect = rect; rect 1099 modules/imgproc/src/shapedescr.cpp return rect; rect 111 modules/imgproc/src/subdivision2d.cpp Subdiv2D::Subdiv2D(Rect rect) rect 118 modules/imgproc/src/subdivision2d.cpp initDelaunay(rect); rect 486 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::initDelaunay( Rect rect ) rect 488 modules/imgproc/src/subdivision2d.cpp float big_coord = 3.f * MAX( rect.width, rect.height ); rect 489 modules/imgproc/src/subdivision2d.cpp float rx = (float)rect.x; rect 490 modules/imgproc/src/subdivision2d.cpp float ry = (float)rect.y; rect 499 modules/imgproc/src/subdivision2d.cpp bottomRight = Point2f( rx + rect.width, ry + rect.height ); rect 111 modules/imgproc/test/test_boundingrect.cpp cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) }; rect 113 modules/imgproc/test/test_boundingrect.cpp for (int i = 0; i < 2; ++i) if (rect[i] != right) rect 127 modules/imgproc/test/test_boundingrect.cpp cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl; rect 201 modules/imgproc/test/test_floodfill.cpp odata[1] = comp.rect.x; rect 202 modules/imgproc/test/test_floodfill.cpp odata[2] = comp.rect.y; rect 203 modules/imgproc/test/test_floodfill.cpp odata[3] = comp.rect.width; rect 204 modules/imgproc/test/test_floodfill.cpp odata[4] = comp.rect.height; rect 214 modules/imgproc/test/test_floodfill.cpp cv::Rect rect; rect 217 modules/imgproc/test/test_floodfill.cpp area = cv::floodFill( img, seed_pt, new_val, &rect, l_diff, u_diff, flags ); rect 219 modules/imgproc/test/test_floodfill.cpp area = cv::floodFill( img, mask, seed_pt, new_val, &rect, l_diff, u_diff, flags ); rect 221 modules/imgproc/test/test_floodfill.cpp odata[1] = rect.x; rect 222 modules/imgproc/test/test_floodfill.cpp odata[2] = rect.y; rect 223 modules/imgproc/test/test_floodfill.cpp odata[3] = rect.width; rect 224 modules/imgproc/test/test_floodfill.cpp odata[4] = rect.height; rect 92 modules/imgproc/test/test_grabcut.cpp Rect rect(Point(24, 126), Point(483, 294)); rect 98 modules/imgproc/test/test_grabcut.cpp grabCut( img, mask, rect, bgdModel, fgdModel, 0, GC_INIT_WITH_RECT ); rect 99 modules/imgproc/test/test_grabcut.cpp grabCut( img, mask, rect, bgdModel, fgdModel, 2, GC_EVAL ); rect 122 modules/imgproc/test/test_grabcut.cpp rect = Rect(); rect 123 modules/imgproc/test/test_grabcut.cpp grabCut( img, mask, rect, bgdModel, fgdModel, 0, GC_INIT_WITH_MASK ); rect 124 modules/imgproc/test/test_grabcut.cpp grabCut( img, mask, rect, bgdModel, fgdModel, 1, GC_EVAL ); rect 192 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp TrackedObject(const cv::Rect& rect):numDetectedFrames(1), numFramesNotDetected(0) rect 194 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp lastPositions.push_back(rect); rect 80 modules/objdetect/include/opencv2/objdetect/objdetect_c.h } rect[CV_HAAR_FEATURE_MAX]; rect 119 modules/objdetect/include/opencv2/objdetect/objdetect_c.h CvRect rect; rect 536 modules/objdetect/src/cascadedetect.cpp rect[ri].r = Rect(); rect 537 modules/objdetect/src/cascadedetect.cpp rect[ri].weight = 0.f; rect 543 modules/objdetect/src/cascadedetect.cpp it2 >> rect[ri].r.x >> rect[ri].r.y >> rect 544 modules/objdetect/src/cascadedetect.cpp rect[ri].r.width >> rect[ri].r.height >> rect[ri].weight; rect 714 modules/objdetect/src/cascadedetect.cpp weight[0] = _f.rect[0].weight; rect 715 modules/objdetect/src/cascadedetect.cpp weight[1] = _f.rect[1].weight; rect 716 modules/objdetect/src/cascadedetect.cpp weight[2] = _f.rect[2].weight; rect 720 modules/objdetect/src/cascadedetect.cpp CV_TILTED_OFS( ofs[0][0], ofs[0][1], ofs[0][2], ofs[0][3], _tofs, _f.rect[0].r, step ); rect 721 modules/objdetect/src/cascadedetect.cpp CV_TILTED_OFS( ofs[1][0], ofs[1][1], ofs[1][2], ofs[1][3], _tofs, _f.rect[1].r, step ); rect 722 modules/objdetect/src/cascadedetect.cpp CV_TILTED_OFS( ofs[2][0], ofs[2][1], ofs[2][2], ofs[2][3], _tofs, _f.rect[2].r, step ); rect 726 modules/objdetect/src/cascadedetect.cpp CV_SUM_OFS( ofs[0][0], ofs[0][1], ofs[0][2], ofs[0][3], 0, _f.rect[0].r, step ); rect 727 modules/objdetect/src/cascadedetect.cpp CV_SUM_OFS( ofs[1][0], ofs[1][1], ofs[1][2], ofs[1][3], 0, _f.rect[1].r, step ); rect 728 modules/objdetect/src/cascadedetect.cpp CV_SUM_OFS( ofs[2][0], ofs[2][1], ofs[2][2], ofs[2][3], 0, _f.rect[2].r, step ); rect 747 modules/objdetect/src/cascadedetect.cpp it >> rect.x >> rect.y >> rect.width >> rect.height; rect 831 modules/objdetect/src/cascadedetect.cpp Rect tr = _f.rect; rect 1040 modules/objdetect/src/cascadedetect.cpp struct getRect { Rect operator ()(const CvAvgComp& e) const { return e.rect; } }; rect 258 modules/objdetect/src/cascadedetect.hpp #define CV_SUM_PTRS( p0, p1, p2, p3, sum, rect, step ) \ rect 260 modules/objdetect/src/cascadedetect.hpp (p0) = sum + (rect).x + (step) * (rect).y, \ rect 262 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ rect 264 modules/objdetect/src/cascadedetect.hpp (p2) = sum + (rect).x + (step) * ((rect).y + (rect).height), \ rect 266 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) rect 268 modules/objdetect/src/cascadedetect.hpp #define CV_TILTED_PTRS( p0, p1, p2, p3, tilted, rect, step ) \ rect 270 modules/objdetect/src/cascadedetect.hpp (p0) = tilted + (rect).x + (step) * (rect).y, \ rect 272 modules/objdetect/src/cascadedetect.hpp (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ rect 274 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ rect 276 modules/objdetect/src/cascadedetect.hpp (p3) = tilted + (rect).x + (rect).width - (rect).height \ rect 277 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) rect 282 modules/objdetect/src/cascadedetect.hpp #define CALC_SUM(rect,offset) CALC_SUM_((rect)[0], (rect)[1], (rect)[2], (rect)[3], offset) rect 284 modules/objdetect/src/cascadedetect.hpp #define CV_SUM_OFS( p0, p1, p2, p3, sum, rect, step ) \ rect 286 modules/objdetect/src/cascadedetect.hpp (p0) = sum + (rect).x + (step) * (rect).y, \ rect 288 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ rect 290 modules/objdetect/src/cascadedetect.hpp (p2) = sum + (rect).x + (step) * ((rect).y + (rect).height), \ rect 292 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) rect 294 modules/objdetect/src/cascadedetect.hpp #define CV_TILTED_OFS( p0, p1, p2, p3, tilted, rect, step ) \ rect 296 modules/objdetect/src/cascadedetect.hpp (p0) = tilted + (rect).x + (step) * (rect).y, \ rect 298 modules/objdetect/src/cascadedetect.hpp (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ rect 300 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ rect 302 modules/objdetect/src/cascadedetect.hpp (p3) = tilted + (rect).x + (rect).width - (rect).height \ rect 303 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) rect 308 modules/objdetect/src/cascadedetect.hpp #define CALC_SUM(rect,offset) CALC_SUM_((rect)[0], (rect)[1], (rect)[2], (rect)[3], offset) rect 313 modules/objdetect/src/cascadedetect.hpp #define CALC_SUM_OFS(rect, ptr) CALC_SUM_OFS_((rect)[0], (rect)[1], (rect)[2], (rect)[3], ptr) rect 331 modules/objdetect/src/cascadedetect.hpp } rect[RECT_NUM]; rect 382 modules/objdetect/src/cascadedetect.hpp rect[0].r = rect[1].r = rect[2].r = Rect(); rect 383 modules/objdetect/src/cascadedetect.hpp rect[0].weight = rect[1].weight = rect[2].weight = 0; rect 415 modules/objdetect/src/cascadedetect.hpp rect(x, y, _block_w, _block_h) {} rect 419 modules/objdetect/src/cascadedetect.hpp Rect rect; // weight and height for block rect 459 modules/objdetect/src/cascadedetect.hpp rect = Rect(); rect 79 modules/objdetect/src/cascadedetect_convert.cpp rect[i].r = Rect(0,0,0,0); rect 80 modules/objdetect/src/cascadedetect_convert.cpp rect[i].weight = 0.f; rect 88 modules/objdetect/src/cascadedetect_convert.cpp } rect[RECT_NUM]; rect 164 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.x = (int)rnode[0]; rect 165 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.y = (int)rnode[1]; rect 166 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.width = (int)rnode[2]; rect 167 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.height = (int)rnode[3]; rect 168 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].weight = (float)rnode[4]; rect 250 modules/objdetect/src/cascadedetect_convert.cpp if( j >= 2 && fabs(f.rect[j].weight) < FLT_EPSILON ) rect 252 modules/objdetect/src/cascadedetect_convert.cpp newfs << "[" << f.rect[j].r.x << f.rect[j].r.y << rect 253 modules/objdetect/src/cascadedetect_convert.cpp f.rect[j].r.width << f.rect[j].r.height << f.rect[j].weight << "]"; rect 81 modules/objdetect/src/haar.cpp rect[CV_HAAR_FEATURE_MAX]; rect 238 modules/objdetect/src/haar.cpp if( classifier->haar_feature[l].rect[k].r.width ) rect 240 modules/objdetect/src/haar.cpp CvRect r = classifier->haar_feature[l].rect[k].r; rect 324 modules/objdetect/src/haar.cpp if( fabs(feature->rect[2].weight) < DBL_EPSILON || rect 325 modules/objdetect/src/haar.cpp feature->rect[2].r.width == 0 || rect 326 modules/objdetect/src/haar.cpp feature->rect[2].r.height == 0 ) rect 327 modules/objdetect/src/haar.cpp memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) ); rect 416 modules/objdetect/src/haar.cpp #define calc_sum(rect,offset) \ rect 417 modules/objdetect/src/haar.cpp ((rect).p0[offset] - (rect).p1[offset] - (rect).p2[offset] + (rect).p3[offset]) rect 419 modules/objdetect/src/haar.cpp #define calc_sumf(rect,offset) \ rect 420 modules/objdetect/src/haar.cpp static_cast<float>((rect).p0[offset] - (rect).p1[offset] - (rect).p2[offset] + (rect).p3[offset]) rect 534 modules/objdetect/src/haar.cpp if( !hidfeature->rect[k].p0 ) rect 536 modules/objdetect/src/haar.cpp r[k] = feature->rect[k].r; rect 594 modules/objdetect/src/haar.cpp const float orig_feature_size = (float)(feature->rect[k].r.width)*feature->rect[k].r.height; rect 610 modules/objdetect/src/haar.cpp hidfeature->rect[k].p0 = sum_elem_ptr(*sum, tr.y, tr.x); rect 611 modules/objdetect/src/haar.cpp hidfeature->rect[k].p1 = sum_elem_ptr(*sum, tr.y, tr.x + tr.width); rect 612 modules/objdetect/src/haar.cpp hidfeature->rect[k].p2 = sum_elem_ptr(*sum, tr.y + tr.height, tr.x); rect 613 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*sum, tr.y + tr.height, tr.x + tr.width); rect 617 modules/objdetect/src/haar.cpp hidfeature->rect[k].p2 = sum_elem_ptr(*tilted, tr.y + tr.width, tr.x + tr.width); rect 618 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*tilted, tr.y + tr.width + tr.height, rect 620 modules/objdetect/src/haar.cpp hidfeature->rect[k].p0 = sum_elem_ptr(*tilted, tr.y, tr.x); rect 621 modules/objdetect/src/haar.cpp hidfeature->rect[k].p1 = sum_elem_ptr(*tilted, tr.y + tr.height, tr.x - tr.height); rect 624 modules/objdetect/src/haar.cpp hidfeature->rect[k].weight = (float)(feature->rect[k].weight * correction_ratio); rect 629 modules/objdetect/src/haar.cpp sum0 += hidfeature->rect[k].weight * tr.width * tr.height; rect 632 modules/objdetect/src/haar.cpp hidfeature->rect[0].weight = (float)(-sum0/area0); rect 673 modules/objdetect/src/haar.cpp __m256 offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[0], p_offset), rect 674 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[0], p_offset), rect 675 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[0], p_offset), rect 676 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[0], p_offset), rect 677 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[0], p_offset), rect 678 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[0], p_offset), rect 679 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[0], p_offset), rect 680 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[0], p_offset)); rect 682 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, rect 683 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, rect 684 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, rect 685 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, rect 686 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, rect 687 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, rect 688 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, rect 689 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); rect 693 modules/objdetect/src/haar.cpp offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[1], p_offset), rect 694 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[1], p_offset), rect 695 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[1], p_offset), rect 696 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[1], p_offset), rect 697 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[1], p_offset), rect 698 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[1], p_offset), rect 699 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[1], p_offset), rect 700 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[1], p_offset)); rect 702 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, rect 703 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, rect 704 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, rect 705 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, rect 706 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, rect 707 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, rect 708 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, rect 709 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); rect 713 modules/objdetect/src/haar.cpp if( nodes[0]->feature.rect[2].p0 ) rect 714 modules/objdetect/src/haar.cpp tmp[0] = calc_sumf(nodes[0]->feature.rect[2], p_offset) * nodes[0]->feature.rect[2].weight; rect 715 modules/objdetect/src/haar.cpp if( nodes[1]->feature.rect[2].p0 ) rect 716 modules/objdetect/src/haar.cpp tmp[1] = calc_sumf(nodes[1]->feature.rect[2], p_offset) * nodes[1]->feature.rect[2].weight; rect 717 modules/objdetect/src/haar.cpp if( nodes[2]->feature.rect[2].p0 ) rect 718 modules/objdetect/src/haar.cpp tmp[2] = calc_sumf(nodes[2]->feature.rect[2], p_offset) * nodes[2]->feature.rect[2].weight; rect 719 modules/objdetect/src/haar.cpp if( nodes[3]->feature.rect[2].p0 ) rect 720 modules/objdetect/src/haar.cpp tmp[3] = calc_sumf(nodes[3]->feature.rect[2], p_offset) * nodes[3]->feature.rect[2].weight; rect 721 modules/objdetect/src/haar.cpp if( nodes[4]->feature.rect[2].p0 ) rect 722 modules/objdetect/src/haar.cpp tmp[4] = calc_sumf(nodes[4]->feature.rect[2], p_offset) * nodes[4]->feature.rect[2].weight; rect 723 modules/objdetect/src/haar.cpp if( nodes[5]->feature.rect[2].p0 ) rect 724 modules/objdetect/src/haar.cpp tmp[5] = calc_sumf(nodes[5]->feature.rect[2], p_offset) * nodes[5]->feature.rect[2].weight; rect 725 modules/objdetect/src/haar.cpp if( nodes[6]->feature.rect[2].p0 ) rect 726 modules/objdetect/src/haar.cpp tmp[6] = calc_sumf(nodes[6]->feature.rect[2], p_offset) * nodes[6]->feature.rect[2].weight; rect 727 modules/objdetect/src/haar.cpp if( nodes[7]->feature.rect[2].p0 ) rect 728 modules/objdetect/src/haar.cpp tmp[7] = calc_sumf(nodes[7]->feature.rect[2], p_offset) * nodes[7]->feature.rect[2].weight; rect 803 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 804 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 806 modules/objdetect/src/haar.cpp if( node->feature.rect[2].p0 ) rect 807 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; rect 944 modules/objdetect/src/haar.cpp __m256 offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[0], p_offset), rect 945 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[0], p_offset), rect 946 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[0], p_offset), rect 947 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[0], p_offset), rect 948 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[0], p_offset), rect 949 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[0], p_offset), rect 950 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[0], p_offset), rect 951 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[0], p_offset)); rect 953 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, rect 954 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, rect 955 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, rect 956 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, rect 957 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, rect 958 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, rect 959 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, rect 960 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); rect 964 modules/objdetect/src/haar.cpp offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[1], p_offset), rect 965 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[1], p_offset), rect 966 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[1], p_offset), rect 967 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[1], p_offset), rect 968 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[1], p_offset), rect 969 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[1], p_offset), rect 970 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[1], p_offset), rect 971 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[1], p_offset)); rect 973 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, rect 974 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, rect 975 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, rect 976 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, rect 977 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, rect 978 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, rect 979 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, rect 980 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); rect 1011 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 1012 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 1050 modules/objdetect/src/haar.cpp __m256 offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[0], p_offset), rect 1051 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[0], p_offset), rect 1052 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[0], p_offset), rect 1053 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[0], p_offset), rect 1054 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[0], p_offset), rect 1055 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[0], p_offset), rect 1056 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[0], p_offset), rect 1057 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[0], p_offset)); rect 1059 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, rect 1060 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, rect 1061 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, rect 1062 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, rect 1063 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, rect 1064 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, rect 1065 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, rect 1066 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); rect 1070 modules/objdetect/src/haar.cpp offset = _mm256_set_ps(calc_sumf(nodes[7]->feature.rect[1], p_offset), rect 1071 modules/objdetect/src/haar.cpp calc_sumf(nodes[6]->feature.rect[1], p_offset), rect 1072 modules/objdetect/src/haar.cpp calc_sumf(nodes[5]->feature.rect[1], p_offset), rect 1073 modules/objdetect/src/haar.cpp calc_sumf(nodes[4]->feature.rect[1], p_offset), rect 1074 modules/objdetect/src/haar.cpp calc_sumf(nodes[3]->feature.rect[1], p_offset), rect 1075 modules/objdetect/src/haar.cpp calc_sumf(nodes[2]->feature.rect[1], p_offset), rect 1076 modules/objdetect/src/haar.cpp calc_sumf(nodes[1]->feature.rect[1], p_offset), rect 1077 modules/objdetect/src/haar.cpp calc_sumf(nodes[0]->feature.rect[1], p_offset)); rect 1079 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, rect 1080 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, rect 1081 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, rect 1082 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, rect 1083 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, rect 1084 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, rect 1085 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, rect 1086 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); rect 1090 modules/objdetect/src/haar.cpp if( nodes[0]->feature.rect[2].p0 ) rect 1091 modules/objdetect/src/haar.cpp tmp[0] = calc_sumf(nodes[0]->feature.rect[2],p_offset) * nodes[0]->feature.rect[2].weight; rect 1092 modules/objdetect/src/haar.cpp if( nodes[1]->feature.rect[2].p0 ) rect 1093 modules/objdetect/src/haar.cpp tmp[1] = calc_sumf(nodes[1]->feature.rect[2],p_offset) * nodes[1]->feature.rect[2].weight; rect 1094 modules/objdetect/src/haar.cpp if( nodes[2]->feature.rect[2].p0 ) rect 1095 modules/objdetect/src/haar.cpp tmp[2] = calc_sumf(nodes[2]->feature.rect[2],p_offset) * nodes[2]->feature.rect[2].weight; rect 1096 modules/objdetect/src/haar.cpp if( nodes[3]->feature.rect[2].p0 ) rect 1097 modules/objdetect/src/haar.cpp tmp[3] = calc_sumf(nodes[3]->feature.rect[2],p_offset) * nodes[3]->feature.rect[2].weight; rect 1098 modules/objdetect/src/haar.cpp if( nodes[4]->feature.rect[2].p0 ) rect 1099 modules/objdetect/src/haar.cpp tmp[4] = calc_sumf(nodes[4]->feature.rect[2],p_offset) * nodes[4]->feature.rect[2].weight; rect 1100 modules/objdetect/src/haar.cpp if( nodes[5]->feature.rect[2].p0 ) rect 1101 modules/objdetect/src/haar.cpp tmp[5] = calc_sumf(nodes[5]->feature.rect[2],p_offset) * nodes[5]->feature.rect[2].weight; rect 1102 modules/objdetect/src/haar.cpp if( nodes[6]->feature.rect[2].p0 ) rect 1103 modules/objdetect/src/haar.cpp tmp[6] = calc_sumf(nodes[6]->feature.rect[2],p_offset) * nodes[6]->feature.rect[2].weight; rect 1104 modules/objdetect/src/haar.cpp if( nodes[7]->feature.rect[2].p0 ) rect 1105 modules/objdetect/src/haar.cpp tmp[7] = calc_sumf(nodes[7]->feature.rect[2],p_offset) * nodes[7]->feature.rect[2].weight; rect 1139 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 1140 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 1141 modules/objdetect/src/haar.cpp if( node->feature.rect[2].p0 ) rect 1142 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; rect 1168 modules/objdetect/src/haar.cpp __m128d sum = _mm_set_sd(calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight + rect 1169 modules/objdetect/src/haar.cpp calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight); rect 1184 modules/objdetect/src/haar.cpp double _sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 1185 modules/objdetect/src/haar.cpp _sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 1186 modules/objdetect/src/haar.cpp if( node->feature.rect[2].p0 ) rect 1187 modules/objdetect/src/haar.cpp _sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; rect 1212 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 1213 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 1224 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; rect 1225 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; rect 1226 modules/objdetect/src/haar.cpp if( node->feature.rect[2].p0 ) rect 1227 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; rect 1785 modules/objdetect/src/haar.cpp if( r.area() > cv::Rect(result_comp.rect).area() ) rect 1787 modules/objdetect/src/haar.cpp result_comp.rect = r; rect 1798 modules/objdetect/src/haar.cpp c.rect = rectList[i]; rect 1880 modules/objdetect/src/haar.cpp &(classifier->haar_feature[l].rect[k].weight), &dl ); rect 1882 modules/objdetect/src/haar.cpp classifier->haar_feature[l].rect[k].r = r; rect 1891 modules/objdetect/src/haar.cpp memset( classifier->haar_feature[l].rect + k, 0, rect 1892 modules/objdetect/src/haar.cpp sizeof(classifier->haar_feature[l].rect[k]) ); rect 2233 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].weight = (float) fn->data.f; rect 2234 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].r = r; rect 2240 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].weight = 0; rect 2241 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].r = cvRect( 0, 0, 0, 0 ); rect 2444 modules/objdetect/src/haar.cpp for( l = 0; l < CV_HAAR_FEATURE_MAX && feature->rect[l].r.width != 0; ++l ) rect 2447 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.x ); rect 2448 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.y ); rect 2449 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.width ); rect 2450 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.height ); rect 2451 modules/objdetect/src/haar.cpp cvWriteReal( fs, NULL, feature->rect[l].weight ); rect 59 modules/video/src/compat_video.cpp comp->rect = window; rect 79 modules/video/src/compat_video.cpp comp->rect = window; rect 324 modules/video/test/test_camshift.cpp if( comp.rect.x < box0.center.x - delta || rect 325 modules/video/test/test_camshift.cpp comp.rect.y < box0.center.y - delta || rect 326 modules/video/test/test_camshift.cpp comp.rect.x + comp.rect.width > box0.center.x + delta || rect 327 modules/video/test/test_camshift.cpp comp.rect.y + comp.rect.height > box0.center.y + delta ) rect 331 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, rect 449 modules/video/test/test_camshift.cpp c.x = (float)(comp.rect.x + comp.rect.width*0.5); rect 450 modules/video/test/test_camshift.cpp c.y = (float)(comp.rect.y + comp.rect.height*0.5); rect 463 modules/video/test/test_camshift.cpp if( comp.rect.x < box0.center.x - delta || rect 464 modules/video/test/test_camshift.cpp comp.rect.y < box0.center.y - delta || rect 465 modules/video/test/test_camshift.cpp comp.rect.x + comp.rect.width > box0.center.x + delta || rect 466 modules/video/test/test_camshift.cpp comp.rect.y + comp.rect.height > box0.center.y + delta ) rect 470 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, rect 496 modules/video/test/test_camshift.cpp cvRectangle( dst, cvPoint(comp.rect.x, comp.rect.y), rect 497 modules/video/test/test_camshift.cpp cvPoint(comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height), rect 462 modules/viz/include/opencv2/viz/widgets.hpp WImageOverlay(InputArray image, const Rect &rect); rect 593 modules/viz/src/shapes.cpp cv::viz::WImageOverlay::WImageOverlay(InputArray image, const Rect &rect) rect 602 modules/viz/src/shapes.cpp transform->Scale(sz.width/(double)rect.width, sz.height/(double)rect.height, 1.0); rect 620 modules/viz/src/shapes.cpp actor->SetPosition(rect.x, rect.y); rect 111 samples/cpp/delaunay2.cpp Rect rect(0, 0, 600, 600); rect 113 samples/cpp/delaunay2.cpp Subdiv2D subdiv(rect); rect 114 samples/cpp/delaunay2.cpp Mat img(rect.size(), CV_8UC3); rect 122 samples/cpp/delaunay2.cpp Point2f fp( (float)(rand()%(rect.width-10)+5), rect 123 samples/cpp/delaunay2.cpp (float)(rand()%(rect.height-10)+5)); rect 74 samples/cpp/grabcut.cpp Rect rect; rect 129 samples/cpp/grabcut.cpp rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2); rect 138 samples/cpp/grabcut.cpp rect.x = max(0, rect.x); rect 139 samples/cpp/grabcut.cpp rect.y = max(0, rect.y); rect 140 samples/cpp/grabcut.cpp rect.width = min(rect.width, image->cols-rect.x); rect 141 samples/cpp/grabcut.cpp rect.height = min(rect.height, image->rows-rect.y); rect 142 samples/cpp/grabcut.cpp (mask(rect)).setTo( Scalar(GC_PR_FGD) ); rect 187 samples/cpp/grabcut.cpp rect = Rect( x, y, 1, 1 ); rect 204 samples/cpp/grabcut.cpp rect = Rect( Point(rect.x, rect.y), Point(x,y) ); rect 228 samples/cpp/grabcut.cpp rect = Rect( Point(rect.x, rect.y), Point(x,y) ); rect 249 samples/cpp/grabcut.cpp grabCut( *image, mask, rect, bgdModel, fgdModel, 1 ); rect 256 samples/cpp/grabcut.cpp grabCut( *image, mask, rect, bgdModel, fgdModel, 1, GC_INIT_WITH_MASK ); rect 258 samples/cpp/grabcut.cpp grabCut( *image, mask, rect, bgdModel, fgdModel, 1, GC_INIT_WITH_RECT ); rect 58 samples/cpp/mask_tmpl.cpp Rect rect; rect 62 samples/cpp/mask_tmpl.cpp rect = Rect(minLoc, tmpl.size()); rect 64 samples/cpp/mask_tmpl.cpp rect = Rect(maxLoc, tmpl.size()); rect 66 samples/cpp/mask_tmpl.cpp rectangle(img, rect, Scalar(0, 255, 0), 2); rect 166 samples/gpu/generalized_hough.cpp RotatedRect rect; rect 167 samples/gpu/generalized_hough.cpp rect.center = pos; rect 168 samples/gpu/generalized_hough.cpp rect.size = Size2f(templ.cols * scale, templ.rows * scale); rect 169 samples/gpu/generalized_hough.cpp rect.angle = angle; rect 172 samples/gpu/generalized_hough.cpp rect.points(pts); rect 34 samples/java/sbt/src/main/java/DetectFaceDemo.java for (Rect rect : faceDetections.toArray()) { rect 35 samples/java/sbt/src/main/java/DetectFaceDemo.java Imgproc.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x rect 36 samples/java/sbt/src/main/java/DetectFaceDemo.java + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));