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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user