roi               714 apps/createsamples/utility.cpp     CvRect roi;
roi               769 apps/createsamples/utility.cpp     roi.x = (int) (-0.5F * (scale * bgimg->cols - cr.width) + cr.x);
roi               770 apps/createsamples/utility.cpp     roi.y = (int) (-0.5F * (scale * bgimg->rows - cr.height) + cr.y);
roi               771 apps/createsamples/utility.cpp     roi.width  = (int) (scale * bgimg->cols);
roi               772 apps/createsamples/utility.cpp     roi.height = (int) (scale * bgimg->rows);
roi               777 apps/createsamples/utility.cpp     cvSetImageROI( data->img, roi );
roi               780 apps/createsamples/utility.cpp     cvSetImageROI( data->maskimg, roi );
roi               179 modules/calib3d/src/quadsubpix.cpp         Rect roi(cvRound(corners[i].x - region_size.width), cvRound(corners[i].y - region_size.height),
roi               181 modules/calib3d/src/quadsubpix.cpp         Mat img_roi = img(roi);
roi               925 modules/calib3d/src/stereobm.cpp     Rect roi = Rect(Point(wsz2 + mindisp + ndisp - 1, wsz2), Point(cols-wsz2-mindisp, rows-wsz2) );
roi               926 modules/calib3d/src/stereobm.cpp     UMat disp = (_disp.getUMat())(roi);
roi               969 modules/calib3d/src/stereobm.cpp         Rect roi = validDisparityRect & Rect(0, _row0, cols, _row1 - _row0);
roi               970 modules/calib3d/src/stereobm.cpp         if( roi.height == 0 )
roi               972 modules/calib3d/src/stereobm.cpp         int row0 = roi.y;
roi               973 modules/calib3d/src/stereobm.cpp         int row1 = roi.y + roi.height;
roi              1002 modules/calib3d/src/stereobm.cpp         if( roi.x > 0 )
roi              1004 modules/calib3d/src/stereobm.cpp             part = disp_i.colRange(0, roi.x);
roi              1007 modules/calib3d/src/stereobm.cpp         if( roi.x + roi.width < cols )
roi              1009 modules/calib3d/src/stereobm.cpp             part = disp_i.colRange(roi.x + roi.width, cols);
roi              1284 modules/calib3d/test/test_cameracalibration.cpp         const Mat& P, Size imgsize, Rect roi );
roi              1330 modules/calib3d/test/test_cameracalibration.cpp                                             const Mat& P, Size imgsize, Rect roi )
roi              1358 modules/calib3d/test/test_cameracalibration.cpp         if(roi.x < 0 || roi.y < 0 || roi.x + roi.width > imgsize.width || roi.y + roi.height > imgsize.height)
roi              1361 modules/calib3d/test/test_cameracalibration.cpp                 test_case_idx, roi.x, roi.y, roi.width, roi.height);
roi              1364 modules/calib3d/test/test_cameracalibration.cpp         double s = sum(utemp(roi))[0];
roi              1365 modules/calib3d/test/test_cameracalibration.cpp         if( s > roi.area() || roi.area() - s > roi.area()*(1-eps) )
roi              1368 modules/calib3d/test/test_cameracalibration.cpp                 test_case_idx, s*100./roi.area());
roi               133 modules/core/include/opencv2/core/cuda.hpp     GpuMat(const GpuMat& m, Rect roi);
roi               237 modules/core/include/opencv2/core/cuda.hpp     GpuMat operator ()(Rect roi) const;
roi               287 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat GpuMat::operator ()(Rect roi) const
roi               289 modules/core/include/opencv2/core/cuda.inl.hpp     return GpuMat(*this, roi);
roi               874 modules/core/include/opencv2/core/mat.hpp     Mat(const Mat& m, const Rect& roi);
roi              1464 modules/core/include/opencv2/core/mat.hpp     Mat operator()( const Rect& roi ) const;
roi              1977 modules/core/include/opencv2/core/mat.hpp     Mat_(const Mat_& m, const Rect& roi);
roi              2047 modules/core/include/opencv2/core/mat.hpp     Mat_ operator()( const Rect& roi ) const;
roi              2141 modules/core/include/opencv2/core/mat.hpp     UMat(const UMat& m, const Rect& roi);
roi              2246 modules/core/include/opencv2/core/mat.hpp     UMat operator()( const Rect& roi ) const;
roi              3169 modules/core/include/opencv2/core/mat.hpp     virtual void roi(const MatExpr& expr, const Range& rowRange,
roi              3267 modules/core/include/opencv2/core/mat.hpp     MatExpr operator()( const Rect& roi ) const;
roi               681 modules/core/include/opencv2/core/mat.inl.hpp Mat Mat::operator()( const Rect& roi ) const
roi               683 modules/core/include/opencv2/core/mat.inl.hpp     return Mat(*this, roi);
roi              1268 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat_& m, const Rect& roi)
roi              1269 modules/core/include/opencv2/core/mat.inl.hpp     : Mat(m, roi)
roi              1464 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp> Mat_<_Tp>::operator()( const Rect& roi ) const
roi              1466 modules/core/include/opencv2/core/mat.inl.hpp     return Mat_<_Tp>(*this, roi);
roi              3323 modules/core/include/opencv2/core/mat.inl.hpp UMat UMat::operator()( const Rect& roi ) const
roi              3325 modules/core/include/opencv2/core/mat.inl.hpp     return UMat(*this, roi);
roi               318 modules/core/include/opencv2/core/types_c.h     struct _IplROI *roi;    /**< Image ROI. If NULL, the whole image is selected. */
roi               811 modules/core/include/opencv2/core/types_c.h     IplROI roi;
roi               812 modules/core/include/opencv2/core/types_c.h     roi.xOffset = rect.x;
roi               813 modules/core/include/opencv2/core/types_c.h     roi.yOffset = rect.y;
roi               814 modules/core/include/opencv2/core/types_c.h     roi.width = rect.width;
roi               815 modules/core/include/opencv2/core/types_c.h     roi.height = rect.height;
roi               816 modules/core/include/opencv2/core/types_c.h     roi.coi = coi;
roi               818 modules/core/include/opencv2/core/types_c.h     return roi;
roi               822 modules/core/include/opencv2/core/types_c.h CV_INLINE  CvRect  cvROIToRect( IplROI roi )
roi               824 modules/core/include/opencv2/core/types_c.h     return cvRect( roi.xOffset, roi.yOffset, roi.width, roi.height );
roi               108 modules/core/misc/java/src/java/core+Mat.java     public Mat(Mat m, Rect roi)
roi               111 modules/core/misc/java/src/java/core+Mat.java         nativeObj = n_Mat(m.nativeObj, roi.y, roi.y + roi.height, roi.x, roi.x + roi.width);
roi               836 modules/core/misc/java/src/java/core+Mat.java     public Mat submat(Rect roi)
roi               839 modules/core/misc/java/src/java/core+Mat.java         Mat retVal = new Mat(n_submat(nativeObj, roi.x, roi.y, roi.width, roi.height));
roi                19 modules/core/misc/java/test/MatTest.java         Mat roi = gray0.submat(3, 5, 7, 10);
roi                20 modules/core/misc/java/test/MatTest.java         Mat originalroi = roi.clone();
roi                22 modules/core/misc/java/test/MatTest.java         Mat adjusted = roi.adjustROI(2, 2, 2, 2);
roi                24 modules/core/misc/java/test/MatTest.java         assertMatEqual(adjusted, roi);
roi                86 modules/core/misc/java/test/MatTest.java         Mat roi = new Mat(5, 3, CvType.CV_8UC(10)).submat(1, 3, 2, 3);
roi                90 modules/core/misc/java/test/MatTest.java         assertEquals(2, roi.checkVector(10, CvType.CV_8U, false));
roi                91 modules/core/misc/java/test/MatTest.java         assertTrue(0 > roi.checkVector(10, CvType.CV_8U, true));
roi               502 modules/core/misc/java/test/MatTest.java         Mat roi = gray0.submat(3, 5, 7, 10);
roi               506 modules/core/misc/java/test/MatTest.java         roi.locateROI(size, offset);
roi               911 modules/core/misc/java/test/MatTest.java         Mat roi = rgba0.submat(3, 5, 7, 10);
roi               912 modules/core/misc/java/test/MatTest.java         Mat m = roi.clone();
roi               914 modules/core/misc/java/test/MatTest.java         assertTrue(rgba0.channels() * rgba0.cols() <= roi.step1(0));
roi               915 modules/core/misc/java/test/MatTest.java         assertEquals(rgba0.channels(), roi.step1(1));
roi                89 modules/core/perf/perf_mat.cpp     Mat roi(source, Rect(width/4, height/4, 3*width/4, 3*height/4));
roi                93 modules/core/perf/perf_mat.cpp         roi.clone();
roi                95 modules/core/perf/perf_mat.cpp     destination = roi.clone();
roi              1036 modules/core/src/array.cpp             if( img->roi )
roi              1038 modules/core/src/array.cpp                 *roi_size = cvSize( img->roi->width, img->roi->height );
roi              1185 modules/core/src/array.cpp             size = !img->roi ? img->height : img->roi->height;
roi              1188 modules/core/src/array.cpp             size = !img->roi ? img->width : img->roi->width;
roi              1236 modules/core/src/array.cpp         if( img->roi )
roi              1238 modules/core/src/array.cpp             size.width = img->roi->width;
roi              1239 modules/core/src/array.cpp             size.height = img->roi->height;
roi              1683 modules/core/src/array.cpp         int width = !img->roi ? img->width : img->roi->width;
roi              1782 modules/core/src/array.cpp         if( img->roi )
roi              1784 modules/core/src/array.cpp             width = img->roi->width;
roi              1785 modules/core/src/array.cpp             height = img->roi->height;
roi              1787 modules/core/src/array.cpp             ptr += img->roi->yOffset*img->widthStep +
roi              1788 modules/core/src/array.cpp                    img->roi->xOffset*pix_size;
roi              1792 modules/core/src/array.cpp                 int coi = img->roi->coi;
roi              2415 modules/core/src/array.cpp         if( img->roi )
roi              2421 modules/core/src/array.cpp                 if( img->roi->coi == 0 )
roi              2425 modules/core/src/array.cpp                 cvInitMatHeader( mat, img->roi->height,
roi              2426 modules/core/src/array.cpp                                 img->roi->width, type,
roi              2427 modules/core/src/array.cpp                                 img->imageData + (img->roi->coi-1)*img->imageSize +
roi              2428 modules/core/src/array.cpp                                 img->roi->yOffset*img->widthStep +
roi              2429 modules/core/src/array.cpp                                 img->roi->xOffset*CV_ELEM_SIZE(type),
roi              2435 modules/core/src/array.cpp                 coi = img->roi->coi;
roi              2441 modules/core/src/array.cpp                 cvInitMatHeader( mat, img->roi->height, img->roi->width,
roi              2443 modules/core/src/array.cpp                                  img->roi->yOffset*img->widthStep +
roi              2444 modules/core/src/array.cpp                                  img->roi->xOffset*CV_ELEM_SIZE(type),
roi              2830 modules/core/src/array.cpp     IplROI *roi = 0;
roi              2833 modules/core/src/array.cpp         roi = (IplROI*)cvAlloc( sizeof(*roi));
roi              2835 modules/core/src/array.cpp         roi->coi = coi;
roi              2836 modules/core/src/array.cpp         roi->xOffset = xOffset;
roi              2837 modules/core/src/array.cpp         roi->yOffset = yOffset;
roi              2838 modules/core/src/array.cpp         roi->width = width;
roi              2839 modules/core/src/array.cpp         roi->height = height;
roi              2843 modules/core/src/array.cpp         roi = CvIPL.createROI( coi, xOffset, yOffset, width, height );
roi              2846 modules/core/src/array.cpp     return roi;
roi              2946 modules/core/src/array.cpp     if( image->roi )
roi              2948 modules/core/src/array.cpp         image->roi->coi = 0;
roi              2949 modules/core/src/array.cpp         image->roi->xOffset = image->roi->yOffset = 0;
roi              2950 modules/core/src/array.cpp         image->roi->width = size.width;
roi              2951 modules/core/src/array.cpp         image->roi->height = size.height;
roi              2979 modules/core/src/array.cpp             cvFree( &img->roi );
roi              3030 modules/core/src/array.cpp     if( image->roi )
roi              3032 modules/core/src/array.cpp         image->roi->xOffset = rect.x;
roi              3033 modules/core/src/array.cpp         image->roi->yOffset = rect.y;
roi              3034 modules/core/src/array.cpp         image->roi->width = rect.width;
roi              3035 modules/core/src/array.cpp         image->roi->height = rect.height;
roi              3038 modules/core/src/array.cpp         image->roi = icvCreateROI( 0, rect.x, rect.y, rect.width, rect.height );
roi              3048 modules/core/src/array.cpp     if( image->roi )
roi              3052 modules/core/src/array.cpp             cvFree( &image->roi );
roi              3057 modules/core/src/array.cpp             image->roi = 0;
roi              3070 modules/core/src/array.cpp     if( img->roi )
roi              3071 modules/core/src/array.cpp         rect = cvRect( img->roi->xOffset, img->roi->yOffset,
roi              3072 modules/core/src/array.cpp                        img->roi->width, img->roi->height );
roi              3089 modules/core/src/array.cpp     if( image->roi || coi != 0 )
roi              3091 modules/core/src/array.cpp         if( image->roi )
roi              3093 modules/core/src/array.cpp             image->roi->coi = coi;
roi              3097 modules/core/src/array.cpp             image->roi = icvCreateROI( coi, 0, 0, image->width, image->height );
roi              3109 modules/core/src/array.cpp     return image->roi ? image->roi->coi : 0;
roi              3127 modules/core/src/array.cpp         dst->roi = 0;
roi              3129 modules/core/src/array.cpp         if( src->roi )
roi              3131 modules/core/src/array.cpp             dst->roi = icvCreateROI( src->roi->coi, src->roi->xOffset,
roi              3132 modules/core/src/array.cpp                           src->roi->yOffset, src->roi->width, src->roi->height );
roi               143 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(const GpuMat& m, Rect roi) :
roi               144 modules/core/src/cuda_gpu_mat.cpp     flags(m.flags), rows(roi.height), cols(roi.width),
roi               145 modules/core/src/cuda_gpu_mat.cpp     step(m.step), data(m.data + roi.y*step), refcount(m.refcount),
roi               149 modules/core/src/cuda_gpu_mat.cpp     flags &= roi.width < m.cols ? ~Mat::CONTINUOUS_FLAG : -1;
roi               150 modules/core/src/cuda_gpu_mat.cpp     data += roi.x * elemSize();
roi               152 modules/core/src/cuda_gpu_mat.cpp     CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows );
roi               606 modules/core/src/matop.cpp     op->roi(*this, Range(y, y+1), Range::all(), e);
roi               613 modules/core/src/matop.cpp     op->roi(*this, Range::all(), Range(x, x+1), e);
roi               627 modules/core/src/matop.cpp     op->roi(*this, rowRange, colRange, e);
roi               631 modules/core/src/matop.cpp MatExpr MatExpr::operator()( const Rect& roi ) const
roi               634 modules/core/src/matop.cpp     op->roi(*this, Range(roi.y, roi.y + roi.height), Range(roi.x, roi.x + roi.width), e);
roi               482 modules/core/src/matrix.cpp Mat::Mat(const Mat& m, const Rect& roi)
roi               483 modules/core/src/matrix.cpp     : flags(m.flags), dims(2), rows(roi.height), cols(roi.width),
roi               484 modules/core/src/matrix.cpp     data(m.data + roi.y*m.step[0]),
roi               489 modules/core/src/matrix.cpp     flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1;
roi               490 modules/core/src/matrix.cpp     flags |= roi.height == 1 ? CONTINUOUS_FLAG : 0;
roi               493 modules/core/src/matrix.cpp     data += roi.x*esz;
roi               494 modules/core/src/matrix.cpp     CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols &&
roi               495 modules/core/src/matrix.cpp               0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows );
roi               498 modules/core/src/matrix.cpp     if( roi.width < m.cols || roi.height < m.rows )
roi               625 modules/core/src/matrix.cpp     if(!img->roi)
roi               636 modules/core/src/matrix.cpp         CV_Assert(img->dataOrder == IPL_DATA_ORDER_PIXEL || img->roi->coi != 0);
roi               637 modules/core/src/matrix.cpp         bool selectedPlane = img->roi->coi && img->dataOrder == IPL_DATA_ORDER_PLANE;
roi               639 modules/core/src/matrix.cpp         m.rows = img->roi->height;
roi               640 modules/core/src/matrix.cpp         m.cols = img->roi->width;
roi               643 modules/core/src/matrix.cpp             (selectedPlane ? (img->roi->coi - 1)*m.step*img->height : 0) +
roi               644 modules/core/src/matrix.cpp             img->roi->yOffset*m.step[0] + img->roi->xOffset*esz;
roi               655 modules/core/src/matrix.cpp         if( !img->roi || !img->roi->coi ||
roi               660 modules/core/src/matrix.cpp             int ch[] = {img->roi->coi - 1, 0};
roi               855 modules/core/src/matrix.cpp         if( coiMode == 0 && iplimg->roi && iplimg->roi->coi > 0 )
roi              5646 modules/core/src/ocl.cpp             const size_t roi[3] = {static_cast<size_t>(src.cols) * src.elemSize(), static_cast<size_t>(src.rows), 1};
roi              5648 modules/core/src/ocl.cpp                 roi, src.step, 0, src.cols * src.elemSize(), 0, 0, NULL, NULL) == CL_SUCCESS);
roi              3883 modules/core/src/persistence.cpp     if( image->roi )
roi              3886 modules/core/src/persistence.cpp         cvWriteInt( fs, "x", image->roi->xOffset );
roi              3887 modules/core/src/persistence.cpp         cvWriteInt( fs, "y", image->roi->yOffset );
roi              3888 modules/core/src/persistence.cpp         cvWriteInt( fs, "width", image->roi->width );
roi              3889 modules/core/src/persistence.cpp         cvWriteInt( fs, "height", image->roi->height );
roi              3890 modules/core/src/persistence.cpp         cvWriteInt( fs, "coi", image->roi->coi );
roi              3923 modules/core/src/persistence.cpp     CvRect roi;
roi              3954 modules/core/src/persistence.cpp         roi.x = cvReadIntByName( fs, roi_node, "x", 0 );
roi              3955 modules/core/src/persistence.cpp         roi.y = cvReadIntByName( fs, roi_node, "y", 0 );
roi              3956 modules/core/src/persistence.cpp         roi.width = cvReadIntByName( fs, roi_node, "width", 0 );
roi              3957 modules/core/src/persistence.cpp         roi.height = cvReadIntByName( fs, roi_node, "height", 0 );
roi              3960 modules/core/src/persistence.cpp         cvSetImageROI( image, roi );
roi               352 modules/core/src/umatrix.cpp UMat::UMat(const UMat& m, const Rect& roi)
roi               353 modules/core/src/umatrix.cpp     : flags(m.flags), dims(2), rows(roi.height), cols(roi.width),
roi               354 modules/core/src/umatrix.cpp     allocator(m.allocator), usageFlags(m.usageFlags), u(m.u), offset(m.offset + roi.y*m.step[0]), size(&rows)
roi               357 modules/core/src/umatrix.cpp     flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1;
roi               358 modules/core/src/umatrix.cpp     flags |= roi.height == 1 ? CONTINUOUS_FLAG : 0;
roi               361 modules/core/src/umatrix.cpp     offset += roi.x*esz;
roi               362 modules/core/src/umatrix.cpp     CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols &&
roi               363 modules/core/src/umatrix.cpp               0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows );
roi               366 modules/core/src/umatrix.cpp     if( roi.width < m.cols || roi.height < m.rows )
roi                67 modules/core/test/test_umat.cpp     Rect roi;
roi                81 modules/core/test/test_umat.cpp         roi = Rect(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi                89 modules/core/test/test_umat.cpp         ua = UMat(ua, roi);
roi               122 modules/core/test/test_umat.cpp         ua = UMat(ua,roi);
roi               123 modules/core/test/test_umat.cpp         ub = UMat(ub,roi);
roi               134 modules/core/test/test_umat.cpp     roi.x &= ~align_mask;
roi               135 modules/core/test/test_umat.cpp     roi.y &= ~align_mask;
roi               136 modules/core/test/test_umat.cpp     roi.width = (roi.width + align_mask) & ~align_mask;
roi               137 modules/core/test/test_umat.cpp     roi &= Rect(0, 0, ua.cols, ua.rows);
roi               141 modules/core/test/test_umat.cpp         ua = UMat(ua,roi);
roi               183 modules/core/test/test_umat.cpp         roi_ua = UMat(ua, roi);
roi               184 modules/core/test/test_umat.cpp         roi_a = Mat(a, roi);
roi               237 modules/core/test/test_umat.cpp         a = Mat(a, roi);
roi               238 modules/core/test/test_umat.cpp         ua = UMat(ua,roi);
roi               296 modules/core/test/test_umat.cpp         Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               297 modules/core/test/test_umat.cpp         ua = UMat(ua, roi).clone();
roi               298 modules/core/test/test_umat.cpp         a = Mat(a, roi).clone();
roi               379 modules/core/test/test_umat.cpp     Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               380 modules/core/test/test_umat.cpp     roi_a = Mat(a, roi);
roi               382 modules/core/test/test_umat.cpp     roi_ua = UMat(ua, roi);
roi               393 modules/core/test/test_umat.cpp     Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               394 modules/core/test/test_umat.cpp     roi_a = Mat(a, roi);
roi               396 modules/core/test/test_umat.cpp     roi_ua = UMat(ua,roi);
roi               411 modules/core/test/test_umat.cpp     Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               413 modules/core/test/test_umat.cpp     roi_ua = UMat( ua, roi);
roi               419 modules/core/test/test_umat.cpp     roi_shift_x = std::max(0, roi.x-adjLeft);
roi               420 modules/core/test/test_umat.cpp     roi_shift_y = std::max(0, roi.y-adjTop);
roi               421 modules/core/test/test_umat.cpp     Rect new_roi( roi_shift_x, roi_shift_y, std::min(roi.width+adjRight+adjLeft, size.width-roi_shift_x), std::min(roi.height+adjBot+adjTop, size.height-roi_shift_y) );
roi               462 modules/core/test/test_umat.cpp         Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               463 modules/core/test/test_umat.cpp         ua = UMat(ua,roi);
roi               468 modules/core/test/test_umat.cpp         roi = Rect(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               469 modules/core/test/test_umat.cpp         ub = UMat(ub, roi);
roi               509 modules/core/test/test_umat.cpp         Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height);
roi               510 modules/core/test/test_umat.cpp         ua = UMat(ua,roi);
roi               511 modules/core/test/test_umat.cpp         a = Mat(a, roi);
roi               595 modules/core/test/test_umat.cpp         Rect roi(1, 3, 5, 4);
roi               596 modules/core/test/test_umat.cpp         Mat ra(a, roi), rb, rc, rc0;
roi               602 modules/core/test/test_umat.cpp         ura = ua(roi);
roi               616 modules/core/test/test_umat.cpp         ra = a(roi);
roi               617 modules/core/test/test_umat.cpp         rb = b(roi);
roi               620 modules/core/test/test_umat.cpp         urb = ub(roi);
roi                60 modules/cudafilters/test/test_filters.cpp         cv::Rect roi(ksize.width, ksize.height, m.cols - 2 * ksize.width, m.rows - 2 * ksize.height);
roi                61 modules/cudafilters/test/test_filters.cpp         return m(roi);
roi               307 modules/cudaimgproc/perf/perf_hough.cpp         cv::Mat roi = image(cv::Rect(pos, obj.size()));
roi               308 modules/cudaimgproc/perf/perf_hough.cpp         cv::add(roi, obj, roi);
roi               794 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp     NCVStatus copy2D(NCVMatrix<T> &dst, NcvSize32u roi, cudaStream_t cuStream) const
roi               796 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp         ncvAssertReturn(this->width() >= roi.width && this->height() >= roi.height &&
roi               797 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp                         dst.width() >= roi.width && dst.height() >= roi.height, NCV_MEM_COPY_ERROR);
roi               806 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp                                          roi.width * sizeof(T), roi.height, cuStream);
roi               961 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp     NCVMatrixReuse(const NCVMatrix<T> &mat, NcvRect32u roi)
roi               966 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp         ncvAssertPrintReturn(roi.x < mat.width() && roi.y < mat.height() && \
roi               967 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp             roi.x + roi.width <= mat.width() && roi.y + roi.height <= mat.height(),
roi               970 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp         this->_width = roi.width;
roi               971 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp         this->_height = roi.height;
roi               973 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp         this->_ptr = &mat.at(roi.x, roi.y);
roi               498 modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp                                    NcvSize32u roi, NcvRect32u rect,
roi               521 modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp                                         NcvSize32u roi, NcvRect32u rect,
roi               297 modules/cudaobjdetect/src/cascadeclassifier.cpp         NcvSize32u roi;
roi               298 modules/cudaobjdetect/src/cascadeclassifier.cpp         roi.width = d_src.width();
roi               299 modules/cudaobjdetect/src/cascadeclassifier.cpp         roi.height = d_src.height();
roi               301 modules/cudaobjdetect/src/cascadeclassifier.cpp         ncvStat = ncvDetectObjectsMultiScale_device(d_src, roi, d_rects, numDetections, haar, *h_haarStages,
roi               344 modules/cudaobjdetect/src/cascadeclassifier.cpp         NcvSize32u roi;
roi               345 modules/cudaobjdetect/src/cascadeclassifier.cpp         roi.width = d_src.width();
roi               346 modules/cudaobjdetect/src/cascadeclassifier.cpp         roi.height = d_src.height();
roi               354 modules/cudaobjdetect/src/cascadeclassifier.cpp             d_src, roi, d_rects, numDetections, haar, *h_haarStages,
roi               131 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m, Rect roi)
roi               132 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp     : GpuMat(m, roi)
roi               244 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T> GpuMat_<T>::operator ()(Rect roi) const
roi               246 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp     return GpuMat_(*this, roi);
roi                88 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp     __host__ GpuMat_(const GpuMat_& m, Rect roi);
roi               122 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp     __host__ GpuMat_ operator ()(Rect roi) const;
roi                56 modules/features2d/test/test_orb.cpp     Mat roi(image.size(), CV_8UC1, Scalar(0));
roi                59 modules/features2d/test/test_orb.cpp     fillConvexPoly(roi, poly, int(sizeof(poly) / sizeof(poly[0])), Scalar(255));
roi                62 modules/features2d/test/test_orb.cpp     fd->detect(image, keypoints, roi);
roi               519 modules/imgcodecs/test/test_drawing.cpp             Rect roi(Point(0, shift), img->size());
roi               520 modules/imgcodecs/test/test_drawing.cpp             Mat sub(result, roi);
roi                61 modules/imgproc/src/canny.cpp     IppiSize roi = { _src.cols, _src.rows };
roi                63 modules/imgproc/src/canny.cpp     if (ippiFilterSobelNegVertGetBufferSize_8u16s_C1R(roi, ippMskSize3x3, &size) < 0)
roi                65 modules/imgproc/src/canny.cpp     if (ippiFilterSobelHorizGetBufferSize_8u16s_C1R(roi, ippMskSize3x3, &size1) < 0)
roi                69 modules/imgproc/src/canny.cpp     if (ippiCannyGetSize(roi, &size1) < 0)
roi                78 modules/imgproc/src/canny.cpp                     _dx.ptr<short>(), (int)_dx.step, roi,
roi                84 modules/imgproc/src/canny.cpp                     _dy.ptr<short>(), (int)_dy.step, roi,
roi                90 modules/imgproc/src/canny.cpp                               _dst.ptr(), (int)_dst.step, roi, low, high, buffer) < 0 )
roi               320 modules/imgproc/src/deriv.cpp     IppiSize roi = ippiSize(src.cols, src.rows);
roi               340 modules/imgproc/src/deriv.cpp                         if (0 > ippiFilterScharrVertGetBufferSize_8u16s_C1R(roi,&bufSize))
roi               344 modules/imgproc/src/deriv.cpp                                         dst.ptr<Ipp16s>(), (int)dst.step, roi, ippBorderRepl, 0, (Ipp8u*)(char*)buffer));
roi               348 modules/imgproc/src/deriv.cpp                         if (0 > ippiFilterScharrHorizGetBufferSize_8u16s_C1R(roi,&bufSize))
roi               352 modules/imgproc/src/deriv.cpp                                             dst.ptr<Ipp16s>(), (int)dst.step, roi, ippBorderRepl, 0, (Ipp8u*)(char*)buffer));
roi               694 modules/imgproc/src/distransform.cpp         IppiSize roi = { src.cols, src.rows };
roi               696 modules/imgproc/src/distransform.cpp         if (ippiDistanceTransform_3x3_8u_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<uchar>(), (int)dst.step, roi, pMetrics)>=0)
roi               749 modules/imgproc/src/distransform.cpp                 IppiSize roi = { src.cols, src.rows };
roi               753 modules/imgproc/src/distransform.cpp                 status = ippiTrueDistanceTransformGetBufferSize_8u32f_C1R(roi, &bufSize);
roi               757 modules/imgproc/src/distransform.cpp                     status = ippiTrueDistanceTransform_8u32f_C1R(src.ptr<uchar>(),(int)src.step, dst.ptr<float>(), (int)dst.step, roi, pBuffer);
roi               791 modules/imgproc/src/distransform.cpp                 IppiSize roi = { src.cols, src.rows };
roi               792 modules/imgproc/src/distransform.cpp                 if (ippiDistanceTransform_3x3_8u32f_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<float>(), (int)dst.step, roi, _mask)>=0)
roi               808 modules/imgproc/src/distransform.cpp                 IppiSize roi = { src.cols, src.rows };
roi               809 modules/imgproc/src/distransform.cpp                 if (ippiDistanceTransform_5x5_8u32f_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<float>(), (int)dst.step, roi, _mask)>=0)
roi               166 modules/imgproc/src/filter.cpp     roi = _roi;
roi               167 modules/imgproc/src/filter.cpp     CV_Assert( roi.x >= 0 && roi.y >= 0 && roi.width >= 0 && roi.height >= 0 &&
roi               168 modules/imgproc/src/filter.cpp         roi.x + roi.width <= wholeSize.width &&
roi               169 modules/imgproc/src/filter.cpp         roi.y + roi.height <= wholeSize.height );
roi               179 modules/imgproc/src/filter.cpp     if( maxWidth < roi.width || _maxBufRows != (int)rows.size() )
roi               182 modules/imgproc/src/filter.cpp         maxWidth = std::max(maxWidth, roi.width);
roi               210 modules/imgproc/src/filter.cpp     bufStep = bufElemSize*(int)alignSize(roi.width + (!isSeparable() ? ksize.width - 1 : 0),16);
roi               212 modules/imgproc/src/filter.cpp     dx1 = std::max(anchor.x - roi.x, 0);
roi               213 modules/imgproc/src/filter.cpp     dx2 = std::max(ksize.width - anchor.x - 1 + roi.x + roi.width - wholeSize.width, 0);
roi               225 modules/imgproc/src/filter.cpp                 memcpy( dst + (roi.width + ksize.width - 1 - dx2)*esz, constVal, dx2*esz );
roi               230 modules/imgproc/src/filter.cpp             int xofs1 = std::min(roi.x, anchor.x) - roi.x;
roi               252 modules/imgproc/src/filter.cpp     startY = startY0 = std::max(roi.y - anchor.y, 0);
roi               253 modules/imgproc/src/filter.cpp     endY = std::min(roi.y + roi.height + ksize.height - anchor.y - 1, wholeSize.height);
roi               293 modules/imgproc/src/filter.cpp     return roi.height - dstY;
roi               306 modules/imgproc/src/filter.cpp     int width = roi.width, kwidth = ksize.width;
roi               309 modules/imgproc/src/filter.cpp     int width1 = roi.width + kwidth - 1;
roi               310 modules/imgproc/src/filter.cpp     int xofs1 = std::min(roi.x, anchor.x);
roi               322 modules/imgproc/src/filter.cpp         int dcount = bufRows - ay - startY - rowCount + roi.y;
roi               365 modules/imgproc/src/filter.cpp         int max_i = std::min(bufRows, roi.height - (dstY + dy) + (kheight - 1));
roi               368 modules/imgproc/src/filter.cpp             int srcY = borderInterpolate(dstY + dy + i + roi.y - ay,
roi               385 modules/imgproc/src/filter.cpp             (*columnFilter)((const uchar**)brows, dst, dststep, i, roi.width*cn);
roi               387 modules/imgproc/src/filter.cpp             (*filter2D)((const uchar**)brows, dst, dststep, i, roi.width, cn);
roi               391 modules/imgproc/src/filter.cpp     CV_Assert( dstY <= roi.height );
roi               232 modules/imgproc/src/filterengine.hpp     virtual int start(Size wholeSize, Rect roi, int maxBufRows = -1);
roi               257 modules/imgproc/src/filterengine.hpp     Rect roi;
roi               135 modules/imgproc/src/floodfill.cpp     Size roi = image.size();
roi               147 modules/imgproc/src/floodfill.cpp     while( ++R < roi.width && img[R] == val0 )
roi               184 modules/imgproc/src/floodfill.cpp             if( (unsigned)(YC + dir) >= (unsigned)roi.height )
roi               193 modules/imgproc/src/floodfill.cpp                 if( (unsigned)i < (unsigned)roi.width && img[i] == val0 )
roi               200 modules/imgproc/src/floodfill.cpp                     while( ++i < roi.width && img[i] == val0 )
roi              3299 modules/imgproc/src/histogram.cpp     IplROI roi;
roi              3326 modules/imgproc/src/histogram.cpp         img[i]->roi = &roi;
roi              3342 modules/imgproc/src/histogram.cpp     roi.coi = 0;
roi              3343 modules/imgproc/src/histogram.cpp     roi.width = patch_size.width;
roi              3344 modules/imgproc/src/histogram.cpp     roi.height = patch_size.height;
roi              3351 modules/imgproc/src/histogram.cpp             roi.xOffset = x;
roi              3352 modules/imgproc/src/histogram.cpp             roi.yOffset = y;
roi               585 modules/imgproc/src/moments.cpp                 IppiSize roi = { mat.cols, mat.rows };
roi               601 modules/imgproc/src/moments.cpp                         if (ippFunc(mat.data, (int)mat.step, roi, moment) >= 0)
roi               770 modules/imgproc/src/moments.cpp     if( CV_IS_IMAGE(arr) && img->roi && img->roi->coi > 0 )
roi               771 modules/imgproc/src/moments.cpp         cv::extractImageCOI(arr, src, img->roi->coi-1);
roi              2931 modules/imgproc/src/smooth.cpp           IppiSize roi={dst.cols, range.end - range.start};
roi              2933 modules/imgproc/src/smooth.cpp           if (0 > ippiFilterBilateralGetBufSize_8u_C1R( ippiFilterBilateralGauss, roi, kernel, &bufsize))
roi              2945 modules/imgproc/src/smooth.cpp           if (0 > ippiFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec ))
roi                54 modules/imgproc/src/thresh.cpp     Size roi = _src.size();
roi                55 modules/imgproc/src/thresh.cpp     roi.width *= _src.channels();
roi                61 modules/imgproc/src/thresh.cpp         roi.width *= roi.height;
roi                62 modules/imgproc/src/thresh.cpp         roi.height = 1;
roi                63 modules/imgproc/src/thresh.cpp         src_step = dst_step = roi.width;
roi                67 modules/imgproc/src/thresh.cpp     if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type))
roi                74 modules/imgproc/src/thresh.cpp         IppiSize sz = { roi.width, roi.height };
roi               171 modules/imgproc/src/thresh.cpp         j_scalar = roi.width & -8;
roi               173 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               181 modules/imgproc/src/thresh.cpp                 for( j = 0; j <= roi.width - 32; j += 32 )
roi               194 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 8; j += 8 )
roi               204 modules/imgproc/src/thresh.cpp                 for( j = 0; j <= roi.width - 32; j += 32 )
roi               217 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 8; j += 8 )
roi               227 modules/imgproc/src/thresh.cpp                 for( j = 0; j <= roi.width - 32; j += 32 )
roi               238 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 8; j += 8 )
roi               247 modules/imgproc/src/thresh.cpp                 for( j = 0; j <= roi.width - 32; j += 32 )
roi               258 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 8; j += 8 )
roi               267 modules/imgproc/src/thresh.cpp                 for( j = 0; j <= roi.width - 32; j += 32 )
roi               278 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 8; j += 8 )
roi               294 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               299 modules/imgproc/src/thresh.cpp             for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16)
roi               305 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               310 modules/imgproc/src/thresh.cpp             for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16)
roi               316 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               321 modules/imgproc/src/thresh.cpp             for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16)
roi               327 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               332 modules/imgproc/src/thresh.cpp             for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16)
roi               341 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               346 modules/imgproc/src/thresh.cpp             for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16)
roi               358 modules/imgproc/src/thresh.cpp     if( j_scalar < roi.width )
roi               360 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++ )
roi               366 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 4; j += 4 )
roi               381 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               392 modules/imgproc/src/thresh.cpp     Size roi = _src.size();
roi               393 modules/imgproc/src/thresh.cpp     roi.width *= _src.channels();
roi               405 modules/imgproc/src/thresh.cpp         roi.width *= roi.height;
roi               406 modules/imgproc/src/thresh.cpp         roi.height = 1;
roi               407 modules/imgproc/src/thresh.cpp         src_step = dst_step = roi.width;
roi               411 modules/imgproc/src/thresh.cpp     if (tegra::useTegra() && tegra::thresh_16s(_src, _dst, roi.width, roi.height, thresh, maxval, type))
roi               418 modules/imgproc/src/thresh.cpp         IppiSize sz = { roi.width, roi.height };
roi               475 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               482 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 16; j += 16 )
roi               498 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 8; j += 8 )
roi               505 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               511 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               518 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 16; j += 16 )
roi               534 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 8; j += 8 )
roi               541 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               547 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               554 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 16; j += 16 )
roi               568 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 8; j += 8 )
roi               572 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               578 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               585 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 16; j += 16 )
roi               599 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 8; j += 8 )
roi               607 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               616 modules/imgproc/src/thresh.cpp         for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               623 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 16; j += 16 )
roi               637 modules/imgproc/src/thresh.cpp             for( ; j <= roi.width - 8; j += 8 )
roi               644 modules/imgproc/src/thresh.cpp             for( ; j < roi.width; j++ )
roi               661 modules/imgproc/src/thresh.cpp     Size roi = _src.size();
roi               662 modules/imgproc/src/thresh.cpp     roi.width *= _src.channels();
roi               674 modules/imgproc/src/thresh.cpp         roi.width *= roi.height;
roi               675 modules/imgproc/src/thresh.cpp         roi.height = 1;
roi               679 modules/imgproc/src/thresh.cpp     if (tegra::useTegra() && tegra::thresh_32f(_src, _dst, roi.width, roi.height, thresh, maxval, type))
roi               686 modules/imgproc/src/thresh.cpp         IppiSize sz = { roi.width, roi.height };
roi               720 modules/imgproc/src/thresh.cpp             for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               727 modules/imgproc/src/thresh.cpp                     for( ; j <= roi.width - 8; j += 8 )
roi               744 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 4; j += 4 )
roi               752 modules/imgproc/src/thresh.cpp                 for( ; j < roi.width; j++ )
roi               758 modules/imgproc/src/thresh.cpp             for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               765 modules/imgproc/src/thresh.cpp                     for( ; j <= roi.width - 8; j += 8 )
roi               782 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 4; j += 4 )
roi               790 modules/imgproc/src/thresh.cpp                 for( ; j < roi.width; j++ )
roi               796 modules/imgproc/src/thresh.cpp             for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               803 modules/imgproc/src/thresh.cpp                     for( ; j <= roi.width - 8; j += 8 )
roi               817 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 4; j += 4 )
roi               821 modules/imgproc/src/thresh.cpp                 for( ; j < roi.width; j++ )
roi               827 modules/imgproc/src/thresh.cpp             for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               834 modules/imgproc/src/thresh.cpp                     for( ; j <= roi.width - 8; j += 8 )
roi               848 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 4; j += 4 )
roi               857 modules/imgproc/src/thresh.cpp                 for( ; j < roi.width; j++ )
roi               866 modules/imgproc/src/thresh.cpp             for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
roi               873 modules/imgproc/src/thresh.cpp                     for( ; j <= roi.width - 8; j += 8 )
roi               887 modules/imgproc/src/thresh.cpp                 for( ; j <= roi.width - 4; j += 4 )
roi               895 modules/imgproc/src/thresh.cpp                 for( ; j < roi.width; j++ )
roi              1682 modules/imgproc/test/test_histograms.cpp     IplROI roi;
roi              1697 modules/imgproc/test/test_histograms.cpp         img[i]->roi = &roi;
roi              1700 modules/imgproc/test/test_histograms.cpp     roi.coi = 0;
roi              1708 modules/imgproc/test/test_histograms.cpp             roi.xOffset = x;
roi              1709 modules/imgproc/test/test_histograms.cpp             roi.yOffset = y;
roi              1710 modules/imgproc/test/test_histograms.cpp             roi.width = patch_size.width;
roi              1711 modules/imgproc/test/test_histograms.cpp             roi.height = patch_size.height;
roi              1595 modules/java/generator/src/cpp/Mat.cpp         Rect roi(roi_x, roi_y, roi_width, roi_height);
roi              1596 modules/java/generator/src/cpp/Mat.cpp         Mat _retval_ = me->operator()( roi );
roi                96 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp     virtual void findInPair(size_t first, size_t second, Rect roi) = 0;
roi               114 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp     void findInPair(size_t first, size_t second, Rect roi);
roi               265 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp     void findInPair(size_t first, size_t second, Rect roi);
roi               153 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS bool overlapRoi(Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi);
roi               183 modules/stitching/src/blenders.cpp         Rect roi(corners[i].x - dst_roi.x, corners[i].y - dst_roi.y,
roi               185 modules/stitching/src/blenders.cpp         add(weights_sum(roi), weight_maps[i], weights_sum(roi));
roi               190 modules/stitching/src/blenders.cpp         Rect roi(corners[i].x - dst_roi.x, corners[i].y - dst_roi.y,
roi               192 modules/stitching/src/blenders.cpp         Mat tmp = weights_sum(roi);
roi                93 modules/stitching/src/exposure_compensate.cpp             Rect roi;
roi                94 modules/stitching/src/exposure_compensate.cpp             if (overlapRoi(corners[i], corners[j], images[i].size(), images[j].size(), roi))
roi                96 modules/stitching/src/exposure_compensate.cpp                 subimg1 = images[i](Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ);
roi                97 modules/stitching/src/exposure_compensate.cpp                 subimg2 = images[j](Rect(roi.tl() - corners[j], roi.br() - corners[j])).getMat(ACCESS_READ);
roi                99 modules/stitching/src/exposure_compensate.cpp                 submask1 = masks[i].first(Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ);
roi               100 modules/stitching/src/exposure_compensate.cpp                 submask2 = masks[j].first(Rect(roi.tl() - corners[j], roi.br() - corners[j])).getMat(ACCESS_READ);
roi               106 modules/stitching/src/exposure_compensate.cpp                 for (int y = 0; y < roi.height; ++y)
roi               110 modules/stitching/src/exposure_compensate.cpp                     for (int x = 0; x < roi.width; ++x)
roi                78 modules/stitching/src/seam_finders.cpp             Rect roi;
roi                79 modules/stitching/src/seam_finders.cpp             if (overlapRoi(corners_[i], corners_[j], sizes_[i], sizes_[j], roi))
roi                80 modules/stitching/src/seam_finders.cpp                 findInPair(i, j, roi);
roi               111 modules/stitching/src/seam_finders.cpp void VoronoiSeamFinder::findInPair(size_t first, size_t second, Rect roi)
roi               114 modules/stitching/src/seam_finders.cpp     Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi               115 modules/stitching/src/seam_finders.cpp     Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi               122 modules/stitching/src/seam_finders.cpp     for (int y = -gap; y < roi.height + gap; ++y)
roi               124 modules/stitching/src/seam_finders.cpp         for (int x = -gap; x < roi.width + gap; ++x)
roi               126 modules/stitching/src/seam_finders.cpp             int y1 = roi.y - tl1.y + y;
roi               127 modules/stitching/src/seam_finders.cpp             int x1 = roi.x - tl1.x + x;
roi               133 modules/stitching/src/seam_finders.cpp             int y2 = roi.y - tl2.y + y;
roi               134 modules/stitching/src/seam_finders.cpp             int x2 = roi.x - tl2.x + x;
roi               152 modules/stitching/src/seam_finders.cpp     for (int y = 0; y < roi.height; ++y)
roi               154 modules/stitching/src/seam_finders.cpp         for (int x = 0; x < roi.width; ++x)
roi               157 modules/stitching/src/seam_finders.cpp                 mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0;
roi               159 modules/stitching/src/seam_finders.cpp                 mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0;
roi               732 modules/stitching/src/seam_finders.cpp     Rect roi(tls_[comp], brs_[comp]);
roi               740 modules/stitching/src/seam_finders.cpp     costV.create(roi.height, roi.width+1);
roi               742 modules/stitching/src/seam_finders.cpp     for (int y = roi.y; y < roi.br().y; ++y)
roi               744 modules/stitching/src/seam_finders.cpp         for (int x = roi.x; x < roi.br().x+1; ++x)
roi               751 modules/stitching/src/seam_finders.cpp                     costV(y - roi.y, x - roi.x) = costColor;
roi               756 modules/stitching/src/seam_finders.cpp                     costV(y - roi.y, x - roi.x) = costColor / costGrad;
roi               760 modules/stitching/src/seam_finders.cpp                 costV(y - roi.y, x - roi.x) = badRegionCost;
roi               764 modules/stitching/src/seam_finders.cpp     costH.create(roi.height+1, roi.width);
roi               766 modules/stitching/src/seam_finders.cpp     for (int y = roi.y; y < roi.br().y+1; ++y)
roi               768 modules/stitching/src/seam_finders.cpp         for (int x = roi.x; x < roi.br().x; ++x)
roi               775 modules/stitching/src/seam_finders.cpp                     costH(y - roi.y, x - roi.x) = costColor;
roi               780 modules/stitching/src/seam_finders.cpp                     costH(y - roi.y, x - roi.x) = costColor / costGrad;
roi               784 modules/stitching/src/seam_finders.cpp                 costH(y - roi.y, x - roi.x) = badRegionCost;
roi               799 modules/stitching/src/seam_finders.cpp     Rect roi(tls_[comp], brs_[comp]);
roi               800 modules/stitching/src/seam_finders.cpp     Point src = p1 - roi.tl();
roi               801 modules/stitching/src/seam_finders.cpp     Point dst = p2 - roi.tl();
roi               825 modules/stitching/src/seam_finders.cpp     Mat_<uchar> control = Mat::zeros(roi.size(), CV_8U);
roi               826 modules/stitching/src/seam_finders.cpp     Mat_<uchar> reachable = Mat::zeros(roi.size(), CV_8U);
roi               827 modules/stitching/src/seam_finders.cpp     Mat_<float> cost = Mat::zeros(roi.size(), CV_32F);
roi               839 modules/stitching/src/seam_finders.cpp             for (int y = 0; y < roi.height; ++y)
roi               845 modules/stitching/src/seam_finders.cpp                 if (labels_(y + roi.y, x + roi.x) == l)
roi               851 modules/stitching/src/seam_finders.cpp                     if (y < roi.height-1 && reachable(y+1, x-1))
roi               869 modules/stitching/src/seam_finders.cpp             for (int x = 0; x < roi.width; ++x)
roi               875 modules/stitching/src/seam_finders.cpp                 if (labels_(y + roi.y, x + roi.x) == l)
roi               881 modules/stitching/src/seam_finders.cpp                     if (x < roi.width-1 && reachable(y-1, x+1))
roi               903 modules/stitching/src/seam_finders.cpp     seam.push_back(p + roi.tl());
roi               907 modules/stitching/src/seam_finders.cpp         for (; p.x != src.x; seam.push_back(p + roi.tl()))
roi               916 modules/stitching/src/seam_finders.cpp         for (; p.y != src.y; seam.push_back(p + roi.tl()))
roi              1069 modules/stitching/src/seam_finders.cpp     void findInPair(size_t first, size_t second, Rect roi);
roi              1218 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinder::Impl::findInPair(size_t first, size_t second, Rect roi)
roi              1227 modules/stitching/src/seam_finders.cpp     Mat subimg1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3);
roi              1228 modules/stitching/src/seam_finders.cpp     Mat subimg2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3);
roi              1229 modules/stitching/src/seam_finders.cpp     Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi              1230 modules/stitching/src/seam_finders.cpp     Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi              1231 modules/stitching/src/seam_finders.cpp     Mat subdx1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1232 modules/stitching/src/seam_finders.cpp     Mat subdy1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1233 modules/stitching/src/seam_finders.cpp     Mat subdx2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1234 modules/stitching/src/seam_finders.cpp     Mat subdy2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1237 modules/stitching/src/seam_finders.cpp     for (int y = -gap; y < roi.height + gap; ++y)
roi              1239 modules/stitching/src/seam_finders.cpp         for (int x = -gap; x < roi.width + gap; ++x)
roi              1241 modules/stitching/src/seam_finders.cpp             int y1 = roi.y - tl1.y + y;
roi              1242 modules/stitching/src/seam_finders.cpp             int x1 = roi.x - tl1.x + x;
roi              1258 modules/stitching/src/seam_finders.cpp             int y2 = roi.y - tl2.y + y;
roi              1259 modules/stitching/src/seam_finders.cpp             int x2 = roi.x - tl2.x + x;
roi              1277 modules/stitching/src/seam_finders.cpp     const int vertex_count = (roi.height + 2 * gap) * (roi.width + 2 * gap);
roi              1278 modules/stitching/src/seam_finders.cpp     const int edge_count = (roi.height - 1 + 2 * gap) * (roi.width + 2 * gap) +
roi              1279 modules/stitching/src/seam_finders.cpp                            (roi.width - 1 + 2 * gap) * (roi.height + 2 * gap);
roi              1297 modules/stitching/src/seam_finders.cpp     for (int y = 0; y < roi.height; ++y)
roi              1299 modules/stitching/src/seam_finders.cpp         for (int x = 0; x < roi.width; ++x)
roi              1301 modules/stitching/src/seam_finders.cpp             if (graph.inSourceSegment((y + gap) * (roi.width + 2 * gap) + x + gap))
roi              1303 modules/stitching/src/seam_finders.cpp                 if (mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x))
roi              1304 modules/stitching/src/seam_finders.cpp                     mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0;
roi              1308 modules/stitching/src/seam_finders.cpp                 if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x))
roi              1309 modules/stitching/src/seam_finders.cpp                     mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0;
roi              1361 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinderGpu::findInPair(size_t first, size_t second, Rect roi)
roi              1370 modules/stitching/src/seam_finders.cpp     Mat subimg1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3);
roi              1371 modules/stitching/src/seam_finders.cpp     Mat subimg2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3);
roi              1372 modules/stitching/src/seam_finders.cpp     Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi              1373 modules/stitching/src/seam_finders.cpp     Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
roi              1374 modules/stitching/src/seam_finders.cpp     Mat subdx1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1375 modules/stitching/src/seam_finders.cpp     Mat subdy1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1376 modules/stitching/src/seam_finders.cpp     Mat subdx2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1377 modules/stitching/src/seam_finders.cpp     Mat subdy2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F);
roi              1380 modules/stitching/src/seam_finders.cpp     for (int y = -gap; y < roi.height + gap; ++y)
roi              1382 modules/stitching/src/seam_finders.cpp         for (int x = -gap; x < roi.width + gap; ++x)
roi              1384 modules/stitching/src/seam_finders.cpp             int y1 = roi.y - tl1.y + y;
roi              1385 modules/stitching/src/seam_finders.cpp             int x1 = roi.x - tl1.x + x;
roi              1401 modules/stitching/src/seam_finders.cpp             int y2 = roi.y - tl2.y + y;
roi              1402 modules/stitching/src/seam_finders.cpp             int x2 = roi.x - tl2.x + x;
roi              1446 modules/stitching/src/seam_finders.cpp     for (int y = 0; y < roi.height; ++y)
roi              1448 modules/stitching/src/seam_finders.cpp         for (int x = 0; x < roi.width; ++x)
roi              1452 modules/stitching/src/seam_finders.cpp                 if (mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x))
roi              1453 modules/stitching/src/seam_finders.cpp                     mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0;
roi              1457 modules/stitching/src/seam_finders.cpp                 if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x))
roi              1458 modules/stitching/src/seam_finders.cpp                     mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0;
roi               261 modules/stitching/src/stitcher.cpp                 Rect roi = w->warpRoi(sz, K, cameras_[i].R);
roi               262 modules/stitching/src/stitcher.cpp                 corners[i] = roi.tl();
roi               263 modules/stitching/src/stitcher.cpp                 sizes[i] = roi.size();
roi               101 modules/stitching/src/util.cpp bool overlapRoi(Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi)
roi               109 modules/stitching/src/util.cpp         roi = Rect(x_tl, y_tl, x_br - x_tl, y_br - y_tl);
roi               162 modules/ts/src/ts_arrtest.cpp             CvRect roi;
roi               179 modules/ts/src/ts_arrtest.cpp                     roi.width = size.width;
roi               180 modules/ts/src/ts_arrtest.cpp                     roi.height = size.height;
roi               182 modules/ts/src/ts_arrtest.cpp                         roi.x = randInt(rng) % (whole_size.width - size.width);
roi               185 modules/ts/src/ts_arrtest.cpp                         roi.y = randInt(rng) % (whole_size.height - size.height);
roi               193 modules/ts/src/ts_arrtest.cpp                         cvSetImageROI( (IplImage*)test_array[i][j], roi );
roi               201 modules/ts/src/ts_arrtest.cpp                         cvGetSubRect( test_array[i][j], &submat, roi );
roi                80 modules/video/src/compat_video.cpp         cv::Rect roi = rr.boundingRect() & cv::Rect(0, 0, img.cols, img.rows);
roi                81 modules/video/src/compat_video.cpp         comp->area = cvRound(cv::sum(img(roi))[0]);
roi               132 samples/cpp/camshiftdemo.cpp                     Mat roi(hue, selection), maskroi(mask, selection);
roi               133 samples/cpp/camshiftdemo.cpp                     calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges);
roi               177 samples/cpp/camshiftdemo.cpp             Mat roi(image, selection);
roi               178 samples/cpp/camshiftdemo.cpp             bitwise_not(roi, roi);
roi               181 samples/cpp/select3dobj.cpp     Rect roi = boundingRect(Mat(hull)) & Rect(Point(), frame.size());
roi               188 samples/cpp/select3dobj.cpp         grabCut(frame, selectedObjMask, roi, bgdModel, fgdModel,
roi               194 samples/cpp/select3dobj.cpp     return roi;
roi               760 samples/cpp/stitching_detailed.cpp                 Rect roi = warper->warpRoi(sz, K, cameras[i].R);
roi               761 samples/cpp/stitching_detailed.cpp                 corners[i] = roi.tl();
roi               762 samples/cpp/stitching_detailed.cpp                 sizes[i] = roi.size();
roi               124 samples/cpp/train_HOG.cpp         Mat roi = (*img)(box);
roi               125 samples/cpp/train_HOG.cpp         neg_lst.push_back( roi.clone() );
roi               127 samples/cpp/train_HOG.cpp         imshow( "img", roi.clone() );
roi               122 samples/gpu/cascadeclassifier_nvidia_api.cpp     NcvSize32u roi;
roi               123 samples/gpu/cascadeclassifier_nvidia_api.cpp     roi.width = d_src.width();
roi               124 samples/gpu/cascadeclassifier_nvidia_api.cpp     roi.height = d_src.height();
roi               128 samples/gpu/cascadeclassifier_nvidia_api.cpp         d_src, roi, d_rects, numDetections, haar, h_haarStages,
roi               133 samples/tapi/camshift.cpp                     cv::UMat roi(hue, selection), maskroi(mask, selection);
roi               134 samples/tapi/camshift.cpp                     cv::calcHist(std::vector<cv::Mat>(1, roi.getMat(cv::ACCESS_READ)), std::vector<int>(1, 0),
roi               188 samples/tapi/camshift.cpp             cv::UMat roi(image, selection);
roi               189 samples/tapi/camshift.cpp             cv::bitwise_not(roi, roi);