Lines Matching defs:nclasses
122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0;
145 nclasses = cls_labels->cols;
146 data_size = nclasses*6*mat_size;
151 sum = count + nclasses;
152 productsum = sum + nclasses;
153 avg = productsum + nclasses;
154 inv_eigen_values= avg + nclasses;
155 cov_rotate_mats = inv_eigen_values + nclasses;
157 CV_CALL( c = cvCreateMat( 1, nclasses, CV_64FC1 ));
159 for( cls = 0; cls < nclasses; cls++ )
189 nclasses = cls_labels->cols;
215 for( cls = 0; cls < nclasses; cls++ )
291 int i, j, k, cls = -1, _var_count, nclasses;
297 nclasses = cls_labels->cols;
325 size = sizeof(double) * (nclasses + var_count);
340 for( i = 0; i < nclasses; i++ )
383 CV_CALL( cvReshape( &expo, &expo, 1, nclasses ));
403 int nclasses, i;
405 nclasses = cls_labels->cols;
417 for( i = 0; i < nclasses; i++ )
422 for( i = 0; i < nclasses; i++ )
427 for( i = 0; i < nclasses; i++ )
432 for( i = 0; i < nclasses; i++ )
437 for( i = 0; i < nclasses; i++ )
442 for( i = 0; i < nclasses; i++ )
461 int nclasses, i;
480 nclasses = cls_labels->cols;
482 data_size = nclasses*6*sizeof(CvMat*);
486 sum = count + nclasses;
487 productsum = sum + nclasses;
488 avg = productsum + nclasses;
489 inv_eigen_values = avg + nclasses;
490 cov_rotate_mats = inv_eigen_values + nclasses;
494 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses)
497 for( i = 0; i < nclasses; i++ )
505 nclasses)
508 for( i = 0; i < nclasses; i++ )
516 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses)
519 for( i = 0; i < nclasses; i++ )
527 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses)
530 for( i = 0; i < nclasses; i++ )
538 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses)
541 for( i = 0; i < nclasses; i++ )
549 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses)
552 for( i = 0; i < nclasses; i++ )