Home
last modified time | relevance | path

Searched refs:CV_32SC1 (Results 1 – 25 of 30) sorted by relevance

12

/external/opencv/ml/src/
Dml_inner_functions.cpp504 case CV_32SC1: in cvPreprocessIndexArray()
527 CV_CALL( idx = cvCreateMat( 1, idx_selected, CV_32SC1 )); in cvPreprocessIndexArray()
530 if( type < CV_32SC1 ) in cvPreprocessIndexArray()
603 if( !CV_IS_MAT(var_idx) || CV_MAT_TYPE(var_idx->type) != CV_32SC1 || in cvPreprocessVarType()
654 if( r_type != CV_32FC1 && r_type != CV_32SC1 ) in cvPreprocessOrderedResponses()
667 if( !CV_IS_MAT(sample_idx) || CV_MAT_TYPE(sample_idx->type) != CV_32SC1 || in cvPreprocessOrderedResponses()
744 if( r_type != CV_32FC1 && r_type != CV_32SC1 ) in cvPreprocessCategoricalResponses()
751 if( !CV_IS_MAT(sample_idx) || CV_MAT_TYPE(sample_idx->type) != CV_32SC1 || in cvPreprocessCategoricalResponses()
760 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
775 if( r_type == CV_32SC1 ) in cvPreprocessCategoricalResponses()
[all …]
Dmlestimate.cpp493 case CV_32SC1:
508 if (s_type < CV_32SC1)
612 CV_CALL (crVal->sampleIdxEval = cvCreateMatHeader (1, 1, CV_32SC1));
613 CV_CALL (crVal->sampleIdxTrain = cvCreateMatHeader (1, 1, CV_32SC1));
D_ml.h198 if( !ICV_IS_MAT_OF_TYPE( param, CV_32SC1 ) ) \
213 if( !ICV_IS_MAT_OF_TYPE( param, CV_32SC1 ) ) \
Dmltree.cpp226 (CV_MAT_TYPE(_responses->type) != CV_32SC1 && in CV_IMPLEMENT_QSORT_EX()
235 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
264 CV_CALL( buf = cvCreateMat( buf_count, buf_size, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
265 CV_CALL( cat_count = cvCreateMat( 1, cat_var_count+1, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
266 CV_CALL( cat_ofs = cvCreateMat( 1, cat_count->cols+1, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
267 CV_CALL( cat_map = cvCreateMat( 1, cat_count->cols*10 + 128, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
320 if( CV_MAT_TYPE(_train_data->type) == CV_32SC1 ) in CV_IMPLEMENT_QSORT_EX()
332 if( CV_MAT_TYPE(_responses->type) == CV_32SC1 ) in CV_IMPLEMENT_QSORT_EX()
397 MAX(cat_map->cols*3/2,total_c_count+c_count), CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
528 CV_CALL( counts = cvCreateMat( 1, m, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
[all …]
Dmlnbayes.cpp161 CV_CALL(count[cls] = cvCreateMat( 1, var_count, CV_32SC1 )); in train()
311 CV_MAT_TYPE(results->type) != CV_32SC1 || in predict()
370 if( rtype == CV_32SC1 ) in predict()
Dmltestset.cpp106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet()
Dmlem.cpp332 if( labels && (!CV_IS_MAT(labels) || CV_MAT_TYPE(labels->type) != CV_32SC1 || in train()
516 CV_CALL( class_ranges = cvCreateMat( 1, nclusters+1, CV_32SC1 )); in init_auto()
519 CV_CALL( labels = cvCreateMat( 1, nsamples, CV_32SC1 )); in init_auto()
597 CV_CALL( counters = cvCreateMat( 1, nclusters, CV_32SC1 )); in kmeans()
Dmlrtrees.cpp327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); in grow_forest()
342 CV_CALL(sample_idx_for_tree = cvCreateMat( 1, nsamples, CV_32SC1 )); in grow_forest()
Dmlknearest.cpp334 (CV_MAT_TYPE(_results->type) != CV_32SC1 || regression)) in find_nearest()
Dmlann_mlp.cpp224 CV_MAT_TYPE(_layer_sizes->type) != CV_32SC1 ) in create()
234 CV_CALL( layer_sizes = cvCreateMat( 1, l_count, CV_32SC1 )); in create()
906 CV_CALL( _idx = cvCreateMat( 1, count, CV_32SC1 )); in train_backprop()
/external/opencv/cv/src/
Dcvkdtree.cpp165 assert(CV_MAT_TYPE(results->type) == CV_32SC1); in find_nn()
222 if (CV_MAT_TYPE(results->type) != CV_32SC1) in cvFindFeatures()
258 if (CV_MAT_TYPE(results->type) != CV_32SC1) in cvFindFeaturesBoxed()
Dcvmorph.cpp179 if( el_type != CV_8UC1 && el_type != CV_32SC1 ) in init()
392 if( type != CV_8UC1 && type != CV_32SC1 ) in init_binary_element()
766 CvMat el_hdr = cvMat( rows, cols, CV_32SC1, element->values ); in cvCreateStructuringElementEx()
1084 el_hdr = cvMat( element->nRows, element->nCols, CV_32SC1, element->values ); in icvMorphOp()
DmycvHaarDetectObjects.cpp662 CV_MAT_TYPE(sum->type) != CV_32SC1 ) in mycvSetImagesForHaarClassifierCascade()
675 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in mycvSetImagesForHaarClassifierCascade()
925 CV_CALL( sum = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); in mycvHaarDetectObjects()
936 tilted = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 ); in mycvHaarDetectObjects()
Dcvconvhull.cpp304 CV_MAT_TYPE(mat->type) != CV_32SC1 ) in cvConvexHull2()
579 !CV_IS_MAT_CONT(mat->type) || CV_MAT_TYPE(mat->type) != CV_32SC1 ) in cvConvexityDefects()
Dcvhough.cpp517 CV_CALL( accum = cvCreateMat( numangle, numrho, CV_32SC1 )); in icvHoughLinesProbabalistic()
887 CV_CALL( accum = cvCreateMat( cvCeil(img->rows*idp)+2, cvCeil(img->cols*idp)+2, CV_32SC1 )); in icvHoughCirclesGradient()
892 CV_CALL( centers = cvCreateSeq( CV_32SC1, sizeof(CvSeq), sizeof(int), storage )); in icvHoughCirclesGradient()
Dcvhaar.cpp463 CV_MAT_TYPE(sum->type) != CV_32SC1 ) in cvSetImagesForHaarClassifierCascade()
476 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in cvSetImagesForHaarClassifierCascade()
900 CV_CALL( sum = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); in cvHaarDetectObjects()
908 tilted = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 ); in cvHaarDetectObjects()
965 sum1 = cvMat( sz.height+1, sz.width+1, CV_32SC1, sum->data.ptr ); in cvHaarDetectObjects()
969 tilted1 = cvMat( sz.height+1, sz.width+1, CV_32SC1, tilted->data.ptr ); in cvHaarDetectObjects()
1098 sumcanny = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 ); in cvHaarDetectObjects()
Dcvdistransform.cpp753 if( CV_MAT_TYPE( labels->type ) != CV_32SC1 ) in cvDistTransform()
815 CV_CALL( temp = cvCreateMat( size.height + border*2, size.width + border*2, CV_32SC1 )); in cvDistTransform()
Dcvsurf.cpp293 sum = cvCreateMat( img->height+1, img->width+1, CV_32SC1 ); in cvExtractSURF()
298 mask_sum = cvCreateMat( img->height+1, img->width+1, CV_32SC1 ); in cvExtractSURF()
Dcvfilter.cpp1891 (type != CV_32FC1 && type != CV_64FC1 && type != CV_32SC1) ) in init_sobel_kernel()
1895 if( normalize && n > 1 && type == CV_32SC1 ) in init_sobel_kernel()
1949 if( type == CV_32SC1 ) in init_sobel_kernel()
1991 (type != CV_32FC1 && type != CV_64FC1 && type != CV_32SC1) ) in init_scharr_kernel()
1995 if( normalize && type == CV_32SC1 ) in init_scharr_kernel()
2009 if( type == CV_32SC1 ) in init_scharr_kernel()
Dcvsegmentation.cpp159 if( CV_MAT_TYPE(dst->type) != CV_32SC1 ) in cvWatershed()
/external/opencv/cxcore/src/
Dcxutils.cpp74 if( CV_MAT_DEPTH(samples->type) != CV_32F || CV_MAT_TYPE(labels->type) != CV_32SC1 ) in cvKMeans2()
96 CV_CALL( counters = cvCreateMat( 1, cluster_count, CV_32SC1 )); in cvKMeans2()
937 if( type == CV_32SC1 ) in cvRange()
1074 if( CV_MAT_TYPE( idx->type ) != CV_32SC1) in cvSort()
Dcxarithm.cpp591 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvSubRS()
620 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvSubRS()
1063 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAddS()
1092 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAddS()
Dcxcmp.cpp389 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvInRangeS()
1526 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAbsDiffS()
/external/opencv/cv/include/
Dcvcompat.h387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull ); in cvConvexHull()
590 CvMat point_counts = cvMat( image_count, 1, CV_32SC1, _point_counts ); in cvCalibrateCamera()
615 CvMat point_counts = cvMat( image_count, 1, CV_32SC1, _point_counts ); in cvCalibrateCamera_64d()
817 CvMat cluster_idx_mat = cvMat( num_samples, 1, CV_32SC1, cluster_idx ); in cvKMeans()
/external/opencv/cxcore/include/
Dcxtypes.h504 #define CV_32SC1 CV_MAKETYPE(CV_32S,1) macro
1376 #define CV_SEQ_ELTYPE_INDEX CV_32SC1 /* #(x,y) */

12