JPS58213564A - Encoding system of picture having multilevel gradation - Google Patents

Encoding system of picture having multilevel gradation

Info

Publication number
JPS58213564A
JPS58213564A JP57096592A JP9659282A JPS58213564A JP S58213564 A JPS58213564 A JP S58213564A JP 57096592 A JP57096592 A JP 57096592A JP 9659282 A JP9659282 A JP 9659282A JP S58213564 A JPS58213564 A JP S58213564A
Authority
JP
Japan
Prior art keywords
block
address
value
line
encoding
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.)
Granted
Application number
JP57096592A
Other languages
Japanese (ja)
Other versions
JPH0261833B2 (en
Inventor
Yasuhiro Yamazaki
泰弘 山崎
Toshiaki Endo
俊明 遠藤
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP57096592A priority Critical patent/JPS58213564A/en
Publication of JPS58213564A publication Critical patent/JPS58213564A/en
Publication of JPH0261833B2 publication Critical patent/JPH0261833B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To improve the compression ratio against facsimile signal having multilevel gradations as dither pictures have, by encoding an altered block of the address of the starting block with a code indicating the block value and the value of run length. CONSTITUTION:A comparator 32 judges whether the absolute value of the content of a counter 22 is within , for example, ''3'' or not, and outputs ''1'' when the absolute value is within ''3'' or ''0'' when the value is outside the range. When the signal from P3 is ''1'' and that from the comparator 32 is ''1'', the gate 62 is opened and the content of the counter 22 is encoded by a vertical mode encoding circuit 42. On the other hand, a counter 21 is increased one by one from the time when an address controlling circuit 6 sets a0 and stops the countine when it receives an ''1'' signal from P11. A gate 61 is the one which is opened when the output of the comparator 32 is ''0'' or the signal of P5 from a coincidence circuit 8 is ''0''. Block values passed through the gate 61 are inputted into a horizontal mode encoding circuit 41 and encoded.

Description

【発明の詳細な説明】 本発F!Ati、、多レベルの階調を有するファクシミ
リ信号を能率良く伝送しまたは蓄積するために有効な符
号化方式に関する。
[Detailed description of the invention] The original F! Ati, relates to an effective encoding method for efficiently transmitting or storing facsimile signals having multiple levels of gradation.

写真の如く多レベルの階調を有する画像を人間の目に濃
淡が見えるように二値表現するための一方法に、組織的
ディザ法がある。この方法は濃淡の度合を黒白画素の数
の比率を変えて表わすものであり、第1図によって原理
を説明する。同図において、(a)は入力画像の各画素
PEの画素レベル、(b)は画素毎の閾値、(C)は二
値表示画像を示す。この組織的ディザ法によれば。
A systematic dithering method is one method for expressing an image having multiple levels of gradation, such as a photograph, in a binary manner so that the human eye can see shading. This method expresses the degree of shading by changing the ratio of the number of black and white pixels, and the principle will be explained with reference to FIG. In the figure, (a) shows the pixel level of each pixel PE of the input image, (b) shows the threshold value for each pixel, and (C) shows the binary display image. According to this method of systematic dithering.

例えば入力画像が16レベルの階調を有する場合、第1
図(b)に太線で囲んだ如く0〜15までの16種の閾
値を成る規則に従って4×4のマトリクス中に配分して
ディザマトリクスDMとし、この基本となるディザマト
リクスを縦方向及び横方向に繰返し並べて入力画像の全
画素に対する閾値を定め、閾値の方が犬であればその画
素全黒(信号11”)、そうでなければ白(信号“0#
)と表現することによシニ値表示が行われる。例えば第
1図(a)の入力画像で第2行第1列Q) 画素ICつ
いていえば、この画素のレベルカフなのに対しこれの閾
値は同図(b)では12であるから、その画素は黒即ち
信号″1#となる。このような方法で求められた二値表
示画像をディプ画像と呼ぶ。なお、ディザマトリクスに
おける閾値の配列は例えばペイヤ(Bayer )モデ
ル、渦巻型モデル等の種々のモデルに従った規則的配列
である。
For example, if the input image has 16 levels of gradation, the first
As shown by the thick line in Figure (b), 16 types of threshold values from 0 to 15 are distributed in a 4x4 matrix according to the rules to form a dither matrix DM, and this basic dither matrix is divided vertically and horizontally. are repeatedly arranged to determine a threshold value for all pixels of the input image. If the threshold value is a dog, the pixel is completely black (signal 11"), otherwise it is white (signal "0#").
) is used to display the sini value. For example, in the input image of Fig. 1(a), the pixel IC (Q) in the 2nd row and 1st column is the level cuff of this pixel, and its threshold is 12 in Fig. 1(b), so the pixel is black. In other words, the signal becomes "1#". The binary display image obtained by this method is called a dip image. The arrangement of the threshold values in the dither matrix can be based on various models such as the Bayer model and the spiral model. It is a regular arrangement according to .

一方、二値ファクシミリ信号の符号化方式の代表例とし
て国際電信電話諮問委員会(CCITT )で標準化さ
れたモディファイド・リード(ModifiedRea
d : MR)方式がある。この方式は情報変化画素(
白から黒、または黒から白に変化した画素のことで以下
、「変化画素」と称す。)を符号化する際に、符号化を
行う変化画素以前に出現した同一走査線上の変化画素ま
たは前走査線上の変化画素からの相対的アドレスを符号
化するものである。したがって、この方式は階調表現さ
れていない二値ファクシミリ信号に対しては圧縮率が高
いが、この方式でディザ画像を符号化した場合には階調
表現されていない二値ファクシミリ信号と比べて相当多
くの変化画素があるため、このままでは高い圧縮率を望
めない1、本発明はディザ画像の如く多レイルの階調を
有するファクシミリ信号に対して高い圧縮率が期待でき
る符号化方式を提供するものである。
On the other hand, as a typical example of a binary facsimile signal encoding system, Modified Read is standardized by the Consultative Committee on International Telegraph and Telephone (CCITT).
d: MR) method. This method uses information changing pixels (
A pixel that changes from white to black or from black to white is hereinafter referred to as a "changed pixel." ), the relative address from the changed pixel on the same scanning line that appeared before the changed pixel to be encoded or the changed pixel on the previous scanning line is encoded. Therefore, this method has a high compression rate for binary facsimile signals that are not expressed in gradations, but when a dithered image is encoded using this method, it is Since there are a considerable number of changing pixels, a high compression rate cannot be expected as is.1 The present invention provides an encoding method that can expect a high compression rate for facsimile signals having multi-rail gradations such as dithered images. It is something.

以下、本発明を説明する。The present invention will be explained below.

まず本発明の詳細な説明する。多レベルの階調を有する
画像を例えば4X4のディザマトリクスを用いて二値化
する場合、第1図(b)から判るようVC4画素おきに
閾値の周期性が生ずる。
First, the present invention will be explained in detail. When an image having multiple levels of gradation is binarized using, for example, a 4×4 dither matrix, as can be seen from FIG. 1(b), periodicity of the threshold value occurs every four VC pixels.

本発明はこの閾値の周期性に着目したものであり、各走
査線上で順次4画素づつまとめて各まとまシを新たに2
4値信号を有する一つのブロックと見なすと、画像を局
部的に見ればレベル変化が殆んどないこと及び前述の如
く閾値に周期性があることにより、ブロック値の変化は
画素値の変化よシも相当減少する。そこで、走査線方向
のブロックの列をブロック列と呼び、ブ四ツク列上で直
前のブロックと異なるブロック値を有するブロックを変
化ブロックと呼ぶことにすると、変化ブロックのアドレ
ス及び当該変化ブロックのブロック値を符号化すること
により、階調表現されていない二値ファクシミリ信号を
MR方式で符号化する場合と同様に圧縮率が高まる。
The present invention focuses on the periodicity of this threshold value, and sequentially collects 4 pixels on each scanning line and creates 2 new pixels for each group.
When considered as one block with a 4-value signal, changes in block values are not as similar to changes in pixel values because there are almost no level changes when looking at the image locally and the threshold has periodicity as described above. shi also decreases considerably. Therefore, if a row of blocks in the scanning line direction is called a block row, and a block that has a block value different from the previous block on the four-block row is called a changed block, the address of the changed block and the block of the changed block. By encoding the values, the compression rate increases as in the case where a binary facsimile signal without gradation representation is encoded using the MR method.

第2図〜第5図によって本発明の符号化方式を詳細に説
明する。これらの図において、各小枠は既に二値画素を
まとめて新たに作ったブロックを示し、小枠内の値はブ
ロック値を示す。
The encoding method of the present invention will be explained in detail with reference to FIGS. 2 to 5. In these figures, each small frame indicates a block newly created by combining binary pixels, and the values within the small frame indicate block values.

ここで各ブロックは0〜15の16レベルの値を取り得
るものとする。なお、符号化ライン及び参照ラインを予
め説明しておくと、符号化ラインは符号化を行っている
ラインそのものであり、参照ラインは既に符号化された
ラインのうち符号化ラインの符号化に役立たせるライン
で、ディザマトリクスにおける閾値の垂直方向の周期性
から選定され、4×4のデイザマ)IJクスが用いられ
る場合は通常4つ前のラインとされる。
Here, it is assumed that each block can take values of 16 levels from 0 to 15. To explain the encoding line and reference line in advance, the encoding line is the line that is being encoded, and the reference line is the line that is already encoded that is useful for encoding the encoding line. This line is selected based on the vertical periodicity of the threshold value in the dither matrix, and is usually the fourth previous line when a 4×4 dither matrix is used.

まず、変化ブロックのアドレスa0+ al T b、
 Tblを次のように定義する。
First, address a0+ al T b of the change block,
Tbl is defined as follows.

ao:符号化の出発点なる符号化ライン即ち符号化を行
っているブロック列上の起 点ブロックのアドレス。
ao: Address of the coding line that is the starting point of coding, that is, the starting block on the block sequence being coded.

a61:a6の直前のアドレス。a61: Address immediately before a6.

a、:符号化ライン上でanの位置の変化ブロックよシ
後で最初に生起する変化ブロ ックのアドレス。
a,: Address of the first change block that occurs after the change block at the position an on the encoding line.

bI:参照ライン即ち符号化を行う際に参照とする既に
符号化されたブロック列上 でaOの位置のブロックよシ後で最初に生起する変化ブ
ロックのアドレス。
bI: Reference line, that is, the address of the first change block that occurs after the block at the aO position on the already encoded block sequence that is used as a reference during encoding.

b、−1:b、の直前のアドレス。b, -1: Address immediately before b.

b、:参照ライン上です、の位置の変化ブロックよυ後
で最初に生起する変化ブロッ クのアドレス。
b,: Address of the first change block that occurs after the change block at the position of υ, which is on the reference line.

また、各ブロックの値vt(x) 、 vt、(x)及
びブロック間の相対的アドレスY−2を次のように定義
する。
Further, the values vt(x), vt, (x) of each block and the relative address Y-2 between blocks are defined as follows.

又αパ参照ライン上におけるXの位置のブロックの値。Also, α is the value of the block at the X position on the reference line.

■!αパ符号化分化う上におけるXの位置のブロックの
値。
■! The value of the block at the position of X on the α encoding division.

Y−Z:Zなるアドレスを基準にしたYの相対的なアド
レス。
Y-Z: Relative address of Y based on address Z.

但し、X、Y及び2はao * llo 1 + J 
+b、 、 b、−i及びblの各値を取り得る。
However, X, Y and 2 are ao * llo 1 + J
It can take the values +b, , b, -i and bl.

符号化ライン上の変化ブロックのアドレス及びブロック
値を次の手順に従って符号化する。
The address and block value of the changed block on the encoding line are encoded according to the following procedure.

a)変化ブロックのアドレス&(1+IJ+1)1及び
b2を求める。
a) Find the address &(1+IJ+1)1 and b2 of the changed block.

b)  Vt(as)とVt(ao  1)を比較し、
■+(ao)=Vt(ao−1)の場合だけ石をす、へ
移動する。即ちblをblと見なす。
b) Compare Vt(as) and Vt(ao 1),
■Move the stone to I only if +(ao)=Vt(ao-1). That is, bl is regarded as bl.

(り  Vs(bI  t)=v*(ao)で且つ−ぬ
≦al −b、5M2(Ml 2M!は0又は正の整数
)の場合は、垂直方向の相関が強いから垂直モードで符
号化することを決め% &3−b、なる相対的アドレス
の値によって符号を割ル尚てる。但し、簡単のためM、
=M2=Mとして以下説明する。なお。
(If Vs(bI t)=v*(ao) and -nu≦al-b, 5M2 (Ml 2M! is 0 or a positive integer), the correlation in the vertical direction is strong, so encode in vertical mode. We decide to divide the sign by the value of the relative address, which becomes % &3-b. However, for simplicity, M,
The following description will be made assuming that =M2=M. In addition.

vt(ao)は既に符号化されている参照ラインのVx
(bI  1)  と同じなのでブロック値を符号化す
る必要がない。例をあげると第2図の場合は、v、(a
o) = 7、Vy(ao 1 ) = 15であるた
めvuao)\V、(a、−1)であるが、V、(b、
−1)=7、Vt(ao) = 7であシ且っM=3と
すればl a、 −b、 1=1〈3であるから垂直モ
ードの符号化となる。この符号化1ti a、 −b、
 = 1であるから例えば第1表よシ”011’とされ
る。第3図の場合はVl(ao) = 15 、 Vt
(ao  1) = 15 したがってVl(ao) 
= Vt (an 1 )であル25”) bt カb
t ICfeす、その結果V+ (bI  1 ) =
 7 、 vt(no) = 7となシ且つ1aI−b
、I=1であるから垂直モードの符号化となる。符号化
はal−b、= −1であるから第1表によれば@01
0”とされる。第2゜3図いずれの場合も”1  b、
の相対的アドレスの値だけが符号化されるが、Vv (
ao ) =V+ (bz−1)であ′るた3めvt(
all)は参照ラインのブロック値から自ずと求まシ、
特別に符号化する必要は無い。またblをb2へ移動し
たか否かの情報も特別に符号化しなくとも、復号化に際
してvt(ao)とVs(ao  1)f:比較しVt
(ao)=Vz(ao−1)のときにはす、をす、に移
動して復号すれば済む。
vt(ao) is Vx of the already encoded reference line
Since it is the same as (bI 1), there is no need to encode the block value. For example, in the case of Figure 2, v, (a
o) = 7, Vy(ao 1 ) = 15, so vuao)\V, (a, -1), but V, (b,
-1) = 7, Vt(ao) = 7, and M = 3, since la, -b, 1 = 1<3, it is vertical mode encoding. This encoding 1ti a, -b,
= 1, so for example in Table 1 it is set as ``011''.In the case of Figure 3, Vl(ao) = 15, Vt
(ao 1) = 15 Therefore Vl(ao)
= Vt (an 1) = 25”) bt Kab
t ICfe, resulting in V+ (bI 1 ) =
7, vt(no) = 7 and 1aI-b
, I=1, so vertical mode encoding is performed. Since the encoding is al-b, = -1, according to Table 1, @01
0". In both cases of Fig. 2 and 3, "1 b,
Only the value of the relative address of Vv (
ao ) = V+ (bz-1), so vt(
all) is naturally determined from the block value of the reference line,
There is no need for special encoding. In addition, even if information on whether bl has been moved to b2 is not specially encoded, when decoding, vt(ao) and Vs(ao 1)f: are compared and Vt
When (ao)=Vz(ao-1), it suffices to move from Su to Su and decode.

以上の符号化が終ると次の符号化のために新しい1k(
1を&IK移動する。
When the above encoding is completed, a new 1k (
Move 1 &IK.

d)手順C)の条件を満さない場合(は、水平モードで
符号化することを決め、水平モードを示す符号と、Vt
(aa i)の値を基準とした相対的なりt (ILO
)の値を示す符号Pv!(ao−x)(Vt(ao))
と、ジンレングス(al−ao)を示す符号DVt(a
o)(IL+  io)とを割!I)当チル。例ヲアケ
ルと第4図の場合は、v+(io)=ss Vt(ao
  1)=15のため石は変らず従ってV+(bs  
1)=5゜Vt(io) = 7 、LかもI a、−
b、 l = 4であるから、C)の条件が満されない
。従って1例えば水平モードを示す符号を”001”、
第2表よりVt(ao)の値を示す符号は−11101
”、第3表よシランレングスal  aQを示す符号は
“11111”となシ、” 001111011111
1”と符号化される。この符号化が終ると次の符号化の
ために新しいa6をa、に移動する。なお、水平モード
の符号化に際し、V重(ao) 、= Vt (ao)
の場合は垂直方向の相関が幾分あるのて、第2水平モー
ドとし、このモードを示す符号例えば”0001と、V
t(to)を考慮して2ンレングスal −a6を示す
符号Dv1(a6)(at  ao)を割り当てること
もできる。第5図がこの例に該当し、第3表よシランレ
ングスIILI −aoを示す符号は”11111であ
るから” 000111111”と符号化される。
d) If the conditions of step C) are not satisfied (if it is decided to encode in horizontal mode, the code indicating horizontal mode and Vt
Relative to the value of (aa i) t (ILO
) indicates the value of Pv! (ao-x) (Vt(ao))
and the code DVt(a
o) Divide (IL+io)! I) This chill. For example, in the case of Woaker and Figure 4, v+(io)=ss Vt(ao
1) = 15, so the stone does not change and therefore V+(bs
1) = 5°Vt(io) = 7, L maybe I a, -
Since b, l = 4, condition C) is not satisfied. Therefore, for example, the code indicating the horizontal mode is "001",
From Table 2, the sign indicating the value of Vt(ao) is -11101
”, Table 3, the code indicating the silane length al aQ is “11111”,” 001111011111
1". When this encoding is completed, the new a6 is moved to a for the next encoding. In addition, when encoding the horizontal mode, V weight (ao), = Vt (ao)
In this case, since there is some correlation in the vertical direction, it is assumed to be the second horizontal mode, and the code indicating this mode is, for example, "0001" and V
It is also possible to allocate the code Dv1(a6)(at ao) indicating the second length al-a6 in consideration of t(to). FIG. 5 corresponds to this example, and as shown in Table 3, the code indicating the silane length IILI-ao is "11111", so it is encoded as "000111111".

以上a)〜d)の符号化手順によると、特にb)の手順
が加わることによシ相関の方向が垂直方向から左右いず
れに44いても圧縮率の高い垂直モードで符号化でき、
全体としての圧縮率が大幅に向上する。画像電子学会の
テストチャートtmit用いたシュミレーションによれ
ばM=0〜3の範囲でディザ画像を理想的には7.3程
度まで圧縮できる。
According to the above encoding procedures a) to d), especially by adding the step b), even if the direction of correlation is from the vertical direction to the left or right, encoding can be performed in the vertical mode with a high compression ratio.
The overall compression ratio is greatly improved. According to a simulation using the test chart tmit of the Institute of Image Electronics Engineers, a dithered image can ideally be compressed to about 7.3 in the range of M=0 to 3.

なお本発明の本質を規定するものではないが、境界条件
として最初のラインの直前に4ライン分すべてのブロッ
ク値が@0#であるラインが存在し、また各ラインの最
初のブロックの直前にもブロック値“0”のブロックが
存在し、更に各ラインの最後のブロックの次には仮想的
に変化ブロックがあるものとして符号化を行う。
Although this does not define the essence of the present invention, as a boundary condition, there is a line immediately before the first line in which all block values for four lines are @0#, and immediately before the first block of each line there is a line in which the block values are @0#. Encoding is performed on the assumption that there is a block with a block value of "0" and that there is a virtually changed block after the last block of each line.

更に、上記の説明では、モード符号として第1表、ブロ
ック値を示す符号として第i′表、ランレングスを示す
符号として第3表を例として示したが、本発明方式はこ
れらの符号に制限されるものではなく、その他の符号を
適用することもてきる。
Furthermore, in the above explanation, Table 1 is used as the mode code, Table i' is used as the code indicating the block value, and Table 3 is used as the code indicating the run length, but the method of the present invention is limited to these codes. Other codes may also be applied.

また、以下で説明するように符号表を用いると一層圧縮
率が向上する。画像の最初のラインから数えて4n−3
番目(nは自然数)のブロック列を総称してL1列とし
、同様に4n−2番目、4n−1番目、4n番目のブロ
ック列を総称して夫々L2列、L3列、54列とする。
Further, as will be explained below, if a code table is used, the compression ratio will be further improved. 4n-3 counting from the first line of the image
The th (n is a natural number) block columns are collectively referred to as L1 column, and similarly, the 4n-2nd, 4n-1st, and 4nth block columns are collectively referred to as L2 column, L3 column, and 54th column, respectively.

原画像を第1図のディデマトリクスDMによって二値化
して得られるブロック列には閾値の配列から次のような
(1) 、 (2) 、 (3)の特徴がある。
The block sequence obtained by binarizing the original image using the dide matrix DM shown in FIG. 1 has the following characteristics (1), (2), and (3) from the arrangement of threshold values.

(1)L1列ではブロック値@5″′は生じ易いが、”
8”〜“15″は決して生じない。
(1) In the L1 column, the block value @5″ is likely to occur, but “
8” to “15” never occur.

(2)L2列及び54列ではブロック値゛10”は生じ
易いが、”5”は生じ難い。
(2) In the L2 column and the 54th column, the block value "10" is likely to occur, but the block value "5" is difficult to occur.

(3)L3列ではブロック値“5#は生じ易いがwlo
lは生じ難い。
(3) In the L3 column, the block value “5#” is likely to occur, but wlo
l is difficult to occur.

これらの特徴(1) 、 (2) 、 (3)を利用し
て生起確率の高いものに小さいピット数を割シ当てる符
号化を行えば、圧縮率が一層向上するのである。
If these characteristics (1), (2), and (3) are used to perform encoding that allocates a small number of pits to those with a high probability of occurrence, the compression ratio will be further improved.

つまり、L1列〜L4列ごとに夫々異なる第2表のよう
なブロン(値符号表及び第3図のようなブロックランレ
ングス符号表を用意しておき。
In other words, a different value code table as shown in Table 2 and a block run length code table as shown in FIG. 3 are prepared for columns L1 to L4.

水平モードで符号化する際に符号化ラインがL1列〜L
4列のどの列に属するかを調べて符号化ライン毎に符号
表を選択する方式を適用することが可能である。
When encoding in horizontal mode, the encoding line is from L1 column to L
It is possible to apply a method of selecting a code table for each encoded line by checking which of the four columns it belongs to.

また更に、参照ラインは符号化ラインの前のラインであ
れば良いが、4×4のディザマトリクスの場合は閾値の
配分から4つ前のライン又は2つ前のラインとの相関が
強いので、いずれかの2インとするのが望ましい。
Furthermore, the reference line may be the line before the encoding line, but in the case of a 4×4 dither matrix, there is a strong correlation with the line 4 or 2 lines before the threshold distribution, so It is desirable to use either 2 inches.

次に本発明の原理を実現する装置を説明する。Next, a device implementing the principles of the present invention will be described.

第6図り符号化装置例である。同図中、IL標本化され
たファクシミリ信号の入力端子、2と3は1ライン分の
信号を記憶するメモリで2は符号化ラインメモリ、3は
参照ラインメモリ、4は符号化ラインの起点ブロックの
値Vt(ao)t”記憶する1ブロック分のメモリ、4
aijブロツク値Vt(ao  i)を記憶する1ブロ
ック分のメモリ、5は参照ラインのブロック値Vl(&
0)を記憶する1ブロック分のメモリ、6は符号化ライ
ンメモリ2と参照ラインメモリ3の内容をブロック単位
で読み出す動作を制御するアドレス制御回路、7はaQ
の位置を示すa0アドレスレジスタ。
This is an example of a sixth diagram encoding device. In the figure, 2 and 3 are the input terminals for the IL-sampled facsimile signal, memories for storing one line of signals, 2 is the encoding line memory, 3 is the reference line memory, and 4 is the starting point block of the encoding line. 1 block worth of memory to store the value Vt(ao)t'', 4
aij block value Vt (ao i) is stored in one block of memory, 5 is the reference line block value Vl (&
0), 6 is an address control circuit that controls the operation of reading out the contents of the encoding line memory 2 and reference line memory 3 in units of blocks, and 7 is aQ.
a0 address register indicating the location of.

11は符号化ラインの変化ブロックのアドレスa%を検
出するアドレスa1検出回路、12と12&は参照ライ
ンの変化ブロックのアドレスb、、b。
11 is an address a1 detection circuit for detecting the address a% of the changed block of the encoded line, and 12 and 12& are the addresses b, , b of the changed block of the reference line.

を検出するアドレスb1検出回路とアドレスb、検出回
路、12bは一致回路71の出力に応じてす、とb!の
いずれか一方を通すグー)、12cはブロック値vt(
b+−i)を記憶する1ブロック分のメモリ、8及び7
1は夫々vt(b、−t)とvt(ao)及び■、(I
LO)とVt (勧−1)の各一致を検出する一致回路
、21と22は夫々(at ao) 、(at  b+
)の値を計数するカウンタ、32はカウンタ22の内容
の絶対値1al−bllと閾値Mを比較する比較器、4
1と42は夫々水平モードと垂直モードに対応する符号
化回路、51は信号合成回路。
The address b1 detection circuit and address b, detection circuit 12b, which detects the address b1, corresponds to the output of the coincidence circuit 71, and b! 12c is the block value vt (
one block of memory storing b+-i), 8 and 7
1 are respectively vt (b, -t) and vt (ao) and ■, (I
Coincidence circuits 21 and 22 detect the coincidence of LO) and Vt (recommendation-1), respectively (at ao) and (at b+
); 32 is a comparator that compares the absolute value 1al-bll of the contents of the counter 22 with the threshold M; 4
1 and 42 are encoding circuits corresponding to horizontal mode and vertical mode, respectively, and 51 is a signal synthesis circuit.

61と62はダート回路、72と73は否定(NOT)
回路、81は出力端子、91はラインバッファ、92は
ブロック合成バッファである。
61 and 62 are dirt circuits, 72 and 73 are NOT
81 is an output terminal, 91 is a line buffer, and 92 is a block synthesis buffer.

本実施例のラインバッファ91は、符号化ラインと最も
相関の強い4つ前のラインを参照ラインとするため、3
ライン分の記憶容箪を有する。
The line buffer 91 of this embodiment uses the four previous lines that have the strongest correlation with the encoded line as the reference line, so the line buffer 91 uses three
It has a memory capacity for lines.

なお、簡単のため回路動作の本質でないメモリシフト用
のI<’ルス回路やタイミング用りロックツ々ルス等を
省いた。
For simplicity, the I<' pulse circuit for memory shift and the lock circuit for timing, which are not essential to the circuit operation, are omitted.

第6図の装置の詳細な構成及び動作について説明する。The detailed configuration and operation of the device shown in FIG. 6 will be explained.

符号化ラインの内容は入力端子1からブロック合成バッ
ファ92によってブロック化され、順次符号化ラインメ
モリ2に記憶される。この時、符号化済みの前ラインの
内容はラインバッファ(1) 、 (2) 、 (3)
 +”t=順次経て参照ラインメモリ3に転送される。
The contents of the encoded line are divided into blocks from the input terminal 1 by the block synthesis buffer 92 and sequentially stored in the encoded line memory 2. At this time, the contents of the encoded previous line are line buffers (1), (2), (3)
+"t= sequentially transferred to the reference line memory 3.

またこの時、勧アドレスレジスタ7には起点ブロックの
アドレスa。が記憶され、アドレス制御回路′6にもa
。が初期セットされるので、Vt(ao) + Vt(
ao  1 )=−0”。
At this time, the recommended address register 7 contains the address a of the starting block. is stored, and also in the address control circuit '6.
. is initially set, so Vt(ao) + Vt(
ao 1 )=-0”.

Vl (Jio)が各メモリ4 t 4 & r 5に
記憶される。
Vl (Jio) is stored in each memory 4 t 4 & r 5.

各ラインメモリ2,3の内容はアドレス制御回路6のカ
ウントアツプ動作によりaoからブロック単位でその値
が同時に且つ順次読み出される。
The contents of each line memory 2, 3 are simultaneously and sequentially read out from ao in block units by the count-up operation of the address control circuit 6.

アドレスa、検出回路11は符号化ラインメモリ2から
転送されるブロックの値と直前のブロックの値とを比較
し、等しい時は”0”、異なる時は1′をpH線線に出
力する。アドレスb、検出回路12及びアドレスb、検
出回路12&も同様にして参照ライン上の変化ブロック
のアドレスb。
At address a, the detection circuit 11 compares the value of the block transferred from the encoded line memory 2 with the value of the immediately preceding block, and outputs "0" if they are equal, and outputs 1' if they are different, to the pH line. Similarly, address b, detection circuit 12 and address b, detection circuit 12 & address b of the changed block on the reference line.

及びす、を検出した時に11″をP、* + plta
線に出力する。−数回路71はVl(1101)メモリ
4aと1ao)メモリ5との内容を比較し、等しい時は
1″、異なる時は”0”をpH線線に出力する7、ゲー
ト12bはp、、==゛じの場合にP、!線の出力を通
し、p、、=”l”の場合はpeta線の信号kP+t
b線に出力する。Vz(bs  1)メモリ12cはこ
のグー)12bの出力に制御されてVt(b+  1)
を記憶する。−数回路8はVt (bt L )メモリ
12eとVt(io)メモリ4との内容を比較し、等し
い時は”1”、異なる時は”0#をP8線に出力する。
and 11" when detected, P, * + plta
Output to line. - The numerical circuit 71 compares the contents of the Vl (1101) memory 4a and 1ao) memory 5, and outputs 1" if they are equal, and "0" if they are different, to the pH line 7, the gate 12b is p... ==゛If the same, pass the output of the P, ! line, and if p, ,=“l”, the signal of the peta line kP+t
Output to the b line. Vz(bs 1) memory 12c is controlled by the output of this goo) 12b and Vt(b+ 1)
remember. The -number circuit 8 compares the contents of the Vt (bt L) memory 12e and the Vt (io) memory 4, and outputs "1" if they are equal, and outputs "0#" if they are different to the P8 line.

(atb+)カウンタ22は変化ブロックの相対的アド
レス(at  bt)を計数するもので、pH線又はP
+tb線の信号のうち早く入力された信号で計数を開始
し、遅い方の信号で計数を停止する。但し、P□bから
の信号が早ければアドレス制御回路6からの信号に同期
して1ずつ増加され、逆の場合は1ずつ減少される。こ
れによシ相対的アドレスが正負の符号付きで求まる。比
較器32はカウンタ22の内容の絶対値1al−bIl
が例えば「3」以内にあるか否かを判定し、範囲内であ
れば′l”、範囲外であれば@0”を出力する。
(atb+) counter 22 counts the relative address (at bt) of the change block, and
Counting is started with the earlier input signal of the +tb line signals, and counting is stopped with the later input signal. However, if the signal from P□b is early, it is incremented by 1 in synchronization with the signal from address control circuit 6, and in the opposite case, it is decremented by 1. This gives a relative address with a positive or negative sign. The comparator 32 calculates the absolute value 1al-bIl of the contents of the counter 22.
For example, it is determined whether or not it is within "3", and if it is within the range, 'l' is output, and if it is outside the range, @0' is output.

ゲート62はP、からの信号が11″且つ比較器32か
らの信号が“1”の場合に開かれ、カウンタ22の内容
(a+b+)が垂直モード符号化回路42によ)符号化
される。
Gate 62 is opened when the signal from P is 11'' and the signal from comparator 32 is "1", and the contents of counter 22 (a+b+) are encoded (by vertical mode encoding circuit 42).

一方s  (at  as)カウンタ21はアドレス制
御回路6が勧をセットした時点よりアドレス制御回路6
からの信号によって1ずつ増加し、Pllからの1“信
号を受けた時点で計数を停止する。
On the other hand, the s (at as) counter 21 starts from the time when the address control circuit 6 sets the value.
The count is incremented by 1 according to the signal from the Pll, and the counting is stopped when the 1" signal from the Pll is received.

r−) 61は比較器32の出力が“0#又は−数回路
8からのP8の信号が“Osの時開かれる庵4?−)で
あり、このダート61を介した(al  ao)並びに
P4a及びP4からのV、(a(、−1)及びvt(a
o)が水平モード符号化回路41に入力されて符号化さ
れる。信号合成回路51は符号化回路41゜42から受
ける符号化信号を信号列にして出力端子81−に出力す
る。次いでa。アドレスレジスタ7は力、ウンタ21の
内容を受けてこれを加算することによりalを新たなa
Oとして記憶する。
r-) 61 is the hermitage 4? which is opened when the output of the comparator 32 is "0#" or the signal of P8 from the - number circuit 8 is "Os". -), and (al ao) through this dart 61 and V from P4a and P4, (a(, -1) and vt(a
o) is input to the horizontal mode encoding circuit 41 and encoded. The signal synthesis circuit 51 converts the encoded signals received from the encoding circuits 41 and 42 into a signal string and outputs it to an output terminal 81-. Then a. The address register 7 receives the contents of the input counter 21 and adds them to set al to a new a.
Store as O.

同時xvt(an)メモリ4の内容がVt(ao  1
 ) 71 モリ4aに移され、また新たなりt (a
O)とV、(a、)が各メモリ4.5に記憶される。
At the same time xvt(an) the contents of memory 4 are Vt(ao 1
) 71 Moved to Mori 4a and new again t (a
O) and V, (a,) are stored in each memory 4.5.

なお、以上の説明では簡単のためカウンタや検出回路等
のリセット条件については図示及び説明を省いたが、こ
れらはaoが新たに設定される毎にリセットされる。
Note that in the above explanation, illustrations and explanations of reset conditions for the counters, detection circuits, etc. are omitted for the sake of simplicity, but these are reset each time ao is newly set.

以上は符号化装置の説明であったが、復号化はこれの逆
の操作によって順次行われる。第7図に復号化装置の一
例を示す。同図において。
Although the encoding device has been described above, decoding is performed sequentially by the reverse operation. FIG. 7 shows an example of a decoding device. In the same figure.

101は符号化信号の入力端子、102は入力バッファ
メモリ、103はモード符号識別回路、111と112
は夫々参照ラインメモリと復号ラインメモリ、113は
lLoレジスタ、114はVt(aO)メモリ、115
はVy(ao  1)メモリ、116はvt(bt  
D メモリ、12]はアドレス制御回路、122は符号
合成回路、131はアドレスb、検出回路、132はア
ドレスb、検出回路、133はダート、134は一致回
路、141は(bl −a。)カウンタ、151と15
2は垂直モードと水平モードに対応する復号化回路、1
61は加算器、171と172はケ”−)、181はラ
インバッファ% 182はブロック分解回路、191は
出力端子である。なお、ラインバッファ181は符号化
装置内のラインバッファと同数だけ用意される。簡単の
ため1回路側作の本質に関係ないメモリシフト用ノ4ル
ス回路やタイミング用クロックパルス等り図示を省いた
101 is an input terminal for encoded signals, 102 is an input buffer memory, 103 is a mode code identification circuit, 111 and 112
are reference line memory and decoding line memory, 113 is lLo register, 114 is Vt(aO) memory, 115
is Vy (ao 1) memory, 116 is vt (bt
D memory, 12] is an address control circuit, 122 is a code synthesis circuit, 131 is an address b, detection circuit, 132 is an address b, detection circuit, 133 is a dart, 134 is a coincidence circuit, 141 is a (bl - a.) counter , 151 and 15
2 is a decoding circuit corresponding to vertical mode and horizontal mode; 1
61 is an adder, 171 and 172 are ke''-), 181 is a line buffer, 182 is a block decomposition circuit, and 191 is an output terminal.The same number of line buffers 181 as line buffers in the encoding device are prepared. For the sake of simplicity, the memory shift pulse circuit, timing clock pulse, etc., which are not related to the essence of the single-circuit operation, are not shown.

次に復号化装置の詳細な構成及び動、作を説明する。入
力端子101からの符号化された1247分の信号は一
旦入カバッファメモリ102に格納される。この時、復
号化を終えた復号ラインメモリ112に記憶されている
内容控181内のラインバッファ(1)に転送記録され
、同時にブロック分解回路182で二値信号に変換され
て出力端子191から出力される。またこの時。
Next, the detailed configuration and operation of the decoding device will be explained. The 1247 encoded signals from the input terminal 101 are temporarily stored in the input buffer memory 102. At this time, the contents stored in the decoded line memory 112 that have completed decoding are transferred and recorded in the line buffer (1) in the copy 181, and simultaneously converted into a binary signal by the block decomposition circuit 182 and output from the output terminal 191. be done. At this time again.

181内のラインバッファ(1) 、 (2)に記録さ
れている内容は夫々次段のラインバッファ(2) 、 
(3)へ、ラインバッファ(3)の内容はP、8.線よ
り参照ラインメモリ111へ転送記録されると同時に。
The contents recorded in the line buffers (1) and (2) in the 181 are transferred to the next line buffers (2) and 181, respectively.
(3), the contents of line buffer (3) are P, 8. At the same time as being transferred from the line to the reference line memory 111 and recorded.

V2(ao−1)メモリ115に0#が記録される1、
モード符号識別回路103は入カパツファメモリ102
から必要数の信号を読み出し、その符号構成から垂直モ
ードであるか水平モードであるかを判定する。垂直モー
ドであればv線の出力を′°1”とし、水平モードであ
れば老練の出力を″12とする。アドレス制御回路12
1はV線から”1#ヲ受信すると、参照ラインメモリ1
11に対しP113線から受信したa。のアドレスから
1ブロツクずつメモリ内容をシフトさせ。
V2 (ao-1) 0# is recorded in the memory 115 1;
The mode code identification circuit 103 is connected to the input buffer memory 102.
A necessary number of signals are read out from the signal structure, and it is determined from the code structure whether the mode is vertical mode or horizontal mode. In the vertical mode, the output of the v-line is set to '1', and in the horizontal mode, the output of the veteran is set to '12'. Address control circuit 12
1 receives “1#” from the V line, reference line memory 1
a received from the P113 line for 11. Shift the memory contents one block at a time from the address.

アドレスb、検出回路131及びアドレスbt検出回路
132に対しブロック単位で出力するように/ぐルスを
与える。vt(ao)メモリ114は1ブロツク分のメ
モリであり、アドレス制御回路121にaoがセットさ
れた際に参照ラインメモリ111から■、(&。)を格
納する。アドレスb1検出回路131とアドレスb、検
出回路132は参照ラインメモリ111から受信したブ
ロックの値とその直前のブロックの値とが等しい時に′
1”を、値が異なる時は“0“を出力する。一致回路1
34はVt(ao)メモリ114とVt(ao i’)
メモリ115との内容を比較し、等しい時は”1′を、
異なる時は0#を出力する。ダート133は一致回路1
34の出力が”0”のときアドレスb、検出回路131
の出力を通し、一致回路の出力が@1#のときはアドレ
スb、検出回路132の出力を通す。vt(bt  1
)メモリ116はダート133から′1”が出力した時
より1fロツク前の値V+(bt  1)を記憶する。
A / signal is applied to the address b detection circuit 131 and the address bt detection circuit 132 so that they are output in block units. The vt(ao) memory 114 is a memory for one block, and stores (&) from the reference line memory 111 when ao is set in the address control circuit 121. When the value of the block received from the reference line memory 111 and the value of the block immediately before it are equal, the address b1 detection circuit 131 and the address b detection circuit 132
Outputs “1” and “0” when the values are different. Matching circuit 1
34 is Vt(ao) memory 114 and Vt(ao i')
Compare the contents with memory 115, and if they are equal, set "1".
When different, outputs 0#. Dart 133 is matching circuit 1
When the output of 34 is "0", address b, detection circuit 131
When the output of the match circuit is @1#, the output of address b and the detection circuit 132 is passed. vt (bt 1
) The memory 116 stores the value V+(bt 1) 1f before locking from when '1' was output from the dart 133.

(bt  ao)カウンタ141はアドレス制御回路1
21がV線よシ”1#を受信した時からアドレス制御回
路121よシ信号を受信する都度計数内容を1ずつ増加
させ、f−)133より“1#を受信した時動作を停止
してカウント内容”bl−ao” を加算器161に出
力する。(a、 −b、 )復号化回路151はV線よ
り″1”を入力すると、入カパツファメモリ102より
受けた信号から相対的アドレスa1− blを求め、そ
の結果を加算器161に出力する。この結果、加算器1
61の出力はランレングスal−8(1を表わすことに
なり、ゲート171に出力される。このデート171は
V線から”1″を受信すると開き、加算器161の出力
をal −a(、復号化回路153に出力すると共にa
0レジスタ113にも出力してa。をa、に更新させる
。al −a6復号化回路153は、P116線から受
信したvt(bt  t)なる画素信号(ブロック値)
をff−)171からの信号が示す回数だけ符号合成回
路122に出力する。
(bt ao) Counter 141 is address control circuit 1
From the time when 21 receives "1#" from the V line, the count contents are increased by 1 each time the address control circuit 121 receives the "1#" signal from f-)133, and when it receives "1#" from f-)133, the operation is stopped. The count content "bl-ao" is output to the adder 161. (a, -b,) When the decoding circuit 151 receives "1" from the V line, it calculates the relative address a1-bl from the signal received from the input buffer memory 102 and outputs the result to the adder 161. As a result, adder 1
The output of adder 161 represents run length al-8(1) and is output to gate 171. When this date 171 receives "1" from the V line, it opens and converts the output of adder 161 to al-a(, While outputting to the decoding circuit 153, a
It also outputs to the 0 register 113 and a. is updated to a. The al-a6 decoding circuit 153 receives the pixel signal (block value) vt (bt t) received from the P116 line.
is output to the code synthesis circuit 122 the number of times indicated by the signal from the ff-) 171.

一方、81  ao復号化回路152は老練よシ”1”
を受信すると、入カパツファメモリ102よシ受信した
信号とpH!l線より受信した信号とカラランレングス
“!Ll−ao#とaoにおける画素信号(ブロック値
)とを求め、その画素信号V2(a(1)を@ 、、 
、 ag s回だけ符号合成回路122に出力し、同時
に“al −ag”の値を示す信号をr−ト172に出
力する。このr−ト172社賓線が1′″のときだけ開
き、lLoレジスタ113の内容をa、に更新させる。
On the other hand, the 81 ao decoding circuit 152 is a veteran
When the input buffer memory 102 receives the received signal and pH! The signal received from the l line, the color run length "!Ll-ao#, and the pixel signal (block value) at ao are determined, and the pixel signal V2 (a (1) is @ , ,
, ag s times to the code synthesis circuit 122, and simultaneously outputs a signal indicating the value of "al-ag" to the r-t 172. This r-t 172 company guest line is opened only when it is 1'', and the contents of the lLo register 113 are updated to a.

符号合成回路122は、復号回路152.153及びa
6レジスタ113からの各信号を受信し、ao at 
 間の復号を行って七の結果を復号化ラインメモリ11
2に出力する。同時に符号合成回路122からV、(a
g−1)メモリ115にa。81間のブロック値が出力
され、このメモリ115の内容が次の符号化のために更
新される。
The code synthesis circuit 122 includes decoding circuits 152, 153 and a
6 receive each signal from the register 113, ao at
Line memory 11 performs decoding between 7 and decodes the result
Output to 2. At the same time, from the code synthesis circuit 122, V, (a
g-1) A to the memory 115. The block values between 81 and 81 are output and the contents of this memory 115 are updated for the next encoding.

上述の復号化装置においても、簡単のため、カウンタや
検出回路等のリセット条件については図示及び説明を省
いたが、アドレスbl検出回路131.アドレスb1検
出回路132、bl −aQカウンタ141等はaOが
新たな値に設定される毎にリセットされる。
In the decoding device described above, for the sake of simplicity, illustrations and explanations of reset conditions for the counters, detection circuits, etc. are omitted; however, the address bl detection circuit 131. The address b1 detection circuit 132, bl-aQ counter 141, etc. are reset each time aO is set to a new value.

以上詳細に説明したように1本発明の符号化方式による
と多レベルの階調を有する画像を高い圧縮率で符号化す
ることができる。
As described above in detail, according to the encoding method of the present invention, an image having multiple levels of gradation can be encoded at a high compression rate.

ここで付言するに、本発明は多レベルの階調を有する原
信号をディザマトリクス等によって二値化処理して得た
二値符号系列をブロック化したものを対象としているが
、本発明の技術思想は多レベルの階調を有する原信号即
ち多値符号系列そのものを符号化する場合にも適用でき
る。つまシ、各走査線上の多値符号列について直前の画
素と異なる値の画素を変化画素とし、符号化ライン上の
変化画素のアドレスsoとこの変化画素の直後の変化画
素のアドレスa1並びに符号化ラインよシ前の既に符号
化されたライン即ち参照ライン上においてa。のアドレ
スよυ後で最初の変化画素のアドレスb1とこの変化画
素の直後の変化画素のアドレスb2を求め、参照ライン
上のaQのアドレスの画素の値Vt(an)と符号化ラ
イン上でagの直前のアドレスの画素の値V!(no 
−1)とを比較し、Vs(ao)=V*(as−1)の
場合はb2をl)t K置き換え、参照ライン上でbl
の直前のアドレスの画素の値Vl(bl−1)がv、(
ao)に等しく且つal−b、なる相対アドレスが予め
定めた範囲内にあるという条件を満たすか否かを判定し
、この条件を満たす場合は相対アドレスであるat  
b、の値を示す符号でaoの変化画素を符号化し、前記
の条件を満たさない場合は条件が満されないこと、V鵞
(go)の値及びaQ −alなるランレングスの値を
示す符号でa(、の変化画素を符号化する。このような
符号化によると、多値符号系列そのものを符号化する場
合でも相関の強さが垂直方向から右あるいけ左いずれに
傾いていても符号化効率の良い垂直モードで符号化を行
えるため、多値符号系列に単にMR方式を拡張適用する
場合に比較して全体の圧縮率が大きく向上する。
It should be noted here that the present invention is directed to blocks of binary code sequences obtained by binarizing an original signal having multiple levels of gradation using a dither matrix, etc. The idea can also be applied to the case of encoding an original signal having multiple levels of gradation, that is, a multilevel code sequence itself. For the multilevel code string on each scanning line, a pixel with a different value from the previous pixel is defined as a changed pixel, and the address so of the changed pixel on the encoding line, the address a1 of the changed pixel immediately after this changed pixel, and the encoding a on the already encoded line before the line, ie, the reference line. υ Later, find the address b1 of the first changed pixel and the address b2 of the changed pixel immediately after this changed pixel, and calculate the value Vt(an) of the pixel at address aQ on the reference line and ag on the encoding line. The value of the pixel at the address immediately before V! (no
-1), and if Vs(ao)=V*(as-1), replace b2 with l)tK, and bl on the reference line.
The value Vl (bl-1) of the pixel at the address immediately before is v, (
ao) and al-b, is within a predetermined range, and if this condition is satisfied, the relative address at
The changed pixel of ao is encoded with a code indicating the value of b, and if the above condition is not satisfied, the condition is not satisfied. The pixel that changes in a(, is encoded. According to this kind of encoding, even when encoding the multilevel code sequence itself, it is possible to encode it even if the strength of the correlation is tilted to the right or left from the vertical direction. Since encoding can be performed in an efficient vertical mode, the overall compression rate is greatly improved compared to the case where the MR method is simply extended and applied to a multilevel code sequence.

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

第1図は組織的ディザ画像法を説明するだめの図で、同
図(a)社入力画像の画素レベル図、同図(b)はデイ
ザマ) IJクスの図、同図(clはディザ画像図、第
2図〜第51社本発明の詳細な説明する麺めの説明図、
第6図社符号化装置例の回路図、第7図は壱分化装置例
の回路図である。 図面中、 aoは符号化ライン上の変化ブロックのアドレス atはaQ直後の変化ブロックのアドレス、blは参照
ライン上でa6直後の変化ブロックのアドレス、 b2はb1直後の変化ブロックのアドレスである0特許
出願人 国際電、信電話株式会社 代   理   人 弁理士光石十部 (他1名)
Figure 1 is a diagram for explaining the organized dither imaging method. Figure 1 (a) is a pixel level diagram of the company's input image, Figure 1 (b) is a diagram of the dithering image, and Figure 1 (cl is the dither image). Figures 2 to 51 An explanatory diagram of noodles for detailed explanation of the present invention,
Figure 6 is a circuit diagram of an example of a coding device, and Figure 7 is a circuit diagram of an example of a coding device. In the drawing, ao is the address of the changed block on the encoding line at is the address of the changed block immediately after aQ, bl is the address of the changed block immediately after a6 on the reference line, b2 is the address of the changed block immediately after b1 0 Patent applicant Kokusai Telephone, Shindenwa Co., Ltd. Representative Patent attorney Jube Mitsuishi (1 other person)

Claims (2)

【特許請求の範囲】[Claims] (1)多レベルの階調を有する原信号を二値化処理して
得られる二値符号系列を各走査線上で所定数nの画素毎
に区分して夫々2nの値をとシ得るブロックに形成し、
ブロック列上で直前のブロックと異なる値を有するブロ
ックを変化ブロックとし、符号化すべきブロック列即ち
符号化ライン上の変化ブロックのアドレスa6とこの変
化ブロックの直後の変化ブロックのアドレスa1並びに
既に符号化されたブロック列即ち参照2イン上でaOの
アドレスの直後の変化ブロックのアドレスb、とこの変
化ブロックの直後の変化ブロックのアドレスb、を求め
、参照ライン上のaOのアトレアkCおけるブロック値
V1(a6)と符号化ライン上のao−1のアドレスに
おけるブロック値Vl (a・−1)とを比較し、Vi
 (ILo) = Vt (lko  1 ) (D場
合にはす、を−に置き換え、参照ライン上のす、−1の
アドレスにおけるブロック値V+(b+−1)が符号化
ライン上のa・のアドレスにおけるブロック値Vt (
勧)に等しく且つ相対的アドレスat−kl+が予め定
めた範囲内にあるという条件を満足するか否かを判定し
、この条件が満足される場合はl1l−blなる相対的
アドレスの値を示す符号で&0の変化ブロックを符号化
し、上記の条件が満足されない場合は条件を満さないこ
と、V2(a・)なるブロック値及びal−aoなるジ
ンレングスの値を示す符号でa・の変化ブロックを符号
化することを特徴とする多レベルの階調を有する画像の
符号化方式。
(1) A binary code sequence obtained by binarizing an original signal having multiple levels of gradation is divided into a predetermined number n of pixels on each scanning line, and each block is divided into blocks that obtain 2n values. form,
A block that has a different value from the previous block on the block sequence is defined as a changed block, and the address a6 of the changed block on the block sequence to be encoded, that is, the encoding line, the address a1 of the changed block immediately after this changed block, and the already encoded block. Find the address b of the changed block immediately after the address of aO on the reference 2-in, that is, the address b of the changed block immediately after this changed block, and calculate the block value V1 at atrea kC of aO on the reference line. (a6) is compared with the block value Vl (a・-1) at the address of ao-1 on the encoded line, and Vi
(ILo) = Vt (lko 1) (In the case of D, replace ``s'' with -, and the block value V+(b+-1) at the address of ``-1'' on the reference line is the address of a on the encoded line. The block value Vt (
It is determined whether the condition that the relative address at-kl+ is equal to (recommended) and within a predetermined range is satisfied, and if this condition is satisfied, the relative address value l1l-bl is indicated. A change block of &0 is encoded with a sign, and if the above condition is not satisfied, the condition is not satisfied, and a change of a・ is expressed with a sign that indicates the block value of V2(a・) and the value of the gin length of al-ao. A method for encoding an image having multiple levels of gradation, which is characterized by encoding blocks.
(2)上記変化ブロックの符号化に用いる符号系列がブ
ロック列ごとに選定されることを特徴とする特許請求の
範囲第1項に記載の多レベルの階調を有する画像の符号
化方式。
(2) The encoding method for an image having multi-level gradation as set forth in claim 1, wherein the code sequence used for encoding the changed block is selected for each block sequence.
JP57096592A 1982-06-05 1982-06-05 Encoding system of picture having multilevel gradation Granted JPS58213564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57096592A JPS58213564A (en) 1982-06-05 1982-06-05 Encoding system of picture having multilevel gradation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57096592A JPS58213564A (en) 1982-06-05 1982-06-05 Encoding system of picture having multilevel gradation

Publications (2)

Publication Number Publication Date
JPS58213564A true JPS58213564A (en) 1983-12-12
JPH0261833B2 JPH0261833B2 (en) 1990-12-21

Family

ID=14169170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57096592A Granted JPS58213564A (en) 1982-06-05 1982-06-05 Encoding system of picture having multilevel gradation

Country Status (1)

Country Link
JP (1) JPS58213564A (en)

Also Published As

Publication number Publication date
JPH0261833B2 (en) 1990-12-21

Similar Documents

Publication Publication Date Title
US5010401A (en) Picture coding and decoding apparatus using vector quantization
US4910608A (en) Imagery data compression mechanism employing adaptive vector quantizer
KR940008498A (en) Image Encoding Device and Image Decoding Device
US6026197A (en) Coding method and apparatus therefor
US4097903A (en) Facsimile signal coding system
KR950001947B1 (en) Pattern processing apparatus
US4511213A (en) Coding method for multilevel-gradated picture signal
JPS58213564A (en) Encoding system of picture having multilevel gradation
US4212035A (en) Facsimile signal coding system
USRE35414E (en) Picture coding and decoding apparatus using vector quantization
US3840698A (en) Video signal transmission system
JPS58138176A (en) Encoding system for image having multilevel gradation
JPH0243815A (en) Video signal transmission system and transmitter and receiver suitable for the system
JPS59161183A (en) Encoding system of picture having gradation of multilevel
JPS6329472B2 (en)
JPS58111487A (en) Encoding system of picture having multi-level gradation
JPS6024776A (en) Half tone picture compression system
JPS63279686A (en) Variable length coding transmitter
JPS61179675A (en) Method and apparatus for coding color picture signal
JPS5894274A (en) Picture signal encoding system
JP2561292B2 (en) Image data compression device
JPS61169086A (en) Encoding system of half tone image
JPH0479478A (en) Picture data encoding device
KR900008807B1 (en) Picture segment changing circuit
JPS6174455A (en) Coding control system of binary picture signal