Olexa Bilaniuk
27fd810b6f
Silenced build warnings on Windows.
10 years ago
Olexa Bilaniuk
736b42b372
Refactorings and renamings.
...
- Deleted "RefC" from names of external-interface functions.
- Renamed rhorefc.[cpp|hpp] to rho.[cpp|hpp]
- Introduced RHO_HEST base class, from which RHO_HEST_REFC inherits.
- rhoInit() currently only returns a Ptr<RHO_HEST_REFC>, but in the
future it will be allowed to return pointers to other derived classes,
depending on the values returned by cv::checkHardwareSupport().
10 years ago
Olexa Bilaniuk
408f93340a
External interface converted to use OpenCV Ptr<> smart pointer.
10 years ago
Olexa Bilaniuk
f592321771
Internal buffers converted to use OpenCV dynamic memory allocation.
10 years ago
Olexa Bilaniuk
bb01231990
Substituted the NaN check with OpenCV's implementation.
10 years ago
Olexa Bilaniuk
16f36a5fda
Replaced division by reciprocal + multiply in a few places.
10 years ago
Olexa Bilaniuk
e1abc416cf
Changed seeding in initialization.
...
The call to rand()/random() is now a call to (unsigned)cv::theRNG().
10 years ago
Olexa Bilaniuk
0f6ea38eac
Added OPENCV_ prefix to #include guard.
10 years ago
Olexa Bilaniuk
a2affe70d9
Deleted last remnants of restrict keyword.
10 years ago
Olexa Bilaniuk
b229d6b7ac
Moved constants to cv:: namespace.
10 years ago
Maksim Shabunin
37c74e38f4
Python support
10 years ago
Maksim Shabunin
457123027e
Modified java wrapping mechanism
10 years ago
Dmitry-Me
4e582b131b
Reduce veriables scope, move declaration to first use
10 years ago
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
10 years ago
Olexa Bilaniuk
5748cea80d
Removed unnecessary precision in damped Cholesky decomposition.
...
Cholesky decomposition is stable; It is not necessary to carry it out
internally at double precision if the result will be truncated to single
precision when stored.
10 years ago
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
10 years ago
Dmitry-Me
2311504c44
Reduce variables scope
10 years ago
Mansour Moufid
b7be49426d
Cast some image coordinates and sizes to double.
10 years ago
Olexa Bilaniuk
f454929d9c
PRNG changes: xorshift128+ algorithm, and seeding API.
...
- Switched to the extremely fast, while simple and high-quality,
xorshift128+ PRNG algorithm by Sebastiano Vigna in "Further scramblings
of Marsaglia's xorshift generators. CoRR, abs/1402.6246, 2014" (2^128-1
period, passes BigCrush tests). Performance improved by 10% over
random().
- Added an API to allow seeding with a specified seed, rather than using
rand() or random(). This allows deterministic, reproducible results in
tests using our algorithm (although findHomography() does not yet
support passing an entropy source on its own end).
10 years ago
Vijay Pradeep
49bc100e51
Removing rng_seed arg in order to maintain ABI compatibility. Hardcoding seed
10 years ago
Maksim Shabunin
da383e65e2
Remove deprecated methods from cv::Algorithm
10 years ago
Vladislav Vinogradov
a932d8aba1
use full qualified name for all internal namespaces to prevent ambiguous symbol errors
10 years ago
Olexa Bilaniuk
e5696bc5e6
Whitespace change reverts to minimize delta w.r.t master.
10 years ago
Hamid Bazargani
5070f2a334
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
10 years ago
Hamid Bazargani
44f906eb35
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
10 years ago
Hamid Bazargani
e22678018b
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
10 years ago
Hamid Bazargani
42176f8eb1
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
10 years ago
ASUS
9a555063e8
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
10 years ago
ASUS
6dbf13d7b5
saveBestModel() is modified. accuracy test is passed.
10 years ago
Olexa Bilaniuk
ff2509af56
Fixed printouts in testcase to blame the correct method for a failure.
...
Previously, certain test failures by the method RHO would result in an
error blaming RANSAC instead. The fix involves a parameter change to
several functions in test_homography.cpp.
10 years ago
Dmitry-Me
c3f8fc41b7
Parameters should have been passed by reference
10 years ago
Olexa Bilaniuk
ccd33a721e
Fixed build failures related to designSPRTTest().
10 years ago
Olexa Bilaniuk
adac8c04bb
Converted to C++ style, + bugfixes.
...
The code has been refactored in response to feedback on Pull Request
Also, outputZeroH() now also zeroes the inlier set, much like
outputModel().
10 years ago
Olexa Bilaniuk
87c2b8197a
Bug fixes in mask output.
...
Previously, the output mask of inliers could remain completely
uninitialized. This fix is the first part of a solution.
10 years ago
Olexa Bilaniuk
b90800f0c7
Corrected typo in comment.
...
The inverted JtJ does not multiply itself, but rather Jte. Correct this
in the comment.
10 years ago
Olexa Bilaniuk
2609e77af7
Silence spurious loss-of-data warnings from Windows.
...
Added explicit casts to silence warnings in fundam.cpp and rhorefc.cpp.
10 years ago
Olexa Bilaniuk
ce0570b777
Splitting vectorized code into separate branch.
...
Deleted SSE code from master branch.
Slight cleanups in fundam.cpp were made as a consequence.
10 years ago
Olexa Bilaniuk
69b146412a
Edited Doxygen documentation in the module calib3d.
...
Added a mention within calib3d.hpp that the flag RHO is available as an
option on calls to findHomography().
10 years ago
Olexa Bilaniuk
02124f19e6
Further LevMarq improvements.
...
Implemented a damping-parameter choice strategy similar to that
described in http://www2.imm.dtu.dk/documents/ftp/tr99/tr05_99.pdf .
Removed a few debug statements.
Chosen a new starting lambda value, 0.01.
We now actually output the mask of inliers.
10 years ago
Olexa Bilaniuk
ff91af825d
LevMarq made semi-functional.
...
Replaced the complex rules OpenCV uses to select lambda with a naive but
fast heuristic. It's imperfect but produces good results. It is still
subject to the same problem as OpenCV - namely, on occasion LevMarq will
make a poor result even worse.
10 years ago
Vijay Pradeep
1292fdf71a
Now using default arg instead of overloads
10 years ago
Olexa Bilaniuk
4401095b38
Optimizations to Jacobian and error calculations.
...
Deleted multiplications by zero and consequent additions of zero terms.
10 years ago
Olexa Bilaniuk
7fca146b21
More LevMarq bugfixes.
...
LevMarq now doesn't outright fail, but doesn't seem to improve things
much if at all.
10 years ago
Olexa Bilaniuk
33a3fba2d1
Work on LevMarq code.
...
Refactoring of Cholesky decomposition.
Fix for memory corruption bug.
LevMarq as a whole still non-functional.
10 years ago
Timur Sattarov
4762728fd5
More sensible error messages
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
Josep Bosch
75c99d65a5
Fisheye calibration methods available now in python
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