/external/opencv3/modules/imgproc/perf/opencl/ |
perf_accumulate.cpp | 63 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 84 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 105 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 126 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn);
|
/external/opencv3/modules/core/perf/ |
perf_compare.cpp | 28 Mat dst(sz, CV_8UC(CV_MAT_CN(matType1))); 51 Mat dst(sz, CV_8UC(CV_MAT_CN(matType)));
|
/external/opencv3/modules/imgproc/src/ |
utils.cpp | 56 if( CV_MAT_CN(mat->type) == 1 && mat->width == 2 )
|
templmatch.cpp | 81 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 256 int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 320 int type = _image.type(), cn = CV_MAT_CN(type); 349 int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 378 int type = _image.type(), cn = CV_MAT_CN(type); 409 int type = _image.type(), cn = CV_MAT_CN(type); 444 int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 479 int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 646 int cdepth = CV_MAT_DEPTH(ctype), ccn = CV_MAT_CN(ctype); 820 int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type) [all...] |
blend.cpp | 98 int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
|
/external/opencv3/modules/imgcodecs/src/ |
loadsave.cpp | 281 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); 284 ((flags & CV_LOAD_IMAGE_ANYCOLOR) != 0 && CV_MAT_CN(type) > 1) ) 305 image = cvCreateImage( size, cvIplDepth(type), CV_MAT_CN(type) ); 368 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); 371 ((flags & CV_LOAD_IMAGE_ANYCOLOR) != 0 && CV_MAT_CN(type) > 1)) 507 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); 510 ((flags & CV_LOAD_IMAGE_ANYCOLOR) != 0 && CV_MAT_CN(type) > 1) ) 531 image = cvCreateImage( size, cvIplDepth(type), CV_MAT_CN(type) );
|
/external/opencv/cvaux/src/ |
cvmat.cpp | 50 assert( (unsigned)coi < (unsigned)CV_MAT_CN(type) ); 80 assert( (unsigned)coi < (unsigned)CV_MAT_CN(type) ); 112 assert( (unsigned)coi < (unsigned)CV_MAT_CN(type) ); 140 int i, cn = CV_MAT_CN(type); 184 int cn = CV_MAT_CN(type); 404 if( CV_MAT_DEPTH(a->type) >= CV_32F && CV_MAT_CN(a->type) <= 2 ) 724 CV_MAT_CN(src->type)|CV_MAT_DEPTH(depth)); 829 int i, j, w = width * CV_MAT_CN(type);
|
/external/opencv/cv/src/ |
cvfeatureselect.cpp | 124 if( CV_MAT_CN(img->type) != 1 || 125 CV_MAT_CN(eig->type) != 1 || 126 CV_MAT_CN(tmp->type) != 1 )
|
cvundistort.cpp | 155 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && 156 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || 164 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); 167 cn = CV_MAT_CN(src->type); 218 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && 219 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || 227 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); 325 (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 4 || 326 distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 5) && 330 CV_MAKETYPE(CV_64F, CV_MAT_CN(distCoeffs->type)), k ) [all...] |
cvcalibration.cpp | 521 if( !CV_ARE_DEPTHS_EQ(src, jacobian) || CV_MAT_CN(jacobian->type) != 1 ) 534 if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 ) 537 if( dst->rows != 3 || dst->cols != 3 || CV_MAT_CN(dst->type) != 1 ) 618 if( (dst->rows != 1 || dst->cols*CV_MAT_CN(dst->type) != 3) && 619 (dst->rows != 3 || dst->cols != 1 || CV_MAT_CN(dst->type) != 1)) 803 ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) || 804 (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3))) 813 ((imagePoints->rows == 1 && CV_MAT_CN(imagePoints->type) == 2) || 814 (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2))) 824 r_vec->rows*r_vec->cols*CV_MAT_CN(r_vec->type) != 3) & [all...] |
cvsmooth.cpp | 121 (!normalized && CV_MAT_CN(_src_type) != CV_MAT_CN(_dst_type))) 196 int cn = CV_MAT_CN(state->get_src_type()); 222 int cn = CV_MAT_CN(state->get_src_type()); 250 int cn = CV_MAT_CN(state->get_src_type()); 311 int cn = CV_MAT_CN(state->get_src_type()); 387 int cn = CV_MAT_CN(state->get_src_type()); 445 int cn = CV_MAT_CN(state->get_src_type()); [all...] |
/external/opencv3/modules/superres/src/ |
input_array_utility.cpp | 242 const int cn = CV_MAT_CN(type); 267 const int cn = CV_MAT_CN(type); 292 const int cn = CV_MAT_CN(type);
|
/external/opencv3/modules/photo/src/ |
denoising.cpp | 55 switch (CV_MAT_CN(src.type())) { 114 int hn = (int)h.size(), type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 172 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); 328 int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
|
/external/opencv3/modules/video/src/ |
bgfg_KNN.cpp | 132 int nchannels = CV_MAT_CN(frameType); 461 int nchannels = CV_MAT_CN(_src.type()); 600 int nchannels = CV_MAT_CN(frameType); 625 switch(CV_MAT_CN(frameType))
|
/external/opencv3/modules/calib3d/src/ |
calibration.cpp | 279 if( !CV_ARE_DEPTHS_EQ(src, jacobian) || CV_MAT_CN(jacobian->type) != 1 ) 292 if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 ) 295 if( dst->rows != 3 || dst->cols != 3 || CV_MAT_CN(dst->type) != 1 ) 376 if( (dst->rows != 1 || dst->cols*CV_MAT_CN(dst->type) != 3) && 377 (dst->rows != 3 || dst->cols != 1 || CV_MAT_CN(dst->type) != 1)) 557 int total = objectPoints->rows * objectPoints->cols * CV_MAT_CN(objectPoints->type); 567 ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) || 568 (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3) || 569 (objectPoints->rows == 3 && CV_MAT_CN(objectPoints->type) == 1 && objectPoints->cols == count))) 571 matM.reset(cvCreateMat( objectPoints->rows, objectPoints->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(objectPoints->type)) )) [all...] |
/external/opencv/cxcore/src/ |
cximage.cpp | 89 CV_MAT_DEPTH(m->type), CV_MAT_CN(m->type) )); 270 if( (CV_MAT_CN(m->type) > 1) != (color == 0) )
|
cxsumpixels.cpp | 423 if( CV_MAT_CN(type) > 4 ) 511 if( CV_MAT_CN(type) == 1 || coi == 0 ) 515 if( CV_MAT_CN(type) > 4 ) 545 CV_MAT_CN(type), coi, sum.val )); 615 if( CV_MAT_CN(type) != 1 ) 649 if( CV_MAT_CN(type) == 1 || coi == 0 ) 653 if( CV_MAT_CN(type) != 1 ) 669 IPPI_CALL( func( mat->data.ptr, mat_step, size, CV_MAT_CN(type), coi, &count )); [all...] |
cxmean.cpp | 448 if( CV_MAT_CN(type) == 1 || coi == 0 ) 452 if( CV_MAT_CN(type) > 4 ) 472 mask_step, size, CV_MAT_CN(type), coi, mean.val ));
|
cxminmaxloc.cpp | 321 cn = CV_MAT_CN( type ); 358 if( CV_MAT_CN(type) == 1 || coi == 0 ) 381 if( CV_MAT_CN(type) == 1 || coi == 0 )
|
/external/opencv3/modules/core/include/opencv2/core/ |
cvdef.h | 159 #define CV_MAT_CN(flags) ((((flags) & CV_MAT_CN_MASK) >> CV_CN_SHIFT) + 1) 177 (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3))
|
/external/opencv3/modules/core/src/ |
precomp.hpp | 221 int cn = CV_MAT_CN(atype); 235 int cn = CV_MAT_CN(atype);
|
/external/opencv3/modules/cudafilters/src/ |
filtering.cpp | 126 func_ = funcs[CV_MAT_CN(srcType)]; 170 dstType = CV_MAKE_TYPE(CV_MAT_DEPTH(dstType), CV_MAT_CN(srcType)); 212 const int scn = CV_MAT_CN(srcType); 278 dstType = CV_MAKE_TYPE(CV_MAT_DEPTH(dstType), CV_MAT_CN(srcType)); 366 const int cn = CV_MAT_CN(srcType); 426 dstType = CV_MAKE_TYPE(CV_MAT_DEPTH(dstType), CV_MAT_CN(srcType)); 563 func_ = funcs[op][CV_MAT_CN(srcType)]; 823 func_ = maxFuncs[CV_MAT_CN(srcType)]; 825 func_ = minFuncs[CV_MAT_CN(srcType)]; [all...] |
/external/opencv/otherlibs/highgui/ |
utils.cpp | 586 src_cn = CV_MAT_CN( src->type ); 587 dst_cn = CV_MAT_CN( dst->type ); 595 if( CV_MAT_CN(dst->type) != 1 && CV_MAT_CN(dst->type) != 3 )
|
/external/opencv3/modules/core/perf/opencl/ |
perf_matop.cpp | 70 cn = CV_MAT_CN(type), dtype = CV_MAKE_TYPE(ddepth, cn);
|
/external/opencv3/modules/cudaimgproc/src/ |
corners.cpp | 89 const int cn = CV_MAT_CN(srcType_);
|