Hi,
In the "triangulate.cpp" at line 84 we have:
// preallocate SVD matrices on stack
cv::Matx<double, 4, 4> matrA;
cv::Matx<double, 4, 4> matrU;
cv::Matx<double, 4, 1> matrW;
cv::Matx<double, 4, 4> matrV;
and A should be equals to UWV. So, isn't the dimensionality of W wrong? (4 x 4) = (4 x 4) * (4 x 1) * (4 x 4) = (4 x 1) * (4 x 4) (<--- this cannot be computed).
matrW should be:
cv::Matx<double, 4, 4> matrW;
Am I right?
Thanks.