Lines Matching refs:descriptors
56 if( !descriptors.empty() ) in add()
58 CV_Assert( descriptors[0].cols == _descriptors.cols ); in add()
59 CV_Assert( descriptors[0].type() == _descriptors.type() ); in add()
67 descriptors.push_back(_descriptors); in add()
72 return descriptors; in getDescriptors()
77 return descriptors.empty() ? 0 : size; in descriptorsCount()
82 descriptors.clear(); in clear()
92 CV_Assert( !descriptors.empty() ); in cluster()
95 for( size_t i = 0; i < descriptors.size(); i++ ) in cluster()
96 descCount += descriptors[i].rows; in cluster()
98 Mat mergedDescriptors( descCount, descriptors[0].cols, descriptors[0].type() ); in cluster()
99 for( size_t i = 0, start = 0; i < descriptors.size(); i++ ) in cluster()
101 Mat submut = mergedDescriptors.rowRange((int)start, (int)(start + descriptors[i].rows)); in cluster()
102 descriptors[i].copyTo(submut); in cluster()
103 start += descriptors[i].rows; in cluster()
144 … std::vector<std::vector<int> >* pointIdxsOfClusters, Mat* descriptors ) in compute() argument
158 if (descriptors) { in compute()
159 *descriptors = _descriptors.clone(); in compute()