Method of pixel to vector conversion in an automatic picture coding system
First Claim
1. A method of encoding pictures, comprising the steps of:
- raster scanning a picture;
generating, as the picture is being scanned, a bit map representative of the features of the picture;
regenerating the bit map, as the picture is acquired during the scanning and generating steps, as a bit stream representative of line and edge features of the picture;
temporarily storing, as the bit stream is regenerated, those portions of the bit stream which represent the line and edge features of the picture, said temporary storing step including the steps ofconverting the bit stream, as it is regenerated, into a plurality of chain-coded line segments; and
storing the plurality of chain-coded line segments, as the scanning and regenerating steps continue, in a corresponding plurality of storage elements linked in an order corresponding with the order in which the features of the picture are encountered during the scanning, generating and regenerating steps;
converting each stored line segment to vectorial data;
transmitting the vectorial data to a user device; and
continuing the preceding steps until the entire picture is scanned and encoded.
1 Assignment
0 Petitions
Accused Products
Abstract
An automatic picture coding system including a method for converting a bit-map image of the picture to vectors as the picture is being scanned. The bit map is delayed as it is being generated to form a series of tessellations or windows of data. The windows are propagated through a series of neighborhood-logic elements which perform data transformation operations such as growing, smoothing and thinning of the bit-map image. A bit stream output from the neighborhood logic which output includes only line and edge features of the original picture is transferred serially to a microcomputer where the features are partitioned into a plurality of line segments. Each line segment is chain coded and temporarily stored, as it is acquired, in a corresponding one of a plurality of lists, the lists being linked in an order corresponding with the order in which the segments are acquired. When the storage of each chain-coded segment is completed, the segment is converted to vectors and transmitted to a user device for display, storage, or further processing, the lists in which the converted segments were stored being unlinked and deallocated. The process is continued until the entire document has been scanned and converted to vectorial data.
-
Citations
18 Claims
-
1. A method of encoding pictures, comprising the steps of:
-
raster scanning a picture; generating, as the picture is being scanned, a bit map representative of the features of the picture; regenerating the bit map, as the picture is acquired during the scanning and generating steps, as a bit stream representative of line and edge features of the picture; temporarily storing, as the bit stream is regenerated, those portions of the bit stream which represent the line and edge features of the picture, said temporary storing step including the steps of converting the bit stream, as it is regenerated, into a plurality of chain-coded line segments; and storing the plurality of chain-coded line segments, as the scanning and regenerating steps continue, in a corresponding plurality of storage elements linked in an order corresponding with the order in which the features of the picture are encountered during the scanning, generating and regenerating steps; converting each stored line segment to vectorial data; transmitting the vectorial data to a user device; and continuing the preceding steps until the entire picture is scanned and encoded. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of encoding pictures, comprising the steps of:
-
raster scanning a picture with a detection device; acquiring, as the picture is being scanned, a representation of successive portions of the picture in the form of a bit map; regenerating the bit map as the picture is acquired during the scanning step as a bit stream representative of line and edge features of the picture; encoding the bit stream as it is generated in the previous step as a plurality of chain codes representing discontinuous contours, each contour representing a segment of the regenerated features of the picture, each of the contours including at least one of the chain codes, each of the chain codes having a directional component corresponding with the general directions in which the picture is scanned; storing each of the chain codes successively in a storage element corresponding with the contour with which the chain code is associated, the storage elements being ordered in the same order in which the contours are intercepted as the picture is scanned; converting each of the chain-coded contours, as each is completely generated, to a vectorial signal set representing an abstraction of the chain-coded contour; and transmitting the converted contours to an output device for display, archival storage, or further processing. - View Dependent Claims (10, 11, 12)
-
-
13. Apparatus for automatically converting a document to machine script, comprising:
-
means for raster scanning said document; means coupled to said scanning means for generating a series of tessellations of black and white pixels from said scanned document, each of the tessellations including a center pixel and adjacent pixels surrounding the center pixel; means for regenerating the series of tessellations as a bit stream having a plurality of elements, each element of the bit stream corresponding with a tessellation having a black center pixel, the bit stream being representative of line and edge features of the scanned document, such features including a plurality of discontinuous contours; means receiving the bit stream for classifying in succession each element of the bit stream as a unique set of contour segments, which set includes at least one of the contour segments representing a contour start, a contour end, and a contour continuation; means for generating a data item representing the directional orientation of each of the contour start segments and each of the contour continuation segments in directions corresponding with the general directions in which the document is scanned; means for storing the data items representing each of the plurality of contours, each said storage means being associated with one contour and allocated responsive to said classifying means when a contour start segment associated with said one contour is received, the one contour being stored in the associated storage means as the data items representing the contour continuation segments of the one contour are successively received while the document is being scanned by said raster scanning means, each of the plurality of storage means being ordered in accordance with the relative order of the contours as successively received in the bit stream; means responsive to said classifying means receiving a contour end segment for converting the stored contour associated with the received contour end segment to a vectorial data set representing an abstraction of the associated stored contour, and including means for deallocating the storage means corresponding with the converted contour; and means for utilizing the vectorial data set. - View Dependent Claims (14)
-
-
15. A method of encoding pictures, comprising the steps of:
-
raster scanning a picture; generating, as the picture is being scanned, a bit map representative of black and white pixels of the scanned picture; regenerating from the bit map as it is acquired during the scanning step, a bit stream having a plurality of elements representing line and edge features of the picture, the bit stream representing a linear concatenation of successive rasters of the bit-map representation of the picture; temporarily storing the line and edge features of the picture, said temporary storing step including the steps of decoding each element of the bit stream successively as it is generated, the decoding step including the steps of partitioning the features of the picture into a plurality of linear contours, each of the contours including one or more contour segments, each contour segment having an orientation with respect to the picture being scanned; classifying each contour segment as one of a class of contour segments including a contour-start segment, a contour-end segment, and a contour-continuation segment; and assigning a chain code to each contour-start segment and each contour-continuation segment of the bit stream element according to its orientation and in the general directions in which the picture is raster scanned; allocating a storage element for each contour-start segment decoded; storing in the allocated storage element a data item representing the spatial location of the contour-start segment; storing the chain code corresponding with the contour-start segment in the allocated storage element; linking the allocated storage element with other such storage elements in an order corresponding with the order in which the contours are decoded; and storing each chain code representing a contour-continuation segment in the storage element associated with the contour; converting each of the temporarily stored chain-coded contours to a vectorial signal set which is an abstraction of the chain-coded contour when a contour-end segment associated with the contour is decoded; transmitting each of the converted contours to a user device; unlinking and deallocating each of the storage elements associated with the converted contours; and repeating the above steps until the entire picture is scanned and encoded. - View Dependent Claims (16, 17, 18)
-
Specification