-
Notifications
You must be signed in to change notification settings - Fork 1k
rolling median #7315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rolling median #7315
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7315 +/- ##
==========================================
+ Coverage 99.09% 99.11% +0.01%
==========================================
Files 83 85 +2
Lines 16092 16440 +348
==========================================
+ Hits 15947 16295 +348
Misses 145 145 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
No obvious timing issues in HEAD=frollmedian Generated via commit d379478 Download link for the artifact containing the test results: ↓ atime-results.zip
|
|
Updated timings in https://github.com/jangorecki/rollbench |
mcol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some grammar fixes/suggestions.
Co-authored-by: Marco Colombo <m.colombo@ed.ac.uk>

New rolling function: median. Towards #2778
Supersede #5692
Implementation of rolling median is based on a novel algorithm "sort-median" described by @suomela in 2014 in his paper Median Filtering is Equivalent to Sorting. "sort-median" scales very well, not only for size of input vector but also for size of rolling window. Implementation here is extended to address following limitations present in the paper:
Thanks to Jukka for the paper and hints on extending the algo.
This work was supported by the Medical Research Council, UK [grant number 1573].