Home
last modified time | relevance | path

Searched refs:CV_MAT_CN (Results 1 – 25 of 58) sorted by relevance

123

/external/opencv/cv/src/
Dcvundistort.cpp155 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && in cvUndistort2()
156 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || in cvUndistort2()
164 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); in cvUndistort2()
167 cn = CV_MAT_CN(src->type); in cvUndistort2()
218 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && in cvInitUndistortMap()
219 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || in cvInitUndistortMap()
227 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); in cvInitUndistortMap()
325 (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 4 || in cvInitUndistortRectifyMap()
326 distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 5) && in cvInitUndistortRectifyMap()
330 CV_MAKETYPE(CV_64F, CV_MAT_CN(distCoeffs->type)), k ); in cvInitUndistortRectifyMap()
[all …]
Dcvfeatureselect.cpp124 if( CV_MAT_CN(img->type) != 1 || in CV_IMPLEMENT_QSORT()
125 CV_MAT_CN(eig->type) != 1 || in CV_IMPLEMENT_QSORT()
126 CV_MAT_CN(tmp->type) != 1 ) in CV_IMPLEMENT_QSORT()
Dcvcalibration.cpp521 if( !CV_ARE_DEPTHS_EQ(src, jacobian) || CV_MAT_CN(jacobian->type) != 1 ) in cvRodrigues2()
534 if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 ) in cvRodrigues2()
537 if( dst->rows != 3 || dst->cols != 3 || CV_MAT_CN(dst->type) != 1 ) in cvRodrigues2()
618 if( (dst->rows != 1 || dst->cols*CV_MAT_CN(dst->type) != 3) && in cvRodrigues2()
619 (dst->rows != 3 || dst->cols != 1 || CV_MAT_CN(dst->type) != 1)) in cvRodrigues2()
803 ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) || in cvProjectPoints2()
804 (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3))) in cvProjectPoints2()
813 ((imagePoints->rows == 1 && CV_MAT_CN(imagePoints->type) == 2) || in cvProjectPoints2()
814 (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2))) in cvProjectPoints2()
824 r_vec->rows*r_vec->cols*CV_MAT_CN(r_vec->type) != 3) && in cvProjectPoints2()
[all …]
Dcvtemplmatch.cpp85 if( (!CV_ARE_CNS_EQ( img, corr ) || CV_MAT_CN(templ->type) > 1) && in icvCrossCorr()
86 (CV_MAT_CN( corr->type ) > 1 || !CV_ARE_CNS_EQ( img, templ)) ) in icvCrossCorr()
92 cn = CV_MAT_CN(img->type); in icvCrossCorr()
94 templ_cn = CV_MAT_CN(templ->type); in icvCrossCorr()
96 corr_cn = CV_MAT_CN(corr->type); in icvCrossCorr()
382 cn = CV_MAT_CN(img->type); in cvMatchTemplate()
Dcvsmooth.cpp121 (!normalized && CV_MAT_CN(_src_type) != CV_MAT_CN(_dst_type))) in init()
196 int cn = CV_MAT_CN(state->get_src_type()); in icvSumRow_8u32s()
222 int cn = CV_MAT_CN(state->get_src_type()); in icvSumRow_32f64f()
250 int cn = CV_MAT_CN(state->get_src_type()); in icvSumCol_32s8u()
311 int cn = CV_MAT_CN(state->get_src_type()); in icvSumCol_32s16s()
387 int cn = CV_MAT_CN(state->get_src_type()); in icvSumCol_32s32s()
445 int cn = CV_MAT_CN(state->get_src_type()); in icvSumCol_64f32f()
1046 int cn = CV_MAT_CN(src->type); in icvBilateralFiltering_8u()
1160 int cn = CV_MAT_CN(src->type); in icvBilateralFiltering_32f()
1341 cn = CV_MAT_CN(src_type); in cvSmooth()
Dcvfundam.cpp1048 cn = CV_MAT_CN(points->type); in cvComputeCorrespondEpilines()
1081 abc_cn = CV_MAT_CN(lines->type); in cvComputeCorrespondEpilines()
1221 if( !((src->cols > 1) ^ (CV_MAT_CN(src->type) > 1)) ) in cvConvertPointsHomogeneous()
1224 s_dims = CV_MAT_CN(src->type)*src->cols; in cvConvertPointsHomogeneous()
1229 if( !((src->rows > 1) ^ (CV_MAT_CN(src->type) > 1)) ) in cvConvertPointsHomogeneous()
1232 s_dims = CV_MAT_CN(src->type)*src->rows; in cvConvertPointsHomogeneous()
1241 if( !((dst->cols > 1) ^ (CV_MAT_CN(dst->type) > 1)) ) in cvConvertPointsHomogeneous()
1245 d_dims = CV_MAT_CN(dst->type)*dst->cols; in cvConvertPointsHomogeneous()
1250 if( !((dst->rows > 1) ^ (CV_MAT_CN(dst->type) > 1)) ) in cvConvertPointsHomogeneous()
1254 d_dims = CV_MAT_CN(dst->type)*dst->rows; in cvConvertPointsHomogeneous()
Dcvderiv.cpp387 work_type = CV_MAKETYPE( work_depth, CV_MAT_CN(dst_type)*2 ); in get_work_params()
415 CV_MAT_CN(_src_type) != CV_MAT_CN(_dst_type) ) in init()
496 int cn = CV_MAT_CN(state->get_src_type()); \
554 int cn = CV_MAT_CN(state->get_src_type()); in icvLaplaceCol_32s16s()
696 int cn = CV_MAT_CN(state->get_src_type()); in icvLaplaceCol_32f()
Dcvfilter.cpp105 int max_cn = MAX(CV_MAT_CN(src_type), CV_MAT_CN(dst_type)); in get_work_params()
687 CV_MAT_CN(_kx->type) != 1 || CV_MAT_CN(_ky->type) != 1 || in init()
692 if( CV_MAT_CN(_src_type) != CV_MAT_CN(_dst_type) ) in init()
909 int cn = CV_MAT_CN(state->get_src_type()); in icvFilterRowSymm_8u32s()
1044 int cn = CV_MAT_CN(state->get_src_type()); \
1092 int cn = CV_MAT_CN(state->get_src_type()); \
1169 int cn = CV_MAT_CN(state->get_src_type()); in icvFilterRowSymm_32f()
1257 int cn = CV_MAT_CN(state->get_src_type()); in icvFilterColSymm_32s8u()
1339 int cn = CV_MAT_CN(state->get_src_type()); in icvFilterColSymm_32s16s()
1460 int cn = CV_MAT_CN(state->get_src_type()); \
[all …]
Dcvaccum.cpp440 size.width *= CV_MAT_CN(type);
535 size.width *= CV_MAT_CN(type); in cvSquareAcc()
635 size.width *= CV_MAT_CN(type); in cvMultiplyAcc()
743 size.width *= CV_MAT_CN(type); in cvRunningAvg()
Dcvmorph.cpp225 int cn = CV_MAT_CN(src_type); in init()
282 int i, cn = CV_MAT_CN(src_type); in init()
470 int cn = CV_MAT_CN(state->get_src_type()); \
529 int cn = CV_MAT_CN(state->get_src_type()); \
657 int cn = CV_MAT_CN(state->get_src_type()); \
/external/opencv/cvaux/src/
Dcvmat.cpp50 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/cxcore/src/
Dcxsumpixels.cpp423 if( CV_MAT_CN(type) > 4 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
511 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
515 if( CV_MAT_CN(type) > 4 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
545 CV_MAT_CN(type), coi, sum.val )); in CV_DEF_INIT_BIG_FUNC_TAB_2D()
615 if( CV_MAT_CN(type) != 1 ) in CV_DEF_INIT_FUNC_TAB_2D()
649 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_FUNC_TAB_2D()
653 if( CV_MAT_CN(type) != 1 ) in CV_DEF_INIT_FUNC_TAB_2D()
669 IPPI_CALL( func( mat->data.ptr, mat_step, size, CV_MAT_CN(type), coi, &count )); in CV_DEF_INIT_FUNC_TAB_2D()
902 cn = CV_MAT_CN(src->type); in cvReduce()
Dcximage.cpp89 CV_MAT_DEPTH(m->type), CV_MAT_CN(m->type) )); in icvRetrieveImage()
270 if( (CV_MAT_CN(m->type) > 1) != (color == 0) ) in load()
Dcxarithm.cpp314 iterator.size.width *= CV_MAT_CN(type);
376 cn = CV_MAT_CN(type);
592 iterator.size.width *= CV_MAT_CN(type); in cvSubRS()
618 cn = CV_MAT_CN(type); in cvSubRS()
786 iterator.size.width *= CV_MAT_CN(type); in cvAdd()
848 cn = CV_MAT_CN(type); in cvAdd()
1064 iterator.size.width *= CV_MAT_CN(type); in cvAddS()
1090 cn = CV_MAT_CN(type); in cvAddS()
1378 iterator.size.width *= CV_MAT_CN(type); in cvMul()
1405 size.width *= CV_MAT_CN( type ); in cvMul()
[all …]
Dcxminmaxloc.cpp321 cn = CV_MAT_CN( type ); in CV_DEF_INIT_FUNC_TAB_2D()
358 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_FUNC_TAB_2D()
381 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_FUNC_TAB_2D()
Dcxmean.cpp448 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
452 if( CV_MAT_CN(type) > 4 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
472 mask_step, size, CV_MAT_CN(type), coi, mean.val )); in CV_DEF_INIT_BIG_FUNC_TAB_2D()
Dcxarray.cpp649 int pix_size = pix_size1*CV_MAT_CN(type); in cvCreateSparseMat()
1704 int cn = CV_MAT_CN( type ); in cvScalarToRawData()
1783 int cn = CV_MAT_CN( flags ); in cvRawDataToScalar()
2365 if( CV_MAT_CN( type ) > 1 ) in cvGetReal1D()
2411 if( CV_MAT_CN( type ) > 1 ) in cvGetReal2D()
2446 if( CV_MAT_CN( type ) > 1 ) in cvGetReal3D()
2478 if( CV_MAT_CN( type ) > 1 ) in cvGetRealND()
2637 if( CV_MAT_CN( type ) > 1 ) in cvSetReal1D()
2677 if( CV_MAT_CN( type ) > 1 ) in cvSetReal2D()
2704 if( CV_MAT_CN( type ) > 1 ) in cvSetReal3D()
[all …]
Dcxmeansdv.cpp710 if( CV_MAT_CN(type) > 4 && coi == 0 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
725 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
743 CV_MAT_CN(type), coi, mean.val, sdv.val )); in CV_DEF_INIT_BIG_FUNC_TAB_2D()
765 if( CV_MAT_CN(type) == 1 || coi == 0 ) in CV_DEF_INIT_BIG_FUNC_TAB_2D()
785 size, CV_MAT_CN(type), coi, mean.val, sdv.val )); in CV_DEF_INIT_BIG_FUNC_TAB_2D()
Dcxconvert.cpp470 cn = CV_MAT_CN( type ); in cvSplit()
484 if( CV_MAT_CN( dst[i]->type ) != 1 ) in cvSplit()
576 cn = CV_MAT_CN( type ); in cvMerge()
590 if( CV_MAT_CN( src[i]->type ) != 1 ) in cvMerge()
821 cn = CV_MAT_CN(mat->type); in cvMixChannels()
828 cn = CV_MAT_CN(mat->type); in cvMixChannels()
959 size.width *= CV_MAT_CN(srctype); in icvCvtScaleAbsTo_8u_C1R()
1552 iterator.size.width *= CV_MAT_CN(type); in cvConvertScale()
1615 size.width *= CV_MAT_CN( type ); in cvConvertScale()
Dcxlut.cpp263 cn = CV_MAT_CN( dst->type ); in cvLUT()
264 lut_cn = CV_MAT_CN( lut->type ); in cvLUT()
Dcxcmp.cpp326 if( CV_MAT_CN(type) > 4 ) in cvInRange()
405 if( CV_MAT_CN(type) > 4 ) in cvInRangeS()
628 if( CV_MAT_CN( src1->type ) != 1 ) in cvCmp()
757 if( CV_MAT_CN( src1->type ) != 1 ) in cvCmpS()
1013 if( CV_MAT_CN( src1->type ) != 1 ) in CV_DEF_INIT_FUNC_TAB_2D()
1112 if( CV_MAT_CN( src1->type ) != 1 ) in icvMinMaxS()
1460 size.width *= CV_MAT_CN( type );
1529 size.width *= CV_MAT_CN( type ); in cvAbsDiffS()
Dcxnorm.cpp1025 cn = CV_MAT_CN(type); in cvNorm()
1128 if( coi != coi2 && CV_MAT_CN( mat1->type ) > 1 ) in cvNorm()
1137 cn = CV_MAT_CN(type); in cvNorm()
1169 iterator.size.width *= CV_MAT_CN(type); in cvNorm()
1333 if( CV_MAT_CN(type) > 1 && coi == 0 ) in cvNorm()
1353 if( CV_MAT_CN(type) == 1 || coi == 0 ) in cvNorm()
Dcxmatrix.cpp858 if( CV_MAT_CN( type ) != 1 || CV_MAT_DEPTH( type ) < CV_32F ) in cvDet()
1493 if( srcA->width*srcA->height*CV_MAT_CN(type) != 3 ) in cvCrossProduct()
1610 if( CV_MAT_CN(data->type) != 1 || CV_MAT_CN(avg->type) != 1 || in cvCalcPCA()
1611 CV_MAT_CN(evals->type) != 1 || CV_MAT_CN(evects->type) != 1 ) in cvCalcPCA()
1784 if( CV_MAT_CN(data->type) != 1 || CV_MAT_CN(avg->type) != 1 ) in cvProjectPCA()
/external/opencv/otherlibs/highgui/
Dutils.cpp586 src_cn = CV_MAT_CN( src->type ); in cvConvertImage()
587 dst_cn = CV_MAT_CN( dst->type ); in cvConvertImage()
595 if( CV_MAT_CN(dst->type) != 1 && CV_MAT_CN(dst->type) != 3 ) in cvConvertImage()
/external/opencv/
Dcvjni.cpp144 int channels = CV_MAT_CN( mat_image->type ); in Java_org_siprop_opencv_OpenCV_getSourceImage()
261 channels = CV_MAT_CN( mat_image->type ); in Java_org_siprop_opencv_OpenCV_findContours()
755 channels = CV_MAT_CN( mat_image->type );

123