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
JPS5826712B2 - Redundancy reduction coding transmission method - Google Patents
[go: Go Back, main page]

JPS5826712B2 - Redundancy reduction coding transmission method - Google Patents

Redundancy reduction coding transmission method

Info

Publication number
JPS5826712B2
JPS5826712B2 JP51076916A JP7691676A JPS5826712B2 JP S5826712 B2 JPS5826712 B2 JP S5826712B2 JP 51076916 A JP51076916 A JP 51076916A JP 7691676 A JP7691676 A JP 7691676A JP S5826712 B2 JPS5826712 B2 JP S5826712B2
Authority
JP
Japan
Prior art keywords
level
scan line
scanning line
encoding
line
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
JP51076916A
Other languages
Japanese (ja)
Other versions
JPS532025A (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.)
NTT Inc
Original Assignee
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP51076916A priority Critical patent/JPS5826712B2/en
Publication of JPS532025A publication Critical patent/JPS532025A/en
Publication of JPS5826712B2 publication Critical patent/JPS5826712B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)

Description

【発明の詳細な説明】 本発明は情報源を走査して得られる2値画像信号を符号
化して伝送する方式であって、すでに符号化して伝送し
た第1の走査線の第1のレベルの部分を基準に、第1の
走査線の直後の第2の走査線の画素情報を符号化して伝
送する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a method for encoding and transmitting a binary image signal obtained by scanning an information source. The present invention relates to a method of encoding and transmitting pixel information of a second scanning line immediately after a first scanning line based on a portion.

ファクシミリ信号等の2つのレベルを有する画素情報は
、走査線方向の画素間に強い相関があると同時に、隣接
する走査線上の画素間にも強い相関がある。
In pixel information having two levels, such as a facsimile signal, there is a strong correlation between pixels in the scanning line direction and a strong correlation between pixels on adjacent scanning lines.

従来この種の走査線間の相関をも利用した方式に以下に
示すようなパターン内予測差分符号化方式がある。
Conventionally, there is an intra-pattern predictive differential encoding method as shown below as a method that also utilizes this type of correlation between scanning lines.

第1図は、該パターン内予測差分符号化方式の原理を説
明する図である。
FIG. 1 is a diagram explaining the principle of the intra-pattern predictive differential encoding method.

以下、符号化すべき走査線の直前の走査線を第1の走査
線#1、符号化すべき走査線を第2の走査線#2とする
Hereinafter, the scanning line immediately before the scanning line to be encoded will be referred to as a first scanning line #1, and the scanning line to be encoded will be referred to as a second scanning line #2.

また、1.2はおのおの第2および第1のレベルの画素
である。
Further, 1.2 are pixels of the second and first levels, respectively.

この方式においては、第1図aに示すように、第2の走
査線上の第1のレベルのランと接する第1のレベルのラ
ンが第1の走査線上にない第1のパターンと、同図すに
示すように、第1の走査線上の第1のレベルのランと接
する第1のレベルのランが第2の走査線上にない第2の
パターンと、同図Cに示すように、第1の走査線上のた
だ1つの第1のレベルのランと第2の走査線上のただ1
つの第1のレベルのランとが互いに1個づつ接シている
第3のパターンと、同図dに示すように、第1の走査線
上のただ1つの第、1のレベルのランと第2の走査線上
の2個以上の第1のレベルのランとが接する第4のパタ
ーンと、同図eに示すように第2の走査線上のただ1つ
の第1のレベルのランと第1の走査線上の2個以上の第
1のレベルのランとが接する第5のパターンとをおのお
の識別し、各パターンを独自に符号化して伝送を行なっ
ていた。
In this method, as shown in FIG. As shown in FIG. Only one first level run on the scan line and only one on the second scan line
As shown in FIG. A fourth pattern in which two or more first-level runs on a scanning line touch each other, and a fourth pattern in which two or more first-level runs on a second scanning line touch each other, and a single first-level run on a second scanning line and a first scanning pattern as shown in FIG. A fifth pattern in which two or more first level runs on the line touch each other is identified, and each pattern is uniquely encoded and transmitted.

しかるに実際の画面では第2図に示すように、上記の5
つのパターンのいずれにも相当しない場合が発生する。
However, on the actual screen, as shown in Figure 2, the above 5
Cases may occur that do not correspond to any of the three patterns.

この場合は従来の方式では、破線3の部分でパターンを
切断し、パターン■とパターン■に分けて符号化を行な
っていた。
In this case, in the conventional method, the pattern is cut along the broken line 3, and the patterns are divided into pattern (2) and pattern (2) and then encoded.

そのために符号化装置が複雑になるという欠点があった
This has the disadvantage that the encoding device becomes complicated.

本発明はこのような欠点をなくするために、上記第5の
パターンを上記第3のパターンとして符号化し、かつす
でに符号化したパターンの第1のレベルを第2のレベル
に反転した後、新たなパターンの識別を行ない、かつ上
記第4のパターンについては該パターン内の第1のレベ
ルの最左端および最右端の第1の走査線から第2の走査
線にかけての相対的なずれを上記第3のパターンとして
符号化し、第2走査線上の分岐の状態のみを第4のパタ
ーンとして符号化するようにしたもので、以下図面につ
いて詳細に説明する。
In order to eliminate such drawbacks, the present invention encodes the fifth pattern as the third pattern, inverts the first level of the already encoded pattern to the second level, and then encodes the new pattern. For the fourth pattern, the relative shift from the first scanning line to the second scanning line at the leftmost and rightmost ends of the first level in the pattern is determined by identifying the fourth pattern. 3, and only the state of the branch on the second scanning line is encoded as a fourth pattern.The drawings will be described in detail below.

第3図は、ファクシミリ画信号の例であり、走査線#1
はすでに符号化された第1の走査線であり、走査線#2
はこれから符号化すべき第2の一定査線である。
FIG. 3 is an example of a facsimile image signal, with scanning line #1
is the first scanline already encoded, and scanline #2
is the second constant scan line to be encoded.

4は走査方向であり、ここでは左から右へ走査するもの
とする。
4 is the scanning direction, and here it is assumed that scanning is from left to right.

しかし、これによって一般性は失なわれない。However, this does not result in loss of generality.

以下具体的な符号化の例を示す。A specific example of encoding will be shown below.

さらに第1のレベルを黒、第2のレベルを白とする。Furthermore, the first level is black and the second level is white.

このことによっても一般性を失なうことはない。There is no loss of generality in this.

5,6はおのおの白および黒の画素を示す。5 and 6 indicate white and black pixels, respectively.

第1の走査線#1の画素情報を順次読みとって、最初の
黒レベルの出現する位置pHを検出する。
The pixel information of the first scanning line #1 is sequentially read to detect the position pH where the first black level appears.

さらにこの第1のレベルが終了する点Q11を検出する
Furthermore, a point Q11 where this first level ends is detected.

その稜点P11の直下の画素P12を調べ、黒レベルで
あれば左方向に第2の走査線の画素のレベルを調べ、黒
レベルの終了する点を検出する。
The pixel P12 directly below the edge point P11 is checked, and if the level is black, the level of the pixel on the second scanning line is checked in the left direction to detect the point where the black level ends.

逆に画素P1□が白レベルであれば、第2走査線#2を
右方向に走査して黒レベルの出現する点を点Q11の直
下まで調べる。
Conversely, if the pixel P1□ is at the white level, the second scanning line #2 is scanned rightward to find the point where the black level appears up to just below the point Q11.

もし、このとき黒レベルが点Q、1の直下まできても出
現しないときは、この部分は第1の走査線上の黒のラン
P11Q11と接する黒のランが第2の走査線上にない
状態(第2パターン)として識別する。
At this time, if the black level does not appear even if it reaches just below point Q,1, then this part is in a state where there is no black run on the second scanning line that is in contact with the black run P11Q11 on the first scanning line ( 2nd pattern).

図の例はこの場合である。The example in the figure is this case.

このあと第2走査線上を走査して、第1画素目から画素
P0.2までの間に黒画素があるか否かを検出する。
Thereafter, the second scanning line is scanned to detect whether there is a black pixel between the first pixel and pixel P0.2.

図では12部分と14部分が黒画素の部分で、このよう
な状態を第2の走査線上の黒のランと接する黒のランが
第1の走査線上にない状態(第1パターン)として識別
する。
In the figure, portions 12 and 14 are black pixel portions, and this state is identified as a state (first pattern) where no black run that is in contact with a black run on the second scan line is on the first scan line. .

第1パターンは、白画素のランと黒画素のランの一組と
して符号化する。
The first pattern is encoded as a set of white pixel runs and black pixel runs.

図では、第2走査線上の画素P12までの間に2個の第
1パターンがある。
In the figure, there are two first patterns up to pixel P12 on the second scanning line.

一つは4、と12の絹みであり、他の一つは13と44
の組である。
One is 4, and 12 silk, and the other is 13 and 44
This is a group of

l、〜14の各長さは、順に3,2,2.1である。The respective lengths of 1 and 14 are 3, 2, and 2.1 in order.

したがってこの部分は次のように符号化するO 次にPxxQttの黒のランが第2走査線上ではどのよ
うになっているかを識別し符号化する。
Therefore, this part is encoded as follows. Next, identify and encode how the black run of PxxQtt looks on the second scan line.

図の場合は、先に調べたようにPIIQIIの部分は第
2パターンとして識別されているから、このパターンに
対しては、次のように符号化する。
In the case of the figure, since the PIIQII part is identified as the second pattern as previously investigated, this pattern is encoded as follows.

P(2) ただし、P(2)は第2パターン識別符号である。P(2) However, P(2) is the second pattern identification code.

このあとQoより1画素左の直下の画素Q12としたの
ち、Qo、より右にある画素の検出に移る。
After this, the pixel Q12 immediately below Qo is detected, which is one pixel to the left of Qo, and then the detection of pixels to the right of Qo is started.

黒画素P21が検出されると、さらに黒画素の終了点Q
21を検出し、さらにP21Q21の黒画素のランと接
するランが第2走査線にあるか否かを検出する。
When the black pixel P21 is detected, the ending point Q of the black pixel is further detected.
21 is detected, and it is further detected whether or not there is a run in contact with the black pixel run of P21Q21 in the second scanning line.

この場合はランP22Q22が存在し第2パターンでな
いことがわかる。
In this case, it can be seen that run P22Q22 exists and is not the second pattern.

画素P22の位置を検出した後、第2走査線上のQ1□
〜P22の間に第1パターンが存在するか否かを検出す
る。
After detecting the position of pixel P22, Q1□ on the second scanning line
It is detected whether or not the first pattern exists between P22 and P22.

この場合は存在しない。In this case it does not exist.

次に、P21Q21の黒のランの部分は、第1の走査線
上の黒のランと接する黒のランが、第2走査線上にある
状態(第3パターン)として符号化する。
Next, the black run portion of P21Q21 is encoded as a state (third pattern) in which the black run adjacent to the black run on the first scanning line is on the second scanning line.

具体的には、第1、第2走査線上のおのおのの黒レベル
の最左端P21 t P2□、および最右端Q21 t
Q22を検出し、第1走査線から第2走査線にかけて
該左右端のずれd1=P22−P21td−Q22
Q21を符号化する。
Specifically, the leftmost end P21 t P2□ and the rightmost end Q21 t of the respective black levels on the first and second scanning lines.
Detect Q22 and calculate the deviation d1 of the left and right ends from the first scanning line to the second scanning line = P22 - P21td - Q22
Encode Q21.

図ではd、=+1゜d2=−2であるから次のように符
号化する。
In the figure, since d=+1°d2=-2, encoding is performed as follows.

次にP2゜〜Q2□間に白のランが存在しないをどうか
を検出する。
Next, it is detected whether a white run exists between P2° and Q2□.

この場合は存在しないので、画素Q21の右側に黒画素
があるかの検出を開始し、黒画素P31を検出すると、
続いて黒画素の終点Q31、さらに黒のランIIIQ:
11と接する黒のランが第2走査線にあるか否かを検出
し、接するランが存在する場合はそのうちの最初の黒の
ランの始点P32と最後のランの終点Q3□を検出する
In this case, there is no black pixel, so we start detecting whether there is a black pixel to the right of pixel Q21, and when black pixel P31 is detected,
Next, black pixel end point Q31, then black run IIIQ:
It is detected whether or not there is a black run in contact with 11 on the second scanning line, and if there is a black run in contact with the second scan line, the start point P32 of the first black run and the end point Q3□ of the last run are detected.

そのあとQ22〜P32間に第1パターンがあるか否か
を調べ、この場合は存在しないのでP、111P32お
よびQa、t Qa2のずれd3 t d4をおのおの
第3のパターンとして符号化する。
Thereafter, it is checked whether there is a first pattern between Q22 and P32, and in this case, since it does not exist, the deviations d3, t, and d4 of P, 111P32, and Qa, tQa2 are each encoded as a third pattern.

図の例ではd3=このあとP32とQ3□の間に白のラ
ンが存在するか否かを検出開始し、白のランが存在する
場合は、第1の走査線上の黒のランと接する黒のランが
第2走査線上に2個以上存在する状態(第4パターン)
として符号化する。
In the example shown in the figure, d3=After this, detection is started to determine whether a white run exists between P32 and Q3□, and if a white run exists, a A state in which there are two or more runs on the second scanning line (fourth pattern)
encoded as .

つまりこの場合は、第1走査線上の黒のランP31Q3
1が第2走査線上で複数個の黒のランに分岐している状
態である。
In other words, in this case, the black run P31Q3 on the first scanning line
1 is branched into a plurality of black runs on the second scanning line.

第4パターンは、黒のランと白のランの組み合せとして
符号化する。
The fourth pattern is encoded as a combination of black runs and white runs.

図ではP32とQa2の間に2個の第4パターンがある
In the figure, there are two fourth patterns between P32 and Qa2.

一つは15と16の組であり、一つは17と18の絹で
ある。
One is a pair of 15 and 16, and one is a pair of 17 and 18 silk.

15〜18はおのおの2.2,1,3であるから次のよ
うに符号化する。
Since 15 to 18 are respectively 2.2, 1, and 3, they are encoded as follows.

P(4)L(2)L(2)P(4)L(1)L<3)た
だしP(4)は第4パターン識別符号である。
P(4)L(2)L(2)P(4)L(1)L<3) However, P(4) is the fourth pattern identification code.

これまでは省略してきたが、すでに符号化したパターン
の黒画素を白画素におきかえると、第4図の残りの部分
は第5図のようになる。
Although this has been omitted so far, if the black pixels in the already encoded pattern are replaced with white pixels, the remaining portion of FIG. 4 becomes as shown in FIG. 5.

このような後処理をした後、Q3Bの右側にある黒画素
の検出に移る。
After such post-processing, the process moves on to detecting the black pixel on the right side of Q3B.

この場合はもはや黒画素は存在しないので第1、第2走
査線上の最後の画素の次に仮想的に画素P41 t ”
4□を考える。
In this case, since there is no longer a black pixel, a pixel P41 t ” is virtually next to the last pixel on the first and second scanning lines.
4 Think about □.

次にQ3゜とP42の間に第1パターンが存在しないか
否かを検出する。
Next, it is detected whether the first pattern does not exist between Q3° and P42.

図の例では’9 t ltoは2゜3であるから次のよ
うに符号化をする。
In the example shown, '9 t lto is 2°3, so it is encoded as follows.

P (’1) L (2) L (3) このように、すでに符号化したパターンの黒画素を白画
素に置換することによって、以後の状態識別と符号化を
行なうことにより、従来方式のようにパターンの切断の
ような複雑な処理は不用となる。
P ('1) L (2) L (3) In this way, by replacing the black pixels of the already encoded pattern with white pixels and performing the subsequent state identification and encoding, it is possible to perform the following state identification and encoding. This eliminates the need for complex processing such as pattern cutting.

第6図は、パターンを識別する符号P(・)の実施例を
示す。
FIG. 6 shows an example of a code P(.) for identifying a pattern.

統計的に発生確率の大きい第3パターン識別符号の符号
をもつとも短くしている。
Even if the third pattern identification code has a statistically high probability of occurrence, it is also shortened.

相対距離dは正、負、零の値をとる。The relative distance d takes positive, negative, or zero values.

そこでD(0)以外の場合はさらに次のように表わす。Therefore, cases other than D(0) are further expressed as follows.

D(0) 、 S(至)に対する符号の実施例を第7図
に示す。
An example of codes for D(0) and S(to) is shown in FIG.

統計的にずれの値は零の付近に集中し、零の場合が最も
多いのでD(0)には最短の符号を割当てている。
Statistically, the deviation value is concentrated around zero, and since it is most often zero, the shortest code is assigned to D(0).

長さlを表わす符号語L(1)、絶対値1dlを表わす
符号語DA(ldl)の実施例をおのおの第8図、第9
図に示す。
Examples of the code word L(1) representing the length l and the code word DA(ldl) representing the absolute value 1 dl are shown in FIGS. 8 and 9, respectively.
As shown in the figure.

第10図は本発明の符号器の部分に関する実施例であっ
て、図中のγは2つのレベルを有するファクシミリ信号
等の入力線、8は第1走査線の画素情報を1走査線分蓄
積するラインメモリ1.9は第2走査線の画素情報を1
走査線分蓄積するラインメモリ2.10はラインメモリ
1,2の書込みや読取りを制御するラインメモリアドレ
ス制御回路である。
FIG. 10 shows an embodiment of the encoder part of the present invention, in which γ is an input line such as a facsimile signal having two levels, and 8 is a storage of pixel information of the first scanning line for one scanning line. The line memory 1.9 stores the pixel information of the second scanning line as 1.
The line memory 2.10 that stores scanning line data is a line memory address control circuit that controls writing and reading of the line memories 1 and 2.

1走査分の符号化が終了すると、ラインメモリ2の内容
をラインメモリ1へ転送する。
When the encoding for one scan is completed, the contents of the line memory 2 are transferred to the line memory 1.

その後ファクシミリ端末からの新しい1走査線分の画素
情報を信号線Tを介してラインメモリ2に蓄積する。
Thereafter, pixel information for one new scanning line from the facsimile terminal is stored in the line memory 2 via the signal line T.

第10図の動作説明の前に、第2.第3、第4パターン
における基準となる画素位置を第11図に示す。
Before explaining the operation in FIG. FIG. 11 shows reference pixel positions in the third and fourth patterns.

第11図aは第3、第4パターンの場合の例を示すもの
で、Plは第1走査線上の黒のランの始点Q1は同終点
、Plは黒のランP1Q1と接するラインメモリ2上の
最初の黒のランの始点、Qlは黒のランPIQ1と接す
るラインメモリ2上の最後の黒のランの終点、Q3は点
Q2を含む黒のランと接するラインメモリ1の最後の黒
のランの終点である。
FIG. 11a shows an example of the third and fourth patterns, where Pl is the starting point Q1 of the black run on the first scanning line and the ending point, and Pl is the starting point Q1 of the black run on the first scanning line, and Pl is the line memory 2 in contact with the black run P1Q1. The starting point of the first black run, Ql is the end point of the last black run on line memory 2 that is in contact with black run PIQ1, and Q3 is the end point of the last black run on line memory 1 that is in contact with the black run that includes point Q2. It is the end point.

なお、QlとQ3は一致する場合もある。Note that Ql and Q3 may match.

第2パターンの場合は、QlとしてQlの直下の一つ前
の画素を定義する。
In the case of the second pattern, the previous pixel immediately below Ql is defined as Ql.

また、QlとQ3は一致する。Furthermore, Ql and Q3 match.

以下第10図の動作の説明を続ける。The explanation of the operation shown in FIG. 10 will be continued below.

ラインメモリアドレス制御回路10は直前に符号化した
パターンのQ3の直後からラインメモリ1上の画素を読
み出し、Pl、Q1検出回路11で新しいパターンのP
lさらにQlを検出する。
The line memory address control circuit 10 reads the pixels on the line memory 1 from immediately after Q3 of the pattern encoded immediately before, and the Pl, Q1 detection circuit 11 reads the pixels of the new pattern P.
l Furthermore, Ql is detected.

その後、さらにラインメモリ、2上の画素を読み出しP
l。
After that, read out the pixels on line memory 2 and P
l.

Qlを検出する。Detect Ql.

Plが検出されない場合は第2パターンが識別されたこ
とになり、第2パターン符号器14でこのことを記憶し
ておく。
If Pl is not detected, a second pattern has been identified and this is stored in the second pattern encoder 14.

Pl。Q2検出回路には、直前のパターンのQlの点Q
2’を記憶しており、ラインメモリアドレスは第2走査
線上のQ2’〜P2を走査し、読み出した画素情報を第
1パターン符号器13に送出する。
Pl. The Q2 detection circuit has the point Q of Ql of the previous pattern.
2' is stored, the line memory address scans Q2' to P2 on the second scanning line, and the read pixel information is sent to the first pattern encoder 13.

第1パターン符号器13は、ランレングス符号器を備え
、黒のランを検出するごとに第1パターンの符号化を行
ない、符号を定められた順に信号線1γに送出する。
The first pattern encoder 13 includes a run-length encoder, encodes the first pattern every time it detects a black run, and sends the codes to the signal line 1γ in a determined order.

第1パターンがないか、あるいは第1パターンの符号化
が終了すると、第2パターンが検出されていたか否かを
第2符号器14で調べ、検出されておれば第2パターン
の符号化を行ない、符号を信号線1γに送出する。
When the first pattern does not exist or when the encoding of the first pattern is completed, the second encoder 14 checks whether the second pattern has been detected, and if detected, encodes the second pattern. , the code is sent to the signal line 1γ.

第2パターンが検出されていなければ、第3パターンの
符号化を第3パターン符号化15で行なう。
If the second pattern is not detected, the third pattern is encoded by third pattern encoding 15.

第3パターン符号器15はPlとPl、QlとQlの差
分を計算し、おのおの符号化して信号線11に送出する
The third pattern encoder 15 calculates the differences between Pl and Pl, and between Ql and Ql, encodes each difference, and sends them to the signal line 11.

次にラインメモリアドレス制御回路10は、ラインメモ
リ2上の12〜02間の画素を読み出して第4パターン
符号器16に送出し、第4パターン符号器16は白のラ
ンが検出されるごとに第4パターンの符号化を行ない、
符号を定められた順に信号線1γに送出する。
Next, the line memory address control circuit 10 reads pixels between 12 and 02 on the line memory 2 and sends them to the fourth pattern encoder 16. Perform encoding of the fourth pattern,
The codes are sent to the signal line 1γ in the determined order.

第4パターンがないか、あるいは第4パターンの符号化
を終了すると、Pl 、Q1検出回路はQlを基準にQ
3の検出を行なう。
If there is no fourth pattern, or if the encoding of the fourth pattern is finished, the Pl, Q1 detection circuit will detect Q with Ql as a reference.
Detection 3 is performed.

Q3の検出が終了すると、ラインメモリアドレス制御回
路10は、ラインメモリ1のQ3以後の画素情報をPl
When the detection of Q3 is completed, the line memory address control circuit 10 sets the pixel information after Q3 in the line memory 1 to Pl.
.

Q1検出回路11に送り新たなPlの検出を行ない、以
下同様な処理をラインメモリ2のすべての符号化が終了
するまで行なう。
The signal is sent to the Q1 detection circuit 11 to detect a new Pl, and the same process is repeated until all encoding in the line memory 2 is completed.

ラインメモリ2の符号化が終了すると、その内容をライ
ンメモリ1へ転送し、新しい1走査線の画素情報をライ
ンメモリ2へ蓄積し、再びラインメモリ2の符号化を繰
り返す。
When the encoding of the line memory 2 is completed, the contents are transferred to the line memory 1, pixel information of one new scanning line is stored in the line memory 2, and the encoding of the line memory 2 is repeated again.

なお、第1パターンの符号化を行なうときに、ラインメ
モリ2のQ2’〜P2間の信号を読み出して処理を行な
う限り、すでに符号化したパターンの黒画素を白画素に
置換する操作は等偏曲に不用になる。
Note that when encoding the first pattern, as long as the signals between Q2' and P2 of the line memory 2 are read and processed, the operation of replacing the black pixels of the already encoded pattern with white pixels is uniformly distributed. It becomes unnecessary for the song.

次に本発明の他の目的である符号誤りによる再生画面の
画質の劣化を限定する方式について述べる。
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.

本発明の符号化方式においては、第2走査線の画信号を
符号化するために、該第2走査線の直前の第1走査線の
画信号情報を用いて該第2走査線の符号化を行なってい
る。
In the encoding method of the present invention, in order to encode the image signal of the second scanning line, image signal information of the first scanning line immediately before the second scanning line is used to encode the second scanning line. is being carried out.

したがって、復号器側においてもすでに復号した第1走
査線の画信号情報を用いて該第2走査線の画信号を復号
化することになる。
Therefore, the decoder side also decodes the image signal of the second scanning line using the image signal information of the first scanning line that has already been decoded.

このように、直前の走査線の画信号情報を逐次利用しな
がら符号、復号を行なっているので、回線雑音等の影響
により符号誤りが発生し、ある走査線の画信号の再生が
正しく行なわれないと、該走査線から以後の走査線の画
信号はすべて正しく再生されず、再生画面の画質は著し
く劣化する。
In this way, since encoding and decoding are performed while sequentially using the image signal information of the immediately preceding scanning line, coding errors may occur due to the influence of line noise, and the image signal of a certain scanning line may not be reproduced correctly. Otherwise, all the image signals of the scanning lines subsequent to this scanning line will not be reproduced correctly, and the image quality of the reproduced screen will deteriorate significantly.

そこで、符号誤りが発生したことを検出し、符号誤りが
発生した走査線の画質の低下をおさえ、かつ符号誤りに
よる画質の劣化がある走査線以上に波及しないよう、符
号誤り状態からのすみやかな復旧が必要になる。
Therefore, in order to detect the occurrence of a code error, to suppress the deterioration of the image quality of the scanning line where the code error has occurred, and to prevent the deterioration of image quality due to the code error from spreading beyond the scanning line, it is necessary to immediately correct the code error state. Restoration will be required.

本発明によれば、これらの目的のために符号器側では符
号系列中の任意の場所から、検出可能ないわゆる自己同
期形の第2制御符号を画信号にあらかじめ定められた区
間、例えばK(K=1 、2 。
According to the present invention, for these purposes, the encoder side inserts a so-called self-synchronized second control code that can be detected from any location in the code sequence into the image signal in a predetermined interval, for example, K( K=1,2.

3、・・・)走査線ごとの最初の/161走査線の符号
化開始直前に周期的に挿入し、かつ該/161走査線に
ついては直前の走査線の画信号情報を使うことなく、該
/I61の走査線の画信号情報を符号化し、該/161
走査線の直後の42 、 /163・・・4に走査線に
ついては、本発明による符号化を行ない、各走査線の符
号化終了ごとに、符号誤り発生検出用の第1制御符号を
挿入する。
3,...) Periodically inserted immediately before the start of encoding of the first /161 scanning line of each scanning line, and for the /161 scanning line, the image signal information of the immediately preceding scanning line is not used. The image signal information of the /I61 scanning line is encoded, and the /161
The scanning lines 42, /163...4 immediately after the scanning line are encoded according to the present invention, and a first control code for detecting the occurrence of a code error is inserted every time the encoding of each scanning line is completed. .

なお、/16.1走査線の符号化終了直後にも第1制御
符号を挿入する。
Note that the first control code is also inserted immediately after the encoding of the /16.1 scanning line is completed.

復号器側においては、自己同期形の第1制御符号が検出
されると、直後の符号系列については、PL符号化しで
あるものとして、直前の走査線の情報を使うことな(A
1走査線として復号を行なう。
On the decoder side, when the self-synchronized first control code is detected, the immediately following code sequence is assumed to be PL encoded and the information of the immediately preceding scanning line is not used (A
Decoding is performed as one scanning line.

その後は本発明による符号化が行なわれているものとし
て、直前の走査線情報を用いながら復号を行なう。
Thereafter, it is assumed that encoding according to the present invention has been performed, and decoding is performed using the immediately preceding scanning line information.

各1走査線復号完了毎に直後の符号を第1制御符号を解
読し、誤り発生の有無を調べる。
Every time the decoding of one scanning line is completed, the first control code is decoded for the immediately following code, and the presence or absence of an error is checked.

誤りが検出された場合は、該復号走査線と以後の走査線
は該復号走査線の直前の走査線の画信号で置き換え、画
質の劣化をおさえる。
If an error is detected, the decoded scan line and subsequent scan lines are replaced with the image signal of the scan line immediately before the decoded scan line to suppress deterioration in image quality.

かつ、自己同期形の第2制御符号が検出されると、ただ
ちにRLの復号を開始し、誤り状態から復旧する。
Moreover, when the self-synchronized second control code is detected, decoding of the RL is immediately started to recover from the error state.

第12図、第13図は本発明の第2の実施例の符号器、
復号器のブロック図である。
FIGS. 12 and 13 show an encoder according to a second embodiment of the present invention,
FIG. 2 is a block diagram of a decoder.

ファクシミリの画信号入力線γはスイッチ100を介し
てスイッチ制御回路101の制御により、K走査線ごと
にRL符号器に接続される。
The facsimile image signal input line γ is connected to the RL encoder every K scanning lines via a switch 100 under the control of a switch control circuit 101.

このとき第2制御符号発生回路104は第2制御符号を
発生し、その後RL符号器102は該走査線(屑1走査
線)をRL符号化し、スイッチ100は本発明による符
号器103に接続され、A2〜AK走査線については本
発明による符号化を行ない、各走査線の符号化終了毎に
第1制御符号挿入回路105により第1制御符号を挿入
する。
At this time, the second control code generation circuit 104 generates a second control code, and then the RL encoder 102 RL encodes the scanning line (waste 1 scanning line), and the switch 100 is connected to the encoder 103 according to the present invention. , A2 to AK scanning lines are encoded according to the present invention, and a first control code is inserted by the first control code insertion circuit 105 every time the encoding of each scanning line is completed.

第13図の復号器側では、第2制御符号検出回路106
で第2制御符号を検出すると以後RL復号器10rによ
り1走査線(慮1走査線)分だけRLの復号を行ない、
再生画素情報を108のラインメモリ3に書き込み、/
V)1走査線の復号が終了するとラインメモリ3の内容
を109のラインメモリ4に転送する。
On the decoder side in FIG. 13, the second control code detection circuit 106
When the second control code is detected, the RL decoder 10r decodes the RL for one scanning line (one scanning line).
Write the reproduced pixel information to the line memory 3 of 108, /
V) When the decoding of one scanning line is completed, the contents of the line memory 3 are transferred to the line memory 4 of 109.

以後はラインメモリ4の内容を用いながら本発明による
復号器110により逐次A62./%3・・・AK走査
線の復号を行なう。
Thereafter, using the contents of the line memory 4, the decoder 110 according to the present invention sequentially processes A62. /%3...Decodes the AK scanning line.

なお、各走査線の復号終了毎に、第1制御符号を第1制
御符号検出回路10γにより検出し、符号誤り検出回路
112により符号誤り発生の有無を検出する。
Note that each time the decoding of each scanning line is completed, the first control code is detected by the first control code detection circuit 10γ, and the code error detection circuit 112 detects whether or not a code error has occurred.

一度符号誤りが発生すると、その走査線以後AK走査線
については復号は行なわず、ラインメモリ4の内容を送
出する。
Once a code error occurs, the contents of the line memory 4 are sent out without decoding the AK scanning lines after that scanning line.

その後第2制御符号が検出されると通常の復号動作に入
り、符号誤り状態から復旧する。
After that, when the second control code is detected, normal decoding operation is started and the code error state is recovered.

以上説明したように、本発明によれば、第1の走査線上
の黒のランが第2の走査線上の2つ以上の黒のランに分
岐している状態を識別し、第1、第2走査線上のおのお
のの黒レベルの最左端および最右端を検出し、第1走査
線から第2走査線にかけて該左右端の相対的なずれを第
1の関数として符号化し、さらに第2走査線上における
ランの分岐状態を第2の関数として符号化し、さらにす
でに符号化した部分の黒画素を白画素に置き換えて、新
たに状態の識別を行なうことにより走査線間の相関を有
効に使い、高能率の冗長度抑圧符号化が可能であるとと
もに、簡単な回路により符号化を行なうことができると
いう利点がある。
As described above, according to the present invention, a state in which a black run on a first scanning line branches into two or more black runs on a second scanning line is identified, and The leftmost and rightmost edges of each black level on the scanning line are detected, the relative shift between the left and right edges from the first scanning line to the second scanning line is encoded as a first function, and the relative shift on the second scanning line is encoded as a first function. The branch state of the run is encoded as a second function, the black pixels in the already encoded part are replaced with white pixels, and the new state is identified. This makes effective use of the correlation between scanning lines, resulting in high efficiency. This method has the advantage that it is possible to perform redundancy suppression coding and that the coding can be performed using a simple circuit.

また例えばに走査線ごとに自己同期形の第2制御符号を
挿入した後、1走査線だけRL符号化を行ない、かつ以
後の走査線については本発明の符号化を行ない、■走査
線の符号化終了ごとに符号誤り検出用の第1制御符号を
挿入することにより符号誤りによる画質の劣化の波及を
防止し、すみやかに符号誤り状態から復旧できるという
利点がある。
For example, after inserting a self-synchronized second control code for each scanning line, RL encoding is performed for only one scanning line, and the encoding of the present invention is performed for the subsequent scanning lines. By inserting the first control code for code error detection each time the coding is completed, there is an advantage that the spread of image quality deterioration due to code errors can be prevented and recovery from a code error state can be made promptly.

また本明細書で「伝送」とは、情報が同一装置内で転送
することを含むことは言うまでもない。
Furthermore, it goes without saying that "transmission" in this specification includes the transfer of information within the same device.

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

第1図は従来の符号化方式における識別されたパターン
の説明図、第2図は従来の符号化方式におけるパターン
の切断の説明図、第3図は本発明の符号化の原理を説明
するための説明図、第4図は本発明の符号化の例を示す
もので、第3図の信号を符号化した説明図、第5図は本
発明の符号化の原理を説明するための補足図、第6〜9
図は各符号化関数に対する符号割当ての実施例を示す説
明図、第10図は本発明による符号器の実施例を示すブ
ロック図、第11図は本発明における各パターンの基準
となる点を定義する図、第12図は本発明の符号器の他
の実施例を示すブロック図、第13図は本発明の復号器
の実施例を示すブロック図、をおのおの示している。 1・・・・・・第2レヘル画素、2・・・・・・第ルベ
ル画素、3・・・・・・切断破線、4・・・・・・走査
方向、5・・・・・・白の画素、6・・・・・・黒の画
素。
FIG. 1 is an explanatory diagram of identified patterns in the conventional encoding method, FIG. 2 is an explanatory diagram of pattern cutting in the conventional encoding method, and FIG. 3 is an explanatory diagram for explaining the principle of encoding of the present invention. FIG. 4 is an explanatory diagram showing an example of encoding according to the present invention, and an explanatory diagram showing the encoded signal of FIG. 3. FIG. 5 is a supplementary diagram for explaining the principle of encoding according to the present invention. , 6th to 9th
The figure is an explanatory diagram showing an example of code assignment for each encoding function, Figure 10 is a block diagram showing an example of the encoder according to the present invention, and Figure 11 defines points that serve as the reference for each pattern in the present invention. 12 is a block diagram showing another embodiment of the encoder of the present invention, and FIG. 13 is a block diagram showing an embodiment of the decoder of the present invention. 1... Second level pixel, 2... Second level pixel, 3... Cutting broken line, 4... Scanning direction, 5... White pixel, 6... Black pixel.

Claims (1)

【特許請求の範囲】 1 画素を走査して第1のレベルと第2のレベルの画素
に分解し、符号化すべき走査線の直前の第1の走査線と
符号化すべき第2の走査線との間で、第1のレベルを有
する画素区域の状態を符号化して伝送する冗長度抑圧符
号化伝送方式において、第1の走査線上の第1のレベル
のランと接する第1のレベルのランが第2の走査線上に
ない状態、第2の走査線上の第1のレベルのランと接す
る第1のレベルのランが第1の走査線上にない状態、お
よび第1の走査線上の単一の第1のレベルのランに対し
て第2の走査線上の第1のレベルのランが接している状
態とを、それぞれ識別する手段および該手段により識別
された各状態を符号化して伝送する手段を設けるととも
に、第1の走査線上の1つの第1のレベルのランが、第
2の走査線上で2つ以上の第1のレベルのランに分岐し
ている状態を識別する手段、前記分岐状態の第1、第2
走査線上の各々の第1のレベルの最左端および最右端を
検出して、第1の走査線から第2の走査線にかけて該左
右端の相対的なずれを第1の関数として符号化する手段
、および第2の走査線上におけるランの分岐の状態を第
2の関数として符号化する手段、ならびに、すでに符号
化して伝送した状態の第1のレベルを第2のレベルに置
換した後、新しい状態の識別と符号化を行なう手段を設
けることを特徴とする冗長度抑圧符号化伝送方式。 2 画面を走査して第1のレベルと第2のレベルの画素
に分解し、符号化すべき走査線の直前の第1の走査線と
符号化すべき第2の走査線との間で、第1のレベルを有
する画素区域の状態を符号化して伝送する冗長度抑圧符
号化伝送方式において、第1の走査線上の第1のレベル
のランと接する第1のレベルのランが第2の走査線上に
ない状態、第2の走査線上の第1のレベルのランと接す
る第1のレベルのランが第1の走査線上にない状態、お
よび第1の走査線上の単一の第1のレベルのランに対し
て第2の走査線上の第1のレベルのランが接している状
態とをそれぞれ識別する手段、および該手段により識別
された各状態を符号化して伝送する手段を設けるととも
に、第1の走査線上の1つの第1のレベルのランが、第
2の走査線上で2つ以上の第1のレベルのランに分岐し
ている状態を識別する手段、前記分岐状態の第1、第2
走査線上の各々の第1のレベルの最左端および最右端を
検出して、第1の走査線から第2の走査線にかけて該左
右端の相対的なずれを第1の関数として符号化する手段
、および第2の走査線上におけるランの分岐の状態を第
2の関数として符号化する手段、ならびに、すでに符号
化して伝送した状態の第1のレベルを第2のレベルに置
換した後、新しい状態の識別と符号化を行なう手段を設
け、さらに画面を走査して得られる2つのレベルを有す
る画信号をあらかじめ定められた区間に分割し、該区間
の符号化の終了直後に同期的に誤り発生検出のための第
1制御符号、およびK(K=1 、2 。 3.・・・)区間ごとに符号化直前に、誤り状態からの
復旧のために自己同期形の第2制御符号を挿入する手段
、およびあらかじめ定められたに区間ごとの最初の区間
に対しては、該区間より以前の区間の画信号情報を使う
ことなく該区間の画信号情報のみを用いて該区間の符号
化を行なう手段を設けることを特徴とする冗長度抑圧符
号化伝送方式。
[Claims] One pixel is scanned and decomposed into pixels of a first level and a second level, and the first scanning line immediately before the scanning line to be encoded and the second scanning line to be encoded are separated. In a redundancy reduction coding transmission method in which the state of a pixel area having a first level is encoded and transmitted between no first level runs on the first scan line that touch a first level run on the second scan line; and no single first level run on the first scan line. A means for identifying a state in which a first level run on a second scanning line is in contact with a first level run, and a means for encoding and transmitting each state identified by the means are provided. and means for identifying a condition in which one first level run on a first scan line branches into two or more first level runs on a second scan line; 1. 2nd
means for detecting the leftmost and rightmost ends of each first level on the scan line and encoding the relative shift of the left and right ends from the first scan line to the second scan line as a first function; , and means for encoding the state of a branch of a run on a second scan line as a second function, and a new state after replacing the first level of the already encoded and transmitted state with a second level. A redundancy suppression coding transmission system characterized by providing means for identifying and coding. 2 The screen is scanned and decomposed into pixels of the first level and the second level, and between the first scanning line immediately before the scanning line to be encoded and the second scanning line to be encoded, the first In a redundancy suppression coding transmission method that encodes and transmits the state of a pixel area having a level of no first level runs on the first scan line that touch the first level runs on the second scan line, and a single first level run on the first scan line. means for identifying the states in which the runs of the first level on the second scanning line are in contact with each other, and means for encoding and transmitting each state identified by the means; means for identifying a condition in which one first level run on a line branches into two or more first level runs on a second scan line;
means for detecting the leftmost and rightmost ends of each first level on the scan line and encoding the relative shift of the left and right ends from the first scan line to the second scan line as a first function; , and means for encoding the state of a branch of a run on a second scan line as a second function, and a new state after replacing the first level of the already encoded and transmitted state with a second level. Furthermore, an image signal having two levels obtained by scanning the screen is divided into predetermined sections, and an error occurs synchronously immediately after the end of encoding of the section. Immediately before encoding the first control code for detection and every K (K=1, 2, 3...) section, insert a self-synchronizing second control code for recovery from an error state. and for the first section of each predetermined section, encoding the section using only the image signal information of the section without using the image signal information of the sections before the section. 1. A redundancy suppression coding transmission system characterized by providing means for performing redundancy suppression coding.
JP51076916A 1976-06-28 1976-06-28 Redundancy reduction coding transmission method Expired JPS5826712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51076916A JPS5826712B2 (en) 1976-06-28 1976-06-28 Redundancy reduction coding transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51076916A JPS5826712B2 (en) 1976-06-28 1976-06-28 Redundancy reduction coding transmission method

Publications (2)

Publication Number Publication Date
JPS532025A JPS532025A (en) 1978-01-10
JPS5826712B2 true JPS5826712B2 (en) 1983-06-04

Family

ID=13619002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51076916A Expired JPS5826712B2 (en) 1976-06-28 1976-06-28 Redundancy reduction coding transmission method

Country Status (1)

Country Link
JP (1) JPS5826712B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3667662A1 (en) 2018-12-12 2020-06-17 Panasonic Intellectual Property Corporation of America Acoustic echo cancellation device, acoustic echo cancellation method and acoustic echo cancellation program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5923514B2 (en) * 1978-07-31 1984-06-02 ケイディディ株式会社 Two-dimensional sequential encoding method
JPS5927505B2 (en) * 1978-11-22 1984-07-06 ケイディディ株式会社 Two-dimensional sequential encoding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5157113A (en) * 1974-11-13 1976-05-19 Matsushita Electric Industrial Co Ltd Taiikiatsushukuhoshiki

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3667662A1 (en) 2018-12-12 2020-06-17 Panasonic Intellectual Property Corporation of America Acoustic echo cancellation device, acoustic echo cancellation method and acoustic echo cancellation program
US10999444B2 (en) 2018-12-12 2021-05-04 Panasonic Intellectual Property Corporation Of America Acoustic echo cancellation device, acoustic echo cancellation method and non-transitory computer readable recording medium recording acoustic echo cancellation program

Also Published As

Publication number Publication date
JPS532025A (en) 1978-01-10

Similar Documents

Publication Publication Date Title
JPS5826713B2 (en) Sequential boundary differential coding transmission method for binary signals
US4245257A (en) Transmission method and system for facsimile signal
US4677649A (en) Data receiving apparatus
JPH0812612B2 (en) Error correction method and apparatus
JPS5816667B2 (en) Interline encoding method for facsimile signals
GB2038592A (en) Coding method for facsimile signal
US5381422A (en) Device for correcting code error
JPS5826712B2 (en) Redundancy reduction coding transmission method
CN100385887C (en) Method and apparatus for encoding, transmitting and decoding digital data
JP2652398B2 (en) Data transmission method
JPS5923514B2 (en) Two-dimensional sequential encoding method
JPS6339187B2 (en)
JPH10215228A (en) Transmission code error correction system and coder and decoder used for the system
JPS6351429B2 (en)
CN117749509B (en) Instruction transmission method and device based on graphic code under network isolation
JPS6316069B2 (en)
JPH0412061B2 (en)
JPS59100646A (en) Error check system
JPS5816666B2 (en) Redundancy reduction coding transmission method
JPH02207666A (en) Facsimile equipment
SU1001147A1 (en) Redundancy information receiving device
JPH0471392B2 (en)
JPS6161558A (en) Method for detecting transmission error in g3 facsimile store and forward switching
JPH08274921A (en) Facsimile ocr data error display system and facsimile ocr device
JPH04345275A (en) Method for decoding for facsimile equipment