Home
last modified time | relevance | path

Searched refs:CV_StsBadArg (Results 1 – 25 of 139) sorted by relevance

123456

/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration_badarg.cpp156 errors += run_test_case( CV_StsBadArg, "Zero passed in objPts", bad_caller); in run()
160 errors += run_test_case( CV_StsBadArg, "Zero passed in imgPts", bad_caller ); in run()
164 errors += run_test_case( CV_StsBadArg, "Zero passed in npoints", bad_caller ); in run()
168 errors += run_test_case( CV_StsBadArg, "Zero passed in cameraMatrix", bad_caller ); in run()
172 errors += run_test_case( CV_StsBadArg, "Zero passed in distCoeffs", bad_caller ); in run()
197 errors += run_test_case( CV_StsBadArg, "Bad rvecs header", bad_caller ); in run()
201 errors += run_test_case( CV_StsBadArg, "Bad tvecs header", bad_caller ); in run()
213 errors += run_test_case( CV_StsBadArg, "Bad tvecs header", bad_caller ); in run()
217 errors += run_test_case( CV_StsBadArg, "Bad tvecs header", bad_caller ); in run()
221 errors += run_test_case( CV_StsBadArg, "Bad tvecs header", bad_caller ); in run()
[all …]
/external/opencv3/apps/traincascade/
Dold_ml_data.cpp334 CV_ERROR(CV_StsBadArg, "delimited, miss_character and flt_separator must be different"); in set_delimiter()
352 CV_ERROR(CV_StsBadArg, "delimited, miss_character and flt_separator must be different"); in set_miss_ch()
373 CV_ERROR( CV_StsBadArg, "idx value is not correct" ); in set_response_idx()
408 CV_ERROR( CV_StsBadArg, "var_idx is not correct" ); in change_var_type()
411 CV_ERROR( CV_StsBadArg, "type is not correct" ); in change_var_type()
415 … CV_ERROR( CV_StsBadArg, "it`s impossible to assign CV_VAR_ORDERED type to categorical variable" ); in change_var_type()
440 CV_ERROR( CV_StsBadArg, "types string is not correct" ); in set_var_types()
458 CV_ERROR( CV_StsBadArg, "types string is not correct" ); in set_var_types()
465 CV_ERROR( CV_StsBadArg, "types string is not correct" ); in set_var_types()
470 … CV_ERROR( CV_StsBadArg, "it`s impossible to assign CV_VAR_ORDERED type to categorical variable" ); in set_var_types()
[all …]
Dold_ml_precomp.hpp73 CV_ERROR( CV_StsBadArg, "" ); \
145 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
157 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
164 CV_ERROR( CV_StsBadArg, "Unmatched sizes" ); \
171 CV_ERROR( CV_StsBadArg, #param " parameter must be NULL" ); \
179 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
186 CV_ERROR( CV_StsBadArg, "Unmatched sizes" ); \
196 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
202 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
211 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
[all …]
Dold_ml_inner_functions.cpp283 CV_ERROR(CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
292 CV_ERROR(CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
298 CV_ERROR (CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
301 CV_ERROR (CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
406 CV_ERROR( CV_StsBadArg, "Invalid index array" ); in cvPreprocessIndexArray()
482 CV_ERROR( CV_StsBadArg, "There are duplicated index array elements" ); in cvPreprocessIndexArray()
513 CV_ERROR( var_type ? CV_StsBadArg : CV_StsNullPtr, "Invalid or absent var_type array" ); in cvPreprocessVarType()
525 CV_ERROR( CV_StsBadArg, in cvPreprocessVarType()
535 … CV_ERROR( CV_StsBadArg, "var index array should be continuous 1-dimensional integer vector" ); in cvPreprocessVarType()
574 CV_ERROR( CV_StsBadArg, "Invalid response array" ); in cvPreprocessOrderedResponses()
[all …]
Dimagestorage.cpp156 CV_Error( CV_StsBadArg, "Can not get new positive sample. The most possible reason is " in get()
160 …CV_Error( CV_StsBadArg, "Can not get new positive sample. Seems that vec-file has incorrect struct… in get()
163 CV_Error( CV_StsBadArg, "Can not get new positive sample. vec-file is over.\n"); in get()
/external/opencv/ml/src/
D_ml.h77 CV_ERROR( CV_StsBadArg, "" ); \
149 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
161 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
168 CV_ERROR( CV_StsBadArg, "Unmatched sizes" ); \
175 CV_ERROR( CV_StsBadArg, #param " parameter must be NULL" ); \
183 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
190 CV_ERROR( CV_StsBadArg, "Unmatched sizes" ); \
200 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
206 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
215 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
[all …]
Dmlestimate.cpp63 CV_ERROR (CV_StsBadArg, "Pointer point to not CvCrossValidationModel");
85 CV_ERROR (CV_StsBadArg, "Pointer point to not CvCrossValidationModel");
112 CV_ERROR (CV_StsBadArg, "Pointer point to not CvCrossValidationModel");
173 CV_ERROR (CV_StsBadArg,"First parameter point to not CvCrossValidationModel");
177 CV_ERROR (CV_StsBadArg, "Second parameter point to not CvStatModel");
181 CV_ERROR (CV_StsBadArg, "Third parameter point to not CvMat");
185 CV_ERROR (CV_StsBadArg, "Fifth parameter point to not CvMat");
300 CV_ERROR (CV_StsBadArg, "Pointer point to not CvCrossValidationModel");
345 CV_ERROR (CV_StsBadArg, "Pointer point to not CvCrossValidationModel");
384 CV_ERROR (CV_StsBadArg, "");
[all …]
Dmlcnn.cpp127 CV_ERROR( CV_StsBadArg, "First layer must contain only one input plane" ); \
130 CV_ERROR( CV_StsBadArg, "Invalid input sizes of the first layer" ); \
134 CV_ERROR( CV_StsBadArg, "Invalid output sizes of the last layer" ); \
143 CV_ERROR( CV_StsBadArg, "<etalons> must be CV_32FC1 type" ); \
145 CV_ERROR( CV_StsBadArg, "Invalid <etalons> size" ); \
149 CV_ERROR( CV_StsBadArg, "Invalid <grad_estim_type>" ); \
152 CV_ERROR( CV_StsBadArg, "Parameter <start_iter> must be positive or zero" ); \
336 CV_ERROR( CV_StsBadArg, "Invalid model" );
413 CV_ERROR( CV_StsBadArg, "Invalid model" );
425 CV_ERROR( CV_StsBadArg, "Number of classes must be left unchanged" );
[all …]
Dml_inner_functions.cpp283 CV_ERROR(CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
292 CV_ERROR(CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
298 CV_ERROR (CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
301 CV_ERROR (CV_StsBadArg,""); in icvGenerateRandomClusterCenters()
382 CV_ERROR(CV_StsBadArg, "Invalid matrix argument"); in cvCompleteSymm()
473 CV_ERROR( CV_StsBadArg, "Invalid index array" ); in cvPreprocessIndexArray()
551 CV_ERROR( CV_StsBadArg, "There are duplicated index array elements" ); in cvPreprocessIndexArray()
583 CV_ERROR( var_type ? CV_StsBadArg : CV_StsNullPtr, "Invalid or absent var_type array" ); in cvPreprocessVarType()
595 CV_ERROR( CV_StsBadArg, in cvPreprocessVarType()
605 … CV_ERROR( CV_StsBadArg, "var index array should be continuous 1-dimensional integer vector" ); in cvPreprocessVarType()
[all …]
Dmltestset.cpp79 CV_ERROR( CV_StsBadArg, "Invalid type parameter" ); in cvCreateTestSet()
88 CV_ERROR( CV_StsBadArg, "num_samples parameter must be positive" ); in cvCreateTestSet()
91 CV_ERROR( CV_StsBadArg, "num_features parameter must be positive" ); in cvCreateTestSet()
94 CV_ERROR( CV_StsBadArg, "num_classes parameter must be positive" ); in cvCreateTestSet()
Dmlnbayes.cpp180 CV_ERROR( CV_StsBadArg, in train()
301 CV_ERROR( CV_StsBadArg, in predict()
314 CV_ERROR( CV_StsBadArg, "The output array must be integer or floating-point vector " in predict()
476 CV_ERROR( CV_StsBadArg, "Number of classes is less 1" ); in read()
495 CV_ERROR( CV_StsBadArg, "" ); in read()
506 CV_ERROR( CV_StsBadArg, "" ); in read()
517 CV_ERROR( CV_StsBadArg, "" ); in read()
528 CV_ERROR( CV_StsBadArg, "" ); in read()
539 CV_ERROR( CV_StsBadArg, "" ); in read()
550 CV_ERROR( CV_StsBadArg, "" ); in read()
Dmlsvm.cpp110 CV_ERROR( CV_StsBadArg, "Lower bound of the grid must be less then the upper one" ); in check()
112 CV_ERROR( CV_StsBadArg, "Lower bound of the grid must be positive" ); in check()
114 CV_ERROR( CV_StsBadArg, "Grid step must greater then 1" ); in check()
163 cvError( CV_StsBadArg, "CvSVM::get_default_grid", "Invalid type of parameter " in get_default_grid()
1218 CV_ERROR( CV_StsBadArg, "Unknown/unsupported kernel type" ); in set_params()
1238 CV_ERROR( CV_StsBadArg, "Unknown/unsupported SVM type" ); in set_params()
1374 CV_ERROR( CV_StsBadArg, "params.class_weights must be 1d floating-point vector " in do_train()
1397 CV_ERROR( CV_StsBadArg, "While cross-validation one or more of the classes have " in do_train()
1627 CV_ERROR( CV_StsBadArg, "Parameter <k_fold> must be > 1" ); in train_auto()
1892 CV_ERROR( CV_StsBadArg, "The SVM should be trained first" ); in predict()
[all …]
Dmlknearest.cpp118 CV_ERROR( CV_StsBadArg, "The newly added data have different dimensionality" ); in train()
325 …CV_ERROR( CV_StsBadArg, "Input samples must be floating-point matrix (<num_samples>x<var_count>)" … in find_nearest()
330 CV_ERROR( CV_StsBadArg, in find_nearest()
345 CV_ERROR( CV_StsBadArg, in find_nearest()
353 CV_ERROR( CV_StsBadArg, in find_nearest()
/external/opencv3/modules/ml/src/
Dlr.cpp140 CV_Error( CV_StsBadArg, "_labels_i should be a column matrix" ); in train()
148 CV_Error( CV_StsBadArg, "data and labels must be a floating point matrix" ); in train()
169 CV_Error( CV_StsBadArg, "data should have atleast 2 classes" ); in train()
174 CV_Error( CV_StsBadArg, "number of rows in data and labels should be the equal" ); in train()
218 CV_Error( CV_StsBadArg, "check training parameters. Invalid training classifier" ); in train()
234 CV_Error( CV_StsBadArg, "classifier should be trained first" ); in predict()
238 CV_Error( CV_StsBadArg, "data must be of floating type" ); in predict()
361 CV_Error( CV_StsBadArg, "check training parameters for the classifier" ); in compute_batch_gradient()
366 CV_Error( CV_StsBadArg, "number of iterations cannot be zero or a negative number" ); in compute_batch_gradient()
391 CV_Error( CV_StsBadArg, "check training parameters. Invalid training classifier" ); in compute_batch_gradient()
[all …]
Dtestset.cpp63 CV_Error( CV_StsBadArg, "num_samples parameter must be positive" ); in createConcentricSpheresTestSet()
66 CV_Error( CV_StsBadArg, "num_features parameter must be positive" ); in createConcentricSpheresTestSet()
69 CV_Error( CV_StsBadArg, "num_classes parameter must be positive" ); in createConcentricSpheresTestSet()
/external/opencv/cvaux/src/
Dcveigenobjects.cpp1208 CV_ERROR( CV_StsBadArg, "Insufficient memory" ); in cvCalcCovarMatrixEx()
1219 CV_ERROR( CV_StsBadArg, "Different sizes of objects" ); in cvCalcCovarMatrixEx()
1223 CV_ERROR( CV_StsBadArg, "Different steps of objects" ); in cvCalcCovarMatrixEx()
1353 CV_ERROR( CV_StsBadArg, "Insufficient memory" ); in cvCalcEigenObjects()
1364 CV_ERROR( CV_StsBadArg, "Different sizes of objects" ); in cvCalcEigenObjects()
1368 CV_ERROR( CV_StsBadArg, "Different steps of objects" ); in cvCalcEigenObjects()
1383 CV_ERROR( CV_StsBadArg, "Different sizes of objects" ); in cvCalcEigenObjects()
1387 CV_ERROR( CV_StsBadArg, "Different steps of objects" ); in cvCalcEigenObjects()
1410 CV_ERROR( CV_StsBadArg, "Insufficient memory" ); in cvCalcEigenObjects()
1421 CV_ERROR( CV_StsBadArg, "Different sizes of objects" ); in cvCalcEigenObjects()
[all …]
/external/opencv/cxcore/src/
Dcxerror.cpp281 case CV_StsBadArg : return "Bad argument"; in cvErrorStr()
440 case CV_BADARG_ERR: return CV_StsBadArg; in cvErrorFromIppStatus()
450 case CV_BADRANGE_ERR: return CV_StsBadArg; in cvErrorFromIppStatus()
451 case CV_BADCOEF_ERR: return CV_StsBadArg; in cvErrorFromIppStatus()
452 case CV_BADFACTOR_ERR: return CV_StsBadArg; in cvErrorFromIppStatus()
Dcxarray.cpp76 CV_ERROR( CV_StsBadArg, "Either all the pointers should be null or " in cvSetIPLAllocators()
256 CV_ERROR( CV_StsBadArg, "Bad CvMat header" ); in cvCloneMat()
395 CV_ERROR( CV_StsBadArg, "Bad CvMatND header" ); in cvCloneMatND()
446 CV_ERROR( CV_StsBadArg, "Unrecognized or unsupported array type" ); in cvGetMatND()
738 CV_ERROR( CV_StsBadArg, "Invalid sparse array header" ); in cvCloneSparseMat()
764 CV_ERROR( CV_StsBadArg, "Invalid sparse matrix header" ); in cvInitSparseMatIterator()
1036 CV_ERROR( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvCreateData()
1134 CV_ERROR( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvSetData()
1171 CV_ERROR( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvReleaseData()
1226 CV_ERROR( CV_StsBadArg, "Only continuous nD arrays are supported here" ); in cvGetRawData()
[all …]
Dcxminmaxloc.cpp325 CV_ERROR( CV_StsBadArg, "" ); in CV_DEF_INIT_FUNC_TAB_2D()
363 CV_ERROR( CV_StsBadArg, cvUnsupportedFormat ); in CV_DEF_INIT_FUNC_TAB_2D()
373 CV_ERROR( CV_StsBadArg, cvUnsupportedFormat ); in CV_DEF_INIT_FUNC_TAB_2D()
386 CV_ERROR( CV_StsBadArg, cvUnsupportedFormat ); in CV_DEF_INIT_FUNC_TAB_2D()
397 CV_ERROR( CV_StsBadArg, cvUnsupportedFormat ); in CV_DEF_INIT_FUNC_TAB_2D()
/external/opencv3/modules/core/src/
Darray.cpp80 CV_Error( CV_StsBadArg, "Either all the pointers should be null or " in cvSetIPLAllocators()
211 CV_Error( CV_StsBadArg, "Bad CvMat header" ); in cvCloneMat()
301 CV_Error( CV_StsBadArg, "Bad CvMatND header" ); in cvCloneMatND()
352 CV_Error( CV_StsBadArg, "Unrecognized or unsupported array type" ); in cvGetMatND()
613 CV_Error( CV_StsBadArg, "Invalid sparse array header" ); in cvCloneSparseMat()
628 CV_Error( CV_StsBadArg, "Invalid sparse matrix header" ); in cvInitSparseMatIterator()
890 CV_Error( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvCreateData()
974 CV_Error( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvSetData()
1003 CV_Error( CV_StsBadArg, "unrecognized or unsupported array type" ); in cvReleaseData()
1051 CV_Error( CV_StsBadArg, "Only continuous nD arrays are supported here" ); in cvGetRawData()
[all …]
/external/opencv3/modules/imgproc/src/
Dutils.cpp54 CV_Error( CV_StsBadArg, "Input array is not a valid matrix" ); in cvPointSeqFromMat()
66 CV_Error( CV_StsBadArg, in cvPointSeqFromMat()
Dhough.cpp94 CV_Error( CV_StsBadArg, "max_theta must be greater than min_theta" ); in HoughLinesStandard()
736 CV_Error( CV_StsBadArg, "max_theta must fall between 0 and pi" ); in ocl_HoughLines()
739 CV_Error( CV_StsBadArg, "min_theta must fall between 0 and max_theta" ); in ocl_HoughLines()
742 CV_Error( CV_StsBadArg, "rho and theta must be greater 0" ); in ocl_HoughLines()
796 CV_Error( CV_StsBadArg, "rho and theta must be greater 0" ); in ocl_HoughLinesP()
929 CV_Error( CV_StsBadArg, in cvHoughLines2()
933 CV_Error( CV_StsBadArg, in cvHoughLines2()
942 CV_Error( CV_StsBadArg, "Destination is not CvMemStorage* nor CvMat*" ); in cvHoughLines2()
962 CV_Error( CV_StsBadArg, "Unrecognized method id" ); in cvHoughLines2()
1240 CV_Error( CV_StsBadArg, "The source image must be 8-bit, single-channel" ); in cvHoughCircles()
[all …]
/external/opencv3/modules/ml/test/
Dtest_mltests2.cpp59 CV_Error( CV_StsBadArg, "incorrect svm type string" ); in str_to_svm_type()
72 CV_Error( CV_StsBadArg, "incorrect svm type string" ); in str_to_svm_kernel_type()
84 CV_Error( CV_StsBadArg, "incorrect ann train method string" ); in str_to_ann_train_method()
94 CV_Error( CV_StsBadArg, "var_idx is not supported" ); in ann_check_data()
96 CV_Error( CV_StsBadArg, "missing values are not supported" ); in ann_check_data()
189 CV_Error( CV_StsBadArg, "incorrect boost type string" ); in str_to_boost_type()
/external/opencv3/modules/videoio/src/
Dcap_openni2.cpp477 …CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for getting.\n", p… in getCommonProperty()
505 …CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for setting.\n", p… in setCommonProperty()
554 …CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) f… in getDepthGeneratorProperty()
605 …CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) f… in setDepthGeneratorProperty()
640 …CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) f… in getImageGeneratorProperty()
681 CV_Error( CV_StsBadArg, "Unsupported image generator output mode.\n"); in setImageGeneratorProperty()
692 …CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) f… in setImageGeneratorProperty()
/external/opencv/cv/src/
Dcvhistogram.cpp75 CV_ERROR( CV_StsBadArg, "Invalid histogram type" ); in cvCreateHist()
115 CV_ERROR( CV_StsBadArg, "Only uniform bin ranges can be used here " in cvMakeHistHeaderForArray()
149 CV_ERROR( CV_StsBadArg, "Invalid histogram header" ); in cvReleaseHist()
178 CV_ERROR( CV_StsBadArg, "Invalid histogram header" ); in cvClearHist()
195 CV_ERROR( CV_StsBadArg, "Invalid histogram header" ); in cvThreshHist()
232 CV_ERROR( CV_StsBadArg, "Invalid histogram header" ); in cvNormalizeHist()
286 CV_ERROR( CV_StsBadArg, "Invalid histogram header" ); in cvGetMinMaxHistValue()
414 CV_ERROR( CV_StsBadArg, "Invalid histogram header[s]" ); in cvCompareHist()
508 CV_ERROR( CV_StsBadArg, "Unknown comparison method" ); in cvCompareHist()
638 CV_ERROR( CV_StsBadArg, "Unknown comparison method" ); in cvCompareHist()
[all …]

123456