dims 78 apps/traincascade/old_ml.hpp int dims, count; dims 225 apps/traincascade/old_ml_precomp.hpp int dims = (matrice)->cols; \ dims 228 apps/traincascade/old_ml_precomp.hpp int i, offset = dims; \ dims 233 apps/traincascade/old_ml_precomp.hpp b = cvMat( 1, dims, CV_32FC1 ); \ dims 777 modules/calib3d/test/test_fundam.cpp int dims; dims 811 modules/calib3d/test/test_fundam.cpp dims = 0; dims 836 modules/calib3d/test/test_fundam.cpp dims = cvtest::randInt(rng) % 2 + 2; dims 851 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(pt_count, dims); dims 854 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(dims, pt_count); dims 857 modules/calib3d/test/test_fundam.cpp types[INPUT][0] = CV_MAKETYPE(pt_depth, dims); dims 1075 modules/calib3d/test/test_fundam.cpp int dims; dims 1113 modules/calib3d/test/test_fundam.cpp dims = 0; dims 1135 modules/calib3d/test/test_fundam.cpp dims = cvtest::randInt(rng) % 2 + 2; dims 1136 modules/calib3d/test/test_fundam.cpp dims = 2; dims 1142 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(pt_count, dims); dims 1145 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(dims, pt_count); dims 1148 modules/calib3d/test/test_fundam.cpp types[INPUT][0] = CV_MAKETYPE(pt_depth, dims); dims 1566 modules/calib3d/test/test_fundam.cpp int dims; dims 1579 modules/calib3d/test/test_fundam.cpp pt_count = dims = which_image = 0; dims 1605 modules/calib3d/test/test_fundam.cpp dims = 2 + (cvtest::randInt(rng) % 2); dims 1610 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(pt_count, dims); dims 1613 modules/calib3d/test/test_fundam.cpp sizes[INPUT][0] = cvSize(dims, pt_count); dims 1616 modules/calib3d/test/test_fundam.cpp types[INPUT][0] = CV_MAKETYPE(pt_depth, dims); dims 1661 modules/calib3d/test/test_fundam.cpp Mat temp( 1, pt_count, CV_MAKETYPE(CV_64FC1,dims) ); dims 437 modules/core/include/opencv2/core/core_c.h CVAPI(CvMatND*) cvCreateMatNDHeader( int dims, const int* sizes, int type ); dims 451 modules/core/include/opencv2/core/core_c.h CVAPI(CvMatND*) cvCreateMatND( int dims, const int* sizes, int type ); dims 461 modules/core/include/opencv2/core/core_c.h CVAPI(CvMatND*) cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, dims 492 modules/core/include/opencv2/core/core_c.h CVAPI(CvSparseMat*) cvCreateSparseMat( int dims, const int* sizes, int type ); dims 569 modules/core/include/opencv2/core/core_c.h int dims; /**< number of dimensions to iterate */ dims 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) dims 203 modules/core/include/opencv2/core/mat.hpp int dims(int i=-1) const; dims 323 modules/core/include/opencv2/core/mat.hpp void create(int dims, const int* size, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const; dims 409 modules/core/include/opencv2/core/mat.hpp virtual UMatData* allocate(int dims, const int* sizes, int type, dims 415 modules/core/include/opencv2/core/mat.hpp virtual void download(UMatData* data, void* dst, int dims, const size_t sz[], dims 418 modules/core/include/opencv2/core/mat.hpp virtual void upload(UMatData* data, const void* src, int dims, const size_t sz[], dims 421 modules/core/include/opencv2/core/mat.hpp virtual void copy(UMatData* srcdata, UMatData* dstdata, int dims, const size_t sz[], dims 1867 modules/core/include/opencv2/core/mat.hpp int dims; dims 2292 modules/core/include/opencv2/core/mat.hpp int dims; dims 2409 modules/core/include/opencv2/core/mat.hpp int dims; dims 2439 modules/core/include/opencv2/core/mat.hpp SparseMat(int dims, const int* _sizes, int _type); dims 2491 modules/core/include/opencv2/core/mat.hpp void create(int dims, const int* _sizes, int _type); dims 2518 modules/core/include/opencv2/core/mat.hpp int dims() const; dims 2682 modules/core/include/opencv2/core/mat.hpp SparseMat_(int dims, const int* _sizes); dims 2701 modules/core/include/opencv2/core/mat.hpp void create(int dims, const int* _sizes); dims 319 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 325 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 333 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 342 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 350 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 359 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 367 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 376 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), data(m.data), dims 382 modules/core/include/opencv2/core/mat.inl.hpp if( m.dims <= 2 ) dims 388 modules/core/include/opencv2/core/mat.inl.hpp dims = 0; dims 395 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL + (_type & TYPE_MASK)), dims(2), rows(_rows), cols(_cols), dims 426 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL + (_type & TYPE_MASK)), dims(2), rows(_sz.height), cols(_sz.width), dims 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()), dims 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), dims 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), dims 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), dims 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), dims 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), dims 568 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && m.dims <= 2 ) dims 570 modules/core/include/opencv2/core/mat.inl.hpp dims = m.dims; dims 645 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && rows == _rows && cols == _cols && type() == _type && data ) dims 670 modules/core/include/opencv2/core/mat.inl.hpp for(int i = 0; i < dims; i++) dims 707 modules/core/include/opencv2/core/mat.inl.hpp return dims > 0 ? step.p[dims - 1] : 0; dims 749 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 ) dims 752 modules/core/include/opencv2/core/mat.inl.hpp for( int i = 0; i < dims; i++ ) dims 760 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); dims 767 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); dims 774 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); dims 781 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && data && (unsigned)y < (unsigned)size.p[0]) ); dims 788 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 2 && data && dims 797 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 2 && data && dims 806 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 2 && data && dims 815 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 2 && data && dims 824 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 3 && data && dims 834 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 3 && data && dims 844 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 3 && data && dims 854 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims >= 3 && data && dims 864 modules/core/include/opencv2/core/mat.inl.hpp int i, d = dims; dims 878 modules/core/include/opencv2/core/mat.inl.hpp int i, d = dims; dims 892 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && dims 901 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && dims 910 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && dims 919 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && dims 928 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 942 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 1049 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && (rows == 1 || cols == 1) && dims 1063 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && rows == m && cols == n && channels() == 1 ); dims 1328 modules/core/include/opencv2/core/mat.inl.hpp return (*this = m.reshape(DataType<_Tp>::channels, m.dims, 0)); dims 1492 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 1502 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 1512 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 1522 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && dims 1755 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert((unsigned)i < (unsigned)hdr->dims); dims 1764 modules/core/include/opencv2/core/mat.inl.hpp return hdr ? hdr->dims : 0; dims 1797 modules/core/include/opencv2/core/mat.inl.hpp int d = hdr->dims; dims 2160 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); dims 2174 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); dims 2426 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( m->dims <= 2 ); dims 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) dims 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) dims 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) dims 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) dims 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) dims 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) dims 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) dims 3171 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), allocator(m.allocator), dims 3175 modules/core/include/opencv2/core/mat.inl.hpp if( m.dims <= 2 ) dims 3181 modules/core/include/opencv2/core/mat.inl.hpp dims = 0; dims 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()), dims 3212 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && m.dims <= 2 ) dims 3214 modules/core/include/opencv2/core/mat.inl.hpp dims = m.dims; dims 3288 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && rows == _rows && cols == _cols && type() == _type && u ) dims 3311 modules/core/include/opencv2/core/mat.inl.hpp for(int i = 0; i < dims; i++) dims 3349 modules/core/include/opencv2/core/mat.inl.hpp return dims > 0 ? step.p[dims - 1] : 0; dims 3391 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 ) dims 3394 modules/core/include/opencv2/core/mat.inl.hpp for( int i = 0; i < dims; i++ ) dims 519 modules/core/include/opencv2/core/ocl.hpp bool run(int dims, size_t globalsize[], dims 529 modules/core/include/opencv2/core/types_c.h CV_DbgAssert(m.dims <= 2); dims 530 modules/core/include/opencv2/core/types_c.h *this = cvMat(m.rows, m.dims == 1 ? 1 : m.cols, m.type(), m.data); dims 629 modules/core/include/opencv2/core/types_c.h int dims; dims 680 modules/core/include/opencv2/core/types_c.h int dims; dims 400 modules/core/include/opencv2/core/utility.hpp CV_Assert(this->total() / this->size[this->dims - 1] <= INT_MAX); dims 401 modules/core/include/opencv2/core/utility.hpp const int LINES = static_cast<int>(this->total() / this->size[this->dims - 1]); dims 412 modules/core/include/opencv2/core/utility.hpp const int DIMS = mat->dims; dims 38 modules/core/perf/perf_math.cpp int i, N = 0, N0 = 0, K = 0, dims = 0; dims 39 modules/core/perf/perf_math.cpp dims = rng.uniform(1, MAX_DIM+1); dims 44 modules/core/perf/perf_math.cpp Mat data0(N0, dims, CV_32F); dims 47 modules/core/perf/perf_math.cpp Mat data(N, dims, CV_32F); dims 1521 modules/core/src/arithm.cpp int dims1 = psrc1->dims(), dims2 = psrc2->dims(); dims 1936 modules/core/src/arithm.cpp int wtype, dims1 = psrc1->dims(), dims2 = psrc2->dims(); dims 2268 modules/core/src/arithm.cpp src1.dims == 2 && src2.size() == src1.size() && dims 5011 modules/core/src/arithm.cpp CV_OCL_RUN(_src1.dims() <= 2 && _src2.dims() <= 2 && OCL_PERFORMANCE_CHECK(_dst.isUMat()), dims 5017 modules/core/src/arithm.cpp if( kind1 == kind2 && src1.dims <= 2 && src2.dims <= 2 && src1.size() == src2.size() && src1.type() == src2.type() ) dims 5029 modules/core/src/arithm.cpp _dst.create(src1.dims, src1.size, CV_8UC(cn)); dims 5682 modules/core/src/arithm.cpp CV_OCL_RUN(_src.dims() <= 2 && _lowerb.dims() <= 2 && dims 5683 modules/core/src/arithm.cpp _upperb.dims() <= 2 && OCL_PERFORMANCE_CHECK(_dst.isUMat()), dims 5716 modules/core/src/arithm.cpp _dst.create(src.dims, src.size, CV_8UC1); dims 230 modules/core/src/array.cpp cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, dims 245 modules/core/src/array.cpp if( dims <= 0 || dims > CV_MAX_DIM ) dims 249 modules/core/src/array.cpp for( int i = dims - 1; i >= 0; i-- ) dims 261 modules/core/src/array.cpp mat->dims = dims; dims 271 modules/core/src/array.cpp cvCreateMatND( int dims, const int* sizes, int type ) dims 273 modules/core/src/array.cpp CvMatND* arr = cvCreateMatNDHeader( dims, sizes, type ); dims 282 modules/core/src/array.cpp cvCreateMatNDHeader( int dims, const int* sizes, int type ) dims 284 modules/core/src/array.cpp if( dims <= 0 || dims > CV_MAX_DIM ) dims 290 modules/core/src/array.cpp cvInitMatNDHeader( arr, dims, sizes, type, 0 ); dims 303 modules/core/src/array.cpp CV_Assert( src->dims <= CV_MAX_DIM ); dims 306 modules/core/src/array.cpp for( int i = 0; i < src->dims; i++ ) dims 309 modules/core/src/array.cpp CvMatND* dst = cvCreateMatNDHeader( src->dims, sizes, src->type ); dims 361 modules/core/src/array.cpp matnd->dims = 2; dims 387 modules/core/src/array.cpp int dims = -1; dims 427 modules/core/src/array.cpp if( hdr->dims != hdr0->dims ) dims 460 modules/core/src/array.cpp for( j = 0; j < hdr->dims; j++ ) dims 470 modules/core/src/array.cpp for( j = hdr->dims - 1; j > dim0; j-- ) dims 488 modules/core/src/array.cpp for( j = hdr0->dims - 1; j > dim0; j-- ) dims 491 modules/core/src/array.cpp dims = dim0 + 1; dims 492 modules/core/src/array.cpp iterator->dims = dims; dims 496 modules/core/src/array.cpp for( i = 0; i < dims; i++ ) dims 499 modules/core/src/array.cpp return dims; dims 507 modules/core/src/array.cpp int i, dims; dims 509 modules/core/src/array.cpp for( dims = iterator->dims; dims > 0; dims-- ) dims 512 modules/core/src/array.cpp iterator->ptr[i] += iterator->hdr[i]->dim[dims-1].step; dims 514 modules/core/src/array.cpp if( --iterator->stack[dims-1] > 0 ) dims 517 modules/core/src/array.cpp const int size = iterator->hdr[0]->dim[dims-1].size; dims 520 modules/core/src/array.cpp iterator->ptr[i] -= (size_t)size*iterator->hdr[i]->dim[dims-1].step; dims 522 modules/core/src/array.cpp iterator->stack[dims-1] = size; dims 525 modules/core/src/array.cpp return dims > 0; dims 536 modules/core/src/array.cpp cvCreateSparseMat( int dims, const int* sizes, int type ) dims 547 modules/core/src/array.cpp if( dims <= 0 || dims > CV_MAX_DIM_HEAP ) dims 553 modules/core/src/array.cpp for( i = 0; i < dims; i++ ) dims 559 modules/core/src/array.cpp CvSparseMat* arr = (CvSparseMat*)cvAlloc(sizeof(*arr)+MAX(0,dims-CV_MAX_DIM)*sizeof(arr->size[0])); dims 562 modules/core/src/array.cpp arr->dims = dims; dims 565 modules/core/src/array.cpp memcpy( arr->size, sizes, dims*sizeof(sizes[0])); dims 569 modules/core/src/array.cpp size = (int)cvAlign(arr->idxoffset + dims*sizeof(int), sizeof(CvSetElem)); dims 615 modules/core/src/array.cpp CvSparseMat* dst = cvCreateSparseMat( src->dims, src->size, src->type ); dims 661 modules/core/src/array.cpp for( i = 0; i < mat->dims; i++ ) dims 685 modules/core/src/array.cpp for( i = 0; i < mat->dims; i++ ) dims 688 modules/core/src/array.cpp if( i == mat->dims ) dims 732 modules/core/src/array.cpp memcpy(CV_NODE_IDX(mat,node), idx, mat->dims*sizeof(idx[0])); dims 755 modules/core/src/array.cpp for( i = 0; i < mat->dims; i++ ) dims 777 modules/core/src/array.cpp for( i = 0; i < mat->dims; i++ ) dims 780 modules/core/src/array.cpp if( i == mat->dims ) dims 875 modules/core/src/array.cpp for( i = mat->dims - 1; i >= 0; i-- ) dims 965 modules/core/src/array.cpp for( i = mat->dims - 1; i >= 0; i-- ) dims 1062 modules/core/src/array.cpp if( mat->dims > 2 ) dims 1065 modules/core/src/array.cpp for( i = 1; i < mat->dims; i++ ) dims 1106 modules/core/src/array.cpp int dims = -1; dims 1111 modules/core/src/array.cpp dims = 2; dims 1121 modules/core/src/array.cpp dims = 2; dims 1132 modules/core/src/array.cpp dims = mat->dims; dims 1137 modules/core/src/array.cpp for( i = 0; i < dims; i++ ) dims 1144 modules/core/src/array.cpp dims = mat->dims; dims 1147 modules/core/src/array.cpp memcpy( sizes, mat->size, dims*sizeof(sizes[0])); dims 1152 modules/core/src/array.cpp return dims; dims 1198 modules/core/src/array.cpp if( (unsigned)index >= (unsigned)mat->dims ) dims 1207 modules/core/src/array.cpp if( (unsigned)index >= (unsigned)mat->dims ) dims 1697 modules/core/src/array.cpp for( j = 1; j < mat->dims; j++ ) dims 1711 modules/core/src/array.cpp for( j = mat->dims - 1; j >= 0; j-- ) dims 1726 modules/core/src/array.cpp if( m->dims == 1 ) dims 1730 modules/core/src/array.cpp int i, n = m->dims; dims 1824 modules/core/src/array.cpp if( mat->dims != 2 || dims 1856 modules/core/src/array.cpp if( mat->dims != 3 || dims 1900 modules/core/src/array.cpp for( i = 0; i < mat->dims; i++ ) dims 1942 modules/core/src/array.cpp else if( !CV_IS_SPARSE_MAT( arr ) || ((CvSparseMat*)arr)->dims > 1 ) dims 2053 modules/core/src/array.cpp else if( !CV_IS_SPARSE_MAT( arr ) || ((CvSparseMat*)arr)->dims > 1 ) dims 2183 modules/core/src/array.cpp else if( !CV_IS_SPARSE_MAT( arr ) || ((CvSparseMat*)arr)->dims > 1 ) dims 2275 modules/core/src/array.cpp else if( !CV_IS_SPARSE_MAT( arr ) || ((CvSparseMat*)arr)->dims > 1 ) dims 2472 modules/core/src/array.cpp if( matnd->dims > 2 ) dims 2475 modules/core/src/array.cpp for( i = 1; i < matnd->dims; i++ ) dims 2479 modules/core/src/array.cpp size2 = matnd->dims == 1 ? 1 : matnd->dim[1].size; dims 2509 modules/core/src/array.cpp int dims, coi = 0; dims 2517 modules/core/src/array.cpp dims = cvGetDims( arr ); dims 2522 modules/core/src/array.cpp new_dims = dims; dims 2609 modules/core/src/array.cpp __header->dims = new_dims; dims 2627 modules/core/src/array.cpp int last_dim_size = mat->dim[mat->dims-1].size*CV_MAT_CN(mat->type); dims 2641 modules/core/src/array.cpp header->dim[header->dims-1].size = new_size; dims 2667 modules/core/src/array.cpp for( i = 1; i < dims; i++ ) dims 2689 modules/core/src/array.cpp header->dims = new_dims; dims 843 modules/core/src/convert.cpp mv[k].create(src.dims, src.size, depth); dims 915 modules/core/src/convert.cpp CV_OCL_RUN(_m.dims() <= 2 && _mv.isUMatVector(), dims 956 modules/core/src/convert.cpp _dst.create(mv[0].dims, mv[0].size, CV_MAKETYPE(depth, cn)); dims 1032 modules/core/src/convert.cpp if (src[i].dims > 2) dims 1413 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) dims 1416 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); dims 1423 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); dims 1436 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) dims 5540 modules/core/src/convert.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 5546 modules/core/src/convert.cpp _dst.create( src.dims, src.size, CV_8UC(cn) ); dims 5551 modules/core/src/convert.cpp if( src.dims <= 2 ) dims 5591 modules/core/src/convert.cpp if( dims <= 2 ) dims 5600 modules/core/src/convert.cpp _dst.create( dims, size, _type ); dims 5919 modules/core/src/convert.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 5923 modules/core/src/convert.cpp _dst.create(src.dims, src.size, CV_MAKETYPE(_lut.depth(), cn)); dims 5926 modules/core/src/convert.cpp if (_src.dims() <= 2) dims 294 modules/core/src/copy.cpp _dst.create( dims, size.p, type() ); dims 298 modules/core/src/copy.cpp for( i = 0; i < (size_t)dims; i++ ) dims 300 modules/core/src/copy.cpp sz[dims-1] *= esz; dims 302 modules/core/src/copy.cpp dstofs[dims-1] *= esz; dims 303 modules/core/src/copy.cpp dst.u->currAllocator->upload(dst.u, data, dims, sz, dstofs, dst.step.p, step.p); dims 307 modules/core/src/copy.cpp if( dims <= 2 ) dims 340 modules/core/src/copy.cpp _dst.create( dims, size, type() ); dims 374 modules/core/src/copy.cpp _dst.create( dims, size, type() ); dims 380 modules/core/src/copy.cpp if( dims <= 2 ) dims 410 modules/core/src/copy.cpp if (dims <= 2 || isContinuous()) dims 480 modules/core/src/copy.cpp if (!mask.empty() && (dims <= 2 || (isContinuous() && mask.isContinuous())) && dims 730 modules/core/src/copy.cpp CV_Assert( _src.dims() <= 2 ); dims 870 modules/core/src/copy.cpp CV_Assert( _src.dims() <= 2 ); dims 1152 modules/core/src/copy.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 1333 modules/core/src/copy.cpp dst1->dims = src1->dims; dims 1334 modules/core/src/copy.cpp memcpy( dst1->size, src1->size, src1->dims*sizeof(src1->size[0])); dims 61 modules/core/src/cuda_host_mem.cpp UMatData* allocate(int dims, const int* sizes, int type, dims 66 modules/core/src/cuda_host_mem.cpp for (int i = dims-1; i >= 0; i--) dims 2474 modules/core/src/dxt.cpp _dst.isUMat() && _src0.dims() <= 2 && nonzero_rows == 0, dims 2479 modules/core/src/dxt.cpp CV_OCL_RUN(_dst.isUMat() && _src0.dims() <= 2, dims 2950 modules/core/src/dxt.cpp CV_OCL_RUN(_dst.isUMat() && _srcA.dims() <= 2 && _srcB.dims() <= 2, dims 53 modules/core/src/kmeans.cpp size_t j, dims = box.size(); dims 54 modules/core/src/kmeans.cpp float margin = 1.f/dims; dims 55 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 71 modules/core/src/kmeans.cpp dims(_dims), dims 82 modules/core/src/kmeans.cpp tdist2[i] = std::min(normL2Sqr(data + step*i, data + stepci, dims), dist[i]); dims 92 modules/core/src/kmeans.cpp const int dims; dims 104 modules/core/src/kmeans.cpp int i, j, k, dims = _data.cols, N = _data.rows; dims 117 modules/core/src/kmeans.cpp dist[i] = normL2Sqr(data + step*i, data + step*centers[0], dims); dims 135 modules/core/src/kmeans.cpp KMeansPPDistanceComputer(tdist2, data, dist, dims, step, step*ci)); dims 157 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 181 modules/core/src/kmeans.cpp const int dims = centers.cols; dims 192 modules/core/src/kmeans.cpp const double dist = normL2Sqr(sample, center, dims); dims 226 modules/core/src/kmeans.cpp int dims = (!isrow ? data0.cols : 1)*data0.channels(); dims 230 modules/core/src/kmeans.cpp CV_Assert( data0.dims <= 2 && type == CV_32F && K > 0 ); dims 233 modules/core/src/kmeans.cpp Mat data(N, dims, CV_32F, data0.ptr(), isrow ? dims * sizeof(float) : static_cast<size_t>(data0.step)); dims 257 modules/core/src/kmeans.cpp Mat centers(K, dims, type), old_centers(K, dims, type), temp(1, dims, type); dims 259 modules/core/src/kmeans.cpp std::vector<Vec2f> _box(dims); dims 283 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 289 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 334 modules/core/src/kmeans.cpp for(; j <= dims - 4; j += 4 ) dims 349 modules/core/src/kmeans.cpp for( ; j < dims; j++ ) dims 379 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 387 modules/core/src/kmeans.cpp double dist = normL2Sqr(sample, _old_center, dims); dims 401 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 414 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 421 modules/core/src/kmeans.cpp for( j = 0; j < dims; j++ ) dims 175 modules/core/src/mathfuncs.cpp CV_OCL_RUN(dst.isUMat() && src1.dims() <= 2 && src2.dims() <= 2, dims 179 modules/core/src/mathfuncs.cpp dst.create(X.dims, X.size, X.type()); dims 210 modules/core/src/mathfuncs.cpp CV_OCL_RUN(dst.isUMat() && src1.dims() <= 2 && src2.dims() <= 2, dims 214 modules/core/src/mathfuncs.cpp dst.create( X.dims, X.size, type ); dims 307 modules/core/src/mathfuncs.cpp if ( !(_src1.dims() <= 2 && _src2.dims() <= 2 && dims 348 modules/core/src/mathfuncs.cpp dst1.create( X.dims, X.size, type ); dims 349 modules/core/src/mathfuncs.cpp dst2.create( X.dims, X.size, type ); dims 627 modules/core/src/mathfuncs.cpp CV_OCL_RUN(!src1.empty() && src2.dims() <= 2 && dst1.isUMat() && dst2.isUMat(), dims 632 modules/core/src/mathfuncs.cpp dst1.create( Angle.dims, Angle.size, type ); dims 633 modules/core/src/mathfuncs.cpp dst2.create( Angle.dims, Angle.size, type ); dims 792 modules/core/src/mathfuncs.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 796 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); dims 859 modules/core/src/mathfuncs.cpp CV_OCL_RUN( _dst.isUMat() && _src.dims() <= 2, dims 863 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); dims 1368 modules/core/src/mathfuncs.cpp useOpenCL = _dst.isUMat() && _src.dims() <= 2; dims 1392 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); dims 1615 modules/core/src/mathfuncs.cpp if ( src.dims > 2 ) dims 1747 modules/core/src/mathfuncs.cpp CV_OCL_RUN(_a.isUMat() && _a.dims() <= 2, dims 873 modules/core/src/matmul.cpp CV_OCL_RUN(ocl::haveAmdBlas() && matA.dims() <= 2 && matB.dims() <= 2 && matC.dims() <= 2 && _matD.isUMat() && dims 879 modules/core/src/matmul.cpp CV_OCL_RUN(_matD.isUMat() && matA.dims() <= 2 && matB.dims() <= 2 && matC.dims() <= 2, dims 2320 modules/core/src/matmul.cpp CV_OCL_RUN(_src1.dims() <= 2 && _src2.dims() <= 2 && _dst.isUMat(), dims 2332 modules/core/src/matmul.cpp _dst.create(src1.dims, src1.size, type); dims 1564 modules/core/src/matop.cpp if( e.a.dims <= 2 ) dims 1567 modules/core/src/matop.cpp m.create(e.a.dims, e.a.size, _type); dims 1569 modules/core/src/matop.cpp if( e.flags == 'I' && e.a.dims <= 2 ) dims 68 modules/core/src/matrix.cpp int dims, const size_t sz[], dims 76 modules/core/src/matrix.cpp for( int i = 0; i < dims; i++ ) dims 82 modules/core/src/matrix.cpp srcptr += srcofs[i]*(i <= dims-2 ? srcstep[i] : 1); dims 86 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); dims 87 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); dims 99 modules/core/src/matrix.cpp void MatAllocator::upload(UMatData* u, const void* srcptr, int dims, const size_t sz[], dims 107 modules/core/src/matrix.cpp for( int i = 0; i < dims; i++ ) dims 113 modules/core/src/matrix.cpp dstptr += dstofs[i]*(i <= dims-2 ? dststep[i] : 1); dims 117 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); dims 118 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); dims 129 modules/core/src/matrix.cpp void MatAllocator::copy(UMatData* usrc, UMatData* udst, int dims, const size_t sz[], dims 138 modules/core/src/matrix.cpp for( int i = 0; i < dims; i++ ) dims 144 modules/core/src/matrix.cpp srcptr += srcofs[i]*(i <= dims-2 ? srcstep[i] : 1); dims 146 modules/core/src/matrix.cpp dstptr += dstofs[i]*(i <= dims-2 ? dststep[i] : 1); dims 150 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); dims 151 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); dims 172 modules/core/src/matrix.cpp UMatData* allocate(int dims, const int* sizes, int type, dims 176 modules/core/src/matrix.cpp for( int i = dims-1; i >= 0; i-- ) dims 234 modules/core/src/matrix.cpp std::swap(a.dims, b.dims); dims 267 modules/core/src/matrix.cpp if( m.dims != _dims ) dims 284 modules/core/src/matrix.cpp m.dims = _dims; dims 317 modules/core/src/matrix.cpp m.dims = 2; dims 326 modules/core/src/matrix.cpp for( i = 0; i < m.dims; i++ ) dims 332 modules/core/src/matrix.cpp for( j = m.dims-1; j > i; j-- ) dims 348 modules/core/src/matrix.cpp int d = m.dims; dims 376 modules/core/src/matrix.cpp if( data && (d == dims || (d == 1 && dims <= 2)) && _type == type() ) dims 404 modules/core/src/matrix.cpp u = a->allocate(dims, size, _type, 0, step.p, 0, USAGE_DEFAULT); dims 410 modules/core/src/matrix.cpp u = a0->allocate(dims, size, _type, 0, step.p, 0, USAGE_DEFAULT); dims 413 modules/core/src/matrix.cpp CV_Assert( step[dims-1] == (size_t)CV_ELEM_SIZE(flags) ); dims 422 modules/core/src/matrix.cpp setSize(*this, m.dims, 0, 0); dims 423 modules/core/src/matrix.cpp for( int i = 0; i < dims; i++ ) dims 438 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 441 modules/core/src/matrix.cpp CV_Assert( m.dims >= 2 ); dims 442 modules/core/src/matrix.cpp if( m.dims > 2 ) dims 444 modules/core/src/matrix.cpp AutoBuffer<Range> rs(m.dims); dims 447 modules/core/src/matrix.cpp for( int i = 2; i < m.dims; i++ ) dims 483 modules/core/src/matrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), dims 488 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); dims 512 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 523 modules/core/src/matrix.cpp : flags(MAGIC_VAL), dims(0), rows(0), cols(0), data(0), datastart(0), dataend(0), dims 526 modules/core/src/matrix.cpp int i, d = m.dims; dims 560 modules/core/src/matrix.cpp int i, d = m->dims; dims 590 modules/core/src/matrix.cpp thiz.dims = 2; dims 618 modules/core/src/matrix.cpp m.dims = 2; dims 671 modules/core/src/matrix.cpp CV_Assert( dims <= 2 ); dims 757 modules/core/src/matrix.cpp Mat m(dims, size.p, type()); dims 886 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); dims 907 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); dims 928 modules/core/src/matrix.cpp _ch.create(mat.dims, mat.size, mat.depth()); dims 961 modules/core/src/matrix.cpp if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 ) dims 964 modules/core/src/matrix.cpp hdr.step[dims-1] = CV_ELEM_SIZE(hdr.flags); dims 965 modules/core/src/matrix.cpp hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn; dims 969 modules/core/src/matrix.cpp CV_Assert( dims <= 2 ); dims 1028 modules/core/src/matrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || dims 1030 modules/core/src/matrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && dims 1272 modules/core/src/matrix.cpp mv[i] = m.dims == 2 ? Mat(1, m.cols, m.type(), (void*)m.ptr(i)) : dims 1273 modules/core/src/matrix.cpp Mat(m.dims-1, &m.size[1], m.type(), (void*)m.ptr(i), &m.step[1]); dims 1576 modules/core/src/matrix.cpp d = m.dims; dims 1585 modules/core/src/matrix.cpp d = m.dims; dims 1595 modules/core/src/matrix.cpp d = m.dims; dims 1605 modules/core/src/matrix.cpp d = m.dims; dims 1636 modules/core/src/matrix.cpp if( m->dims > 2 ) dims 1647 modules/core/src/matrix.cpp if( m->dims > 2 ) dims 1653 modules/core/src/matrix.cpp if( arr.dims() > 2 ) dims 1665 modules/core/src/matrix.cpp return ((const Mat*)obj)->dims; dims 1671 modules/core/src/matrix.cpp return ((const MatExpr*)obj)->a.dims; dims 1677 modules/core/src/matrix.cpp return ((const UMat*)obj)->dims; dims 1711 modules/core/src/matrix.cpp return vv[i].dims; dims 1721 modules/core/src/matrix.cpp return vv[i].dims; dims 2226 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.data && dims 2240 modules/core/src/matrix.cpp CV_Assert(m.dims == d); dims 2260 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && !m.empty() && dims 2274 modules/core/src/matrix.cpp CV_Assert(m.dims == d); dims 2416 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.data && dims 2430 modules/core/src/matrix.cpp CV_Assert(m.dims == d); dims 2475 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.u && dims 2489 modules/core/src/matrix.cpp CV_Assert(m.dims == d); dims 2736 modules/core/src/matrix.cpp CV_Assert( src[i].dims <= 2 && dims 2776 modules/core/src/matrix.cpp CV_Assert(src[i].dims <= 2 && dims 2848 modules/core/src/matrix.cpp CV_Assert( _m.dims() <= 2 ); dims 2894 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); dims 3096 modules/core/src/matrix.cpp CV_Assert( _src.dims() <= 2 && esz <= 32 ); dims 3212 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 && m.rows == m.cols ); dims 3231 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && m.dims <= 2 && size() == m.size() && tp == m.type() && dims 3631 modules/core/src/matrix.cpp CV_Assert( _src.dims() <= 2 ); dims 4048 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); dims 4063 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); dims 4256 modules/core/src/matrix.cpp if(_newndims == dims) dims 4321 modules/core/src/matrix.cpp d = A.dims; dims 4452 modules/core/src/matrix.cpp CV_DbgAssert(m->dims <= 2); dims 4463 modules/core/src/matrix.cpp for( int i = 0; i < m->dims; i++ ) dims 4478 modules/core/src/matrix.cpp int i, d = m->dims; dims 4506 modules/core/src/matrix.cpp int d = m->dims; dims 4556 modules/core/src/matrix.cpp int i, d = m->dims; dims 4716 modules/core/src/matrix.cpp dims = _dims; dims 4718 modules/core/src/matrix.cpp dims*sizeof(int), CV_ELEM_SIZE1(_type)); dims 4723 modules/core/src/matrix.cpp for( i = 0; i < dims; i++ ) dims 4743 modules/core/src/matrix.cpp create( m.dims, m.size, m.type() ); dims 4745 modules/core/src/matrix.cpp int i, idx[CV_MAX_DIM] = {0}, d = m.dims, lastSize = m.size[d - 1]; dims 4779 modules/core/src/matrix.cpp if( hdr && _type == type() && hdr->dims == d && hdr->refcount == 1 ) dims 4804 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, type() ); dims 4819 modules/core/src/matrix.cpp int ndims = dims(); dims 4850 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, rtype ); dims 4886 modules/core/src/matrix.cpp m.create( dims(), hdr->size, rtype ); dims 4922 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 1 ); dims 4944 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 2 ); dims 4966 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 3 ); dims 4990 modules/core/src/matrix.cpp int i, d = hdr->dims; dims 5013 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 2 ); dims 5032 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 3 ); dims 5053 modules/core/src/matrix.cpp int i, d = hdr->dims; dims 5135 modules/core/src/matrix.cpp int i, d = hdr->dims; dims 5267 modules/core/src/matrix.cpp size_t i, N = src.nzcount(), d = src.hdr ? src.hdr->dims : 0; dims 5402 modules/core/src/matrix.cpp cvInitMatNDHeader(this, m.dims, m.size, m.type(), m.data ); dims 5403 modules/core/src/matrix.cpp int i, d = m.dims; dims 5411 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); dims 5421 modules/core/src/matrix.cpp CvSparseMat* m = cvCreateSparseMat(sm.hdr->dims, sm.hdr->size, sm.type()); dims 5437 modules/core/src/matrix.cpp m.create( dims, &size[0], type ); dims 3322 modules/core/src/ocl.cpp else if( arg.m->dims <= 2 ) dims 3361 modules/core/src/ocl.cpp bool Kernel::run(int dims, size_t _globalsize[], size_t _localsize[], dims 3371 modules/core/src/ocl.cpp for (int i = 0; i < dims; i++) dims 3374 modules/core/src/ocl.cpp dims == 1 ? 64 : dims == 2 ? (i == 0 ? 256 : 8) : dims == 3 ? (8>>(int)(i>0)) : 1; dims 3383 modules/core/src/ocl.cpp cl_int retval = clEnqueueNDRangeKernel(qq, p->handle, (cl_uint)dims, dims 4166 modules/core/src/ocl.cpp UMatData* defaultAllocate(int dims, const int* sizes, int type, void* data, size_t* step, dims 4169 modules/core/src/ocl.cpp UMatData* u = matStdAllocator->allocate(dims, sizes, type, data, step, flags, usageFlags); dims 4186 modules/core/src/ocl.cpp UMatData* allocate(int dims, const int* sizes, int type, dims 4190 modules/core/src/ocl.cpp return defaultAllocate(dims, sizes, type, data, step, flags, usageFlags); dims 4193 modules/core/src/ocl.cpp for( int i = dims-1; i >= 0; i-- ) dims 4237 modules/core/src/ocl.cpp return defaultAllocate(dims, sizes, type, data, step, flags, usageFlags); dims 4684 modules/core/src/ocl.cpp bool checkContinuous(int dims, const size_t sz[], dims 4692 modules/core/src/ocl.cpp srcrawofs = srcofs ? srcofs[dims-1] : 0; dims 4693 modules/core/src/ocl.cpp dstrawofs = dstofs ? dstofs[dims-1] : 0; dims 4694 modules/core/src/ocl.cpp total = sz[dims-1]; dims 4695 modules/core/src/ocl.cpp for( int i = dims-2; i >= 0; i-- ) dims 4709 modules/core/src/ocl.cpp if( dims == 2 ) dims 4735 modules/core/src/ocl.cpp CV_Assert(dims <= 3); dims 4758 modules/core/src/ocl.cpp void download(UMatData* u, void* dstptr, int dims, const size_t sz[], dims 4768 modules/core/src/ocl.cpp Mat::getStdAllocator()->download(u, dstptr, dims, sz, srcofs, srcstep, dststep); dims 4779 modules/core/src/ocl.cpp bool iscontinuous = checkContinuous(dims, sz, srcofs, srcstep, 0, dststep, dims 4811 modules/core/src/ocl.cpp for( int i = 0; i < dims; i++ ) dims 4817 modules/core/src/ocl.cpp srcptr += srcofs[i]*(i <= dims-2 ? srcstep[i] : 1); dims 4821 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); dims 4822 modules/core/src/ocl.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); dims 4859 modules/core/src/ocl.cpp void upload(UMatData* u, const void* srcptr, int dims, const size_t sz[], dims 4873 modules/core/src/ocl.cpp bool iscontinuous = checkContinuous(dims, sz, 0, srcstep, dstofs, dststep, dims 4887 modules/core/src/ocl.cpp Mat::getStdAllocator()->upload(u, srcptr, dims, sz, dstofs, dststep, srcstep); dims 4923 modules/core/src/ocl.cpp for( int i = 0; i < dims; i++ ) dims 4929 modules/core/src/ocl.cpp dstptr += dstofs[i]*(i <= dims-2 ? dststep[i] : 1); dims 4933 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); dims 4934 modules/core/src/ocl.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); dims 4984 modules/core/src/ocl.cpp void copy(UMatData* src, UMatData* dst, int dims, const size_t sz[], dims 4995 modules/core/src/ocl.cpp bool iscontinuous = checkContinuous(dims, sz, srcofs, srcstep, dstofs, dststep, dims 5005 modules/core/src/ocl.cpp upload(dst, src->data + srcrawofs, dims, sz, dstofs, dststep, srcstep); dims 5010 modules/core/src/ocl.cpp download(src, dst->data + dstrawofs, dims, sz, srcofs, srcstep, dststep); dims 5057 modules/core/src/ocl.cpp for( int i = 0; i < dims; i++ ) dims 5063 modules/core/src/ocl.cpp srcptr += srcofs[i]*(i <= dims-2 ? srcstep[i] : 1); dims 5066 modules/core/src/ocl.cpp Mat m_src(dims, isz, CV_8U, srcptr, srcstep); dims 5069 modules/core/src/ocl.cpp for( int i = 0; i < dims; i++ ) dims 5072 modules/core/src/ocl.cpp dstptr += dstofs[i]*(i <= dims-2 ? dststep[i] : 1); dims 5074 modules/core/src/ocl.cpp Mat m_dst(dims, isz, CV_8U, dstptr, dststep); dims 5090 modules/core/src/ocl.cpp upload(dst, src->data + srcrawofs, dims, sz, dstofs, dststep, srcstep); dims 5096 modules/core/src/ocl.cpp download(src, dst->data + dstrawofs, dims, sz, srcofs, srcstep, dststep); dims 86 modules/core/src/out.cpp CV_Assert(m.dims <= 2); dims 3599 modules/core/src/persistence.cpp int dims, sizes[CV_MAX_DIM]; dims 3605 modules/core/src/persistence.cpp dims = cvGetDims( mat, sizes ); dims 3607 modules/core/src/persistence.cpp cvWriteRawData( fs, sizes, dims, "i" ); dims 3633 modules/core/src/persistence.cpp int sizes[CV_MAX_DIM], dims, elem_type; dims 3642 modules/core/src/persistence.cpp dims = CV_NODE_IS_SEQ(sizes_node->tag) ? sizes_node->data.seq->total : dims 3645 modules/core/src/persistence.cpp if( dims <= 0 || dims > CV_MAX_DIM ) dims 3657 modules/core/src/persistence.cpp for( total_size = CV_MAT_CN(elem_type), i = 0; i < dims; i++ ) dims 3668 modules/core/src/persistence.cpp mat = cvCreateMatND( dims, sizes, elem_type ); dims 3672 modules/core/src/persistence.cpp mat = cvCreateMatNDHeader( dims, sizes, elem_type ); dims 3691 modules/core/src/persistence.cpp int i, dims = *(int*)userdata; dims 3695 modules/core/src/persistence.cpp for( i = 0; i < dims; i++ ) dims 3716 modules/core/src/persistence.cpp int i, dims; dims 3725 modules/core/src/persistence.cpp dims = cvGetDims( mat, 0 ); dims 3728 modules/core/src/persistence.cpp cvWriteRawData( fs, mat->size, dims, "i" ); dims 3743 modules/core/src/persistence.cpp cvSeqSort( elements, icvSortIdxCmpFunc, &dims ); dims 3756 modules/core/src/persistence.cpp assert( k < dims ); dims 3757 modules/core/src/persistence.cpp if( k < dims - 1 ) dims 3758 modules/core/src/persistence.cpp fs->write_int( fs, 0, k - dims + 1 ); dims 3760 modules/core/src/persistence.cpp for( ; k < dims; k++ ) dims 3786 modules/core/src/persistence.cpp int sizes[CV_MAX_DIM_HEAP], dims, elem_type, cn; dims 3795 modules/core/src/persistence.cpp dims = CV_NODE_IS_SEQ(sizes_node->tag) ? sizes_node->data.seq->total : dims 3798 modules/core/src/persistence.cpp if( dims <= 0 || dims > CV_MAX_DIM_HEAP ) dims 3808 modules/core/src/persistence.cpp mat = cvCreateSparseMat( dims, sizes, elem_type ); dims 3824 modules/core/src/persistence.cpp idx[dims-1] = k; dims 3828 modules/core/src/persistence.cpp k = dims + k - 1; dims 3831 modules/core/src/persistence.cpp for( ; k < dims; k++ ) dims 5480 modules/core/src/persistence.cpp if( value.dims <= 2 ) dims 216 modules/core/src/precomp.hpp if( sc.dims > 2 || !sc.isContinuous() ) dims 230 modules/core/src/precomp.hpp if( sc.dims() > 2 || !sc.isContinuous() ) dims 765 modules/core/src/rand.cpp CV_Assert( _arr.dims <= 2 ); dims 1147 modules/core/src/stat.cpp CV_OCL_RUN_(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2, dims 1160 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) dims 1301 modules/core/src/stat.cpp CV_OCL_RUN_(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2, dims 1311 modules/core/src/stat.cpp if (src.dims <= 2 || src.isContinuous()) dims 1366 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) dims 1623 modules/core/src/stat.cpp CV_OCL_RUN(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2, dims 1636 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) dims 1934 modules/core/src/stat.cpp int i, d = a.dims; dims 2194 modules/core/src/stat.cpp CV_OCL_RUN(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2 && (_mask.empty() || _src.size() == _mask.size()), dims 2204 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) dims 2338 modules/core/src/stat.cpp CV_Assert(_img.dims() <= 2); dims 2625 modules/core/src/stat.cpp CV_OCL_RUN_(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2, dims 2639 modules/core/src/stat.cpp if( (src.dims == 2 || (src.isContinuous() && mask.isContinuous())) dims 3018 modules/core/src/stat.cpp if( (src1.dims == 2 || (src1.isContinuous() && src2.isContinuous() && mask.isContinuous())) dims 3130 modules/core/src/stat.cpp if( (src1.dims == 2 || (src1.isContinuous() && src2.isContinuous() && mask.isContinuous())) dims 100 modules/core/src/umatrix.cpp std::swap(a.dims, b.dims); dims 130 modules/core/src/umatrix.cpp if( m.dims != _dims ) dims 147 modules/core/src/umatrix.cpp m.dims = _dims; dims 173 modules/core/src/umatrix.cpp m.dims = 2; dims 182 modules/core/src/umatrix.cpp for( i = 0; i < m.dims; i++ ) dims 188 modules/core/src/umatrix.cpp for( j = m.dims-1; j > i; j-- ) dims 205 modules/core/src/umatrix.cpp int d = m.dims; dims 221 modules/core/src/umatrix.cpp temp_u = a->allocate(dims, size.p, type(), data, step.p, accessFlags, usageFlags); dims 226 modules/core/src/umatrix.cpp setSize(hdr, dims, size.p, step.p); dims 242 modules/core/src/umatrix.cpp if( u && (d == dims || (d == 1 && dims <= 2)) && _type == type() ) dims 267 modules/core/src/umatrix.cpp u = a->allocate(dims, size, _type, 0, step.p, 0, usageFlags); dims 273 modules/core/src/umatrix.cpp u = a0->allocate(dims, size, _type, 0, step.p, 0, usageFlags); dims 276 modules/core/src/umatrix.cpp CV_Assert( step[dims-1] == (size_t)CV_ELEM_SIZE(flags) ); dims 285 modules/core/src/umatrix.cpp setSize(*this, m.dims, 0, 0); dims 286 modules/core/src/umatrix.cpp for( int i = 0; i < dims; i++ ) dims 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) dims 311 modules/core/src/umatrix.cpp CV_Assert( m.dims >= 2 ); dims 312 modules/core/src/umatrix.cpp if( m.dims > 2 ) dims 314 modules/core/src/umatrix.cpp AutoBuffer<Range> rs(m.dims); dims 317 modules/core/src/umatrix.cpp for( int i = 2; i < m.dims; i++ ) dims 353 modules/core/src/umatrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), dims 356 modules/core/src/umatrix.cpp CV_Assert( m.dims <= 2 ); dims 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) dims 382 modules/core/src/umatrix.cpp int i, d = m.dims; dims 406 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 ); dims 440 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); dims 462 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); dims 484 modules/core/src/umatrix.cpp if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 ) dims 487 modules/core/src/umatrix.cpp hdr.step[dims-1] = CV_ELEM_SIZE(hdr.flags); dims 488 modules/core/src/umatrix.cpp hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn; dims 492 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 ); dims 551 modules/core/src/umatrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || dims 553 modules/core/src/umatrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && dims 560 modules/core/src/umatrix.cpp if(_newndims == dims) dims 580 modules/core/src/umatrix.cpp Mat hdr(dims, size.p, type(), u->data + offset, step.p); dims 612 modules/core/src/umatrix.cpp for( int i = 0; i < dims; i++ ) dims 637 modules/core/src/umatrix.cpp for( i = 0; i < (size_t)dims; i++ ) dims 639 modules/core/src/umatrix.cpp sz[dims-1] *= esz; dims 641 modules/core/src/umatrix.cpp srcofs[dims-1] *= esz; dims 643 modules/core/src/umatrix.cpp _dst.create( dims, size.p, type() ); dims 653 modules/core/src/umatrix.cpp dstofs[dims-1] *= esz; dims 654 modules/core/src/umatrix.cpp u->currAllocator->copy(u, dst.u, dims, sz, srcofs, step.p, dstofs, dst.step.p, false); dims 660 modules/core/src/umatrix.cpp u->currAllocator->download(u, dst.ptr(), dims, sz, srcofs, step.p, dst.step.p); dims 674 modules/core/src/umatrix.cpp if (ocl::useOpenCL() && _dst.isUMat() && dims <= 2) dims 677 modules/core/src/umatrix.cpp _dst.create( dims, size, type() ); dims 729 modules/core/src/umatrix.cpp if( dims <= 2 && cn && _dst.isUMat() && ocl::useOpenCL() && dims 775 modules/core/src/umatrix.cpp if( dims <= 2 && cn <= 4 && CV_MAT_DEPTH(tp) < CV_64F && ocl::useOpenCL() ) dims 913 modules/core/src/umatrix.cpp CV_OCL_RUN_(dims <= 2, ocl_dot(*this, m, r), r) dims 554 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); dims 602 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); dims 771 modules/core/test/test_arithm.cpp CV_Assert(src.dims == 2); dims 793 modules/core/test/test_arithm.cpp CV_Assert( dst.dims == 2 && dst.channels() <= 4 ); dims 897 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); dims 926 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); dims 1015 modules/core/test/test_arithm.cpp mmag.create( mx.dims, &mx.size[0], mx.type() ); dims 1016 modules/core/test/test_arithm.cpp mangle.create( mx.dims, &mx.size[0], mx.type() ); dims 1082 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); dims 1091 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); dims 1302 modules/core/test/test_arithm.cpp int ndims = src[0].dims; dims 1310 modules/core/test/test_arithm.cpp int ndims=src[0].dims; dims 1444 modules/core/test/test_arithm.cpp int k, dims = rng.uniform(1, MAX_DIM+1), p = 1; dims 1450 modules/core/test/test_arithm.cpp for( k = 0; k < dims; k++ ) dims 1455 modules/core/test/test_arithm.cpp Mat a(dims, sizes, type), a1; dims 1456 modules/core/test/test_arithm.cpp Mat b(dims, sizes, type), b1; dims 1457 modules/core/test/test_arithm.cpp Mat mask(dims, sizes, CV_8U); dims 1763 modules/core/test/test_arithm.cpp int dims[] = {5, size.height, size.width}; dims 1765 modules/core/test/test_arithm.cpp cv::Mat src1(3, dims, src_type, cv::Scalar::all(16)); dims 1766 modules/core/test/test_arithm.cpp cv::Mat src2(3, dims, src_type, cv::Scalar::all(16)); dims 1776 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(3, dims, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); dims 1783 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.dims, dst.dims); dims 6 modules/core/test/test_io.cpp static SparseMat cvTsGetRandomSparseMat(int dims, const int* sz, int type, dims 9 modules/core/test/test_io.cpp SparseMat m(dims, sz, type); dims 15 modules/core/test/test_io.cpp for( j = 0; j < dims; j++ ) dims 45 modules/core/test/test_io.cpp m1->dims != m2->dims || CV_MAT_TYPE(m1->type) != CV_MAT_TYPE(m2->type) ) dims 158 modules/core/test/test_io.cpp MatND test_mat_scale(test_mat_nd.dims, test_mat_nd.size, test_mat_nd.type()); dims 557 modules/core/test/test_mat.cpp static string idx2string(const int* idx, int dims) dims 561 modules/core/test/test_mat.cpp for( int k = 0; k < dims; k++ ) dims 570 modules/core/test/test_mat.cpp static const int* string2idx(const string& s, int* idx, int dims) dims 573 modules/core/test/test_mat.cpp for( int k = 0; k < dims; k++ ) dims 584 modules/core/test/test_mat.cpp int d = M.dims(); dims 608 modules/core/test/test_mat.cpp int d = M.dims(); dims 632 modules/core/test/test_mat.cpp int d = M.dims(); dims 701 modules/core/test/test_mat.cpp const int dims[3] = { 101, 107, 7 }; dims 704 modules/core/test/test_mat.cpp cv::Mat a = cv::Mat::zeros(3, dims, CV_32SC3); dims 711 modules/core/test/test_mat.cpp for (int i0 = 0; i0 < dims[0]; ++i0) { dims 712 modules/core/test/test_mat.cpp for (int i1 = 0; i1 < dims[1]; ++i1) { dims 713 modules/core/test/test_mat.cpp for (int i2 = 0; i2 < dims[2]; ++i2) { dims 730 modules/core/test/test_mat.cpp for (size_t i = 0; i < sizeof(dims) / sizeof(dims[0]); ++i) { dims 731 modules/core/test/test_mat.cpp total2 += ((dims[i] - 1) * dims[i] / 2) * dims[0] * dims[1] * dims[2] / dims[i]; dims 745 modules/core/test/test_mat.cpp int dims = ((unsigned)rng % MAX_DIM) + 1; dims 754 modules/core/test/test_mat.cpp for( k = 0; k < dims; k++ ) dims 759 modules/core/test/test_mat.cpp SparseMat M( dims, size, depth ); dims 791 modules/core/test/test_mat.cpp for( k = 0; k < dims; k++ ) dims 793 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); dims 852 modules/core/test/test_mat.cpp string2idx(sidx, idx, dims); dims 857 modules/core/test/test_mat.cpp for( k = 0; k < dims; k++ ) dims 859 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); dims 880 modules/core/test/test_mat.cpp string2idx(sidx, idx, dims); dims 884 modules/core/test/test_mat.cpp for( k = 0; k < dims; k++ ) dims 886 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); dims 912 modules/core/test/test_mat.cpp string s1 = idx2string(idx1, dims), s2 = idx2string(idx2, dims); dims 923 modules/core/test/test_mat.cpp s1 = idx2string(idx1, dims), s2 = idx2string(idx2, dims); dims 2646 modules/core/test/test_math.cpp int i, iter = 0, N = 0, N0 = 0, K = 0, dims = 0; dims 2656 modules/core/test/test_math.cpp dims = rng.uniform(inVariant == MAT_1_N_CDIM ? 2 : 1, MAX_DIM+1); dims 2663 modules/core/test/test_math.cpp dims = 2; dims 2677 modules/core/test/test_math.cpp Mat data0(N0, dims, CV_32F); dims 2685 modules/core/test/test_math.cpp data.create(N, dims, CV_32F); dims 2691 modules/core/test/test_math.cpp data.create(N, 1, CV_32FC(dims)); dims 2693 modules/core/test/test_math.cpp memcpy(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); dims 2697 modules/core/test/test_math.cpp data.create(1, N, CV_32FC(dims)); dims 2699 modules/core/test/test_math.cpp memcpy(data.ptr() + i * dims * sizeof(float), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); dims 2703 modules/core/test/test_math.cpp data.create(N, dims + 5, CV_32F); dims 2704 modules/core/test/test_math.cpp data = data(Range(0, N), Range(0, dims)); dims 2710 modules/core/test/test_math.cpp data.create(N, 3, CV_32FC(dims)); dims 2713 modules/core/test/test_math.cpp memcpy(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); dims 835 modules/core/test/test_operations.cpp int dims = sizeof(sizes)/sizeof(sizes[0]); dims 836 modules/core/test/test_operations.cpp SparseMat mat(dims, sizes, CV_32FC2); dims 838 modules/core/test/test_operations.cpp if (mat.dims() != dims) throw test_excep(); dims 1172 modules/core/test/test_operations.cpp int k, dims = rng.uniform(1, MAX_DIM+1), p = 1; dims 1173 modules/core/test/test_operations.cpp for( k = 0; k < dims; k++ ) dims 1179 modules/core/test/test_operations.cpp SparseMat_<int> v(dims,sizes); dims 1194 modules/core/test/test_operations.cpp for( k = 0; k < dims; k++ ) dims 1196 modules/core/test/test_operations.cpp if( dims == 1 ) dims 1200 modules/core/test/test_operations.cpp else if( dims == 2 ) dims 1204 modules/core/test/test_operations.cpp else if( dims == 3 ) dims 91 modules/core/test/test_umat.cpp int dims = randomInt(2,6); dims 93 modules/core/test/test_umat.cpp for( int i = 0; i<dims; i++) dims 100 modules/core/test/test_umat.cpp ua.create(dims, sz, CV_MAKE_TYPE(new_depth, new_cn)); dims 102 modules/core/test/test_umat.cpp for(int i = 0; i<dims; i++) dims 106 modules/core/test/test_umat.cpp ASSERT_EQ(ua.dims, dims); dims 112 modules/core/test/test_umat.cpp ASSERT_EQ( ua.dims, 2); dims 163 modules/core/test/test_umat.cpp int dims = randomInt(2,6); dims 166 modules/core/test/test_umat.cpp for(int i = 0; i<dims; i++) dims 172 modules/core/test/test_umat.cpp ub = UMat(dims, sz, new_type); dims 336 modules/core/test/test_umat.cpp EXPECT_ANY_THROW( ua.reshape(nChannels, ua.dims, sz) ); dims 340 modules/core/test/test_umat.cpp EXPECT_NO_THROW ( ub = ua.reshape(nChannels, ua.dims, sz) ); dims 346 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(ua.reshape(nChannels, ua.dims, sz), a.reshape(nChannels, a.dims, sz), 0); dims 751 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && dims 895 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && dims 62 modules/features2d/test/test_nearestneighbors.cpp static const int dims = 30; dims 93 modules/features2d/test/test_nearestneighbors.cpp Mat points( pointsCount, dims, CV_32FC1 ); dims 101 modules/features2d/test/test_nearestneighbors.cpp for( int d = 0; d < dims; d++ ) dims 129 modules/features2d/test/test_nearestneighbors.cpp Mat desc( featuresCount, dims, CV_32FC1 ); dims 194 modules/flann/include/opencv2/flann/hdf5.h hsize_t dims[2]; dims 195 modules/flann/include/opencv2/flann/hdf5.h H5Sget_simple_extent_dims(space_id, dims, NULL); dims 200 modules/flann/include/opencv2/flann/hdf5.h hsize_t item_cnt = dims[0]/mpi_size+(dims[0]%mpi_size==0 ? 0 : 1); dims 201 modules/flann/include/opencv2/flann/hdf5.h hsize_t cnt = (mpi_rank<mpi_size-1 ? item_cnt : dims[0]-item_cnt*(mpi_size-1)); dims 204 modules/flann/include/opencv2/flann/hdf5.h count[1] = dims[1]; dims 2801 modules/imgproc/include/opencv2/imgproc.hpp OutputArray hist, int dims, const int* histSize, dims 2810 modules/imgproc/include/opencv2/imgproc.hpp SparseMat& hist, int dims, dims 646 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(CvHistogram*) cvCreateHist( int dims, int* sizes, int type, dims 678 modules/imgproc/include/opencv2/imgproc/imgproc_c.h int dims, int* sizes, CvHistogram* hist, dims 28 modules/imgproc/perf/perf_histogram.cpp int dims = 1; dims 40 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); dims 57 modules/imgproc/perf/perf_histogram.cpp int dims = 2; dims 68 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); dims 84 modules/imgproc/perf/perf_histogram.cpp int dims = 3; dims 96 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); dims 854 modules/imgproc/src/accum.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 862 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) dims 939 modules/imgproc/src/accum.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 947 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) dims 1024 modules/imgproc/src/accum.cpp CV_OCL_RUN(_src1.dims() <= 2 && _dst.isUMat(), dims 1032 modules/imgproc/src/accum.cpp if (src1.dims <= 2 || (src1.isContinuous() && src2.isContinuous() && dst.isContinuous())) dims 1111 modules/imgproc/src/accum.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 1119 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && mask.isContinuous())) dims 357 modules/imgproc/src/clahe.cpp bool useOpenCL = cv::ocl::useOpenCL() && _src.isUMat() && _src.dims()<=2 && _src.type() == CV_8UC1; dims 6684 modules/imgproc/src/color.cpp int dims = 2, stripeSize = 1; dims 7236 modules/imgproc/src/color.cpp return k.run(dims, globalsize, NULL, false); dims 7308 modules/imgproc/src/color.cpp return k.run(dims, globalsize, NULL, false); dims 7319 modules/imgproc/src/color.cpp ok = k.run(dims, globalsize, NULL, false); dims 7337 modules/imgproc/src/color.cpp CV_OCL_RUN( _src.dims() <= 2 && _dst.isUMat() && !(depth == CV_8U && (code == CV_Luv2BGR || code == CV_Luv2RGB)), dims 528 modules/imgproc/src/corner.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 599 modules/imgproc/src/corner.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 676 modules/imgproc/src/corner.cpp CV_OCL_RUN( _src.dims() <= 2 && _dst.isUMat(), dims 119 modules/imgproc/src/emd.cpp int dims, CvDistanceFunction dist_func, void *user_param, dims 171 modules/imgproc/src/emd.cpp int dims, size1, size2; dims 179 modules/imgproc/src/emd.cpp dims = signature1->cols - 1; dims 229 modules/imgproc/src/emd.cpp if( dims == 0 ) dims 232 modules/imgproc/src/emd.cpp user_param = (void *) (size_t)dims; dims 251 modules/imgproc/src/emd.cpp dims, dist_func, user_param, dims 325 modules/imgproc/src/emd.cpp int dims, CvDistanceFunction dist_func, void* user_param, dims 354 modules/imgproc/src/emd.cpp if( buffer_size < (int) (dims * 2 * sizeof( float ))) dims 356 modules/imgproc/src/emd.cpp buffer_size = dims * 2 * sizeof( float ); dims 380 modules/imgproc/src/emd.cpp float weight = signature1[i * (dims + 1)]; dims 395 modules/imgproc/src/emd.cpp float weight = signature2[i * (dims + 1)]; dims 433 modules/imgproc/src/emd.cpp int sz1 = size1 * (dims + 1), sz2 = size2 * (dims + 1); dims 437 modules/imgproc/src/emd.cpp float* xd = xs + dims; dims 439 modules/imgproc/src/emd.cpp memset( xs, 0, dims*sizeof(xs[0])); dims 440 modules/imgproc/src/emd.cpp memset( xd, 0, dims*sizeof(xd[0])); dims 442 modules/imgproc/src/emd.cpp for( j = 0; j < sz1; j += dims + 1 ) dims 445 modules/imgproc/src/emd.cpp for( i = 0; i < dims; i++ ) dims 449 modules/imgproc/src/emd.cpp for( j = 0; j < sz2; j += dims + 1 ) dims 452 modules/imgproc/src/emd.cpp for( i = 0; i < dims; i++ ) dims 505 modules/imgproc/src/emd.cpp val = dist_func( signature1 + ci * (dims + 1) + 1, dims 506 modules/imgproc/src/emd.cpp signature2 + cj * (dims + 1) + 1, dims 1097 modules/imgproc/src/emd.cpp int i, dims = (int)(size_t)user_param; dims 1100 modules/imgproc/src/emd.cpp for( i = 0; i < dims; i++ ) dims 1112 modules/imgproc/src/emd.cpp int i, dims = (int)(size_t)user_param; dims 1115 modules/imgproc/src/emd.cpp for( i = 0; i < dims; i++ ) dims 1127 modules/imgproc/src/emd.cpp int i, dims = (int)(size_t)user_param; dims 1130 modules/imgproc/src/emd.cpp for( i = 0; i < dims; i++ ) dims 273 modules/imgproc/src/featureselect.cpp CV_OCL_RUN(_image.dims() <= 2 && _image.isUMat(), dims 4563 modules/imgproc/src/filter.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 4714 modules/imgproc/src/filter.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 54 modules/imgproc/src/histogram.cpp int dims, const float** ranges, const double* uniranges, dims 59 modules/imgproc/src/histogram.cpp _tab.resize((high-low)*dims); dims 64 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 86 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 116 modules/imgproc/src/histogram.cpp const Mat& mask, int dims, const int* histSize, dims 122 modules/imgproc/src/histogram.cpp CV_Assert( channels != 0 || nimages == dims ); dims 128 modules/imgproc/src/histogram.cpp ptrs.resize(dims + 1); dims 129 modules/imgproc/src/histogram.cpp deltas.resize((dims + 1)*2); dims 131 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 161 modules/imgproc/src/histogram.cpp ptrs[dims] = mask.data; dims 162 modules/imgproc/src/histogram.cpp deltas[dims*2] = 1; dims 163 modules/imgproc/src/histogram.cpp deltas[dims*2 + 1] = (int)(mask.step/mask.elemSize1()); dims 178 modules/imgproc/src/histogram.cpp uniranges.resize( dims*2 ); dims 179 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 187 modules/imgproc/src/histogram.cpp uniranges.resize( dims*2 ); dims 188 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 199 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 218 modules/imgproc/src/histogram.cpp Mat& hist, const double* _uniranges, int sz, int dims, dims 220 modules/imgproc/src/histogram.cpp : mask_(_ptrs[dims]), dims 221 modules/imgproc/src/histogram.cpp mstep_(_deltas[dims*2 + 1]), dims 293 modules/imgproc/src/histogram.cpp int dims, Size& imageSize, size_t* hstep ) dims 294 modules/imgproc/src/histogram.cpp : mask_(_ptrs[dims]), dims 295 modules/imgproc/src/histogram.cpp mstep_(_deltas[dims*2 + 1]), dims 456 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab, dims 458 modules/imgproc/src/histogram.cpp : mask_(ptrs[dims]), dims 459 modules/imgproc/src/histogram.cpp mstep_(deltas[dims*2 + 1]), dims 577 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& _tab, dims 579 modules/imgproc/src/histogram.cpp : mask_(_ptrs[dims]), dims 580 modules/imgproc/src/histogram.cpp mstep_(_deltas[dims*2 + 1]), dims 662 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab ) dims 663 modules/imgproc/src/histogram.cpp : mask_(_ptrs[dims]), dims 664 modules/imgproc/src/histogram.cpp mstep_(_deltas[dims*2 + 1]), dims 731 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) dims 736 modules/imgproc/src/histogram.cpp CalcHist2D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); dims 742 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) dims 744 modules/imgproc/src/histogram.cpp CalcHist3D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab); dims 751 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const float** _ranges, dims 758 modules/imgproc/src/histogram.cpp const uchar* mask = _ptrs[dims]; dims 759 modules/imgproc/src/histogram.cpp int mstep = _deltas[dims*2 + 1]; dims 763 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 773 modules/imgproc/src/histogram.cpp if( dims == 1 ) dims 776 modules/imgproc/src/histogram.cpp calcHist1D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size[0], dims, imsize); dims 804 modules/imgproc/src/histogram.cpp else if( dims == 2 ) dims 807 modules/imgproc/src/histogram.cpp calcHist2D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size, dims, imsize, hstep); dims 841 modules/imgproc/src/histogram.cpp else if( dims == 3 ) dims 846 modules/imgproc/src/histogram.cpp calcHist3D_Invoker<T> body(_ptrs, _deltas, imsize, hist, uniranges, dims, hstep, size); dims 898 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 907 modules/imgproc/src/histogram.cpp if( i == dims ) dims 910 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 919 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 928 modules/imgproc/src/histogram.cpp if( i == dims ) dims 931 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 934 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 943 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 954 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 970 modules/imgproc/src/histogram.cpp if( i == dims ) dims 973 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 977 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 986 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const float** _ranges, dims 993 modules/imgproc/src/histogram.cpp const uchar* mask = _ptrs[dims]; dims 994 modules/imgproc/src/histogram.cpp int mstep = _deltas[dims*2 + 1]; dims 997 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( hist, SparseMat(), dims, _ranges, _uniranges, uniform, false, _tab ); dims 1000 modules/imgproc/src/histogram.cpp if( dims == 1 ) dims 1009 modules/imgproc/src/histogram.cpp CalcHist1D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); dims 1060 modules/imgproc/src/histogram.cpp else if( dims == 2 ) dims 1065 modules/imgproc/src/histogram.cpp callCalcHist2D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); dims 1092 modules/imgproc/src/histogram.cpp else if( dims == 3 ) dims 1097 modules/imgproc/src/histogram.cpp callCalcHist3D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); dims 1136 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1145 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1148 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1157 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1166 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1169 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1172 modules/imgproc/src/histogram.cpp for(int i = 0; i < dims; i++ ) dims 1224 modules/imgproc/src/histogram.cpp InputArray _mask, OutputArray _hist, int dims, const int* histSize, dims 1229 modules/imgproc/src/histogram.cpp CV_Assert(dims > 0 && histSize); dims 1232 modules/imgproc/src/histogram.cpp _hist.create(dims, histSize, CV_32F); dims 1239 modules/imgproc/src/histogram.cpp if (nimages == 1 && images[0].type() == CV_8UC1 && dims == 1 && channels && dims 1240 modules/imgproc/src/histogram.cpp channels[0] == 0 && mask.empty() && images[0].dims <= 2 && dims 1278 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.size, ranges, dims 1285 modules/imgproc/src/histogram.cpp calcHist_8u(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); dims 1287 modules/imgproc/src/histogram.cpp calcHist_<ushort>(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); dims 1289 modules/imgproc/src/histogram.cpp calcHist_<float>(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); dims 1302 modules/imgproc/src/histogram.cpp Size imsize, SparseMat& hist, int dims, const float** _ranges, dims 1308 modules/imgproc/src/histogram.cpp const uchar* mask = _ptrs[dims]; dims 1309 modules/imgproc/src/histogram.cpp int mstep = _deltas[dims*2 + 1]; dims 1323 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1331 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1334 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1337 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1345 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1355 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1370 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1373 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1377 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1386 modules/imgproc/src/histogram.cpp Size imsize, SparseMat& hist, int dims, const float** _ranges, dims 1392 modules/imgproc/src/histogram.cpp const uchar* mask = _ptrs[dims]; dims 1393 modules/imgproc/src/histogram.cpp int mstep = _deltas[dims*2 + 1]; dims 1397 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( Mat(), hist, dims, _ranges, _uniranges, uniform, true, _tab ); dims 1406 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1415 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1418 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1421 modules/imgproc/src/histogram.cpp for(int i = 0; i < dims; i++ ) dims 1428 modules/imgproc/src/histogram.cpp const Mat& mask, SparseMat& hist, int dims, const int* histSize, dims 1434 modules/imgproc/src/histogram.cpp hist.create(dims, histSize, CV_32F); dims 1451 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.hdr->size, ranges, dims 1457 modules/imgproc/src/histogram.cpp calcSparseHist_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); dims 1459 modules/imgproc/src/histogram.cpp calcSparseHist_<ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); dims 1461 modules/imgproc/src/histogram.cpp calcSparseHist_<float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); dims 1538 modules/imgproc/src/histogram.cpp InputArray _mask, SparseMat& hist, int dims, const int* histSize, dims 1542 modules/imgproc/src/histogram.cpp calcHist( images, nimages, channels, mask, hist, dims, histSize, dims 1559 modules/imgproc/src/histogram.cpp int i, dims = (int)histSize.size(), rsz = (int)ranges.size(), csz = (int)channels.size(); dims 1562 modules/imgproc/src/histogram.cpp CV_Assert(nimages > 0 && dims > 0); dims 1563 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 0 && images.depth(0) == CV_8U)); dims 1564 modules/imgproc/src/histogram.cpp CV_Assert(csz == 0 || csz == dims); dims 1577 modules/imgproc/src/histogram.cpp mask, hist, dims, &histSize[0], rsz ? (const float**)_ranges : 0, dims 1589 modules/imgproc/src/histogram.cpp Size imsize, const Mat& hist, int dims, const float** _ranges, dims 1596 modules/imgproc/src/histogram.cpp BT* bproj = (BT*)_ptrs[dims]; dims 1597 modules/imgproc/src/histogram.cpp int bpstep = _deltas[dims*2 + 1]; dims 1601 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1611 modules/imgproc/src/histogram.cpp if( dims == 1 ) dims 1626 modules/imgproc/src/histogram.cpp else if( dims == 2 ) dims 1649 modules/imgproc/src/histogram.cpp else if( dims == 3 ) dims 1684 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1693 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1698 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1702 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1711 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1719 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1735 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1740 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1745 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1754 modules/imgproc/src/histogram.cpp Size imsize, const Mat& hist, int dims, const float** _ranges, dims 1761 modules/imgproc/src/histogram.cpp uchar* bproj = _ptrs[dims]; dims 1762 modules/imgproc/src/histogram.cpp int bpstep = _deltas[dims*2 + 1]; dims 1765 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( hist, SparseMat(), dims, _ranges, _uniranges, uniform, false, _tab ); dims 1768 modules/imgproc/src/histogram.cpp if( dims == 1 ) dims 1809 modules/imgproc/src/histogram.cpp else if( dims == 2 ) dims 1825 modules/imgproc/src/histogram.cpp else if( dims == 3 ) dims 1850 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1859 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1864 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1868 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1885 modules/imgproc/src/histogram.cpp int dims = hist.dims == 2 && hist.size[1] == 1 ? 1 : hist.dims; dims 1887 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && !hist.empty() ); dims 1890 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, backProject, dims, hist.size, ranges, dims 1896 modules/imgproc/src/histogram.cpp calcBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform); dims 1898 modules/imgproc/src/histogram.cpp calcBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform ); dims 1900 modules/imgproc/src/histogram.cpp calcBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform ); dims 1911 modules/imgproc/src/histogram.cpp Size imsize, const SparseMat& hist, int dims, const float** _ranges, dims 1917 modules/imgproc/src/histogram.cpp BT* bproj = (BT*)_ptrs[dims]; dims 1918 modules/imgproc/src/histogram.cpp int bpstep = _deltas[dims*2 + 1]; dims 1930 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1938 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1943 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1947 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1955 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1962 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1977 modules/imgproc/src/histogram.cpp if( i == dims ) dims 1982 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 1987 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 1996 modules/imgproc/src/histogram.cpp Size imsize, const SparseMat& hist, int dims, const float** _ranges, dims 2002 modules/imgproc/src/histogram.cpp uchar* bproj = _ptrs[dims]; dims 2003 modules/imgproc/src/histogram.cpp int bpstep = _deltas[dims*2 + 1]; dims 2007 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( Mat(), hist, dims, _ranges, _uniranges, uniform, true, _tab ); dims 2014 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 2023 modules/imgproc/src/histogram.cpp if( i == dims ) dims 2028 modules/imgproc/src/histogram.cpp for( ; i < dims; i++ ) dims 2032 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 2047 modules/imgproc/src/histogram.cpp int dims = hist.dims(); dims 2049 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 ); dims 2053 modules/imgproc/src/histogram.cpp dims, hist.hdr->size, ranges, dims 2059 modules/imgproc/src/histogram.cpp calcSparseBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, dims 2062 modules/imgproc/src/histogram.cpp calcSparseBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, dims 2065 modules/imgproc/src/histogram.cpp calcSparseBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, dims 2225 modules/imgproc/src/histogram.cpp size_t histdims = _1D ? 1 : hist.dims(); dims 2239 modules/imgproc/src/histogram.cpp memcpy(hsz, &H0.size[0], H0.dims*sizeof(hsz[0])); dims 2240 modules/imgproc/src/histogram.cpp hsz[H0.dims] = hcn; dims 2241 modules/imgproc/src/histogram.cpp H = Mat(H0.dims+1, hsz, H0.depth(), H0.ptr()); dims 2247 modules/imgproc/src/histogram.cpp int i, dims = H.dims, rsz = (int)ranges.size(), csz = (int)channels.size(); dims 2251 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 2 && _1d) || (rsz == 0 && images.depth(0) == CV_8U)); dims 2252 modules/imgproc/src/histogram.cpp CV_Assert(csz == 0 || csz == dims || (csz == 1 && _1d)); dims 2481 modules/imgproc/src/histogram.cpp int i, dims = H1.dims(); dims 2483 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && dims == H2.dims() && H1.type() == H2.type() && H1.type() == CV_32F ); dims 2484 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 2529 modules/imgproc/src/histogram.cpp for( i = 0; i < H1.dims(); i++ ) dims 2594 modules/imgproc/src/histogram.cpp cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) dims 2598 modules/imgproc/src/histogram.cpp if( (unsigned)dims > CV_MAX_DIM ) dims 2611 modules/imgproc/src/histogram.cpp hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, dims 2616 modules/imgproc/src/histogram.cpp hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ); dims 2629 modules/imgproc/src/histogram.cpp cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, dims 2640 modules/imgproc/src/histogram.cpp hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, CV_HIST_DEFAULT_TYPE, data ); dims 2772 modules/imgproc/src/histogram.cpp int dims, size[CV_MAX_DIM]; dims 2777 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); dims 2787 modules/imgproc/src/histogram.cpp if( dims == 1 ) dims 2794 modules/imgproc/src/histogram.cpp else if( dims == 2 ) dims 2806 modules/imgproc/src/histogram.cpp for(int i = dims - 1; i >= 0; i-- ) dims 2866 modules/imgproc/src/histogram.cpp for(int i = 0; i < dims; i++ ) dims 3114 modules/imgproc/src/histogram.cpp int dims, size[CV_MAX_DIM], total = 0; dims 3123 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); dims 3124 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3129 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3146 modules/imgproc/src/histogram.cpp dims*sizeof(hist->thresh2[0])+ dims 3149 modules/imgproc/src/histogram.cpp dim_ranges = (float*)(hist->thresh2 + dims); dims 3151 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3186 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size); dims 3189 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); dims 3190 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3205 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3225 modules/imgproc/src/histogram.cpp cv::calcHist( &images[0], (int)images.size(), 0, _mask, sH, sH.dims(), dims 3226 modules/imgproc/src/histogram.cpp sH.dims() > 0 ? sH.hdr->size : 0, ranges, uniform, accumulate != 0, true ); dims 3249 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size ); dims 3260 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3266 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); dims 3267 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3301 modules/imgproc/src/histogram.cpp int i, dims; dims 3318 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins ); dims 3321 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3629 modules/imgproc/src/histogram.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 3718 modules/imgproc/src/histogram.cpp for(i=0; i<mat->dims; i++) dims 3721 modules/imgproc/src/histogram.cpp cvInitMatNDHeader( &(h->mat), mat->dims, sizes, mat->type, mat->data.ptr ); dims 3744 modules/imgproc/src/histogram.cpp int i, dims, size[CV_MAX_DIM], total = 0; dims 3748 modules/imgproc/src/histogram.cpp dims = cvGetDims( h->bins, size ); dims 3749 modules/imgproc/src/histogram.cpp for( i = 0; i < dims; i++ ) dims 3759 modules/imgproc/src/histogram.cpp for(i=0; i<dims; i++) dims 3767 modules/imgproc/src/histogram.cpp dims*sizeof(h->thresh2[0])+ dims 3769 modules/imgproc/src/histogram.cpp dim_ranges = (float*)(h->thresh2 + dims); dims 3770 modules/imgproc/src/histogram.cpp for(i=0; i < dims; i++) dims 3787 modules/imgproc/src/histogram.cpp int dims; dims 3806 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, sizes ); dims 3809 modules/imgproc/src/histogram.cpp for(i=0; i<dims; i++){ dims 3814 modules/imgproc/src/histogram.cpp for(i=0; i<dims; i++){ dims 3222 modules/imgproc/src/imgwarp.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat() && _src.cols() > 10 && _src.rows() > 10, dims 4664 modules/imgproc/src/imgwarp.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 5566 modules/imgproc/src/imgwarp.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 6092 modules/imgproc/src/imgwarp.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 1686 modules/imgproc/src/morph.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2 && _src.channels() <= 4 && dims 1835 modules/imgproc/src/morph.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2 && _src.channels() <= 4 && dims 1173 modules/imgproc/src/pyramids.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 1250 modules/imgproc/src/pyramids.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 1327 modules/imgproc/src/pyramids.cpp if (_src.dims() <= 2 && _dst.isUMatVector()) dims 1508 modules/imgproc/src/smooth.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2, dims 2637 modules/imgproc/src/smooth.cpp CV_Assert( (ksize % 2 == 1) && (_src0.dims() <= 2 )); dims 3415 modules/imgproc/src/smooth.cpp CV_OCL_RUN(_src.dims() <= 2 && _dst.isUMat(), dims 648 modules/imgproc/src/templmatch.cpp CV_Assert( img.dims <= 2 && templ.dims <= 2 && corr.dims <= 2 ); dims 822 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); dims 910 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); dims 918 modules/imgproc/src/templmatch.cpp CV_OCL_RUN(_img.dims() <= 2 && _result.isUMat(), dims 1188 modules/imgproc/src/thresh.cpp CV_OCL_RUN_(_src.dims() <= 2 && _dst.isUMat(), dims 202 modules/imgproc/test/test_convhull.cpp int dims; dims 228 modules/imgproc/test/test_convhull.cpp dims = 2; dims 348 modules/imgproc/test/test_convhull.cpp (enable_flt_points ? 2 : 1) ? CV_32F : CV_32S, dims); dims 648 modules/imgproc/test/test_convhull.cpp if( cvtest::norm( _mask, Mat::zeros(_mask.dims, _mask.size, _mask.type()), NORM_L1 ) != hull_count ) dims 1455 modules/imgproc/test/test_convhull.cpp n = dims; dims 1525 modules/imgproc/test/test_convhull.cpp dims = cvtest::randInt(rng) % 2 + 2; dims 1540 modules/imgproc/test/test_convhull.cpp else if(dims == 2) dims 1557 modules/imgproc/test/test_convhull.cpp for( k = 0; k < dims*2; k++ ) dims 1570 modules/imgproc/test/test_convhull.cpp if( fabs(line0[dims-1]) > fabs(line0[max_k]) ) dims 1571 modules/imgproc/test/test_convhull.cpp max_k = dims-1; dims 1573 modules/imgproc/test/test_convhull.cpp for( k = 0; k < dims; k++ ) dims 1576 modules/imgproc/test/test_convhull.cpp for( k = 0; k < dims; k++ ) dims 1579 modules/imgproc/test/test_convhull.cpp for( k = 0; k < dims; k++ ) dims 1587 modules/imgproc/test/test_convhull.cpp if( dims == 2 ) dims 1599 modules/imgproc/test/test_convhull.cpp t = (line[max_k+dims] - line0[max_k+dims])/line0[max_k]; dims 1600 modules/imgproc/test/test_convhull.cpp for( k = 0; k < dims; k++ ) dims 1602 modules/imgproc/test/test_convhull.cpp double p = line0[k+dims] + t*line0[k] - line[k+dims]; dims 1608 modules/imgproc/test/test_convhull.cpp if( dims == 2 ) dims 69 modules/imgproc/test/test_histograms.cpp int dims[CV_MAX_DIM]; dims 153 modules/imgproc/test/test_histograms.cpp dims[i] = cvtest::randInt(rng) % (max_dim_size + 2) + 2; dims 155 modules/imgproc/test/test_histograms.cpp dims[i] = MIN(dims[i], max_ni_dim_size); dims 156 modules/imgproc/test/test_histograms.cpp total_size *= dims[i]; dims 201 modules/imgproc/test/test_histograms.cpp dims_sum += dims[i] + 1; dims 206 modules/imgproc/test/test_histograms.cpp int j, n = dims[i]; dims 261 modules/imgproc/test/test_histograms.cpp totalSize *= dims[i]; dims 270 modules/imgproc/test/test_histograms.cpp idx[j] = cvtest::randInt(rng) % dims[j]; dims 292 modules/imgproc/test/test_histograms.cpp hist[i] = cvCreateHist( cdims, dims, hist_type, r, uniform ); dims 399 modules/imgproc/test/test_histograms.cpp int t = cvtest::randInt(rng) % dims[j]; dims 401 modules/imgproc/test/test_histograms.cpp lin_idx = lin_idx*dims[j] + t; dims 420 modules/imgproc/test/test_histograms.cpp lin_idx = lin_idx*dims[j] + idx[i*cdims + j]; dims 610 modules/imgproc/test/test_histograms.cpp min_idx0[i] = cvtest::randInt(rng) % dims[i]; dims 611 modules/imgproc/test/test_histograms.cpp max_idx0[i] = cvtest::randInt(rng) % dims[i]; dims 1224 modules/imgproc/test/test_histograms.cpp int dims[CV_MAX_DIM]; dims 1230 modules/imgproc/test/test_histograms.cpp cdims = cvGetDims( hist->bins, dims ); dims 1275 modules/imgproc/test/test_histograms.cpp idx[k] = cvFloor((v - lo)*dims[k]/(hi - lo)); dims 1276 modules/imgproc/test/test_histograms.cpp if( idx[k] < 0 || idx[k] >= dims[k] ) dims 1286 modules/imgproc/test/test_histograms.cpp int j, n = dims[k]; dims 1457 modules/imgproc/test/test_histograms.cpp int dims[CV_MAX_DIM]; dims 1462 modules/imgproc/test/test_histograms.cpp cdims = cvGetDims( hist->bins, dims ); dims 1495 modules/imgproc/test/test_histograms.cpp idx[k] = cvFloor((v - lo)*dims[k]/(hi - lo)); dims 1496 modules/imgproc/test/test_histograms.cpp if( idx[k] < 0 || idx[k] >= dims[k] ) dims 1506 modules/imgproc/test/test_histograms.cpp int j, n = dims[k]; dims 1683 modules/imgproc/test/test_histograms.cpp int i, dims; dims 1687 modules/imgproc/test/test_histograms.cpp dims = cvGetDims( hist->bins ); dims 1692 modules/imgproc/test/test_histograms.cpp for( i = 0; i < dims; i++ ) dims 590 modules/imgproc/test/test_imgwarp_strict.cpp dim dims[] = { dim(dsize.width), dim(dsize.height) }; dims 594 modules/imgproc/test/test_imgwarp_strict.cpp dims[0][dx].first = std::min(cvFloor(dx * scale_x), ssize.width - 1); dims 596 modules/imgproc/test/test_imgwarp_strict.cpp dims[1][dy].first = std::min(cvFloor(dy * scale_y), ssize.height - 1); dims 600 modules/imgproc/test/test_imgwarp_strict.cpp generate_buffer(scale_x, dims[0]); dims 601 modules/imgproc/test/test_imgwarp_strict.cpp generate_buffer(scale_y, dims[1]); dims 606 modules/imgproc/test/test_imgwarp_strict.cpp resize_1d(src, tmp, dy, dims[0]); dims 612 modules/imgproc/test/test_imgwarp_strict.cpp resize_1d(tmp, reference_dst, dy, dims[1]); dims 469 modules/java/generator/src/cpp/Mat.cpp return me->dims; dims 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 ); dims 60 modules/ml/src/data.cpp int dims = 1, m; dims 64 modules/ml/src/data.cpp dims = 1; dims 69 modules/ml/src/data.cpp dims = vec.cols; dims 76 modules/ml/src/data.cpp subvec.create(dims, n, type); dims 78 modules/ml/src/data.cpp subvec.create(n, dims, type); dims 84 modules/ml/src/data.cpp if( dims == 1 ) dims 87 modules/ml/src/data.cpp for( j = 0; j < dims; j++ ) dims 95 modules/ml/src/data.cpp if( dims == 1 ) dims 98 modules/ml/src/data.cpp for( j = 0; j < dims; j++ ) dims 106 modules/ml/src/data.cpp if( dims == 1 ) dims 109 modules/ml/src/data.cpp for( j = 0; j < dims; j++ ) dims 142 modules/ml/src/kdtree.cpp int i, j, dims = points.cols; dims 144 modules/ml/src/kdtree.cpp for( j = 0; j < dims; j++ ) dims 149 modules/ml/src/kdtree.cpp for( j = 0; j < dims; j++ ) dims 85 modules/ml/src/kdtree.hpp CV_WRAP int dims() const; dims 1410 modules/objdetect/src/hog.cpp CV_OCL_RUN(_img.dims() <= 2 && _img.type() == CV_8UC1 && _img.isUMat(), dims 1859 modules/objdetect/src/hog.cpp CV_OCL_RUN(_img.dims() <= 2 && _img.type() == CV_8UC1 && scale0 > 1 && winStride.width % blockStride.width == 0 && dims 118 modules/photo/src/denoising.cpp CV_OCL_RUN(_src.dims() <= 2 && (_src.isUMat() || _dst.isUMat()) && dims 180 modules/photo/src/denoising.cpp CV_OCL_RUN(_src.dims() <= 2 && (_dst.isUMat() || _src.isUMat()) && dims 144 modules/python/src2/cv2.cpp UMatData* allocate(PyObject* o, int dims, const int* sizes, int type, size_t* step) const dims 149 modules/python/src2/cv2.cpp for( int i = 0; i < dims - 1; i++ ) dims 151 modules/python/src2/cv2.cpp step[dims-1] = CV_ELEM_SIZE(type); dims 174 modules/python/src2/cv2.cpp int i, dims = dims0; dims 175 modules/python/src2/cv2.cpp cv::AutoBuffer<npy_intp> _sizes(dims + 1); dims 176 modules/python/src2/cv2.cpp for( i = 0; i < dims; i++ ) dims 179 modules/python/src2/cv2.cpp _sizes[dims++] = cn; dims 180 modules/python/src2/cv2.cpp PyObject* o = PyArray_SimpleNew(dims, _sizes, typenum); dims 182 modules/python/src2/cv2.cpp CV_Error_(Error::StsError, ("The numpy array of typenum=%d, ndims=%d can not be created", typenum, dims)); dims 789 modules/python/src2/cv2.cpp if( src.dims != 2 || src.channels() != 1 || dims 320 modules/ts/src/ts_arrtest.cpp string sizestr = vec2str(", ", &arr.size[0], arr.dims); dims 58 modules/ts/src/ts_func.cpp int i, dims = rng.uniform(minDims, maxDims+1); dims 59 modules/ts/src/ts_func.cpp sz.resize(dims); dims 60 modules/ts/src/ts_func.cpp for( i = 0; i < dims; i++ ) dims 66 modules/ts/src/ts_func.cpp for( i = 0; i < dims; i++ ) dims 68 modules/ts/src/ts_func.cpp int j = rng.uniform(0, dims); dims 69 modules/ts/src/ts_func.cpp int k = rng.uniform(0, dims); dims 127 modules/ts/src/ts_func.cpp int i, dims = (int)size.size(); dims 128 modules/ts/src/ts_func.cpp vector<int> size0(dims); dims 129 modules/ts/src/ts_func.cpp vector<Range> r(dims); dims 131 modules/ts/src/ts_func.cpp for( i = 0; i < dims; i++ ) dims 143 modules/ts/src/ts_func.cpp Mat m(dims, &size0[0], type); dims 179 modules/ts/src/ts_func.cpp c.create(a.dims, &a.size[0], ctype); dims 284 modules/ts/src/ts_func.cpp _dst.create(src.dims, &src.size[0], dtype); dims 339 modules/ts/src/ts_func.cpp dst.create(src.dims, &src.size[0], src.type()); dims 467 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.depth() ); dims 492 modules/ts/src/ts_func.cpp CV_Assert(src.dims == 2); dims 1022 modules/ts/src/ts_func.cpp pos.resize(mtx.dims); dims 1026 modules/ts/src/ts_func.cpp for( int i = mtx.dims-1; i >= 0; i-- ) dims 1028 modules/ts/src/ts_func.cpp int sz = mtx.size[i]*(i == mtx.dims-1 ? mtx.channels() : 1); dims 1035 modules/ts/src/ts_func.cpp for( int i = mtx.dims-1; i >= 0; i-- ) dims 1519 modules/ts/src/ts_func.cpp dst.create( src1.dims, &src1.size[0], src1.type() ); dims 1541 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.type() ); dims 1636 modules/ts/src/ts_func.cpp dst.create( src1.dims, &src1.size[0], CV_8U ); dims 1683 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], CV_8U ); dims 2128 modules/ts/src/ts_func.cpp else if( a.dims == 2 && (a.rows == 1 || a.cols == 1) ) dims 2229 modules/ts/src/ts_func.cpp CV_Assert( a.type() == b.type() && a.dims == 2 && b.dims == 2 && cn <= 2 ); dims 2256 modules/ts/src/ts_func.cpp CV_Assert( c.dims == 2 && c.type() == a.type() && c_rows == a_rows && c_cols == b_cols ); dims 2380 modules/ts/src/ts_func.cpp dst.create(src1.dims, src1.size, src1.type()); dims 2449 modules/ts/src/ts_func.cpp dst.create(src1.dims, src1.size, src1.type()); dims 2520 modules/ts/src/ts_func.cpp dst.create(src2.dims, src2.size, src2.type()); dims 2811 modules/ts/src/ts_func.cpp out << depthstr[m.m->depth()] << "C" << m.m->channels() << " " << m.m->dims << "-dim ("; dims 2812 modules/ts/src/ts_func.cpp for( int i = 0; i < m.m->dims; i++ ) dims 2813 modules/ts/src/ts_func.cpp out << m.m->size[i] << (i < m.m->dims-1 ? " x " : ")"); dims 2827 modules/ts/src/ts_func.cpp int i, d = m.dims; dims 2895 modules/ts/src/ts_func.cpp CV_Assert( !m.loc || ((int)m.loc->size() == m.m->dims && m.m->dims <= 2) ); dims 2930 modules/ts/src/ts_func.cpp int dims = m[0].dims; dims 2932 modules/ts/src/ts_func.cpp int border = dims <= 2 ? context : 0; dims 317 modules/ts/src/ts_perf.cpp if (!m.empty() && m.dims < 2) return; dims 344 modules/ts/src/ts_perf.cpp if (!actual.empty() && actual.dims < 2) return;