Abstract
Median filtering is a well-known method used in a wide range of application frameworks as well as a standalone filter, especially for salt-and-pepper denoising. It is able to highly reduce the power of noise while minimizing edge blurring. Currently, existing algorithms and implementations are quite efficient but may be improved as far as processing speed is concerned, which has led us to further investigate the specificities of modern GPUs. In this paper, we propose the GPU implementation of fixed-size kernel median filters, able to output up to 1.85 billion pixels per second on C2070 Tesla cards. Based on a Branchless Vectorized Median class algorithm and implemented through memory fine tuning and the use of GPU registers, our median drastically outperforms existing implementations, resulting, as far as we know, in the fastest median filter to date.
Similar content being viewed by others
References
Batcher, K.E. (1968). Sorting networks and their applications. In Proceedings of the April 30–May 2, 1968, spring joint computer conference, AFIPS ’68 (Spring) (pp. 307–314). New York: ACM. doi:10.1145/1468075.1468121, http://doi.acm.org/10.1145/1468075.1468121.
Chen, W., Beister, M., Kyriakou, Y., Kachelries, M. (2009). High performance median filtering using commodity graphics hardware. In Nuclear science symposium conference record (NSS/MIC), 2009 IEEE (pp. 4142–4147). doi:10.1109/NSSMIC.2009.5402323.
Huang, T.S. (1981). Two-dimensional digital signal processing II: transforms and median filters. New York, Inc. Secaucus: Springer- Verlag.
Kachelriess, M. (2009). Branchless vectorized median filtering. In Nuclear science symposium conference record (NSS/MIC), 2009 IEEE (pp. 4099–4105). doi:10.1109/NSSMIC.2009.5402362.
Sanchez, R., & Rodiguez, P. (2012). Highly parallelable bidimensional median filter for modern parallel programming models. Journal of Signal Processing Systems, 1–15. doi:10.1007/s11265-012-0715-1.
Tukey, J.W. (1977). Exploratory data analysis. MA: Addison-Wesley.
Weiss, B. (2006). Fast median and bilateral filtering. In ACM SIGGRAPH 2006 papers, SIGGRAPH ’06 (pp. 519–526). New York: ACM. doi:10.1145/1179352.1141918, http://doi.acm.org/10.1145/1179352.1141918.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Perrot, G., Domas, S. & Couturier, R. Fine-tuned High-speed Implementation of a GPU-based Median Filter. J Sign Process Syst 75, 185–190 (2014). https://doi.org/10.1007/s11265-013-0799-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11265-013-0799-2