submat 357 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ); submat 371 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvGetRows( const CvArr* arr, CvMat* submat, submat 380 modules/core/include/opencv2/core/core_c.h CV_INLINE CvMat* cvGetRow( const CvArr* arr, CvMat* submat, int row ) submat 382 modules/core/include/opencv2/core/core_c.h return cvGetRows( arr, submat, row, row + 1, 1 ); submat 398 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvGetCols( const CvArr* arr, CvMat* submat, submat 406 modules/core/include/opencv2/core/core_c.h CV_INLINE CvMat* cvGetCol( const CvArr* arr, CvMat* submat, int col ) submat 408 modules/core/include/opencv2/core/core_c.h return cvGetCols( arr, submat, col, col + 1 ); submat 420 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvGetDiag( const CvArr* arr, CvMat* submat, submat 1006 modules/core/misc/java/test/CoreTest.java Mat submat = grayRnd.submat(0, grayRnd.rows() / 2, 0, grayRnd.cols() / 2); submat 1007 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(33)); submat 1009 modules/core/misc/java/test/CoreTest.java submat = mask.submat(0, mask.rows() / 2, 0, mask.cols() / 2); submat 1010 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(1)); submat 1067 modules/core/misc/java/test/CoreTest.java mask.submat(1, 3, 1, 4).setTo(new Scalar(1)); submat 1809 modules/core/misc/java/test/CoreTest.java Mat submat = gray0.submat(0, gray0.rows() / 2, 0, gray0.cols() / 2); submat 1810 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(1.0)); submat 1814 modules/core/misc/java/test/CoreTest.java submat = dst.submat(0, dst.rows() / 2, dst.cols() / 2, dst.cols()); submat 1815 modules/core/misc/java/test/CoreTest.java assertTrue(submat.total() == Core.countNonZero(submat)); submat 1819 modules/core/misc/java/test/CoreTest.java submat = dst.submat(dst.rows() / 2, dst.rows(), 0, dst.cols() / 2); submat 1821 modules/core/misc/java/test/CoreTest.java assertTrue(submat.total() == Core.countNonZero(submat)); submat 1964 modules/core/misc/java/test/CoreTest.java gray0.submat(0, gray0.rows() / 2, 0, gray0.cols()).setTo(new Scalar(1)); submat 1969 modules/core/misc/java/test/CoreTest.java Mat subdst = destination.submat(0, destination.rows(), 0, destination.cols() / 2); submat 19 modules/core/misc/java/test/MatTest.java Mat roi = gray0.submat(3, 5, 7, 10); submat 86 modules/core/misc/java/test/MatTest.java Mat roi = new Mat(5, 3, CvType.CV_8UC(10)).submat(1, 3, 2, 3); submat 298 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 312 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 326 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 350 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 372 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 394 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 416 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 438 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 491 modules/core/misc/java/test/MatTest.java Mat subMat = gray0.submat(0, 0, gray0.rows() / 2, gray0.cols() / 2); submat 497 modules/core/misc/java/test/MatTest.java Mat subMat = gray0.submat(0, 0, gray0.rows() / 2, gray0.cols() / 2); submat 502 modules/core/misc/java/test/MatTest.java Mat roi = gray0.submat(3, 5, 7, 10); submat 665 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 703 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); submat 911 modules/core/misc/java/test/MatTest.java Mat roi = rgba0.submat(3, 5, 7, 10); submat 921 modules/core/misc/java/test/MatTest.java Mat submat = gray0.submat(0, gray0.rows() / 2, 0, gray0.cols() / 2); submat 923 modules/core/misc/java/test/MatTest.java assertTrue(submat.isSubmatrix()); submat 924 modules/core/misc/java/test/MatTest.java assertFalse(submat.isContinuous()); submat 925 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows() / 2, submat.rows()); submat 926 modules/core/misc/java/test/MatTest.java assertEquals(gray0.cols() / 2, submat.cols()); submat 930 modules/core/misc/java/test/MatTest.java Mat submat = gray255.submat(new Range(2, 4), new Range(2, 4)); submat 931 modules/core/misc/java/test/MatTest.java assertTrue(submat.isSubmatrix()); submat 932 modules/core/misc/java/test/MatTest.java assertFalse(submat.isContinuous()); submat 934 modules/core/misc/java/test/MatTest.java assertEquals(2, submat.rows()); submat 935 modules/core/misc/java/test/MatTest.java assertEquals(2, submat.cols()); submat 939 modules/core/misc/java/test/MatTest.java Mat submat = gray255.submat(new Rect(5, gray255.rows() / 2, 5, gray255.cols() / 2)); submat 940 modules/core/misc/java/test/MatTest.java assertTrue(submat.isSubmatrix()); submat 941 modules/core/misc/java/test/MatTest.java assertFalse(submat.isContinuous()); submat 943 modules/core/misc/java/test/MatTest.java assertEquals(gray255.rows() / 2, submat.rows()); submat 944 modules/core/misc/java/test/MatTest.java assertEquals(gray255.cols() / 2, submat.cols()); submat 1256 modules/core/src/array.cpp cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ) submat 1264 modules/core/src/array.cpp if( !submat ) submat 1283 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + (size_t)rect.y*mat->step + submat 1285 modules/core/src/array.cpp submat->step = mat->step; submat 1286 modules/core/src/array.cpp submat->type = (mat->type & (rect.width < mat->cols ? ~CV_MAT_CONT_FLAG : -1)) | submat 1288 modules/core/src/array.cpp submat->rows = rect.height; submat 1289 modules/core/src/array.cpp submat->cols = rect.width; submat 1290 modules/core/src/array.cpp submat->refcount = 0; submat 1291 modules/core/src/array.cpp res = submat; submat 1300 modules/core/src/array.cpp cvGetRows( const CvArr* arr, CvMat* submat, submat 1309 modules/core/src/array.cpp if( !submat ) submat 1327 modules/core/src/array.cpp submat->rows = end_row - start_row; submat 1328 modules/core/src/array.cpp submat->step = mat->step; submat 1332 modules/core/src/array.cpp submat->rows = (end_row - start_row + delta_row - 1)/delta_row; submat 1333 modules/core/src/array.cpp submat->step = mat->step * delta_row; submat 1336 modules/core/src/array.cpp submat->cols = mat->cols; submat 1337 modules/core/src/array.cpp submat->step &= submat->rows > 1 ? -1 : 0; submat 1338 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + (size_t)start_row*mat->step; submat 1339 modules/core/src/array.cpp submat->type = (mat->type | (submat->rows == 1 ? CV_MAT_CONT_FLAG : 0)) & submat 1340 modules/core/src/array.cpp (delta_row != 1 && submat->rows > 1 ? ~CV_MAT_CONT_FLAG : -1); submat 1341 modules/core/src/array.cpp submat->refcount = 0; submat 1342 modules/core/src/array.cpp submat->hdr_refcount = 0; submat 1343 modules/core/src/array.cpp res = submat; submat 1352 modules/core/src/array.cpp cvGetCols( const CvArr* arr, CvMat* submat, int start_col, int end_col ) submat 1361 modules/core/src/array.cpp if( !submat ) submat 1378 modules/core/src/array.cpp submat->rows = mat->rows; submat 1379 modules/core/src/array.cpp submat->cols = end_col - start_col; submat 1380 modules/core/src/array.cpp submat->step = mat->step; submat 1381 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + (size_t)start_col*CV_ELEM_SIZE(mat->type); submat 1382 modules/core/src/array.cpp submat->type = mat->type & (submat->rows > 1 && submat->cols < cols ? ~CV_MAT_CONT_FLAG : -1); submat 1383 modules/core/src/array.cpp submat->refcount = 0; submat 1384 modules/core/src/array.cpp submat->hdr_refcount = 0; submat 1385 modules/core/src/array.cpp res = submat; submat 1394 modules/core/src/array.cpp cvGetDiag( const CvArr* arr, CvMat* submat, int diag ) submat 1403 modules/core/src/array.cpp if( !submat ) submat 1425 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + diag*pix_size; submat 1435 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr - diag*mat->step; submat 1438 modules/core/src/array.cpp submat->rows = len; submat 1439 modules/core/src/array.cpp submat->cols = 1; submat 1440 modules/core/src/array.cpp submat->step = mat->step + (submat->rows > 1 ? pix_size : 0); submat 1441 modules/core/src/array.cpp submat->type = mat->type; submat 1442 modules/core/src/array.cpp if( submat->rows > 1 ) submat 1443 modules/core/src/array.cpp submat->type &= ~CV_MAT_CONT_FLAG; submat 1445 modules/core/src/array.cpp submat->type |= CV_MAT_CONT_FLAG; submat 1446 modules/core/src/array.cpp submat->refcount = 0; submat 1447 modules/core/src/array.cpp submat->hdr_refcount = 0; submat 1448 modules/core/src/array.cpp res = submat; submat 24 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Mat right = mask.submat(0, 100, 50, 100); submat 97 modules/features2d/misc/java/test/Features2dTest.java Mat imgQuery = imgTrain.submat(new Range(0, imgTrain.rows() - 100), Range.all()); submat 25 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Mat right = mask.submat(0, matSize, matSize / 2, matSize); submat 29 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Mat right = mask.submat(0, matSize, matSize / 2, matSize); submat 773 modules/imgproc/misc/java/test/ImgprocTest.java Mat img2 = img.submat(5, 50, 3, 50); submat 827 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(mask.submat(1, matSize + 1, 1, matSize + 1), img); submat 1767 modules/imgproc/src/morph.cpp bool submat = _dst.isSubmatrix(); submat 1769 modules/imgproc/src/morph.cpp _OutputArray _temp = submat ? _dst : _OutputArray(temp); submat 198 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); submat 299 modules/java/generator/src/java/android+JavaCameraView.java return mYuvFrameData.submat(0, mHeight, 0, mWidth); submat 228 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); submat 200 modules/ts/src/ts_arrtest.cpp CvMat submat, *mat = (CvMat*)test_array[i][j]; submat 201 modules/ts/src/ts_arrtest.cpp cvGetSubRect( test_array[i][j], &submat, roi ); submat 202 modules/ts/src/ts_arrtest.cpp submat.refcount = mat->refcount; submat 203 modules/ts/src/ts_arrtest.cpp *mat = submat; submat 37 modules/video/misc/java/test/VideoTest.java subLena1 = rgbLena.submat(shift1, h + shift1, shift1, w + shift1); submat 38 modules/video/misc/java/test/VideoTest.java subLena2 = rgbLena.submat(shift2, h + shift2, shift2, w + shift2); submat 215 modules/video/test/test_optflowpyrlk.cpp TEST(Video_OpticalFlowPyrLK, submat) submat 62 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mCells15[k] = mRgba15.submat(i * height / GRID_SIZE, (i + 1) * height / GRID_SIZE, j * width / GRID_SIZE, (j + 1) * width / GRID_SIZE); submat 87 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java cells[k] = inputPicture.submat(i * inputPicture.rows() / GRID_SIZE, (i + 1) * inputPicture.rows() / GRID_SIZE, j * inputPicture.cols()/ GRID_SIZE, (j + 1) * inputPicture.cols() / GRID_SIZE); submat 142 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java Mat touchedRegionRgba = mRgba.submat(touchedRect); submat 179 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java Mat colorLabel = mRgba.submat(4, 68, 4, 68); submat 182 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java Mat spectrumLabel = mRgba.submat(4, 4 + mSpectrum.rows(), 70, 70 + mSpectrum.cols()); submat 262 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); submat 270 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat grayInnerWindow = gray.submat(top, top + height, left, left + width); submat 271 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); submat 280 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); submat 286 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat zoomCorner = rgba.submat(0, rows / 2 - rows / 10, 0, cols / 2 - cols / 10); submat 287 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat mZoomWindow = rgba.submat(rows / 2 - 9 * rows / 100, rows / 2 + 9 * rows / 100, cols / 2 - 9 * cols / 100, cols / 2 + 9 * cols / 100); submat 296 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); submat 308 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width);