Lines Matching refs:cat_map

49     var_idx = var_type = cat_count = cat_ofs = cat_map =  in CvDTreeTrainData()
63 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
157 cvNorm( data->cat_map, cat_map, CV_C ) < FLT_EPSILON) ) in CV_IMPLEMENT_QSORT_EX()
267 CV_CALL( cat_map = cvCreateMat( 1, cat_count->cols*10 + 128, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
393 if( cat_map->cols < total_c_count + c_count ) in CV_IMPLEMENT_QSORT_EX()
395 tmp_map = cat_map; in CV_IMPLEMENT_QSORT_EX()
396 CV_CALL( cat_map = cvCreateMat( 1, in CV_IMPLEMENT_QSORT_EX()
397 MAX(cat_map->cols*3/2,total_c_count+c_count), CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
399 cat_map->data.i[i] = tmp_map->data.i[i]; in CV_IMPLEMENT_QSORT_EX()
403 c_map = cat_map->data.i + total_c_count; in CV_IMPLEMENT_QSORT_EX()
502 cat_map->cols = MAX( total_c_count, 1 ); in CV_IMPLEMENT_QSORT_EX()
779 cat_map->data.i[cat_ofs->data.i[cat_var_count]+src[idx]]; in get_vectors()
922 cvReleaseMat( &cat_map ); in clear()
1057 cvWrite( fs, "cat_map", cat_map ); in write_params()
1168 CV_CALL( cat_map = (CvMat*)cvReadByName( fs, node, "cat_map" )); in read_params()
1170 if( !CV_IS_MAT(cat_count) || !CV_IS_MAT(cat_map) || in read_params()
1174 cat_map->cols != 1 && cat_map->rows != 1 || in read_params()
1175 CV_MAT_TYPE(cat_map->type) != CV_32SC1 ) in read_params()
1194 if( cat_map->cols + cat_map->rows - 1 != total_c_count ) in read_params()
2330 node->value = data->cat_map->data.i[ in calc_node_value()
2934 cmap = data->cat_map ? data->cat_map->data.i : 0; in predict()