Lines Matching refs:_descriptors
53 void BOWTrainer::add( const Mat& _descriptors ) in add() argument
55 CV_Assert( !_descriptors.empty() ); in add()
58 CV_Assert( descriptors[0].cols == _descriptors.cols ); in add()
59 CV_Assert( descriptors[0].type() == _descriptors.type() ); in add()
60 size += _descriptors.rows; in add()
64 size = _descriptors.rows; in add()
67 descriptors.push_back(_descriptors); in add()
111 Mat BOWKMeansTrainer::cluster( const Mat& _descriptors ) const in cluster()
114 kmeans( _descriptors, clusterCount, labels, termcrit, attempts, flags, vocabulary ); in cluster()
152 Mat _descriptors; in compute() local
153 dextractor->compute( image, keypoints, _descriptors ); in compute()
155 compute( _descriptors, imgDescriptor, pointIdxsOfClusters ); in compute()
159 *descriptors = _descriptors.clone(); in compute()