One DAG to Rule Them All
Open Access
- 28 January 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 44 (7) , 3647-3658
Abstract
In this paper, we present novel strategies for optimizing the performance of many binary image processing algorithms. These strategies are collected in an open-source framework, GRAPHGEN, that is able to automatically generate optimized C++ source code implementing the desired optimizations. Simply starting from a set of rules, the algorithms introduced with the GRAPHGEN framework can generate decision trees with minimum average path-length, possibly considering image pattern frequencies, apply state prediction and code compression by the use of Directed Rooted Acyclic Graphs (DRAGs). Moreover, the proposed algorithmic solutions allow to combine different optimization techniques and significantly improve performance. Our proposal is showcased on three classical and widely employed algorithms (namely Connected Components Labeling, Thinning, and Contour Tracing). When compared to existing approaches -in 2D and 3D-, implementations using the generated optimal DRAGs perform significantly better than previous state-of-the-art algorithms, both on CPU and GPU.Keywords
This publication has 72 references indexed in Scilit:
- Open Access Series of Imaging Studies: Longitudinal MRI Data in Nondemented and Demented Older AdultsJournal of Cognitive Neuroscience, 2010
- Optimizing two-pass connected-component labeling algorithmsPattern Analysis and Applications, 2008
- Fast chain coding of region boundariesIEEE Transactions on Pattern Analysis and Machine Intelligence, 1998
- Parallel thinning with two-subiteration algorithmsCommunications of the ACM, 1989
- Topological structural analysis of digitized binary images by border followingComputer Vision, Graphics, and Image Processing, 1985
- A fast parallel algorithm for thinning digital patternsCommunications of the ACM, 1984
- A fast two-dimensional median filtering algorithmIEEE Transactions on Acoustics, Speech, and Signal Processing, 1979
- The synthetic approach to decision table conversionCommunications of the ACM, 1976
- Thinning algorithms on rectangular, hexagonal, and triangular arraysCommunications of the ACM, 1972
- Sequential Operations in Digital Picture ProcessingJournal of the ACM, 1966