摘要:
An apparatus and method for converting an input data character stream into a variable length encoded data stream in a data compression system. The data compression system includes a history array means. The history array means has a plurality of entries and each entry of the history array means is for storing a portion of the input data stream. The method for converting the input data character stream includes the following steps. Performing a search in a history array means for the longest data string which matches the input data string. If the matching data string is found within the history buffer means, the next step includes encoding the longest matching data string found by appending to the encoded data stream a tag indicating the longest matching data string was found and a string substitution code. If the matching data string is not found within the history array means, the next step includes encoding the first character of the input data string by appending to the encoded data stream a raw data tag indicating that no matching data string was found and the first character of the input data string.
摘要:
A process and data processing system are disclosed for compressing and expanding structurally associated multiple data sequences. The process is particular to data sets in which an analysis is made of the structure in order to identify a characteristic common to a predetermined number of successive data elements of a data sequence. In place of data elements, a code is used which is again decoded during expansion. The common characteristic is obtained by analyzing data elements which have the same order number in a number of data sequences. During expansion, the data elements obtained by decoding the code are ordered in data series on the basis of the order number of these data elements. The data processing system for performing the processes includes a storage matrix (26) and an index storage (28) having line addresses of the storage matrix (26) in an assorted line sequence.
摘要:
Bit-serial compression process improved by inclusion of character-repeat (character) mode. During the compression process in a bit serial (bit) mode, using a predictive scheme with code words for each predicted bit, the characters, typically bytes (eight bits), are assembled bit by bit. Each assembled character is compared to the preceding character. When two successive identical characters occur, the process changes to the repeat-character mode wherein successive identical characters are signaled in the same manner as correctly predicted bits. When a different character occurs, the process signals in a manner corresponding to an incorrectly predicted bit. Provisions are made for limitations imposed by finite code spaces, for supplying a data bit when recording a code word associated with an exhausted code space or different characted, and for indicating an identical character has occurred when recording a code word associated with an exhausted code space.
摘要:
A data compaction method, for writing data in highly compact binary form in a data storage medium using a microprocessor, compresses serially occurring transaction values in a limited memory space by substituting prefix codes for previously occurring values and for commonly occurring previous values. The previous values are listed and updated on tables by the microprocessor so that they are indexed to the prefix codes adaptively to changing local values and changing common values over time. The data compaction method is particularly suitable for an account card having a limited, non-erasable memory used in an automated transaction terminal for maintaining an account record of transactions in frequently recurring amounts. A postage metering terminal is operated by the account card, in which an initial balance has been written and each purchase of postage is recorded. A current balance is recomputed by parsing the previously recorded data. If the current balance is sufficient, the requested value is recorded in compressed form in the card memory, and the terminal is operated to print or dispense the requested postage.
摘要:
A decoder for two-dimensionally encoded image codes such as modified READ or modified READ codes ensures fast decoding operation by outputting reference codes in parallel while serially discriminating input codes and monitoring the relationship of both codes.
摘要:
A coding process for a facsimile transmission system employs block coding and dither matrices of black and white picture elements, wherein each matrix represents a portion of a subject. The subject is scanned to provide gray-scale tone-level data, and the data of continuous tone regions of the subject is represented by standardized patterns in matrix form. A run of identical patterns is counted in the scanning direction and a symbol indicating the number of such repetitions is placed in the code in lieu of the succession of code words representing individual ones of the repeating patterns. A second symbol is inserted into the code to indicate a succession of runs of repeating patterns in the same column now positioned in two or more rows. The second symbol is utilized in lieu of a repetition of code words corresponding to each of the repeated patterns. The two symbols provide for two dimensional compression of the length of the message for improved efficiency of transmission of pictorial data between the subject and a display of an image of the subject.
摘要:
A method is disclosed for thresholding the luminance component of color picture elements (pels) prior to compression. The method is most effective when used with discrete color images, such as documents having areas of nominally constant color. The method uses spatial information rather than histogram information to threshold the image data. Each scan line is defined as having a series of pel runs. A pel is considered to be in a run if its luminance is within a certain range of an average luminance based on preceding pels. Each run may end in a transition region wherein the luminance of each pel differs from the luminance of the preceding pel by more than a predetermined amount. Where a transition region is found, a local threshold is set based on the average luminance of the preceding run and of the following pel. All pels in the transition region are assigned a luminance value equal either to the average luminance of the preceding run or the actual luminance of the following pel.
摘要:
A method for converting an image from a bit map to a run end or run length representation includes the steps of: storing said image as a bit map representation; initializing all variables to be used in the conversion process; converting by table lookup, each run of continuous color to a run representation, storing, in a run representation buffer, as a count value, each run representation; repeating the steps of converting and storing for each run of continuous color to the end of the image.
摘要:
A data compressor compresses an input stream of data character signals by storing in a string table strings of data character signals encountered in the input stream. The compressor searches the input stream to determine the longest match to a stored string. Each stored string comprises a prefix string and an extension character where the extension character is the last character in the string and the prefix string comprises all but the extension character. Each string has a code signal associated therewith and a string is stored in the string table by, at least implicitly, storing the code signal for the string, the code signal for the string prefix and the extension character. When the longest match between the input data character stream and the stored strings is determined, the code signal for the longest match is transmitted as the compressed code signal for the encountered string of characters and an extension string is stored in the string table. The prefix of the extended string is the longest match and the extension character of the extended string is the next input data character signal following the longest match. Searching through the string table and entering extended strings therein is effected by a limited search hashing procedure. Decompression is effected by a decompressor that receives the compressed code signals and generates a string table similar to that constructed by the compressor to effect lookup of received code signals so as to recover the data character signals comprising a stored string. The decompressor string table is updated by storing a string having a prefix in accordance with a prior received code signal and an extension character in accordance with the first character of the currently recovered string.
摘要:
A high speed facsimile device suitable for integration using present day VLSI technology, for encoding binarily digitized picture information into run length codes. The device receives consecutive blocks of digitized picture data. In the device a run length generator unit, which is responsive to these consecutive blocks of picture data, generates the run lengths of color units in a data block. A combining unit coupled to the run length generator unit combines the run lengths of color units in more than one data block and an encoding unit coupled to the run length generator block and the combining unit generates in a pre-determined code, such as the recommended CCITT T.4 standard, the coded run lengths of color units independent of the data blocks.