JPH0795693B2 - Encoding / decoding device - Google Patents

Encoding / decoding device

Info

Publication number
JPH0795693B2
JPH0795693B2 JP3311910A JP31191091A JPH0795693B2 JP H0795693 B2 JPH0795693 B2 JP H0795693B2 JP 3311910 A JP3311910 A JP 3311910A JP 31191091 A JP31191091 A JP 31191091A JP H0795693 B2 JPH0795693 B2 JP H0795693B2
Authority
JP
Japan
Prior art keywords
order
symbol
pattern
predicted value
prediction
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 - Fee Related
Application number
JP3311910A
Other languages
Japanese (ja)
Other versions
JPH0567978A (en
Inventor
孝義 瀬政
誠 松本
幸保 川畑
智広 木村
文孝 小野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to US07/871,083 priority Critical patent/US5313204A/en
Priority to DE69224546T priority patent/DE69224546T2/en
Priority to EP92106926A priority patent/EP0510627B1/en
Publication of JPH0567978A publication Critical patent/JPH0567978A/en
Publication of JPH0795693B2 publication Critical patent/JPH0795693B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、符号化・復号化装置、
特に画像情報などの符号化・復号化装置に関する。
The present invention relates to an encoding / decoding device,
In particular, it relates to a coding / decoding device for image information and the like.

【0002】[0002]

【従来の技術】マルコフ情報源の符号化においては、情
報源の出力シンボル系列に対し、既に符号化済みのシン
ボルである参照シンボルにより符号化対象シンボルを予
測し、その予測誤差信号を参照シンボルパターンにより
予測的中率に応じて各予測誤差信号をいくつかの群に分
類し、それぞれに適した符号を用いて符号化が行われて
いる。ここで以下この予測誤差信号の作成のことを予測
変換、群に分類することを統合、群の識別子のことを次
数と呼ぶ。また、符号化されるべき予測誤差信号のこと
を予測誤差シンボルと呼ぶことにする。
2. Description of the Related Art In coding a Markov information source, a target symbol to be coded is predicted from a reference symbol which has already been coded for an output symbol sequence of the information source, and the prediction error signal is used as a reference symbol pattern. Thus, each prediction error signal is classified into several groups according to the predictive predictive value, and coding is performed using a code suitable for each. Here, the generation of this prediction error signal is called prediction conversion, the classification into groups is called integration, and the group identifier is called order. Further, the prediction error signal to be encoded will be called a prediction error symbol.

【0003】この予測変換および次数選択方法として
は、情報源の統計的性質の局所的変化に対応するため、
適応処理を行う技術が(特願平1−127134号)に
開示されている。予測誤差シンボルの符号化手法につい
ては、減算型算術符号化法が、IBM研究開発情報19
88年11月、第32巻第6号(IBM Journa
l ofReserch and Developme
nt,Vol.32,No.6,Nov.1988)の
「Q−コーダ対応2元演算符号器の基礎的原理の概観」
(An overview of the basic
principleof the Q−Coder
adaptive−binary arith−met
ic coder)や(特開平2−202267号公
報)などに開示されている。これらはシンボル系列を数
直線上で0.0から1.0までの間に写像し、その座標
を符号語として符号化する数直線表示符号化方式の一種
で、生起したシンボルに応じて数直線を分割する際に、
加減算のみで行うものである。
This predictive conversion and order selection method is to cope with local changes in the statistical properties of the information source.
A technique for performing adaptive processing is disclosed in Japanese Patent Application No. 1-127134. As for the coding method of the prediction error symbol, the subtraction type arithmetic coding method is described in IBM Research and Development Information 19
Vol. 32, No. 6, November 1988 (IBM Journal
l ofResearch and Development
nt, Vol. 32, No. 6, Nov. 1988) "Overview of the basic principle of a binary arithmetic encoder for Q-coder".
(An overview of the basic
princicle of the Q-Coder
adaptive-binary arith-met
ic coder) and (JP-A-2-202267). These are a kind of number line display coding method that maps a symbol sequence between 0.0 and 1.0 on the number line and encodes the coordinates as a code word. When splitting
It is performed only by addition and subtraction.

【0004】以下、図25に従って従来の技術による予
測変換、統合および符号化の過程を説明する。簡単のた
め、情報源は2値画像信号とし、参照シンボルは図26
の12画素、統合数は16とする。
The process of predictive conversion, integration and encoding according to the conventional technique will be described below with reference to FIG. For simplicity, the information source is a binary image signal and the reference symbol is shown in FIG.
12 pixels, and the integrated number is 16.

【0005】図25で、1は情報源シンボル101の系
列から参照シンボルを選択出力する参照シンボル作成
器、2はこの出力である参照シンボルパターン102よ
り対象シンボルの次数103と予測値104を出力する
次数・予測値メモリ、3は予測値104をもとに予測誤
差シンボル105を作成する予測変換器、4は次数10
3をもとに算術符号の領域幅106を出力する領域幅テ
ーブル、5は算術符号器、6は次数・予測値メモリ2の
読み出しと更新を制御する次数・予測値制御回路であ
る。ここで、参照シンボル数を12としたことより、次
数・予測値テーブル(メモリ2の内容)は図29に示す
様に212種必要となる。次数値については統合を16の
群としたことからこれを識別するものとなる。ここでは
予測的中率の高い程次数が高いものとする。
In FIG. 25, reference numeral 1 is a reference symbol generator which selectively outputs a reference symbol from a sequence of information source symbols 101, and 2 is a reference symbol pattern 102 which is an output thereof, and outputs the degree 103 and the predicted value 104 of the target symbol. Order / predicted value memory, 3 is a predictive converter that creates a prediction error symbol 105 based on the predicted value 104, and 4 is an order 10
An area width table for outputting the area width 106 of the arithmetic code based on 3, 5 is an arithmetic encoder, and 6 is an order / predicted value control circuit for controlling reading and updating of the order / predicted value memory 2. Here, since the number of reference symbols is set to 12, 212 kinds of order / predicted value tables (contents of the memory 2) are required as shown in FIG. Regarding the order value, the integration is made into 16 groups, and therefore this is identified. Here, the higher the predictive predictive ratio, the higher the order.

【0006】次に図25についてその動作を説明する。
情報源から発生したシンボル101(画像信号)は参照
シンボル作成器1でその系列が記憶されると共に、図2
6に示す12画素の信号が選択されて参照シンボルパタ
ーン102として出力される。次数・予測値メモリ2で
はこれを基に図11に示すテーブル内容から対象シンボ
ルの予測値104と次数103が出力され、次数103
情報は図28に示す領域テーブル4で領域幅106とし
て変換出力される。
Next, the operation will be described with reference to FIG.
The symbol 101 (image signal) generated from the information source is stored in the reference symbol generator 1 and its sequence is stored.
The signal of 12 pixels shown in 6 is selected and output as the reference symbol pattern 102. Based on this, the order / predicted value memory 2 outputs the predicted value 104 and the order 103 of the target symbol from the table contents shown in FIG.
The information is converted and output as the area width 106 in the area table 4 shown in FIG.

【0007】一方、発生シンボル101は予測変換器3
で予測値104と排他的論理和がとられ予測誤差シンボ
ル105が作成される。この予測誤差シンボルは符号化
対象が2値画像信号であるため、予測一致の場合に0
(MPS:More Probable Symbo
l)、不一致の場合に1(LPS:Less Prob
able Symbol)となる。
On the other hand, the generated symbol 101 is the prediction converter 3
The prediction error symbol 105 is created by exclusive ORing with the prediction value 104. Since this prediction error symbol is a binary image signal to be encoded, it is 0 when the prediction matches.
(MPS: More Probeable Symbol
l), 1 if there is no match (LPS: Less Prob
Able Symbol).

【0008】算術符号器5では領域幅106信号を基
に、予測誤差シンボル105を数直線上に写像してゆき
符号化が実行される。すなわち、予測誤差シンボル系列
において第i番目のシンボルをai 、第i時点でのLP
Sの写像範囲(割当領域)をSとすると、第i時点出の
シンボル系列の写像範囲(有効領域)Aiとその下界値
座標Ciは、シンボルai がMPSのとき、MPS領域
を有効領域の下側に取るとすれば、 Ai=Ai- 1 − S Ci=Ci- 1 シンボルai がLPSのとき Ai=S Ci=Ci- 1 + (Ai- 1 − S) とする。
In the arithmetic encoder 5, the prediction error symbol 105 is mapped on a number line based on the region width 106 signal, and coding is executed. That is, in the prediction error symbol sequence, the i-th symbol is ai, and the LP at the i-th time point is
When the mapping range (allocation area) of S is S, the mapping range (effective area) Ai of the symbol sequence at the i-th time point and its lower bound coordinate Ci are such that when the symbol ai is MPS, the MPS area is below the effective area. If it is taken to the side, Ai = Ai-1-S Ci = Ci-1 When the symbol ai is LPS, Ai = S Ci = Ci-1 + (Ai-1-S).

【0009】ここで有効領域Aiが1/2以下になった
場合には、演算精度を上げるため2のべき乗倍する。こ
のとき座標Ciのオーバーフロー(小数点以上の部分)
分が符号ビット系列として出力される。以下このべき乗
処理を正規化と呼ぶ。 Ai更新値=Ai*2m (1/2<Ai更新値≦1) Ci更新値=Ci*2m
Here, when the effective area Ai becomes 1/2 or less, it is multiplied by a power of 2 in order to improve the calculation accuracy. At this time, overflow of coordinates Ci (portion above the decimal point)
Minutes are output as a code bit sequence. Hereinafter, this exponentiation process is called normalization. Ai update value = Ai * 2m (1/2 <Ai update value ≦ 1) Ci update value = Ci * 2m

【0010】算術符号においては、SをLPSの出現確
率(=予測誤り確率)とすることで、情報源エントロピ
に極めて近い高効率の符号化ができることが知られてい
る。よって、次数に対応した予測的中率に適したS値を
選択することで上記処理により算術符号化を行うことが
できる。図28は次数と領域幅Sとの対応表の一例であ
る。表中の値は、上記式中の数値を216倍したものを記
してある。
In the arithmetic code, it is known that high efficiency coding extremely close to the information source entropy can be performed by setting S to the appearance probability (= prediction error probability) of LPS. Therefore, arithmetic coding can be performed by the above processing by selecting an S value suitable for the predictive predictive value corresponding to the order. FIG. 28 is an example of a correspondence table of the degree and the area width S. The values in the table are those obtained by multiplying the numerical values in the above formula by 2 @ 16.

【0011】次に予測および統合の適応処理について説
明する。次数・予測値制御回路6は予測変換器3の出力
シンボル系列から連続するMPSとLPSの数を計数
し、例えばk個MPSを検出した時及び1個LPSを検
出した時点で次に示す手順で次数・予測値テーブルメモ
リ2の内容を書き換える。なお、kやlの値については
各次数に応じ、次数・予測値制御回路6に事前に設定さ
れているものである。
Next, the adaptive processing of prediction and integration will be described. The order / predicted value control circuit 6 counts the number of consecutive MPSs and LPSs from the output symbol sequence of the predictive converter 3, and, for example, when k MPSs are detected and one LPS is detected, the procedure is as follows. The contents of the order / predicted value table memory 2 are rewritten. The values of k and l are preset in the order / predicted value control circuit 6 according to each order.

【0012】1個のLPSを検出した場合 次数・予測値テーブルメモリ2において、その時の参照
シンボルパターンに対応する次数の値を1だけ減算す
る。これは、当該参照シンボル状態に於ける予測が外れ
たため、予測の的中度を示す次数を下げることによっ
て、現在の符号化対象となっている情報源に対し、次数
・予測値を適応させる動作である。次数が最低次数に達
しそれ以上次数を減じることが出来なくなると、予測値
を反転させる。この動作により的中率が極端に悪い予測
値は書き換えられる。
When one LPS is detected, the order / predicted value table memory 2 subtracts 1 from the order value corresponding to the reference symbol pattern at that time. This is an operation for adapting the order / predicted value to the information source currently being coded by lowering the order indicating the accuracy of the prediction because the prediction in the reference symbol state is wrong. Is. When the order reaches the lowest order and the order cannot be reduced any more, the predicted value is inverted. By this operation, the predicted value with extremely bad hit rate is rewritten.

【0013】k個のMPSを検出した場合 次数・予測値テーブルメモリ2において、その時の参照
シンボルパターンに対応する次数の値を1だけ加算す
る。これは、当該参照シンボル状態に於ける予測が的中
したため、予測の的中度を示す次数を上げることによっ
て、現在の符号化対象となっている情報源に対し、次数
・予測値を適応させる動作である。次数がすでに最高次
数に達している場合には加算は実行されない。この動作
により予測が極めてよく的中する場合には、次数を上げ
ることによりS値が小さくなり、算術符号器5から出力
される符号量を抑えることができる。
When k MPSs are detected, the order / predicted value table memory 2 adds 1 to the order value corresponding to the reference symbol pattern at that time. This is because the prediction in the reference symbol state is correct, so by increasing the order indicating the accuracy of the prediction, the order / predicted value is adapted to the information source currently being encoded. It is an action. If the degree has already reached the highest degree, no addition is performed. When the prediction is extremely accurate by this operation, the S value is reduced by increasing the order, and the code amount output from the arithmetic encoder 5 can be suppressed.

【0014】以上の動作により次数・予測値制御回路6
は、情報源の性質に追従して次数・予測値テーブルを書
き換えてゆき、高い符号化効率による算術符号化が実現
できる。
By the above operation, the order / predicted value control circuit 6
Can rewrite the order / predicted value table according to the property of the information source, and realize the arithmetic coding with high coding efficiency.

【0015】[0015]

【発明が解決しようとする課題】しかしながらこの従来
の装置に於いては、次数・予測値メモリ2は、容量(上
記実施例では212x5bit)の点から、汎用のRAM
を使用せざるを得ない。一方、上記説明で明らかなよう
にマルコフモデルに基づく算術符号化では、1シンボル
毎に参照シンボルパターンの作成と、次数・予測値メモ
リ2の検索、数直線の領域計算を行うため、これにより
標準的なA4判原稿を水平8画素/mm、垂直7.7l
ine/mmの解像度で符号化する場合1.3秒程度
と、MMR符号化等他の符号化方式に基づく符号化・復
号化装置に比べ、処理速度が大幅に大きなものとなって
いる。
However, in this conventional device, the order / prediction value memory 2 is a general-purpose RAM because of its capacity (212 × 5 bits in the above embodiment).
I have no choice but to use. On the other hand, as is apparent from the above description, in the arithmetic coding based on the Markov model, the reference symbol pattern is created for each symbol, the order / predicted value memory 2 is searched, and the area of the number line is calculated. A4 size original document is 8 pixels / mm horizontally and 7.7 l vertically
In the case of encoding with a resolution of ine / mm, it is about 1.3 seconds, which is significantly higher in processing speed than an encoding / decoding device based on another encoding method such as MMR encoding.

【0016】この発明は上記のような問題点を解消する
ためになされたもので、特定の参照シンボルパターンに
対する次数・予測値メモリを高速アクセス可能とするこ
とにより大幅な処理高速化が可能な符号化装置及び復号
化装置を得ることを目的にしている。
The present invention has been made in order to solve the above problems, and a code capable of significantly increasing the processing speed by making the order / prediction value memory for a specific reference symbol pattern accessible at high speed. The purpose is to obtain an encryption device and a decoding device.

【0017】また、他の発明は上記のような問題点を解
消するためになされたもので、次のシンボルに対する次
数・予測値テーブルの検索と当該シンボルに対する数直
線の領域計算を並行して行わせることにより大幅な処理
高速化が可能な符号化装置及び復号化装置を得ることを
目的にしている。
Another invention has been made in order to solve the above-mentioned problems, and the search of the order / prediction value table for the next symbol and the area calculation of the number line for the symbol are performed in parallel. By doing so, it is an object to obtain an encoding device and a decoding device that can significantly speed up the processing.

【0018】更に、他の発明は上記のような問題点を解
消するためになされたもので、特定の参照シンボルパタ
ーンが連続する場合には、数直線の領域計算を一括処理
とすることにより大幅な処理高速化が可能な符号化装置
及び復号化装置を得ることを目的にしている。
Further, another invention has been made to solve the above-mentioned problems, and when a specific reference symbol pattern is continuous, it is possible to significantly calculate the area of the number line by batch processing. An object of the present invention is to obtain an encoding device and a decoding device capable of various processing speed increases.

【0019】[0019]

【課題を解決するための手段】請求項1及び請求項2の
発明に係る符号化装置は、参照シンボルのパターンに対
応して、上記符号化対象シンボルの予測値と予測一致率
に基づく識別子である次数とを記憶するメモリと、参照
シンボルのパターンが特定のパターンであることを検出
する検出器と、前記特定のパターンに対する予測値と次
数を記憶するレジスタと、前記検出器出力に基づき、前
記メモリとレジスタ出力を選択する選択器と、この選択
器より出力された予測値・次数情報を基に符号化対象シ
ンボルを符号化する算術符号化手段と、上記符号化対象
シンボルを予測一致しているか否かを判定する判定手段
と、その判定結果に基づいて該参照シンボルパターンに
対する予測値および次数を書き換える次数・予測値制御
回路とを備えたものである。
According to a first aspect of the present invention, there is provided an encoding device, which uses an identifier based on a prediction value of a symbol to be coded and a prediction matching rate, corresponding to a pattern of reference symbols. A memory that stores a certain order, a detector that detects that the pattern of the reference symbol is a specific pattern, a register that stores a predicted value and the order for the specific pattern, and a detector output based on the detector output. A selector for selecting the memory and the register output, an arithmetic coding means for coding the encoding target symbol based on the prediction value / order information output from this selector, and the above-mentioned encoding target symbol for predictive matching. A determination means for determining whether or not there is a determination value; and an order / prediction value control circuit for rewriting the prediction value and the order for the reference symbol pattern based on the determination result. It is.

【0020】請求項3及び請求項4の発明に係る復号化
装置は、参照シンボルのパターンに対応して上記復合化
対象シンボルの予測値と予測一致率に基づく識別子であ
る次数とを記憶するメモリと、参照シンボルのパターン
が特定のパターンであることを検出する検出器と、前記
特定のパターンに対する予測値と次数を記憶するレジス
タと、前記検出器出力に基づき、前記メモリとレジスタ
出力を選択する選択器と、この選択器より出力された予
測値・次数情報を基に符号ビット系列を復合化する算術
復合化手段と、上記復合化対象シンボルが予測一致して
いるか否かを判定する判定手段と、その決定結果に基づ
いて該参照シンボルパターンに対する予測値および次数
を書き換える次数・予測値制御回路とを備えたものであ
る。
A decoding device according to the inventions of claims 3 and 4 stores a memory for storing a predicted value of the decoding target symbol and an order which is an identifier based on a predicted matching rate, corresponding to a pattern of a reference symbol. A detector that detects that the pattern of the reference symbol is a specific pattern, a register that stores the predicted value and order for the specific pattern, and the memory and the register output based on the detector output. A selector, an arithmetic decoding means for decoding the code bit sequence based on the predicted value / order information output from the selector, and a judging means for judging whether or not the decoding target symbols are predictively matched. And an order / predicted value control circuit that rewrites the predicted value and the order for the reference symbol pattern based on the determination result.

【0021】請求項5の発明に係る符号化装置は、参照
シンボルのパターンに対応して上記符号化対象シンボル
の予測値と予測一致率に基づく識別子である次数とを記
憶するメモリと、このメモリから読み出された当該符号
化対象シンボルの予測値および次数を記憶する次数・予
測値レジスタと、上記符号化対象シンボルが予測一致し
ているか否かを判定する判定手段と、その判定結果に基
づいて該参照シンボルパターンにおける前記メモリの予
測値及び次数を書き換える次数・予測値制御回路と、上
記符号化対象シンボルに対する参照シンボルパターンと
直前のシンボルに対する参照シンボルパターンの比較結
果に従って、上記次数・予測値レジスタの内容を更新す
る検出器と、上記次数・予測値レジスタに記憶された予
測値・次数情報をもとに符号化対象シンボルを符号化す
る算術符号化手段とを備えたものである。
According to a fifth aspect of the present invention, there is provided an encoding device, which stores a predicted value of the symbol to be coded and an order which is an identifier based on a predicted matching rate in correspondence with a pattern of a reference symbol, and the memory. Order / prediction value register for storing the predicted value and order of the target symbol to be encoded read from, determination means for determining whether or not the target symbol to be encoded matches prediction, and based on the determination result Order / predicted value control circuit for rewriting the predicted value and order of the memory in the reference symbol pattern, and the order / predicted value according to the comparison result of the reference symbol pattern for the symbol to be coded and the reference symbol pattern for the immediately preceding symbol. The detector that updates the contents of the register and the predicted value / order information stored in the above order / predicted value register Those having a arithmetic coding means for coding the coding target symbol and.

【0022】請求項6の発明に係る符号化装置は、参照
シンボルのパターンに対応して上記符号化対象シンボル
の予測値と予測一致率によって基づく識別子である次数
とを記憶するメモリと、上記符号化対象シンボルが予測
一致しているか否かを判定する判定手段と、その判定結
果に基づいて該参照シンボルパターンにおける前記メモ
リの予測値及び次数を書き換える次数・予測値制御回路
と、直前の符号化対象シンボルに対する書き換え後予測
値および次数を記憶するレジスタと、上記符号化対象シ
ンボルに対する参照シンボルパターンと直前のシンボル
に対する参照シンボルパターンの比較結果に従って、上
記メモリからの次数・予測値または、上記直前の符号化
対象シンボルに対する予測値および次数を記憶するレジ
スタの何れかを選択する選択器と、この選択器出力をも
とに、符号化対象シンボルを符号化する算術符号化手段
とを備えたものである。
According to a sixth aspect of the present invention, there is provided a coding device, which stores a predicted value of the coding target symbol and an order which is an identifier based on a predicted matching rate in correspondence with a pattern of a reference symbol, and the code. Determination means for determining whether or not the symbol to be coded is predictively matched, an order / predicted value control circuit for rewriting the predicted value and order of the memory in the reference symbol pattern based on the result of the determination, and immediately preceding encoding According to the result of comparison between the register for storing the predicted value and the order after rewriting for the target symbol and the reference symbol pattern for the above-mentioned symbol to be coded and the reference symbol pattern for the immediately preceding symbol, the order / predicted value from the memory or the immediately preceding Select one of the registers that store the predicted value and order for the symbol to be coded. A selector for, on the basis of the selector output, is obtained by a arithmetic coding means for coding the coding target symbol.

【0023】請求項7及び請求項8の発明に係る復号化
装置は、参照シンボルのパターンに対応して上記復合化
対象シンボルの予測値と予測一致率に基づく識別子であ
る次数とを記憶し、複数の参照シンボルパターンに対応
した予測値および次数を並列に出力するメモリと、複数
個の参照シンボルパターンに対するメモリ出力のうちの
1組の予測値および次数を選択出力する選択器と、この
選択された次数・予測値を基に符号化ビット系列を復号
化する算術復号化手段と、上記メモリの出力を記憶する
レジスタと、上記復号化対象シンボルが予測一致してい
るか否かを判定する判定手段と、その判定結果に基づい
て該参照シンボルパターンに対する予測値および次数を
書き換える次数・予測値制御回路と、上記復号化対象シ
ンボルに対する参照シンボルパターンと直前のシンボル
に対する参照シンボルパターンの比較結果に従って、上
記次数・予測値レジスタの内容を更新する検出器とを備
えたものである。
Decoding devices according to the inventions of claim 7 and claim 8 store the predicted value of the decoding target symbol and the order which is an identifier based on the predicted matching rate, corresponding to the pattern of the reference symbol, A memory for outputting in parallel predicted values and orders corresponding to a plurality of reference symbol patterns, and a selector for selectively outputting a set of predicted values and orders among memory outputs for a plurality of reference symbol patterns. Arithmetic decoding means for decoding the coded bit sequence based on the order / prediction value, a register for storing the output of the memory, and a judgment means for judging whether or not the decoding target symbols are predictively matched. And an order / prediction value control circuit that rewrites the prediction value and the order for the reference symbol pattern based on the determination result, and the reference for the decoding target symbol. According to the comparison result of the reference symbol pattern for the symbol pattern and the previous symbol, in which a detector to update the contents of the degree and predicted value register.

【0024】請求項7及び請求項9の発明に係る復号化
装置は、参照シンボルのパターンに対応して上記復合化
対象シンボルの予測値と予測一致率に基づく識別子であ
る次数とを記憶し、複数の参照シンボルパターンに対応
した予測値および次数を並列に出力するメモリと、複数
個の参照シンボルパターンに対するメモリ出力のうちの
1組の予測値および次数を選択出力する選択器と、この
選択された次数・予測値を基に符号化ビット系列を復号
化する算術復号化手段と、上記復合化対象シンボルが予
測一致しているか否かを判定する判定手段と、その決定
結果に基づいて該参照シンボルパターンに対する予測値
および次数を書き換える次数・予測値制御回路と、直前
の復号化対象シンボルに対する書き換え後の予測値およ
び次数を記憶するレジスタと、復号化対象シンボルに対
する参照シンボルパターンと直前のシンボルに対する参
照シンボルパターンが一致するか否かを検出する検出器
と、この検出器出力に基づき、上記選択器により選択さ
れた次数・予測値または、上記直前の復号化対象シンボ
ルに対する予測値および次数を記憶するレジスタからの
次数・予測値の何れかを選択する第2の選択器とを備え
たものである。
Decoding devices according to the inventions of claims 7 and 9 store the predicted value of the decoding target symbol and the order which is an identifier based on the predicted matching rate, corresponding to the pattern of the reference symbol, A memory for outputting in parallel predicted values and orders corresponding to a plurality of reference symbol patterns, and a selector for selectively outputting a set of predicted values and orders among memory outputs for a plurality of reference symbol patterns. Arithmetic decoding means for decoding the coded bit sequence based on the degree / predicted value, determination means for determining whether or not the decoding target symbols are predictively matched, and the reference based on the determination result An order / prediction value control circuit that rewrites a prediction value and an order for a symbol pattern, and a prediction value and an order after rewriting for the immediately preceding decoding target symbol are stored. A detector, a detector that detects whether or not the reference symbol pattern for the symbol to be decoded matches the reference symbol pattern for the immediately preceding symbol, and the order / predicted value selected by the above selector based on the detector output. Alternatively, it is provided with a second selector that selects either the order / predicted value from the register that stores the predicted value and the order for the immediately preceding decoding target symbol.

【0025】請求項10及び請求項11の発明に係る符
号化装置は、参照シンボルのパターンに対応して、上記
符号化対象シンボルの予測値と予測一致率に基づく識別
子である次数とを記憶するメモリと、連続する複数個の
符号化対象シンボルに対する参照シンボルのパターンが
全て特定のパターンであり且つ全ての符号化対象シンボ
ルが予測一致することを検出する検出器と、上記検出器
出力を基に、上記メモリに記憶された予測値・次数情報
により符号化対象シンボルを1シンボルずつ符号化する
か、あるいは上記複数個の符号化対象シンボルを一括し
て符号化するかの処理を切り替えて動作する算術符号化
手段と、上記符号化対象シンボルを予測一致しているか
否かを判定する判定手段と、その決定結果に基づいて該
参照シンボルパターンにおける前記メモリの予測値及び
次数を書き換える次数・予測値制御回路とを備えたもの
である。
The encoding apparatus according to the inventions of claims 10 and 11 stores the predicted value of the symbol to be coded and the order which is an identifier based on the predictive matching rate, corresponding to the pattern of the reference symbol. Based on the output of the detector, a memory, a detector for detecting that the patterns of reference symbols for a plurality of continuous encoding target symbols are all specific patterns, and all the encoding target symbols predictively match each other. , The encoding target symbols are encoded one symbol at a time according to the prediction value / order information stored in the memory, or the plurality of encoding target symbols are collectively encoded to operate. Arithmetic encoding means, determination means for determining whether or not the encoding target symbols predictively match, and the reference symbol pattern based on the determination result. Those having a degree and predicted value controller for rewriting the predicted value and the order of the memory in the emissions.

【0026】請求項12及び請求項13の発明に係る復
号化装置は、参照シンボルのパターンに対応して復号化
対象シンボルの予測値と予測一致率に基づく識別子であ
る次数とを記憶するメモリと、連続する複数個の復号化
対象シンボルが予測一致すると仮定した場合には該複数
個の復号化対象シンボルに対する参照シンボルのパター
ンが全て特定のパターンであることを検出する検出器
と、上記検出器出力を基に、上記メモリに記憶された予
測値・次数情報により符号化対象シンボルを1シンボル
ずつ符号化するか、あるいは上記複数個の復号化対象シ
ンボルを一括して復号化するかの処理を切り替えて動作
する算術復号化手段と、上記復号化対象シンボルを予測
一致しているか否かを判定する判定手段と、その決定結
果に基づいて該参照シンボルパターンに対する予測値お
よび次数を書き換える次数・予測値制御回路とを備えた
ものである。
A decoding device according to the invention of claim 12 and claim 13 includes a memory for storing a predicted value of a symbol to be decoded and an order which is an identifier based on a predicted matching rate, corresponding to a pattern of reference symbols. A detector for detecting that all the reference symbol patterns for the plurality of decoding target symbols are specific patterns when it is assumed that a plurality of consecutive decoding target symbols are predictively matched; Based on the output, a process of encoding one symbol for each symbol to be encoded according to the prediction value / order information stored in the memory or collectively decoding the plurality of symbols to be decoded An arithmetic decoding unit that operates by switching, a determination unit that determines whether or not the decoding target symbol predictively matches, and the reference based on the determination result. Those having a degree and predicted value controller for rewriting the predicted value and degree for emissions Bol pattern.

【0027】[0027]

【作用】請求項1及び請求項2の発明によれば、参照シ
ンボルのパターンが特定のパターンにある場合には次数
・予測値の読みだし及び更新に前記レジスタ出力を選択
し、それ以外のパターンではメモリからの出力信号を選
択してい用いることで符号化速度が向上する。
According to the inventions of claims 1 and 2, when the pattern of the reference symbol is in a specific pattern, the register output is selected for reading and updating the order / predicted value, and other patterns Then, the coding speed is improved by selecting and using the output signal from the memory.

【0028】請求項3および請求項4の発明によれば、
参照シンボルのパターンが特定のパターンにある場合に
は次数・予測値の読みだし及び更新に前記レジスタ出力
を選択し、それ以外のパターンではメモリからの出力信
号を選択してい用いることで復号化速度が向上する。
According to the inventions of claims 3 and 4,
When the reference symbol pattern is in a specific pattern, the register output is selected for reading and updating the order / predicted value, and for other patterns, the output signal from the memory is selected and used for decoding speed. Is improved.

【0029】請求項5の発明によれば、符号化処理に用
いる予測値及び次数として、符号化対象シンボルに対す
る参照シンボルパターンと直前のシンボルに対する参照
シンボルとの比較結果に従って、次数・予測値レジスタ
の内容を更新した後、更新後の予測値・次数情報をもと
に符号化対象シンボルを符号化することで符号化速度が
向上する。
According to the fifth aspect of the present invention, the predicted value and the order used in the encoding process are stored in the order / predicted value register according to the result of comparison between the reference symbol pattern for the symbol to be coded and the reference symbol for the immediately preceding symbol. After updating the content, the encoding speed is improved by encoding the encoding target symbol based on the updated prediction value / order information.

【0030】請求項6の発明によれば、符号化処理に用
いる予測値及び次数として、符号化対象シンボルに対す
る参照シンボルパターンと直前のシンボルに対する参照
シンボルとが一致しているか否かにより、直前の符号化
対象シンボルに対する、書き換え処理後の予測値及び次
数ないしは、メモリからの出力信号をそれぞれ選択して
用いることで符号化速度が向上する。
According to the sixth aspect of the present invention, the prediction value and the order used in the encoding process depend on whether or not the reference symbol pattern for the symbol to be encoded and the reference symbol for the immediately preceding symbol match. The coding speed is improved by selecting and using the predicted value after the rewriting process and the order or the output signal from the memory for the symbol to be coded.

【0031】請求項7及び請求項8の発明によれば、復
号化処理に用いる予測値及び次数として、復号化対象シ
ンボルに対する参照シンボルのパターンと直前のシンボ
ルに対する参照シンボルとが一致しているか否かによ
り、直前の復号化対象シンボルに対する、書き換え処理
後の予測値及び次数ないしは、メモリからの出力信号を
それぞれ選択して用いることで復号化速度が向上する。
According to the seventh and eighth aspects of the present invention, whether the pattern of the reference symbol for the symbol to be decoded and the reference symbol for the immediately preceding symbol match as the predicted value and order used in the decoding process. Accordingly, the decoding speed is improved by selecting and using the predicted value and the order after the rewriting process or the output signal from the memory for the immediately preceding symbol to be decoded.

【0032】請求項7及び請求項9の発明によれば、復
号化処理に用いる予測値及び次数号として、復号化対象
シンボルに対する参照シンボルのパターンと直前のシン
ボルに対する参照シンボルとが一致しているか否かによ
り、選択器により選択された次数・予測値または直前の
復号化対象シンボルに対する書き換え処理後の予測値及
び次数ないしは、次数・予測値を記憶するレジスタから
の出力信号をそれぞれ選択して用いることで復号化速度
が向上する。
According to the inventions of claims 7 and 9, whether the pattern of the reference symbol for the symbol to be decoded and the reference symbol for the immediately preceding symbol match as the predicted value and order used in the decoding process. Depending on whether or not the order / prediction value selected by the selector or the rewrite processing prediction value and the order or the output signal from the register for storing the order / prediction value for the immediately preceding decoding target symbol are selected and used, respectively. This improves the decoding speed.

【0033】請求項10及び請求項11の発明によれ
ば、連続する複数個の符号化対象シンボルに対する参照
シンボルのパターンが特定のパターンにある場合には、
上記算術符号器において、複数個のシンボルに対する算
術演算を一括して行うことで符号化速度が向上する。
According to the tenth and eleventh aspects of the invention, when the reference symbol pattern for a plurality of consecutive symbols to be encoded is a specific pattern,
In the arithmetic encoder, the encoding speed is improved by collectively performing the arithmetic operation on a plurality of symbols.

【0034】請求項12及び請求項13の発明によれ
ば、連続する複数個の復号化対象シンボルに対する参照
シンボルのパターンが特定のパターンにある場合には、
上記算術符号器において複数個のシンボルに対する算術
演算を一括して行うことで復号化速度が向上する。
According to the twelfth and thirteenth aspects of the invention, when the reference symbol pattern for a plurality of consecutive decoding target symbols is a specific pattern,
The decoding speed is improved by collectively performing arithmetic operations on a plurality of symbols in the arithmetic encoder.

【0035】[0035]

【実施例】以下、第1の発明を図示実施例に基づいて説
明する。図1は本発明の一実施例の符号化装置を示すも
ので、図1において、図25の従来の符号化装置との相
違点は、参照シンボルパターン102から図26の12
画素全てが0(白画素)か否かを検出する検出器7と、
12画素全てが0の時の次数および予測値を記憶するレ
ジスタ8と、12画素全てが0か否かに応じてメモリ2
とレジスタ8の出力およびこれらへの書き込み用更新信
号を切り替える選択器9が付加されたことである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The first invention will be described below with reference to illustrated embodiments. FIG. 1 shows an encoding apparatus according to an embodiment of the present invention. In FIG. 1, the difference from the conventional encoding apparatus of FIG. 25 is that reference symbol patterns 102 to 12 of FIG.
A detector 7 for detecting whether all the pixels are 0 (white pixels),
A register 8 that stores an order and a predicted value when all 12 pixels are 0, and a memory 2 depending on whether all 12 pixels are 0
And that the selector 9 for switching the output of the register 8 and the update signal for writing to these is added.

【0036】図2は、算術符号器5の内部構成を示すブ
ロック構成図で、図において、5aは数直線上の有効領
域Aiを記憶するAレジスタ、5bはMPS領域幅11
7を計算する減算器、5cは下界値座標118を記憶す
るCレジスタ、5dはLPSの場合のCレジスタ値11
9を計算する加算器、5eはCレジスタのオーバーフロ
ー(シフトアウト)信号であるキャリ出力120を一時
記憶してCレジスタ5c更新時に桁上がりの処理を行う
とともに、記憶した符号ビットの内容が連続した8個の
“1”になった場合には最下位ビットの下から“0”を
挿入して以後の桁上がり処理の影響をこの挿入“0”以
下に抑える処理(以後ビットスタッフ処理と呼ぶ)を行
うための符号レジスタ、5fはこの算術符号器5の動き
を制御するタイミング制御回路である。
FIG. 2 is a block diagram showing the internal structure of the arithmetic encoder 5. In the figure, 5a is an A register for storing the effective area Ai on the number line, and 5b is an MPS area width 11
7 is a subtracter, 5c is a C register for storing the lower bound coordinate 118, and 5d is a C register value for LPS 11
The adder 5e for calculating 9 temporarily stores the carry output 120 which is the overflow (shift-out) signal of the C register, carries out a carry when updating the C register 5c, and the stored contents of the sign bit are continuous. When the number of eight "1" s is reached, a process of inserting "0" from the bottom of the least significant bit to suppress the effect of the carry process after that to the insertion "0" or less (hereinafter referred to as bit stuffing process). A code register 5f for performing the above is a timing control circuit for controlling the movement of the arithmetic encoder 5.

【0037】次に、本実施例の動作について説明する。
図3、図4は本実施例の動作例を示すタイミング図であ
る。説明を容易にするため、まず図3に示す参照シンボ
ルパターン102が全て“0”ではない場合と全て
“0”の場合を分けて個別に説明する。
Next, the operation of this embodiment will be described.
3 and 4 are timing charts showing an operation example of this embodiment. For ease of explanation, first, the case where the reference symbol patterns 102 shown in FIG. 3 are not all "0" and the case where they are all "0" will be described separately.

【0038】まず、参照シンボルパターン102が全て
“0”ではない場合は、予測対象シンボルが情報源シン
ボル101として本符号化装置に入力されると、参照シ
ンボル作成器1に於いてすでに処理済みの図26に示す
12画素の参照画素の信号が出力102され、検出器7
において全て“0”ではないことが判定される。選択器
9ではこれを受け、次数・予測値メモリ2から読み出し
た当該参照シンボルパターンに於ける出力信号を領域幅
テーブル4及び予測変換器3に出力する。ここで、本実
施例では次数・予測値メモリ2の読み出し処理は10M
HZのシステムクロック2周期分200nsecとして
いる。
First, when all the reference symbol patterns 102 are not "0", when the prediction target symbol is input to the present coding apparatus as the information source symbol 101, it is already processed in the reference symbol generator 1. The signal of the reference pixel of 12 pixels shown in FIG.
It is determined that all are not “0”. The selector 9 receives this and outputs the output signal in the reference symbol pattern read from the order / prediction value memory 2 to the region width table 4 and the prediction converter 3. Here, in this embodiment, the reading process of the order / predicted value memory 2 is 10M.
Two HZ system clock cycles are set to 200 nsec.

【0039】次数信号112は、領域幅テーブル4で図
28に示す領域幅信号106に変換され、予測値信号1
13は予測変換器3で当該情報源シンボル101と排他
的論理和演算が施され予測誤差シンボル105が作成さ
れる。この後、上記の有効領域Ai・下界値座標Ciの
演算と次数・予測値の更新が下記の様に行われる。 (1)正規化および次数・予測値の更新がない場合(図
3 #1)上記領域と座標の演算をシステムクロック1
周期で実行される。 (2)正規化があり、次数・予測値の更新がないばあい
(図3 #2)正規化を除く領域・座標計算処理がシス
テムクロック1周期で、正規化がmクロックで実行され
る。 (3)正規化がなく、次数・予測値の更新がある場合
(図3 #3)領域と座標の演算をシステムクロック1
周期で行った後、次数・予測値メモリ2の内容を更新す
る。メモリ更新はシステムクロック2周期で行う。 (4)正規化と次数・予測値の更新がある場合(図3
#4)正規化を除く領域・座標計算処理をシステムクロ
ック1周期で行った後、mクロックで正規化を行うとと
もに次数・予測値メモリ2の更新を平行して行う。なお
このとき次のシンボルの処理は正規化およびメモリ2の
更新がともに終了してから行う。
The order signal 112 is converted by the area width table 4 into the area width signal 106 shown in FIG.
Reference numeral 13 is a prediction converter 3 which performs an exclusive OR operation on the information source symbol 101 to generate a prediction error symbol 105. After that, the calculation of the effective area Ai and the lower bound coordinate Ci and the update of the order / predicted value are performed as follows. (1) When normalization and order / prediction value updating is not performed (# 1 in FIG. 3)
It is executed in a cycle. (2) If there is normalization and there is no update of order / prediction value (# 2 in FIG. 3), the area / coordinate calculation processing other than normalization is executed in one cycle of the system clock, and normalization is executed in m clocks. (3) When there is no normalization and there is an update of order / predicted value (# 3 in FIG. 3)
After the cycle, the contents of the order / predicted value memory 2 are updated. The memory is updated in two system clock cycles. (4) When there is normalization and updating of order / predicted value (Fig. 3
# 4) After the area / coordinate calculation processing excluding the normalization is performed in one cycle of the system clock, the normalization is performed in m clocks and the order / predicted value memory 2 is updated in parallel. At this time, the processing of the next symbol is performed after both the normalization and the update of the memory 2 are completed.

【0040】ここで、LPSとMPSの判定を含む領域
計算および座標計算の制御は、予測誤差シンボル105
およびAレジスタ出力116のMSB信号を元に算術符
号器5のタイミング制御回路5fで行われ、次数・予測
値メモリ2の更新制御は次数・予測値制御回路6で行わ
れる。
Here, the control of the area calculation and the coordinate calculation including the determination of LPS and MPS is performed by the prediction error symbol 105.
Further, based on the MSB signal of the A register output 116, the timing control circuit 5f of the arithmetic encoder 5 performs the update control of the order / predicted value memory 2 by the order / predicted value control circuit 6.

【0041】符号レジスタ5eに於いては桁上がり処理
は、上記(正規化を除く)領域・座標計算に平行して処
理が行われる。正規化時は内部のレジスタのシフトと共
に8ビット目からの桁上がりが符号107として出力さ
れる。この時、8ビットの内部レジスタの全ビットが
“1”の場合はタイミング制御回路5fに対しビットス
タッフ信号122が送られ、正規化クロック121が一
時停止されると共にシステムクロック1周期を使って内
部レジスタの1ビットシフト(LSBシフトイン信号は
“0”とされる)が行われる。
In the sign register 5e, the carry process is performed in parallel with the above-mentioned (excluding normalization) area / coordinate calculation. At the time of normalization, the carry from the 8th bit is output as code 107 along with the shift of the internal register. At this time, when all the bits of the 8-bit internal register are "1", the bit stuff signal 122 is sent to the timing control circuit 5f, the normalized clock 121 is temporarily stopped, and the system clock 1 cycle is used to perform the internal operation. 1-bit shift of the register (LSB shift-in signal is set to "0") is performed.

【0042】参照シンボルパターン102が全て“0”
の場合は、選択器9において次数および予測値信号とし
て次数・予測値メモリ2の出力の代わりに次数・予測値
レジスタ8の出力が選択される。この処理は選択器9に
於ける遅延(10nsec以下)のみ考慮すれば良いた
め、次数・予測値の読み出しのための特別のサイクルは
不要になる。また、次数・予測値の更新についても、シ
ステムクロック1サイクルで可能である。そこで参照シ
ンボルパターン102がすべて“0”の場合の処理は図
4の様になる。
All reference symbol patterns 102 are "0".
In this case, the selector 9 selects the output of the order / predicted value register 8 instead of the output of the order / predicted value memory 2 as the order and predicted value signal. Since only the delay (10 nsec or less) in the selector 9 needs to be taken into consideration in this process, a special cycle for reading the order / predicted value becomes unnecessary. Further, the update of the order / predicted value is possible in one system clock cycle. Therefore, the processing when the reference symbol patterns 102 are all "0" is as shown in FIG.

【0043】上記では、参照シンボルパターン102を
全て“0”あるいはそれ以外の場合を別々に説明した
が、実際の画像信号符号化では、これらは混在して起こ
る。このため、動作タイミングとしては、図3と図4の
各ケースを組み合わせた形となる。
In the above, the case where all of the reference symbol patterns 102 are "0" or other cases are explained separately, but in the actual image signal coding, these occur in a mixed manner. Therefore, the operation timing is a combination of the cases of FIGS. 3 and 4.

【0044】以上の説明より明らかなように本実施例に
於ける符号化処理時間Tは、参照シンボルパターンが全
て“0”以外のシンボル数をNa、全て“0”のシンボ
ル数をNb、符号ビット数をNcとすると、 T=200*Na+100*(Na+Nb)+100*
Nc+100*α (nsec) となる。ここでαは、次数・予測値の更新の際に、更新
処理が正規化処理終了時点で完了しない場合の追加(正
規化処理がない場合は更新に必要な)所要クロック数で
ある。
As is apparent from the above description, in the encoding processing time T in this embodiment, the number of symbols other than "0" for all reference symbol patterns is Na, the number of symbols for all "0" is Nb, and the code is If the number of bits is Nc, T = 200 * Na + 100 * (Na + Nb) + 100 *
It becomes Nc + 100 * α (nsec). Here, α is the number of clocks required for addition (required for updating when there is no normalization processing) when the update processing is not completed at the end of the normalization processing when updating the order / predicted value.

【0045】そこで、標準的な解像度水平8画素/m
m、垂直7.7ライン/mmのA4判原稿として、参照
シンボルパターンが全て“0”の割合を2/3、圧縮率
を30と仮定すると Na=1728*2376*(1/3) Nb=1728*2736*(2/3) Nc=1728*2736*(1/30) となり、符号化処理時間Tは約0.7秒となる。ここ
で、次数・予測値の更新は、全シンボルの1/50から
1/200程度であるため、αの影響は無視した。
Therefore, the standard resolution is horizontal 8 pixels / m.
Assuming that the ratio of all reference symbol patterns to be “0” is 2/3 and the compression ratio is 30 for an A4 size document of m, vertical 7.7 lines / mm, Na = 1728 * 2376 * (1/3) Nb = 1728 * 2736 * (2/3) Nc = 1728 * 2736 * (1/30), and the encoding processing time T becomes about 0.7 seconds. Here, since the update of the order / predicted value is about 1/50 to 1/200 of all symbols, the influence of α is ignored.

【0046】一方、従来の技術による符号化装置では上
記式で Na=1728*2376 Nb=0 Nc=1728*2736*(1/30) とすれば、符号化処理時間Tは約1.25秒となり、本
発明により符号化処理速度の大幅な向上が実現できるこ
とが分かる。
On the other hand, in the conventional coding apparatus, if Na = 1728 * 2376 Nb = 0 Nc = 1728 * 2736 * (1/30) in the above equation, the coding processing time T is about 1.25 seconds. Therefore, it can be seen that the present invention can realize a significant improvement in the encoding processing speed.

【0047】次に図5はこの第2の発明の一実施例であ
る復号化装置のブロック構成を示している。図で、10
は符号ビット系列107より領域幅信号106を基に予
測誤差シンボル105を再生する算術復号器、11はこ
の予測誤差シンボル105と予測値113との排他的論
理和演算を行って情報源シンボル101を再生する予測
逆変換器で、他の部分は図1の実施例と同一の回路であ
る。
Next, FIG. 5 shows a block configuration of a decoding device according to an embodiment of the second invention. In the figure, 10
Is an arithmetic decoder that reproduces the prediction error symbol 105 from the code bit sequence 107 based on the region width signal 106, and 11 performs an exclusive OR operation of the prediction error symbol 105 and the prediction value 113 to obtain the information source symbol 101. This is a predictive inverse converter for reproduction, and the other part is the same circuit as the embodiment of FIG.

【0048】図6はこの算術復号器10の内部構成を示
すブロック構成図で、10aは数直線上の有効領域Ai
を記憶するAレジスタ、10bはMPS領域幅117を
計算する減算器、10cは下界値座標を記憶するレジス
タ、10dはLPSの場合のCレジスタ値119を計算
する減算器、10eは符号ビット系列107を一時記憶
し正規化シフトクロック122に応じて内部の9ビット
レジスタの最上位信号をCレジスタに送ると共に、記憶
した符号ビットの下位8ビットの内容が連続した8個の
“1”になった場合には符号ビット系列107から1ビ
ット入力して内部9ビットレジスタの最下位の位置で加
算を行うことにより符号器において挿入されたビットス
タッフ信号を削除するスタッフビット除去処理を行うた
めの符号レジスタ、10fはこの算術復号器10の動き
を制御するタイミング制御回路である。
FIG. 6 is a block diagram showing the internal structure of the arithmetic decoder 10. 10a is an effective area Ai on the number line.
A is a register for storing the MPS area width 117, 10c is a register for storing the lower bound coordinates, 10d is a subtracter for calculating the C register value 119 in the case of LPS, and 10e is a sign bit sequence 107. Is stored temporarily, and the most significant signal of the internal 9-bit register is sent to the C register in accordance with the normalized shift clock 122, and the contents of the lower 8 bits of the stored sign bit become eight consecutive "1" s. In this case, a code register for inputting 1 bit from the code bit sequence 107 and performing addition at the lowest position of the internal 9-bit register to perform stuff bit removal processing for deleting the bit stuff signal inserted in the encoder. 10f is a timing control circuit for controlling the movement of the arithmetic decoder 10.

【0049】次に本実施例の動作について説明する。算
術符号の復号化においては、Cレジスタの内容である相
対座標をCi、第i番目の予測誤差シンボルai 時点で
のLPSの領域幅をSとすると、 Ci−1 < (Ai- 1 − S)ならばai はMPS Ai=Ai- 1 − S Ci=Ci- 1 Ci−1≧(Ai- 1 − S)ならばai はLPS Ai=S Ci=Ci- 1(Ai- 1 − S) とする。
Next, the operation of this embodiment will be described. In the decoding of the arithmetic code, if the relative coordinates that are the contents of the C register are Ci and the area width of the LPS at the time of the i-th prediction error symbol ai is S, then Ci-1 <(Ai-1 -S) Then, ai is MPS Ai = Ai-1-S Ci = Ci-1 Ci-1 ≧ (Ai-1-S), and if ai is LPS Ai = S Ci = Ci-1 (Ai-1-S) .

【0050】ここで有効領域Aiが1/2以下になった
場合には、演算精度を上げるために正規化処理として2
のべき乗倍する。このときCiの最下位ビットから符号
レジスタ10eからキャリ入力信号123を入力する。 Ai更新値=Ai*2m (1/2Ai更新値≦1) Ci更新値=Ci*2m
If the effective area Ai becomes 1/2 or less, the normalization process is performed to increase the calculation accuracy to 2
To the power of. At this time, the carry input signal 123 is input from the code register 10e from the least significant bit of Ci. Ai update value = Ai * 2m (1 / 2Ai update value ≦ 1) Ci update value = Ci * 2m

【0051】図7、図8は本実施例の動作例を示すタイ
ミング図で、図7は参照シンボルパターン102が全て
“0”ではない場合を、図8は全て“0”の場合を示
す。参照シンボルパターン102の作成、次数・予測値
の作成および更新動作は図1の実施例と同一である。
7 and 8 are timing charts showing an operation example of the present embodiment. FIG. 7 shows a case where the reference symbol patterns 102 are not all "0", and FIG. 8 shows a case where they are all "0". The operations of creating the reference symbol pattern 102, creating and updating the order / predicted value are the same as those in the embodiment of FIG.

【0052】予測誤差シンボルai の再生および有効領
域Ai、相対座標Ciの演算については、まずタイミン
グ制御回路10fにおいて上記の様にCi- 1と(Ai
- 1−S)の比較が行われてシンボルai が(MPSあ
るいはLPS)決定され、これに基づきAiとCiが計
算されてAレジスタ10aおよびCレジスタ10cに設
定される。この一連の処理はシステムクロック1周期で
行われる。
Regarding the reproduction of the prediction error symbol ai and the calculation of the effective area Ai and the relative coordinates Ci, first, in the timing control circuit 10f, as described above, Ci-1 and (Ai
-1-S) is performed to determine the symbol ai (MPS or LPS), based on which Ai and Ci are calculated and set in the A register 10a and the C register 10c. This series of processing is performed in one cycle of the system clock.

【0053】この演算の結果、有効領域Aiが1/2未
満になる場合上記正規化の処理がmクロックで行われ
る。このとき、符号レジスタ10eにおいて記憶した符
号ビットの下位8ビットの内容が連続した8個の“1”
になった場合には正規化クロック121が一時停止され
るとともに符号ビット系列107から1ビット入力して
内部9ビットレジスタの最下位の位置で加算が行われ
る。
As a result of this calculation, when the effective area Ai is less than 1/2, the above normalization processing is performed in m clocks. At this time, the contents of the lower 8 bits of the sign bit stored in the sign register 10e are consecutive 8 "1" s.
In this case, the normalized clock 121 is temporarily stopped, 1 bit is input from the code bit sequence 107, and the addition is performed at the lowest position of the internal 9-bit register.

【0054】そこで、復号化処理時間Tは符号化時同様 T=200*Na+100*(Na+Nb)+100*
Nc+100*α (nsec) となり、本実施例においても、従来技術による復号化装
置に比べ大幅な向上が実現できる。また、上記実施例で
は参照シンボルパターンとして全て“0”の状態のみ特
別のレジスタを設けて処理の高速化を図ったが、さらに
例えば参照シンボルパターンが全て“1”の状態などを
含め、複数個のレジスタを設けるようにしても良い。
Therefore, the decoding processing time T is the same as that at the time of encoding. T = 200 * Na + 100 * (Na + Nb) + 100 *
Since Nc + 100 * α (nsec), even in this embodiment, a great improvement can be realized as compared with the conventional decoding device. Further, in the above-described embodiment, the special register is provided only in the state of all “0” as the reference symbol pattern to speed up the processing. However, for example, a plurality of reference symbol patterns including the state of “1” are included. The register may be provided.

【0055】以下、第3の本発明を図示実施例に基づい
て説明する。図9は本発明の一実施例の符号化装置を示
すもので、図9において、図25従来の符号化装置との
相違点は、参照シンボルパターン102から直前の符号
化対象シンボルに対する参照シンボルパターンと符号化
対象シンボルに対する参照シンボルパターンが一致して
いるか否かを検出する検出器7と、次数・予測値メモリ
2からの次数103及び予測値出力104ないしは、次
数・予測値制御回路6からの更新信号108一時記憶す
る次数・予測値レジスタ8bを設け、この出力を領域幅
テーブル4及び予測変換器3の入力としている点であ
る。
The third aspect of the present invention will be described below with reference to the illustrated embodiments. FIG. 9 shows an encoding apparatus according to an embodiment of the present invention. In FIG. 9, the difference from the conventional encoding apparatus of FIG. 25 is that the reference symbol pattern from the reference symbol pattern 102 to the immediately preceding encoding target symbol is changed. And the detector 7 for detecting whether or not the reference symbol pattern for the symbol to be encoded matches, the order 103 and the predicted value output 104 from the order / predicted value memory 2, or the order / predicted value control circuit 6 The point is that the order / prediction value register 8b for temporarily storing the update signal 108 is provided, and this output is used as an input to the region width table 4 and the prediction converter 3.

【0056】図10は、算術符号器5の内部構成を示す
ブロック構成図である。図において、5aは数直線上の
有効領域Aiを記憶するAレジスタ、5bはMPS領域
幅117を計算する減算器、5cは下界値座標115を
記憶するCレジスタ、5dはLPSの場合のCレジスタ
値116を計算する加算器、5eはCレジスタのオーバ
ーフロー(シフトアウト)信号であるキャリ出力117
を一時記憶してCレジスタ5c更新時に桁上がりの処理
を行うとともに、記憶した符号ビットの内容が連続した
8個の“1”になった場合には最下位ビットの下から
“0”を挿入して以後の桁上がり処理の影響をこの挿入
“0”以下に抑える処理(以後ビットスタッフ処理と呼
ぶ)を行うための符号レジスタ、5fはこの算術符号器
5の動きを制御するタイミング制御回路である。
FIG. 10 is a block diagram showing the internal structure of the arithmetic encoder 5. In the figure, 5a is an A register for storing the effective area Ai on the number line, 5b is a subtractor for calculating the MPS area width 117, 5c is a C register for storing the lower bound coordinate 115, and 5d is a C register for the LPS. An adder for calculating the value 116, 5e is a carry output 117 which is an overflow (shift out) signal of the C register.
Is temporarily stored to carry a carry when updating the C register 5c, and if the stored sign bit contents are eight consecutive "1" s, "0" is inserted from the bottom of the least significant bit. Then, a code register 5f for performing processing (hereinafter referred to as bit stuffing processing) for suppressing the effect of the carry processing thereafter to this insertion "0" or less is a timing control circuit for controlling the operation of the arithmetic encoder 5. is there.

【0057】次に、本実施例の動作について説明する。
図11は本実施例の動作例を示すタイミング図である。
まず、符号化対象シンボルが情報源シンボル101とし
て本符号化装置に入力されると、参照シンボル作成器1
においてすでに処理済の図26に示す12画素の参照画
素の信号が出力102され、当該参照シンボルパターン
における次数及び予測値が次数・予測値メモリ2から読
み出され次数・予測値レジスタ8に記憶される。ここ
で、本実施例では上記参照シンボルパターン作成からレ
ジスタ8に記憶する処理は10MHZのシステムクロッ
ク1周期分100nsecとしている。
Next, the operation of this embodiment will be described.
FIG. 11 is a timing chart showing an operation example of this embodiment.
First, when the encoding target symbol is input to the present encoding device as the information source symbol 101, the reference symbol generator 1
26, the signal of the reference pixel of 12 pixels already processed in FIG. 26 is output, and the order and prediction value in the reference symbol pattern are read from the order / prediction value memory 2 and stored in the order / prediction value register 8. It In this embodiment, the process of creating the reference symbol pattern and storing it in the register 8 is 100 nsec for one cycle of the system clock of 10 MHZ.

【0058】次数信号111は、領域幅テーブル4で図
28に示す領域幅信号106に変換され、予測値信号1
12は予測変換器3で当該情報源シンボル101と排他
的論理和演算が施され予測誤差シンボル105が作成さ
れる。この後、上記の有効領域Ai・下界値座標Ciの
演算と次数・予測値の更新が下記の様に行われる。 (1)正規化および次数・予測値の更新がない場合(図
19 #1)上記領域と座標の演算をシステムクロック
1周期で実行される。 (2)正規化があり、次数・予測値の更新がない場合
(図19 #2)正規化を除く領域・座標計算処理がシ
ステムクロック1周期で、正規化がmクロックで実行さ
れる。
The order signal 111 is converted into the area width signal 106 shown in FIG.
Reference numeral 12 is a prediction converter 3 which performs an exclusive OR operation on the information source symbol 101 to generate a prediction error symbol 105. After that, the calculation of the effective area Ai and the lower bound coordinate Ci and the update of the order / predicted value are performed as follows. (1) When normalization and order / prediction values are not updated (# 1 in FIG. 19), the calculation of the above area and coordinates is executed in one cycle of the system clock. (2) When there is normalization and there is no update of order / predicted value (# 2 in FIG. 19) The area / coordinate calculation processing other than normalization is executed in one cycle of the system clock, and normalization is executed in m clocks.

【0059】(3)正規化がなく、次数・予測値の更新
がある場合(図19 #3)領域と座標の演算をシステ
ムクロック1周期で行った後、次数・予測値メモリ2の
内容を更新する。メモリ更新はシステムクロック1周期
で行う。 (4)正規化と次数・予測値の更新がある場合(図19
#4)正規化を除く領域・座標計算処理をシステムク
ロック1周期で行った後、mクロックで正規化を行うと
ともに次数・予測値メモリ2の更新を平行して行う。な
おこのとき次のシンボルの座標計算処理は正規化および
メモリ2の更新がともに終了してから行う。
(3) When there is no normalization and the order / prediction value is updated (# 3 in FIG. 19) After the area and coordinates are calculated in one cycle of the system clock, the contents of the order / prediction value memory 2 are changed. Update. The memory is updated in one system clock cycle. (4) When there is normalization and update of order / predicted value (Fig. 19)
# 4) After the area / coordinate calculation processing excluding the normalization is performed in one cycle of the system clock, the normalization is performed in m clocks and the order / predicted value memory 2 is updated in parallel. At this time, the coordinate calculation process of the next symbol is performed after both the normalization and the update of the memory 2 are completed.

【0060】ここで、LPSとMPSの判定を含む領域
計算および座標計算の制御は、予測誤差シンボル105
およびAレジスタ出力113のMSB信号を元に算術符
号器5のタイミング制御回路5fで行われ、次数・予測
値メモリ2の更新制御は次数・予測値制御回路6で行わ
れる。
Here, the control of the area calculation and the coordinate calculation including the determination of LPS and MPS is performed by the prediction error symbol 105.
The timing / control circuit 5f of the arithmetic encoder 5 performs the update control of the order / predicted value memory 2 based on the MSB signal of the A register output 113 and the order / predicted value control circuit 6.

【0061】符号レジスタ5eに於いては桁上がり処理
は、上記(正規化を除く)領域・座標計算に平行して処
理が行われる。正規化時は内部のレジスタのシフトと共
に8ビット目からの桁上がりが符号107として出力さ
れる。この時、8ビットの内部レジスタの全ビットが
“1”の場合はタイミング制御回路5fに対しビットス
タッフ信号119が送られ、正規化クロック118が一
時停止されると共にシステムクロック1周期を使って内
部レジスタの1ビットシフト(LSBシフトイン信号は
“0”とされる)が行われる。
In the sign register 5e, the carry process is performed in parallel with the above-mentioned (excluding normalization) area / coordinate calculation. At the time of normalization, the carry from the 8th bit is output as code 107 along with the shift of the internal register. At this time, when all the bits of the 8-bit internal register are "1", the bit stuff signal 119 is sent to the timing control circuit 5f, the normalized clock 118 is temporarily stopped, and at the same time, one cycle of the system clock is used. 1-bit shift of the register (LSB shift-in signal is set to "0") is performed.

【0062】上記次数・予測値メモリ2からの読み出し
処理と有効領域Ai・下界値座標Ciの計算は次数・予
測値の更新が行われる可能性があることから、従来、直
列(シリアル)処理とされていた。本実施例では、これ
を以下の様に当該符号化対象シンボルに対する有効領域
Ai・下界値座標Ciの計算と、次の符号化対象シンボ
ルに対する次数・予測値メモリ2からの読み出し処理を
平行して処理する。
Since the order / predicted value may be updated in the reading process from the order / predicted value memory 2 and the calculation of the effective area Ai / lower bound coordinate Ci, conventionally, the serial / serial process is performed. It had been. In the present embodiment, this is performed in parallel with the calculation of the effective area Ai / lower bound coordinate Ci for the target symbol to be encoded and the reading process from the order / predicted value memory 2 for the next symbol to be encoded as follows. To process.

【0063】すなわち、次数・予測値レジスタ8から当
該符号化対象シンボルの次数信号及び予測値信号が出力
されると、次数・予測値メモリ2においては次の符号化
対象シンボルに対する次数及び予測値がシステムクロッ
ク1周期を用いて読み出される。その後、以下のように
処理が行われる。 (1)正規化および次数・予測値の更新がない場合(図
19 #1)上記領域と座標の演算後、次符号化対象シ
ンボルの領域・座標演算に移る。 (2)正規化があり、次数・予測値の更新がない場合
(図19 #2)正規化完了後、次符号化対象シンボル
の領域・座標演算に移る。 (3)正規化がなく、次数・予測値の更新がある場合
(図19 #3)次数・予測値メモリ2の内容の更新
は、検出器7から出力される当該シンボルに対する参照
パターン(参照シンボルパターン102を1シンボル分
遅らせたもの)、次数・予測制御回路6からの更新信号
108をもとに行う。この時、参照シンボルパターン1
02(次の符号化対象シンボルに対する信号)と当該符
号化対象シンボルに対する参照パターンが一致する場合
は、検出信号110をもとに次数・予測値レジスタの内
容更新が行う。これら内容更新はシステムクロック1周
期で処理されその後、次符号化対象シンボルの領域・座
標演算に移る。 (4)正規化と次数・予測値の更新がある場合(図19
#4)次数・予測値の内容更新は(3)同様に行う。
内容更新後正規化処理が完了していない場合にはそれを
待って、次符号化対象シンボルの領域・座標演算に移
る。
That is, when the order / prediction value register 8 outputs the order signal and prediction value signal of the target symbol to be coded, the order / prediction value memory 2 outputs the order and predicted value for the next target symbol to be coded. It is read using one cycle of the system clock. After that, the processing is performed as follows. (1) When normalization and order / prediction values are not updated (# 1 in FIG. 19) After the above area and coordinates are calculated, the area / coordinate calculation of the next encoding target symbol is performed. (2) When normalization is performed and order / prediction value is not updated (# 2 in FIG. 19) After normalization is completed, the process proceeds to the area / coordinate calculation of the next encoding target symbol. (3) When normalization is not performed and order / prediction value is updated (# 3 in FIG. 19) The contents of the order / prediction value memory 2 are updated by referring to the reference pattern (reference symbol) for the symbol output from the detector 7. The pattern 102 delayed by one symbol) and the update signal 108 from the order / prediction control circuit 6 are used. At this time, reference symbol pattern 1
If 02 (signal for the next encoding target symbol) and the reference pattern for the encoding target symbol match, the contents of the order / prediction value register are updated based on the detection signal 110. These content updates are processed in one cycle of the system clock, and then the area / coordinate calculation of the next encoding target symbol is performed. (4) When there is normalization and update of order / predicted value (Fig. 19)
# 4) The contents of the order / predicted value are updated in the same manner as (3).
If the normalization processing after the content update is not completed, it is waited for and the operation proceeds to the area / coordinate calculation of the next encoding target symbol.

【0064】以上の説明より明らかなように本実施例に
於ける符号化処理時間Tは、全シンボル数をNa、符号
ビット数をNcとすると、 T=100+100*Na+100*Nc+100*α
(nsec) となる。ここでαは、上記(3)のケースで次数及び予
測値更新に必要なクロック数である。そこで、標準的な
解像度水平8画素/mm、垂直7.7ライン/mmのA
4判原稿として、圧縮率を30と仮定すると Na=1728*2376 Nc=1728*2736*(1/30) となり、符号化処理時間Tは約0.4秒となる。ここ
で、次数・予測値の更新は、全シンボルの1/50から
1/200程度であり、上記(3)のケースはしかも予
測結果がMPS且つ正規化が発生しない場合に限られる
ため、αの影響は無視した。
As is apparent from the above description, the encoding processing time T in this embodiment is T = 100 + 100 * Na + 100 * Nc + 100 * α, where Na is the total number of symbols and Nc is the number of code bits.
(Nsec). Here, α is the number of clocks required to update the order and the predicted value in the above case (3). Therefore, A with a standard resolution of 8 pixels / mm horizontally and 7.7 lines / mm vertically
Assuming a compression ratio of 30 for a 4-size original, Na = 1728 * 2376 Nc = 1728 * 2736 * (1/30), and the encoding processing time T is about 0.4 seconds. Here, the update of the order / predicted value is about 1/50 to 1/200 of all symbols, and the case of (3) above is limited to the case where the prediction result is MPS and normalization does not occur. Ignored the effect of.

【0065】一方、従来の技術による符号化装置では同
様に T=(100+100)*Na+100*Nc+100
*α (nsec) となる。そこで上記同様の条件で計算すれば、符号化処
理時間Tは約0.8秒となり、本発明により符号化処理
速度の大幅な向上が実現できることが分かる。
On the other hand, in the conventional encoding device, similarly, T = (100 + 100) * Na + 100 * Nc + 100
* Α (nsec). Therefore, if the calculation is performed under the same conditions as described above, the encoding processing time T becomes about 0.8 seconds, and it is understood that the present invention can realize a significant improvement in the encoding processing speed.

【0066】次に、図12は本発明の他の実施例である
符号化装置のブロック構成を示している。図で9は更新
用次数・予測値レジスタ、10は次数・予測値メモリ2
からの読み出し信号を記憶する次数・予測値レジスタ8
の出力と更新用次数・予測値レジスタ9の出力を選択す
る選択器である。
Next, FIG. 12 shows a block configuration of an encoding apparatus which is another embodiment of the present invention. In the figure, 9 is an update order / prediction value register, and 10 is an order / prediction value memory 2
Order / predicted value register 8 for storing the read signal from
And an output of the update order / predicted value register 9 are selected.

【0067】本実施例では、次数・予測値レジスタ8に
は次数・予測値メモリ2からの読み出し信号のみを記憶
し、更新次数・予測値レジスタ9には次数及び予測値の
適応処理後(更新が行われる場合は更新値、行われない
場合は領域計算に用いられた選択器10出力値)の信号
を記憶し、検出信号110により、当該符号化対象シン
ボルの参照パターンが直前の符号化対象シンボルの参照
パターンと同一の場合には更新用次数・予測値レジスタ
9からの出力を、異なる場合には次数・予測値レジスタ
8からの出力を用いて領域幅計算及び予測変換を行うも
のであり、他の処理は図17の実施例と同様の処理を行
うものである。ただし、検出器7からの検出信号110
は図17の実施例の場合に比べ1シンボル分遅れたもの
となる。
In this embodiment, only the read signal from the order / predicted value memory 2 is stored in the order / predicted value register 8, and the updated order / predicted value register 9 is subjected to the adaptive processing of the order and the predicted value (updated). If an update value is performed, a signal of the selector 10 output value used for area calculation is stored), and the detection signal 110 causes the reference pattern of the target symbol to be encoded immediately before. If the same as the reference pattern of the symbol, the output from the update order / prediction value register 9 is used, and if different, the output from the order / prediction value register 8 is used to perform the region width calculation and the predictive conversion. The other processing is the same as that of the embodiment shown in FIG. However, the detection signal 110 from the detector 7
Is delayed by one symbol as compared with the case of the embodiment of FIG.

【0068】次に図13は第4の本発明の一実施例であ
る復号化装置のブロック構成を示している。図で、11
は符号ビット系列107より領域幅信号106を基に予
測誤差シンボル105を再生する算術復号器、12はこ
の予測誤差シンボル105と予測値112との排他的論
理和演算を行って情報源シンボル101を再生する予測
逆変換器である。また、2は図26の参照画素のうちA
を除いた11画素の参照シンボルパターンを入力しAが
1及び0の2種類の状態に対する次数及び予測値信号
(それぞれ103a、104aと103b、104bの
2種類)を出力する次数・予測値メモリであり、8もこ
の出力を受け、同じく2種類の次数・予測値を記憶する
レジスタである。また13は予測逆変換器12で再生さ
れた直前の情報源シンボル101に応じて2種類の次数
及び予測値のいずれかを選択する選択器であり、また次
数・予測値制御回路6からの更新信号108を受け、再
生された情報源シンボルに応じて図26の参照画素Aが
1あるいは0のいずれかの次数・予測値メモリ2の内容
及び次数・予測値レジスタ8の内容を更新するための第
1選択更新信号108a及び第2選択更新信号108b
を作成する機能を有している。他の部分は図1の実施例
と同一の回路となっている。
Next, FIG. 13 shows a block configuration of a decoding apparatus which is an embodiment of the fourth invention. In the figure, 11
Is an arithmetic decoder that reproduces the prediction error symbol 105 from the code bit sequence 107 based on the region width signal 106, and 12 performs an exclusive OR operation of the prediction error symbol 105 and the prediction value 112 to obtain the information source symbol 101. It is a predictive inverse converter for reproduction. Further, 2 is A among the reference pixels in FIG.
In the order / prediction value memory, which inputs the reference symbol pattern of 11 pixels excluding, and outputs order and prediction value signals (two kinds of 103a, 104a and 103b, 104b, respectively) for two kinds of states in which A is 1 and 0 Yes, 8 is a register which receives this output and also stores two kinds of orders and predicted values. Further, 13 is a selector for selecting one of two kinds of orders and prediction values according to the information source symbol 101 immediately before reproduced by the prediction inverse converter 12, and updating from the order / prediction value control circuit 6. 26. For receiving the signal 108 and updating the contents of the order / prediction value memory 2 and the contents of the order / prediction value register 8 in which the reference pixel A of FIG. 26 is either 1 or 0 in accordance with the reproduced information source symbol. First selection update signal 108a and second selection update signal 108b
Has the function of creating. The other parts have the same circuit as the embodiment of FIG.

【0069】図14はこの算術復号器11の内部構成を
示すブロック構成図で、11aは数直線上の有効領域A
iを記憶するAレジスタ、11bはMPS領域幅114
を計算する減算器、11cは下界値座標を記憶するレジ
スタ、11dはLPSの場合のCレジスタ値116を計
算する減算器、11eは符号ビット系列107を一時記
憶し正規化シフトクロック118に応じて内部の9ビッ
トレジスタの最上位信号をCレジスタに送ると共に、記
憶した符号ビットの下位8ビットの内容が連続した8個
の“1”になった場合には符号ビット系列107から1
ビット入力して内部9ビットレジスタの最下位の位置で
加算を行うことにより符号器において挿入されたビット
スタッフ信号を削除するスタッフビット除去処理を行う
ための符号レジスタ、11fはこの算術復号器11の動
きを制御するタイミング制御回路である。
FIG. 14 is a block diagram showing the internal structure of the arithmetic decoder 11. 11a is an effective area A on the number line.
A register for storing i, 11b is MPS area width 114
, 11c is a register for storing the lower bound coordinates, 11d is a subtractor for calculating the C register value 116 in the case of LPS, 11e is the temporary storage of the sign bit sequence 107, and the subtraction is performed according to the normalized shift clock 118. The highest-order signal of the internal 9-bit register is sent to the C register, and when the contents of the lower 8 bits of the stored code bit become eight consecutive "1" s, the code bit sequence 107 to 1
A code register for performing stuff bit removal processing for deleting a bit stuff signal inserted in the encoder by inputting bits and performing addition at the lowest position of the internal 9-bit register. It is a timing control circuit that controls movement.

【0070】次に本実施例の動作について説明する。算
術符号の復号化においては、Cレジスタの内容である相
対座標をCi、第i番目の予測誤差シンボルai 時点で
のLPSの領域幅をSとすると、 Ci−1 <(Ai−1 − S)ならばai はMPS Ai= Ai−1 − S Ci= Ci−1 Ci−1 ≧(Ai−1 − S)ならばai はLPS Ai= S Ci= Ci−1(Ai−1 − S) とする。
Next, the operation of this embodiment will be described. In the decoding of the arithmetic code, if the relative coordinates that are the contents of the C register are Ci and the area width of the LPS at the time of the i-th prediction error symbol ai is S, then Ci-1 <(Ai-1-S). Then ai is MPS Ai = Ai-1-S Ci = Ci-1 Ci-1 ≥ (Ai-1-S), and if ai is LPS Ai = S Ci = Ci-1 (Ai-1-S) .

【0071】ここで有効領域Aiが1/2以下になった
場合には、演算精度を上げるために正規化処理として2
のべき乗倍する。このときCiの最下位ビットから符号
化レジスタ11eからキャリ入力信号117を入力す
る。 Ai更新値=Ai*2m (1/2Ai更新値≦1) Ci更新値=Ci*2m
Here, when the effective area Ai becomes 1/2 or less, the normalization processing is 2 to increase the calculation accuracy.
To the power of. At this time, the carry input signal 117 is input from the encoding register 11e from the least significant bit of Ci. Ai update value = Ai * 2m (1 / 2Ai update value ≦ 1) Ci update value = Ci * 2m

【0072】図15は本実施例の動作例を示すタイミン
グ図である。まず復号化対象シンボルに対し、図26の
参照画素のうちAを除いた11画素の参照シンボルパタ
ーンを基に、Aが1及び0の2種類の状態に対する次数
及び予測値をメモリ2から読み出しレジスタ8に記憶す
る。これらの処理はシステムクロック1周期の時間に行
う。その後、直前に再生された情報源シンボルであるA
の値によりこの2種類の次数及び予測値の一方を選択し
て当該情報シンボルの再生及び次数・予測値の更新を行
う。
FIG. 15 is a timing chart showing an operation example of this embodiment. First, for the decoding target symbol, based on the reference symbol pattern of 11 pixels excluding A among the reference pixels in FIG. 26, the order and the prediction value for two kinds of states in which A is 1 and 0 are read from the memory 2 and registered. Store in 8. These processes are performed during the time of one cycle of the system clock. After that, the information source symbol A which is reproduced immediately before is A.
One of these two types of order and prediction value is selected according to the value of, and the information symbol is reproduced and the order and prediction value are updated.

【0073】予測誤差シンボルai の再生および有効領
域Ai、相対座標Ciの演算については、まずタイミン
グ制御回路11fにおいて上記の様にCi−1と(Ai
−1−S)の比較を行ってシンボルai を(MPSある
いはLPS)決定、これに基づきAiとCiを計算され
てAレジスタ11aおよびCレジスタ11cに設定され
る。この一連の処理はシステムクロック1周期で行う。
この演算の結果、有効領域Aiが1/2未満になる場合
上記正規化の処理がmクロックで行う。ここで、符号レ
ジスタ11eにおいて記憶した符号ビットの下位8ビッ
トの内容が連続した8個の“1”になった場合には正規
化クロック118が一時停止するとともに符号ビット系
列107から1ビット入力して内部9ビットレジスタの
最下位の位置で加算が行われる。
Regarding the reproduction of the prediction error symbol ai and the calculation of the effective area Ai and the relative coordinates Ci, first, in the timing control circuit 11f, as described above, Ci-1 and (Ai
-1-S) is compared to determine the symbol ai (MPS or LPS), and based on this, Ai and Ci are calculated and set in the A register 11a and the C register 11c. This series of processing is performed in one cycle of the system clock.
As a result of this calculation, when the effective area Ai is less than 1/2, the above normalization processing is performed in m clocks. Here, when the contents of the lower 8 bits of the sign bit stored in the sign register 11e become eight consecutive "1" s, the normalized clock 118 is temporarily stopped and one bit is input from the sign bit sequence 107. And the addition is performed at the lowest position of the internal 9-bit register.

【0074】次数・予測値の更新が必要な場合は、次数
・予測値制御回路6より更新信号が出され、選択器13
で直前に再生された情報源シンボルの値に基づき参照画
素Aが1ないし0に対応する選択更新信号(108a,
108b)を生成し、次数・予測値メモリ2の内容を更
新する。また、このとき直前に読み出された次数・予測
値メモリ2の参照パターン102が更新用参照シンボル
パターンと一致する場合は、次数・予測値レジスタ8の
内容も同時に更新する。この更新処理は上記Aレジスタ
とCレジスタの設定の後行われ、1システムクロック期
間で実行する。
When it is necessary to update the order / predicted value, an update signal is issued from the order / predicted value control circuit 6, and the selector 13
In accordance with the value of the information source symbol reproduced immediately before, the reference pixel A has a selection update signal (108a, 108a,
108b) is generated and the contents of the order / predicted value memory 2 are updated. At this time, when the reference pattern 102 of the order / predicted value memory 2 read immediately before matches the update reference symbol pattern, the contents of the order / predicted value register 8 are updated at the same time. This updating process is performed after setting the A register and the C register, and is executed in one system clock period.

【0075】そこで、復号化処理時間Tは符号化次同様 T=100+100*Na+100*Nc+100*α
(nsec) となり、本実施例においても、従来技術による復号化装
置に比べ大幅な向上が実現できる。
Therefore, the decoding processing time T is the same as the encoding time T = 100 + 100 * Na + 100 * Nc + 100 * α
Since it is (nsec), even in the present embodiment, a great improvement can be realized as compared with the decoding device according to the conventional technique.

【0076】また、図16は他の実施例である復号化装
置のブロック構成を示している。本実施例は図13同様
にメモリ2の読み出し信号を記憶するレジスタ8aとは
別に、更新用のレジスタ9を別に設けたものであり、選
択器10が追加されている。ただし、図12の実施例同
様、本実施例では図13の実施例の場合に比べ検出器7
の検出信号出力110は1シンボル分遅れたものとな
る。
FIG. 16 shows a block configuration of a decoding device which is another embodiment. In this embodiment, as in FIG. 13, a register 9 for updating is provided separately from the register 8a for storing the read signal of the memory 2, and a selector 10 is added. However, like the embodiment of FIG. 12, in this embodiment, the detector 7 is different from that of the embodiment of FIG.
The detection signal output 110 of 1 is delayed by one symbol.

【0077】上記実施例では次数及び予測値の更新をL
PSとMPSの数を計数して制御する方法を用いたが、
上記IBM研究開発情報の様に正規化が行われるタイミ
ングに限って更新制御する方式を用いるようにしても良
い。
In the above embodiment, the order and the predicted value are updated by L
The method of counting and controlling the number of PS and MPS was used.
A method of controlling updating may be used only at the timing of normalization as in the IBM research and development information.

【0078】以下、この第5の発明を図示実施例に基づ
いて説明する。図17は本発明の一実施例の符号化装置
を示すもので、図17において、図25の従来の符号化
装置との相違点は、参照シンボルパターン102から直
前の8個の符号化対象シンボルに対する図26の12参
照画素全てが“0”(白画素)で且つ、符号化シンボル
も“0”であるか否かを検出する検出器7と、12参照
画素全てが“0”の時の次数及び予測値を記憶するレジ
スタ8と、検出器7出力とレジスタ8からの12参照画
素全てが“0”の時の次数が最高次数16であることを
示すa11“0”状態次数信号110と同じく予測値が
“0”であることを示すa11“0”状態予測信号11
1の論理積を演算する第1のAND回路9が付加された
ことである。
The fifth invention will be described below with reference to the illustrated embodiments. FIG. 17 shows an encoding apparatus according to an embodiment of the present invention. In FIG. 17, the difference from the conventional encoding apparatus of FIG. 25 is that the eight symbols to be encoded immediately before the reference symbol pattern 102 are included. 26, the detector 7 for detecting whether all 12 reference pixels are “0” (white pixels) and the coded symbols are also “0”, and when all 12 reference pixels are “0” A register 8 for storing the order and the predicted value, and an a11 “0” state order signal 110 indicating that the output is the highest order 16 when the detector 7 output and all 12 reference pixels from the register 8 are “0”. Similarly, a11 "0" state prediction signal 11 indicating that the prediction value is "0"
That is, the first AND circuit 9 for calculating the logical product of 1 is added.

【0079】図18は、算術符号器5の内部構成を示す
ブロック構成図である。図において、5aは数直線上の
有効領域Aiを記憶するAレジスタ、5bはMPS領域
幅114を計算する減算器、5cは下界値座標115を
記憶するCレジスタ、5dはLPSの場合のCレジスタ
値116を計算する加算器、5eはCレジスタのオーバ
ーフロー(シフトアウト)信号であるキャリ出力117
を一時記憶してCレジスタ5c更新時に桁上がりの処理
を行うとともに、記憶した符号ビットの内容が連続した
8個の“1”になった場合には最下位ビットの下から
“0”を挿入して以後の桁上がり処理の影響をこの挿入
“0”以下に抑える処理(以後ビットスタッフ処理と呼
ぶ)を行うための符号レジスタ、5fはこの算術符号器
5の動きを制御するタイミング制御回路である。
FIG. 18 is a block diagram showing the internal structure of the arithmetic encoder 5. In the figure, 5a is an A register for storing the effective area Ai on the number line, 5b is a subtracter for calculating the MPS area width 114, 5c is a C register for storing the lower bound coordinate 115, and 5d is a C register for the LPS. An adder for calculating the value 116, 5e is a carry output 117 which is an overflow (shift out) signal of the C register.
Is temporarily stored to carry a carry when updating the C register 5c, and if the stored sign bit contents are eight consecutive "1" s, "0" is inserted from the bottom of the least significant bit. Then, a code register 5f for performing processing (hereinafter referred to as bit stuffing processing) for suppressing the effect of the carry processing thereafter to this insertion "0" or less is a timing control circuit for controlling the operation of the arithmetic encoder 5. is there.

【0080】更に、5gはAレジスタ出力が0X 100
0+0X 0008を越えていることを検出する領域検出
器、5hはこの出力と第1のAND回路9の出力である
切替え信号112との論理積を演算する第2のAND回
路、5iはこの第2のAND回路出力が1のときは領域
幅信号106を8倍する切替え器である。このうち、5
aから5fまでの回路は従来の算術符号器に用いられる
もので、本実施例と従来装置との相違点は5gから5i
が追加された時点である。
Further, the output of the A register is 0x100 for 5g.
The area detector 5h for detecting that the voltage exceeds 0 + 0X 0008 is a second AND circuit 5h for calculating the logical product of this output and the switching signal 112 which is the output of the first AND circuit 9 When the AND circuit output of 1 is 1, it is a switcher that multiplies the area width signal 106 by 8. Of these, 5
The circuits from a to 5f are used in the conventional arithmetic encoder, and the difference between this embodiment and the conventional device is 5g to 5i.
Is the time when was added.

【0081】次に、本実施例の動作について説明する。
図19及び図20は本実施例の動作例を示すタイミング
図である。説明を容易にするため、連続する8符号化シ
ンボルに対する参照シンボルパターン102が全て
“0”ではない場合(以下単にa11“0”状態と呼
ぶ)と、連続する8符号化シンボルに対する参照シンボ
ルパターン102が全て“0”の場合とに分けて個別に
説明する。
Next, the operation of this embodiment will be described.
19 and 20 are timing charts showing an operation example of this embodiment. For ease of explanation, when all the reference symbol patterns 102 for consecutive 8 coded symbols are not “0” (hereinafter, simply referred to as a11 “0” state), the reference symbol pattern 102 for consecutive 8 coded symbols is shown. Will be described separately by dividing into cases where all are "0".

【0082】まず、a11“0”状態の場合は、予測対
象シンボルが情報源シンボル101として本符号化装置
に入力されると、参照シンボル作成器1においてすでに
処理済の図26に示す12画素の参照画素の信号が出力
102され、検出器7において連続する8符号化シンボ
ルに対する参照シンボルパターンが全て“0”でないこ
とが判定される。そこで検出信号109としては“0”
が出力される。これと同時に、次数・予測値メモリ2か
らは当該参照シンボルパターンにおける次数信号103
及び予測値信号104が出力信号が読み出される。ここ
で、本実施例ではメモリ2の読み出し処理は10MHZ
のシステムクロック1周期分100nsecとしてい
る。
First, in the a11 "0" state, when the prediction target symbol is input to the present coding apparatus as the information source symbol 101, the reference pixel generator 1 has already processed 12 pixels of 12 pixels shown in FIG. The signal of the reference pixel is output 102, and it is determined in the detector 7 that the reference symbol patterns for the continuous 8 coded symbols are not all “0”. Therefore, the detection signal 109 is "0".
Is output. At the same time, the order / prediction value memory 2 outputs the order signal 103 in the reference symbol pattern.
Also, the output signal of the prediction value signal 104 is read. Here, in the present embodiment, the reading process of the memory 2 is 10 MHz.
The system clock is set to 100 nsec for one cycle.

【0083】次数信号103は、領域幅テーブル4で図
28に示す領域幅信号106に変換され、予測値信号1
04は予測変換器3で当該情報源シンボル101と排他
的論理和演算が施され予測誤差シンボル105が作成さ
れる。この後、上記の有効領域Ai・下界値座標Ciの
演算と次数・予測値の更新が下記の様に行われる。 (1)正規化および次数・予測値の更新がない場合(図
19 #1)上記領域と座標の演算をシステムクロック
1周期で実行される。 (2)正規化があり、次数・予測値の更新がない場合
(図19 #2)正規化を除く領域・座標計算処理がシ
ステムクロック1周期で、正規化がmクロックで実行さ
れる。 (3)正規化がなく、次数・予測値の更新がある場合
(図19 #3)領域と座標の演算をシステムクロック
1周期で行った後、次数・予測値メモリ2の内容を更新
する。メモリ更新はシステムクロック2周期で行う。 (4)正規化と次数・予測値の更新がある場合(図19
#4)正規化を除く領域・座標計算処理をシステムク
ロック1周期で行った後、mクロックで正規化を行うと
ともに次数・予測値メモリ2の更新を平行して行う。な
おこのとき次のシンボルの処理は正規化およびメモリ2
の更新がともに終了してから行う。
The order signal 103 is converted into a region width signal 106 shown in FIG.
Reference numeral 04 is a prediction converter 3 which performs an exclusive OR operation on the information source symbol 101 to generate a prediction error symbol 105. After that, the calculation of the effective area Ai and the lower bound coordinate Ci and the update of the order / predicted value are performed as follows. (1) When normalization and order / prediction values are not updated (# 1 in FIG. 19), the calculation of the above area and coordinates is executed in one cycle of the system clock. (2) When there is normalization and there is no update of order / predicted value (# 2 in FIG. 19) The area / coordinate calculation processing other than normalization is executed in one cycle of the system clock, and normalization is executed in m clocks. (3) When there is no normalization and there is an update of the order / predicted value (# 3 in FIG. 19) The area and coordinates are calculated in one cycle of the system clock, and then the contents of the order / predicted value memory 2 are updated. The memory is updated in two system clock cycles. (4) When there is normalization and update of order / predicted value (Fig. 19)
# 4) After the area / coordinate calculation processing excluding the normalization is performed in one cycle of the system clock, the normalization is performed in m clocks and the order / predicted value memory 2 is updated in parallel. At this time, the processing of the next symbol is performed by normalization and memory 2.
It will be done after the update of both ends.

【0084】ここで、a11“0”状態で次数・予測値
の更新が行われるときには、次数・予測値メモリ2と同
時にa11“0”状態用の次数・予測値レジスタ8の内
容も更新される。
Here, when the order / predicted value is updated in the a11 "0" state, the contents of the order / predicted value register 8 for the a11 "0" state are updated at the same time as the order / predicted value memory 2. .

【0085】LPSとMPSの判定を含む領域計算およ
び座標計算の制御は、予測誤差シンボル105およびA
レジスタ出力113のMSB信号を元に算術符号器5の
タイミング制御回路5fで行われ、次数・予測値メモリ
2の更新制御は次数・予測値制御回路6で行われる。
The control of the area calculation and the coordinate calculation including the determination of LPS and MPS is performed by the prediction error symbols 105 and A.
Based on the MSB signal of the register output 113, the timing control circuit 5f of the arithmetic encoder 5 performs the update control of the order / predicted value memory 2 by the order / predicted value control circuit 6.

【0086】符号レジスタ5eに於いては桁上がり処理
は、上記(正規化を除く)領域・座標計算に平行して処
理が行われる。正規化時は内部のレジスタのシフトと共
に8ビット目からの桁上がり符号107として出力され
る。この時、8ビットの内部レジスタの全ビットが
“1”の場合はタイミング制御回路5fに対しビットス
タッフ信号119が送られ、正規化クロック118が一
時停止されると共にシステムクロック1周期を使って内
部レジスタの1ビットシフト(LSBシフトイン信号は
“0”とされる)が行われる。
In the sign register 5e, the carry process is performed in parallel with the above-mentioned (excluding normalization) area / coordinate calculation. At the time of normalization, a carry code 107 from the 8th bit is output together with the shift of the internal register. At this time, when all the bits of the 8-bit internal register are "1", the bit stuff signal 119 is sent to the timing control circuit 5f, the normalized clock 118 is temporarily stopped, and at the same time, one cycle of the system clock is used. 1-bit shift of the register (LSB shift-in signal is set to "0") is performed.

【0087】8連続符号化シンボルに対する参照シンボ
ルパターン102が全て“0”の場合は、第1及び第2
のAND回路により算術演算を一括処理するか否かが判
断される。即ち、第2のAND回路5h出力121は、
対応する8符号化シンボルが全て“0”(検出信号10
9が“1”)、且つa11“0”状態の次数が16(a
11“0”状態次数信号110が“1”)、且つ同状態
の予測値が“0”(a11“0”状態予測値“1”)場
合に、“1”となる。これが“0”の場合は上記同様図
11に示すタイミングで処理される。
When all the reference symbol patterns 102 for 8 consecutive encoded symbols are "0", the first and second
The AND circuit determines whether or not to collectively process the arithmetic operations. That is, the output 121 of the second AND circuit 5h is
The corresponding 8 encoded symbols are all "0" (detection signal 10
9 is “1”), and a11 “0” state order is 16 (a
When the 11 "0" state order signal 110 is "1") and the predicted value of the same state is "0" (a11 "0" state predicted value "1"), it becomes "1". When this is "0", the processing is performed at the timing shown in FIG.

【0088】一括処理の場合は、切替え器5iで領域幅
信号106が8倍され、“0X 0008”が減算器5b
の減算入力123とされ算術演算が行われる。直前のA
レジスタ出力113は、0X 0008を越えており、検
算処理を行っても0X 1000以上となるため正規化処
理は発生しない。また次数及び予測値の更新も生じない
ため、引き続き次符号化シンボル、すなわち9画素目の
符号化が実行される。この領域演算処理はシステムクロ
ック1サイクルで可能である。この処理の動作を図4に
示す。
In the case of batch processing, the area width signal 106 is multiplied by 8 by the switch 5i, and "0X 0008" is subtracted by the subtractor 5b.
Is used as the subtraction input 123 for arithmetic operation. A just before
Since the register output 113 exceeds 0X0008 and becomes 0X1000 or more even if the verification processing is performed, the normalization processing does not occur. Further, since the order and the predicted value are not updated, the next coded symbol, that is, the 9th pixel is continuously coded. This area arithmetic processing can be performed in one cycle of the system clock. The operation of this process is shown in FIG.

【0089】上記では、連続する8参照シンボルパター
ン102を全て“0”あるいはそれ以外の場合を別々に
説明したが、実際の画像信号符号化では、これらは混在
して起こる。このため、動作タイミングとしては、図1
1と図12の各ケースを組み合わせた形となる。
In the above, the case where all of the continuous 8 reference symbol patterns 102 are "0" or other cases have been described separately, but in actual image signal encoding, these occur in a mixed manner. Therefore, the operation timing is as shown in FIG.
1 and each case of FIG. 12 are combined.

【0090】以上の説明より明らかなように、本実施例
に於ける符号化処理時間Tは、一括処理が可能な場合す
なわち、8連続符号化対象画素に対する参照シンボルパ
ターンが全て“0”、且つ対応する8符号化シンボルが
全て“0”、且つa11“0”状態の次数が16、且つ
同状態の予測値が“0”、且つ有効領域幅が0X 100
0+0X 0008を越えている場合の符号化対象シンボ
ル数をNa、それ以外の符号化対象シンボル数をNb符
号、符号ビット数をNcとすると、 T=100(Na/8+Nb)+100*(Na/8+Nb) +100*Nc+100*α (nsec) となる。ここでαは、上記(3)の次数・予測値の更新
の際に必要な所要クロック数である。
As is clear from the above description, the coding processing time T in this embodiment is such that when the batch processing is possible, that is, all the reference symbol patterns for the 8 consecutive coding target pixels are "0", and All the corresponding 8 coded symbols are "0", the degree of the a11 "0" state is 16, the predicted value of the same state is "0", and the effective area width is 0X 100.
Assuming that the number of encoding target symbols in the case of exceeding 0 + 0X 0008 is Na, the number of other encoding target symbols is Nb code, and the number of code bits is Nc, T = 100 (Na / 8 + Nb) + 100 * (Na / 8 + Nb ) + 100 * Nc + 100 * α (nsec). Here, α is the required number of clocks when updating the order / predicted value in (3) above.

【0091】そこで、標準的な解像度水平8画素/m
m、垂直7.7ライン/mmのA4判原稿として、一括
処理可能な画素の割合を2/3、圧縮率を30と仮定す
ると Na=1728*2376(2/3) Nb=1728*2376*(1/3) Nc=1728*2736*(1/30) となり、符号化処理時間Tは約0.35秒となる。ここ
で、次数・予測値の更新は、全シンボルの1/50から
1/200程度であるため、αの影響は無視した。
Therefore, the standard resolution is horizontal 8 pixels / m.
Assuming that the ratio of pixels that can be collectively processed is 2/3 and the compression rate is 30 as an A4 size document of m, vertical 7.7 lines / mm, Na = 1728 * 2376 (2/3) Nb = 1728 * 2376 * (1/3) Nc = 1728 * 2736 * (1/30), and the encoding processing time T becomes about 0.35 seconds. Here, since the update of the order / predicted value is about 1/50 to 1/200 of all symbols, the influence of α is ignored.

【0092】一方、従来の技術による符号化装置では上
記式で Na=0 Nb=1728*2376 Nc=1728*2736*(1/30) とすれば、符号化処理時間Tは約0.83秒となり、本
発明により符号化処理速度の大幅な向上が実現できるこ
とが分かる。
On the other hand, in the conventional encoding apparatus, if Na = 0 Nb = 1728 * 2376 Nc = 1728 * 2736 * (1/30) in the above equation, the encoding processing time T is about 0.83 seconds. Therefore, it can be seen that the present invention can realize a significant improvement in the encoding processing speed.

【0093】次に図21は第6の発明の一実施例である
復号化装置のブロック構成を示している。図で、10は
符号ビット系列107より領域幅信号106を基に予測
誤差シンボル105を再生する算術復号器、11はこの
予測誤差シンボル105と予測値104との排他的論理
和演算を行って情報源シンボル101を再生する予測逆
変換器である。12は算術復号器10からの一括処理識
別信号121を受け通常処理の場合は予測逆変換器11
出力を、一括処理の場合は8連続の“0”信号を情報源
シンボル101として出力する情報シンボル切替え器
(選択器)で、他の部分は図1の実施例と同一の回路で
ある。
Next, FIG. 21 shows a block configuration of a decoding apparatus which is an embodiment of the sixth invention. In the figure, 10 is an arithmetic decoder that reproduces a prediction error symbol 105 from a code bit sequence 107 based on a region width signal 106, and 11 is an information obtained by performing an exclusive OR operation of the prediction error symbol 105 and a prediction value 104. It is a predictive inverse transformer that reproduces the source symbol 101. Reference numeral 12 denotes a batch processing identification signal 121 from the arithmetic decoder 10 and, in the case of normal processing, a prediction inverse converter 11
In the case of batch processing, the output is an information symbol switch (selector) that outputs eight consecutive "0" signals as the information source symbol 101, and the other parts are the same circuits as in the embodiment of FIG.

【0094】図22はこの算術復号器11の内部構成を
示すブロック構成図で、10aは数直線上の有効領域A
iを記憶するAレジスタ、10bはMPS領域幅117
を計算する減算器、10cは下界値座標を記憶するレジ
スタ、10dはLPSの場合のCレジスタ値119を計
算する減算器、10eは符号ビット系列107を一時記
憶し正規化シフトクロック122に応じて内部の9ビッ
トレジスタの最上位信号をCレジスタに送ると共に、記
憶した符号ビットの下位8ビットの内容が連続した8個
の“1”になった場合には符号ビット系列107から1
ビット入力して内部9ビットレジスタの最下位の位置で
加算を行うことにより符号器において挿入されたビット
スタッフ信号を削除するスタッフビット除去処理を行う
ための符号レジスタ、10fはこの算術復号器10の動
きを制御するタイミング制御回路である。更に、10g
はAレジスタ出力が0X 1000+0X 0008を越え
ていることを検出する領域検出器、10hはこの出力と
第1のAND回路9の出力である切替え信号112との
論理積を演算する第2のAND回路、10iはこの第2
のAND回路出力が1のときは領域幅信号106を8倍
する切替え器である。
FIG. 22 is a block diagram showing the internal structure of the arithmetic decoder 11. 10a is an effective area A on the number line.
A register for storing i, 10b is MPS area width 117
Is a register for storing the lower bound coordinates, 10d is a subtractor for calculating the C register value 119 in the case of LPS, 10e is a temporary storage of the sign bit sequence 107, and is stored in accordance with the normalized shift clock 122. The highest-order signal of the internal 9-bit register is sent to the C register, and when the contents of the lower 8 bits of the stored code bit become eight consecutive "1" s, the code bit sequence 107 to 1
A code register 10f for performing stuff bit removal processing for deleting the bit stuff signal inserted in the encoder by inputting bits and performing addition at the lowest position of the internal 9-bit register is the arithmetic decoder 10. It is a timing control circuit that controls movement. Furthermore, 10g
Is a region detector that detects that the output of the A register exceeds 0X 1000 + 0X 0008, and 10h is a second AND circuit that calculates the logical product of this output and the switching signal 112 that is the output of the first AND circuit 9. 10i is this second
When the AND circuit output of 1 is 1, it is a switcher that multiplies the area width signal 106 by 8.

【0095】次に本実施例の動作について説明する。算
術符号の復号化においては、Cレジスタの内容である相
対座標をCi、第i番目の予測誤差シンボルai 時点で
のLPSの領域幅をSとすると、 Ci−1 <(Ai−1 − S)ならばai はMPS Ai= Ai−1 − S Ci= Ci−1 Ci−1 ≧(Ai−1 − S)ならばai はLPS Ai= S Ci= Ci−1(Ai−1 − S) とする。
Next, the operation of this embodiment will be described. In the decoding of the arithmetic code, if the relative coordinates that are the contents of the C register are Ci and the area width of the LPS at the time of the i-th prediction error symbol ai is S, then Ci-1 <(Ai-1-S). Then ai is MPS Ai = Ai-1-S Ci = Ci-1 Ci-1 ≥ (Ai-1-S), and if ai is LPS Ai = S Ci = Ci-1 (Ai-1-S) .

【0096】ここで有効領域Aiが1/2以下になった
場合には、演算精度を上げるために正規化処理として2
のべき乗倍する。このときCiの最下位ビットから符号
レジスタ10eからキャリ入力信号117を入力する。 Ai更新値=Ai*2m (1/2Ai更新値≦1) Ci更新値=Ci*2m
Here, when the effective area Ai becomes 1/2 or less, the normalization processing is performed as 2 to improve the calculation accuracy.
To the power of. At this time, the carry input signal 117 is input from the code register 10e from the least significant bit of Ci. Ai update value = Ai * 2m (1 / 2Ai update value ≦ 1) Ci update value = Ci * 2m

【0097】図23及び図24は本実施例の動作例を示
すタイミング図である。図23は図19同様通常の処理
を行う場合を、図24は一括処理を行う場合を示す。参
照シンボルパターン102の作成、次数・予測値の作成
及び更新動作は図1の実施例と同一である。
23 and 24 are timing charts showing an operation example of this embodiment. 23 shows a case where normal processing is performed as in FIG. 19, and FIG. 24 shows a case where batch processing is performed. The operations of creating the reference symbol pattern 102, creating and updating the order / predicted value are the same as those in the embodiment of FIG.

【0098】次に、通常の処理の場合、予測誤差シンボ
ルai の再生及び有効領域Ai 、相対座標Ciの演算に
ついては、まずタイミング制御回路10fにおいて上記
の様にCi−1と(Ai−1−S)の比較が行われてシ
ンボルai が(MPSあるいはLPS)決定、これに基
づきAiとCiを計算されてAレジスタ10aおよびC
レジスタ10cに設定される。この一連の処理はシステ
ムクロック1周期で行われる。この演算の結果、有効領
域Aiが1/2未満になる場合上記正規化の処理がmク
ロックで行われる。このとき、符号レジスタ10eにお
いて記憶した符号ビットの下位8ビットの内容が連続し
た8個の“1”になった場合には正規化クロック118
が一時停止するとともに符号ビット系列107から1ビ
ット入力して内部9ビットレジスタの最下位の位置で加
算が行われる。
Next, in the case of normal processing, regarding the reproduction of the prediction error symbol ai and the calculation of the effective area Ai and the relative coordinates Ci, first, in the timing control circuit 10f, as described above, Ci-1 and (Ai-1- S) is compared to determine the symbol ai (MPS or LPS), based on which Ai and Ci are calculated and the A registers 10a and C are calculated.
It is set in the register 10c. This series of processing is performed in one cycle of the system clock. As a result of this calculation, when the effective area Ai becomes less than 1/2, the above normalization processing is performed in m clocks. At this time, if the contents of the lower 8 bits of the sign bit stored in the sign register 10e become eight consecutive "1" s, the normalized clock 118
Is temporarily stopped, 1 bit is input from the sign bit sequence 107, and addition is performed at the lowest position of the internal 9-bit register.

【0099】一括処理の場合、即ち、情報源シンボルの
復元が完了していない画素を除き、8連続符号化対象画
素に対する参照シンボルパターンが全て“0”、(検出
信号109が“1”)で、且つa11“0”の状態の次
数が16(a11“0”状態次数信号110が
“1”)、且つ同状態の予測値が“0”(a11“0”
状態予測値信号111が“1”)、且つ有効領域幅11
3が0X 1000+0X 0008を越えている(領域検
出器出力120が“1”)の場合には図19の場合同
様、切替え器10iによって領域幅減算用信号122と
して“0X 0008”が用いられ、8連続シンボルに対
する算術演算が行われる。この処理は図19同様システ
ムクロック1周期で行われる。この時復元される情報源
シンボル101としては予測逆変換器11出力に関わら
ず、8連続“0”が情報源シンボル切替え器12より出
力される。
In the case of collective processing, that is, except for the pixels for which the restoration of the information source symbols has not been completed, the reference symbol patterns for all 8 consecutive encoding target pixels are "0" (the detection signal 109 is "1"). , And the degree of the a11 “0” state is 16 (the a11 “0” state degree signal 110 is “1”), and the predicted value of the state is “0” (a11 “0”).
The state prediction value signal 111 is “1”), and the effective area width 11
If 3 exceeds 0X 1000 + 0X 0008 (area detector output 120 is "1"), "0X 0008" is used as the area width subtraction signal 122 by the switch 10i, as in the case of FIG. Arithmetic operations are performed on consecutive symbols. This processing is performed in one cycle of the system clock as in FIG. As the information source symbol 101 restored at this time, 8 consecutive "0" s are output from the information source symbol switching unit 12 regardless of the output of the predictive inverse transformer 11.

【0100】そこで、復号化処理時間Tは符号化時同様 T=100(Na/8+Nb)+100*(Na/8+Nb) +100*Nc+100*α (nsec) となり、本実施例においても、従来技術による復号化装
置に比べ大幅な向上が実現できる。
Therefore, the decoding processing time T becomes T = 100 (Na / 8 + Nb) + 100 * (Na / 8 + Nb) + 100 * Nc + 100 * α (nsec) as in the case of encoding. It is possible to realize a significant improvement compared to the digitalization device.

【0101】また、上記実施例では参照シンボルパター
ンとして全て“0”の状態のみ特別のレジスタを設けて
処理の高速化を図ったが、さらに例えば参照シンボルパ
ターンが全て“1”の状態などを含め、複数個のレジス
タを設けるようにしても良い。更に、本実施例では一括
処理は次数が最上位16の場合のみとしたが、例えば1
5次の場合にも効領域幅13が0X 1000+0X 10
00を領域検出器5gの判定基準として用いることによ
り同様の一括処理としても良い。
Further, in the above embodiment, the special register is provided only for the state of all "0" as the reference symbol pattern to speed up the processing. However, for example, the state of all the reference symbol patterns including "1" is included. Alternatively, a plurality of registers may be provided. Further, in the present embodiment, the batch processing is performed only when the order is the highest 16;
In the case of the 5th order, the effective area width 13 is 0X 1000 + 0X 10
The same batch processing may be performed by using 00 as the criterion of the area detector 5g.

【0102】更に、上記実施例では特定のシンボルパタ
ーン状態における次数及び予測値についても次数・予測
値メモリ2から読み出す処理としたが、第1の発明同様
に次数及び予測値の切替え回路を設け、参照シンボルパ
ターンが全て“0”の場合は次数・予測値メモリ2の読
み出し、更新を行わない形としても良い。
Further, in the above embodiment, the order and the predicted value in a specific symbol pattern state are read from the order / predicted value memory 2. However, as in the first invention, a circuit for switching the order and the predicted value is provided. When all the reference symbol patterns are “0”, the order / prediction value memory 2 may not be read or updated.

【0103】また、上記実施例では次数及び予測値の適
応化をMPSあるいはLPS発生数に基づいて行う方式
を示したが、上記IBM研究開発情報記載の様に、正規
化が発生した時点のシンボルがMPSかLPSに応じて
行う方式に適用しても上記同様の効果を奏する。
In the above embodiment, the method of adapting the order and the prediction value based on the number of MPS or LPS occurrences is shown. However, as described in the above IBM R & D information, the symbol at the time of normalization occurs. The same effect as above can be obtained even if the method is applied according to MPS or LPS.

【0104】[0104]

【発明の効果】請求項1及び請求項2の発明に係る符号
化装置は、参照シンボルのパターンに対応して、上記符
号化対象シンボルの予測値と予測一致率に基づく識別子
である次数とを記憶するメモリと、参照シンボルのパタ
ーンが特定のパターンであることを検出する検出器と、
前記特定のパターンに対する予測値と次数を記憶するレ
ジスタと、前記検出器出力に基づき、前記メモリとレジ
スタ出力を選択する選択器と、この選択器より出力され
た予測値・次数情報を基に符号化対象シンボルを符号化
する算術符号化手段と、上記符号化対象シンボルを予測
一致しているか否かを判定する判定手段と、その判定結
果に基づいて該参照シンボルパターンに対する予測値お
よび次数を書き換える次数・予測値制御回路とを備えた
ので、参照シンボルのパターンが特定のパターンにある
場合には次数・予測値の読みだし及び更新に前記レジス
タ出力を選択し、それ以外のパターンではメモリからの
出力信号を選択してい用いることができるため符号化速
度が向上するという効果がある。
The encoding apparatus according to the first and second aspects of the present invention provides the predicted value of the symbol to be coded and the order which is an identifier based on the predictive matching rate, corresponding to the pattern of the reference symbol. A memory for storing and a detector for detecting that the pattern of the reference symbol is a specific pattern,
A register for storing the predicted value and the order for the specific pattern, a selector for selecting the memory and the register output based on the detector output, and a code based on the predicted value / order information output from the selector Arithmetic coding means for coding the symbol to be coded, judgment means for judging whether or not the symbol to be coded predictively matches, and rewriting the predicted value and order for the reference symbol pattern based on the judgment result. Since the order / predicted value control circuit is provided, when the pattern of the reference symbol is in a specific pattern, the register output is selected for reading and updating the order / predicted value, and in other patterns, from the memory. Since the output signal can be selected and used, there is an effect that the coding speed is improved.

【0105】請求項3及び請求項4の発明に係る復号化
装置は、参照シンボルのパターンに対応して上記復合化
対象シンボルの予測値と予測一致率に基づく識別子であ
る次数とを記憶するメモリと、参照シンボルのパターン
が特定のパターンであることを検出する検出器と、前記
特定のパターンに対する予測値と次数を記憶するレジス
タと、前記検出器出力に基づき、前記メモリとレジスタ
出力を選択する選択器と、この選択器より出力された予
測値・次数情報を基に符号ビット系列を復合化する算術
復合化手段と、上記復合化対象シンボルが予測一致して
いるか否かを判定する判定手段と、その決定結果に基づ
いて該参照シンボルパターンに対する予測値および次数
を書き換える次数・予測値制御回路とを備えたので、参
照シンボルのパターンが特定のパターンにある場合には
次数・予測値の読みだし及び更新に前記レジスタ出力を
選択し、それ以外のパターンではメモリからの出力信号
を選択してい用いることできるため復号化速度が向上す
るという効果がある。
A decoding device according to the inventions of claims 3 and 4 stores a memory for storing the predicted value of the decoding target symbol and the order which is an identifier based on the predicted matching rate, corresponding to the pattern of the reference symbol. A detector that detects that the pattern of the reference symbol is a specific pattern, a register that stores the predicted value and order for the specific pattern, and the memory and the register output based on the detector output. A selector, an arithmetic decoding means for decoding the code bit sequence based on the predicted value / order information output from the selector, and a judging means for judging whether or not the decoding target symbols are predictively matched. And the order / prediction value control circuit that rewrites the prediction value and the order for the reference symbol pattern based on the determination result. If the pattern is in a specific pattern, the register output can be selected to read and update the order / predicted value, and in other patterns, the output signal from the memory can be selected and used, improving the decoding speed. There is an effect of doing.

【0106】請求項5の発明に係る符号化装置は、参照
シンボルのパターンに対応して上記符号化対象シンボル
の予測値と予測一致率に基づく識別子である次数とを記
憶するメモリと、このメモリから読み出された当該符号
化対象シンボルの予測値および次数を記憶する次数・予
測値レジスタと、上記符号化対象シンボルが予測一致し
ているか否かを判定する判定手段と、その判定結果に基
づいて該参照シンボルパターンにおける前記メモリの予
測値及び次数を書き換える次数・予測値制御回路と、上
記符号化対象シンボルに対する参照シンボルパターンと
直前のシンボルに対する参照シンボルパターンの比較結
果に従って、上記次数・予測値レジスタの内容を更新す
る検出器と、上記次数・予測値レジスタに記憶された予
測値・次数情報をもとに符号化対象シンボルを符号化す
る算術符号化手段とを備えたので、符号化処理に用いる
予測値及び次数として、符号化対象シンボルに対する参
照シンボルパターンと直前のシンボルに対する参照シン
ボルとの比較結果に従って、次数・予測値レジスタの内
容を更新した後、更新後の予測値・次数情報をもとに符
号化対象シンボルを符号化することができるため符号化
速度が向上するという効果がある。
An encoding apparatus according to a fifth aspect of the present invention includes a memory for storing the predicted value of the symbol to be coded and the order which is an identifier based on the predictive matching rate corresponding to the pattern of the reference symbol, and this memory. Order / prediction value register for storing the predicted value and order of the target symbol to be encoded read from, determination means for determining whether or not the target symbol to be encoded matches prediction, and based on the determination result Order / predicted value control circuit for rewriting the predicted value and order of the memory in the reference symbol pattern, and the order / predicted value according to the comparison result of the reference symbol pattern for the symbol to be coded and the reference symbol pattern for the immediately preceding symbol. The detector that updates the contents of the register and the predicted value / order information stored in the above order / predicted value register And the arithmetic coding means for coding the coding target symbol are provided, so that the result of comparison between the reference symbol pattern for the coding target symbol and the reference symbol for the immediately preceding symbol is used as the prediction value and order used in the coding process. According to the above, after updating the contents of the order / prediction value register, the encoding target symbol can be coded based on the updated prediction value / order information, so that the coding speed is improved.

【0107】請求項6の発明に係る符号化装置は、参照
シンボルのパターンに対応して上記符号化対象シンボル
の予測値と予測一致率によって基づく識別子である次数
とを記憶するメモリと、上記符号化対象シンボルが予測
一致しているか否かを判定する判定手段と、その判定結
果に基づいて該参照シンボルパターンにおける前記メモ
リの予測値及び次数を書き換える次数・予測値制御回路
と、直前の符号化対象シンボルに対する書き換え後予測
値および次数を記憶するレジスタと、上記符号化対象シ
ンボルに対する参照シンボルパターンと直前のシンボル
に対する参照シンボルパターンの比較結果に従って、上
記メモリからの次数・予測値または、上記直前の符号化
対象シンボルに対する予測値および次数を記憶するレジ
スタの何れかを選択する選択器と、この選択器出力をも
とに、符号化対象シンボルを符号化する算術符号化手段
とを備えたので、符号化処理に用いる予測値及び次数信
号として、符号化対象シンボルに対する参照シンボルパ
ターンと直前のシンボルに対する参照シンボルとが一致
しているか否かにより、直前の符号化対象シンボルに対
する、書き換え処理後の予測値及び次数ないしは、メモ
リからの出力信号をそれぞれ選択して用いることができ
るため符号化速度が向上するという効果がある。
According to a sixth aspect of the present invention, there is provided a coding apparatus, which stores a predicted value of the target symbol to be coded corresponding to a pattern of a reference symbol and a degree which is an identifier based on a predicted matching rate, and the code. Determination means for determining whether or not the symbol to be coded is predictively matched, an order / predicted value control circuit for rewriting the predicted value and order of the memory in the reference symbol pattern based on the result of the determination, and immediately preceding encoding According to the result of comparison between the register for storing the predicted value and the order after rewriting for the target symbol and the reference symbol pattern for the above-mentioned symbol to be coded and the reference symbol pattern for the immediately preceding symbol, the order / predicted value from the memory or the immediately preceding Select one of the registers that store the predicted value and order for the symbol to be coded. And the arithmetic coding means for coding the target symbol for encoding based on the output of the selector. Therefore, as a predictive value and order signal used in the encoding process, reference to the target symbol for encoding is provided. Depending on whether or not the symbol pattern matches the reference symbol for the immediately preceding symbol, it is possible to select and use the predicted value after the rewriting process and the order or the output signal from the memory for the immediately preceding symbol to be encoded. As a result, the coding speed is improved.

【0108】請求項7及び請求項8の発明によれば、参
照シンボルのパターンに対応して上記復合化対象シンボ
ルの予測値と予測一致率に基づく識別子である次数とを
記憶し、複数の参照シンボルパターンに対応した予測値
および次数を並列に出力するメモリと、複数個の参照シ
ンボルパターンに対するメモリ出力のうちの1組の予測
値および次数を選択出力する選択器と、この選択された
次数・予測値を基に符号化ビット系列を復号化する算術
復号化手段と、上記メモリの出力を記憶するレジスタ
と、上記復号化対象シンボルが予測一致しているか否か
を判定する判定手段と、その決定結果に基づいて該参照
シンボルパターンに対する予測値および次数を書き換え
る次数・予測値制御回路と、上記符号化対象シンボルに
対する参照シンボルパターンと直前のシンボルに対する
参照シンボルパターンの比較結果に従って、上記次数・
予測値レジスタの内容を更新する検出器とを備えたの
で、復号化処理に用いる予測値及び次数信号として、復
号化対象シンボルに対する参照シンボルのパターンと直
前のシンボルに対する参照シンボルとが一致しているか
否かにより、直前の復号化対象シンボルに対する、書き
換え処理後の予測値及び次数ないしは、メモリからの出
力信号をそれぞれ選択して用いることができるため復号
化速度が向上するという効果がある。
According to the seventh and eighth aspects of the present invention, the predicted value of the decoding target symbol and the order which is an identifier based on the predicted matching rate are stored in correspondence with the reference symbol pattern, and a plurality of references are stored. A memory that outputs the predicted value and the order corresponding to the symbol pattern in parallel, a selector that selectively outputs one set of the predicted value and the order among the memory outputs for the plurality of reference symbol patterns, and a selected order Arithmetic decoding means for decoding a coded bit sequence based on a prediction value, a register for storing the output of the memory, a determination means for determining whether or not the decoding target symbol is predictively matched, and An order / prediction value control circuit that rewrites a prediction value and an order for the reference symbol pattern based on the determination result, and a reference symbol for the encoding target symbol According to the comparison result of the reference symbol pattern for turn and the previous symbol, the degree and
Since a detector for updating the contents of the prediction value register is provided, whether the pattern of the reference symbol for the symbol to be decoded and the reference symbol for the immediately preceding symbol match as the prediction value and order signal used in the decoding process. Depending on whether or not the prediction value and the order after the rewriting process or the output signal from the memory can be selected and used for the immediately preceding symbol to be decoded, the decoding speed is improved.

【0109】請求項7及び請求項9の発明によれば、参
照シンボルのパターンに対応して上記復合化対象シンボ
ルの予測値と予測一致率に基づく識別子である次数とを
記憶し、複数の参照シンボルパターンに対応した予測値
および次数を並列に出力するメモリと、複数個の参照シ
ンボルパターンに対するメモリ出力のうちの1組の予測
値および次数を選択出力する選択器と、この選択された
次数・予測値を基に符号化ビット系列を復号化する算術
復号化手段と、上記復合化対象シンボルが予測一致して
いるか否かを判定する判定手段と、その決定結果に基づ
いて該参照シンボルパターンに対する予測値および次数
を書き換える次数・予測値制御回路と、直前の復号化対
象シンボルに対する書き換え後の予測値および次数を記
憶するレジスタと、復号化対象シンボルに対する参照シ
ンボルパターンと直前のシンボルに対する参照シンボル
パターンが一致するか否かを検出する検出器と、この検
出器出力に基づき、上記選択器により選択された次数・
予測値または、上記直前の復号化対象シンボルに対する
予測値および次数を記憶するレジスタからの次数・予測
値の何れかを選択する第2の選択器を備えたので、復号
化処理に用いる予測値及び次数信号として、復号化対象
シンボルに対する参照シンボルのパターンと直前のシン
ボルに対する参照シンボルとが一致しているか否かによ
り、選択器により選択された次数・予測値または直前の
復号化対象シンボルに対する書き換え処理後の予測値及
び次数ないしは、次数・予測値を記憶するレジスタから
の出力信号をそれぞれ選択して用いることができるため
復号化速度が向上するという効果がある。
According to the inventions of claims 7 and 9, the predicted value of the symbol to be decoded and the order which is an identifier based on the predicted matching rate are stored in correspondence with the pattern of the reference symbol, and a plurality of references are stored. A memory that outputs the predicted value and the order corresponding to the symbol pattern in parallel, a selector that selectively outputs one set of the predicted value and the order among the memory outputs for the plurality of reference symbol patterns, and a selected order Arithmetic decoding means for decoding the coded bit sequence based on the prediction value, determination means for determining whether or not the decompression target symbols are predictively matched, and for the reference symbol pattern based on the determination result An order / prediction value control circuit that rewrites the prediction value and the order, and a register that stores the renewed prediction value and order for the immediately preceding symbol to be decoded. A detector reference symbol pattern for the reference symbol pattern and the previous symbol for decoded symbol it is detected whether or not the match, on the basis of the detector output, degree and which is selected by the selector
Since a second selector is provided for selecting either the predicted value or the predicted value for the immediately preceding decoding target symbol and the order / predicted value from the register that stores the order, the predicted value used for the decoding process and As the order signal, the order / predicted value selected by the selector or the rewriting process for the immediately preceding decoding target symbol depending on whether the pattern of the reference symbol for the decoding target symbol and the reference symbol for the immediately preceding symbol match. It is possible to select and use the output signal from the register for storing the subsequent prediction value and order or the order / prediction value, which is effective in improving the decoding speed.

【0110】請求項10及び請求項11の発明によれ
ば、参照シンボルのパターンに対応して、上記符号化対
象シンボルの予測値と予測一致率に基づく識別子である
次数とを記憶するメモリと、連続する複数個の符号化対
象シンボルに対する参照シンボルのパターンが全て特定
のパターンであり且つ全ての符号化対象シンボルが予測
一致することを検出する検出器と、上記検出器出力を基
に、上記メモリに記憶された予測値・次数情報により符
号化対象シンボルを1シンボルずつ符号化するか、ある
いは上記複数個の符号化対象シンボルを一括して符号化
するかの処理を切り替えて動作する算術符号化手段と、
上記符号化対象シンボルを予測一致しているか否かを判
定する判定手段と、その決定結果に基づいて該参照シン
ボルパターンにおける前記メモリの予測値及び次数を書
き換える次数・予測値制御回路とを備えたので、連続す
る複数個の符号化対象シンボルに対する参照シンボルの
パターンが特定のパターンにある場合には、上記算術符
号器において、複数個のシンボルに対する算術演算を一
括して行うことができるため符号化速度が向上するとい
う効果がある。
According to the tenth and eleventh aspects of the present invention, a memory for storing the predicted value of the coding target symbol and the order which is an identifier based on the predicted matching rate, corresponding to the pattern of the reference symbol, A detector for detecting that the patterns of reference symbols for a plurality of continuous encoding target symbols are all specific patterns and all the encoding target symbols predictively match, and the memory based on the detector output. Arithmetic coding that operates by switching between processing for coding the coding target symbols one symbol at a time according to the prediction value / order information stored in the above or for collectively coding the plurality of coding target symbols Means and
A determination unit that determines whether or not the encoding target symbols are predictively matched, and an order / predicted value control circuit that rewrites the predicted value and the order of the memory in the reference symbol pattern based on the determination result are provided. Therefore, when the pattern of the reference symbols for a plurality of consecutive symbols to be encoded is in a specific pattern, the arithmetic encoder can collectively perform the arithmetic operation on the plurality of symbols. This has the effect of increasing speed.

【0111】請求項12及び請求項13の発明によれ
ば、参照シンボルのパターンに対応して復号化対象シン
ボルの予測値と予測一致率に基づく識別子である次数と
を記憶するメモリと、連続する複数個の復号化対象シン
ボルが予測一致すると仮定した場合には該複数個の復号
化対象シンボルに対する参照シンボルのパターンが全て
特定のパターンであることを検出する検出器と、上記検
出器出力を基に、上記メモリに記憶された予測値・次数
情報により符号化対象シンボルを1シンボルずつ符号化
するか、あるいは上記複数個の復号化対象シンボルを一
括して復号化するかの処理を切り替えて動作する算術復
号化手段と、上記復号化対象シンボルを予測一致してい
るか否かを判定する判定手段と、その決定結果に基づい
て該参照シンボルパターンに対する予測値および次数を
書き換える次数・予測値制御回路とを備えたので、連続
する複数個の復号化対象シンボルに対する参照シンボル
のパターンが特定のパターンにある場合には、上記算術
符号器において複数個のシンボルに対する算術演算を一
括して行うことができるため復号化速度が向上するとい
う効果がある。
According to the twelfth and thirteenth aspects of the present invention, a memory for storing the predicted value of the symbol to be decoded and the order which is an identifier based on the predictive matching rate in correspondence with the pattern of the reference symbol is continuous. When it is assumed that a plurality of decoding target symbols are predictively matched, a detector for detecting that all the patterns of reference symbols for the plurality of decoding target symbols are specific patterns, and a detector output based on the detector output. In addition, the operation is performed by switching the process of encoding the symbol to be encoded one symbol at a time according to the prediction value / order information stored in the memory or collectively decoding the plurality of symbols to be decoded. Arithmetic decoding means for determining whether or not the decoding target symbol predictively matches, and the reference symbol pattern based on the determination result. Since an order / predicted value control circuit that rewrites the predicted value and the order for a symbol is provided, when the reference symbol pattern for a plurality of consecutive decoding target symbols is in a specific pattern, in the arithmetic encoder Since it is possible to collectively perform arithmetic operations on a plurality of symbols, there is an effect that the decoding speed is improved.

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

【図1】第1本発明の一実施例による符号化装置のブロ
ック構成図である。
FIG. 1 is a block configuration diagram of an encoding apparatus according to an embodiment of the first present invention.

【図2】本実施例における算術符号器の内部構成を示す
ブロック構成図である。
FIG. 2 is a block configuration diagram showing an internal configuration of an arithmetic encoder in this embodiment.

【図3】本実施例による動作例を示すタイミング図であ
る。
FIG. 3 is a timing chart showing an operation example according to the present embodiment.

【図4】同じく本実施例による動作例を示すタイミング
図である。
FIG. 4 is a timing diagram showing an operation example according to the present embodiment.

【図5】第2発明の一実施例を示す復号化装置のブロッ
ク構成図である。
FIG. 5 is a block configuration diagram of a decoding device showing an embodiment of a second invention.

【図6】本実施例における算術復号器の内部構成を示す
ブロック構成図である。
FIG. 6 is a block configuration diagram showing an internal configuration of an arithmetic decoder in the present embodiment.

【図7】本実施例による動作例を示すタイミング図であ
る。
FIG. 7 is a timing diagram showing an operation example according to the present embodiment.

【図8】本実施例による動作例を示すタイミング図であ
る。
FIG. 8 is a timing diagram showing an operation example according to the present embodiment.

【図9】第3の発明の一実施例による符号化装置のブロ
ック構成図である。
FIG. 9 is a block configuration diagram of an encoding apparatus according to an embodiment of the third invention.

【図10】図9の実施例における算術符号器の内部構成
を示すブロック構成図である。
10 is a block diagram showing an internal configuration of an arithmetic encoder in the embodiment of FIG.

【図11】図9の実施例による動作例を示すタイミング
図である。
FIG. 11 is a timing diagram illustrating an operation example according to the embodiment of FIG.

【図12】本発明の他の実施例による符号化装置のブロ
ック図である。
FIG. 12 is a block diagram of an encoding device according to another embodiment of the present invention.

【図13】第4発明の一実施例を示す復号化装置のブロ
ック構成図である。
FIG. 13 is a block configuration diagram of a decoding device showing an embodiment of the fourth invention.

【図14】図13の実施例における算術復号器の内部構
成を示すブロック構成図である。
14 is a block diagram showing an internal configuration of an arithmetic decoder in the embodiment of FIG.

【図15】図13の実施例による動作例を示すタイミン
グ図である。
FIG. 15 is a timing diagram showing an operation example according to the embodiment of FIG.

【図16】本発明の他の実施例を示す復号化装置のブロ
ック図である。
FIG. 16 is a block diagram of a decoding device showing another embodiment of the present invention.

【図17】第5の発明の一実施例による符号化装置のブ
ロック構成図である。
FIG. 17 is a block configuration diagram of an encoding device according to an embodiment of the fifth invention.

【図18】図17の実施例における算術符号器の内部構
成を示すブロック構成図である。
FIG. 18 is a block diagram showing an internal configuration of an arithmetic encoder in the embodiment of FIG.

【図19】図17の実施例による動作例を示すタイミン
グ図である。
19 is a timing diagram showing an operation example according to the embodiment of FIG.

【図20】図17の実施例による動作例を示すタイミン
グ図である。
20 is a timing diagram showing an operation example according to the embodiment of FIG.

【図21】第6の発明の一実施例を示す復号化装置のブ
ロック構成図である。
FIG. 21 is a block diagram of a decoding device showing an embodiment of the sixth invention.

【図22】図21の実施例における算術復号器の内部構
成を示すブロック構成図である。
22 is a block diagram showing the internal structure of the arithmetic decoder in the embodiment of FIG. 21. FIG.

【図23】図21の実施例による動作例を示すタイミン
グ図である。
23 is a timing diagram showing an operation example according to the embodiment of FIG. 21. FIG.

【図24】図21の実施例による他の動作例を示すタイ
ミング図である。
FIG. 24 is a timing diagram showing another operation example according to the embodiment of FIG. 21.

【図25】従来の技術による符号化装置のブロック構成
図である。
[Fig. 25] Fig. 25 is a block configuration diagram of an encoding device according to a conventional technique.

【図26】符号化に利用される参照シンボルの位置を示
す図である。
FIG. 26 is a diagram showing positions of reference symbols used for encoding.

【図27】次数・予測値テーブルの内容を示す図であ
る。
FIG. 27 is a diagram showing the contents of an order / predicted value table.

【図28】領域幅テーブルの内容を示す図である。FIG. 28 is a diagram showing the contents of an area width table.

【符号の説明】[Explanation of symbols]

2 次数・予測値メモリ 3 予測変換器 5 算術符号器 6 次数・予測値制御回路 7 検出器 8 次数・予測値レジスタ 9,12 選択器 10 算術復号器 11 予測逆変換器 2nd order / predicted value memory 3 Prediction converter 5 Arithmetic encoder 6 Order / predicted value control circuit 7 Detector 8 Order / predicted value register 9, 12 Selector 10 Arithmetic decoder 11 Predictive inverse converter

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木村 智広 神奈川県鎌倉市大船五丁目1番1号 三菱 電機株式会社 通信システム研究所内 (72)発明者 小野 文孝 神奈川県鎌倉市大船五丁目1番1号 三菱 電機株式会社 通信システム研究所内 (56)参考文献 特開 平2−305225(JP,A) 特開 平2−202267(JP,A) 特開 平2−65373(JP,A) 米国特許5313204(US,A) 欧州特許出願公開510627(EP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Tomohiro Kimura 5-1-1, Ofuna, Kamakura-shi, Kanagawa Mitsubishi Electric Corporation Communication Systems Laboratory (72) Fumitaka Ono 5-1-1, Ofuna, Kamakura-shi, Kanagawa No. Mitsubishi Electric Co., Ltd. Communication Systems Laboratory (56) Reference JP-A-2-305225 (JP, A) JP-A-2-202267 (JP, A) JP-A-2-65373 (JP, A) US Patent 5313204 (US, A) European Patent Application Publication 510627 (EP, A)

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 情報源の出力シンボル系列の予め定めて
おいた位置の複数の参照シンボルのパターンから符号化
対象シンボルの予測を行ってその予測誤差信号を符号化
する符号化装置において、参照シンボルのパターンに対
応して、上記符号化対象シンボルの予測値と予測一致率
に基づく識別子である次数とを記憶するメモリと、参照
シンボルのパターンが特定のパターンであることを検出
する検出器と、前記特定のパターンに対する予測値と次
数を記憶するレジスタと、前記検出器出力に基づき、前
記メモリとレジスタ出力を選択する選択器と、この選択
器より出力された予測値・次数情報を基に符号化対象シ
ンボルを符号化する算術符号手段とを備えたことを特
徴とする符号化装置。
1. A coding apparatus for predicting a coding target symbol from a pattern of a plurality of reference symbols at a predetermined position of an output symbol sequence of an information source and coding a prediction error signal thereof, the reference symbol Corresponding to the pattern of, a memory that stores the predicted value of the encoding target symbol and an order that is an identifier based on the predictive matching rate, a detector that detects that the pattern of the reference symbol is a specific pattern, A register for storing the predicted value and the order for the specific pattern, a selector for selecting the memory and the register output based on the detector output, and a code based on the predicted value / order information output from the selector code KaSo location, characterized by comprising an arithmetic encoding means for encoding the encoding target symbol.
【請求項2】 上記符号化対象シンボルを予測一致して
いるか否かを判定する判定手段と、その判定結果に基づ
いて該参照シンボルパターンに対する予測値および次数
を書き換える次数・予測値制御回路とを備えたことを特
徴とする請求項第1項記載の符号化装置。
2. A determination means for determining whether or not the encoding target symbols are predictively matched, and an order / prediction value control circuit for rewriting a prediction value and an order for the reference symbol pattern based on the result of the determination. The encoding device according to claim 1, further comprising:
【請求項3】 情報源の出力シンボル系列の予め定めて
おいた位置の複数の参照シンボルのパターンから符号化
対象シンボルの予測を行ってその予測誤差信号を符号化
した符号ビット系列を復号化する復号化装置において、
参照シンボルのパターンに対応して上記復合化対象シン
ボルの予測値と予測一致率に基づく識別子である次数と
を記憶するメモリと、参照シンボルのパターンが特定の
パターンであることを検出する検出器と、前記特定のパ
ターンに対する予測値と次数を記憶するレジスタと、前
記検出器出力に基づき、前記メモリとレジスタ出力を選
択する選択器と、この選択器より出力された予測値・次
数情報を基に符号ビット系列を復合化する算術復合化手
段を備えることを特徴とする復号化装置。
3. A code bit sequence in which a prediction error signal is encoded is decoded by predicting a symbol to be encoded from a pattern of a plurality of reference symbols at predetermined positions of an output symbol sequence of an information source. In the decryption device,
A memory for storing the predicted value of the decoding target symbol corresponding to the pattern of the reference symbol and the order which is an identifier based on the predicted matching rate; and a detector for detecting that the pattern of the reference symbol is a specific pattern. , A register for storing a predicted value and order for the specific pattern, a selector for selecting the memory and register output based on the detector output, and a predicted value / order information output from the selector. A decoding device comprising arithmetic decoding means for decoding a code bit sequence.
【請求項4】 上記復合化対象シンボルが予測一致して
いるか否かを判定する判定手段と、 その決定結果に基づいて該参照シンボルパターンに対す
る予測値および次数を書き換える次数・予測値制御回路
とを備えたことを特徴とする請求項第3項記載の復合化
装置。
4. Determining means for determining whether or not the decoding target symbols are predictively matched, and an order / predicted value control circuit for rewriting a predicted value and an order for the reference symbol pattern based on the result of the determination. The decoding device according to claim 3, wherein the decoding device is provided.
【請求項5】 情報源の出力シンボル系列の予め定めて
おいた位置の複数の参照シンボルのパターンから符号化
対象シンボルの予測を行ってその予測誤差信号を符号化
する符号化装置において、 参照シンボルのパターンに対応して上記符号化対象シン
ボルの予測値と予測一致率に基づく識別子である次数と
を記憶するメモリと、 このメモリから読み出された当該符号化対象シンボルの
予測値および次数を記憶する次数・予測値レジスタと、 上記符号化対象シンボルが予測一致しているか否かを判
定する判定手段と、 その判定結果に基づいて該参照シンボルパターンにおけ
る前記メモリの予測値及び次数を書き換える次数・予測
値制御回路と、 上記符号化対象シンボルに対する参照シンボルパターン
と直前のシンボルに対する参照シンボルパターンの比較
結果に従って、上記次数・予測値レジスタの内容を更新
する検出器と、 上記次数・予測値レジスタに記憶された予測値・次数情
報をもとに符号化対象シンボルを符号化する算術符号化
手段とを備えたことを特徴とする符号化装置。
5. A coding apparatus for predicting a symbol to be coded from a pattern of a plurality of reference symbols at a predetermined position of an output symbol sequence of an information source and coding a prediction error signal thereof, the reference symbol comprising: And a memory for storing the predicted value of the coding target symbol and the order which is an identifier based on the prediction matching rate, and the predicted value and the order of the coding target symbol read from the memory. An order / prediction value register, a determination unit for determining whether or not the encoding target symbols are predictively matched, and a order / order for rewriting the prediction value and order of the memory in the reference symbol pattern based on the determination result. The predictive value control circuit, the reference symbol pattern for the symbol to be coded, and the reference symbol pattern for the immediately preceding symbol. A detector that updates the contents of the order / prediction value register according to the comparison result of the code and an arithmetic operation that encodes the encoding target symbol based on the prediction value / order information stored in the order / prediction value register. An encoding device comprising: an encoding unit.
【請求項6】 情報源の出力シンボル系列の予め定めて
おいた位置の複数の参照シンボルのパターンから符号化
対象シンボルの予測を行ってその予測誤差信号を符号化
する符号化装置において、 参照シンボルのパターンに対応して上記符号化対象シン
ボルの予測値と予測一致率によって基づく識別子である
次数とを記憶するメモリと、 上記符号化対象シンボルが予測一致しているか否かを判
定する判定手段と、 その判定結果に基づいて該参照シンボルパターンにおけ
る前記メモリの予測値及び次数を書き換える次数・予測
値制御回路と、 直前の符号化対象シンボルに対する書き換え後予測値お
よび次数を記憶するレジスタと、 上記符号化対象シンボルに対する参照シンボルパターン
と直前のシンボルに対する参照シンボルパターンの比較
結果に従って、上記メモリからの次数・予測値または、
上記直前の符号化対象シンボルに対する予測値および次
数を記憶するレジスタの何れかを選択する選択器と、 この選択器出力をもとに、符号化対象シンボルを符号化
する算術符号化手段とを備えたことを特徴とする符号化
装置。
6. A coding device for predicting a coding target symbol from a pattern of a plurality of reference symbols at a predetermined position of an output symbol sequence of an information source and coding a prediction error signal thereof, the reference symbol A memory for storing a predicted value of the encoding target symbol corresponding to the pattern and an order that is an identifier based on a prediction matching rate; and a determining unit for determining whether or not the encoding target symbol predictively matches. An order / prediction value control circuit that rewrites the prediction value and order of the memory in the reference symbol pattern based on the determination result; a register that stores the rewriting prediction value and order for the immediately preceding symbol to be encoded; The comparison result of the reference symbol pattern for the target symbol and the reference symbol pattern for the immediately preceding symbol. According, degree and predicted value from said memory or,
A selector for selecting one of the registers for storing the predicted value and the order for the immediately preceding symbol to be encoded, and an arithmetic encoding means for encoding the symbol to be encoded based on the output of the selector. An encoding device characterized by the above.
【請求項7】 情報源の出力シンボル系列の予め定めて
おいた位置の複数の参照シンボルのパターンから符号化
対象シンボルの予測を行ってその予測誤差信号を符号化
した符号ビット系列を復合化する復号化装置において、 参照シンボルのパターンに対応して上記復合化対象シン
ボルの予測値と予測一致率に基づく識別子である次数と
を記憶し、複数の参照シンボルパターンに対応した予測
値および次数を並列に出力するメモリと、 複数個の参照シンボルパターンに対するメモリ出力のう
ちの1組の予測値および次数を選択出力する選択器と、
この選択された次数・予測値を基に符号化ビット系列を
復号化する算術復号化手段を備えたことを特徴とする復
号化装置。
7. An encoding target symbol is predicted from patterns of a plurality of reference symbols at predetermined positions of an output symbol sequence of an information source, and a code bit sequence obtained by encoding the prediction error signal is decoded. In the decoding device, the predicted value of the decoding target symbol and the order which is an identifier based on the predicted matching rate are stored in correspondence with the pattern of the reference symbol, and the predicted value and the order corresponding to the plurality of reference symbol patterns are arranged in parallel. And a selector for selectively outputting a set of prediction values and orders of the memory outputs for a plurality of reference symbol patterns,
A decoding device comprising an arithmetic decoding means for decoding an encoded bit sequence based on the selected order / predicted value.
【請求項8】 上記メモリの出力を記憶するレジスタ
と、 上記復号化対象シンボルが予測一致しているか否かを判
定する判定手段と、 その決定結果に基づいて該参照シンボルパターンに対す
る予測値および次数を書き換える次数・予測値制御回路
と、 上記復号化対象シンボルに対する参照シンボルパターン
と直前のシンボルに対する参照シンボルパターンの比較
結果に従って、上記次数・予測値レジスタの内容を更新
する検出器とを備えたことを特徴とする請求項第7項記
載の復号化装置。
8. A register for storing the output of the memory, a judgment means for judging whether or not the decoding target symbols are predictively matched, and a prediction value and order for the reference symbol pattern based on the result of the judgment. And a detector that updates the contents of the order / prediction value register according to the result of comparison between the reference symbol pattern for the decoding target symbol and the reference symbol pattern for the immediately preceding symbol. The decoding device according to claim 7, wherein:
【請求項9】 上記復合化対象シンボルが予測一致して
いるか否かを判定する判定手段と、 その決定結果に基づいて該参照シンボルパターンに対す
る予測値および次数を書き換える次数・予測値制御回路
と、 直前の復号化対象シンボルに対する書き換え後の予測値
および次数を記憶するレジスタと、 復号化対象シンボルに対する参照シンボルパターンと直
前のシンボルに対する参照シンボルパターンが一致する
か否かを検出する検出器と、 この検出器出力に基づき、上記選択器により選択された
次数・予測値または、上記直前の復号化対象シンボルに
対する予測値および次数を記憶するレジスタからの次数
・予測値の何れかを選択する第2の選択器を備えたこと
を特徴とする請求項第7項記載の復合化装置。
9. A determination means for determining whether or not the decoding target symbols are predictively matched, and an order / prediction value control circuit for rewriting a prediction value and an order for the reference symbol pattern based on the result of the determination. A register that stores the predicted value and order after rewriting for the immediately preceding decoding target symbol, a detector that detects whether the reference symbol pattern for the decoding target symbol matches the reference symbol pattern for the immediately preceding symbol, and A second order selecting either the order / predicted value selected by the selector or the order / predicted value from a register storing the predicted value and the order for the immediately preceding symbol to be decoded, based on the detector output; The decoding device according to claim 7, further comprising a selector.
【請求項10】 情報源の出力シンボル系列の予め定め
ておいた位置の複数の参照シンボルのパターンから符号
化対象シンボルの予測を行ってその予測誤差信号を符号
化する符号化装置において、 参照シンボルのパターンに対応して、上記符号化対象シ
ンボルの予測値と予測一致率に基づく識別子である次数
とを記憶するメモリと、 連続する複数個の符号化対象シンボルに対する参照シン
ボルのパターンが全て特定のパターンであり且つ全ての
符号化対象シンボルが予測一致することを検出する検出
器と、 上記検出器出力を基に、上記メモリに記憶された予測値
・次数情報により符号化対象シンボルを1シンボルずつ
符号化するか、あるいは上記複数個の符号化対象シンボ
ルを一括して符号化するかの処理を切り替えて動作する
算術符号化手段を備えたことを特徴とする符号化装置。
10. A coding apparatus for predicting a coding target symbol from a pattern of a plurality of reference symbols at predetermined positions of an output symbol sequence of an information source and coding a prediction error signal thereof, the reference symbol Corresponding to the pattern, the memory that stores the predicted value of the encoding target symbol and the order that is an identifier based on the predictive matching rate, and the pattern of the reference symbol for a plurality of consecutive encoding target symbols are all specified. A detector that detects that all the symbols to be coded are predictive and coincides with a pattern, and based on the output of the detector, the symbols to be coded are symbol-by-symbol by the prediction value / order information stored in the memory. An arithmetic coder that operates by switching the processing of whether to code or to collectively code the plurality of coding target symbols. An encoding device comprising a stage.
【請求項11】 上記符号化対象シンボルを予測一致し
ているか否かを判定する判定手段と、 その決定結果に基づいて該参照シンボルパターンにおけ
る前記メモリの予測値及び次数を書き換える次数・予測
値制御回路とを備えたことを特徴とする請求項第10項
記載の符号化装置。
11. Determining means for determining whether or not the encoding target symbols are predictively coincident, and order / predictive value control for rewriting the predictive value and the order of the memory in the reference symbol pattern based on the determination result. The encoding device according to claim 10, further comprising a circuit.
【請求項12】 情報源の出力シンボル系列の予め定め
ておいた位置の複数の参照シンボルのパターンから符号
化対象シンボルの予測を行ってその予測誤差信号を符号
化する符号ビット系列を復号化する復号化装置におい
て、 参照シンボルのパターンに対応して復号化対象シンボル
の予測値と予測一致率に基づく識別子である次数とを記
憶するメモリと、 連続する複数個の復号化対象シンボルが予測一致すると
仮定した場合には該複数個の復号化対象シンボルに対す
る参照シンボルのパターンが全て特定のパターンである
ことを検出する検出器と、 上記検出器出力を基に、上記メモリに記憶された予測値
・次数情報により符号化対象シンボルを1シンボルずつ
符号化するか、あるいは上記複数個の復号化対象シンボ
ルを一括して復号化するかの処理を切り替えて動作する
算術復号化手段を備えたことを特徴とする復号化装置。
12. A code bit sequence for encoding a prediction error signal by predicting a symbol to be encoded from a pattern of a plurality of reference symbols at predetermined positions of an output symbol sequence of an information source and decoding the prediction error signal. In the decoding device, when the prediction value of the decoding target symbol corresponding to the pattern of the reference symbol and the order which is the identifier based on the prediction matching rate are stored, and a plurality of consecutive decoding target symbols predictively match If it is assumed that the reference symbol patterns for the plurality of decoding target symbols are all specific patterns, and a predictive value stored in the memory based on the detector output. Whether the encoding target symbols are encoded one symbol at a time according to the order information, or whether the plurality of decoding target symbols are collectively decoded. A decoding device comprising an arithmetic decoding means that operates by switching the processing of.
【請求項13】 上記復号化対象シンボルを予測一致し
ているか否かを判定する判定手段と、 その決定結果に基づいて該参照シンボルパターンに対す
る予測値および次数を書き換える次数・予測値制御回路
とを備えたことを特徴とする請求項第12項記載の復号
化装置。
13. Determining means for determining whether or not the decoding target symbols are predictively matched, and an order / predictive value control circuit for rewriting a predictive value and an order for the reference symbol pattern based on a result of the determination. The decoding device according to claim 12, further comprising:
JP3311910A 1991-04-25 1991-10-30 Encoding / decoding device Expired - Fee Related JPH0795693B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US07/871,083 US5313204A (en) 1991-04-25 1992-04-20 Encoding and decoding devices with predictor and detector
DE69224546T DE69224546T2 (en) 1991-04-25 1992-04-23 Coding and decoding devices
EP92106926A EP0510627B1 (en) 1991-04-25 1992-04-23 Encoding and decoding devices

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3-122672 1991-04-25
JP12267291 1991-04-25

Publications (2)

Publication Number Publication Date
JPH0567978A JPH0567978A (en) 1993-03-19
JPH0795693B2 true JPH0795693B2 (en) 1995-10-11

Family

ID=14841781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3311910A Expired - Fee Related JPH0795693B2 (en) 1991-04-25 1991-10-30 Encoding / decoding device

Country Status (1)

Country Link
JP (1) JPH0795693B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5694126A (en) * 1995-03-20 1997-12-02 Oki Data Corporation Adaptive predictive data compression method and apparatus
WO1997035434A1 (en) * 1996-03-19 1997-09-25 Mitsubishi Denki Kabushiki Kaisha Encoder, decoder, their methods, and image processor

Also Published As

Publication number Publication date
JPH0567978A (en) 1993-03-19

Similar Documents

Publication Publication Date Title
US4901363A (en) System for compressing bi-level data
EP0510627B1 (en) Encoding and decoding devices
US5307062A (en) Coding system
US5151949A (en) System and method employing multiple predictor sets to compress image data having different portions
JPH0258814B2 (en)
GB2154828A (en) System for re-quantization of coded picture signals
GB2320388A (en) Motion vector detection image processing apparatus
US5736947A (en) Digital information encoding device, digital information decoding device, digital information encoding/decoding device, digital information encoding method, and digital information decoding method
JPH0795693B2 (en) Encoding / decoding device
US5784497A (en) Arithmetic encoding with carry over processing
JP3459759B2 (en) Arithmetic decoding device
JP3119025B2 (en) Encoding device and decoding device
JP4537089B2 (en) Variable length decoding apparatus and method, computer program, and computer readable storage medium
JP3146109B2 (en) Binary image coding device
JPH06121172A (en) Picture encoder
JP3317079B2 (en) Variable length code decoding device
JP2812064B2 (en) Image processing device
JP3223118B2 (en) Image encoding device, image decoding device, and image encoding / decoding device
US6331827B1 (en) Huffman decoder using two priority encoder to reduce circuit scale
JP2842045B2 (en) Data compression device
JP3146092B2 (en) Encoding device and decoding device
JP2891818B2 (en) Encoding device
JP2872334B2 (en) Color image encoding device
JP2952007B2 (en) Image coding device
JP3698797B2 (en) Arithmetic encoder / decoder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 16

LAPS Cancellation because of no payment of annual fees