Claims
- 1. A method of encoding an integral body of information which is formed of a plurality of pixel data each defined by a predetermined number of bits, wherein a data block, containing same continuous pixel data, is compressed as one unit of compression, the integral body of information being arranged on a data line of a finite bit length, the method comprising:
- specifying the data block of the one compression unit of the integral body of information;
- generating a compressed unit data block in accordance with a coding header corresponding to a continuing number of the same pixel data in the data block of the one compression unit, with a number of pixels followed indicating the continuing number of the same pixel data, and with data representing the same pixel data in the data block of the one compression unit; and
- adding dummy bit data to the data block of the one compression unit so that a total bit length of at least one data block of the one compression unit becomes a multiple of eight bits, if the total bit length is not a multiple of eight when generation of the data block of the one compression unit on the data line is completed, wherein
- said integral body of information includes a specific header comprising information of a size of said integral body of information.
- 2. The method of claim 1, wherein said integral body of information is represented by contents of a group of data packets, each of the data packets including sub-picture data relating to said pixel data and a packet header thereof.
- 3. A method of decoding a bit train of a unit of a compressed data block, which is obtained by compressing same continuous pixel data as one unit of compression, wherein the compressed data block corresponds to at least part of an integral body of information formed by a plurality of pixel data each defined by a predetermined number of bits, and wherein the compressed data block includes either a coding header indicating data of a number of pixels followed, which number data corresponds to the number of the same continuous pixel data, or a coding header indicating the number data of pixels followed as well as the same continuous pixel data, the method comprising:
- coding header detecting by detecting the coding header from the data block of the one compression unit contained in the integral body of information;
- continuous pixel number detecting by detecting the number data of the pixels followed, from the data block of the one compression unit, in accordance with a content of the detected coding header detected by said coding header detecting;
- pixel data determining by determining a content of the pixel data in an uncompressed data block of the one compression unit, in accordance with a remainder of the data block of the one compression unit, from which removed are the detected coding header detected by said coding header detecting and the detected number data of the pixels detected by said continuous pixel number detecting;
- pixel pattern restoration by arranging bit data of the determined content determined by the pixel data determining, by a number indicated by the detected number data of the pixels detected by the continuous pixel number detecting, so as to restore a pattern of uncompressed pixel data of the one compression unit; and
- removing a dummy bit data when a total bit length of all of the data blocks of the one compression unit have been adjusted to a multiple of eight bits by adding the dummy bit data, wherein
- said integral body of information includes a specific header comprising information of a size of said integral body of information.
Priority Claims (1)
Number |
Date |
Country |
Kind |
6-327460 |
Dec 1994 |
JPX |
|
Parent Case Info
This is a division of application Ser. No. 08/806,684 filed Feb. 26, 1997 now U.S. Pat. No. 5,845,021 which is a division of application Ser. No. 08/577,100 filed on Dec. 22, 1995 and issued on Feb. 24, 1998 as U.S. Pat. No. 5,721,720.
US Referenced Citations (55)
Foreign Referenced Citations (22)
Number |
Date |
Country |
0205944 |
Dec 1986 |
EPX |
0644692 |
Mar 1995 |
EPX |
0661888 |
Jul 1995 |
EPX |
61-131684 |
Jun 1986 |
JPX |
2-211774 |
Aug 1990 |
JPX |
4-286289 |
Oct 1992 |
JPX |
4-276983 |
Oct 1992 |
JPX |
4-368670 |
Dec 1992 |
JPX |
5-14859 |
Jan 1993 |
JPX |
8-111642 |
Apr 1993 |
JPX |
5-145889 |
Jun 1993 |
JPX |
6-124168 |
May 1994 |
JPX |
7-203447 |
Nov 1994 |
JPX |
7-15729 |
Jan 1995 |
JPX |
7-21685 |
Jan 1995 |
JPX |
7-30886 |
Jan 1995 |
JPX |
7-46198 |
Feb 1995 |
JPX |
7-87444 |
Mar 1995 |
JPX |
7-107433 |
Apr 1995 |
JPX |
7-282544 |
Oct 1995 |
JPX |
8-65169 |
Mar 1996 |
JPX |
8-63884 |
Mar 1996 |
JPX |
Non-Patent Literature Citations (3)
Entry |
Eiselen et al., "Image Compression," IBM Technical Disclosure Bulletin, vol. 14, No. 8, Jan. 1972. |
Renelt, "Easily Decodable Runlength Code (E.D.R.C.) For Source Encoding of Black-and-White Facsimile Pictures," Electronics Letters, vol. 12, No. 23, Nov. 11, 1976. |
Peake, "Parallel Decoding of Variable Length Codewords," IBM Technical Disclosure Bulletin, vol. 20, No. 12, May 1978. |
Divisions (2)
|
Number |
Date |
Country |
Parent |
806684 |
Feb 1997 |
|
Parent |
577100 |
Dec 1995 |
|