MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / ReconstructWithTwoViews

Method ReconstructWithTwoViews

src/CameraModels/Pinhole.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 bool Pinhole::ReconstructWithTwoViews(const std::vector<cv::KeyPoint>& vKeys1, const std::vector<cv::KeyPoint>& vKeys2, const std::vector<int> &vMatches12,
84 Sophus::SE3f &T21, std::vector<cv::Point3f> &vP3D, std::vector<bool> &vbTriangulated){
85 if(!tvr){
86 Eigen::Matrix3f K = this->toK_();
87 tvr = new TwoViewReconstruction(K);
88 }
89
90 return tvr->Reconstruct(vKeys1,vKeys2,vMatches12,T21,vP3D,vbTriangulated);
91 }
92
93
94 cv::Mat Pinhole::toK() {

Callers 1

Calls 2

toK_Method · 0.95
ReconstructMethod · 0.80

Tested by

no test coverage detected