{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/fast-algorithms-for-morphological-operations","title":"Fast algorithms for morphological operations using run-length encoded binary images","arxiv_id":"1504.01052","date":"2015-04-04","proceeding":null,"authors":["Gregor Ehrensperger","Alexander Ostermann","Felix Schwitzer"],"abstract":"This paper presents innovative algorithms to efficiently compute erosions and\ndilations of run-length encoded (RLE) binary images with arbitrary shaped\nstructuring elements. An RLE image is given by a set of runs, where a run is a\nhorizontal concatenation of foreground pixels. The proposed algorithms extract\nthe skeleton of the structuring element and build distance tables of the input\nimage, which are storing the distance to the next background pixel on the left\nand right hand sides. This information is then used to speed up the\ncalculations of the erosion and dilation operator by enabling the use of\ntechniques which allow to skip the analysis of certain pixels whenever a hit or\nmiss occurs. Additionally the input image gets trimmed during the preprocessing\nsteps on the base of two primitive criteria. Experimental results show the\nadvantages over other algorithms. The source code of our algorithms is\navailable in C++.","url_abs":"http://arxiv.org/abs/1504.01052v1","url_pdf":"http://arxiv.org/pdf/1504.01052v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"fast-algorithms-for-morphological-operations","repo_url":"https://github.com/noxthot/erosion_dilation_rle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}