Home
last modified time | relevance | path

Searched refs:_descriptors (Results 1 – 14 of 14) sorted by relevance

/external/opencv3/modules/features2d/src/
Dbagofwords.cpp53 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
[all …]
Dfeature2d.cpp115 OutputArrayOfArrays _descriptors ) in compute() argument
117 if( !_descriptors.needed() ) in compute()
126 CV_Assert( _descriptors.kind() == _InputArray::STD_VECTOR_MAT ); in compute()
128 vector<Mat>& descriptors = *(vector<Mat>*)_descriptors.getObj(); in compute()
Dmatchers.cpp516 void DescriptorMatcher::add( InputArrayOfArrays _descriptors ) in add() argument
518 if(_descriptors.isUMatVector()) in add()
521 _descriptors.getUMatVector(descriptors); in add()
524 else if(_descriptors.isUMat()) in add()
526 std::vector<UMat> descriptors = std::vector<UMat>(1, _descriptors.getUMat()); in add()
529 else if(_descriptors.isMatVector()) in add()
532 _descriptors.getMatVector(descriptors); in add()
535 else if(_descriptors.isMat()) in add()
537 std::vector<Mat> descriptors = std::vector<Mat>(1, _descriptors.getMat()); in add()
541 …CV_Assert( _descriptors.isUMat() || _descriptors.isUMatVector() || _descriptors.isMat() || _descri… in add()
[all …]
Dorb.cpp947 OutputArray _descriptors, bool useProvidedKeypoints ) in detectAndCompute() argument
952 bool do_descriptors = _descriptors.needed(); in detectAndCompute()
1114 _descriptors.release(); in detectAndCompute()
1118 _descriptors.create(nkeypoints, dsize, CV_8U); in detectAndCompute()
1158 UMat udescriptors = _descriptors.getUMat(); in detectAndCompute()
1170 Mat descriptors = _descriptors.getMat(); in detectAndCompute()
Dbrisk.cpp618 OutputArray _descriptors, bool useProvidedKeypoints) in detectAndCompute() argument
623 bool doDescriptors = _descriptors.needed(); in detectAndCompute()
625 …computeDescriptorsAndOrOrientation(_image, _mask, keypoints, _descriptors, doDescriptors, doOrient… in detectAndCompute()
631 … OutputArray _descriptors, bool doDescriptors, bool doOrientation, in computeDescriptorsAndOrOrientation() argument
689 _descriptors.create((int)ksize, strings_, CV_8U); in computeDescriptorsAndOrOrientation()
690 descriptors = _descriptors.getMat(); in computeDescriptorsAndOrOrientation()
/external/opencv3/modules/ts/src/
Dcuda_perf.cpp289 void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors) in sortKeyPoints() argument
303 if (_descriptors.needed()) in sortKeyPoints()
305 descriptors = _descriptors.getMat(); in sortKeyPoints()
318 if (_descriptors.needed()) in sortKeyPoints()
319 new_descriptors.copyTo(_descriptors); in sortKeyPoints()
/external/opencv3/modules/cudafeatures2d/src/
Dorb.cpp352 …mage, InputArray _mask, std::vector<KeyPoint>& keypoints, OutputArray _descriptors, bool useProvid…
353 …utArray _image, InputArray _mask, OutputArray _keypoints, OutputArray _descriptors, bool useProvid…
406 void computeDescriptors(OutputArray _descriptors);
573 …mage, InputArray _mask, std::vector<KeyPoint>& keypoints, OutputArray _descriptors, bool useProvid… in detectAndCompute() argument
577 detectAndComputeAsync(_image, _mask, d_keypoints_, _descriptors, false, Stream::Null()); in detectAndCompute()
581 …utArray _image, InputArray _mask, OutputArray _keypoints, OutputArray _descriptors, bool useProvid… in detectAndComputeAsync() argument
587 if (_descriptors.needed()) in detectAndComputeAsync()
589 computeDescriptors(_descriptors); in detectAndComputeAsync()
722 void ORB_Impl::computeDescriptors(OutputArray _descriptors) in computeDescriptors() argument
733 _descriptors.release(); in computeDescriptors()
[all …]
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py100 self._descriptors = {}
126 self._descriptors[desc.full_name] = desc
203 return self._descriptors[symbol].file
235 if full_name not in self._descriptors:
237 return self._descriptors[full_name]
398 self._descriptors[desc_name] = desc
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py79 self._descriptors = {}
151 if full_name not in self._descriptors:
153 return self._descriptors[full_name]
293 self._descriptors[desc_name] = desc
/external/opencv/cv/src/
Dcvsurf.cpp254 CvSeq** _keypoints, CvSeq** _descriptors, in cvExtractSURF() argument
261 if( _descriptors ) in cvExtractSURF()
262 *_descriptors = 0; in cvExtractSURF()
304 if( _descriptors ) in cvExtractSURF()
411 if( !_descriptors ) in cvExtractSURF()
554 if( _descriptors ) in cvExtractSURF()
555 *_descriptors = descriptors; in cvExtractSURF()
/external/opencv3/modules/ts/include/opencv2/ts/
Dcuda_perf.hpp109 …tKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors = cv::noArray()…
/external/opencv3/modules/cudaobjdetect/src/
Dhog.cpp439 OutputArray _descriptors, in compute() argument
457_descriptors.create(wins_per_img.area(), static_cast<int>(blocks_per_win.area() * block_hist_size)… in compute()
458 GpuMat descriptors = _descriptors.getGpuMat(); in compute()
/external/opencv3/modules/stitching/src/
Dmatchers.cpp416 Mat _descriptors; in find() local
448 _descriptors.push_back(descriptors.getMat(ACCESS_READ)); in find()
453 _descriptors.copyTo(features.descriptors); in find()
/external/opencv3/modules/objdetect/src/
Dhog.cpp1326 static bool ocl_compute(InputArray _img, Size win_stride, std::vector<float>& _descriptors, int des… in ocl_compute() argument
1390 descriptors.reshape(1, (int)descriptors.total()).getMat(ACCESS_READ).copyTo(_descriptors); in ocl_compute()