JPS60237766A - Error detecting circuit - Google Patents

Error detecting circuit

Info

Publication number
JPS60237766A
JPS60237766A JP9401684A JP9401684A JPS60237766A JP S60237766 A JPS60237766 A JP S60237766A JP 9401684 A JP9401684 A JP 9401684A JP 9401684 A JP9401684 A JP 9401684A JP S60237766 A JPS60237766 A JP S60237766A
Authority
JP
Japan
Prior art keywords
circuit
information
image information
signal
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.)
Pending
Application number
JP9401684A
Other languages
Japanese (ja)
Inventor
Toru Ito
徹 伊藤
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP9401684A priority Critical patent/JPS60237766A/en
Publication of JPS60237766A publication Critical patent/JPS60237766A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To detect an error effectively without requiring the correct amount of information from the outside by deriving the value of the correct amount of information for error detection from decoded information. CONSTITUTION:Encoded image information 11 is decoded by a decoding circuit 31 to obtain decoded image information 12 and a counting circuit 35 counts the amount of decoded image information 12. Then, a control circuit 32 allows a register 33 to hold the amount of information on the 1st line of image information with a signal 36 from the control circuit 32 when the amount of information is outputted from the counting circuit 35 in response to an end-of-line EOL signal 15 supplied from the decoding circuit 31. Then, the control circuit 32 receives a one-line end signal, i.e. EOL detection signal 15 from the decoding circuit 31 for every line and checks the output of a comparing circuit 34, i.e. comparison result signal 16 in response to the received signal to output the result as an output signal 14.

Description

【発明の詳細な説明】 (技術分野) 本発明は復号化さrした情報の誤シを検出する誤シ検出
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an error detection circuit for detecting errors in decoded information.

(従来技術) ファクシミリなど2値化された画情報は、一般的な数値
データなどと比べると取扱う情報の量が非常に多〆いの
で、冗長度を極力少なくして取扱う量を少なくするため
情報を一旦圧縮して転送あるいは格納する場合がめる。
(Prior art) Binarized image information such as facsimiles requires a much larger amount of information to handle than general numerical data, so it is important to minimize redundancy to reduce the amount of information to be handled. The data must be compressed before being transferred or stored.

圧縮する方法としては、画情報の特徴を利用して2値符
号の連続性に対応した符号によって置換える方法が一般
に行なわれている。
A commonly used compression method is to utilize the characteristics of image information to replace the binary code with a code that corresponds to the continuity of the binary code.

この様にして符号化された画情報の一形式例を第1図に
示す。第1図において符号化された、lライン毎のデー
タはEOL (End of Line)と呼ばれる特
別な符号によって区切られておシ、nラインよシなる1
ページの終シは連続するEOL符号によって知る事が出
来る。
An example of the format of image information encoded in this manner is shown in FIG. In Fig. 1, the encoded data for every l line is separated by a special code called EOL (End of Line).
The end of a page can be known by consecutive EOL codes.

第1図に示す様な形式に圧縮された画情報を転送、おる
いは格納した後、再び画情報として出力する場合、圧縮
されている情報を伸長して元に戻す必要がある。この場
合圧縮する時に用いた符号化の方法とは逆の方法によっ
て復号するのであるが、圧縮された形式で転送あるいは
格納されるときに、何らかの理由で符号の内容を誤ると
、正しく復号する事が出来なくなる。
After transferring or storing image information compressed in the format shown in FIG. 1, when outputting it again as image information, it is necessary to decompress the compressed information and restore it to its original form. In this case, decoding is performed using a method opposite to the encoding method used for compression, but if for some reason the contents of the code are incorrect when transferred or stored in compressed format, it may not be possible to decode correctly. becomes impossible.

一方画情報はlライン毎の情報量は一定でめるという性
質を持っているので、圧縮された情報を復号するときに
、この性質を用いて復号化された情報が正しいかどうか
を知る事が出来る。
On the other hand, image information has the property that the amount of information per line is constant, so when decoding compressed information, this property can be used to know whether the decoded information is correct or not. I can do it.

第2図は従来の復号データの誤シ検出回路でるる。第2
図において符号化画情報11は、復号回路1によりa号
され復号化画情報12として出力される。符号化された
データとして第1図に示す形式のデータが第2図の画情
報11として与えられると、最初のEOL符号ヲ儂号回
路1が検出すると、EOL検出信号15が出力される。
FIG. 2 shows a conventional decoded data error detection circuit. Second
In the figure, encoded image information 11 is a-coded by a decoding circuit 1 and output as decoded image information 12. When encoded data in the format shown in FIG. 1 is given as image information 11 in FIG. 2, when the first EOL code is detected by the encoder circuit 1, an EOL detection signal 15 is output.

制御回路2は、EOL検出信号15が与えられると、復
号化嘔れた1ライン分の画情報の情報量としてららかし
め与えられている値をレジスタ3に与える。
When the control circuit 2 receives the EOL detection signal 15, it provides the register 3 with a value that is determined as the amount of image information for one line that has not been decoded.

復号化画情報12は外部に出力されるとともに計数回路
5にも与えられ、画情報の情報量が計数される。比較回
路4はレジスタ3の内容と計数回路5の内容とを比較し
、等しいかどうかを判定するものである。1ライン分の
復号が終って復号回路1が再びEOL符号を検出すると
制御回路2は比較回路4の出力である比較結果信号16
tl−調べる。
The decoded image information 12 is output to the outside and is also provided to the counting circuit 5, where the amount of image information is counted. The comparison circuit 4 compares the contents of the register 3 and the contents of the counting circuit 5 to determine whether they are equal. When the decoding circuit 1 detects the EOL code again after decoding one line, the control circuit 2 outputs the comparison result signal 16 which is the output of the comparison circuit 4.
tl - Check.

比較結果信号16が等しくないことを表示している場合
はその時の復号化画情報12は誤っているので誤シ検出
信号14を出力する。制御回路2がレジスタ3に与える
値は、取扱う画情報の大きさ等によって違うので、制御
回路2は外部から制御信号13によって取扱う画情報の
大きさ等に関する情報を与えられる。
If the comparison result signal 16 indicates that they are not equal, the decoded image information 12 at that time is erroneous, and an erroneous image detection signal 14 is output. Since the value given by the control circuit 2 to the register 3 differs depending on the size of the image information to be handled, etc., the control circuit 2 is given information regarding the size of the image information to be handled by an external control signal 13.

したがって上述の従来回路では取扱う画情報の大きさ等
が多種類ある場合には、画情報に関する制御信号13の
受授に関する制御は、外部回路にとっても、また誤シ検
出回路にとっても複雑になるという欠点がある。
Therefore, in the conventional circuit described above, when there are many types of image information to be handled, such as the size of the image information, the control regarding the reception of the control signal 13 related to the image information becomes complicated for both the external circuit and the error detection circuit. There are drawbacks.

(発明の目的) 本発明の目的は復号した情報例えば第1ライン目の符号
化画情報を復号した結果得られた情報の量を仮の誤シな
き値とし、第2ライン目以降の復号した結果との照合用
の値とする事によシ取扱かう画情報の大きさが多種=h
る場合でも外部から制御信号をうけることなく動作でき
る誤り検出回路を提供することにある0 (発明の構成) 本発明の装置は、復号された情報の量を計数する計数手
段と、前記計数手段の出力内8’c保持するレジスタと
、前記計数手段の内容と前記レジスタの内容とを比較す
る比較手段とを含んで構成される。
(Object of the Invention) The object of the present invention is to set the amount of information obtained as a result of decoding the decoded information, for example, the encoded image information of the first line, as a temporary error-free value, and to By using the value for comparison with the result, there are various sizes of image information that can be handled = h
An object of the present invention is to provide an error detection circuit that can operate without receiving a control signal from the outside even when the information is decoded. and a comparing means for comparing the contents of the counting means and the contents of the register.

(実施例) 本発明の実施例について図面を参照して詳細に説明する
(Example) Examples of the present invention will be described in detail with reference to the drawings.

第3図は本発明の一実施例を示すブロック図である。第
3図の誤bw出回路は第1図に示した形式の符号化画情
報11を入力とし復号化画情報12を出力とする復号回
路1と、復号化画情報12を入力とする計数回路35と
、計数回路35の出力を保持するレジスタ33と、計数
回路35の値とレジスタ33の値とを比較する比較回路
34と、これらの各回路を制御する制御回路32とによ
って構成される。
FIG. 3 is a block diagram showing one embodiment of the present invention. The erroneous BW output circuit in FIG. 3 includes a decoding circuit 1 which inputs the encoded image information 11 in the format shown in FIG. 1 and outputs the decoded image information 12, and a counting circuit which inputs the decoded image information 12. 35, a register 33 that holds the output of the counting circuit 35, a comparison circuit 34 that compares the value of the counting circuit 35 and the value of the register 33, and a control circuit 32 that controls each of these circuits.

符号化画情報11は復号回路31によって復号され、復
号化画情報12が得られるものであるが、計数回路35
によって前記出力された復号化画情報12の量が計数さ
れる。制御回路32は復号回路31からのEOL検出信
号15の供給に応答して画情報の第1ライン目の情報量
が計数回路35から出力された時、その出力値を制御回
路32からの信号36によシレジスタ331C保持させ
る。
The encoded image information 11 is decoded by the decoding circuit 31 to obtain the decoded image information 12, but the counting circuit 35
The amount of the output decoded image information 12 is counted. When the information amount of the first line of image information is output from the counting circuit 35 in response to the supply of the EOL detection signal 15 from the decoding circuit 31, the control circuit 32 converts the output value into a signal 36 from the control circuit 32. The register 331C is held.

制御回路32はその後、復号回路31から1ライン終了
の信号すなわちEOL検出信号15を各ライン毎にもら
いそれに応答して比較回路34の出力である比較結果信
号をチェックし、その結果を出力信号14として出力す
る。
Thereafter, the control circuit 32 receives a signal indicating the end of one line, that is, an EOL detection signal 15, from the decoding circuit 31 for each line, and in response, checks the comparison result signal that is the output of the comparison circuit 34, and sends the result to the output signal 14. Output as .

第1ラインの値が誤っていた場合は第1ラインと第2ラ
インとの比較結果は等しくなくなるが、その様な場合は
第2ラインの計数結果を信号36によシレジスタ33に
保持することによって第3ライン以降の誤り検出を行な
う事が出来る。この場合mlラインのデータは不正デー
タとして拾てられるべきでおるが、この様な処理は従来
の方式による場合でも行なわれている。
If the value on the first line is incorrect, the comparison results between the first line and the second line will not be equal, but in such a case, the counting result on the second line can be stored in the register 33 using the signal Error detection for the third line and subsequent lines can be performed. In this case, the data on the ml line should be picked up as invalid data, but such processing is also performed in the conventional system.

以上のようにJ禾実施例では外部から画iv報の大きさ
一関する制御信号の供給t−うけなくとも画情報の誤シ
を検出することができる。
As described above, in the third embodiment, it is possible to detect errors in image information even without receiving a control signal related to the size of image information from the outside.

・・・・・・誤シ検出信号、15・・川・EOL検出信
号、16・・・・・・比較結果信号。
. . . Erroneous detection signal, 15 . . River/EOL detection signal, 16 . . . Comparison result signal.

Claims (1)

【特許請求の範囲】[Claims] 復号された情報の1f、計数する計数手段と、前記計数
手段の出力内容を保持するレジスタと、前記計数手段の
内容と前記レジスタの内容とを比較する比較手段とを含
むことを特徴とする誤シ検出回路。
1f of decoded information, a counting means for counting, a register for holding the output contents of the counting means, and a comparison means for comparing the contents of the counting means and the contents of the register. Detection circuit.
JP9401684A 1984-05-11 1984-05-11 Error detecting circuit Pending JPS60237766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9401684A JPS60237766A (en) 1984-05-11 1984-05-11 Error detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9401684A JPS60237766A (en) 1984-05-11 1984-05-11 Error detecting circuit

Publications (1)

Publication Number Publication Date
JPS60237766A true JPS60237766A (en) 1985-11-26

Family

ID=14098701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9401684A Pending JPS60237766A (en) 1984-05-11 1984-05-11 Error detecting circuit

Country Status (1)

Country Link
JP (1) JPS60237766A (en)

Similar Documents

Publication Publication Date Title
US4618846A (en) Data coding
US4791485A (en) System for detecting a transmission error
JPS60237766A (en) Error detecting circuit
US20120017007A1 (en) Robustness improvement for bandwidth communication system
JPS62141875A (en) Preventing system for propagation of decoding error
JP2985173B2 (en) Digital information receiver
JP2641442B2 (en) Decryption device
JPS6125271B2 (en)
JPS6161558A (en) Method for detecting transmission error in g3 facsimile store and forward switching
JPH0352709B2 (en)
JPS5825762A (en) Inspecting system for picture quality
JP2576539B2 (en) I / O signal monitoring circuit
JPH0394577A (en) Coding control circuit for facsimile equipment
JPS62159978A (en) Image data compressing device
JPH01223844A (en) Data transmission system
JPH0260373A (en) Encoding circuit for facsimile equipment
JPS6245239A (en) Communication control method
JPS63146660A (en) Facsimile data error correction system
JPS6130826A (en) Data transmission system
JPS6046169A (en) Facsimile signal decoding device having decoding circuit verifying function
JPH05236286A (en) Picture decoding circuit
JPS63292873A (en) Error substitution circuit for facsimile
JPS5815994B2 (en) Gazoshingouayamarikenshiyutsusouchi
JPS61251276A (en) Picture data encoding system
JPS61107875A (en) Coding system