JPH0314380B2 - - Google Patents

Info

Publication number
JPH0314380B2
JPH0314380B2 JP59243487A JP24348784A JPH0314380B2 JP H0314380 B2 JPH0314380 B2 JP H0314380B2 JP 59243487 A JP59243487 A JP 59243487A JP 24348784 A JP24348784 A JP 24348784A JP H0314380 B2 JPH0314380 B2 JP H0314380B2
Authority
JP
Japan
Prior art keywords
circuit
block
data
processing
pattern
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 - Lifetime
Application number
JP59243487A
Other languages
Japanese (ja)
Other versions
JPS61123278A (en
Inventor
Yoshuki Okada
Shigeru Yoshida
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59243487A priority Critical patent/JPS61123278A/en
Publication of JPS61123278A publication Critical patent/JPS61123278A/en
Publication of JPH0314380B2 publication Critical patent/JPH0314380B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パターン予測符号化方式により圧縮
されたデイザ画像データを復元するデイザ画像デ
ータ復元回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dither image data restoration circuit that restores dither image data compressed by a pattern predictive coding method.

〔従来の技術〕[Conventional technology]

白黒2値で疑似的に中間詞を表現する方法とし
てデイザ法が知られており、例えば、第3図a,
b,cは4×4のベイヤ型、網点型、渦巻型のそ
れぞれのデイザマトリクスの閾値を示すものであ
る。このようなデイザマトリクスにより多値画像
データを2値化した場合に、白又は黒の短いラン
レングス(同じ色の画素が続く長さ)が多く現れ
るので、MH方式等の標準方式によるデータ圧縮
が期待できないことになる。そこで、デイザ画像
データの圧縮方式として、パターン予測符号化方
式が提案されている。
The dither method is known as a method for pseudo-expressing intermediaries using black and white binary values. For example, Fig. 3a,
b and c indicate the threshold values of the 4×4 Bayer type, halftone type, and spiral type dither matrices, respectively. When multivalued image data is binarized using such a dither matrix, many short white or black run lengths (the length of consecutive pixels of the same color) appear, so data compression using a standard method such as the MH method is recommended. cannot be expected. Therefore, a pattern predictive coding method has been proposed as a compression method for dithered image data.

パターン予測符号化方式は、例えば、2×4画
素毎のブロツクに分けて、各ブロツクの白黒パタ
ーンのうちの出現頻度の高いパターンを基本パタ
ーンとし、この基本パターンを用いて、隣接する
二つのブロツクからの予測順位を符号化するもの
であり、4×4のベイヤ型デイザマトリクスを用
いた場合、第4図に示すように、4×4画素の上
段と下段とに分け、上段と下段とにそれぞれパタ
ーンNo.(パターン番号)を付けると、パターンNo.
0〜8が階調パターンとして現れるパターンであ
り、それにパターンNo.9〜15を付加パターンとし
て、合計で32種類のパターンを基本パターンとす
るものである。この32種類の基本パターンを用い
て全画像領域の98%を表現できるものである。
In the pattern predictive coding method, for example, each block is divided into blocks of 2 x 4 pixels, a pattern with a high frequency of appearance among the black and white patterns in each block is used as a basic pattern, and two adjacent blocks are coded using this basic pattern. When a 4 x 4 Bayer dither matrix is used, the 4 x 4 pixels are divided into an upper row and a lower row, as shown in Figure 4. If you assign a pattern number to each, the pattern number.
Patterns 0 to 8 appear as gradation patterns, and pattern Nos. 9 to 15 are additional patterns, making a total of 32 types of basic patterns. Using these 32 basic patterns, 98% of the entire image area can be expressed.

第5図は、2×4画素のそれぞれ符号化ブロツ
クBL0と参照ブロツクBL1,BL2との説明図であ
り、符号化ブロツクBL0の予測順位は、参照ブロ
ツクBL1,BL2の白黒パターンに対する画像の統
計的性質によつて定まるものであつて、例えば、
参照ブロツクBL1,BL2の白黒パターンと同じパ
ターンNo.の白黒パターンが1番となる。
FIG. 5 is an explanatory diagram of the coding block BL 0 and reference blocks BL 1 and BL 2 of 2×4 pixels, and the prediction order of the coding block BL 0 is the black and white of the reference blocks BL 1 and BL 2 . It is determined by the statistical properties of the image with respect to the pattern, for example,
The black and white pattern with the same pattern number as the black and white patterns of reference blocks BL 1 and BL 2 is number 1.

第6図は予測順位と符号との対応を示すもので
あり、予測順位が1番の場合に最も短い符号長の
“1”を割当て、予測順位が2番の場合は、それ
より長い符号長の“01”を割当て、以下予測順位
が低下するに従つて長い符号を割当てるもであ
る。又基本パターンのみで表現できないパターン
は、非基本パターンとして、*印に生データを挿
入するものである。又ライン同期信号EOLは、
MR方式と同じ符号を用いるものであり、右側に
それぞれの符号の符号長を示している。
Figure 6 shows the correspondence between prediction ranks and codes; when the prediction rank is No. 1, the shortest code length "1" is assigned, and when the prediction rank is No. 2, a longer code length is assigned. "01" is assigned, and as the prediction rank decreases, longer codes are assigned. Also, for patterns that cannot be expressed using only basic patterns, raw data is inserted into the * mark as a non-basic pattern. Also, the line synchronization signal EOL is
It uses the same codes as the MR method, and the code length of each code is shown on the right side.

第7図はデータ圧縮処理のフローチヤートを示
し、符号化ブロツク入力は、例えば、前述の第5
図に於ける2×4画素の符号化ブロツクBL0が入
力される。この符号化ブロツクBL0が第4図に示
す基本パターンに相当するか否かを識別し、基本
パターンに相当する場合は、パターンNo.を付与し
て、その符号化ブロツクBL0のパターンNo.を参照
ブロツクのパターンNo.を用いて予測し、予測順位
を第6図に示すような符号に変換し、符号化ブロ
ツクのパターンNo.を次の参照ブロツクのパターン
No.とする。又基本パターンでない場合は、符号化
ブロツクのパターンの基本パターンで近似してパ
ターンNo.を付与し、その符号化ブロツクの生デー
タを第6図の非基本パターンとして示すように*
印内に挿入した符号とし、又その符号化ブロツク
のパターンNo.を次の参照ブロツクのパターンNo.と
するものである。
FIG. 7 shows a flowchart of data compression processing, and the encoding block input is, for example, the fifth
The encoded block BL0 of 2×4 pixels in the figure is input. It is determined whether or not this encoded block BL 0 corresponds to the basic pattern shown in FIG. 4. If it corresponds to the basic pattern, a pattern number is assigned to the encoded block BL 0 . is predicted using the pattern number of the reference block, the prediction order is converted into a code as shown in Fig. 6, and the pattern number of the encoded block is predicted using the pattern number of the next reference block.
Set it as No. If it is not a basic pattern, approximate it with the basic pattern of the encoded block pattern and give it a pattern number, and then convert the raw data of that encoded block to the non-basic pattern shown in Figure 6.*
The code inserted within the mark is used as the code, and the pattern number of that encoded block is used as the pattern number of the next reference block.

又第8図は圧縮符号の復元のフローチヤートを
示し、受信した圧縮データが入力されて、符号解
読が行われ、基本パターンであるか否かが識別さ
れる。基本パターンの場合は、予測順位符号解読
が行われ、その予測順位から符号化ブロツクのパ
ターンNo.を逆予測し、そのパターンNo.をデイザ画
像に変換し、符号化ブロツクのパターンNo.を次の
参照ブロツクのパターンNo.とするものである。又
基本パターンでない場合は、符号中の生データを
基本パターンで近似してパターンNo.を作成し、且
つその生データをデイザ画像としてそのまま出力
し、又作成したパターンNo.を次の参照ブロツクの
パターンNo.とするものである。
FIG. 8 shows a flowchart for restoring a compressed code, in which received compressed data is input, code decoding is performed, and it is determined whether the data is a basic pattern or not. In the case of a basic pattern, prediction order code decoding is performed, the pattern number of the coding block is inversely predicted from the prediction order, the pattern number is converted to a dither image, and the pattern number of the coding block is next predicted. This is the pattern number of the reference block. If it is not a basic pattern, create a pattern number by approximating the raw data in the code with the basic pattern, output the raw data as it is as a dither image, and use the created pattern number as the next reference block. This is the pattern number.

第9図は従来のデイザ画像データの復元回路の
ブロツク図を示し、1は予測順位符号解読回路、
2はパターンNo.再生回路、3はデイザ画像再生回
路、4は出力バツフアメモリ回路で、出力バツフ
ア部4a,4b(BF1,BF2)からなるもので
ある。又5〜8はそれぞれ前述の回路1〜4を制
御する制御回路、9〜11はそれぞれの制御回路
5〜8からラツチタイミングが制御されるレジス
タ、14はブロツク単位のデータ転送制御回路で
ある。
FIG. 9 shows a block diagram of a conventional dither image data restoration circuit, in which 1 is a prediction rank code decoding circuit;
2 is a pattern No. reproduction circuit, 3 is a dither image reproduction circuit, and 4 is an output buffer memory circuit, which is composed of output buffer sections 4a and 4b (BF1, BF2). Further, numerals 5 to 8 are control circuits for controlling the aforementioned circuits 1 to 4, respectively, numerals 9 to 11 are registers whose latch timings are controlled by the respective control circuits 5 to 8, and numeral 14 is a data transfer control circuit for each block.

受信した圧縮データは予測順位符号解読回路1
に加えられ、圧縮データの符号解読が行われ、基
本パターンであるか否かの識別、予測順位の識別
が行われる。又圧縮データ中に該当する符号がな
いエラーや所定位置に同期信号がないエラー等の
エラーを検出した時は、次の一次元ライン同期信
号を見つけるまで、この予測順位符号解読回路1
のみが動作を継続するものである。
The received compressed data is sent to the prediction rank decoding circuit 1.
The compressed data is decoded, and it is determined whether the pattern is a basic pattern or not, and the prediction order is determined. In addition, when an error such as an error in which the corresponding code is not found in the compressed data or an error in which a synchronization signal is not present at a predetermined position is detected, this predicted order code decoding circuit 1 is used until the next one-dimensional line synchronization signal is found.
only those that continue to operate.

予測順位符号解読回路1の出力データはレジス
タ9にラツチされ、次のパターンNo.再生回路2に
加えられる。パターンNo.再生回路2は、予測順位
と参照ブロツクのパターンNo.から逆予測して、符
号化ブロツクのパターンNo.を再生する。このパタ
ーンNo.はレジスタ10を介してデイザ画像再生回
路3に加えられ、パターンNo.に対応したデイザ画
像データを再生する。このデイザ画像データはレ
ジスタ11を介して出力バツフアメモリ回路4に
加えられる。
The output data of the predicted rank code decoding circuit 1 is latched in the register 9 and applied to the next pattern number reproducing circuit 2. The pattern number reproduction circuit 2 performs inverse prediction based on the prediction order and the pattern number of the reference block, and reproduces the pattern number of the encoded block. This pattern number is applied to the dither image reproduction circuit 3 via the register 10, and dither image data corresponding to the pattern number is reproduced. This dithered image data is applied to the output buffer memory circuit 4 via the register 11.

出力バツフアメモリ回路4に於いては、出力バ
ツフア部4a,4bがそれぞれ1ブロツクライン
の容量を有し、一方にデイザ画像データを書込ん
でいる時に、他方から読出しを行うように制御回
路8によつて制御され、又エラー検出の場合に、
直前のブロツクラインのデータをエラー発生ブロ
ツクラインデータの代わりに出力するように制御
されるものである。
In the output buffer memory circuit 4, the output buffer sections 4a and 4b each have a capacity of one block line, and the control circuit 8 controls the output buffer sections 4a and 4b so that when dither image data is being written to one, it is read from the other. and in case of error detection,
Control is performed so that the data of the immediately preceding block line is output instead of the error block line data.

前述のように、予測順位符号解読回路1、パタ
ーンNo.再生回路2、デイザ画像再生回路3及び出
力バツフアメモリ回路4は、データ転送制御回路
14からそれぞれ制御回路5〜8が制御されて、
パイプライン処理が行われるものである。又非基
本パターンを識別した時は、その非基本パターン
の生データは、各回路をそのまま転送され、出力
バツフアメモリ回路4から出力されることにな
る。
As described above, the prediction order code decoding circuit 1, the pattern number reproduction circuit 2, the dither image reproduction circuit 3, and the output buffer memory circuit 4 are controlled by the control circuits 5 to 8, respectively, from the data transfer control circuit 14.
Pipeline processing is performed. When a non-basic pattern is identified, the raw data of the non-basic pattern is transferred to each circuit as it is and is output from the output buffer memory circuit 4.

第10図は、正常時の動作タイミング説明図で
あり、解像度を16本/mmとし、864ブロツク/ラ
インで符号化した圧縮データの復元動作を示すも
のである。又a,b,cはそれぞれレジスタ9,
10,11にデータをラツチする為のタイミング
を示し、aに於けるEOLはライン同期信号、1
〜864はブロツクを示す。又(d)は出力バツフアメ
モリ回路4への書込み、eは読出しを示すもので
あり、BF1は出力バツフア部4a,BF2は出力
バツフア部4bに於ける書込み及び読出しを示
す。
FIG. 10 is an explanatory diagram of the operation timing during normal operation, and shows the restoration operation of compressed data encoded at 864 blocks/line with a resolution of 16 lines/mm. Also, a, b, and c are registers 9 and 9, respectively.
10 and 11 show the timing for latching data, EOL at a is the line synchronization signal, 1
~864 indicates a block. Further, (d) indicates writing to the output buffer memory circuit 4, and e indicates reading. BF1 indicates writing and reading in the output buffer section 4a, and BF2 indicates writing and reading in the output buffer section 4b.

前述のように、従来のデイザ画像データ復元回
路は、完全なパイプライン処理を行うものである
から、例えば、n+1ブロツクラインのライン同
期信号EOLやブロツク1のデータを予測順位符
号解読回路1が処理している時に、パターンNo.再
生回路2ではnブロツクラインのブロツク864の
データについて処理し、デイザ画像再生回路3で
はnブロツクラインのブロツク863のデータにつ
いて処理していることになる。
As mentioned above, the conventional dither image data restoration circuit performs complete pipeline processing, so, for example, the prediction order code decoding circuit 1 processes the line synchronization signal EOL of the n+1 block line and the data of block 1. At this time, the pattern number reproduction circuit 2 processes the data of block 864 of the n block line, and the dither image reproduction circuit 3 processes the data of block 863 of the n block line.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のデイザ画像データ復元回路では、完全な
パイプライン処理を行つている為に、予測順位符
号解読回路1でn+1ブロツクラインの処理を開
始していても、出力バツフアメモリ回路4にはn
ブロツクラインのデータの書込みが終了していな
いことになる。従つて、エラー発生時に於ける操
作に問題が生じる。第11図及び第12図はエラ
ー発生時の従来例の動作タイミングを示し、各図
に於いて、aはエラークリアパルス、b,c,d
はそれぞれレジスタ9,10,11にデータをラ
ツチする為のタイミングを示し、e,fは出力バ
ツフアメモリ回路4への書込み及び読出しを示
し、BF1は出力バツフア部4a,BF2は出力バ
ツフア部4bの動作を示す。
In the conventional dithered image data restoration circuit, since complete pipeline processing is performed, even if the prediction rank code decoding circuit 1 starts processing the n+1 block line, the output buffer memory circuit 4 contains n data.
This means that writing of block line data has not yet been completed. Therefore, a problem arises in operation when an error occurs. 11 and 12 show the operation timing of the conventional example when an error occurs. In each figure, a is the error clear pulse, b, c, d
indicate the timing for latching data in the registers 9, 10, and 11, respectively, e and f indicate writing and reading to the output buffer memory circuit 4, BF1 indicates the operation of the output buffer section 4a, and BF2 indicates the operation of the output buffer section 4b. shows.

エラー発生時のエラー復帰処理として、回路全
体をストツプし、次に予測順位符号解読回路1だ
けを次の一次元ライン同期信号EOL(1)が見つか
るまで動作させ、その間に現れた二次元ライン同
期信号EOL(2)をカウントし、次にそのカウント
数だけエラーしたブロツクラインの直前のブロツ
クラインデータを代わりに出力した後に、正常動
作に戻るものである。
As an error recovery process when an error occurs, the entire circuit is stopped, and then only the prediction order code decoding circuit 1 is operated until the next one-dimensional line synchronization signal EOL (1) is found, and the two-dimensional line synchronization that appears during that time is After counting the signal EOL(2) and then outputting instead the block line data just before the block line in which the error occurred by the counted number, normal operation is resumed.

第11図に於いては、ブロツク864の次にラ
イン同期信号EOLが検出されないエラーが発生
した場合であつて、エラー検出により時刻t1にエ
ラークリアパルスが出力され、それまでに解読し
てきた符号の中に間違いがあつたと言うことによ
つて、データ書込中の出力バツフア部4aを含め
てデータ復元回路全体を直ちにクリアし、次に一
次元ライン同期信号EOL(1)が検出されるまで予
測順位符号解読回路1だけが動作状態となり、且
つ二次元ライン同期信号EOL(2)をカウントし、
一次元ライン同期信号EOL(1)の検出により、カ
ウント数だけ出力バツフア部4b(BF2)から、
エラー発生前に書込まれているブロツクラインデ
ータを繰り返し読出して送出し、その送出終了に
より、ライン同期信号EOL(1)の後のブロツク1
から処理を開始する。従つて、時刻t1から正常
動作に戻る時刻t2までの時間がエラー復帰処理
の時間となる。
In FIG. 11, when an error occurs in which the line synchronization signal EOL is not detected after block 864, an error clear pulse is output at time t1 due to error detection, and the code that has been decoded up to that point is By saying that there was an error in the data, the entire data recovery circuit including the output buffer section 4a that is currently being written is cleared immediately, and prediction is continued until the next one-dimensional line synchronization signal EOL(1) is detected. Only the rank code decoding circuit 1 is in operation, and counts the two-dimensional line synchronization signal EOL(2),
By detecting the one-dimensional line synchronization signal EOL(1), from the output buffer section 4b (BF2) by the number of counts,
The block line data written before the error occurrence is repeatedly read and sent out, and when the sending is finished, block 1 after the line synchronization signal EOL(1) is read out and sent out.
Start processing from. Therefore, the time from time t1 to time t2 when normal operation returns is the time for error recovery processing.

又第12図に於いては、二次元ライン同期信号
EOL(2)の後の時刻t3に該当する符号が見つか
らない等のエラーが発生した場合であつて、この
時点では出力バツフア部4aに書込まれたデータ
は正しく、又ブロツクラインの最終データの書込
みが終了していない状態である。そこで、出力バ
ツフア部4aにブロツクラインの最終データの書
込みが終了した時刻t4に於いてエラークリアパ
ルスを出力して、データ復元回路全体をクリアす
る。そして、前述の場合と同様に、予測順位符号
解読回路1のみ動作を継続し、一次元ライン同期
信号EOL(1)が検出されるまで、二次元ライン同
期信号EOL(2)をカウントする。そして、正しい
データが書込まれた出力バツフア部4a(BF1)
からカウント数だけ繰り返し読出して送出するも
のである。従つて、時刻t3からエラークリアパ
ルスが発生される時刻t4までが待機時間とな
り、この時刻t4から正常動作に戻る時刻t5ま
でがエラー復帰処理の時間となる。
Also, in Figure 12, the two-dimensional line synchronization signal
If an error occurs such as the corresponding code not being found at time t3 after EOL(2), the data written to the output buffer section 4a is correct at this point, and the final data of the block line is Writing has not yet been completed. Therefore, at time t4 when writing of the final data of the block line to the output buffer section 4a is completed, an error clear pulse is outputted to clear the entire data recovery circuit. Then, as in the case described above, only the prediction order code decoding circuit 1 continues to operate, and counts the two-dimensional line synchronization signal EOL(2) until the one-dimensional line synchronization signal EOL(1) is detected. Then, the output buffer section 4a (BF1) has the correct data written.
The data is read out repeatedly by the count number and sent out. Therefore, the waiting time is from time t3 to time t4 when the error clear pulse is generated, and the time from time t4 to time t5 when normal operation is returned is the time for error recovery processing.

前述のように、従来に於いては、完全なパイプ
ライン処理を行つていることにより、エラー発生
時の状態によつて二通りの制御を行わなければな
らない欠点があつた。
As mentioned above, in the past, complete pipeline processing has been performed, which has the disadvantage that two types of control must be performed depending on the state at the time of error occurrence.

本発明は、前述の従来の欠点を改善し、エラー
発生時の制御を簡単化することを目的とするもの
である。
The present invention aims to improve the above-mentioned conventional drawbacks and simplify control when an error occurs.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデイザ画像データ復元回路は、予測順
位符号解読回路とパターンNo.再生回路とデイザ画
像再生回路と出力バツフアメモリ回路と、ブロツ
クライン内の処理は前記各回路でパイプライン処
理を行い且つブロツクライン間では前記各回路総
てが同じブロツクラインの処理を終了した後に次
のブロツクライン処理に移行させる制御回路とを
備えているものである。
The dithered image data restoration circuit of the present invention includes a prediction order code decoding circuit, a pattern number reproducing circuit, a dithered image reproducing circuit, an output buffer memory circuit, and the processing within the block line is performed by pipeline processing in each of the circuits, and In between, each of the circuits is provided with a control circuit that causes the process to proceed to the next block line after completing the process for the same block line.

〔作用〕[Effect]

同一のブロツクライン内の処理はパイプライン
処理により高速でデータ復元処理を行い、各回路
が同じブロツクラインの処理を終了した後に、次
のブロツクラインの処理を開始することにより、
エラー発生時は、待機時間をおくことなく直ちに
回路全体をクリアしてエラー復帰処理を行うこと
ができる。
Processing within the same block line performs data restoration processing at high speed using pipeline processing, and after each circuit finishes processing the same block line, it starts processing the next block line.
When an error occurs, the entire circuit can be cleared immediately and error recovery processing can be performed without waiting time.

〔実施例〕〔Example〕

以下図面を参照して、本発明の実施例について
詳細に説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の実施例のブロツク図であり、
第9図と同一符号は同一部分を示し、12はブロ
ツク単位データ転送制御回路、13はライン単位
データ転送制御回路である。ブロツク単位データ
転送制御回路12は、第9図に於けるデータ転送
制御回路14とほぼ同じ制御機能を有するもので
あり、又ライン単位データ転送制御回路13は、
予測順位符号解読回路1、パターンNo.再生回路
2、デイザ画像再生回路3及び出力バツフアメモ
リ回路4が総て同じブロツクラインの処理が終了
した後に、次のブロツクラインの処理に移行する
ように制御する機能を有するものである。これら
のブロツク単位データ転送制御回路12及びライ
ン単位データ転送制御回路13は、マイクロプロ
セツサ等により構成することができ、プログラム
制御により各制御回路5〜8を介して各回路の状
態情報を読取り、ブロツク毎の処理並びにブロツ
クライン単位で処理が終了しているか否かの判断
等を行わせ、各回路に於ける処理の続行や停止を
制御することもできる。
FIG. 1 is a block diagram of an embodiment of the present invention.
The same reference numerals as in FIG. 9 indicate the same parts, 12 is a block unit data transfer control circuit, and 13 is a line unit data transfer control circuit. The block unit data transfer control circuit 12 has almost the same control function as the data transfer control circuit 14 in FIG. 9, and the line unit data transfer control circuit 13 has the following functions:
After the prediction order code decoding circuit 1, pattern number reproduction circuit 2, dither image reproduction circuit 3, and output buffer memory circuit 4 have all finished processing the same block line, they are controlled to proceed to the processing of the next block line. It has a function. These block unit data transfer control circuit 12 and line unit data transfer control circuit 13 can be configured by a microprocessor or the like, and read the status information of each circuit via each control circuit 5 to 8 under program control. It is also possible to control the continuation or stop of processing in each circuit by making a judgment as to whether or not the processing is completed for each block and for each block line.

第2図は本発明の実施例の動作タイミング説明
図であり、aはエラークリアパルス、b,c,d
はそれぞれレジスタ9,10,11にデータをラ
ツチするタイミングを示し、e,fは出力バツフ
アメモリ回路4の書込み及び読出しの動作を示す
ものである。
FIG. 2 is an explanatory diagram of the operation timing of the embodiment of the present invention, where a is an error clear pulse, b, c, d
indicate the timing of latching data in the registers 9, 10, and 11, respectively, and e and f indicate the write and read operations of the output buffer memory circuit 4.

或るブロツクラインの最終ブロツク864の処
理が終了して出力バツフア部4a(BF1)に書込
まれた後に、次のブロツクラインのライン同期信
号EOL(2)に続くブロツクの処理が開始される。
従つて、時刻t6に於いて、該当する符号が見つ
からないようなエラー発生してエラークリアパル
スがaにを示すように出力され、全体の回路がク
リアされても、その直前のブロツクラインの処理
は終了しているから、待機時間をもたせる必要が
なく、エラー発生により直ちにクリアすることが
できる。そして、エラー復帰処理により、この場
合は、出力バツフア部4aから繰り返し読出した
データを送出した後、時刻t7から正常動作に戻
ることになる。従つて、時刻t6から時刻t7ま
でがエラー復帰処理の時間となる。
After the processing of the final block 864 of a certain block line is completed and written to the output buffer section 4a (BF1), processing of the block following the line synchronization signal EOL(2) of the next block line is started.
Therefore, at time t6, even if an error such as the corresponding code is not found occurs and an error clear pulse is output as shown in a, and the entire circuit is cleared, the processing of the immediately preceding block line is Since the error has already been completed, there is no need for a waiting time, and the error can be cleared immediately upon occurrence of the error. Then, in this case, the error recovery process returns to normal operation from time t7 after sending out the repeatedly read data from the output buffer section 4a. Therefore, the period from time t6 to time t7 is the time for error recovery processing.

又ライン同期信号が見つからないようなエラー
が発生した場合も、直ちにエラークリアパルスに
より全体の回路をクリアし、出力バツフアメモリ
回路4の一方の書込途中の出力バツフア部の内容
もクリアし、その直前のブロツクラインの復元デ
ータは他方の出力バツフア部に書込まれているの
で、これを繰り返し読出することにより、エラー
復帰処理を行うことになる。
Also, if an error such as a line synchronization signal not being found occurs, immediately clear the entire circuit with an error clear pulse, clear the contents of the output buffer part in the middle of writing on one side of the output buffer memory circuit 4, and write the contents immediately before that. Since the restored data of the block line has been written to the other output buffer section, error recovery processing is performed by repeatedly reading this data.

従つて、エラー発生時の状態に関係なく、同じ
制御によつてエラー復帰を行うことができること
になる。
Therefore, regardless of the state at the time of error occurrence, error recovery can be performed using the same control.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、パターン予測
符号化方式によるデイザ画像データ復元回路に於
いて、予測順位符号解読回路1、パターンNo.再生
回路2、デイザ画像再生回路3、出力バツフアメ
モリ回路4及びブロツクライン内の処理は前記各
回路でパイプライン処理を行い且つブロツクライ
ン間では前記各回路総てが同じブロツクラインの
処理を終了した後に次のブロツクライン処理に移
行させるライン単位データ転送制御回路13等か
らなる制御回路とを設けたものであり、パイプラ
イン処理中に異なるブロツクラインのデータを処
理している期間がないことにより、エラー発生時
に直ちにクリアを行つて、エラー復帰処理に移行
することができ、エラー復帰処理の制御が従来例
に比較して簡単となる利点がある。
As described above, the present invention provides a dithered image data restoration circuit using a pattern predictive encoding method, including a prediction order code decoding circuit 1, a pattern number reproducing circuit 2, a dithered image reproducing circuit 3, an output buffer memory circuit 4, A line-by-line data transfer control circuit 13 performs pipeline processing in each of the circuits for processing within a block line, and moves to the next block line processing after all of the circuits finish processing the same block line between block lines. Since there is no period during pipeline processing where data of different block lines are being processed, it is possible to immediately clear the error when it occurs and move on to error recovery processing. This has the advantage that error recovery processing can be controlled more easily than in the conventional example.

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

第1図は本発明の実施例のブロツク図、第2図
は本発明の実施例のエラー発生時の動作タイミン
グ説明図、第3図a〜cは4×4のデイザマトリ
クスの説明図、第4図はパターン予測符号化方式
の基本パターンの説明図、第5図は符号化ブロツ
クと参照ブロツクとの説明図、第6図はパターン
予測符号化方式の符号割当説明図、第7図はデー
タ圧縮処理のフローチヤート、第8図はデータ復
元処理のフローチヤート、第9図は従来のデータ
復元回路のブロツク図、第10図は従来例の正常
動作時の動作タイミング説明図、第11図及び第
12図は従来例のエラー発生時の動作タイミング
説明図である。 1は予測順位符号解読回路、2はパターンNo.再
生回路、3はデイザ画像再生回路、4は出力バツ
フアメモリ回路、4a,4bは出力バツフア部
(BF1,BF2)、5〜8は制御回路、9〜11は
レジスタ、12はブロツク単位データ転送制御回
路、13はライン単位データ転送制御回路であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of the operation timing when an error occurs in the embodiment of the present invention, and FIGS. 3 a to 3 c are explanatory diagrams of a 4×4 dither matrix. Fig. 4 is an explanatory diagram of the basic pattern of the pattern predictive encoding method, Fig. 5 is an explanatory diagram of the coding block and reference block, Fig. 6 is an explanatory diagram of code assignment of the pattern predictive encoding method, and Fig. 7 is an explanatory diagram of the code assignment of the pattern predictive encoding method. Flowchart of data compression processing; FIG. 8 is a flowchart of data restoration processing; FIG. 9 is a block diagram of a conventional data restoration circuit; FIG. and FIG. 12 are explanatory diagrams of operation timing when an error occurs in the conventional example. 1 is a prediction ranking code decoding circuit, 2 is a pattern number reproducing circuit, 3 is a dither image reproducing circuit, 4 is an output buffer memory circuit, 4a and 4b are output buffer units (BF1, BF2), 5 to 8 are control circuits, 9 11 are registers, 12 is a block unit data transfer control circuit, and 13 is a line unit data transfer control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 パターン予測符号化方式によるデイザ画像デ
ータ復元回路に於いて、予測順位符号解読回路と
パターンNo.再生回路とデイザ画像再生回路と出力
バツフアメモリ回路と、ブロツクライン内の処理
は前記各回路でパイプライン処理を行い且つブロ
ツクライン間では前記各回路総てが同じブロツク
ラインの処理を終了した後に次のブロツクライン
処理に移行させる制御回路とを備えたことを特徴
とするデイザ画像データ復元回路。
1. In a dithered image data restoration circuit using a pattern predictive encoding method, processing in the prediction order code decoding circuit, pattern number reproducing circuit, dithered image reproducing circuit, output buffer memory circuit, and block line is performed in a pipeline by each of the circuits described above. 1. A dither image data restoration circuit comprising: a control circuit which performs processing between block lines and causes the circuits to proceed to processing of the next block line after all of the circuits have finished processing the same block line.
JP59243487A 1984-11-20 1984-11-20 Dither picture data restoring circuit Granted JPS61123278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59243487A JPS61123278A (en) 1984-11-20 1984-11-20 Dither picture data restoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59243487A JPS61123278A (en) 1984-11-20 1984-11-20 Dither picture data restoring circuit

Publications (2)

Publication Number Publication Date
JPS61123278A JPS61123278A (en) 1986-06-11
JPH0314380B2 true JPH0314380B2 (en) 1991-02-26

Family

ID=17104616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59243487A Granted JPS61123278A (en) 1984-11-20 1984-11-20 Dither picture data restoring circuit

Country Status (1)

Country Link
JP (1) JPS61123278A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020188947A1 (en) * 2019-03-20 2020-09-24 信越半導体株式会社 Single crystal manufacturing device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01274565A (en) * 1988-04-27 1989-11-02 Matsushita Graphic Commun Syst Inc Decoder
JPH0654212A (en) * 1993-03-19 1994-02-25 Matsushita Graphic Commun Syst Inc Decoding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020188947A1 (en) * 2019-03-20 2020-09-24 信越半導体株式会社 Single crystal manufacturing device

Also Published As

Publication number Publication date
JPS61123278A (en) 1986-06-11

Similar Documents

Publication Publication Date Title
US4922545A (en) Facsimile image encoding method
US4131915A (en) Facsimile signal transmission system
JPS5816667B2 (en) Interline encoding method for facsimile signals
JPS6322114B2 (en)
US4090222A (en) Facsimile signal reception system
US3804975A (en) Video signal data signal compression system
US4800440A (en) Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes
JPS5854695B2 (en) Signal control method
JPH0314380B2 (en)
JPH05145770A (en) Encoding/decoding device
JPH0311714B2 (en)
JPS6338152B2 (en)
JP2634793B2 (en) Color image signal encoding device
JP2689555B2 (en) Image restoration device
JP3254899B2 (en) Image decoding processor
JPS5859665A (en) Picture and writing transmission device
JPS6126868B2 (en)
JPS5923514B2 (en) Two-dimensional sequential encoding method
JPH07170410A (en) Color image data compression method
JPS6174455A (en) Coding control system of binary picture signal
JP2563324B2 (en) Image signal coding method
JP2532422B2 (en) Encoder
JPH041552B2 (en)
JPH077622A (en) Prediction encoding device
JPS63269871A (en) Image signal coding and transmitting method