1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

imgproc(getPerspectiveTransform): solve(DECOMP_SVD -> LU)

This commit is contained in:
Alexander Alekhin
2018-07-13 14:39:32 +03:00
parent 2170811e48
commit 71c6cb9c22
+1 -1
View File
@@ -3061,7 +3061,7 @@ cv::Mat cv::getPerspectiveTransform( const Point2f src[], const Point2f dst[] )
b[i+4] = dst[i].y;
}
solve( A, B, X, DECOMP_SVD );
solve(A, B, X, DECOMP_LU);
M.ptr<double>()[8] = 1.;
return M;