JPS63204880A - Mh code signal decoding system - Google Patents

Mh code signal decoding system

Info

Publication number
JPS63204880A
JPS63204880A JP3583687A JP3583687A JPS63204880A JP S63204880 A JPS63204880 A JP S63204880A JP 3583687 A JP3583687 A JP 3583687A JP 3583687 A JP3583687 A JP 3583687A JP S63204880 A JPS63204880 A JP S63204880A
Authority
JP
Japan
Prior art keywords
signal
scanning line
pattern
circuit
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.)
Granted
Application number
JP3583687A
Other languages
Japanese (ja)
Other versions
JPH053188B2 (en
Inventor
Naoki Yamazaki
直己 山崎
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 JP3583687A priority Critical patent/JPS63204880A/en
Publication of JPS63204880A publication Critical patent/JPS63204880A/en
Publication of JPH053188B2 publication Critical patent/JPH053188B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a coding error due to the coding of an MH code signal generated from a point on the way of a scanning line by outputting only a pattern data converted from an MH code signal as a valid image pattern signal after a scanning line start signal is detected from said inputted MH code signal. CONSTITUTION:If a scanning line start signal detection circuit 3 detects a scanning line start signal and the signal is latched by a latch circuit 4, an AND circuit 5 supplies an enable signal from an enable signal generation means 2 to a gate 6, so that a pattern data decoded by a pattern conversion ROM 1 is transmitted to a device in the following devices, and thus the pattern is made a valid one. Such a pattern data thus made valid is a data only after the arrival of a scanning line start signal, i.e., a data from the beginning of each scanning line. In such a way, an erroneous detection due to lock of the number of picture elements caused by starting the decoding an MH code signal corresponding to an interim point on a scanning line, can be prevented.

Description

【発明の詳細な説明】 〔概 要〕 入力したMH符号信号から走査線開始信号が検出された
後にこのMH符号信号をパターンデータに変換したパタ
ーンデータのみを有効な画像パターン信号として出力す
ることによって、走査線の途中からのMH符号信号を復
号することによって発生する復号エラーを防止するよう
にした。
[Detailed Description of the Invention] [Summary] After a scanning line start signal is detected from an input MH code signal, this MH code signal is converted into pattern data and only pattern data is output as an effective image pattern signal. , a decoding error caused by decoding an MH code signal from the middle of a scanning line is prevented.

〔産業上の利用分野〕[Industrial application field]

本発明はファクシミリなどの画像情報の伝送に用いられ
る圧縮符号として公知のMH符号を復号する方式に関す
る。
The present invention relates to a method for decoding a well-known MH code as a compression code used for transmitting image information such as by facsimile.

〔従来の技術〕[Conventional technology]

上記のMH符号は、ファクシミリなどの画面の1走査線
上の画素を適当な数まとめてその明暗の配列を1つの符
号に割当てたものであって、1つのMH符号が表す画素
数は一定していない。換言すれば、1走査線上の画素の
数が一定であってもこの走査線上の画素の状態を示すM
H符号の数は定まっておらず、したがって画面の1走査
線に相当するMH符号データを識別するために1走査線
分のMH符号の最後、すなわち走査線の始めにはEOL
符号が付加されており、ページが終了するときにはこの
EOL符号が6つ連続するRTC符号が付加されている
The above MH code is a code in which an appropriate number of pixels on one scanning line of a screen such as a facsimile are assigned to one code, and the number of pixels represented by one MH code is constant. do not have. In other words, even if the number of pixels on one scanning line is constant, M indicates the state of the pixels on this scanning line.
The number of H codes is not fixed, so in order to identify MH code data corresponding to one scanning line of the screen, an EOL is set at the end of one scanning line's worth of MH codes, that is, at the beginning of the scanning line.
A code is added, and when a page ends, an RTC code consisting of six consecutive EOL codes is added.

第3図に示す従来例において、受信信号はMH符号受信
機201によって上記のようなMH符号信号に復調され
てバス202を介して受信メモリ203にストアされ、
このMH符号信号はこのメモリ203からダイレクトメ
モリアクセスコントローラ204の制御によってバッフ
ァレジスタ205にダイレクトメモリアクセス転送され
る。
In the conventional example shown in FIG. 3, a received signal is demodulated into the above-mentioned MH code signal by an MH code receiver 201 and stored in a reception memory 203 via a bus 202.
This MH code signal is directly memory access transferred from this memory 203 to a buffer register 205 under the control of a direct memory access controller 204.

このバッファレジスタ205から読出されたMH符号信
号はパターン変換ROM206によってこの符号で定め
られるバイト数のパターンデータとして読出され、並直
列変換器207によって一旦直列データに変換された後
に直並列変換器208に転送されるが、この並直列変換
器207の読出クロックおよび直並列変換器208の読
込クロックとして印加されるクロックは、その1クロツ
タが1つの画素に対応しているのでこのクロックを計数
して得られる計数値は走査線上の画素の数に等しい。
The MH code signal read from the buffer register 205 is read by the pattern conversion ROM 206 as pattern data of the number of bytes determined by this code, and is once converted into serial data by the parallel/serial converter 207 and then sent to the serial/parallel converter 208. However, since one clock corresponds to one pixel, the clocks applied as the read clock to the parallel-to-serial converter 207 and the read clock to the serial-to-parallel converter 208 are obtained by counting these clocks. The count value is equal to the number of pixels on the scan line.

そこで、上記パターン変換ROM206はパターンデー
タを出力するとき、同時にそのパターンのビット数すな
わち画素数を示すデータをイネーブル信号生成回路20
9に送出し、有効なビットのデータのみが上記直並列変
換器208で処理されるようにする。このようにして、
有効なビットのみが並列信号に変換された直並列変換器
208の出力はレジスタ210に一旦貯えられた後、復
号データメモリ211に格納されて画像の再生に使用さ
れる。
Therefore, when the pattern conversion ROM 206 outputs pattern data, it simultaneously sends data indicating the number of bits of the pattern, that is, the number of pixels, to the enable signal generation circuit 206.
9 so that only valid bit data is processed by the serial/parallel converter 208. In this way,
The output of the serial/parallel converter 208, in which only valid bits are converted into parallel signals, is temporarily stored in a register 210, and then stored in a decoded data memory 211 and used for image reproduction.

このような復号回路においては、MH符号信号の復号が
始まってから有効な画素の画素数が1走査線上の規定の
画素数、例えばA4判用紙の漢方向で1728画素、す
なわち1728クロツク、を計数する前に走査線の終了
、すなわち次の走査線の開始を示すEOL信号がEOL
検出回路212で検出されたとすればこの走査線につい
てのデータの一部が欠落していることになり、またこの
1728を計数したときに次のEOL信号がバッファレ
ジスタ205から未だ読出されない場合には余分のデー
タがこの走査線についてのデータとして挿入されている
ことになる。
In such a decoding circuit, the number of effective pixels after the decoding of the MH code signal starts is counted as the specified number of pixels on one scanning line, for example, 1728 pixels in the Chinese direction of A4 size paper, that is, 1728 clocks. The EOL signal indicating the end of a scanning line, that is, the start of the next scanning line, is
If detected by the detection circuit 212, this means that part of the data for this scanning line is missing, and if the next EOL signal has not yet been read out from the buffer register 205 when counting 1728, then Extra data will be inserted as data for this scan line.

再生されたパターンにおけるこのような誤りを検出する
ために、上記イネーブル信号生成回路209によるイネ
ーブル信号の発生期間中にアンド回路212を介して供
給される上記並直列変換器207および直並列変換器2
08に印加されるクロックを計数するカウンタ213を
設け、バッファレジスタ205の読出し出力から走査線
の終わりすなわち次の走査線の開始を示すEOL信号を
EOL検出回路215が検出したときにこのカウンタ2
13を再スタートさせて上記クロックの計数を開始させ
るようにし、このカウンタ213の計数値を上記規定の
数値と比較する比較回路214からこれらの値の一致時
(ニー出力される一致出力と上記のEOL検出回路21
5からのEOL検出信号との排他的論理和をとるEOR
回路216を設けることによって、一致出力あるいはE
OL検出信号のいずれか一方のみが出力されたときにこ
のEOR回路216からエラー信号を出力するようにし
ている。なお、上記EOL検出回路215は画像の各員
の最後に付加される連続した6つのEOL信号を検出し
て、頁終了信号を発生するためのEOL信号計数機能も
備えている。
In order to detect such an error in the reproduced pattern, the parallel-to-serial converter 207 and the serial-to-parallel converter 2 are supplied via the AND circuit 212 during the generation of the enable signal by the enable signal generating circuit 209.
A counter 213 is provided to count the clocks applied to the buffer register 205, and when the EOL detection circuit 215 detects an EOL signal indicating the end of a scanning line, that is, the start of the next scanning line, from the readout output of the buffer register 205, the counter 213
13 is restarted to start counting the clock, and the comparison circuit 214 compares the count value of this counter 213 with the prescribed value. When these values match (the match output outputted from the knee and the EOL detection circuit 21
EOR which takes the exclusive OR with the EOL detection signal from 5.
By providing circuit 216, the coincidence output or E
The EOR circuit 216 outputs an error signal when only one of the OL detection signals is output. The EOL detection circuit 215 also has an EOL signal counting function for detecting six consecutive EOL signals added at the end of each member of the image and generating a page end signal.

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

上記のごとき従来技術においては、走査線の途中に相当
するMH符号信号から復号が開始されると、その復号出
力のこの走査線上の画素数は規定の数に達しないので次
のEOL信号が検出されたときにカウンタ213の計数
値は1走査線上の画素数に相当する規定値に達しておら
ず、したがってエラー信号が出力されてこの復号回路を
再起動巳なければならなかった。
In the above conventional technology, when decoding is started from an MH code signal corresponding to the middle of a scanning line, the number of pixels on this scanning line of the decoded output does not reach the specified number, so the next EOL signal is detected. At that time, the count value of the counter 213 did not reach the specified value corresponding to the number of pixels on one scanning line, so an error signal was output and the decoding circuit had to be restarted.

また、従来技術においては、上記のような誤りを生じた
ときに再起動する際に次の走査線開始符号(EOL信号
)の検出をソフトウェアによって行っていたため、復号
された1走査線上の画素数が所定の画素数より大きいエ
ラーの場合と少ないエラーの場合とに対してそれぞれ異
なった処理内容を有するプログラムを用意しておくこと
が必要であり、このためソフトウェアが複雑化してその
開発が困難になるばかりでなく、そのエラー処理実行時
間も増大する欠点があった。
In addition, in the conventional technology, when restarting when the above error occurs, the next scanning line start code (EOL signal) is detected by software, so the number of pixels on one decoded scanning line is It is necessary to prepare programs with different processing contents for cases where the error is larger than a predetermined number of pixels and when the error is small, which makes the software complex and difficult to develop. Not only that, but the error processing execution time also increases.

本発明は、上記のような誤りが検出されたときの処理を
ハードウェアによって行うようにすることによって、ソ
フトウェアの簡素化と誤りが発生したときの処理の迅速
化を図ったものである。
The present invention aims at simplifying the software and speeding up the processing when an error occurs by performing the processing when an error as described above is detected by hardware.

C問題点を解決するための手段〕 第1図に示すように、入力したMH符号信号をパターン
データに変換するパターン変換リードオンリメモリ1と
、このリードオンリメモリにより変換出力されるパター
ンデータの有効期間中にイネーブル信号を発生するイネ
ーブル信号発生手段2と、上記入力したMH符号信号か
ら走査線開始信号を検出する走査線開始信号検出手段3
と、この検出手段が走査線開始信号を検出した信号によ
りセットされるとともにエラーが発生したときにリセッ
トされるラッチ回路4と、このラッチ回路の出力と上記
イネーブル信号との論理積をとる論理積回路5とを設け
て、この論理積回路の復号データ有効化信号出力によっ
て上記パターン変換リードオンリメモリからのパターン
出力を有効な画像パターン信号として出力するようにし
た。
Means for Solving Problem C] As shown in FIG. 1, there is a pattern conversion read-only memory 1 that converts an input MH code signal into pattern data, and a pattern conversion read-only memory 1 that converts the input MH code signal into pattern data, and the validity of the pattern data converted and output by this read-only memory. Enable signal generating means 2 that generates an enable signal during the period, and scanning line start signal detecting means 3 that detects a scanning line start signal from the input MH code signal.
, a latch circuit 4 that is set by the signal detected by this detection means as a scanning line start signal and reset when an error occurs, and a logical product that takes the logical product of the output of this latch circuit and the enable signal. A circuit 5 is provided so that the pattern output from the pattern conversion read-only memory is output as a valid image pattern signal by outputting a decoded data validation signal from this AND circuit.

〔作 用〕[For production]

例えばバッファメモリからのMH符号信号はパターン変
換ROMIおよび走査線開始信号検出回路3に印加され
、このパターン変換ROMIは復号したMH符号によっ
て定まるビット長のパターンデータを出力するとともに
そのビット長をイネーブル信号発生手段2に送出して当
該期間中イネーブル信号を論理積回路5に供給するが、
走査線開始信号検出回路3に印加された上記MH符号信
号から走査線開始信号が検出されてラッチ回路4にラッ
チされるまではこのラッチ回路の出力が“0°′である
ので上記論理積回路5からは復号データ有効化信号が出
力されず、ゲート6として例示した出力手段も遮断状態
にあるので上記パターン変換ROM 1により復号され
たデータは無視される。
For example, the MH code signal from the buffer memory is applied to the pattern conversion ROMI and the scanning line start signal detection circuit 3, and the pattern conversion ROMI outputs pattern data with a bit length determined by the decoded MH code, and also outputs the pattern data with the bit length determined by the decoded MH code. The enable signal is sent to the generating means 2 and the enable signal is supplied to the AND circuit 5 during the period.
Until the scanning line start signal is detected from the MH code signal applied to the scanning line start signal detection circuit 3 and latched by the latch circuit 4, the output of this latch circuit is "0°", so the AND circuit Since the decoded data validation signal is not output from the gate 5 and the output means illustrated as the gate 6 is also in a cut-off state, the data decoded by the pattern conversion ROM 1 is ignored.

そして、上記走査線開始信号検出回路3が走査線開始信
号を検出してその検出信号が上記ラッチ回路4にラッチ
されると、論理積回路5はイネーブル信号発生手段2か
らのイネーブル信号を上記ゲート6に供給してパターン
変換ROMIによって復号されたパターンデータを後続
する装置に送出することによって有効化する。
When the scanning line start signal detection circuit 3 detects a scanning line start signal and the detection signal is latched by the latch circuit 4, the AND circuit 5 transfers the enable signal from the enable signal generating means 2 to the gate. 6 and sends the pattern data decoded by the pattern conversion ROMI to a subsequent device.

この構成によれば、有効化されるパターンデータは走査
線開始信号が到来してからのデータ、すなわち各走査線
の始めからのデータとなるから、走査線の途中に相当す
るMH符号信号から復号を開始することによる画素数の
不足によるエラー検出を防止することができる。
According to this configuration, the pattern data to be validated is the data after the arrival of the scanning line start signal, that is, the data from the beginning of each scanning line, so it is decoded from the MH code signal corresponding to the middle of the scanning line. By starting the process, it is possible to prevent error detection due to insufficient number of pixels.

なお、上記ラッチ回路4は復号回路が正常に動作してい
る期間中は復号を継続すればよいので必ずしも1走査線
ごとにリセットする必要はない。
Note that the latch circuit 4 need not necessarily be reset for each scanning line, since it is sufficient to continue decoding while the decoding circuit is operating normally.

したがって一旦セットされればそのセット状態を維持し
、エラーが検出されたときにリセットされるように構成
してお(。
Therefore, once set, the configuration is such that it remains set and is reset when an error is detected.

〔実施例〕〔Example〕

第2図は本発明による復号方式の実施例を示すもので、
第1図の構成要素に対応する構成要素には第1図におけ
ると同一の符号を、また第3図の従来例における構成要
素に対応する構成要素には100を差引いた符号を付し
て示した。
FIG. 2 shows an embodiment of the decoding method according to the present invention.
Components corresponding to those in FIG. 1 are given the same reference numerals as in FIG. 1, and components corresponding to those in the conventional example in FIG. 3 are given numerals with 100 subtracted. Ta.

受信信号はMH符号受信機101によって上記のような
MH符号信号に復調されてバス102を介して受信メモ
リ103にストアされ、このMH符号信号はこのメモリ
103からダイレクトメモリアクセスコントローラ10
4の制i卸によってバッファレジスタ105にダイレク
トメモリアクセス転送される。
The received signal is demodulated into the above-mentioned MH code signal by the MH code receiver 101 and stored in the reception memory 103 via the bus 102, and this MH code signal is sent from the memory 103 to the direct memory access controller 10.
4, direct memory access transfer is performed to the buffer register 105.

このバッファレジスタ105から読出されたMH符号信
号はパターン変換ROMIによってこの符号で定められ
るビット数のパターンデータとしてパイ1単位の並列デ
ータとして読出されて並直列変換器107に供給され、
同時にそのパターンデータのビット数を示すデータをイ
ネーブル信号生成回路2に送出する。
The MH code signal read from the buffer register 105 is read out as pattern data of the number of bits determined by this code by the pattern conversion ROMI as parallel data of one pie unit, and is supplied to the parallel-to-serial converter 107.
At the same time, data indicating the number of bits of the pattern data is sent to the enable signal generation circuit 2.

上記ROM 1によって並列データとして得られたパタ
ーンデータは、上記並直列変換器107によって一旦直
列データに変換された後に直並列変換器108に転送さ
れるが、後述する復号データ有効化信号がこの直並列変
換器に供給されない限りパターンデータはこの直並列変
換器108からは出力されない。
The pattern data obtained as parallel data by the ROM 1 is once converted into serial data by the parallel to serial converter 107 and then transferred to the serial to parallel converter . No pattern data is output from the serial/parallel converter 108 unless it is supplied to the parallel converter.

一方、上記バッファレジスタ105からのMH符号信号
はEOL検出回路3に印加され、このMH符号信号中に
EOL信号が検出されるとEOL信号検出出力をラッチ
回路4に送出してラッチして、このラッチ回路がエラー
検出あるいは再起動によるオア回路118の出力により
リセットされるまで走査線開始検出信号を出力させる。
On the other hand, the MH code signal from the buffer register 105 is applied to the EOL detection circuit 3, and when an EOL signal is detected in this MH code signal, the EOL signal detection output is sent to the latch circuit 4 and latched. The scan line start detection signal is output until the latch circuit is reset by the output of the OR circuit 118 due to error detection or restart.

この走査線開始検出信号はアンド回路5を付勢して上記
イネーブル信号生成回路2からイネーブル信号が供給さ
れたとき、このアンド回路5から復号データが有効であ
ることを示す復号データ有効化信号を前記直並列変換器
108に供給し、この変換器から1クロツクごとに1ビ
ツトの割合の並列信号として、換言すれば8クロツクに
1バ・イトの並列信号としてレジスタ110に転送して
ストアさせるとともに、アンド回路112からこの走査
線開始検出信号の存在期間中上記直並列変換器108に
供給されるクロックをカウンタ113に供給してこのク
ロックを計数させる。
This scanning line start detection signal energizes the AND circuit 5, and when the enable signal is supplied from the enable signal generation circuit 2, the AND circuit 5 generates a decoded data validation signal indicating that the decoded data is valid. It is supplied to the serial/parallel converter 108, from which it is transferred as a parallel signal of 1 bit per clock, or in other words, a parallel signal of 1 byte every 8 clocks, to the register 110 for storage. , the clock supplied from the AND circuit 112 to the serial/parallel converter 108 during the existence period of this scanning line start detection signal is supplied to the counter 113 to count this clock.

したがって、カウンタ113の計数値はこの直並列変換
器108から出力された画素数を示すものとなる。
Therefore, the count value of the counter 113 indicates the number of pixels output from the serial/parallel converter 108.

このカウンタ113の計数値は比較器114によって1
走査線上の画素数に相当する数値、上述の例では172
8と比較され、これらの数値が一致しない期間中は“0
”レベルの出力を、またこれらの計数1直が一致したと
きには“1”の出力をこの比較器から出力させる。
The count value of this counter 113 is set to 1 by the comparator 114.
A number corresponding to the number of pixels on the scan line, 172 in the above example
8, and during the period when these numbers do not match, it is “0”.
This comparator outputs an output of "1" level, and an output of "1" when these counts match.

したがって、この比較器114の出力およびEOL検出
回路3からの“1″レベルのEOL検出信号が入力端子
に供給されるEOR回路116からは、これら入力端子
に入力する信号の一方のみがパ1”になったときに出力
を生じ、これはl走査線についてのMH符号信号が終了
したときにこの走査線上の画素数に等しい数の画素につ
いての信号が出力されていないことを示しており、結局
このEOR回路116の“1”出力は復号に誤りがある
ことを示す信号となる。
Therefore, from the EOR circuit 116 whose input terminals are supplied with the output of the comparator 114 and the "1" level EOL detection signal from the EOL detection circuit 3, only one of the signals input to these input terminals is "1". It produces an output when The "1" output of this EOR circuit 116 becomes a signal indicating that there is an error in decoding.

本発明においては、走査線の開始を示すEOL信号が検
出されていない期間中は上記のラッチ回路4からの“1
′″レベルにある走査線開始検出信号が存在しないため
、パターン変換ROMIによってMH符号信号から復号
されたデータは直並列変換器108から出力されず、ま
たEOL検出回路3からのEOL検出信号が上記ラッチ
回路4の出力が一方の入力端子に供給されているアンド
回路117によって遮断されるために上記EOR回路1
16からのエラー信号も出力されない。
In the present invention, during a period in which the EOL signal indicating the start of a scanning line is not detected, "1" is output from the latch circuit 4.
Since there is no scanning line start detection signal at the ``'' level, the data decoded from the MH code signal by the pattern conversion ROMI is not output from the serial/parallel converter 108, and the EOL detection signal from the EOL detection circuit 3 is Since the output of the latch circuit 4 is cut off by the AND circuit 117 supplied to one input terminal, the EOR circuit 1
The error signal from 16 is also not output.

エラー内容検出器118は前記比較器114からの一致
信号とEOL検出回路3からのEOL検出信号の時間的
な前後関係に基づいて、発生したエラーか画素数の不足
によるエラーであるかあるいは画素数の過剰によるエラ
ーであるかを検出するものであり、これらの検出結果は
エラー処理に用いられる。
The error content detector 118 determines whether an error has occurred, an error due to an insufficient number of pixels, or an error due to an insufficient number of pixels, based on the temporal relationship between the coincidence signal from the comparator 114 and the EOL detection signal from the EOL detection circuit 3. The detection results are used for error processing.

上記画素数が不足したエラー、すなわちEOL信号が検
出されたときにカウンタ113の計数値が1走査線上の
画素数より少ないエラーの場合には、ラッチ回路4をリ
セットするとともにこの走査線上の各画素のデータを前
の走査線上の対応する各画素のデータに置き換えて復号
データメモリ111に記憶させ、さらに受信メモリ10
3からバッファレジスタ105へのダイレクトメモリア
クセス転送を行うための上記受信メモリ103の読出し
アドレスを上記のEOL信号を読出したアドレスより2
〜3バイト前のアドレスにセットして、このEOL信号
およびこの信号に続く走査線のデータがダイレクトメモ
リアクセスによってバッファレジスタ105に転送され
るようにしてこの復号回路を自動的に再起動する。
In the case of an error in which the number of pixels is insufficient, that is, an error in which the count value of the counter 113 is less than the number of pixels on one scanning line when the EOL signal is detected, the latch circuit 4 is reset and each pixel on this scanning line is is replaced with the data of each corresponding pixel on the previous scanning line and stored in the decoded data memory 111.
The read address of the receiving memory 103 for direct memory access transfer from 3 to the buffer register 105 is set to 2 from the address from which the EOL signal was read.
This decoding circuit is automatically restarted by setting the address to ~3 bytes earlier so that this EOL signal and the data of the scanning line following this signal are transferred to the buffer register 105 by direct memory access.

また、走査線上の画素数が規定値を超えてからEOL信
号が検出された場合には、この走査線上の画素について
のデータをすべて無効として、前の走査線上の各画素の
データを復号データメモリ111にこの走査線上の画素
に関するデータとして記憶させるとともに、受信メモリ
103からバッファレジスタ105へのダイレクトメモ
リアクセス転送を行うための上記受信メモリ103の読
出しアドレスを上記のEOL信号を読出したアドレスよ
り2〜3バイト前のアドレスにセットして、このEOL
信号およびこの信号に続く走査線のデータがダイレクト
メモリアクセスによってバッファレジスタ105に転送
されるようにしてこの復号回路を自動的に再起動する。
Additionally, if an EOL signal is detected after the number of pixels on a scanning line exceeds a specified value, all data for the pixels on this scanning line will be invalidated, and the data for each pixel on the previous scanning line will be stored in the decoded data memory. 111 as data regarding pixels on this scanning line, and the read address of the receiving memory 103 for direct memory access transfer from the receiving memory 103 to the buffer register 105 is set to 2 to 2 from the address from which the EOL signal was read. Set it to the address 3 bytes before, and this EOL
The decoding circuit is automatically restarted so that the signal and the data of the scan line following the signal are transferred to the buffer register 105 by direct memory access.

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

本発明によれば、復号が走査線の途中から開始された場
合においても自動的に次の走査線から復号が開始されて
エラー信号が発生しないようになり、またエラー発生時
の処理を行うソフトウェアを同一とすることができると
いう格別の効果が達成される。
According to the present invention, even when decoding is started from the middle of a scanning line, decoding is automatically started from the next scanning line, so that no error signal is generated, and software that performs processing when an error occurs A special effect is achieved in that they can be made the same.

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

第1図は本発明の原理を示すブロック図、第2図は本発
明の実施例を示すブロック図、第3図は従来例を示すブ
ロック図である。 1はパターン変換リードオンリメモリ、2はイネーブル
信号発生手段、 3は走査線開始信号検出手段、 4はラッチ回路、 5は論理積回路である。
FIG. 1 is a block diagram showing the principle of the invention, FIG. 2 is a block diagram showing an embodiment of the invention, and FIG. 3 is a block diagram showing a conventional example. 1 is a pattern conversion read-only memory, 2 is an enable signal generation means, 3 is a scanning line start signal detection means, 4 is a latch circuit, and 5 is an AND circuit.

Claims (1)

【特許請求の範囲】 入力したMH符号信号をパターンデータに変換するパタ
ーン変換リードオンリメモリ(1)と、このリードオン
リメモリにより変換出力されるパターンデータの有効期
間中にイネーブル信号を発生するイネーブル信号発生手
段(2)と、上記入力したMH符号信号から走査線開始
信号を検出する走査線開始信号検出手段(3)と、この
検出手段が走査線開始信号を検出したときにセットされ
るとともにエラーが検出されたときにリセットされるラ
ッチ回路(4)と、このラッチ回路の出力と上記イネー
ブル信号との論理積をとる論理積回路(5)とを備え、 この論理積回路の出力によって上記パターン変換リード
オンリメモリからのパターン出力を有効な画像パターン
信号として出力するようにしたことを特徴とするMH符
号信号の復号方式。
[Scope of Claims] A pattern conversion read-only memory (1) that converts an input MH code signal into pattern data, and an enable signal that generates an enable signal during the valid period of pattern data converted and output by this read-only memory. A generating means (2), a scanning line start signal detecting means (3) for detecting a scanning line start signal from the input MH code signal, and a scanning line start signal detecting means (3) which is set when the detecting means detects a scanning line start signal and an error signal. a latch circuit (4) that is reset when the signal is detected, and an AND circuit (5) that takes the AND of the output of the latch circuit and the enable signal, and the output of the AND circuit generates the pattern described above. A decoding method for an MH code signal, characterized in that a pattern output from a conversion read-only memory is output as an effective image pattern signal.
JP3583687A 1987-02-20 1987-02-20 Mh code signal decoding system Granted JPS63204880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3583687A JPS63204880A (en) 1987-02-20 1987-02-20 Mh code signal decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3583687A JPS63204880A (en) 1987-02-20 1987-02-20 Mh code signal decoding system

Publications (2)

Publication Number Publication Date
JPS63204880A true JPS63204880A (en) 1988-08-24
JPH053188B2 JPH053188B2 (en) 1993-01-14

Family

ID=12453058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3583687A Granted JPS63204880A (en) 1987-02-20 1987-02-20 Mh code signal decoding system

Country Status (1)

Country Link
JP (1) JPS63204880A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157078A (en) * 1984-12-28 1986-07-16 Canon Inc Code information reproducing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157078A (en) * 1984-12-28 1986-07-16 Canon Inc Code information reproducing device

Also Published As

Publication number Publication date
JPH053188B2 (en) 1993-01-14

Similar Documents

Publication Publication Date Title
JP2636210B2 (en) Synchronous data receiving circuit
GB1457267A (en) Coded data-handling apparatus
US4672612A (en) Error correction system in a teletext system
JPS63204880A (en) Mh code signal decoding system
EP0817503B1 (en) Decoding apparatus and decoding method
US6445424B1 (en) Method and apparatus for multistandard video data acquisition
JPS58173933A (en) Transmission system of code signal
JPS62141875A (en) Preventing system for propagation of decoding error
JPH0292117A (en) Error correcting circuit
JPS6083451A (en) Synchronous data buffering system
JP2641442B2 (en) Decryption device
JP2953878B2 (en) Data transfer system
KR900001514Y1 (en) Packet address detecting circuits of teletext
JPS58111477A (en) Main scanning shrinking system
JPH07236065A (en) Binary picture compression device
JPH0260373A (en) Encoding circuit for facsimile equipment
JPS63189085A (en) Detection device for correcting error
JPS59195736A (en) Communication controller
JPH07105817B2 (en) Data communication device
JP2007243826A (en) Teletext decoding apparatus, and television receiver and personal computer incorporated therein
JPS6258197B2 (en)
JPS60237766A (en) Error detecting circuit
JPS61189025A (en) Serial-parallel converting system
JPS6387075A (en) Synchronous error checking method for reception picture data
JPS5864869A (en) Data compressing reproducer