In this paper we present a linear-time and linear-space algorithm for the decomposition of binary images into rectangles. Our contribution is a two-stage algorithm. In the first stage we compute a 1/min(h,w) -approximation for the largest rectangle starting at each point of the matrix. In the second stage the algorithm walks through the matrix, alternatively stacking, merging or removing encountered rectangles. Through an experimental evaluation, we show that our algorithm outperforms state-of-the-art linear-time algorithms for small to mediumsized rectilinear polygons.
CITATION STYLE
Subercaze, J., Gravier, C., & Rocher, P. O. (2016). A merging heuristic for the rectangle decomposition of binary matrices. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9685, pp. 310–325). Springer Verlag. https://doi.org/10.1007/978-3-319-38851-9_21
Mendeley helps you to discover research relevant for your work.