摘要:
The present invention relates to a method of and an apparatus for compressing/decompressing data, to improve the compression ratio of sliding-dictionary-type Ziv-Lempel codes. A sliding-dictionary-type data compression method finds a matching character string in a coding character string and in a coded character string stored in a dictionary 101. According to the length of the matching character string, the method chooses a raw data mode that codes the matching character string that must consist of a single character as it is, or a reproduction mode that codes the position and length in the dictionary 101 of the matching character string. The method allocates consecutive numbers to different codes to be prepared under the raw data mode and reproduction mode. The method relates any code prepared under one of the raw data mode and reproduction mode to a corresponding one of the consecutive numbers, codes the number according to a code book, and rearranges the code book to shorten the length of the code of the number.
摘要:
A data compressing method involves the use of a data string registering unit for registering a charactor or charactor string and the context and a code information registering unit for registering coding information of the character or character string following the context, the coding information following previous a input data. The data compressing method includes a data string new registering step of, when the input character or character string and the context set is not registering in the string registering unit, register the set in the data string registering unit. The same method also includes a code information new registering step of, when the input character or character string's code information following the context is not registering in the code information registering unit, register the code information in the code information registering unit and a code outputting step of outputting the code following the code information registered in the code information registering unit and a code information updating step of updating the code information registering unit.
摘要:
In a data compression method based on an LZW coding procedure, a list which defines a sequence of tracing partial strings registered in a dictionary is modified so that a position of a first registered partial string among the registered partial strings in a tree structure of registered partial strings is interchanged with a position of a second registered partial string among the registered partial strings in a state where the first and second registered partial strings extend from an identical node of the tree structure.
摘要:
A dictionary searching system retrieves a character string which is described by input reference number and characters from a plurality of mutually different character strings which are registered in a dictionary in correspondence with reference numbers assigned to the character strings. The dictionary searching system includes a dictionary which is made up of an index part for storing in correspondence with the reference numbers a reference number which is assigned to one of character strings which are obtained by adding a character to the character string which is assigned the input reference number and the character which is added to the one of the character strings and a list part for storing in correspondence with the reference numbers a reference number which is assigned to one of character strings having a last character which differs from that of the character string which is assigned the input reference number and the character which is added to the one of the character strings, a reading part for initially reading information from the index part by specifying the input reference number and thereafter reading information from the list part by specifying the reference number which is read from the dictionary, a detecting part for detecting each character which matches the input characters out of characters read from the dictionary and for outputting a result of this detection as a retrieval result, and a deciding part for deciding whether or not a reference number is included in an output of the dictionary and for outputting a result of this detection as a retrieval result, where the reading part, the detecting part and the deciding part operate independently of each other.
摘要:
A data compression system is provided having a fixed length coding unit provided before a universal coding unit. The fixed length coding unit detects mode classifications and mode conditions of changing picture elements in a mode detecting unit. Then, the mode classifications and mode conditions are converted to fixed length code words in a code transforming unit representative of, e.g., MH, MR or MMR-type codes. Thereafter, the fixed length code words are predictively coded by the universal coding unit to output compressed data. The present invention is applicable to both character data and picture data. Preferably, the picture data is preprocessed by the fixed length coding unit before both of the character data and picture data are predictively coded by the universal coding unit.
摘要:
The present invention provides a plurality of code tables such as a high-usage code table and a low-usage code table in an entropy coding unit, and transforms a block-sorted last character string from a block-sorting transforming unit into an MTF code string in an MTF transforming unit. The entropy coding unit switches the code tables at a discontinuous part of the MTF code string to perform entropy coding. In addition, the present invention stores reference lists, whose number is equal to the number of kinds of used characters, in a reference list memory. The MTF transforming unit selects a reference list corresponding to a first character of the block-sorted character string to perform an MTF transformation.
摘要:
In a data compressing and decompressing apparatus, having improved efficiency and enhanced compression ratio whereby character sequence of received data is coded and decoded by referring to a dictionary related to the last character of the immediately preceding character sequence, and a character sequence which is one character extended character sequence of the coded and decompressed character sequence is registered in the dictionary in relation with the last character of the immediately preceding character sequence so that the compression ratio of the coding of data is increased.
摘要:
An image compression device having a prediction unit for predicting a value of a compressing target pixel from peripheral values, and quantizing prediction error between a prediction value of the prediction unit and a value of an actual pixel in a predetermined quantizing step, comprising: a specific pixel level difference evaluation unit sequentially calculating the difference value between the level values as a sum of the prediction values corresponding to each of the compressed pixel immediately before the compressing target pixel and peripheral compressed pixels adjacent to the pixel and the quantization value of the prediction error, and evaluating the sameness of the difference value; and a quantization switching unit controlling the quantization in the quantizing step more precise than the quantizing step used when the difference value continuously indicates the same value as a result of the evaluation by the specific pixel level difference evaluation unit.
摘要:
An image compression device having a prediction unit for predicting a value of a compressing target pixel from peripheral values, and quantizing prediction error between a prediction value of the prediction unit and a value of an actual pixel in a predetermined quantizing step, comprising: a specific pixel level difference evaluation unit sequentially calculating the difference value between the level values as a sum of the prediction values corresponding to each of the compressed pixel immediately before the compressing target pixel and peripheral compressed pixels adjacent to the pixel and the quantization value of the prediction error, and evaluating the sameness of the difference value; and a quantization switching unit controlling the quantization in the quantizing step more precise than the quantizing step used when the difference value continuously indicates the same value as a result of the evaluation by the specific pixel level difference evaluation unit.
摘要:
A quantizer quantizes a “prediction error” as a difference value between a pixel X to be compressed and a prediction value X′. A variable-length encoder inputs a quantization number obtained from a quantization table of the quantizer, and outputs a variable-length code (compressed code). A prediction value candidate calculation module calculates candidates 1 through k for a prediction value on the basis of peripheral pixels A, C, and B, and transmits them to a multiplexer (MPX). A prediction value determination module determines a prediction value among the candidates 1 through k for a prediction value on the basis of an intermediate value correspondence table and an intermediate value—image format correspondence table depending on an image format, and transmits a control signal to the multiplexer (MPX). The multiplexer (MPX) outputs one of the candidates 1 through k for a prediction value as a prediction value X′.