Add the 4th input argument for calling PinholeCamera<Calibration>::project which does not take default arguments anymore.

release/4.3a0
Sungtae An 2014-11-21 20:50:30 -05:00
parent dd255eb24c
commit aebe40d19f
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public:
Matrix Ei(ZDim, 3);
for (size_t i = 0; i < this->measured_.size(); i++) {
try {
cameras[i].project(point, boost::none, Ei);
cameras[i].project(point, boost::none, Ei, boost::none);
} catch (CheiralityException& e) {
std::cout << "Cheirality exception " << std::endl;
exit(EXIT_FAILURE);