Home
last modified time | relevance | path

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

123

/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()
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()
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 …]
Dmlem.cpp133 CV_ERROR( CV_StsBadArg, "Unknown covariation matrix type" ); in set_params()
148 CV_ERROR( CV_StsBadArg, "Unknown start_step" ); in set_params()
162 CV_ERROR( CV_StsBadArg, "The array of probabilities must be a valid " in set_params()
174 CV_ERROR( CV_StsBadArg, "The array of mean's must be a valid " in set_params()
186 CV_ERROR( CV_StsBadArg, "The array of weights must be a valid " in set_params()
198 CV_ERROR( CV_StsBadArg, in set_params()
334 CV_ERROR( CV_StsBadArg, in train()
/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 …]
Dcvlcm.cpp285 CV_ERROR( CV_StsBadArg,"Voronoi Diagram is not defined" ); in cvLinearContorModelFromVoronoiDiagram()
287 CV_ERROR( CV_StsBadArg,"Treshold parameter must be non negative" ); in cvLinearContorModelFromVoronoiDiagram()
294 CV_ERROR( CV_StsBadArg,"Can't operate with multiconnected domains" ); in cvLinearContorModelFromVoronoiDiagram()
296 CV_ERROR( CV_StsBadArg,"Can't operate with large domains" ); in cvLinearContorModelFromVoronoiDiagram()
/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()
Dcxpersistence.cpp168 CV_ERROR( (fs) ? CV_StsBadArg : CV_StsNullPtr, \
1339 CV_ERROR( CV_StsBadArg, "An attempt to add element without a key to a map, " in icvYMLWrite()
1352 CV_ERROR( CV_StsBadArg, "The key is an empty" ); in icvYMLWrite()
1355 CV_ERROR( CV_StsBadArg, "The key is too long" ); in icvYMLWrite()
1390 CV_ERROR( CV_StsBadArg, "Key must start with a letter or _" ); in icvYMLWrite()
1400 CV_ERROR( CV_StsBadArg, "Invalid character occurs in the key" ); in icvYMLWrite()
1437 CV_ERROR( CV_StsBadArg,
1582 CV_ERROR( CV_StsBadArg, "The written string is too long" );
2258 CV_ERROR( CV_StsBadArg, "An attempt to add element without a key to a map, " in icvXMLWriteTag()
2274 CV_ERROR( CV_StsBadArg, "A single _ is a reserved tag name" ); in icvXMLWriteTag()
[all …]
/external/opencv/cv/src/
Dcvcondens.cpp247 CV_ERROR( CV_StsBadArg, "source has not appropriate format" ); in cvConDensInitSampleSet()
250 CV_ERROR( CV_StsBadArg, "source has not appropriate size" ); in cvConDensInitSampleSet()
253 CV_ERROR( CV_StsBadArg, "source has not appropriate size" ); in cvConDensInitSampleSet()
Dcvundistort.cpp152 CV_ERROR( CV_StsBadArg, "Intrinsic matrix must be a valid 3x3 floating-point matrix" ); in cvUndistort2()
159 CV_ERROR( CV_StsBadArg, in cvUndistort2()
215 CV_ERROR( CV_StsBadArg, "Intrinsic matrix must be a valid 3x3 floating-point matrix" ); in cvInitUndistortMap()
222 CV_ERROR( CV_StsBadArg, in cvInitUndistortMap()
299 CV_ERROR( CV_StsBadArg, "Intrinsic matrix must be a valid 3x3 floating-point matrix" ); in cvInitUndistortRectifyMap()
310 … CV_ERROR( CV_StsBadArg, "The new intrinsic matrix must be a valid 3x3 floating-point matrix" ); in cvInitUndistortRectifyMap()
319 … CV_ERROR( CV_StsBadArg, "Rotaion/homography matrix must be a valid 3x3 floating-point matrix" ); in cvInitUndistortRectifyMap()
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 …]
Dcvmatchcontours.cpp245 CV_ERROR( CV_StsBadArg, "Unknown/unsupported comparison method" ); in cvMatchContourTrees()
248 CV_ERROR( CV_StsBadArg, "The first argument is not a valid contour tree" ); in cvMatchContourTrees()
251 CV_ERROR( CV_StsBadArg, "The second argument is not a valid contour tree" ); in cvMatchContourTrees()
Dcvhough.cpp762 CV_ERROR( CV_StsBadArg, "The source image must be 8-bit, single-channel" ); in cvHoughLines2()
790 CV_ERROR( CV_StsBadArg, in cvHoughLines2()
794 CV_ERROR( CV_StsBadArg, in cvHoughLines2()
804 CV_ERROR( CV_StsBadArg, "Destination is not CvMemStorage* nor CvMat*" ); in cvHoughLines2()
825 CV_ERROR( CV_StsBadArg, "Unrecognized method id" ); in cvHoughLines2()
1097 CV_ERROR( CV_StsBadArg, "The source image must be 8-bit, single-channel" ); in cvHoughCircles()
1122 CV_ERROR( CV_StsBadArg, in cvHoughCircles()
1132 CV_ERROR( CV_StsBadArg, "Destination is not CvMemStorage* nor CvMat*" ); in cvHoughCircles()
1143 CV_ERROR( CV_StsBadArg, "Unrecognized method id" ); in cvHoughCircles()
Dcvfeatureselect.cpp137 CV_ERROR( CV_StsBadArg, "maximal corners number is non positive" ); in CV_IMPLEMENT_QSORT()
140 CV_ERROR( CV_StsBadArg, "quality level or min distance are non positive" ); in CV_IMPLEMENT_QSORT()
Dcvconvhull.cpp262 CV_ERROR( CV_StsBadArg, "Unsupported sequence type" ); in cvConvexHull2()
292 CV_ERROR(CV_StsBadArg, "Destination must be valid memory storage or matrix"); in cvConvexHull2()
297 CV_ERROR( CV_StsBadArg, in cvConvexHull2()
576 CV_ERROR(CV_StsBadArg, "Convex hull is neither sequence nor matrix"); in cvConvexityDefects()
580 CV_ERROR( CV_StsBadArg, in cvConvexityDefects()
Dcvcalibration.cpp501 CV_ERROR( !src ? CV_StsNullPtr : CV_StsBadArg, "Input argument is not a valid matrix" ); in cvRodrigues2()
504 CV_ERROR( !dst ? CV_StsNullPtr : CV_StsBadArg, in cvRodrigues2()
519 CV_ERROR( CV_StsBadArg, "Jacobian is not a valid matrix" ); in cvRodrigues2()
798 CV_ERROR( CV_StsBadArg, "One of required arguments is not a valid matrix" ); in cvProjectPoints2()
826 CV_ERROR( CV_StsBadArg, "Rotation must be represented by 1x3 or 3x1 " in cvProjectPoints2()
846 CV_ERROR( CV_StsBadArg, in cvProjectPoints2()
854 CV_ERROR( CV_StsBadArg, "Instrinsic parameters must be 3x3 floating-point matrix" ); in cvProjectPoints2()
871 CV_ERROR( CV_StsBadArg, in cvProjectPoints2()
885 CV_ERROR( CV_StsBadArg, "dp/drot must be 2Nx3 floating-point matrix" ); in cvProjectPoints2()
901 CV_ERROR( CV_StsBadArg, "dp/dT must be 2Nx3 floating-point matrix" ); in cvProjectPoints2()
[all …]
Dcvcamshift.cpp85 CV_ERROR( CV_StsBadArg, "Input window has non-positive sizes" ); in cvMeanShift()
89 CV_ERROR( CV_StsBadArg, "Initial window is not inside the image ROI" ); in cvMeanShift()
/external/opencv/cxcore/include/
Dcxerror.h57 #define CV_StsBadArg -5 /* function arg/param is bad */ macro

123