Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5927544B2 - Facsimile signal decoding device - Google Patents
[go: Go Back, main page]

JPS5927544B2 - Facsimile signal decoding device - Google Patents

Facsimile signal decoding device

Info

Publication number
JPS5927544B2
JPS5927544B2 JP15471678A JP15471678A JPS5927544B2 JP S5927544 B2 JPS5927544 B2 JP S5927544B2 JP 15471678 A JP15471678 A JP 15471678A JP 15471678 A JP15471678 A JP 15471678A JP S5927544 B2 JPS5927544 B2 JP S5927544B2
Authority
JP
Japan
Prior art keywords
circuit
pixel
line
decoding
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP15471678A
Other languages
Japanese (ja)
Other versions
JPS5579564A (en
Inventor
皖曠 結城
豊通 山田
泰弘 山崎
恭 若原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
NTT Inc
Original Assignee
Kokusai Denshin Denwa KK
Nippon Telegraph and Telephone Corp
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, Nippon Telegraph and Telephone Corp filed Critical Kokusai Denshin Denwa KK
Priority to JP15471678A priority Critical patent/JPS5927544B2/en
Priority to CA331,897A priority patent/CA1128645A/en
Priority to NL7905654A priority patent/NL192420C/en
Priority to FR7919267A priority patent/FR2432807B1/en
Priority to US06/062,036 priority patent/US4245257A/en
Priority to DE2930903A priority patent/DE2930903C2/en
Priority to GB7926581A priority patent/GB2030425B/en
Publication of JPS5579564A publication Critical patent/JPS5579564A/en
Priority to CA000400498A priority patent/CA1144274A/en
Publication of JPS5927544B2 publication Critical patent/JPS5927544B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、フアクシミリ信号復号化装置、特に白黒2値
フアクシミリ信号のような2値信号を能率よく伝送また
は蓄積するために用いられる符号化方式の復号化装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a facsimile signal decoding device, and particularly to a decoding device for an encoding method used for efficiently transmitting or storing binary signals such as black and white binary facsimile signals. be.

従来2値フアクシミリ信号を符号化する方式として、(
1)走査によつて得られた信号を時系列に直した後、白
及び黒の連続長(ランレングス)の大きさを順次交互に
符号化して伝送するランレングス符号化方式、(2)複
数例えば2本の走査線の信号を一括して符号化する方式
等が提案されている。
Conventionally, as a method for encoding binary facsimile signals, (
1) A run-length encoding method in which the signals obtained by scanning are converted into time series, and then sequentially and alternately encodes and transmits the sizes of continuous lengths (run lengths) of white and black, and (2) multiple methods. For example, a method has been proposed in which signals of two scanning lines are encoded all at once.

しかし、(1)の方式は、フアクシミリ信号が走査線方
向と垂直の方向(縦)に強い相関を有しているという性
質を全く利用していないため圧縮効率は低かつた。また
(2)の方式は、一括して符号化する数本の走査線の信
号については縦方向の相関を利用してはいるが、これ以
外の走査線信号との相関は利用していないため(1)の
方式よりも圧縮効果は大であるが、なお充分な圧縮効果
は得られなかつた。本発明はこのような従来方式の欠点
を除去して、比較的少量のメモリと簡単な回路又は手段
によつてフアクシミリ信号の冗長性を取り除き、送出す
べき符号量すなわちビツト数の大幅な圧縮を可能にする
2次元逐次符号化方式の復号化装置を提供するものであ
る。
However, the method (1) has low compression efficiency because it does not utilize the property that the facsimile signal has a strong correlation in the direction perpendicular to the scanning line direction (vertical). In addition, method (2) uses vertical correlation for signals of several scanning lines that are encoded at once, but does not use correlation with other scanning line signals. Although the compression effect was greater than that of method (1), a sufficient compression effect was still not obtained. The present invention eliminates these drawbacks of the conventional method, eliminates redundancy in facsimile signals with a relatively small amount of memory and simple circuits, and significantly compresses the amount of codes to be transmitted, that is, the number of bits. The present invention provides a decoding device using a two-dimensional sequential encoding method.

本発明で用いる第1の符号化方式の原理は、フアクシミ
リ信号において直前の画素と異なる2値信号の値を有す
る情報変化画素(以下、これを簡単に変化画素と呼ぷ)
の位置を示す情報(以下アドレスと呼ぶ)を順次符号化
するのに、その符号化される変化画素と同一の走査線(
以下符号化ラインと呼ぷ)上または符号化ラインの直前
の走査線(以下参照ラインと呼ぷ)上の近傍の変化画素
から選ばれたひとつの変化画素からの相対的な画素数(
以下長さと呼ぷ)を用いて符号化することである。
The principle of the first encoding method used in the present invention is that an information changing pixel (hereinafter simply referred to as a changing pixel) having a binary signal value different from the immediately preceding pixel in a facsimile signal
To sequentially encode information indicating the position of (hereinafter referred to as address), the same scanning line (
The relative number of pixels from one changed pixel selected from nearby changed pixels on the scanning line immediately before the encoding line (hereinafter referred to as the encoding line) or on the scanning line immediately before the encoding line (hereinafter referred to as the reference line).
(hereinafter referred to as length).

第1図、第2図、第3図はフアクシミリ信号の例を示す
図であり、ハツチングのない小枠は白画素を、・・ツチ
ングのある小枠は黒画素を示す。
1, 2, and 3 are diagrams showing examples of facsimile signals, in which small frames without hatching indicate white pixels, . . . small frames with hatching indicate black pixels.

先ず、符号化起点画素A。および他の変化画素を次の様
に定義する。AO:符号化の出発点とする符号化ライン
上の起点画素、al :符号化ライン上のA。
First, the encoding starting pixel A. and other change pixels are defined as follows. AO: Starting pixel on the encoding line that is the starting point for encoding, al: A on the encoding line.

の次の変化画素、B,:参照ライン上のA。の直上の画
素より後に生起し、かつA。と異なる2値信号の値を有
する第1番目の変化画素、B2:参照ライン上のblの
次の変化画素、符号化の手順は以下に示すように符号化
ラインおよび参照ライン上の画素を順次照合し、両走査
線上の変化画素を順次検出し符号化する。
Next change pixel, B,: A on the reference line. occurs after the pixel immediately above A, and A. The first changed pixel having a binary signal value different from B2: the next changed pixel of bl on the reference line, the encoding procedure sequentially changes the pixels on the encoding line and the reference line as shown below. They are compared, and changed pixels on both scanning lines are sequentially detected and encoded.

(手順1) 参照ライン上の2つの変化画素B,,b2が符号化ライ
ン上の変化画素alより先行して検出された場合(第2
図参照)、この状態をパスモードとしてBl,b2をパ
スモード符号で符号化し、次の符号化のための起点画素
をB。
(Step 1) When two changed pixels B, , b2 on the reference line are detected before the changed pixel al on the encoding line (second
), this state is set as pass mode, B1 and b2 are encoded with pass mode code, and B is used as the starting pixel for the next encoding.

の直下の符号化ライン上の画素A。′に設定する。(手
順2) 参照ライン上の2つの変化画素Bl,b2のうちB2よ
り前に符号化ライン上で変化画素alが検出された場合
(第3図A,B参照)、変化画素A,およびblが生起
するまで画素の走査を進め、距離A。
Pixel A on the encoding line immediately below. ′. (Step 2) If the changed pixel al is detected on the encoding line before B2 among the two changed pixels Bl and b2 on the reference line (see FIGS. 3A and B), the changed pixels A and bl Proceed to scan the pixels until the distance A occurs.

alを水平モードで符号化し、これにそのモード符号を
加えたビツト数〔AOa,〕を求める。同時に距離Bl
a,を垂直モードとして符号化しビツト数〔Blal〕
を求める。これらの符号化ビツト数の比較を行い、以下
の条件で何れかの符号化モードを選択採用する。
The number of bits [AOa,] obtained by encoding al in the horizontal mode and adding the mode code to it is determined. At the same time distance Bl
a, is encoded as a vertical mode, and the number of bits [Blal]
seek. The numbers of encoded bits are compared, and one of the encoding modes is selected and adopted under the following conditions.

この条件が成立したとき、符号化変化画素alと参照画
素bl との相関が強いと判断し、垂直モードで距離B
la,を選択採用し、新たな起点画素をalの位置に移
動する。この条件が成立した時、符号化変化画素A,と
起点画素A。
When this condition is met, it is determined that the correlation between the encoded pixel al and the reference pixel bl is strong, and the distance B is determined in the vertical mode.
la, is selected and adopted, and a new starting pixel is moved to the position al. When this condition is satisfied, the encoding change pixel A and the starting pixel A.

との相関が強いと判断し、水平モード符号に続いて距離
A。alの符号化を行い、新たな起点画素をalの位置
に移動する。第1表に本符号化方式で用いる符号表の実
施例を示す。
It was determined that there was a strong correlation with the horizontal mode code, and distance A was added following the horizontal mode code. al is encoded, and a new starting pixel is moved to the position of al. Table 1 shows an example of a code table used in this encoding method.

この符号表では1例としてMH符号(モデファィド.ハ
フマン符号、くわしくはCCITT勧告T.4参照)お
よびビツトバイビツト符号D(n)を採用しているが、
本発明はこのような符号の使用に制限されるものでなく
〒般の可変長符号を用いることができることは勿論であ
る。なお第1表垂直モードの符号欄において符号”’一
”’はA,がblに先行して検出された場合、符号”’
+’”はalがblより後に検出された場合を示してい
る。以上の説明中水平モードと垂直モードとを切分ける
条件として式(a)、(b)をあげたが他の条件式で切
り分けることも可能である。例えばである。
This code table uses MH codes (Modified Huffman codes, see CCITT Recommendation T.4 for details) and bit-by-bit codes D(n) as examples.
It goes without saying that the present invention is not limited to the use of such codes, and that general variable length codes can be used. In addition, in the code column of vertical mode in Table 1, the code "'1"' means that if A, is detected before bl, the code "''
+''' indicates that al is detected after bl.In the above explanation, expressions (a) and (b) were given as conditions for separating horizontal mode and vertical mode, but other conditional expressions It is also possible to separate them, for example.

更に手順1において、画素A。Furthermore, in step 1, pixel A.

およびa1の直上の変化画素はBl,b2とは見なさな
いこととしたが、画素A。の直上又は画素a1の直上の
変化を符号化対象画素Blb2に含めたり、あるいは画
素AO,alよりn(nはO又は正の整数)画素以上離
れていないと画素Bl,b2と見なさないという具合に
条件を変更することができる。以上説明したように符号
化変化画素のアドレスが順次符号化されていくが、その
アドレスは符号化ライン又は参照ライン上で既に符号化
された変化画素から選ばれたひとつの変化画素からの相
対的距離を用いて符号化される。
The changed pixel directly above a1 is not considered as Bl or b2, but is pixel A. or a change directly above pixel a1 is included in the encoding target pixel Blb2, or it is not considered as pixel Bl, b2 unless it is more than n (n is O or a positive integer) pixels away from pixel AO, al. conditions can be changed. As explained above, the addresses of encoded changed pixels are sequentially encoded, but the addresses are relative to one changed pixel selected from changed pixels already encoded on the encoding line or reference line. Encoded using distance.

復号化は符号化の逆の操作によつて行なわれる。Decoding is performed by the inverse operation of encoding.

つまり新たな符号化ラインを復号化する場合は、直前に
復号化したラインを参照ラインとし、起点画素A。を例
えば第1画素にセツトしその値を白画素とする。そのあ
と復号器は受信した符号化信号を順次解読し、最初のモ
ードが水平モードか垂直モードかあるいはパスモードか
を識別する。水平モードが識別された場合は符号化信号
をさらに解読して距離A。alの値を復号化し、符号化
ライン上で起点画素A。の位置からA。alだけ離れた
位置に変化画素a1を再生すべく起点画素A。から変化
画素a1の直前までの画素を起点画素と同様の画素レベ
ルで再生する。その後起点画素の位置をA。からa1の
位置に移動し、新たな起点画素a1のレベルをA。とは
反対のレベルに再生される。垂直モードが識別された場
合は、距離Blalの絶対値がOあるいは1以外の場合
にはさらに符号化信号を解読して距離Blalの値を符
号化する。
That is, when decoding a new encoded line, the line decoded immediately before is used as a reference line, and the starting pixel A is used. For example, the value is set to the first pixel and the value is set as the white pixel. The decoder then sequentially decodes the received encoded signals and identifies whether the initial mode is horizontal mode, vertical mode, or pass mode. If the horizontal mode is identified, the encoded signal is further decoded to obtain the distance A. Decode the value of al and select the starting pixel A on the encoded line. A from position. The starting pixel A is used to reproduce the changed pixel a1 at a position separated by al. The pixels from to just before the changed pixel a1 are reproduced at the same pixel level as the starting pixel. Then set the position of the starting pixel to A. to the position a1, and set the level of the new starting pixel a1 to A. is played to the opposite level. If the vertical mode is identified and the absolute value of the distance Blal is other than O or 1, the encoded signal is further decoded to encode the value of the distance Blal.

垂直モードの場合には参照ライン上で変化画素b1の位
置を検出し、距離B,alが0の場合は変化画素b1の
直下に画素a1を再生し、距離Blalの極性が゛−゛
の場合には、変化画素b1から起点画素A。の方向にB
lalだけ離れた符号化ライン上に画素a1を再生し、
距離Blalの極性が゛+11の場合は、変化画素b1
から起点画素A。とは反対の方向にBla,だけ離れた
符号化ライン上に画素a1を再生する。起点画素A。と
画素a1の直前までの画素とのレベルは起点画素A。の
レベルと同一のレベルで再生され、画素a1は起点画素
A。のレベルとは反対のレベルで再生される。その後起
点画素の位置はA。からa1に移動する。パスモードが
識別された場合は、参照ライン上で2個の変化画素Bl
,b2を検出し、起点画素の位置をA。の位置からB2
の直下の位置に移動する。さらに画素A。と画素B2の
直下の画素までの符号化ライン上の画素は、画素A。と
同一の画素レベルで再生される。本発明による復号化装
置の第1の実施例を第4図に示す。
In the case of vertical mode, the position of the changed pixel b1 is detected on the reference line, and if the distance B, al is 0, the pixel a1 is reproduced directly below the changed pixel b1, and if the polarity of the distance Blal is ゛-゛, from the change pixel b1 to the starting pixel A. B in the direction of
Regenerate pixel a1 on the encoding line separated by lal,
If the polarity of the distance Blal is +11, the changed pixel b1
From the starting pixel A. Pixel a1 is reproduced on a coding line separated by Bla in the opposite direction. Starting pixel A. The level of the pixels immediately before pixel a1 is the starting pixel A. The pixel a1 is the starting pixel A. is played at the opposite level. After that, the position of the starting pixel is A. Move from to a1. If the pass mode is identified, two change pixels Bl on the reference line
, b2 is detected, and the position of the starting pixel is A. B2 from the position of
Move to the position directly below. Furthermore, pixel A. The pixels on the encoding line up to the pixel immediately below pixel B2 are pixel A. is reproduced at the same pixel level. A first embodiment of the decoding device according to the present invention is shown in FIG.

人力端子201からの符号化された信号は一旦入カバツ
フアメモリ202に収納される。モード符号識別回路2
03は第5図に示す構成となつており、その動作は入カ
バツフアメモリ202からモード識別に必要な信号(第
1表に示す如く高々4ビツト)を読み出し、パスモード
、水平モード、または垂直モードのいずれであるかの識
別を行う。信号が1111100であればパスモードと
判断し、P線の出力を゛1゛とする。信号がT!111
11であれば水平モードと識別し、h線の出力を゛1”
とする。また信号が゛O―11100− 1?1100
t!であれば垂直モードのうちBlalの極性は11+
”1であると判断し、V+線の出力を1115とする。
信号が゛101゛又は1110111であれば垂直モー
ドのうちBla,の極性ば一“であると判断し、V一線
の出力を゛11とする。アドレス制御回路221は第6
図に示す構成となつており、モード符号識別回路の出力
、P,.V−、V+が゛111となつたときSaOから
加わつているA。アドレスより1ビツトずつメモリをシ
フトさせるパルスをメモリ211に加える。識別回路2
03のP線が1111となつた時(パスモード)、アド
レス制御回路221は−AOのアドレスから順次参照ラ
インメモリ211をシフトし、Blb2の検出を開始す
る。
The encoded signal from the human input terminal 201 is temporarily stored in the input buffer memory 202. Mode code identification circuit 2
03 has the configuration shown in FIG. 5, and its operation is to read the signal (at most 4 bits as shown in Table 1) necessary for mode identification from the input buffer memory 202, and to select the pass mode, horizontal mode, or vertical mode. Identify which one it is. If the signal is 1111100, it is determined that the mode is pass mode, and the output of the P line is set to ``1''. The signal is T! 111
If it is 11, it is identified as horizontal mode, and the output of the h line is set to ``1''.
shall be. Also, the signal is ゛O-11100- 1?1100
T! If so, the polarity of Blal in vertical mode is 11+
”1, and the output of the V+ line is set to 1115.
If the signal is "101" or 1110111, it is determined that the polarity of Bla in the vertical mode is "1", and the output of the V line is set to "11".The address control circuit 221
The configuration is shown in the figure, and the outputs of the mode code identification circuit, P, . When V- and V+ become 111, A is added from SaO. A pulse is applied to the memory 211 to shift the memory one bit at a time from the address. Identification circuit 2
When the P line of 03 becomes 1111 (pass mode), the address control circuit 221 sequentially shifts the reference line memory 211 from the address of -AO and starts detecting Blb2.

なお参照ラインメモリには予め前ラインの情報が符号化
ラインメモリ212を介して収納されている。変化画素
検出回路240はラインメモリ211から加わる信号系
列において直前の画素と異なる画素があるごとに出力1
1「7を出す。変化画素検出回路240の出力“11が
出た時点でその変化画素がA。と異なる極性の画素であ
ればEXOR回路293を介してその出力゛1「1がb
1検出回路251(アンド回路)に加わり、BlP線の
出力がTlllとなる。AOblカウンタ272は、ア
ドレス制御回路221からパルスを受け、AOアドレス
からb1まで(BlP線が11F1)のパルス数を計数
する。B2検出回路252は、b1が検出された後(B
lp線が゜”1゛7)、更に変化画素検出回路240で
変化画素が検出されたとき、B2P線の出力を”1「1
とするもので、フリツプフロツプとアンド回路とで構成
される。AOb2カウンタ271は、アドレス制御回路
221からパルスを受け、AOアドレスからB2まで(
B2p線が゛11!リのパルス線を計数する。AOb2
カウンタ271の情報は、ゲート281(モード符号識
別回路203のp線が!1111になることにより開か
れている)を介してAOレジスタ300に加算される。
AOレジスタ300の情報は、アドレス制御回路221
及び222に加わり、新たにA。アドレスをセツトし、
復号化の動作が再開される。識別回路203のv+線又
はV一線が゛11となつた場合(垂直モード)、オア回
路291の出力゛1゛はアドレス制御回路221とBl
al復号化回路231に加わる。
Note that information on the previous line is stored in advance in the reference line memory via the encoding line memory 212. The changed pixel detection circuit 240 outputs 1 every time there is a pixel different from the previous pixel in the signal series added from the line memory 211.
1 "7 is output. When the output "11" of the changed pixel detection circuit 240 is output, the changed pixel is A. If the pixel has a polarity different from
1 detection circuit 251 (AND circuit), and the output of the BIP line becomes Tlll. The AObl counter 272 receives pulses from the address control circuit 221 and counts the number of pulses from the AO address to b1 (BlP line is 11F1). After b1 is detected, the B2 detection circuit 252 detects (B
When the lp line is ゜”1゛7) and a changed pixel is detected by the changed pixel detection circuit 240, the output of the B2P line is set to ゜”1゛7).
It consists of a flip-flop and an AND circuit. The AOb2 counter 271 receives a pulse from the address control circuit 221 and counts from the AO address to B2 (
B2p line is ゛11! Count the number of pulse lines. AOb2
Information in the counter 271 is added to the AO register 300 via a gate 281 (opened when the p line of the mode code identification circuit 203 becomes !1111).
The information in the AO register 300 is transmitted to the address control circuit 221.
and 222, and a new A. Set the address and
The decoding operation is resumed. When the v+ line or V line of the identification circuit 203 becomes ``11'' (vertical mode), the output ``1'' of the OR circuit 291 is connected to the address control circuit 221 and Bl.
It is added to the al decoding circuit 231.

これにより上述のb1に関する復号化が実行され、AO
blカウンタ272の計数はb1のA。に対するアドレ
スを示していることになる。またBlal復号化回路2
31は入力バツフアメモリ202より1ワード分の信号
を読出し復号化する。この復号化された値は加算器26
1によりA。blカウンタ272の値に加えられ、また
減算器262によりA。blカウンタ272の値より減
じられる。モード符号識別回路203の出力V+線が1
?「1の場合にゲート284が開き、加算器261の情
報はオア回路292を介してアドレス制御回路222に
加わるとともに、ゲート282を介してA。レジスタ3
00にも加わる。一方モード符号識別回路203の出力
V一線が゛1゛の場合、ゲート285が開き、減算器2
62の情報はオア回路292を介してアドレス制御回路
222に加わるとともに、ゲート282を介してA。の
レジスタ300にも加わる。アドレス制御回路222は
、第7図図示の構成をもち、オア回路292を介して伝
わつた情報によりa1のアドレスを確認し、符号化ライ
ンメモリ上のA。
As a result, the above-mentioned decoding regarding b1 is executed, and AO
The count of the bl counter 272 is A of b1. This indicates the address for . Also, Blal decoding circuit 2
31 reads one word worth of signals from the input buffer memory 202 and decodes them. This decoded value is sent to the adder 26
A by 1. A is added to the value of the bl counter 272 and is also added to the value of the bl counter 272 by the subtracter 262. The value of the bl counter 272 is subtracted from the value of the bl counter 272. The output V+ line of the mode code identification circuit 203 is 1
? In the case of "1", the gate 284 opens, and the information in the adder 261 is applied to the address control circuit 222 via the OR circuit 292, and the A. register 3 via the gate 282.
Also added to 00. On the other hand, when the output V line of the mode code identification circuit 203 is "1", the gate 285 is opened and the subtracter 2
The information of 62 is applied to the address control circuit 222 via the OR circuit 292, and the information of A. It is also added to the register 300 of. The address control circuit 222 has the configuration shown in FIG. 7, and confirms the address of a1 based on the information transmitted via the OR circuit 292, and checks the address of A1 on the encoded line memory.

からa1の直前までの情報を全てA。と同一とし、a1
の情報はA。の情報に対して反転させる。AOレジスタ
300の情報は、アドレス制御回路221および222
に加わり新たにA。アドレスをセツトし、復号化を再開
する。モード符号識別回路203のh線が゛1「゛とな
1つた場合(水平モード)、AOal復号化回路23
2は入カバツフアメモリ202より1ワード分の信号を
読出し、復号化する。
All information from to just before a1 is A. and a1
The information is A. Invert the information. The information in the AO register 300 is transmitted to the address control circuits 221 and 222.
A new member joins A. Set the address and resume decoding. When the h line of the mode code identification circuit 203 is ``1'' (horizontal mode), the AOal decoding circuit 23
2 reads one word worth of signals from the input buffer memory 202 and decodes them.

復号化された値はそれぞれアドレス制御回路222とゲ
ート283を介してA。レジスタ300とに加わる。ア
ドレス制御回路222ではa1のアドレスを確定し、符
号化ラインメモリ上のA。からa1の直前まで全てA。
と同一情報とし、a1を反転させる。AOレジスタ30
0はa1のアドレスに書き換えられ、A,アドレスが新
しいA。アドレスとなる。こ 乏の新しい情報はアドレ
ス制御回路221,222に加わりA。アドレスをセツ
トし、復号化を再開する。上述の復号化回路においても
、検出回路、レジ★九スタ、カウンタ等のりセツト条件
は述べず、図の中にも記入されていないが、これらの回
路のうちモード符号識別回路203、b1検出回路25
2、アドレス制御回路221,222、カウンタ271
,272、復号化回路231,232等はAOアドレス
が新たに設定される毎にりセツトされるものとする。
The decoded values are sent to A through the address control circuit 222 and gate 283, respectively. It is added to the register 300. The address control circuit 222 determines the address of a1 and stores A on the encoding line memory. All A's from to just before a1.
, and invert a1. AO register 30
0 is rewritten to the address of a1, A, the address is new A. It becomes the address. The scarce new information is applied to address control circuits 221 and 222. Set the address and resume decoding. In the decoding circuit described above, the conditions for setting the detection circuit, register, counter, etc. are not described nor shown in the diagram, but among these circuits, the mode code identification circuit 203 and the b1 detection circuit are 25
2. Address control circuits 221, 222, counter 271
, 272, decoding circuits 231, 232, etc. are reset each time an AO address is newly set.

また1ラインの終了はA。アドレスを監視することによ
り行い、AOアドレスが1ライン終了画素のアドレスと
なつた時点で復号化を終了し、後続ラインの復号化を再
開する。上述の符号化方式においては水平モードと識別
された場合、起点画素と符号化変化点a1との距離を符
号化し、水平モードを示す符号を符加していたが、圧縮
効率を更に向上させるために、水平モードと識別された
場合には後続の変化画素(これを以下A2と呼ぶ)も共
に符号化することが考慮される。この場合、1つの水平
モードにおいて2個の変化画素Al,a2を共に符号化
するために、1変化画素当りの水平モード符号量が少な
くなり圧縮効率が高まることになる。なおこの方式では
変化画素A2の位置は距離Ala2で符号化される。こ
の符号化の場合に用いる符号表の例を第2表に示す。本
発明による復号化装置の第2の実施例を第8図に示す。
Also, the end of one line is A. This is done by monitoring the address, and when the AO address becomes the address of the end pixel of one line, the decoding is completed and the decoding of the subsequent line is restarted. In the above encoding method, when the horizontal mode is identified, the distance between the starting pixel and the encoding change point a1 is encoded, and a code indicating the horizontal mode is added, but in order to further improve the compression efficiency, In addition, when the horizontal mode is identified, it is considered that the subsequent changed pixel (hereinafter referred to as A2) is also encoded. In this case, since two changed pixels Al and a2 are encoded together in one horizontal mode, the horizontal mode code amount per one changed pixel is reduced, and compression efficiency is increased. Note that in this method, the position of the changed pixel A2 is encoded by the distance Ala2. Table 2 shows an example of a code table used in this encoding. A second embodiment of the decoding device according to the present invention is shown in FIG.

入力端子201からの符号化された信号は一旦入カバツ
フアメモリ202に収納される。
The encoded signal from the input terminal 201 is temporarily stored in the input buffer memory 202.

モード符号識別回路203は第5図に示す構成となつて
おり、その動作は入カバツフアメモリ202からモード
識別に必要な信号(第1表に示す如く高々4ビット)を
読み出し、パスモード、水平モード、または垂直モード
のいずれであるかの識別を行う。信号が111101?
であればパスモードと判断し、p線の出力を1V「1と
する。信号が1111111であれば水平モードと識別
し、h線の出力を1111とする。また信号が1011
、11100―Q7llOOllであれば垂直モードの
うちBlalの極性は1+”であると判断し、V+線の
出力を1111とする。信号が1101]1又は111
1011Tであれば垂直モードのうちBlalの極性は
11−11であると判断し、V一線の出力を1?11と
する。アドレス制御回路221は第6図に示す構成とな
つており、モード符号識別回路の出力、P.V一v+が
TllllとなつたときSaOより加わつているA。ア
ドレスより1ビツトずつメモリをシフトさせるパルスを
メモリ211に加える。識別回路203のP線が“1「
゛となつた時(パスモード)、アドレス制御回路221
はA。
The mode code identification circuit 203 has the configuration shown in FIG. 5, and its operation is to read out the signals (at most 4 bits as shown in Table 1) necessary for mode identification from the input buffer memory 202, and select the pass mode, horizontal mode, or vertical mode. The signal is 111101?
If so, it is determined that it is pass mode, and the output of the p line is set to 1V "1. If the signal is 1111111, it is identified as horizontal mode, and the output of the h line is set to 1111. Also, the output of the h line is set to 1111.
, 11100-Q7llOOll, it is determined that the polarity of Blaal in the vertical mode is 1+'', and the output of the V+ line is set to 1111.The signal is 1101]1 or 111
If it is 1011T, it is determined that the polarity of Bal in the vertical mode is 11-11, and the output of the V line is set to 1-11. The address control circuit 221 has the configuration shown in FIG. 6, and includes the output of the mode code identification circuit, the P. When V1v+ becomes Tllll, A is added from SaO. A pulse is applied to the memory 211 to shift the memory one bit at a time from the address. The P line of the identification circuit 203 is “1”
When it becomes (pass mode), the address control circuit 221
is A.

のアドレスから順次参照ラインメモリ211をシフトし
、Blb2の検出を開始する。なお参照ラインメモリに
は予め前ラインの情報が符号化ラインメモリ212を介
して収納されている。変化画素検出回路240はライン
メモリ211から加える信号系列において直前の画素と
異なる画素があるごとに出力11゛1を出す。
The reference line memory 211 is sequentially shifted from the address , and detection of Blb2 is started. Note that information on the previous line is stored in advance in the reference line memory via the encoding line memory 212. The changed pixel detection circuit 240 outputs an output 11'1 every time there is a pixel different from the immediately previous pixel in the signal series added from the line memory 211.

変化画素検出回路240の出力“1゛゜が出た時点でそ
の変化画素がA。と異なる極性の画素であればEXOR
回路293を介してその出力“1;“がb1検出回路2
51(アンド回路)に加ゎり、Bl,線の出力1;「1
となる。AOblカウンタ272はアドレス制御回路2
21からパルスを受け、AOアドレスからb1まで(B
,p線が11「1)のパルス数を計数する。B2検出回
路252はb1が検出された後(Blp線が11f”)
、更に変化画素検出回回240で変化画素が検出された
とき、B2P線の出力を71FVとするもので、フリツ
プフロツプとアンド回路で構成される。AOb2カウン
タ271はアドレス制御回路221からパルスを受け、
AOアドレスからB2まで(B2p線が“1゛りのパル
ス数を計数する。なおり2P線の゛1“よりアドレス制
御回路221はシフトパルスの送出を一旦中止する。A
Ob2カウンタ271の情報はゲート281(モード符
号識別回路203のp線が1「1になることにより開か
れている)を介してA。レジスタ300に加算される。
AOレジスタ300の情報はアドレス制御回路221及
び222に加わり、新たにA。アドレスをセツトし、復
号化の動作が再開される。識別回路203のv+線又は
v一線が11111となつた場合(垂直モード)、オア
回路291の出力1111!はアドレス制御回路221
とBlal復号化回路231に加わる。
When the changed pixel detection circuit 240 outputs “1°”, the changed pixel is a pixel with a polarity different from A. EXOR.
The output “1;” is sent to the b1 detection circuit 2 through the circuit 293.
51 (AND circuit), Bl, line output 1; "1
becomes. AObl counter 272 is address control circuit 2
Receives a pulse from 21, and from the AO address to b1 (B
, the number of pulses when the p line is 11 "1" is counted.The B2 detection circuit 252 counts the number of pulses when the p line is 11 "1". After b1 is detected (the Blp line is 11 f"), the B2 detection circuit 252
Furthermore, when a changed pixel is detected by the changed pixel detection circuit 240, the output of the B2P line is set to 71FV, and is composed of a flip-flop and an AND circuit. The AOb2 counter 271 receives a pulse from the address control circuit 221,
From the AO address to B2 (the B2p line counts the number of pulses that are "1").The address control circuit 221 temporarily stops sending out shift pulses from the "1" on the 2P line.A
The information of the Ob2 counter 271 is added to the A. register 300 via the gate 281 (opened when the p line of the mode code identification circuit 203 becomes 1"1").
The information in the AO register 300 is added to the address control circuits 221 and 222, and a new A. The address is set and the decoding operation is resumed. When the v+ line or the v-line of the identification circuit 203 becomes 11111 (vertical mode), the output of the OR circuit 291 is 1111! is the address control circuit 221
and is added to the Bral decoding circuit 231.

これにより上述のb1に関する復号化が実行され、AO
blカウンタ272の計数はb1のA。に対するアドレ
スを示していることになる。またBlal復号化回路2
31は入力バツフアメモリ202より1ワード分の信号
を読出し復号化する。この復号化された値は加算器26
1によりA。blカウンタ272の値に加えられ、また
減算器262によりA。blカウンタ272の値より減
じられる。モード符号識別回路203の出力V+線が“
1゛の場合ゲート284が開き、加算器261の情報は
オア回路292を介して、アドレス制御回路222に加
わるとともにゲート282を介してA。レジスタ300
にも加わる。一方モード符号識別回路203の出力v一
線が111の場合、ゲート285が開き、減算器262
の情報はオア回路292を介してアドレス制御回路22
2に加わるとともにゲート282を介してA。のレジス
タ300にも加わる。アドレス制御回路222はオア回
路292を介して伝わつた情報によりa1のアドレスを
確定し、符号化ラインメモリ上のA。からa1の直前ま
での情報を全てA。と同一とし、a1の情報はA。の情
報に対して反転させる。AOレジスタ300の情報はア
ドレス制御回路221および222に加わり新たにA。
アドレスをセツトし、復号化を再開する。モード符号識
別回路203のh線が11V1となつた場合(水平モー
ド)、AOal復号化回路232とAla2復号化回路
233とは入カバツフアメモリ202より順次2ワード
分の信号を読出し、最初の1ワードをA。
As a result, the above-mentioned decoding regarding b1 is executed, and AO
The count of the bl counter 272 is A of b1. This indicates the address for . Also, Blal decoding circuit 2
31 reads one word worth of signals from the input buffer memory 202 and decodes them. This decoded value is sent to the adder 26
A by 1. A is added to the value of the bl counter 272 and is also added to the value of the bl counter 272 by the subtracter 262. The value of the bl counter 272 is subtracted from the value of the bl counter 272. The output V+ line of the mode code identification circuit 203 is “
When the value is 1, the gate 284 is opened, and the information in the adder 261 is applied to the address control circuit 222 via the OR circuit 292 and the information is applied to the address control circuit 222 via the gate 282. register 300
Also join. On the other hand, when the output v of the mode code identification circuit 203 is 111, the gate 285 opens and the subtracter 262
The information is sent to the address control circuit 22 via the OR circuit 292.
2 and through gate 282. It is also added to the register 300 of. The address control circuit 222 determines the address of a1 based on the information transmitted via the OR circuit 292, and determines the address of A1 on the encoded line memory. All information from to just before a1 is A. and the information of a1 is A. Invert the information. The information in the AO register 300 is added to the address control circuits 221 and 222, and a new A.
Set the address and resume decoding. When the h line of the mode code identification circuit 203 becomes 11V1 (horizontal mode), the AOal decoding circuit 232 and the Ala2 decoding circuit 233 sequentially read two words worth of signals from the input buffer memory 202 and read the first one word. A.

al復号化回路232で復号化し後の1ワードをAla
2復号化回路233で復号化する。復号化された値はア
ドレス制御回路222に印加されるとともにゲート28
3またはゲート286を介してA。レジスタ300にも
加わる。アドレス制御回路222ではAl,a2のアド
レスを確定し、符号化ラインメモリ上のA。からa1の
直前まで全てA。と同一情報とし、a1を反転した後、
a1からA2の直前までを全てA,と同一情報としA2
をA,に対して反転させる。AOレジスタ300はA,
,a2のアドレスに次々に書き換えられ、A2アドレス
が新しいAOアドレスとなる。この新しい情報はアドレ
ス匍脚回路221,222に加わりA。アドレスをセツ
トし、復号化を再開する。上述の復号化回路においても
、検出回路、レジスタ、カウンタ等のりセツト条件は述
べず、図の中にも記入されていないが、これらの回路の
うちモード符号識別回路203、B2検出回路252、
アドレス制御回路221,222、カウンタ271,2
72、復号化回路231〜233等はAOアドレスが新
たに設定される毎にりセツトされるものとする。
The al decoding circuit 232 decodes the remaining one word as Ala
2 decoding circuit 233 decodes. The decoded value is applied to address control circuit 222 and gate 28
3 or A via gate 286. It is also added to the register 300. The address control circuit 222 determines the address of Al, a2, and A on the encoding line memory. All A's from to just before a1. After assuming the same information as and inverting a1,
All information from a1 to just before A2 is the same as A, and A2
is inverted with respect to A. The AO register 300 is A,
, a2 addresses one after another, and the A2 address becomes the new AO address. This new information is added to the address support circuits 221 and 222. Set the address and resume decoding. In the decoding circuit described above, the conditions for setting the detection circuit, register, counter, etc. are not described nor shown in the diagram, but among these circuits, the mode code identification circuit 203, B2 detection circuit 252,
Address control circuits 221, 222, counters 271, 2
72, decoding circuits 231 to 233, etc. are reset each time an AO address is newly set.

また1ラインの終了はAOアドレスをアドレス制御回路
222により監視することにより行い、AOアドレスが
1ライン終了画素のアドレスとなつた時点で復号化を終
了し、後続ラインの復号化を再開する。次に、本発明の
他の目的である符号誤りによる再生画面の画質の劣化を
限定する方式について述べる。
Further, the end of one line is performed by monitoring the AO address by the address control circuit 222, and when the AO address becomes the address of the end pixel of one line, decoding is ended and decoding of the subsequent line is restarted. Next, a method for limiting the deterioration of the image quality of the reproduced screen due to code errors, which is another object of the present invention, will be described.

本発明に利用する符号化方式においては、符号化ライン
の画信号を符号化するために、この符号化ラインの直前
の参照ラインの画信号情報を用いて符号化ラインの符号
化を行なつている。したがつて、復号器側においても、
すでに復号した参照ラインの画信号情報を用いて、符号
化ラインの画信号を復号化することになる。このように
直前の走査線の画信号情報を逐次利用しながら符号復号
を行なつているので回線雑音等の影響により符号誤りが
発生し、あるラインの画信号の再生が正しく行なわれな
いと該ラインから以後のラインの再信号は正しく再生さ
れず、再生画面の画質は著しく劣化することがある。そ
こで、符号誤りが発生したことを検出し、符号誤りが発
生したラインの画質の低下をおさえ、かつ符号誤りによ
る画質の劣化があるライン以上に波及しないよう符号誤
り状態からのすみやかな復旧が必要になる。本発明によ
れば、これらの目的のために、符号器側では符号系列中
の任意の場所から、検出可能ないわゆる自己同期の第1
制御符号を画信号のあらかじめ定められた区間、例えば
4ライン(K一4)ごとの最初f)7f6.1ライン上
の符号化開始直前に挿入し、かつ該./I6.lライン
については直前のラインの画信号情報を使うことなく、
該/F6.lのラインの画信号情報を符号化し(例えば
ランレングスRL符号化)、該F,lラインの直後の黒
2、腐3・・・・・・應K走査線については、本発明に
よる符号化を行ない、各ラインの符号化終了ごとに、符
号誤り発生検出用の第1制御符号とは異なる第2制御符
号を挿入する。復号器側においては、自己同期形の第1
制御符号が検出されると、直後の符号系列についてRL
符号化してあるものとして、直前のラインの情報を使う
ことなく/F6.lラインとして復号を行なう。
In the encoding method used in the present invention, in order to encode the image signal of the encoded line, the image signal information of the reference line immediately before this encoded line is used to encode the encoded line. There is. Therefore, also on the decoder side,
The image signal information of the reference line that has already been decoded is used to decode the image signal of the encoded line. In this way, since code decoding is performed while sequentially using the image signal information of the immediately preceding scanning line, code errors may occur due to the influence of line noise, etc., and if the image signal of a certain line is not reproduced correctly. Re-signals of lines subsequent to the line may not be reproduced correctly, and the image quality of the reproduced screen may deteriorate significantly. Therefore, it is necessary to detect the occurrence of a code error, suppress the deterioration of the image quality of the line where the code error has occurred, and promptly recover from the code error state so that the deterioration of image quality due to the code error does not spread beyond the line where the deterioration of the image quality occurred. become. According to the present invention, for these purposes, the encoder side generates a so-called self-synchronized first signal that can be detected from any location in the code sequence.
A control code is inserted in a predetermined section of the image signal, for example, immediately before the start of encoding on the first f)7f6.1 line of every 4 lines (K-4), and the corresponding . /I6. For the l line, without using the image signal information of the previous line,
/F6. The image signal information of the 1 line is encoded (for example, run-length RL encoding), and the black 2, rot 3, etc. immediately after the F and 1 lines are encoded according to the present invention. A second control code different from the first control code for code error detection is inserted every time the coding of each line is completed. On the decoder side, the self-synchronized first
When a control code is detected, the RL for the immediately following code sequence is
/F6. without using the information of the previous line as encoded. Decoding is performed as one line.

第2制御符号が検出されると本発明による符号化が行な
われているものとして直前のライン情報を用いながら復
号を行なう。各1ラインの復号完了毎に直後に第1又は
第2の制御符号の有無を調べ誤リチエツクを行なう。誤
りが検出された場合は誤復号ラインは直前の走査線の画
信号で置換える等の処理を行ない、画質の劣化をおさえ
る。誤りが検出されると復号動作は一旦中止されるが、
自己同期形の第1の制御符号が検出されるとただちにR
Lの復号を再開し、誤り状態から復旧する。第9図は本
発明の第3の実施例である復号化装置のプロツク図であ
る。復号化装置では、第1制御符号検出回路106であ
つて第1制御符号を検出すると、以後参照ライン情報を
参照することなく符号化ラインを符号化する。
When the second control code is detected, it is assumed that encoding according to the present invention has been performed, and decoding is performed using the immediately preceding line information. Immediately after each line is decoded, the presence or absence of the first or second control code is checked and error retrieval is performed. If an error is detected, processing such as replacing the erroneously decoded line with the image signal of the immediately previous scanning line is performed to suppress deterioration in image quality. When an error is detected, the decoding operation is temporarily stopped, but
As soon as the self-synchronous first control code is detected, R
Restart decoding of L and recover from the error state. FIG. 9 is a block diagram of a decoding apparatus according to a third embodiment of the present invention. In the decoding device, when the first control code detection circuit 106 detects the first control code, the encoded line is encoded without referring to reference line information thereafter.

例えばランレングス(RL)符号を復号化するRL復号
器107により1ライン(黒1ライン)分だけRLの復
号を行ない、再生画素情報をラインメモリ108に書込
み、黒1ラインの復号が終了するとラインメモリ108
の内容をラインメモ1川09に転送する。以後は、ライ
ンメモリ109の内容を用いながら本発明による復号器
110により逐次黒2、黒3・・・・・・黒Kラインの
復号を行なう。なお各ラインの復号終了毎に、制御符号
を制御符号検出回路106,111により検出し、符号
誤り検出回路112により符号誤り発生の有無を検出す
る。一度符号誤りが発生すると、その走査線以後JI)
.K走査線までは復号を行なわない。その後第1制御符
号が検出されると通常の復号動作に人り、符号誤り状態
から復旧する。なお、上記において本発明にいう第1の
回路ないし第15の回路を、本願実施例構成の符号と対
応づけると、次の如きものと考えてよい。
For example, the RL decoder 107 that decodes a run-length (RL) code decodes the RL for one line (one black line), writes reproduced pixel information to the line memory 108, and when the decoding of one black line is completed, the line memory 108
Transfer the contents to Line Memo 1 River 09. Thereafter, using the contents of the line memory 109, the decoder 110 according to the present invention sequentially decodes the black 2, black 3, . . . black K lines. Note that each time the decoding of each line is completed, the control code is detected by control code detection circuits 106 and 111, and the code error detection circuit 112 detects whether or not a code error has occurred. Once a code error occurs, JI from that scanning line onward)
.. No decoding is performed up to K scanning lines. After that, when the first control code is detected, the normal decoding operation is started and the code error state is recovered. In addition, if the first to fifteenth circuits referred to in the present invention are associated with the reference numerals of the embodiments of the present invention in the above, they may be considered as follows.

即ち、第1の回路・・・・・・符号化ライン・メモリ2
12第2の回路・・・・・・参照ライン・メモリ211
第3の回路・・・・・・アドレス制御回路222第4の
回路・・・−・・アドレス制御回路221第5の回路・
・・・・・AOメモリ213第6の回路・・・・・・モ
ード符号識別回路203第7の回路・・・・・・b1検
出回路251第8の回路・・・・・・B2検出回路25
2第9の回路・・・・・・Blal復号化回路231第
10の回路・・・・・・AOal復号化回路232第1
1の回路・・・・・・第1制御符号検出回路106第1
2の回路・・・・・・第2制御符号検出回路111第1
3の回路・・・・・・RL復号器107第14の回路・
・・・・・符号誤り検出回路112第15の回路・・・
・・・Ala2復号化回路233が夫々対応すると考え
てよい。
That is, the first circuit...encoding line memory 2
12 Second circuit...Reference line memory 211
Third circuit...address control circuit 222 Fourth circuit...address control circuit 221 Fifth circuit...
...AO memory 213 6th circuit ...Mode code identification circuit 203 7th circuit ...B1 detection circuit 251 8th circuit ...B2 detection circuit 25
2 Ninth circuit...Blal decoding circuit 231 Tenth circuit...AOal decoding circuit 232 first
1 circuit...First control code detection circuit 106 first
2 circuit...Second control code detection circuit 111 first
3 circuit...RL decoder 107 14th circuit...
... Code error detection circuit 112 15th circuit ...
... It may be considered that the Ala2 decoding circuit 233 corresponds to each.

以上説明したように、本発明には、白黒2値フアクシミ
リ信号のように隣接ライン間にきわめて強い相関がある
信号において、その近傍の変化画素からの距離を用いて
高能率に符号化し、文書の書き始めの如く、直上ライン
との相関がない部分においては同一ラインからの距離を
用いて符号化するという2種の符号化方式を適宜選択す
ることにより相関の疎密によらず高能率な符号化を可能
とする利点がある。
As explained above, the present invention enables highly efficient encoding of signals with extremely strong correlation between adjacent lines, such as black-and-white binary facsimile signals, by using the distance from the neighboring change pixels, and As shown at the beginning of writing, in parts where there is no correlation with the line immediately above, the distance from the same line is used for encoding.By appropriately selecting two types of encoding methods, highly efficient encoding is possible regardless of the degree of correlation. It has the advantage of making it possible.

また、例えばK走査線ごとに自己同期形の第1制御符号
を挿入した後、1走査線だけRL符号化を行ないかつ、
以後の走査線については本発明の符号化を行ない、1走
査線の符号化終了ごとに符号誤りをチエツクすることに
より、符号誤りによる画質の劣化の波及を防止し、すみ
やかに符号誤り状態から復旧できるという利点がある。
Further, for example, after inserting a self-synchronous first control code every K scanning lines, RL encoding is performed for only one scanning line, and
Subsequent scanning lines are encoded according to the present invention, and by checking for code errors each time the encoding of one scanning line is completed, it is possible to prevent image quality deterioration due to code errors from spreading and to quickly recover from a code error state. It has the advantage of being possible.

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

第1図、第2図、第3図A,Bは本発明の符号化方式を
説明するためのフアクシミリ信号例図、第4図は本発明
による復号化装置の第1の実施例を示すプロツク図、第
5図〜第7図は第4図の復号化装置に用いる回路の具体
例を示すプロツク図、第8図は本発明による復号化装置
の第2の実施例を示すプロツク図、第9図は本発明によ
る復号化装置の第3の実施例を示すプロツク図である。
1, 2, and 3A and 3B are facsimile signal example diagrams for explaining the encoding method of the present invention, and FIG. 4 is a program diagram showing a first embodiment of the decoding device according to the present invention. 5 to 7 are block diagrams showing specific examples of circuits used in the decoding device of FIG. 4, and FIG. 8 is a block diagram showing a second embodiment of the decoding device according to the present invention. FIG. 9 is a block diagram showing a third embodiment of the decoding apparatus according to the present invention.

Claims (1)

【特許請求の範囲】 1 原画を走査して得られる信号を順次画素に標本化し
該標本化した2値ファクシミリ信号に含まれる情報変化
画素の位置を符号化した信号を復号化する装置において
、これから復号化すべきライン情報を格納する第1の回
路と、直前に復号化を終了した参照ライン情報を格納す
る第2の回路と、第1の回路のアドレスを制御する第3
の回路と、第2の回路のアドレスを制御する第4の回路
と、復号化すべきライン上で復号化の起点となる起点画
素を設定する第5の回路と、符号化信号から第1、第2
、あるいは第3の3種類のモード符号の有無を識別する
第6の回路と、参照ライン上で起点画素の直上の画素よ
り後に位置し起点画素と異なる信号値を有する最初の情
報変化画素である第1参照画素を検知する第7の回路と
、参照ライン上で第1参照画素の次の情報変化画素であ
る第2参照画素を検知する第8の回路と、第2のモード
符号が識別された時に復号化ライン上の起点画素の次の
情報変化画素と第1参照画素との相対距離を示す符号を
復号化する第9の回路と、第3のモード符号が識別され
た時に起点画素と復号化ライン上の起点画素の次に位置
する情報変化画素との距離を示す符号を復号化する第1
0の回路とをそなえたことを特徴とするファクシミリ信
号復号化装置。 2 原画を走査して得られる信号を順次画素に標本化し
該標本化した2値ファクシミリ信号に含まれる情報変化
画素の位置を符号化した信号を復号化する装置において
、これから復号化すべきライン情報を格納する第1の回
路と、直前に復号化を終了した参照ライン情報を格納す
る第2の回路と、第1の回路のアドレスを制御する第3
の回路と、第2の回路のアドレスを制御する第4の回路
と、復号化すべきライン上で復号化の起点となる起点画
素を設定する第5の回路と、符号化信号から第1、第2
、あるいは第3の3種類のモード符号の有無を識別する
第6の回路と、参照ライン上で起点画素の直上の画素よ
り後に位置し起点画素と異なる信号値を有する最初の情
報変化画素である第1参照画素を検知する第7の回路と
、参照ライン上で第1参照画素の次の情報変化画素であ
る第2参照画素を検知する第8の回路と、第2のモード
符号が識別された時に復号化ライン上の起点画素の次の
情報変化画素と第1参照画素との相対距離を示す符号を
復号化する第9の回路と、第3のモード符号が識別され
た時に起点画素と復号化ライン上の起点画素の次に位置
する情報変化画素との距離を示す符号を復号化する第1
0の回路とをそなえ、更に符号化信号列から第1の制御
信号を検出する第11の回路と、符号化信号列から第2
の制御信号を検出する第12の回路と、参照ライン情報
を参照することなく符号化ラインを符号化した信号を復
号化する第13の回路と、符号誤りの有無を検出する第
14の回路とをそなえたことを特徴とするファクシミリ
信号復号化装置。 3 原画を走査して得られる信号を順次画素に標本化し
該標本化した2値ファクシミリ信号に含まれる情報変化
画素の位置を符号化した信号を復号化する装置において
、これから復号化すべきライン情報を格納する第1の回
路と、直前に復号化を終了した参照ライン情報を格納す
る第2の回路と、第1の回路のアドレスを制御する第3
の回路と、第2の回路のアドレスを制御する第4の回路
と、復号化すべきライン上で復号化の起点となる起点画
素を設定する第5の回路と、符号化信号から第1、第2
、あるいは第3の3種類のモード符号の有無を識別する
第6の回路と、参照ライン上で起点画素の直上の画素よ
り後に位置し起点画素と異なる信号値を有する最初の情
報変化画素である第1参照画素を検知する第7の回路と
、参照ライン上で第1参照画素の次の情報変化画素であ
る第2参照画素を検知する第8の回路と、第2のモード
符号が識別された時に復号化ライン上の起点画素の次の
情報変化画素と第1参照画素との相対距離を示す符号を
復号化する第9の回路と、第3のモード符号が識別され
た時に起点画素と復号化ライン上の起点画素の次に位置
する情報変化画素との距離を示す符号を復号化する第1
0の回路とをそなえ、第3のモード符号が識別された時
に、起点画素と復号化ライン上の起点画素の次に位置す
る第1の情報変化画素の次に位置する復号化ライン上の
第2の情報変化画素との距離を示す符号を復号化する第
15の回路とをそなえたことを特徴とするファクシミリ
信号復号化装置。 4 原画を走査して得られる信号を順次画素に標本化し
該標本化した2値ファクシミリ信号に含まれる情報変化
画素の位置を符号化した信号を復号化する装置において
、これから復号化すべきライン情報を格納する第1の回
路と、直前に復号化を終了した参照ライン情報を格納す
る第2の回路と、第1の回路のアドレスを制御する第3
の回路と、第2の回路のアドレスを制御する第4の回路
と、復号化すべきライン上で復号化の起点となる起点画
素を設定する第5の回路と、符号化信号から第1、第2
、あるいは第3の3種類のモード符号の有無を識別する
第6の回路と、参照ライン上で起点画素の直上の画素よ
り後に位置し起点画素と異なる信号値を有する最初の情
報変化画素である第1参照画素を検知する第7の回路と
、参照ライン上で第1参照画素の次の情報変化画素であ
る第2参照画素を検知する第8の回路と、第2のモード
符号が識別された時に復号化ライン上の起点画素の次の
情報変化画素と第1参照画素との相対距離を示す符号を
復号化する第9の回路と、第3のモード符号が識別され
た時に起点画素と復号化ライン上の起点画素の次に位置
する情報変化画素との距離を示す符号を復号化する第1
0の回路とをそなえると共に、第3のモード符号が識別
された時に、起点画素と復号化ライン上の起点画素の次
に位置する第1の情報変化画素の次に位置する復号化ラ
イン上の第2の情報変化画素との距離を示す符号を復号
化する第15の回路とをそなえ、更に符号化信号列から
第1の制御信号を検出する第11の回路と、符号化信号
列から第2の制御信号を検出する第12の回路と、参照
ライン情報を参照することなく符号化ラインを符号化し
た信号を復号化する第13の回路と、符号誤りの有無を
検出する第14の回路とをそなえたことを特徴とするフ
ァクシミリ信号復号化装置。
[Claims] 1. In an apparatus that sequentially samples signals obtained by scanning an original image into pixels and decodes a signal in which the positions of information changing pixels included in the sampled binary facsimile signal are encoded, A first circuit that stores line information to be decoded, a second circuit that stores reference line information that has been decoded immediately before, and a third circuit that controls the address of the first circuit.
a fourth circuit that controls the address of the second circuit; a fifth circuit that sets a starting pixel that is the starting point of decoding on the line to be decoded; 2
, or a sixth circuit that identifies the presence or absence of the third three types of mode codes, and a first information change pixel located after the pixel directly above the starting pixel on the reference line and having a signal value different from that of the starting pixel. A seventh circuit that detects the first reference pixel, an eighth circuit that detects a second reference pixel that is an information change pixel next to the first reference pixel on the reference line, and a second mode code are identified. a ninth circuit that decodes a code indicating the relative distance between the first reference pixel and the information change pixel next to the starting pixel on the decoding line when the third mode code is identified; The first step is to decode a code indicating the distance from the starting pixel to the information change pixel located next to the starting pixel on the decoding line.
1. A facsimile signal decoding device characterized by comprising a circuit of 0. 2. In a device that sequentially samples a signal obtained by scanning an original image into pixels and decodes a signal obtained by encoding the position of an information changing pixel included in the sampled binary facsimile signal, the line information to be decoded from now on is decoded. a first circuit for storing reference line information, a second circuit for storing reference line information that has just finished decoding, and a third circuit for controlling the address of the first circuit.
a fourth circuit that controls the address of the second circuit; a fifth circuit that sets a starting pixel that is the starting point of decoding on the line to be decoded; 2
, or a sixth circuit that identifies the presence or absence of the third three types of mode codes, and a first information change pixel located after the pixel directly above the starting pixel on the reference line and having a signal value different from that of the starting pixel. A seventh circuit that detects the first reference pixel, an eighth circuit that detects a second reference pixel that is an information change pixel next to the first reference pixel on the reference line, and a second mode code are identified. a ninth circuit that decodes a code indicating the relative distance between the first reference pixel and the information change pixel next to the starting pixel on the decoding line when the third mode code is identified; The first step is to decode a code indicating the distance from the starting pixel to the information change pixel located next to the starting pixel on the decoding line.
0 circuit, and an eleventh circuit that detects the first control signal from the encoded signal sequence, and a second circuit that detects the first control signal from the encoded signal sequence.
a 12th circuit that detects a control signal of the encoded line; a 13th circuit that decodes a signal obtained by encoding the encoded line without referring to reference line information; and a 14th circuit that detects the presence or absence of a code error. A facsimile signal decoding device characterized by comprising: 3. In a device that sequentially samples a signal obtained by scanning an original image into pixels and decodes a signal obtained by encoding the position of an information changing pixel contained in the sampled binary facsimile signal, the line information to be decoded from now on is decoded. a first circuit for storing reference line information, a second circuit for storing reference line information that has just finished decoding, and a third circuit for controlling the address of the first circuit.
a fourth circuit that controls the address of the second circuit; a fifth circuit that sets a starting pixel that is the starting point of decoding on the line to be decoded; 2
, or a sixth circuit that identifies the presence or absence of the third three types of mode codes, and a first information change pixel located after the pixel directly above the starting pixel on the reference line and having a signal value different from that of the starting pixel. A seventh circuit that detects the first reference pixel, an eighth circuit that detects a second reference pixel that is an information change pixel next to the first reference pixel on the reference line, and a second mode code are identified. a ninth circuit that decodes a code indicating the relative distance between the first reference pixel and the information change pixel next to the starting pixel on the decoding line when the third mode code is identified; The first step is to decode a code indicating the distance from the starting pixel to the information change pixel located next to the starting pixel on the decoding line.
0 circuit, and when the third mode code is identified, the first information change pixel located next to the starting pixel and the first information change pixel located next to the starting pixel on the decoding line 11. A facsimile signal decoding device comprising: a fifteenth circuit for decoding a code indicating a distance from the second information change pixel. 4. In a device that sequentially samples signals obtained by scanning an original picture into pixels and decodes a signal obtained by encoding the position of information changing pixels included in the sampled binary facsimile signal, the line information to be decoded from now on is decoded. a first circuit for storing reference line information, a second circuit for storing reference line information that has just finished decoding, and a third circuit for controlling the address of the first circuit.
a fourth circuit that controls the address of the second circuit; a fifth circuit that sets a starting pixel that is the starting point of decoding on the line to be decoded; 2
, or a sixth circuit that identifies the presence or absence of the third three types of mode codes, and a first information change pixel located after the pixel directly above the starting pixel on the reference line and having a signal value different from that of the starting pixel. A seventh circuit that detects the first reference pixel, an eighth circuit that detects a second reference pixel that is an information change pixel next to the first reference pixel on the reference line, and a second mode code are identified. a ninth circuit that decodes a code indicating the relative distance between the first reference pixel and the information change pixel next to the starting pixel on the decoding line when the third mode code is identified; The first step decodes a code indicating the distance from the starting pixel to the information change pixel located next to the starting pixel on the decoding line.
0 circuit, and when the third mode code is identified, the starting pixel and the first information change pixel on the decoding line located next to the first information change pixel located next to the starting pixel on the decoding line. a fifteenth circuit that decodes a code indicating the distance to the second information change pixel, an eleventh circuit that detects the first control signal from the encoded signal sequence, and a a 12th circuit that detects the control signal of No. 2; a 13th circuit that decodes a signal obtained by encoding a coded line without referring to reference line information; and a 14th circuit that detects the presence or absence of a code error. A facsimile signal decoding device characterized by comprising:
JP15471678A 1978-07-31 1978-12-13 Facsimile signal decoding device Expired JPS5927544B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP15471678A JPS5927544B2 (en) 1978-12-13 1978-12-13 Facsimile signal decoding device
CA331,897A CA1128645A (en) 1978-07-31 1979-07-16 Transmission method and system for facsimile signal
NL7905654A NL192420C (en) 1978-07-31 1979-07-20 Method and device for transmission of facsimile signals.
FR7919267A FR2432807B1 (en) 1978-07-31 1979-07-26 METHOD AND SYSTEM FOR TRANSMITTING IMAGE SIGNALS
US06/062,036 US4245257A (en) 1978-07-31 1979-07-30 Transmission method and system for facsimile signal
DE2930903A DE2930903C2 (en) 1978-07-31 1979-07-30 Method and apparatus for transmitting facsimile signals
GB7926581A GB2030425B (en) 1978-07-31 1979-07-31 Transmission method and system for facsimile signal
CA000400498A CA1144274A (en) 1978-07-31 1982-04-05 Transmission method and system for facsimile signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15471678A JPS5927544B2 (en) 1978-12-13 1978-12-13 Facsimile signal decoding device

Publications (2)

Publication Number Publication Date
JPS5579564A JPS5579564A (en) 1980-06-16
JPS5927544B2 true JPS5927544B2 (en) 1984-07-06

Family

ID=15590395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15471678A Expired JPS5927544B2 (en) 1978-07-31 1978-12-13 Facsimile signal decoding device

Country Status (1)

Country Link
JP (1) JPS5927544B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60178837U (en) * 1984-05-10 1985-11-27 垣内 三郎 All-room illumination light for photographic darkrooms

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60178837U (en) * 1984-05-10 1985-11-27 垣内 三郎 All-room illumination light for photographic darkrooms

Also Published As

Publication number Publication date
JPS5579564A (en) 1980-06-16

Similar Documents

Publication Publication Date Title
US4245257A (en) Transmission method and system for facsimile signal
US4677649A (en) Data receiving apparatus
US5223949A (en) Coding means for a signal processing system
EP0665653B1 (en) Apparatus and method for decoding variable-length code
US4258392A (en) Coding method for facsimile signal
JPS5826713B2 (en) Sequential boundary differential coding transmission method for binary signals
JPH06326985A (en) Encoding device of frame sequence of picture and corresponding decoding device
US5381422A (en) Device for correcting code error
JPS5927544B2 (en) Facsimile signal decoding device
JPS5923514B2 (en) Two-dimensional sequential encoding method
JPH0329477A (en) Interframe interpolation coding method and device for image signals
JPH0898181A (en) Image conversion method and apparatus
JPS5927505B2 (en) Two-dimensional sequential encoding method
JPH07121999A (en) Signal coding apparatus, signal decoding apparatus, signal coding method and signal decoding method
JP2923046B2 (en) Image signal decoding device and image signal encoding / decoding device
JPS6339187B2 (en)
JPS6212280A (en) Combination system for image data
JPS5941632B2 (en) 2-dimensional sequential encoding method
US7529413B2 (en) Method for reducing data amount in an image memory system
JPS60170387A (en) Interframe coding device
JPH02207666A (en) Facsimile equipment
JPH0311714B2 (en)
JPH0492515A (en) Modified huffman decoding system
JPH10136369A (en) Digital video decoding device
JPH05308530A (en) Facsimile equipment