Construction of isothetic covers of a digital object: A combinatorial approach
Introduction
Determination of the (minimum-)maximum-area (outer) inner isothetic cover corresponding to a 2D digital object is a problem of practical relevance to various fields. Given a set of isothetic grid lines under the object plane, an isothetic cover corresponds to a collection of isothetic polygons, which bears a structural and geometric relation with the concerned object, and hence can be useful to many interesting applications, such as VLSI layout design, robot grasping and navigation, rough sets, inner and outer approximations of polytopes [3], and document image analysis. In VLSI layout design, computation of a minimum-area safety region, referred as the classical safety zone problem [1], may be necessary to ensure the correctness of design rules before fabricating an integrated circuit. The trade-off lies between the minimization of total area of the fabricated parts (an obvious economic constraint) and the necessary electrical relationship (insulation or contact) in the presence of possible production fluctuations [2]. In robotics, identification of free configuration space (path-planner) is a pertinent problem in robot navigation. For example, a real-time robot motion planner often uses standard graphics hardware to rasterize the configuration space into a series of bitmap slices, and then applies a dynamic programming technique to calculate paths in this rasterized space [4]. The motion paths produced by the planner should be minimal with respect to the Manhattan distance metric. Similarly, for grasping a 3D object, its outer isothetic cover may be helpful, as the mechanical fingers of a robot may be constrained by only axis-parallel movements [5], [6], [7]. In many applications of rough sets, computation of the lower and upper approximations of a rough set is required [8], [9], [10], [11]. For example, in image mining [12], [13], a challenging problem is to discover valid, novel, potentially useful, and ultimately understandable knowledge from a large image database, in order to overcome the curse of dimensionality. Solutions, using rough-set concepts, mainly include several partitioning and dimension-reduction algorithms, where the (possibly not equi-spaced) demarcating lines (analogous to the background grid lines used while finding isothetic covers) are specified by the corresponding feature values (low, medium, high, etc.). Subsequently, a tight isothetic cover of the region of interest can be obtained following these demarcating lines. Deriving the electronic version of a paper document for the purpose of storage, retrieval, and interpretation, requires an efficient representation scheme. A document representation involves the steps of skew detection, page segmentation, geometric layout analysis, and logical layout analysis, for which isothetic polygons can be used [14], [15], [16], [17]. For example, in the page segmentation method [18], a document page image is cut into polygonal blocks using the inter-column and the inter-paragraph gaps as horizontal and vertical lines, followed by the construction of simple isothetic polygonal blocks using an intersection table. Isothetic polygons can also be used for ground truthing of complex documents [19], [20].
The problem addressed in this paper is stated as follows. Given a 2D digital object S (Definition 3) registered on a set of horizontal and vertical grid lines (Definition 5), the problem is to find the tight (outer and inner) isothetic covers (Definition 9, Definition 10) of S. Clearly, the shape of an isothetic cover depends on the resolution of the grid or the grid size (Definition 5) and on registration of the object with the underlying grid. The major difference of our work with the existing ones, therefore, lies in its ability to find an inner/outer isothetic cover that, for a lower grid size, almost grazes the contour of a digital object without touching it, and in its ability to reduce the output complexity (i.e., number of vertices) by producing a rough cover when a higher grid size is specified. Fig. 1 shows the original “bear” image (left), its outer isothetic cover (OIC) and the inner isothetic cover (IIC) in the middle, and the superimposed outer and inner isothetic covers (right). It is seen that the boundary of the object lies in the region of difference given by the OIC minus the interior of IIC.
Section snippets
Definitions and preliminaries
Definition 1 Digital Plane The digital plane, , is the set of all points having integer coordinates in the real plane . A point in the digital plane is called a digital point, or called a pixel in the case of a digital image. Henceforth, the terms “point” and “digital point” will be used interchangeably. Definition 2 The set of four horizontally and vertically adjacent points of a point is called the 4-neighborhood of p, which is given by The set of all eight neighbors, i.e.,k-connectedness
Related works
As mentioned in Section 1, the existing works are mostly related with border tracking or edge detection of a digital object [21], [22], [23], [24], [25]; whereas, the proposed method finds an isothetic cover whose precision can be varied by specifying the grid size. One of the existing algorithms is the crack following algorithm by Rosenfeld [21], which finds the border B of a digital object, S, using the fact that B consists of the points of S that are 4-adjacent to its complement, .
Contribution of our work
The difficulty in finding the outer (inner) isothetic cover as a sequence of vertices (grid points) lies in the fact that, during the traversal of an isothetic polygon, if the traversed path enters a complex region (background region in the case of an outer cover or object region in the case of an inner cover) for which a path of retreat from that region at a later stage is not possible, which marks a dead end, then a backtracking is required from an appropriate vertex lying on the traversed
Outer isothetic cover for a single connected component
The algorithm for constructing the outer isothetic cover (OIC), , corresponding to an object S, which consists of only one connected component without holes, is stated here. The OIC of such an object consists of only one (outer) polygon. The generalized algorithm for an object having multiple connected components with or without holes is stated in Section 6. To construct , we consider to be a finite rectangular subset of , which contains the entire object S. Let the height h and
Outer isothetic cover
The algorithm Make-OIC to construct the OIC of an object S, having multiple components with or without holes, is given in Fig. 8. Each grid point, , initialized as unvisited (Steps 2–4), is considered in row-major order (Steps 5–11). If q is not already visited (Step 6) and qualifies as a vertex (Steps 7 and 9), then the construction of a new polygon of starts from q as the start vertex (Steps 8 and 10). The procedure Make-IP traces an outer polygon if q is a 90° vertex, and a hole
Experimental results
We have implemented the proposed algorithm in C in SunOS Release 5.7 Generic of Sun Ultra 5_10, Sparc, 233 MHz. The algorithm is run on different sets of binary images, such as (i) geometric figures, (ii) logo images, (iii) object-type images, (iv) optical and handwritten characters, and (v) scanned document images. The results and related findings are discussed in the following sections.
Concluding remarks
We have shown how the minimum-(maximum-)area outer (inner) isothetic cover of a digital object can be constructed corresponding to a given grid. The algorithm proposed here does not require any backtracking, and hence is an output-sensitive algorithm. The time complexity is linear on the length of the perimeter of the cover measured in grid units. Experimental results on various databases justify the efficiency of the algorithm and demonstrate potential applications.
Several open problems may
References (36)
- et al.
Safety zone problem
J. Algorithms
(2000) - et al.
Inner and outer approximations of polytopes using boxes
Comput. Geom. Theory Appl.
(2004) - et al.
Content-based image retrieval using association rule mining with soft relevance feedback
J. Vis. Commun. Image Represent.
(2006) - et al.
Text detection and restoration in natural scene images
J. Vis. Commun. Image Represent.
(2007) - et al.
Computational Geometry
(1985) - et al.
Real-time robot motion planning using rasterizing computer
Comput. Graph. ACM
(1990) - L. Gatrell, CAD-based grasp synthesis utilizing polygons, edges and vertices, in: Proceedings of the IEEE International...
- Y. Kamon, T. Flash, S. Edelman, Learning to grasp using visual information, in: Proceedings of the IEEE International...
- A. Morales, P.J. Sanz, Á.P. del Pobil, Vision-based computation of three-finger grasps on unknown planar objects, in:...
- et al.
Case generation using rough sets with fuzzy representation
IEEE Trans. Knowledge Data Eng.
(2004)
Pattern Recognition Algorithms for Data Mining
On three types of covering-based rough sets
IEEE Trans. Knowledge Data Eng.
Document representation and its application to page decomposition
IEEE Trans. PAMI
Cited by (45)
A linear time combinatorial algorithm to compute the relative orthogonal convex hull of digital objects
2020, Theoretical Computer ScienceFinding a largest rectangle inside a digital object and rectangularization
2018, Journal of Computer and System SciencesCitation Excerpt :An edge defined by two consecutive type 3 vertices gives rise to a concavity, and hence termed as a concave edge. To find a largest rectangle, the inner isothetic cover P (constructed using the algorithm in [3,4]) is traversed in anti-clockwise direction from its top left corner. During this traversal, whenever a convex edge is encountered, corresponding histogram polygon (i.e., a portion of the main polygon) is constructed, as explained in Sec. 3.1.
Long-bone fracture detection in digital X-ray images based on digital-geometric techniques
2016, Computer Methods and Programs in BiomedicineCitation Excerpt :The probable fracture points are then identified on the basis of these angles. Given a specific pixel-grid size that is used for digitization, an isothetic (axes-parallel) cover of a digital object is a contour that tightly encloses the object [5]. This concept is utilized here for efficient localization of fracture-regions.
Mandala as computational art: Vectorization and beyond
2023, ACM International Conference Proceeding SeriesA combinatorial algorithm to compute set operations on simple isothetic polygons
2023, Multimedia Tools and ApplicationsMandala Symmetrization through Curvature Map and Geometric Graph<sup>*</sup>
2023, International Conference Image and Vision Computing New Zealand