Nathan Godwin
2255973b0f
Merge pull request #18371 from nathanrgodwin:sqpnp_dev
...
Added SQPnP algorithm to SolvePnP
* Added sqpnp
* Fixed test case
* Added fix for duplicate point checking and inverse func reuse
* Changes for 3x speedup
Changed norm method (significant speed increase), changed nearest rotation computation to FOAM
* Added symmetric 3x3 inverse and unrolled loops
* Fixed error with SVD
* Fixed error from with indices
Indices were initialized negative. When nullspace is large, points coplanar, and rotation near 0, indices not changed.
4 years ago
catree
7ed858e38e
Fix issue with solvePnPRansac and Nx3 1-channel input when the number of points is 5. Try to uniform the input shape of projectPoints and undistortPoints.
6 years ago
catree
33cb9c5ca5
Add SOLVEPNP_IPPE for planar pose estimation. Add solvePnPGeneric function that returns all the pose solutions and the reprojection errors.
6 years ago
catree
dac31e84fb
Add solvePnPRefineLM to refine a pose according to a Levenberg-Marquardt iterative minimization process. Add solvePnPRefineVVS to refine a pose using a virtual visual servoing scheme.
6 years ago
Suleyman TURKMEN
794c14b29a
code clean up
6 years ago
Alexander Alekhin
3b15f3e3b9
avoid calling of setNumThreads() to respect user settings
7 years ago
Alexander Alekhin
7f63b31ca8
avoid calling of setNumThreads() to respect user settings
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
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
Tomoaki Teshima
46bee83005
fix the test fail on Calib3d_SolvePnP.accuracy
...
* move array size to enum
* move array size to member variable
* loosen the eps of SOLVEPNP_P3P
* loosen the eps in Calib3d_SolveP3P.accuracy
7 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
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
Alexander Alekhin
db451f20df
test: don't use points on single line for solvePnP
8 years ago
Alexander Karsakov
e784ea7178
Fixed getSubset method to support Nx3 1-channel matrices as input (3xN 1-channel matrices doesn't supported at all).
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
Vadim Pisarevsky
ca1d8c1737
fixed another compile warning from MSVC
10 years ago
Vadim Pisarevsky
e944533f01
fixed compile warnings; reenabled solvePnPRansac.concurrency test
10 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
Maksim Shabunin
1138a38dbe
Use explicit no-sse flags when SSE is off
...
Also:
- Silence clang warnings about unsupported command line arguments
- Add diagnostic print to calib3d test
- Fixed perf test relative error check
- Fix iOS build problem
10 years ago
edgarriba
7429454171
Add UPNP acc_test and perf_test
10 years ago
edgarriba
d1f4f6f4b8
DLS performance modifications
10 years ago
edgarriba
afdb67b462
SOLVEPNP_* flags
10 years ago
edgarriba
90b3086f4a
RANSAC test confidence 0.99
10 years ago
edgarriba
6c8b11afee
DLS test
10 years ago
edgarriba
d7f0b9de25
DLS test
10 years ago
edgarriba
213241c06a
DLS test update
10 years ago
edgarriba
2d26f60192
test dls
10 years ago
edgarriba
3780de9d98
test for DLS
10 years ago
edgarriba
f8c5acee4c
modified number test points
10 years ago
edgarriba
4ddc6a4a77
Update for DLS test
10 years ago
edgarriba
a4e21c8fa8
Update DLS test
10 years ago
edgarriba
9abcd88435
Upate test ransac
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Ilya Lavrenov
099ea91823
typos
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
c7d2fdc4b2
Fixed some dubious uses of tbb::task_scheduler_init.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Andrey Kamaev
e5a33723fc
Move C API of opencv_calib3d to separate file
12 years ago
Andrey Pavlenko
9aa29373b4
this test is unstable (fails from time to time), let's disable it until fixed
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Andrey Kamaev
d40083a926
Add concurrency test for solvePnPRansac
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Vadim Pisarevsky
4985c1b632
fixed hundreds of warnings from MSVC 2010.
13 years ago
Alexander Shishkov
c11551a510
added P3P method
...
added test for solvePnP
changed test for solvePnPRansac
fixed bug with mutex solvePnPRansac
13 years ago
Alexander Shishkov
8a79d414c0
fixed bug in solvePnPRansac test (thanks to Pieter-Jan Busschaert)
...
test was refactored
14 years ago
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
14 years ago
Alexander Shishkov
04461a53f1
added solvePnPRansac method
14 years ago