A Fast Parallel Median Filtering Algorithm Using Hierarchical Tiling
Not on the map. Why?
Abstract (arXiv)
Median filtering is a non-linear smoothing technique widely used in digital image processing to remove noise while retaining sharp edges. It is particularly well suited to removing outliers (impulse noise) or granular artifacts (speckle noise). However, the high computational cost of median filtering can be prohibitive. Sorting-based algorithms excel with small kernels but scale poorly with increasing kernel diameter, in contrast to constant-time methods characterized by higher constant factors but better scalability, such as histogram-based approaches or the 2D wavelet matrix. This paper introduces a novel algorithm, leveraging the separability of the sorting problem through hierarchical tiling to minimize redundant computations. We propose two variants: a data-oblivious selection network that can operate entirely within registers, and a data-aware version utilizing random-access memory. These achieve per-pixel complexities of O(k log(k)) and O(k), respectively, for a k × k kernel - unprecedented for sorting-based methods. Our CUDA implementation is up to 5 times faster than the current state of the art on a modern GPU and is the fastest median filter in most cases for 8-, 16-, and 32-bit data types and kernels from 3 × 3 to 75 × 75.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 36 references that are in the map. First posted on arXiv 26 Jul 2025.
Builds on
4 of 36 references.
References · 4
- 2015Stereo Matching by Training a Convolutional Neural Network to Compare Image Patchescited by 151
- 2022Onesweep: A Faster Least Significant Digit Radix Sort for GPUscited by 5
- 2016A Memory Bandwidth-Efficient Hybrid Radix Sort on GPUscited by 4
- 2014Zig-zag Sort: A Simple Deterministic Data-Oblivious Sorting Algorithm Running in O(n log n) Timecited by 2
Built on by
Not cited yet.