/external/opencv/cvaux/src/ |
D | cvbgfg_codebook.cpp | 100 CV_ASSERT( model && CV_MAT_TYPE(image->type) == CV_8UC3 && in cvBGCodeBookUpdate() 109 CV_ASSERT( (unsigned)roi.x < (unsigned)image->cols && in cvBGCodeBookUpdate() 136 CV_ASSERT( nblocks > 0 ); in cvBGCodeBookUpdate() 240 CV_ASSERT( model && CV_MAT_TYPE(image->type) == CV_8UC3 && in cvBGCodeBookDiff() 250 CV_ASSERT( (unsigned)roi.x < (unsigned)image->cols && in cvBGCodeBookDiff() 305 CV_ASSERT( model && (!mask || CV_IS_MASK_ARR(mask) && in cvBGCodeBookClearStale() 314 CV_ASSERT( (unsigned)roi.x < (unsigned)mask->cols && in cvBGCodeBookClearStale()
|
/external/opencv/ml/src/ |
D | ml_inner_functions.cpp | 340 CV_ASSERT ((radius_small >= 0) && in cvRandRoundUni() 343 CV_ASSERT (center && desired_matrix && rng_state_ptr); in cvRandRoundUni() 344 CV_ASSERT (center->rows == 1); in cvRandRoundUni() 345 CV_ASSERT (center->cols == desired_matrix->cols); in cvRandRoundUni() 1438 CV_ASSERT( sample_idx->rows == 1 && CV_MAT_TYPE(sample_idx->type) == CV_32SC1 ); in cvWritebackLabels() 1444 CV_ASSERT( comp_idx->rows == 1 && CV_MAT_TYPE(comp_idx->type) == CV_32SC1 ); in cvWritebackLabels() 1453 CV_ASSERT( labels->rows == 1 ); in cvWritebackLabels() 1462 CV_ASSERT( labels->cols == samples_selected ); in cvWritebackLabels() 1484 CV_ASSERT( centers->cols == dims_selected ); in cvWritebackLabels() 1505 CV_ASSERT( probs->rows == samples_selected ); in cvWritebackLabels() [all …]
|
D | mlcnn.cpp | 585 CV_ASSERT( release && forward && backward ) 586 CV_ASSERT( header_size >= sizeof(CvCNNLayer) ) 605 CV_ASSERT( ICV_IS_CNN_LAYER(layer) ) 844 CV_ASSERT( X->rows == nXplanes*Xsize && X->cols == 1 ); 845 CV_ASSERT( Y->rows == nYplanes*Ysize && Y->cols == 1 ); 913 CV_ASSERT(X->rows == nplanes*Xsize && X->cols == 1); 914 CV_ASSERT(layer->exp2ssumWX->cols == 1 && layer->exp2ssumWX->rows == nplanes*Ysize); 978 CV_ASSERT(X->cols == 1 && X->rows == layer->n_input_planes); 979 CV_ASSERT(Y->cols == 1 && Y->rows == layer->n_output_planes); 1055 CV_ASSERT( t >= 1 ); [all …]
|
D | mlrtrees.cpp | 113 CV_ASSERT( var_count == data->var_count ); in find_best_split() 554 CV_ASSERT( 0 <= class_idx && class_idx < nclasses ); in predict()
|
D | _ml.h | 234 CV_ASSERT( type == CV_32FC1 || type == CV_64FC1 ); \
|
D | mlsvm.cpp | 1696 CV_ASSERT( g_step > 1 && degree_step > 1 && coef_step > 1); in train_auto() 1697 CV_ASSERT( p_step > 1 && C_step > 1 && nu_step > 1 ); in train_auto() 2105 CV_ASSERT( sv_count == sv_total ); in write() 2256 CV_ASSERT( var_count == 1 || (CV_NODE_IS_SEQ(sv_elem->tag) && in read() 2294 CV_ASSERT( sv_count == 1 || CV_NODE_IS_SEQ(alpha_node->tag) && in read() 2305 CV_ASSERT( sv_count == 1 || CV_NODE_IS_SEQ(index_node->tag) && in read()
|
D | mlem.cpp | 428 CV_ASSERT( params.start_step == START_E_STEP && params.means ); in init_em()
|
D | mltree.cpp | 1055 CV_ASSERT( cat_count != 0 ); in write_params()
|
/external/opencv/cv/src/ |
D | cvundistort.cpp | 323 CV_ASSERT( CV_IS_MAT(distCoeffs) && in cvInitUndistortRectifyMap() 390 CV_ASSERT( CV_IS_MAT(_src) && CV_IS_MAT(_dst) && in cvUndistortPoints() 397 CV_ASSERT( CV_IS_MAT(_cameraMatrix) && CV_IS_MAT(_distCoeffs) && in cvUndistortPoints() 409 CV_ASSERT( CV_IS_MAT(_R) && _R->rows == 3 && _R->cols == 3 ); in cvUndistortPoints() 419 CV_ASSERT( CV_IS_MAT(_P) && _P->rows == 3 && (_P->cols == 3 || _P->cols == 4)); in cvUndistortPoints()
|
D | cvcalibration.cpp | 292 CV_ASSERT( CV_IS_MAT(A) && CV_IS_MAT(B) ); in cvCalcMatMulDeriv() 293 CV_ASSERT( CV_ARE_TYPES_EQ(A, B) && in cvCalcMatMulDeriv() 295 CV_ASSERT( A->cols == B->rows ); in cvCalcMatMulDeriv() 304 CV_ASSERT( CV_ARE_TYPES_EQ(A, dABdA) && in cvCalcMatMulDeriv() 310 CV_ASSERT( CV_ARE_TYPES_EQ(A, dABdB) && in cvCalcMatMulDeriv() 396 CV_ASSERT( CV_IS_MAT(_rvec1) && CV_IS_MAT(_rvec2) ); in cvComposeRT() 398 CV_ASSERT( CV_MAT_TYPE(_rvec1->type) == CV_32F || in cvComposeRT() 401 CV_ASSERT( _rvec1->rows == 3 && _rvec1->cols == 1 && CV_ARE_SIZES_EQ(_rvec1, _rvec2) ); in cvComposeRT() 455 CV_ASSERT( CV_IS_MAT(_tvec1) && CV_IS_MAT(_tvec2) ); in cvComposeRT() 456 CV_ASSERT( CV_ARE_SIZES_EQ(_tvec1, _tvec2) && CV_ARE_SIZES_EQ(_tvec1, _rvec1) ); in cvComposeRT() [all …]
|
D | cvfundam.cpp | 177 CV_ASSERT( CV_ARE_SIZES_EQ(m1, m2) && CV_ARE_SIZES_EQ(m1, mask) ); in runRANSAC() 274 CV_ASSERT( CV_ARE_SIZES_EQ(m1, m2) && CV_ARE_SIZES_EQ(m1, mask) ); in CV_IMPLEMENT_QSORT() 592 CV_ASSERT( CV_IS_MAT(imagePoints) && CV_IS_MAT(objectPoints) ); in cvFindHomography() 595 CV_ASSERT( count >= 4 ); in cvFindHomography() 605 CV_ASSERT( CV_IS_MASK_ARR(mask) && CV_IS_MAT_CONT(mask->type) && in cvFindHomography() 961 CV_ASSERT( CV_IS_MAT(points1) && CV_IS_MAT(points2) && CV_ARE_SIZES_EQ(points1, points2) ); in cvFindFundamentalMat() 962 CV_ASSERT( CV_IS_MAT(fmatrix) && fmatrix->cols == 3 && in cvFindFundamentalMat() 977 CV_ASSERT( CV_IS_MASK_ARR(mask) && CV_IS_MAT_CONT(mask->type) && in cvFindFundamentalMat()
|
D | cvstereogc.cpp | 863 CV_ASSERT( state != 0 ); in cvFindStereoCorrespondenceGC() 864 CV_ASSERT( CV_ARE_SIZES_EQ(left, right) && CV_ARE_TYPES_EQ(left, right) && in cvFindStereoCorrespondenceGC() 866 CV_ASSERT( !dispLeft || in cvFindStereoCorrespondenceGC() 868 CV_ASSERT( !dispRight || in cvFindStereoCorrespondenceGC() 901 CV_ASSERT( dispLeft && dispRight ); in cvFindStereoCorrespondenceGC()
|
D | cvhough.cpp | 107 CV_ASSERT( CV_IS_MAT(img) && CV_MAT_TYPE(img->type) == CV_8UC1 ); in CV_IMPLEMENT_QSORT_EX() 237 CV_ASSERT( CV_IS_MAT(img) && CV_MAT_TYPE(img->type) == CV_8UC1 ); in IMPLEMENT_LIST() 238 CV_ASSERT( linesMax > 0 && rho > 0 && theta > 0 ); in IMPLEMENT_LIST() 509 CV_ASSERT( CV_IS_MAT(image) && CV_MAT_TYPE(image->type) == CV_8UC1 ); in icvHoughLinesProbabalistic()
|
D | cvdistransform.cpp | 637 CV_ASSERT( CV_IS_MASK_ARR( src ) && CV_MAT_TYPE( dst->type ) == CV_8UC1 ); in icvDistanceATS_L1_8u() 638 CV_ASSERT( CV_ARE_SIZES_EQ( src, dst )); in icvDistanceATS_L1_8u()
|
D | cvgeometry.cpp | 369 CV_ASSERT( CV_IS_MAT(matrixM) && CV_IS_MAT(matrixR) && CV_IS_MAT(matrixQ) && in cvRQDecomp3x3()
|
D | cvsurf.cpp | 287 CV_ASSERT( img != 0 && CV_MAT_TYPE(img->type) == CV_8UC1 && in cvExtractSURF()
|
D | cvcalibinit.cpp | 1616 CV_ASSERT( out_corners && out_quads ); in icvGenerateQuads() 1795 CV_ASSERT( out_corners && out_quads ); in icvGenerateQuadsEx()
|
D | cvimgwarp.cpp | 2111 CV_ASSERT( CV_ARE_SIZES_EQ(mapx, mapy) && CV_ARE_TYPES_EQ(mapx, mapy) && in cvConvertMaps()
|
/external/opencv/cxcore/include/ |
D | cxerror.h | 176 #define CV_ASSERT( Condition ) \ macro
|
/external/opencv/cxcore/src/ |
D | cxswitcher.cpp | 500 CV_ASSERT( module != 0 && module->name != 0 && module->version != 0 ); in cvRegisterModule()
|
D | cxmatrix.cpp | 553 CV_ASSERT( CV_IS_MAT(matrix) && matrix->rows == matrix->cols ); in cvCompleteSymm()
|
D | cxdatastructs.cpp | 3460 CV_ASSERT( graph->storage != 0 ); in cvCreateGraphScanner()
|