Nova Patents
EP0617375A2

Graphics apparatus and method.

Abstract

An apparatus (10) and computer-implemented polygon bounding method generate, in a first step, a binary array representation of a closed contour input object relative to a reference coordinate system. Subsequently, in a single pass through the binary array, a bounding polygon is generated as a sequence of parallel "bands," each representing a pair of opposing sides of the polygon. The polygon bands are oriented at successive generally uniform rotations of the reference coordinate system and are positioned to define the bounds of the closed contour for each rotation angle. The spacing and positioning of the bands can thus be used to define polygon size and position at each angle. In this way, comparisons between a plurality of polygons can be made systematically using defined geometrical criteria.

EP0617375A2, drawing sheet 1
Sheet 1 of 36

Term

Term ended

Projected expiry passed 24 March 2014, 12.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

20 claims: 9 independent, 11 dependent

  1. 1
    A data processing system including a character bounding system for evaluating closed contour images of objects, comprising:a central processing unit;a data input system for inputing data representing objects to be evaluated;a data output system;one or more data storage resources;means for generating a binary array representation of one or more closed contour objects to be evaluated with respect to a reference coordinate system;and    means for generating from said binary array representation one or more convex-polygon representations of said objects of a form that includes a set of polygon bands oriented relative to said reference coordinate system and to generally uniform angular rotations of said reference coordinate system, said bands defining the contour bounds of the closed contour objects with respect to each rotation of said reference coordinate system.
  2. 3
    A data processing system as claimed in any of claims 1 or 2 further including means for comparing plural convex-polygon representations of said closed contour objects in order to isolate said objects and approximations of their shape.
  3. 4
    A data processing system as claimed in any of the preceding claims wherein said means for generating convex-polygon representations include a first means for scanning said binary array representation, a second means for determining the contour bands relative to said reference coordinate system, and a third means for incrementally rotating said reference system contour bands and adjusting them to bound the closed contour objects in the rotated directions.
  4. 8
    A method for convex-polygon bounding of closed contour images in a data processing system comprising the steps of:inputing data representing an image to be evaluated;generating a binary array representation of a closed contour input image relative to a reference coordinate system;and    generating, in a single pass through said binary array, a data output structure defining the contour bounds of said input image relative to successive, generally uniform rotations of said reference coordinate system.
  5. 10
    A method as claimed in any of claims 8 or 9 wherein said data output structure generating step includes the steps of scanning successive lines of said binary array and identifying, for each scan line, contour displacement minimum and maximum values relative to each rotation of said reference coordinate system, and adding said values to said data output structure if they represent global minimum and maximum values of said input image.
  6. 11
    A method as claimed in any of claims 8 or 9 wherein said data output structure generating step includes the steps of:generating and initializing an interval table for representing the bounds of the closed contour input image with respect to each rotation of said reference coordinate system, said interval table defining a set of rotation angle approximation values, and a pair of minimum and maximum contour displacement values associated with each of said rotation angle approximation values;filling in said interval table in order to define a contour-bounding convex-polygon by scanning successive lines of said binary array, and for each scan line;identifying successive bounding contour interval pairs representing minimum and maximum contour displacements with respect to each rotation of said reference coordinate system;and    storing in said interval table one or both of the contour minimum and maximum displacement values if they exceed the values previously stored at corresponding locations in said interval table.
  7. 12
    A method as claimed in any of claims 8 to 11 wherein said data output structure generating step includes rotating said reference coordinate system by mapping maximum and minimum contour displacement values relative to said reference coordinate system using angular approximation values.
  8. 17
    A method as claimed in any of claims 13 to 16 wherein said coordinate system rotating step includes, for each scan line "y" of the binary array in said reference coordinate system, the step of mapping the minimum and maximum contour displacement values "xl,y" and "xr,y" to the rotated coordinate system values "lΘ" and "rΘ" by placing the values "xl", "xr" and "y" in data storage register locations and performing shift and add operations on said values.
  9. 20
    A method for convex-polygon bounding of closed contour objects in a data processing system, comprising the steps of:generating a binary array representation of a closed contour input object relative to a reference coordinate system;generating, in a single pass through said binary array, a data output structure defining the contour bounds of said input object relative to successive, generally uniform rotations of said reference coordinate system, said contour bounds being determined by mapping pairs of interval endpoint values of the reference coordinate system by successively incrementing and decrementing the "x" and "y" coordinate values thereof in accordance with a predetermined sequence.