JPH01144779A - Circuit for substituting line before encoding error for modified huffman code - Google Patents
Circuit for substituting line before encoding error for modified huffman codeInfo
- Publication number
- JPH01144779A JPH01144779A JP30423487A JP30423487A JPH01144779A JP H01144779 A JPH01144779 A JP H01144779A JP 30423487 A JP30423487 A JP 30423487A JP 30423487 A JP30423487 A JP 30423487A JP H01144779 A JPH01144779 A JP H01144779A
- Authority
- JP
- Japan
- Prior art keywords
- line
- decoding
- code
- circuit
- huffman 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、ファクシミリ信号の復号誤り前ライン置換回
路に関し、特に、ファクシミリ信号の一次元符号化方式
の1つであるモディファイドハフマン(MH)符号化方
式により符号化されたファクシミリ信号の復号誤り前ラ
イン置換回路に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a decoding error pre-line replacement circuit for facsimile signals, and in particular to a modified Huffman (MH) encoding system, which is one of the one-dimensional encoding systems for facsimile signals. The present invention relates to a circuit for replacing lines before decoding errors for facsimile signals encoded by.
従来の技術
デイジタルファクシばりに2いては、データ斂を削減す
るために、−次元符号化、二次元符号化等の種々の帯域
圧縮方式が提案されている。−次元符号化方式としては
、 CCITTではグループ3(GJ )機の標準符号
化方式としてモディファイドハフマン符号化方式を勧告
している。Conventional Technology Regarding digital facsimile, various band compression methods such as -dimensional encoding and two-dimensional encoding have been proposed in order to reduce data spacing. As for the -dimensional encoding method, CCITT recommends the Modified Huffman encoding method as the standard encoding method for Group 3 (GJ) aircraft.
■符号の復号においては伝送途中の工2−等により復号
誤りが生ずる場合がある。通常復号誤りが発生した場合
には、前ライン置換処理を行ない。(2) In code decoding, decoding errors may occur due to processing during transmission. Normally, when a decoding error occurs, previous line replacement processing is performed.
復号誤りの発生したラインの代りに正しく復号された直
前のラインを使用する。The immediately preceding line that was correctly decoded is used in place of the line where the decoding error occurred.
発明が解決しようとする問題点
ファクシミリ関連の装置においては、受信した囲符号に
対し、復号誤りのみをチェックして復号誤りとなったラ
インを前ライン置換し、再び旧符号として送出するとい
う処理を行なうものがある。Problems to be Solved by the Invention In facsimile-related devices, a process is performed in which a received enclosing code is checked only for decoding errors, the line in which the decoding error occurred is replaced with the previous line, and the line is sent again as the old code. There is something to do.
従来、上述の処理を行なうためには6MH符号化回路及
び四復号回路の両方を持ち、受信した囲符号を復号して
一旦原画に戻し、復号誤りがなければそのまま符号化し
、復号誤りがあればそのラインは廃棄し前ラインの原画
データを符号化して前ライン置換を行ない、最終的に再
び關符号として送出するという方法をとっている。Conventionally, in order to perform the above processing, both a 6MH encoding circuit and a 4-bit decoding circuit are required, and the received encircling code is decoded and returned to the original image, and if there is no decoding error, it is encoded as is, and if there is a decoding error, it is encoded as is. The method is to discard that line, encode the original image data of the previous line, replace the previous line, and finally send it out again as a related code.
しかしながら、この方式では、符号化回路・復号回路の
両方を必要とするために1回路規模が大きくなり、また
処理が複雑となり処理時間もかかるという欠点がある。However, this method has disadvantages in that it requires both an encoding circuit and a decoding circuit, resulting in a large circuit size, and the processing is complicated and takes a long processing time.
本発明は従来の技術に内在する上記諸欠点を屏消する為
になされたものであり、従って本発明の目的は1回路規
模を小さくすると共に制御を単純化して処理時間を短縮
することを可能とした新規な復号誤り前ライン置換回路
を提供することにある。The present invention has been made to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, the purpose of the present invention is to reduce the scale of one circuit, simplify control, and shorten processing time. The object of the present invention is to provide a novel line replacement circuit before decoding errors.
問題点を解決するための手段
上記目的を達成する為に1本発明に係るモディファイド
ハフマン符号の復号誤9前ライン置換回路は、MH符号
の復号において結果として原画信号を出力せずにランレ
ングスのみを出力しそのランレングスの加算を行なうモ
ディファイドハフマン符号の復号回路と、7947分の
モディファイドハフマン符号を蓄える@/、第2のライ
ンメモリを一面と、入力バッファメモリから前記第1.
第一のラインメモリへの入力を選択する第1のセレクタ
と、前記第1.第:1のラインメモリから出力バッファ
メモリへの出力を選択するための第一のセレクタとを備
えて構成される。Means for Solving the Problems In order to achieve the above object, the modified Huffman code decoding error 9 previous line replacement circuit according to the present invention does not output the original signal as a result in decoding the MH code, but only the run length. A modified Huffman code decoding circuit that outputs and adds the run lengths, @/ that stores 7947 modified Huffman codes, a second line memory on one side, and a second line memory that stores 7947 modified Huffman codes, and a second line memory that stores 7947 modified Huffman codes.
a first selector for selecting an input to the first line memory; and a first selector for selecting an output from the first line memory to the output buffer memory.
実施例
次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第7図は本発明の一実施例を示すブロック構成図である
。FIG. 7 is a block diagram showing an embodiment of the present invention.
瀉1図を参照するに、入力バッファメモリlに復号誤り
のチェックを行なう吐符号が入っている。Referring to Figure 1, an input buffer memory 1 contains an output code for checking for decoding errors.
先ず7947分の囲符号の復号を復号回路コで行なうが
、復号回路コでは7947分の四符号を復号する際に原
画信号を出力することなくランレングスのみを出力し、
白・黒のランレングスの加算のみを行なう。セしてlラ
インの区切りであるEOLを検出した時点で加算したト
ータルのランレングスを復号誤りチェックのために予め
設定しであるlラインの画素数(例えば/’/2g画素
/ライン)と比較し、一致していれば正常に復号された
と判断し、不一致であれば復号誤りと判断する。First, the decoding circuit KO decodes the 7947-minute encircling code, but when decoding the 4/7947-minute code, the decoding circuit KO outputs only the run length without outputting the original image signal.
Only the white and black run lengths are added. Compare the total run length added at the time when EOL, which is the delimiter of l line, is detected with the preset number of pixels of l line (e.g. /'/2g pixels/line) to check for decoding errors. If they match, it is determined that the decoding was successful, and if they do not match, it is determined that the decoding has been erroneous.
復号回路ユは面符号を入力バッファメモリlから順次読
み出すわけであるが、aみ出された囲符号は同時にライ
ンメそり6.7の一方に格納される(ここでは例えばラ
インメモリふとする)、lラインの復号が終了し九時点
で正常であれば、−yインメモリ6に格納された794
7分の■符号は出力バッファメモリ3に転送される。同
時に復号回路コは次ラインの西符号の復号を開始し、こ
の鹿符号は同時にラインメモリフに格納すれる。The decoding circuit 1 sequentially reads out the area codes from the input buffer memory l, but the extracted area codes are simultaneously stored in one of the line memory 6.7 (here, for example, line memory), l. If line decoding is completed and normal at point 9, -y 794 stored in in-memory 6
The 7/7 code is transferred to the output buffer memory 3. At the same time, the decoding circuit starts decoding the west code of the next line, and this deer code is simultaneously stored in the line memory leaf.
一方、lラインの復号が終了した時点で復号誤りと判断
された場合には次の処理を行かう。復号誤りとなる囲符
号をラインメモリ6に格納していたとする。この場合ラ
インメモリフには直前に正しく復号され九ラインに対す
る旧符号が格納されている。従って、前ライン置換を行
なうために。On the other hand, if it is determined that there is a decoding error when the decoding of the l line is completed, the next process is performed. Assume that a surrounding code that causes a decoding error is stored in the line memory 6. In this case, the line memory blank stores the old code for nine lines that was correctly decoded immediately before. Therefore, to perform pre-line substitution.
再びラインメモリフの聞符号を出力バッツアメモリ3に
送出すると同時に復号回路コは次ラインの囲符号の復号
を開始し、■符号は同時にラインメモリ乙に格納される
。At the same time as sending out the second line code of the line memorandum to the output buffer memory 3 again, the decoding circuit starts decoding the second line of the next line, and the second code is simultaneously stored in the line memory B.
以上の動作により1Mki符号の復号において原画に戻
すことなく復号誤りの前ライン置換処理を行なうことが
できる。By the above operation, it is possible to perform previous line replacement processing for decoding errors without returning to the original image during decoding of 1Mki code.
発明の詳細
な説明したように9本発明によれば1MH符号において
復号誤りのみをチェックしそのラインの前ライン置換の
みを行ない出力する場合において。As described in detail, according to the present invention, only decoding errors are checked in a 1MH code, and only the previous line of that line is replaced and output.
符号化回路、復号回路の両方を有する必要がなくなるた
めに1回路規模が小さくなり、また制御も単純となって
処理時間が短縮できる効果が得られる。Since it is not necessary to have both an encoding circuit and a decoding circuit, the scale of one circuit becomes smaller, and control becomes simpler, resulting in the effect of shortening processing time.
第1図は本発明の一実施例を示すブロック構成図である
。
/・・・人カバツファメモリ、コ・・・匪符号復号回路
。
3・・・出力バッファメモリ、l、j・・・セレクタ、
6゜7・・・囲符号用ラインメモリ
特許出願人 日本電気株式会社FIG. 1 is a block diagram showing one embodiment of the present invention. /... human cover memory, co... 匪 code decoding circuit. 3... Output buffer memory, l, j... Selector,
6゜7...Line memory for enclosing code Patent applicant NEC Corporation
Claims (1)
フマン符号中の復号誤りのチェックを行ない、復号誤り
ラインに対しては前ライン置換を行ない、その結果を再
びモディファイドハフマン符号として出力バッファメモ
リに出力するモディファイドハフマン符号の復号誤り前
ライン置換回路であつて、モディファイドハフマン符号
の復号において信号の結果として原画信号を出力するこ
となくランレングスのみを出力しそのランレングスの加
算を行なつて復号誤りのチェックを行なうモディファイ
ドハフマン符号の復号回路と、1ライン分のモディファ
イドハフマン符号を蓄えるラインメモリで復号中のライ
ンのモディファイドハフマン符号を蓄える第1のライン
メモリと、直前に正しく復号されたラインのモディファ
イドハフフマン符号を蓄えている第2のラインメモリと
、前記復号回路の復号結果により入出力バッファと前記
第1、第2のラインメモリ間の入出力を切替える手段と
を有することを特徴とするモディファイドハフマン符号
の復号誤り前ライン置換回路。A modified Huffman code that checks for decoding errors in the modified Huffman code stored in the input buffer memory, performs previous line replacement on the decoded error line, and outputs the result as a modified Huffman code again to the output buffer memory. A modified Huffman code pre-decoding error line replacement circuit that outputs only run lengths without outputting the original signal as a signal result in decoding a modified Huffman code, and performs addition of the run lengths to check for decoding errors. A Huffman code decoding circuit, a line memory that stores the modified Huffman code for one line, a first line memory that stores the modified Huffman code of the line that is being decoded, and a first line memory that stores the modified Huffman code of the line that was correctly decoded immediately before. and a means for switching input/output between an input/output buffer and the first and second line memories according to the decoding result of the decoding circuit. Front line replacement circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30423487A JPH01144779A (en) | 1987-11-30 | 1987-11-30 | Circuit for substituting line before encoding error for modified huffman code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30423487A JPH01144779A (en) | 1987-11-30 | 1987-11-30 | Circuit for substituting line before encoding error for modified huffman code |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01144779A true JPH01144779A (en) | 1989-06-07 |
Family
ID=17930617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30423487A Pending JPH01144779A (en) | 1987-11-30 | 1987-11-30 | Circuit for substituting line before encoding error for modified huffman code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01144779A (en) |
-
1987
- 1987-11-30 JP JP30423487A patent/JPH01144779A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4809081A (en) | Method and apparatus for decompressing encoded data | |
JPS6338913B2 (en) | ||
US5309450A (en) | Error correction coding method and apparatus for digital image information | |
EP0149893B1 (en) | Apparatus for coding and decoding data | |
EP0746143B1 (en) | A method of and system for compressing and decompressing digital image signals | |
JPS60154776A (en) | Coding and decoding system | |
US5825928A (en) | Decoding apparatus for error concealment considering motion directions of moving images | |
JPH07264417A (en) | Image coding method | |
JPH01144779A (en) | Circuit for substituting line before encoding error for modified huffman code | |
JPS62101173A (en) | Data retransmission system | |
US4716467A (en) | Speed-up method and apparatus for two-dimensional facsimile coding and decoding | |
JPS59111468A (en) | Facsimile device having correcting function of communication error | |
JPH08237652A (en) | Image transmission method and image transmission system | |
JPH01278176A (en) | Picture signal encoding circuit | |
JPH08195953A (en) | Image communication method and apparatus | |
JPH04233375A (en) | Decoding device | |
JPS62230266A (en) | Image data error correction system | |
JPS62199173A (en) | Modified huffman code decoding circuit | |
JPH02305280A (en) | Picture information transmission system | |
JPH02207666A (en) | Facsimile equipment | |
JPH05161019A (en) | Picture data processing system | |
JPS61186073A (en) | Coding processing system | |
JPH05308530A (en) | Facsimile equipment | |
JPH01130671A (en) | Mr decoder | |
JPH08204956A (en) | Image communication method |