Lines Matching refs:empty
66 if (query.empty() || train.empty()) in ocl_matchSingle()
97 if(k.empty()) in ocl_matchSingle()
119 if (trainIdx.empty() || distance.empty()) in ocl_matchConvert()
152 if (trainIdx.empty() || distance.empty()) in ocl_matchDownload()
164 if (query.empty() || train.empty()) in ocl_knnMatchSingle()
197 if(k.empty()) in ocl_knnMatchSingle()
219 if (trainIdx.empty() || distance.empty()) in ocl_knnMatchConvert()
256 if (compactResult && curMatches.empty()) in ocl_knnMatchConvert()
264 if (trainIdx.empty() || distance.empty()) in ocl_knnMatchDownload()
276 if (query.empty() || train.empty()) in ocl_radiusMatchSingle()
284 if (trainIdx.empty()) in ocl_radiusMatchSingle()
306 if (k.empty()) in ocl_radiusMatchSingle()
333 if (trainIdx.empty() || distance.empty() || _nMatches.empty()) in ocl_radiusMatchConvert()
384 if (trainIdx.empty() || distance.empty() || nMatches.empty()) in ocl_radiusMatchDownload()
424 if( !descriptors[i-1].empty() ) in set()
434 if( descriptors[0].empty() ) return; in set()
448 if( !descriptors[i].empty() ) in set()
508 if( !knnMatches[i].empty() ) in convertMatches()
555 bool DescriptorMatcher::empty() const in empty() function in cv::DescriptorMatcher
557 return trainDescCollection.empty() && utrainDescCollection.empty(); in empty()
601 if( isMaskSupported() && !masks.empty() ) 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()
622 if( empty() || queryDescriptors.empty() ) in knnMatch()
637 if( empty() || queryDescriptors.empty() ) in radiusMatch()
657 return mask.empty() || mask.at<uchar>(queryIdx, trainIdx); in isPossibleMatch()
668 if( !masks[i].empty() && (countNonZero(masks[i].row(queryIdx)) == 0) ) in isMaskedOut()
672 return !masks.empty() && outCount == masks.size() ; in isMaskedOut()
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()
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()
776 if(trainDescCollection.empty()) in knnMatchImpl()
796 if(trainDescCollection.empty() && !utrainDescCollection.empty()) in knnMatchImpl()
821 normType, knn, masks.empty() ? Mat() : masks[iIdx], update, crossCheck); in knnMatchImpl()
849 if( mq.empty() && compactResult ) 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()
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()
918 if(trainDescCollection.empty() && !utrainDescCollection.empty()) in radiusMatchImpl()
939 normType, 0, masks.empty() ? Mat() : masks[iIdx], 0, false); in radiusMatchImpl()
961 if( matches[qIdx].empty() && compactResult ) in radiusMatchImpl()
1049 if (!utrainDescCollection.empty()) in train()