projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2170811
)
imgproc(getPerspectiveTransform): solve(DECOMP_SVD -> LU)
author
Alexander Alekhin
<alexander.alekhin@intel.com>
Fri, 13 Jul 2018 11:39:32 +0000
(14:39 +0300)
committer
Alexander Alekhin
<alexander.alekhin@intel.com>
Fri, 13 Jul 2018 12:31:33 +0000
(15:31 +0300)
modules/imgproc/src/imgwarp.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/imgwarp.cpp
b/modules/imgproc/src/imgwarp.cpp
index
9e069bc
..
dea61f8
100644
(file)
--- a/
modules/imgproc/src/imgwarp.cpp
+++ b/
modules/imgproc/src/imgwarp.cpp
@@
-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;