摘要:
In order to decrease a memory capacity of a line memory and to efficiently compress an image by coding even when character information is contained in a high-resolution image, each time the block of an image which is equally divided into M (M: an arbitrary integer greater than 1) blocks in the horizontal direction is updated, difference data between color code data at corresponding pixel positions in the horizontal line and the adjacent immediately-preceding horizontal line with respect to each of horizontal lines within the block is detected by a line memory 41 and an exclusive-OR circuit 42. After a run has been detected from the difference data corresponding to the horizontal lines from the circuit 42 by a run end detecting circuit 43, when a coded word is run-length coded by a code creating and outputting circuit 44, a coded word corresponding to a first run is run-length coded in the state in which information of difference data of the run is contained in this coded word and coded words corresponding to runs other than the first run are run-length coded in the state in which transition type information indicative of type of transition of difference data of the immediately-preceding run to difference data of the run is contained in the coded words.
摘要:
An image encoding method in which the quantization conversion coefficient which is obtained by quantizing digital image data subjected to processings such as DCT is subjected to variable length encoding with reference to a variable length code table which shows the allotment of variable length codes. In comparing an event obtained from the quantization conversion coefficient with a reference event included in the variable length code table, the possibility of the implementation of the variable length encoding with a high encoding efficiency can be improved by the conversion.
摘要:
A method for run-length encoding two or more data values, the method comprising: loading the data values into storage by forming a first data string, the data string comprising a plurality of data sub-strings and each data sub-string representing at least one of the data values; generating a second data string having a data sub-string corresponding to each data sub-string of the first data string, all the bits of each of the data sub-strings of the second data string having a first predetermined value if all the bits of the corresponding data sub-string of the first data string have a second predetermined value and having a third predetermined value if any of the bits of the corresponding data sub-string of the first data string has other than the second predetermined value; starting from a predetermined end of the second data string, counting the number of consecutive bits of the second data spring having the first predetermined value; and dividing the said number by the number of bits in each data sub-string.
摘要:
An image encoding apparatus comprises a counter for counting a run length of an input pixel signal, an encoder for outputting a code corresponding to the count of the counter, and a decompressor for decompressing the compressed code outputted from the encoder. The encoder outputs a compressed code having a data width of N bits (N = M + L) with M high order bits representing a code length of an original code and L low order bits representing a compressed code representing L low order bits of the original code. When the code length of the original code is less than L bits, the encoder outputs the compressed code with the original code being placed in the high order bits starting from the high order end and 0 bits being filled in the remaining low order bits.
摘要翻译:图像编码装置包括用于计数输入像素信号的游程长度的计数器,用于输出与计数器的计数相对应的代码的编码器,以及用于解压缩从编码器输出的压缩代码的解压缩器。 编码器输出具有N位(N = M + L)的数据宽度的压缩代码,其中M个高位表示原始代码的代码长度,L个低位位表示代表原始代码的L个低位位的压缩代码 码。 当原始码的码长小于L比特时,编码器输出压缩码,其中原始码被放置在从高阶结束开始的高位中,并且剩余低位位中填充0位。
摘要:
A method of decoding image data in run representation, in which the data comprises a series of contiguous blades of various lengths, each block comprising pixels of the same colour, in order to present the image data in words of predetermined length; the method comprising the steps of: (a) identifying the colour and length of a first block within a first range corresponding to said predetermined length; (b) accessing a data table at an address corresponding to the said length and retrieving a word pattern from said predetermined address; and (c) processing said word pattern using an Exclusive-OR operator with a word of the said colour to produce a first output word. If there are no further blocks of the same colour within the first range the processing of the first word is terminated; otherwise the first output word is combined with a further output word which is derived in accordance with the starting position and length of the said further block or blocks.
摘要:
@ 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 (22). 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 incidating 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.
摘要:
Even when character information is contained in a high-resolution image, it is possible to reduce the line memory capacity and effectively encoding/compressing the image. For every block update for an image divided into identical M (M is an integer not smaller than 1) blocks in the horizontal direction, for each of the horizontal lines in the blocks, a line memory (41) and an exclusive OR circuit (42) successively detect a difference between color codes at corresponding pixel positions in a horizontal line and the adjacent preceding horizontal line. Moreover, a run end detection circuit (43) detects a run from the difference corresponding to the horizontal line from the circuit (42). When a code creation/output circuit (44) encodes the run length, the code word for the first run includes information on the difference in the run while the code word for runs other than the first run includes, instead of the difference information in the run, transition type information indicating the type of transition to the difference in the run of the difference in the preceding run, thereby performing run length encoding.
摘要:
A high bit rate Huffman decoder (300) is provided for compressed data bit stream. In an exemplary embodiment, JPEG and MPEG data compression is explained. An oversized input data register (313) receives (buss 200) sequential input data words to be decoded. Each new data word is appended to data already in the register by right shifting the new data word by the number of valid data bits in the register. A bitwise logical OR (315) operation is performed to load an operative data register (301). The operative data register is left-shifted (317) based upon the number of bits in a previous Huffman code word-coefficient pair. The left-most pair of the appropriate size is separated for examination. The separated bit strings are examined as representing the coefficient of the previous code word-coefficient pair and the current code word. The code word is used to access a Huffman lookup table (323). The lookup table provides the zeroes run length, coefficient size, and code word-coefficient pair length which is used for the next left shift. Header/marker and byte boundary information (buses 202, 204) are separately padded (303, 305, respectively) to construct same width words as the input data words. Simultaneous shifting in parallel with the data word examination preserves the relative locations of the header/markers with the data.