×

Method for ascertaining and filling of bounded areas of a colored raster display

  • US 4,754,488 A
  • Filed: 12/07/1984
  • Issued: 06/28/1988
  • Est. Priority Date: 12/07/1984
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for use in a bit-mapped presentation/display system for ascertaining the boundary of an arbitrarily-shaped, closed polygon filled with a first color-coded q×

  • r pel subarray, where q and r>

    1, and embedded in a raster color-coded domain of pels and for filling said ascertained polygon with a second color-coded q×

    r pel subarray, where q and r>

    1, comprising the steps of;

    (a) identifying the first color-coded pel subarray;

    (b) determining all unique raster runs of said identified first pel subarray and creating a counterpart data representation thereof by;

    (1) ascertaining connected regions within the domain exhibiting said first pel subarray and forming a location list thereof by traversing the domain from an arbitrary point therein, said traverse being selected from a set consisting of a depth-first search and a nonrecursive traverse as if each unique run were a labeled node of a connected graph; and

    (2) at the point in the traverse where it is ascertained that a domain region is not connected, resolving the boundary by comparing the pels of the first subarray in high resolution of at least one pel at a time with pels in the domain local to the connected and unconnected regions and amending the location list accordingly, the number of pels at a time in said high resolution comparison being less than that used for any coarse resolution; and

    (c) filling in at least a portion of the raster color-coded domain with the second subarray according to the data representation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×