JPS6329473B2 - - Google Patents

Info

Publication number
JPS6329473B2
JPS6329473B2 JP2999180A JP2999180A JPS6329473B2 JP S6329473 B2 JPS6329473 B2 JP S6329473B2 JP 2999180 A JP2999180 A JP 2999180A JP 2999180 A JP2999180 A JP 2999180A JP S6329473 B2 JPS6329473 B2 JP S6329473B2
Authority
JP
Japan
Prior art keywords
signal
prediction
prediction error
error signal
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP2999180A
Other languages
Japanese (ja)
Other versions
JPS56126380A (en
Inventor
Tooru Usubuchi
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2999180A priority Critical patent/JPS56126380A/en
Publication of JPS56126380A publication Critical patent/JPS56126380A/en
Publication of JPS6329473B2 publication Critical patent/JPS6329473B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • H04N1/417Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information using predictive or differential encoding

Description

【発明の詳細な説明】 本発明は、フアクシミリ信号等の画像信号をす
でに走査ずみの画像信号より予測し、予測結果と
して得られた予測誤差信号を周囲の画像信号の状
態に応じて2つのグループに分割し、それぞれ別
の符号割り当てで符号化された符号を復号する復
号化装置に関するものである。
Detailed Description of the Invention The present invention predicts an image signal such as a facsimile signal from an already scanned image signal, and divides the prediction error signal obtained as a prediction result into two groups according to the state of surrounding image signals. The present invention relates to a decoding device that decodes codes that are divided into two parts and coded with different code assignments.

従来この種の符号化方式としては、雑誌
BSTJ1978年10月号(Vol57、No.8)の論文
“Some Extensions of Ordering Techniques
for Compression of Two−Level Facsimile
Pictures”のP3066に書かれているように、1ラ
インの符号を一旦バツフアメモリに蓄え、符号を
復号しながら予測誤差信号の並び変えを行なつて
いる復号化装置がある。しかるに、この復号化装
置では2つのグループに分けられる分割点を示す
符号を受信側に送らないため、分割点の検出が容
易でなく装置として複雑・高価となる欠点があつ
た。
Conventionally, this type of encoding method uses magazine
The paper “Some Extensions of Ordering Techniques” in the October 1978 issue of BSTJ (Vol57, No.8)
for Compression of Two−Level Facsimile
As written on page 3066 of ``Pictures'', there is a decoding device that temporarily stores one line of code in a buffer memory and rearranges the prediction error signal while decoding the code.However, this decoding device However, since the code indicating the dividing point for dividing into two groups is not sent to the receiving side, it is not easy to detect the dividing point and the device is complicated and expensive.

本発明の目的は上記欠点を除去することであ
り、符号化装置においてどの予測誤差信号が選択
されたかを示す選択信号を2つのグループの分割
点を表わす符号として共通に使用し、同期信号の
一部に付加して送ることによつて、伝送符号量は
増加せず、復号化装置では、復号器に入つて来た
符号を復号する際の符号割り当てを切り変える分
割点は、同期信号を復号することで容易に検出で
きる。そのため復号化装置は、従来の復号化装置
と異なり予測器、配列変換器、復号器の3つの部
分に分離でき、しかも予測器、配列変換器とほぼ
同じ回路構成で行なえるので、回路検査も簡単で
しかも安価な装置が提供できる。
An object of the present invention is to eliminate the above-mentioned drawbacks, and by commonly using a selection signal indicating which prediction error signal has been selected in the encoding device as a code representing the division point of the two groups, one of the synchronization signals By adding the code to the decoder and sending it, the amount of transmitted code does not increase, and in the decoding device, the division point at which the code allocation is switched when decoding the code that has entered the decoder is the point at which the synchronization signal is decoded. It can be easily detected by doing so. Therefore, unlike conventional decoding devices, the decoding device can be separated into three parts: a predictor, an array converter, and a decoder. Moreover, it can be performed with almost the same circuit configuration as the predictor and array converter, so circuit inspection is also possible. A simple and inexpensive device can be provided.

本発明によれば原画像より複数の予測誤差信号
および予測誤差信号を作り出し、その中から1組
の予測誤差信号および予測状態信号を選択する選
択信号を発生し、選択された予測誤差信号を予測
状態信号と選択信号に従つて2つのグループに分
け、分けられた予測誤差信号を別々の符号割り当
てで符号化し、同時に選択信号を符号化する符号
化装置で作られた符号を復号する復号化装置にお
いて、受信信号を復号することより選択信号を得
る手段と、前記選択信号に従つて予測誤差信号を
2種類の符号割り当てで復号する手段と、前記復
号された予測誤差信号を予測状態信号に従つて配
列変換する手段と、前記配列変換された予測誤差
信号より原画像と前記予測状態信号を作り出す手
段とから構成されることを特徴とする画像信号復
号化装置が提供される。
According to the present invention, a plurality of prediction error signals and prediction error signals are generated from an original image, a selection signal for selecting one set of prediction error signals and a prediction state signal from among them is generated, and the selected prediction error signal is predicted. A decoding device that divides into two groups according to a state signal and a selection signal, encodes the divided prediction error signals with separate code assignments, and decodes the code created by the encoding device that simultaneously encodes the selection signal. means for obtaining a selection signal by decoding a received signal; means for decoding a prediction error signal with two types of code assignment according to the selection signal; and means for decoding the prediction error signal according to the prediction state signal according to the decoded prediction error signal. An image signal decoding apparatus is provided, characterized in that it is comprised of means for array-converting the predicted state signal, and means for generating an original image and the prediction state signal from the array-converted prediction error signal.

次に図面を用いて本発明を詳細に説明する。第
2A図は、本発明の復号化装置で復号される符号
を作り出す符号化装置の一実施例を示すものであ
る。図において端子1には標本化され、2値化さ
れた画像信号が印加される。端子1に印加された
画像信号の標本値をXとすると、この標本値Xは
予測器2および2′においてそれぞれ予測誤差信
号Y1,Y2および予測状態信号S1,S2に変換され
る。比較回路3では予測誤差信号Y1,Y2中の予
測はずれの個数が数えられ、予測はずれの少ない
予測誤差信号Yと対応する予測状態信号Sが選択
される。配列変換器4では、予測誤差信号Yを予
測状態信号Sに従つて2つのグループに分離し、
更に配列変換することによつて予測誤差信号
Y′を符号器5でデータ圧縮符号化され、出力端
子5に圧縮符号Cが出力される。
Next, the present invention will be explained in detail using the drawings. FIG. 2A shows an embodiment of an encoding device that produces codes to be decoded by the decoding device of the present invention. In the figure, a sampled and binarized image signal is applied to terminal 1. Assuming that the sample value of the image signal applied to terminal 1 is X, this sample value X is converted into prediction error signals Y 1 and Y 2 and prediction state signals S 1 and S 2 in predictors 2 and 2', respectively. . The comparison circuit 3 counts the number of prediction errors in the prediction error signals Y 1 and Y 2 and selects the prediction state signal S corresponding to the prediction error signal Y with the least prediction error. The array converter 4 separates the prediction error signal Y into two groups according to the prediction state signal S,
By further converting the array, the prediction error signal is
Y' is data compressed and encoded by an encoder 5, and a compression code C is outputted to an output terminal 5.

第2B図は、第2A図の予測器2の一実施例を
示すブロツク図であり、第1A図に示した参照画
素を用いた文字部に適した予測の場合の構成例で
ある。図において端子1には、標本化され2値化
された画像信号が印加される。端子1に印加され
た標本値をXとするとこの標本値Xはシフトレジ
スタ12b、ラインメモリ11および排他的論理
和ゲート15に供給される。シフトレジスタ12
bにおいて、信号Xは2〜4サンプル時刻遅延さ
れ、出力端子には第1A図における参照画素g,
h,iの標本値G,H,Iが得られる。ラインメ
モリ11は信号を約1ライン(約4096サンプル相
当)遅延させるもので、ラインメモリ11の出力
を更にシフトレジスタ12aで遅延することによ
り、出力端子には画素a,b,c,d,e,fの
標本値A,B,C,D,E,Fが得られる。この
ようにして得られた参照画素の標本値A,B,
C,D,E,F,G,H,Iはリードオンリ メ
モリ13および13′のアドレスとして印加され、
その出力端子に予測値P1および予測状態信号S
を発生する。予測値P1は排他的論理和ゲート1
5の他方の入力端子に印加され、出力端子16に
予測誤差信号Y1が得られる。第2A図の予測器
2′の実施例は第2B図とほぼ等しい回路構成で
行なえ参照画素として第1B図の参照画素を用い
網点写真の予測に適したものである。
FIG. 2B is a block diagram showing an embodiment of the predictor 2 shown in FIG. 2A, and is an example of the configuration for prediction suitable for a character portion using the reference pixels shown in FIG. 1A. In the figure, a sampled and binarized image signal is applied to terminal 1. Letting the sample value applied to terminal 1 be X, this sample value X is supplied to shift register 12b, line memory 11 and exclusive OR gate 15. shift register 12
In b, the signal X is delayed by 2 to 4 samples, and the output terminal has reference pixels g,
Sample values G, H, and I of h and i are obtained. The line memory 11 delays the signal by about one line (equivalent to about 4096 samples), and by further delaying the output of the line memory 11 with the shift register 12a, the output terminals have pixels a, b, c, d, e. , f sample values A, B, C, D, E, and F are obtained. Sample values A, B of the reference pixels obtained in this way,
C, D, E, F, G, H, I are applied as addresses of read-only memories 13 and 13',
At its output terminal there is a predicted value P 1 and a predicted state signal S
occurs. Predicted value P 1 is exclusive OR gate 1
5 and the prediction error signal Y 1 is obtained at the output terminal 16 . The embodiment of the predictor 2' in FIG. 2A has a circuit configuration substantially the same as that in FIG. 2B, and uses the reference pixels in FIG. 1B as reference pixels, and is suitable for predicting halftone photographs.

ここで使用する予測信号および予測状態信号は
次のようにして決められる。予測信号は第1A図
および第1B図に示された参照画素の場合には2
値の参照画素a,b,c,d,e,f,g,h,
iのすべての組み合せ、即ち29通りの参照画素の
組み合せに対して、あらかじめ白または黒の発生
確率を求め発生確率の高い方を予測誤差信号とし
て選択する。予測状態信号は予測状態信号を2状
態に分離するために用いられる信号で予測信号と
同様に29通りの参照画素のすべての組み合せに対
して、あらかじめ予測誤差信号の予測はずれの確
率が5%以上のときを状態S0とし、5%以下のと
きには状態S1とする。
The prediction signal and prediction state signal used here are determined as follows. The predicted signal is 2 for the reference pixels shown in Figures 1A and 1B.
Value reference pixels a, b, c, d, e, f, g, h,
The probability of occurrence of white or black is determined in advance for all combinations of i, that is, 29 combinations of reference pixels, and the one with the higher probability of occurrence is selected as the prediction error signal. The prediction state signal is a signal used to separate the prediction state signal into two states.Similar to the prediction signal, the prediction error signal has a 5% probability of misprediction for all combinations of 29 reference pixels. When it is above, it is set as state S 0 , and when it is below 5%, it is set as state S 1 .

第2C図は、第2A図の比較回路の一実施例を
示すブロツク図である。端子16および16′に
印加された予測誤差信号Y1およびY2は、カウン
タ21aおよび21bで1ブロツク単位(一走査
線4096画素を4等分し、1ブロツク1024画素とす
る)でその予測はずれの個数が数えられ、同時に
1ブロツクメモリ23に入力される。同様に端子
17および17′に印加された予測状態信号S1
よびS2は1ブロツクメモリ23に入力される。1
ブロツクメモリ23に入力された予測誤差信号
Y1,Y2および予測状態信号S1,S2はそれぞれ1
ブロツク遅延されマルチプレクサ24に出力され
る。カウンタ21aおよび21bの出力は、1ブ
ロツク単位で比較器22で比べられ値の小さい方
を選択する選択信号Mをマルチプレクサ24に出
力する。マルチプレクサ24では、選択信号Mに
従つて予測誤差信号Yおよびそれに対応する予測
状態信号Sが選択され端子25および26より出
力される。同時にこの選択信号Mは端子27より
符号器に出力される。
FIG. 2C is a block diagram showing one embodiment of the comparison circuit of FIG. 2A. The prediction error signals Y 1 and Y 2 applied to terminals 16 and 16' are predicted by counters 21a and 21b in units of one block (one scanning line of 4096 pixels is divided into four equal parts, and one block has 1024 pixels). The number of blocks is counted and simultaneously input into one block memory 23. Similarly, predicted state signals S 1 and S 2 applied to terminals 17 and 17' are input to one block memory 23. 1
Prediction error signal input to block memory 23
Y 1 , Y 2 and predicted state signals S 1 , S 2 are each 1
It is block delayed and output to multiplexer 24. The outputs of the counters 21a and 21b are compared in blocks by a comparator 22, and a selection signal M for selecting the smaller value is outputted to the multiplexer 24. The multiplexer 24 selects the prediction error signal Y and the corresponding prediction state signal S according to the selection signal M, and outputs them from terminals 25 and 26. At the same time, this selection signal M is output from terminal 27 to the encoder.

第2D図は、第2A図の配列変換器4の一実施
例を示すブロツク図である。まず端子25より印
加された予測誤差信号Yが予測状態信号Sに従つ
て1ラインメモリ33aに書き込まれ、1ライン
メモリ33bより予測状態信号Sに従つて配列変
換された予測誤差信号Y′が符号器4に読み込ま
れる場合の動作について説明する。これ等の動作
は、走査線1ライン即ち4ブロツク単位で行なわ
れる。まず、マルチプレクサ34aは、制御信号
48によつて書き込み用のカウンタ35aおよび
35bの方を選択しており、マルチプレクサ34
bは制御信号47によつて読み出し用のカウンタ
35Cの方を選択しており、マルチプレクサ34
Cは1ラインメモリ33bの方を選択している。
カウンタ35a,35b,35cはブロツクの始
めにタイミング制御回路36でクロツク41、ラ
イン同期42(一走査線4096画素として4096画素
単位で発生する)より作られるロード信号45で
それぞれアドレス0、4095および0がロードされ
る。端子26より入力された予測状態信号Sがハ
イ(高)レベルのとき即ち予測誤差信号が第1の
グループに属するときには、クロツク43によつ
てカウンタ35aがカウントアツプされ、マルチ
プレクサ34aは制御信号50によつてカウンタ
35aの方を選択し、予測誤差信号Yを1ライン
メモリ33aのアドレス0番地から高い方に向つ
て順に書き込む。予測状態信号がロー(低)レベ
ルのとき即ち予測誤差信号が第2のグループに属
するときには、クロツク44によつてカウンタ3
5bはカウントダウンされ、マルチプレクサ34
aはカウンタ35bの方を選択し、予測誤差信号
Yを1ラインメモリ33aのアドレス4095番地か
ら低い方に向つて順に書き込む。これらの動作に
よつて予測誤差信号Yは、予測状態信号Sのレベ
ルによつて2つのグループに分割され1ラインメ
モリ33aに書き込まれる。このときマルチプレ
クサ34bは、読み出し用カウンタ35Cの方を
選択しており、1ラインメモリ33bの内容即ち
配列変換された予測誤差信号Y′は、符号器5の
読み出しクロツク46に従い0番地から4095番地
まで順次読み出されマルチプレクサ34Cを経由
して符号器5に送られる。この読み出し動作は、
連続して行なわれており、1ラインメモリ33a
および33bは交互に読み出し書き込み動作を行
なうことにより符号器5に配列変換された予測誤
差信号Y′を連続して送り出す。
FIG. 2D is a block diagram illustrating one embodiment of the array converter 4 of FIG. 2A. First, the prediction error signal Y applied from the terminal 25 is written into the 1-line memory 33a according to the prediction state signal S, and the prediction error signal Y' whose arrangement has been converted according to the prediction state signal S from the 1-line memory 33b is coded. The operation when the data is read into the device 4 will be explained. These operations are performed in units of one scanning line, that is, four blocks. First, multiplexer 34a selects writing counters 35a and 35b by control signal 48, and multiplexer 34a selects writing counters 35a and 35b.
b selects the reading counter 35C by the control signal 47, and the multiplexer 34
C selects the 1-line memory 33b.
Counters 35a, 35b, and 35c are clocked at addresses 0, 4095, and 0, respectively, by a load signal 45 generated by a timing control circuit 36 at the beginning of a block from a clock 41 and a line synchronization 42 (generated in units of 4096 pixels as one scanning line of 4096 pixels). is loaded. When the prediction state signal S input from the terminal 26 is at a high level, that is, when the prediction error signal belongs to the first group, the counter 35a is counted up by the clock 43, and the multiplexer 34a outputs the control signal 50. Therefore, the counter 35a is selected and the prediction error signal Y is sequentially written in the one-line memory 33a from address 0 toward the higher end. When the prediction state signal is at a low level, that is, when the prediction error signal belongs to the second group, the clock 44 controls the counter 3.
5b is counted down and multiplexer 34
a selects the counter 35b and writes the prediction error signal Y in the one-line memory 33a in order from address 4095 toward the lower one. Through these operations, the prediction error signal Y is divided into two groups depending on the level of the prediction state signal S and written into the one-line memory 33a. At this time, the multiplexer 34b selects the readout counter 35C, and the contents of the 1-line memory 33b, that is, the predicted error signal Y' whose arrangement has been converted, is sent from address 0 to address 4095 according to the readout clock 46 of the encoder 5. The signals are sequentially read out and sent to the encoder 5 via the multiplexer 34C. This read operation is
It is performed continuously, and one line memory 33a
and 33b continuously send out the sequence-converted prediction error signal Y' to the encoder 5 by alternately performing read and write operations.

次に第2A図の符号器5の一例として用いられ
るランレングス符号器の動作について説明する。
ランレングス符号器5は、走査線1ライン(4ブ
ロツク)単位で符号化を行なうものであり、次の
手順で行なわれる。まず、第1にブロツク単位で
の選択信号を4ブロツク分まとめて各ブロツク単
位でどの予測誤差信号が選択されたかを示す組み
合せ符号として同期の部分に付加する。次に配列
変換器4より送られてきた予測誤差信号Y′の0
〜k番目までは第1のランレングス符号を用いて
符号化し、k+1〜4095番目までは第2のランレ
ングス符号を用いて符号化する。上記kの値は組
み合せ信号の値、即ちどの予測誤差信号が選択さ
れたかによつて自動的に定まるものである。つま
り予測誤差信号Y′中の予測はずれの個数は文字
部と写真部では非常に異なるので、ブロツク単位
でどちらの予測器が選ばれたかによつてグループ
1とグループ2の境界は大きく異なる。そこでブ
ロツク単位であらかじめ文字部と写真部のそれぞ
れの境界k1,k2を求めておく。符号器5に入力さ
れてきた選択信号4ビツトのうち文字部予測誤差
信号が選択された個数mと写真部の選択された個
数nはそれぞれ求められ、k=mk1+nk2の計算
より求まるkが一走査線の境界値として使用され
る。上記kの値は種々の紙面の平均で求めた値よ
り、かなりグループ1の方に入り込んだ値を用い
る。つまりグループ1では、グループ2に比べて
ランの長さが一般に長く、境界を多少グループ1
側に持つたいつた方が符号割り当ての合わないラ
ンが少なく、圧縮率が高くなることが実験的に確
かめられている。
Next, the operation of the run-length encoder used as an example of the encoder 5 in FIG. 2A will be described.
The run-length encoder 5 performs encoding in units of one scanning line (four blocks), and the encoding is performed in the following procedure. First, four blocks of selection signals in block units are combined and added to the synchronization part as a combination code indicating which prediction error signal has been selected in each block unit. Next, the 0 of the prediction error signal Y′ sent from the array converter 4
The first run-length code is used for encoding up to the k-th code, and the second run-length code is used for the k+1st to 4095th codes. The value of k is automatically determined depending on the value of the combined signal, that is, which prediction error signal is selected. In other words, since the number of prediction errors in the prediction error signal Y' is very different between the text portion and the photo portion, the boundary between group 1 and group 2 differs greatly depending on which predictor is selected for each block. Therefore, the boundaries k 1 and k 2 of the text area and the photo area are determined in advance for each block. Of the 4-bit selection signal input to the encoder 5, the number m of selected text part prediction error signals and the number n of selected photograph parts are determined respectively, and k is determined by calculating k=mk 1 + nk 2. is used as the boundary value for one scan line. The above value of k is a value that is much closer to Group 1 than the value obtained by averaging various papers. That is, in group 1, the run length is generally longer than in group 2, and the boundaries are slightly
It has been experimentally confirmed that when the casing is placed on the side, there are fewer runs with mismatched code assignments, resulting in a higher compression ratio.

第2E図は、第2A図に示された符号化装置の
動作を説明するための図であり、説明を簡単にす
るため一走査線の画素数を15とした場合を示して
いる。図の予測誤差信号Yにおいて斜線部は、予
測不一致をその他は予測一致を表わし、予測状態
信号Sにおいて斜線部は、第1のグループの予測
状態をその他は第2のグループの予測状態を表わ
す。第2C図の端子10より入力される予測誤差
信号Yは、端子11より入力される予測状態信号
Sによつて2つの状態に分けられる。つまり第2
D図の予測誤差信号Y′に示されているように予
測誤差信号Y′が第1のグループに属するときに
はラインの始めから、第2のグループに属すると
きにはラインの終りから並ぶように配列変換され
る。次に予測誤差信号Y′は前記kの値で2つの
グループに分割され、別々のランレングス符号を
用いて符号化される。ここでk=10とすれば、予
測誤差信号Y′のYo,1からYo,13までは、第1のラン
レングス符号、Yo,15からYo,3までは第2のランレ
ングス符号が割り当てられる。実際の符号器で
は、予測不一致までを1つのランとして符号化す
るので、Yn-1からYn-12までがランレングス9の
ランとしてYo,13からYo,10ままでがランレングス
4のランとしてYo,7およびYo,3がランレングス1
のランとして数えられ、ランレングス9および4
のランには第1のランレングス符号が、ランレン
グス1および1のランには第2のランレングス符
号が割り当てられる。
FIG. 2E is a diagram for explaining the operation of the encoding device shown in FIG. 2A, and shows a case where the number of pixels in one scanning line is 15 for simplicity of explanation. In the prediction error signal Y shown in the figure, the shaded portion represents a prediction mismatch, and the other portion represents a prediction match, and in the prediction state signal S, the shaded portion represents the prediction state of the first group, and the other portion represents the prediction state of the second group. The prediction error signal Y input from the terminal 10 in FIG. 2C is divided into two states by the prediction state signal S input from the terminal 11. In other words, the second
As shown in the prediction error signal Y' in Figure D, when the prediction error signal Y' belongs to the first group, it is arranged from the beginning of the line, and when it belongs to the second group, it is arranged from the end of the line. Ru. The prediction error signal Y' is then divided into two groups by the value of k and encoded using separate run-length codes. Here, if k = 10, the prediction error signal Y' from Y o,1 to Y o,13 is the first run-length code, and from Y o,15 to Y o,3 is the second run-length code. A code is assigned. In an actual encoder, the period up to prediction mismatch is encoded as one run, so Yn -1 to Yn -12 is a run with a run length of 9, and Y o,13 to Y o,10 is a run with a run length of 4. As a run, Y o,7 and Y o,3 have a run length of 1
Run lengths 9 and 4 are counted as runs of
A run of run length 1 and 1 is assigned a second run length code.

第3A図は、本発明の復号化装置の一実施例を
示すブロツク図である。図において端子106よ
り入力された圧縮符号Cは、復号器105で復号
される。この復号器105は、第2A図の符号器
5で符号化された予測誤差信号Y′を復号する復
号器である。次に予測誤差信号Y′は配列変換器
104で予測回路103から出力される予測状態
信号Sに従つて配列変換され、予測誤差信号Yと
して予測回路103に入力される。予測回路10
3では、予測誤差信号Yと予測信号より元の画像
信号の標本値Xを作り出し、同時に予測誤差信号
Sも作り出される。
FIG. 3A is a block diagram showing an embodiment of the decoding device of the present invention. In the figure, a compression code C input from a terminal 106 is decoded by a decoder 105. This decoder 105 is a decoder that decodes the prediction error signal Y' encoded by the encoder 5 of FIG. 2A. Next, the prediction error signal Y' is array-converted by the array converter 104 in accordance with the prediction state signal S output from the prediction circuit 103, and is inputted as the prediction error signal Y to the prediction circuit 103. Prediction circuit 10
3, a sample value X of the original image signal is created from the prediction error signal Y and the prediction signal, and at the same time, a prediction error signal S is also created.

第3B図は、第3A図の配列変換器104の一
実施例を示すブロツク図である。この配列変換器
104は、第2A図の配列変換器4と回路上等し
いので動作の詳細は省略する。機能としては、予
測誤差信号Y′を入力して元の予測誤差信号Yを
作り出す点が異なる。つまり予測器103より予
測状態信号Sを、復号器105より予測誤差信号
Y′を入力することによつて元の予測誤差信号
Y′が作られる。
FIG. 3B is a block diagram illustrating one embodiment of array converter 104 of FIG. 3A. This array converter 104 is circuit-wise identical to the array converter 4 of FIG. 2A, so the details of its operation will be omitted. The difference in function is that the prediction error signal Y' is input to generate the original prediction error signal Y. That is, the prediction state signal S is sent from the predictor 103, and the prediction error signal S is sent from the decoder 105.
The original prediction error signal by inputting Y′
Y′ is created.

第3C図は、第3A図の予測回路103の一実
施例を示すブロツク図である。図において予測器
102aは、第2A図、第2B図の予測器2に対
応した予測器であり、予測器102bは、予測器
2′に対応した予測器である。マルチプレクサ1
20の出力である復号された画像信号の標本値X
は、シフトレジスタ12b、ラインメモリ11お
よび予測器102bに供給される。シフトレジス
タ12bにおいて信号Xは2〜4サンプル時刻遅
延され、出力端子には、標本値G,H,Iが得ら
れる。ラインメモリ11は信号を約1ライン遅延
させるもので、ラインメモリの出力を更にシフト
レジスタ12aで遅延することより、出力端子に
は標本値A,B,C,D,E,Fが得られる。こ
のようにして得られた標本値A,B,C,D,
E,F,G,H,Iはリードオンリ メモリ13
および13′のアドレスとして印加され、その出
力端子に予測値P1および予測状態信号S1を発生
する。予測値P1は排他的論理和ゲート15で予
測誤差信号Yと排他的論理和がとられ標本値X1
が得られる。予測器102bでも同様な動作で標
本値X2と予測状態信号S2が作り出される。マル
チプレクサ120は端子118に印加された選択
信号M(この信号は、復号器105で同期の部分
を復号することによつて得られる)に従つて、1
ブロツク単位で標本値Xおよび予測状態信号Sを
選択し、端子101および117より出力する。
FIG. 3C is a block diagram illustrating one embodiment of prediction circuit 103 of FIG. 3A. In the figure, a predictor 102a is a predictor corresponding to predictor 2 in FIGS. 2A and 2B, and a predictor 102b is a predictor corresponding to predictor 2'. Multiplexer 1
Sample value X of the decoded image signal which is the output of 20
is supplied to the shift register 12b, line memory 11 and predictor 102b. The signal X is delayed by 2 to 4 samples in the shift register 12b, and sample values G, H, and I are obtained at the output terminal. The line memory 11 delays the signal by about one line, and by further delaying the output of the line memory with the shift register 12a, sample values A, B, C, D, E, and F are obtained at the output terminals. Sample values A, B, C, D obtained in this way,
E, F, G, H, I are read only Memory 13
and 13', and generates a predicted value P 1 and a predicted state signal S 1 at its output terminal. The predicted value P 1 is exclusive ORed with the prediction error signal Y by the exclusive OR gate 15, and the sample value X 1 is obtained.
is obtained. The predictor 102b also generates the sample value X 2 and predicted state signal S 2 in a similar manner. The multiplexer 120 selects 1 according to the selection signal M applied to the terminal 118 (which signal is obtained by decoding the synchronous part in the decoder 105).
Sample values X and predicted state signals S are selected in block units and output from terminals 101 and 117.

以上本発明の実施例を説明したが、本実施例は
本発明に対して何ら制限を加えるものではない。
つまり、本実施例において、ブロツクの長さを固
定としたが可変とすることができることは勿論で
あり、並び変えの方法として他の方法を用いるこ
とが可能であることは勿論であり、また並び変え
および符号化の単位として複数のブロツクではな
く1つのブロツクで行なえることは勿論である。
Although the embodiments of the present invention have been described above, these embodiments do not impose any limitations on the present invention.
In other words, although the block length is fixed in this embodiment, it is of course possible to make it variable, and it is also possible to use other methods for rearranging the blocks. Of course, the conversion and encoding can be done with one block instead of multiple blocks.

以上本発明の復号化装置は、符号化装置側で分
割点を表わす選択符号を同期信号に付加して送る
ことによつて、復号化装置側で容易に分割点を検
出するので、従来の復号化装置と異なり予測器、
配列変換器、復号器の3つの部分に分離でき、し
かも予測器、配列変換器は符号化装置の予測器、
配列変換器とほぼ同じ回路構成で行なえるので、
回路検査も簡単でしかも安価な装置が提供でき
る。
As described above, the decoding device of the present invention easily detects the dividing point on the decoding device side by adding a selection code representing the dividing point to the synchronization signal and sending it. Unlike the prediction device, the predictor
It can be separated into three parts: the array transformer and the decoder, and the predictor and array transformer are the predictor of the encoding device,
It can be done with almost the same circuit configuration as the array converter, so
A simple and inexpensive device for circuit inspection can be provided.

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

第1A図は文字部の予測に用いる参照画素の配
置を示す図、第1B図は写真部の予測に用いる参
照画素の配置を示す図、第2A図は本発明の復号
化装置で復号される符号を作り出す符号化装置の
一実施例を示す図、第2B図は第2A図の予測器
の一実施例を示す図、第2C図は第2A図の比較
回路の一実施例を示す図、第2D図は第2A図の
配列変換器の一実施例を示す図、第2E図は符号
器の動作を説明するための図、第3A図は、本発
明の復号化装置の一実施例を示す図、第3B図は
第3A図の配列変換器の一実施例を示す図、第3
C図は第3A図の予測回路の一実施例を示す図で
ある。 図において、2,2′,102a,102bは
予測器、103′は予測回路、3は比較回路、4,
104は配列変換回路、5は符号器、105は復
号器、11はラインメモリ、12a,12bはシ
フトレジスタ、13,13′はリードオンリ メ
モリ、15は排他的論理和ゲート、21a,21
bはカウンタ、22は比較器、23は1ブロツク
メモリ、24はマルチプレクサ、33a,33b
は1ラインメモリ、34a,34b,34cはマ
ルチプレクサ、35a,35b,35cはカウン
タ、36はタイミング制御回路、120はマルチ
プレクサを表わす。
FIG. 1A is a diagram showing the arrangement of reference pixels used for predicting the character part, FIG. 1B is a diagram showing the arrangement of reference pixels used for predicting the photograph part, and FIG. 2A is a diagram showing the arrangement of reference pixels used for predicting the photograph part. FIG. 2B is a diagram showing an embodiment of the predictor shown in FIG. 2A; FIG. 2C is a diagram showing an embodiment of the comparison circuit shown in FIG. 2A; FIG. 2D is a diagram showing an embodiment of the array converter of FIG. 2A, FIG. 2E is a diagram for explaining the operation of the encoder, and FIG. 3A is a diagram showing an embodiment of the decoding device of the present invention. FIG. 3B is a diagram showing an embodiment of the array converter of FIG. 3A.
FIG. C is a diagram showing an embodiment of the prediction circuit of FIG. 3A. In the figure, 2, 2', 102a, 102b are predictors, 103' is a prediction circuit, 3 is a comparison circuit, 4,
104 is an array conversion circuit, 5 is an encoder, 105 is a decoder, 11 is a line memory, 12a, 12b are shift registers, 13, 13' are read-only memories, 15 is an exclusive OR gate, 21a, 21
b is a counter, 22 is a comparator, 23 is 1 block memory, 24 is a multiplexer, 33a, 33b
34a, 34b, 34c are multiplexers, 35a, 35b, 35c are counters, 36 is a timing control circuit, and 120 is a multiplexer.

Claims (1)

【特許請求の範囲】[Claims] 1 原画像より複数の予測誤差信号および予測状
態信号を作り出し、その中から1組の予測誤差信
号および予測状態信号を選択する選択信号を発生
し、選択された予測誤差信号を予測状態信号と選
択信号に従つて2つのグループに分け、分けられ
た予測誤差信号を別々の符号割り当てで符号化
し、同時に選択信号を符号化する符号化装置で作
られた符号を復号する復号化装置において、受信
信号を復号することより選択信号を得る手段と、
前記選択信号に従つて予測誤差信号を2種類の符
号割り当てで復号する手段と、前記復号された予
測誤差信号を予測状態信号に従つて配列変換する
手段と、前記配列変換された予測誤差信号より原
画像と前記予測状態信号を作り出す手段とから構
成されることを特徴とする画像信号復号化装置。
1 Create a plurality of prediction error signals and prediction state signals from the original image, generate a selection signal for selecting one set of prediction error signals and prediction state signals from among them, and select the selected prediction error signal as the prediction state signal. The received signal is divided into two groups according to the signal, and the divided prediction error signals are encoded with different code assignments, and the received signal is decoded by the decoding device that decodes the code created by the encoding device that simultaneously encodes the selected signal. means for obtaining a selection signal by decoding the
means for decoding the prediction error signal with two types of code assignment according to the selection signal; means for array-converting the decoded prediction error signal according to the prediction state signal; An image signal decoding device comprising an original image and means for generating the predicted state signal.
JP2999180A 1980-03-10 1980-03-10 Picture signal decoder Granted JPS56126380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2999180A JPS56126380A (en) 1980-03-10 1980-03-10 Picture signal decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2999180A JPS56126380A (en) 1980-03-10 1980-03-10 Picture signal decoder

Publications (2)

Publication Number Publication Date
JPS56126380A JPS56126380A (en) 1981-10-03
JPS6329473B2 true JPS6329473B2 (en) 1988-06-14

Family

ID=12291409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2999180A Granted JPS56126380A (en) 1980-03-10 1980-03-10 Picture signal decoder

Country Status (1)

Country Link
JP (1) JPS56126380A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291165U (en) * 1988-12-28 1990-07-19

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291165U (en) * 1988-12-28 1990-07-19

Also Published As

Publication number Publication date
JPS56126380A (en) 1981-10-03

Similar Documents

Publication Publication Date Title
US4559563A (en) Adaptive prediction for binary encoded documents containing a mixture of text, line drawings and halftones
US4688100A (en) Video data encoding/decoding apparatus
US4156880A (en) Method for transmitting a facsimile signal by sequential edge differential coding
US4259693A (en) Device for compressing binary signals
EP0103773B1 (en) Method of processing picture signal to increase average run length and apparatus therefor
US4716471A (en) Data decoding apparatus
EP0746143B1 (en) A method of and system for compressing and decompressing digital image signals
US4060834A (en) Processor for increasing the run-length of digital signals
JPS6329473B2 (en)
EP0469716B1 (en) Image processing apparatus
JPS6338152B2 (en)
CA1108748A (en) Processor for increasing the run-length of facsimile data
US5673119A (en) Encoding processing apparatus
JPS5813067B2 (en) Shiyoga Denso Hoshiki
US20020009236A1 (en) Image data conversion device and image data conversion method for converting the order of pixels
JPH04270569A (en) Data compression system for picture processor
JPS5915553B2 (en) Predictive coding device
JPH0121667B2 (en)
SU485489A1 (en) Device for compressing two-dimensional information
JPS628065B2 (en)
KR900008807B1 (en) Picture segment changing circuit
JPS5949750B2 (en) Variable scanning line density control method
JPS5814674A (en) Image coding system
JPS6022875A (en) Compressing system of intermediate tone picture
JPS6364949B2 (en)