skip to main content
DOE Patents title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Method for compression of data using single pass LZSS and run-length encoding

Abstract

A method used preferably with LZSS-based compression methods for compressing a stream of digital data is disclosed. The method uses a run-length encoding scheme especially suited for data strings of identical data bytes having large run-lengths, such as data representing scanned images. The method reads an input data stream to determine the length of the data strings. Longer data strings are then encoded in one of two ways depending on the length of the string. For data strings having run-lengths less than 18 bytes, a cleared offset and the actual run-length are written to an output buffer and then a run byte is written to the output buffer. For data strings of 18 bytes or longer, a set offset and an encoded run-length are written to the output buffer and then a run byte is written to the output buffer. The encoded run-length is written in two parts obtained by dividing the run length by a factor of 255. The first of two parts of the encoded run-length is the quotient; the second part is the remainder. Data bytes that are not part of data strings of sufficient length are written directly to the output buffer. 3 figs.

Inventors:
Issue Date:
Research Org.:
Westinghouse Savannah River Co
Sponsoring Org.:
USDOE, Washington, DC (United States)
OSTI Identifier:
563697
Patent Number(s):
5,701,125
Application Number:
PAN: 8-261,225
Assignee:
Dept. of Energy, Washington, DC (United States) PTO; SCA: 990200; PA: EDB-98:016732; SN: 98001896304
DOE Contract Number:  
AC09-89SR18035
Resource Type:
Patent
Resource Relation:
Other Information: PBD: 23 Dec 1997
Country of Publication:
United States
Language:
English
Subject:
99 MATHEMATICS, COMPUTERS, INFORMATION SCIENCE, MANAGEMENT, LAW, MISCELLANEOUS; DATA PROCESSING; DIGITAL SYSTEMS; IMAGE PROCESSING; DESIGN; COMPRESSION

Citation Formats

Berlin, G.J. Method for compression of data using single pass LZSS and run-length encoding. United States: N. p., 1997. Web.
Berlin, G.J. Method for compression of data using single pass LZSS and run-length encoding. United States.
Berlin, G.J. Tue . "Method for compression of data using single pass LZSS and run-length encoding". United States.
@article{osti_563697,
title = {Method for compression of data using single pass LZSS and run-length encoding},
author = {Berlin, G.J.},
abstractNote = {A method used preferably with LZSS-based compression methods for compressing a stream of digital data is disclosed. The method uses a run-length encoding scheme especially suited for data strings of identical data bytes having large run-lengths, such as data representing scanned images. The method reads an input data stream to determine the length of the data strings. Longer data strings are then encoded in one of two ways depending on the length of the string. For data strings having run-lengths less than 18 bytes, a cleared offset and the actual run-length are written to an output buffer and then a run byte is written to the output buffer. For data strings of 18 bytes or longer, a set offset and an encoded run-length are written to the output buffer and then a run byte is written to the output buffer. The encoded run-length is written in two parts obtained by dividing the run length by a factor of 255. The first of two parts of the encoded run-length is the quotient; the second part is the remainder. Data bytes that are not part of data strings of sufficient length are written directly to the output buffer. 3 figs.},
doi = {},
journal = {},
number = ,
volume = ,
place = {United States},
year = {1997},
month = {12}
}