JPS59156073A - Data decoding device - Google Patents

Data decoding device

Info

Publication number
JPS59156073A
JPS59156073A JP3117283A JP3117283A JPS59156073A JP S59156073 A JPS59156073 A JP S59156073A JP 3117283 A JP3117283 A JP 3117283A JP 3117283 A JP3117283 A JP 3117283A JP S59156073 A JPS59156073 A JP S59156073A
Authority
JP
Japan
Prior art keywords
code
data
length
output
run
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
JP3117283A
Other languages
Japanese (ja)
Other versions
JPH053185B2 (en
Inventor
Yoshikazu Yokomizo
良和 横溝
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3117283A priority Critical patent/JPS59156073A/en
Priority to CA000447989A priority patent/CA1228925A/en
Priority to DE19843406624 priority patent/DE3406624A1/en
Priority to GB08404879A priority patent/GB2138604B/en
Priority to FR8402961A priority patent/FR2541836B1/en
Publication of JPS59156073A publication Critical patent/JPS59156073A/en
Priority to US07/018,868 priority patent/US4716471A/en
Publication of JPH053185B2 publication Critical patent/JPH053185B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/005Statistical coding, e.g. Huffman, run length coding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • H03M7/42Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory
    • H03M7/425Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory for the decoding process only

Abstract

PURPOSE:To execute decoding of one MH code within one system clock, and to realize a high speed decoder of an MH code by processing a picture signal train encoded by an exclusive hardware with a prescribed number of bits each, to obtain a decoded data. CONSTITUTION:Plural pieces (14 pieces) of tri-state buffers of 13-bits are prepared and constituted so that its input line is connected to a signal line 14 by shifting by one bit each, and the output line is wire ORed to connect. When one piece in its tri-state buffer group is selected, an optional data shift can be executed. A run-length decoding ROM is a converting table constituted so that an MH code becomes an address and a run-length corresponding to it becomes an output data, the run-length of an output of the ROM is counted by a run-length counter 6, and a black or white bit number and a white bit number are outputted. 7 denotes a code length decoding ROM, and the MH code becomes an address. Code length 17 is added to an offset register 9 through an adder group 8.

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は画像ファイル又はファクシミリ装置のデータ復
号装置に関する。特にモディファイド・八ツマン(M−
H)符号によりランレングス符号化されて記憶ないしは
伝送された画像信号の高速復号化に有効である。 従来この種の装置においては復号変換の処理速度が一定
ではなく、従って副走査速度が可変速のプリンタ装置を
必要とする欠点があった。このためもし副走査速度が一
定の高速静電プリンタに出カスる時は−H1ページ分の
バツファメモリニ展開して行なう必要があった。又マイ
クロプロセッサを用いたソフトウェア処理で行なってい
たので、高速化に限界があった。 本発明は高速化を図り1個の符号語に対して数百ナノ秒
程度で変換できる様構成したものである。 又ハードウェアにより構成したものである。また副走査
速度が一定で高速なプリンタ装置に対して直接接続可能
にしたものである。従ってリアルタイムに変換でき、従
来必要であった1ペ一ジ分のバッファメモリを不要にで
きる。よって小容量の画像情報ファイルから速やかなプ
リントアウトが可能となった。 次に図示の実施例にもとづき本発明の詳細な説明する。 第1図は本発明によるMH符号の復号器の概略ブロック
図である。図中1は画面メモリでここにはMH符号化さ
れた画像信号が記憶されている。1として画像ファイル
メモリがある。ここからのデータは24ビツトパラレル
で出力又はその型式に変換すれて出力される。2はリー
ドアドレスカウンタで画面メモリ1のリードアドレスを
与えるためのカウンタである。 6線パラレル・シリアル変換器である。画面メモリ1か
らの出力データ線0′r&は相対速度を上げるために2
4ビツト構成になっている。3は24ビツトのデータを
8ビツトのデータ3個に分割し8ビツト毎にシリアル変
換するためのパラレル・シリアル変換器である。従って
この変換回路6は8ビツトのデータを3回シフトしたら
リードアドレスカウンタ2を1個歩進するための6進カ
ウンタ101(第2図)を含んでいる。従って24ビツ
トをそのままシフトレジスタにより変換することによる
時間遅れを防止できる。 4はトライステート・バッファ群で、シリアル変換され
たデータ14の中から、オフセットレジスタ9の示すオ
フセット値15のデータを先頭とする連続した最大16
個のデータ゛をラン長デコードROM5及びコード長デ
コードROM7に入力するためのものである。ここでオ
フセット値とは8ビツト毎にパラレルシフトされたンリ
アルデータDO””D25のどの位置からMH符号を抜
き取るかを示すデータである。従って具体的には13ビ
ツトのトライステートバッファを複数個(14個)用意
してその入力線は1ビツトずつずらして信号線14に接
続し、出力線はワイヤードオア接続することによって構
成している。そのトライステートバッファ群の中の1個
を選択すれば任意のデータシフト力実行できる。つまり
バッファのトレか1つをコード長毎にイネプルすると1
6ビツト内のフードデータを瞬時に得ることができる0
オフセツト値15をバッファ選択信号線16に変換する
のがオフセットデコーダ10である。従って8ビツト構
成であってもMHの可変調符号を簡単にかつ高速で読取
ることができる。 ラン長デコードROMに入力されたMH符号はここでラ
ン長に変換される。すなわちラン長デコードROMは、
MH符号をアドレスにし、それに対応するラン長を出力
データとする様に構成した変換テーブルである。 ROM出力のラン長はテン長カウンタ6によって、計数
され、黒又は白のビット数、白ビツト数が出ヤリアウト
(RCO)で次のラン長をロードすると共にトグルフリ
ップ7四ツブ16を反転してその出力とカウンタ出力と
により黒ビツト群、白ビツト群が交互に連続したVid
eo信号を得る。 7はコード長デコードROMで、MH符号をアドレスに
し、そのMH符号のコード長を出力データとする様に構
成した変換テーブルである0コート。 長17は加算器群8を介してオフセットレジスタ9に刀
口算される。いま人力G、D及びEが共に
The present invention relates to a data decoding device for image files or facsimile machines. Especially Modified Eight Man (M-
H) It is effective for high-speed decoding of image signals that have been run-length encoded and stored or transmitted. Conventionally, this type of apparatus has the disadvantage that the processing speed of decoding and conversion is not constant, and therefore requires a printer apparatus with a variable sub-scanning speed. For this reason, if a high-speed electrostatic printer with a constant sub-scanning speed is used, it is necessary to expand the buffer memory for -H1 pages. Furthermore, since the process was performed using software using a microprocessor, there was a limit to how high the speed could be increased. The present invention is designed to achieve high speed conversion and to be able to convert one code word in about several hundred nanoseconds. Also, it is configured by hardware. Furthermore, the sub-scanning speed is constant and it is possible to connect directly to a high-speed printer. Therefore, real-time conversion is possible, and the buffer memory for one page, which was conventionally required, can be eliminated. Therefore, it has become possible to quickly print out small-sized image information files. Next, the present invention will be explained in detail based on the illustrated embodiments. FIG. 1 is a schematic block diagram of a decoder for MH codes according to the present invention. In the figure, reference numeral 1 denotes a screen memory in which an MH encoded image signal is stored. 1 is an image file memory. The data from here is output in 24-bit parallel or converted to that format and output. 2 is a read address counter for giving a read address of the screen memory 1; This is a 6-wire parallel/serial converter. The output data line 0'r& from screen memory 1 is connected to 2 to increase the relative speed.
It has a 4-bit configuration. 3 is a parallel-to-serial converter for dividing 24-bit data into three 8-bit data and serially converting each 8-bit data. Therefore, this conversion circuit 6 includes a hexadecimal counter 101 (FIG. 2) for incrementing the read address counter 2 by one after shifting 8-bit data three times. Therefore, it is possible to prevent a time delay caused by converting 24 bits as they are using a shift register. 4 is a tri-state buffer group, which stores up to 16 consecutive pieces of data from the serially converted data 14, starting with the data with the offset value 15 indicated by the offset register 9.
This is for inputting data into the run length decode ROM 5 and code length decode ROM 7. Here, the offset value is data indicating from which position the MH code is extracted from the real data DO""D25 that has been parallel-shifted every 8 bits. Therefore, specifically, a plurality of 13-bit tri-state buffers (14) are prepared, the input lines of which are shifted by 1 bit and connected to the signal line 14, and the output lines are configured by wired-OR connection. . By selecting one of the tri-state buffers, any data shift can be performed. In other words, if you pull one of the buffers for each chord length, it will be 1
0 that allows you to instantly obtain food data within 6 bits
An offset decoder 10 converts the offset value 15 into a buffer selection signal line 16. Therefore, even with an 8-bit configuration, the MH variable key code can be read easily and at high speed. The MH code input to the run length decoding ROM is converted into a run length here. In other words, the run length decode ROM is
This is a conversion table configured so that the MH code is used as an address and the corresponding run length is used as output data. The run length of the ROM output is counted by the ten length counter 6, and when the number of black or white bits and the number of white bits are output, the next run length is loaded at the output (RCO) and the toggle flip 7 is inverted. A Vid in which black bit groups and white bit groups are alternately successive is generated by that output and the counter output.
Get the eo signal. 7 is a code length decoding ROM, which is a 0 code which is a conversion table configured so that an MH code is used as an address and the code length of the MH code is used as output data. The length 17 is added to the offset register 9 via the adder group 8. Now human power G, D and E are together

〔0〕の時は
、もとのオフセット値15が加算器群80八入力に入り
、コード長17がB入力に入って(・るので、オフセッ
トレジスタにクロックが印刀lされると新たなオフセッ
ト値15は、 新たなオフセット値2元のオフセット値+コード長とな
る。この値は今デコードしたMH符号の次のMH符号の
先頭オフセット値を与える。つまり前にデコードされた
MHの符号長分だけシフトした所のデータが読めて次の
M)Iが判断できる。この様にして長さが一定でないM
H符号のデコードが次々に行なえる訳である。 ところでパラレルシリアル変換器乙の長さはM限である
から、補正が必要である。これはオフセット値15が〔
8〕を越えた場合にコンパレータ11で判定してパラレ
ルシリアル変換器6を8ビツト歩進すると共に加算器群
8のE入力に〔−8〕を印加する。この場合のオフセッ
ト値は 新たなオフセット値二元のオフセット値十コード長−8
となってデータが8ビツトシフトすると共にオフセット
値も同じたけシフトするがらデータとオフセット値の相
対位置は不変である08ビット歩進は前述の如くバッフ
ァ、デコーダ、6進カウンタで行ない、3進カクンタが
〔2〕になる毎にメモリを読出す。従ってオフセットレ
ジスタ9から見fcシリアルデータ14は無限に長いシ
リアルデータであるかの様に見える。 EOL符号(1ライン終了を示す同期信号)については
専用のデコーダでデコードする。すなわちF、OLデコ
ーダ群12であり、これは後述の如く前述バッファ群4
と同様16ケのPALで構成し、1ビツトづつシフトし
たシリアルデータをデコードし、どれかのPALがEO
Lを検出すると13人カオアゲートによりEOI、、を
出力する。EOLデコーダ群のどれかがEOL信号をデ
コードした時にはEOL検出信号線18がHルーベルに
なりトグル7リツプフpツブ16をリセットすると共に
加算器群8の入力のうちA、B及びEを無視してC及び
Dのみ加算出力する様にする。CにはEOL符号の符号
長である〔12〕が、またDにはEOL符号が検出され
たオフセット値19が印加される。 この結果オフセット値15の値は次の様になる。 新たなオフセット値二EOLデコーダ詳のオフセラ1(
li+12EQL符号だけ専用のハードウェアでデコー
ドするのは誤動作があつ之場合にエラーをその行だけで
食い止め全画面にエラーが波及するのを防止するためで
ある。もしエラーがなければ加算器群8の入力はEOL
検出時は、BとCは当然等しく、またDはAとEの和に
等しくなる。 ることかできる。 次に第2図を用いて詳細に説明する。 第1図と共通の構成要素には同一の番号を付与しである
。画面メモリ(図示せず)からの出力(1ワード24ビ
ツト)を一旦Dラッチ100でラッチする。ラッチする
タイミングは6進カウンタ101のリプルキャリアウド
がHiになりかつコンパレータ11のA>B出力がHi
Kなった時である。 ラッチされたデータDo””D23を8ビツトづつ分は
トライステートバッファ102,103 及ヒ104を
介シてDラッチ105にワイヤードオアで入力されてい
る。Dラッチ105,106及び107により8ピツト
パラレル、バイトシリアルの形でパラレル・シリアル変
換される。よってバッファ108,109・・・に紘各
々DO”” D? −s Di〜D8・―・が格納され
る。シリアル変換された出力DO””’D23の内トラ
イステート・バッファ群4で任意の連続した8ビツトが
選択される。たとえばトライ・ステート・バッファ11
0力選択されればD2〜D、がラン長デコー)” RO
M5及びフード長デコードROM側に伝達される。 八 MH符号のコード長は最大13であるから本来このトラ
イステート−バッファ群は16ビツト長のものが必要だ
がMH符号の特徴により先頭の連続した1個、4個また
は5個の′攻”を別の回路でデコードする事により8ビ
ツトに節約できる。112が先頭の連続した′\”をデ
コードするためのPALである。PALはプログラマブ
ル・アレー−ロジックの略で米国モノリシック・メモリ
ーズ社の商標である。ここにたとえばPAL18L4と
いうデバイスを2個用いて表1に示す様な論理でプログ
ラムすればオフセットレジスタ9からのオフセット値の
示す先頭アドレスから\が1個もなければ\、少なくと
も\が1個ある時は1、\が4個ある時は2、\が5個
ある時は6なる零ビツト判定出力信号を出力する。この
値はデータセレクタ116に入力されかつ、2つのRO
Mに2つのアドレス選択データとして入力される。デー
タセレp I 113は零ビツト判定信号をもとに2進
数(0)、(1)。 〔4〕及び〔5〕を選択して出力する。データセレクタ
116の出力は加算器114でオフセット値と加算され
てオフセットデコーダ10に印加される。 従ってトライステート7277群4の中から選択される
バッファは、データセレクタ113の出力値分だけさら
にシフトした所から、例えば\が1つの時は右へ1つバ
ッファをとばしたバッファから連続して8個のデータを
出力する。 バッファ群4からのシフト出力によるコード長の蓄積が
8を超えるとオフセットレジスタ9の出力が8を越える
のでコン7(レータ11がそれを判断して変換回路3を
作動する0つまりラッチ105〜107が8ビツト上に
シフトする0従って例えばラッチ10701〜8ビツト
が)くツ7ア108の1〜8ビツト目に、又107の2
〜8とラッチ106の1テイるので、例えば10番目の
Aツ77データと同じものが2番目のバッファに格納さ
れる0ラン長ROM5に書き込まれた数値は、アドレス
線にランレングス符号をデータ線にラン長を割り当てて
いる。AIOに黒/白信号入力を、A8〜9に零ビツト
判定信号を、A、〜7にMH符号を1人力する。表2に
ラン長デコードROMとコード長デコードE(OMのプ
ログラム例を示す。メークアップコードのラン長は64
の倍数なのでROMにはラン長を64で割った値を書い
ておき、6ビツトシフト回路115で後で64倍して正
確なラン長を得る。つまり6ビツト上位シフトし、下位
6ビツトにOをセットして出力するOR0Mの08をメ
ークアップ・コード/ターミネイト・コード(63以下
のラン長)判定信号出力(M/T )に当てて(・る0
メークアツプコードが出力された時はインノ(−タラ1
6.ゲート117によってトグル・プリンタ・フロップ
16を反転させない0EOL符号では1白”にリセット
する0この様にしてランレングスROMの容量を少なく
できる0 コード長は加算器118でオフセット値と加算される。 その値は通常はA側が選択されているデータセレクタ1
19及び加算器120を介してオフセットレジスタ9に
印加されている。データセレクタ121は通常は
When it is [0], the original offset value of 15 enters the adder group 808 input, and the code length of 17 enters the B input (.), so when the clock is stamped in the offset register, a new The offset value 15 is the offset value of the new offset value 2 + code length. This value gives the start offset value of the MH code next to the MH code just decoded. In other words, the code length of the previously decoded MH The data shifted by the amount can be read and the next M)I can be determined. In this way, the length is not constant
This means that H codes can be decoded one after another. By the way, since the length of the parallel-serial converter B is limited to M, correction is necessary. This means that the offset value 15 is [
8], it is determined by the comparator 11, and the parallel-to-serial converter 6 is incremented by 8 bits, and [-8] is applied to the E input of the adder group 8. In this case, the offset value is the new offset value binary offset value 10 code length - 8
As the data is shifted by 8 bits, the offset value is also shifted by the same amount, but the relative position of the data and the offset value remains unchanged.As mentioned above, the 8-bit increment is performed by the buffer, decoder, and hexadecimal counter, and the ternary counter is [2] Read the memory every time. Therefore, when viewed from the offset register 9, the fc serial data 14 appears to be infinitely long serial data. The EOL code (synchronization signal indicating the end of one line) is decoded by a dedicated decoder. That is, the F, OL decoder group 12, which is the buffer group 4 mentioned above, as described later.
It is composed of 16 PALs, and decodes serial data shifted one bit at a time, and one of the PALs is EO.
When L is detected, EOI is outputted by the 13-person Chaor Gate. When any of the EOL decoders decodes the EOL signal, the EOL detection signal line 18 becomes H level, resets the toggle 7 lip flop 16, and ignores A, B, and E among the inputs of the adder group 8. Only C and D are added and output. The code length of the EOL code [12] is applied to C, and the offset value 19 at which the EOL code is detected is applied to D. As a result, the value of offset value 15 is as follows. New offset value 2 EOL decoder details offset 1 (
The reason why only the li+12EQL code is decoded by dedicated hardware is to prevent the error from spreading to the entire screen in the event of a malfunction by limiting the error to that line only. If there is no error, the input of adder group 8 is EOL
At the time of detection, B and C are naturally equal, and D is equal to the sum of A and E. I can do that. Next, a detailed explanation will be given using FIG. 2. Components common to those in FIG. 1 are given the same numbers. The output (1 word, 24 bits) from the screen memory (not shown) is once latched by the D latch 100. The timing to latch is when the ripple carrier voltage of the hexadecimal counter 101 becomes Hi and the A>B output of the comparator 11 becomes Hi.
That's when I became K. Eight bits of the latched data Do""D23 are input to the D latch 105 via tristate buffers 102, 103 and 104 in a wired OR manner. D latches 105, 106 and 107 perform parallel-to-serial conversion in the form of 8-pit parallel and byte serial. Therefore, buffers 108, 109, etc. are each DO”” D? -s Di~D8... are stored. Of the serially converted output DO""'D23, arbitrary consecutive 8 bits are selected in the tri-state buffer group 4. For example, tri-state buffer 11
If 0 force is selected, D2 to D are run length decoding)” RO
It is transmitted to M5 and the hood length decode ROM side. Since the maximum code length of the 8MH code is 13, this tri-state buffer group should originally be 16 bits long, but due to the characteristics of the MH code, it is possible to By decoding with another circuit, it can be saved to 8 bits. 112 is a PAL for decoding the leading consecutive '\'. PAL is an abbreviation for Programmable Array Logic and is a trademark of Monolithic Memories, Inc. of the United States. For example, if you use two PAL18L4 devices and program with the logic shown in Table 1, if there is no \ from the start address indicated by the offset value from offset register 9, then if there is at least one \, then outputs a zero bit determination output signal which is 1 when there are 4 \, 2 when there are 5 \, and 6 when there are 5 \. This value is input to the data selector 116 and the two RO
M is input as two address selection data. The data select p I 113 generates binary numbers (0) and (1) based on the zero bit determination signal. Select [4] and [5] and output. The output of the data selector 116 is added to an offset value by an adder 114 and applied to the offset decoder 10. Therefore, the buffer selected from the tri-state 7277 group 4 will be 8 consecutive buffers from the buffer further shifted by the output value of the data selector 113, for example, when \ is one, from the buffer shifted one buffer to the right. output data. When the accumulated code length due to the shift output from the buffer group 4 exceeds 8, the output of the offset register 9 exceeds 8, so the converter 7 (later 11 determines this and operates the conversion circuit 3) Shifts up 8 bits 0 Therefore, for example, the latches 10701 to 8 bits)
~8 and latch 106, for example, the same data as the 10th A77 data is stored in the second buffer.0 The numerical value written in the run length ROM5 is the data with the run length code on the address line. Assigning run lengths to lines. One person inputs the black/white signal input to AIO, the zero bit judgment signal to A8-9, and the MH code to A-7. Table 2 shows program examples for the run length decoding ROM and code length decoding E (OM).The run length of the makeup code is 64.
Since it is a multiple of , the value obtained by dividing the run length by 64 is written in the ROM, and later multiplied by 64 in the 6-bit shift circuit 115 to obtain the accurate run length. In other words, shift 6 bits upwards, set O to the lower 6 bits, and apply 08 of OR0M to the makeup code/termination code (run length of 63 or less) judgment signal output (M/T). Ru0
When the make-up code is output, Inno (- Tara 1
6. Toggle printer flop 16 is not inverted by gate 117. EOL code is reset to 1 white. In this way, the capacity of the run length ROM can be reduced. The code length is added to the offset value in adder 118. The value is data selector 1, where side A is usually selected.
19 and an adder 120 to the offset register 9. The data selector 121 is normally

〔0〕
を選択していて、コン7くレータ11がオフセット値の
8より大なるを検出したる時に、〔−8〕を選択する。 従って加算器120により118による過去の蓄積を8
だけ減する。同時にゲート122を開きラッチ105,
106及び107の値を8ビツトシフトする。また6進
カウンタを1個歩進し、その結果リグルキャリーアクト
が出ればリードアドレスカウンタ2を歩進する。 124〜127はECIL符号デコー ド用のPALで
ある。たとえばPALi6L<5を用いて次の様な論理
をプログジムする事によってEOL符号がデコードでき
る。 E−/ AOH/ AI H/ A2 γ/ A’3 
w′−a 11 @・” ” f’ / AIOH/ 
Aii H/ A12128はどのPALがEQL符号
をデコードしたかを判定して出力するデコーダである0
EOLが検出されるとエンコーダ12BによりとのPA
Lで発生したかを判定しそこからEOLの分だけオフセ
ット出力をジャンプする様エンコーダ4の出力に〔12
〕を加えて119を介しオフセット出力を再セットする
。 尚ゼロのラン長に対応する方法として本発明は2ワ一ド
程度のFi−FQバッファを必要とするが後号器のクロ
ックを2倍にする事によりこのバッファを不要とするこ
とができる。 又本発明はメ七I)等からのB、G−、R又LY。 M、Cのカラー画像符号化データをカラー別に復号する
ことにも応用できる。 以上説明したように、本例によるMH符号の復号器は1
個のMH符号のデコードを1システムクロック以内にデ
コードする事が可能なのできわめて高速なMH符号の復
号器が実現できる。従って画素が圧縮格納された電子フ
ァイルと高速プリンタとの一対応が可能となる。 又MH符号のデコードに関しては本来は16ビツト長の
信号線を見てデコードしなければならないが、本例では
零の連続するコードを分割してデコードする事により、
主デコーダは8ビツト長の信号線を見るだけで可能とな
り、従って変換用ROMは低価格なものですむ。 又本例は、エラーデータが全画面に与える悪影響を防止
することができる。
[0]
is selected, and when the converter 11 detects an offset value greater than 8, select [-8]. Therefore, the adder 120 increases the past accumulation by 118 to 8
decrease only. At the same time, open the gate 122 and latch 105,
Shift the values of 106 and 107 by 8 bits. Further, the hexadecimal counter is incremented by one, and if a ripple carry act occurs as a result, the read address counter 2 is incremented. 124 to 127 are PALs for decoding ECIL codes. For example, the EOL code can be decoded by programming the following logic using PALi6L<5. E-/ AOH/ AI H/ A2 γ/ A'3
w'-a 11 @・” ” f’ / AIOH/
Aii H/A12128 is a decoder that determines which PAL has decoded the EQL code and outputs it.
When EOL is detected, the encoder 12B outputs the PA
The output of encoder 4 is set to [12
] and reset the offset output via 119. As a method for dealing with a run length of zero, the present invention requires a Fi-FQ buffer of about 2 words, but this buffer can be made unnecessary by doubling the clock of the post-coder. The present invention also provides B, G-, R or LY from Me7I), etc. It can also be applied to decoding M and C color image encoded data for each color. As explained above, the MH code decoder according to this example has 1
Since it is possible to decode several MH codes within one system clock, an extremely high-speed MH code decoder can be realized. Therefore, it becomes possible to correspond an electronic file in which pixels are compressed and stored with a high-speed printer. In addition, when decoding an MH code, originally it is necessary to decode by looking at a 16-bit long signal line, but in this example, by dividing and decoding the code with consecutive zeros,
The main decoder can be implemented by simply looking at an 8-bit long signal line, so the conversion ROM can be of low cost. Furthermore, this example can prevent the adverse effect of error data on the entire screen.

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

Claims (1)

【特許請求の範囲】[Claims] (1)符号化された画像信号を復号する装置においビ て、符号化された画像信号列を所定ヘット数づつ処理す
ることにより復号データを得ることをずつシフトするパ
ラレル・シリアル変換回路と、そのシリアルデータ列の
任意の位置から連続したビットのデータを引き出すゲー
ト回路と、その引き出されたデータがらラン長とコード
長を算出するための記憶手段と、そのラン長を加算記憶
するためのレジスタと、そのレジスタの値によって前記
ビットデータを引き出す位置を制御するfコ−7回路と
、前記レジスタの1直カ所定値を越えた時に前記パラレ
ル・シリアル変換回路を複数ビットシフトすると共にそ
のレジスタの値を複数域する事を特徴とするデータ復号
装置。
(1) In a device that decodes an encoded image signal, a parallel-to-serial conversion circuit that shifts the decoded data by processing the encoded image signal sequence in units of a predetermined number of heads; A gate circuit that extracts consecutive bits of data from an arbitrary position in a serial data string, a storage means for calculating a run length and a code length from the extracted data, and a register for adding and storing the run length. , an fco-7 circuit that controls the position from which the bit data is extracted according to the value of the register, and an fco-7 circuit that shifts the parallel-to-serial converter circuit by a plurality of bits when the value of the register exceeds a predetermined value, and changes the value of the register. A data decoding device characterized by multiple areas.
JP3117283A 1983-02-25 1983-02-25 Data decoding device Granted JPS59156073A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP3117283A JPS59156073A (en) 1983-02-25 1983-02-25 Data decoding device
CA000447989A CA1228925A (en) 1983-02-25 1984-02-22 Data decoding apparatus
DE19843406624 DE3406624A1 (en) 1983-02-25 1984-02-23 DATA DECODING DEVICE
GB08404879A GB2138604B (en) 1983-02-25 1984-02-24 Data decoding
FR8402961A FR2541836B1 (en) 1983-02-25 1984-02-27 DATA DECODING APPARATUS AND COMPRESSED DATA PROCESSING DEVICE
US07/018,868 US4716471A (en) 1983-02-25 1987-02-25 Data decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3117283A JPS59156073A (en) 1983-02-25 1983-02-25 Data decoding device

Publications (2)

Publication Number Publication Date
JPS59156073A true JPS59156073A (en) 1984-09-05
JPH053185B2 JPH053185B2 (en) 1993-01-14

Family

ID=12324019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3117283A Granted JPS59156073A (en) 1983-02-25 1983-02-25 Data decoding device

Country Status (1)

Country Link
JP (1) JPS59156073A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59224977A (en) * 1983-05-16 1984-12-17 Fujitsu Ltd Run length code converting system
JPS6343473A (en) * 1986-08-11 1988-02-24 Nec Corp Modified huffman code decoding circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5579565A (en) * 1978-12-12 1980-06-16 Fujitsu Ltd Picture signal decoding system
JPS5723363A (en) * 1980-05-13 1982-02-06 Eiemu Intern Inc Method and device for compressing expanding facsimile transmission system data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5579565A (en) * 1978-12-12 1980-06-16 Fujitsu Ltd Picture signal decoding system
JPS5723363A (en) * 1980-05-13 1982-02-06 Eiemu Intern Inc Method and device for compressing expanding facsimile transmission system data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59224977A (en) * 1983-05-16 1984-12-17 Fujitsu Ltd Run length code converting system
JPH031868B2 (en) * 1983-05-16 1991-01-11 Fujitsu Ltd
JPS6343473A (en) * 1986-08-11 1988-02-24 Nec Corp Modified huffman code decoding circuit

Also Published As

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

Similar Documents

Publication Publication Date Title
US4360840A (en) Real time data compression/decompression scheme for facsimile transmission system
US4716471A (en) Data decoding apparatus
JPS59178077A (en) Method for compressing data of binary picture
JPS60140982A (en) Method and device for detecting digital code word
JP2962518B2 (en) Image data encoding device
JPH0460391B2 (en)
US4955061A (en) Method and apparatus for processing an image signal
JPS59156073A (en) Data decoding device
JPS59156075A (en) Data decoding device
KR100276768B1 (en) Changed Pixel Detector for Encoding Image Data
JPH053186B2 (en)
JPH04270569A (en) Data compression system for picture processor
JP2536489B2 (en) Compressed data decoding device
JPS60117879A (en) Fill bit eliminating circuit
JPS60194671A (en) Run length encoding device
JPS60253372A (en) Picture signal coding system
JP2536490B2 (en) Run-length encoding device
JPH0352055Y2 (en)
JPH0432586B2 (en)
JPS59218072A (en) Picture processing device
JPS614371A (en) Picture image converting circuit
JPS6174458A (en) Facsimile code decoding circuit
JPH04213222A (en) Decoding circuit for unequal length code data
JPS6141466B2 (en)
JPS60100874A (en) Picture processor