Vadim Pisarevsky
8f15a609af
mostly removed obsolete C API from calib3d (at least at the interface level) ( #13081 )
6 years ago
catree
644846c702
Add a function that draws frame axes. Useful for debugging purpose and to check the correctness of the output of a pose estimation method.
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Alexander Alekhin
bdbd0129af
calib3d: apply CV_OVERRIDE/CV_FINAL
7 years ago
catree
2e56a47f8c
Allow to use 3 points in SolvePnP if SOLVEPNP_ITERATIVE and useExtrinsicGuess==true. Add bibtex citations for P3P. Update SolvPnP tests.
7 years ago
Vladislav Sovrasov
e0ff5106d3
calib3d: fix warning from gcc7
7 years ago
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.
8 years ago
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
8 years ago
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
8 years ago
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
8 years ago
Pavel Rojtberg
3e708e015c
solvePnP: use CV_32F for rvec, tvec if all PnP inputs are CV_32F
8 years ago
Vladislav Sovrasov
120531cb46
Fix error threshhold in SolvePnPRansac
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
8 years ago
Tomoaki Teshima
ce66de8e3d
calib3d: fix typo
9 years ago
S. Garrido
e5d12502c5
Fix useExtrinsicGuess in solvePnP
9 years ago
Alexander Karsakov
0c9c7d5f3b
Added test for checking that solvePnPRansac accepts vector<Point3f> and Nx3 1-channel or 1xN/Nx1 3-channel matrices as input.
9 years ago
Alexander Karsakov
6e22020dad
Fixed pnpTask: don't copy inliers vector in case it's empty.
9 years ago
Vadim Pisarevsky
a12ec66a04
fixed useExtrinsicGuess=true case with single-precision input ( http://code.opencv.org/issues/2734 )
10 years ago
Vadim Pisarevsky
9d90b0549c
fixed bug http://code.opencv.org/issues/3882
10 years ago
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
10 years ago
Vadim Pisarevsky
2466ca02bf
removed cameraMatrix modification in the currently disabled uPnP algorithm for SolvePnP problem ( http://code.opencv.org/issues/3985 )
10 years ago
Vijay Pradeep
39ac84ff04
Fixing race condition by expanding resultsMutex lock section
...
(cherry picked from commit 042ff210d5
)
10 years ago
Vadim Pisarevsky
ca19ae8b5a
in solvePnPRansac call the solvePnP in the end with all the inliers to get more precise estimate
10 years ago
Vadim Pisarevsky
5c352c9146
temporarily use EPNP in SolvePnP instead of UPNP or DLS algorithms, since the latter two are not quite stable
10 years ago
Vijay Pradeep
49bc100e51
Removing rng_seed arg in order to maintain ABI compatibility. Hardcoding seed
10 years ago
Vijay Pradeep
1292fdf71a
Now using default arg instead of overloads
10 years ago
Vijay Pradeep
964d5a20e9
Whitespace fix
10 years ago
Vijay Pradeep
177478a8ad
overload instead of default arg for ABI backwards compatibility. rng_seed is now 'int' to support python port
10 years ago
Vijay Pradeep
a1c5740044
solvePnPRansac now accepts a seed and is deterministic
10 years ago
Vijay Pradeep
042ff210d5
Fixing race condition by expanding resultsMutex lock section
10 years ago
Alexander Duda
60cacbfd66
solvePnPRansac: fix mask generation
10 years ago
Alexander Duda
ed55d13112
PnPRansacCallback::computeError: fix count in case of Nx3 matrices
10 years ago
Vadim Pisarevsky
1a809ca89b
fixed msvc compile warning
10 years ago
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
10 years ago
Vadim Pisarevsky
c422bdc3f8
fixed some more compile errors and test failures
10 years ago
edgarriba
f328f9a10d
Removing whitespaces
10 years ago
edgarriba
7520544840
Return the estimated focal length
10 years ago
edgarriba
a5b3a205d9
Add UPNP case + Modify model_points
10 years ago
edgarriba
620387fbe1
Update perf_pnp && ransac model points
10 years ago
edgarriba
d1f4f6f4b8
DLS performance modifications
10 years ago
edgarriba
afdb67b462
SOLVEPNP_* flags
10 years ago
edgarriba
c7f6c0cb9f
Fixed warnings + RANSAC confidence to double
10 years ago
edgarriba
213241c06a
DLS test update
10 years ago
edgarriba
8b732e086d
updated ransanc model
10 years ago
edgarriba
e5a91a8be8
Modification Ransac model points
10 years ago
edgarriba
0d2bc9b0a1
Removed whitespaces
11 years ago
unknown
3fe4980ce1
Double precision for solvePnPRansac()
11 years ago
edgarriba
3e2a57ff35
Update for non Eigen users
11 years ago
edgarriba
b6b0c2aa8e
MACRO for EIGEN libraries
11 years ago