English

Fast Isotropic Median Filtering

Computer Vision and Pattern Recognition 2025-05-30 v1 Data Structures and Algorithms

Abstract

Median filtering is a cornerstone of computational image processing. It provides an effective means of image smoothing, with minimal blurring or softening of edges, invariance to monotonic transformations such as gamma adjustment, and robustness to noise and outliers. However, known algorithms have all suffered from practical limitations: the bit depth of the image data, the size of the filter kernel, or the kernel shape itself. Square-kernel implementations tend to produce streaky cross-hatching artifacts, and nearly all known efficient algorithms are in practice limited to square kernels. We present for the first time a method that overcomes all of these limitations. Our method operates efficiently on arbitrary bit-depth data, arbitrary kernel sizes, and arbitrary convex kernel shapes, including circular shapes.

Keywords

Cite

@article{arxiv.2505.22938,
  title  = {Fast Isotropic Median Filtering},
  author = {Ben Weiss},
  journal= {arXiv preprint arXiv:2505.22938},
  year   = {2025}
}

Comments

Supplemental material: https://github.com/google/fast-isotropic-median-filter

R2 v1 2026-07-01T02:47:31.558Z