100+ Times Faster Weighted Median Filter (WMF)

Abstract

Weighted median, in the form of either solver or filter, has been employed in a wide range of computer vision solutions for its beneficial properties in sparsity representation. But it is hard to be accelerated due to the spatially varying weight and the median property. We propose a few efficient schemes to reduce computation complexity from O(r^2) to O(r) where r is the kernel size. Our contribution is on a new joint-histogram representation, median tracking, and a new data structure that enables fast data access. The effectiveness of these schemes is demonstrated on optical flow estimation, stereo matching, structure-texture separation, image filtering, to name a few. The running time is largely shortened from several minutes to less than 1 second. The source code is provided in the project website.

Cite

Text

Zhang et al. "100+ Times Faster Weighted Median Filter (WMF)." Conference on Computer Vision and Pattern Recognition, 2014. doi:10.1109/CVPR.2014.362

Markdown

[Zhang et al. "100+ Times Faster Weighted Median Filter (WMF)." Conference on Computer Vision and Pattern Recognition, 2014.](https://mlanthology.org/cvpr/2014/zhang2014cvpr-times/) doi:10.1109/CVPR.2014.362

BibTeX

@inproceedings{zhang2014cvpr-times,
  title     = {{100+ Times Faster Weighted Median Filter (WMF)}},
  author    = {Zhang, Qi and Xu, Li and Jia, Jiaya},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2014},
  doi       = {10.1109/CVPR.2014.362},
  url       = {https://mlanthology.org/cvpr/2014/zhang2014cvpr-times/}
}