Construction of isothetic covers of a digital object: A combinatorial approach

https://doi.org/10.1016/j.jvcir.2010.02.001Get rights and content

Abstract

An isothetic cover of a digital object not only specifies a simple representation of the object but also provides an approximate information about its structural content and geometric characteristics. When the cover “tightly” encloses the object, it is said to be an outer isothetic cover; and when the cover tightly inscribes the object, it is an inner isothetic cover. If a set of horizontal and vertical grid lines is imposed on the object plane, then the outer (inner) isothetic cover is defined by a set of isothetic polygons, having their edges lying on the grid lines, such that the effective area corresponding to the object is minimized (maximized). Increasing or decreasing the grid size, therefore, decreases or increases the complexity or the accuracy of the isothetic cover corresponding to a given object, which, in turn, extracts the object information at different resolutions. In this paper, a combinatorial algorithm is presented for varying grid sizes, which is free of any backtracking and can produce the isothetic cover of a connected component in a time linear in the length of the perimeter of the cover. The algorithm has also been extended for finding the isothetic covers of real-world digital objects having multiple components with or without holes. Experimental results that demonstrate applications of an isothetic cover to diverse problems of pattern analysis and computer vision, are reported for various data sets.

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 (L1) 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 G (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, Z2, is the set of all points having integer coordinates in the real plane R2. 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

k-connectedness

The set of four horizontally and vertically adjacent points of a point p(x,y)Z2 is called the 4-neighborhood of p, which is given by N4(p):={(x,y):(x,y)Z2|x-x|+|y-y|=1}. The set of all eight neighbors, i.e.,

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, S.

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), P¯(S), 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 P¯(S), we consider I to be a finite rectangular subset of Z2, 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, qI, 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 P¯(S) 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)

  • S.K. Pal et al.

    Pattern Recognition Algorithms for Data Mining

    (2004)
  • J. Tadrat, V. Boonjing, P. Pattaraintakorn, A framework for using rough sets and formal concept analysis in case based...
  • W. Zhu et al.

    On three types of covering-based rough sets

    IEEE Trans. Knowledge Data Eng.

    (2007)
  • M. Liu, Y. He, H. Hu, D. Yu, Dimension reduction based on rough set in image mining, in: International Conference on...
  • B. Gatos, S.L. Mantzaris, A novel recursive algorithm for area location using isothetic polygons, in: Proceedings of...
  • B. Gatos, S.L. Mantzaris, K.V. Chandrinos, A. Tsigris, S.J. Perantonis, Integrated algorithms for newspaper page...
  • A.K. Jain et al.

    Document representation and its application to page decomposition

    IEEE Trans. PAMI

    (1998)
  • O.T. Akindele, A. Belaid, Page segmentation by segment tracing, in: Proceedings of the International Conference...
  • Cited by (45)

    • Finding a largest rectangle inside a digital object and rectangularization

      2018, Journal of Computer and System Sciences
      Citation 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 Biomedicine
      Citation 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 Series
    • Mandala Symmetrization through Curvature Map and Geometric Graph<sup>*</sup>

      2023, International Conference Image and Vision Computing New Zealand
    View all citing articles on Scopus
    View full text