示例#1
0
 /* ctor */ SURFFeatureDetextractor(cv::Ptr<cv::xfeatures2d::SURF> surf = cv::xfeatures2d::SURF::create())
     :
     m_hessianThreshold(surf->getHessianThreshold()),
     m_levels          (surf->getNOctaves()        ),
     m_octaveLayers    (surf->getNOctaveLayers()   ),
     m_extended        (surf->getExtended()        ),
     m_upright         (surf->getUpright()         ),
     CvSuperDetextractorAdaptor(surf) {}
示例#2
0
 /* ctor */ KAZEFeatureDetextractor(cv::Ptr<cv::KAZE> kaze = cv::KAZE::create())
     :
     m_extended       (kaze->getExtended()     ),
     m_upright        (kaze->getUpright()      ),
     m_threshold      (kaze->getThreshold()    ),
     m_levels         (kaze->getNOctaves()     ),
     m_octaveLayers   (kaze->getNOctaveLayers()),
     m_diffusivityType(DiffuseType2String(kaze->getDiffusivity())),
     CvSuperDetextractorAdaptor(kaze) {}
示例#3
0
 /* ctor */ AKAZEFeatureDetextractor(cv::Ptr<cv::AKAZE> akaze = cv::AKAZE::create())
     :
     m_descriptorType    (DescriptorType2String(akaze->getDescriptorType())),
     m_descriptorBits    (akaze->getDescriptorSize()    ),
     m_descriptorChannels(akaze->getDescriptorChannels()),
     m_threshold         (akaze->getThreshold()         ),
     m_levels            (akaze->getNOctaves()          ),
     m_octaveLayers      (akaze->getNOctaveLayers()     ),
     m_diffusivityType   (KAZEFeatureDetextractor::DiffuseType2String(akaze->getDiffusivity())),
     CvSuperDetextractorAdaptor(akaze) {}