Hierarchical Recursive Running Median

05/19/2011
by   Alexander Alekseychuk, et al.
0

To date, the histogram-based running median filter of Perreault and Hébert is considered the fastest for 8-bit images, being roughly O(1) in average case. We present here another approximately constant time algorithm which further improves the aforementioned one and exhibits lower associated constant, being at the time of writing the lowest theoretical complexity algorithm for calculation of 2D and higher dimensional median filters. The algorithm scales naturally to higher precision (e.g. 16-bit) integer data without any modifications. Its adaptive version offers additional speed-up for images showing compact modes in gray-value distribution. The experimental comparison to the previous constant-time algorithm defines the application domain of this new development, besides theoretical interest, as high bit depth data and/or hardware without SIMD extensions. The C/C++ implementation of the algorithm is available under GPL for research purposes.

READ FULL TEXT
research
05/25/2021

Diameter, radius and all eccentricities in linear time for constant-dimension median graphs

Median graphs form the class of graphs which is the most studied in metr...
research
10/06/2021

Subquadratic-time algorithm for the diameter and all eccentricities on median graphs

On sparse graphs, Roditty and Williams [2013] proved that no O(n^2-ε)-ti...
research
12/07/2018

Approximate Calculation of Tukey's Depth and Median With High-dimensional Data

We present a new fast approximate algorithm for Tukey (halfspace) depth ...
research
08/20/2023

Improved Algorithms for Integer Complexity

The integer complexity f(n) of a positive integer n is defined as the mi...
research
02/10/2019

Scalable Fair Clustering

We study the fair variant of the classic k-median problem introduced by ...
research
04/22/2022

An Algorithm to Find Sums of Consecutive Powers of Primes

We present and analyze an algorithm to enumerate all integers n≤ x that ...

Please sign up or login with your details

Forgot password? Click here to reset