Maximum empty rectangle Source: en.wikipedia.org/wiki/Maximum_empty_rectangle
"Largest rectangle" redirects here. For the article about the largest rectangular object, see Colorado.
Maximum Empty Rectangles (in green) with different bounding objects (with black outline) . The light green rectangle would be suboptimal (non-maximal) solution. A-C are axis oriented - parallel to axes of the light blue "floor" and also examples of.[1] E shows a maximal empty rectangle with arbitrary orientation
In computational geometry, the largest empty rectangle problem,[2]maximal empty rectangle problem[3] or maximum empty rectangle problem,[4] is the problem of finding a rectangle of maximal size to be placed among obstacles in the plane. There are a number of variants of the problem, depending on the particularities of this generic formulation, in particular, depending on the measure of the "size", domain (type of obstacles), and the orientation of the rectangle.
A maximal empty rectangle is a rectangle which is not contained in another empty rectangle. Each side of a maximal empty rectangle abuts an obstacle (otherwise the side may be shifted outwards, increasing the empty rectangle). An application of this kind is enumeration of "maximal white rectangles" in image segmentation R&D of image processing and pattern recognition.[6] In the contexts of many algorithms for largest empty rectangles, "maximal empty rectangles" are candidate solutions to be considered by the algorithm, since it is easily proven that, e.g., a maximum-area empty rectangle is a maximal empty rectangle.
A problem first discussed by Naamad, Lee and Hsu in 1983[1] is stated as follows: given a rectangle A containing n points, find a largest-area rectangle with sides parallel to those of A which lies within A and does not contain any of the given points. Naamad, Lee and Hsu presented an algorithm of time complexity, where s is the number of feasible solutions, i.e., maximal empty rectangles. They also proved that and gave an example in which s is quadratic in n. Afterwards a number of papers presented better algorithms for the problem.
The problem of empty isothetic rectangles among isothetic line segments was first considered[9] in 1990.[10] Later a more general problem of empty isothetic rectangles among non-isothetic obstacles was considered.[9]
In 3-dimensional space, algorithms are known for finding a largest maximal empty isothetic cuboid problem, as well as for enumeration of all maximal isothetic empty cuboids.[11]
^Baird, H. S., Jones, S. E., Fortune, S.J. (1990). "Image segmentation by shape-directed covers". [1990] Proceedings. 10th International Conference on Pattern Recognition. Vol. 1. pp. 820–825. doi:10.1109/ICPR.1990.118223. ISBN0-8186-2062-5. S2CID62735730.{{cite book}}: CS1 maint: multiple names: authors list (link)
^Subhas C Nandy; Bhargab B Bhattacharya; Sibabrata Ray (1990). "Efficient algorithms for identifying all maximal isothetic empty rectangles in VLSI layout design". Proc. FST & TCS – 10, Lecture Notes in Computer Science. Lecture Notes in Computer Science. 437: 255–269. doi:10.1007/3-540-53487-3_50. ISBN978-3-540-53487-7.