• Matthew Self's avatar
    Improve perfomance of median calculation in LMedS algorithm · 7de2e1e7
    Matthew Self authored
    * Use `nth_element()` to find the median instead of `sort()` in `LMeDSPointSetRegistrator::run()`
    
    * Improves performance of this part of LMedS from `n log(n)` to `n` by avoiding doing a full sort.
    
    * Makes LMedS 2x faster for 100 points, 4x faster for 5,000 points in `EstimateAffine2D()`.
    
    * LMedS is now never more than 2x slower than RANSAC and is faster in some cases.
    7de2e1e7
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...