{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,29]],"date-time":"2026-08-29T11:15:11Z","timestamp":1788002111586,"version":"build-2784847793"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2021,7,19]],"date-time":"2021-07-19T00:00:00Z","timestamp":1626652800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Graph."],"published-print":{"date-parts":[[2021,8,31]]},"abstract":"<jats:p>\n            Median filters are a widely-used tool in graphics, imaging, machine learning, visual effects, and even audio processing. Currently, very-small-support median filters are performed using sorting networks, and large-support median filters are handled by\n            <jats:italic>O<\/jats:italic>\n            (1) histogram-based methods. However, the constant factor on these\n            <jats:italic>O<\/jats:italic>\n            (1) algorithms is large, and they scale poorly to data types above 8-bit integers. On the other hand, good sorting networks have not been described above the 7 X 7 case, leaving us with no fast way to compute integer median filters of modest size, and no fast way to compute floating point median filters for any size above 7 X 7.\n          <\/jats:p>\n          <jats:p>This paper describes new sorting networks that efficiently compute median filters of arbitrary size. The key idea is that these networks can be factored to exploit the separability of the sorting problem - they share common work across scanlines, and within small tiles of output. We also describe new ways to run sorting networks efficiently, using a sorting-specific instruction set, compiler, and interpreter.<\/jats:p>\n          <jats:p>The speed-up over prior work is more than an order of magnitude for a wide range of data types and filter sizes. For 8-bit integers, we describe the fastest median filters for all sizes up to 25 X 25 on CPU, and up to 33 X 33 on GPU. For higher-precision types, we describe the fastest median filters at all sizes tested on both CPU and GPU.<\/jats:p>","DOI":"10.1145\/3450626.3459773","type":"journal-article","created":{"date-parts":[[2021,7,20]],"date-time":"2021-07-20T00:04:27Z","timestamp":1626739467000},"page":"1-11","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":20,"title":["Fast median filters using separable sorting networks"],"prefix":"10.1145","volume":"40","author":[{"given":"Andrew","family":"Adams","sequence":"first","affiliation":[{"name":"Adobe Research"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,7,19]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1468075.1468121"},{"key":"e_1_2_2_2_1","volume-title":"International Conference on Logic for Programming Artificial Intelligence and Reasoning. Springer, 154--172","author":"Bradski G.","year":"2000","unstructured":"G. Bradski . 2000 . The OpenCV Library. Dr. Dobb's Journal of Software Tools (2000). Michael Codish and Moshe Zazon-Ivry. 2010. Pairwise cardinality networks . In International Conference on Logic for Programming Artificial Intelligence and Reasoning. Springer, 154--172 . G. Bradski. 2000. The OpenCV Library. Dr. Dobb's Journal of Software Tools (2000). Michael Codish and Moshe Zazon-Ivry. 2010. Pairwise cardinality networks. In International Conference on Logic for Programming Artificial Intelligence and Reasoning. Springer, 154--172."},{"key":"e_1_2_2_3_1","volume-title":"Proceedings of the International Conference on Digital Audio Effects (DAFx)","volume":"13","author":"Fitzgerald Derry","year":"2010","unstructured":"Derry Fitzgerald . 2010 . Harmonic\/percussive separation using median filtering . In Proceedings of the International Conference on Digital Audio Effects (DAFx) , Vol. 13 . Derry Fitzgerald. 2010. Harmonic\/percussive separation using median filtering. In Proceedings of the International Conference on Digital Audio Effects (DAFx), Vol. 13."},{"key":"e_1_2_2_4_1","first-page":"724","article-title":"Median filter for reconstructing missing color samples","volume":"4","author":"Freeman William T","year":"1988","unstructured":"William T Freeman . 1988 . Median filter for reconstructing missing color samples . US Patent 4 , 724 ,395. William T Freeman. 1988. Median filter for reconstructing missing color samples. US Patent 4,724,395.","journal-title":"US Patent"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/TIP.2017.2781375"},{"key":"e_1_2_2_6_1","unstructured":"Wenzel Jakob. 2019. Enoki: structured vectorization and differentiation on modern processor architectures. https:\/\/github.com\/mitsuba-renderer\/enoki.  Wenzel Jakob. 2019. Enoki: structured vectorization and differentiation on modern processor architectures. https:\/\/github.com\/mitsuba-renderer\/enoki."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10601-019-09302-0"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1833349.1778837"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICIP.2015.7350910"},{"key":"e_1_2_2_10_1","volume-title":"The Art of Computer Programming","author":"Knuth Donald E.","unstructured":"Donald E. Knuth . 1998. The Art of Computer Programming ( 3 rd ed.). Fundamental Algorithms, Vol . 1. Addison Wesley Longman Publishing Co. , Inc. (book). Donald E. Knuth. 1998. The Art of Computer Programming (3rd ed.). Fundamental Algorithms, Vol. 1. Addison Wesley Longman Publishing Co., Inc. (book).","edition":"3"},{"key":"e_1_2_2_11_1","unstructured":"Morgan McGuire. 2008. A Fast Small-Radius GPU Median Filter. In Published in ShaderX6. https:\/\/casual-effects.com\/research\/McGuire2008Median\/index.html ShaderX6.  Morgan McGuire. 2008. A Fast Small-Radius GPU Median Filter. In Published in ShaderX6. https:\/\/casual-effects.com\/research\/McGuire2008Median\/index.html ShaderX6."},{"key":"e_1_2_2_12_1","unstructured":"NVIDIA. 2020. NVIDIA Performance Primitives. https:\/\/developer.nvidia.com\/NPP.  NVIDIA. 2020. NVIDIA Performance Primitives. https:\/\/developer.nvidia.com\/NPP."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1142\/S0129626492000337"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btq046"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/TIP.2007.902329"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11265-013-0799-2"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2005.188"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2185520.2185528"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/SSIAI.2018.8470318"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11265-012-0715-1"},{"key":"e_1_2_2_21_1","volume-title":"Intel Integrated Performance Primitives: How to Optimize Software Applications Using Intel IPP","author":"Stewart E.","unstructured":"E. Stewart . 2004. Intel Integrated Performance Primitives: How to Optimize Software Applications Using Intel IPP . Intel Press . E. Stewart. 2004. Intel Integrated Performance Primitives: How to Optimize Software Applications Using Intel IPP. Intel Press."},{"key":"e_1_2_2_22_1","volume-title":"Secrets of optical flow estimation and their principles. In 2010 IEEE computer society conference on computer vision and pattern recognition","author":"Sun Deqing","unstructured":"Deqing Sun , Stefan Roth , and Michael J Black . 2010. Secrets of optical flow estimation and their principles. In 2010 IEEE computer society conference on computer vision and pattern recognition . IEEE , 2432--2439. Deqing Sun, Stefan Roth, and Michael J Black. 2010. Secrets of optical flow estimation and their principles. In 2010 IEEE computer society conference on computer vision and pattern recognition. IEEE, 2432--2439."},{"key":"e_1_2_2_23_1","volume-title":"Proc. Cong. Rec. EASCOM'74","author":"Tukey JW","year":"1974","unstructured":"JW Tukey . 1974 . Nonlinear (nonsuperposable) methods for smoothing data . Proc. Cong. Rec. EASCOM'74 (1974), 673--681. JW Tukey. 1974. Nonlinear (nonsuperposable) methods for smoothing data. Proc. Cong. Rec. EASCOM'74 (1974), 673--681."},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3306307.3328161"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1117\/12.948968"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1117\/12.326970"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1179352.1141918"},{"key":"e_1_2_2_28_1","unstructured":"Pavan Yalamanchili Umar Arshad Zakiuddin Mohammed Pradeep Garigipati Peter Entschev Brian Kloppenborg James Malcolm and John Melonakos. 2015. ArrayFire - A high performance software library for parallel computing with an easy-to-use API. https:\/\/github.com\/arrayfire\/arrayfire  Pavan Yalamanchili Umar Arshad Zakiuddin Mohammed Pradeep Garigipati Peter Entschev Brian Kloppenborg James Malcolm and John Melonakos. 2015. ArrayFire - A high performance software library for parallel computing with an easy-to-use API. https:\/\/github.com\/arrayfire\/arrayfire"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11263-014-0764-y"},{"key":"e_1_2_2_30_1","volume-title":"Stereo matching by training a convolutional neural network to compare image patches. The journal of machine learning research 17, 1","author":"\u017dbontar Jure","year":"2016","unstructured":"Jure \u017dbontar and Yann LeCun . 2016. Stereo matching by training a convolutional neural network to compare image patches. The journal of machine learning research 17, 1 ( 2016 ), 2287--2318. Jure \u017dbontar and Yann LeCun. 2016. Stereo matching by training a convolutional neural network to compare image patches. The journal of machine learning research 17, 1 (2016), 2287--2318."}],"container-title":["ACM Transactions on Graphics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3450626.3459773","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3450626.3459773","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:17:16Z","timestamp":1750191436000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3450626.3459773"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7,19]]},"references-count":30,"aliases":["10.1145\/3476576.3476623"],"journal-issue":{"issue":"4","published-print":{"date-parts":[[2021,8,31]]}},"alternative-id":["10.1145\/3450626.3459773"],"URL":"https:\/\/doi.org\/10.1145\/3450626.3459773","relation":{},"ISSN":["0730-0301","1557-7368"],"issn-type":[{"value":"0730-0301","type":"print"},{"value":"1557-7368","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,7,19]]},"assertion":[{"value":"2021-07-19","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}