JPS6398283A - Redundancy suppressing coding system - Google Patents

Redundancy suppressing coding system

Info

Publication number
JPS6398283A
JPS6398283A JP61243084A JP24308486A JPS6398283A JP S6398283 A JPS6398283 A JP S6398283A JP 61243084 A JP61243084 A JP 61243084A JP 24308486 A JP24308486 A JP 24308486A JP S6398283 A JPS6398283 A JP S6398283A
Authority
JP
Japan
Prior art keywords
length
block
encoding
run
code
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.)
Pending
Application number
JP61243084A
Other languages
Japanese (ja)
Inventor
Masafumi Wataya
雅文 綿谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61243084A priority Critical patent/JPS6398283A/en
Publication of JPS6398283A publication Critical patent/JPS6398283A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently perform the suppression concerning main and sub- scanning directions by compressing with a run-length coding once over a (l) line of a sub-scanning direction concerning the zero block of a variable length in a main scanning direction to the data of N bits, M pieces and an (l) line and block-coding to respective rows of N X mj X l rows concerning the non- zero block of a fixed length. CONSTITUTION:One element of one row is an N bit, M pieces of it are longitudinally arranged, one line is constituted and an (l) line is simultaneously inputted. An M number of multivalue data in one line is divided with mj pieces (j=1-K) and the division is executed to all (l) lines. The block is executed on the division. At that case, when '1' appears at the bit of either of N X m1 X l row and one column, the zero block (block including '0') of the N X m1 X l row of the variable length is segmented in the main scanning direction. When the block is interrupted, the non-zero block of the fixed length is segmented from next in the main scanning direction. Concerning the former, a run-length coding is executed and concerning the latter, a prescribed block code is assigned for one row. When the above-mentioned operation is successively repeated and mk is completed, a next (l) line is inputted.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は例えばラスクスキャン方式で読み取られたカラ
ー2進多値ディザ画像データのような、複数ラインに亙
る2進多値信号の冗長度を抑圧する冗長度抑圧符号化方
式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is directed to the redundancy of a binary multilevel signal over multiple lines, such as color binary multilevel dithered image data read using a rask scan method. The present invention relates to a redundancy suppression coding method.

[従来の技術] 2値画像データに代表される2値信号の冗長度抑圧符号
化方式においては、元の要素列よりも統計的性質の偏り
の大きな信号列を得る事と、そのようにして得られた信
号列を簡単な符号化によって、高い圧縮比を得ることが
大きな課題である。
[Prior Art] In a redundancy suppression coding method for binary signals such as binary image data, it is necessary to obtain a signal sequence with greater bias in statistical properties than the original element sequence, and to A major challenge is to obtain a high compression ratio by simply encoding the obtained signal sequence.

統計的性質の偏りの大きな信号列においては、同じ論理
値を持つ連続長がより長くなるから、例えばランレング
ス符号化を行えば、いわゆるエントロピーが減り、極め
て高い圧縮比が得られるからである。
This is because in a signal sequence with large statistical bias, the length of consecutive sequences having the same logical value becomes longer, so if run-length encoding is performed, for example, so-called entropy is reduced and an extremely high compression ratio can be obtained.

ところが、画像通信、特にファクシミリ通信の分野での
符号化法、例えばCCITTが勧告するMH(モディフ
ァイド・ハフマン)符号化、及びMR(モディファイド
READ)符号化、MMR(モディファイド、モディフ
ァイドREAD)符号化等はファクシミリだけでなく、
電子ファイル等にも使用されているのは周知の事である
が、これらの符号化法は、文字等の文書情報には本質的
に“白”ランが多い事に着目して、かかる画像データの
伝送を前提としたものである。一方、一般の文書画像に
加え、写真等の中間調画像の2値画像については、例え
ばディザ法等により2値化した疑似中間調画像が考えら
れる。しかし、疑似中間調画像は面積階調法により階調
性を出すものである事から、その性質上印字ドツト(“
黒”)は分散する事になる。即ち、疑似中間調画像は、
元の中間調画像よりも短い「ラン長」が増える事となり
、このままでは符号化に不都合である。
However, encoding methods in the field of image communications, especially facsimile communications, such as MH (Modified Huffman) encoding, MR (Modified READ) encoding, and MMR (Modified, Modified READ) encoding recommended by CCITT, are Not only facsimile,
It is well known that these encoding methods are also used for electronic files, etc., but these encoding methods focus on the fact that document information such as characters inherently has many "white" runs, and are used to encode such image data. This is based on the premise of transmission. On the other hand, in addition to general document images, binary images such as halftone images such as photographs may be pseudo halftone images that are binarized using a dither method or the like. However, since pseudo-halftone images produce gradation using the area gradation method, their nature makes it difficult to print dots (“
black") will be dispersed. In other words, the pseudo-halftone image will be
This results in an increase in the "run length" which is shorter than the original halftone image, which is inconvenient for encoding if left as is.

この事情を、2進多値デイザの一例として4値デイザに
ついて、第2図(a)〜(C)及び第3図(a)、(b
)を用いて説明する。第2図(a)及び(b)のマトリ
ックスは閾値マトリックス、特にドツト集中型のディザ
マトリックスを示す。同図(C)は、4値デイザにおけ
るドツト(画素)とデータ(2ビツトのパルス幅変調)
との関係を示している。第3図(a)の実線は第2図(
b)の第1行目の閾値変化を表わす。このような閾値に
対して図の点線のような中間調画像が入力すると、第3
図(b)に示されたような離散的な分布をもつ疑似中間
調画像データが得られる。このように“白”黒”がバラ
バラになると、ランレングス符号化では圧縮率が低下す
るのに説明を要しないであろう。又、この様な疑似中間
調画像に対してMH符号化等を行うと、高能率な抑圧が
望めないばかりか、逆にデータ量が増加する場合があっ
た。
This situation is explained in Figures 2 (a) to (C) and Figures 3 (a) and (b) for a four-value dither as an example of a binary multi-value dither.
). The matrices of FIGS. 2(a) and 2(b) represent threshold matrices, particularly dot-concentrated dither matrices. Figure (C) shows dots (pixels) and data (2-bit pulse width modulation) in a 4-value dither.
It shows the relationship between The solid line in Figure 3(a) is the same as in Figure 2(
The threshold change in the first row of b) is shown. When a halftone image like the dotted line in the figure is input to such a threshold, the third
Pseudo halftone image data having a discrete distribution as shown in Figure (b) is obtained. If "white" and "black" become disjointed in this way, the compression rate will decrease in run-length encoding, which requires no explanation.Also, when performing MH encoding etc. on such pseudo-halftone images, If this is done, not only is it not possible to achieve highly efficient suppression, but the amount of data may even increase.

従来、上記問題を解消する手段として、ピットインタリ
ーブ法が知られている。ピットインタリーブ法では、互
いに近接した閾値に対応する画素をグループ化し、複数
系行のピットパターンへ変換し、或いは同一の閾値のも
の同志をグループ化して複数系行のビットパターンへ変
換し、それぞれのビットパターンに対しMH符号化を行
っているが、大幅な効率化は望めないものであった。
Conventionally, a pit interleaving method has been known as a means to solve the above problem. In the pit interleaving method, pixels corresponding to threshold values that are close to each other are grouped and converted into multi-line pit patterns, or pixels with the same threshold are grouped and converted into multi-line bit patterns, and each Although MH encoding is performed on the bit pattern, significant efficiency improvements cannot be expected.

一方、上記白/黒画像に比べるとカラー画像の情報量は
3〜4倍と膨大なものであり、又、最近は商品化のため
、1画素当りの情報も2進多値化の傾向にある。従って
、この情報を伝送、又は記憶するには高能率な冗長度抑
圧符号化方式が必要となるのは白/黒画像の比ではない
。しかし、現在カラー画像情報に対する有効な冗長度抑
圧符号化方式が無く、前述の白/黒画像に対する従来方
式を組み合わせたもの、即ち各色の画像データに対して
ピットインタリーブ、MH符号化等を行っているのが実
状であり、これではあまり高能率化は望めないものであ
った。
On the other hand, compared to the above-mentioned black and white images, the amount of information in color images is enormous, 3 to 4 times larger, and recently, due to commercialization, the information per pixel has also tended to become binary and multivalued. be. Therefore, it is not the white/black image ratio that requires a highly efficient redundancy reduction coding scheme to transmit or store this information. However, there is currently no effective redundancy suppression coding method for color image information, and a combination of the conventional methods for black and white images described above, that is, pit interleaving, MH coding, etc., are performed on image data of each color. The reality is that this situation does not allow for much improvement in efficiency.

[発明が解決しようとする問題点] 上述の特にカラー画像データの問題はそれのみに留まら
ず、とりも直さず同時に発生する複数の2進多値のデー
タ列にもあり得る問題である。特に、ラスタースキャン
方式等で読み取られたカラー画像データのような場合、
副走査方向にも相関しているのであるから、副走査方向
の圧縮も極めて大きな課題として浮び上る。
[Problems to be Solved by the Invention] The above-mentioned problems in particular with color image data are not limited to this, but can also occur with a plurality of binary multi-value data sequences that occur simultaneously. In particular, in the case of color image data read using raster scan method, etc.
Since this is also correlated with the sub-scanning direction, compression in the sub-scanning direction also emerges as an extremely important issue.

そこで、本発明は上述従来例の欠点に鑑みなされたもの
でその目的は、複数個の二進多値データ列の冗長度を、
主走査方向及び副走査方向について、効率よく抑圧する
冗長度抑圧符号化方式を提案する事にある。
Therefore, the present invention was made in view of the drawbacks of the above-mentioned conventional example, and its purpose is to improve the redundancy of a plurality of binary multivalued data strings.
The object of the present invention is to propose a redundancy suppression coding method that efficiently suppresses redundancy in the main scanning direction and the sub-scanning direction.

[問題点を解決するための手段〕 上記課題を実現するための本発明の構成は、1要素かN
ビットの2進多値データ列をM個並べて、該M個の二進
多値データ列を副走査方向に1ラインずつ入力する入力
部と、前記M個の二進多値データ列を(m I 1m 
a r・・・mj、・・・mm)という個数の二進デー
タ列に分割し、該分割されたmj XN行のとットデー
タ列を各jについて前記副走査方向の見ラインに互って
各データのビット値を調べた上で、NXmjXI行の可
変長ゼロブロックを2個と、“1”のビットを少なくと
も1つ含み行方向に固定長の長さをもつNxmjx1行
の固定長非ゼロブロックを切出すブロック切出部と、前
記Nxmjx、Q行の可変長ゼロブロックに対してはラ
ンレングス符号化によりランレングス符号に変換するラ
ンレングス符号化部と、前記N×m、xfi行の固定長
非ゼロブロックの各行に対して所定の符号化を行うブロ
ック符号化部と、前記入力部が旦ライン入力する毎に、
前記ランレングス符号と前記所定の符号化コードとを全
てのm3行について、所定の順序で合成して出力する合
成部とを有する。
[Means for solving the problems] The configuration of the present invention for realizing the above problems consists of one element or N
an input section for arranging M binary multi-value data strings of bits and inputting the M binary multi-value data strings line by line in the sub-scanning direction; I 1m
a r...mj,...mm), and the divided data strings of mj After checking the bit values of the data, two variable-length zero blocks with NXmjXI rows and a fixed-length non-zero block with Nxmjx1 rows that includes at least one "1" bit and has a fixed length in the row direction. a run-length encoding unit that converts the variable-length zero block of N x m j x and Q rows into a run-length code by run-length coding; a block encoding unit that performs predetermined encoding on each row of the long non-zero block, and each time the input unit inputs a line,
and a combining unit that combines the run-length code and the predetermined encoded code for all m3 rows in a predetermined order and outputs the result.

他の本発明の構成は、1要素がNビットの2進多値デー
タ列をM個並べて、該M個の二進多値データ列を副走査
方向に1ラインずつ人力する入力部と、各要素を行及び
ラインについて所定幅のインタリープを行って、1ライ
ンがN行XM個の第1のビットデータ列を得、該第1の
ビットデータ列について各行毎にそのビット変化をとら
え、ビット変化を′1″°とし、非変化を0”とするよ
うに変換して、1ラインがNビツト×M個のビットデー
タ列を得る前処理部と、該前処理部に接続し前記Nビッ
ト×M個の第2のとットデータ列をNビット多値のM個
の二進多値データ列として1ラインづつ入力するブロッ
ク切出部であって、前記M個の二進多値データ列を(m
1、m2.・・・mj、・・・mk)という個数の二進
データ列に分割し、該分割されたm、IXN行のビット
データ列を各jについて前記副走査方向の旦ラインに互
って各データのビット値を調べた上で、列方向と行方向
のいずれのデータ中にも“0”ビットのみを含み行方向
に可変長の長さをもつNxmjxu行の可変長ゼロブロ
ックを交信切出し、“1”のビットを少なくとも1つ含
み行方向に固定長の長さをもっNxmjx、Q行の固定
長非ゼロブロックを切出すブロック切出部と、前記NX
m、IX、Q行の可変長ゼロブロックに対してはランレ
ングス符号化によりランレングス符号に変換するランレ
ングス符号化部と、前記固定長非ゼロブロックの各行に
対して所定の符号化を行うブロック符号化部と、前記入
力部がりライン入力する毎に、前記ランレングス符号と
前記所定の符号化コードとを全てのm3行について、所
定の順序で合成して出力する合成部とを有する。
Another configuration of the present invention includes an input section for arranging M binary multi-value data strings each having N bits, and manually inputting the M binary multi-value data strings one line at a time in the sub-scanning direction; The elements are interleaved with a predetermined width for rows and lines to obtain a first bit data string in which one line has N rows and A preprocessing unit converts the data so that the value is '1'' and no change is 0'', and one line is connected to the preprocessing unit to obtain a data string of N bits x M bits. A block cutting unit which inputs M second dot data strings as M binary multi-value data strings of N-bit multi-value one line at a time, m
1, m2. . . .mj, . After examining the bit value of , communicate the variable-length zero blocks of Nxmjxu rows that contain only "0" bits in both column and row data and have variable lengths in the row direction, and a block cutting unit that cuts out a fixed length non-zero block of Nxmjx,Q rows including at least one bit of 1'' and having a fixed length in the row direction;
A run-length encoding unit converts the m, IX, and Q rows of variable-length zero blocks into run-length codes by run-length encoding, and performs predetermined encoding on each row of the fixed-length non-zero blocks. It has a block encoding unit and a combining unit that combines the run-length code and the predetermined encoded code in a predetermined order for all m3 rows each time the input unit inputs a line and outputs the result.

[作用] 上記構成の1つの本発明に係る冗長度抑圧方式よると、
主走査方向に可変長のゼロブロックについては、副走査
方向の見ラインに亙って一度にうンレングス符号化によ
り圧縮され、固定長の非ゼロブロックについては、Nx
mjx文行の各行に対して所定のブロック符号化を行う
事により、圧縮される。
[Operation] According to one of the redundancy suppression methods according to the present invention having the above configuration,
Zero blocks with a variable length in the main scanning direction are compressed by length encoding across the line in the sub-scanning direction, and non-zero blocks with a fixed length are compressed by Nx
It is compressed by performing predetermined block encoding on each line of the mjx sentence line.

他の本発明の構成によると、前記前処理により、副走査
方向と主走査方向の両方向について、” o ”のラン
長が長くなり、ランレングス符号化による符号化が効率
的になると共に、固定長非ゼロブロックのHxmjxj
1個の1行ブロック中に特定のパターンが多数発生し、
その特定パターンに対する前記ブロック符号化に際して
、より短くなるような符号化コードを選ぶようにすると
、圧縮効率が更に上る。
According to another configuration of the present invention, the preprocessing increases the run length of "o" in both the sub-scanning direction and the main scanning direction, making encoding by run-length encoding efficient and Hxmjxj of long non-zero block
Many specific patterns occur in one single line block,
When encoding the block for the specific pattern, selecting a shorter encoding code will further improve compression efficiency.

一以下余白一 [実施例] 以下添付図面を参照しつつ本発明に係る実施例を詳細に
説明する。本発明を適用した実施例は、符号化の手法そ
のものに特徴がある実施例と、符号化を行う前段階であ
る前処理と前記符号化との組合せに特徴がある実施例等
である。
Embodiments Below, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Embodiments to which the present invention is applied include embodiments characterized by the encoding method itself, and embodiments characterized by the combination of preprocessing, which is a step before encoding, and the encoding.

〈実施例の原理〉 そこで、本発明の概念の概略を簡単に把握するために、
第4図(a)及び(b)を用いて実施例に採用されたと
ころのブロック切出しの原理を説明する。
<Principle of Examples> Therefore, in order to easily understand the outline of the concept of the present invention,
The principle of block extraction adopted in the embodiment will be explained using FIGS. 4(a) and 4(b).

第4図(a)は1データ(1要素)がNビットの二進多
値データが全体で縦にMXf1個ずつ横に連続して同時
に入力される様子を示している。即ち、1行の1要素が
Nビットで、それが縦(副走査方向)にM個並んだもの
が1ラインを構成し、そのようなラインが全体で見ライ
ン同時に人力するものである。このようなデータ列とし
て、例えば、ラスクスキャン方式で読取られたカラー多
値画像データ列を想定すればよい。即ち、M=4であれ
ば、通常この4つの要素はシアン、マゼンタ、イエロー
、ブラックである。副走査方向のりラインとは、信号中
のビットの偏在度にもより適当な長さを選び、例えば、
互いに隣接するライン同志であれば、又=2となる。
FIG. 4(a) shows how one data (one element) of N-bit binary multi-value data is inputted simultaneously, consecutively and horizontally by one MXf in the vertical direction. That is, one element in one row is N bits, and M pieces of these arranged vertically (in the sub-scanning direction) constitute one line, and such a line is viewed as a whole and is manually read at the same time. As such a data string, for example, a color multi-valued image data string read using a rask scan method may be assumed. That is, if M=4, the four elements are usually cyan, magenta, yellow, and black. The vertical line in the sub-scanning direction is selected to have an appropriate length depending on the degree of uneven distribution of bits in the signal, for example,
If the lines are adjacent to each other, then the value is 2.

第4図(a)、更に第4図(b)は、第4図(a)に示
されたような多値データ列をブロック化する手法を説明
するものである。第4図(a)にも示すように、1ライ
ン中の多値データM個を(m を個、m2個* ”’ 
m J個m m 1個)と分割し、この分割を旦うイン
全てに行う、この(ml。
FIG. 4(a) and FIG. 4(b) explain a method of forming a multivalued data string as shown in FIG. 4(a) into blocks. As shown in FIG. 4(a), M pieces of multi-value data in one line are
m J pieces m m 1 piece), and this division is performed on all the inputs, this (ml.

m2.・・・m」・・・mk)は、例えばカラー多値画
像データであれば、m、wm、=2とすれば、シアンと
マゼンタの組合せ、イエローとブラックの組合せとなる
。このような分割の上で、第4図(b)のように、先ず
、1ライン目〜交ライン目までの夫々のm1行の二進多
値データをまとめ、これを全体がNxyy1、 xjl
行のビットデータ列とみて、ブロック化を行う。
m2. . . m" . . . mk) is, for example, color multivalued image data, and if m, wm, = 2, it becomes a combination of cyan and magenta, and a combination of yellow and black. Based on such division, as shown in FIG. 4(b), first, m1 rows of binary multi-value data from the first line to the intersection line are compiled, and the whole is Nxyy1, xjl.
It is treated as a bit data string in a row and is divided into blocks.

このブロック化は、先ず、最初の縦の1列のNxm、x
jlの中に0″のビットしか含まれていないときは、次
のNxm、x11×10のデータを見ていき、この操作
をNXmt X41行1列のいずれかのビットに“1“
が現われるまで続け、現われた時点で、主走査方向に可
変長のNXrrz x見行のブロック(“0”しか含ま
ないので、便宜上ゼロブロックと呼ぶ)を切出すという
ものである。可変長のゼロブロックが途切れると、次か
ら主走査方向に固定長の非ゼロブロックを切出す。
This blocking starts with the first vertical column Nxm, x
If jl contains only 0" bits, look at the next Nxm, x11x10 data, and perform this operation by setting "1" to any bit in NXmt X41 row and 1st column.
The process continues until the ``0'' appears, at which point a variable-length NXrrzx-view block (contains only "0", so it is called a zero block for convenience) is cut out in the main scanning direction. When a variable-length zero block is interrupted, a fixed-length non-zero block is cut out in the main scanning direction.

固定長非ゼロブロックを切出すと、再び可変長ゼロブロ
ックを捜して切出す。もし、固定長ゼロブロックの次に
、再び固定長非ゼロブロックが現われると、強制的にレ
ングス゛0”のゼロブロックを挿入するように操作する
。これについては後に詳述する。
After cutting out fixed length non-zero blocks, variable length zero blocks are searched for and cut out again. If a fixed-length non-zero block appears again after a fixed-length zero block, a zero block with a length of 0'' is forcibly inserted.This will be described in detail later.

上記のようにブロック化した上で、符号化を行う。可変
長ゼロブロックについては、ランレングス符号化を、固
定長の非ゼロブロックについては、1行毎に所定のブロ
ック符号を割当てる。
After forming blocks as described above, encoding is performed. For variable-length zero blocks, run-length encoding is applied, and for fixed-length non-zero blocks, a predetermined block code is assigned to each row.

m、について上記操作が終了すると、m2.m3・・・
と上記の操作を繰返し、mkを終了すると、次の旦ライ
ンを入力する。
When the above operation is completed for m, m2. m3...
Repeat the above operations, and when mk is finished, input the next line.

くカラー画像データへの適用〉 以下、前記符号化をカラー画像データに適用した実施例
について、第1図(a)、(b)を用いて説明する。説
明の順序として、同図(a)。
Application to Color Image Data> An example in which the above encoding is applied to color image data will be described below with reference to FIGS. 1(a) and 1(b). The order of explanation is shown in FIG.

(b)の実施例の概略を説明し、その上で、それらの構
成部分の詳説を行う。尚、第1図(a)と同図(b)の
実施例の相違は符号化の相違である。
An outline of the embodiment (b) will be explained, and then its constituent parts will be explained in detail. The difference between the embodiments shown in FIG. 1(a) and FIG. 1(b) is in encoding.

〈第1実施例の概略〉・・・第1図(a)先ず、第1図
(a)の実施例から説明する。本実施例はシアン(C)
、マゼンタ(M)、イエロー(Y)、ブラック(K)の
4値のカラー画像データを、CとMの組合せ、YとKの
組合せの夫々について、冗長度抑圧するものである。第
4図(a)、(b)に即して言えば、N=2(上位ピッ
ト、下位ピット)、M=4.文士2.ml =m2=2
である。尚、図を見ても分るように、C,Mの組合せと
Y、にの組合せは、同等であるので、以下の説明ではC
,Mの組合せで説明を行う。
<Outline of the first embodiment> Fig. 1(a) First, the embodiment of Fig. 1(a) will be explained. This example is cyan (C)
, magenta (M), yellow (Y), and black (K), redundancy is suppressed for each of the combinations of C and M and the combinations of Y and K. According to FIGS. 4(a) and (b), N=2 (upper pit, lower pit), M=4. Writer 2. ml=m2=2
It is. As can be seen from the figure, the combination of C and M and the combination of Y are equivalent, so in the following explanation, C
, M will be explained.

実施例の回路構成は、大きく分けて、前処理部I CM
と符号化処理部2CMとからなる。前処理部I CMは
画像メモリ(3c、3M)と副走査方向ピットインタリ
ーブ再構成部(4C,4M )と、主走査方向ピットイ
ンタリーブ再構成部(5c、5M)と、変化点抽出部(
6C,6M)とからなる。画像メモリには、例えば第2
図(a)、(b)のような4×4のディザマトリックス
によって、多値化されたカラー画像データが格納されて
いる。このカラー画像データは、1画素のカラー成分が
第2図(C)のように4値画像データ(上位ビットと下
位ビットの組合せ)となっており、又前記ディザマトリ
ックスによる多値化で、主走査/副走査の両方向につい
て、ランがバラバラになっているものとする。
The circuit configuration of the embodiment can be roughly divided into the preprocessing section ICM
and an encoding processing unit 2CM. The preprocessing unit ICM includes an image memory (3c, 3M), a sub-scanning direction pit interleaving reconstruction unit (4C, 4M), a main scanning direction pit interleaving reconstruction unit (5c, 5M), and a change point extraction unit (
6C, 6M). In the image memory, for example, the second
Multivalued color image data is stored using a 4×4 dither matrix as shown in FIGS. (a) and (b). In this color image data, the color components of one pixel are four-value image data (a combination of upper bits and lower bits) as shown in Fig. 2 (C), and the main color is multi-valued by the dither matrix. It is assumed that the runs are disjoint in both scanning and sub-scanning directions.

副走査方向ピットインタリーブ再構成部(4c。Sub-scanning direction pit interleaving reconstruction unit (4c.

4M)は例えば4ビツトのピットインタリーブを、副走
査方向の1ライン(1力ラー成分の上位ビットと下位ビ
ットから構成される夫々)を1ビツトとみなして行い、
更にピットインタリーブ後の隣接する2ラインの画像デ
ータを出力する。即ち、4ビツトのピットインタリーブ
であれば、出力される2ラインは、画像メモリ中の1ラ
インと5ライン目のカラー画像データの上位ビットと下
位ビットの8ビツトデータ(4CL+1+ 4 CLI
+ 4 CL15゜4cLs+4yu++4M+++4
Mus+4mbg )である※尚−Uは上位ビットを、
Lは下位ビットを表わすものとする。こうして、副走査
方向のランの長さが改善される。主走査方向ピットイン
タリーブ再構成部5は同時入力する8ビツトデータ(4
cu+。
4M), for example, performs 4-bit pit interleaving by regarding one line in the sub-scanning direction (each consisting of the upper and lower bits of a single error component) as one bit.
Further, two adjacent lines of image data after pit interleaving are output. That is, in the case of 4-bit pit interleaving, the two output lines are 8-bit data (4CL+1+4CLI
+ 4 CL15゜4cLs+4yu++4M+++4
Mus+4mbg) *In addition, -U indicates the upper bit,
Let L represent the lower bit. In this way, the run length in the sub-scanning direction is improved. The main scanning direction pit interleaving reconstruction unit 5 receives 8-bit data (4 bits) input simultaneously.
cu+.

4  CLI + 4  eLI5+ 4  CLSI
 4 MU1+ 4 MLI * 4 MIJSr 4
  MLB  )の主走査方向について、例えば4ビッ
ト幅でピットインタリーブ処理を行って、8ビツトデー
タ(5eU1+5 CLSI5 CLI8+5 eL1
1+5 MU1+ 5 MLll5 MIJSr5ML
5)を変化点抽出部に出力する。この主走査方向ピット
インタリーブ処理により論理値“1″は上記変化点のみ
となる。そうすると、“0”ランが更に増えるので、後
述のランレングス符号化部によるランレングス符号化が
効率的となり、高いデータ圧縮率が得られる。
4 CLI + 4 eLI5+ 4 CLSI
4 MU1+ 4 MLI * 4 MIJSr 4
For example, in the main scanning direction of MLB), pit interleaving processing is performed with a width of 4 bits, and 8-bit data (5eU1+5 CLSI5 CLI8+5 eL1
1+5 MU1+ 5 MLll5 MIJSr5ML
5) is output to the change point extraction section. Due to this main scanning direction pit interleaving process, the logical value "1" becomes only at the above-mentioned change points. In this case, the number of "0" runs increases further, so that run-length encoding by a run-length encoding unit, which will be described later, becomes efficient, and a high data compression rate can be obtained.

変化点抽出部は8ビツトデータ(5CUI + 5 C
LI +5 CuSo4 CLSI5 MLIII5 
MLll5 MUS+51LS )の夫々について、主
走査方向にピット変化する点をとらえ、その変化点を“
1”とし、それ以外の点を“O”とするような変換を行
って8ビツトデータ(6CLSI15 CLSI6 C
LIll16 CLSI6 MU116 MLll61
11LI!116ML!1)を符号化部2CMに出力す
る。6CUI+6 CLI + 61:U5 + 6 
CL5 +をまとめて6 C1,6asと表し、6ML
11 + 6MLI + 6 MIJSr 6 ML5
をまとめて6M1゜6MSと表す。
The change point extraction part uses 8-bit data (5 CUI + 5 C
LI +5 CuSo4 CLSI5 MLIII5
MLll5 MUS+51LS), the point where the pit changes in the main scanning direction is captured, and the change point is
1” and the other points as “O” to create 8-bit data (6CLSI15 CLSI6 C
LIll16 CLSI6 MU116 MLll61
11LI! 116ML! 1) is output to the encoding unit 2CM. 6CUI+6 CLI+61:U5+6
CL5 + is collectively expressed as 6 C1,6as, and 6ML
11 + 6MLI + 6 MIJSr 6 ML5
are collectively expressed as 6M1°6MS.

第1実施例に係る符号化の概略を更に説明する。符号下
部2CMについてはその構成は、8ビツトデータ(6C
Ul+ 6 CLSI 6 CUS+ 6 CLSI 
6 MUl+6MLI + 6 MU5 * 6ML5
 )中で、いずれかが1”である事を検出するO→1検
出部8CMと、0→1検出部8CMが“O”−“1”の
変化を検出した時点で、それまでのゼロ要素のみを含む
8行の可変長ゼロブロックを切出すランレングス符号化
部9CMと、前記8行の可変長ゼロブロックに続いて、
8とットデータ(6CL11+ 6 CLSI 6 C
Ufl+ 6 CLSI 6 MLll−6MLII 
6 MU516 ML5 )について、所定の長さく例
えば4列)の固定長非ゼロブロック(従って8つの1行
4列ブロック)を切出すブロック符号化部7CM7CM
と、これらの符号化コードを合成する合成部10cMと
からなる。
The outline of the encoding according to the first example will be further explained. The structure of the lower 2CM of the code is 8-bit data (6C
Ul+ 6 CLSI 6 CUS+ 6 CLSI
6 MUl+6MLI + 6 MU5 * 6ML5
), when the O → 1 detection unit 8CM detects that either one is 1” and the 0 → 1 detection unit 8CM detects a change of “O” - “1”, the previous zero element a run-length encoding unit 9CM that extracts 8 rows of variable length zero blocks containing only 8 rows of variable length zero blocks, and following the 8 rows of variable length zero blocks,
8t data (6CL11+ 6 CLSI 6 C
Ufl+ 6 CLSI 6 MLll-6MLII
6 MU516 ML5), a block encoding unit 7CM7CM that cuts out fixed-length non-zero blocks (therefore, eight 1-row, 4-column blocks) of a predetermined length (for example, 4 columns)
and a synthesizing section 10cM that synthesizes these encoded codes.

ランレングス符号化部9cMは、4行の可変長ゼロブロ
ックに対してランレングス符号化により冗長度を抑圧し
てランレングス符号12CMを出力し、前記ブロック符
号化部7CMは夫々の切出された8つの1行4列の固定
長非ゼロブロックの夫々に所定の符号化を施して、8つ
のブロック符号11 CMを得る。合成部10CMでは
ランレングス符号12CMと8つのブロック符号11C
Mを所定の順で並べて合成し画像データ列13CMを出
力する。
The run-length encoding unit 9cM suppresses redundancy by run-length encoding the four rows of variable-length zero blocks and outputs a run-length code 12CM, and the block encoding unit 7CM outputs a run-length code 12CM for each cut-out zero block. A predetermined encoding is applied to each of the eight 1-by-4 fixed-length non-zero blocks to obtain eight block codes 11 CM. The combiner 10CM has a run-length code 12CM and eight block codes 11C.
M are arranged in a predetermined order and combined to output an image data string 13CM.

第1図(a)に示した実施例の構成によると“0”ラン
についてはランレングス符号化により高能率に圧縮され
る。又8ビツトデータ(6cus。
According to the configuration of the embodiment shown in FIG. 1(a), the "0" run is highly efficiently compressed by run-length encoding. Also, 8-bit data (6cus.

6 CLSI 6  CLI!116  CLSI 6
 MLIII 6MLI+ 6 MIJSr 6 ML
Bl  )の信号源の種類(例えば、画像データであれ
ば原画像の種類)によっては、非ゼロブロックが特定の
パターンを多く含む場合がある。これは前述の前処理に
より多く発生する。このような特定パターンに対して、
例えばブロックの固定長より短い符号長の符号コードを
各1行4列のブロックに割当てるような符号化をブロッ
ク符号化部7CMで行えば、“1”を含む画像データ列
に対しても高能率に圧縮できる。例えば第8図(a)に
は上記非ゼロブロックが取得るパターンを示し、そのパ
ターンをもつ1行4列のブロックに対して行う符号化の
例を示す。
6 CLSI 6 CLI! 116 CLSI 6
MLIII 6MLI+ 6 MIJSr 6 ML
Bl) Depending on the type of signal source (for example, the type of original image in the case of image data), non-zero blocks may include many specific patterns. This often occurs due to the pretreatment mentioned above. For such specific patterns,
For example, if the block encoding unit 7CM performs encoding in which a code with a code length shorter than the fixed length of the block is assigned to each block of 1 row and 4 columns, high efficiency can be achieved even for image data strings containing "1". It can be compressed into For example, FIG. 8(a) shows a pattern obtained by the non-zero block, and shows an example of encoding performed on a block in 1st row and 4th column having that pattern.

〈第2実施例の概略〉・・・第1図(b)第1図(b)
の実施例は前処理については同図(a)の実施例と同じ
であるので、その説明を省略する。符号化部2CMにつ
いては、前記8つの1行4列の非ゼロブロックのパター
ンを調べるパターン判別部14CMと、そのようなブロ
ックに対しては、そのようなパターンを有している事を
示すフラグを生成するフラグ生成部150Mを有してい
るところに、第1図(a)と差異がある。
<Outline of the second embodiment>...Fig. 1(b) Fig. 1(b)
The preprocessing in this embodiment is the same as the embodiment shown in FIG. The encoding unit 2CM includes a pattern determination unit 14CM that examines the pattern of the eight non-zero blocks arranged in rows 1 and 4, and a flag indicating that such blocks have such a pattern. The difference from FIG. 1(a) is that it includes a flag generating section 150M that generates a flag.

さて、第1実施例でのブロック符号化は、多く発生する
パターンに対して、そのブロック長よりも短い符号長の
符号にすることで、データ圧縮を達成するものであった
が、第2実施例では、そのような特定のパターンもった
ことを示すフラグ16CMをフラグ生成部15CMにて
発生し、このフラグ18CMをブロック符号化部7CM
によるブロック符号17cMとランレングス符号化部9
CMによるランレングス符号12cvと合せて、合成部
10CMにより、圧縮信号130Mとすることにより、
更なる圧縮を目指すものである。尚、フラグの例を第1
2図(a)、(b)に示す。
Now, in the block encoding in the first embodiment, data compression was achieved by using a code with a code length shorter than the block length for frequently occurring patterns. In the example, a flag 16CM indicating that such a specific pattern is present is generated in the flag generation unit 15CM, and this flag 18CM is generated in the block encoding unit 7CM.
Block code 17cM and run length encoder 9
Combined with the run length code 12cv by CM, the synthesizer 10CM generates a compressed signal 130M,
The aim is further compression. In addition, the first example of the flag is
This is shown in Figure 2 (a) and (b).

く各構成部分の説明〉 以下順次図面に従って説明するものであるが、第1図(
a)、(b)に示した実施例の各構成要素は共通部分を
多くもつので、説明の重複を防ぐために、以下説明する
添付の図面は各1色又は2色に対する回路例等である。
Explanation of each constituent part> The following will be explained in sequence according to the drawings.
Since each component of the embodiments shown in a) and (b) has many common parts, in order to avoid duplication of explanation, the accompanying drawings described below are examples of circuits for each color or two colors.

先ず、前M環部I CMについて説明しよう。First, let's explain the front M ring part ICM.

〈ピットインタリーブ再構成部〉 第5図(a)及び(b)更に第6図(a)〜(C)、第
7図(a)、  (b)を用いて、ピットインタリーブ
の手法を説明する。第5図(a)は、画像メモリ3゜に
格納されたところの、例えば第2図(a)又は(b)の
ディザマトリックスにより4値化された4値のC信号の
状態を示す。
<Pit interleaving reconstruction unit> The pit interleaving method will be explained using Fig. 5 (a) and (b), and Fig. 6 (a) to (C), and Fig. 7 (a) and (b). . FIG. 5(a) shows the state of a 4-value C signal stored in the image memory 3°, which has been converted into a 4-value signal using the dither matrix shown in FIG. 2(a) or 2(b), for example.

主走査方向へ40画素分の大きさを持ち、副走査方向に
ついては便宜上5ライン分を示す。図に付された番号は
主走査方向には画素の番号を付したものである。この4
値のC信号は、主/副走査方向の夫々に4ビツト周期の
周期性をもつ。前述したように、このようなディザ画像
は中間調を表現するにはすぐれるが、ラン長が短くなっ
てしまっているのは図をみても明らかである。
It has a size of 40 pixels in the main scanning direction, and 5 lines are shown in the sub-scanning direction for convenience. The numbers given in the figure are the numbers of pixels in the main scanning direction. This 4
The value C signal has periodicity of 4 bit periods in each of the main and sub-scanning directions. As mentioned above, such a dithered image is excellent for expressing halftones, but it is clear from the figure that the run length is short.

この4値C信号に対して、副走査方向ピットインタリー
ブ再構成部4cが副走査方向について4ビツトのインタ
リーブを行うと、第4図(a)の1.2,3.・・・、
5・・・のライン配列が、第4図(b)の如き1,5,
9.13・・・なる配列となり、“白”ラン及び“黒”
ラン長が増加しているのがわかる。
When the sub-scanning direction pit interleaving reconstruction unit 4c performs 4-bit interleaving in the sub-scanning direction on this 4-value C signal, 1.2, 3. in FIG. 4(a). ...,
The line arrangement of 5... is 1, 5, etc. as shown in Fig. 4(b).
9.13... becomes the arrangement, "white" run and "black"
It can be seen that the run length is increasing.

主走査方向ピットインタリーブ再構成部5cは第5図(
C)に示す如く更に主走査方向についても4ビツトのピ
ットインタリーブ処理を行う。第7図(a)に副走査方
向ピットインタリーブ再構成部4cの構成を示す。副走
査方向ピットインタリーブ再構成部4cのアドレスカウ
ンタ91はライン番号を1.5.9・・・と4ラインず
つ飛ばしながらカウントするカウンタであって、同時に
2つのアドレス値93.94を出力する。このアドレス
値93.94は、4ライン分離れている。これらのアド
レス値に従って読出し回路92がメモリインタリーブを
行いながら、同時にメモリ3CMの内容を、2ライン分
、計8ビット読出して、主走査方向ピットインタリーブ
再構成部5Cに出力する。読出し回路92により読出さ
れた最初の2ラインの4つのピットデータを2値化号4
c、(即ち%  4CLI++4CLI ) +  4
cs (4CII5+4CL5 )を順に並べたものを
、第5図(b)に示す。このようにして、副走査方向の
周期性が取り除かれ、ラン長が長くなる。
The main scanning direction pit interleaving reconstruction unit 5c is shown in FIG.
As shown in C), 4-bit pit interleaving processing is also performed in the main scanning direction. FIG. 7(a) shows the configuration of the sub-scanning direction pit interleave reconstruction section 4c. The address counter 91 of the sub-scanning direction pit interleave reconfiguring unit 4c is a counter that counts line numbers in increments of 4 lines, such as 1, 5, 9, . . . , and outputs two address values of 93.94 at the same time. This address value 93.94 is separated by four lines. While the readout circuit 92 performs memory interleaving according to these address values, it simultaneously reads out the contents of the memory 3CM for two lines, a total of 8 bits, and outputs it to the main scanning direction pit interleave reconfiguration unit 5C. The four pit data of the first two lines read out by the readout circuit 92 are converted into binary code No. 4.
c, (i.e. % 4CLI++4CLI) + 4
Fig. 5(b) shows the sequence of cs (4CII5+4CL5). In this way, periodicity in the sub-scanning direction is removed and the run length becomes longer.

主走査方向ピットインタリーブ再構成部5cについて説
明する。第5図(b)の信号(4C1+4cs)は略4
ビット周期の周期性をもつ。この信号(4c+、 4c
s)に対して4ビツトの主走査方向のインタリーブを行
うと、第5図(b)の1゜2.3,4.・・・の主走査
方向の画素配列が第5図(C)の如き1,5,9,13
.1?、・・・なる配列となり、主走査方向に“白”ラ
ン及び“黒”ラン長が増加しているのがわかる。
The main scanning direction pit interleave reconstruction unit 5c will be explained. The signal (4C1+4cs) in FIG. 5(b) is approximately 4
It has periodicity of bit period. This signal (4c+, 4c
When interleaving of 4 bits in the main scanning direction is performed on s), 1°2.3, 4. The pixel arrangement in the main scanning direction of ... is 1, 5, 9, 13 as shown in Fig. 5(C).
.. 1? , . . . , and it can be seen that the “white” run and “black” run lengths increase in the main scanning direction.

ところで、ピットインタリーブを4ビツトとしたのは、
閾値処理に用いたディザマトリックスの大きさが4ビツ
トであるからであるが、上記ピットインタリーブはディ
ザマトリックスと同一の長さで行った。このようなピッ
トインタリーブ長の決定の他に、マトリックスの大きさ
の整数倍又は整数分の1の大きさに設定する事もできれ
ば、又は閾値マトリックス内の近似した値をもつ閾値に
対応した周期でグループ化する手法もある。
By the way, the reason why the pit interleave is set to 4 bits is because
This is because the size of the dither matrix used for threshold processing was 4 bits, but the pit interleaving was performed with the same length as the dither matrix. In addition to determining the pit interleaving length in this way, it can also be set to an integer multiple or fraction of the size of the matrix, or with a period corresponding to a threshold with an approximate value in the threshold matrix. There is also a method of grouping.

主走査方向ピットインタリーブ再構成部5cの回路を第
7図(b)に示す。主走査方向ピットインタリーブ再構
成部5cはC信号(4c+、 4cs)の並べ換えのた
めに2組のラインメモリ40.41を用いる。1組のラ
インメモリの1単位のメモリは上位ビットと下位ビット
用の2ビツト分もち、全部で4ライン分(信号4 (:
Ll1、4 CLI、4 CLI5゜J CLS用)の
容量があり2組のラインメモリを同時にアクセスするた
めにメモリインタリーブ機能がある。2組用いるのは、
C信号(4CI+ 4 C6)の入力と並べ換え動作と
並べ換えられた信号列!5ct、scsを読み出す動作
とを同時に行うためである。即ち、1組のラインメモリ
に入力(書込み)するときは、他方の組のラインメモリ
は出力(読み出し)に使われる。1組のラインメモリが
同時に書込みと読出しに使われるのを防ぐために、書込
み用のアドレスカウンタ25と、読み出し用のアドレス
カウンタ26と、これらカウンタ25.26の出力を各
ラインメモリ40.41に振り分けるセレクタ27,2
8,29,30,31.32及び排他制御を行うライン
メモリ制御部42等がある。ラインメモリ制御部42は
1ライン毎に発生するBD信号38に同期して第2ライ
ンメモリ書込み信号36又は第1ラインメモリ書込み信
号37を交互に“1”とする。又セレクタ27.28.
31は、第2ラインメモリ書込み信号36又は第1ライ
ンメモリ書込み信号37の論理値に応じて出力を選択す
るセレクタであり、一方、セレクタ29,30.32は
同じく、第2ラインメモリ書込み信号36又は第1ライ
ンメモリ書込み信号37の論理値に応じて入力を選択す
るものである。このようにすると、第1ラインメモリ書
込み信号37が“1“のときは、第2ラインメモリ書込
み信号36は“0”であり、セレクタ2フは出力″O”
を、セレクタ29は入力″0″を、セレクタ31は出力
″0″を選ぶためにC信号4C++40Sが第1ライン
メモリ40に書き込まれ、一方読み出しアドレスカウン
タ26の出力はセレクタ28及びセレクタ30により第
2ラインメモリ41に入力し、セレクタ32は第2ライ
ンメモリ41を選ぶ、こうして書込みと読み出しの同時
処理が行え、高速化に寄与する。
The circuit of the main scanning direction pit interleaving reconstruction section 5c is shown in FIG. 7(b). The main scanning direction pit interleaving reconstruction unit 5c uses two sets of line memories 40 and 41 to rearrange the C signals (4c+, 4cs). One unit of memory in one set of line memory has 2 bits for the upper bit and lower bit, for a total of 4 lines (signal 4 (:
It has a memory interleaving function to access two sets of line memories simultaneously. Two sets are used:
C signal (4CI+4C6) input and rearrangement operation and rearranged signal string! This is because the operation of reading out 5ct and scs is performed at the same time. That is, when inputting (writing) to one set of line memories, the other set of line memories is used for outputting (reading). In order to prevent one set of line memories from being used for writing and reading at the same time, an address counter 25 for writing, an address counter 26 for reading, and the outputs of these counters 25 and 26 are distributed to each line memory 40 and 41. Selector 27,2
8, 29, 30, 31, 32, and a line memory control unit 42 that performs exclusive control. The line memory control unit 42 alternately sets the second line memory write signal 36 or the first line memory write signal 37 to "1" in synchronization with the BD signal 38 generated for each line. Also selector 27.28.
31 is a selector that selects an output according to the logical value of the second line memory write signal 36 or the first line memory write signal 37; Alternatively, the input is selected according to the logical value of the first line memory write signal 37. In this way, when the first line memory write signal 37 is "1", the second line memory write signal 36 is "0", and the selector 2 outputs "O".
, the selector 29 selects the input "0" and the selector 31 selects the output "0", so the C signal 4C++40S is written to the first line memory 40, while the output of the read address counter 26 is written to the first line memory 40 by the selector 28 and the selector 30. The data is input to the 2-line memory 41, and the selector 32 selects the second line memory 41. In this way, simultaneous writing and reading processing can be performed, contributing to speeding up.

各アドレスカウンタ25.26のアドレス発生方法を第
6図(a)〜(e)に示す。ラインメモリの容量を例え
ば第6図(a)に示す如く000〜I FFFとする。
The address generation method for each address counter 25, 26 is shown in FIGS. 6(a) to 6(e). The capacity of the line memory is, for example, 000 to IFFF as shown in FIG. 6(a).

前述したように、1アドレス2ビツトである。000〜
FFFは信号4C1のため、1000〜I FFFは信
号4C8のためにある。書込みアドレスカウンタ25は
第6図(b)の如く、000からFFF及び1000〜
IFFFまでのシーケンシャルに昇順に増やせばよい。
As mentioned above, one address has two bits. 000~
FFF is for the signal 4C1, and 1000 to IFFF is for the signal 4C8. As shown in FIG. 6(b), the write address counter 25 is set from 000 to FFF and from 1000 to
It may be increased sequentially in ascending order up to IFFF.

又、読み出しアドレスカウンタ26は第6図(C)のよ
うにする。読み出しカウンタ26のこのようなアドレス
発生回路は、例えば書込みアドレスカウンタ25と同一
なカウンタと、オフセット用の1”〜“4“の出力のカ
ウンタと、加算器とを用いれば容易に構成できる。
Further, the read address counter 26 is configured as shown in FIG. 6(C). Such an address generation circuit for the read counter 26 can be easily constructed using, for example, a counter identical to the write address counter 25, a counter with an output of 1" to "4" for offset, and an adder.

尚、本実施例のBD信号38は本冗長度抑圧符号化方式
を例えばレーザビームプリンタ等に適用すればビームデ
テクト信号を用い、ファクシミリ等に適用すれば水平同
期信号を用いるものである。
The BD signal 38 of this embodiment uses a beam detect signal if the present redundancy suppression coding method is applied to, for example, a laser beam printer, or uses a horizontal synchronization signal if applied to a facsimile or the like.

又、アドレスカウンタ25.26及びラインメモリ40
.41の駆動クロックは同期クロック35CMである。
In addition, address counters 25 and 26 and line memory 40
.. The driving clock 41 is a synchronous clock 35CM.

この同期クロック35cMは符号化合成部15CMで生
成されるもので、符号化合成部15CMでの符号化の際
に、信号列があるパターンのときは強制的に所定のコー
ドを挿入する必要が生じ、その場合、その強制挿入コー
ド(本実施例では、MHコードで“0″である)を合成
部10cM合成部10c2が送出し終るまで、副走査方
向及び主走査方向ピットインタリーブ再構成部4 C+
 50の動作を停止するために用いられる(詳しくは後
述する)。
This synchronized clock 35cM is generated by the encoding and combining unit 15CM, and when the signal sequence is in a certain pattern during encoding in the encoding and combining unit 15CM, it is necessary to forcibly insert a predetermined code. In that case, the sub-scanning direction and main scanning direction pit interleaving reconstruction unit 4C+ continues until the synthesis unit 10cM synthesis unit 10c2 finishes sending out the forced insertion code (in this embodiment, the MH code is “0”).
50 (details will be described later).

以上述べたようなピットインタリープ再ti成部が、第
1図(a)、(b)に示した如く、カラー信号の各色に
ついてピットインタリーブを行う。
The pit interleaving retiring unit as described above performs pit interleaving for each color of the color signal, as shown in FIGS. 1(a) and 1(b).

ところで、第1図(a)、Cb’)をみてもわかるよう
に、C信号とM信号とは同時に符号化部2cMで符号化
される。即ち、C信号とY信号のピットインタリーブ前
処理は同期しており、従って第7図(a)、(b)に示
した構成要素のうち、第1ラインメモリ40と第2ライ
ンメモリ41以外は共通化でき、この共通化により回路
の小規模化に寄与する。信号Yと信号にとの組合せにつ
いても同様である。
By the way, as can be seen from FIG. 1(a) and Cb'), the C signal and the M signal are encoded at the same time by the encoding section 2cM. That is, the pit interleaving preprocessing of the C signal and the Y signal is synchronized, and therefore, of the components shown in FIGS. 7(a) and 7(b), except for the first line memory 40 and second line memory 41, It can be shared, and this commonality contributes to downsizing of the circuit. The same applies to the combination of signal Y and signal Y.

尚、副走査方向のピットインタリーブ処理は前記実施例
では隣接した2ラインについて行ったが、第7図(a)
、(b)の構成を変更すれば、副走査方向の複数ライン
に亙ってピットインタリーブ処理を行うことも可能であ
る。又更に、上記実施例では主/副両走査方向について
ピットインタリープm埋を行ったが、2値化号の種類、
特性により場合によってはそのようなピットインタリー
ブが必要なければ、ピットインタリーブ処理を行わずに
、直接符号化処理を行ってもよい。
Incidentally, pit interleaving processing in the sub-scanning direction was performed on two adjacent lines in the above embodiment, but as shown in FIG. 7(a).
, (b), it is also possible to perform pit interleaving processing over multiple lines in the sub-scanning direction. Furthermore, in the above embodiment, pit interleap m filling was performed in both the main and sub-scanning directions, but the type of binarization code,
If such pit interleaving is not necessary depending on the characteristics, direct encoding processing may be performed without pit interleaving processing.

く変化点抽出〉 上記ピットインタリーブ処理によって“0”ラン又は”
1”ランの長さがある程度長くなったならば、変化点の
抽出、つまり“1”ランを“0”ランに変換する事によ
り、更に“0”ランを長くする事が可能となる。第8図
(b)に変化点抽出のための回路の一例を、同図(a)
にその結果を示す。第8図(b)の変化点抽出部6cの
一例は信号5C1の主走査方向に1画素隣接する画素同
士の間の変化点を抽出する場合である。1つ隣接する画
素を検出するためにフリップフロップ20゜22を用い
、変化点を検出するためEX−ORゲ−ト(排他論理和
ゲート)21.23を用いる。
Change point extraction〉 “0” run or “
Once the length of the 1" run becomes long to a certain extent, it is possible to further lengthen the 0" run by extracting the change point, that is, converting the 1 run to a 0 run. Figure 8(b) shows an example of a circuit for extracting changing points, and Figure 8(a)
The results are shown below. An example of the changing point extracting section 6c in FIG. 8(b) is a case where changing points between pixels adjacent to each other by one pixel in the main scanning direction of the signal 5C1 are extracted. Flip-flops 20 and 22 are used to detect one adjacent pixel, and EX-OR gates (exclusive OR gates) 21 and 23 are used to detect a change point.

4ビツトインタリーブをかけられた2値化号列に対し、
注目画素と同一走査線にあるその直前の画素とEX−O
Rをとる。即ち、第2図(a)の閾値DIJに2値化号
列の各画素を対応させれば、EX−ORゲート21.2
3の出力D xlJ 6 C1はDxlJ=DIJ  
■DI−ITJ である。変化点抽出部6゜では、第8図(b)の回路を
信号5c、の為に更にもう1回路設けている。第8図(
a)には、信号6C++6C5を示す。
For a binary code sequence subjected to 4-bit interleaving,
The pixel immediately before the target pixel on the same scanning line and EX-O
Take R. That is, if each pixel of the binarized code string is made to correspond to the threshold value DIJ in FIG. 2(a), the EX-OR gate 21.2
3 output D xlJ 6 C1 is DxlJ=DIJ
■DI-ITJ. In the change point extracting section 6.degree., one more circuit is provided for the signal 5c in the circuit shown in FIG. 8(b). Figure 8 (
In a) the signal 6C++6C5 is shown.

第5図(c)と第8図(a)を比較してもわかるように
、“O”ラン(このような”O″ラン“白”ランとも呼
ぶ)が長くなっていて、ランレングス符号化に適する事
が一目瞭然である。又、ビットインタリーブされた信号
列は“白”ランと“黒”ランのラン長が長い。このよう
な信号列から変化点を抽出した信号列6CI+6C5に
表われる特徴は次のようである。
As can be seen by comparing Figure 5(c) and Figure 8(a), the "O" run (such "O" run is also called "white" run) is longer, and the run length code is It is obvious that it is suitable for Further, in the bit-interleaved signal string, the run lengths of the "white" run and the "black" run are long. The characteristics appearing in the signal sequence 6CI+6C5 obtained by extracting changing points from such a signal sequence are as follows.

■:論理値“1”が前後を“O”に囲まれて孤立的に偏
在する(即ち、“0”ランの後に“1000”が発生す
る)確率が高くなる。これは“白”ラン、“黒”ランが
長ければ、それらの両端にのみ変化点“1”が発生する
からである。
(2): There is a high probability that a logical value "1" will be isolated and unevenly distributed surrounded by "0"s (that is, "1000" will occur after a "0" run). This is because if the "white" run and "black" run are long, change points "1" occur only at both ends of them.

■ニ一方、長い“白”ラン中の孤立した“黒”。■ On the other hand, an isolated "black" in a long "white" run.

及び長い“黒”ラン中の孤立した“白”はその変化点を
捕えると“1100”となる。
And an isolated "white" in a long "black" run becomes "1100" when the change point is captured.

上記■及び■から、信号列13C4には1000”と“
1100”が多く発生する事がわかる。
From the above ■ and ■, the signal string 13C4 has 1000” and “
It can be seen that 1100" occurs frequently.

この事は第8図(a)をみれば自ずと明らかである。上
記の事実は、後述する符号化と大きく関わる。
This is obvious when looking at Figure 8(a). The above fact has a great deal to do with encoding, which will be described later.

以上、冗長度抑圧符号化のための前処理について説明し
た。そこで、次に、符号化合成部について、実施例を2
つ説明する。上記の前処理部はある意味では各色の信号
及び各ラインの信号に対して独立して処理するものであ
った。以下説明する符号化の実施例は、2色の信号(例
えば、信号Cと信号M)についての隣接するラインの信
号をあたかも1つの信号として処理するものである。
The preprocessing for redundancy reduction coding has been described above. Therefore, next, we will explain the second embodiment regarding the encoding/synthesizing section.
Let me explain. In a sense, the preprocessing section described above independently processes each color signal and each line signal. In the encoding embodiment described below, adjacent line signals of two color signals (for example, signal C and signal M) are processed as if they were one signal.

く第1実施例の符号化〉 第10図(a)に、変化点抽出された画像データ列(6
CUI16 CLI16MUl16ML116 C11
516CL516Mu5+ 6 ML5 )が示され、
この画像データ列からの可変長ゼロブロック(又は、固
定長非ゼロブロック)の切出し方が示されている。尚、
第10図(a)のデータと第8図(a)のデータは別の
ものである。図中、慣例に従い“0”を“白”、1”を
“黒“と称して表わす。桁数を表示し易いからである。
Encoding of the first embodiment> FIG. 10(a) shows an image data string (6
CUI16 CLI16MUl16ML116 C11
516CL516Mu5+ 6 ML5) is shown,
A method of cutting out variable length zero blocks (or fixed length non-zero blocks) from this image data string is shown. still,
The data in FIG. 10(a) and the data in FIG. 8(a) are different. In the figure, according to convention, "0" is represented as "white" and "1" is represented as "black" because it is easy to display the number of digits.

2通信号(6CL11 + 6 CLI r 6 ML
ll +6 MLI + 6 CLI5+ 6 CLS
+ 6 MLIj+  ML5 )に対しては−に れらの信号中で同時に“0”のみしか含まないものを白
(“0”)ランとして切出す。例えば図中の“白5”は
8行の白のランが6個(6列)続くという意味である。
2 communication signals (6CL11 + 6 CLI r 6 ML
ll +6 MLI + 6 CLI5+ 6 CLS
For +6 MLIj+ML5), those signals containing only "0" at the same time are cut out as a white ("0") run. For example, "white 5" in the figure means that six white runs (six columns) of eight rows continue.

このような白(“0″)ランに対して例えばMH符号化
による圧縮を行う。
Such white (“0”) runs are compressed by, for example, MH encoding.

一方、いずれかの行に1つでも1”が表われると、そこ
から4ビツト長で8つの1行4列の固定長非ゼロブロッ
クを切出す。このようなブロックは必ずどこかに1つ以
上の“1″を含むものであるが、1行全てが“O″であ
るものもあり得る。前述したような前処理を行うと、各
色毎に全体で0”ランが多くなるが、上記のような全色
をまとめたブロックの切出しを行うと、1行全てが“0
000”であるにも関わらず非ブロックに含まれてしま
うものが多くなる。例えば、第10図(a)で、7個目
の8行4列のブロックには、ゼロのみの1行4列のブロ
ック(=oooo)が4つも含まれてしまう。これは同
一画素においては、C信号とM信号の確率過程は独立で
あるから、色間で“0”と”1”の発生がランダムであ
るためである。この“0000”のパターンが多いとい
う事は、更なる圧縮の可能性を示唆している。これにつ
いては、別の実施例の説明に譲る。
On the other hand, if even one "1" appears in any row, eight fixed-length non-zero blocks of 4-bit length with 1 row and 4 columns are cut out from there. There must be one such block somewhere. These include "1" as described above, but there may also be rows in which all rows are "O". If the preprocessing described above is performed, there will be more 0" runs overall for each color, but as shown above, If you cut out a block containing all colors, all rows will be “0”.
000", many items are included in non-blocks. For example, in Figure 10 (a), the seventh block at 8 rows and 4 columns has only zeros in 1 row and 4 columns. As many as four blocks (=oooo) are included. This is because the stochastic processes of the C signal and M signal are independent in the same pixel, so the occurrence of "0" and "1" between colors is random. This is because there are many "0000" patterns, which suggests the possibility of further compression.This will be explained in another embodiment.

こうして得られた固定長非ゼロブロック内の発生し得る
パターンは第9図(a)に示した16ffi類のパター
ンの組合せである。このような16f!1類のパターン
に対して便宜上B0〜B15の記号名称を付け、第9図
(a)に示す。この規約に従つて、例えば第10図(a
)中の最初の固定長非ゼロブロックは(Bo、BI、B
8.B9.Bo、B12゜B1□、BO)と表わせる。
The patterns that can be generated in the fixed length non-zero block thus obtained are a combination of the 16ffi patterns shown in FIG. 9(a). 16f like this! For convenience, symbols of B0 to B15 are given to the patterns of type 1 and shown in FIG. 9(a). According to this convention, for example, Fig. 10 (a)
) is the first fixed-length non-zero block in (Bo, BI, B
8. B9. Bo, B12°B1□, BO).

尚、画像データによっては、第10図(a)の如く、可
変長ゼロブロックから始まらない場合がある。このよう
な場合、先頭の非ゼロブロックの前に強制的に1つの“
白0” (MH符号では“00f 10101”)を挿
入する。又、非ゼロ固定長ブロックが2つ連続するよう
な場合も同様にする。可変長ゼロブロックと固定長非ゼ
ロブロックとが必ず交互に発生して、復号化の際に同期
がとれるようにするためである。
Note that depending on the image data, as shown in FIG. 10(a), there are cases where the image does not start from a variable length zero block. In such a case, one “
Insert "White 0"("00f10101" in MH code). Also, do the same when there are two consecutive non-zero fixed length blocks. Variable length zero blocks and fixed length non-zero blocks must be alternated. This is to ensure synchronization during decoding.

ところで前述したように、前処理によりブロック中には
1ooo’及び°’1100”が多く発生する。又、い
ずれか一方の色に“1”が発生すると、そこをブロック
の一部としたから、“0000”も多い。そこで、この
ように多数発生するパターンに注目して、所定の符号化
を行ってビット長をそのパターン長より短くすれば、符
号化による圧縮率は向上する。さて、前記例では“00
00”、”1000”及び“1100”の3種類のパタ
ーンが多く発生する。第9図(a)の例では、2ビツト
の符号“00″をB。=“0000”に、′01”を8
3=“1100″に割当てるというものである。このよ
うにして高圧縮化を達成する。
By the way, as mentioned above, many 1ooo' and °'1100' occur in the block due to preprocessing.Also, when "1" occurs in either color, it is made part of the block. There are also many "0000"s. Therefore, if we focus on patterns that occur in large numbers like this and perform predetermined encoding to make the bit length shorter than the pattern length, the compression rate by encoding will improve. In the example, “00
Three types of patterns often occur: ``00'', ``1000'', and ``1100.'' In the example of FIG. 9(a), the 2-bit code ``00'' is changed to B.="0000," and 8
3=“1100”. In this way, high compression is achieved.

又、第9図(a)中のいずれのコードも互いにユニーク
なものであって、混同は生じない組合せになっている。
Furthermore, all the codes in FIG. 9(a) are unique to each other, and are a combination that will not cause confusion.

圧縮コード″10″はBo、Bs以外のパターンと判別
できなくなるから採用しない。このようにすると、多く
発生するパターン”0000″及び“1100”が2ビ
ツトに圧縮される。一方、0000″、”1100”、
“1000”以外のパターンが同一確率で多数発生する
ような画像にあっては、圧縮符号コードを3ビツトとす
る。そうすると、000”、′001″、010″、”
011”の4f!!類の圧縮コードが可能となる。個々
の圧縮では2ビツトの例よりも圧縮率が悪化するが、全
体の圧縮率は更に向上する。第10図(b)は上記の規
約に従って各信号の圧縮パターンを表した図である。第
10図(b)中、MHとはMH符号化を表す。このよう
な符号化を各2ライン毎に行う。第10図(b)をみれ
ば本実施例の符号化が単なるMH符号化よりもはるかに
圧縮率を向上しているのがわかる。
The compressed code "10" is not adopted because it cannot be distinguished from patterns other than Bo and Bs. In this way, the frequently occurring patterns "0000" and "1100" are compressed to 2 bits. On the other hand, 0000″, “1100”,
For images in which many patterns other than "1000" occur with the same probability, the compression code is set to 3 bits. Then, 000",'001",010","
011'' 4f!! type compression code is possible.In individual compression, the compression ratio is worse than the 2-bit example, but the overall compression ratio is further improved.Figure 10(b) shows the above compression code. It is a diagram showing the compression pattern of each signal according to the convention. In FIG. 10(b), MH represents MH encoding. Such encoding is performed every two lines. FIG. 10(b) It can be seen that the encoding of this embodiment improves the compression rate much more than simple MH encoding.

第11図(a)はかかる符号化のための回路の一例であ
る。RL(ランレングス)カウンタ51、セレクタ52
.“白″MH符号化ROM53等が“0”ラン、即ち、
可変長ゼロブロックをMH符号化により符号化してラッ
チ54に符号コードをラッチする。検出回路50は第1
1図(b)にその詳細図を示すように8つの二進信号列
(6CL11,6CLl+ 6 ML11+ 6 ML
II 6 CLISI 6CLS+ 6MUS+6ML
5)のいずれかの変化(“0”→“O”” o ”−“
1”1″→“0″ “1”−1″)を検出する。RLカ
ウンタ51はCLKを駆動クロックとするカウンタで、
そのEN(付勢)@子に“1”が入力するとカウント可
となり、CL(クリア)端子に1″が入力するとクリア
される。従って、RLカウンタ51は信号列(6cu+
+6 CLll6 MIJl+6 MLI・6CLI5
・6CLS+6 MLIll+6 ML5 )全てが“
0″である間はカウントし続け、そのカウント値に応じ
たMH符号コードをラッチ54に入力する。2通信号列
(6CLll + 6 eLl + 6ML11 +6
MLl+ 6 CLISI 6CLS+ 6MUS、+
 6ML5 )のいずれかが“0”から1″′に変化す
れば、その時のカウント値の符号コードが信号72を介
してラッチ54にラッチされ、同時にカウンタ51はク
リアされる。
FIG. 11(a) shows an example of a circuit for such encoding. RL (run length) counter 51, selector 52
.. “White” MH encoding ROM 53, etc. runs “0”, that is,
The variable length zero block is encoded by MH encoding and the encoded code is latched in the latch 54. The detection circuit 50 is the first
As shown in Figure 1(b) in detail, eight binary signal sequences (6CL11, 6CLl+ 6 ML11+ 6 ML
II 6 CLISI 6CLS+ 6MUS+6ML
5) Any change (“0” → “O”” o “−“
1"1"→"0""1"-1"). The RL counter 51 is a counter using CLK as a driving clock,
When "1" is input to the EN (energization) terminal, counting becomes possible, and when "1" is input to the CL (clear) terminal, it is cleared.
+6 CLll6 MIJl+6 MLI・6CLI5
・6CLS+6 MLIll+6 ML5) Everything is “
0", it continues counting and inputs the MH code according to the count value to the latch 54. 2 communication signal sequences (6CLll + 6 eLl + 6ML11 +6
MLl+ 6 CLISI 6CLS+ 6MUS, +
6ML5) changes from "0" to 1"', the sign code of the count value at that time is latched into the latch 54 via the signal 72, and at the same time, the counter 51 is cleared.

一方、8つの4ビツトシフトレジスタ61a〜61hは
、夫々、信号列(6CLll + 6 CLI + 6
 MUI +6 MLII 6 CU5+ 6 cLs
o 6 MLI516 ML8 )を4ビツト長の間保
持する。8つのブロック符号化ROM62a〜62hは
4ビツトシフトレジスタ61a〜61hの出力を夫々第
9図(a)のような規則に従った符号化を行う。一方、
4ビツトカウンタ55は検出回路50が、信号列(6C
IJI 、6 CLI + 6 MUI−+6 MLI
I 6CU8+ 6 CLll 6 MLI11+ 6
1LII )の“0”から1″への変化をとらえて、そ
の変化から4ビツトタイム後に信号71を付勢する。こ
のタイミングにブロック符号化ROM62a〜62hの
出力を夫々ラッチ63a〜63hにラッチする0合成器
64は、夫々符号化したコードを合成してシフトレジス
タ65に格納するためのものである。MH符号は可変長
であるからこのような合成器が必要となる。シフトレジ
スタ65はパラレル−シリアル変換を行う。
On the other hand, the eight 4-bit shift registers 61a to 61h each have a signal string (6CLll+6CLI+6
MUI +6 MLII 6 CU5+ 6 cLs
o 6 MLI516 ML8) is held for a length of 4 bits. The eight block encoding ROMs 62a-62h encode the outputs of the 4-bit shift registers 61a-61h, respectively, according to the rules shown in FIG. 9(a). on the other hand,
The 4-bit counter 55 has a detection circuit 50 that receives a signal string (6C
IJI, 6 CLI + 6 MUI-+6 MLI
I 6CU8+ 6 CLll 6 MLI11+ 6
1LII) from "0" to 1", and energizes the signal 71 4 bit times after the change. At this timing, the outputs of the block encoding ROMs 62a to 62h are latched into the latches 63a to 63h, respectively. The synthesizer 64 is for synthesizing the respective encoded codes and storing the synthesized code in the shift register 65.Since the MH code has a variable length, such a synthesizer is necessary.The shift register 65 is a parallel code. Perform serial conversion.

ANDゲート60は非ゼロブロックがラインの先頭から
開始するときに、前述したように白“0”に対応するM
Hコードを挿入するためにある。ANDゲート59は、
1つの非ゼロブロックに続いて“0“ランが入力せずに
直ちに“1″の信号が入力したとき、即ち、信号列(6
CUI+6c+、++6  MLII6wbx+6cu
s+6c Ls+6  Mus+6  MLs   )
のいずれかが“1″であり、かつ信号70が1”である
ときに、白“0″′に対応するMHコードを挿入するた
めにある。白“O”挿入部56はこの1つの“白1を挿
入するためにあり、ANDゲート59.60のいずれか
が開くと、セレクタ52に“0”を出力する。こうして
、白MH符号化ROM53は0″′に対応するMHコー
ド−00110101”を出力し、白“0″が強制的に
挿入される。
AND gate 60 selects M, which corresponds to white "0" as described above, when a non-zero block starts from the beginning of the line.
It is for inserting H code. AND gate 59 is
When a “1” signal is immediately input without a “0” run following one non-zero block, that is, when the signal sequence (6
CUI+6c+, ++6 MLII6wbx+6cu
s+6c Ls+6 Mus+6 MLs)
is "1" and the signal 70 is "1", to insert the MH code corresponding to white "0".The white "O" insertion section 56 is for this one " It is provided to insert white 1, and outputs "0" to the selector 52 when either AND gate 59 or 60 opens. In this way, the white MH encoding ROM 53 outputs the MH code -00110101'' corresponding to 0″', and white “0” is forcibly inserted.

尚、クロックコントロール5フは前述のピットインタリ
ーブ再構成部(41:+4M +  50+5M )の
同期クロック35CMを生成する回路であるが、上記強
制挿入のタイミングに、この“oottoiol”がシ
フトレジスタ65から出力され終るまで、同期クロック
35cMの発生を止める。ラインメモリ40又は41へ
の入力とシフトレジスタ65からの出力の同期取りのた
めである。
Note that the clock control 5f is a circuit that generates the synchronous clock 35CM of the pit interleave reconfiguration unit (41: +4M + 50+5M) described above, and at the timing of the forced insertion, this "oottoiol" is output from the shift register 65. The generation of the synchronous clock 35cM is stopped until the process is completed. This is for synchronizing the input to the line memory 40 or 41 and the output from the shift register 65.

尚、第11図(a)の回路ではMH符号化法が用いられ
たが、1次元符号化として、例えばwy1e符号等でも
よい。又、1次元符号化に限らず、MR記号、MMR記
号のような2次元符号処理にも簡単に応用できる事は明
らかであろう。基本的には符号化法を選ばないのである
。又更に、カラー画像について、R,G、Bにも適用可
能である。
Although the MH encoding method is used in the circuit of FIG. 11(a), for example, wy1e encoding may be used as one-dimensional encoding. Furthermore, it is obvious that the present invention can be easily applied not only to one-dimensional encoding but also to two-dimensional encoding processing such as MR symbols and MMR symbols. Basically, there is no choice of encoding method. Furthermore, it is also applicable to R, G, and B for color images.

く第2実施例の符号化〉 前述の実施例は、第9図(a)に示した圧縮規約に基す
き、ブロック中に多数発生する“0000”、”110
0″を夫々コード”oo”、”。
Encoding of Second Embodiment> The above-described embodiment is based on the compression rules shown in FIG.
0″ is coded “oo” and “, respectively.

1”に圧縮するものであった。本実施例は、このo o
 o o’を更に効率良く圧縮しようというものである
。そのために、8つの1行4列の非ゼロブロックの切出
しについては、前記実施例と同様に第10図(a)のよ
うに行う。そして、“1”を含む8つの1行4列のブロ
ックのいずれかの中に4ビツトの“0000” (これ
を便宜上、“ゼロパターン”と呼ぶ)があれば、それを
前記実施例のように“00”とコード化せずに、その代
りに”0000”があった事を示すフラグを設け、その
フラグの値を0”にする。1行4列中に1つでも°1”
を含むもの(そのような1行4列のブロックを便宜上、
“非ゼロパターン″と呼ぶ)に対応するフラグは“1”
とする。このようなフラグを各列に対して設ける。非ゼ
ロパターンに対応するコードは第9図(b)の如く行う
1". In this embodiment, this o o
The purpose is to compress o o' more efficiently. For this purpose, the eight non-zero blocks arranged in the 1st row and 4th column are extracted as shown in FIG. 10(a) in the same manner as in the previous embodiment. If there is a 4-bit "0000" (for convenience, this is called a "zero pattern") in any of the eight 1-row, 4-column blocks containing "1", it is used as in the previous example. Instead of coding it as "00", set a flag to indicate that "0000" was present, and set the value of that flag to 0.Even if there is one in 1 row and 4 columns, it is 1".
(For convenience, such a block with 1 row and 4 columns is
The flag corresponding to “non-zero pattern” is “1”
shall be. Such a flag is provided for each column. The code corresponding to the non-zero pattern is executed as shown in FIG. 9(b).

第12図(a)は圧縮後のフォーマットを示す。二進信
号6CU1、6 CLI+ 6MUI、6MLl+ ”
 Cll5゜6 CLS * 6 MLI5 + 6 
MLSの夫々の符号化コードを、夫々#1コード、#2
コード、・・・・・・、#8コードとする。同じく、こ
れらの符号コードに夫々対応するフラグを#IF、#2
F、・・・・・・#8Fとする。
FIG. 12(a) shows the format after compression. Binary signals 6CU1, 6 CLI+ 6MUI, 6MLl+”
Cll5゜6 CLS * 6 MLI5 + 6
The MLS encoding codes are #1 code and #2 code, respectively.
Code..., #8 code. Similarly, the flags corresponding to these code codes are #IF and #2.
F......Set as #8F.

例えば、#IFが“0”であれば、1行4列の信号6 
Cu11がゼロパターン=ooooであり、更に対応す
る#1コードは無い事を示す。
For example, if #IF is “0”, the signal 6 in the 1st row and 4th column
Cu11 has a zero pattern=oooo, indicating that there is no corresponding #1 code.

8行4列のブロックはいかなる組合せでも、必ずゼロパ
ターンと非ゼロパターンとの組合せであるから、そのフ
ラグの組合せは“10000000”、”010000
00”・・・・・・・・・、”11111111”の2
55通りである。”ooooo。
Any combination of blocks with 8 rows and 4 columns is always a combination of zero patterns and non-zero patterns, so the combination of flags is "10000000", "010000".
00”・・・・・・・・・2 of “11111111”
There are 55 ways. “ooooo.

00”はゼロブロックであるから、フラグの組合せとし
ては存在しない。第12図(b)に、フラグと符号コー
ドをも含めたフォーマット例を示す、同図によると、本
実施例による最短の符号化例は1つのみの非ゼロパター
ンを含み、その非ゼロパターンが1000″又は“11
00”のいずれかであるような画像データが入力した場
合である。これらの非ゼロパターンは第9図(b)に従
い、2ビツトのブロック符号に替えられるからである。
00" is a zero block, so it does not exist as a combination of flags. FIG. 12(b) shows an example of the format including flags and code codes. example contains only one non-zero pattern, and that non-zero pattern is
This is the case when image data such as "00" is input. This is because these non-zero patterns are converted to a 2-bit block code according to FIG. 9(b).

逆に最長は第12図(b)のように48ビツトになる。Conversely, the maximum length is 48 bits as shown in FIG. 12(b).

データ圧縮をこのように行うと、ゼロパターンはコード
としては現われないので、復号化時に同期ずれが生ずる
恐れがある。しかし、先頭には必ずフラグがあり、その
長さは必ず8ビツトであり、そのフラグの論理値により
フラグに続<#1コード〜#8コードの長さくつまり、
8行4列のブロック内にいくつゼロパターンがあるかが
)がわかる、又、第9図(b)をみてもわかるように、
Bl”’B111に対応する符号コードは全てユニーク
である。従って、ゼロパターンを、それに対応するコー
ドが無いものとして変換しても、復号化に際し同期がず
れる事は全くない。
When data is compressed in this way, the zero pattern does not appear as a code, so there is a risk that synchronization may occur during decoding. However, there is always a flag at the beginning, and its length is always 8 bits, and depending on the logical value of that flag, the length of the code following the flag is <#1 code to #8 code.
You can see how many zero patterns there are in a block of 8 rows and 4 columns, and as you can see from Figure 9(b),
All the code codes corresponding to Bl'''B111 are unique. Therefore, even if a zero pattern is converted as if there is no code corresponding to it, there will be no synchronization loss during decoding.

第10図(a)に示したブロックの切出しを、本実施例
の圧縮化に従って圧縮化すると、第13図のようになる
。図中の例えばBO/Bl /Ba/ B、/ Bo 
/ B 12/ B 12/ Boの8行4列のブロッ
クは、フラグ部が”01110110”、#1コードは
無く、#2コードは“00”、#3コードが“tooo
t”、#4コードが11001°゛・・・・・・と符号
化される。
When the block cutout shown in FIG. 10(a) is compressed according to the compression of this embodiment, it becomes as shown in FIG. 13. For example, BO/Bl /Ba/B, /Bo
/ B 12 / B 12 / The block of 8 rows and 4 columns of Bo has the flag part "01110110", no #1 code, #2 code "00", and #3 code "toooo".
t”, #4 code is encoded as 11001° .

さてこのようなフラグによる符号化を行う回路の一例を
第14図に示す。即ち、前述の第1の実施例(第11図
(a)及び(b))と基本的構成を同等にし、ブロック
符号化ROM62a〜62hを第14図のようにして、
その出力の一部にフラグ出力を追加するのである。そし
て、例えばゼロパターンがこのブロック符号化ROMに
入力したら、レングスは“1” (フラグの1ビツトの
みであるから)、フラグは“0″、コードは“0”とす
る。ROMのレングス出力は合成器64に入力され、合
成するときの情報となる。即ち、合成器64ではゼロパ
ターン”o o o o”を“1″としてしか出力しな
い。こうして、ゼロパターン“0000”を多く含むよ
うな画像信号に対しては更に効果的な圧縮が可能となる
FIG. 14 shows an example of a circuit that performs such flag-based encoding. That is, the basic configuration is the same as that of the first embodiment described above (FIGS. 11(a) and 11(b)), and the block encoding ROMs 62a to 62h are configured as shown in FIG.
The flag output is added to part of the output. For example, if a zero pattern is input to this block encoding ROM, the length is set to "1" (because it is only one bit of the flag), the flag is set to "0", and the code is set to "0". The length output of the ROM is input to the combiner 64 and becomes information for combining. That is, the synthesizer 64 only outputs the zero pattern "o o o o" as "1". In this way, even more effective compression becomes possible for image signals that include many zero patterns "0000".

以上2つ符号化の実施例を説明したが、これらの符号化
では、固定長非ゼロブロックから主走査方向に1行4列
のゼロパターン及び非ゼロパターンを取り出したが、こ
の取り出しを副走査方向に4行1列の形で取り出すよう
にしてもよい。
The above two encoding embodiments have been described, and in these encodings, zero patterns and non-zero patterns in 1 row and 4 columns in the main scanning direction are extracted from a fixed length non-zero block, but this extraction is performed in the sub-scanning direction. They may be taken out in 4 rows and 1 column in the direction.

上記の実施例では、ブロック長を4ビツトとしたが、こ
れには何ら限定はなく、回路規模及び原画像データの種
類に応じて決定される。ちなみに、8ビツト長に設定す
ると多少効率が向上する。又更に、“0”ランに対する
MH符号化も符号化のROMテーブルを多少変更するこ
とにより効率が更に向上する。又、符号化法もMW符号
化法に限らず、他の1次元符号化法にも適用できる。
In the above embodiment, the block length is 4 bits, but there is no limitation to this, and it is determined depending on the circuit scale and the type of original image data. Incidentally, setting the length to 8 bits improves efficiency somewhat. Furthermore, the efficiency of MH encoding for the "0" run can be further improved by slightly changing the encoding ROM table. Furthermore, the encoding method is not limited to the MW encoding method, but can also be applied to other one-dimensional encoding methods.

又、2値のカラー信号C,M、Y、には周知のように不
図示のメモリに蓄えられているものを読み出すか、又は
リアルタイムで画像を読取って2値化処理したものであ
ってもよい。
Furthermore, as is well known, the binary color signals C, M, and Y may be read out from a memory (not shown), or may be obtained by reading an image in real time and performing binarization processing. good.

〈実施例の効果〉 以上説明した種々の実施例の効果をまとめると以下のよ
うになる。
<Effects of Examples> The effects of the various embodiments described above are summarized as follows.

■:4値の2進表示のカラー画像データにピットインタ
リーブ処理、特に主走査方向に加えて副走査方向にもピ
ットインタリーブ処理を施すので、白ラン及び黒ランが
バラバラになったものであっても、ラン長が復元されて
長くなる。特に閾値マトリックスによって中間調処理し
たカラー画像データに有効である。
■: Pit interleaving processing is applied to the color image data in 4-level binary display, especially pit interleaving processing is performed not only in the main scanning direction but also in the sub-scanning direction, so the white runs and black runs are separated. Also, the run length is restored and becomes longer. This is particularly effective for color image data that has been subjected to halftone processing using a threshold matrix.

■:ビットインタリーブ処理を施した画像データ列に対
して更に変化点抽出処理を施すので“1”のラン調が短
く、“0″のラン長が長くなり、そのため符号化処理の
高圧縮化が期待できる。結果的には文書画像を対象とし
た符号化アルゴリズムをそのまま使用しつつ、疑似中間
調画像を高能率で圧縮できる。
■: Since change point extraction processing is further applied to the image data string that has been subjected to bit interleaving processing, the run length of "1" is short and the run length of "0" is long, which makes it possible to achieve high compression in the encoding process. You can expect it. As a result, pseudo-halftone images can be compressed with high efficiency while using the encoding algorithm intended for document images as is.

特に、MH符号化等の既存の符号化を行えば従来の回路
にわずかの変更を加えるだけで、高圧縮率の冗長度抑圧
方式が得られる。
In particular, if existing encoding such as MH encoding is used, a redundancy suppression method with a high compression ratio can be obtained with only slight changes to the conventional circuit.

■:前記■の変化点抽出により、所定のパターンをもっ
た画像データ列(ブロック)が多く発生する。そこで、
このブロック内のパターンを各行毎に短いビット長のコ
ードに符号化して、合成する。又、“0”ランに対して
は従来通りMH符号化等の1次元符号化を適用して符号
化する。即ち、原画像データの種類によっては、変化点
抽出された画像データ列には”o o o o″、“1
000″又は”1100”が多発するので、このような
ブロックを短いピットの符号化により圧縮率を高める事
ができると共に、2行以上の信号を一本化できる。
(2): Due to the change point extraction in (2) above, many image data strings (blocks) having a predetermined pattern are generated. Therefore,
The patterns in this block are encoded into short bit length codes for each row and then synthesized. Furthermore, the "0" run is encoded by applying one-dimensional encoding such as MH encoding as before. That is, depending on the type of original image data, the image data string from which the changing points have been extracted may include "o o o o" and "1".
Since "000" or "1100" occur frequently, the compression rate can be increased by encoding such blocks with short pits, and signals of two or more rows can be combined into one signal.

■:更にo o o o’なるゼロパターンを1ビツト
のフラグにおきかえる事によって、より高度の圧縮化が
可能となる。
(2) Furthermore, by replacing the zero pattern o o o o' with a 1-bit flag, a higher degree of compression becomes possible.

[以下余白] [発明の効果] 以上説明したように本発明の冗長度抑圧符号化方式によ
ると、主走査方向及び副走査方向の旦ラインに亙って同
時にブロック化し、主走査方向に可変長のゼロブロック
については、副走査方向の文ラインに亙って一度にラン
レングス符号化により圧縮され、固定長の非ゼロブロッ
クについては、NXmjx1行の各行に対して所定のブ
ロック符号化を行う事により、複数個の二進多値データ
列の冗長度を、主走査方向及び副走査方向について、効
率よく抑圧することができる。
[Margins below] [Effects of the Invention] As explained above, according to the redundancy suppression coding method of the present invention, blocks are simultaneously formed over every line in the main scanning direction and the sub-scanning direction, and variable lengths are created in the main scanning direction. For zero blocks, the entire sentence line in the sub-scanning direction is compressed by run-length encoding, and for fixed-length non-zero blocks, a predetermined block encoding is performed for each row of NXmjx1 rows. Accordingly, the redundancy of a plurality of binary multilevel data strings can be efficiently suppressed in the main scanning direction and the sub-scanning direction.

更に他の本発明によると、主走査方向、副走査方向のピ
ットインタリーブ処理により、副走査方向と主走査方向
の両方向について、“0′°のラン長が長くなり、ラン
レングス符号化による符号化が効率的になると共に、固
定長非ゼロブロックのNXmjXJ1個の1行ブロック
中に特定のパターンが多数発生し、その特定パターンに
対する前記ブロック符号化に際して、より短くなるよう
な符号化コードを選ぶようにすると、圧縮効率が更に上
げることができる。
According to still another aspect of the present invention, the pit interleaving process in the main scanning direction and the sub-scanning direction increases the run length of "0'° in both the sub-scanning direction and the main scanning direction, so that the encoding by run-length encoding becomes longer. becomes more efficient, and when a large number of specific patterns occur in one line block of NXmj By doing so, the compression efficiency can be further increased.

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

第1図(a)は第1実施例の原理構成図、第1図(b)
は第2実施例の原理構成図、第2図(a)、(b)は本
発明に係る実施例及び従来例に供されるディザマトリッ
クス図、第2図(C)は多値データとその構成ピットの
対応の一例を示す図、 第3図(a)、(b)は従来例における中間調処理によ
るピット分散度が高くなる様子を説明する図、 第4図(a)、(b)は第1.2実施例に共通なブロッ
ク切出の原理を説明する図、 第5図(a)へ(C)はピットインタリーブの原理を説
明する図、 第6図(a)〜(C)はピットインタリーブのアドレス
生成の原理を説明する図、 第7図(a)は副走査方向ピットインタリーブ再構成部
の回路図、 第7図(b)は主走査方向ピットインタリーブ再構成部
の回路図、 第8図(a)、(b)は第1.2実施例に共通な変化点
抽出部の動作及び回路構成を説明する図、 第9図(a)第1実施例に係る符号化の符号コードの一
例を説明する図、 第9図(b)第2実施例に係る符号化の符号コードの一
例を説明する図、 第10図(a)は実施例におけるブロック切出の手法を
説明する図、 第10図(b)は第1実施例における符号化後のコード
配列を説明する図、 第11図(a)、(b)は第1.2実施例に共通な符号
化のための回路図、 第12図(a)、(b)は第2実施例における符号化の
フォーマットを説明する図、 第13図は第2実施例の符号化法によるコード配列を示
す図、 第14図は第2実施例における符号化に供されるROM
の構成図である。 図中、 1゜MlIYK・・・前処理部、2cM12Yに・・・
符号化部、3cM+3Yに・・・画像メモリ、4 Co
 4 Ml 4 Y+ 4 *・・・副走査方向ピット
インタリーブ再構成部、5 Co 5 M。 5 Y、 5 K・・・主走査方向ピットインタリーブ
、6c。 6M + 6Y+ 6 K・・・変化点抽出部、4 C
UI + 4CLI +4 CLI% + 4 CLS
I 4 CUS+ 4 CLSI 4 MUI + 4
 MLI + 4 MUS+4  MLS+4  YL
11+4  YLI+4 YLI5+4 MLI14 
 KLI114  KL114 KUS + 4KLS
・・・副走査方向にピットインタリーブされた4値の二
進画像データ列、6 CUI + 6CLI +6CL
I5+ 6CLS+ 61:LIsl 6 CLSI 
6ML11+ 6MLl+ 6 MLI5・8  ML
516  YLll16  MLI16  YLI!1
,6  YL516  KIJII6  KLI+6に
υ5.6にLS・・・変化点抽出された信号、7cM+
7Yに・・・ブロック符号化部、8 CMI 8 YK
・・・O−1検出部、10cM、  10YK・・・ラ
ンレングス符号化部、11cM、  11yx・・・ブ
ロック符号、12cM、  1 :2YK・・・ランレ
ングス符号、13cM、  13YK・・・冗長度抑圧
された信号、” CMI  14yに・・・パターン判
別部、15cM、  15YK・・・フラグ生成部、1
6CM、16YK・・・フラグである。
Fig. 1(a) is a principle block diagram of the first embodiment, Fig. 1(b)
2(a) and 2(b) are dither matrix diagrams provided for the embodiment according to the present invention and the conventional example, and FIG. 2(C) is a diagram of multivalued data and its A diagram showing an example of the correspondence of constituent pits. FIGS. 3(a) and (b) are diagrams explaining how the degree of pit dispersion increases due to halftone processing in the conventional example. FIGS. 4(a) and (b) are diagrams explaining the principle of block extraction common to the 1.2 embodiments, Figures 5(a) to (C) are diagrams explaining the principle of pit interleaving, and Figures 6(a) to (C). 7(a) is a circuit diagram of the sub-scanning direction pit interleaving reconstruction unit; FIG. 7(b) is a circuit diagram of the main scanning direction pit interleaving reconstruction unit. , FIGS. 8(a) and 8(b) are diagrams explaining the operation and circuit configuration of the change point extraction unit common to the 1.2 embodiment, and FIG. 9(a) is a diagram illustrating the encoding according to the first embodiment. FIG. 9(b) is a diagram illustrating an example of a code code for encoding according to the second embodiment. FIG. 10(a) is a diagram illustrating a block extraction method in the embodiment. 10(b) is a diagram explaining the code arrangement after encoding in the first embodiment. FIGS. 11(a) and (b) are for encoding common to the 1.2 embodiment. 12(a) and 12(b) are diagrams explaining the encoding format in the second embodiment. FIG. 13 is a diagram showing the code arrangement according to the encoding method of the second embodiment. The figure shows a ROM used for encoding in the second embodiment.
FIG. In the figure, 1゜MlIYK...pretreatment part, 2cM12Y...
Encoding unit, 3cM+3Y...Image memory, 4 Co
4 Ml 4 Y+ 4 *... Sub-scanning direction pit interleaving reconstruction unit, 5 Co 5 M. 5 Y, 5 K...Main scanning direction pit interleaving, 6c. 6M + 6Y+ 6K...change point extraction section, 4C
UI + 4CLI +4 CLI% + 4 CLS
I 4 CUS+ 4 CLSI 4 MUI + 4
MLI+4 MUS+4 MLS+4 YL
11+4 YLI+4 YLI5+4 MLI14
KLI114 KL114 KUS + 4KLS
...4-level binary image data string pit-interleaved in the sub-scanning direction, 6 CUI + 6CLI + 6CL
I5+ 6CLS+ 61: LIsl 6 CLSI
6ML11+ 6MLl+ 6 MLI5・8 ML
516 YLll16 MLI16 YLI! 1
,6 YL516 KIJII6 KLI+6 to υ5.6 to LS...signal extracted at change point, 7cM+
7Y...Block encoding unit, 8 CMI 8 YK
...O-1 detection unit, 10cM, 10YK...Run-length encoding unit, 11cM, 11yx...Block code, 12cM, 1:2YK...Run-length code, 13cM, 13YK...Redundancy Suppressed signal, "CMI 14y...pattern discrimination unit, 15cM, 15YK...flag generation unit, 1
6CM, 16YK... these are flags.

Claims (6)

【特許請求の範囲】[Claims] (1)1要素がNビツトの2進多値データ列をM個並べ
て、該M個の二進多値データ列を副走査方向に1ライン
ずつ入力する入力部と、 前記M個の二進多値データ列を(m_1、m_2、・・
・m_j、・・・m_k)という個数の二進データ列に
分割し、該分割されたm_j×N行のビツトデータ列を
各jについて前記副走査方向のlラインに亙つて各デー
タのビツト値を調べた上で、列方向と行方向のいずれの
データ中にも“0”ビツトのみを含み行方向に可変長の
長さをもつN×m_j×l行の可変長ゼロブロツクをl
個切出し、“1”のビツトを少なくとも1つ含み行方向
に固定長の長さをもつN×m_j×l行の固定長非ゼロ
ブロツクを切出すブロツク切出部と、 前記N×m_j×l行の可変長ゼロブロツクに対しては
ランレングス符号化によりランレングス符号に変換する
ランレングス符号化部と、 前記N×m_j×l行の固定長非ゼロブロツクの各行に
対して所定の符号化を行うブロツク符号化部と、 前記入力部がlライン入力する毎に、前記ランレングス
符号と前記所定の符号化コードとを全てのm_j行につ
いて、所定の順序で合成して出力する合成部とを有する
冗長度抑圧符号化方式。
(1) an input unit for arranging M binary multi-value data strings each having N bits per element and inputting the M binary multi-value data strings one line at a time in the sub-scanning direction; Multivalued data string (m_1, m_2,...
m_j, ...m_k), and divide the divided m_j×N rows of bit data into the bit values of each data over l lines in the sub-scanning direction for each j. After examining this, we create a variable-length zero block of N×m_j×l rows that contains only “0” bits in both column and row data and has a variable length in the row direction.
a block cutting unit that cuts out a fixed-length non-zero block of N×m_j×l rows that includes at least one “1” bit and has a fixed length in the row direction; and the N×m_j×l rows. a run-length encoding unit that converts variable-length zero blocks into run-length codes by run-length encoding; and a block that performs predetermined encoding on each row of the fixed-length non-zero blocks of N×m_j×l rows. A redundant system comprising: an encoding unit; and a combining unit that combines the run-length code and the predetermined encoded code for all m_j rows in a predetermined order every time the input unit inputs l lines, and outputs the result. degree suppression coding method.
(2)M=4の場合に、前記1要素はシアン、マゼンタ
、イエロー、ブラツクの各カラー画像データに対応し、
m_1=m_2=2である事を特徴とする特許請求の範
囲第1項に記載の冗長度抑圧符号化方式。
(2) When M=4, the one element corresponds to each color image data of cyan, magenta, yellow, and black,
The redundancy reduction coding method according to claim 1, characterized in that m_1=m_2=2.
(3)ランレングス符号化部はN×m_j×l行の可変
長ゼロブロツクの行方向の要素数をランレングス符号化
する事を特徴とする特許請求の範囲第1項に記載の冗長
度抑圧符号化方式。
(3) The redundancy suppression code according to claim 1, wherein the run-length encoding unit performs run-length encoding on the number of elements in the row direction of the variable length zero block of N×m_j×l rows. method.
(4)ブロツク符号化部における符号コードの長さは、
少なくとも固定長非ゼロブロツクの長さより短い符号コ
ードを一部に含む事を特徴とする特許請求の範囲第1項
に記載の冗長度抑圧符号化方式。
(4) The length of the code in the block encoder is:
2. The redundancy suppression coding method according to claim 1, wherein a part of the code code is shorter than the length of at least a fixed-length non-zero block.
(5)1要素がNビツトの2進多値データ列をM個並べ
て、該M個の二進多値データ列を副走査方向に1ライン
ずつ入力する入力部と、 各要素を行及びラインについて所定幅のインタリーブを
行つて、1ラインがN行×M個の第1のビツトデータ列
を得、該第1のビツトデータ列について各行毎にそのビ
ツト変化をとらえ、ビツト変化を“1”とし、非変化を
“0”とするように変換して、1ラインがNビツト×M
個のビツトデータ列を得る前処理部と、 該前処理部に接続し前記Nビツト×M個の第2のビツト
データ列をNビツト多値のM個の二進多値データ列とし
て1ラインづつ入力するブロツク切出し部であつて、前
記M個の二進多値データ列を(m_1、m_2、・・・
m_j、・・・m_k)という個数の二進データ列に分
割し、該分割されたm_j×N行のビツトデータ列を各
jについて前記副走査方向のlラインに亙つて各データ
のビツト値を調べた上で、列方向と行方向のいずれのデ
ータ中にも“0”ビツトのみを含み行方向に可変長の長
さをもつN×m_j×l行の可変長ゼロブロツクをl個
切出し、“1”のビツトを少なくとも1つ含み行方向に
固定長の長さをもつN×m_j×l行の固定長非ゼロブ
ロツクを切出すブロツク切出部と、 前記N×m_j×l行の可変長ゼロブロツクに対しては
ランレングス符号化によりランレングス符号に変換する
ランレングス符号化部と、 前記固定長非ゼロブロツクの各行に対して所定の符号化
を行うブロツク符号化部と、 前記入力部がlライン入力する毎に、前記ランレングス
符号と前記所定の符号化コードとを全てのm_j行につ
いて、所定の順序で合成して出力する合成部とを有する
冗長度抑圧符号化方式。
(5) an input section for arranging M binary multi-value data strings each having N bits and inputting the M binary multi-value data strings one line at a time in the sub-scanning direction; Interleave a predetermined width for each line to obtain a first bit data string of N rows x M pieces, capture the bit change for each row of the first bit data string, and set the bit change to "1". Converting so that no change is set to "0", one line is N bits x M
a pre-processing unit that obtains a bit data string; It is a block extraction unit that inputs the M binary multi-value data strings (m_1, m_2, . . .
m_j, . After examining the data, cut out l variable-length zero blocks of N×m_j×l rows that contain only “0” bits in the data in both the column and row directions and have a variable length in the row direction. a block cutting unit that cuts out a fixed-length non-zero block of N×m_j×l rows that includes at least one bit of 1” and has a fixed length in the row direction; and a variable-length zero block of N×m_j×l rows. a run-length encoding unit that converts the block into a run-length code by run-length encoding; a block encoding unit that performs predetermined encoding on each row of the fixed-length non-zero block; A redundancy reduction encoding method comprising: a combining unit that combines the run-length code and the predetermined encoded code for all m_j rows in a predetermined order and outputs the result each time the run-length code is input.
(6)入力部に入力する前記M個の二進多値データ列は
、M=4であつて、閾値マトリツクスにより多値化した
多値カラー画像データである事を特徴とする特許請求の
範囲第5項に記載の冗長度抑圧符号化方式。
(6) Claims characterized in that the M binary multi-value data strings input to the input section are multi-value color image data with M=4 and multi-valued using a threshold matrix. Redundancy suppression coding method according to Section 5.
JP61243084A 1986-10-15 1986-10-15 Redundancy suppressing coding system Pending JPS6398283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61243084A JPS6398283A (en) 1986-10-15 1986-10-15 Redundancy suppressing coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61243084A JPS6398283A (en) 1986-10-15 1986-10-15 Redundancy suppressing coding system

Publications (1)

Publication Number Publication Date
JPS6398283A true JPS6398283A (en) 1988-04-28

Family

ID=17098541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61243084A Pending JPS6398283A (en) 1986-10-15 1986-10-15 Redundancy suppressing coding system

Country Status (1)

Country Link
JP (1) JPS6398283A (en)

Similar Documents

Publication Publication Date Title
US7483585B2 (en) Image compression using variable bit size run length encoding
US6522783B1 (en) Re-indexing for efficient compression of palettized images
JPH0211064B2 (en)
US4943869A (en) Compression method for dot image data
US6181825B1 (en) Methods for performing 2-dimensional maximum differences coding and decoding during real-time facsimile image compression and apparatus therefor
JPS646469B2 (en)
US8023756B2 (en) Image encoding apparatus and method of controlling same
JPS6282723A (en) Redundancy suppression coding system
US20030020722A1 (en) Image display apparatus
JPS62118642A (en) Redundancy suppression coding system
JPS6398283A (en) Redundancy suppressing coding system
JPH0789621B2 (en) Encoder
JPH0789619B2 (en) Encoder
JPS6398284A (en) Redundancy suppressing encoding system
JPS6367968A (en) Redundancy suppression coding system
JP2634793B2 (en) Color image signal encoding device
JPS6367969A (en) Redundancy suppression coding system
JPS6367967A (en) Redundancy suppression coding system
JPS6298922A (en) Redundancy suppression coding system
JPS6367966A (en) Redundancy suppression coding system
JPS6298920A (en) Redundancy suppression coding system
JP2713298B2 (en) Color image signal decoding device
JPS6282724A (en) Redundancy suppression coding system
JPS62118643A (en) Redundancy suppression coding system
JPS6315575A (en) Redundancy suppression coding system