hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CameraRigBA::matchFrameToFrame allows to use only SURF_GPU for feature detection and matching

sandeepnmenon opened this issue · comments

As shown in the code below

cv::Ptr<SurfGPU> surf = SurfGPU::instance(200.0);
std::vector<cv::KeyPoint> rkeypoints1, rkeypoints2;
cv::Mat rdtors1, rdtors2;
std::vector<cv::DMatch> rmatches;
surf->match(rimg1, rkeypoints1, rdtors1, rmask1,
rimg2, rkeypoints2, rdtors2, rmask2, rmatches);

Unlike in FeatureTracker.cc, there is no support for switching between detectors and matchers.
The code can be improved here to accept m_detectorType, m_descriptorType and m_matchTestType

Are PRs accepted? I see no PRs accepted post 2017