Vladislav Sovrasov
e0ff5106d3
calib3d: fix warning from gcc7
2017-08-25 16:29:59 +03:00
catree
98c78e0acd
Use directly solvePnP when the number of input points is equal to the number of model points. Enable useExtrinsicGuess parameter. Return rvec and tvec estimated using all the inliers instead of the best rvec and tvec estimated during the Minimal Sample Sets step. Document the behavior of solvePnPRansac.
2017-07-05 13:17:38 +02:00
Tong Ke
8088d6785a
Merge pull request #8585 from tonyke1993:ap3p
...
Enable p3p and ap3p in solvePnPRansac (#8585 )
* add paper info
* allow p3p and ap3p being RANSAC kernel
* keep previous code
* apply catrees comment
* fix getMat
* add comment
* add solvep3p test
* test return value
* fix warnings
2017-06-28 15:27:30 +03:00
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
2017-05-29 14:59:14 +02:00
Tong Ke
0a63ab36bb
Merge pull request #8301 from tonyke1993:p3p_alg
...
New p3p algorithm (accepted by CVPR 2017) (#8301 )
* add p3p source code
* indent 4
* update publication info
* fix filename
* interface done
* plug in done, test needed
* debugging
* for test
* a working version
* clean p3p code
* test
* test
* fix warning, blank line
* apply patch from @catree
* add reference info
* namespace, indent 4
* static solveQuartic
* put small functions to anonymous namespace
2017-04-07 09:48:34 +03:00
Pavel Rojtberg
3e708e015c
solvePnP: use CV_32F for rvec, tvec if all PnP inputs are CV_32F
2017-01-24 18:17:46 +01:00
Vladislav Sovrasov
120531cb46
Fix error threshhold in SolvePnPRansac
2016-12-12 13:22:44 +03:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Tomoaki Teshima
ce66de8e3d
calib3d: fix typo
2016-07-26 12:56:10 +09:00
Alexander Karsakov
0c9c7d5f3b
Added test for checking that solvePnPRansac accepts vector<Point3f> and Nx3 1-channel or 1xN/Nx1 3-channel matrices as input.
2016-01-12 12:13:28 +03:00
Vadim Pisarevsky
a12ec66a04
fixed useExtrinsicGuess=true case with single-precision input ( http://code.opencv.org/issues/2734 )
2015-05-25 22:40:10 +03:00
Vadim Pisarevsky
9d90b0549c
fixed bug http://code.opencv.org/issues/3882
2015-05-25 22:03:25 +03:00
Vadim Pisarevsky
3bc5958c58
added tests for http://code.opencv.org/issues/4011 and http://code.opencv.org/issues/3057 ; fixed random subset generation in both methods to increase chance for a good subset
2015-05-25 21:46:05 +03:00
Vadim Pisarevsky
2466ca02bf
removed cameraMatrix modification in the currently disabled uPnP algorithm for SolvePnP problem ( http://code.opencv.org/issues/3985 )
2015-05-23 14:19:55 +03:00
Vadim Pisarevsky
ca19ae8b5a
in solvePnPRansac call the solvePnP in the end with all the inliers to get more precise estimate
2015-03-16 16:56:26 +03:00
Vadim Pisarevsky
5c352c9146
temporarily use EPNP in SolvePnP instead of UPNP or DLS algorithms, since the latter two are not quite stable
2015-03-16 12:46:24 +03:00
Alexander Duda
60cacbfd66
solvePnPRansac: fix mask generation
2014-11-09 23:10:43 +01:00
Alexander Duda
ed55d13112
PnPRansacCallback::computeError: fix count in case of Nx3 matrices
2014-11-09 23:08:47 +01:00
Vadim Pisarevsky
1a809ca89b
fixed msvc compile warning
2014-10-17 15:56:27 +04:00
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
2014-10-17 15:02:56 +04:00
edgarriba
f328f9a10d
Removing whitespaces
2014-10-06 14:53:06 +02:00
edgarriba
7520544840
Return the estimated focal length
2014-10-02 17:05:42 +02:00
edgarriba
a5b3a205d9
Add UPNP case + Modify model_points
2014-10-02 16:45:04 +02:00
edgarriba
620387fbe1
Update perf_pnp && ransac model points
2014-08-18 21:46:16 +02:00
edgarriba
d1f4f6f4b8
DLS performance modifications
2014-08-12 16:15:19 +02:00
edgarriba
afdb67b462
SOLVEPNP_* flags
2014-08-11 16:28:09 +02:00
edgarriba
c7f6c0cb9f
Fixed warnings + RANSAC confidence to double
2014-08-11 10:17:42 +02:00
edgarriba
213241c06a
DLS test update
2014-08-11 09:44:24 +02:00
edgarriba
8b732e086d
updated ransanc model
2014-08-08 13:52:15 +02:00
edgarriba
e5a91a8be8
Modification Ransac model points
2014-08-07 14:59:01 +02:00
edgarriba
3a2cf37115
fixed conflicts
2014-08-07 12:41:47 +02:00
edgarriba
0d2bc9b0a1
Removed whitespaces
2014-08-05 17:02:06 +02:00
unknown
3fe4980ce1
Double precision for solvePnPRansac()
2014-08-04 14:20:32 +02:00
edgarriba
3e2a57ff35
Update for non Eigen users
2014-08-01 10:48:39 +02:00
edgarriba
b6b0c2aa8e
MACRO for EIGEN libraries
2014-07-30 11:22:25 +02:00
edgarriba
a3f065c409
DLS working
2014-07-25 11:01:47 +02:00
edgarriba
48c4a79d2e
DLS full algorithm compiling
2014-07-23 17:26:03 +02:00
edgarriba
730fe9e582
Hessian+ cayley2rotbar
2014-07-22 17:56:25 +02:00
edgarriba
40f6d320c2
last update
2014-07-21 09:31:45 +02:00
edgarriba
42ab7fd876
dls() no compiles
2014-07-16 00:06:29 +02:00
edgarriba
fb67ab1257
Initial DLS add
2014-07-15 09:58:49 +02:00
edgarriba
a5d40d7674
Test Run OK
2014-07-09 17:27:08 +02:00
edgarriba
ba5a8ee299
Solvepnpransac() returns boolean
2014-07-09 10:37:37 +02:00
edgarriba
747c6a2bd2
solvepnpransac() interface changed
2014-07-08 16:07:30 +02:00
edgarriba
dd52d1b526
New Ransac implementation WORKING
2014-07-04 17:20:17 +02:00
edgarriba
e0c4936c99
Input/Output Arrays (DOES NOT COMPILE)
2014-07-03 12:23:03 +02:00
edgarriba
6eb1426ea2
First version Ransac (DOESN'T COMPILE)
2014-07-02 14:53:12 +02:00
PhilLab
4ffeb01cfd
Update solvepnp.cpp
...
Clarified assert message for allowed PnP flags
2014-05-05 17:44:59 +02:00
Roman Donchenko
2c4bbb313c
Merge commit '43aec5ad' into merge-2.4
...
Conflicts:
cmake/OpenCVConfig.cmake
cmake/OpenCVLegacyOptions.cmake
modules/contrib/src/retina.cpp
modules/gpu/doc/camera_calibration_and_3d_reconstruction.rst
modules/gpu/doc/video.rst
modules/gpu/src/speckle_filtering.cpp
modules/python/src2/cv2.cv.hpp
modules/python/test/test2.py
samples/python/watershed.py
2013-08-27 13:26:44 +04:00
Roman Donchenko
e9a28f66ee
Normalized file endings.
2013-08-21 18:59:25 +04:00