NASA NTRS · 20110016825
Partitioning a Gridded Rectangle into Smaller Rectangles
Abstract
A relatively simple algorithm, devised for use in an image-data-compression application, partitions a rectangular pixelated image (or any other rectangle on which a regular rectangular grid has already been superimposed) into a specified number of smaller rectangles, hereafter denoted segments. The algorithm has the following properties: No floating-point operations are needed. The segments tend to be nearly square (in the sense that their widths and heights in pixel units tend to be nearly equal). The segments tend to have nearly equal areas. The algorithm yields valid results (no zero-width or zero-height segments) as long as the specified number of segments, s, does not exceed the number of pixels (equivalently, the number of grid cells). The inputs to the algorithm are the positive integer s plus the positive integers h and w, denoting the height and width, respectively, of the rectangle in pixel units. The limit on s for a valid result is given by s less than or equal to wh.
Keep this discovery
Explore connections, maps & timelines
Klimesh, Matthew, Kiely, Aaron. 2004-07-01. Partitioning a Gridded Rectangle into Smaller Rectangles. https://ntrs.nasa.gov/citations/20110016825
Cite the original work for its findings. Save a collection to share your selection of sources.