×

Method and apparatus for determining boundaries of graphic regions

  • US 4,788,538 A
  • Filed: 04/24/1987
  • Issued: 11/29/1988
  • Est. Priority Date: 11/17/1986
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer display system having a central processing unit (CPU) coupled to display means including a display, said display having a plurality of selectively enabled and disabled display elements arranged in a matrix, such that each display element is identified by a unique X, Y address, comprising:

  • memory means coupled to said CPU for storing a plurality of binary quantities, each of said binary quantities disposed in a memory cell corresponding to a display element, said binary quantities defining regions on said display;

    cursor control means coupled to said CPU for selecting an initial X, Y address on said display, and corresponding memory cell in said memory means, to identify an area on said display where the boundaries of a region are to be determined, said initial cell being defined as a seed cell;

    logic means coupled to said CPU for determining if said initial X, Y address corresponds to a disabled memory cell, and in such event said logic means incrementing said initial X, Y address to search outwardly to adjacent memory cells until an enabled cell is located, said enabled cell then being defined as the new seed cell;

    said CPU searching radially outward in M directions from the X, Y address of said seed cell for N consecutive disabled memory cells, and said logic means setting in each of said directions, the last enabled memory cell prior to said N consecutive disabled cells, as boundary cells;

    said logic means defining an initial rectangular region through at least two of said boundary cells;

    said logic means determining if P consecutive rows and columns of disabled memory cells bound said initial rectangular region, said CPU selectively extending the boundaries of said initial region in X and Y directions until said region is bounded by P consecutive rows and columns of disabled cells;

    whereby the boundaries of a region on said display are determined.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×