rows 694 3rdparty/libjpeg/jmemmgr.c long bytesperrow, file_offset, byte_count, rows, thisrow, i; rows 701 3rdparty/libjpeg/jmemmgr.c rows = MIN((long) ptr->rowsperchunk, (long) ptr->rows_in_mem - i); rows 704 3rdparty/libjpeg/jmemmgr.c rows = MIN(rows, (long) ptr->first_undef_row - thisrow); rows 706 3rdparty/libjpeg/jmemmgr.c rows = MIN(rows, (long) ptr->rows_in_array - thisrow); rows 707 3rdparty/libjpeg/jmemmgr.c if (rows <= 0) /* this chunk might be past end of file! */ rows 709 3rdparty/libjpeg/jmemmgr.c byte_count = rows * bytesperrow; rows 727 3rdparty/libjpeg/jmemmgr.c long bytesperrow, file_offset, byte_count, rows, thisrow, i; rows 734 3rdparty/libjpeg/jmemmgr.c rows = MIN((long) ptr->rowsperchunk, (long) ptr->rows_in_mem - i); rows 737 3rdparty/libjpeg/jmemmgr.c rows = MIN(rows, (long) ptr->first_undef_row - thisrow); rows 739 3rdparty/libjpeg/jmemmgr.c rows = MIN(rows, (long) ptr->rows_in_array - thisrow); rows 740 3rdparty/libjpeg/jmemmgr.c if (rows <= 0) /* this chunk might be past end of file! */ rows 742 3rdparty/libjpeg/jmemmgr.c byte_count = rows * bytesperrow; rows 325 3rdparty/libtiff/tif_read.c uint32 rows; rows 347 3rdparty/libtiff/tif_read.c rows=td->td_imagelength-stripinplane*rowsperstrip; rows 348 3rdparty/libtiff/tif_read.c if (rows>rowsperstrip) rows 349 3rdparty/libtiff/tif_read.c rows=rowsperstrip; rows 350 3rdparty/libtiff/tif_read.c stripsize=TIFFVStripSize(tif,rows); rows 249 3rdparty/libtiff/tif_strip.c uint64 rows; rows 253 3rdparty/libtiff/tif_strip.c rows=(uint64)STRIP_SIZE_DEFAULT/scanlinesize; rows 254 3rdparty/libtiff/tif_strip.c if (rows==0) rows 255 3rdparty/libtiff/tif_strip.c rows=1; rows 256 3rdparty/libtiff/tif_strip.c else if (rows>0xFFFFFFFF) rows 257 3rdparty/libtiff/tif_strip.c rows=0xFFFFFFFF; rows 258 3rdparty/libtiff/tif_strip.c s=(uint32)rows; rows 612 3rdparty/libwebp/dec/vp8l.c const uint32_t* const rows) { rows 617 3rdparty/libwebp/dec/vp8l.c const uint32_t* rows_in = rows; rows 632 3rdparty/libwebp/dec/vp8l.c const uint8_t* const rows) { rows 635 3rdparty/libwebp/dec/vp8l.c const uint8_t* rows_in = rows; rows 647 3rdparty/libwebp/dec/vp8l.c const uint32_t* const rows = dec->pixels_ + dec->width_ * dec->last_row_; rows 651 3rdparty/libwebp/dec/vp8l.c ApplyInverseTransforms(dec, num_rows, rows); rows 144 apps/createsamples/utility.cpp for( r = 0; r < mat->rows; r++ ) rows 767 apps/createsamples/utility.cpp scale = MAX( ((float) cr.width) / bgimg->cols, ((float) cr.height) / bgimg->rows ); rows 770 apps/createsamples/utility.cpp roi.y = (int) (-0.5F * (scale * bgimg->rows - cr.height) + cr.y); rows 772 apps/createsamples/utility.cpp roi.height = (int) (scale * bgimg->rows); rows 774 apps/createsamples/utility.cpp img = cvCreateImage( cvSize( bgimg->cols, bgimg->rows ), IPL_DEPTH_8U, 1 ); rows 775 apps/createsamples/utility.cpp maskimg = cvCreateImage( cvSize( bgimg->cols, bgimg->rows ), IPL_DEPTH_8U, 1 ); rows 1050 apps/createsamples/utility.cpp ((float) data->winsize.height + reader->point.y) / ((float) reader->src.rows) ); rows 1052 apps/createsamples/utility.cpp reader->img = cvMat( (int) (reader->scale * reader->src.rows + 0.5F), rows 1086 apps/createsamples/utility.cpp assert( img->rows == data->winsize.height ); rows 1107 apps/createsamples/utility.cpp < reader->img.rows ) rows 1117 apps/createsamples/utility.cpp reader->img = cvMat( (int) (reader->scale * reader->src.rows), rows 1241 apps/createsamples/utility.cpp icvWriteVecHeader( output, count, sample.cols, sample.rows ); rows 1371 apps/createsamples/utility.cpp 0.7F * cvbgreader->src.rows / winheight ); rows 1378 apps/createsamples/utility.cpp y = (int) ((0.1+0.8 * rand()/RAND_MAX) * (cvbgreader->src.rows - height)); rows 1577 apps/createsamples/utility.cpp assert( img->rows * img->cols == ((CvVecFile*) userdata)->vecsize ); rows 1591 apps/createsamples/utility.cpp for( r = 0; r < img->rows; r++ ) rows 235 apps/traincascade/HOGfeatures.cpp for( y = 0; y < qangle.rows; y++ ) rows 132 apps/traincascade/boost.cpp if( idx_arr->rows != 1 && idx_arr->cols != 1 ) rows 135 apps/traincascade/boost.cpp idx_total = idx_arr->rows + idx_arr->cols - 1; rows 359 apps/traincascade/boost.cpp if( isubsample_idx->cols + isubsample_idx->rows - 1 == sample_count ) rows 399 apps/traincascade/boost.cpp int count = isubsample_idx->rows + isubsample_idx->cols - 1; rows 11 apps/traincascade/features.cpp CV_DbgAssert( sum.cols > 3 && sqSum.rows > 3 ); rows 12 apps/traincascade/features.cpp Rect normrect( 1, 1, sum.cols - 3, sum.rows - 3 ); rows 82 apps/traincascade/features.cpp CV_Assert(img.rows == winSize.height); rows 83 apps/traincascade/features.cpp CV_Assert(idx < cls.rows); rows 66 apps/traincascade/imagestorage.cpp _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); rows 76 apps/traincascade/imagestorage.cpp ((float)winSize.height + point.y) / ((float)src.rows) ); rows 78 apps/traincascade/imagestorage.cpp Size sz( (int)(scale*src.cols + 0.5F), (int)(scale*src.rows + 0.5F) ); rows 88 apps/traincascade/imagestorage.cpp CV_Assert( _img.rows == winSize.height ); rows 103 apps/traincascade/imagestorage.cpp if( (int)( point.y + (1.0F + stepFactor ) * winSize.height ) < img.rows ) rows 110 apps/traincascade/imagestorage.cpp resize( src, img, Size( (int)(scale*src.cols), (int)(scale*src.rows) ) ); rows 152 apps/traincascade/imagestorage.cpp CV_Assert( _img.rows * _img.cols == vecSize ); rows 165 apps/traincascade/imagestorage.cpp for( int r = 0; r < _img.rows; r++ ) rows 414 apps/traincascade/old_ml.hpp CvSVMKernelRow* rows; rows 1618 apps/traincascade/old_ml_boost.cpp (_sample->cols != 1 && _sample->rows != 1) || rows 1619 apps/traincascade/old_ml_boost.cpp (_sample->cols + _sample->rows - 1 != data->var_all && !raw_mode) || rows 1620 apps/traincascade/old_ml_boost.cpp (active_vars && _sample->cols + _sample->rows - 1 != active_vars->cols && raw_mode) ) rows 1645 apps/traincascade/old_ml_boost.cpp (weak_responses->cols != 1 && weak_responses->rows != 1) || rows 1646 apps/traincascade/old_ml_boost.cpp weak_responses->cols + weak_responses->rows - 1 != weak_count ) rows 1843 apps/traincascade/old_ml_boost.cpp sample_count = (type == CV_TRAIN_ERROR && sample_count == 0) ? values->rows : sample_count; rows 606 apps/traincascade/old_ml_data.cpp response_out = cvCreateMatHeader( values->rows, 1, CV_32FC1 ); rows 608 apps/traincascade/old_ml_data.cpp cvInitMatHeader( response_out, values->rows, 1, CV_32FC1); rows 626 apps/traincascade/old_ml_data.cpp sample_count = values->rows; rows 713 apps/traincascade/old_ml_data.cpp if ( train_sample_count > 0 && train_sample_count < values->rows ) rows 715 apps/traincascade/old_ml_data.cpp int n = values->rows; rows 127 apps/traincascade/old_ml_inner_functions.cpp int dim = A->rows; rows 161 apps/traincascade/old_ml_inner_functions.cpp int amount = sample->rows; rows 221 apps/traincascade/old_ml_inner_functions.cpp int amount = sample->rows; rows 408 apps/traincascade/old_ml_inner_functions.cpp if( idx_arr->rows != 1 && idx_arr->cols != 1 ) rows 411 apps/traincascade/old_ml_inner_functions.cpp idx_total = idx_arr->rows + idx_arr->cols - 1; rows 515 apps/traincascade/old_ml_inner_functions.cpp if( var_type->rows != 1 && var_type->cols != 1 ) rows 521 apps/traincascade/old_ml_inner_functions.cpp tm_size = var_type->rows + var_type->cols - 1; rows 522 apps/traincascade/old_ml_inner_functions.cpp tm_step = var_type->rows == 1 ? 1 : var_type->step/CV_ELEM_SIZE(var_type->type); rows 534 apps/traincascade/old_ml_inner_functions.cpp (var_idx->rows != 1 && var_idx->cols != 1) || !CV_IS_MAT_CONT(var_idx->type) ) rows 536 apps/traincascade/old_ml_inner_functions.cpp if( var_idx->rows + var_idx->cols - 1 > var_count ) rows 539 apps/traincascade/old_ml_inner_functions.cpp var_count = var_idx->rows + var_idx->cols - 1; rows 576 apps/traincascade/old_ml_inner_functions.cpp if( responses->rows != 1 && responses->cols != 1 ) rows 579 apps/traincascade/old_ml_inner_functions.cpp if( responses->rows + responses->cols - 1 != sample_count ) rows 598 apps/traincascade/old_ml_inner_functions.cpp (sample_idx->rows != 1 && sample_idx->cols != 1) || !CV_IS_MAT_CONT(sample_idx->type) ) rows 600 apps/traincascade/old_ml_inner_functions.cpp if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) rows 603 apps/traincascade/old_ml_inner_functions.cpp sample_count = sample_idx->rows + sample_idx->cols - 1; rows 666 apps/traincascade/old_ml_inner_functions.cpp if( responses->rows != 1 && responses->cols != 1 ) rows 669 apps/traincascade/old_ml_inner_functions.cpp if( responses->rows + responses->cols - 1 != sample_count ) rows 677 apps/traincascade/old_ml_inner_functions.cpp r_step = responses->rows == 1 ? 1 : responses->step / CV_ELEM_SIZE(responses->type); rows 682 apps/traincascade/old_ml_inner_functions.cpp (sample_idx->rows != 1 && sample_idx->cols != 1) || !CV_IS_MAT_CONT(sample_idx->type) ) rows 684 apps/traincascade/old_ml_inner_functions.cpp if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) rows 687 apps/traincascade/old_ml_inner_functions.cpp sample_count = sample_idx->rows + sample_idx->cols - 1; rows 788 apps/traincascade/old_ml_inner_functions.cpp var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : rows 789 apps/traincascade/old_ml_inner_functions.cpp tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; rows 790 apps/traincascade/old_ml_inner_functions.cpp sample_count = sample_idx ? sample_idx->cols + sample_idx->rows - 1 : rows 791 apps/traincascade/old_ml_inner_functions.cpp tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; rows 872 apps/traincascade/old_ml_inner_functions.cpp *var_all = tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; rows 875 apps/traincascade/old_ml_inner_functions.cpp *sample_all = tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; rows 1041 apps/traincascade/old_ml_inner_functions.cpp if( classes->rows != 1 || CV_MAT_TYPE(classes->type) != CV_32SC1 ) rows 1106 apps/traincascade/old_ml_inner_functions.cpp if( !((is_sparse && d == 1) || (!is_sparse && d == 2 && (sample->rows == 1 || sample->cols == 1))) ) rows 1119 apps/traincascade/old_ml_inner_functions.cpp if( comp_idx && (!CV_IS_MAT(comp_idx) || comp_idx->rows != 1 || rows 1130 apps/traincascade/old_ml_inner_functions.cpp if( (prob->rows != 1 && prob->cols != 1) || rows 1136 apps/traincascade/old_ml_inner_functions.cpp if( prob->rows + prob->cols - 1 != class_count ) rows 1364 apps/traincascade/old_ml_inner_functions.cpp CV_ASSERT( sample_idx->rows == 1 && CV_MAT_TYPE(sample_idx->type) == CV_32SC1 ); rows 1370 apps/traincascade/old_ml_inner_functions.cpp CV_ASSERT( comp_idx->rows == 1 && CV_MAT_TYPE(comp_idx->type) == CV_32SC1 ); rows 1379 apps/traincascade/old_ml_inner_functions.cpp CV_ASSERT( labels->rows == 1 ); rows 1381 apps/traincascade/old_ml_inner_functions.cpp if( dst_labels->rows != 1 && dst_labels->cols != 1 ) rows 1384 apps/traincascade/old_ml_inner_functions.cpp if( dst_labels->rows + dst_labels->cols - 1 != samples_all ) rows 1402 apps/traincascade/old_ml_inner_functions.cpp if( centers->rows != dst_centers->rows ) rows 1412 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < centers->rows; i++ ) rows 1426 apps/traincascade/old_ml_inner_functions.cpp if( dst_probs->rows != samples_all ) rows 1431 apps/traincascade/old_ml_inner_functions.cpp CV_ASSERT( probs->rows == samples_selected ); rows 1511 apps/traincascade/old_ml_inner_functions.cpp if( sample_idx->cols != 1 && sample_idx->rows != 1 ) rows 1514 apps/traincascade/old_ml_inner_functions.cpp samples_selected = sample_idx->rows + sample_idx->cols - 1; rows 1528 apps/traincascade/old_ml_inner_functions.cpp if( predict_output->rows != 1 && predict_output->cols != 1 ) rows 1531 apps/traincascade/old_ml_inner_functions.cpp if( predict_output->rows + predict_output->cols - 1 != samples_all ) rows 1542 apps/traincascade/old_ml_inner_functions.cpp if( probs->rows != samples_all ) rows 1756 apps/traincascade/old_ml_inner_functions.cpp samples = _responses->cols + _responses->rows - 1; rows 1830 apps/traincascade/old_ml_inner_functions.cpp nsamples = probs->rows; rows 72 apps/traincascade/old_ml_precomp.hpp if( MIN( (mat).rows, (mat).cols ) != 1 ) \ rows 75 apps/traincascade/old_ml_precomp.hpp if( (mat).rows == 1 ) \ rows 83 apps/traincascade/old_ml_precomp.hpp (num) = (mat).rows; \ rows 93 apps/traincascade/old_ml_precomp.hpp (m) = (mat).rows; \ rows 100 apps/traincascade/old_ml_precomp.hpp (n) = (mat).rows; \ rows 106 apps/traincascade/old_ml_precomp.hpp (mat)->cols > 0 && (mat)->rows > 0) rows 226 apps/traincascade/old_ml_precomp.hpp int nsamples = (matrice)->rows; \ rows 248 apps/traincascade/old_ml_tree.cpp sample_count = sample_indices->rows + sample_indices->cols - 1; rows 255 apps/traincascade/old_ml_tree.cpp var_count = var_idx->rows + var_idx->cols - 1; rows 265 apps/traincascade/old_ml_tree.cpp (_responses->rows != 1 && _responses->cols != 1) || rows 266 apps/traincascade/old_ml_tree.cpp _responses->rows + _responses->cols - 1 != sample_all ) rows 690 apps/traincascade/old_ml_tree.cpp responses_copy = cvCreateMat( responses->rows, responses->cols, responses->type ); rows 714 apps/traincascade/old_ml_tree.cpp if( isubsample_idx->cols + isubsample_idx->rows - 1 == sample_count ) rows 755 apps/traincascade/old_ml_tree.cpp int count = isubsample_idx->rows + isubsample_idx->cols - 1; rows 922 apps/traincascade/old_ml_tree.cpp count = subsample_idx->cols + subsample_idx->rows - 1; rows 1408 apps/traincascade/old_ml_tree.cpp (var_idx->cols != 1 && var_idx->rows != 1) || rows 1409 apps/traincascade/old_ml_tree.cpp var_idx->cols + var_idx->rows - 1 != var_count || rows 1457 apps/traincascade/old_ml_tree.cpp (cat_count->cols != 1 && cat_count->rows != 1) || rows 1459 apps/traincascade/old_ml_tree.cpp cat_count->cols + cat_count->rows - 1 != cat_var_count + is_classifier || rows 1460 apps/traincascade/old_ml_tree.cpp (cat_map->cols != 1 && cat_map->rows != 1) || rows 1480 apps/traincascade/old_ml_tree.cpp if( cat_map->cols + cat_map->rows - 1 != total_c_count ) rows 3330 apps/traincascade/old_ml_tree.cpp sample_count = (type == CV_TRAIN_ERROR && sample_count == 0) ? values->rows : sample_count; rows 3631 apps/traincascade/old_ml_tree.cpp (_sample->cols != 1 && _sample->rows != 1) || rows 3632 apps/traincascade/old_ml_tree.cpp (_sample->cols + _sample->rows - 1 != data->var_all && !preprocessed_input) || rows 3633 apps/traincascade/old_ml_tree.cpp (_sample->cols + _sample->rows - 1 != data->var_count && preprocessed_input) ) rows 165 modules/calib3d/misc/java/test/Calib3dTest.java Point center = new Point(gray_16s_1024.rows() / 2., gray_16s_1024.cols() / 2.); rows 208 modules/calib3d/misc/java/test/Calib3dTest.java assertEquals(25, centers.rows()); rows 234 modules/calib3d/misc/java/test/Calib3dTest.java assertEquals(15, centers.rows()); rows 374 modules/calib3d/misc/java/test/Calib3dTest.java assertEquals(matSize, _3dPoints.rows()); rows 409 modules/calib3d/misc/java/test/Calib3dTest.java assertEquals(matSize, _3dPoints.rows()); rows 444 modules/calib3d/misc/java/test/Calib3dTest.java assertEquals(matSize, _3dPoints.rows()); rows 274 modules/calib3d/src/calibinit.cpp thresh_img.reset(cvCreateMat( img->rows, img->cols, CV_8UC1 )); rows 286 modules/calib3d/src/calibinit.cpp norm_img.reset(cvCreateMat( img->rows, img->cols, CV_8UC1 )); rows 339 modules/calib3d/src/calibinit.cpp MIN(img->cols,img->rows)*(k%2 == 0 ? 0.2 : 0.1): prev_sqr_size*2)|1; rows 370 modules/calib3d/src/calibinit.cpp thresh_img->rows-1), CV_RGB(255,255,255), 3, 8); rows 516 modules/calib3d/src/calibinit.cpp out_corners[k].y <= BORDER || out_corners[k].y > img->rows - BORDER ) rows 543 modules/calib3d/src/calibinit.cpp gray.reset(cvCreateMat(img->rows, img->cols, CV_8UC1)); rows 69 modules/calib3d/src/calibration.cpp CV_Assert( A->cols == B->rows ); rows 71 modules/calib3d/src/calibration.cpp M = A->rows; rows 79 modules/calib3d/src/calibration.cpp dABdA->rows == A->rows*B->cols && dABdA->cols == A->rows*A->cols ); rows 85 modules/calib3d/src/calibration.cpp dABdB->rows == A->rows*B->cols && dABdB->cols == B->rows*B->cols ); rows 168 modules/calib3d/src/calibration.cpp CV_Assert( _rvec1->rows == 3 && _rvec1->cols == 1 && CV_ARE_SIZES_EQ(_rvec1, _rvec2) ); rows 282 modules/calib3d/src/calibration.cpp if( (jacobian->rows != 9 || jacobian->cols != 3) && rows 283 modules/calib3d/src/calibration.cpp (jacobian->rows != 3 || jacobian->cols != 9)) rows 287 modules/calib3d/src/calibration.cpp if( src->cols == 1 || src->rows == 1 ) rows 290 modules/calib3d/src/calibration.cpp int step = src->rows > 1 ? src->step / elem_size : 1; rows 292 modules/calib3d/src/calibration.cpp if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 ) rows 295 modules/calib3d/src/calibration.cpp if( dst->rows != 3 || dst->cols != 3 || CV_MAT_CN(dst->type) != 1 ) rows 366 modules/calib3d/src/calibration.cpp else if( src->cols == 3 && src->rows == 3 ) rows 374 modules/calib3d/src/calibration.cpp int step = dst->rows > 1 ? dst->step / elem_size : 1; rows 376 modules/calib3d/src/calibration.cpp if( (dst->rows != 1 || dst->cols*CV_MAT_CN(dst->type) != 3) && rows 377 modules/calib3d/src/calibration.cpp (dst->rows != 3 || dst->cols != 1 || CV_MAT_CN(dst->type) != 1)) rows 506 modules/calib3d/src/calibration.cpp if( jacobian->rows == matJ.rows ) rows 511 modules/calib3d/src/calibration.cpp CvMat _Jf = cvMat( matJ.rows, matJ.cols, CV_32FC1, Jf ); rows 516 modules/calib3d/src/calibration.cpp else if( jacobian->rows == matJ.rows ) rows 557 modules/calib3d/src/calibration.cpp int total = objectPoints->rows * objectPoints->cols * CV_MAT_CN(objectPoints->type); rows 567 modules/calib3d/src/calibration.cpp ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) || rows 568 modules/calib3d/src/calibration.cpp (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3) || rows 569 modules/calib3d/src/calibration.cpp (objectPoints->rows == 3 && CV_MAT_CN(objectPoints->type) == 1 && objectPoints->cols == count))) rows 571 modules/calib3d/src/calibration.cpp matM.reset(cvCreateMat( objectPoints->rows, objectPoints->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(objectPoints->type)) )); rows 583 modules/calib3d/src/calibration.cpp ((imagePoints->rows == 1 && CV_MAT_CN(imagePoints->type) == 2) || rows 584 modules/calib3d/src/calibration.cpp (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2) || rows 585 modules/calib3d/src/calibration.cpp (imagePoints->rows == 2 && CV_MAT_CN(imagePoints->type) == 1 && imagePoints->cols == count))) rows 587 modules/calib3d/src/calibration.cpp _m.reset(cvCreateMat( imagePoints->rows, imagePoints->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(imagePoints->type)) )); rows 600 modules/calib3d/src/calibration.cpp (((r_vec->rows != 1 && r_vec->cols != 1) || rows 601 modules/calib3d/src/calibration.cpp r_vec->rows*r_vec->cols*CV_MAT_CN(r_vec->type) != 3) && rows 602 modules/calib3d/src/calibration.cpp ((r_vec->rows != 3 && r_vec->cols != 3) || CV_MAT_CN(r_vec->type) != 1))) rows 606 modules/calib3d/src/calibration.cpp if( r_vec->rows == 3 && r_vec->cols == 3 ) rows 615 modules/calib3d/src/calibration.cpp _r = cvMat( r_vec->rows, r_vec->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(r_vec->type)), r ); rows 621 modules/calib3d/src/calibration.cpp (t_vec->rows != 1 && t_vec->cols != 1) || rows 622 modules/calib3d/src/calibration.cpp t_vec->rows*t_vec->cols*CV_MAT_CN(t_vec->type) != 3 ) rows 626 modules/calib3d/src/calibration.cpp _t = cvMat( t_vec->rows, t_vec->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(t_vec->type)), t ); rows 630 modules/calib3d/src/calibration.cpp A->rows != 3 || A->cols != 3 ) rows 645 modules/calib3d/src/calibration.cpp (distCoeffs->rows != 1 && distCoeffs->cols != 1) || rows 646 modules/calib3d/src/calibration.cpp (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 4 && rows 647 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 5 && rows 648 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 8 && rows 649 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 12) ) rows 652 modules/calib3d/src/calibration.cpp _k = cvMat( distCoeffs->rows, distCoeffs->cols, rows 662 modules/calib3d/src/calibration.cpp dpdr->rows != count*2 || dpdr->cols != 3 ) rows 680 modules/calib3d/src/calibration.cpp dpdt->rows != count*2 || dpdt->cols != 3 ) rows 697 modules/calib3d/src/calibration.cpp dpdf->rows != count*2 || dpdf->cols != 2 ) rows 714 modules/calib3d/src/calibration.cpp dpdc->rows != count*2 || dpdc->cols != 2 ) rows 731 modules/calib3d/src/calibration.cpp dpdk->rows != count*2 || (dpdk->cols != 12 && dpdk->cols != 8 && dpdk->cols != 5 && dpdk->cols != 4 && dpdk->cols != 2) ) rows 742 modules/calib3d/src/calibration.cpp _dpdk.reset(cvCreateMat( dpdk->rows, dpdk->cols, CV_64FC1 )); rows 952 modules/calib3d/src/calibration.cpp count = MAX(objectPoints->cols, objectPoints->rows); rows 961 modules/calib3d/src/calibration.cpp (rvec->rows == 1 || rvec->cols == 1) && rvec->rows*rvec->cols*CV_MAT_CN(rvec->type) == 3 ); rows 964 modules/calib3d/src/calibration.cpp (tvec->rows == 1 || tvec->cols == 1) && tvec->rows*tvec->cols*CV_MAT_CN(tvec->type) == 3 ); rows 975 modules/calib3d/src/calibration.cpp CvMat _r_temp = cvMat(rvec->rows, rvec->cols, rows 977 modules/calib3d/src/calibration.cpp CvMat _t_temp = cvMat(tvec->rows, tvec->cols, rows 1128 modules/calib3d/src/calibration.cpp _r = cvMat( rvec->rows, rvec->cols, rows 1130 modules/calib3d/src/calibration.cpp _t = cvMat( tvec->rows, tvec->cols, rows 1154 modules/calib3d/src/calibration.cpp nimages = npoints->rows + npoints->cols - 1; rows 1162 modules/calib3d/src/calibration.cpp if( objectPoints->rows != 1 || imagePoints->rows != 1 ) rows 1253 modules/calib3d/src/calibration.cpp (npoints->rows != 1 && npoints->cols != 1) ) rows 1257 modules/calib3d/src/calibration.cpp if((flags & CV_CALIB_THIN_PRISM_MODEL) && (distCoeffs->cols*distCoeffs->rows != 12)) rows 1260 modules/calib3d/src/calibration.cpp nimages = npoints->rows*npoints->cols; rows 1261 modules/calib3d/src/calibration.cpp npstep = npoints->rows == 1 ? 1 : npoints->step/CV_ELEM_SIZE(npoints->type); rows 1268 modules/calib3d/src/calibration.cpp ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && rows 1269 modules/calib3d/src/calibration.cpp (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) rows 1279 modules/calib3d/src/calibration.cpp ((tvecs->rows != nimages || tvecs->cols*cn != 3) && rows 1280 modules/calib3d/src/calibration.cpp (tvecs->rows != 1 || tvecs->cols != nimages || cn != 3)) ) rows 1287 modules/calib3d/src/calibration.cpp cameraMatrix->rows != 3 || cameraMatrix->cols != 3 ) rows 1293 modules/calib3d/src/calibration.cpp (distCoeffs->cols != 1 && distCoeffs->rows != 1) || rows 1294 modules/calib3d/src/calibration.cpp (distCoeffs->cols*distCoeffs->rows != 4 && rows 1295 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 5 && rows 1296 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 8 && rows 1297 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 12) ) rows 1325 modules/calib3d/src/calibration.cpp _k = cvMat( distCoeffs->rows, distCoeffs->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k); rows 1326 modules/calib3d/src/calibration.cpp if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) < 8 ) rows 1328 modules/calib3d/src/calibration.cpp if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) < 5 ) rows 1481 modules/calib3d/src/calibration.cpp _Je->rows = _Ji->rows = _err->rows = ni*2; rows 1536 modules/calib3d/src/calibration.cpp if( rvecs->rows == nimages && rvecs->cols*CV_MAT_CN(rvecs->type) == 9 ) rows 1545 modules/calib3d/src/calibration.cpp dst = cvMat( 3, 1, CV_MAT_DEPTH(rvecs->type), rvecs->rows == 1 ? rows 1554 modules/calib3d/src/calibration.cpp dst = cvMat( 3, 1, CV_MAT_DEPTH(tvecs->type), tvecs->rows == 1 ? rows 1580 modules/calib3d/src/calibration.cpp if(calibMatr->cols != 3 || calibMatr->rows != 3) rows 1664 modules/calib3d/src/calibration.cpp CV_Assert( (_npoints->cols == 1 || _npoints->rows == 1) && rows 1667 modules/calib3d/src/calibration.cpp nimages = _npoints->cols + _npoints->rows - 1; rows 1668 modules/calib3d/src/calibration.cpp npoints.reset(cvCreateMat( _npoints->rows, _npoints->cols, _npoints->type )); rows 1677 modules/calib3d/src/calibration.cpp objectPoints.reset(cvCreateMat( _objectPoints->rows, _objectPoints->cols, rows 1691 modules/calib3d/src/calibration.cpp ((_imagePoints1->rows == pointsTotal && _imagePoints1->cols*cn == 2) || rows 1692 modules/calib3d/src/calibration.cpp (_imagePoints1->rows == 1 && _imagePoints1->cols == pointsTotal && cn == 2)) ); rows 1697 modules/calib3d/src/calibration.cpp imagePoints[k].reset(cvCreateMat( points->rows, points->cols, CV_64FC(CV_MAT_CN(points->type)))); rows 1708 modules/calib3d/src/calibration.cpp CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, rows 1949 modules/calib3d/src/calibration.cpp err->rows = Je->rows = J_LR->rows = Ji->rows = ni*2; rows 2044 modules/calib3d/src/calibration.cpp if( matR->rows == 1 || matR->cols == 1 ) rows 2058 modules/calib3d/src/calibration.cpp CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, rows 2163 modules/calib3d/src/calibration.cpp if( matR->rows == 3 && matR->cols == 3 ) rows 2456 modules/calib3d/src/calibration.cpp (_points1->rows == 1 || _points1->cols == 1) && rows 2457 modules/calib3d/src/calibration.cpp (_points2->rows == 1 || _points2->cols == 1) && rows 2460 modules/calib3d/src/calibration.cpp npoints = _points1->rows * _points1->cols * CV_MAT_CN(_points1->type) / 2; rows 2462 modules/calib3d/src/calibration.cpp _m1.reset(cvCreateMat( _points1->rows, _points1->cols, CV_64FC(CV_MAT_CN(_points1->type)) )); rows 2463 modules/calib3d/src/calibration.cpp _m2.reset(cvCreateMat( _points2->rows, _points2->cols, CV_64FC(CV_MAT_CN(_points2->type)) )); rows 2662 modules/calib3d/src/calibration.cpp for( int y = 0; y < disparity.rows; y++ ) rows 2757 modules/calib3d/src/calibration.cpp matrixM->cols == 3 && matrixM->rows == 3 && rows 2929 modules/calib3d/src/calibration.cpp if(projMatr->cols != 4 || projMatr->rows != 3) rows 2932 modules/calib3d/src/calibration.cpp if(calibMatr->cols != 3 || calibMatr->rows != 3 || rotMatr->cols != 3 || rotMatr->rows != 3) rows 2935 modules/calib3d/src/calibration.cpp if(posVect->cols != 1 || posVect->rows != 4) rows 3042 modules/calib3d/src/calibration.cpp Mat dstCoeffs(distCoeffs, Rect(0, 0, distCoeffs0.cols, distCoeffs0.rows)); rows 3054 modules/calib3d/src/calibration.cpp bool v2m = src.cols == 1 || src.rows == 1; rows 3072 modules/calib3d/src/calibration.cpp _dABdA.create(A.rows*B.cols, A.rows*A.cols, A.type()); rows 3073 modules/calib3d/src/calibration.cpp _dABdB.create(A.rows*B.cols, B.rows*B.cols, A.type()); rows 3184 modules/calib3d/src/calibration.cpp int ndistCoeffs = distCoeffs.rows + distCoeffs.cols - 1; rows 3226 modules/calib3d/src/calibration.cpp distCoeffs = distCoeffs.rows == 1 ? distCoeffs.colRange(0, 5) : distCoeffs.rowRange(0, 5); rows 3303 modules/calib3d/src/calibration.cpp distCoeffs1 = distCoeffs1.rows == 1 ? distCoeffs1.colRange(0, 5) : distCoeffs1.rowRange(0, 5); rows 3304 modules/calib3d/src/calibration.cpp distCoeffs2 = distCoeffs2.rows == 1 ? distCoeffs2.colRange(0, 5) : distCoeffs2.rowRange(0, 5); rows 1216 modules/calib3d/src/circlesgrid.cpp for (int i = 0; i < predecessorMatrix.rows; i++) rows 89 modules/calib3d/src/compat_ptsetreg.cpp if( !param || param->rows != nparams || nerrs != (err ? err->rows : 0) ) rows 267 modules/calib3d/src/compat_ptsetreg.cpp int i, j, nparams = param->rows; rows 307 modules/calib3d/src/compat_ptsetreg.cpp if( src.channels() == 1 && (src.rows == 2 || src.rows == 3) && src.cols > 3 ) rows 309 modules/calib3d/src/compat_ptsetreg.cpp if( dst.channels() == 1 && (dst.rows == 2 || dst.rows == 3) && dst.cols > 3 ) rows 344 modules/calib3d/src/compat_ptsetreg.cpp if( m1.channels() == 1 && (m1.rows == 2 || m1.rows == 3) && m1.cols > 3 ) rows 346 modules/calib3d/src/compat_ptsetreg.cpp if( m2.channels() == 1 && (m2.rows == 2 || m2.rows == 3) && m2.cols > 3 ) rows 360 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( FM0.cols == 3 && FM0.rows % 3 == 0 && FM.cols == 3 && FM.rows % 3 == 0 && FM.channels() == 1 ); rows 361 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat FM1 = FM.rowRange(0, MIN(FM0.rows, FM.rows)); rows 362 modules/calib3d/src/compat_ptsetreg.cpp FM0.rowRange(0, FM1.rows).convertTo(FM1, FM1.type()); rows 363 modules/calib3d/src/compat_ptsetreg.cpp return FM1.rows / 3; rows 374 modules/calib3d/src/compat_ptsetreg.cpp if( pt.channels() == 1 && (pt.rows == 2 || pt.rows == 3) && pt.cols > 3 ) rows 379 modules/calib3d/src/compat_ptsetreg.cpp bool tflag = lines0.channels() == 1 && lines0.rows == 3 && lines0.cols > 3; rows 380 modules/calib3d/src/compat_ptsetreg.cpp lines = lines.reshape(lines0.channels(), (tflag ? lines0.cols : lines0.rows)); rows 384 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( lines.rows == lines0.cols && lines.cols == lines0.rows ); rows 407 modules/calib3d/src/compat_ptsetreg.cpp int d0 = src.channels() > 1 ? src.channels() : MIN(src.cols, src.rows); rows 412 modules/calib3d/src/compat_ptsetreg.cpp int d1 = dst.channels() > 1 ? dst.channels() : MIN(dst.cols, dst.rows); rows 422 modules/calib3d/src/compat_ptsetreg.cpp dst = dst.reshape(dst0.channels(), (tflag ? dst0.cols : dst0.rows)); rows 426 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( dst.rows == dst0.cols && dst.cols == dst0.rows ); rows 83 modules/calib3d/src/dls.cpp if(C_est__.cols > 0 && C_est__.rows > 0) rows 305 modules/calib3d/src/dls.cpp for (int i = 0; i < D_mat->rows; ++i) rows 753 modules/calib3d/src/dls.h for (int i = 0; i < tmp.rows; i++) { rows 526 modules/calib3d/src/epnp.cpp const int nr = A->rows; rows 56 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows); rows 1003 modules/calib3d/src/fisheye.cpp cv::subMatrix(J, J, selectedParams, std::vector<int>(J.rows, 1)); rows 1055 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows) rows 1060 modules/calib3d/src/fisheye.cpp Mat tmp(src.rows, nonzeros_cols, CV_64FC1); rows 1070 modules/calib3d/src/fisheye.cpp int nonzeros_rows = cv::countNonZero(rows); rows 1072 modules/calib3d/src/fisheye.cpp for (int i = 0, j = 0; i < (int)rows.size(); i++) rows 1074 modules/calib3d/src/fisheye.cpp if (rows[i]) rows 1202 modules/calib3d/src/fisheye.cpp if (m.rows < 3) rows 1206 modules/calib3d/src/fisheye.cpp if (M.rows < 3) rows 1265 modules/calib3d/src/fisheye.cpp m_err = Mat(m_err.t()).reshape(1, m_err.cols * m_err.rows); rows 1415 modules/calib3d/src/fisheye.cpp Mat A(jacobians.rows, 9, CV_64FC1); rows 1432 modules/calib3d/src/fisheye.cpp ex3(Rect(0,0,1,9)) = ex3(Rect(0,0,1,9)) + A * exkk.reshape(1, 2 * exkk.rows); rows 1434 modules/calib3d/src/fisheye.cpp ex3(Rect(0, 9 + 6 * image_idx, 1, 6)) = B * exkk.reshape(1, 2 * exkk.rows); rows 1440 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>(svd.w.rows - 1) < thresh_cond); rows 1475 modules/calib3d/src/fisheye.cpp ex_.copyTo(ex.rowRange(ex_.rows * image_idx, ex_.rows * (image_idx + 1))); rows 1509 modules/calib3d/src/fisheye.cpp CV_Assert(A.getMat().cols == B.getMat().rows); rows 1512 modules/calib3d/src/fisheye.cpp int p = A.getMat().rows; rows 1543 modules/calib3d/src/fisheye.cpp Mat tmp(src.cols, src.rows, src.type()); rows 1544 modules/calib3d/src/fisheye.cpp if (src.rows == 9) rows 1612 modules/calib3d/src/fisheye.cpp CV_Assert(!row.empty() && row.rows == 1); rows 1621 modules/calib3d/src/fisheye.cpp CV_Assert(m.depth() == CV_64F && m.getMat().rows == 1); rows 46 modules/calib3d/src/five-point.cpp int n = Q1.rows; rows 597 modules/calib3d/src/five-point.cpp CV_Assert(E.cols == 3 && E.rows == 3); rows 220 modules/calib3d/src/fundam.cpp _Jac.create(count*2, param.rows, CV_64F); rows 562 modules/calib3d/src/fundam.cpp CV_Assert( (_m1.cols == 1 || _m1.rows == 1) && _m1.size() == _m2.size()); rows 766 modules/calib3d/src/fundam.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == npoints ); rows 445 modules/calib3d/src/homography_decomp.cpp CV_Assert(H.cols == 3 && H.rows == 3); rows 448 modules/calib3d/src/homography_decomp.cpp CV_Assert(K.cols == 3 && K.rows == 3); rows 97 modules/calib3d/src/levmarq.cpp CV_Assert( (param0.cols == 1 || param0.rows == 1) && (ptype == CV_32F || ptype == CV_64F)); rows 100 modules/calib3d/src/levmarq.cpp int lx = param0.rows + param0.cols - 1; rows 129 modules/calib3d/src/levmarq.cpp CV_Assert( A.type() == CV_64F && A.rows == lx ); rows 190 modules/calib3d/src/ptsetreg.cpp CV_Assert( (bestMask.cols == 1 || bestMask.rows == 1) && (int)bestMask.total() == count ); rows 224 modules/calib3d/src/ptsetreg.cpp CV_Assert( model.rows % nmodels == 0 ); rows 225 modules/calib3d/src/ptsetreg.cpp Size modelSize(model.cols, model.rows/nmodels); rows 302 modules/calib3d/src/ptsetreg.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == count ); rows 335 modules/calib3d/src/ptsetreg.cpp CV_Assert( model.rows % nmodels == 0 ); rows 336 modules/calib3d/src/ptsetreg.cpp Size modelSize(model.cols, model.rows/nmodels); rows 480 modules/calib3d/src/ptsetreg.cpp CV_Assert( count <= msi->rows ); rows 119 modules/calib3d/src/solvepnp.cpp c_distCoeffs.rows*c_distCoeffs.cols ? &c_distCoeffs : 0, rows 234 modules/calib3d/src/solvepnp.cpp CV_Assert((opoints.rows == 1 && opoints.channels() == 3) || opoints.cols*opoints.channels() == 3); rows 237 modules/calib3d/src/solvepnp.cpp CV_Assert((ipoints.rows == 1 && ipoints.channels() == 2) || ipoints.cols*ipoints.channels() == 2); rows 263 modules/calib3d/src/solvepnp.cpp Mat _mask_local_inliers(1, opoints.rows, CV_8UC1); rows 286 modules/calib3d/src/solvepnp.cpp if( result <= 0 || _local_model.rows <= 0) rows 102 modules/calib3d/src/stereobm.cpp size_t globalThreads[3] = { input.cols, input.rows, 1 }; rows 104 modules/calib3d/src/stereobm.cpp k.args(ocl::KernelArg::PtrReadOnly(input), ocl::KernelArg::PtrWriteOnly(output), input.rows, input.cols, rows 183 modules/calib3d/src/stereobm.cpp size_t globalThreads[3] = { input.cols, input.rows, 1 }; rows 185 modules/calib3d/src/stereobm.cpp k.args(ocl::KernelArg::PtrReadOnly(input), ocl::KernelArg::PtrWriteOnly(output), input.rows, input.cols, prefilterCap); rows 331 modules/calib3d/src/stereobm.cpp int width = left.cols, height = left.rows; rows 581 modules/calib3d/src/stereobm.cpp int width = left.cols, height = left.rows; rows 921 modules/calib3d/src/stereobm.cpp int cols = left.cols, rows = left.rows; rows 925 modules/calib3d/src/stereobm.cpp Rect roi = Rect(Point(wsz2 + mindisp + ndisp - 1, wsz2), Point(cols-wsz2-mindisp, rows-wsz2) ); rows 929 modules/calib3d/src/stereobm.cpp globalY = (disp.rows + sizeY - 1) / sizeY; rows 937 modules/calib3d/src/stereobm.cpp idx = k.set(idx, rows); rows 963 modules/calib3d/src/stereobm.cpp int cols = left->cols, rows = left->rows; rows 964 modules/calib3d/src/stereobm.cpp int _row0 = std::min(cvRound(range.start * rows / nstripes), rows); rows 965 modules/calib3d/src/stereobm.cpp int _row1 = std::min(cvRound(range.end * rows / nstripes), rows); rows 994 modules/calib3d/src/stereobm.cpp findStereoCorrespondenceBM_SSE2( left_i, right_i, disp_i, cost_i, *state, ptr, row0, rows - row1 ); rows 997 modules/calib3d/src/stereobm.cpp findStereoCorrespondenceBM( left_i, right_i, disp_i, cost_i, *state, ptr, row0, rows - row1 ); rows 1108 modules/calib3d/src/stereobm.cpp int height = left0.rows; rows 142 modules/calib3d/src/stereosgbm.cpp int n1 = y > 0 ? -(int)img1.step : 0, s1 = y < img1.rows-1 ? (int)img1.step : 0; rows 143 modules/calib3d/src/stereosgbm.cpp int n2 = y > 0 ? -(int)img2.step : 0, s2 = y < img2.rows-1 ? (int)img2.step : 0; rows 342 modules/calib3d/src/stereosgbm.cpp int k, width = disp1.cols, height = disp1.rows; rows 387 modules/calib3d/src/stereosgbm.cpp buffer.cols*buffer.rows*buffer.elemSize() < totalBufSize ) rows 981 modules/calib3d/src/stereosgbm.cpp int width = img.cols, height = img.rows, npixels = width*height; rows 983 modules/calib3d/src/stereosgbm.cpp if( !_buf.isContinuous() || _buf.empty() || _buf.cols*_buf.rows*_buf.elemSize() < bufSize ) rows 1089 modules/calib3d/src/stereosgbm.cpp IppiSize roisize = { img.cols, img.rows }; rows 1127 modules/calib3d/src/stereosgbm.cpp int cols = disp.cols, rows = disp.rows; rows 1143 modules/calib3d/src/stereosgbm.cpp for( int y = 0; y < rows; y++ ) rows 74 modules/calib3d/src/triangulate.cpp if( projPoints1->rows != 2 || projPoints2->rows != 2) rows 77 modules/calib3d/src/triangulate.cpp if( points4D->rows != 4 ) rows 80 modules/calib3d/src/triangulate.cpp if( projMatr1->cols != 4 || projMatr1->rows != 3 || rows 81 modules/calib3d/src/triangulate.cpp projMatr2->cols != 4 || projMatr2->rows != 3) rows 197 modules/calib3d/src/triangulate.cpp if (!( F_->cols == 3 && F_->rows == 3)) rows 201 modules/calib3d/src/triangulate.cpp if (!(points1_->rows == 1 && points2_->rows == 1 && points1_->cols == points2_->cols)) rows 209 modules/calib3d/src/triangulate.cpp if (new_points1->cols != points1_->cols || new_points1->rows != 1) rows 216 modules/calib3d/src/triangulate.cpp if (new_points2->cols != points2_->cols || new_points2->rows != 1) rows 227 modules/calib3d/src/triangulate.cpp points1.reset(cvCreateMat(points1_->rows,points1_->cols,CV_64FC2)); rows 231 modules/calib3d/src/triangulate.cpp points2.reset(cvCreateMat(points2_->rows,points2_->cols,CV_64FC2)); rows 399 modules/calib3d/src/triangulate.cpp if((points1.rows == 1 || points1.cols == 1) && points1.channels() == 2) rows 402 modules/calib3d/src/triangulate.cpp if((points2.rows == 1 || points2.cols == 1) && points2.channels() == 2) rows 711 modules/calib3d/src/upnp.cpp const int nr = A->rows; rows 156 modules/calib3d/test/test_cameracalibration.cpp CvMat _r = cvMat( arr->rows, arr->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(arr->type)), r ); rows 232 modules/calib3d/test/test_cameracalibration.cpp v2m_jac->rows == 3 ? 0 : CV_GEMM_A_T + CV_GEMM_B_T ); rows 991 modules/calib3d/test/test_cameracalibration.cpp for( int fi = 0; fi < dfdx.rows; fi+=fdim, ++lIt, ++rIt ) rows 1052 modules/calib3d/test/test_cameracalibration.cpp for( int y = 0; y < objPoints.rows; y++ ) rows 1228 modules/calib3d/test/test_cameracalibration.cpp int npoints = opoints.cols*opoints.rows*opoints.channels()/3; rows 1234 modules/calib3d/test/test_cameracalibration.cpp dpddist.create(npoints*2, distCoeffs.rows + distCoeffs.cols - 1, CV_64F); rows 1580 modules/calib3d/test/test_cameracalibration.cpp for (int i = 0; i < newHomogeneousPoints1.rows; ++i) rows 1583 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(error.rows == 1 && error.cols == 1); rows 389 modules/calib3d/test/test_cameracalibration_artificial.cpp double cy = bg.rows/2 + (40 * (double)rng - 20); rows 312 modules/calib3d/test/test_cameracalibration_badarg.cpp for(int i = 0; i < bad_objPts_cpp5.rows; ++i) rows 220 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect1 = pts2d[0].x < bg.cols && pts2d[0].y < bg.rows && pts2d[0].x > 0 && pts2d[0].y > 0; rows 221 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect2 = pts2d[1].x < bg.cols && pts2d[1].y < bg.rows && pts2d[1].x > 0 && pts2d[1].y > 0; rows 222 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect3 = pts2d[2].x < bg.cols && pts2d[2].y < bg.rows && pts2d[2].x > 0 && pts2d[2].y > 0; rows 223 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect4 = pts2d[3].x < bg.cols && pts2d[3].y < bg.rows && pts2d[3].x > 0 && pts2d[3].y > 0; rows 285 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect1 = pts2d[0].x < bg.cols && pts2d[0].y < bg.rows && pts2d[0].x > 0 && pts2d[0].y > 0; rows 286 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect2 = pts2d[1].x < bg.cols && pts2d[1].y < bg.rows && pts2d[1].x > 0 && pts2d[1].y > 0; rows 287 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect3 = pts2d[2].x < bg.cols && pts2d[2].y < bg.rows && pts2d[2].x > 0 && pts2d[2].y > 0; rows 288 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect4 = pts2d[3].x < bg.cols && pts2d[3].y < bg.rows && pts2d[3].x > 0 && pts2d[3].y > 0; rows 65 modules/calib3d/test/test_chesscorners.cpp size_t count = u.cols * u.rows; rows 101 modules/calib3d/test/test_chesscorners.cpp int count_exp = u.cols * u.rows; rows 239 modules/calib3d/test/test_chesscorners.cpp size_t count_exp = static_cast<size_t>(expected.cols * expected.rows); rows 339 modules/calib3d/test/test_chesscorners.cpp for(int i = 1; i < mat.rows - 2; ++i) rows 382 modules/calib3d/test/test_chesscorners.cpp camMat << 300.f, 0.f, bg.cols/2.f, 0, 300.f, bg.rows/2.f, 0.f, 0.f, 1.f; rows 106 modules/calib3d/test/test_chesscorners_badarg.cpp camMat << 300.f, 0.f, bg.cols/2.f, 0, 300.f, bg.rows/2.f, 0.f, 0.f, 1.f; rows 72 modules/calib3d/test/test_fisheye.cpp rows = this->imageSize.height; rows 83 modules/calib3d/test/test_fisheye.cpp cv::Vec2d point(x*cols/(N-1.f), y*rows/(N-1.f)); rows 425 modules/calib3d/test/test_fisheye.cpp cv::rectangle(l, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); rows 426 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); rows 427 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255-ndisp, 0, 829+ndisp ,l.rows-1), cv::Scalar(0, 0, 255)); rows 608 modules/calib3d/test/test_fisheye.cpp cv::Mat merged(l.rows, l.cols * 2, l.type()); rows 614 modules/calib3d/test/test_fisheye.cpp for(int i = 0; i < l.rows; i+=20) rows 60 modules/calib3d/test/test_fundam.cpp assert( (jacobian->rows == 9 && jacobian->cols == 3) || rows 61 modules/calib3d/test/test_fundam.cpp (jacobian->rows == 3 && jacobian->cols == 9) ); rows 64 modules/calib3d/test/test_fundam.cpp if( src->cols == 1 || src->rows == 1 ) rows 67 modules/calib3d/test/test_fundam.cpp CvMat _r = cvMat( src->rows, src->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(src->type)), r); rows 69 modules/calib3d/test/test_fundam.cpp assert( dst->rows == 3 && dst->cols == 3 ); rows 208 modules/calib3d/test/test_fundam.cpp else if( src->cols == 3 && src->rows == 3 ) rows 215 modules/calib3d/test/test_fundam.cpp CvMat _r = cvMat( dst->rows, dst->cols, CV_MAKETYPE(CV_64F, CV_MAT_CN(dst->type)), r ); rows 332 modules/calib3d/test/test_fundam.cpp if( jacobian->rows == matJ.rows ) rows 336 modules/calib3d/test/test_fundam.cpp _Jf = cvMat( matJ.rows, matJ.cols, CV_32FC1, Jf ); rows 341 modules/calib3d/test/test_fundam.cpp else if( jacobian->rows == matJ.rows ) rows 372 modules/calib3d/test/test_fundam.cpp if( src.rows > src.cols ) rows 374 modules/calib3d/test/test_fundam.cpp count = src.rows; rows 382 modules/calib3d/test/test_fundam.cpp sdims = src.channels()*src.rows; rows 383 modules/calib3d/test/test_fundam.cpp if( src.rows == 1 ) rows 395 modules/calib3d/test/test_fundam.cpp if( dst.rows > dst.cols ) rows 397 modules/calib3d/test/test_fundam.cpp CV_Assert( count == dst.rows ); rows 405 modules/calib3d/test/test_fundam.cpp ddims = dst.channels()*dst.rows; rows 406 modules/calib3d/test/test_fundam.cpp if( dst.rows == 1 ) rows 628 modules/calib3d/test/test_fundam.cpp Mat _r( arr.rows, arr.cols, CV_MAKETYPE(CV_64F,arr.channels()), r ); rows 705 modules/calib3d/test/test_fundam.cpp M.reshape(M0.channels(), M0.rows).convertTo(M0, M0.type()); rows 707 modules/calib3d/test/test_fundam.cpp v2.reshape(v2_0.channels(), v2_0.rows).convertTo(v2_0, v2_0.type()); rows 746 modules/calib3d/test/test_fundam.cpp v2m_jac->rows == 3 ? 0 : CV_GEMM_A_T + CV_GEMM_B_T ); rows 1286 modules/calib3d/test/test_fundam.cpp if (E.rows > 3) rows 1288 modules/calib3d/test/test_fundam.cpp int count = E.rows / 3; rows 117 modules/calib3d/test/test_homography.cpp return (H.rows == 3) && (H.cols == 3); rows 128 modules/calib3d/test/test_homography.cpp if (!(mask.cols == 1) && (mask.rows == src.cols)) return 1; rows 129 modules/calib3d/test/test_homography.cpp if (countNonZero(mask) < mask.rows) return 2; rows 130 modules/calib3d/test/test_homography.cpp for (int i = 0; i < mask.rows; ++i) if (mask.at<uchar>(i, 0) > 1) return 3; rows 136 modules/calib3d/test/test_homography.cpp if (!(found_mask.cols == 1) && (found_mask.rows == original_mask.rows)) return 1; rows 137 modules/calib3d/test/test_homography.cpp for (int i = 0; i < found_mask.rows; ++i) if (found_mask.at<uchar>(i, 0) > 1) return 2; rows 150 modules/calib3d/test/test_homography.cpp cout << "Number of rows: " << H.rows << " Number of cols: " << H.cols << endl; cout << endl; rows 178 modules/calib3d/test/test_homography.cpp cout << "Number of rows: " << mask.rows << " Number of cols: " << mask.cols << endl; cout << endl; rows 654 modules/calib3d/test/test_homography.cpp for( int i = 0; i < descriptors_1.rows; i++ ) rows 663 modules/calib3d/test/test_homography.cpp for( int i = 0; i < descriptors_1.rows; i++ ) rows 123 modules/calib3d/test/test_reproject_image_to_3d.cpp disp(disp.rows/2, disp.cols/2) = min - 1; rows 136 modules/calib3d/test/test_reproject_image_to_3d.cpp for(int y = 0; y < disp.rows; ++y) rows 155 modules/calib3d/test/test_reproject_image_to_3d.cpp if (handleMissingValues && y == disp.rows/2 && x == disp.cols/2) rows 101 modules/calib3d/test/test_stereomatching.cpp if( sz && (dispMap.rows != sz->height || dispMap.cols != sz->width) ) rows 111 modules/calib3d/test/test_stereomatching.cpp if( mask.rows != sz.height || mask.cols != sz.width ) rows 169 modules/calib3d/test/test_stereomatching.cpp for( int leftY = 0; leftY < leftDisp.rows; leftY++ ) rows 195 modules/calib3d/test/test_stereomatching.cpp for( int leftY = 0; leftY < leftDisp.rows; leftY++ ) rows 270 modules/calib3d/test/test_undistort.cpp int dist_size = test_mat[INPUT][2].cols > test_mat[INPUT][2].rows ? test_mat[INPUT][2].cols : test_mat[INPUT][2].rows; rows 273 modules/calib3d/test/test_undistort.cpp vector<double> proj(test_mat[INPUT][4].cols * test_mat[INPUT][4].rows); rows 277 modules/calib3d/test/test_undistort.cpp Mat _distort(test_mat[INPUT][2].rows,test_mat[INPUT][2].cols,CV_64F,&dist[0]); rows 382 modules/calib3d/test/test_undistort.cpp int dist_size = test_mat[INPUT][2].cols > test_mat[INPUT][2].rows ? test_mat[INPUT][2].cols : test_mat[INPUT][2].rows; rows 387 modules/calib3d/test/test_undistort.cpp double* proj = new double[test_mat[INPUT][4].cols * test_mat[INPUT][4].rows]; rows 391 modules/calib3d/test/test_undistort.cpp CvMat ref_points= cvMat(test_mat[INPUT][0].rows,test_mat[INPUT][0].cols,CV_64FC2,r_points); rows 394 modules/calib3d/test/test_undistort.cpp CvMat _distort = cvMat(test_mat[INPUT][2].rows,test_mat[INPUT][2].cols,CV_64F,dist); rows 395 modules/calib3d/test/test_undistort.cpp CvMat _proj = cvMat(test_mat[INPUT][4].rows,test_mat[INPUT][4].cols,CV_64F,proj); rows 396 modules/calib3d/test/test_undistort.cpp CvMat _points= cvMat(test_mat[TEMP][0].rows,test_mat[TEMP][0].cols,CV_64FC2,points); rows 545 modules/calib3d/test/test_undistort.cpp if ((_distCoeffs->cols > 4) || (_distCoeffs->rows > 4)) rows 696 modules/calib3d/test/test_undistort.cpp int dist_size = test_mat[INPUT][2].cols > test_mat[INPUT][2].rows ? test_mat[INPUT][2].cols : test_mat[INPUT][2].rows; rows 699 modules/calib3d/test/test_undistort.cpp vector<double> new_cam(test_mat[INPUT][4].cols * test_mat[INPUT][4].rows); rows 790 modules/calib3d/test/test_undistort.cpp int dist_size = test_mat[INPUT][2].cols > test_mat[INPUT][2].rows ? test_mat[INPUT][2].cols : test_mat[INPUT][2].rows; rows 794 modules/calib3d/test/test_undistort.cpp vector<double> new_cam(test_mat[INPUT][4].cols * test_mat[INPUT][4].rows); rows 842 modules/calib3d/test/test_undistort.cpp int dist_size = test_mat[INPUT][2].cols > test_mat[INPUT][2].rows ? test_mat[INPUT][2].cols : test_mat[INPUT][2].rows; rows 846 modules/calib3d/test/test_undistort.cpp double* new_cam = new double[test_mat[INPUT][4].cols * test_mat[INPUT][4].rows]; rows 850 modules/calib3d/test/test_undistort.cpp CvMat ref_points= cvMat(test_mat[INPUT][0].rows,test_mat[INPUT][0].cols,CV_64FC2,r_points); rows 853 modules/calib3d/test/test_undistort.cpp CvMat _distort = cvMat(test_mat[INPUT][2].rows,test_mat[INPUT][2].cols,CV_64F,dist); rows 854 modules/calib3d/test/test_undistort.cpp CvMat _new_cam = cvMat(test_mat[INPUT][4].rows,test_mat[INPUT][4].cols,CV_64F,new_cam); rows 855 modules/calib3d/test/test_undistort.cpp CvMat _points= cvMat(test_mat[INPUT][0].rows,test_mat[INPUT][0].cols,CV_64FC2,points); rows 207 modules/core/include/opencv2/core/affine.hpp if (data.cols == 4 && data.rows == 4) rows 212 modules/core/include/opencv2/core/affine.hpp else if (data.cols == 4 && data.rows == 3) rows 279 modules/core/include/opencv2/core/affine.hpp if (data.cols == 3 && data.rows == 3) rows 285 modules/core/include/opencv2/core/affine.hpp else if ((data.cols == 3 && data.rows == 1) || (data.cols == 1 && data.rows == 3)) rows 218 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvCreateMatHeader( int rows, int cols, int type ); rows 254 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvInitMatHeader( CvMat* mat, int rows, int cols, rows 272 modules/core/include/opencv2/core/core_c.h CVAPI(CvMat*) cvCreateMat( int rows, int cols, int type ); rows 105 modules/core/include/opencv2/core/cuda.hpp virtual bool allocate(GpuMat* mat, int rows, int cols, size_t elemSize) = 0; rows 117 modules/core/include/opencv2/core/cuda.hpp GpuMat(int rows, int cols, int type, Allocator* allocator = defaultAllocator()); rows 121 modules/core/include/opencv2/core/cuda.hpp GpuMat(int rows, int cols, int type, Scalar s, Allocator* allocator = defaultAllocator()); rows 128 modules/core/include/opencv2/core/cuda.hpp GpuMat(int rows, int cols, int type, void* data, size_t step = Mat::AUTO_STEP); rows 145 modules/core/include/opencv2/core/cuda.hpp void create(int rows, int cols, int type); rows 241 modules/core/include/opencv2/core/cuda.hpp GpuMat reshape(int cn, int rows = 0) const; rows 286 modules/core/include/opencv2/core/cuda.hpp int rows, cols; rows 317 modules/core/include/opencv2/core/cuda.hpp CV_EXPORTS void createContinuous(int rows, int cols, int type, OutputArray arr); rows 328 modules/core/include/opencv2/core/cuda.hpp CV_EXPORTS void ensureSizeIsEnough(int rows, int cols, int type, OutputArray arr); rows 364 modules/core/include/opencv2/core/cuda.hpp HostMem(int rows, int cols, int type, AllocType alloc_type = PAGE_LOCKED); rows 381 modules/core/include/opencv2/core/cuda.hpp void create(int rows, int cols, int type); rows 386 modules/core/include/opencv2/core/cuda.hpp HostMem reshape(int cn, int rows = 0) const; rows 416 modules/core/include/opencv2/core/cuda.hpp int rows, cols; rows 59 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 64 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 72 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 80 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 91 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 102 modules/core/include/opencv2/core/cuda.inl.hpp : flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), datastart(m.datastart), dataend(m.dataend), allocator(m.allocator) rows 110 modules/core/include/opencv2/core/cuda.inl.hpp flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) rows 143 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(rows, b.rows); rows 209 modules/core/include/opencv2/core/cuda.inl.hpp CV_DbgAssert( (unsigned)y < (unsigned)rows ); rows 216 modules/core/include/opencv2/core/cuda.inl.hpp CV_DbgAssert( (unsigned)y < (unsigned)rows ); rows 235 modules/core/include/opencv2/core/cuda.inl.hpp return PtrStepSz<T>(rows, cols, (T*)data, step); rows 337 modules/core/include/opencv2/core/cuda.inl.hpp return Size(cols, rows); rows 347 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat createContinuous(int rows, int cols, int type) rows 350 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(rows, cols, type, m); rows 386 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), alloc_type(alloc_type_) rows 392 modules/core/include/opencv2/core/cuda.inl.hpp : flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), datastart(m.datastart), dataend(m.dataend), alloc_type(m.alloc_type) rows 400 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), alloc_type(alloc_type_) rows 408 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), alloc_type(alloc_type_) rows 416 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), alloc_type(alloc_type_) rows 443 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(rows, b.rows); rows 518 modules/core/include/opencv2/core/cuda.inl.hpp return Size(cols, rows); rows 612 modules/core/include/opencv2/core/cuda.inl.hpp : flags(0), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), datalimit(0), allocator(0), u(0), size(&rows) rows 102 modules/core/include/opencv2/core/cuda/common.hpp cudaSafeCall( cudaBindTexture2D(0, tex, img.ptr(), &desc, img.cols, img.rows, img.step) ); rows 218 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (y < src_.rows) rows 249 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (x < src.cols && y < src.rows && mask(y, x)) rows 268 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (y < src1_.rows) rows 302 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (x < src1.cols && y < src1.rows && mask(y, x)) rows 319 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x), divUp(src.rows, threads.y), 1); rows 334 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src1.cols, threads.x), divUp(src1.rows, threads.y), 1); rows 360 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x * ft::smart_shift), divUp(src.rows, threads.y), 1); rows 385 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src1.cols, threads.x * ft::smart_shift), divUp(src1.rows, threads.y), 1); rows 116 modules/core/include/opencv2/core/cuda_types.hpp explicit PtrStepSz(const PtrStepSz<U>& d) : PtrStep<T>((T*)d.data, d.step), cols(d.cols), rows(d.rows){} rows 119 modules/core/include/opencv2/core/cuda_types.hpp int rows; rows 67 modules/core/include/opencv2/core/eigen.hpp Mat _src(src.cols(), src.rows(), DataType<_Tp>::type, rows 73 modules/core/include/opencv2/core/eigen.hpp Mat _src(src.rows(), src.cols(), DataType<_Tp>::type, rows 98 modules/core/include/opencv2/core/eigen.hpp CV_DbgAssert(src.rows == _rows && src.cols == _cols); rows 101 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, rows 105 modules/core/include/opencv2/core/eigen.hpp else if( src.cols == src.rows ) rows 115 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, rows 144 modules/core/include/opencv2/core/eigen.hpp dst.resize(src.rows, src.cols); rows 147 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, rows 151 modules/core/include/opencv2/core/eigen.hpp else if( src.cols == src.rows ) rows 161 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, rows 192 modules/core/include/opencv2/core/eigen.hpp dst.resize(src.rows); rows 196 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, rows 205 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, rows 237 modules/core/include/opencv2/core/eigen.hpp CV_Assert(src.rows == 1); rows 241 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, rows 250 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, rows 179 modules/core/include/opencv2/core/ippasync.hpp hppQueryMatrixAllocParams(accel, src.cols*cn, src.rows, htype, &pitch, &size); rows 183 modules/core/include/opencv2/core/ippasync.hpp return hppiCreateSharedMatrix(htype, src.cols*cn, src.rows, src.data, pitch, size); rows 187 modules/core/include/opencv2/core/ippasync.hpp return hppiCreateMatrix(htype, src.cols*cn, src.rows, src.data, (hpp32s)(src.step));; rows 205 modules/core/include/opencv2/core/mat.hpp int rows(int i=-1) const; rows 322 modules/core/include/opencv2/core/mat.hpp void create(int rows, int cols, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const; rows 747 modules/core/include/opencv2/core/mat.hpp Mat(int rows, int cols, int type); rows 766 modules/core/include/opencv2/core/mat.hpp Mat(int rows, int cols, int type, const Scalar& s); rows 821 modules/core/include/opencv2/core/mat.hpp Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP); rows 1136 modules/core/include/opencv2/core/mat.hpp Mat reshape(int cn, int rows=0) const; rows 1209 modules/core/include/opencv2/core/mat.hpp static MatExpr zeros(int rows, int cols, int type); rows 1238 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int rows, int cols, int type); rows 1265 modules/core/include/opencv2/core/mat.hpp static MatExpr eye(int rows, int cols, int type); rows 1306 modules/core/include/opencv2/core/mat.hpp void create(int rows, int cols, int type); rows 1869 modules/core/include/opencv2/core/mat.hpp int rows, cols; rows 2035 modules/core/include/opencv2/core/mat.hpp static MatExpr zeros(int rows, int cols); rows 2038 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int rows, int cols); rows 2041 modules/core/include/opencv2/core/mat.hpp static MatExpr eye(int rows, int cols); rows 2126 modules/core/include/opencv2/core/mat.hpp UMat(int rows, int cols, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); rows 2129 modules/core/include/opencv2/core/mat.hpp UMat(int rows, int cols, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); rows 2199 modules/core/include/opencv2/core/mat.hpp UMat reshape(int cn, int rows=0) const; rows 2213 modules/core/include/opencv2/core/mat.hpp static UMat zeros(int rows, int cols, int type); rows 2216 modules/core/include/opencv2/core/mat.hpp static UMat ones(int rows, int cols, int type); rows 2219 modules/core/include/opencv2/core/mat.hpp static UMat eye(int rows, int cols, int type); rows 2224 modules/core/include/opencv2/core/mat.hpp void create(int rows, int cols, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); rows 2294 modules/core/include/opencv2/core/mat.hpp int rows, cols; rows 319 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 320 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 325 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 326 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 333 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 334 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 342 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 343 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 350 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 351 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 359 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 360 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 367 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 368 modules/core/include/opencv2/core/mat.inl.hpp datalimit(0), allocator(0), u(0), size(&rows) rows 376 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), data(m.data), rows 378 modules/core/include/opencv2/core/mat.inl.hpp u(m.u), size(&rows) rows 395 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL + (_type & TYPE_MASK)), dims(2), rows(_rows), cols(_cols), rows 397 modules/core/include/opencv2/core/mat.inl.hpp allocator(0), u(0), size(&rows) rows 408 modules/core/include/opencv2/core/mat.inl.hpp if( rows == 1 ) _step = minstep; rows 420 modules/core/include/opencv2/core/mat.inl.hpp datalimit = datastart + _step * rows; rows 426 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL + (_type & TYPE_MASK)), dims(2), rows(_sz.height), cols(_sz.width), rows 428 modules/core/include/opencv2/core/mat.inl.hpp allocator(0), u(0), size(&rows) rows 439 modules/core/include/opencv2/core/mat.inl.hpp if( rows == 1 ) _step = minstep; rows 451 modules/core/include/opencv2/core/mat.inl.hpp datalimit = datastart + _step*rows; rows 457 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows((int)vec.size()), rows 458 modules/core/include/opencv2/core/mat.inl.hpp cols(1), data(0), datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 466 modules/core/include/opencv2/core/mat.inl.hpp datalimit = dataend = datastart + rows * step[0]; rows 474 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows(n), cols(1), data(0), rows 475 modules/core/include/opencv2/core/mat.inl.hpp datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 481 modules/core/include/opencv2/core/mat.inl.hpp datalimit = dataend = datastart + rows * step[0]; rows 490 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0), rows 491 modules/core/include/opencv2/core/mat.inl.hpp datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 498 modules/core/include/opencv2/core/mat.inl.hpp datalimit = dataend = datastart + rows * step[0]; rows 506 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows(2), cols(1), data(0), rows 507 modules/core/include/opencv2/core/mat.inl.hpp datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 513 modules/core/include/opencv2/core/mat.inl.hpp datalimit = dataend = datastart + rows * step[0]; rows 525 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows(3), cols(1), data(0), rows 526 modules/core/include/opencv2/core/mat.inl.hpp datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 532 modules/core/include/opencv2/core/mat.inl.hpp datalimit = dataend = datastart + rows * step[0]; rows 545 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(0), rows(0), cols(0), data(0), rows 546 modules/core/include/opencv2/core/mat.inl.hpp datastart(0), dataend(0), allocator(0), u(0), size(&rows) rows 571 modules/core/include/opencv2/core/mat.inl.hpp rows = m.rows; rows 645 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && rows == _rows && cols == _cols && type() == _type && data ) rows 750 modules/core/include/opencv2/core/mat.inl.hpp return (size_t)rows * cols; rows 1049 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && (rows == 1 || cols == 1) && rows 1050 modules/core/include/opencv2/core/mat.inl.hpp rows + cols - 1 == n && channels() == 1 ); rows 1055 modules/core/include/opencv2/core/mat.inl.hpp Mat tmp(rows, cols, DataType<_Tp>::type, v.val); rows 1063 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && rows == m && cols == n && channels() == 1 ); rows 1068 modules/core/include/opencv2/core/mat.inl.hpp Mat tmp(rows, cols, DataType<_Tp>::type, mtx.val); rows 1478 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( 0 <= y && y < rows ); rows 1485 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( 0 <= y && y < rows ); rows 2898 modules/core/include/opencv2/core/mat.inl.hpp MatExpr Mat_<_Tp>::zeros(int rows, int cols) rows 2900 modules/core/include/opencv2/core/mat.inl.hpp return Mat::zeros(rows, cols, DataType<_Tp>::type); rows 2910 modules/core/include/opencv2/core/mat.inl.hpp MatExpr Mat_<_Tp>::ones(int rows, int cols) rows 2912 modules/core/include/opencv2/core/mat.inl.hpp return Mat::ones(rows, cols, DataType<_Tp>::type); rows 2922 modules/core/include/opencv2/core/mat.inl.hpp MatExpr Mat_<_Tp>::eye(int rows, int cols) rows 2924 modules/core/include/opencv2/core/mat.inl.hpp return Mat::eye(rows, cols, DataType<_Tp>::type); rows 3121 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3126 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3133 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3141 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3148 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3156 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3163 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(_usageFlags), u(0), offset(0), size(&rows) rows 3171 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), allocator(m.allocator), rows 3172 modules/core/include/opencv2/core/mat.inl.hpp usageFlags(m.usageFlags), u(m.u), offset(m.offset), size(&rows) rows 3189 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows((int)vec.size()), rows 3190 modules/core/include/opencv2/core/mat.inl.hpp cols(1), allocator(0), usageFlags(USAGE_DEFAULT), u(0), offset(0), size(&rows) rows 3215 modules/core/include/opencv2/core/mat.inl.hpp rows = m.rows; rows 3288 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && rows == _rows && cols == _cols && type() == _type && u ) rows 3392 modules/core/include/opencv2/core/mat.inl.hpp return (size_t)rows * cols; rows 92 modules/core/include/opencv2/core/matx.hpp channels = rows*cols, rows 257 modules/core/include/opencv2/core/opengl.hpp int rows() const; rows 382 modules/core/include/opencv2/core/opengl.hpp int rows() const; rows 294 modules/core/include/opencv2/core/operations.hpp SVD svd(mtx, (mtx.rows >= mtx.cols ? 0 : SVD::FULL_UV)); rows 297 modules/core/include/opencv2/core/operations.hpp svd.vt.row(svd.vt.rows-1).reshape(1,svd.vt.cols).copyTo(dst); rows 86 modules/core/include/opencv2/core/private.cuda.hpp CV_EXPORTS GpuMat getOutputMat(OutputArray _dst, int rows, int cols, int type, Stream& stream); rows 110 modules/core/include/opencv2/core/private.cuda.hpp GpuMat getBuffer(int rows, int cols, int type); rows 158 modules/core/include/opencv2/core/private.hpp return cv::Size(mat->cols, mat->rows); rows 444 modules/core/include/opencv2/core/types_c.h int rows; rows 454 modules/core/include/opencv2/core/types_c.h int rows; rows 472 modules/core/include/opencv2/core/types_c.h ((const CvMat*)(mat))->cols > 0 && ((const CvMat*)(mat))->rows > 0) rows 477 modules/core/include/opencv2/core/types_c.h ((const CvMat*)(mat))->cols >= 0 && ((const CvMat*)(mat))->rows >= 0) rows 495 modules/core/include/opencv2/core/types_c.h ((mat1)->rows == (mat2)->rows && (mat1)->cols == (mat2)->cols) rows 498 modules/core/include/opencv2/core/types_c.h (((mat)->rows|(mat)->cols) == 1) rows 509 modules/core/include/opencv2/core/types_c.h CV_INLINE CvMat cvMat( int rows, int cols, int type, void* data CV_DEFAULT(NULL)) rows 517 modules/core/include/opencv2/core/types_c.h m.rows = rows; rows 530 modules/core/include/opencv2/core/types_c.h *this = cvMat(m.rows, m.dims == 1 ? 1 : m.cols, m.type(), m.data); rows 538 modules/core/include/opencv2/core/types_c.h (assert( (unsigned)(row) < (unsigned)(mat).rows && \ rows 562 modules/core/include/opencv2/core/types_c.h assert( (unsigned)row < (unsigned)mat->rows && rows 588 modules/core/include/opencv2/core/types_c.h assert( (unsigned)row < (unsigned)mat->rows && rows 34 modules/core/misc/java/src/java/core+Mat.java public Mat(int rows, int cols, int type) rows 37 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(rows, cols, type); rows 60 modules/core/misc/java/src/java/core+Mat.java public Mat(int rows, int cols, int type, Scalar s) rows 63 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(rows, cols, type, s.val[0], s.val[1], s.val[2], s.val[3]); rows 337 modules/core/misc/java/src/java/core+Mat.java public void create(int rows, int cols, int type) rows 340 modules/core/misc/java/src/java/core+Mat.java n_create(nativeObj, rows, cols, type); rows 489 modules/core/misc/java/src/java/core+Mat.java public static Mat eye(int rows, int cols, int type) rows 492 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_eye(rows, cols, type)); rows 600 modules/core/misc/java/src/java/core+Mat.java public static Mat ones(int rows, int cols, int type) rows 603 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_ones(rows, cols, type)); rows 652 modules/core/misc/java/src/java/core+Mat.java public Mat reshape(int cn, int rows) rows 655 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_reshape(nativeObj, cn, rows)); rows 888 modules/core/misc/java/src/java/core+Mat.java public static Mat zeros(int rows, int cols, int type) rows 891 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_zeros(rows, cols, type)); rows 919 modules/core/misc/java/src/java/core+Mat.java rows() + "*" + cols() + "*" + CvType.typeToString(type()) + rows 1085 modules/core/misc/java/src/java/core+Mat.java return rows(); rows 1102 modules/core/misc/java/src/java/core+Mat.java private static native long n_Mat(int rows, int cols, int type); rows 1108 modules/core/misc/java/src/java/core+Mat.java private static native long n_Mat(int rows, int cols, int type, double s_val0, double s_val1, double s_val2, double s_val3); rows 1167 modules/core/misc/java/src/java/core+Mat.java private static native void n_create(long nativeObj, int rows, int cols, int type); rows 1200 modules/core/misc/java/src/java/core+Mat.java private static native long n_eye(int rows, int cols, int type); rows 1225 modules/core/misc/java/src/java/core+Mat.java private static native long n_ones(int rows, int cols, int type); rows 1237 modules/core/misc/java/src/java/core+Mat.java private static native long n_reshape(long nativeObj, int cn, int rows); rows 1285 modules/core/misc/java/src/java/core+Mat.java private static native long n_zeros(int rows, int cols, int type); rows 266 modules/core/misc/java/test/CoreTest.java gray0.put(gray0.rows() - 1, gray0.cols() - 1, 255); rows 854 modules/core/misc/java/test/CoreTest.java int nPoints = Math.min(gray0.cols(), gray0.rows()); rows 865 modules/core/misc/java/test/CoreTest.java int nPoints = Math.min(gray0.cols(), gray0.rows()); rows 875 modules/core/misc/java/test/CoreTest.java int nPoints = Math.min(gray0.cols(), gray0.rows()); rows 1006 modules/core/misc/java/test/CoreTest.java Mat submat = grayRnd.submat(0, grayRnd.rows() / 2, 0, grayRnd.cols() / 2); rows 1009 modules/core/misc/java/test/CoreTest.java submat = mask.submat(0, mask.rows() / 2, 0, mask.cols() / 2); rows 1044 modules/core/misc/java/test/CoreTest.java Point minLoc = new Point(gray3.cols() / 4, gray3.rows() / 2); rows 1045 modules/core/misc/java/test/CoreTest.java Point maxLoc = new Point(gray3.cols() / 2, gray3.rows() / 4); rows 1182 modules/core/misc/java/test/CoreTest.java assertMatEqual(getMat(CvType.CV_64F, 3 * a.rows()), dst, EPS); rows 1595 modules/core/misc/java/test/CoreTest.java Point bottomRight = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1605 modules/core/misc/java/test/CoreTest.java Point bottomRight = new Point(gray0.cols(), gray0.rows()); rows 1616 modules/core/misc/java/test/CoreTest.java Point bottomRight = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1627 modules/core/misc/java/test/CoreTest.java Point bottomRight1 = new Point(gray0.cols(), gray0.rows()); rows 1628 modules/core/misc/java/test/CoreTest.java Point bottomRight2 = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1809 modules/core/misc/java/test/CoreTest.java Mat submat = gray0.submat(0, gray0.rows() / 2, 0, gray0.cols() / 2); rows 1814 modules/core/misc/java/test/CoreTest.java submat = dst.submat(0, dst.rows() / 2, dst.cols() / 2, dst.cols()); rows 1819 modules/core/misc/java/test/CoreTest.java submat = dst.submat(dst.rows() / 2, dst.rows(), 0, dst.cols() / 2); rows 1964 modules/core/misc/java/test/CoreTest.java gray0.submat(0, gray0.rows() / 2, 0, gray0.cols()).setTo(new Scalar(1)); rows 1969 modules/core/misc/java/test/CoreTest.java Mat subdst = destination.submat(0, destination.rows(), 0, destination.cols() / 2); rows 104 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows(), col.rows()); rows 111 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows(), cols.rows()); rows 173 modules/core/misc/java/test/MatTest.java assertEquals(4, gray255.rows()); rows 182 modules/core/misc/java/test/MatTest.java assertEquals(5, dst.rows()); rows 454 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows(), gray0.height()); rows 455 modules/core/misc/java/test/MatTest.java assertEquals(rgbLena.rows(), rgbLena.height()); rows 456 modules/core/misc/java/test/MatTest.java assertEquals(rgba128.rows(), rgba128.height()); rows 491 modules/core/misc/java/test/MatTest.java Mat subMat = gray0.submat(0, 0, gray0.rows() / 2, gray0.cols() / 2); rows 497 modules/core/misc/java/test/MatTest.java Mat subMat = gray0.submat(0, 0, gray0.rows() / 2, gray0.cols() / 2); rows 527 modules/core/misc/java/test/MatTest.java dst = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); rows 531 modules/core/misc/java/test/MatTest.java dst = new Mat(rgba128.rows(), rgba128.cols(), CvType.CV_8UC4, Scalar.all(128)); rows 545 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); rows 549 modules/core/misc/java/test/MatTest.java Mat m2 = new Mat(gray0_32f.rows(), gray0_32f.cols(), CvType.CV_32F, new Scalar(0)); rows 794 modules/core/misc/java/test/MatTest.java assertTrue(gray0.rows() > 0); rows 799 modules/core/misc/java/test/MatTest.java assertEquals(0, gray0.rows()); rows 821 modules/core/misc/java/test/MatTest.java assertEquals(1, row.rows()); rows 826 modules/core/misc/java/test/MatTest.java Mat rows = gray0.rowRange(0, gray0.rows() / 2); rows 827 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows() / 2, rows.rows()); rows 828 modules/core/misc/java/test/MatTest.java assertEquals(gray0.cols(), rows.cols()); rows 832 modules/core/misc/java/test/MatTest.java Mat rows = gray255.rowRange(new Range(0, 5)); rows 834 modules/core/misc/java/test/MatTest.java assertEquals(gray255.rows() / 2, rows.rows()); rows 835 modules/core/misc/java/test/MatTest.java assertEquals(gray255.cols(), rows.cols()); rows 839 modules/core/misc/java/test/MatTest.java assertEquals(matSize, gray0.rows()); rows 921 modules/core/misc/java/test/MatTest.java Mat submat = gray0.submat(0, gray0.rows() / 2, 0, gray0.cols() / 2); rows 925 modules/core/misc/java/test/MatTest.java assertEquals(gray0.rows() / 2, submat.rows()); rows 934 modules/core/misc/java/test/MatTest.java assertEquals(2, submat.rows()); rows 939 modules/core/misc/java/test/MatTest.java Mat submat = gray255.submat(new Rect(5, gray255.rows() / 2, 5, gray255.cols() / 2)); rows 943 modules/core/misc/java/test/MatTest.java assertEquals(gray255.rows() / 2, submat.rows()); rows 975 modules/core/misc/java/test/MatTest.java int nElements = gray0.rows() * gray0.cols(); rows 12 modules/core/perf/perf_cvround.cpp for (int y = 0; y < dst.rows; ++y) rows 61 modules/core/perf/perf_math.cpp for( i = 0; i < labels.rows; i++ ) rows 1507 modules/core/src/arithm.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; rows 1920 modules/core/src/arithm.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; rows 4977 modules/core/src/arithm.cpp size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 108 modules/core/src/array.cpp if( (int64)arr->step*arr->rows > INT_MAX ) rows 114 modules/core/src/array.cpp cvCreateMatHeader( int rows, int cols, int type ) rows 118 modules/core/src/array.cpp if( rows < 0 || cols <= 0 ) rows 129 modules/core/src/array.cpp arr->rows = rows; rows 142 modules/core/src/array.cpp cvInitMatHeader( CvMat* arr, int rows, int cols, rows 151 modules/core/src/array.cpp if( rows < 0 || cols <= 0 ) rows 156 modules/core/src/array.cpp arr->rows = rows; rows 177 modules/core/src/array.cpp (arr->rows == 1 || arr->step == min_step ? CV_MAT_CONT_FLAG : 0); rows 213 modules/core/src/array.cpp CvMat* dst = cvCreateMatHeader( src->rows, src->cols, src->type ); rows 362 modules/core/src/array.cpp matnd->dim[0].size = mat->rows; rows 810 modules/core/src/array.cpp if( mat->rows == 0 || mat->cols == 0 ) rows 819 modules/core/src/array.cpp int64 _total_size = (int64)step*mat->rows + sizeof(int) + CV_MALLOC_ALIGN; rows 922 modules/core/src/array.cpp (mat->rows == 1 || mat->step == min_step ? CV_MAT_CONT_FLAG : 0); rows 1114 modules/core/src/array.cpp sizes[0] = mat->rows; rows 1169 modules/core/src/array.cpp size = mat->rows; rows 1230 modules/core/src/array.cpp size.height = mat->rows; rows 1271 modules/core/src/array.cpp rect.y + rect.height > mat->rows ) rows 1288 modules/core/src/array.cpp submat->rows = rect.height; rows 1312 modules/core/src/array.cpp if( (unsigned)start_row >= (unsigned)mat->rows || rows 1313 modules/core/src/array.cpp (unsigned)end_row > (unsigned)mat->rows || delta_row <= 0 ) rows 1327 modules/core/src/array.cpp submat->rows = end_row - start_row; rows 1332 modules/core/src/array.cpp submat->rows = (end_row - start_row + delta_row - 1)/delta_row; rows 1337 modules/core/src/array.cpp submat->step &= submat->rows > 1 ? -1 : 0; rows 1339 modules/core/src/array.cpp submat->type = (mat->type | (submat->rows == 1 ? CV_MAT_CONT_FLAG : 0)) & rows 1340 modules/core/src/array.cpp (delta_row != 1 && submat->rows > 1 ? ~CV_MAT_CONT_FLAG : -1); rows 1378 modules/core/src/array.cpp submat->rows = mat->rows; rows 1382 modules/core/src/array.cpp submat->type = mat->type & (submat->rows > 1 && submat->cols < cols ? ~CV_MAT_CONT_FLAG : -1); rows 1424 modules/core/src/array.cpp len = CV_IMIN( len, mat->rows ); rows 1429 modules/core/src/array.cpp len = mat->rows + diag; rows 1438 modules/core/src/array.cpp submat->rows = len; rows 1440 modules/core/src/array.cpp submat->step = mat->step + (submat->rows > 1 ? pix_size : 0); rows 1442 modules/core/src/array.cpp if( submat->rows > 1 ) rows 1662 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && rows 1663 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) rows 1762 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || rows 1936 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && rows 1937 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) rows 1966 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || rows 2047 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && rows 2048 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) rows 2081 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || rows 2177 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && rows 2178 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) rows 2203 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || rows 2269 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && rows 2270 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) rows 2298 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || rows 2484 modules/core/src/array.cpp mat->rows = size1; rows 2565 modules/core/src/array.cpp new_rows = total_width*mat->rows/new_cn; rows 2568 modules/core/src/array.cpp new_rows = mat->rows; rows 2570 modules/core/src/array.cpp new_rows = mat->rows * total_width / new_cn; rows 2573 modules/core/src/array.cpp if( new_rows != mat->rows ) rows 2575 modules/core/src/array.cpp int total_size = total_width * mat->rows; rows 2588 modules/core/src/array.cpp header.rows = new_rows; rows 2746 modules/core/src/array.cpp new_rows = mat->rows * total_width / new_cn; rows 2748 modules/core/src/array.cpp if( new_rows == 0 || new_rows == mat->rows ) rows 2750 modules/core/src/array.cpp header->rows = mat->rows; rows 2755 modules/core/src/array.cpp int total_size = total_width * mat->rows; rows 2769 modules/core/src/array.cpp header->rows = new_rows; rows 2809 modules/core/src/array.cpp cvInitImageHeader( img, cvSize(mat->cols, mat->rows), rows 128 modules/core/src/conjugate_gradient.cpp CV_Assert(MIN(x_mat.rows,x_mat.cols)==1); rows 129 modules/core/src/conjugate_gradient.cpp int ndim=MAX(x_mat.rows,x_mat.cols); rows 141 modules/core/src/conjugate_gradient.cpp if(x_mat.rows>1){ rows 174 modules/core/src/conjugate_gradient.cpp if(x_mat.rows>1){ rows 1072 modules/core/src/convert.cpp size_t globalsize[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 5530 modules/core/src/convert.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; rows 5698 modules/core/src/convert.cpp size_t globalSize[2] = { dst.cols * dcn / kercn, (dst.rows + 3) / 4 }; rows 5748 modules/core/src/convert.cpp IppiSize sz = { width, dst.rows }; rows 5957 modules/core/src/convert.cpp Range all(0, dst.rows); rows 6055 modules/core/src/convert.cpp size_t globalsize[2] = { src.cols, (src.rows + rowsPerWI - 1) / rowsPerWI }; rows 309 modules/core/src/copy.cpp _dst.create( rows, cols, type() ); rows 314 modules/core/src/copy.cpp if( rows > 0 && cols > 0 ) rows 412 modules/core/src/copy.cpp IppiSize roisize = { cols, rows }; rows 489 modules/core/src/copy.cpp IppiSize roisize = { cols, rows }; rows 711 modules/core/src/copy.cpp int cols = size.width * cn / kercn, rows = size.height; rows 713 modules/core/src/copy.cpp rows = flipType & FLIP_ROWS ? (rows + 1) >> 1 : rows; rows 716 modules/core/src/copy.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols); rows 721 modules/core/src/copy.cpp size_t globalsize[2] = { cols, (rows + pxPerWIy - 1) / pxPerWIy }, rows 806 modules/core/src/copy.cpp IppiSize roisize = { dst.cols, dst.rows }; rows 810 modules/core/src/copy.cpp if (ippFunc(src.ptr(), (int)src.step, dst.ptr(), (int)dst.step, ippiSize(src.cols, src.rows), axis) >= 0) rows 862 modules/core/src/copy.cpp size_t globalsize[] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; rows 1116 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); rows 1126 modules/core/src/copy.cpp _dst.create(src.rows + top + bottom, src.cols + left + right, type); rows 1139 modules/core/src/copy.cpp size_t globalsize[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 1164 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); rows 1174 modules/core/src/copy.cpp _dst.create( src.rows + top + bottom, src.cols + left + right, type ); rows 1196 modules/core/src/copy.cpp IppiSize srcRoiSize = { src.cols, src.rows }, dstRoiSize = { dst.cols, dst.rows }; rows 1432 modules/core/src/copy.cpp dst.rows % src.rows == 0 && dst.cols % src.cols == 0 ); rows 1433 modules/core/src/copy.cpp cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst); rows 50 modules/core/src/cuda_gpu_mat.cpp flags(Mat::MAGIC_VAL + (type_ & Mat::TYPE_MASK)), rows(rows_), cols(cols_), rows 64 modules/core/src/cuda_gpu_mat.cpp if (rows == 1) rows 72 modules/core/src/cuda_gpu_mat.cpp dataend += step * (rows - 1) + minstep; rows 76 modules/core/src/cuda_gpu_mat.cpp flags(Mat::MAGIC_VAL + (type_ & Mat::TYPE_MASK)), rows(size_.height), cols(size_.width), rows 90 modules/core/src/cuda_gpu_mat.cpp if (rows == 1) rows 98 modules/core/src/cuda_gpu_mat.cpp dataend += step * (rows - 1) + minstep; rows 110 modules/core/src/cuda_gpu_mat.cpp rows = m.rows; rows 114 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= rowRange_.start && rowRange_.start <= rowRange_.end && rowRange_.end <= m.rows ); rows 116 modules/core/src/cuda_gpu_mat.cpp rows = rowRange_.size(); rows 133 modules/core/src/cuda_gpu_mat.cpp if (rows == 1) rows 139 modules/core/src/cuda_gpu_mat.cpp if (rows <= 0 || cols <= 0) rows 140 modules/core/src/cuda_gpu_mat.cpp rows = cols = 0; rows 144 modules/core/src/cuda_gpu_mat.cpp flags(m.flags), rows(roi.height), cols(roi.width), rows 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 ); rows 157 modules/core/src/cuda_gpu_mat.cpp if (rows <= 0 || cols <= 0) rows 158 modules/core/src/cuda_gpu_mat.cpp rows = cols = 0; rows 172 modules/core/src/cuda_gpu_mat.cpp new_rows = rows * total_width / new_cn; rows 174 modules/core/src/cuda_gpu_mat.cpp if (new_rows != 0 && new_rows != rows) rows 176 modules/core/src/cuda_gpu_mat.cpp int total_size = total_width * rows; rows 189 modules/core/src/cuda_gpu_mat.cpp hdr.rows = new_rows; rows 226 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows); rows 239 modules/core/src/cuda_gpu_mat.cpp int row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); rows 245 modules/core/src/cuda_gpu_mat.cpp rows = row2 - row1; rows 248 modules/core/src/cuda_gpu_mat.cpp if (esz * cols == step || rows == 1) rows 259 modules/core/src/cuda_gpu_mat.cpp void createContinuousImpl(int rows, int cols, int type, ObjType& obj) rows 261 modules/core/src/cuda_gpu_mat.cpp const int area = rows * cols; rows 266 modules/core/src/cuda_gpu_mat.cpp obj = obj.reshape(obj.channels(), rows); rows 270 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::createContinuous(int rows, int cols, int type, OutputArray arr) rows 275 modules/core/src/cuda_gpu_mat.cpp ::createContinuousImpl(rows, cols, type, arr.getMatRef()); rows 279 modules/core/src/cuda_gpu_mat.cpp ::createContinuousImpl(rows, cols, type, arr.getGpuMatRef()); rows 283 modules/core/src/cuda_gpu_mat.cpp ::createContinuousImpl(rows, cols, type, arr.getHostMemRef()); rows 287 modules/core/src/cuda_gpu_mat.cpp arr.create(rows, cols, type); rows 294 modules/core/src/cuda_gpu_mat.cpp void ensureSizeIsEnoughImpl(int rows, int cols, int type, ObjType& obj) rows 298 modules/core/src/cuda_gpu_mat.cpp obj.create(rows, cols, type); rows 308 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / static_cast<size_t>(obj.step) + 1), obj.rows); rows 311 modules/core/src/cuda_gpu_mat.cpp if (wholeSize.height < rows || wholeSize.width < cols) rows 313 modules/core/src/cuda_gpu_mat.cpp obj.create(rows, cols, type); rows 318 modules/core/src/cuda_gpu_mat.cpp obj.rows = rows; rows 324 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::ensureSizeIsEnough(int rows, int cols, int type, OutputArray arr) rows 329 modules/core/src/cuda_gpu_mat.cpp ::ensureSizeIsEnoughImpl(rows, cols, type, arr.getMatRef()); rows 333 modules/core/src/cuda_gpu_mat.cpp ::ensureSizeIsEnoughImpl(rows, cols, type, arr.getGpuMatRef()); rows 337 modules/core/src/cuda_gpu_mat.cpp ::ensureSizeIsEnoughImpl(rows, cols, type, arr.getHostMemRef()); rows 341 modules/core/src/cuda_gpu_mat.cpp arr.create(rows, cols, type); rows 369 modules/core/src/cuda_gpu_mat.cpp GpuMat cv::cuda::getOutputMat(OutputArray _dst, int rows, int cols, int type, Stream& stream) rows 375 modules/core/src/cuda_gpu_mat.cpp (void) rows; rows 383 modules/core/src/cuda_gpu_mat.cpp _dst.create(rows, cols, type); rows 389 modules/core/src/cuda_gpu_mat.cpp dst = pool.getBuffer(rows, cols, type); rows 195 modules/core/src/cuda_host_mem.cpp if (rows == rows_ && cols == cols_ && type() == type_ && data) rows 206 modules/core/src/cuda_host_mem.cpp rows = rows_; rows 216 modules/core/src/cuda_host_mem.cpp int64 _nettosize = (int64)step*rows; rows 254 modules/core/src/cuda_host_mem.cpp new_rows = rows * total_width / new_cn; rows 256 modules/core/src/cuda_host_mem.cpp if (new_rows != 0 && new_rows != rows) rows 258 modules/core/src/cuda_host_mem.cpp int total_size = total_width * rows; rows 271 modules/core/src/cuda_host_mem.cpp hdr.rows = new_rows; rows 296 modules/core/src/cuda_host_mem.cpp step = rows = cols = 0; rows 312 modules/core/src/cuda_host_mem.cpp return GpuMat(rows, cols, type(), pdev, step); rows 323 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostRegister(m.data, m.step * m.rows, cudaHostRegisterPortable) ); rows 536 modules/core/src/cuda_stream.cpp bool allocate(GpuMat* mat, int rows, int cols, size_t elemSize); rows 575 modules/core/src/cuda_stream.cpp bool StackAllocator::allocate(GpuMat* mat, int rows, int cols, size_t elemSize) rows 582 modules/core/src/cuda_stream.cpp if (rows > 1 && cols > 1) rows 585 modules/core/src/cuda_stream.cpp memSize = pitch * rows; rows 591 modules/core/src/cuda_stream.cpp memSize = alignUp(elemSize * cols * rows, 64); rows 667 modules/core/src/cuda_stream.cpp GpuMat cv::cuda::BufferPool::getBuffer(int rows, int cols, int type) rows 670 modules/core/src/cuda_stream.cpp buf.create(rows, cols, type); rows 1764 modules/core/src/datastructs.cpp if( !CV_IS_MAT_CONT(mat->type) || (mat->rows != 1 && mat->cols != 1) ) rows 1769 modules/core/src/datastructs.cpp mat->data.ptr, mat->cols + mat->rows - 1, rows 745 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 804 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 893 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 952 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 1047 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 1113 modules/core/src/directx.cpp size_t region[3] = {u.cols, u.rows, 1}; rows 157 modules/core/src/downhill_simplex.cpp dprintf(("m.cols=%d\nm.rows=%d\n", m.cols, m.rows)); rows 158 modules/core/src/downhill_simplex.cpp if( m.rows == 1 ) rows 182 modules/core/src/downhill_simplex.cpp CV_Assert( std::min(_step.cols, _step.rows) == 1 && rows 183 modules/core/src/downhill_simplex.cpp std::max(_step.cols, _step.rows) >= 2 && rows 199 modules/core/src/downhill_simplex.cpp Mat simplex_0m(x.rows, x.cols, CV_64F, simplex.ptr<double>()); rows 216 modules/core/src/downhill_simplex.cpp int i, j, m = p.rows, n = p.cols; rows 218 modules/core/src/downhill_simplex.cpp CV_Assert( coord_sum.cols == n && coord_sum.rows == 1 ); rows 242 modules/core/src/downhill_simplex.cpp CV_Assert( (x.cols == 1 && x.rows == ndim) || (x.cols == ndim && x.rows == 1) ); rows 246 modules/core/src/downhill_simplex.cpp Mat simplex_0m(x.rows, x.cols, CV_64F, simplex.ptr<double>()); rows 1658 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_C_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); rows 1666 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_R_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); rows 1703 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; rows 1757 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; rows 1869 modules/core/src/dxt.cpp bool enqueueTransform(InputArray _src, OutputArray _dst, int num_dfts, int flags, int fftType, bool rows = true) const rows 1885 modules/core/src/dxt.cpp if (rows) rows 1887 modules/core/src/dxt.cpp globalsize[0] = thread_count; globalsize[1] = src.rows; rows 1908 modules/core/src/dxt.cpp if ((is1d && src.channels() == 1) || (rows && (fftType == R2R))) rows 1913 modules/core/src/dxt.cpp if (rows && (fftType == C2R || fftType == R2R)) rows 2072 modules/core/src/dxt.cpp Ptr<OCL_FftPlan> plan = OCL_FftPlanCache::getInstance().getFftPlan(_src.rows(), depth); rows 2096 modules/core/src/dxt.cpp if( nonzero_rows <= 0 || nonzero_rows > _src.rows() ) rows 2097 modules/core/src/dxt.cpp nonzero_rows = _src.rows(); rows 2580 modules/core/src/dxt.cpp if( !(flags & DFT_ROWS) && src.rows > 1 && rows 2598 modules/core/src/dxt.cpp count = src.rows; rows 2601 modules/core/src/dxt.cpp len = !inv ? src.rows : dst.rows; rows 2608 modules/core/src/dxt.cpp len = dst.rows; rows 2955 modules/core/src/dxt.cpp int rows = srcA.rows, cols = srcA.cols; rows 2961 modules/core/src/dxt.cpp _dst.create( srcA.rows, srcA.cols, type ); rows 2964 modules/core/src/dxt.cpp bool is_1d = (flags & DFT_ROWS) || (rows == 1 || (cols == 1 && rows 2968 modules/core/src/dxt.cpp cols = cols + rows - 1, rows = 1; rows 2991 modules/core/src/dxt.cpp if( rows % 2 == 0 ) rows 2992 modules/core/src/dxt.cpp dataC[(rows-1)*stepC] = dataA[(rows-1)*stepA]*dataB[(rows-1)*stepB]; rows 2994 modules/core/src/dxt.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 3003 modules/core/src/dxt.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 3016 modules/core/src/dxt.cpp for( ; rows--; dataA += stepA, dataB += stepB, dataC += stepC ) rows 3058 modules/core/src/dxt.cpp if( rows % 2 == 0 ) rows 3059 modules/core/src/dxt.cpp dataC[(rows-1)*stepC] = dataA[(rows-1)*stepA]*dataB[(rows-1)*stepB]; rows 3061 modules/core/src/dxt.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 3070 modules/core/src/dxt.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 3083 modules/core/src/dxt.cpp for( ; rows--; dataA += stepA, dataB += stepB, dataC += stepC ) rows 3388 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), DctIPPLoop_Invoker<Dct>(src, dst, &ippidct, inv, &ok), src.rows/(double)(1<<4) ); rows 3418 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; rows 3475 modules/core/src/dxt.cpp _dst.create( src.rows, src.cols, type ); rows 3496 modules/core/src/dxt.cpp if( (flags & DCT_ROWS) || src.rows == 1 || rows 3516 modules/core/src/dxt.cpp count = src.rows; rows 3519 modules/core/src/dxt.cpp len = src.rows; rows 3528 modules/core/src/dxt.cpp len = dst.rows; rows 104 modules/core/src/kmeans.cpp int i, j, k, dims = _data.cols, N = _data.rows; rows 180 modules/core/src/kmeans.cpp const int K = centers.rows; rows 224 modules/core/src/kmeans.cpp bool isrow = data0.rows == 1 && data0.channels() > 1; rows 225 modules/core/src/kmeans.cpp int N = !isrow ? data0.rows : data0.cols; rows 240 modules/core/src/kmeans.cpp CV_Assert( (best_labels.cols == 1 || best_labels.rows == 1) && rows 241 modules/core/src/kmeans.cpp best_labels.cols*best_labels.rows == N && rows 248 modules/core/src/kmeans.cpp if( !((best_labels.cols == 1 || best_labels.rows == 1) && rows 249 modules/core/src/kmeans.cpp best_labels.cols*best_labels.rows == N && rows 718 modules/core/src/lapack.cpp int type = mat.type(), rows = mat.rows; rows 723 modules/core/src/lapack.cpp CV_Assert( mat.rows == mat.cols && (type == CV_32F || type == CV_64F)); rows 730 modules/core/src/lapack.cpp if( rows == 2 ) rows 732 modules/core/src/lapack.cpp else if( rows == 3 ) rows 734 modules/core/src/lapack.cpp else if( rows == 1 ) rows 738 modules/core/src/lapack.cpp size_t bufSize = rows*rows*sizeof(float); rows 740 modules/core/src/lapack.cpp Mat a(rows, rows, CV_32F, (uchar*)buffer); rows 743 modules/core/src/lapack.cpp result = hal::LU(a.ptr<float>(), a.step, rows, 0, 0, 0); rows 746 modules/core/src/lapack.cpp for( int i = 0; i < rows; i++ ) rows 754 modules/core/src/lapack.cpp if( rows == 2 ) rows 756 modules/core/src/lapack.cpp else if( rows == 3 ) rows 758 modules/core/src/lapack.cpp else if( rows == 1 ) rows 762 modules/core/src/lapack.cpp size_t bufSize = rows*rows*sizeof(double); rows 764 modules/core/src/lapack.cpp Mat a(rows, rows, CV_64F, (uchar*)buffer); rows 767 modules/core/src/lapack.cpp result = hal::LU(a.ptr<double>(), a.step, rows, 0, 0, 0); rows 770 modules/core/src/lapack.cpp for( int i = 0; i < rows; i++ ) rows 801 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; rows 1061 modules/core/src/lapack.cpp is_normal || src.rows == src.cols ); rows 1065 modules/core/src/lapack.cpp src.rows <= 3 && src.rows == src.cols && _src2.cols == 1 ) rows 1080 modules/core/src/lapack.cpp if( src.rows == 2 ) rows 1111 modules/core/src/lapack.cpp else if( src.rows == 3 ) rows 1174 modules/core/src/lapack.cpp assert( src.rows == 1 ); rows 1199 modules/core/src/lapack.cpp int m = src.rows, m_ = m, n = src.cols, nb = _src2.cols; rows 1330 modules/core/src/lapack.cpp int n = src.rows; rows 1332 modules/core/src/lapack.cpp CV_Assert( src.rows == src.cols ); rows 1363 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; rows 1449 modules/core/src/lapack.cpp int m = u.rows, n = vt.cols, nb = rhs.data ? rhs.cols : m, nm = std::min(m, n); rows 1450 modules/core/src/lapack.cpp size_t wstep = w.rows == 1 ? (size_t)esz : w.cols == 1 ? (size_t)w.step : (size_t)w.step + esz; rows 1453 modules/core/src/lapack.cpp CV_Assert( u.cols >= nm && vt.rows >= nm && rows 1454 modules/core/src/lapack.cpp (w.size() == Size(nm, 1) || w.size() == Size(1, nm) || w.size() == Size(vt.rows, u.cols)) ); rows 1455 modules/core/src/lapack.cpp CV_Assert( rhs.data == 0 || (rhs.type() == type && rhs.rows == m) ); rows 1501 modules/core/src/lapack.cpp if( CV_IS_MAT(arr) && ((CvMat*)arr)->rows <= 3 ) rows 1505 modules/core/src/lapack.cpp int rows = mat->rows; rows 1508 modules/core/src/lapack.cpp CV_Assert( rows == mat->cols ); rows 1515 modules/core/src/lapack.cpp if( rows == 2 ) rows 1517 modules/core/src/lapack.cpp if( rows == 3 ) rows 1522 modules/core/src/lapack.cpp if( rows == 2 ) rows 1524 modules/core/src/lapack.cpp if( rows == 3 ) rows 1537 modules/core/src/lapack.cpp CV_Assert( src.type() == dst.type() && src.rows == dst.cols && src.cols == dst.rows ); rows 1549 modules/core/src/lapack.cpp CV_Assert( A.type() == x.type() && A.cols == x.rows && x.cols == b.cols ); rows 1555 modules/core/src/lapack.cpp A.rows > A.cols ? cv::DECOMP_QR : cv::DECOMP_LU) + (is_normal ? cv::DECOMP_NORMAL : 0) ); rows 1595 modules/core/src/lapack.cpp int m = a.rows, n = a.cols, type = a.type(), mn = std::max(m, n), nm = std::min(m, n); rows 44 modules/core/src/lda.cpp if (src.rows != 1 && src.cols != 1) { rows 94 modules/core/src/lda.cpp _dst.create(src.rows, src.cols, src.type()); rows 113 modules/core/src/lda.cpp if(_src.cols != _src.rows) rows 115 modules/core/src/lda.cpp for (int i = 0; i < _src.rows; i++) { rows 130 modules/core/src/lda.cpp if(_src.cols != _src.rows) rows 132 modules/core/src/lda.cpp for (int i = 0; i < _src.rows; i++) { rows 177 modules/core/src/lda.cpp int n = src.rows; rows 180 modules/core/src/lda.cpp if(W.rows != d) { rows 181 modules/core/src/lda.cpp String error_message = format("Wrong shapes for given matrices. Was size(src) = (%d,%d), size(W) = (%d,%d).", src.rows, src.cols, W.rows, W.cols); rows 215 modules/core/src/lda.cpp int n = src.rows; rows 219 modules/core/src/lda.cpp String error_message = format("Wrong shapes for given matrices. Was size(src) = (%d,%d), size(W) = (%d,%d).", src.rows, src.cols, W.rows, W.cols); rows 223 modules/core/src/lda.cpp if(!mean.empty() && (mean.total() != (size_t) W.rows)) { rows 915 modules/core/src/lda.cpp for (int i = 0; i < tmp.rows; i++) { rows 1008 modules/core/src/lda.cpp int N = data.rows; rows 100 modules/core/src/lpsolver.cpp CV_Assert((Func.rows==1 && (Constr.cols-Func.cols==1))|| rows 101 modules/core/src/lpsolver.cpp (Func.cols==1 && (Constr.cols-Func.rows==1))); rows 104 modules/core/src/lpsolver.cpp Mat_<double> bigC=Mat_<double>(1,(Func.rows==1?Func.cols:Func.rows)+1), rows 105 modules/core/src/lpsolver.cpp bigB=Mat_<double>(Constr.rows,Constr.cols+1); rows 106 modules/core/src/lpsolver.cpp if(Func.rows==1){ rows 149 modules/core/src/lpsolver.cpp B.resize(b.rows); rows 154 modules/core/src/lpsolver.cpp indexToRow.resize(c.cols+b.rows); rows 164 modules/core/src/lpsolver.cpp for(int i=0;i<b.rows;i++){ rows 183 modules/core/src/lpsolver.cpp for(int i=0;i<b.rows;i++){ rows 326 modules/core/src/lpsolver.cpp for(int i=0;i<b.rows;i++){ rows 356 modules/core/src/lpsolver.cpp for(int i=0;i<A.rows;i++){ rows 96 modules/core/src/mathfuncs.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; rows 333 modules/core/src/mathfuncs.cpp size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI }; rows 615 modules/core/src/mathfuncs.cpp size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI }; rows 1352 modules/core/src/mathfuncs.cpp size_t globalsize[2] = { dst.cols * cn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 1584 modules/core/src/mathfuncs.cpp for (int j = 0; j < as_one_channel.rows; ++j) rows 1737 modules/core/src/mathfuncs.cpp size_t globalsize[2] = { a.cols * cn, (a.rows + rowsPerWI - 1) / rowsPerWI }; rows 1926 modules/core/src/mathfuncs.cpp int ncoeffs = coeffs.rows + coeffs.cols - 1; rows 2048 modules/core/src/mathfuncs.cpp CV_Assert( coeffs0.rows == 1 || coeffs0.cols == 1 ); rows 2050 modules/core/src/mathfuncs.cpp int n0 = coeffs0.cols + coeffs0.rows - 2, n = n0; rows 874 modules/core/src/matmul.cpp matA.cols() > 20 && matA.rows() > 20 && matB.cols() > 20, // since it works incorrect for small sizes rows 899 modules/core/src/matmul.cpp len = B.rows; rows 904 modules/core/src/matmul.cpp len = B.rows; rows 908 modules/core/src/matmul.cpp d_size = Size( B.rows, a_size.height ); rows 913 modules/core/src/matmul.cpp d_size = Size( B.rows, a_size.width ); rows 922 modules/core/src/matmul.cpp (((flags&GEMM_3_T) == 0 && C.rows == d_size.height && C.cols == d_size.width) || rows 923 modules/core/src/matmul.cpp ((flags&GEMM_3_T) != 0 && C.rows == d_size.width && C.cols == d_size.height))); rows 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; rows 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; rows 2307 modules/core/src/matmul.cpp size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 2455 modules/core/src/matmul.cpp int nsamples = takeRows ? data.rows : data.cols; rows 2457 modules/core/src/matmul.cpp Size size = takeRows ? Size(data.cols, 1) : Size(1, data.rows); rows 2497 modules/core/src/matmul.cpp sz == v2.size() && len == icovar.rows && len == icovar.cols ); rows 2590 modules/core/src/matmul.cpp size_t deltastep = deltamat.rows > 1 ? deltamat.step/sizeof(delta[0]) : 0; rows 2709 modules/core/src/matmul.cpp size_t deltastep = deltamat.rows > 1 ? deltamat.step/sizeof(delta[0]) : 0; rows 2788 modules/core/src/matmul.cpp (delta.rows == src.rows || delta.rows == 1) && rows 2794 modules/core/src/matmul.cpp int dsize = ata ? src.cols : src.rows; rows 2799 modules/core/src/matmul.cpp (dst.cols >= gemm_level && dst.rows >= gemm_level && rows 2800 modules/core/src/matmul.cpp src.cols >= gemm_level && src.rows >= gemm_level))) rows 2810 modules/core/src/matmul.cpp repeat(delta, src.rows/delta.rows, src.cols/delta.cols, src2); rows 3280 modules/core/src/matmul.cpp CV_Assert( (D.rows == ((flags & CV_GEMM_A_T) == 0 ? A.rows : A.cols)) && rows 3281 modules/core/src/matmul.cpp (D.cols == ((flags & CV_GEMM_B_T) == 0 ? B.cols : B.rows)) && rows 3296 modules/core/src/matmul.cpp cv::Mat v = cv::cvarrToMat(shiftvec).reshape(1,m.rows), rows 3297 modules/core/src/matmul.cpp _m(m.rows, m.cols + 1, m.type()), m1 = _m.colRange(0,m.cols), v1 = _m.col(m.cols); rows 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); rows 3313 modules/core/src/matmul.cpp CV_Assert( dst.type() == src.type() && dst.channels() == m.rows-1 ); rows 3398 modules/core/src/matmul.cpp flags, !evals.empty() ? evals.rows + evals.cols - 1 : 0); rows 3410 modules/core/src/matmul.cpp int ecount0 = evals0.cols + evals0.rows - 1; rows 3411 modules/core/src/matmul.cpp int ecount = evals.cols + evals.rows - 1; rows 3413 modules/core/src/matmul.cpp CV_Assert( (evals0.cols == 1 || evals0.rows == 1) && rows 3416 modules/core/src/matmul.cpp evects0.rows == ecount0 ); rows 3419 modules/core/src/matmul.cpp if( evals.rows == 1 ) rows 3442 modules/core/src/matmul.cpp if( mean.rows == 1 ) rows 3444 modules/core/src/matmul.cpp CV_Assert(dst.cols <= evects.rows && dst.rows == data.rows); rows 3449 modules/core/src/matmul.cpp CV_Assert(dst.rows <= evects.rows && dst.cols == data.cols); rows 3450 modules/core/src/matmul.cpp n = dst.rows; rows 3473 modules/core/src/matmul.cpp if( mean.rows == 1 ) rows 3475 modules/core/src/matmul.cpp CV_Assert(data.cols <= evects.rows && dst.rows == data.rows); rows 3480 modules/core/src/matmul.cpp CV_Assert(data.rows <= evects.rows && dst.cols == data.cols); rows 3481 modules/core/src/matmul.cpp n = data.rows; rows 1170 modules/core/src/matop.cpp return Size(a.rows, a.cols); rows 1172 modules/core/src/matop.cpp return Size(b.cols, a.rows); rows 1625 modules/core/src/matop.cpp MatExpr Mat::zeros(int rows, int cols, int type) rows 1628 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, '0', Size(cols, rows), type); rows 1646 modules/core/src/matop.cpp MatExpr Mat::ones(int rows, int cols, int type) rows 1649 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, '1', Size(cols, rows), type); rows 1667 modules/core/src/matop.cpp MatExpr Mat::eye(int rows, int cols, int type) rows 1670 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, 'I', Size(cols, rows), type); rows 235 modules/core/src/matrix.cpp std::swap(a.rows, b.rows); rows 252 modules/core/src/matrix.cpp a.size.p = &a.rows; rows 258 modules/core/src/matrix.cpp b.size.p = &b.rows; rows 273 modules/core/src/matrix.cpp m.size.p = &m.rows; rows 280 modules/core/src/matrix.cpp m.rows = m.cols = -1; rows 350 modules/core/src/matrix.cpp m.rows = m.cols = -1; rows 378 modules/core/src/matrix.cpp if( d == 2 && rows == _sizes[0] && cols == _sizes[1] ) rows 438 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 439 modules/core/src/matrix.cpp datalimit(0), allocator(0), u(0), size(&rows) rows 454 modules/core/src/matrix.cpp if( _rowRange != Range::all() && _rowRange != Range(0,rows) ) rows 456 modules/core/src/matrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); rows 457 modules/core/src/matrix.cpp rows = _rowRange.size(); rows 471 modules/core/src/matrix.cpp if( rows == 1 ) rows 474 modules/core/src/matrix.cpp if( rows <= 0 || cols <= 0 ) rows 477 modules/core/src/matrix.cpp rows = cols = 0; rows 483 modules/core/src/matrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), rows 486 modules/core/src/matrix.cpp allocator(m.allocator), u(m.u), size(&rows) rows 495 modules/core/src/matrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); rows 498 modules/core/src/matrix.cpp if( roi.width < m.cols || roi.height < m.rows ) rows 503 modules/core/src/matrix.cpp if( rows <= 0 || cols <= 0 ) rows 506 modules/core/src/matrix.cpp rows = cols = 0; rows 512 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 513 modules/core/src/matrix.cpp datalimit(0), allocator(0), u(0), size(&rows) rows 523 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), rows 524 modules/core/src/matrix.cpp datalimit(0), allocator(0), u(0), size(&rows) rows 591 modules/core/src/matrix.cpp thiz.rows = m->rows; rows 597 modules/core/src/matrix.cpp thiz.datalimit = thiz.datastart + _step*thiz.rows; rows 604 modules/core/src/matrix.cpp Mat(m->rows, m->cols, m->type, m->data.ptr, m->step).copyTo(thiz); rows 629 modules/core/src/matrix.cpp m.rows = img->height; rows 639 modules/core/src/matrix.cpp m.rows = img->roi->height; rows 646 modules/core/src/matrix.cpp m.datalimit = m.datastart + m.step.p[0]*m.rows; rows 647 modules/core/src/matrix.cpp m.dataend = m.datastart + m.step.p[0]*(m.rows-1) + esz*m.cols; rows 648 modules/core/src/matrix.cpp m.flags |= (m.cols*esz == m.step.p[0] || m.rows == 1 ? Mat::CONTINUOUS_FLAG : 0); rows 661 modules/core/src/matrix.cpp m.create(m2.rows, m2.cols, m2.type()); rows 678 modules/core/src/matrix.cpp len = std::min(cols - d, rows); rows 683 modules/core/src/matrix.cpp len = std::min(rows + d, cols); rows 688 modules/core/src/matrix.cpp m.size[0] = m.rows = len; rows 692 modules/core/src/matrix.cpp if( m.rows > 1 ) rows 900 modules/core/src/matrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); rows 911 modules/core/src/matrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); rows 914 modules/core/src/matrix.cpp rows = row2 - row1; cols = col2 - col1; rows 915 modules/core/src/matrix.cpp size.p[0] = rows; size.p[1] = cols; rows 916 modules/core/src/matrix.cpp if( esz*cols == step[0] || rows == 1 ) rows 977 modules/core/src/matrix.cpp new_rows = rows * total_width / new_cn; rows 979 modules/core/src/matrix.cpp if( new_rows != 0 && new_rows != rows ) rows 981 modules/core/src/matrix.cpp int total_size = total_width * rows; rows 995 modules/core/src/matrix.cpp hdr.rows = new_rows; rows 1013 modules/core/src/matrix.cpp CV_Assert( d.cols == 1 || d.rows == 1 ); rows 1014 modules/core/src/matrix.cpp int len = d.rows + d.cols - 1; rows 1028 modules/core/src/matrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || rows 2227 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) rows 2261 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) rows 2417 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) rows 2476 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) rows 2737 modules/core/src/matrix.cpp src[i].rows == src[0].rows && rows 2741 modules/core/src/matrix.cpp _dst.create( src[0].rows, totalCols, src[0].type()); rows 2745 modules/core/src/matrix.cpp Mat dpart = dst(Rect(cols, 0, src[i].cols, src[i].rows)); rows 2772 modules/core/src/matrix.cpp int totalRows = 0, rows = 0; rows 2779 modules/core/src/matrix.cpp totalRows += src[i].rows; rows 2785 modules/core/src/matrix.cpp Mat dpart(dst, Rect(0, rows, src[i].cols, src[i].rows)); rows 2787 modules/core/src/matrix.cpp rows += src[i].rows; rows 2838 modules/core/src/matrix.cpp size_t globalsize[2] = { m.cols * cn / kercn, (m.rows + rowsPerWI - 1) / rowsPerWI }; rows 2854 modules/core/src/matrix.cpp int i, j, rows = m.rows, cols = m.cols, type = m.type(); rows 2862 modules/core/src/matrix.cpp for( i = 0; i < rows; i++, data += step ) rows 2876 modules/core/src/matrix.cpp for( i = 0; i < rows; i++, data += step ) rows 2896 modules/core/src/matrix.cpp int nm = std::min(m.rows, m.cols); rows 3045 modules/core/src/matrix.cpp _dst.create(src.cols, src.rows, type); rows 3053 modules/core/src/matrix.cpp CV_Assert(dst.cols == dst.rows); rows 3072 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadWriteNoSize(dst), dst.rows); rows 3078 modules/core/src/matrix.cpp size_t globalsize[2] = { src.cols, inplace ? (src.rows + rowsPerWI - 1) / rowsPerWI : (divUp(src.rows, TILE_DIM) * BLOCK_ROWS) }; rows 3108 modules/core/src/matrix.cpp _dst.create(src.cols, src.rows, src.type()); rows 3112 modules/core/src/matrix.cpp if( src.rows != dst.cols || src.cols != dst.rows ) rows 3114 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && (src.cols == 1 || src.rows == 1) ); rows 3127 modules/core/src/matrix.cpp if (dst.data == src.data && dst.cols == dst.rows) rows 3168 modules/core/src/matrix.cpp IppiSize roiSize = { src.cols, src.rows }; rows 3194 modules/core/src/matrix.cpp CV_Assert( dst.cols == dst.rows ); rows 3195 modules/core/src/matrix.cpp func( dst.ptr(), dst.step, dst.rows ); rows 3212 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 && m.rows == m.cols ); rows 3214 modules/core/src/matrix.cpp int rows = m.rows; rows 3215 modules/core/src/matrix.cpp int j0 = 0, j1 = rows; rows 3218 modules/core/src/matrix.cpp for( int i = 0; i < rows; i++ ) rows 3232 modules/core/src/matrix.cpp ((rows == 3 && cols == 1) || (cols*channels() == 3 && rows == 1))); rows 3233 modules/core/src/matrix.cpp Mat result(rows, cols, tp); rows 3239 modules/core/src/matrix.cpp size_t lda = rows > 1 ? step/sizeof(a[0]) : 1; rows 3240 modules/core/src/matrix.cpp size_t ldb = rows > 1 ? m.step/sizeof(b[0]) : 1; rows 3250 modules/core/src/matrix.cpp size_t lda = rows > 1 ? step/sizeof(a[0]) : 1; rows 3251 modules/core/src/matrix.cpp size_t ldb = rows > 1 ? m.step/sizeof(b[0]) : 1; rows 3575 modules/core/src/matrix.cpp Size dsize(1, src.rows); rows 3587 modules/core/src/matrix.cpp size_t globalSize[2] = { buf_cols, src.rows }; rows 3608 modules/core/src/matrix.cpp Size dsize(dim == 0 ? src.cols : 1, dim == 0 ? 1 : src.rows); rows 3616 modules/core/src/matrix.cpp k.args(srcarg, temparg, 1.0f / (dim == 0 ? src.rows : src.cols)); rows 3647 modules/core/src/matrix.cpp _dst.create(dim == 0 ? 1 : src.rows, dim == 0 ? src.cols : 1, dtype); rows 3655 modules/core/src/matrix.cpp temp.create(dst.rows, dst.cols, CV_32SC(cn)); rows 3773 modules/core/src/matrix.cpp temp.convertTo(dst, dst.type(), 1./(dim == 0 ? src.rows : src.cols)); rows 3830 modules/core/src/matrix.cpp n = src.rows, len = src.cols; rows 3833 modules/core/src/matrix.cpp n = src.cols, len = src.rows; rows 3955 modules/core/src/matrix.cpp n = src.rows, len = src.cols; rows 3958 modules/core/src/matrix.cpp n = src.cols, len = src.rows; rows 4091 modules/core/src/matrix.cpp CV_Assert( src.rows == dst.cols && src.cols == dst.rows && src.type() == dst.type() ); rows 4118 modules/core/src/matrix.cpp dim = src.rows > dst.rows ? 0 : src.cols > dst.cols ? 1 : dst.cols == 1; rows 4123 modules/core/src/matrix.cpp if( (dim == 0 && (dst.cols != src.cols || dst.rows != 1)) || rows 4124 modules/core/src/matrix.cpp (dim == 1 && (dst.rows != src.rows || dst.cols != 1)) ) rows 4144 modules/core/src/matrix.cpp int rows, cols; rows 4149 modules/core/src/matrix.cpp rows = mat->rows; rows 4152 modules/core/src/matrix.cpp delta = (end-start)/(rows*cols); rows 4156 modules/core/src/matrix.cpp cols *= rows; rows 4157 modules/core/src/matrix.cpp rows = 1; rows 4171 modules/core/src/matrix.cpp for( i = 0; i < rows; i++, idata += step ) rows 4177 modules/core/src/matrix.cpp for( i = 0; i < rows; i++, idata += step ) rows 4185 modules/core/src/matrix.cpp for( i = 0; i < rows; i++, fdata += step ) rows 4234 modules/core/src/matrix.cpp CV_Assert( centers.rows == cluster_count ); rows 4239 modules/core/src/matrix.cpp (labels.cols == 1 || labels.rows == 1) && rows 4240 modules/core/src/matrix.cpp labels.cols + labels.rows - 1 == data.rows ); rows 4517 modules/core/src/matrix.cpp int y1 = std::min(std::max((int)y, 0), m->rows-1); rows 4520 modules/core/src/matrix.cpp ptr = y < 0 ? sliceStart : y >= m->rows ? sliceEnd : rows 1384 modules/core/src/ocl.cpp rows = m.rows; rows 1389 modules/core/src/ocl.cpp int rows; rows 1401 modules/core/src/ocl.cpp rows = m.size.p[1]; rows 1408 modules/core/src/ocl.cpp int rows; rows 3332 modules/core/src/ocl.cpp CV_OclDbgAssert(clSetKernelArg(p->handle, (cl_uint)i, sizeof(u2d.rows), &u2d.rows) == CL_SUCCESS); rows 3347 modules/core/src/ocl.cpp CV_OclDbgAssert(clSetKernelArg(p->handle, (cl_uint)i, sizeof(u3d.slices), &u3d.rows) == CL_SUCCESS); rows 3348 modules/core/src/ocl.cpp CV_OclDbgAssert(clSetKernelArg(p->handle, (cl_uint)(i+1), sizeof(u3d.rows), &u3d.rows) == CL_SUCCESS); rows 5617 modules/core/src/ocl.cpp desc.image_height = src.rows; rows 5632 modules/core/src/ocl.cpp handle = clCreateImage2D(context, CL_MEM_READ_WRITE, &format, src.cols, src.rows, 0, NULL, &err); rows 5638 modules/core/src/ocl.cpp size_t region[] = { static_cast<size_t>(src.cols), static_cast<size_t>(src.rows), 1 }; rows 5643 modules/core/src/ocl.cpp devData = clCreateBuffer(context, CL_MEM_READ_ONLY, src.cols * src.rows * src.elemSize(), NULL, &err); rows 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}; rows 520 modules/core/src/opengl.cpp const GLsizeiptr asize = mat.rows * mat.cols * mat.elemSize(); rows 522 modules/core/src/opengl.cpp rows_ = mat.rows; rows 603 modules/core/src/opengl.cpp impl_->copyFrom(dmat.data, dmat.step, dmat.cols * dmat.elemSize(), dmat.rows); rows 639 modules/core/src/opengl.cpp impl_->copyFrom(dmat.data, dmat.step, dmat.cols * dmat.elemSize(), dmat.rows, cuda::StreamAccessor::getStream(stream)); rows 667 modules/core/src/opengl.cpp impl_->copyTo(dmat.data, dmat.step, dmat.cols * dmat.elemSize(), dmat.rows); rows 678 modules/core/src/opengl.cpp impl_->copyTo(mat.rows * mat.cols * mat.elemSize(), mat.data); rows 698 modules/core/src/opengl.cpp impl_->copyTo(dmat.data, dmat.step, dmat.cols * dmat.elemSize(), dmat.rows, cuda::StreamAccessor::getStream(stream)); rows 142 modules/core/src/out.cpp if (row >= mtx.rows) rows 181 modules/core/src/out.cpp buf[1] = row < mtx.rows ? ',' : '\0'; rows 185 modules/core/src/out.cpp else if(braces[BRACE_ROW_SEP] && row < mtx.rows) rows 227 modules/core/src/out.cpp if (row >= mtx.rows) rows 290 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 302 modules/core/src/out.cpp mtx.rows == 1 || !multiline, true, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 316 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 335 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 347 modules/core/src/out.cpp mtx.rows > 1 ? String("\n") : String(), mtx, &*braces, rows 348 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 360 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); rows 75 modules/core/src/pca.cpp len = data.rows; rows 83 modules/core/src/pca.cpp in_count = data.rows; rows 116 modules/core/src/pca.cpp Mat tmp_data, tmp_mean = repeat(mean, data.rows/mean.rows, data.cols/mean.cols); rows 179 modules/core/src/pca.cpp for(int ig = 0; ig < g.rows; ig++) rows 190 modules/core/src/pca.cpp for(L = 0; L < eigenvalues.rows; L++) rows 192 modules/core/src/pca.cpp double energy = g.at<T>(L, 0) / g.at<T>(g.rows - 1, 0); rows 212 modules/core/src/pca.cpp len = data.rows; rows 220 modules/core/src/pca.cpp in_count = data.rows; rows 252 modules/core/src/pca.cpp Mat tmp_data, tmp_mean = repeat(mean, data.rows/mean.rows, data.cols/mean.cols); rows 271 modules/core/src/pca.cpp for( i = 0; i < eigenvectors.rows; i++ ) rows 296 modules/core/src/pca.cpp ((mean.rows == 1 && mean.cols == data.cols) || (mean.cols == 1 && mean.rows == data.rows))); rows 297 modules/core/src/pca.cpp Mat tmp_data, tmp_mean = repeat(mean, data.rows/mean.rows, data.cols/mean.cols); rows 309 modules/core/src/pca.cpp if( mean.rows == 1 ) rows 326 modules/core/src/pca.cpp ((mean.rows == 1 && eigenvectors.rows == data.cols) || rows 327 modules/core/src/pca.cpp (mean.cols == 1 && eigenvectors.rows == data.rows))); rows 331 modules/core/src/pca.cpp if( mean.rows == 1 ) rows 333 modules/core/src/pca.cpp tmp_mean = repeat(mean, data.rows, 1); rows 3511 modules/core/src/persistence.cpp cvWriteInt( fs, "rows", mat->rows ); rows 3548 modules/core/src/persistence.cpp int rows, cols, elem_type; rows 3550 modules/core/src/persistence.cpp rows = cvReadIntByName( fs, node, "rows", -1 ); rows 3554 modules/core/src/persistence.cpp if( rows < 0 || cols < 0 || !dt ) rows 3564 modules/core/src/persistence.cpp if( nelems > 0 && nelems != rows*cols*CV_MAT_CN(elem_type) ) rows 3570 modules/core/src/persistence.cpp mat = cvCreateMat( rows, cols, elem_type ); rows 3573 modules/core/src/persistence.cpp else if( rows == 0 && cols == 0 ) rows 3576 modules/core/src/persistence.cpp mat = cvCreateMatHeader( rows, cols, elem_type ); rows 154 modules/core/src/precomp.hpp inline Size getContinuousSize_( int flags, int cols, int rows, int widthScale ) rows 156 modules/core/src/precomp.hpp int64 sz = (int64)cols * rows * widthScale; rows 158 modules/core/src/precomp.hpp (int)sz == sz ? Size((int)sz, 1) : Size(cols * widthScale, rows); rows 164 modules/core/src/precomp.hpp m1.cols, m1.rows, widthScale); rows 170 modules/core/src/precomp.hpp m1.cols, m1.rows, widthScale); rows 177 modules/core/src/precomp.hpp m1.cols, m1.rows, widthScale); rows 185 modules/core/src/precomp.hpp m1.cols, m1.rows, widthScale); rows 193 modules/core/src/precomp.hpp m1.cols, m1.rows, widthScale); rows 491 modules/core/src/rand.cpp CV_Assert(_param1.channels() == 1 && (_param1.rows == 1 || _param1.cols == 1) && rows 492 modules/core/src/rand.cpp (_param1.rows + _param1.cols - 1 == cn || _param1.rows + _param1.cols - 1 == 1 || rows 495 modules/core/src/rand.cpp (((_param2.rows == 1 || _param2.cols == 1) && rows 496 modules/core/src/rand.cpp (_param2.rows + _param2.cols - 1 == cn || _param2.rows + _param2.cols - 1 == 1 || rows 498 modules/core/src/rand.cpp (_param2.rows == cn && _param2.cols == cn && disttype == NORMAL))); rows 653 modules/core/src/rand.cpp stdmtx = _param2.rows == cn && _param2.cols == cn; rows 768 modules/core/src/rand.cpp int rows = _arr.rows; rows 770 modules/core/src/rand.cpp for( int i0 = 0; i0 < rows; i0++ ) rows 1033 modules/core/src/stat.cpp CV_Assert(m.rows == 1); rows 1159 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 1160 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) rows 1162 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 1313 modules/core/src/stat.cpp IppiSize roiSize = { src.cols, src.rows }; rows 1365 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 1366 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) rows 1368 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 1606 modules/core/src/stat.cpp (dst.cols == 1 || dst.rows == 1) && dcn >= cn ); rows 1635 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 1636 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) rows 1665 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 1824 modules/core/src/stat.cpp (dst.cols == 1 || dst.rows == 1) && dcn >= cn ); rows 2203 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 2204 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) rows 2206 modules/core/src/stat.cpp IppiSize sz = { cols * cn, rows }; rows 2637 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 2640 modules/core/src/stat.cpp && cols > 0 && (size_t)rows*cols == total_size rows 2644 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 3017 modules/core/src/stat.cpp int rows = src1.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 3019 modules/core/src/stat.cpp && cols > 0 && (size_t)rows*cols == total_size rows 3023 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 3129 modules/core/src/stat.cpp int rows = src1.size[0], cols = rows ? (int)(total_size/rows) : 0; rows 3131 modules/core/src/stat.cpp && cols > 0 && (size_t)rows*cols == total_size rows 3135 modules/core/src/stat.cpp IppiSize sz = { cols, rows }; rows 3600 modules/core/src/stat.cpp AutoBuffer<int> buf(src2->rows); rows 3605 modules/core/src/stat.cpp func(src1->ptr(i), src2->ptr(), src2->step, src2->rows, src2->cols, rows 3617 modules/core/src/stat.cpp for( j = 0; j < src2->rows; j++ ) rows 3664 modules/core/src/stat.cpp K = std::min(K, src2.rows); rows 3666 modules/core/src/stat.cpp _dist.create(src1.rows, (K > 0 ? K : src2.rows), dtype); rows 3694 modules/core/src/stat.cpp for( int i = 0; i < tdist.rows; i++ ) rows 3707 modules/core/src/stat.cpp for( int i = 0; i < tdist.rows; i++ ) rows 3754 modules/core/src/stat.cpp parallel_for_(Range(0, src1.rows), rows 3776 modules/core/src/stat.cpp for( int i = 0; i < src.rows; i++ ) rows 101 modules/core/src/umatrix.cpp std::swap(a.rows, b.rows); rows 115 modules/core/src/umatrix.cpp a.size.p = &a.rows; rows 121 modules/core/src/umatrix.cpp b.size.p = &b.rows; rows 136 modules/core/src/umatrix.cpp m.size.p = &m.rows; rows 143 modules/core/src/umatrix.cpp m.rows = m.cols = -1; rows 207 modules/core/src/umatrix.cpp m.rows = m.cols = -1; rows 244 modules/core/src/umatrix.cpp if( d == 2 && rows == _sizes[0] && cols == _sizes[1] ) rows 309 modules/core/src/umatrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(USAGE_DEFAULT), u(0), offset(0), size(&rows) rows 324 modules/core/src/umatrix.cpp if( _rowRange != Range::all() && _rowRange != Range(0,rows) ) rows 326 modules/core/src/umatrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); rows 327 modules/core/src/umatrix.cpp rows = _rowRange.size(); rows 341 modules/core/src/umatrix.cpp if( rows == 1 ) rows 344 modules/core/src/umatrix.cpp if( rows <= 0 || cols <= 0 ) rows 347 modules/core/src/umatrix.cpp rows = cols = 0; rows 353 modules/core/src/umatrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), rows 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) rows 363 modules/core/src/umatrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); rows 366 modules/core/src/umatrix.cpp if( roi.width < m.cols || roi.height < m.rows ) rows 371 modules/core/src/umatrix.cpp if( rows <= 0 || cols <= 0 ) rows 374 modules/core/src/umatrix.cpp rows = cols = 0; rows 380 modules/core/src/umatrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), allocator(0), usageFlags(USAGE_DEFAULT), u(0), offset(0), size(&rows) rows 413 modules/core/src/umatrix.cpp len = std::min(cols - d, rows); rows 418 modules/core/src/umatrix.cpp len = std::min(rows + d, cols); rows 423 modules/core/src/umatrix.cpp m.size[0] = m.rows = len; rows 427 modules/core/src/umatrix.cpp if( m.rows > 1 ) rows 454 modules/core/src/umatrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); rows 466 modules/core/src/umatrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); rows 469 modules/core/src/umatrix.cpp rows = row2 - row1; cols = col2 - col1; rows 470 modules/core/src/umatrix.cpp size.p[0] = rows; size.p[1] = cols; rows 471 modules/core/src/umatrix.cpp if( esz*cols == step[0] || rows == 1 ) rows 500 modules/core/src/umatrix.cpp new_rows = rows * total_width / new_cn; rows 502 modules/core/src/umatrix.cpp if( new_rows != 0 && new_rows != rows ) rows 504 modules/core/src/umatrix.cpp int total_size = total_width * rows; rows 518 modules/core/src/umatrix.cpp hdr.rows = new_rows; rows 536 modules/core/src/umatrix.cpp CV_Assert( d.cols == 1 || d.rows == 1 ); rows 537 modules/core/src/umatrix.cpp int len = d.rows + d.cols - 1; rows 551 modules/core/src/umatrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || rows 697 modules/core/src/umatrix.cpp size_t globalsize[2] = { cols, rows }; rows 756 modules/core/src/umatrix.cpp size_t globalsize[2] = { dst.cols * cn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 812 modules/core/src/umatrix.cpp size_t globalsize[] = { cols * cn / kercn, (rows + rowsPerWI - 1) / rowsPerWI }; rows 919 modules/core/src/umatrix.cpp UMat UMat::zeros(int rows, int cols, int type) rows 921 modules/core/src/umatrix.cpp return UMat(rows, cols, type, Scalar::all(0)); rows 934 modules/core/src/umatrix.cpp UMat UMat::ones(int rows, int cols, int type) rows 936 modules/core/src/umatrix.cpp return UMat::ones(Size(cols, rows), type); rows 949 modules/core/src/umatrix.cpp UMat UMat::eye(int rows, int cols, int type) rows 951 modules/core/src/umatrix.cpp return UMat::eye(Size(cols, rows), type); rows 111 modules/core/test/ocl/test_dft.cpp int nonzero_rows = hint ? src.rows - randomInt(1, src.rows-1) : 0; rows 119 modules/core/test/ocl/test_dft.cpp dst = dst(cv::Range(0, dst.rows), cv::Range(0, dst.cols/2 + 1)); rows 120 modules/core/test/ocl/test_dft.cpp udst = udst(cv::Range(0, udst.rows), cv::Range(0, udst.cols/2 + 1)); rows 775 modules/core/test/test_arithm.cpp for( i = 0; i < dst.rows; i++ ) rows 777 modules/core/test/test_arithm.cpp const uchar* sptr = src.ptr(flipcode == 1 ? i : dst.rows - i - 1); rows 798 modules/core/test/test_arithm.cpp for( i = 0; i < dst.rows; i++ ) rows 149 modules/core/test/test_countnonzero.cpp for (int i = 0; i < src.rows; ++i) rows 180 modules/core/test/test_countnonzero.cpp cout << "Number of rows: " << src.rows << " Number of cols: " << src.cols << endl; rows 49 modules/core/test/test_downhill_simplex.cpp int ndim=MAX(step.cols,step.rows); rows 53 modules/core/test/test_downhill_simplex.cpp ASSERT_TRUE(settedStep.rows==1 && settedStep.cols==ndim); rows 37 modules/core/test/test_dxt.cpp int i, j, k, n = _dst.cols + _dst.rows - 1; rows 45 modules/core/test/test_dxt.cpp CV_Assert( _src.cols + _src.rows - 1 == n ); rows 110 modules/core/test/test_dxt.cpp Mat tmp( src.cols, src.rows, src.type()); rows 114 modules/core/test/test_dxt.cpp for( i = 0; i < dst.rows; i++ ) rows 122 modules/core/test/test_dxt.cpp if( dst.cols != dst.rows ) rows 123 modules/core/test/test_dxt.cpp wave = initDFTWave( dst.rows, (flags & DFT_INVERSE) != 0 ); rows 161 modules/core/test/test_dxt.cpp int i, j, n = _dst.cols + _dst.rows - 1; rows 166 modules/core/test/test_dxt.cpp CV_Assert( _src.cols + _src.rows - 1 == n); rows 217 modules/core/test/test_dxt.cpp Mat tmp(dst.cols, dst.rows, dst.type() ); rows 221 modules/core/test/test_dxt.cpp for( i = 0; i < dst.rows; i++ ) rows 230 modules/core/test/test_dxt.cpp if( dst.cols != dst.rows ) rows 231 modules/core/test/test_dxt.cpp wave = initDCTWave( dst.rows, (flags & DCT_INVERSE) != 0 ); rows 248 modules/core/test/test_dxt.cpp if( _dst.rows > 1 && (_dst.cols > 1 || (flags & DFT_ROWS)) ) rows 250 modules/core/test/test_dxt.cpp int i, count = _dst.rows, len = _dst.cols; rows 277 modules/core/test/test_dxt.cpp int i, n = _dst.cols + _dst.rows - 1, n2 = (n+1) >> 1; rows 365 modules/core/test/test_dxt.cpp int i, rows = mat.rows; rows 366 modules/core/test/test_dxt.cpp int rows2 = (flags & DFT_ROWS) ? rows : rows/2 + 1, cols2 = cols/2 + 1; rows 375 modules/core/test/test_dxt.cpp if( (flags & DFT_ROWS) || i == 0 || (i == rows2 - 1 && rows % 2 == 0) ) rows 383 modules/core/test/test_dxt.cpp Complexf* row2 = mat.ptr<Complexf>(rows-i); rows 400 modules/core/test/test_dxt.cpp if( (flags & DFT_ROWS) || i == 0 || (i == rows2 - 1 && rows % 2 == 0) ) rows 408 modules/core/test/test_dxt.cpp Complexd* row2 = mat.ptr<Complexd>(rows-i); rows 427 modules/core/test/test_dxt.cpp dst.create(src1.rows, src1.cols, src1.type()); rows 433 modules/core/test/test_dxt.cpp for( i = 0; i < dst.rows; i++ ) rows 724 modules/core/test/test_dxt.cpp if( src.rows == 1 || (src.cols == 1 && !(flags & CV_DXT_ROWS)) ) rows 766 modules/core/test/test_dxt.cpp if( src.rows == 1 || (src.cols == 1 && !(flags & CV_DXT_ROWS)) ) rows 173 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); rows 174 modules/core/test/test_eigen.cpp if (!( (evalues.rows == n - max<int>(0, low_index) - ((int)((n/2.0)*(s*s-s)) + (1+s-s*s)*(n - (high_index+1)))) && (evalues.cols == 1))) rows 177 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evalues.rows << " Number of cols: " << evalues.cols << endl; rows 178 modules/core/test/test_eigen.cpp std::cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; rows 187 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); rows 190 modules/core/test/test_eigen.cpp if (!(evectors.rows == right_eigen_pair_count && evectors.cols == right_eigen_pair_count)) rows 193 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evectors.rows << " Number of cols: " << evectors.cols << endl; rows 194 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; rows 199 modules/core/test/test_eigen.cpp if (!(evalues.rows == right_eigen_pair_count && evalues.cols == 1)) rows 202 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evalues.rows << " Number of cols: " << evalues.cols << endl; rows 203 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; rows 222 modules/core/test/test_eigen.cpp cout << "Source size: " << src.rows << " * " << src.cols << endl; rows 233 modules/core/test/test_eigen.cpp cv::Mat E = Mat::eye(U.rows, U.cols, type); rows 310 modules/core/test/test_eigen.cpp cv::Mat src_evec(src.rows, src.cols, type); rows 313 modules/core/test/test_eigen.cpp cv::Mat eval_evec(src.rows, src.cols, type); rows 322 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) eval_evec.at<float>(j, i) = tmp.at<float>(j, 0); rows 333 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) eval_evec.at<double>(j, i) = tmp.at<double>(j, 0); rows 400 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) rows 129 modules/core/test/test_io.cpp cvSeqPushMulti(seq, test_mat.ptr(), test_mat.cols*test_mat.rows); rows 221 modules/core/test/test_io.cpp if( !m || !CV_IS_MAT(m) || m->rows != test_mat.rows || m->cols != test_mat.cols || rows 33 modules/core/test/test_mat.cpp sum.create( src.rows, 1, CV_64FC1 ); rows 34 modules/core/test/test_mat.cpp max.create( src.rows, 1, CV_64FC1 ); rows 35 modules/core/test/test_mat.cpp min.create( src.rows, 1, CV_64FC1 ); rows 48 modules/core/test/test_mat.cpp for( int ri = 0; ri < src.rows; ri++ ) rows 62 modules/core/test/test_mat.cpp for( int ri = 0; ri < src.rows; ri++ ) rows 71 modules/core/test/test_mat.cpp avg = avg * (1.0 / (dim==0 ? (double)src.rows : (double)src.cols)); rows 317 modules/core/test/test_mat.cpp Mat Q = rPoints - repeat( avg, rPoints.rows, 1 ), Qt = Q.t(), eval, evec; rows 319 modules/core/test/test_mat.cpp Q = Q /(float)rPoints.rows; rows 337 modules/core/test/test_mat.cpp for(int i = 0; i < Q.rows; i++ ) rows 361 modules/core/test/test_mat.cpp for(int i = 0; i < subEvec.rows; i++) rows 388 modules/core/test/test_mat.cpp for( int i = 0; i < rTestPoints.rows; i++ ) rows 435 modules/core/test/test_mat.cpp if( cPCA.eigenvectors.rows > maxComponents) rows 438 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(rvPrjTestPoints), cv::abs(rPrjTestPoints.colRange(0,cPCA.eigenvectors.rows).t()), CV_RELATIVE_L2 ); rows 461 modules/core/test/test_mat.cpp prjTestPoints.create(rTestPoints.rows, maxComponents, rTestPoints.type() ); rows 944 modules/core/test/test_mat.cpp for(int y = 0; y < m.rows; y++) rows 1069 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.rows, dst.cols, size.height, size.width); rows 1120 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].rows, dst[i].cols, size.height, size.width); rows 163 modules/core/test/test_math.cpp for( int i = 0; i < a.rows; i++ ) rows 223 modules/core/test/test_math.cpp for( i = 0; i < a.rows; i++ ) rows 458 modules/core/test/test_math.cpp int count = MIN( mat.rows, mat.cols ); rows 548 modules/core/test/test_math.cpp if( test_mat[INPUT][0].rows > 1 ) rows 578 modules/core/test/test_math.cpp if( test_mat[REF_OUTPUT][0].rows > 1 ) rows 788 modules/core/test/test_math.cpp if( delta.rows < src.rows || delta.cols < src.cols ) rows 790 modules/core/test/test_math.cpp cv::repeat( delta, src.rows/delta.rows, src.cols/delta.cols, temp); rows 876 modules/core/test/test_math.cpp Mat mask = Mat::eye(m.rows, m.cols, CV_8U)*255; rows 976 modules/core/test/test_math.cpp for( i = 0; i < transmat->rows; i++ ) rows 983 modules/core/test/test_math.cpp for( i = 0; i < transmat->rows; i++ ) rows 992 modules/core/test/test_math.cpp for( i = 0; i < a->rows; i++ ) rows 1128 modules/core/test/test_math.cpp if( test_mat[INPUT][0].rows == 1 ) rows 1300 modules/core/test/test_math.cpp cv::repeat( avg, temp0.rows/avg.rows, temp0.cols/avg.cols, temp0 ); rows 1311 modules/core/test/test_math.cpp int k, total = mat.rows*mat.cols, type = mat.type(); rows 1317 modules/core/test/test_math.cpp int i = cvtest::randInt(rng) % mat.rows; rows 1395 modules/core/test/test_math.cpp int i, j, k, N = a->rows, N1 = a->cols, Nm = MIN(N, N1), step = a->step/sizeof(double); rows 1589 modules/core/test/test_math.cpp int i, nm = MIN( mat->rows, mat->cols ); rows 1634 modules/core/test/test_math.cpp if( input.rows >= input.cols ) rows 1773 modules/core/test/test_math.cpp Mat* pdst = input.rows <= input.cols ? &test_mat[OUTPUT][0] : &test_mat[INPUT][1]; rows 1937 modules/core/test/test_math.cpp int i, m = input.rows, n = input.cols, min_size = MIN(m, n); rows 1945 modules/core/test/test_math.cpp cvtest::gemm( *src, *src, 1., Mat(), 0., *dst, src->rows == dst->rows ? CV_GEMM_B_T : CV_GEMM_A_T ); rows 1953 modules/core/test/test_math.cpp cvtest::gemm( *src, *src, 1., Mat(), 0., *dst, src->rows == dst->rows ? CV_GEMM_B_T : CV_GEMM_A_T ); rows 1961 modules/core/test/test_math.cpp if( w->rows > 1 && w->cols > 1 ) rows 2148 modules/core/test/test_math.cpp int i, m = input.rows, n = input.cols, min_size = MIN(m, n); rows 115 modules/core/test/test_operations.cpp CV_Assert(m.cols == sz.width && m.rows == sz.height && m.depth() == DataType<_Tp>::depth && rows 442 modules/core/test/test_operations.cpp Mat bgr( rgba.rows, rgba.cols, CV_8UC3 ); rows 443 modules/core/test/test_operations.cpp Mat alpha( rgba.rows, rgba.cols, CV_8UC1 ); rows 702 modules/core/test/test_operations.cpp if (rect.cols != 1 || rect.rows != 1 || rect(0,0) != uchar_data[0]) throw test_excep(); rows 323 modules/core/test/test_rand.cpp for( int i = 0; i < a.rows; i++ ) rows 137 modules/core/test/test_umat.cpp roi &= Rect(0, 0, ua.cols, ua.rows); rows 151 modules/core/test/test_umat.cpp ASSERT_EQ(ub.empty(), ub.cols*ub.rows == 0); rows 217 modules/core/test/test_umat.cpp i = randomInt(0, a.rows-1); rows 303 modules/core/test/test_umat.cpp if ((ua.cols*ua.channels()*ua.rows)%nChannels != 0) rows 311 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); rows 324 modules/core/test/test_umat.cpp ASSERT_EQ(ub.rows, new_rows); rows 325 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); rows 342 modules/core/test/test_umat.cpp ASSERT_EQ(ub.rows, new_rows); rows 344 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); rows 416 modules/core/test/test_umat.cpp int adjTop = randomInt(-(roi_ua.rows/2), (size.height-1)/2); rows 417 modules/core/test/test_umat.cpp int adjBot = randomInt(-(roi_ua.rows/2), (size.height-1)/2); rows 517 modules/core/test/test_umat.cpp new_diag = randomMat(Size(ua.rows, 1), type, -100, 100); rows 714 modules/core/test/test_umat.cpp for (int y = 0; y < m.rows; ++y) rows 195 modules/cudaarithm/src/arithm.cpp Size src1Size = tr1 ? Size(src1.rows, src1.cols) : src1.size(); rows 196 modules/cudaarithm/src/arithm.cpp Size src2Size = tr2 ? Size(src2.rows, src2.cols) : src2.size(); rows 197 modules/cudaarithm/src/arithm.cpp Size src3Size = tr3 ? Size(src3.rows, src3.cols) : src3.size(); rows 246 modules/cudaarithm/src/arithm.cpp cublasSafeCall( cublasSgemm_v2(handle, transa, transb, tr2 ? src2.rows : src2.cols, tr1 ? src1.cols : src1.rows, tr2 ? src2.cols : src2.rows, rows 255 modules/cudaarithm/src/arithm.cpp cublasSafeCall( cublasDgemm_v2(handle, transa, transb, tr2 ? src2.rows : src2.cols, tr1 ? src1.cols : src1.rows, tr2 ? src2.cols : src2.rows, rows 264 modules/cudaarithm/src/arithm.cpp cublasSafeCall( cublasCgemm_v2(handle, transa, transb, tr2 ? src2.rows : src2.cols, tr1 ? src1.cols : src1.rows, tr2 ? src2.cols : src2.rows, rows 273 modules/cudaarithm/src/arithm.cpp cublasSafeCall( cublasZgemm_v2(handle, transa, transb, tr2 ? src2.rows : src2.cols, tr1 ? src1.cols : src1.rows, tr2 ? src2.cols : src2.rows, rows 329 modules/cudaarithm/src/arithm.cpp createContinuous(src.rows, src.cols, src.type(), src_cont); rows 493 modules/cudaarithm/src/arithm.cpp cuda::copyMakeBorder(templ_roi, templ_block, 0, templ_block.rows - templ_roi.rows, 0, rows 499 modules/cudaarithm/src/arithm.cpp for (int y = 0; y < result.rows; y += block_size.height) rows 504 modules/cudaarithm/src/arithm.cpp std::min(y + dft_size.height, image.rows) - y); rows 507 modules/cudaarithm/src/arithm.cpp cuda::copyMakeBorder(image_roi, image_block, 0, image_block.rows - image_roi.rows, rows 518 modules/cudaarithm/src/arithm.cpp std::min(y + block_size.height, result.rows) - y); rows 97 modules/cudaarithm/src/core.cpp sz.height = src.rows; rows 126 modules/cudaarithm/src/element_operations.cpp scalar.convertTo(Mat_<double>(scalar.rows, scalar.cols, &val[0]), CV_64F); rows 357 modules/cudaarithm/src/element_operations.cpp oSizeROI.height = src.rows; rows 375 modules/cudaarithm/src/element_operations.cpp oSizeROI.height = src.rows; rows 472 modules/cudaarithm/src/element_operations.cpp sz.height = src.rows; rows 148 modules/cudaarithm/src/reductions.cpp sz.height = src.rows; rows 197 modules/cudaarithm/src/reductions.cpp sz.height = src.rows; rows 201 modules/cudaarithm/test/test_arithm.cpp void testC2C(const std::string& hint, int cols, int rows, int flags, bool inplace) rows 205 modules/cudaarithm/test/test_arithm.cpp cv::Mat a = randomMat(cv::Size(cols, rows), CV_32FC2, 0.0, 10.0); rows 215 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSize()); rows 217 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), flags); rows 222 modules/cudaarithm/test/test_arithm.cpp EXPECT_MAT_NEAR(b_gold, cv::Mat(d_b), rows * cols * 1e-4); rows 229 modules/cudaarithm/test/test_arithm.cpp int rows = randomInt(2, 100); rows 235 modules/cudaarithm/test/test_arithm.cpp testC2C("no flags", cols, rows, 0, inplace); rows 236 modules/cudaarithm/test/test_arithm.cpp testC2C("no flags 0 1", cols, rows + 1, 0, inplace); rows 237 modules/cudaarithm/test/test_arithm.cpp testC2C("no flags 1 0", cols, rows + 1, 0, inplace); rows 238 modules/cudaarithm/test/test_arithm.cpp testC2C("no flags 1 1", cols + 1, rows, 0, inplace); rows 239 modules/cudaarithm/test/test_arithm.cpp testC2C("DFT_INVERSE", cols, rows, cv::DFT_INVERSE, inplace); rows 240 modules/cudaarithm/test/test_arithm.cpp testC2C("DFT_ROWS", cols, rows, cv::DFT_ROWS, inplace); rows 241 modules/cudaarithm/test/test_arithm.cpp testC2C("single col", 1, rows, 0, inplace); rows 243 modules/cudaarithm/test/test_arithm.cpp testC2C("single col inversed", 1, rows, cv::DFT_INVERSE, inplace); rows 253 modules/cudaarithm/test/test_arithm.cpp void testR2CThenC2R(const std::string& hint, int cols, int rows, bool inplace) rows 257 modules/cudaarithm/test/test_arithm.cpp cv::Mat a = randomMat(cv::Size(cols, rows), CV_32FC1, 0.0, 10.0); rows 265 modules/cudaarithm/test/test_arithm.cpp d_b_data.create(1, (a.rows / 2 + 1) * a.cols, CV_32FC2); rows 266 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows / 2 + 1, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSize()); rows 270 modules/cudaarithm/test/test_arithm.cpp d_b_data.create(1, a.rows * (a.cols / 2 + 1), CV_32FC2); rows 271 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows, a.cols / 2 + 1, CV_32FC2, d_b_data.ptr(), (a.cols / 2 + 1) * d_b_data.elemSize()); rows 274 modules/cudaarithm/test/test_arithm.cpp d_c = cv::cuda::GpuMat(a.rows, a.cols, CV_32F, d_c_data.ptr(), a.cols * d_c_data.elemSize()); rows 277 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), 0); rows 278 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(d_b, d_c, cv::Size(cols, rows), cv::DFT_REAL_OUTPUT | cv::DFT_SCALE); rows 286 modules/cudaarithm/test/test_arithm.cpp EXPECT_MAT_NEAR(a, c, rows * cols * 1e-5); rows 293 modules/cudaarithm/test/test_arithm.cpp int rows = randomInt(2, 100); rows 295 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity", cols, rows, false); rows 296 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 0 1", cols, rows + 1, false); rows 297 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 1 0", cols + 1, rows, false); rows 298 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 1 1", cols + 1, rows + 1, false); rows 299 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("single col", 1, rows, false); rows 300 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("single col 1", 1, rows + 1, false); rows 304 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity", cols, rows, true); rows 305 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 0 1", cols, rows + 1, true); rows 306 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 1 0", cols + 1, rows, true); rows 307 modules/cudaarithm/test/test_arithm.cpp testR2CThenC2R("sanity 1 1", cols + 1, rows + 1, true); rows 322 modules/cudaarithm/test/test_arithm.cpp C.create(std::abs(A.rows - B.rows) + 1, std::abs(A.cols - B.cols) + 1, A.type()); rows 327 modules/cudaarithm/test/test_arithm.cpp dftSize.height = cv::getOptimalDFTSize(A.rows + B.rows - 1); rows 334 modules/cudaarithm/test/test_arithm.cpp cv::Mat roiA(tempA, cv::Rect(0, 0, A.cols, A.rows)); rows 336 modules/cudaarithm/test/test_arithm.cpp cv::Mat roiB(tempB, cv::Rect(0, 0, B.cols, B.rows)); rows 341 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempA, tempA, 0, A.rows); rows 342 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempB, tempB, 0, B.rows); rows 352 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempA, tempA, cv::DFT_INVERSE + cv::DFT_SCALE, C.rows); rows 355 modules/cudaarithm/test/test_arithm.cpp tempA(cv::Rect(0, 0, C.cols, C.rows)).copyTo(C); rows 779 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) rows 816 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) rows 1146 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) rows 1183 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) rows 1562 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 1632 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 1702 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 1712 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 1908 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 2153 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 2233 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) rows 349 modules/cudaarithm/test/test_gpumat.cpp EXPECT_EQ(10, buffer.rows); rows 356 modules/cudaarithm/test/test_gpumat.cpp EXPECT_EQ(20, buffer.rows); rows 82 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); rows 91 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); rows 128 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(buf_gold.rows(), buf.rows()); rows 138 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); rows 313 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); rows 322 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); rows 371 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(tex_gold.rows(), tex.rows()); rows 381 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); rows 188 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) rows 225 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) rows 880 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.rows, 1), dst_type, useRoi); rows 885 modules/cudaarithm/test/test_reductions.cpp dst_gold.cols = dst_gold.rows; rows 886 modules/cudaarithm/test/test_reductions.cpp dst_gold.rows = 1; rows 1071 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_32SC1, useRoi); rows 1108 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_64FC1, useRoi); rows 165 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.cols == train.rows) ); rows 333 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); rows 366 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 428 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 459 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( (gpu_matches.type() == CV_32SC1) && (gpu_matches.rows == 2 || gpu_matches.rows == 3) ); rows 470 modules/cudafeatures2d/src/brute_force_matcher.cpp if (gpu_matches.rows == 2) rows 540 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.resize(query.rows); rows 548 modules/cudafeatures2d/src/brute_force_matcher.cpp for (int queryIdx = 0; queryIdx < query.rows; ++queryIdx) rows 593 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); rows 626 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 627 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nTrain = train.rows; rows 712 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 746 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( ((gpu_matches.type() == CV_32SC2) && (gpu_matches.rows == 2 || gpu_matches.rows == 3)) || rows 760 modules/cudafeatures2d/src/brute_force_matcher.cpp if (gpu_matches.rows == 2) rows 774 modules/cudafeatures2d/src/brute_force_matcher.cpp nQuery = gpu_matches.rows / 2; rows 862 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); rows 895 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 896 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nTrain = train.rows; rows 964 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nQuery = query.rows; rows 1014 modules/cudafeatures2d/src/brute_force_matcher.cpp nQuery = (gpu_matches.rows - 1) / 2; rows 1022 modules/cudafeatures2d/src/brute_force_matcher.cpp nQuery = (gpu_matches.rows - 1) / 3; rows 184 modules/cudafeatures2d/src/fast.cpp CV_Assert( h_keypoints.rows == ROWS_COUNT ); rows 614 modules/cudafeatures2d/src/orb.cpp Size sz(cvRound(image.cols * scale), cvRound(image.rows * scale)); rows 824 modules/cudafeatures2d/src/orb.cpp CV_Assert( h_keypoints.rows == ROWS_COUNT ); rows 163 modules/cudafeatures2d/test/test_features2d.cpp mask(cv::Range(0, image.rows / 2), cv::Range(0, image.cols / 2)).setTo(cv::Scalar::all(0)); rows 294 modules/cudafeatures2d/test/test_features2d.cpp mask.create(query.rows, train.rows, CV_8UC1); rows 322 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); rows 323 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); rows 329 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows/2, CV_8UC1, cv::Scalar::all(1)); rows 379 modules/cudafeatures2d/test/test_features2d.cpp mask.create(query.rows, train.rows, CV_8UC1); rows 419 modules/cudafeatures2d/test/test_features2d.cpp mask.create(query.rows, train.rows, CV_8UC1); rows 459 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); rows 460 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); rows 466 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); rows 522 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); rows 523 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); rows 529 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); rows 599 modules/cudafeatures2d/test/test_features2d.cpp mask.create(query.rows, train.rows, CV_8UC1); rows 636 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); rows 637 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); rows 643 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); rows 132 modules/cudafilters/src/cuda/column_filter.hpp if (y < src.rows) rows 166 modules/cudafilters/src/cuda/column_filter.hpp const dim3 grid(divUp(src.cols, BLOCK_DIM_X), divUp(src.rows, BLOCK_DIM_Y * PATCH_PER_BLOCK)); rows 168 modules/cudafilters/src/cuda/column_filter.hpp B<T> brd(src.rows); rows 78 modules/cudafilters/src/cuda/row_filter.hpp if (y >= src.rows) rows 166 modules/cudafilters/src/cuda/row_filter.hpp const dim3 grid(divUp(src.cols, BLOCK_DIM_X * PATCH_PER_BLOCK), divUp(src.rows, BLOCK_DIM_Y)); rows 139 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); rows 146 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; rows 268 modules/cudafilters/src/filtering.cpp kernel_.cols, kernel_.rows, anchor_.x, anchor_.y, rows 574 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize.width, ksize.height, src.cols, src.rows)); rows 581 modules/cudafilters/src/filtering.cpp bufRoi = buf_(Rect(ksize.width, ksize.height, src.cols, src.rows)); rows 592 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; rows 838 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); rows 845 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; rows 914 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_, 0, src.cols, src.rows)); rows 921 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; rows 975 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(0, ksize_, src.cols, src.rows)); rows 982 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; rows 60 modules/cudafilters/test/test_filters.cpp cv::Rect roi(ksize.width, ksize.height, m.cols - 2 * ksize.width, m.rows - 2 * ksize.height); rows 530 modules/cudafilters/test/test_filters.cpp cv::Size ksize = cv::Size(kernel.cols + iterations * (kernel.cols - 1), kernel.rows + iterations * (kernel.rows - 1)); rows 581 modules/cudafilters/test/test_filters.cpp cv::Size ksize = cv::Size(kernel.cols + iterations * (kernel.cols - 1), kernel.rows + iterations * (kernel.rows - 1)); rows 636 modules/cudafilters/test/test_filters.cpp cv::Size border = cv::Size(kernel.cols + (iterations + 1) * kernel.cols + 2, kernel.rows + (iterations + 1) * kernel.rows + 2); rows 98 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(100, 0), cv::Point(100, src.rows), cv::Scalar::all(255), 1); rows 99 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(200, 0), cv::Point(200, src.rows), cv::Scalar::all(255), 1); rows 100 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(400, 0), cv::Point(400, src.rows), cv::Scalar::all(255), 1); rows 240 modules/cudaimgproc/perf/perf_hough.cpp templ.copyTo(image(cv::Rect(50, 50, templ.cols, templ.rows))); rows 288 modules/cudaimgproc/perf/perf_hough.cpp templ.copyTo(image(cv::Rect(50, 50, templ.cols, templ.rows))); rows 305 modules/cudaimgproc/perf/perf_hough.cpp pos.y = rng.uniform(0, image.rows - obj.rows); rows 62 modules/cudaimgproc/src/blend.cpp void blendLinearCaller(int rows, int cols, int cn, PtrStep<T> img1, PtrStep<T> img2, PtrStepf weights1, PtrStepf weights2, PtrStep<T> result, cudaStream_t stream); rows 64 modules/cudaimgproc/src/blend.cpp void blendLinearCaller8UC4(int rows, int cols, PtrStepb img1, PtrStepb img2, PtrStepf weights1, PtrStepf weights2, PtrStepb result, cudaStream_t stream); rows 1832 modules/cudaimgproc/src/color.cpp oSizeROI.height = src.rows; rows 1859 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); rows 1897 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); rows 2201 modules/cudaimgproc/src/color.cpp sz.height = image.rows; rows 2246 modules/cudaimgproc/src/color.cpp oSizeROI.height = src.rows; rows 2278 modules/cudaimgproc/src/color.cpp oSizeROI.height = img2.rows; rows 211 modules/cudaimgproc/src/generalized_hough.cpp templCenter = Point(templEdges_.cols / 2, templEdges_.rows / 2); rows 231 modules/cudaimgproc/src/generalized_hough.cpp templCenter = Point(templEdges_.cols / 2, templEdges_.rows / 2); rows 525 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 && r_table_.rows == (levels_ + 1) && r_sizes_.cols == (levels_ + 1) ); rows 143 modules/cudaimgproc/src/gftt.cpp const int grid_height = (image.rows + cell_size - 1) / cell_size; rows 191 modules/cudaimgproc/src/histogram.cpp if (src.cols % tilesX_ == 0 && src.rows % tilesY_ == 0) rows 193 modules/cudaimgproc/src/histogram.cpp tileSize = cv::Size(src.cols / tilesX_, src.rows / tilesY_); rows 201 modules/cudaimgproc/src/histogram.cpp cv::cuda::copyMakeBorder(src, srcExt_, 0, tilesY_ - (src.rows % tilesY_), 0, tilesX_ - (src.cols % tilesX_), cv::BORDER_REFLECT_101, cv::Scalar(), s); rows 204 modules/cudaimgproc/src/histogram.cpp tileSize = cv::Size(srcExt_.cols / tilesX_, srcExt_.rows / tilesY_); rows 293 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; rows 325 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; rows 390 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels.type() == LEVEL_TYPE_CODE && levels.rows == 1 ); rows 397 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; rows 422 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[0].type() == LEVEL_TYPE_CODE && levels[0].rows == 1 ); rows 423 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[1].type() == LEVEL_TYPE_CODE && levels[1].rows == 1 ); rows 424 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[2].type() == LEVEL_TYPE_CODE && levels[2].rows == 1 ); rows 425 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[3].type() == LEVEL_TYPE_CODE && levels[3].rows == 1 ); rows 438 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; rows 169 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); rows 197 modules/cudaimgproc/src/hough_circles.cpp ensureSizeIsEnough(cvCeil(src.rows * idp) + 2, cvCeil(src.cols * idp) + 2, CV_32SC1, accum_); rows 224 modules/cudaimgproc/src/hough_circles.cpp const int gridHeight = (src.rows + cellSize - 1) / cellSize; rows 140 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); rows 153 modules/cudaimgproc/src/hough_lines.cpp const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); rows 188 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( d_lines.rows == 2 && d_lines.type() == CV_32FC2 ); rows 144 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); rows 157 modules/cudaimgproc/src/hough_segments.cpp const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); rows 192 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 196 modules/cudaimgproc/src/match_template.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 242 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 246 modules/cudaimgproc/src/match_template.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 285 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 294 modules/cudaimgproc/src/match_template.cpp normalize_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); rows 315 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 317 modules/cudaimgproc/src/match_template.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 349 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 353 modules/cudaimgproc/src/match_template.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 367 modules/cudaimgproc/src/match_template.cpp matchTemplatePrepared_SQDIFF_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); rows 396 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 405 modules/cudaimgproc/src/match_template.cpp matchTemplatePrepared_SQDIFF_NORMED_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); rows 435 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 447 modules/cudaimgproc/src/match_template.cpp matchTemplatePrepared_CCOFF_8U(templ.cols, templ.rows, image_sums_[0], templ_sum, result, StreamAccessor::getStream(stream)); rows 463 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, image_sums_[0], image_sums_[1], rows 469 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, image_sums_[0], image_sums_[1], image_sums_[2], rows 475 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, image_sums_[0], image_sums_[1], image_sums_[2], image_sums_[3], rows 514 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); rows 534 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, image_sums_[0], image_sqsums_[0], rows 556 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, rows 565 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, rows 576 modules/cudaimgproc/src/match_template.cpp templ.cols, templ.rows, rows 231 modules/cudaimgproc/src/mssegmentation.cpp const int nrows = src.rows; rows 61 modules/cudaimgproc/test/test_blend.cpp for (int y = 0; y < img1.rows; ++y) rows 2084 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2107 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2123 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2145 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2161 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2183 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2199 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2221 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); rows 2237 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); rows 2253 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); rows 2269 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); rows 2285 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); rows 2312 modules/cudaimgproc/test/test_color.cpp for (int y = 0; y < src.rows; ++y) rows 58 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(20, 0), cv::Point(20, img.rows), cv::Scalar::all(255)); rows 60 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(0, 0), cv::Point(img.cols, img.rows), cv::Scalar::all(255)); rows 61 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(img.cols, 0), cv::Point(0, img.rows), cv::Scalar::all(255)); rows 205 modules/cudaimgproc/test/test_hough.cpp cv::Point templCenter(templ.cols / 2, templ.rows / 2); rows 213 modules/cudaimgproc/test/test_hough.cpp cv::Mat image(templ.rows * 3, templ.cols * 3, CV_8UC1, cv::Scalar::all(0)); rows 216 modules/cudaimgproc/test/test_hough.cpp cv::Rect rec(pos_gold[i].x - templCenter.x, pos_gold[i].y - templCenter.y, templ.cols, templ.rows); rows 96 modules/cudaimgproc/test/test_match_template.cpp for (int y = 0; y < h_dst.rows; ++y) rows 155 modules/cudaimgproc/test/test_match_template.cpp for (int y = 0; y < h_dst.rows; ++y) rows 83 modules/cudalegacy/perf/perf_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {stack = new dot[image.cols * image.rows];} rows 98 modules/cudalegacy/perf/perf_labeling.cpp int height = image.rows; rows 100 modules/cudalegacy/perf/perf_labeling.cpp for (int j = 0; j < image.rows; ++j) rows 66 modules/cudalegacy/src/bm.cpp (prev.rows - blockSize.height + shiftSize.height) / shiftSize.height); rows 190 modules/cudalegacy/src/bm.cpp const int maxY = prev.rows - blockSize.height; rows 80 modules/cudalegacy/src/bm_fast.cpp optflowbm_fast::get_buffer_size(I0.cols, I0.rows, search_window, block_window, bcols, brows); rows 87 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); rows 109 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); rows 217 modules/cudalegacy/src/calib3d.cpp CV_Assert(object.rows == 1 && object.cols > 0 && object.type() == CV_32FC3); rows 218 modules/cudalegacy/src/calib3d.cpp CV_Assert(image.rows == 1 && image.cols > 0 && image.type() == CV_32FC2); rows 319 modules/cudalegacy/src/fgd.cpp filter->apply(filterBrd(Rect(brd, brd, src.cols, src.rows)), dst); rows 538 modules/cudalegacy/src/fgd.cpp stat.rows_ = Pbc_.rows; rows 105 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( outRoi.width <= layer0_.cols && outRoi.height <= layer0_.rows && outRoi.width > 0 && outRoi.height > 0 ); rows 110 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width == layer0_.cols && outRoi.height == layer0_.rows) rows 126 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width == curLayer.cols && outRoi.height == curLayer.rows) rows 131 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width >= curLayer.cols && outRoi.height >= curLayer.rows) rows 66 modules/cudalegacy/src/interpolate_frames.cpp buf.create(6 * frame0.rows, frame0.cols, CV_32FC1); rows 70 modules/cudalegacy/src/interpolate_frames.cpp GpuMat occ0 = buf.rowRange(0 * frame0.rows, 1 * frame0.rows); rows 71 modules/cudalegacy/src/interpolate_frames.cpp GpuMat occ1 = buf.rowRange(1 * frame0.rows, 2 * frame0.rows); rows 74 modules/cudalegacy/src/interpolate_frames.cpp GpuMat fui = buf.rowRange(2 * frame0.rows, 3 * frame0.rows); rows 75 modules/cudalegacy/src/interpolate_frames.cpp GpuMat fvi = buf.rowRange(3 * frame0.rows, 4 * frame0.rows); rows 78 modules/cudalegacy/src/interpolate_frames.cpp GpuMat bui = buf.rowRange(4 * frame0.rows, 5 * frame0.rows); rows 79 modules/cudalegacy/src/interpolate_frames.cpp GpuMat bvi = buf.rowRange(5 * frame0.rows, 6 * frame0.rows); rows 90 modules/cudalegacy/src/interpolate_frames.cpp state.size = NcvSize32u(frame0.cols, frame0.rows); rows 73 modules/cudalegacy/src/needle_map.cpp const int y_needles = u.rows / NEEDLE_MAP_SCALE; rows 95 modules/cudalegacy/src/needle_map.cpp CreateOpticalFlowNeedleMap_gpu(u_avg, v_avg, vertex.ptr<float>(), colors.ptr<float>(), max_flow, 1.0f / u.cols, 1.0f / u.rows); rows 106 modules/cudalegacy/test/NCVTestSourceProvider.hpp data.reset(new NCVMatrixAlloc<T>(*this->allocatorCPU.get(), image.cols, image.rows)); rows 110 modules/cudalegacy/test/NCVTestSourceProvider.hpp this->dataHeight = image.rows; rows 128 modules/cudalegacy/test/test_calib3d.cpp ASSERT_EQ(1, dst.rows); rows 81 modules/cudalegacy/test/test_labeling.cpp dot* stack = new dot[image.cols * image.rows]; rows 90 modules/cudalegacy/test/test_labeling.cpp int height = image.rows; rows 93 modules/cudalegacy/test/test_labeling.cpp for (int j = 0; j < image.rows; ++j) rows 138 modules/cudalegacy/test/test_labeling.cpp for (int j = 0; j < image.rows; ++j) rows 146 modules/cudalegacy/test/test_labeling.cpp ASSERT_TRUE(outliers < gpu.cols + gpu.rows); rows 183 modules/cudalegacy/test/test_labeling.cpp mask.create(image.rows, image.cols, CV_8UC1); rows 186 modules/cudalegacy/test/test_labeling.cpp components.create(image.rows, image.cols, CV_32SC1); rows 222 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.rows == 1 ); rows 327 modules/cudaobjdetect/src/cascadeclassifier.cpp src_seg.size = src.step * src.rows; rows 329 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVMatrixReuse<Ncv8u> d_src(src_seg, static_cast<int>(devProp.textureAlignment), src.cols, src.rows, static_cast<int>(src.step), true); rows 332 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert(objects.rows == 1); rows 340 modules/cudaobjdetect/src/cascadeclassifier.cpp objects_seg.size = objects.step * objects.rows; rows 586 modules/cudaobjdetect/src/cascadeclassifier.cpp device::lbp::classifyPyramid(image.cols, image.rows, NxM.width - 1, NxM.height - 1, iniScale, scaleFactor_, total, stage_mat, stage_mat.cols / sizeof(Stage), nodes_mat, rows 627 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.rows == 1 ); rows 780 modules/cudaobjdetect/src/cascadeclassifier.cpp if (resuzeBuffer.empty() || frame.width > resuzeBuffer.cols || frame.height > resuzeBuffer.rows) rows 250 modules/cudaobjdetect/src/hog.cpp CV_Assert( detector.rows == 1 ); rows 311 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 337 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 380 modules/cudaobjdetect/src/hog.cpp cvRound(img.rows / scale) < win_size_.height || rows 401 modules/cudaobjdetect/src/hog.cpp Size sz(cvRound(img.cols / scale), cvRound(img.rows / scale)); rows 466 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 474 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 505 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 512 modules/cudaobjdetect/src/hog.cpp img.rows, img.cols, rows 526 modules/cudaobjdetect/src/hog.cpp hog::compute_gradients_8UC1(nbins_, img.rows, img.cols, img, angleScale, grad, qangle, gamma_correction_); rows 529 modules/cudaobjdetect/src/hog.cpp hog::compute_gradients_8UC4(nbins_, img.rows, img.cols, img, angleScale, grad, qangle, gamma_correction_); rows 90 modules/cudaobjdetect/test/test_objdetect.cpp int rows, cols; rows 91 modules/cudaobjdetect/test/test_objdetect.cpp f.read((char*)&rows, sizeof(rows)); rows 93 modules/cudaobjdetect/test/test_objdetect.cpp for (int i = 0; i < rows; ++i) rows 133 modules/cudaobjdetect/test/test_objdetect.cpp cv::resize(img, img2, cv::Size(img.cols / 2, img.rows / 2)); rows 143 modules/cudaobjdetect/test/test_objdetect.cpp cv::resize(img, img2, cv::Size(img.cols * 2, img.rows * 2)); rows 152 modules/cudaoptflow/src/brox.cpp frame0MemSeg.size = frame0.step * frame0.rows; rows 157 modules/cudaoptflow/src/brox.cpp frame1MemSeg.size = frame1.step * frame1.rows; rows 162 modules/cudaoptflow/src/brox.cpp uMemSeg.size = u.step * u.rows; rows 167 modules/cudaoptflow/src/brox.cpp vMemSeg.size = v.step * v.rows; rows 172 modules/cudaoptflow/src/brox.cpp NCVMatrixReuse<Ncv32f> frame0Mat(frame0MemSeg, static_cast<Ncv32u>(textureAlignment), frame0.cols, frame0.rows, static_cast<Ncv32u>(frame0.step)); rows 173 modules/cudaoptflow/src/brox.cpp NCVMatrixReuse<Ncv32f> frame1Mat(frame1MemSeg, static_cast<Ncv32u>(textureAlignment), frame1.cols, frame1.rows, static_cast<Ncv32u>(frame1.step)); rows 174 modules/cudaoptflow/src/brox.cpp NCVMatrixReuse<Ncv32f> uMat(uMemSeg, static_cast<Ncv32u>(textureAlignment), u.cols, u.rows, static_cast<Ncv32u>(u.step)); rows 175 modules/cudaoptflow/src/brox.cpp NCVMatrixReuse<Ncv32f> vMat(vMemSeg, static_cast<Ncv32u>(textureAlignment), v.cols, v.rows, static_cast<Ncv32u>(v.step)); rows 179 modules/cudaoptflow/src/farneback.cpp GpuMat allocMatFromBuf(int rows, int cols, int type, GpuMat& mat) rows 181 modules/cudaoptflow/src/farneback.cpp if (!mat.empty() && mat.type() == type && mat.rows >= rows && mat.cols >= cols) rows 182 modules/cudaoptflow/src/farneback.cpp return mat(Rect(0, 0, cols, rows)); rows 184 modules/cudaoptflow/src/farneback.cpp return mat = GpuMat(rows, cols, type); rows 359 modules/cudaoptflow/src/farneback.cpp height = pyramid0_[k].rows; rows 134 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevPts.rows == 1 && prevPts.type() == CV_32FC2 ); rows 234 modules/cudaoptflow/src/tvl1flow.cpp if (I0s[s].cols < 16 || I0s[s].rows < 16) rows 308 modules/cudaoptflow/src/tvl1flow.cpp GpuMat I1x = I1x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 309 modules/cudaoptflow/src/tvl1flow.cpp GpuMat I1y = I1y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 312 modules/cudaoptflow/src/tvl1flow.cpp GpuMat I1w = I1w_buf(Rect(0, 0, I0.cols, I0.rows)); rows 313 modules/cudaoptflow/src/tvl1flow.cpp GpuMat I1wx = I1wx_buf(Rect(0, 0, I0.cols, I0.rows)); rows 314 modules/cudaoptflow/src/tvl1flow.cpp GpuMat I1wy = I1wy_buf(Rect(0, 0, I0.cols, I0.rows)); rows 316 modules/cudaoptflow/src/tvl1flow.cpp GpuMat grad = grad_buf(Rect(0, 0, I0.cols, I0.rows)); rows 317 modules/cudaoptflow/src/tvl1flow.cpp GpuMat rho_c = rho_c_buf(Rect(0, 0, I0.cols, I0.rows)); rows 319 modules/cudaoptflow/src/tvl1flow.cpp GpuMat p11 = p11_buf(Rect(0, 0, I0.cols, I0.rows)); rows 320 modules/cudaoptflow/src/tvl1flow.cpp GpuMat p12 = p12_buf(Rect(0, 0, I0.cols, I0.rows)); rows 321 modules/cudaoptflow/src/tvl1flow.cpp GpuMat p21 = p21_buf(Rect(0, 0, I0.cols, I0.rows)); rows 322 modules/cudaoptflow/src/tvl1flow.cpp GpuMat p22 = p22_buf(Rect(0, 0, I0.cols, I0.rows)); rows 326 modules/cudaoptflow/src/tvl1flow.cpp p31 = p31_buf(Rect(0, 0, I0.cols, I0.rows)); rows 327 modules/cudaoptflow/src/tvl1flow.cpp p32 = p32_buf(Rect(0, 0, I0.cols, I0.rows)); rows 339 modules/cudaoptflow/src/tvl1flow.cpp GpuMat diff = diff_buf(Rect(0, 0, I0.cols, I0.rows)); rows 96 modules/cudaoptflow/test/test_optflow.cpp int rows, cols; rows 98 modules/cudaoptflow/test/test_optflow.cpp f.read((char*) &rows, sizeof(rows)); rows 101 modules/cudaoptflow/test/test_optflow.cpp cv::Mat u_gold(rows, cols, CV_32FC1); rows 103 modules/cudaoptflow/test/test_optflow.cpp for (int i = 0; i < u_gold.rows; ++i) rows 106 modules/cudaoptflow/test/test_optflow.cpp cv::Mat v_gold(rows, cols, CV_32FC1); rows 108 modules/cudaoptflow/test/test_optflow.cpp for (int i = 0; i < v_gold.rows; ++i) rows 116 modules/cudaoptflow/test/test_optflow.cpp f.write((char*) &u.rows, sizeof(u.rows)); rows 122 modules/cudaoptflow/test/test_optflow.cpp for (int i = 0; i < u.rows; ++i) rows 125 modules/cudaoptflow/test/test_optflow.cpp for (int i = 0; i < v.rows; ++i) rows 6 modules/cudastereo/src/cuda/stereocsbp.hpp void init_data_cost(const uchar *left, const uchar *right, uchar *ctemp, size_t cimg_step, int rows, int cols, T* disp_selected_pyr, T* data_cost_selected, size_t msg_step, rows 11 modules/cudastereo/src/cuda/stereocsbp.hpp int rows, int cols, int h, int w, int h2, int level, int nr_plane, int channels, float data_weight, float max_data_term, rows 68 modules/cudastereo/src/stereobp.cpp void calc_all_iterations_gpu(int cols, int rows, int iters, const PtrStepSzb& u, const PtrStepSzb& d, rows 188 modules/cudastereo/src/stereobp.cpp rows_ = left.rows; rows 216 modules/cudastereo/src/stereobp.cpp CV_Assert( (data.type() == msg_type_) && (data.rows % ndisp_ == 0) ); rows 218 modules/cudastereo/src/stereobp.cpp rows_ = data.rows / ndisp_; rows 298 modules/cudastereo/src/stereobp.cpp typedef void (*calc_all_iterations_t)(int cols, int rows, int iters, const PtrStepSzb& u, const PtrStepSzb& d, const PtrStepSzb& l, const PtrStepSzb& r, const PtrStepSzb& data, cudaStream_t stream); rows 168 modules/cudastereo/src/stereocsbp.cpp int rows = left.rows; rows 180 modules/cudastereo/src/stereocsbp.cpp rows_pyr[0] = rows; rows 196 modules/cudastereo/src/stereocsbp.cpp mbuf_.create(rows * nr_plane_ * buffers_count, cols, msg_type_); rows 198 modules/cudastereo/src/stereocsbp.cpp data_cost = mbuf_.rowRange(0, rows * nr_plane_ * 2); rows 199 modules/cudastereo/src/stereocsbp.cpp data_cost_selected = mbuf_.rowRange(data_cost.rows, data_cost.rows + rows * nr_plane_); rows 203 modules/cudastereo/src/stereocsbp.cpp GpuMat sub1 = mbuf_.rowRange(data_cost.rows + data_cost_selected.rows, mbuf_.rows); rows 204 modules/cudastereo/src/stereocsbp.cpp GpuMat sub2 = sub1.rowRange((k+0)*sub1.rows/2, (k+1)*sub1.rows/2); rows 209 modules/cudastereo/src/stereocsbp.cpp *buf_ptrs[_r] = sub2.rowRange(_r * sub2.rows/5, (_r+1) * sub2.rows/5); rows 210 modules/cudastereo/src/stereocsbp.cpp CV_DbgAssert( buf_ptrs[_r]->cols == cols && buf_ptrs[_r]->rows == rows * nr_plane_ ); rows 246 modules/cudastereo/src/stereocsbp.cpp init_data_cost(left.ptr<uchar>(), right.ptr<uchar>(), temp_.ptr<uchar>(), left.step, left.rows, left.cols, disp_selected_pyr[cur_idx].ptr<float>(), data_cost_selected.ptr<float>(), rows 252 modules/cudastereo/src/stereocsbp.cpp left.rows, left.cols, rows_pyr[i], cols_pyr[i], rows_pyr[i+1], i, nr_plane_pyr[i+1], left.channels(), data_weight_, max_data_term_, min_disp_th_, stream); rows 277 modules/cudastereo/src/stereocsbp.cpp init_data_cost(left.ptr<uchar>(), right.ptr<uchar>(), temp_.ptr<uchar>(), left.step, left.rows, left.cols, disp_selected_pyr[cur_idx].ptr<short>(), data_cost_selected.ptr<short>(), rows 283 modules/cudastereo/src/stereocsbp.cpp left.rows, left.cols, rows_pyr[i], cols_pyr[i], rows_pyr[i+1], i, nr_plane_pyr[i+1], left.channels(), data_weight_, max_data_term_, min_disp_th_, stream); rows 305 modules/cudastereo/src/stereocsbp.cpp disp.create(rows, cols, dtype); rows 310 modules/cudastereo/src/stereocsbp.cpp outBuf_.create(rows, cols, CV_16SC1); rows 79 modules/cudastereo/src/util.cpp CV_Assert( Q.type() == CV_32F && Q.rows == 4 && Q.cols == 4 && Q.isContinuous() ); rows 57 modules/cudawarping/perf/perf_warping.cpp for (int j = 0; j < map_x.rows; ++j) rows 64 modules/cudawarping/perf/perf_warping.cpp if (i > map_x.cols*0.25 && i < map_x.cols*0.75 && j > map_x.rows*0.25 && j < map_x.rows*0.75) rows 67 modules/cudawarping/perf/perf_warping.cpp map_y.at<float>(j,i) = 2.f * (j - map_x.rows * 0.25f) + 0.5f; rows 77 modules/cudawarping/perf/perf_warping.cpp map_y.at<float>(j,i) = static_cast<float>(map_x.rows - j); rows 85 modules/cudawarping/perf/perf_warping.cpp map_y.at<float>(j,i) = static_cast<float>(map_x.rows - j); rows 88 modules/cudawarping/src/pyramids.cpp _dst.create((src.rows + 1) / 2, (src.cols + 1) / 2, src.type()); rows 128 modules/cudawarping/src/pyramids.cpp _dst.create(src.rows * 2, src.cols * 2, src.type()); rows 78 modules/cudawarping/src/resize.cpp dsize = Size(saturate_cast<int>(src.cols * fx), saturate_cast<int>(src.rows * fy)); rows 83 modules/cudawarping/src/resize.cpp fy = static_cast<double>(dsize.height) / src.rows; rows 84 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 2 && M.cols == 3 ); rows 113 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 3 && M.cols == 3 ); rows 156 modules/cudawarping/src/warp.cpp srcsz.height = src.rows; rows 162 modules/cudawarping/src/warp.cpp srcroi.height = src.rows; rows 168 modules/cudawarping/src/warp.cpp dstroi.height = dst.rows; rows 188 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 2 && M.cols == 3 ); rows 327 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 3 && M.cols == 3 ); rows 487 modules/cudawarping/src/warp.cpp srcsz.height = src.rows; rows 491 modules/cudawarping/src/warp.cpp srcroi.height = src.rows; rows 495 modules/cudawarping/src/warp.cpp dstroi.height = dst.rows; rows 52 modules/cudawarping/test/interpolation.hpp return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]); rows 54 modules/cudawarping/test/interpolation.hpp return src.at<T>(cv::borderInterpolate(y, src.rows, border_type), cv::borderInterpolate(x, src.cols, border_type) * src.channels() + c); rows 59 modules/cudawarping/test/test_resize.cpp cv::Size dsize(cv::saturate_cast<int>(src.cols * fx), cv::saturate_cast<int>(src.rows * fy)); rows 146 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); rows 192 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); rows 66 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 69 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 71 modules/cudev/include/opencv2/cudev/grid/copy.hpp dst.create(rows, cols); rows 73 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 79 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 82 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 83 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 85 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 91 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 94 modules/cudev/include/opencv2/cudev/grid/copy.hpp dst.create(rows, cols); rows 96 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 102 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 105 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 107 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 115 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 118 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 120 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 121 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 126 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 135 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 138 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 139 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 140 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 145 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 154 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 157 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 158 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 163 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 172 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 175 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 176 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 181 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 190 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 193 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 195 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 196 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 197 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<2>(dst).create(rows, cols); rows 202 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 211 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 214 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 215 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 216 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 217 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 222 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 231 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 234 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 235 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 236 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<2>(dst).create(rows, cols); rows 241 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 250 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 253 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 254 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 255 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 260 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 269 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 272 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 274 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 275 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 276 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<2>(dst).create(rows, cols); rows 277 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<3>(dst).create(rows, cols); rows 282 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 291 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 294 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 295 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 296 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 297 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); rows 298 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 303 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 312 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 315 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<0>(dst).create(rows, cols); rows 316 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<1>(dst).create(rows, cols); rows 317 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<2>(dst).create(rows, cols); rows 318 modules/cudev/include/opencv2/cudev/grid/copy.hpp get<3>(dst).create(rows, cols); rows 323 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 332 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); rows 335 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 336 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 337 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 338 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); rows 343 modules/cudev/include/opencv2/cudev/grid/copy.hpp rows, cols, rows 60 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __global__ void copy(const SrcPtr src, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, const int cols) rows 65 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 72 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __host__ void copy(const SrcPtr& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 75 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 77 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp copy<<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); rows 105 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __global__ void copy_tuple(const SrcPtrTuple src, DstPtrTuple dst, const MaskPtr mask, const int rows, const int cols) rows 110 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 117 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __host__ void copy_tuple(const SrcPtrTuple& src, const DstPtrTuple& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 120 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 122 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp copy_tuple<<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); rows 57 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, const int cols) rows 70 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp if (y < rows) rows 94 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 97 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const dim3 grid(divUp(rows, block.y)); rows 101 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp histogram<BIN_COUNT, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, hist, mask, rows, cols); rows 146 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ void horizontal_pass(const SrcPtr& src, const GlobPtr<D>& dst, int rows, int cols, cudaStream_t stream) rows 151 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const dim3 grid(rows); rows 399 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ static void horisontal_pass_8u_shfl(const GlobPtr<uchar> src, GlobPtr<uint> integral, int rows, int cols, cudaStream_t stream) rows 406 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const int grid = rows; rows 420 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __global__ void vertical_pass(GlobPtr<T> integral, const int rows, const int cols) rows 433 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp int numBuckets = divUp(rows, blockDim.y); rows 440 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp T sum = (tidx < cols) && (y < rows) ? *p : 0; rows 473 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if ((tidx < cols) && (y < rows)) rows 493 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp int numBuckets = divUp(rows, 8 * 4); rows 514 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if (curRowOffs + i * 8 < rows) rows 564 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if (curRowOffs + i * 8 < rows) rows 577 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ void vertical_pass(const GlobPtr<T>& integral, int rows, int cols, cudaStream_t stream) rows 582 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp vertical_pass<<<grid, block, 0, stream>>>(integral, rows, cols); rows 589 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ void integral(const SrcPtr& src, const GlobPtr<D>& dst, int rows, int cols, cudaStream_t stream) rows 591 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horizontal_pass(src, dst, rows, cols, stream); rows 592 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp vertical_pass(dst, rows, cols, stream); rows 598 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ static void integral(const GlobPtr<uchar>& src, const GlobPtr<uint>& dst, int rows, int cols, cudaStream_t stream) rows 605 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horisontal_pass_8u_shfl(src, dst, rows, cols, stream); rows 609 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horizontal_pass(src, dst, rows, cols, stream); rows 612 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp vertical_pass(dst, rows, cols, stream); rows 618 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ __forceinline__ void integral(const GlobPtr<uchar>& src, const GlobPtr<int>& dst, int rows, int cols, cudaStream_t stream) rows 621 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp integral(src, dstui, rows, cols, stream); rows 60 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp __global__ void minMaxLoc_pass_1(const SrcPtr src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr mask, const int rows, const int cols, const int patch_y, const int patch_x) rows 75 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp for (int i = 0, y = y0; i < patch_y && y < rows; ++i, y += blockDim.y) rows 146 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp void getLaunchCfg(int rows, int cols, dim3& block, dim3& grid) rows 149 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp grid = dim3(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y)); rows 156 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp __host__ void minMaxLoc(const SrcPtr& src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 159 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp getLaunchCfg<Policy>(rows, cols, block, grid); rows 162 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int patch_y = divUp(divUp(rows, grid.y), block.y); rows 164 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp minMaxLoc_pass_1<Policy::block_size_x * Policy::block_size_y><<<grid, block, 0, stream>>>(src, minVal, maxVal, minLoc, maxLoc, mask, rows, cols, patch_y, patch_x); rows 392 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __global__ void reduce(const SrcPtr src, ResType* result, const MaskPtr mask, const int rows, const int cols) rows 399 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp for (int i = 0, y = y0; i < PATCH_Y && y < rows; ++i, y += blockDim.y) rows 416 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void reduce(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 419 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp const dim3 grid(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y)); rows 421 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<Reductor, Policy::block_size_x * Policy::block_size_y, Policy::patch_size_x, Policy::patch_size_y><<<grid, block, 0, stream>>>(src, result, mask, rows, cols); rows 431 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void sum(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 436 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<SumReductor<src_type, ResType>, Policy>(src, (res_elem_type*) result, mask, rows, cols, stream); rows 440 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void minVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 444 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<minop<ResType>, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); rows 448 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void maxVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 452 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<maxop<ResType>, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); rows 456 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void minMaxVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 460 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<both, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); rows 125 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp __host__ void reduceToColumn(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 133 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp const dim3 grid(rows); rows 58 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp __global__ void reduceToRow(const SrcPtr src, ResType* dst, const MaskPtr mask, const int rows, const int cols) rows 72 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp for (int y = threadIdx.y; y < rows; y += BLOCK_SIZE_Y) rows 96 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp dst[x] = saturate_cast<ResType>(Reductor::result(smem[threadIdx.x * BLOCK_SIZE_X], rows)); rows 100 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp __host__ void reduceToRow(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 108 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp reduceToRow<Reductor, BLOCK_SIZE_X, BLOCK_SIZE_Y><<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); rows 63 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void mergeC2(const Src1Ptr src1, const Src2Ptr src2, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, const int cols) rows 70 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 80 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void mergeC2(const Src1Ptr& src1, const Src2Ptr& src2, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 83 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 85 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC2<<<grid, block, 0, stream>>>(src1, src2, dst, mask, rows, cols); rows 93 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void mergeC3(const Src1Ptr src1, const Src2Ptr src2, const Src3Ptr src3, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, const int cols) rows 100 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 111 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void mergeC3(const Src1Ptr& src1, const Src2Ptr& src2, const Src3Ptr& src3, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 114 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 116 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC3<<<grid, block, 0, stream>>>(src1, src2, src3, dst, mask, rows, cols); rows 124 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void mergeC4(const Src1Ptr src1, const Src2Ptr src2, const Src3Ptr src3, const Src4Ptr src4, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, const int cols) rows 131 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 143 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void mergeC4(const Src1Ptr& src1, const Src2Ptr& src2, const Src3Ptr& src3, const Src4Ptr& src4, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 146 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 148 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC4<<<grid, block, 0, stream>>>(src1, src2, src3, src4, dst, mask, rows, cols); rows 160 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 162 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC2<Policy>(get<0>(src), get<1>(src), dst, mask, rows, cols, stream); rows 169 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 171 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC3<Policy>(get<0>(src), get<1>(src), get<2>(src), dst, mask, rows, cols, stream); rows 178 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 180 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC4<Policy>(get<0>(src), get<1>(src), get<2>(src), get<3>(src), dst, mask, rows, cols, stream); rows 187 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, const MaskPtr mask, const int rows, const int cols) rows 194 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 204 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 207 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 209 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, mask, rows, cols); rows 217 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstType> dst3, const MaskPtr mask, const int rows, const int cols) rows 224 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 235 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const GlobPtr<DstType>& dst3, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 238 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 240 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, dst3, mask, rows, cols); rows 248 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstType> dst3, GlobPtr<DstType> dst4, const MaskPtr mask, const int rows, const int cols) rows 255 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 267 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const GlobPtr<DstType>& dst3, const GlobPtr<DstType>& dst4, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 270 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 272 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, dst3, dst4, mask, rows, cols); rows 159 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transformSimple(const SrcPtr src, GlobPtr<DstType> dst, const UnOp op, const MaskPtr mask, const int rows, const int cols) rows 164 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 171 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transformSimple(const SrcPtr1 src1, const SrcPtr2 src2, GlobPtr<DstType> dst, const BinOp op, const MaskPtr mask, const int rows, const int cols) rows 176 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 185 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transformSmart(const GlobPtr<SrcType> src_, GlobPtr<DstType> dst_, const UnOp op, const MaskPtr mask, const int rows, const int cols) rows 194 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (y < rows) rows 220 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transformSmart(const GlobPtr<SrcType1> src1_, const GlobPtr<SrcType2> src2_, GlobPtr<DstType> dst_, const BinOp op, const MaskPtr mask, const int rows, const int cols) rows 230 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (y < rows) rows 264 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const SrcPtr& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 267 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 269 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSimple<<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); rows 277 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtr<DstType>& dst, const BinOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 280 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 282 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSimple<<<grid, block, 0, stream>>>(src1, src2, dst, op, mask, rows, cols); rows 304 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const GlobPtr<SrcType>& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 310 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src, dst, op, mask, rows, cols, stream); rows 315 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x * Policy::shift), divUp(rows, block.y)); rows 317 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSmart<Policy::shift><<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); rows 325 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const GlobPtr<SrcType1>& src1, const GlobPtr<SrcType2>& src2, const GlobPtr<DstType>& dst, const BinOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 332 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src1, src2, dst, op, mask, rows, cols, stream); rows 337 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x * Policy::shift), divUp(rows, block.y)); rows 339 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSmart<Policy::shift><<<grid, block, 0, stream>>>(src1, src2, dst, op, mask, rows, cols); rows 348 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_unary(const SrcPtr& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 350 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src, dst, op, mask, rows, cols, stream); rows 354 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_binary(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtr<DstType>& dst, const BinOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 356 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src1, src2, dst, op, mask, rows, cols, stream); rows 360 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_unary(const GlobPtr<SrcType>& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 362 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<VecTraits<SrcType>::cn == 1 && VecTraits<DstType>::cn == 1 && Policy::shift != 1, Policy>::call(src, dst, op, mask, rows, cols, stream); rows 366 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_binary(const GlobPtr<SrcType1>& src1, const GlobPtr<SrcType2>& src2, const GlobPtr<DstType>& dst, const BinOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 368 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<VecTraits<SrcType1>::cn == 1 && VecTraits<SrcType2>::cn == 1 && VecTraits<DstType>::cn == 1 && Policy::shift != 1, Policy>::call(src1, src2, dst, op, mask, rows, cols, stream); rows 394 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transform_tuple(const SrcPtr src, DstPtrTuple dst, const OpTuple op, const MaskPtr mask, const int rows, const int cols) rows 399 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) rows 408 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_tuple(const SrcPtrTuple& src, const DstPtrTuple& dst, const OpTuple& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) rows 411 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 413 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transform_tuple<<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); rows 59 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp __global__ void transpose(const SrcPtr src, GlobPtr<DstType> dst, const int rows, const int cols) rows 87 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp if (yIndex + i < rows) rows 99 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp if (xIndex < rows) rows 112 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp __host__ void transpose(const SrcPtr& src, const GlobPtr<DstType>& dst, int rows, int cols, cudaStream_t stream) rows 115 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); rows 117 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp transpose<Policy::tile_dim, Policy::block_dim_y><<<grid, block, 0, stream>>>(src, dst, rows, cols); rows 65 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int rows = getRows(src); rows 68 modules/cudev/include/opencv2/cudev/grid/histogram.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 76 modules/cudev/include/opencv2/cudev/grid/histogram.hpp rows, cols, rows 85 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int rows = getRows(src); rows 94 modules/cudev/include/opencv2/cudev/grid/histogram.hpp rows, cols, rows 62 modules/cudev/include/opencv2/cudev/grid/integral.hpp const int rows = getRows(src); rows 65 modules/cudev/include/opencv2/cudev/grid/integral.hpp dst.create(rows, cols); rows 67 modules/cudev/include/opencv2/cudev/grid/integral.hpp integral_detail::integral(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); rows 64 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int rows = getRows(src); rows 67 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp dst.create(divUp(rows, 2), divUp(cols, 2)); rows 69 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp pyramids_detail::pyrDown<Brd>(shrinkPtr(src), shrinkPtr(dst), rows, cols, dst.rows, dst.cols, StreamAccessor::getStream(stream)); rows 81 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int rows = getRows(src); rows 84 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp dst.create(rows * 2, cols * 2); rows 86 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp pyramids_detail::pyrUp(shrinkPtr(src), shrinkPtr(dst), rows, cols, dst.rows, dst.cols, StreamAccessor::getStream(stream)); rows 73 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 76 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 81 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 95 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 101 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 111 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 114 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 119 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 129 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 135 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 145 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 148 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 153 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 163 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 169 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 180 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 183 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 188 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 199 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 205 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 212 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 215 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 218 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_minmaxloc_detail::getLaunchCfg<Policy>(rows, cols, block, grid); rows 226 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 233 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 237 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_minmaxloc_detail::getLaunchCfg<Policy>(rows, cols, block, grid); rows 245 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 255 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 258 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 267 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 277 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); rows 287 modules/cudev/include/opencv2/cudev/grid/reduce.hpp rows, cols, rows 148 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); rows 151 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 158 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp rows, cols, rows 165 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); rows 173 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp rows, cols, rows 180 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); rows 183 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 185 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp dst.create(1, rows); rows 190 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp rows, cols, rows 197 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); rows 200 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp dst.create(1, rows); rows 205 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp rows, cols, rows 68 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 71 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 73 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst.create(rows, cols); rows 78 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 87 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 90 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 91 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 96 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 105 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 108 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst.create(rows, cols); rows 113 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 122 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 125 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 130 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 139 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 142 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 144 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 145 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 150 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 159 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 162 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 164 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 165 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 170 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 179 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 182 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 183 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 184 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 189 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 198 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 201 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 202 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 207 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 216 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 219 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 220 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 225 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 234 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 237 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 238 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 243 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 252 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 255 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 257 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 258 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 259 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<2>(dst).create(rows, cols); rows 264 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 273 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 276 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 278 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 279 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 280 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[2].create(rows, cols); rows 285 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 294 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 297 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 298 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 299 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); rows 300 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 305 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 314 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 317 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 318 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 319 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<2>(dst).create(rows, cols); rows 324 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 333 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 336 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 337 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 338 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[2].create(rows, cols); rows 343 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 352 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 355 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 356 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 357 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); rows 362 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 371 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 374 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 376 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 377 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 378 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<2>(dst).create(rows, cols); rows 379 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<3>(dst).create(rows, cols); rows 384 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 393 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 396 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 398 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 399 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 400 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[2].create(rows, cols); rows 401 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[3].create(rows, cols); rows 406 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 415 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 418 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 419 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 420 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); rows 421 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[3]) == rows && getCols(dst[3]) == cols ); rows 422 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 427 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 436 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 439 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<0>(dst).create(rows, cols); rows 440 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<1>(dst).create(rows, cols); rows 441 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<2>(dst).create(rows, cols); rows 442 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp get<3>(dst).create(rows, cols); rows 447 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 456 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 459 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[0].create(rows, cols); rows 460 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[1].create(rows, cols); rows 461 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[2].create(rows, cols); rows 462 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp dst[3].create(rows, cols); rows 467 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 476 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); rows 479 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); rows 480 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); rows 481 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); rows 482 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[3]) == rows && getCols(dst[3]) == cols ); rows 487 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp rows, cols, rows 66 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 69 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 71 modules/cudev/include/opencv2/cudev/grid/transform.hpp dst.create(rows, cols); rows 73 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 79 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 82 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 83 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 85 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 91 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 94 modules/cudev/include/opencv2/cudev/grid/transform.hpp dst.create(rows, cols); rows 96 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 102 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 105 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 107 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 113 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src1); rows 116 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); rows 117 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 119 modules/cudev/include/opencv2/cudev/grid/transform.hpp dst.create(rows, cols); rows 121 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_binary<Policy>(shrinkPtr(src1), shrinkPtr(src2), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 127 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src1); rows 130 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 131 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); rows 132 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 134 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_binary<Policy>(shrinkPtr(src1), shrinkPtr(src2), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); rows 140 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src1); rows 143 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); rows 145 modules/cudev/include/opencv2/cudev/grid/transform.hpp dst.create(rows, cols); rows 147 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_binary<Policy>(shrinkPtr(src1), shrinkPtr(src2), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 153 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src1); rows 156 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); rows 157 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); rows 159 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_binary<Policy>(shrinkPtr(src1), shrinkPtr(src2), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); rows 167 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 170 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 172 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 173 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 179 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 188 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 191 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 192 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 193 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 199 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 208 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 211 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 212 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 218 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 227 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 230 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 231 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 237 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 246 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 249 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 251 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 252 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 253 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<2>(dst).create(rows, cols); rows 259 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 268 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 271 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 272 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 273 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 274 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 280 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 289 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 292 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 293 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 294 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<2>(dst).create(rows, cols); rows 300 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 309 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 312 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 313 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 314 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 320 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 329 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 332 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 334 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 335 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 336 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<2>(dst).create(rows, cols); rows 337 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<3>(dst).create(rows, cols); rows 343 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 352 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 355 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 356 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 357 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 358 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); rows 359 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); rows 365 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 374 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 377 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<0>(dst).create(rows, cols); rows 378 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<1>(dst).create(rows, cols); rows 379 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<2>(dst).create(rows, cols); rows 380 modules/cudev/include/opencv2/cudev/grid/transform.hpp get<3>(dst).create(rows, cols); rows 386 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 395 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); rows 398 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); rows 399 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); rows 400 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); rows 401 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); rows 407 modules/cudev/include/opencv2/cudev/grid/transform.hpp rows, cols, rows 63 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int rows = getRows(src); rows 66 modules/cudev/include/opencv2/cudev/grid/transpose.hpp dst.create(cols, rows); rows 68 modules/cudev/include/opencv2/cudev/grid/transpose.hpp transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); rows 74 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int rows = getRows(src); rows 77 modules/cudev/include/opencv2/cudev/grid/transpose.hpp CV_Assert( getRows(dst) == cols && getCols(dst) == rows ); rows 79 modules/cudev/include/opencv2/cudev/grid/transpose.hpp transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); rows 69 modules/cudev/include/opencv2/cudev/ptr2d/constant.hpp int rows, cols; rows 81 modules/cudev/include/opencv2/cudev/ptr2d/constant.hpp __host__ constantPtr(T value, int rows, int cols) rows 85 modules/cudev/include/opencv2/cudev/ptr2d/constant.hpp p.rows = rows; rows 76 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 90 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 116 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 130 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 163 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 177 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 209 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 223 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 256 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 270 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 302 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 316 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); rows 371 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp int rows, cols; rows 385 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ptr.rows = getRows(src); rows 104 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m.reshape(DataType<T>::channels, m.rows)); rows 186 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return globPtr((T*) data, step, rows, cols); rows 66 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp int rows, cols; rows 71 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return (x >= 0 && x < cols && y >= 0 && y < rows) ? src(y, x) : val; rows 80 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); rows 100 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp int rows, cols; rows 104 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return BrdImpl::idx_low(BrdImpl::idx_high(y, rows), rows); rows 138 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); rows 164 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); rows 190 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); rows 215 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); rows 87 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp int rows, cols; rows 100 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp __host__ __device__ GlobPtrSz<T> globPtr(T* data, size_t step, int rows, int cols) rows 105 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp p.rows = rows; rows 116 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp p.rows = mat.rows; rows 150 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp reshape_(const GpuMat_<T>& mat, int rows = 0) rows 152 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> dst(mat.reshape(cn, rows)); rows 78 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp int rows, cols; rows 86 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); rows 136 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp int rows, cols; rows 144 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); rows 215 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp int rows, cols; rows 223 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); rows 273 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp int rows, cols; rows 283 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); rows 367 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp int rows, cols; rows 377 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); rows 77 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp int rows, cols; rows 92 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp ptr.rows = getRows(src); rows 85 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp int rows, cols; rows 95 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp ptr.rows = getRows(mask); rows 94 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp int rows, cols; rows 105 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp int rows, cols; rows 118 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp const int rows = getRows(map); rows 124 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp r.rows = rows; rows 133 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp const int rows = getRows(mapx); rows 136 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp CV_Assert( getRows(mapy) == rows && getCols(mapy) == cols ); rows 142 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp r.rows = rows; rows 79 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp int rows, cols; rows 95 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.rows = cv::saturate_cast<int>(getRows(src) * fy); rows 78 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp CV_CUDEV_SAFE_CALL( cudaBindTexture2D(0, &ref, mat.data, &desc, mat.cols, mat.rows, mat.step) ); rows 121 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp int rows, cols; rows 131 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp rows = mat.rows; rows 141 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.height = mat.rows; rows 207 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp int rows, cols; rows 216 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp rows = mat.rows; rows 224 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.height = mat.rows; rows 71 modules/cudev/include/opencv2/cudev/ptr2d/traits.hpp return ptr.rows; rows 77 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp int rows, cols; rows 93 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp ptr.rows = getRows(src); rows 121 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp int rows, cols; rows 134 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp const int rows = getRows(src1); rows 137 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); rows 143 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp ptr.rows = rows; rows 79 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp int rows, cols; rows 88 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.rows == 2 && warpMat.cols == 3 ); rows 93 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp map.rows = dstSize.height; rows 127 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp int rows, cols; rows 136 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.rows == 3 && warpMat.cols == 3 ); rows 141 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp map.rows = dstSize.height; rows 110 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp int rows, cols; rows 120 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp const int rows = getRows(ptr0); rows 123 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); rows 127 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp z.rows = rows; rows 137 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp const int rows = getRows(ptr0); rows 140 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); rows 141 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr2) == rows && getCols(ptr2) == cols ); rows 145 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp z.rows = rows; rows 155 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp const int rows = getRows(ptr0); rows 158 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); rows 159 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr2) == rows && getCols(ptr2) == cols ); rows 160 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr3) == rows && getCols(ptr3) == cols ); rows 164 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp z.rows = rows; rows 15 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(int i=0; i<mat.rows; i++) rows 41 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(int i=0; i<mat.rows; i++) rows 65 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( mat.rows ); rows 91 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( mat.rows ); rows 181 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertEquals(query.rows(), matches.size()); rows 186 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertTrue(Math.min(k, train.rows()) >= vdm.total()); rows 97 modules/features2d/misc/java/test/Features2dTest.java Mat imgQuery = imgTrain.submat(new Range(0, imgTrain.rows() - 100), Range.all()); rows 152 modules/features2d/perf/perf_batchDistance.cpp train.create( query.rows*countFactor, query.cols, sourceType ); rows 154 modules/features2d/perf/perf_batchDistance.cpp for( int qIdx = 0; qIdx < query.rows; qIdx++ ) rows 66 modules/features2d/src/agast.cpp int ysize = img.rows; rows 826 modules/features2d/src/agast.cpp int ysize = img.rows; rows 3270 modules/features2d/src/agast.cpp int ysize = img.rows; rows 5351 modules/features2d/src/agast.cpp int ysize = img.rows; rows 189 modules/features2d/src/akaze.cpp options.img_height = img.rows; rows 213 modules/features2d/src/akaze.cpp CV_Assert((!desc.rows || desc.cols == descriptorSize())); rows 214 modules/features2d/src/akaze.cpp CV_Assert((!desc.rows || (desc.type() == descriptorType()))); rows 60 modules/features2d/src/bagofwords.cpp size += _descriptors.rows; rows 64 modules/features2d/src/bagofwords.cpp size = _descriptors.rows; rows 96 modules/features2d/src/bagofwords.cpp descCount += descriptors[i].rows; rows 101 modules/features2d/src/bagofwords.cpp Mat submut = mergedDescriptors.rowRange((int)start, (int)(start + descriptors[i].rows)); rows 103 modules/features2d/src/bagofwords.cpp start += descriptors[i].rows; rows 165 modules/features2d/src/bagofwords.cpp return vocabulary.empty() ? 0 : vocabulary.rows; rows 663 modules/features2d/src/brisk.cpp const int border_y = image.rows - border; rows 2070 modules/features2d/src/brisk.cpp scores_ = cv::Mat_<uchar>::zeros(img_in.rows, img_in.cols); rows 2084 modules/features2d/src/brisk.cpp img_.create(layer.img().rows / 2, layer.img().cols / 2, CV_8U); rows 2091 modules/features2d/src/brisk.cpp img_.create(2 * (layer.img().rows / 3), 2 * (layer.img().cols / 3), CV_8U); rows 2096 modules/features2d/src/brisk.cpp scores_ = cv::Mat::zeros(img_.rows, img_.cols, CV_8U); rows 2122 modules/features2d/src/brisk.cpp if (x >= img_.cols - 3 || y >= img_.rows - 3) rows 2140 modules/features2d/src/brisk.cpp if (x >= img_.cols - 2 || y >= img_.rows - 2) rows 2293 modules/features2d/src/brisk.cpp CV_Assert(srcimg.rows / 2 == dstimg.rows); rows 2304 modules/features2d/src/brisk.cpp CV_Assert((srcimg.rows / 3) * 2 == dstimg.rows); rows 134 modules/features2d/src/draw.cpp if( size.width > outImg.cols || size.height > outImg.rows ) rows 213 modules/features2d/src/evaluation.cpp CV_Assert( !H.empty() && H.cols == 3 && H.rows == 3); rows 90 modules/features2d/src/fast.cpp for(i = 3; i < img.rows-2; i++) rows 98 modules/features2d/src/fast.cpp if( i < img.rows - 3 ) rows 263 modules/features2d/src/fast.cpp if( img.cols < 7 || img.rows < 7 ) rows 265 modules/features2d/src/fast.cpp size_t globalsize[] = { img.cols-6, img.rows-6 }; rows 122 modules/features2d/src/kaze.cpp options.img_height = img.rows; rows 148 modules/features2d/src/kaze.cpp CV_Assert((!desc.rows || desc.cols == descriptorSize())); rows 149 modules/features2d/src/kaze.cpp CV_Assert((!desc.rows || (desc.type() == descriptorType()))); rows 110 modules/features2d/src/kaze/AKAZEFeatures.cpp Mat Lflow = Mat::zeros(evolution_[0].Lt.rows, evolution_[0].Lt.cols, CV_32F); rows 111 modules/features2d/src/kaze/AKAZEFeatures.cpp Mat Lstep = Mat::zeros(evolution_[0].Lt.rows, evolution_[0].Lt.cols, CV_32F); rows 124 modules/features2d/src/kaze/AKAZEFeatures.cpp Lflow = Mat::zeros(evolution_[i].Lt.rows, evolution_[i].Lt.cols, CV_32F); rows 125 modules/features2d/src/kaze/AKAZEFeatures.cpp Lstep = Mat::zeros(evolution_[i].Lt.rows, evolution_[i].Lt.cols, CV_32F); rows 238 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int ix = 0; ix < evolution_[i].Ldet.rows; ix++) rows 278 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int ix = 1; ix < evolution_[i].Ldet.rows - 1; ix++) { rows 339 modules/features2d/src/kaze/AKAZEFeatures.cpp up_y < 0 || down_y >= evolution_[i].Ldet.rows) { rows 1460 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int i = 0; i < descriptorSamples_.rows; i++) { rows 1510 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int i = 0; i<descriptorBits_.rows; i++) { rows 1550 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int i = 0; i < descriptorSamples_.rows; i++) { rows 1596 modules/features2d/src/kaze/AKAZEFeatures.cpp for (int i = 0; i<descriptorBits_.rows; i++) { rows 1663 modules/features2d/src/kaze/AKAZEFeatures.cpp int k = rand() % (fullM.rows - i); rows 1713 modules/features2d/src/kaze/AKAZEFeatures.cpp fullcopy.row(fullcopy.rows - i - 1).copyTo(tmp); rows 111 modules/features2d/src/kaze/KAZEFeatures.cpp Mat Lflow = Mat::zeros(evolution_[0].Lt.rows, evolution_[0].Lt.cols, CV_32F); rows 112 modules/features2d/src/kaze/KAZEFeatures.cpp Mat Lstep = Mat::zeros(evolution_[0].Lt.rows, evolution_[0].Lt.cols, CV_32F); rows 372 modules/features2d/src/kaze/KAZEFeatures.cpp up_y < 0 || down_y >= evolution_[level].Ldet.rows) { rows 222 modules/features2d/src/kaze/nldiffusion_functions.cpp Mat gaussian = Mat::zeros(img.rows, img.cols, CV_32F); rows 223 modules/features2d/src/kaze/nldiffusion_functions.cpp Mat Lx = Mat::zeros(img.rows, img.cols, CV_32F); rows 224 modules/features2d/src/kaze/nldiffusion_functions.cpp Mat Ly = Mat::zeros(img.rows, img.cols, CV_32F); rows 234 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int i = 1; i < gaussian.rows - 1; i++) { rows 248 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int i = 1; i < gaussian.rows - 1; i++) { rows 339 modules/features2d/src/kaze/nldiffusion_functions.cpp Mat temp(kernel->rows, kernel->cols, CV_32F, &kerI[0]); rows 407 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::parallel_for_(cv::Range(1, Lstep.rows - 1), Nld_Step_Scalar_Invoker(Ld, c, Lstep, stepsize), (double)Ld.total()/(1 << 16)); rows 424 modules/features2d/src/kaze/nldiffusion_functions.cpp dst = Lstep.ptr<float>(Lstep.rows - 1); rows 425 modules/features2d/src/kaze/nldiffusion_functions.cpp ccur = c.ptr<float>(Lstep.rows - 1); rows 426 modules/features2d/src/kaze/nldiffusion_functions.cpp cprv = c.ptr<float>(Lstep.rows - 2); rows 427 modules/features2d/src/kaze/nldiffusion_functions.cpp ldcur = Ld.ptr<float>(Lstep.rows - 1); rows 428 modules/features2d/src/kaze/nldiffusion_functions.cpp ldprv = Ld.ptr<float>(Lstep.rows - 2); rows 445 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int i = 1; i < Lstep.rows - 1; i++) { rows 478 modules/features2d/src/kaze/nldiffusion_functions.cpp CV_Assert(src.rows / 2 == dst.rows); rows 499 modules/features2d/src/kaze/nldiffusion_functions.cpp if (i >= 0 && i < img.rows && j >= 0 && j < img.cols) { rows 55 modules/features2d/src/matchers.cpp static void ensureSizeIsEnough(int rows, int cols, int type, UMat &m) rows 57 modules/features2d/src/matchers.cpp if (m.type() == type && m.rows >= rows && m.cols >= cols) rows 58 modules/features2d/src/matchers.cpp m = m(Rect(0, 0, cols, rows)); rows 60 modules/features2d/src/matchers.cpp m.create(rows, cols, type); rows 69 modules/features2d/src/matchers.cpp const int query_rows = query.rows(); rows 108 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); rows 110 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); rows 167 modules/features2d/src/matchers.cpp const int query_rows = query.rows(); rows 208 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); rows 210 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); rows 227 modules/features2d/src/matchers.cpp const int nQuery = trainIdx.type() == CV_32SC2 ? trainIdx.cols : trainIdx.rows; rows 279 modules/features2d/src/matchers.cpp const int query_rows = query.rows(); rows 280 modules/features2d/src/matchers.cpp const int train_rows = train.rows(); rows 319 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); rows 321 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); rows 338 modules/features2d/src/matchers.cpp (_nMatches.type() != CV_32SC1 || _nMatches.cols != trainIdx.rows) ) rows 341 modules/features2d/src/matchers.cpp const int nQuery = trainIdx.rows; rows 428 modules/features2d/src/matchers.cpp s = descriptors[i-1].rows; rows 441 modules/features2d/src/matchers.cpp int count = startIdxs[imageCount-1] + descriptors[imageCount-1].rows; rows 451 modules/features2d/src/matchers.cpp Mat m = mergedDescriptors.rowRange( startIdxs[i], startIdxs[i] + descriptors[i].rows ); rows 495 modules/features2d/src/matchers.cpp return mergedDescriptors.rows; rows 610 modules/features2d/src/matchers.cpp int rows = trainDescCollection[i].empty() ? utrainDescCollection[i].rows : trainDescCollection[i].rows; rows 611 modules/features2d/src/matchers.cpp CV_Assert( masks[i].rows == queryDescriptorsCount && rows 612 modules/features2d/src/matchers.cpp (masks[i].cols == rows || masks[i].cols == rows) && rows 807 modules/features2d/src/matchers.cpp matches.reserve(queryDescriptors.rows); rows 819 modules/features2d/src/matchers.cpp CV_Assert( trainDescCollection[iIdx].rows < IMGIDX_ONE ); rows 832 modules/features2d/src/matchers.cpp for( int qIdx = 0; qIdx < queryDescriptors.rows; qIdx++ ) rows 929 modules/features2d/src/matchers.cpp matches.resize(queryDescriptors.rows); rows 945 modules/features2d/src/matchers.cpp for( int qIdx = 0; qIdx < queryDescriptors.rows; qIdx++ ) rows 959 modules/features2d/src/matchers.cpp for( int qIdx = 0; qIdx < queryDescriptors.rows; qIdx++ ) rows 1030 modules/features2d/src/matchers.cpp addedDescCount += descriptors[i].rows; rows 1273 modules/features2d/src/matchers.cpp matches.resize( indices.rows ); rows 1274 modules/features2d/src/matchers.cpp for( int i = 0; i < indices.rows; i++ ) rows 1298 modules/features2d/src/matchers.cpp Mat indices( queryDescriptors.rows, knn, CV_32SC1 ); rows 1299 modules/features2d/src/matchers.cpp Mat dists( queryDescriptors.rows, knn, CV_32FC1); rows 1310 modules/features2d/src/matchers.cpp Mat indices( queryDescriptors.rows, count, CV_32SC1, Scalar::all(-1) ); rows 1311 modules/features2d/src/matchers.cpp Mat dists( queryDescriptors.rows, count, CV_32FC1, Scalar::all(-1) ); rows 1312 modules/features2d/src/matchers.cpp for( int qIdx = 0; qIdx < queryDescriptors.rows; qIdx++ ) rows 353 modules/features2d/src/mser.cpp int i, j, cols = img.cols, rows = img.rows; rows 355 modules/features2d/src/mser.cpp pixbuf.resize(step*rows); rows 356 modules/features2d/src/mser.cpp heapbuf.resize(cols*rows + 256); rows 357 modules/features2d/src/mser.cpp histbuf.resize(cols*rows); rows 363 modules/features2d/src/mser.cpp pixbuf[j] = pixbuf[j + (rows-1)*step] = borderpix; rows 366 modules/features2d/src/mser.cpp for( i = 1; i < rows-1; i++ ) rows 389 modules/features2d/src/mser.cpp int j, cols = img.cols, rows = img.rows; rows 391 modules/features2d/src/mser.cpp for( i = 1; i < rows-1; i++ ) rows 713 modules/features2d/src/mser.cpp for ( int i = 0; i < src.rows; i++ ) rows 728 modules/features2d/src/mser.cpp for ( int i = 0; i < src.rows-1; i++ ) rows 773 modules/features2d/src/mser.cpp for ( int i = 1; i < src.rows-1; i++ ) rows 814 modules/features2d/src/mser.cpp nodeptr->index = (src.rows-1)<<16; rows 829 modules/features2d/src/mser.cpp nodeptr->index = ((src.rows-1)<<16)|i; rows 843 modules/features2d/src/mser.cpp nodeptr->index = ((src.rows-1)<<16)|(src.cols-1); rows 901 modules/features2d/src/mser.cpp MSCRNode* map = (MSCRNode*)cvAlloc( src.cols*src.rows*sizeof(map[0]) ); rows 902 modules/features2d/src/mser.cpp int Ne = src.cols*src.rows*2-src.cols-src.rows; rows 904 modules/features2d/src/mser.cpp TempMSCR* mscr = (TempMSCR*)cvAlloc( src.cols*src.rows*sizeof(mscr[0]) ); rows 906 modules/features2d/src/mser.cpp Mat dx( src.rows, src.cols-1, CV_64FC1 ); rows 907 modules/features2d/src/mser.cpp Mat dy( src.rows-1, src.cols, CV_64FC1 ); rows 1000 modules/features2d/src/orb.cpp int level_dy = image.rows + border*2; rows 1008 modules/features2d/src/orb.cpp Size sz(cvRound(image.cols/scale), cvRound(image.rows/scale)); rows 60 modules/features2d/test/test_descriptors_regression.cpp fwrite( (void*)&mat.rows, sizeof(int), 1, f ); rows 63 modules/features2d/test/test_descriptors_regression.cpp int dataSize = (int)(mat.step * mat.rows * mat.channels()); rows 75 modules/features2d/test/test_descriptors_regression.cpp int rows, cols, type, dataSize; rows 76 modules/features2d/test/test_descriptors_regression.cpp size_t elements_read1 = fread( (void*)&rows, sizeof(int), 1, f ); rows 82 modules/features2d/test/test_descriptors_regression.cpp int step = dataSize / rows / CV_ELEM_SIZE(type); rows 85 modules/features2d/test/test_descriptors_regression.cpp Mat m = Mat(rows, step, type).colRange(0, cols); rows 126 modules/features2d/test/test_descriptors_regression.cpp for( int y = 0; y < validDescriptors.rows; y++ ) rows 216 modules/features2d/test/test_descriptors_regression.cpp ts->printf(cvtest::TS::LOG, "\nAverage time of computing one descriptor = %g ms.\n", t/((double)getTickFrequency()*1000.)/calcDescriptors.rows); rows 218 modules/features2d/test/test_descriptors_regression.cpp if( calcDescriptors.rows != (int)keypoints.size() ) rows 222 modules/features2d/test/test_descriptors_regression.cpp ts->printf( cvtest::TS::LOG, "Count of computed descriptors is %d.\n", calcDescriptors.rows ); rows 375 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT(descriptors[i].rows, 100); rows 410 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); rows 420 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); rows 430 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); rows 440 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); rows 87 modules/features2d/test/test_keypoints.cpp Rect r(0, 0, image.cols, image.rows); rows 176 modules/features2d/test/test_matchers_algorithmic.cpp train.create( query.rows*countFactor, query.cols, CV_32FC1 ); rows 178 modules/features2d/test/test_matchers_algorithmic.cpp for( int qIdx = 0; qIdx < query.rows; qIdx++ ) rows 230 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != query.rows ) rows 256 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) ); rows 257 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) ); rows 262 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); rows 353 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) ); rows 354 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) ); rows 359 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); rows 456 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) ); rows 457 modules/features2d/test/test_matchers_algorithmic.cpp dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) ); rows 462 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); rows 180 modules/features2d/test/test_nearestneighbors.cpp Mat dist( points.rows, neighbors.cols, CV_32FC1); rows 188 modules/features2d/test/test_nearestneighbors.cpp for( int i = 0; i < points.rows; i++ ) rows 215 modules/features2d/test/test_nearestneighbors.cpp for( int i = 0; i < points.rows; i++ ) rows 77 modules/features2d/test/test_orb.cpp ASSERT_GT(image.rows, y); rows 70 modules/features2d/test/test_rotation_and_scale_invariance.cpp float diag = std::sqrt(static_cast<float>(srcImage.cols * srcImage.cols + srcImage.rows * srcImage.rows)); rows 73 modules/features2d/test/test_rotation_and_scale_invariance.cpp LUShift.at<float>(1,2) = static_cast<float>(-srcImage.rows/2); rows 435 modules/features2d/test/test_rotation_and_scale_invariance.cpp image0.cols, image0.rows, keypoints0.size(), rows 436 modules/features2d/test/test_rotation_and_scale_invariance.cpp image1.cols, image1.rows, keypoints1.size()); rows 255 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_dataset((ElementType*)dataset.ptr<ElementType>(0), dataset.rows, dataset.cols); rows 288 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_queries((ElementType*)queries.ptr<ElementType>(0), queries.rows, queries.cols); rows 292 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); rows 296 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); rows 320 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)query.ptr<ElementType>(0), query.rows, query.cols); rows 324 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); rows 328 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); rows 411 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_dataset((ElementType*)dataset.ptr<ElementType>(0), dataset.rows, dataset.cols); rows 454 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_queries((ElementType*)queries.ptr<ElementType>(0), queries.rows, queries.cols); rows 458 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); rows 462 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); rows 484 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)query.ptr<ElementType>(0), query.rows, query.cols); rows 488 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); rows 492 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); rows 526 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_features((ElementType*)features.ptr<ElementType>(0), features.rows, features.cols); rows 530 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_centers((DistanceType*)centers.ptr<DistanceType>(0), centers.rows, centers.cols); rows 241 modules/flann/include/opencv2/flann/autotuned_index.h float datasetMemory = float(sampledDataset_.rows * sampledDataset_.cols * sizeof(float)); rows 266 modules/flann/include/opencv2/flann/autotuned_index.h float datasetMemory = float(sampledDataset_.rows * sampledDataset_.cols * sizeof(float)); rows 415 modules/flann/include/opencv2/flann/autotuned_index.h int sampleSize = int(sample_fraction_ * dataset_.rows); rows 418 modules/flann/include/opencv2/flann/autotuned_index.h Logger::info("Entering autotuning, dataset size: %d, sampleSize: %d, testSampleSize: %d, target precision: %g\n", dataset_.rows, sampleSize, testSampleSize, target_precision_); rows 434 modules/flann/include/opencv2/flann/autotuned_index.h gt_matches_ = Matrix<int>(new int[testDataset_.rows], testDataset_.rows, 1); rows 498 modules/flann/include/opencv2/flann/autotuned_index.h int samples = (int)std::min(dataset_.rows / 10, SAMPLE_COUNT); rows 505 modules/flann/include/opencv2/flann/autotuned_index.h Matrix<int> gt_matches(new int[testDataset.rows], testDataset.rows, 1); rows 85 modules/flann/include/opencv2/flann/flann_base.hpp if ((size_t(header.rows) != dataset.rows)||(size_t(header.cols) != dataset.cols)) { rows 55 modules/flann/include/opencv2/flann/ground_truth.h for (size_t i=1; i<dataset.rows; ++i) { rows 86 modules/flann/include/opencv2/flann/ground_truth.h for (size_t i=0; i<testset.rows; ++i) { rows 94 modules/flann/include/opencv2/flann/hdf5.h dimsf[0] = dataset.rows; rows 212 modules/flann/include/opencv2/flann/hdf5.h dataset.rows = count[0]; rows 214 modules/flann/include/opencv2/flann/hdf5.h dataset.data = new T[dataset.rows*dataset.cols]; rows 363 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h size_ = dataset.rows; rows 114 modules/flann/include/opencv2/flann/index_testing.h for (size_t i = 0; i < testData.rows; i++) { rows 125 modules/flann/include/opencv2/flann/index_testing.h float precicion = (float)correct/(nn*testData.rows); rows 127 modules/flann/include/opencv2/flann/index_testing.h dist = distR/(testData.rows*nn); rows 130 modules/flann/include/opencv2/flann/index_testing.h checks, precicion, time, 1000.0 * time / testData.rows, dist); rows 88 modules/flann/include/opencv2/flann/kdtree_index.h size_ = dataset_.rows; rows 187 modules/flann/include/opencv2/flann/kdtree_index.h return int(pool_.usedMemory+pool_.wastedMemory+dataset_.rows*sizeof(int)); // pool memory and vind array memory rows 88 modules/flann/include/opencv2/flann/kdtree_single_index.h size_ = dataset_.rows; rows 200 modules/flann/include/opencv2/flann/kdtree_single_index.h return (int)(pool_.usedMemory+pool_.wastedMemory+dataset_.rows*sizeof(int)); // pool memory and vind array memory rows 215 modules/flann/include/opencv2/flann/kdtree_single_index.h assert(indices.rows >= queries.rows); rows 216 modules/flann/include/opencv2/flann/kdtree_single_index.h assert(dists.rows >= queries.rows); rows 221 modules/flann/include/opencv2/flann/kdtree_single_index.h for (size_t i = 0; i < queries.rows; i++) { rows 321 modules/flann/include/opencv2/flann/kdtree_single_index.h for (size_t k=1; k<dataset_.rows; ++k) { rows 352 modules/flann/include/opencv2/flann/kmeans_index.h size_ = dataset_.rows; rows 532 modules/flann/include/opencv2/flann/kmeans_index.h int numClusters = centers.rows; rows 74 modules/flann/include/opencv2/flann/linear_index.h return dataset_.rows; rows 109 modules/flann/include/opencv2/flann/linear_index.h for (size_t i = 0; i < dataset_.rows; ++i, data += dataset_.cols) { rows 156 modules/flann/include/opencv2/flann/lsh_index.h return dataset_.rows; rows 173 modules/flann/include/opencv2/flann/lsh_index.h return (int)(dataset_.rows * sizeof(int)); rows 193 modules/flann/include/opencv2/flann/lsh_index.h assert(indices.rows >= queries.rows); rows 194 modules/flann/include/opencv2/flann/lsh_index.h assert(dists.rows >= queries.rows); rows 200 modules/flann/include/opencv2/flann/lsh_index.h for (size_t i = 0; i < queries.rows; i++) { rows 198 modules/flann/include/opencv2/flann/lsh_table.h buckets_space_.rehash((buckets_space_.size() + dataset.rows) * 1.2); rows 201 modules/flann/include/opencv2/flann/lsh_table.h for (unsigned int i = 0; i < dataset.rows; ++i) add(i, dataset[i]); rows 51 modules/flann/include/opencv2/flann/matrix.h size_t rows; rows 56 modules/flann/include/opencv2/flann/matrix.h Matrix() : rows(0), cols(0), stride(0), data(NULL) rows 61 modules/flann/include/opencv2/flann/matrix.h rows(rows_), cols(cols_), stride(stride_), data(data_) rows 90 modules/flann/include/opencv2/flann/matrix.h size_t rows; rows 96 modules/flann/include/opencv2/flann/matrix.h rows(rows_), cols(cols_), data(data_) rows 108 modules/flann/include/opencv2/flann/matrix.h return Matrix<T>((T*)data, rows, cols); rows 71 modules/flann/include/opencv2/flann/nn_index.h assert(indices.rows >= queries.rows); rows 72 modules/flann/include/opencv2/flann/nn_index.h assert(dists.rows >= queries.rows); rows 78 modules/flann/include/opencv2/flann/nn_index.h for (size_t i = 0; i < queries.rows; i++) { rows 84 modules/flann/include/opencv2/flann/nn_index.h for (size_t i = 0; i < queries.rows; i++) { rows 104 modules/flann/include/opencv2/flann/nn_index.h if (query.rows != 1) { rows 46 modules/flann/include/opencv2/flann/sampling.h long r = rand_int((int)(srcMatrix.rows-i)); rows 51 modules/flann/include/opencv2/flann/sampling.h src = srcMatrix[srcMatrix.rows-i-1]; rows 57 modules/flann/include/opencv2/flann/sampling.h srcMatrix.rows -= size; rows 65 modules/flann/include/opencv2/flann/sampling.h UniqueRandom rand((int)srcMatrix.rows); rows 75 modules/flann/include/opencv2/flann/saving.h size_t rows; rows 95 modules/flann/include/opencv2/flann/saving.h header.rows = index.size(); rows 135 modules/flann/include/opencv2/flann/saving.h fwrite(value.data, sizeof(T),value.rows*value.cols, stream); rows 162 modules/flann/include/opencv2/flann/saving.h value.data = new T[value.rows*value.cols]; rows 163 modules/flann/include/opencv2/flann/saving.h read_cnt = fread(value.data, sizeof(T), value.rows*value.cols, stream); rows 164 modules/flann/include/opencv2/flann/saving.h if (read_cnt != (size_t)(value.rows*value.cols)) { rows 319 modules/flann/src/miniflann.cpp ::cvflann::Matrix<ElementType> dataset((ElementType*)data.data, data.rows, data.cols); rows 472 modules/flann/src/miniflann.cpp ::cvflann::Matrix<ElementType> _query((ElementType*)query.data, query.rows, query.cols); rows 473 modules/flann/src/miniflann.cpp ::cvflann::Matrix<int> _indices(indices.ptr<int>(), indices.rows, indices.cols); rows 474 modules/flann/src/miniflann.cpp ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); rows 498 modules/flann/src/miniflann.cpp ::cvflann::Matrix<ElementType> _query((ElementType*)query.data, query.rows, query.cols); rows 499 modules/flann/src/miniflann.cpp ::cvflann::Matrix<int> _indices(indices.ptr<int>(), indices.rows, indices.cols); rows 500 modules/flann/src/miniflann.cpp ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); rows 516 modules/flann/src/miniflann.cpp Mat& indices, Mat& dists, int rows, rows 523 modules/flann/src/miniflann.cpp indices.rows != rows || indices.cols < minCols || indices.cols > maxCols ) rows 527 modules/flann/src/miniflann.cpp _indices.create( rows, minCols, CV_32S ); rows 532 modules/flann/src/miniflann.cpp indices.create( rows, minCols, CV_32S ); rows 538 modules/flann/src/miniflann.cpp dists.rows != rows || dists.cols < minCols || dists.cols > maxCols ) rows 542 modules/flann/src/miniflann.cpp _dists.create( rows, minCols, dtype ); rows 547 modules/flann/src/miniflann.cpp dists.create( rows, minCols, dtype ); rows 557 modules/flann/src/miniflann.cpp createIndicesDists( _indices, _dists, indices, dists, query.rows, knn, knn, dtype ); rows 599 modules/flann/src/miniflann.cpp createIndicesDists( _indices, _dists, indices, dists, query.rows, maxResults, INT_MAX, dtype ); rows 707 modules/flann/src/miniflann.cpp ::cvflann::Matrix<ElementType> dataset((ElementType*)data.data, data.rows, data.cols); rows 742 modules/flann/src/miniflann.cpp if( (int)header.rows != data.rows || (int)header.cols != data.cols || rows 746 modules/flann/src/miniflann.cpp (int)header.rows, (int)header.cols, featureType, data.rows, data.cols, data.type()); rows 816 modules/highgui/src/window_QT.cpp QImage qimg(mat->data.ptr, mat->cols, mat->rows, mat->step, QImage::Format_RGB888); rows 2411 modules/highgui/src/window_QT.cpp image2Draw_mat = cvCreateMat(mat->rows, mat->cols, CV_8UC3); rows 2412 modules/highgui/src/window_QT.cpp image2Draw_qt = QImage(image2Draw_mat->data.ptr, image2Draw_mat->cols, image2Draw_mat->rows, image2Draw_mat->step, QImage::Format_RGB888); rows 2416 modules/highgui/src/window_QT.cpp ratioY = height() / float(image2Draw_mat->rows); rows 2581 modules/highgui/src/window_QT.cpp ratioY = height() / float(image2Draw_mat->rows); rows 2585 modules/highgui/src/window_QT.cpp QSize newSize = QSize(image2Draw_mat->cols, image2Draw_mat->rows); rows 2885 modules/highgui/src/window_QT.cpp return QSize(image2Draw_mat->cols, image2Draw_mat->rows); rows 2893 modules/highgui/src/window_QT.cpp image2Draw_qt = QImage(image2Draw_mat->data.ptr, image2Draw_mat->cols, image2Draw_mat->rows,image2Draw_mat->step,QImage::Format_RGB888); rows 108 modules/highgui/src/window_carbon.cpp int rows; rows 262 modules/highgui/src/window_carbon.cpp int height = window->imageHeight = window->image->rows; rows 414 modules/highgui/src/window_carbon.cpp window->image = cvCreateMat( image->rows, image->cols, CV_8UC3 ); rows 126 modules/highgui/src/window_gtk.cpp widget->original_image = cvCreateMat( mat->rows, mat->cols, CV_8UC3 ); rows 274 modules/highgui/src/window_gtk.cpp gdk_window_get_height(gtk_widget_get_window(widget)) : image_widget->original_image->rows; rows 281 modules/highgui/src/window_gtk.cpp *natural_height = *minimal_height < image_widget->scaled_image->rows ? rows 304 modules/highgui/src/window_gtk.cpp requisition->height = image_widget->original_image->rows; rows 310 modules/highgui/src/window_gtk.cpp requisition->height = image_widget->scaled_image->rows; rows 332 modules/highgui/src/window_gtk.cpp image_widget->original_image->rows, max_width, max_height ); rows 336 modules/highgui/src/window_gtk.cpp image_widget->scaled_image->rows != scaled_image_size.height )) rows 371 modules/highgui/src/window_gtk.cpp image_widget->original_image->rows); rows 389 modules/highgui/src/window_gtk.cpp allocation->height = image_widget->original_image->rows; rows 393 modules/highgui/src/window_gtk.cpp widget->allocation.height = image_widget->original_image->rows; rows 397 modules/highgui/src/window_gtk.cpp image_widget->original_image->cols, image_widget->original_image->rows ); rows 538 modules/highgui/src/window_gtk.cpp int rows; rows 921 modules/highgui/src/window_gtk.cpp int y0 = (gtk_widget_get_allocated_height(widget) - image_widget->scaled_image->rows)/2; rows 925 modules/highgui/src/window_gtk.cpp MIN(image_widget->scaled_image->rows, gtk_widget_get_allocated_height(widget)), rows 933 modules/highgui/src/window_gtk.cpp MIN(image_widget->original_image->rows, gtk_widget_get_allocated_height(widget)), rows 975 modules/highgui/src/window_gtk.cpp int y0 = (widget->allocation.height - image_widget->scaled_image->rows)/2; rows 979 modules/highgui/src/window_gtk.cpp MIN(image_widget->scaled_image->rows, widget->allocation.height), rows 987 modules/highgui/src/window_gtk.cpp MIN(image_widget->original_image->rows, widget->allocation.height), rows 1901 modules/highgui/src/window_gtk.cpp int y0 = (gtk_widget_get_allocated_height(widget) - image_widget->scaled_image->rows)/2; rows 1904 modules/highgui/src/window_gtk.cpp int y0 = (widget->allocation.height - image_widget->scaled_image->rows)/2; rows 1908 modules/highgui/src/window_gtk.cpp pt.y = cvFloor( ((pt32f.y-y0)*image_widget->original_image->rows)/ rows 1909 modules/highgui/src/window_gtk.cpp image_widget->scaled_image->rows ); rows 171 modules/highgui/src/window_w32.cpp int rows; rows 1342 modules/highgui/src/window_w32.cpp minmax->ptMinTrackSize.y += window->toolbar.rows*(rect.bottom - rect.top); rows 1809 modules/highgui/src/window_w32.cpp int rows = (int)SendMessage(hwnd, TB_GETROWS, 0, 0); rows 1811 modules/highgui/src/window_w32.cpp if(window->toolbar.rows != rows) rows 1827 modules/highgui/src/window_w32.cpp window->toolbar.rows = rows; rows 2049 modules/highgui/src/window_w32.cpp window->toolbar.rows = 0; rows 44 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(512 == dst.rows()); rows 52 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(512 == dst.rows()); rows 135 modules/imgcodecs/src/bitstrm.cpp m_end = m_start + buf.cols*buf.rows*buf.elemSize(); rows 504 modules/imgcodecs/src/grfmt_bmp.cpp int width = img.cols, height = img.rows, channels = img.channels(); rows 580 modules/imgcodecs/src/grfmt_exr.cpp int width = img.cols, height = img.rows; rows 91 modules/imgcodecs/src/grfmt_hdr.cpp RGBE_ReadPixels_RLE(file, const_cast<float*>(img.ptr<float>()), img.cols, img.rows); rows 144 modules/imgcodecs/src/grfmt_hdr.cpp RGBE_WriteHeader(fout, img.cols, img.rows, NULL); rows 146 modules/imgcodecs/src/grfmt_hdr.cpp RGBE_WritePixels_RLE(fout, const_cast<float*>(img.ptr<float>()), img.cols, img.rows); rows 148 modules/imgcodecs/src/grfmt_hdr.cpp RGBE_WritePixels(fout, const_cast<float*>(img.ptr<float>()), img.cols * img.rows); rows 232 modules/imgcodecs/src/grfmt_jpeg.cpp state->source.pub.bytes_in_buffer = m_buf.cols*m_buf.rows*m_buf.elemSize(); rows 558 modules/imgcodecs/src/grfmt_jpeg.cpp int width = img.cols, height = img.rows; rows 440 modules/imgcodecs/src/grfmt_jpeg2000.cpp int width = _img.cols, height = _img.rows; rows 497 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); rows 521 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); rows 132 modules/imgcodecs/src/grfmt_png.cpp if( decoder->m_buf_pos + size > buf.cols*buf.rows*buf.elemSize() ) rows 346 modules/imgcodecs/src/grfmt_png.cpp int y, width = img.cols, height = img.rows; rows 374 modules/imgcodecs/src/grfmt_pxm.cpp int width = img.cols, height = img.rows; rows 401 modules/imgcodecs/src/grfmt_sunras.cpp int y, width = img.cols, height = img.rows, channels = img.channels(); rows 520 modules/imgcodecs/src/grfmt_tiff.cpp int width = img.cols, height = img.rows; rows 659 modules/imgcodecs/src/grfmt_tiff.cpp TIFFSetField(tif, TIFFTAG_IMAGELENGTH, img.rows); rows 668 modules/imgcodecs/src/grfmt_tiff.cpp for (int i = 0; i < img.rows; i++, ptr += strip_size) rows 685 modules/imgcodecs/src/grfmt_tiff.cpp int width = img.cols, height = img.rows; rows 165 modules/imgcodecs/src/grfmt_webp.cpp if (img.cols != m_width || img.rows != m_height || img.type() != m_type) rows 171 modules/imgcodecs/src/grfmt_webp.cpp size_t out_data_size = img.cols * img.rows * img.elemSize(); rows 210 modules/imgcodecs/src/grfmt_webp.cpp int width = img.cols, height = img.rows; rows 163 modules/imgcodecs/src/loadsave.cpp if( buf.rows*buf.cols < 1 || !buf.isContinuous() ) rows 173 modules/imgcodecs/src/loadsave.cpp size_t bufSize = buf.rows*buf.cols*buf.elemSize(); rows 486 modules/imgcodecs/src/loadsave.cpp size_t bufSize = buf.cols*buf.rows*buf.elemSize(); rows 668 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); rows 676 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); rows 644 modules/imgcodecs/src/utils.cpp CvSize size(src->cols, src->rows); rows 175 modules/imgcodecs/test/test_drawing.cpp Point textOrg((img.cols - textSize.width)/2, (img.rows + textSize.height)/2); rows 571 modules/imgcodecs/test/test_grfmt.cpp params.push_back(big.rows); rows 625 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(1, img.rows); rows 821 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(512, img_webp.rows); rows 846 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(512, img_webp.rows); rows 325 modules/imgproc/include/opencv2/imgproc/imgproc_c.h int cols, int rows, int anchor_x, int anchor_y, rows 145 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(src.rows(), Core.countNonZero(dst)); rows 584 modules/imgproc/misc/java/test/ImgprocTest.java Point truthPosition = new Point(img.cols() / 2, img.rows() / 2); rows 967 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray255.cols() / 2, gray255.rows() / 2); rows 978 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(src.cols() / 2, src.rows() / 2); rows 1054 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.HoughCircles(img, circles, Imgproc.CV_HOUGH_GRADIENT, 2, img.rows() / 4); rows 1064 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(img.cols() / 2, img.rows() / 2); rows 1065 modules/imgproc/misc/java/test/ImgprocTest.java int radius = Math.min(img.cols() / 4, img.rows() / 4); rows 1068 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.HoughCircles(img, circles, Imgproc.CV_HOUGH_GRADIENT, 2, img.rows() / 4); rows 1081 modules/imgproc/misc/java/test/ImgprocTest.java Point point2 = new Point(img.cols() / 2, img.rows() / 2); rows 1950 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1951 modules/imgproc/misc/java/test/ImgprocTest.java int radius = Math.min(gray0.cols() / 4, gray0.rows() / 4); rows 1960 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1961 modules/imgproc/misc/java/test/ImgprocTest.java int radius = Math.min(gray0.cols() / 4, gray0.rows() / 4); rows 1970 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 1971 modules/imgproc/misc/java/test/ImgprocTest.java Point center2 = new Point(gray0.cols(), gray0.rows()); rows 1972 modules/imgproc/misc/java/test/ImgprocTest.java int radius = Math.min(gray0.cols() / 4, gray0.rows() / 4); rows 2031 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 2041 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 2051 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); rows 2053 modules/imgproc/misc/java/test/ImgprocTest.java Point center2 = new Point(gray0.cols(), gray0.rows()); rows 55 modules/imgproc/misc/java/test/Subdiv2DTest.java assertEquals(10, triangles.rows()); rows 45 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(100, 0), Point(100, src.rows), Scalar::all(255), 1); rows 46 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(200, 0), Point(200, src.rows), Scalar::all(255), 1); rows 47 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(400, 0), Point(400, src.rows), Scalar::all(255), 1); rows 59 modules/imgproc/perf/opencl/perf_matchTemplate.cpp const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); rows 77 modules/imgproc/perf/opencl/perf_matchTemplate.cpp const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); rows 71 modules/imgproc/perf/perf_floodfill.cpp EXPECT_EQ(image0.rows, source.rows); rows 43 modules/imgproc/perf/perf_remap.cpp for (int j = 0; j < map1.rows; ++j) rows 41 modules/imgproc/perf/perf_warp.cpp Mat warpMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2); rows 71 modules/imgproc/perf/perf_warp.cpp Mat rotMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2); rows 173 modules/imgproc/perf/perf_warp.cpp for( int j = 0; j < src.rows; j++ ) rows 180 modules/imgproc/perf/perf_warp.cpp if( i > src.cols*0.25 && i < src.cols*0.75 && j > src.rows*0.25 && j < src.rows*0.75 ) rows 183 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = 2*( j - src.rows*0.25f ) + 0.5f ; rows 193 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = static_cast<float>(src.rows - j) ; rows 201 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = static_cast<float>(src.rows - j) ; rows 838 modules/imgproc/src/accum.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; rows 114 modules/imgproc/src/blend.cpp size_t globalsize[2] = { dst.cols, dst.rows }; rows 142 modules/imgproc/src/blend.cpp parallel_for_(Range(0, src1.rows), invoker, dst.total()/(double)(1<<16)); rows 147 modules/imgproc/src/blend.cpp parallel_for_(Range(0, src1.rows), invoker, dst.total()/(double)(1<<16)); rows 61 modules/imgproc/src/canny.cpp IppiSize roi = { _src.cols, _src.rows }; rows 76 modules/imgproc/src/canny.cpp Mat _dx(_src.rows, _src.cols, CV_16S); rows 82 modules/imgproc/src/canny.cpp Mat _dy(_src.rows, _src.cols, CV_16S); rows 268 modules/imgproc/src/canny.cpp if (boundaries.start == 0 && boundaries.end == src.rows) rows 275 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short)); rows 276 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short)); rows 278 modules/imgproc/src/canny.cpp Sobel(src, tempdx.rowRange(1, tempdx.rows - 1), CV_16S, 1, 0, aperture_size, 1, 0, BORDER_REPLICATE); rows 279 modules/imgproc/src/canny.cpp Sobel(src, tempdy.rowRange(1, tempdy.rows - 1), CV_16S, 0, 1, aperture_size, 1, 0, BORDER_REPLICATE); rows 292 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start, boundaries.end + 1 + ksize2), tempdx.rowRange(1, tempdx.rows), rows 294 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start, boundaries.end + 1 + ksize2), tempdy.rowRange(1, tempdy.rows), rows 297 modules/imgproc/src/canny.cpp dx = tempdx.rowRange(0, tempdx.rows - ksize2); rows 298 modules/imgproc/src/canny.cpp dy = tempdy.rowRange(0, tempdy.rows - ksize2); rows 300 modules/imgproc/src/canny.cpp else if (boundaries.end == src.rows) rows 305 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short)); rows 306 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short)); rows 308 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end), tempdx.rowRange(0, tempdx.rows - 1), rows 310 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end), tempdy.rowRange(0, tempdy.rows - 1), rows 313 modules/imgproc/src/canny.cpp dx = tempdx.rowRange(ksize2, tempdx.rows); rows 314 modules/imgproc/src/canny.cpp dy = tempdy.rowRange(ksize2, tempdy.rows); rows 326 modules/imgproc/src/canny.cpp dx = tempdx.rowRange(ksize2, tempdx.rows - ksize2); rows 327 modules/imgproc/src/canny.cpp dy = tempdy.rowRange(ksize2, tempdy.rows - ksize2); rows 642 modules/imgproc/src/canny.cpp AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2)); rows 646 modules/imgproc/src/canny.cpp memset(map + mapstep*(src.rows + 1), 1, mapstep); rows 649 modules/imgproc/src/canny.cpp int grainSize = src.rows / threadsNumber; rows 654 modules/imgproc/src/canny.cpp int maxGrainSize = src.rows - 2 - 2*ksize2; rows 658 modules/imgproc/src/canny.cpp grainSize = src.rows; rows 668 modules/imgproc/src/canny.cpp g.run(tbbCanny(Range(i * grainSize, src.rows), src, map, low, high, aperture_size, L2gradient)); rows 691 modules/imgproc/src/canny.cpp Mat dx(src.rows, src.cols, CV_16SC(cn)); rows 692 modules/imgproc/src/canny.cpp Mat dy(src.rows, src.cols, CV_16SC(cn)); rows 709 modules/imgproc/src/canny.cpp AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2) + cn * mapstep * 3 * sizeof(int)); rows 719 modules/imgproc/src/canny.cpp memset(map + mapstep*(src.rows + 1), 1, mapstep); rows 721 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * src.rows / 10); rows 750 modules/imgproc/src/canny.cpp for (int i = 0; i <= src.rows; i++) rows 753 modules/imgproc/src/canny.cpp if (i < src.rows) rows 956 modules/imgproc/src/canny.cpp for (int i = 0; i < src.rows; i++, pmap += mapstep, pdst += dst.step) rows 110 modules/imgproc/src/clahe.cpp size_t globalThreads[3] = { src.cols, src.rows, 1 }; rows 117 modules/imgproc/src/clahe.cpp idx = k.set(idx, src.rows); rows 429 modules/imgproc/src/clahe.cpp cv::parallel_for_(cv::Range(0, src.rows), *interpolationBody); rows 200 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorLoop_Invoker<Cvt>(src, dst, cvt), src.total()/(double)(1<<16) ); rows 246 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorIPPLoop_Invoker<Cvt>(src, dst, cvt, &ok), src.total()/(double)(1<<16) ); rows 261 modules/imgproc/src/color.cpp parallel_for_(Range(0, source.rows), CvtColorIPPLoop_Invoker<Cvt>(source, dst, cvt, &ok), rows 399 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 401 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows)) >= 0 : false; rows 416 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 418 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows), order) >= 0 : false; rows 434 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 436 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows), coeffs) >= 0 : false; rows 450 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 456 modules/imgproc/src/color.cpp return func(srcarray, srcStep, dst, dstStep, ippiSize(cols, rows)) >= 0; rows 469 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 475 modules/imgproc/src/color.cpp Mat temp(rows, cols, CV_MAKETYPE(depth, 3)); rows 476 modules/imgproc/src/color.cpp if(func1(srcarray, srcStep, temp.ptr(), (int)temp.step[0], ippiSize(cols, rows)) < 0) rows 479 modules/imgproc/src/color.cpp return func2(temp.ptr(), (int)temp.step[0], dst, dstStep, ippiSize(cols, rows), order) >= 0; rows 497 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 503 modules/imgproc/src/color.cpp temp.create(rows, cols, CV_MAKETYPE(depth, 3)); rows 504 modules/imgproc/src/color.cpp if(func1(src, srcStep, temp.ptr(), (int)temp.step[0], ippiSize(cols, rows), order) < 0) rows 506 modules/imgproc/src/color.cpp return func2(temp.ptr(), (int)temp.step[0], dst, dstStep, ippiSize(cols, rows)) >= 0; rows 525 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const rows 531 modules/imgproc/src/color.cpp temp.create(rows, cols, CV_MAKETYPE(depth, 3)); rows 532 modules/imgproc/src/color.cpp if(func1(src, srcStep, temp.ptr(), (int)temp.step[0], ippiSize(cols, rows)) < 0) rows 534 modules/imgproc/src/color.cpp return func2(temp.ptr(), (int)temp.step[0], dst, dstStep, ippiSize(cols, rows), order) >= 0; rows 6394 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows/2), converter); rows 6396 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows/2)); rows 6404 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows/2), converter); rows 6406 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows/2)); rows 6414 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows/2), converter); rows 6416 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows/2)); rows 6424 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows/2), converter); rows 6426 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows/2)); rows 6442 modules/imgproc/src/color.cpp const int h = src_.rows; rows 6502 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows/2), colorConverter); rows 6504 modules/imgproc/src/color.cpp colorConverter(Range(0, src.rows/2)); rows 6610 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows), converter); rows 6612 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows)); rows 6620 modules/imgproc/src/color.cpp parallel_for_(Range(0, _dst.rows), converter); rows 6622 modules/imgproc/src/color.cpp converter(Range(0, _dst.rows)); rows 6694 modules/imgproc/src/color.cpp size_t globalsize[] = { src.cols, (src.rows + pxPerWIy - 1) / pxPerWIy }; rows 46 modules/imgproc/src/colormap.cpp _dst.create(src.rows, src.cols, src.type()); rows 66 modules/imgproc/src/colormap.cpp if (src.rows != 1 && src.cols != 1) rows 77 modules/imgproc/src/colormap.cpp int n = XI.rows; rows 87 modules/imgproc/src/colormap.cpp int high = X.rows - 1; rows 119 modules/imgproc/src/colormap.cpp CV_Assert((x.cols == 1) && (x.rows == Y.rows) && (x.cols == Y.cols)); rows 105 modules/imgproc/src/connectedcomponents.cpp for(int l = 0; l < statsv.rows; ++l){ rows 193 modules/imgproc/src/connectedcomponents.cpp CV_Assert(L.rows == I.rows); rows 196 modules/imgproc/src/connectedcomponents.cpp const int rows = L.rows; rows 200 modules/imgproc/src/connectedcomponents.cpp const size_t Plength = 4 * (size_t(rows + 3 - 1)/3) * (size_t(cols + 3 - 1)/3); rows 205 modules/imgproc/src/connectedcomponents.cpp for(int r_i = 0; r_i < rows; ++r_i){ rows 317 modules/imgproc/src/connectedcomponents.cpp for(int r_i = 0; r_i < rows; ++r_i){ rows 444 modules/imgproc/src/convhull.cpp if( (mat->cols != 1 && mat->rows != 1) || !CV_IS_MAT_CONT(mat->type)) rows 448 modules/imgproc/src/convhull.cpp if( mat->cols + mat->rows - 1 < ptseq->total ) rows 459 modules/imgproc/src/convhull.cpp mat->cols + mat->rows - 1, &hull_header, &hullblock ); rows 494 modules/imgproc/src/convhull.cpp if( mat->rows > mat->cols ) rows 495 modules/imgproc/src/convhull.cpp mat->rows = hullseq->total; rows 568 modules/imgproc/src/convhull.cpp if( (mat->cols != 1 && mat->rows != 1) || rows 573 modules/imgproc/src/convhull.cpp if( mat->cols + mat->rows - 1 > ptseq->total ) rows 579 modules/imgproc/src/convhull.cpp mat->cols + mat->rows - 1, &hull_header, &hullblock ); rows 399 modules/imgproc/src/corner.cpp localsize[1] * (1 + (src.rows - 1) / localsize[1]) }; rows 483 modules/imgproc/src/corner.cpp size_t globalSizeY = ((Dx.rows + rows_per_thread - 1) / rows_per_thread) % blockSizeY == 0 ? rows 484 modules/imgproc/src/corner.cpp ((Dx.rows + rows_per_thread - 1) / rows_per_thread) : rows 485 modules/imgproc/src/corner.cpp (((Dx.rows + rows_per_thread - 1) / rows_per_thread) / blockSizeY + 1) * blockSizeY; rows 518 modules/imgproc/src/corner.cpp size_t globalsize[2] = { dst.cols, dst.rows }; rows 574 modules/imgproc/src/corner.cpp IppiSize srcRoi = { src.cols, src.rows }; rows 616 modules/imgproc/src/corner.cpp IppiSize roisize = { src.cols, src.rows }; rows 664 modules/imgproc/src/corner.cpp if( dsz.height != src.rows || dsz.width*CV_MAT_CN(dtype) != src.cols*6 || CV_MAT_DEPTH(dtype) != CV_32F ) rows 777 modules/imgproc/src/corner.cpp CV_Assert( src.rows == dst.rows && src.cols*6 == dst.cols*dst.channels() && dst.depth() == CV_32F ); rows 63 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.cols >= win.width*2 + 5 && src.rows >= win.height*2 + 5 ); rows 142 modules/imgproc/src/cornersubpix.cpp if( cI.x < 0 || cI.x >= src.cols || cI.y < 0 || cI.y >= src.rows ) rows 81 modules/imgproc/src/deriv.cpp Mat temp(kernel->rows, kernel->cols, CV_32S, &kerI[0]); rows 159 modules/imgproc/src/deriv.cpp Mat temp(kernel->rows, kernel->cols, CV_32S, &kerI[0]); rows 220 modules/imgproc/src/deriv.cpp if (offset.y + src.rows < size.height) rows 225 modules/imgproc/src/deriv.cpp IppiSize roiSize = {src.cols, src.rows}; rows 320 modules/imgproc/src/deriv.cpp IppiSize roi = ippiSize(src.cols, src.rows); rows 368 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrVertGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows),&bufSize)) rows 373 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), rows 382 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 387 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrHorizGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows),&bufSize)) rows 392 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), rows 397 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 430 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 435 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 443 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 448 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 457 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 462 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 470 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 475 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 488 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), &bufSize)) rows 493 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 497 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 503 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 507 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 511 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 518 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 523 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 527 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 533 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) rows 538 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), rows 543 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); rows 699 modules/imgproc/src/deriv.cpp (_src.cols() >= (int) (kernelX.cols + tileSizeX) && _src.rows() >= (int) (kernelY.cols + tileSizeYmax))) rows 794 modules/imgproc/src/deriv.cpp size_t globalsize[] = { dst.cols * cn / kercn, dst.rows }; rows 826 modules/imgproc/src/deriv.cpp IppiSize roisize = { src.cols, src.rows }; rows 923 modules/imgproc/src/deriv.cpp int dy0 = std::min(std::max((int)(STRIPE_SIZE/(CV_ELEM_SIZE(stype)*src.cols)), 1), src.rows); rows 924 modules/imgproc/src/deriv.cpp Mat d2x( dy0 + kd.rows - 1, src.cols, wtype ); rows 925 modules/imgproc/src/deriv.cpp Mat d2y( dy0 + kd.rows - 1, src.cols, wtype ); rows 927 modules/imgproc/src/deriv.cpp for( ; dsty < src.rows; sptr += dy0*src.step, dsty += dy ) rows 934 modules/imgproc/src/deriv.cpp d2x.rows = d2y.rows = dy; // modify the headers, which should work rows 451 modules/imgproc/src/distransform.cpp sat_tab = _sat_tab + src->rows*2 + 1; rows 458 modules/imgproc/src/distransform.cpp int m = src->rows; rows 563 modules/imgproc/src/distransform.cpp int i, m = src.rows, n = src.cols; rows 606 modules/imgproc/src/distransform.cpp int width = src.cols, height = src.rows; rows 694 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; rows 749 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; rows 791 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; rows 808 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; rows 833 modules/imgproc/src/distransform.cpp for( int i = 0; i < src.rows; i++ ) rows 162 modules/imgproc/src/drawing.cpp (unsigned)pt1.y >= (unsigned)(img.rows) || rows 163 modules/imgproc/src/drawing.cpp (unsigned)pt2.y >= (unsigned)(img.rows) ) rows 2188 modules/imgproc/src/drawing.cpp fillConvexPoly(img, points.ptr<Point>(), points.rows*points.cols*points.channels()/2, color, lineType, shift); rows 2209 modules/imgproc/src/drawing.cpp npts[i] = p.rows*p.cols*p.channels()/2; rows 2240 modules/imgproc/src/drawing.cpp npts[i] = p.rows*p.cols*p.channels()/2; rows 180 modules/imgproc/src/emd.cpp size1 = signature1->rows; rows 181 modules/imgproc/src/emd.cpp size2 = signature2->rows; rows 193 modules/imgproc/src/emd.cpp if( flow->rows != size1 || flow->cols != size2 ) rows 217 modules/imgproc/src/emd.cpp if( cost->rows != size1 || cost->cols != size2 ) rows 1153 modules/imgproc/src/emd.cpp _flow.create(signature1.rows, signature2.rows, CV_32F); rows 149 modules/imgproc/src/featureselect.cpp k.args(eigarg, cornersarg, eig.rows - 2, eig.cols - 2, thresholdarg, rows 155 modules/imgproc/src/featureselect.cpp cornersarg, eig.rows - 2, eig.cols - 2, rows 159 modules/imgproc/src/featureselect.cpp size_t globalsize[2] = { eig.cols - 2, eig.rows - 2 }; rows 321 modules/imgproc/src/featureselect.cpp int h = image.rows; rows 179 modules/imgproc/src/filter.cpp if( maxWidth < roi.width || _maxBufRows != (int)rows.size() ) rows 181 modules/imgproc/src/filter.cpp rows.resize(_maxBufRows); rows 206 modules/imgproc/src/filter.cpp ringBuf.resize(maxBufStep*rows.size()+VEC_ALIGN); rows 220 modules/imgproc/src/filter.cpp int nr = isSeparable() ? 1 : (int)rows.size(); rows 269 modules/imgproc/src/filter.cpp srcRoi = Rect(0,0,src.cols,src.rows); rows 274 modules/imgproc/src/filter.cpp srcRoi.y + srcRoi.height <= src.rows ); rows 277 modules/imgproc/src/filter.cpp Size wsz(src.cols, src.rows); rows 303 modules/imgproc/src/filter.cpp uchar** brows = &rows[0]; rows 304 modules/imgproc/src/filter.cpp int bufRows = (int)rows.size(); rows 403 modules/imgproc/src/filter.cpp srcRoi = Rect(0,0,src.cols,src.rows); rows 410 modules/imgproc/src/filter.cpp dstOfs.y + srcRoi.height <= dst.rows ); rows 429 modules/imgproc/src/filter.cpp int i, sz = _kernel.rows*_kernel.cols; rows 437 modules/imgproc/src/filter.cpp if( (_kernel.rows == 1 || _kernel.cols == 1) && rows 439 modules/imgproc/src/filter.cpp anchor.y*2 + 1 == _kernel.rows ) rows 512 modules/imgproc/src/filter.cpp int k, ksize = kernel.rows + kernel.cols - 1; rows 529 modules/imgproc/src/filter.cpp int i = 0, k, _ksize = kernel.rows + kernel.cols - 1; rows 604 modules/imgproc/src/filter.cpp int k, ksize = kernel.rows + kernel.cols - 1; rows 621 modules/imgproc/src/filter.cpp int i = 0, j, k, _ksize = kernel.rows + kernel.cols - 1; rows 942 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 1090 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 1222 modules/imgproc/src/filter.cpp int i = 0, k, _ksize = kernel.rows + kernel.cols - 1; rows 1272 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 1433 modules/imgproc/src/filter.cpp int _ksize = kernel.rows + kernel.cols - 1; rows 1471 modules/imgproc/src/filter.cpp int _ksize = kernel.rows + kernel.cols - 1; rows 1521 modules/imgproc/src/filter.cpp int i = 0, _ksize = kernel.rows + kernel.cols - 1; rows 1716 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 1856 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 2220 modules/imgproc/src/filter.cpp int k, ksize = kernel.rows + kernel.cols - 1; rows 2237 modules/imgproc/src/filter.cpp int i = 0, _ksize = kernel.rows + kernel.cols - 1; rows 2464 modules/imgproc/src/filter.cpp int _ksize = kernel.rows + kernel.cols - 1; rows 2616 modules/imgproc/src/filter.cpp int ksize2 = (kernel.rows + kernel.cols - 1)/2; rows 2796 modules/imgproc/src/filter.cpp int _ksize = kernel.rows + kernel.cols - 1; rows 2944 modules/imgproc/src/filter.cpp int i = 0, _ksize = kernel.rows + kernel.cols - 1; rows 3078 modules/imgproc/src/filter.cpp ksize = kernel.rows + kernel.cols - 1; rows 3080 modules/imgproc/src/filter.cpp (kernel.rows == 1 || kernel.cols == 1)); rows 3273 modules/imgproc/src/filter.cpp ksize = kernel.rows + kernel.cols - 1; rows 3278 modules/imgproc/src/filter.cpp (kernel.rows == 1 || kernel.cols == 1)); rows 3633 modules/imgproc/src/filter.cpp int ksize = kernel.rows + kernel.cols - 1; rows 3713 modules/imgproc/src/filter.cpp int ksize = kernel.rows + kernel.cols - 1; rows 3787 modules/imgproc/src/filter.cpp int rsize = _rowKernel.rows + _rowKernel.cols - 1; rows 3788 modules/imgproc/src/filter.cpp int csize = _columnKernel.rows + _columnKernel.cols - 1; rows 3794 modules/imgproc/src/filter.cpp _rowKernel.rows == 1 ? Point(_anchor.x, 0) : Point(0, _anchor.x)); rows 3796 modules/imgproc/src/filter.cpp _columnKernel.rows == 1 ? Point(_anchor.y, 0) : Point(0, _anchor.y)); rows 3858 modules/imgproc/src/filter.cpp for( i = k = 0; i < kernel.rows; i++ ) rows 3992 modules/imgproc/src/filter.cpp int size_y_aligned = ROUNDUP(kernel.rows * 2, 4); rows 3996 modules/imgproc/src/filter.cpp for (int y = 0; y < kernel.rows; y++) rows 3999 modules/imgproc/src/filter.cpp data[x * size_y_aligned + y + kernel.rows] = _kernel.at<T>(y, x); rows 4211 modules/imgproc/src/filter.cpp int radiusX = anchor, radiusY = (buf.rows - src.rows) >> 1; rows 4217 modules/imgproc/src/filter.cpp bool extra_extrapolation = src.rows < (int)((-radiusY + globalsize[1]) >> 1) + 1; rows 4218 modules/imgproc/src/filter.cpp extra_extrapolation |= src.rows < radiusY; rows 4249 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, rows 4251 modules/imgproc/src/filter.cpp buf.cols, buf.rows, radiusY); rows 4254 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, rows 4255 modules/imgproc/src/filter.cpp ocl::KernelArg::PtrWriteOnly(buf), (int)buf.step, buf.cols, buf.rows, radiusY); rows 4390 modules/imgproc/src/filter.cpp kernelX.rows == 1 ? Point(anchor.x, 0) : Point(0, anchor.x)); rows 4392 modules/imgproc/src/filter.cpp kernelY.rows == 1 ? Point(anchor.y, 0) : Point(0, anchor.y)); rows 4592 modules/imgproc/src/filter.cpp Point ippAnchor(kernel.cols >> 1, kernel.rows >> 1); rows 4616 modules/imgproc/src/filter.cpp IppiSize kernelSize = { kernel.cols, kernel.rows }, dstRoiSize = { dst.cols, dst.rows }; rows 4659 modules/imgproc/src/filter.cpp if( kernel.cols*kernel.rows >= dft_filter_size ) rows 274 modules/imgproc/src/filterengine.hpp std::vector<uchar*> rows; rows 554 modules/imgproc/src/floodfill.cpp CV_Assert( mask.rows == size.height+2 && mask.cols == size.width+2 ); rows 559 modules/imgproc/src/floodfill.cpp memset( mask.ptr(mask.rows-1), 1, mask.cols ); rows 127 modules/imgproc/src/generalized_hough.cpp templCenter = Point(templEdges_.cols / 2, templEdges_.rows / 2); rows 146 modules/imgproc/src/generalized_hough.cpp templCenter = Point(templEdges_.cols / 2, templEdges_.rows / 2); rows 430 modules/imgproc/src/generalized_hough.cpp const int rows = hist_.rows - 2; rows 457 modules/imgproc/src/generalized_hough.cpp if (c.x >= 0 && c.x < cols && c.y >= 0 && c.y < rows) rows 469 modules/imgproc/src/generalized_hough.cpp const int histRows = hist_.rows - 2; rows 740 modules/imgproc/src/generalized_hough.cpp for (int y = 0; y < edges.rows; ++y) rows 545 modules/imgproc/src/geometry.cpp flip( temp, temp, temp.rows > 1 ? 0 : 1 ); rows 95 modules/imgproc/src/grabcut.cpp else if( (_model.type() != CV_64FC1) || (_model.rows != 1) || (_model.cols != modelSize*componentsCount) ) rows 236 modules/imgproc/src/grabcut.cpp for( int y = 0; y < img.rows; y++ ) rows 266 modules/imgproc/src/grabcut.cpp beta = 1.f / (2 * beta/(4*img.cols*img.rows - 3*img.cols - 3*img.rows + 2) ); rows 278 modules/imgproc/src/grabcut.cpp leftW.create( img.rows, img.cols, CV_64FC1 ); rows 279 modules/imgproc/src/grabcut.cpp upleftW.create( img.rows, img.cols, CV_64FC1 ); rows 280 modules/imgproc/src/grabcut.cpp upW.create( img.rows, img.cols, CV_64FC1 ); rows 281 modules/imgproc/src/grabcut.cpp uprightW.create( img.rows, img.cols, CV_64FC1 ); rows 282 modules/imgproc/src/grabcut.cpp for( int y = 0; y < img.rows; y++ ) rows 328 modules/imgproc/src/grabcut.cpp if( mask.cols != img.cols || mask.rows != img.rows ) rows 330 modules/imgproc/src/grabcut.cpp for( int y = 0; y < mask.rows; y++ ) rows 369 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) rows 404 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) rows 425 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) rows 450 modules/imgproc/src/grabcut.cpp int vtxCount = img.cols*img.rows, rows 451 modules/imgproc/src/grabcut.cpp edgeCount = 2*(4*img.cols*img.rows - 3*(img.cols + img.rows) + 2); rows 454 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) rows 513 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < mask.rows; p.y++ ) rows 1253 modules/imgproc/src/histogram.cpp Range range(0, src.rows); rows 2144 modules/imgproc/src/histogram.cpp lutk.args(ocl::KernelArg::ReadOnlyNoSize(hist), hist.rows, rows 2180 modules/imgproc/src/histogram.cpp lutk1.args(hist.rows, ocl::KernelArg::PtrWriteOnly(lut), (int)0, ocl::KernelArg::PtrReadOnly(uranges), (int)0); rows 2246 modules/imgproc/src/histogram.cpp bool _1d = H.rows == 1 || H.cols == 1; rows 2295 modules/imgproc/src/histogram.cpp len = it.planes[0].rows*it.planes[0].cols*H1.channels(); rows 3334 modules/imgproc/src/histogram.cpp dstmat->rows != img[0]->height - patch_size.height + 1 ) rows 3644 modules/imgproc/src/histogram.cpp cv::Range heightRange(0, src.rows); rows 91 modules/imgproc/src/hough.cpp int height = img.rows; rows 232 modules/imgproc/src/hough.cpp int h = img.rows; rows 427 modules/imgproc/src/hough.cpp int height = image.rows; rows 684 modules/imgproc/src/hough.cpp size_t globalThreads[2] = { workgroup_size, src.rows }; rows 747 modules/imgproc/src/hough.cpp int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); rows 801 modules/imgproc/src/hough.cpp int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); rows 928 modules/imgproc/src/hough.cpp if( !CV_IS_MAT_CONT( mat->type ) || (mat->rows != 1 && mat->cols != 1) ) rows 937 modules/imgproc/src/hough.cpp mat->rows + mat->cols - 1, &lines_header, &lines_block ); rows 969 modules/imgproc/src/hough.cpp if( mat->cols > mat->rows ) rows 972 modules/imgproc/src/hough.cpp mat->rows = nlines; rows 1016 modules/imgproc/src/hough.cpp int rows, cols, arows, acols; rows 1023 modules/imgproc/src/hough.cpp edges.reset(cvCreateMat( img->rows, img->cols, CV_8UC1 )); rows 1028 modules/imgproc/src/hough.cpp dx.reset(cvCreateMat( img->rows, img->cols, CV_16SC1 )); rows 1029 modules/imgproc/src/hough.cpp dy.reset(cvCreateMat( img->rows, img->cols, CV_16SC1 )); rows 1038 modules/imgproc/src/hough.cpp accum.reset(cvCreateMat( cvCeil(img->rows*idp)+2, cvCeil(img->cols*idp)+2, CV_32SC1 )); rows 1047 modules/imgproc/src/hough.cpp rows = img->rows; rows 1049 modules/imgproc/src/hough.cpp arows = accum->rows - 2; rows 1054 modules/imgproc/src/hough.cpp for( y = 0; y < rows; y++ ) rows 1250 modules/imgproc/src/hough.cpp max_radius = MAX( img->rows, img->cols ); rows 1263 modules/imgproc/src/hough.cpp if( !CV_IS_MAT_CONT( mat->type ) || (mat->rows != 1 && mat->cols != 1) || rows 1269 modules/imgproc/src/hough.cpp mat->data.ptr, mat->rows + mat->cols - 1, &circles_header, &circles_block ); rows 1289 modules/imgproc/src/hough.cpp if( mat->cols > mat->rows ) rows 1292 modules/imgproc/src/hough.cpp mat->rows = circles->total; rows 1715 modules/imgproc/src/imgwarp.cpp WT* rows[MAX_ESIZE]={0}; rows 1721 modules/imgproc/src/imgwarp.cpp rows[k] = (WT*)_buffer + bufstep*k; rows 1738 modules/imgproc/src/imgwarp.cpp memcpy( rows[k], rows[k1], bufstep*sizeof(rows[0][0]) ); rows 1749 modules/imgproc/src/imgwarp.cpp hresize( (const T**)(srows + k0), (WT**)(rows + k0), ksize - k0, xofs, (const AT*)(alpha), rows 1751 modules/imgproc/src/imgwarp.cpp vresize( (const WT**)rows, (T*)(dst.data + dst.step*dy), beta, dsize.width ); rows 2498 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 2651 modules/imgproc/src/imgwarp.cpp parallel_for_(Range(0, dst.rows), rows 2762 modules/imgproc/src/imgwarp.cpp srcSize.height = src.rows; rows 2764 modules/imgproc/src/imgwarp.cpp dstSize.height = dst.rows; rows 2799 modules/imgproc/src/imgwarp.cpp int dsty = min(cvRound(range.start * inv_scale_y), dst.rows); rows 2801 modules/imgproc/src/imgwarp.cpp int dstheight = min(cvRound(range.end * inv_scale_y), dst.rows); rows 2907 modules/imgproc/src/imgwarp.cpp size_t globalsize[] = { dst.cols, dst.rows }; rows 3222 modules/imgproc/src/imgwarp.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat() && _src.cols() > 10 && _src.rows() > 10, rows 3250 modules/imgproc/src/imgwarp.cpp double ey = fabs((double)dsize.height / src.rows - inv_scale_y) / inv_scale_y; rows 3257 modules/imgproc/src/imgwarp.cpp if (interpolation == INTER_LINEAR && src.rows >= 2 && src.cols >= 2) rows 3259 modules/imgproc/src/imgwarp.cpp else if (interpolation == INTER_CUBIC && src.rows >= 4 && src.cols >= 4) rows 3267 modules/imgproc/src/imgwarp.cpp Range range(0, src.rows); rows 4252 modules/imgproc/src/imgwarp.cpp int brows0 = std::min(128, dst->rows), map_depth = m1->depth(); rows 4254 modules/imgproc/src/imgwarp.cpp brows0 = std::min(buf_size/bcols0, dst->rows); rows 4564 modules/imgproc/src/imgwarp.cpp size_t globalThreads[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 4590 modules/imgproc/src/imgwarp.cpp IppiRect srcRoiRect = { 0, 0, src.cols, src.rows }; rows 4705 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 4762 modules/imgproc/src/imgwarp.cpp parallel_for_(Range(0, dst.rows), invoker, dst.total()/(double)(1<<16)); rows 5243 modules/imgproc/src/imgwarp.cpp int bh0 = std::min(BLOCK_SZ/2, dst.rows); rows 5245 modules/imgproc/src/imgwarp.cpp bh0 = std::min(BLOCK_SZ*BLOCK_SZ/bw0, dst.rows); rows 5419 modules/imgproc/src/imgwarp.cpp IppiSize srcsize = { src.cols, src.rows }; rows 5420 modules/imgproc/src/imgwarp.cpp IppiRect srcroi = { 0, 0, src.cols, src.rows }; rows 5529 modules/imgproc/src/imgwarp.cpp M1.rows == matRows && M1.cols == 3 ); rows 5553 modules/imgproc/src/imgwarp.cpp size_t globalThreads[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; rows 5573 modules/imgproc/src/imgwarp.cpp CV_Assert( src.cols > 0 && src.rows > 0 ); rows 5583 modules/imgproc/src/imgwarp.cpp CV_Assert( (M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 2 && M0.cols == 3 ); rows 5660 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 5679 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 5704 modules/imgproc/src/imgwarp.cpp int x, y, x1, y1, width = dst.cols, height = dst.rows; rows 6048 modules/imgproc/src/imgwarp.cpp IppiSize srcsize = {src.cols, src.rows}; rows 6049 modules/imgproc/src/imgwarp.cpp IppiRect srcroi = {0, 0, src.cols, src.rows}; rows 6109 modules/imgproc/src/imgwarp.cpp CV_Assert( (M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 3 && M0.cols == 3 ); rows 6164 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 6180 modules/imgproc/src/imgwarp.cpp Range range(0, dst.rows); rows 6301 modules/imgproc/src/imgwarp.cpp CV_Assert(matM.rows == 2 && matM.cols == 3); rows 6359 modules/imgproc/src/imgwarp.cpp (double)dst.rows/src.rows, method ); rows 6604 modules/imgproc/src/imgwarp.cpp ssize.height = src->rows; rows 6606 modules/imgproc/src/imgwarp.cpp dsize.height = dst->rows; rows 549 modules/imgproc/src/lsd.cpp img_height = scaled_image.rows; rows 585 modules/imgproc/src/moments.cpp IppiSize roi = { mat.cols, mat.rows }; rows 995 modules/imgproc/src/morph.cpp if( countNonZero(kernel) == kernel.rows*kernel.cols ) rows 999 modules/imgproc/src/morph.cpp columnFilter = getMorphologyColumnFilter(op, type, kernel.rows, anchor.y); rows 1107 modules/imgproc/src/morph.cpp int row0 = std::min(cvRound(range.start * src.rows / nStripes), src.rows); rows 1108 modules/imgproc/src/morph.cpp int row1 = std::min(cvRound(range.end * src.rows / nStripes), src.rows); rows 1152 modules/imgproc/src/morph.cpp IppiSize roiSize = {src.cols, src.rows}; rows 1158 modules/imgproc/src/morph.cpp if (((kernel.cols - 1) / 2 != anchor.x) || ((kernel.rows - 1) / 2 != anchor.y)) rows 1279 modules/imgproc/src/morph.cpp for( y = 0; y < kernel.rows; y++ ) rows 1293 modules/imgproc/src/morph.cpp for( y = 0; y < kernel.rows; y++ ) rows 1306 modules/imgproc/src/morph.cpp if( iterations == 0 || kernel.rows*kernel.cols == 1 ) rows 1320 modules/imgproc/src/morph.cpp else if( iterations >= 1 && countNonZero(kernel) == kernel.rows*kernel.cols ) rows 1424 modules/imgproc/src/morph.cpp for (int y = 0; y < kernel8u.rows; ++y) rows 1465 modules/imgproc/src/morph.cpp int cols = src.cols, rows = src.rows; rows 1467 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholeSize.height - rows - ofs.y, ofs.x, wholeSize.width - cols - ofs.x); rows 1470 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); rows 1471 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); rows 1521 modules/imgproc/src/morph.cpp else if( iterations > 1 && countNonZero(kernel) == kernel.rows*kernel.cols ) rows 1545 modules/imgproc/src/morph.cpp if (iterations == 0 || kernel.rows*kernel.cols == 1) rows 1575 modules/imgproc/src/morph.cpp for (int y = 0; y < kernel8u.rows; ++y) rows 1621 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows, rows 1625 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows); rows 1638 modules/imgproc/src/morph.cpp int cols = src.cols, rows = src.rows; rows 1640 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); rows 1646 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); rows 1647 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); rows 1651 modules/imgproc/src/morph.cpp int cols = dst.cols, rows = dst.rows; rows 1653 modules/imgproc/src/morph.cpp dst.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); rows 1655 modules/imgproc/src/morph.cpp dst.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); rows 1656 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); rows 1662 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height, rows 1666 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height); rows 1692 modules/imgproc/src/morph.cpp if (iterations == 0 || kernel.rows*kernel.cols == 1) rows 1704 modules/imgproc/src/morph.cpp else if( iterations > 1 && countNonZero(kernel) == kernel.rows*kernel.cols ) rows 1733 modules/imgproc/src/morph.cpp src.rows >= 64 ) //NOTE: just heuristics rows 1886 modules/imgproc/src/morph.cpp cvCreateStructuringElementEx( int cols, int rows, rows 1890 modules/imgproc/src/morph.cpp cv::Size ksize = cv::Size(cols, rows); rows 1892 modules/imgproc/src/morph.cpp CV_Assert( cols > 0 && rows > 0 && anchor.inside(cv::Rect(0,0,cols,rows)) && rows 1895 modules/imgproc/src/morph.cpp int i, size = rows * cols; rows 1900 modules/imgproc/src/morph.cpp element->nRows = rows; rows 45 modules/imgproc/src/phasecorr.cpp int rows = src.rows, cols = src.cols; rows 51 modules/imgproc/src/phasecorr.cpp _dst.create( src.rows, src.cols, CV_32FC1 ); rows 53 modules/imgproc/src/phasecorr.cpp _dst.create( src.rows, src.cols, CV_64FC1 ); rows 58 modules/imgproc/src/phasecorr.cpp bool is_1d = (rows == 1 || (cols == 1 && src.isContinuous() && dst.isContinuous())); rows 61 modules/imgproc/src/phasecorr.cpp cols = cols + rows - 1, rows = 1; rows 82 modules/imgproc/src/phasecorr.cpp if( rows % 2 == 0 ) rows 83 modules/imgproc/src/phasecorr.cpp dataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc]; rows 85 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 96 modules/imgproc/src/phasecorr.cpp for( ; rows--; dataSrc += stepSrc, dataDst += stepDst ) rows 126 modules/imgproc/src/phasecorr.cpp if( rows % 2 == 0 ) rows 127 modules/imgproc/src/phasecorr.cpp dataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc]; rows 129 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 140 modules/imgproc/src/phasecorr.cpp for( ; rows--; dataSrc += stepSrc, dataDst += stepDst ) rows 161 modules/imgproc/src/phasecorr.cpp int rows = srcA.rows, cols = srcA.cols; rows 167 modules/imgproc/src/phasecorr.cpp _dst.create( srcA.rows, srcA.cols, type ); rows 170 modules/imgproc/src/phasecorr.cpp bool is_1d = (flags & DFT_ROWS) || (rows == 1 || (cols == 1 && rows 174 modules/imgproc/src/phasecorr.cpp cols = cols + rows - 1, rows = 1; rows 198 modules/imgproc/src/phasecorr.cpp if( rows % 2 == 0 ) rows 199 modules/imgproc/src/phasecorr.cpp dataC[(rows-1)*stepC] = dataA[(rows-1)*stepA] / (dataB[(rows-1)*stepB] + eps); rows 201 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 216 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 236 modules/imgproc/src/phasecorr.cpp for( ; rows--; dataA += stepA, dataB += stepB, dataC += stepC ) rows 283 modules/imgproc/src/phasecorr.cpp if( rows % 2 == 0 ) rows 284 modules/imgproc/src/phasecorr.cpp dataC[(rows-1)*stepC] = dataA[(rows-1)*stepA] / (dataB[(rows-1)*stepB] + eps); rows 286 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 301 modules/imgproc/src/phasecorr.cpp for( j = 1; j <= rows - 2; j += 2 ) rows 320 modules/imgproc/src/phasecorr.cpp for( ; rows--; dataA += stepA, dataB += stepB, dataC += stepC ) rows 356 modules/imgproc/src/phasecorr.cpp if(out.rows == 1 && out.cols == 1) rows 366 modules/imgproc/src/phasecorr.cpp int yMid = out.rows >> 1; rows 435 modules/imgproc/src/phasecorr.cpp if(maxr > src.rows - 1) rows 437 modules/imgproc/src/phasecorr.cpp maxr = src.rows - 1; rows 507 modules/imgproc/src/phasecorr.cpp int M = getOptimalDFTSize(src1.rows); rows 512 modules/imgproc/src/phasecorr.cpp if(M != src1.rows || N != src1.cols) rows 514 modules/imgproc/src/phasecorr.cpp copyMakeBorder(src1, padded1, 0, M - src1.rows, 0, N - src1.cols, BORDER_CONSTANT, Scalar::all(0)); rows 515 modules/imgproc/src/phasecorr.cpp copyMakeBorder(src2, padded2, 0, M - src2.rows, 0, N - src2.cols, BORDER_CONSTANT, Scalar::all(0)); rows 519 modules/imgproc/src/phasecorr.cpp copyMakeBorder(window, paddedWin, 0, M - window.rows, 0, N - window.cols, BORDER_CONSTANT, Scalar::all(0)); rows 566 modules/imgproc/src/phasecorr.cpp Point2d center((double)padded1.cols / 2.0, (double)padded1.rows / 2.0); rows 579 modules/imgproc/src/phasecorr.cpp int rows = dst.rows, cols = dst.cols; rows 584 modules/imgproc/src/phasecorr.cpp double coeff0 = 2.0 * CV_PI / (double)(cols - 1), coeff1 = 2.0f * CV_PI / (double)(rows - 1); rows 590 modules/imgproc/src/phasecorr.cpp for(int i = 0; i < rows; i++) rows 600 modules/imgproc/src/phasecorr.cpp for(int i = 0; i < rows; i++) rows 865 modules/imgproc/src/pyramids.cpp WT* rows[PD_SZ]; rows 964 modules/imgproc/src/pyramids.cpp rows[k] = buf + ((y*2 - PD_SZ/2 + k - sy0) % PD_SZ)*bufstep; rows 965 modules/imgproc/src/pyramids.cpp row0 = rows[0]; row1 = rows[1]; row2 = rows[2]; row3 = rows[3]; row4 = rows[4]; rows 967 modules/imgproc/src/pyramids.cpp x = vecOp(rows, dst, (int)_dst.step, dsize.width); rows 988 modules/imgproc/src/pyramids.cpp WT* rows[PU_SZ]; rows 1048 modules/imgproc/src/pyramids.cpp rows[k] = buf + ((y - PU_SZ/2 + k - sy0) % PU_SZ)*bufstep; rows 1049 modules/imgproc/src/pyramids.cpp row0 = rows[0]; row1 = rows[1]; row2 = rows[2]; rows 1052 modules/imgproc/src/pyramids.cpp x = vecOp(rows, dsts, (int)_dst.step, dsize.width); rows 1111 modules/imgproc/src/pyramids.cpp size_t globalThreads[2] = { (src.cols + (kercn-1))/kercn, (dst.rows + 1) / 2 }; rows 1147 modules/imgproc/src/pyramids.cpp size_t globalThreads[2] = { dst.cols, dst.rows }; rows 1153 modules/imgproc/src/pyramids.cpp globalThreads[0] = dst.cols/2; globalThreads[1] = dst.rows/2; rows 1177 modules/imgproc/src/pyramids.cpp Size dsz = _dsz.area() == 0 ? Size((src.cols + 1)/2, (src.rows + 1)/2) : _dsz; rows 1192 modules/imgproc/src/pyramids.cpp if (borderTypeNI == BORDER_DEFAULT && (!src.isSubmatrix() || isolated) && dsz == Size((src.cols + 1)/2, (src.rows + 1)/2)) rows 1206 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; rows 1254 modules/imgproc/src/pyramids.cpp Size dsz = _dsz.area() == 0 ? Size(src.cols*2, src.rows*2) : _dsz; rows 1269 modules/imgproc/src/pyramids.cpp if (borderTypeNI == BORDER_DEFAULT && (!src.isSubmatrix() || isolated) && dsz == Size(src.cols*2, src.rows*2)) rows 1283 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; rows 1388 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; rows 1492 modules/imgproc/src/pyramids.cpp bufsize = buf->rows*buf->cols*CV_ELEM_SIZE(buf->type); rows 388 modules/imgproc/src/samplers.cpp IppiSize src_size={image.cols, image.rows}, win_size={patch.cols, patch.rows}; rows 388 modules/imgproc/src/segmentation.cpp src_pyramid[level].create( (src_pyramid[level-1].rows+1)/2, rows 390 modules/imgproc/src/segmentation.cpp dst_pyramid[level].create( src_pyramid[level].rows, rows 396 modules/imgproc/src/segmentation.cpp mask0.create(src0.rows, src0.cols, CV_8UC1); rows 1321 modules/imgproc/src/smooth.cpp if( src.rows == 1 ) rows 1344 modules/imgproc/src/smooth.cpp dst.cols != ksize.width && dst.rows != ksize.height) // returns ippStsMaskSizeErr: mask has an illegal value rows 1347 modules/imgproc/src/smooth.cpp IppiSize roiSize = { dst.cols, dst.rows }, maskSize = { ksize.width, ksize.height }; rows 1669 modules/imgproc/src/smooth.cpp IppiSize roiSize = { src.cols, src.rows }; rows 1833 modules/imgproc/src/smooth.cpp int cn = _dst.channels(), m = _dst.rows, r = (ksize-1)/2; rows 2620 modules/imgproc/src/smooth.cpp globalsize[1] = DIVUP(src.rows / 4, localsize[1]) * localsize[1]; rows 2625 modules/imgproc/src/smooth.cpp globalsize[1] = (src.rows + localsize[1] - 1) / localsize[1] * localsize[1]; rows 2679 modules/imgproc/src/smooth.cpp IppiSize dstRoiSize = ippiSize(dst.cols, dst.rows), maskSize = ippiSize(ksize, ksize); rows 3052 modules/imgproc/src/smooth.cpp size_t globalsize[2] = { dst.cols / sizeDiv, dst.rows }; rows 3093 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, dst.rows), body, dst.total()/(double)(1<<16)); rows 376 modules/imgproc/src/sumpixels.cpp gt = src.rows; rows 419 modules/imgproc/src/sumpixels.cpp gt = src.rows; rows 465 modules/imgproc/src/sumpixels.cpp IppiSize srcRoiSize = ippiSize( src.cols, src.rows ); rows 75 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = {result.cols, (result.rows+pxPerWIy-1)/pxPerWIy}; rows 195 modules/imgproc/src/templmatch.cpp copyMakeBorder(templ_roi, templ_block, 0, templ_block.rows - templ_roi.rows, 0, rows 198 modules/imgproc/src/templmatch.cpp dft(templ_block, templ_spect, 0, templ.rows); rows 201 modules/imgproc/src/templmatch.cpp for (int y = 0; y < result.rows; y += block_size.height) rows 206 modules/imgproc/src/templmatch.cpp std::min(y + dft_size.height, image.rows) - y); rows 211 modules/imgproc/src/templmatch.cpp copyMakeBorder(image_roi, image_block, 0, image_block.rows - image_roi.rows, rows 221 modules/imgproc/src/templmatch.cpp std::min(y + block_size.height, result.rows) - y); rows 237 modules/imgproc/src/templmatch.cpp _result.create(_image.rows() - _templ.rows() + 1, _image.cols() - _templ.cols() + 1, CV_32F); rows 245 modules/imgproc/src/templmatch.cpp UMat result_(image.rows-templ.rows+1,(image.cols-templ.cols+1)*image.channels(), CV_32F); rows 283 modules/imgproc/src/templmatch.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 289 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { (result.cols+pxPerWIx-1)/pxPerWIx, result.rows}; rows 328 modules/imgproc/src/templmatch.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); rows 339 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); rows 341 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 360 modules/imgproc/src/templmatch.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); rows 366 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 386 modules/imgproc/src/templmatch.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); rows 397 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); rows 399 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 417 modules/imgproc/src/templmatch.cpp _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); rows 428 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); rows 430 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 459 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); rows 466 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); } rows 468 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 488 modules/imgproc/src/templmatch.cpp _result.create(size.height - templ.rows + 1, size.width - templ.cols + 1, CV_32F); rows 510 modules/imgproc/src/templmatch.cpp ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, templ_sum, templ_sqsum); rows 533 modules/imgproc/src/templmatch.cpp ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, rows 536 modules/imgproc/src/templmatch.cpp size_t globalsize[2] = { result.cols, result.rows }; rows 571 modules/imgproc/src/templmatch.cpp IppiSize srcRoiSize = {src.cols,src.rows}; rows 572 modules/imgproc/src/templmatch.cpp IppiSize tplRoiSize = {tpl.cols,tpl.rows}; rows 604 modules/imgproc/src/templmatch.cpp IppiSize srcRoiSize = {src.cols,src.rows}; rows 605 modules/imgproc/src/templmatch.cpp IppiSize tplRoiSize = {tpl.cols,tpl.rows}; rows 657 modules/imgproc/src/templmatch.cpp CV_Assert( corrsize.height <= img.rows + templ.rows - 1 && rows 670 modules/imgproc/src/templmatch.cpp blocksize.height = cvRound(templ.rows*blockScale); rows 671 modules/imgproc/src/templmatch.cpp blocksize.height = std::max( blocksize.height, minBlockSize - templ.rows + 1 ); rows 672 modules/imgproc/src/templmatch.cpp blocksize.height = std::min( blocksize.height, corr.rows ); rows 675 modules/imgproc/src/templmatch.cpp dftsize.height = getOptimalDFTSize(blocksize.height + templ.rows - 1); rows 682 modules/imgproc/src/templmatch.cpp blocksize.height = dftsize.height - templ.rows + 1; rows 683 modules/imgproc/src/templmatch.cpp blocksize.height = MIN( blocksize.height, corr.rows ); rows 690 modules/imgproc/src/templmatch.cpp bufSize = templ.cols*templ.rows*CV_ELEM_SIZE(tdepth); rows 694 modules/imgproc/src/templmatch.cpp (blocksize.height + templ.rows - 1)*CV_ELEM_SIZE(depth)); rows 707 modules/imgproc/src/templmatch.cpp Mat dst1(dftTempl, Rect(0, yofs, templ.cols, templ.rows)); rows 721 modules/imgproc/src/templmatch.cpp Mat part(dst, Range(0, templ.rows), Range(templ.cols, dst.cols)); rows 724 modules/imgproc/src/templmatch.cpp dft(dst, dst, 0, templ.rows); rows 728 modules/imgproc/src/templmatch.cpp int tileCountY = (corr.rows + blocksize.height - 1)/blocksize.height; rows 738 modules/imgproc/src/templmatch.cpp img0.adjustROI(roiofs.y, wholeSize.height-img.rows-roiofs.y, rows 750 modules/imgproc/src/templmatch.cpp std::min(blocksize.height, corr.rows - y)); rows 751 modules/imgproc/src/templmatch.cpp Size dsz(bsz.width + templ.cols - 1, bsz.height + templ.rows - 1); rows 755 modules/imgproc/src/templmatch.cpp int y2 = std::min(img0.rows, y0 + dsz.height); rows 777 modules/imgproc/src/templmatch.cpp copyMakeBorder(dst1, dst, y1-y0, dst.rows-dst1.rows-(y1-y0), rows 850 modules/imgproc/src/templmatch.cpp Size corrSize(img.cols - templ.cols + 1, img.rows - templ.rows + 1); rows 864 modules/imgproc/src/templmatch.cpp templSum2 *= ((double)templ.rows * templ.cols); rows 931 modules/imgproc/src/templmatch.cpp Size corrSize(img.cols - templ.cols + 1, img.rows - templ.rows + 1); rows 944 modules/imgproc/src/templmatch.cpp useIppMT = (templ.rows < img.rows/2 && templ.cols < img.cols/2); rows 978 modules/imgproc/src/templmatch.cpp double invArea = 1./((double)templ.rows * templ.cols); rows 1017 modules/imgproc/src/templmatch.cpp q2 = (double*)(sqsum.data + templ.rows*sqsum.step); rows 1023 modules/imgproc/src/templmatch.cpp double* p2 = (double*)(sum.data + templ.rows*sum.step); rows 1031 modules/imgproc/src/templmatch.cpp for( i = 0; i < result.rows; i++ ) rows 1092 modules/imgproc/src/templmatch.cpp std::abs(img.rows - templ.rows) + 1) && rows 1177 modules/imgproc/src/thresh.cpp size_t globalsize[2] = { dst.cols * cn / kercn, dst.rows }; rows 1269 modules/imgproc/src/thresh.cpp parallel_for_(Range(0, dst.rows), rows 114 modules/imgproc/src/undistort.cpp if( distCoeffs.rows != 1 && !distCoeffs.isContinuous() ) rows 122 modules/imgproc/src/undistort.cpp double k3 = distCoeffs.cols + distCoeffs.rows - 1 >= 5 ? distPtr[4] : 0.; rows 123 modules/imgproc/src/undistort.cpp double k4 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[5] : 0.; rows 124 modules/imgproc/src/undistort.cpp double k5 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[6] : 0.; rows 125 modules/imgproc/src/undistort.cpp double k6 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[7] : 0.; rows 126 modules/imgproc/src/undistort.cpp double s1 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[8] : 0.; rows 127 modules/imgproc/src/undistort.cpp double s2 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[9] : 0.; rows 128 modules/imgproc/src/undistort.cpp double s3 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[10] : 0.; rows 129 modules/imgproc/src/undistort.cpp double s4 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[11] : 0.; rows 181 modules/imgproc/src/undistort.cpp int stripe_size0 = std::min(std::max(1, (1 << 12) / std::max(src.cols, 1)), src.rows); rows 201 modules/imgproc/src/undistort.cpp for( int y = 0; y < src.rows; y += stripe_size0 ) rows 203 modules/imgproc/src/undistort.cpp int stripe_size = std::min( stripe_size0, src.rows - y ); rows 281 modules/imgproc/src/undistort.cpp (_src->rows == 1 || _src->cols == 1) && rows 282 modules/imgproc/src/undistort.cpp (_dst->rows == 1 || _dst->cols == 1) && rows 283 modules/imgproc/src/undistort.cpp _src->cols + _src->rows - 1 == _dst->rows + _dst->cols - 1 && rows 288 modules/imgproc/src/undistort.cpp _cameraMatrix->rows == 3 && _cameraMatrix->cols == 3 ); rows 295 modules/imgproc/src/undistort.cpp (_distCoeffs->rows == 1 || _distCoeffs->cols == 1) && rows 296 modules/imgproc/src/undistort.cpp (_distCoeffs->rows*_distCoeffs->cols == 4 || rows 297 modules/imgproc/src/undistort.cpp _distCoeffs->rows*_distCoeffs->cols == 5 || rows 298 modules/imgproc/src/undistort.cpp _distCoeffs->rows*_distCoeffs->cols == 8 || rows 299 modules/imgproc/src/undistort.cpp _distCoeffs->rows*_distCoeffs->cols == 12)); rows 301 modules/imgproc/src/undistort.cpp _Dk = cvMat( _distCoeffs->rows, _distCoeffs->cols, rows 310 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(matR) && matR->rows == 3 && matR->cols == 3 ); rows 320 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(matP) && matP->rows == 3 && (matP->cols == 3 || matP->cols == 4)); rows 331 modules/imgproc/src/undistort.cpp sstep = _src->rows == 1 ? 1 : _src->step/CV_ELEM_SIZE(stype); rows 332 modules/imgproc/src/undistort.cpp dstep = _dst->rows == 1 ? 1 : _dst->step/CV_ELEM_SIZE(dtype); rows 334 modules/imgproc/src/undistort.cpp n = _src->rows + _src->cols - 1; rows 401 modules/imgproc/src/undistort.cpp ((src.rows == 1 && src.channels() == 2) || src.cols*src.channels() == 2)); rows 504 modules/imgproc/src/undistort.cpp Mat distCoeffs(distCoeffs0.rows, distCoeffs0.cols, CV_MAKETYPE(CV_64F,distCoeffs0.channels()), k); rows 514 modules/imgproc/src/undistort.cpp int ndcoeffs = distCoeffs0.cols*distCoeffs0.rows*distCoeffs0.channels(); rows 515 modules/imgproc/src/undistort.cpp CV_Assert((distCoeffs0.cols == 1 || distCoeffs0.rows == 1) && rows 84 modules/imgproc/src/utils.cpp int top = offset.y, bottom = dst.rows - src.rows - top; rows 144 modules/imgproc/test/ocl/test_histogram.cpp uimages_roi[i] = uimages[i](Rect(ofs.x, ofs.y, images_roi[i].cols, images_roi[i].rows)); rows 127 modules/imgproc/test/ocl/test_warp.cpp Mat M = getRotationMatrix2D(Point2f(src_roi.cols / 2.0f, src_roi.rows / 2.0f), rows 148 modules/imgproc/test/ocl/test_warp.cpp float cols = static_cast<float>(src_roi.cols), rows = static_cast<float>(src_roi.rows); rows 149 modules/imgproc/test/ocl/test_warp.cpp float cols2 = cols / 2.0f, rows2 = rows / 2.0f; rows 150 modules/imgproc/test/ocl/test_warp.cpp Point2f sp[] = { Point2f(0.0f, 0.0f), Point2f(cols, 0.0f), Point2f(0.0f, rows), Point2f(cols, rows) }; rows 153 modules/imgproc/test/ocl/test_warp.cpp Point2f(rng.uniform(0.0f, cols2), rng.uniform(rows2, rows)), rows 154 modules/imgproc/test/ocl/test_warp.cpp Point2f(rng.uniform(cols2, cols), rng.uniform(rows2, rows)) }; rows 151 modules/imgproc/test/test_canny.cpp (unsigned)y1 < (unsigned)mag.rows && rows 171 modules/imgproc/test/test_canny.cpp int x, y, width = src.cols, height = src.rows; rows 190 modules/imgproc/test/test_color.cpp for( int y = 0; y < test_mat[REF_OUTPUT][0].rows; y++ ) rows 220 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) rows 315 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) rows 396 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) rows 1351 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) rows 1437 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) rows 1598 modules/imgproc/test/test_color.cpp for( i = 1; i < src.rows - 1; i++ ) rows 1642 modules/imgproc/test/test_color.cpp if( src.rows <= 2 ) rows 1645 modules/imgproc/test/test_color.cpp memset( dst.ptr(dst.rows-1), 0, (cols+2)*3*sizeof(T) ); rows 1650 modules/imgproc/test/test_color.cpp T* bottom_row = dst.ptr<T>(dst.rows-1); rows 1702 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.rows, result.rows); rows 1729 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.rows, result.rows); rows 1846 modules/imgproc/test/test_color.cpp "Actual rows: %d\n", reference.rows, dst.rows); rows 1915 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Size: (%d, %d)\n", reference.rows, reference.cols); rows 2181 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Size: (%d, %d)\n", reference.rows, reference.cols); rows 77 modules/imgproc/test/test_connectedcomponents.cpp for(int r = 0; r < labelImage.rows; ++r){ rows 395 modules/imgproc/test/test_contours.cpp const int rows = 256; rows 398 modules/imgproc/test/test_contours.cpp Mat img(rows, cols, CV_8UC1, Scalar(255)); rows 410 modules/imgproc/test/test_contours.cpp int pixelsDrawn = rows*cols - countNonZero(img); rows 411 modules/imgproc/test/test_contours.cpp ASSERT_EQ( (3*rows + cols)*3 - 3*9, pixelsDrawn); rows 299 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; rows 359 modules/imgproc/test/test_convhull.cpp int rows = 1, cols = size; rows 361 modules/imgproc/test/test_convhull.cpp rows = size, cols = 1; rows 363 modules/imgproc/test/test_convhull.cpp points2 = cvCreateMat( rows, cols, point_type ); rows 397 modules/imgproc/test/test_convhull.cpp CvMat tmp = cvMat( points2->rows, points2->cols, rows 485 modules/imgproc/test/test_convhull.cpp int rows, cols; rows 486 modules/imgproc/test/test_convhull.cpp int sz = points1 ? points1->total : points2->cols + points2->rows - 1; rows 490 modules/imgproc/test/test_convhull.cpp rows = sz, cols = 1; rows 492 modules/imgproc/test/test_convhull.cpp rows = 1, cols = sz; rows 494 modules/imgproc/test/test_convhull.cpp hull2 = cvCreateMat( rows, cols, return_points ? point_type : CV_32SC1 ); rows 532 modules/imgproc/test/test_convhull.cpp if(hull2->rows > hull2->cols) rows 533 modules/imgproc/test/test_convhull.cpp hull2->rows = (int)n; rows 555 modules/imgproc/test/test_convhull.cpp points2->rows + points2->cols - 1, &header, &block ); rows 564 modules/imgproc/test/test_convhull.cpp hull2->rows + hull2->cols - 1, &hheader, &hblock ); rows 579 modules/imgproc/test/test_convhull.cpp CvMat tmp = cvMat( hull->rows, hull->cols, CV_32SC2, hull->data.ptr ); rows 708 modules/imgproc/test/test_convhull.cpp int i, j, point_count = points2->rows + points2->cols - 1; rows 969 modules/imgproc/test/test_convhull.cpp int i, j = 0, point_count = points2->rows + points2->cols - 1; rows 1064 modules/imgproc/test/test_convhull.cpp total = points2->cols + points2->rows - 1; rows 1091 modules/imgproc/test/test_convhull.cpp int i, len = slice.end_index - slice.start_index, total = points2->cols + points2->rows - 1; rows 1191 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; rows 1304 modules/imgproc/test/test_convhull.cpp for( int i = 0; i < points2->rows + points2->cols - 1; i++ ) rows 1482 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; rows 1658 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; rows 1787 modules/imgproc/test/test_convhull.cpp int count = points2->cols + points2->rows - 1; rows 137 modules/imgproc/test/test_cvtyuv.cpp int h = yuv.rows * 2 / 3; rows 152 modules/imgproc/test/test_cvtyuv.cpp int h = yuv.rows * 2 / 3; rows 181 modules/imgproc/test/test_cvtyuv.cpp uchar u = yuv.ptr<uchar>(yuv.rows * 2 / 3 + row/2)[(col/2)*2 + 1]; rows 182 modules/imgproc/test/test_cvtyuv.cpp uchar v = yuv.ptr<uchar>(yuv.rows * 2 / 3 + row/2)[(col/2)*2]; rows 194 modules/imgproc/test/test_cvtyuv.cpp uchar u = yuv.ptr<uchar>(yuv.rows * 2 / 3 + row/2)[(col/2)*2]; rows 195 modules/imgproc/test/test_cvtyuv.cpp uchar v = yuv.ptr<uchar>(yuv.rows * 2 / 3 + row/2)[(col/2)*2 + 1]; rows 205 modules/imgproc/test/test_cvtyuv.cpp int h = yuv.rows * 2 / 3; rows 218 modules/imgproc/test/test_cvtyuv.cpp int h = yuv.rows * 2 / 3; rows 524 modules/imgproc/test/test_cvtyuv.cpp for(int row = 0; row < rgb.rows; ++row) rows 534 modules/imgproc/test/test_cvtyuv.cpp for(int row = 0; row < rgb.rows; ++row) rows 544 modules/imgproc/test/test_cvtyuv.cpp for(int row = 0; row < rgb.rows; ++row) rows 136 modules/imgproc/test/test_distancetransform.cpp int i = cvtest::randInt(rng) % mat.rows; rows 157 modules/imgproc/test/test_distancetransform.cpp int width = _src->cols, height = _src->rows; rows 219 modules/imgproc/test/test_distancetransform.cpp float* t1 = (float*)(temp->data.ptr + (temp->rows - i - 1)*temp->step); rows 79 modules/imgproc/test/test_emd.cpp Mat _cost(_w1.rows, _w2.rows, CV_32F, cost); rows 825 modules/imgproc/test/test_filter.cpp calcGaussianKernel( kernel.rows, sigma, ky ); rows 827 modules/imgproc/test/test_filter.cpp for( int i = 0; i < kernel.rows; i++ ) rows 914 modules/imgproc/test/test_filter.cpp assert( src.rows == dst.rows + m - 1 && src.cols == dst.cols + m - 1 && rows 917 modules/imgproc/test/test_filter.cpp for( i = 0; i < dst.rows; i++ ) rows 999 modules/imgproc/test/test_filter.cpp Mat src(src0.rows + m - 1, src0.cols + m - 1, src0.depth()); rows 1124 modules/imgproc/test/test_filter.cpp kernel, Point(kernel.cols/2, kernel.rows/2), rows 1130 modules/imgproc/test/test_filter.cpp for( int i = 0; i < dst.rows; i++ ) rows 1176 modules/imgproc/test/test_filter.cpp for( int i = 0; i < src.rows; i++ ) rows 1181 modules/imgproc/test/test_filter.cpp if( i*2 + 1 < temp.rows ) rows 1194 modules/imgproc/test/test_filter.cpp kernel, Point(kernel.cols/2, kernel.rows/2), rows 1302 modules/imgproc/test/test_filter.cpp CV_Assert( src.rows == eigenv.rows && rows 1323 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) rows 1347 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) rows 1398 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) rows 1540 modules/imgproc/test/test_filter.cpp for( int i = 0; i < src.rows; i++ ) rows 1664 modules/imgproc/test/test_filter.cpp sum->create(img.rows+1, img.cols+1, CV_64F); rows 1666 modules/imgproc/test/test_filter.cpp sqsum->create(img.rows+1, img.cols+1, CV_64F); rows 1668 modules/imgproc/test/test_filter.cpp tilted->create(img.rows+1, img.cols+1, CV_64F); rows 184 modules/imgproc/test/test_floodfill.cpp rectangle( arr, Point(0,0), Point(arr.cols-1,arr.rows-1), Scalar::all(1), 1, 8, 0 ); rows 255 modules/imgproc/test/test_floodfill.cpp int cols = _img->cols, rows = _img->rows; rows 261 modules/imgproc/test/test_floodfill.cpp tmp = cvCreateMat( rows, cols, CV_MAKETYPE(CV_32F,CV_MAT_CN(_img->type)) ); rows 265 modules/imgproc/test/test_floodfill.cpp mask = cvCreateMat( rows + 2, cols + 2, CV_16UC1 ); rows 273 modules/imgproc/test/test_floodfill.cpp cvRectangle( mask, cvPoint(0,0), cvPoint(mask->cols-1,mask->rows-1), Scalar::all(1.), 1, 8, 0 ); rows 427 modules/imgproc/test/test_floodfill.cpp for( i = 0; i < rows; i++ ) rows 136 modules/imgproc/test/test_imgwarp.cpp test_mat[INPUT_OUTPUT][0].rows >= img.rows ) rows 139 modules/imgproc/test/test_imgwarp.cpp for( i = 0; i < img.rows; i++ ) rows 280 modules/imgproc/test/test_imgwarp.cpp CvMat* y_idx = cvCreateMat( 1, dst->rows, CV_32SC1 ); rows 283 modules/imgproc/test/test_imgwarp.cpp int drows = dst->rows, dcols = dst->cols; rows 296 modules/imgproc/test/test_imgwarp.cpp int t = (j*src->rows*2 + MIN(src->rows,drows) - 1)/(drows*2); rows 297 modules/imgproc/test/test_imgwarp.cpp t -= t >= src->rows; rows 304 modules/imgproc/test/test_imgwarp.cpp double scale_y = (double)src->rows/drows; rows 317 modules/imgproc/test/test_imgwarp.cpp y_idx->data.i[j] = i < 0 ? 0 : i >= src->rows ? src->rows - 1 : i; rows 345 modules/imgproc/test/test_imgwarp.cpp int drows = dst.rows, dcols = dst.cols; rows 346 modules/imgproc/test/test_imgwarp.cpp int srows = src.rows, scols = src.cols; rows 523 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); rows 525 modules/imgproc/test/test_imgwarp.cpp scale = ((double)dst.rows/src.rows + (double)dst.cols/src.cols)*0.5; rows 555 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) rows 634 modules/imgproc/test/test_imgwarp.cpp s[2] = Point2f(src.cols-1.f,src.rows-1.f); rows 635 modules/imgproc/test/test_imgwarp.cpp d[2] = Point2f(dst.cols-1.f,dst.rows-1.f); rows 636 modules/imgproc/test/test_imgwarp.cpp s[3] = Point2f(0,src.rows-1.f); rows 637 modules/imgproc/test/test_imgwarp.cpp d[3] = Point2f(0,dst.rows-1.f); rows 647 modules/imgproc/test/test_imgwarp.cpp s[i].y += bufer[i*4+1]*src.rows/2; rows 649 modules/imgproc/test/test_imgwarp.cpp d[i].y += bufer[i*4+3]*dst.rows/2; rows 671 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) rows 759 modules/imgproc/test/test_imgwarp.cpp double sz = MAX(src.rows, src.cols); rows 766 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; rows 892 modules/imgproc/test/test_imgwarp.cpp double sz = MAX(src.rows, src.cols); rows 895 modules/imgproc/test/test_imgwarp.cpp Mat _new_cam(test_mat[INPUT][3].rows,test_mat[INPUT][3].cols,CV_64F,new_cam); rows 899 modules/imgproc/test/test_imgwarp.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); rows 906 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; rows 923 modules/imgproc/test/test_imgwarp.cpp new_cam[2] = a[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*test_mat[INPUT][0].rows; //15% rows 1049 modules/imgproc/test/test_imgwarp.cpp double sz = MAX(mapx.rows, mapx.cols); rows 1052 modules/imgproc/test/test_imgwarp.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); rows 1059 modules/imgproc/test/test_imgwarp.cpp a[5] = (mapx.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; rows 1104 modules/imgproc/test/test_imgwarp.cpp int scols = src.cols, srows = src.rows; rows 1110 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) rows 1234 modules/imgproc/test/test_imgwarp.cpp 0, 1, center.y - dst.rows*0.5 + 0.5 }; rows 1333 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); rows 1357 modules/imgproc/test/test_imgwarp.cpp double a[6], dx = (dst0.cols - 1)*0.5, dy = (dst0.rows - 1)*0.5; rows 1574 modules/imgproc/test/test_imgwarp.cpp for (int y = 0; y < dst.rows; ++y) rows 175 modules/imgproc/test/test_imgwarp_strict.cpp for (y = cell_size; y < src.rows; y += cell_size) rows 178 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(x, 0), Point2i(x, src.rows), Scalar::all(0), 1); rows 214 modules/imgproc/test/test_imgwarp_strict.cpp scale_y = src.rows / static_cast<double>(dst.rows); rows 269 modules/imgproc/test/test_imgwarp_strict.cpp PRINT_TO_LOG("Ssize: (%d, %d)\n", src.cols, src.rows); rows 424 modules/imgproc/test/test_imgwarp_strict.cpp scale_y = src.rows / static_cast<double>(dst.rows); rows 605 modules/imgproc/test/test_imgwarp_strict.cpp for (int dy = 0; dy < tmp.rows; ++dy) rows 611 modules/imgproc/test/test_imgwarp_strict.cpp for (int dy = 0; dy < tmp.rows; ++dy) rows 678 modules/imgproc/test/test_imgwarp_strict.cpp const int n = std::min(std::min(src.cols, src.rows) / 10 + 1, 2); rows 689 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[1] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.rows + n - 1, 0))); rows 723 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); rows 737 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); rows 740 modules/imgproc/test/test_imgwarp_strict.cpp for (int y = 0; y < mapx.rows; ++y) rows 1019 modules/imgproc/test/test_imgwarp_strict.cpp M = getRotationMatrix2D(Point2f(src.cols / 2.f, src.rows / 2.f), rows 1142 modules/imgproc/test/test_imgwarp_strict.cpp float cols = static_cast<float>(src.cols), rows = static_cast<float>(src.rows); rows 1143 modules/imgproc/test/test_imgwarp_strict.cpp Point2f sp[] = { Point2f(0.0f, 0.0f), Point2f(cols, 0.0f), Point2f(0.0f, rows), Point2f(cols, rows) }; rows 1144 modules/imgproc/test/test_imgwarp_strict.cpp Point2f dp[] = { Point2f(rng.uniform(0.0f, cols), rng.uniform(0.0f, rows)), rows 1145 modules/imgproc/test/test_imgwarp_strict.cpp Point2f(rng.uniform(0.0f, cols), rng.uniform(0.0f, rows)), rows 1146 modules/imgproc/test/test_imgwarp_strict.cpp Point2f(rng.uniform(0.0f, cols), rng.uniform(0.0f, rows)), rows 1147 modules/imgproc/test/test_imgwarp_strict.cpp Point2f(rng.uniform(0.0f, cols), rng.uniform(0.0f, rows)) }; rows 215 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) rows 261 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) rows 129 modules/imgproc/test/test_templmatch.cpp (method >= CV_TM_CCOEFF && test_mat[INPUT][1].cols*test_mat[INPUT][1].rows <= 2) ) rows 152 modules/imgproc/test/test_templmatch.cpp int width_n = templ->cols*cn, height = templ->rows; rows 157 modules/imgproc/test/test_templmatch.cpp int area = templ->rows*templ->cols; rows 191 modules/imgproc/test/test_templmatch.cpp for( i = 0; i < result->rows; i++ ) rows 127 modules/imgproc/test/test_thresh.cpp int width_n = _src.cols*cn, height = _src.rows; rows 96 modules/imgproc/test/test_watershed.cpp for(int j = 0; j < markers.rows; ++j) rows 198 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); rows 384 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (expected.type() != actual.type() || expected.cols() != actual.cols() || expected.rows() != actual.rows()) { rows 412 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (expected.type() != actual.type() || expected.cols() != actual.cols() || expected.rows() != actual.rows()) { rows 26 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(m16.rows() == 512 && m16.cols() == 512 && m16.type() == CvType.CV_8UC4); rows 35 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(m16.rows() == m32.rows() && m16.cols() == m32.cols() && m16.type() == m32.type()); rows 63 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Mat m16 = new Mat(imgBGR.rows(), imgBGR.cols(), CvType.CV_8UC4); rows 64 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Mat m32 = new Mat(imgBGR.rows(), imgBGR.cols(), CvType.CV_8UC4); rows 66 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Bitmap bmp16 = Bitmap.createBitmap(imgBGR.cols(), imgBGR.rows(), Bitmap.Config.RGB_565); rows 67 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Bitmap bmp32 = Bitmap.createBitmap(imgBGR.cols(), imgBGR.rows(), Bitmap.Config.ARGB_8888); rows 59 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type); rows 62 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type) rows 67 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( rows, cols, type ); rows 110 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type, jdouble s_val0, jdouble s_val1, jdouble s_val2, jdouble s_val3); rows 114 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type, jdouble s_val0, jdouble s_val1, jdouble s_val2, jdouble s_val3) rows 120 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( rows, cols, type, s ); rows 628 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint rows, jint cols, jint type); rows 631 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint rows, jint cols, jint type) rows 637 modules/java/generator/src/cpp/Mat.cpp me->create( rows, cols, type ); rows 907 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type); rows 910 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type) rows 915 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::eye( rows, cols, type ); rows 1140 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type); rows 1143 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type) rows 1148 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::ones( rows, cols, type ); rows 1241 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint cn, jint rows); rows 1244 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint cn, jint rows) rows 1250 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->reshape( cn, rows ); rows 1354 modules/java/generator/src/cpp/Mat.cpp return me->rows; rows 1693 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type); rows 1696 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jint rows, jint cols, jint type) rows 1701 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::zeros( rows, cols, type ); rows 1769 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 1771 modules/java/generator/src/cpp/Mat.cpp int rest = ((me->rows - row) * me->cols - col) * me->channels(); rows 1790 modules/java/generator/src/cpp/Mat.cpp for(r=row+1; r<me->rows && count>0; r++) rows 1824 modules/java/generator/src/cpp/Mat.cpp int rest = ((m->rows - row) * m->cols - col) * (int)m->elemSize(); rows 1863 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 1890 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 1917 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 1944 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 1968 modules/java/generator/src/cpp/Mat.cpp int bytesRestInMat = ((m->rows - row) * m->cols - col) * (int)m->elemSize(); rows 2006 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 2033 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 2060 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 2087 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 2114 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 2140 modules/java/generator/src/cpp/Mat.cpp if(me->rows<=row || me->cols<=col) return 0; // indexes out of range rows 182 modules/java/generator/src/cpp/converters.cpp v_mat.reserve(mat.rows); rows 183 modules/java/generator/src/cpp/converters.cpp for(int i=0; i<mat.rows; i++) rows 210 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); rows 223 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); rows 236 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); rows 249 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); rows 97 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.dims == 2 && info.height == (uint32_t)src.rows && info.width == (uint32_t)src.cols ); rows 160 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 205 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 256 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 290 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 323 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 373 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 389 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 425 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 464 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 499 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 517 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 549 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 594 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 624 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 660 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); rows 694 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 726 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); rows 228 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); rows 414 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (expected.type() != actual.type() || expected.cols() != actual.cols() || expected.rows() != actual.rows()) { rows 442 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (expected.type() != actual.type() || expected.cols() != actual.cols() || expected.rows() != actual.rows()) { rows 249 modules/ml/src/ann_mlp.cpp int n = inputs.rows, dn0 = n; rows 324 modules/ml/src/ann_mlp.cpp for( int i = 0; i < _src.rows; i++ ) rows 334 modules/ml/src/ann_mlp.cpp for( int i = 0; i < _src.rows; i++ ) rows 351 modules/ml/src/ann_mlp.cpp for( int i = 0; i < _src.rows; i++ ) rows 361 modules/ml/src/ann_mlp.cpp for( int i = 0; i < _src.rows; i++ ) rows 373 modules/ml/src/ann_mlp.cpp const double* bias = w.ptr<double>(w.rows-1); rows 374 modules/ml/src/ann_mlp.cpp int i, j, n = sums.rows, cols = sums.cols; rows 457 modules/ml/src/ann_mlp.cpp const double* bias = w.ptr<double>(w.rows-1); rows 458 modules/ml/src/ann_mlp.cpp int i, j, n = _xf.rows, cols = _xf.cols; rows 547 modules/ml/src/ann_mlp.cpp int count = inputs.rows; rows 594 modules/ml/src/ann_mlp.cpp int count = outputs.rows; rows 677 modules/ml/src/ann_mlp.cpp if( inputs.rows != outputs.rows ) rows 723 modules/ml/src/ann_mlp.cpp int count = inputs.rows; rows 876 modules/ml/src/ann_mlp.cpp double inv_count = 1./inputs.rows; rows 880 modules/ml/src/ann_mlp.cpp int count = inputs.rows; rows 989 modules/ml/src/ann_mlp.cpp int i, iter = -1, count = inputs.rows; rows 62 modules/ml/src/data.cpp if( vec.cols == 1 || vec.rows == 1 ) rows 65 modules/ml/src/data.cpp m = vec.cols + vec.rows - 1; rows 70 modules/ml/src/data.cpp m = vec.rows; rows 132 modules/ml/src/data.cpp layout == ROW_SAMPLE ? samples.rows : samples.cols; rows 148 modules/ml/src/data.cpp return layout == ROW_SAMPLE ? samples.cols : samples.rows; rows 247 modules/ml/src/data.cpp int nsamples = layout == ROW_SAMPLE ? samples.rows : samples.cols; rows 248 modules/ml/src/data.cpp int ninputvars = layout == ROW_SAMPLE ? samples.cols : samples.rows; rows 285 modules/ml/src/data.cpp if( (responses.cols == 1 || responses.rows == 1) && (int)responses.total() == nsamples ) rows 289 modules/ml/src/data.cpp CV_Assert( (layout == ROW_SAMPLE && responses.rows == nsamples) || rows 291 modules/ml/src/data.cpp noutputvars = layout == ROW_SAMPLE ? responses.cols : responses.rows; rows 408 modules/ml/src/data.cpp int i, j, nz = countNonZero(mask), n = mask.cols + mask.rows - 1; rows 427 modules/ml/src/data.cpp CV_Assert((data.cols == 1 || data.rows == 1) && (data.type() == CV_32S || data.type() == CV_32F)); rows 438 modules/ml/src/data.cpp int i, n = data.cols + data.rows - 1; rows 610 modules/ml/src/data.cpp int nsamples = tempSamples.rows; rows 166 modules/ml/src/em.cpp int i, nsamples = samples.rows; rows 172 modules/ml/src/em.cpp _outputs.create(samples.rows, nclusters, ptype); rows 243 modules/ml/src/em.cpp int nsamples = samples.rows; rows 258 modules/ml/src/em.cpp probs->rows == nsamples && probs->cols == nclusters && rows 263 modules/ml/src/em.cpp (weights->cols == 1 || weights->rows == 1) && static_cast<int>(weights->total()) == nclusters && rows 268 modules/ml/src/em.cpp means->rows == nclusters && means->cols == dim && rows 307 modules/ml/src/em.cpp for(int y = 0; y < probs.rows; y++) rows 396 modules/ml/src/em.cpp int nsamples = trainSamples.rows; rows 447 modules/ml/src/em.cpp weights.at<double>(clusterIndex) = static_cast<double>(clusterSamples.rows)/static_cast<double>(nsamples); rows 630 modules/ml/src/em.cpp trainProbs.create(trainSamples.rows, nclusters, CV_64FC1); rows 631 modules/ml/src/em.cpp trainLabels.create(trainSamples.rows, 1, CV_32SC1); rows 632 modules/ml/src/em.cpp trainLogLikelihoods.create(trainSamples.rows, 1, CV_64FC1); rows 639 modules/ml/src/em.cpp for(int sampleIndex = 0; sampleIndex < trainSamples.rows; sampleIndex++) rows 661 modules/ml/src/em.cpp const double minPosWeight = trainSamples.rows * DBL_EPSILON; rows 676 modules/ml/src/em.cpp for(int sampleIndex = 0; sampleIndex < trainSamples.rows; sampleIndex++) rows 706 modules/ml/src/em.cpp for(int sampleIndex = 0; sampleIndex < trainSamples.rows; sampleIndex++) rows 757 modules/ml/src/em.cpp weights /= trainSamples.rows; rows 61 modules/ml/src/gbt.cpp return (mat->cols > mat->rows) ? mat->cols : mat->rows; rows 186 modules/ml/src/gbt.cpp int n = _train_data->rows; rows 201 modules/ml/src/gbt.cpp missing = cvCreateMat(_missing_mask->rows, _missing_mask->cols, rows 207 modules/ml/src/gbt.cpp int step = (_responses->cols > _responses->rows) ? 1 : _responses->step / CV_ELEM_SIZE(_responses->type); rows 366 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 441 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 452 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 463 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 492 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 531 modules/ml/src/gbt.cpp int s_step = (sample_idx->cols > sample_idx->rows) ? 1 rows 821 modules/ml/src/gbt.cpp if ((k >= 0) && (k<class_count) && (weak_responses->rows != 1)) rows 823 modules/ml/src/gbt.cpp if ((k == -1) && (weak_responses->rows != class_count)) rows 1271 modules/ml/src/gbt.cpp n = (type == CV_TRAIN_ERROR && n == 0) ? _data->get_values()->rows : n; rows 119 modules/ml/src/inner_functions.cpp int dim = A.rows; rows 178 modules/ml/src/kdtree.cpp int i, j, n = _points.rows, ptdims = _points.cols, top = 0; rows 282 modules/ml/src/kdtree.cpp K = std::min(K, points.rows); rows 478 modules/ml/src/kdtree.cpp (idxmat.cols == 1 || idxmat.rows == 1) ); rows 509 modules/ml/src/kdtree.cpp CV_Assert( (unsigned)k < (unsigned)points.rows ); rows 521 modules/ml/src/kdtree.cpp CV_Assert( (unsigned)ptidx < (unsigned)points.rows); rows 147 modules/ml/src/knearest.cpp int testidx, baseidx, i, j, d = samples.cols, nsamples = samples.rows; rows 326 modules/ml/src/knearest.cpp int testcount = test_samples.rows; rows 382 modules/ml/src/knearest.cpp int testcount = test_samples.rows; rows 409 modules/ml/src/knearest.cpp for (int i=0; i<test_samples.rows; ++i) rows 412 modules/ml/src/knearest.cpp if (res.rows>i) rows 416 modules/ml/src/knearest.cpp if (nr.rows>i) rows 420 modules/ml/src/knearest.cpp if (d.rows>i) rows 159 modules/ml/src/lr.cpp Mat data_t = Mat::zeros(_data_i.rows, _data_i.cols+1, CV_32F); rows 160 modules/ml/src/lr.cpp vconcat(Mat(_data_i.rows, 1, _data_i.type(), Scalar::all(1.0)), data_t.col(0)); rows 172 modules/ml/src/lr.cpp if(_labels_i.rows != _data_i.rows) rows 242 modules/ml/src/lr.cpp Mat data_t = Mat::zeros(data.rows, data.cols+1, CV_32F); rows 247 modules/ml/src/lr.cpp vconcat(Mat(data.rows, 1, data.type(), Scalar::all(1.0)), data_t.col(i)); rows 255 modules/ml/src/lr.cpp CV_Assert(thetas.rows > 0); rows 266 modules/ml/src/lr.cpp Mat pred_m = Mat::zeros(data_t.rows, thetas.rows, data.type()); rows 268 modules/ml/src/lr.cpp if(thetas.rows == 1) rows 279 modules/ml/src/lr.cpp for(int i = 0;i<thetas.rows;i++) rows 284 modules/ml/src/lr.cpp for(int i = 0;i<pred_m.rows;i++) rows 319 modules/ml/src/lr.cpp m = _data.rows; rows 377 modules/ml/src/lr.cpp m = _data.rows; rows 411 modules/ml/src/lr.cpp for(int ii = 1;ii<gradient.rows;ii++) rows 459 modules/ml/src/lr.cpp if(j+size_b<=_data.rows) rows 466 modules/ml/src/lr.cpp data_d = _data(Range(j, _data.rows), Range::all()); rows 467 modules/ml/src/lr.cpp labels_l = _labels(Range(j, _labels.rows),Range::all()); rows 470 modules/ml/src/lr.cpp m = data_d.rows; rows 496 modules/ml/src/lr.cpp for(int k = 1;k<gradient.rows;k++) rows 507 modules/ml/src/lr.cpp if(j+size_b>_data.rows) rows 527 modules/ml/src/lr.cpp for(int i = 0;i<labels.rows;i++) rows 553 modules/ml/src/lr.cpp Mat new_labels = Mat::zeros(labels.rows, labels.cols, labels.type()); rows 557 modules/ml/src/lr.cpp for(int i =0;i<labels.rows;i++) rows 615 modules/ml/src/lr.cpp for(int ii =0;ii<labels_o.rows;ii++) rows 108 modules/ml/src/nbayes.cpp int nsamples = samples.rows; rows 309 modules/ml/src/nbayes.cpp int nsamples = samples.rows, nclasses = (int)cls_labels.total(); rows 316 modules/ml/src/nbayes.cpp if( samples.rows > 1 && _results.needed() ) rows 346 modules/ml/src/svm.cpp int i, nsamples = _samples.rows; rows 487 modules/ml/src/svm.cpp sample_count = samples.rows; rows 1013 modules/ml/src/svm.cpp int sample_count = _samples.rows; rows 1039 modules/ml/src/svm.cpp int sample_count = _samples.rows; rows 1090 modules/ml/src/svm.cpp int sample_count = _samples.rows; rows 1119 modules/ml/src/svm.cpp int sample_count = _samples.rows; rows 1158 modules/ml/src/svm.cpp int sample_count = _samples.rows; rows 1360 modules/ml/src/svm.cpp int i, j, k, sample_count = _samples.rows; rows 1420 modules/ml/src/svm.cpp if( (cw.cols != 1 && cw.rows != 1) || rows 1698 modules/ml/src/svm.cpp int sample_count = samples.rows; rows 1840 modules/ml/src/svm.cpp int sv_total = svm->sv.rows; rows 1916 modules/ml/src/svm.cpp int nsamples = samples.rows; rows 2045 modules/ml/src/svm.cpp int i, sv_total = sv.rows; rows 87 modules/ml/src/testset.cpp std::vector<PairDI> dis(samples.rows); rows 89 modules/ml/src/testset.cpp for( i = 0; i < samples.rows; i++ ) rows 1498 modules/ml/src/tree.cpp int i, nsamples = samples.rows; rows 83 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( _means.rows == (int)sizes.size() && covs.size() == sizes.size() ); rows 84 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !data.empty() && data.rows == total ); rows 87 modules/ml/test/test_emknearestkmeans.cpp labels.create( data.rows, 1, labelType ); rows 91 modules/ml/test/test_emknearestkmeans.cpp for(int i = 0; i < _means.rows; i++) rows 100 modules/ml/test/test_emknearestkmeans.cpp assert( mit->rows == 1 && mit->cols == data.cols ); rows 101 modules/ml/test/test_emknearestkmeans.cpp assert( cit->rows == data.cols && cit->cols == data.cols ); rows 144 modules/ml/test/test_emknearestkmeans.cpp assert( labels.total() == total && (labels.cols == 1 || labels.rows == 1)); rows 188 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( labels.rows == 1 || labels.cols == 1 ); rows 189 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( origLabels.rows == 1 || origLabels.cols == 1 ); rows 201 modules/ml/test/test_emknearestkmeans.cpp for( int i = 0; i < labels.rows; i++ ) rows 209 modules/ml/test/test_emknearestkmeans.cpp for( int i = 0; i < labels.rows; i++ ) rows 215 modules/ml/test/test_emknearestkmeans.cpp err /= (float)labels.rows; rows 424 modules/ml/test/test_emknearestkmeans.cpp labels.create( testData.rows, 1, CV_32SC1 ); rows 425 modules/ml/test/test_emknearestkmeans.cpp for( int i = 0; i < testData.rows; i++ ) rows 466 modules/ml/test/test_emknearestkmeans.cpp Mat probs(trainData.rows, params.nclusters, CV_64FC1, cv::Scalar(1)); rows 553 modules/ml/test/test_emknearestkmeans.cpp Mat firstResult(samples.rows, 1, CV_32SC1); rows 554 modules/ml/test/test_emknearestkmeans.cpp for( int i = 0; i < samples.rows; i++) rows 590 modules/ml/test/test_emknearestkmeans.cpp for( int i = 0; i < samples.rows; i++) rows 627 modules/ml/test/test_emknearestkmeans.cpp vector<int> trainSamplesMask(samples.rows, 0); rows 628 modules/ml/test/test_emknearestkmeans.cpp int trainSamplesCount = (int)(0.5f * samples.rows); rows 640 modules/ml/test/test_emknearestkmeans.cpp for(int i = 0; i < samples.rows; i++) rows 663 modules/ml/test/test_emknearestkmeans.cpp for(int i = 0; i < samples.rows; i++) rows 680 modules/ml/test/test_emknearestkmeans.cpp double testError = (double)(testConfusionMat.at<int>(1,0) + testConfusionMat.at<int>(0,1)) / (samples.rows - trainSamplesCount); rows 46 modules/ml/test/test_gbttest.cpp return (mat->cols > mat->rows) ? mat->cols : mat->rows; rows 75 modules/ml/test/test_lr.cpp CV_Assert(_p_labels_temp.rows == _o_labels_temp.rows); rows 77 modules/ml/test/test_lr.cpp accuracy = (float)countNonZero(_p_labels_temp == _o_labels_temp)/_p_labels_temp.rows; rows 192 modules/ml/test/test_lr.cpp CV_Assert(responses1.rows == responses2.rows); rows 197 modules/ml/test/test_lr.cpp comp_learnt_mats = comp_learnt_mats.reshape(1, comp_learnt_mats.rows*comp_learnt_mats.cols); rows 205 modules/ml/test/test_lr.cpp errorCount += 1 - (float)countNonZero(responses1 == responses2)/responses1.rows; rows 206 modules/ml/test/test_lr.cpp errorCount += 1 - (float)sum(comp_learnt_mats)[0]/comp_learnt_mats.rows; rows 140 modules/ml/test/test_mltests2.cpp sample_count = (type == CV_TRAIN_ERROR && sample_count == 0) ? samples.rows : sample_count; rows 242 modules/ml/test/test_save_load.cpp for (int row = 0; row < input.rows; ++row) rows 485 modules/objdetect/src/cascadedetect.cpp sz0 = Size(std::max(rbuf.cols, (int)alignSize(sz0.width, 16)), std::max(rbuf.rows, sz0.height)); rows 1309 modules/objdetect/src/haar.cpp int y1 = range.start*stripSize, y2 = std::min(range.end*stripSize, sum1.rows - 1 - winSize0.height); rows 1536 modules/objdetect/src/haar.cpp maxSize.height = img->rows; rows 1540 modules/objdetect/src/haar.cpp temp.reset(cvCreateMat( img->rows, img->cols, CV_8UC1 )); rows 1541 modules/objdetect/src/haar.cpp sum.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); rows 1542 modules/objdetect/src/haar.cpp sqsum.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_64FC1 )); rows 1548 modules/objdetect/src/haar.cpp tilted.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); rows 1568 modules/objdetect/src/haar.cpp normImg.reset(cvCreateMat( img->rows, img->cols, CV_32FC1)); rows 1570 modules/objdetect/src/haar.cpp imgSmall.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_8UC1 )); rows 1576 modules/objdetect/src/haar.cpp CvSize sz(cvRound( img->cols/factor ), cvRound( img->rows/factor )); rows 1615 modules/objdetect/src/haar.cpp cv::Mat fsum(sum1.rows, sum1.cols, CV_32F, sum1.data.ptr, sum1.step); rows 1639 modules/objdetect/src/haar.cpp sumcanny.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); rows 1646 modules/objdetect/src/haar.cpp factor*cascade->orig_window_size.height < img->rows - 10; rows 1668 modules/objdetect/src/haar.cpp int endY = cvRound((img->rows - winSize.height) / ystep); rows 1750 modules/objdetect/src/haar.cpp scanROI.height = std::min(scanROI.height + dy*2, img->rows-1-scanROI.y); rows 231 modules/objdetect/src/hog.cpp img.rows + paddingTL.height + paddingBR.height); rows 574 modules/objdetect/src/hog.cpp size_t cacheRows = blockCache.rows; rows 778 modules/objdetect/src/hog.cpp (pt.y/cacheStride.height) % blockCache.rows); rows 1437 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) rows 1476 modules/objdetect/src/hog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); rows 1503 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) rows 1585 modules/objdetect/src/hog.cpp double minScale = i1 > 0 ? levelScale[i1] : i2 > 1 ? levelScale[i1+1] : std::max(img.cols, img.rows); rows 1586 modules/objdetect/src/hog.cpp Size maxSz(cvCeil(img.cols/minScale), cvCeil(img.rows/minScale)); rows 1594 modules/objdetect/src/hog.cpp Size sz(cvRound(img.cols/scale), cvRound(img.rows/scale)); rows 3290 modules/objdetect/src/hog.cpp Size maxSz(cvCeil(img.cols/(*locations)[0].scale), cvCeil(img.rows/(*locations)[0].scale)); rows 3298 modules/objdetect/src/hog.cpp Size sz(cvRound(img.cols / scale), cvRound(img.rows / scale)); rows 3344 modules/objdetect/src/hog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); rows 3369 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) rows 676 modules/objdetect/test/test_cascadeandhog.cpp size_t cacheRows = blockCache.rows; rows 832 modules/objdetect/test/test_cascadeandhog.cpp (unsigned)pt.y <= (unsigned)(grad.rows - blockSize.height) ); rows 839 modules/objdetect/test/test_cascadeandhog.cpp (pt.y/cacheStride.height) % blockCache.rows); rows 1020 modules/objdetect/test/test_cascadeandhog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); rows 1043 modules/objdetect/test/test_cascadeandhog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) rows 1122 modules/objdetect/test/test_cascadeandhog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); rows 1145 modules/objdetect/test/test_cascadeandhog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) rows 1191 modules/objdetect/test/test_cascadeandhog.cpp img.rows + paddingTL.height + paddingBR.height); rows 29 modules/photo/perf/perf_inpaint.cpp Rect inpaintArea(src.cols/3, src.rows/3, sz.width, sz.height); rows 122 modules/photo/src/align.cpp int maxlevel = static_cast<int>(log((double)max(img0.rows, img0.cols)) / log(2.0)) - 1; rows 169 modules/photo/src/align.cpp int height = src.rows - abs(shift.y); rows 221 modules/photo/src/align.cpp dst = Mat(src.rows / 2, src.cols / 2, CV_8UC1); rows 226 modules/photo/src/align.cpp for(int y = 0; y < dst.rows; y ++) { rows 83 modules/photo/src/calibrate.cpp sample_points.push_back(Point(rand() % images[0].cols, rand() % images[0].rows)); rows 86 modules/photo/src/calibrate.cpp int x_points = static_cast<int>(sqrt(static_cast<double>(samples) * images[0].cols / images[0].rows)); rows 89 modules/photo/src/calibrate.cpp int step_y = images[0].rows / y_points; rows 94 modules/photo/src/calibrate.cpp 0 <= y && y < images[0].rows ) rows 103 modules/photo/src/calibrate.cpp Mat B = Mat::zeros(A.rows, 1, CV_32F); rows 141 modules/photo/src/contrast_preserve.hpp Point anchor(kernelx.cols - kernelx.cols/2 - 1, kernelx.rows - kernelx.rows/2 - 1); rows 151 modules/photo/src/contrast_preserve.hpp Point anchor(kernely.cols - kernely.cols/2 - 1, kernely.rows - kernely.rows/2 - 1); rows 83 modules/photo/src/denoise_tvl1.cpp int i, x, y, rows=observations[0].rows, cols=observations[0].cols,count; rows 85 modules/photo/src/denoise_tvl1.cpp CV_Assert(observations[i].rows==rows && observations[i].cols==cols); rows 88 modules/photo/src/denoise_tvl1.cpp Mat X, P = Mat::zeros(rows, cols, CV_MAKETYPE(workdepth, 2)); rows 92 modules/photo/src/denoise_tvl1.cpp Rs[count]=Mat::zeros(rows,cols,workdepth); rows 101 modules/photo/src/denoise_tvl1.cpp for( y = 0; y < rows; y++ ) rows 104 modules/photo/src/denoise_tvl1.cpp const double* x_next = X.ptr<double>(std::min(y+1, rows-1)); rows 132 modules/photo/src/denoise_tvl1.cpp for( y = 0; y < rows; y++ ) rows 163 modules/photo/src/denoise_tvl1.cpp result.create(X.rows,X.cols,CV_8U); rows 57 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 64 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 69 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 76 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 81 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 88 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 93 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), rows 253 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 261 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 267 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 275 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 281 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 289 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 295 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), rows 111 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp rows_ = srcImgs[0].rows; rows 53 modules/photo/src/hdr_common.cpp int height = images[0].rows; rows 57 modules/photo/src/hdr_common.cpp CV_Assert(images[i].cols == width && images[i].rows == height); rows 90 modules/photo/src/inpaint.cpp for( i = num = 0; i < f->rows; i++ ) rows 121 modules/photo/src/inpaint.cpp for (i=0; i<f->rows; i++) { rows 254 modules/photo/src/inpaint.cpp if ((i<=0)||(j<=0)||(i>f->rows)||(j>f->cols)) continue; rows 269 modules/photo/src/inpaint.cpp for (i=0; i<f->rows; i++) { rows 296 modules/photo/src/inpaint.cpp if ((i<=1)||(j<=1)||(i>t->rows-1)||(j>t->cols-1)) continue; rows 336 modules/photo/src/inpaint.cpp int km=k-1+(k==1),kp=k-1-(k==t->rows-2); rows 339 modules/photo/src/inpaint.cpp if (k>0&&l>0&&k<t->rows-1&&l<t->cols-1) { rows 408 modules/photo/src/inpaint.cpp if ((i<=1)||(j<=1)||(i>t->rows-1)||(j>t->cols-1)) continue; rows 448 modules/photo/src/inpaint.cpp int km=k-1+(k==1),kp=k-1-(k==t->rows-2); rows 451 modules/photo/src/inpaint.cpp if (k>0&&l>0&&k<t->rows-1&&l<t->cols-1) { rows 528 modules/photo/src/inpaint.cpp if ((i<=1)||(j<=1)||(i>t->rows-1)||(j>t->cols-1)) continue; rows 542 modules/photo/src/inpaint.cpp int km=k-1+(k==1),kp=k-1-(k==f->rows-2); rows 545 modules/photo/src/inpaint.cpp if (k>0&&l>0&&k<f->rows-1&&l<f->cols-1) { rows 616 modules/photo/src/inpaint.cpp if ((i<=1)||(j<=1)||(i>t->rows-1)||(j>t->cols-1)) continue; rows 630 modules/photo/src/inpaint.cpp int km=k-1+(k==1),kp=k-1-(k==t->rows-2); rows 633 modules/photo/src/inpaint.cpp if (k>0&&l>0&&k<t->rows-1&&l<t->cols-1) { rows 702 modules/photo/src/inpaint.cpp for (i=1; i<image->rows-1; i++) {\ rows 712 modules/photo/src/inpaint.cpp for (i=0; i<src->rows; i++) {\ rows 760 modules/photo/src/inpaint.cpp erows = input_img->rows + 2; rows 83 modules/photo/src/merge.cpp CV_Assert(response.rows == LDR_SIZE && response.cols == 1 && rows 320 modules/photo/src/merge.cpp CV_Assert(response.rows == LDR_SIZE && response.cols == 1 && rows 106 modules/photo/src/npr.hpp int h = img.rows; rows 121 modules/photo/src/npr.hpp int h = img.rows; rows 136 modules/photo/src/npr.hpp int h = img.rows; rows 174 modules/photo/src/npr.hpp int h = output.rows; rows 218 modules/photo/src/npr.hpp int h = output.rows; rows 309 modules/photo/src/npr.hpp int h = output.rows; rows 96 modules/photo/src/seamless_cloning.cpp CV_Assert(minxd >= 0 && minyd >= 0 && maxxd <= dest.rows && maxyd <= dest.cols); rows 108 modules/photo/src/seamless_cloning_impl.cpp Mat temp = Mat::zeros(src.rows, 2 * src.cols + 2, CV_32F); rows 112 modules/photo/src/seamless_cloning_impl.cpp src.copyTo(temp(Rect(1,0, src.cols, src.rows))); rows 114 modules/photo/src/seamless_cloning_impl.cpp for(int j = 0 ; j < src.rows ; ++j) rows 130 modules/photo/src/seamless_cloning_impl.cpp temp = Mat::zeros(src.cols, 2 * src.rows + 2, CV_32F); rows 135 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < src.rows ; ++i) rows 151 modules/photo/src/seamless_cloning_impl.cpp temp(Rect( 0, 1, src.cols, src.rows)).copyTo(dest); rows 162 modules/photo/src/seamless_cloning_impl.cpp const int h = img.rows; rows 222 modules/photo/src/seamless_cloning_impl.cpp const int h = img.rows; rows 230 modules/photo/src/seamless_cloning_impl.cpp rectangle(bound, Point(1, 1), Point(img.cols-2, img.rows-2), Scalar::all(0), -1); rows 257 modules/photo/src/seamless_cloning_impl.cpp const int h = destination.rows; rows 343 modules/photo/src/seamless_cloning_impl.cpp const int h = destination.rows; rows 498 modules/photo/src/tonemap.cpp int levels = static_cast<int>(logf(static_cast<float>(min(src.rows, src.cols))) / logf(2.0f)); rows 507 modules/photo/src/tonemap.cpp resize(layer, layer, Size(layer.cols / 2, layer.rows / 2)); rows 62 modules/photo/test/test_denoise_tvl1.cpp int x=rng(img.cols-r),y=rng(img.rows-r); rows 790 modules/python/src2/cv2.cpp ((src.cols != 1 || src.rows != channels) && rows 791 modules/python/src2/cv2.cpp (src.cols != channels || src.rows != 1))) rows 793 modules/python/src2/cv2.cpp Mat dst(src.rows, src.cols, depth, data); rows 63 modules/shape/src/emdL1.cpp CV_Assert((sig1.rows==sig2.rows) && (sig1.cols==sig2.cols) && (!sig1.empty()) && (!sig2.empty())); rows 64 modules/shape/src/emdL1.cpp if(!initBaseTrees(sig1.rows, 1)) rows 67 modules/shape/src/emdL1.cpp float *H1=new float[sig1.rows], *H2 = new float[sig2.rows]; rows 68 modules/shape/src/emdL1.cpp for (int ii=0; ii<sig1.rows; ii++) rows 105 modules/shape/src/haus_dis.cpp int K = int(propRank*(disMat.rows-1)); rows 107 modules/shape/src/haus_dis.cpp for (int r=0; r<disMat.rows; r++) rows 116 modules/shape/src/haus_dis.cpp Mat shortest(disMat.rows,1,CV_32F); rows 117 modules/shape/src/haus_dis.cpp for (int ii=0; ii<disMat.rows; ii++) rows 130 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; rows 140 modules/shape/src/hist_cost.cpp for(int i=0; i<scd1.rows; i++) rows 144 modules/shape/src/hist_cost.cpp for(int i=0; i<scd2.rows; i++) rows 154 modules/shape/src/hist_cost.cpp if (i<scd1.rows && j<scd2.rows) rows 255 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; rows 264 modules/shape/src/hist_cost.cpp for(int i=0; i<scd1.rows; i++) rows 269 modules/shape/src/hist_cost.cpp for(int i=0; i<scd2.rows; i++) rows 280 modules/shape/src/hist_cost.cpp if (i<scd1.rows && j<scd2.rows) rows 285 modules/shape/src/hist_cost.cpp for (int k=0; k<sig1.rows; k++) rows 289 modules/shape/src/hist_cost.cpp for (int k=0; k<sig2.rows; k++) rows 376 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; rows 385 modules/shape/src/hist_cost.cpp for(int i=0; i<scd1.rows; i++) rows 390 modules/shape/src/hist_cost.cpp for(int i=0; i<scd2.rows; i++) rows 401 modules/shape/src/hist_cost.cpp if (i<scd1.rows && j<scd2.rows) rows 492 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; rows 501 modules/shape/src/hist_cost.cpp for(int i=0; i<scd1.rows; i++) rows 506 modules/shape/src/hist_cost.cpp for(int i=0; i<scd2.rows; i++) rows 517 modules/shape/src/hist_cost.cpp if (i<scd1.rows && j<scd2.rows) rows 285 modules/shape/src/sc_dis.cpp gaussWindow = Mat::zeros(warpedImage.rows, warpedImage.cols, CV_32F); rows 289 modules/shape/src/sc_dis.cpp for (ii=0; ii<diffIm.rows; ii++) rows 299 modules/shape/src/sc_dis.cpp Mat appIm(diffIm.rows, diffIm.cols, CV_32F); rows 300 modules/shape/src/sc_dis.cpp for (ii=0; ii<diffIm.rows; ii++) rows 405 modules/shape/src/sc_dis.cpp cv::Mat mask(disMatrix.rows, disMatrix.cols, CV_8U); rows 490 modules/shape/src/sc_dis.cpp hungarian(costMat, matches, inliers1, inliers2, descriptors1.rows, descriptors2.rows); rows 502 modules/shape/src/sc_dis.cpp std::vector<int> free(costMatrix.rows, 0), collist(costMatrix.rows, 0); rows 503 modules/shape/src/sc_dis.cpp std::vector<int> matches(costMatrix.rows, 0), colsol(costMatrix.rows), rowsol(costMatrix.rows); rows 504 modules/shape/src/sc_dis.cpp std::vector<float> d(costMatrix.rows), pred(costMatrix.rows), v(costMatrix.rows); rows 513 modules/shape/src/sc_dis.cpp for (j = costMatrix.rows-1; j >= 0; j--) rows 518 modules/shape/src/sc_dis.cpp for (i = 1; i < costMatrix.rows; i++) rows 538 modules/shape/src/sc_dis.cpp for (i=0; i<costMatrix.rows; i++) rows 550 modules/shape/src/sc_dis.cpp for (j=0; j<costMatrix.rows; j++) rows 579 modules/shape/src/sc_dis.cpp for (j=1; j<costMatrix.rows; j++) rows 637 modules/shape/src/sc_dis.cpp for (j = 0; j < costMatrix.rows; j++) rows 653 modules/shape/src/sc_dis.cpp for (k = up; k < costMatrix.rows; k++) rows 687 modules/shape/src/sc_dis.cpp for (k = up; k < costMatrix.rows; k++) rows 736 modules/shape/src/sc_dis.cpp for (int nrow=0; nrow<trueCostMatrix.rows; nrow++) rows 742 modules/shape/src/sc_dis.cpp leftcost /= trueCostMatrix.rows; rows 120 modules/shape/src/tps_trans.cpp float a1=tpsParameters.at<float>(tpsParameters.rows-3,i); rows 121 modules/shape/src/tps_trans.cpp float ax=tpsParameters.at<float>(tpsParameters.rows-2,i); rows 122 modules/shape/src/tps_trans.cpp float ay=tpsParameters.at<float>(tpsParameters.rows-1,i); rows 126 modules/shape/src/tps_trans.cpp for (int j=0; j<shapeRef.rows; j++) rows 151 modules/shape/src/tps_trans.cpp Mat mapX(theinput.rows, theinput.cols, CV_32FC1); rows 152 modules/shape/src/tps_trans.cpp Mat mapY(theinput.rows, theinput.cols, CV_32FC1); rows 154 modules/shape/src/tps_trans.cpp for (int row = 0; row < theinput.rows; row++) rows 275 modules/shape/src/tps_trans.cpp Mat w(tpsParameters, Rect(0,0,2,tpsParameters.rows-3)); rows 160 modules/shape/test/test_shape.cpp for (int row=0; row<distanceMat.rows; row++) rows 182 modules/shape/test/test_shape.cpp float porc = 100*float(corrects)/(NSN*distanceMat.rows); rows 147 modules/stitching/include/opencv2/stitching.hpp CV_Assert(mask.type() == CV_8U && mask.cols == mask.rows); rows 147 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp Point c1 = corners_[l.first] + Point(src_[l.first].cols / 2, src_[l.first].rows / 2); rows 148 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp Point c2 = corners_[l.second] + Point(src_[l.second].cols / 2, src_[l.second].rows / 2); rows 151 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp c1 = corners_[r.first] + Point(src_[r.first].cols / 2, src_[r.first].rows / 2); rows 152 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp c2 = corners_[r.second] + Point(src_[r.second].cols / 2, src_[r.second].rows / 2); rows 92 modules/stitching/src/blenders.cpp for (int y = 0; y < img.rows; ++y) rows 144 modules/stitching/src/blenders.cpp for (int y = 0; y < img.rows; ++y) rows 184 modules/stitching/src/blenders.cpp weight_maps[i].cols, weight_maps[i].rows); rows 191 modules/stitching/src/blenders.cpp weight_maps[i].cols, weight_maps[i].rows); rows 240 modules/stitching/src/blenders.cpp dst_pyr_laplace_[i].create((dst_pyr_laplace_[i - 1].rows + 1) / 2, rows 242 modules/stitching/src/blenders.cpp dst_band_weights_[i].create((dst_band_weights_[i - 1].rows + 1) / 2, rows 270 modules/stitching/src/blenders.cpp size_t globalsize[2] = {src.cols, src.rows }; rows 290 modules/stitching/src/blenders.cpp std::min(dst_roi_.br().y, tl.y + img.rows + gap)); rows 312 modules/stitching/src/blenders.cpp int bottom = br_new.y - tl.y - img.rows; rows 472 modules/stitching/src/blenders.cpp size_t globalsize[2] = {mat.cols, mat.rows }; rows 500 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) rows 517 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) rows 156 modules/stitching/src/exposure_compensate.cpp std::vector<double> gains_vec(gains_.rows); rows 157 modules/stitching/src/exposure_compensate.cpp for (int i = 0; i < gains_.rows; ++i) rows 179 modules/stitching/src/exposure_compensate.cpp (images[img_idx].rows + bl_height_ - 1) / bl_height_); rows 181 modules/stitching/src/exposure_compensate.cpp int bl_height = (images[img_idx].rows + bl_per_img.height - 1) / bl_per_img.height; rows 189 modules/stitching/src/exposure_compensate.cpp std::min(bl_tl.y + bl_height, images[img_idx].rows)); rows 238 modules/stitching/src/exposure_compensate.cpp for (int y = 0; y < image.rows; ++y) rows 292 modules/stitching/src/matchers.cpp total_descriptors_height += roi_features[i].descriptors.rows; rows 312 modules/stitching/src/matchers.cpp descr_offset, descr_offset + roi_features[i].descriptors.rows); rows 314 modules/stitching/src/matchers.cpp descr_offset += roi_features[i].descriptors.rows; rows 423 modules/stitching/src/matchers.cpp int yl = r * gray_image.rows / grid_size.height; rows 425 modules/stitching/src/matchers.cpp int yr = (r+1) * gray_image.rows / grid_size.height; rows 532 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); rows 672 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); rows 95 modules/stitching/src/motion_estimators.cpp for (int i = 0; i < err1.rows; ++i) rows 254 modules/stitching/src/motion_estimators.cpp for (int i = 0; i < cam_params_.rows; ++i) rows 212 modules/stitching/src/seam_finders.cpp std::min(tl1.y + image1.rows, tl2.y + image2.rows)); rows 220 modules/stitching/src/seam_finders.cpp std::max(tl1.y + image1.rows, tl2.y + image2.rows)); rows 227 modules/stitching/src/seam_finders.cpp Mat tmp = mask1_(Rect(tl1.x - unionTl_.x, tl1.y - unionTl_.y, mask1.cols, mask1.rows)); rows 230 modules/stitching/src/seam_finders.cpp tmp = mask2_(Rect(tl2.x - unionTl_.x, tl2.y - unionTl_.y, mask2.cols, mask2.rows)); rows 504 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask2.rows; ++y) rows 514 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask1.rows; ++y) rows 951 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask.rows; ++y) rows 970 modules/stitching/src/seam_finders.cpp if (c >= 0 && c < mask.cols && r >= 0 && r < mask.rows && rows 989 modules/stitching/src/seam_finders.cpp if (y < mask.rows-1 && mask(y+1, x) && mask(y+1, x) != 255) rows 1053 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask.rows; ++y) rows 1099 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) rows 1243 modules/stitching/src/seam_finders.cpp if (y1 >= 0 && x1 >= 0 && y1 < img1.rows && x1 < img1.cols) rows 1260 modules/stitching/src/seam_finders.cpp if (y2 >= 0 && x2 >= 0 && y2 < img2.rows && x2 < img2.cols) rows 1344 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) rows 1386 modules/stitching/src/seam_finders.cpp if (y1 >= 0 && x1 >= 0 && y1 < img1.rows && x1 < img1.cols) rows 1403 modules/stitching/src/seam_finders.cpp if (y2 >= 0 && x2 >= 0 && y2 < img2.rows && x2 < img2.cols) rows 77 modules/stitching/src/timelapsers.cpp for (int y = 0; y < img.rows; ++y) rows 51 modules/stitching/test/test_blenders.cpp ASSERT_EQ(image1.rows, image2.rows); ASSERT_EQ(image1.cols, image2.cols); rows 58 modules/stitching/test/test_blenders.cpp mask1(Rect(0, 0, mask1.cols/2, mask1.rows)).setTo(255); rows 59 modules/stitching/test/test_blenders.cpp mask1(Rect(mask1.cols/2, 0, mask1.cols - mask1.cols/2, mask1.rows)).setTo(0); rows 62 modules/stitching/test/test_blenders.cpp mask2(Rect(0, 0, mask2.cols/2, mask2.rows)).setTo(0); rows 63 modules/stitching/test/test_blenders.cpp mask2(Rect(mask2.cols/2, 0, mask2.cols - mask2.cols/2, mask2.rows)).setTo(255); rows 67 modules/stitching/test/test_blenders.cpp blender.prepare(Rect(0, 0, max(image1s.cols, image2s.cols), max(image1s.rows, image2s.rows))); rows 56 modules/stitching/test/test_matchers.cpp rois.push_back(Rect(0, 0, img.cols / 2, img.rows / 2)); rows 57 modules/stitching/test/test_matchers.cpp rois.push_back(Rect(img.cols / 2, img.rows / 2, img.cols - img.cols / 2, img.rows - img.rows / 2)); rows 208 modules/superres/src/btv_l1.cpp for (int y = 0; y < forwardMotion.rows; ++y) rows 229 modules/superres/src/btv_l1.cpp _dst.create(src.rows * scale, src.cols * scale, src.type()); rows 233 modules/superres/src/btv_l1.cpp for (int y = 0, Y = 0; y < src.rows; ++y, Y += scale) rows 254 modules/superres/src/btv_l1.cpp _dst.create(src.rows * scale, src.cols * scale, type); rows 261 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { src.cols, src.rows }; rows 319 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { src1.cols * cn, src1.rows }; rows 336 modules/superres/src/btv_l1.cpp for (int y = 0; y < src1.rows; ++y) rows 416 modules/superres/src/btv_l1.cpp parallel_for_(Range(ksize, src.rows - ksize), body); rows 439 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { src.cols, src.rows }; rows 650 modules/superres/src/btv_l1.cpp Rect inner(btvKernelSize_, btvKernelSize_, uhighRes_.cols - 2 * btvKernelSize_, uhighRes_.rows - 2 * btvKernelSize_); rows 750 modules/superres/src/btv_l1.cpp Rect inner(btvKernelSize_, btvKernelSize_, highRes_.cols - 2 * btvKernelSize_, highRes_.rows - 2 * btvKernelSize_); rows 157 modules/superres/src/btv_l1_cuda.cpp dst.create(src.rows * scale, src.cols * scale, src.type()); rows 389 modules/superres/src/btv_l1_cuda.cpp Rect inner(btvKernelSize_, btvKernelSize_, highRes_.cols - 2 * btvKernelSize_, highRes_.rows - 2 * btvKernelSize_); rows 73 modules/superres/test/test_superres.cpp if (origFrame_.rows % scale_ == 0 && origFrame_.cols % scale_ == 0) rows 77 modules/superres/test/test_superres.cpp cv::Rect ROI(0, 0, (origFrame_.cols / scale_) * scale_, (origFrame_.rows / scale_) * scale_); rows 123 modules/superres/test/test_superres.cpp for (int y = 0; y < mask.rows; ++y) rows 243 modules/superres/test/test_superres.cpp cv::Rect inner(btvKernelSize, btvKernelSize, frame.cols - 2 * btvKernelSize, frame.rows - 2 * btvKernelSize); rows 273 modules/ts/src/cuda_test.cpp for (int y = 0; y < src.rows; ++y) rows 593 modules/ts/src/ts.cpp for(r=0; r<img.rows; r++) rows 601 modules/ts/src/ts.cpp uchar vals[] = {uchar(valR), uchar(valC), uchar(200*r/img.rows), uchar(255)}; rows 616 modules/ts/src/ts.cpp int nR = std::min(n, (img.rows+1)/2), nC = std::min(n, (img.cols+1)/2); rows 631 modules/ts/src/ts.cpp p = img.ptr(img.rows-r-1, c); rows 638 modules/ts/src/ts.cpp for(r=0; r<img.rows; r++) rows 188 modules/ts/src/ts_func.cpp CV_Assert(planes[0].rows == 1); rows 493 modules/ts/src/ts_func.cpp dst.create(src.cols, src.rows, src.type()); rows 496 modules/ts/src/ts_func.cpp for( i = 0; i < dst.rows; i++ ) rows 599 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) rows 621 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) rows 651 modules/ts/src/ts_func.cpp anchor = Point(kernel.cols/2, kernel.rows/2); rows 654 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, rows 661 modules/ts/src/ts_func.cpp for( int i = 0; i < kernel.rows; i++ ) rows 708 modules/ts/src/ts_func.cpp anchor = Point(kernel.cols/2, kernel.rows/2); rows 711 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, rows 718 modules/ts/src/ts_func.cpp for( int i = 0; i < kernel.rows; i++ ) rows 761 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) rows 784 modules/ts/src/ts_func.cpp anchor = Point(kernel.cols/2, kernel.rows/2); rows 787 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, rows 793 modules/ts/src/ts_func.cpp vector<double> coeff(kernel.rows*kernel.cols); rows 794 modules/ts/src/ts_func.cpp Mat cmat(kernel.rows, kernel.cols, CV_64F, &coeff[0]); rows 798 modules/ts/src/ts_func.cpp for( int i = 0; i < kernel.rows; i++ ) rows 871 modules/ts/src/ts_func.cpp dst.create(src.rows + top + bottom, src.cols + left + right, src.type()); rows 883 modules/ts/src/ts_func.cpp for( i = 0; i < src.rows; i++ ) rows 905 modules/ts/src/ts_func.cpp uchar* dptr = dst.ptr(i + top + src.rows); rows 930 modules/ts/src/ts_func.cpp for( i = 0; i < src.rows; i++ ) rows 948 modules/ts/src/ts_func.cpp j = borderInterpolate(i - top, src.rows, borderType); rows 958 modules/ts/src/ts_func.cpp j = borderInterpolate(i + src.rows, src.rows, borderType); rows 960 modules/ts/src/ts_func.cpp uchar* dptr = dst.ptr(i + top + src.rows); rows 2128 modules/ts/src/ts_func.cpp else if( a.dims == 2 && (a.rows == 1 || a.cols == 1) ) rows 2223 modules/ts/src/ts_func.cpp int a_rows = a.rows, a_cols = a.cols, b_rows = b.rows, b_cols = b.cols; rows 2245 modules/ts/src/ts_func.cpp c_rows = c.rows; rows 2301 modules/ts/src/ts_func.cpp (!haveShift || (shift.type() == mattype && (shift.rows == 1 || shift.cols == 1))) ); rows 2306 modules/ts/src/ts_func.cpp for( int i = 0; i < transmat.rows; i++ ) rows 2317 modules/ts/src/ts_func.cpp for( int i = 0; i < transmat.rows; i++ ) rows 2658 modules/ts/src/ts_func.cpp for( int i = 0; i < mat.rows; i++ ) rows 2733 modules/ts/src/ts_func.cpp for( int i = 0; i < kernel.rows; i++ ) rows 2775 modules/ts/src/ts_func.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); rows 2901 modules/ts/src/ts_func.cpp for( i = 0; i < m.m->rows; i++ ) rows 2904 modules/ts/src/ts_func.cpp out << (i < m.m->rows-1 ? ";\n" : ""); rows 94 modules/ts/src/ts_perf.cpp cv::Mat mr = cv::Mat(m.rows, (int)(m.cols * m.elemSize()), CV_8U, m.ptr(), m.step[0]); rows 1853 modules/ts/src/ts_perf.cpp CV_Assert(pts.size() == (size_t)desc.rows); rows 1854 modules/ts/src/ts_perf.cpp cv::AutoBuffer<int> idxs(desc.rows); rows 1856 modules/ts/src/ts_perf.cpp for (int i = 0; i < desc.rows; ++i) rows 1859 modules/ts/src/ts_perf.cpp std::sort((int*)idxs, (int*)idxs + desc.rows, KeypointComparator(pts)); rows 1864 modules/ts/src/ts_perf.cpp for(int j = 0; j < desc.rows; ++j) rows 35 modules/video/misc/java/test/VideoTest.java h = (int)(rgbLena.rows() / 2); rows 49 modules/video/perf/perf_optflowpyrlk.cpp int nPointsY = min(get<1>(get<3>(GetParam())), img1.rows); rows 81 modules/video/perf/perf_optflowpyrlk.cpp FormTrackingPointsArray(inPoints, frame1.cols, frame1.rows, nPointsX, nPointsY); rows 122 modules/video/perf/perf_optflowpyrlk.cpp int nPointsY = min(get<1>(get<3>(GetParam())), img1.rows); rows 155 modules/video/perf/perf_optflowpyrlk.cpp FormTrackingPointsArray(inPoints, frame1.cols, frame1.rows, nPointsX, nPointsY); rows 511 modules/video/src/bgfg_KNN.cpp for (long y = 0; y < _src.rows; y++) rows 608 modules/video/src/bgfg_KNN.cpp for(int row=0; row<meanBackground.rows; row++) rows 790 modules/video/src/bgfg_gaussmix2.cpp size_t globalsize[] = {frame.cols, frame.rows, 1}; rows 808 modules/video/src/bgfg_gaussmix2.cpp size_t globalsize[2] = {u_bgmodelUsedModes.cols, u_bgmodelUsedModes.rows}; rows 845 modules/video/src/bgfg_gaussmix2.cpp parallel_for_(Range(0, image.rows), rows 848 modules/video/src/bgfg_gaussmix2.cpp (float*)(bgmodel.ptr() + sizeof(GMM)*nmixtures*image.rows*image.cols), rows 874 modules/video/src/bgfg_gaussmix2.cpp for(int row=0; row<meanBackground.rows; row++) rows 80 modules/video/src/compat_video.cpp cv::Rect roi = rr.boundingRect() & cv::Rect(0, 0, img.cols, img.rows); rows 61 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); rows 134 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); rows 171 modules/video/src/ecc.cpp CV_Assert(src1.rows == dst.rows); rows 195 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); rows 219 modules/video/src/ecc.cpp CV_Assert(src1.rows == src2.rows); rows 227 modules/video/src/ecc.cpp for (int i=0; i<dst.rows; i++){ rows 233 modules/video/src/ecc.cpp CV_Assert(dst.cols == dst.rows); //dst is square (and symmetric) rows 236 modules/video/src/ecc.cpp for (int i=0; i<dst.rows; i++){ rows 239 modules/video/src/ecc.cpp dstPtr[i*(dst.rows+1)] = (float) pow(norm(mat),2); //diagonal elements rows 259 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 3 && update.rows == 8); rows 261 modules/video/src/ecc.cpp CV_Assert(map_matrix.rows == 2 && update.rows == 6); rows 263 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 2 && update.rows == 3); rows 265 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 2 && update.rows == 2); rows 344 modules/video/src/ecc.cpp CV_Assert (map.rows == 2 || map.rows ==3); rows 350 modules/video/src/ecc.cpp CV_Assert (map.rows ==3); rows 374 modules/video/src/ecc.cpp const int hs = src.rows; rows 376 modules/video/src/ecc.cpp const int hd = dst.rows; rows 486 modules/video/src/ecc.cpp templateZM = Mat::zeros(templateZM.rows, templateZM.cols, templateZM.type()); rows 56 modules/video/src/lkpyramid.cpp int rows = src.rows, cols = src.cols, cn = src.channels(), colsn = cols*cn, depth = src.depth(); rows 58 modules/video/src/lkpyramid.cpp dst.create(rows, cols, CV_MAKETYPE(DataType<deriv_type>::depth, cn*2)); rows 81 modules/video/src/lkpyramid.cpp for( y = 0; y < rows; y++ ) rows 83 modules/video/src/lkpyramid.cpp const uchar* srow0 = src.ptr<uchar>(y > 0 ? y-1 : rows > 1 ? 1 : 0); rows 85 modules/video/src/lkpyramid.cpp const uchar* srow2 = src.ptr<uchar>(y < rows-1 ? y+1 : rows > 1 ? rows-2 : 0); rows 259 modules/video/src/lkpyramid.cpp iprevPt.y < -winSize.height || iprevPt.y >= derivI.rows ) rows 511 modules/video/src/lkpyramid.cpp inextPt.y < -winSize.height || inextPt.y >= J.rows ) rows 711 modules/video/src/lkpyramid.cpp inextPoint.y < -winSize.height || inextPoint.y >= J.rows ) rows 764 modules/video/src/lkpyramid.cpp && ofs.y + img.rows + winSize.height <= wholeSize.height) rows 777 modules/video/src/lkpyramid.cpp if(temp.type() != img.type() || temp.cols != winSize.width*2 + img.cols || temp.rows != winSize.height * 2 + img.rows) rows 778 modules/video/src/lkpyramid.cpp temp.create(img.rows + winSize.height*2, img.cols + winSize.width*2, img.type()); rows 781 modules/video/src/lkpyramid.cpp img.copyTo(temp(Rect(winSize.width, winSize.height, img.cols, img.rows))); rows 799 modules/video/src/lkpyramid.cpp if(temp.type() != img.type() || temp.cols != winSize.width*2 + sz.width || temp.rows != winSize.height * 2 + sz.height) rows 816 modules/video/src/lkpyramid.cpp if(deriv.type() != derivType || deriv.cols != winSize.width*2 + sz.width || deriv.rows != winSize.height * 2 + sz.height) rows 898 modules/video/src/lkpyramid.cpp prevPyr[0] = UMat(prevImg.rows,(prevImg.cols+pitchAlign-1)&(-pitchAlign),CV_32FC1).colRange(0,prevImg.cols); rows 899 modules/video/src/lkpyramid.cpp nextPyr[0] = UMat(nextImg.rows,(nextImg.cols+pitchAlign-1)&(-pitchAlign),CV_32FC1).colRange(0,nextImg.cols); rows 902 modules/video/src/lkpyramid.cpp int cols,rows; rows 905 modules/video/src/lkpyramid.cpp rows = (prevPyr[level - 1].rows+1)/2; rows 906 modules/video/src/lkpyramid.cpp prevPyr[level] = UMat(rows,(cols+pitchAlign-1)&(-pitchAlign),prevPyr[level-1].type()).colRange(0,cols); rows 908 modules/video/src/lkpyramid.cpp rows = (nextPyr[level - 1].rows+1)/2; rows 909 modules/video/src/lkpyramid.cpp nextPyr[level] = UMat(rows,(cols+pitchAlign-1)&(-pitchAlign),nextPyr[level-1].type()).colRange(0,cols); rows 1004 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, (int)I.rows); // const int rows rows 1173 modules/video/src/lkpyramid.cpp && ofs.y + prevPyr[lvlStep1].rows + winSize.height <= fullSize.height); rows 1201 modules/video/src/lkpyramid.cpp && ofs.y + nextPyr[lvlStep2].rows + winSize.height <= fullSize.height); rows 1227 modules/video/src/lkpyramid.cpp derivIBuf.create(prevPyr[0].rows + winSize.height*2, prevPyr[0].cols + winSize.width*2, CV_MAKETYPE(derivDepth, prevPyr[0].channels() * 2)); rows 122 modules/video/src/optflowgf.cpp int height = src.rows; rows 222 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; rows 318 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; rows 411 modules/video/src/optflowgf.cpp int x, y, i, width = _flow.cols, height = _flow.rows; rows 674 modules/video/src/optflowgf.cpp height = pyramid0_[k].rows; rows 832 modules/video/src/optflowgf.cpp static UMat allocMatFromBuf(int rows, int cols, int type, UMat &mat) rows 834 modules/video/src/optflowgf.cpp if (!mat.empty() && mat.type() == type && mat.rows >= rows && mat.cols >= cols) rows 835 modules/video/src/optflowgf.cpp return mat(Rect(0, 0, cols, rows)); rows 836 modules/video/src/optflowgf.cpp return mat = UMat(rows, cols, type); rows 848 modules/video/src/optflowgf.cpp size_t globalsize[2] = { src.cols, src.rows}; rows 860 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, dst.rows); rows 869 modules/video/src/optflowgf.cpp int height = src.rows / 5; rows 900 modules/video/src/optflowgf.cpp size_t globalsize[2] = { DIVUP(src.cols, localsize[0] - 2*polyN) * localsize[0], src.rows}; rows 920 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, src.rows); rows 931 modules/video/src/optflowgf.cpp int height = src.rows / 5; rows 964 modules/video/src/optflowgf.cpp size_t globalsize[2] = { flowx.cols, flowx.rows}; rows 977 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)flowy.rows); rows 988 modules/video/src/optflowgf.cpp size_t globalsize[2] = { flowx.cols, flowx.rows}; rows 999 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)flowx.rows); rows 1105 modules/video/src/optflowgf.cpp if( prev0.cols*scale < min_size || prev0.rows*scale < min_size ) rows 1121 modules/video/src/optflowgf.cpp int height = cvRound(prev0.rows*scale); rows 1153 modules/video/src/optflowgf.cpp FarnebackUpdateMatrices( R[0], R[1], flow, M, 0, flow.rows ); rows 219 modules/video/src/tvl1flow.cpp size_t globalsize[2] = { src.cols, src.rows }; rows 228 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(src.rows));//src mat rows rows 240 modules/video/src/tvl1flow.cpp size_t globalsize[2] = { I0.cols, I0.rows }; rows 251 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(I0.rows));//I0_row rows 284 modules/video/src/tvl1flow.cpp size_t globalsize[2] = { I1wx.cols, I1wx.rows }; rows 293 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(I1wx.rows)); //int I1wx_row rows 325 modules/video/src/tvl1flow.cpp size_t globalsize[2] = { u1.cols, u1.rows }; rows 334 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(u1.rows)); //int u1_row rows 449 modules/video/src/tvl1flow.cpp if (dm.I0s[s].cols < 16 || dm.I0s[s].rows < 16) rows 558 modules/video/src/tvl1flow.cpp if (dum.I0s[s].cols < 16 || dum.I0s[s].rows < 16) rows 646 modules/video/src/tvl1flow.cpp parallel_for_(Range(0, u1.rows), body); rows 684 modules/video/src/tvl1flow.cpp CV_DbgAssert( src.rows > 2 && src.cols > 2 ); rows 688 modules/video/src/tvl1flow.cpp const int last_row = src.rows - 1; rows 770 modules/video/src/tvl1flow.cpp CV_DbgAssert( src.rows > 2 && src.cols > 2 ); rows 774 modules/video/src/tvl1flow.cpp const int last_row = src.rows - 1; rows 840 modules/video/src/tvl1flow.cpp CV_DbgAssert( v1.rows > 2 && v1.cols > 2 ); rows 851 modules/video/src/tvl1flow.cpp parallel_for_(Range(1, v1.rows), body); rows 859 modules/video/src/tvl1flow.cpp for (int y = 1; y < v1.rows; ++y) rows 932 modules/video/src/tvl1flow.cpp parallel_for_(Range(0, I0.rows), body); rows 1032 modules/video/src/tvl1flow.cpp parallel_for_(Range(0, I1wx.rows), body); rows 1051 modules/video/src/tvl1flow.cpp for (int y = 0; y < v1.rows; ++y) rows 1180 modules/video/src/tvl1flow.cpp parallel_for_(Range(0, u1x.rows), body); rows 1203 modules/video/src/tvl1flow.cpp UMat I1x = dum.I1x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1204 modules/video/src/tvl1flow.cpp UMat I1y = dum.I1y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1209 modules/video/src/tvl1flow.cpp UMat I1w = dum.I1w_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1210 modules/video/src/tvl1flow.cpp UMat I1wx = dum.I1wx_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1211 modules/video/src/tvl1flow.cpp UMat I1wy = dum.I1wy_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1213 modules/video/src/tvl1flow.cpp UMat grad = dum.grad_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1214 modules/video/src/tvl1flow.cpp UMat rho_c = dum.rho_c_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1216 modules/video/src/tvl1flow.cpp UMat p11 = dum.p11_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1217 modules/video/src/tvl1flow.cpp UMat p12 = dum.p12_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1218 modules/video/src/tvl1flow.cpp UMat p21 = dum.p21_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1219 modules/video/src/tvl1flow.cpp UMat p22 = dum.p22_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1225 modules/video/src/tvl1flow.cpp UMat diff = dum.diff_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1280 modules/video/src/tvl1flow.cpp Mat_<float> I1x = dm.I1x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1281 modules/video/src/tvl1flow.cpp Mat_<float> I1y = dm.I1y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1284 modules/video/src/tvl1flow.cpp Mat_<float> flowMap1 = dm.flowMap1_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1285 modules/video/src/tvl1flow.cpp Mat_<float> flowMap2 = dm.flowMap2_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1287 modules/video/src/tvl1flow.cpp Mat_<float> I1w = dm.I1w_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1288 modules/video/src/tvl1flow.cpp Mat_<float> I1wx = dm.I1wx_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1289 modules/video/src/tvl1flow.cpp Mat_<float> I1wy = dm.I1wy_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1291 modules/video/src/tvl1flow.cpp Mat_<float> grad = dm.grad_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1292 modules/video/src/tvl1flow.cpp Mat_<float> rho_c = dm.rho_c_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1294 modules/video/src/tvl1flow.cpp Mat_<float> v1 = dm.v1_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1295 modules/video/src/tvl1flow.cpp Mat_<float> v2 = dm.v2_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1296 modules/video/src/tvl1flow.cpp Mat_<float> v3 = dm.v3_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1298 modules/video/src/tvl1flow.cpp Mat_<float> p11 = dm.p11_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1299 modules/video/src/tvl1flow.cpp Mat_<float> p12 = dm.p12_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1300 modules/video/src/tvl1flow.cpp Mat_<float> p21 = dm.p21_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1301 modules/video/src/tvl1flow.cpp Mat_<float> p22 = dm.p22_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1302 modules/video/src/tvl1flow.cpp Mat_<float> p31 = dm.p31_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1303 modules/video/src/tvl1flow.cpp Mat_<float> p32 = dm.p32_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1312 modules/video/src/tvl1flow.cpp Mat_<float> div_p1 = dm.div_p1_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1313 modules/video/src/tvl1flow.cpp Mat_<float> div_p2 = dm.div_p2_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1314 modules/video/src/tvl1flow.cpp Mat_<float> div_p3 = dm.div_p3_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1316 modules/video/src/tvl1flow.cpp Mat_<float> u1x = dm.u1x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1317 modules/video/src/tvl1flow.cpp Mat_<float> u1y = dm.u1y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1318 modules/video/src/tvl1flow.cpp Mat_<float> u2x = dm.u2x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1319 modules/video/src/tvl1flow.cpp Mat_<float> u2y = dm.u2y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1320 modules/video/src/tvl1flow.cpp Mat_<float> u3x = dm.u3x_buf(Rect(0, 0, I0.cols, I0.rows)); rows 1321 modules/video/src/tvl1flow.cpp Mat_<float> u3y = dm.u3y_buf(Rect(0, 0, I0.cols, I0.rows)); rows 79 modules/video/test/test_ecc.cpp for(int i =0; i<map.rows; i++) rows 90 modules/video/test/test_ecc.cpp CV_Assert(mat1.rows == mat2.rows); rows 96 modules/video/test/test_ecc.cpp return sqrt(errorMat.dot(errorMat)/(mat1.rows*mat1.cols)); rows 445 modules/video/test/test_ecc.cpp Mat_<unsigned char> mask = Mat_<unsigned char>::ones(testImg.rows, testImg.cols); rows 446 modules/video/test/test_ecc.cpp for (int i=testImg.rows*2/3; i<testImg.rows; i++) { rows 147 modules/video/test/test_estimaterigid.cpp Mat aff = cv::getRotationMatrix2D(Point(img.cols/2, img.rows/2), 1, 0.99); rows 103 modules/video/test/test_optflowpyrlk.cpp _v->cols != 2 || CV_MAT_TYPE(_v->type) != CV_32F || _v->rows != _u->rows ) rows 142 modules/video/test/test_optflowpyrlk.cpp n = _u->rows; rows 67 modules/video/test/test_tvl1optflow.cpp file.write((const char*) &flow.rows, sizeof(int)); rows 69 modules/video/test/test_tvl1optflow.cpp for (int i = 0; i < flow.rows; ++i) rows 99 modules/video/test/test_tvl1optflow.cpp for (int i = 0; i < flow.rows; ++i) rows 123 modules/video/test/test_tvl1optflow.cpp for (int i = 0; i < flow1.rows; ++i) rows 166 modules/video/test/test_tvl1optflow.cpp ASSERT_EQ(gold.rows, flow.rows); rows 28 modules/videoio/perf/perf_output.cpp 25, cv::Size(image.cols, image.rows), isColor); rows 31 modules/videoio/perf/perf_output.cpp 25, cv::Size(image.cols, image.rows), isColor); rows 537 modules/videoio/src/cap_gphoto2.cpp output = frame.rows; rows 579 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height ); rows 584 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); rows 589 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); rows 594 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height*3 ); rows 1145 modules/videoio/src/cap_openni.cpp int rows = depthMetaData.YRes(); rows 1147 modules/videoio/src/cap_openni.cpp depthMap.create( rows, cols, CV_16UC1 ); rows 1152 modules/videoio/src/cap_openni.cpp memcpy( depthMap.data, pDepthMap, cols*rows*sizeof(XnDepthPixel) ); rows 1180 modules/videoio/src/cap_openni.cpp int cols = depthMetaData.XRes(), rows = depthMetaData.YRes(); rows 1181 modules/videoio/src/cap_openni.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); rows 1183 modules/videoio/src/cap_openni.cpp std::vector<XnPoint3D> proj(cols*rows); rows 1184 modules/videoio/src/cap_openni.cpp std::vector<XnPoint3D> real(cols*rows); rows 1185 modules/videoio/src/cap_openni.cpp for( int y = 0; y < rows; y++ ) rows 1195 modules/videoio/src/cap_openni.cpp depthGenerator.ConvertProjectiveToRealWorld(cols*rows, &proj.front(), &real.front()); rows 1197 modules/videoio/src/cap_openni.cpp for( int y = 0; y < rows; y++ ) rows 1231 modules/videoio/src/cap_openni.cpp for( int y = 0; y < disp.rows; y++ ) rows 749 modules/videoio/src/cap_openni2.cpp int cols = depthFrame.getWidth(), rows = depthFrame.getHeight(); rows 750 modules/videoio/src/cap_openni2.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); rows 753 modules/videoio/src/cap_openni2.cpp for( int y = 0; y < rows; y++ ) rows 785 modules/videoio/src/cap_openni2.cpp for( int y = 0; y < disp.rows; y++ ) rows 1746 modules/videoio/src/cap_v4l.cpp if( !temp.data || temp.cols != width || temp.rows != height ) rows 107 modules/videoio/test/test_basic_props.cpp ASSERT_EQ(384, frame.rows); rows 364 modules/videoio/test/test_ffmpeg.cpp EXPECT_EQ(reference.rows, actual.rows); rows 466 modules/videoio/test/test_video_io.cpp for (int k = 0; k < img.rows; ++k) rows 70 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp for (int y = 0; y < flag_.rows; ++y) rows 86 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp if (xn >= 0 && xn < flag_.cols && yn >= 0 && yn < flag_.rows) rows 129 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp if (xn >= 0 && xn < flag_.cols && yn >= 0 && yn < flag_.rows && flag_(yn,xn) != KNOWN) rows 80 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) rows 100 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) rows 107 modules/videostab/src/deblurring.cpp if (x1 >= 0 && x1 < neighbor.cols && y1 >= 0 && y1 < neighbor.rows) rows 123 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) rows 55 modules/videostab/src/fast_marching.cpp if (y1 >=0 && y1 < flag_.rows && x1 >= 0 && x1 < flag_.cols && flag_(y1,x1) == KNOWN) rows 58 modules/videostab/src/fast_marching.cpp if (y2 >=0 && y2 < flag_.rows && x2 >= 0 && x2 < flag_.cols && flag_(y2,x2) == KNOWN) rows 76 modules/videostab/src/fast_marching.cpp else if (y2 >=0 && y2 < flag_.rows && x2 >= 0 && x2 < flag_.cols && flag_(y2,x2) == KNOWN) rows 64 modules/videostab/src/global_motion.cpp CV_Assert(points0.rows == 1 && points1.rows == 1 && mask.rows == 1); rows 142 modules/videostab/src/inpainting.cpp for (int y = 0; y < mask.rows; ++y) rows 158 modules/videostab/src/inpainting.cpp if (xi >= 0 && xi < framei.cols && yi >= 0 && yi < framei.rows) rows 211 modules/videostab/src/inpainting.cpp for (int y0 = 0; y0 < frame0.rows; ++y0) rows 219 modules/videostab/src/inpainting.cpp if (y1 >= 0 && y1 < frame1.rows && x1 >= 0 && x1 < frame1.cols) rows 244 modules/videostab/src/inpainting.cpp if (qy0 >= 0 && qy0 < mask0.rows && qx0 >= 0 && qx0 < mask0.cols && mask0(qy0,qx0)) rows 251 modules/videostab/src/inpainting.cpp if (qx1 >= 0 && qx1 < mask1.cols && qy1 >= 0 && qy1 < mask1.rows && mask1(qy1,qx1) && rows 252 modules/videostab/src/inpainting.cpp px1 >= 0 && px1 < mask1.cols && py1 >= 0 && py1 < mask1.rows && mask1(py1,px1)) rows 277 modules/videostab/src/inpainting.cpp if (qy0+1 < mask0.rows && mask0(qy0+1,qx0)) rows 288 modules/videostab/src/inpainting.cpp else if (qy0+1 < mask0.rows && mask0(qy0+1,qx0)) rows 435 modules/videostab/src/inpainting.cpp if (qy >= 0 && qy < mask.rows && qx >= 0 && qx < mask.cols && mask(qy,qx)) rows 490 modules/videostab/src/inpainting.cpp for (int y0 = 0; y0 < flowMask_.rows; ++y0) rows 499 modules/videostab/src/inpainting.cpp if (x1 >= 0 && x1 < mask1_.cols && y1 >= 0 && y1 < mask1_.rows && mask1_(y1,x1)) rows 522 modules/videostab/src/inpainting.cpp for (int y0 = 0; y0 < frame0.rows; ++y0) rows 531 modules/videostab/src/inpainting.cpp if (x1 >= 0 && x1 < frame1.cols && y1 >= 0 && y1 < frame1.rows && mask1_(y1,x1) rows 241 modules/videostab/src/stabilizer.cpp int dy = static_cast<int>(floor(trimRatio_ * frame.rows)); rows 242 modules/videostab/src/stabilizer.cpp return frame(Rect(dx, dy, frame.cols - 2*dx, frame.rows - 2*dy)); rows 124 modules/videostab/src/wobble_suppression.cpp for (int y = 0; y < frame.rows; ++y) rows 284 modules/viz/src/clouds.cpp int ystep = (cloud.cols > 1 && cloud.rows > 1) ? sqlevel : 1; rows 285 modules/viz/src/clouds.cpp int xstep = (cloud.cols > 1 && cloud.rows > 1) ? sqlevel : level; rows 296 modules/viz/src/clouds.cpp for(int y = 0; y < cloud.rows; y += ystep) rows 363 modules/viz/src/clouds.cpp CV_Assert(mesh.cloud.rows == 1 && mesh.polygons.type() == CV_32SC1); rows 371 modules/viz/src/clouds.cpp for(int y = 0, index = 0; y < mesh.cloud.rows; ++y) rows 775 modules/viz/src/shapes.cpp for(int y = 0; y < color.rows; ++y) rows 849 modules/viz/src/shapes.cpp double aspect_ratio = image.cols/(double)image.rows; rows 850 modules/viz/src/shapes.cpp double image_scale = far_end_height/image.rows; rows 881 modules/viz/src/shapes.cpp double aspect_ratio = image.cols/(double)image.rows; rows 882 modules/viz/src/shapes.cpp double image_scale = far_end_height/image.rows; rows 256 modules/viz/src/vizcore.cpp if (hdr.empty() || hdr.cols != pose.matrix.cols || hdr.rows != pose.matrix.rows) rows 193 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud.rows; ++y) rows 215 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud_colors.rows; ++y) rows 253 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud_normals.rows; ++y) rows 276 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < mask.rows; ++y) rows 85 modules/viz/src/vtk/vtkImageMatSource.cpp this->ImageData->SetDimensions(image.cols, image.rows, 1); rows 108 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) rows 122 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) rows 136 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) rows 352 modules/viz/test/tests_simple.cpp viz.showWidget("img3", WImageOverlay(gray, Rect(Point(10, vsz.height-10-lena.rows/2), half_lsize))); rows 353 modules/viz/test/tests_simple.cpp viz.showWidget("img5", WImageOverlay(lena, Rect(Point(vsz.width-10-lena.cols/2, vsz.height-10-lena.rows/2), half_lsize))); rows 78 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int rows = inputPicture.rows(); rows 81 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java rows = rows - rows%4; rows 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); rows 91 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java rows = rows - rows%4; rows 103 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java (rows / GRID_SIZE + mTextHeights[idx]) / 2), 3/* CV_FONT_HERSHEY_COMPLEX */, 1, new Scalar(255, 0, 0, 255), 2); rows 111 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java drawGrid(cols, rows, mRgba15); rows 121 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int rows = mRgba15.rows(); rows 124 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int row = (int) Math.floor(y * GRID_SIZE / rows); rows 162 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java private void drawGrid(int cols, int rows, Mat drawMat) { rows 164 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Imgproc.line(drawMat, new Point(0, i * rows / GRID_SIZE), new Point(cols, i * rows / GRID_SIZE), new Scalar(0, 255, 0, 255), 3); rows 165 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Imgproc.line(drawMat, new Point(i * cols / GRID_SIZE, 0), new Point(i * cols / GRID_SIZE, rows), new Scalar(0, 255, 0, 255), 3); rows 114 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java int n = objectPoints.get(i).rows(); rows 143 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java Imgproc.putText(rgbaFrame, "Captured: " + mCornersBuffer.size(), new Point(rgbaFrame.cols() / 3 * 2, rgbaFrame.rows() * 0.1), rows 122 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java int rows = mRgba.rows(); rows 125 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java int yOffset = (mOpenCvCameraView.getHeight() - rows) / 2; rows 132 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java if ((x < 0) || (y < 0) || (x > cols) || (y > rows)) return false; rows 140 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java touchedRect.height = (y+4 < rows) ? y + 4 - touchedRect.y : rows - touchedRect.y; rows 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()); rows 173 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java int height = mGray.rows(); rows 18 samples/android/hello-android/main.cpp putText(img, message, Point(10, img.rows - 10), FONT_HERSHEY_COMPLEX, 3, Scalar(0, 0, 0), 5); rows 207 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int rows = (int) sizeRgba.height; rows 211 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int top = rows / 8; rows 214 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int height = rows * 3 / 4; rows 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); rows 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); rows 367 samples/cpp/3calibration.cpp for( k = 0; k < small_canvas.rows; k += 16 ) rows 132 samples/cpp/autofocus.cpp unsigned long int size = frame.cols * frame.rows; rows 73 samples/cpp/bgfg_segm.cpp resize(img0, img, Size(640, 640*img0.rows/img0.cols), INTER_LINEAR); rows 228 samples/cpp/calibration.cpp CV_Assert(rvecs[i].rows == 3 && rvecs[i].cols == 1); rows 229 samples/cpp/calibration.cpp CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); rows 505 samples/cpp/calibration.cpp Point textOrigin(view.cols - 2*textSize.width - 10, view.rows - 2*baseLine - 10); rows 32 samples/cpp/camshiftdemo.cpp selection &= Rect(0, 0, image.cols, image.rows); rows 148 samples/cpp/camshiftdemo.cpp int val = saturate_cast<int>(hist.at<float>(i)*histimg.rows/255); rows 149 samples/cpp/camshiftdemo.cpp rectangle( histimg, Point(i*binW,histimg.rows), rows 150 samples/cpp/camshiftdemo.cpp Point((i+1)*binW,histimg.rows - val), rows 161 samples/cpp/camshiftdemo.cpp int cols = backproj.cols, rows = backproj.rows, r = (MIN(cols, rows) + 5)/6; rows 164 samples/cpp/camshiftdemo.cpp Rect(0, 0, cols, rows); rows 24 samples/cpp/connected_components.cpp for(int r = 0; r < dst.rows; ++r){ rows 34 samples/cpp/convexhull.cpp pt.y = rng.uniform(img.rows/4, img.rows*3/4); rows 48 samples/cpp/demhist.cpp normalize(hist, hist, 0, histImage.rows, NORM_MINMAX, CV_32F); rows 54 samples/cpp/demhist.cpp rectangle( histImage, Point(i*binW, histImage.rows), rows 55 samples/cpp/demhist.cpp Point((i+1)*binW, histImage.rows - cvRound(hist.at<float>(i))), rows 86 samples/cpp/detect_blob.cpp if (img.rows*img.cols <= 0) rows 133 samples/cpp/detect_blob.cpp pBLOB.back().maxArea = float(img.rows*img.cols); rows 183 samples/cpp/detect_blob.cpp Mat desc, result(img.rows, img.cols, CV_8UC3); rows 226 samples/cpp/detect_mser.cpp Mat_<Vec3f> vertex(1, img.cols*img.rows); rows 227 samples/cpp/detect_mser.cpp Mat_<Vec2f> texCoords(1, img.cols*img.rows); rows 228 samples/cpp/detect_mser.cpp for (int i = 0, nbPix = 0; i<img.rows; i++) rows 233 samples/cpp/detect_mser.cpp float y = (i) / (float)img.rows; rows 239 samples/cpp/detect_mser.cpp Mat_<int> indices(1, (img.rows - 1)*(6 * img.cols)); rows 240 samples/cpp/detect_mser.cpp for (int i = 1, nbPix = 0; i<img.rows; i++) rows 389 samples/cpp/detect_mser.cpp for (int i = 0; i < hist.rows ; i++) rows 461 samples/cpp/detect_mser.cpp Mat result(img.rows, img.cols, CV_8UC3); rows 38 samples/cpp/dft.cpp int M = getOptimalDFTSize( img.rows ); rows 41 samples/cpp/dft.cpp copyMakeBorder(img, padded, 0, M - img.rows, 0, N - img.cols, BORDER_CONSTANT, Scalar::all(0)); rows 57 samples/cpp/dft.cpp mag = mag(Rect(0, 0, mag.cols & -2, mag.rows & -2)); rows 60 samples/cpp/dft.cpp int cy = mag.rows/2; rows 68 samples/cpp/distrans.cpp for( int i = 0; i < labels.rows; i++ ) rows 31 samples/cpp/em.cpp Scalar mean(((i%N1)+1)*img.rows/(N1+1), rows 32 samples/cpp/em.cpp ((i/N1)+1)*img.rows/(N1+1)); rows 46 samples/cpp/em.cpp for( i = 0; i < img.rows; i++ ) rows 213 samples/cpp/facedetect.cpp Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 ); rows 23 samples/cpp/fback.cpp for(int y = 0; y < cflowmap.rows; y += step) rows 87 samples/cpp/ffilldemo.cpp mask.create(image0.rows+2, image0.cols+2, CV_8UC1); rows 44 samples/cpp/grabcut.cpp if( binMask.empty() || binMask.rows!=comMask.rows || binMask.cols!=comMask.cols ) rows 141 samples/cpp/grabcut.cpp rect.height = min(rect.height, image->rows-rect.y); rows 73 samples/cpp/image.cpp for( int y = 0; y < img_yuv.rows; y++ ) rows 140 samples/cpp/image_alignment.cpp for (int y = 0; y < W.rows; y++) rows 302 samples/cpp/image_alignment.cpp warp_matrix.rows = 2; rows 334 samples/cpp/image_alignment.cpp Mat warped_image = Mat(template_image.rows, template_image.cols, CV_32FC1); rows 363 samples/cpp/image_alignment.cpp draw_warped_roi (target_image, template_image.cols-2, template_image.rows-2, warp_matrix); rows 364 samples/cpp/image_alignment.cpp draw_warped_roi (template_image, template_image.cols-2, template_image.rows-2, identity_matrix); rows 164 samples/cpp/intelperc_capture.cpp int y = (int)((*uvmap) * image.rows); rows 169 samples/cpp/intelperc_capture.cpp for (int row = y; row < min(y + pointSize, image.rows); row++) rows 187 samples/cpp/intelperc_capture.cpp image.create(ir.rows, ir.cols, CV_8UC3); rows 188 samples/cpp/intelperc_capture.cpp for (int row = 0; row < ir.rows; row++) rows 202 samples/cpp/intelperc_capture.cpp for (int row = g_closedDepthPoint[0]; row < min(g_closedDepthPoint[0] + pointSize, image.rows); row++) rows 213 samples/cpp/intelperc_capture.cpp image.create(ir.rows, ir.cols, CV_8UC1); rows 214 samples/cpp/intelperc_capture.cpp for (int row = 0; row < ir.rows; row++) rows 235 samples/cpp/intelperc_capture.cpp image.create(depth.rows, depth.cols, CV_8UC3); rows 236 samples/cpp/intelperc_capture.cpp for (int row = 0; row < depth.rows; row++) rows 259 samples/cpp/intelperc_capture.cpp for (int row = g_closedDepthPoint[0]; row < min(g_closedDepthPoint[0] + pointSize, image.rows); row++) rows 270 samples/cpp/intelperc_capture.cpp image.create(depth.rows, depth.cols, CV_8UC1); rows 271 samples/cpp/intelperc_capture.cpp for (int row = 0; row < depth.rows; row++) rows 54 samples/cpp/kalman.cpp Point2f center(img.cols*0.5f, img.rows*0.5f); rows 47 samples/cpp/kmeans.cpp center.y = rng.uniform(0, img.rows); rows 51 samples/cpp/kmeans.cpp rng.fill(pointChunk, RNG::NORMAL, Scalar(center.x, center.y), Scalar(img.cols*0.05, img.rows*0.05)); rows 100 samples/cpp/letter_recog.cpp Mat sample_idx = Mat::zeros( 1, data.rows, CV_8U ); rows 123 samples/cpp/letter_recog.cpp int i, nsamples_all = data.rows; rows 166 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 236 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 359 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 434 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 461 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 488 samples/cpp/letter_recog.cpp int nsamples_all = data.rows; rows 72 samples/cpp/logistic_regression.cpp for(int i = 0; i < data.rows; ++i) rows 81 samples/cpp/logistic_regression.cpp return 100 * (float)countNonZero(original == predicted) / predicted.rows; rows 111 samples/cpp/logistic_regression.cpp cout << "read " << data.rows << " rows of data" << endl; rows 116 samples/cpp/logistic_regression.cpp for(int i = 0; i < data.rows; i++) rows 129 samples/cpp/logistic_regression.cpp cout << "training/testing samples count: " << data_train.rows << "/" << data_test.rows << endl; rows 51 samples/cpp/matchmethod_orb_akaze_brisk.cpp if (img1.rows*img1.cols <= 0) rows 56 samples/cpp/matchmethod_orb_akaze_brisk.cpp if (img2.rows*img2.cols <= 0) rows 37 samples/cpp/minarea.cpp pt.y = rng.uniform(img.rows/4, img.rows*3/4); rows 43 samples/cpp/openni_capture.cpp for( int y = 0; y < gray.rows; y++ ) rows 68 samples/cpp/pca.cpp Mat dst(static_cast<int>(data.size()), data[0].rows*data[0].cols, CV_32F); rows 94 samples/cpp/pca.cpp int rows; rows 112 samples/cpp/pca.cpp reconstruction = reconstruction.reshape(p->ch, p->rows); rows 116 samples/cpp/pca.cpp cout << "done! # of principal components: " << p->pca.eigenvectors.rows << endl; rows 158 samples/cpp/pca.cpp reconstruction = reconstruction.reshape(images[0].channels(), images[0].rows); // reshape from a row vector into image shape rows 169 samples/cpp/pca.cpp p.rows = images[0].rows; rows 34 samples/cpp/phase_corr.cpp Point center(curr.cols >> 1, curr.rows >> 1); rows 88 samples/cpp/points_classifier.cpp for( int y = 0; y < img.rows; y += testStep ) rows 141 samples/cpp/points_classifier.cpp for( int i = 0; i < sv.rows; i++ ) rows 219 samples/cpp/points_classifier.cpp for( int i = 0; i < trainClasses.rows; i++ ) rows 253 samples/cpp/points_classifier.cpp for( j = 0; j < samples.rows; j++ ) rows 275 samples/cpp/points_classifier.cpp for( int y = 0; y < img.rows; y += testStep ) rows 544 samples/cpp/select3dobj.cpp double sy = (double)frame0.rows/calibratedImageSize.height; rows 171 samples/cpp/smiledetect.cpp Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 ); rows 245 samples/cpp/smiledetect.cpp int rect_height = cvRound((float)img.rows * intensityZeroOne); rows 247 samples/cpp/smiledetect.cpp rectangle(img, cvPoint(0, img.rows), cvPoint(img.cols/10, img.rows - rect_height), col, -1); rows 55 samples/cpp/squares.cpp pyrDown(image, pyr, Size(image.cols/2, image.rows/2)); rows 124 samples/cpp/stereo_calib.cpp double sf = 640./MAX(img.rows, img.cols); rows 318 samples/cpp/stereo_calib.cpp for( j = 0; j < canvas.rows; j += 16 ) rows 322 samples/cpp/stereo_calib.cpp line(canvas, Point(j, 0), Point(j, canvas.rows), Scalar(0, 255, 0), 1, 8); rows 32 samples/cpp/stereo_match.cpp for(int y = 0; y < mat.rows; y++) rows 28 samples/cpp/train_HOG.cpp const int sv_total = sv.rows; rows 53 samples/cpp/train_HOG.cpp const int rows = (int)train_samples.size(); rows 54 samples/cpp/train_HOG.cpp const int cols = (int)std::max( train_samples[0].cols, train_samples[0].rows ); rows 56 samples/cpp/train_HOG.cpp trainData = cv::Mat(rows, cols, CV_32FC1 ); rows 62 samples/cpp/train_HOG.cpp itr->rows == 1 ); rows 68 samples/cpp/train_HOG.cpp else if( itr->rows == 1 ) rows 123 samples/cpp/train_HOG.cpp box.y = rand() % (img->rows - size_y); rows 140 samples/cpp/train_HOG.cpp resize(color_origImg, visu, Size( (int)(color_origImg.cols*zoomFac), (int)(color_origImg.rows*zoomFac) ) ); rows 30 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp for( int y = 0; y < image.rows; y++ ) rows 195 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp for( int y=0; y<image.rows; y++ ){ rows 207 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp dem_coordinate.x < dem.cols && dem_coordinate.y < dem.rows ){ rows 62 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp int result_rows = img.rows - templ.rows + 1; rows 84 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( img_display, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); rows 85 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); rows 68 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp Mat mask2 = Mat::zeros( src.rows + 2, src.cols + 2, CV_8UC1 ); rows 70 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp mask = mask2( Range( 1, mask2.rows - 1 ), Range( 1, mask2.cols - 1 ) ); rows 56 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp normalize(b_hist, b_hist, 0, histImage.rows, NORM_MINMAX, -1, Mat() ); rows 57 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp normalize(g_hist, g_hist, 0, histImage.rows, NORM_MINMAX, -1, Mat() ); rows 58 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp normalize(r_hist, r_hist, 0, histImage.rows, NORM_MINMAX, -1, Mat() ); rows 42 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp hsv_half_down = hsv_base( Range( hsv_base.rows/2, hsv_base.rows - 1 ), Range( 0, hsv_base.cols - 1 ) ); rows 37 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp for( int y = 0; y < image.rows; y++ ) rows 76 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp int verticalsize = vertical.rows / 30; rows 56 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp { pyrUp( tmp, dst, Size( tmp.cols*2, tmp.rows*2 ) ); rows 60 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp { pyrDown( tmp, dst, Size( tmp.cols/2, tmp.rows/2 ) ); rows 92 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp Point( src.cols/4, src.rows/2), rows 37 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp warp_dst = Mat::zeros( src.rows, src.cols, src.type() ); rows 42 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp srcTri[2] = Point2f( 0, src.rows - 1.f ); rows 44 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[0] = Point2f( src.cols*0.0f, src.rows*0.33f ); rows 45 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[1] = Point2f( src.cols*0.85f, src.rows*0.25f ); rows 46 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[2] = Point2f( src.cols*0.15f, src.rows*0.7f ); rows 57 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp Point center = Point( warp_dst.cols/2, warp_dst.rows/2 ); rows 34 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp HoughCircles( src_gray, circles, HOUGH_GRADIENT, 1, src_gray.rows/8, cannyThreshold, accumulatorThreshold, 0, 0 ); rows 67 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp for( int j = 0; j < src.rows; j++ ) rows 73 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp if( i > src.cols*0.25 && i < src.cols*0.75 && j > src.rows*0.25 && j < src.rows*0.75 ) rows 76 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = 2*( j - src.rows*0.25f ) + 0.5f ; rows 85 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = (float)(src.rows - j) ; rows 93 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = (float)(src.rows - j) ; rows 50 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp top = (int) (0.05*src.rows); bottom = (int) (0.05*src.rows); rows 30 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for( int x = 0; x < src.rows; x++ ) { rows 150 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for (int i = 0; i < markers.rows; i++) rows 48 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp for( int j = 0; j < src.rows; j++ ) rows 60 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp for( int j = 0; j < src.rows; j++ ) rows 56 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp for( int j = 0; j < src_gray.rows; j++ ) rows 96 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp for( int j = 0; j < src_gray.rows; j++ ) rows 115 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp for( int j = 0; j < src_gray.rows; j++ ) rows 71 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp for( int j = 0; j < dst_norm.rows ; j++ ) rows 337 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Point textOrigin(view.cols - 2*textSize.width - 10, view.rows - 2*baseLine - 10); rows 541 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp CV_Assert(rvecs[i].rows == 3 && rvecs[i].cols == 1); rows 542 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); rows 26 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h int get_numDescriptors() const { return descriptors_.rows; } rows 234 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp for(int inliers_index = 0; inliers_index < inliers_idx.rows; ++inliers_index) rows 250 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp if( inliers_idx.rows >= minInliersKalman ) rows 313 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp double detection_ratio = ((double)inliers_idx.rows/(double)good_matches.size())*100; rows 320 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp int inliers_int = inliers_idx.rows; rows 33 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp Mat imgDisparity16S = Mat( imgLeft.rows, imgLeft.cols, CV_16S ); rows 34 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp Mat imgDisparity8U = Mat( imgLeft.rows, imgLeft.cols, CV_8UC1 ); rows 31 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp int m = getOptimalDFTSize( I.rows ); rows 33 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp copyMakeBorder(I, padded, 0, m - I.rows, 0, n - I.cols, BORDER_CONSTANT, Scalar::all(0)); rows 51 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp magI = magI(Rect(0, 0, magI.cols & -2, magI.rows & -2)); rows 55 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp int cy = magI.rows/2; rows 141 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp int nRows = I.rows; rows 207 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp for( int i = 0; i < I.rows; ++i) rows 216 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp for( int i = 0; i < I.rows; ++i) rows 77 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp for( int y = 0; y < I_YUV.rows; y++ ) rows 109 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp result.create( image.rows, image.cols, CV_8U); rows 69 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp for(int j = 1 ; j < myImage.rows-1; ++j) rows 85 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.row(Result.rows-1).setTo(Scalar(0)); rows 33 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str1.str(), Point(0, image.rows - 90), font, 2, Scalar::all(255), 3); rows 34 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str2.str(), Point(0, image.rows - 60), font, 2, Scalar::all(255), 3); rows 35 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str3.str(), Point(0, image.rows - 30), font, 2, Scalar::all(255), 3); rows 367 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp mssim.val[i] = s.val[0] / (ssim_map.rows * ssim_map.cols); rows 440 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp mssim.val[i] = s.val[0] / (b.ssim_map.rows * b.ssim_map.cols); rows 55 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp for (int i = 0; i < data_pts.rows; ++i) rows 41 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp for (int i = 0; i < image.rows; ++i) rows 70 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp for (int i = 0; i < sv.rows; ++i) rows 95 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp for (int i = 0; i < I.rows; ++i) rows 133 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp for (int i = 0; i < sv.rows; ++i) rows 98 samples/cpp/tvl1_optical_flow.cpp for (int y = 0; y < flow.rows; ++y) rows 112 samples/cpp/tvl1_optical_flow.cpp for (int y = 0; y < flow.rows; ++y) rows 135 samples/cpp/tvl1_optical_flow.cpp file.write((const char*) &flow.rows, sizeof(int)); rows 137 samples/cpp/tvl1_optical_flow.cpp for (int i = 0; i < flow.rows; ++i) rows 31 samples/cpp/watershed.cpp if( x < 0 || x >= img.cols || y < 0 || y >= img.rows ) rows 120 samples/cpp/watershed.cpp for( i = 0; i < markers.rows; i++ ) rows 41 samples/gpu/cascadeclassifier.cpp Size sz(cvRound(gray.cols * scale), cvRound(gray.rows * scale)); rows 64 samples/gpu/cascadeclassifier.cpp Size sz(cvRound(gray.cols * scale), cvRound(gray.rows * scale)); rows 101 samples/gpu/cascadeclassifier.cpp ss << "[" << canvas.cols << "x" << canvas.rows << "], " << rows 66 samples/gpu/cascadeclassifier_nvidia_api.cpp ss << "[" << canvas.cols << "x" << canvas.rows << "], " << rows 111 samples/gpu/cascadeclassifier_nvidia_api.cpp for (Ncv32u i=0; i<(Ncv32u)srcdst->rows; i++) rows 145 samples/gpu/cascadeclassifier_nvidia_api.cpp for (Ncv32u i=0; i<(Ncv32u)srcdst->rows; i++) rows 182 samples/gpu/cascadeclassifier_nvidia_api.cpp frameSize.height = image.rows; rows 201 samples/gpu/cascadeclassifier_nvidia_api.cpp frameSize.height = frame.rows; rows 163 samples/gpu/driver_api_stereo_multi.cpp d_left[0].upload(left.rowRange(0, left.rows / 2)); rows 164 samples/gpu/driver_api_stereo_multi.cpp d_right[0].upload(right.rowRange(0, right.rows / 2)); rows 170 samples/gpu/driver_api_stereo_multi.cpp d_left[1].upload(left.rowRange(left.rows / 2, left.rows)); rows 171 samples/gpu/driver_api_stereo_multi.cpp d_right[1].upload(right.rowRange(right.rows / 2, right.rows)); rows 34 samples/gpu/farneback_optical_flow.cpp for (int y = 0; y < u.rows; ++y) rows 168 samples/gpu/generalized_hough.cpp rect.size = Size2f(templ.cols * scale, templ.rows * scale); rows 100 samples/gpu/optical_flow.cpp for (int y = 0; y < flowx.rows; ++y) rows 114 samples/gpu/optical_flow.cpp for (int y = 0; y < flowx.rows; ++y) rows 134 samples/gpu/performance/performance.cpp void gen(Mat& mat, int rows, int cols, int type, Scalar low, Scalar high) rows 136 samples/gpu/performance/performance.cpp mat.create(rows, cols, type); rows 182 samples/gpu/performance/performance.h void gen(cv::Mat& mat, int rows, int cols, int type, cv::Scalar low, rows 43 samples/gpu/performance/tests.cpp SUBTEST << src.cols << 'x' << src.rows << ", 32FC1" << ", templ " << templ_size << 'x' << templ_size << ", CCORR"; rows 130 samples/gpu/pyrlk_optical_flow.cpp cout << "Image size : " << frame0.cols << " x " << frame0.rows << endl; rows 225 samples/gpu/stereo_match.cpp cout << "image_size: (" << left.cols << ", " << left.rows << ")\n"; rows 232 samples/gpu/stereo_multi.cpp launchDatas[0].leftFrame = leftFrame.rowRange(0, leftFrame.rows / 2 + 32); rows 233 samples/gpu/stereo_multi.cpp launchDatas[0].rightFrame = rightFrame.rowRange(0, rightFrame.rows / 2 + 32); rows 234 samples/gpu/stereo_multi.cpp launchDatas[0].disparity = disparity.rowRange(0, leftFrame.rows / 2); rows 241 samples/gpu/stereo_multi.cpp launchDatas[1].leftFrame = leftFrame.rowRange(leftFrame.rows / 2 - 32, leftFrame.rows); rows 242 samples/gpu/stereo_multi.cpp launchDatas[1].rightFrame = rightFrame.rowRange(leftFrame.rows / 2 - 32, leftFrame.rows); rows 243 samples/gpu/stereo_multi.cpp launchDatas[1].disparity = disparity.rowRange(leftFrame.rows / 2, leftFrame.rows); rows 266 samples/gpu/stereo_multi.cpp data->d_disparity->rowRange(0, data->d_disparity->rows - 32).download(data->disparity); rows 268 samples/gpu/stereo_multi.cpp data->d_disparity->rowRange(32, data->d_disparity->rows).download(data->disparity); rows 331 samples/gpu/stereo_multi.cpp Mat disparityPart0 = disparityHdr.rowRange(0, leftFrame.rows / 2); rows 332 samples/gpu/stereo_multi.cpp Mat disparityPart1 = disparityHdr.rowRange(leftFrame.rows / 2, leftFrame.rows); rows 335 samples/gpu/stereo_multi.cpp d_leftFrames[0].upload(leftFrameHdr.rowRange(0, leftFrame.rows / 2 + 32), *streams[0]); rows 336 samples/gpu/stereo_multi.cpp d_rightFrames[0].upload(rightFrameHdr.rowRange(0, leftFrame.rows / 2 + 32), *streams[0]); rows 338 samples/gpu/stereo_multi.cpp d_disparities[0].rowRange(0, leftFrame.rows / 2).download(disparityPart0, *streams[0]); rows 341 samples/gpu/stereo_multi.cpp d_leftFrames[1].upload(leftFrameHdr.rowRange(leftFrame.rows / 2 - 32, leftFrame.rows), *streams[1]); rows 342 samples/gpu/stereo_multi.cpp d_rightFrames[1].upload(rightFrameHdr.rowRange(leftFrame.rows / 2 - 32, leftFrame.rows), *streams[1]); rows 344 samples/gpu/stereo_multi.cpp d_disparities[1].rowRange(32, d_disparities[1].rows).download(disparityPart1, *streams[1]); rows 60 samples/gpu/video_writer.cpp std::cout << "Frame Size : " << frame.cols << "x" << frame.rows << std::endl; rows 30 samples/tapi/camshift.cpp selection &= cv::Rect(0, 0, image.cols, image.rows); rows 152 samples/tapi/camshift.cpp int val = cv::saturate_cast<int>(_hist.at<float>(i)*histimg.rows/255); rows 153 samples/tapi/camshift.cpp cv::rectangle(histimg, cv::Point(i*binW, histimg.rows), rows 154 samples/tapi/camshift.cpp cv::Point((i+1)*binW, histimg.rows - val), rows 168 samples/tapi/camshift.cpp int cols = backproj.cols, rows = backproj.rows, r = (std::min(cols, rows) + 5)/6; rows 171 samples/tapi/camshift.cpp cv::Rect(0, 0, cols, rows); rows 205 samples/tapi/hog.cpp Size sz((int)((double)img_aux.cols/resize_scale), (int)((double)img_aux.rows/resize_scale)); rows 41 samples/tapi/squares.cpp pyrDown(image, pyr, Size(image.cols/2, image.rows/2)); rows 132 samples/tapi/squares.cpp UMat imgToShow(Size(image.cols, image.rows), image.type()); rows 48 samples/tapi/tvl1_optical_flow.cpp for (int i = 0; i < u.rows; ++i) rows 64 samples/tapi/tvl1_optical_flow.cpp for (int i = 0; i < flowField.rows; ++i) rows 46 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp groupFaces = cv::Mat(image.rows, image.cols, CV_8UC4); rows 81 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp WriteableBitmap^ bitmap = ref new WriteableBitmap(image.cols, image.rows); rows 94 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp memcpy(dstPixels, image.data, image.step.buf[1] * image.cols*image.rows); rows 1371 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::normalize(hist, hist, BgrFrame.rows/2, 0, cv::NORM_INF); rows 1376 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP1.y = BgrFrame.rows-1; rows 49 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp Lena = cv::Mat(image.rows, image.cols, CV_8UC4); rows 163 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp WriteableBitmap^ bitmap = ref new WriteableBitmap(image.cols, image.rows); rows 176 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp memcpy(dstPixels, image.data, image.step.buf[1]*image.cols*image.rows); rows 131 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_renderer->CreateTextureFromByte(mat->data, mat->cols, mat->rows);