Lines Matching refs:trees
189 trees = NULL; in CvRTrees()
202 delete trees[k]; in clear()
203 cvFree( &trees ); in clear()
322 trees = (CvForestTree**)cvAlloc( sizeof(trees[0])*max_ntrees ); in grow_forest()
323 memset( trees, 0, sizeof(trees[0])*max_ntrees ); in grow_forest()
372 trees[ntrees] = new CvForestTree(); in grow_forest()
373 tree = trees[ntrees]; in grow_forest()
525 result += trees[i]->predict( sample1, missing1 ) == in get_proximity()
526 trees[i]->predict( sample2, missing2 ) ? 1 : 0; in get_proximity()
551 CvDTreeNode* predicted_node = trees[k]->predict( sample, missing ); in predict()
568 result += trees[k]->predict( sample, missing )->value; in predict()
586 if( ntrees < 1 || !trees || nsamples < 1 ) in write()
608 CV_CALL( trees[k]->write( fs )); in write()
645 trees = (CvForestTree**)cvAlloc( sizeof(trees[0])*ntrees ); in read()
646 memset( trees, 0, sizeof(trees[0])*ntrees ); in read()
663 trees[k] = new CvForestTree(); in read()
664 CV_CALL(trees[k]->read( fs, (CvFileNode*)reader.ptr, this, data )); in read()
690 return (unsigned)i < (unsigned)ntrees ? trees[i] : 0; in get_tree()