Lines Matching refs:trainDescCollection
533 … trainDescCollection.insert( trainDescCollection.end(), descriptors.begin(), descriptors.end() ); in add()
538 … trainDescCollection.insert( trainDescCollection.end(), descriptors.begin(), descriptors.end() ); in add()
546 return trainDescCollection; in getTrainDescriptors()
552 trainDescCollection.clear(); in clear()
557 return trainDescCollection.empty() && utrainDescCollection.empty(); in empty()
604 size_t imageCount = std::max(trainDescCollection.size(), utrainDescCollection.size() ); in checkMasks()
608 … if( !masks[i].empty() && (!trainDescCollection[i].empty() || !utrainDescCollection[i].empty() ) ) in checkMasks()
610 …int rows = trainDescCollection[i].empty() ? utrainDescCollection[i].rows : trainDescCollection[i].… in checkMasks()
689 matcher->trainDescCollection.resize(trainDescCollection.size()); in clone()
690 std::transform( trainDescCollection.begin(), trainDescCollection.end(), in clone()
691 matcher->trainDescCollection.begin(), clone_op ); in clone()
721 …int trainDescType = trainDescCollection.empty() ? utrainDescCollection[0].type() : trainDescCollec… in knnMatchImpl()
727 if( _queryDescriptors.empty() || (trainDescCollection.empty() && utrainDescCollection.empty())) in knnMatchImpl()
736 if(!trainDescCollection.empty() && !utrainDescCollection.empty()) in knnMatchImpl()
742 trainDescCollection.push_back(tempMat); in knnMatchImpl()
747 …int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)tr… in knnMatchImpl()
748 …Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescColle… in knnMatchImpl()
749 int trainDescOffset = trainDescCollection.empty() ? (int)utrainDescCollection[0].offset : 0; in knnMatchImpl()
757 if(trainDescCollection.empty()) in knnMatchImpl()
767 if(ocl_match(_queryDescriptors, trainDescCollection[0], matches, normType)) in knnMatchImpl()
776 if(trainDescCollection.empty()) in knnMatchImpl()
786 …if(ocl_knnMatch(_queryDescriptors, trainDescCollection[0], matches, knn, normType, compactResult) ) in knnMatchImpl()
796 if(trainDescCollection.empty() && !utrainDescCollection.empty()) in knnMatchImpl()
802 trainDescCollection.push_back(tempMat); in knnMatchImpl()
811 int iIdx, imgCount = (int)trainDescCollection.size(), update = 0; in knnMatchImpl()
819 CV_Assert( trainDescCollection[iIdx].rows < IMGIDX_ONE ); in knnMatchImpl()
820 batchDistance(queryDescriptors, trainDescCollection[iIdx], dist, dtype, nidx, in knnMatchImpl()
868 …int trainDescType = trainDescCollection.empty() ? utrainDescCollection[0].type() : trainDescCollec… in radiusMatchImpl()
871 if( _queryDescriptors.empty() || (trainDescCollection.empty() && utrainDescCollection.empty())) in radiusMatchImpl()
880 if(!trainDescCollection.empty() && !utrainDescCollection.empty()) in radiusMatchImpl()
886 trainDescCollection.push_back(tempMat); in radiusMatchImpl()
891 …int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)tr… in radiusMatchImpl()
892 …Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescColle… in radiusMatchImpl()
893 int trainDescOffset = trainDescCollection.empty() ? (int)utrainDescCollection[0].offset : 0; in radiusMatchImpl()
899 if (trainDescCollection.empty()) in radiusMatchImpl()
909 …if (ocl_radiusMatch(_queryDescriptors, trainDescCollection[0], matches, maxDistance, normType, com… in radiusMatchImpl()
918 if(trainDescCollection.empty() && !utrainDescCollection.empty()) in radiusMatchImpl()
924 trainDescCollection.push_back(tempMat); in radiusMatchImpl()
932 int iIdx, imgCount = (int)trainDescCollection.size(); in radiusMatchImpl()
938 batchDistance(queryDescriptors, trainDescCollection[iIdx], dist, dtype, noArray(), in radiusMatchImpl()
1051 CV_Assert(trainDescCollection.size() == 0); in train()
1053 trainDescCollection.push_back(utrainDescCollection[i].getMat(ACCESS_READ)); in train()
1055 mergedDescriptors.set( trainDescCollection ); in train()
1264 std::transform( trainDescCollection.begin(), trainDescCollection.end(), in clone()
1265 matcher->trainDescCollection.begin(), clone_op ); in clone()