草庐IT

stereoRectifyUncalibrated

全部标签

c++ - opencv stereoRectifyUncalibrated 的问题

我一直在尝试使用OpenCVstereoRectifyUncalibrated纠正和构建一对图像的视差映射,但我没有得到很好的结果。我的代码是:templateTconvertNumber(string&number){istringstreamss(number);Tt;ss>>t;returnt;}voidreadPoints(vector&points,stringfilename){fstreamfilest(filename.c_str(),ios::in);stringline;assert(filest!=NULL);getline(filest,line);do{int