Commit 71c6cb9c authored by Alexander Alekhin's avatar Alexander Alekhin

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

parent 2170811e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment