JPS5929020B2 - 2D block encoding method - Google Patents

2D block encoding method

Info

Publication number
JPS5929020B2
JPS5929020B2 JP52068095A JP6809577A JPS5929020B2 JP S5929020 B2 JPS5929020 B2 JP S5929020B2 JP 52068095 A JP52068095 A JP 52068095A JP 6809577 A JP6809577 A JP 6809577A JP S5929020 B2 JPS5929020 B2 JP S5929020B2
Authority
JP
Japan
Prior art keywords
pattern
code
patterns
block
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP52068095A
Other languages
Japanese (ja)
Other versions
JPS542619A (en
Inventor
貞次 西沢
宏 泉
佳孝 島村
純雄 小澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP52068095A priority Critical patent/JPS5929020B2/en
Publication of JPS542619A publication Critical patent/JPS542619A/en
Publication of JPS5929020B2 publication Critical patent/JPS5929020B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)

Description

【発明の詳細な説明】 本発明はファクシミリ信号等の2次元2値画像情報にお
いて、符号化単位を固定大の2次元ブロックとしパター
ン符号化を行なうことによりデータ圧縮効率をあげるこ
とを目的とする。
DETAILED DESCRIPTION OF THE INVENTION An object of the present invention is to improve data compression efficiency in two-dimensional binary image information such as facsimile signals by performing pattern encoding using fixed-sized two-dimensional blocks as encoding units. .

従来、ファクシミリのような2次元2値画像情報を伝送
するには、11ライン毎に走査を行ない1次元信号系列
に変換し符号化を行なう方式、22ラインを一括して符
号化する方式、3前ラインとの差分情報のみを符号化す
る方式、4既知の画素情報から次の画素を予測し、予測
を誤つた時の情報のみを符号化する方式等、データ圧縮
を行なう多くの公知例がある。
Conventionally, in order to transmit two-dimensional binary image information such as a facsimile, there are three methods: one method scans every 11 lines and converts it into a one-dimensional signal sequence and encodes it, the other method encodes 22 lines at once. There are many known examples of data compression, such as a method that encodes only the difference information from the previous line, a method that predicts the next pixel from 4 known pixel information, and encodes only the information when the prediction is incorrect. be.

しかし圧縮効率の限界、伝送誤りによる再生画像の誤り
伝搬等の問題がある。本発明は上記従来技術に鑑みデー
タ圧縮効率を増大できるもので、以下に本発明の詳細を
4×4ブロックを例にとつて説明する。
However, there are problems such as limited compression efficiency and error propagation in reproduced images due to transmission errors. The present invention is capable of increasing data compression efficiency in view of the above-mentioned prior art, and details of the present invention will be explained below using a 4×4 block as an example.

第1図に原画像情報が符号化単位となる4×4基本ブロ
ックに分割される様子を示す。基本ブロックの符号化法
はパターン生起頻度の統計的性質を利用して生起頻度の
大きいものには短かい符号長をもつ符号、生起頻度の小
さいものには長い符号長をもつ符号を割当てるものとし
、その符号化法の具体例を第2図および第3図に示す。
第2図a、b、cは4×4ブ頭ノクのパターン発生頻度
の大きい順にクラス分けして並べた図である。なお、回
転して得られる図形も同一パターンとし、それぞれのパ
ターン番号を各図形右下の数字とする。パターン番号に
対する符号化法は第3図A,bに示される如く、まずク
ラスに対応する符号、次にクラス内の各パターンに対応
する符号、最後に回転方向に対応する符号で構成される
ものとする。第4図に以上述べた符号化例を第1図に適
用した図を示す。第1行1ビツト目は、第0クラスであ
ることを示すビツト、続く13ビツトのうち最初の6ビ
ツトは第5クラスに続するパターン、次の5ビツトは該
クラス内の10番目のパターン、最後の2ビツトは指定
されたままの方向であることを示す。次の3ビツトは第
0クラスのものが3個続くことを示している。第3図に
示した符号化法の変形について述べる。第3図で説明し
た符号化法は4×4プロツクがすべて白のパターンに対
しては符号長が1の符号が割当てられているが、このパ
ターンの発生頻度が他に比べ群を抜いて大きいことを考
慮すると、第5図の如く、このパターンに対してのみク
ラスに対応する符号に続けてパターンのランレングスを
符号化したものを付加することにより、より効率のよい
データ圧縮方式となる。次に第3図で説明した符号化法
の実施例を第6図に示す。
FIG. 1 shows how original image information is divided into 4×4 basic blocks, which are coding units. The basic block encoding method utilizes the statistical properties of pattern occurrence frequency to assign codes with short code lengths to patterns with high frequency of occurrence, and codes with long code lengths to patterns with low frequency of occurrence. , specific examples of the encoding method are shown in FIGS. 2 and 3.
FIGS. 2a, b, and c are diagrams in which the 4×4 head-shaped patterns are divided into classes and arranged in descending order of frequency of occurrence. Note that the figures obtained by rotation are also the same pattern, and the respective pattern numbers are the numbers at the bottom right of each figure. As shown in Figure 3A and b, the encoding method for pattern numbers consists of a code corresponding to the class, then a code corresponding to each pattern within the class, and finally a code corresponding to the direction of rotation. shall be. FIG. 4 shows a diagram in which the encoding example described above is applied to FIG. 1. The 1st bit of the 1st row indicates the 0th class, the first 6 bits of the following 13 bits are the pattern following the 5th class, the next 5 bits are the 10th pattern in the class, The last two bits indicate that the direction remains as specified. The next 3 bits indicate that 3 of the 0th class will continue. A modification of the encoding method shown in FIG. 3 will be described. In the encoding method explained in Figure 3, a code with a code length of 1 is assigned to a pattern in which all 4x4 blocks are white, but the frequency of occurrence of this pattern is by far the highest compared to other patterns. Considering this, as shown in FIG. 5, a more efficient data compression method can be obtained by adding a code corresponding to the class only to this pattern followed by an encoded run length of the pattern. Next, an embodiment of the encoding method explained in FIG. 3 is shown in FIG.

4X4プロツクで与えられた入カビツトパターンI。Input pattern I given in 4X4 block.

−115はプロツク回転回路1により4種類の方向に回
転され、それらの最小値となるビツトパターンX。−X
,5を出力すると共に回転方向に対応するビツトD。,
,を出力する。一方カウンタはビツトパターンI。−1
,5が入力されると同時に発生するストローブ信号ST
Bによりクロツク発生器2からのクロツクをカウント・
アツプし始める。カウンタ3の出力A。,5はビツトパ
ターンを記憶したROM4にアドレス信号として入力さ
れる。ROM4のメモリ内容は第7図に示す如く、第2
図のパターンに対応するビツトパターンである。アドレ
ス信号A。〜5に対応してROM4から出力される16
ビツトデータY。〜15は比較器5によつて前記パター
ンX。〜15と比較され、一致した時のみ信号EQを出
力する。符号化回路6は一致信号EQが発生した時点で
カウンタ3の出力A。〜5および回転方向情報D。,,
を第3図に従つて符号化し、信号系列SをクロツクCと
共に出力する。また一致信号EQが発生しない場合は固
定パターン111111に続けて原ビツトパターンI。
〜15をそのまま出力する。以上のようにして本発明2
次元プロツク符号化された信号を得ることができる。以
上のように本発明の2次元プロツク符号化方式は冗長除
去を差分データによつていないため、ビツト誤りによる
再生画像の誤り伝搬が発生しない。
-115 is a bit pattern X that is rotated in four different directions by the block rotation circuit 1 and has the minimum value thereof. -X
, 5 and bit D corresponding to the rotation direction. ,
, is output. On the other hand, the counter has bit pattern I. -1
, 5 are input, and the strobe signal ST is generated at the same time as
B counts the clock from clock generator 2.
It starts to pick up. Output A of counter 3. , 5 are input as address signals to the ROM 4 which stores bit patterns. The memory contents of ROM4 are as shown in Figure 7.
This is a bit pattern corresponding to the pattern in the figure. Address signal A. 16 output from ROM4 in response to ~5
Bit data Y. ~15 is the pattern X determined by the comparator 5. .about.15, and outputs the signal EQ only when they match. The encoding circuit 6 outputs the output A of the counter 3 at the time when the coincidence signal EQ is generated. ~5 and rotation direction information D. ,,
is encoded according to FIG. 3, and the signal sequence S is output together with the clock C. If the match signal EQ is not generated, the fixed pattern 111111 is followed by the original bit pattern I.
~15 is output as is. As described above, the present invention 2
A dimensional block encoded signal can be obtained. As described above, since the two-dimensional block encoding system of the present invention does not rely on differential data for redundancy removal, error propagation in reproduced images due to bit errors does not occur.

また2次元プロツクをパターンとして符号化するため、
効率の優れたデータ圧縮を行なうことができる。
Also, in order to encode the two-dimensional block as a pattern,
Highly efficient data compression can be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は2次元画像信号をプロツタに分割される様子を
示す図、第2図は4×4プロツクパターンとパターン番
号との対応図、第3図はそのパターン番号と符号との対
応図、第4図は第2図および第3図に示す符号化例を第
1図に適用した場合の符号系列を示す図、第5図は第3
図で示された符号化法を応用した符号化法を示す図、第
6図は本発明のプロツク符号化方式の実施例を示す図、
第7図は第6図のROM4のメモリ内容を示す図である
。 STB・・・・・・ストローブ信号、S・・・・・・信
号系列、C・・・・・・クロツク。
Figure 1 is a diagram showing how a two-dimensional image signal is divided into plotters, Figure 2 is a diagram showing the correspondence between 4x4 block patterns and pattern numbers, and Figure 3 is a diagram showing the correspondence between pattern numbers and codes. , FIG. 4 is a diagram showing the code sequence when the encoding examples shown in FIGS. 2 and 3 are applied to FIG. 1, and FIG.
A diagram showing an encoding method applying the encoding method shown in the figure, FIG. 6 is a diagram showing an embodiment of the block encoding method of the present invention,
FIG. 7 is a diagram showing the memory contents of the ROM 4 in FIG. 6. STB: strobe signal, S: signal series, C: clock.

Claims (1)

【特許請求の範囲】 1 ファクシミリ等の2次元2値画像信号の原画像情報
をm×nの2次元ブロックに分割し、あらかじめすべて
の代表的なm×nの2次元ブロックパターンについて、
回転させて得られるパターンは同一パターンとみなし、
いくつかのパターンをまとめてクラスを形成し、該代表
的パターンとそれを回転して得られるパターンに対して
、まず生起頻度が大きいクラスには符号長が短かいとい
う性質をもつ各クラスに対応する符号、次に同一クラス
内の各パターンを識別する符号、最後に回転させること
により異なるパターンが生ずる場合にはブロック回転方
向に対応する符号の3種の部分から構成される符号を用
い、また上記代表的なパターン以外のパターンについて
はその他のクラスであることを識別する符号とm×nビ
ットパターンをそのまま符号とする2種の部分から構成
されることを特徴とする2次元ブロック符号化方法。 2 各ブロックが4×4のますめであることを特徴とす
る特許請求の範囲第1項記載の2次元ブロック符号化方
法。
[Claims] 1. Original image information of a two-dimensional binary image signal such as a facsimile is divided into m×n two-dimensional blocks, and all representative m×n two-dimensional block patterns are divided in advance.
The patterns obtained by rotating are considered to be the same pattern,
Several patterns are grouped together to form a class, and for the representative pattern and the pattern obtained by rotating it, first, we correspond to each class that has the property that the code length is short for classes with a high frequency of occurrence. A code consisting of three parts is used: a code that identifies each pattern within the same class, and finally a code that corresponds to the block rotation direction if a different pattern is produced by rotation. A two-dimensional block encoding method characterized in that patterns other than the above-mentioned representative patterns are comprised of two types of parts: a code that identifies the other class, and a code that uses the m×n bit pattern as it is. . 2. The two-dimensional block encoding method according to claim 1, wherein each block is a 4×4 block.
JP52068095A 1977-06-08 1977-06-08 2D block encoding method Expired JPS5929020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52068095A JPS5929020B2 (en) 1977-06-08 1977-06-08 2D block encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52068095A JPS5929020B2 (en) 1977-06-08 1977-06-08 2D block encoding method

Publications (2)

Publication Number Publication Date
JPS542619A JPS542619A (en) 1979-01-10
JPS5929020B2 true JPS5929020B2 (en) 1984-07-17

Family

ID=13363822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52068095A Expired JPS5929020B2 (en) 1977-06-08 1977-06-08 2D block encoding method

Country Status (1)

Country Link
JP (1) JPS5929020B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6275782A (en) * 1985-09-30 1987-04-07 Canon Inc Picture coding device
JP2653781B2 (en) * 1985-12-13 1997-09-17 キヤノン株式会社 Image editing processing method
JPH0777420B2 (en) * 1985-12-13 1995-08-16 キヤノン株式会社 Digital image processor
GB8627787D0 (en) * 1986-11-20 1986-12-17 British Telecomm Pattern processing
US5048112A (en) * 1990-04-25 1991-09-10 Hughes Aircraft Company Data decompression system and method
US5109438A (en) * 1990-04-25 1992-04-28 Hughes Aircraft Company Data compression system and method
WO2004068844A1 (en) * 2003-01-30 2004-08-12 Fujitsu Limited Image compression method, image restoration method, program, and apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5040015A (en) * 1973-07-16 1975-04-12

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5040015A (en) * 1973-07-16 1975-04-12

Also Published As

Publication number Publication date
JPS542619A (en) 1979-01-10

Similar Documents

Publication Publication Date Title
US5109437A (en) Method for compressing digital data
Howard et al. Parallel lossless image compression using Huffman and arithmetic coding
EP0103773B1 (en) Method of processing picture signal to increase average run length and apparatus therefor
JPS5929020B2 (en) 2D block encoding method
US4779276A (en) Data transmission system
KR930006750B1 (en) Coding appalatus of video data
US4972497A (en) Image coding system
GB2029169A (en) Facsimile communication system
JPS586344B2 (en) Fugou Kasouchi
JPS6282723A (en) Redundancy suppression coding system
JPS6027465B2 (en) image transmission device
JPS63164575A (en) Encoding system for image data
JPH0723238A (en) Picture data compression and decoding device
JPH0123034B2 (en)
JP2713298B2 (en) Color image signal decoding device
JPS586345B2 (en) Fukugo Kasouchi
JP2809161B2 (en) Predictive coding device
JPS61179675A (en) Method and apparatus for coding color picture signal
JPS6329472B2 (en)
JPH0261832B2 (en)
JPH0763151B2 (en) Variable length code decoding circuit
JPS5814674A (en) Image coding system
JPS60253372A (en) Picture signal coding system
JPH0789621B2 (en) Encoder
JPH07101919B2 (en) Dither image encoding device