예제 #1
0
 AGASTFeatureDetector(cv::Ptr<cv::AgastFeatureDetector> agast = cv::AgastFeatureDetector::create())
 : m_agast(agast),
   m_threshold(agast->getThreshold()        ),
   m_nonmaxSup(agast->getNonmaxSuppression()),
   m_neighbour(NeighbourType2String(agast->getType())),
   CvFeatureDetectorAdaptor(agast) {}
예제 #2
0
 FASTFeatureDetector(cv::Ptr<cv::FastFeatureDetector> fast = cv::FastFeatureDetector::create())
 : m_fast(fast),
   m_threshold(fast->getThreshold()),
   m_nonmaxSup(fast->getNonmaxSuppression()),
   m_neighbour(Type2NeighbourCode(m_fast->getType())),
   CvFeatureDetectorAdaptor(fast) {}