JPH07249995A - Data encoder - Google Patents

Data encoder

Info

Publication number
JPH07249995A
JPH07249995A JP3954194A JP3954194A JPH07249995A JP H07249995 A JPH07249995 A JP H07249995A JP 3954194 A JP3954194 A JP 3954194A JP 3954194 A JP3954194 A JP 3954194A JP H07249995 A JPH07249995 A JP H07249995A
Authority
JP
Japan
Prior art keywords
probability
symbol
data
arithmetic
occurrence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3954194A
Other languages
Japanese (ja)
Inventor
Mitsunari Todoroki
晃成 轟
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP3954194A priority Critical patent/JPH07249995A/en
Publication of JPH07249995A publication Critical patent/JPH07249995A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【目的】 複数ビットの入力データを一括処理すること
により符号化および復号化の処理速度の高速化を図る。 【構成】 Nビットの入力データにおけるシンボル系列
の発生確率を規定されたマルコフモデルに対して求め、
入力データに応じた領域を入力されたシンボル列に対し
て一括して割り当てる。また、確率推定値の更新におい
て、優勢シンボル列の正規化では全ての劣勢シンボルの
確率推定値を更新し、劣勢シンボル列の正規化では符号
化された劣勢シンボルのみ確率推定値を更新する。
(57) [Abstract] [Purpose] To increase the processing speed of encoding and decoding by collectively processing input data of multiple bits. [Arrangement] The probability of occurrence of a symbol sequence in N-bit input data is calculated for a specified Markov model,
An area corresponding to the input data is collectively assigned to the input symbol string. Further, in updating the probability estimation value, the probability estimation values of all the inferior symbols are updated in the normalization of the dominant symbol sequence, and the probability estimation values of only the encoded inferior symbols are updated in the normalization of the inferior symbol sequence.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば画像通信装置や
画像記憶装置等におけるデータ符号化装置の構成に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the structure of a data encoding device in, for example, an image communication device or an image storage device.

【0002】[0002]

【従来の技術】従来より画像を対象としたエントロピー
符号化としてMH,MMR符号化が提案され、ファクシ
ミリ等で実用化されている。また、2値画像およびカラ
ー画像の画像符号化方式として高い圧縮効率が実現でき
る算術符号器が考案され(IBMJournal of Research and
Development Vol.32, No.6, Nov.1988)、2値画像符
号化標準(JBIG)に採用されている。
2. Description of the Related Art Conventionally, MH and MMR coding have been proposed as entropy coding for images, and have been put to practical use in facsimiles and the like. In addition, an arithmetic encoder that can realize high compression efficiency has been devised as an image encoding method for binary images and color images (IBM Journal of Research and
Development Vol.32, No.6, Nov.1988), which is adopted in the binary image coding standard (JBIG).

【0003】算術符号器は、符号化対象とするデータに
対してマルコフモデルを規定し、マルコフモデルの状態
により符号化データの発生確率を推定し、推定された発
生確率の大きさに応じて数直線を分割し符号語を生成す
るものである。推定した発生確率の大きいシンボルを優
勢シンボル(More Probable Simbol:MPS)とし、発生確率
の小さいシンボルを劣勢シンボル(Less Probable Simbo
l:LPS)として、既に符号化されたシンボルに対してマル
コフモデルの状態から次に発生するシンボルを予測し、
予測が的中した場合はMPSの発生確率を数直線の領域
幅として与え、予測がはずれた場合はLPSの発生確率
を数直線の領域幅として与え、数直線上の領域分割を行
い、領域の存在する位置を符号語として出力する符号化
装置である。
The arithmetic encoder defines a Markov model for the data to be encoded, estimates the occurrence probability of the encoded data from the state of the Markov model, and calculates the number according to the magnitude of the estimated occurrence probability. A straight line is divided to generate a code word. The symbol with a high probability of occurrence is the dominant symbol (More Probable Simbol: MPS), and the symbol with a low probability of occurrence is the lesser symbol (Less Probable Simbol: MPS).
(l: LPS), predict the next generated symbol from the state of the Markov model for the already encoded symbol,
If the prediction is correct, the probability of MPS occurrence is given as the region width of the number line, and if the prediction is incorrect, the probability of occurrence of the LPS is given as the region width of the number line. It is an encoding device that outputs existing positions as code words.

【0004】以下に符号化の具体例に沿って説明する。
ただし、ここでは2値シンボル1ビットの符号化を想定
している。
A specific example of encoding will be described below.
However, here, encoding of binary symbol 1 bit is assumed.

【0005】はじめに、0.0から1.0までの数直線
を定義し、現在割り当てられている領域の幅(オージェ
ント)をAとして、割り当てられている領域の最下端を
Cとする。符号化前の初期値としてC=0.0、A=
1.0として符号化を開始する。 数直線の領域をMP
Sの発生確率pとLPSの発生確率qとすると、優勢シ
ンボルの発生確率と劣勢シンボルの発生確率の和は1と
なるので、p+q=1となる。シンボルをiビット符号
化した時点のオージェントAおよび下端Cは、シンボル
sがMPSのときは、 Ai=p・Ai-1=(1−q)・Ai-1 Ci=Ci-1 シンボルsがLPSのときは、 Ai=q・Ai-1 Ci=Ci-1+(1−q)・Ai-1 となる。このとき、q・Ai-1の演算には乗算が要求さ
れるが、この乗算を避けるためにq・Ai-1に発生確率
に応じた固定値Qをテーブルとして持ち、テーブルから
固定値Qを選択することにより演算を簡略する減算型算
術符号が考案されている。
First, a number line from 0.0 to 1.0 is defined, the width (augent) of the currently allocated area is A, and the lowest end of the allocated area is C. C = 0.0 and A = as initial values before encoding
Encoding is started as 1.0. MP the area of the number line
Assuming that the occurrence probability of S is p and the occurrence probability of LPS is q, the sum of the occurrence probability of the dominant symbol and the occurrence probability of the inferior symbol is 1, so p + q = 1. When the symbol s is MPS, Ai = p * Ai-1 = (1-q) * Ai-1 Ci = Ci-1 In the case of LPS, Ai = q.Ai-1 Ci = Ci-1 + (1-q) .Ai-1. At this time, multiplication is required for the calculation of q · Ai−1, but in order to avoid this multiplication, q · Ai−1 has a fixed value Q according to the occurrence probability as a table, and the fixed value Q is obtained from the table. A subtraction type arithmetic code has been devised which simplifies the operation by selecting it.

【0006】したがって、AiおよびCiは、シンボルs
がMPSのときは、 Ai=Ai-1−Q Ci=Ci-1 シンボルsがLPSのときは、 Ai=Q Ci=Ci-1+(Ai-1−Q) と近似されている。
Therefore, Ai and Ci are the symbols s
Is MPS, Ai = Ai-1-Q Ci = Ci-1 When the symbol s is LPS, Ai = Q Ci = Ci-1 + (Ai-1-Q).

【0007】また、確率推定テーブルの固定値Qに関し
て特開昭63−76525、特開平2−285774が
考案されている。
Further, JP-A-63-76525 and JP-A-2-285774 have been devised for the fixed value Q of the probability estimation table.

【0008】算術符号器では、上記した演算をシンボル
sが終了するまで繰り返し、演算結果Cが符号語として
出力される。CはオージェントAの下端点であり、Cの
位置は一意に求められるので符号語として成立する。し
かしながら、上記した演算を繰り返すとAiは小さくな
り、演算精度が十分でなくなる。そのため、Aが1/2
を下回ったときにAが1/2以上になるようにAを2倍
する操作(正規化)を行うことにより演算精度を保証
し、このときAを2倍すると同時にCも2倍することに
より符号化の定義も保たれる。
The arithmetic encoder repeats the above-mentioned operation until the symbol s is completed, and outputs the operation result C as a code word. C is the lower end point of the augento A, and the position of C is uniquely obtained, so that it is established as a code word. However, when the above calculation is repeated, Ai becomes small and the calculation accuracy becomes insufficient. Therefore, A is 1/2
The accuracy of the operation is guaranteed by performing an operation (normalization) that doubles A so that A becomes ½ or more when the value is less than 1. At this time, double A and at the same time double C. The definition of encoding is also preserved.

【0009】高能率圧縮符号化である算術符号器をカラ
ー画像(階調画像)、マルチカラー画像(限定色画像)
に適用する場合、従来では、図5に示すように1画素N
ビットで表現されているデータ(MCP)を2値系列変
換を行った後、2値のシンボルsを符号化する上述した
2値算術符号器により符号化を行っている。
An arithmetic coder which is a high-efficiency compression coding is applied to a color image (gradation image), a multi-color image (limited color image).
In the conventional case, as shown in FIG.
Data (MCP) represented by bits is subjected to binary sequence conversion, and then encoded by the above-mentioned binary arithmetic encoder which encodes the binary symbol s.

【0010】図5において、11は1画素Nビットで表
現される画像データMCPを記憶する遅延器であり、1
2は既に符号化済みのデータからマルコフモデルを規定
し、マルコフモデルの状態からコンテクストCXを出力
するコンテクスト生成回路であり、14は階調画像や限
定色画像を表現する入力データMCPから2値データB
Dに変換する2値系列変換器である。2値系列変換器と
して、シフトレジスタにより構成できるパラレル/シリ
アル変換器でも良いし、特開平2−285774にある
ようなマルチカラー画像に特定の2値の符号語を割り当
てることもできる。13はコンテクスト生成回路12か
ら出力されるコンテクストと2値系列変換器14からの
2値データBDを入力し符号語CODEを出力する2値
算術符号器である。
In FIG. 5, reference numeral 11 is a delay device for storing image data MCP represented by N bits per pixel.
Reference numeral 2 is a context generation circuit that defines a Markov model from already encoded data, and outputs a context CX from the state of the Markov model, and 14 is a binary data from the input data MCP expressing a gradation image or a limited color image. B
It is a binary sequence converter for converting to D. As the binary sequence converter, a parallel / serial converter that can be configured by a shift register may be used, or a specific binary codeword may be assigned to a multi-color image as disclosed in JP-A-2-285774. Reference numeral 13 is a binary arithmetic encoder that inputs the context output from the context generation circuit 12 and the binary data BD from the binary sequence converter 14 and outputs the code word CODE.

【0011】上述したように、カラー画像およびマルチ
カラー画像に対する高能率のエントロピー符号器として
算術符号器が用いられている。算術符号は符号化対象画
素の周辺画素を参照画素とするマルコフモデルを規定
し、コンテクストを生成することにより、画像の隣接す
る画素の相関を利用できるので高い圧縮率を実現してい
る。
As described above, an arithmetic coder is used as a highly efficient entropy coder for color images and multicolor images. The arithmetic code defines a Markov model in which pixels around the pixel to be coded are used as reference pixels and generates a context, so that the correlation between adjacent pixels of the image can be used, and thus a high compression rate is realized.

【0012】[0012]

【発明が解決しようとする課題】しかし、前述の従来技
術では、算術符号器の加減算処理を1ビット毎に行うた
めに、符号化においては符号語CODEが確定するまで
次の算術符号処理が実行できない。また、復号化におい
ても同様にデータの復号が完了するまで、次のCODE
の算術復号処理を開始できない。したがって、従来の算
術符号器・復号器の構成では、処理の高速化を実現する
ことが難しい。
However, in the above-mentioned conventional technique, since the addition and subtraction processing of the arithmetic encoder is performed for each bit, the following arithmetic encoding processing is executed in encoding until the codeword CODE is determined. Can not. Similarly, in the decryption, the next CODE until the decryption of the data is completed.
Cannot start arithmetic decoding process of. Therefore, it is difficult to realize high-speed processing with the conventional arithmetic encoder / decoder configuration.

【0013】算術演算にパイプライン処理を導入し、算
術符号化・復号化の処理を高速化する方式も可能である
が、従来の算術符号器において1ビットのデータを符号
化および復号化する毎に算術符号器の確率推定テーブル
の更新を行うため、確率推定テーブルの更新を検出し、
更新が行われたときに処理を中断し確率推定テーブルの
更新後の結果を用いて、演算を再実行することが必要と
なり、パイプライン処理を実現する障害となっている。
A pipeline processing may be introduced into the arithmetic operation to speed up the arithmetic coding / decoding processing. However, in the conventional arithmetic encoder, 1-bit data is encoded and decoded. In order to update the probability estimation table of the arithmetic encoder, the update of the probability estimation table is detected,
When the update is performed, it is necessary to interrupt the process and use the result after updating the probability estimation table to re-execute the calculation, which is an obstacle to realizing the pipeline process.

【0014】そこで、本発明ではエントロピー符号化の
高い符号化効率を維持しつつ、処理の高速化を実現でき
るデータ符号化装置を提供することを目的としている。
Therefore, it is an object of the present invention to provide a data coding apparatus capable of realizing high speed processing while maintaining high coding efficiency of entropy coding.

【0015】[0015]

【課題を解決するための手段】上記課題を解決するた
め、本発明のデータ符号化装置は、画像などのデータを
複数ビットまとめて処理するデータ符号化装置におい
て、入力データを記憶する遅延器と、遅延器に記憶され
た入力データからマルコフモデルを規定し符号化対象と
なるデータの入力前の状態を示すコンテクスト(CX)
を生成するコンテクスト生成回路と、入力データとコン
テクストから符号語を出力する多値算術符号器から構成
されることを特徴とする。
In order to solve the above-mentioned problems, a data coding apparatus according to the present invention is a data coding apparatus for processing data such as an image in a plurality of bits at a time. , A context (CX) that specifies the Markov model from the input data stored in the delay device and indicates the state before the data to be encoded
And a multi-valued arithmetic encoder that outputs a code word from the input data and the context.

【0016】また、復号化において、多値算術復号器か
らの復号データを記憶する遅延器と、遅延器に記憶され
た復号データからマルコフモデルを規定し符号化対象と
なるデータの入力前の状態を示すコンテクストを生成す
るコンテクスト生成回路と、符号語とコンテクストを入
力し元データを復号する多値算術復号器から構成される
ことを特徴とする。
In the decoding, a delay unit for storing the decoded data from the multi-value arithmetic decoder, and a state before the input of the data to be coded by defining the Markov model from the decoded data stored in the delay unit. And a multivalued arithmetic decoder that inputs the codeword and the context and decodes the original data.

【0017】また、シンボルの発生する確率を確率推定
テーブルに記憶する確率推定テーブルと、入力データに
応じてシンボルの確率推定値を生成するための状態遷移
を記憶する遷移先テーブルと、入力データと過去の優勢
シンボル列の履歴と算術符号の正規化条件により確率推
定テーブルのインデクスを出力する確率更新装置からな
る上記多値算術符号器において、Nビットの入力データ
の発生する確率を場合分けし、各場合の発生確率を示す
インデクスを記憶する複数のインデクスメモリと、入力
データの中の最も出現する確率推定値の高いシンボル列
を記憶する優勢シンボル列メモリと、Nビットのデータ
とシンボル列の発生確率を入力し符号語を出力する複数
シンボル算術符号演算装置から構成されることを特徴と
する。
Further, a probability estimation table for storing the probability of occurrence of a symbol in a probability estimation table, a transition destination table for storing state transitions for generating a probability estimation value of a symbol according to input data, and input data. In the above-mentioned multi-valued arithmetic coder comprising a probability updating device that outputs the index of the probability estimation table according to the history of the past dominant symbol sequence and the normalization condition of the arithmetic code, the probability of occurrence of N-bit input data is divided into cases, A plurality of index memories that store indexes indicating the occurrence probabilities in each case, a predominant symbol string memory that stores the symbol string with the highest probability estimation value that appears in the input data, and N-bit data and symbol string occurrences. It is characterized by comprising a multi-symbol arithmetic code arithmetic unit for inputting a probability and outputting a code word.

【0018】また、Nビットのデータの(2のN乗−
1)個の劣勢シンボル列の発生する確率推定値と、最も
発生する確率の高い優勢シンボル列と、符号化対象デー
タを入力し発生確率に応じた数直線の位置を演算し符号
語を出力する上記複数シンボル算術符号演算装置を有す
ることを特徴とする。
Further, N-bit data (2 to the Nth power-
1) Estimated probability of occurrence of one inferior symbol sequence, dominant symbol sequence with the highest probability of occurrence, and data to be encoded, calculate the position of the number line according to the probability of occurrence, and output the codeword. It is characterized by having the above-mentioned multi-symbol arithmetic code arithmetic unit.

【0019】また、上記多値算術符号器および多値算術
復号器において、入力されたシンボルの発生確率に応じ
てシンボルに割り当てられる数直線の長さが1/2を下
回り正規化処理を行うときに、優勢シンボル列による正
規化時には全ての劣勢シンボルの確率推定値を更新する
手段と、劣勢シンボル列による正規化時には発生した劣
勢シンボル列の確率推定値を更新する手段により構成さ
れる確率更新装置を有することを特徴とする。
Further, in the above-mentioned multi-value arithmetic encoder and multi-value arithmetic decoder, when the length of the number line assigned to the symbol according to the occurrence probability of the input symbol is less than 1/2 and the normalization processing is performed. In addition, a probability updating device configured by means for updating probability estimation values of all inferior symbols during normalization by the dominant symbol sequence and means for updating probability estimation values for inferior symbol sequences generated during normalization by the inferior symbol sequence. It is characterized by having.

【0020】[0020]

【実施例】以下に説明する本発明のデータ符号化装置に
おける入力データは、Nビットで1画素の色コードを表
現するマルチカラー画像に限定して好ましい実施例を示
している。また、Nビットで1画素を表現する階調画
像、バイト単位でキャラクタを表現するデータに本発明
を適用できる。本実施例では、特に1画素のビット数を
2ビット、4色の色コードを表現するものとして説明し
ている。
The input data in the data encoding apparatus of the present invention described below is limited to a multi-color image expressing a color code of one pixel by N bits, and a preferable embodiment is shown. Further, the present invention can be applied to a gradation image expressing one pixel with N bits and data expressing a character in byte units. In the present embodiment, the bit number of one pixel is described as representing two bits and a color code of four colors.

【0021】図3は本発明を適用したデータ符号化装置
の実施例構成である。1はマルチカラー画像の入力画素
MCP101を記憶する遅延器であり、ラインバッファ
などにより実現できる。2は遅延器1により記憶された
既に符号化済みの画素データを入力しマルコフモデルの
コンテクストCX103を出力するコンテクスト生成回
路である。コンテクスト生成回路2では入力画素MCP
に対して相関の強い画素によりマルコフモデルを規定し
遅延器から入力されるDP102の状態に応じてコンテ
クストを生成する。3は入力画素MCPを表現するシン
ボル列とコンテクスト103を入力し複数ビットのシン
ボル列に対して発生確率を推定し算術符号化する多値算
術符号器である。多値算術符号器3から出力されたCO
DE104は画像記憶装置の場合メモリに記憶され、画
像通信装置の場合には伝送路に送出される。
FIG. 3 shows the configuration of an embodiment of a data encoding device to which the present invention is applied. Reference numeral 1 is a delay device for storing the input pixel MCP 101 of the multi-color image, which can be realized by a line buffer or the like. Reference numeral 2 is a context generation circuit that inputs the already encoded pixel data stored by the delay device 1 and outputs the context CX103 of the Markov model. In the context generation circuit 2, the input pixel MCP
A Markov model is defined by pixels having a strong correlation with respect to and a context is generated according to the state of the DP 102 input from the delay device. Reference numeral 3 denotes a multi-value arithmetic encoder which inputs a symbol string expressing the input pixel MCP and the context 103, estimates the occurrence probability of a symbol string of a plurality of bits, and arithmetically encodes it. CO output from the multi-value arithmetic encoder 3
The DE 104 is stored in the memory in the case of the image storage device, and is sent to the transmission line in the case of the image communication device.

【0022】次に、復号化の処理を説明する。6は多値
算術復号器であり、伝送路または画像メモリから出力さ
れたCODE104とコンテクスト生成回路4から出力
されたCX’105を入力し復号データMCP’107
を出力する多値算術復号器である。6も多値算術符号器
3と同様にコンテクストの状態に応じたNビットのシン
ボル列が発生する確率を推定し、CODEに対してNビ
ットの復号データを出力する複数ビットを同時に処理す
る多値算術復号器である。算術符号・復号器は可逆符号
化であるので入力データ101と復号データ107は一
致する。5は復号データ107を記憶する遅延器であ
り、ラインバッファなどで構成される。4は復号側のコ
ンテクスト生成回路であり、符号化側と同様に遅延器か
らの出力DPに応じてマルコフモデルの状態を示すコン
テクストCX’105を出力する。同一画素の符号化・
復号化にあたり符号化側のCXと復号器側のCX’は同
一の状態を示し、符号器と復号器は基本的には同じ動作
をする。
Next, the decoding process will be described. Reference numeral 6 is a multi-value arithmetic decoder, which receives the CODE 104 output from the transmission line or the image memory and the CX'105 output from the context generation circuit 4 and inputs the decoded data MCP'107.
Is a multilevel arithmetic decoder that outputs Similarly to the multi-value arithmetic encoder 3, 6 is a multi-value that estimates the probability that an N-bit symbol string will occur depending on the state of the context and simultaneously outputs a plurality of bits that output N-bit decoded data to CODE. It is an arithmetic decoder. Since the arithmetic encoder / decoder is lossless encoding, the input data 101 and the decoded data 107 are the same. A delay device 5 stores the decoded data 107 and is composed of a line buffer or the like. Reference numeral 4 denotes a decoding side context generation circuit, which outputs the context CX ′ 105 indicating the state of the Markov model in accordance with the output DP from the delay device as in the encoding side. Coding of the same pixel
Upon decoding, CX on the encoding side and CX ′ on the decoder side show the same state, and the encoder and the decoder basically perform the same operation.

【0023】図4にコンテクスト生成回路を構成する実
施例を示す。入力画素101を2ビットマルチカラー画
像とし、符号化の対象となる画素101のnビット前の
画素データがマルコフモデルの参照画素として必要とな
る場合、2×nビットの遅延器1が必要となる。参照画
素数をmとするマルコフモデルを規定する場合、遅延器
からm画素分のデータを抜き出し、マルチプレクサなど
で構成できるモデル生成回路21によりモデルを規定
し、マルコフモデルの状態を示すコンテクスト104を
出力する。どのようなモデルを規定するかをモデルセレ
クト信号Mselによりモデルを適応的に変更すること
も可能である。また、モデル生成回路21の構成として
遅延器から2mビットの参照画素データを入力し、マル
コフモデルの縮退を行いkビット(k<2m)のコンテ
クストを出力する構成とすることもできる。モデルを縮
退することはマルコフモデルの冗長を排除し、入力デー
タの特徴をより少ないビット数で表現することになる。
マルコフモデルの縮退により確率推定値を記憶するメモ
リを削減することができる。
FIG. 4 shows an embodiment of the context generating circuit. When the input pixel 101 is a 2-bit multi-color image and the pixel data n bits before the pixel 101 to be encoded is required as a reference pixel of the Markov model, a 2 × n-bit delay unit 1 is required. . When defining a Markov model in which the number of reference pixels is m, data for m pixels is extracted from the delay device, the model is defined by the model generation circuit 21 that can be configured by a multiplexer, and the context 104 indicating the state of the Markov model is output. To do. It is also possible to adaptively change the model by the model select signal Msel as to which model is to be defined. Further, the model generation circuit 21 may be configured to input 2m-bit reference pixel data from a delay device, degenerate the Markov model, and output a k-bit (k <2m) context. Degenerating the model eliminates the redundancy of the Markov model and expresses the features of the input data with a smaller number of bits.
By degenerating the Markov model, it is possible to reduce the memory for storing the probability estimation value.

【0024】図2により本発明の概要を説明する。算術
符号の数直線を0.0から1.0とし、初期値としてオ
ージェントAの幅に1.0を与え、符号語(CODE)
となるオージェントAの下端をC=0.0とする。ま
た、減算型算術符号において各シンボル列MCPのオー
ジェント割り当ての順序をしたから順に00,01,1
0,11のシンボル列としてオージェントの割り当てを
行う。A00,A01,A10,A11はそれぞれ各シ
ンボル列に割り当てられたオージェントを示し、C0
0,C01,C10,C11はそれぞれのシンボル列が
発生したときのCODEの位置を示している。符号化開
始時点でシンボル列に対するオージェントが図のよう
に与えられたとき、00が優勢シンボル列となり、その
他の01,10,11が劣勢シンボル列となり、優勢シ
ンボル列に最長のオージェントが与えられる。MCP=
00を符号化する場合、オージェントはA=A00とな
り、符号語C=C00となる。符号化において、A1
0が優勢シンボル列となり、その他のシンボルが劣勢シ
ンボル列となる。MCP=10を符号化するときオージ
ェントはA=A10となり、符号語C=C10となる。
同様にの符号化ではA01が優勢シンボル列となり、
優勢シンボルである01が符号化されたためオージェン
トはA=A01となり、符号語はC01となる。の符
号化では00が優勢シンボル列であるが、11の劣勢シ
ンボル列を符号化し、オージェントはA=A11、符号
語C=C11となる。このように優勢シンボルに対して
も劣勢シンボルに対しても同様な処理過程を経て符号化
を継続する。図に示されるように符号化を繰り返すとオ
ージェントの幅が徐々に小さくなり、十分な演算精度を
保証できなくなる。そのため、複数シンボル列を同時に
処理する本発明の多値算術符号器においても、1ビット
毎符号化を行う従来の2値算術符号器と同様にオージェ
ントAが1/2を下回ったときに、オージェントを2倍
する正規化処理を実施し、算術符号の演算精度を保証す
る。
The outline of the present invention will be described with reference to FIG. The number line of the arithmetic code is changed from 0.0 to 1.0, 1.0 is given to the width of the orient A as an initial value, and the code word (CODE)
Let C = 0.0 be the lower end of the orient A. In addition, in the subtraction type arithmetic code, the order of the orient assignment of each symbol string MCP is 00, 01, 1 in order.
Assign an augento as a 0, 11 symbol string. A00, A01, A10, and A11 each represent an augent assigned to each symbol string, and C0
0, C01, C10, and C11 indicate the CODE positions when the respective symbol strings are generated. At the start of encoding, when an orient for a symbol sequence is given as shown in the figure, 00 is the dominant symbol sequence, and the other 01, 10, 11 are inferior symbol sequences, and the longest orient is given to the dominant symbol sequence. To be MCP =
When 00 is encoded, the augenent is A = A00 and the codeword C = C00. In encoding, A1
0 becomes the dominant symbol string, and the other symbols become the inferior symbol string. When encoding MCP = 10, the orient is A = A10 and the codeword C = C10.
Similarly, in encoding, A01 becomes the dominant symbol string,
Since the dominant symbol 01 is coded, the orient is A = A01 and the codeword is C01. In the encoding of 0, 00 is the dominant symbol sequence, but 11 inferior symbol sequences are encoded, and the orient is A = A11 and codeword C = C11. In this way, encoding is continued through similar processing steps for the superior symbol and the inferior symbol. As shown in the figure, when encoding is repeated, the width of the orient gradually becomes smaller, and it becomes impossible to guarantee sufficient calculation accuracy. Therefore, even in the multi-valued arithmetic encoder of the present invention that simultaneously processes a plurality of symbol sequences, when the orient A is less than 1/2 as in the conventional binary arithmetic encoder that performs bit-by-bit encoding, Normalization processing that doubles the augen is performed to ensure the arithmetic accuracy of the arithmetic code.

【0025】図1は本発明の複数シンボルをまとめて符
号化する多値算術符号器の構成を示す図である。マルコ
フモデルのコンテクスト103は複数のインデクスメモ
リ31、32、33と優勢シンボル列メモリ34のアド
レスとなる。インデクスメモリには確率推定テーブル3
6の状態(インデクス)が記憶されている。つまり、確
率推定テーブルにはシンボル列の発生確率を示す確率推
定値を格納し、テーブルのインデクスを与えるとシンボ
ル列の発生確率の推定値が出力される。したがって、コ
ンテクストの状態に応じたインデクスメモリのアドレス
からデータを読みだすことによりシンボル列の発生確率
を出力できる。本発明では複数シンボル(Nビット)を
一括処理するので、コンテクストに対して(2のN乗−
1)個のインデクスメモリを用意し、それぞれの発生確
率を求める必要がある。インデクスメモリに記憶された
発生確率は全て劣勢シンボル列の発生確率であり、優勢
シンボルの発生確率はA−(Q0+Q1+Q2)により求められ
る。優勢シンボル列メモリ34にはコンテクストに対す
る優勢シンボル列MSSを記憶している。インデクスメ
モリ31,32,33および優勢シンボル列メモリ34
はコンテクストの状態数分のメモリ容量が必要となる。
FIG. 1 is a diagram showing the configuration of a multilevel arithmetic encoder for collectively encoding a plurality of symbols according to the present invention. The Markov model context 103 is the address of the plurality of index memories 31, 32, 33 and the dominant symbol string memory 34. Probability estimation table 3 in the index memory
The state (index) of 6 is stored. That is, the probability estimation table stores a probability estimation value indicating the probability of occurrence of a symbol string, and when the index of the table is given, the estimated value of the probability of occurrence of the symbol string is output. Therefore, the probability of occurrence of the symbol string can be output by reading the data from the address of the index memory according to the state of the context. In the present invention, since a plurality of symbols (N bits) are collectively processed, (2 N power-
1) It is necessary to prepare one index memory and calculate the occurrence probability of each index memory. The occurrence probabilities stored in the index memory are all the probabilities of occurrence of the inferior symbol sequence, and the probabilities of occurrence of the dominant symbols are obtained by A- (Q0 + Q1 + Q2). The dominant symbol string memory 34 stores the dominant symbol string MSS for the context. Index memory 31, 32, 33 and dominant symbol string memory 34
Requires a memory capacity for the number of context states.

【0026】図1では1つの確率推定テーブル36を複
数のインデクスメモリからアクセスしている。それぞれ
のインデクスメモリから確率推定テーブルへのアクセス
をマルチプレクサ45により調停し、時分割に確率推定
値を読みだしQレジスタ38,40,42に格納してい
る。これに対し、確率推定テーブル36をインデクスメ
モリと同数用意することによりマルチプレクサ45,Q
レジスタ38,40,42を削除することができ、処理
速度も向上させることが可能となる。しかしながら、確
率推定テーブルのハードウェア規模が大きい場合、図1
に示すように1つの確率推定テーブルを時分割でアクセ
スする構成により、ハードウェア規模を縮小できる。
In FIG. 1, one probability estimation table 36 is accessed from a plurality of index memories. Access to the probability estimation table from each index memory is arbitrated by the multiplexer 45, and the probability estimation value is read out in a time division manner and stored in the Q registers 38, 40, 42. On the other hand, by preparing the probability estimation table 36 in the same number as the index memory, the multiplexers 45, Q
The registers 38, 40, 42 can be deleted, and the processing speed can be improved. However, if the hardware scale of the probability estimation table is large,
As shown in (1), the hardware scale can be reduced by the configuration in which one probability estimation table is accessed in a time division manner.

【0027】44はQレジスタから出力される確率推定
値Q0(111),Q1(112),Q2(113)お
よび優勢シンボル列MSSi124と入力画素データM
CP101を入力し、符号化処理を行いCODE104
を出力する複数シンボル算術符号演算装置である。
Reference numeral 44 is the probability estimation values Q0 (111), Q1 (112) and Q2 (113) output from the Q register, the dominant symbol sequence MSSi124 and the input pixel data M.
Input CP101, perform coding processing, and CODE104
Is a multi-symbol arithmetic code arithmetic unit for outputting.

【0028】図1の実施例では確率の更新を算術符号の
オージェントの正規化が生じたときに行っている。ま
た、確率更新条件をシンボルの連続して発生する回数を
カウントすることにより定めることも可能である。確率
推定値の更新は優勢シンボルに伴う確率推定値の更新と
劣勢シンボルに伴う確率推定値の更新がある。両者の更
新に対してそれぞれ遷移先のインデクスを記憶した遷移
先テーブル37を作成し、テーブルルックアップにより
遷移先が決定できる。正規化の条件に従い確率推定テー
ブルのインデクスの制御を確率更新装置35により行っ
ている。
In the embodiment shown in FIG. 1, the update of the probability is performed when the normalization of the augent of the arithmetic code occurs. It is also possible to set the probability update condition by counting the number of times the symbols occur consecutively. The update of the probability estimation value includes the update of the probability estimation value associated with the dominant symbol and the update of the probability estimation value associated with the inferior symbol. The transition destination table 37 storing the indexes of the transition destinations for both updates is created, and the transition destinations can be determined by table lookup. The probability updating device 35 controls the index of the probability estimation table according to the normalization condition.

【0029】学習による確率推定値の更新の制御に関し
て以下で詳細に説明する。STレジスタ39,41,4
3には劣勢シンボル列の次の確率更新で遷移する確率推
定テーブルのインデクスが格納されている。STレジス
タには優勢シンボル列に伴う更新インデクスと劣勢シン
ボル列に伴う更新インデクスの両方が格納されている。
確率更新装置35ではSTインデクス114,115,
116および現在の優勢シンボル列124を更新条件に
従い更新する。入力画素101と、複数シンボル算術符
号演算装置44から出力される正規化条件REN117
と、入力画素に対するオージェントApと、優勢シンボ
ル列に対するオージェントAmssiにより新しい優勢シン
ボル列MSSo(120)とインデクスST0(12
1),ST1(122),ST2(123)を求め、メ
モリを更新する。
The control of updating the probability estimate by learning will be described in detail below. ST registers 39, 41, 4
3 stores the index of the probability estimation table that transits at the next probability update of the inferior symbol sequence. The ST register stores both the update index associated with the dominant symbol sequence and the update index associated with the inferior symbol sequence.
In the probability updating device 35, the ST indexes 114, 115,
116 and the current dominant symbol sequence 124 are updated according to the update condition. The input pixel 101 and the normalization condition REN117 output from the multi-symbol arithmetic code arithmetic unit 44
And the new dominant symbol sequence MSSo (120) and index ST0 (12) by the orient Ap for the input pixel and the orient Amssi for the dominant symbol sequence.
1), ST1 (122), ST2 (123) are obtained, and the memory is updated.

【0030】また、確率推定値をシンボル列の数だけ用
意したように、遷移先のインデクスも(2のN乗−1)
個用意する必要があり、シンボル列に対応する遷移先ア
ドレスをSTレジスタ39,41,43に格納する。図
1の実施例では遷移先テーブルからのインデクスの読み
だしをマルチプレクサにより選択したシンボル列に対し
て時分割でSTレジスタ39,41,43に取り込む構
成を採用している。これに対し、確率推定テーブル36
へのアクセスと同様に遷移先テーブルも複数用意する構
成をとることも可能である。
Further, the index of the transition destination is also (2 to the Nth power −1), as the probability estimation value is prepared by the number of symbol sequences.
It is necessary to prepare each one, and the transition destination address corresponding to the symbol string is stored in the ST registers 39, 41, 43. The embodiment of FIG. 1 employs a configuration in which the reading of the index from the transition destination table is loaded into the ST registers 39, 41, 43 in a time division manner for the symbol string selected by the multiplexer. On the other hand, the probability estimation table 36
It is also possible to adopt a configuration in which a plurality of transition destination tables are prepared as in the case of access to.

【0031】図6は本発明の複数シンボル算術符号演算
装置の構成を示す図である。確率推定テーブルから出力
された劣勢シンボル列の確率推定値111,112,1
13は加算器(減算器)51,52,53に入力され、
現在のオージェントの幅を示すAレジスタ58の出力1
33との減算を行い、Amssi(A-Q0-Q1-Q2)を求める。
Amssiは確率更新装置35に入力され、確率更新条件と
して用いられる。切り換え器54は優勢シンボル列MS
Si124をセレクタとしてQ1,Q2,Q3,Amssi
を各シンボル列のオージェントの幅A00(136),
A01(137),A10(138),A11(13
9)に切り換える。入力画素101をセレクタとしてマ
ルチプレクサ55によりオージェント(136−13
9)から符号化後のオージェントが選択される。入力シ
ンボル列により求められたオージェントAmcp(11
8)はシフト量制御装置56、バレルシフタ57、確率
更新装置35に入力される。シフト量制御装置56によ
りバレルシフタ57を制御することで正規化を行いAレ
ジスタ58に正規化されたオージェント134を格納す
る。
FIG. 6 is a diagram showing the configuration of a multi-symbol arithmetic code arithmetic unit according to the present invention. Probability estimated values 111, 112, 1 of the inferior symbol sequence output from the probability estimation table
13 is input to adders (subtractors) 51, 52, 53,
Output 1 of A register 58 showing the current width of the orient
Amssi (A-Q0-Q1-Q2) is obtained by subtraction with 33.
Amssi is input to the probability updating device 35 and used as a probability updating condition. The switch 54 is the dominant symbol array MS
Si124 as a selector Q1, Q2, Q3, Amssi
Is the width A00 (136) of the orient of each symbol string,
A01 (137), A10 (138), A11 (13
Switch to 9). The input pixel 101 is used as a selector by the multiplexer 55, and the augent (136-13
The encoded orient is selected from 9). Authentic Amcp (11
8) is input to the shift amount control device 56, the barrel shifter 57, and the probability updating device 35. Normalization is performed by controlling the barrel shifter 57 by the shift amount control device 56, and the normalized ogent 134 is stored in the A register 58.

【0032】また、シンボル列のオージェントA00,
A01,A10とCレジスタ64の出力140の加算を
加算器59,60,61により行い、図2に示すオージ
ェント分割の下端点C00(140),C01(14
1),C10(142),C11(143)を求める。
求められたオージェントの下端点をマルチプレクサ62
により選択する。つまり、入力画素101によりオージ
ェントを選択することが、符号語を求めることになる。
マルチプレクサ62の出力144はシフト量制御装置5
6に制御され、バレルシフタ63により正規化が行われ
る。正規化によりCレジスタ64からオーバフローを起
こしたビットが符号語の出力CODE104となり、伝
送路に送出される。
In addition, the symbol string augento A00,
A01, A10 and the output 140 of the C register 64 are added by the adders 59, 60, 61, and the lower end points C00 (140) and C01 (14) of the orient division shown in FIG.
1), C10 (142) and C11 (143) are calculated.
The lower end point of the obtained orient is set to the multiplexer 62.
Select by. In other words, selecting the augent by the input pixel 101 means obtaining the codeword.
The output 144 of the multiplexer 62 is the shift amount control device 5
Controlled by 6, the barrel shifter 63 performs normalization. The bit that has caused an overflow from the C register 64 due to the normalization becomes the output CODE 104 of the code word and is sent to the transmission line.

【0033】算術符号において、正規化にともなう桁上
がり伝搬問題も考慮する必要があるが、本発明では桁上
がり伝搬問題の解消として、ビットスタッフィングによ
る方法、連続する’1’ビットを計数するカウンタとバ
ッファによる方法などがあり、どの方法を用いるかを特
に規定していない。
In the arithmetic code, it is necessary to consider the carry propagation problem associated with normalization, but in the present invention, as a solution of the carry propagation problem, a method by bit stuffing, a counter for counting consecutive '1' bits, is used. There is a buffer method, etc., and which method is to be used is not specified.

【0034】本発明の多値算術符号器の動作について図
7のフローチャートにより説明する。符号化に先立ち、
AレジスタとCレジスタをA=1.0とC=0.0に初
期化し、インデクスメモリと優勢シンボル列メモリを初
期化する。初期状態のシンボル列の発生確率は予測でき
ないので、Nビットのシンボル列の場合、確率推定値p
=1/(2のN乗) に劣勢シンボル列の初期値を設定
する。このとき、初期状態では優勢シンボル列と劣勢シ
ンボル列の確率推定値は等しいものとして定義している
が、劣勢シンボルの確率推定値pを1/(2のN乗)よ
り若干小さく初期値を設定することも可能である。実施
例ではN=2ビットとなるのでp=1/4として初期設
定する。また、優勢シンボル列メモリにはシンボル列0
0を優勢シンボル列の初期値としてセットする。符号化
と復号化で統一されていれば、優勢シンボル列の初期値
としてどのシンボル列を設定しても良い。また、符号化
対象画像を一旦プリスキャンなどして、あらかじめ発生
確率の統計値を求めて、初期値としてロードすることも
できる。
The operation of the multilevel arithmetic encoder of the present invention will be described with reference to the flowchart of FIG. Prior to encoding
The A register and the C register are initialized to A = 1.0 and C = 0.0, and the index memory and the dominant symbol string memory are initialized. Since the occurrence probability of the symbol string in the initial state cannot be predicted, in the case of an N-bit symbol string, the probability estimation value p
= 1 / (2 to the Nth power) is set to the initial value of the inferior symbol sequence. At this time, in the initial state, the probability estimation values of the dominant symbol sequence and the inferior symbol sequence are defined to be equal, but the probability estimation value p of the inferior symbol sequence is set to be slightly smaller than 1 / (N to the power of 2). It is also possible to do so. In the embodiment, since N = 2 bits, p = 1/4 is initialized. In addition, the symbol string 0 is stored in the dominant symbol string memory.
0 is set as the initial value of the dominant symbol sequence. If the encoding and decoding are unified, any symbol sequence may be set as the initial value of the dominant symbol sequence. Alternatively, the image to be encoded may be pre-scanned once to obtain the statistical value of the occurrence probability in advance and load it as an initial value.

【0035】初期化終了後、参照データを入力する。画
像の場合には符号化画素の周辺画素が参照データとな
る。規定されたマルコフモデルによりコンテクストが求
められる。コンテクスト103をアドレスとしてインデ
クスメモリから確率推定テーブル36のインデクスを求
め、さらに、確率推定テーブルをアクセスし確率推定値
Q0,Q1,Q2のシンボル列発生確率を読み込む。確
率推定値Q0,Q1,Q2を複数シンボル算術符号演算
装置に入力し、加算・減算処理によりオージェントA0
0,A01,A10,A11の割り当てを行う。シンボ
ル列101を入力し複数シンボル算術符号処理306を
行い、符号語CODEを出力する。CODE出力後、シ
ンボル列発生確率更新処理により新たな確率推定値を定
める。309の判定により符号化対象のシンボルが終了
した場合は処理を終了し、終了しないときは参照データ
入力302の処理から継続する。
After the initialization is completed, the reference data is input. In the case of an image, the peripheral pixels of the coded pixel become the reference data. The context is determined by the specified Markov model. The index of the probability estimation table 36 is obtained from the index memory using the context 103 as an address, and the probability estimation table is accessed to read the symbol sequence occurrence probabilities of the probability estimation values Q0, Q1, Q2. Probability estimated values Q0, Q1 and Q2 are input to a multi-symbol arithmetic code arithmetic unit, and addition / subtraction processing is performed to generate an augent A0.
0, A01, A10, A11 are assigned. The symbol string 101 is input, the multi-symbol arithmetic code processing 306 is performed, and the code word CODE is output. After CODE output, a new probability estimated value is determined by the symbol string occurrence probability update process. If the symbol to be coded is judged to have ended by the judgment of 309, the processing is ended, and if not ended, the processing of the reference data input 302 is continued.

【0036】図8はオージェント割り当て処理304を
示すフローチャートである。オージェント割り当て処理
とは、確率推定テーブル36より得られる確率推定値Q
0,Q1,Q2と現在のAレジスタ58のオージェント
を入力し、優勢シンボル列をセレクタとした切り換え器
54によりオージェントを割り当てる処理である。
FIG. 8 is a flow chart showing the agent allocation processing 304. The orient assignment process is a probability estimation value Q obtained from the probability estimation table 36.
This is a process of inputting 0, Q1, Q2 and the current o-register of the A register 58, and assigning the o-gent by the switch 54 using the dominant symbol sequence as a selector.

【0037】図9は複数シンボル算術符号処理306を
示すフローチャートである。複数シンボル算術符号処理
とは、図2に示すようにシンボル列の発生確率により割
り当てられたオージェントから入力画素MCPによりオ
ージェントを決定する処理である。MCP=00のと
き、オージェントをA00に割り当て、Cを維持する。
MCP=01のとき、オージェントをA01に割り当
て、CにA00を加算する。MCP=10のとき、オー
ジェントをA10に割り当て、CにA00とA01を加
算する。MCP=11のとき、オージェントにA11を
割り当て、CにA00とA01とA10を加算する。ま
た、オージェントAが0.5を下回るとき、Aレジスタ
とCレジスタの正規化を行い、処理を終了する。
FIG. 9 is a flowchart showing the multi-symbol arithmetic code processing 306. The plural-symbol arithmetic coding process is a process of determining an augent by the input pixel MCP from the augent assigned according to the probability of occurrence of a symbol string as shown in FIG. When MCP = 00, assign an augen to A00 and maintain C.
When MCP = 01, the augent is assigned to A01 and A00 is added to C. When MCP = 10, the augent is assigned to A10, and C00 is added with A00 and A01. When MCP = 11, A11 is assigned to the augent, and A00, A01, and A10 are added to C. When the augent A is less than 0.5, the A register and the C register are normalized, and the process ends.

【0038】図10は確率更新装置35,205の処理
を示すフローチャートである。確率更新の処理は331
の判断であるA<0.5のときに実施される。つまり、
正規化が必要なとき確率推定値も更新される。正規化の
有無はREN信号117,157から入力される。33
2は正規化を引き起こした入力画素と優勢シンボル列が
一致するかを判定する処理である。一致した場合は、優
勢シンボル列に対する確率更新処理となり、全ての劣勢
シンボルの確率推定値Qが小さくなるようにインデクス
STが更新される。これに対し、332の判定がYのと
き、劣勢シンボル列に対する確率更新処理となり、正規
化を引き起こした入力画素系列MCPの確率推定値Qmc
pが大きくなるようにインデクスSTが更新される。3
34は符号化された劣勢シンボル列MCPのオージェン
トAmcpと優勢シンボル列のオージェントAmssiの大き
さを判定する処理である。優勢シンボル列のオージェン
トAmssiよりもAmcpが大きければ、MCPを新しい優
勢シンボル列として更新し、シンボル列MCPの確率推
定値Qを以前の優勢シンボル列の確率推定値として更新
する。つまり、優勢シンボル列の交換と、それに伴い交
換前に劣勢シンボルであった確率推定値を、交換後に劣
勢シンボルとなる確率推定値に代入することである。こ
の処理はインデクスメモリのSTを交換することで実現
できる。
FIG. 10 is a flowchart showing the processing of the probability updating devices 35 and 205. Probability update process is 331
The judgment is made when A <0.5. That is,
The probability estimate is also updated when normalization is needed. The presence / absence of normalization is input from REN signals 117 and 157. 33
2 is a process of determining whether or not the input pixel that has caused normalization matches the dominant symbol string. When they match, the probability update process is performed on the dominant symbol sequence, and the index ST is updated so that the probability estimated values Q of all the inferior symbols become small. On the other hand, when the determination at 332 is Y, the probability update process is performed for the inferior symbol sequence, and the probability estimation value Qmc of the input pixel sequence MCP that causes the normalization is generated.
The index ST is updated so that p becomes large. Three
Reference numeral 34 is a process for determining the magnitudes of the orient Amcp of the encoded inferior symbol sequence MCP and the orient Amssi of the superior symbol sequence. If Amcp is larger than the orient Amssi of the dominant symbol string, the MCP is updated as a new dominant symbol string, and the probability estimate Q of the symbol string MCP is updated as the probability estimate of the previous dominant symbol string. That is, the replacement of the dominant symbol sequence and the substitution of the probability estimation value that was the inferior symbol before the replacement with the replacement, into the probability estimation value that becomes the inferior symbol after the replacement. This process can be realized by exchanging ST of the index memory.

【0039】図11は本発明の複数シンボルをまとめて
復号化する多値算術復号器の構成を示す図である。マル
コフモデルのコンテクスト105は複数のインデクスメ
モリ201、202、203と優勢シンボル列メモリ2
04のアドレスとなる。インデクスメモリには確率推定
テーブル206の状態(インデクス)が記憶されてい
る。図1に示す符号器と同様に、インデクスメモリは確
率推定値を示すインデクスを記憶し、コンテクスト10
5を入力すると確率推定テーブルを206読み込みQレ
ジスタ208,210,212に各シンボル列の確率推
定値を書き込む。また、確率推定値を更新するための遷
移先テーブル207の遷移先のインデクスもSTレジス
タ209,211,213に同様に書き込まれる。
FIG. 11 is a diagram showing the structure of a multilevel arithmetic decoder for collectively decoding a plurality of symbols according to the present invention. The Markov model context 105 includes a plurality of index memories 201, 202, 203 and a dominant symbol string memory 2
The address is 04. The state (index) of the probability estimation table 206 is stored in the index memory. Similar to the encoder shown in FIG. 1, the index memory stores an index indicating a probability estimation value, and
When 5 is input, the probability estimation table is read 206 and the probability estimation value of each symbol string is written in the Q registers 208, 210 and 212. The index of the transition destination of the transition destination table 207 for updating the probability estimated value is also written in the ST registers 209, 211, and 213 in the same manner.

【0040】205はSTレジスタの出力である遷移先
インデクス154,155,156と、優勢シンボル列
164と、複数シンボル算術復号演算装置から出力され
る正規化条件REN、復号画素のオージェントAmcp'、
優勢シンボル列のオージェントAmssi、復号画素MC
P’を入力し、図10で示す確率更新条件に従い優勢シ
ンボル列MSSo,インデクスのステートST0,ST
1,ST2を出力する確率更新装置である。
Reference numeral 205 denotes transition destination indexes 154, 155, 156 which are the outputs of the ST register, the dominant symbol sequence 164, the normalization condition REN output from the multi-symbol arithmetic decoding arithmetic unit, the decoded pixel augen Amcp ',
Ogent Amssi of dominant symbol sequence, decoded pixel MC
P'is input, and according to the probability update condition shown in FIG. 10, the dominant symbol sequence MSSo, the states ST0, ST of the index.
This is a probability updating device that outputs 1, ST2.

【0041】214は複数シンボル算術復号演算装置で
あり、図12を用いてより詳細な説明を加える。劣勢シ
ンボル列の確率推定値Q0,Q1,Q2とオージェント
Aを加算器221,222,223に入力し、現在の優
勢シンボル列のオージェントAmssiを求め、優勢シンボ
ル列MSSi164をセレクト信号として切り換え器2
24によりシンボル列のオージェントA00,A01,
A10,A11を定める。オージェントの割り当てに関
しては、フローチャート図8に示すオージェント割り当
て処理により実行される。符号語Cに関して現在の符号
語を示すCレジスタの出力とオージェントA00,A0
1,A10の減算処理を減算器229,230,231
により行い、減算結果181,182,183をデータ
検出器235に入力する。データ検出器235では18
1,182,183の正負の符号を検出し、復号画素M
CP’107を決定する。復号画素107をセレクタと
してマルチプレクサ232によりCレジスタの更新値が
求められ、マルチプレクサ225でAレジスタの更新値
が求められる。このとき、シフト量制御装置226によ
りオージェントAの正規化条件を調べ、正規化が必要な
ときはバレルシフタ227,233を制御してビットを
シフトしてA・Cレジスタにオージェントとオージェン
トの位置(符号語)を格納する。また、シフト量に応じ
てCODE104がCレジスタに取り込まれる。
Reference numeral 214 denotes a multi-symbol arithmetic decoding operation device, which will be described in more detail with reference to FIG. The probability estimation values Q0, Q1, Q2 of the inferior symbol sequence and the orient A are input to the adders 221, 222, 223 to obtain the orient Amssi of the current superior symbol sequence, and the superior symbol sequence MSSi164 is used as a select signal. Two
According to 24, the orients A00, A01,
Define A10 and A11. The allocation of the orient is executed by the orient allocation processing shown in the flowchart of FIG. With respect to the code word C, the output of the C register indicating the current code word and the augents A00 and A0
Subtractors 229, 230, 231
And the subtraction results 181, 182, 183 are input to the data detector 235. 18 in the data detector 235
The positive and negative signs of 1, 182 and 183 are detected, and the decoded pixel M
Determine CP'107. Using the decoded pixel 107 as a selector, the multiplexer 232 obtains the updated value of the C register, and the multiplexer 225 obtains the updated value of the A register. At this time, the shift amount control device 226 examines the normalization condition of the orient A, and when the normalization is necessary, the barrel shifters 227 and 233 are controlled to shift the bits so that the A and C registers have the ogent and the ogent. Stores the position (codeword). Also, the CODE 104 is loaded into the C register according to the shift amount.

【0042】本発明の多値算術復号器の動作について図
13のフローチャートにより説明する。復号化に先立
ち、AレジスタとCレジスタをA=1.0とC=0.0
に初期化し、インデクスメモリと優勢シンボル列メモリ
を初期化する。シンボル列の発生確率の初期状態は、符
号化と復号化で一致させる必要があるので、符号化にお
いても符号化と同様な理由により、Nビットのシンボル
列の場合、確率推定値p=1/(2のN乗) に劣勢シ
ンボル列の初期値を設定する。また、優勢シンボル列メ
モリにはシンボル列00を優勢シンボル列の初期値とし
てセットする。
The operation of the multilevel arithmetic decoder of the present invention will be described with reference to the flowchart of FIG. Prior to decryption, the A and C registers are A = 1.0 and C = 0.0.
To initialize the index memory and the dominant symbol string memory. Since the initial state of the probability of occurrence of a symbol string needs to be the same for encoding and decoding, the probability estimation value p = 1 / The initial value of the inferior symbol sequence is set to (2 to the Nth power). Further, the symbol string 00 is set in the dominant symbol string memory as an initial value of the dominant symbol string.

【0043】初期化終了後、参照データを入力し、規定
されたマルコフモデルによりコンテクストを求める。画
像の場合には符号化画素の周辺画素が参照データとな
る。コンテクスト105をアドレスとしてインデクスメ
モリから確率推定テーブル206のインデクスを求め、
さらに、確率推定テーブルをアクセスし確率推定値Q
0,Q1,Q2のシンボル列発生確率を読み込む。確率
推定値Q0,Q1,Q2を複数シンボル算術符号演算装
置に入力し、加算・減算処理によりオージェントA0
0,A01,A10,A11の割り当てを行う。COD
E104を入力し複数シンボル算術復号処理346を行
い、復号画素107を出力する。1画素の復号処理終了
後、シンボル列発生確率更新処理348により新たな確
率推定値を定める。349の判定により復号化対象のシ
ンボルが終了した場合は処理を終了し、終了しないとき
は参照データ入力342の処理から継続する。
After the initialization, the reference data is input and the context is obtained by the prescribed Markov model. In the case of an image, the peripheral pixels of the coded pixel become the reference data. The index of the probability estimation table 206 is obtained from the index memory using the context 105 as an address,
Further, the probability estimation table is accessed to access the probability estimation value Q.
The symbol string occurrence probabilities of 0, Q1 and Q2 are read. Probability estimated values Q0, Q1 and Q2 are input to a multi-symbol arithmetic code arithmetic unit, and addition / subtraction processing is performed to generate an augent A0.
0, A01, A10, A11 are assigned. COD
E104 is input, the multi-symbol arithmetic decoding process 346 is performed, and the decoded pixel 107 is output. After the decoding process for one pixel is completed, a new probability estimated value is determined by the symbol string occurrence probability update process 348. If the symbol to be decoded ends in the determination of 349, the process ends, and if not, the process of the reference data input 342 continues.

【0044】図14は複数シンボル算術復号処理346
を示すフローチャートである。複数シンボル算術復号処
理とは、発生確率により割り当てられたオージェントと
入力されるCODEとを比較しCODEがどのオージェ
ントに属しているか判定する処理である。C<A00の
とき、MCP’=00となり、オージェントをA00に
割り当て、Cを維持する。A00≦C<A00+A01
のとき、MCP’=01となり、オージェントをA01
に割り当て、CからA00を減算する。A00+A01
≦C<A00+A01+A10のとき、MCP’=10
となり、オージェントをA10に割り当て、CからA0
0とA01を減算する。C≧A00+A01+A10の
とき、MCP’=11となり、オージェントにA11を
割り当て、CからA00とA01とA10を減算する。
オージェントAが0.5を下回るとき、AレジスタとC
レジスタの正規化を行い、処理を終了する。
FIG. 14 shows a multi-symbol arithmetic decoding process 346.
It is a flowchart showing. The multi-symbol arithmetic decoding process is a process of comparing an assigned gent according to the occurrence probability with an input CODE to determine which CODE the CODE belongs to. When C <A00, MCP ′ = 00, and the augenent is assigned to A00, and C is maintained. A00 ≦ C <A00 + A01
Then, MCP '= 01, and the augent is A01.
And subtract A00 from C. A00 + A01
When ≦ C <A00 + A01 + A10, MCP ′ = 10
Then, assign the augen to A10, and from C to A0
0 and A01 are subtracted. When C ≧ A00 + A01 + A10, MCP ′ = 11, A11 is assigned to the augen, and A00, A01, and A10 are subtracted from C.
When Ogent A is below 0.5, A register and C
Registers are normalized and the process ends.

【0045】以上説明したように、複数ビットまとめて
扱う算術符号化および算術復号化の処理が実現できるこ
とを示した。本発明において一括処理するビット数をN
=2として説明してきたが、情報源拡大を行うシンボル
のビット数Nを大きくすることにより処理速度の向上が
期待できる。一方、Nを大きくすることにより、ハード
ウェア規模の増大につながるので、好ましくはビット数
Nを2〜16とし、さらに好ましくはNを2〜8とする
ことが望ましい。
As described above, it has been shown that arithmetic coding and arithmetic decoding processing that handles a plurality of bits collectively can be realized. In the present invention, the number of bits to be collectively processed is N
However, the processing speed can be expected to improve by increasing the number of bits N of the symbol for expanding the information source. On the other hand, increasing N leads to an increase in hardware scale, so it is preferable that the number of bits N is 2 to 16, and more preferably N is 2 to 8.

【0046】また、本発明の多値算術符号器および算術
復号器は、マルチカラー画像を伝送する画像通信装置、
または、マルチカラー画像を蓄積する画像記憶装置の高
能率なデータ符号化装置として適応できる。画像記憶装
置としては、例えば、RAM、ROMなどの記憶媒体の
入出力のインタフェースに本発明のデータ符号化装置を
備えることにより、RAMやROMの記憶容量を見かけ
上大きくすることができる。また、CD−ROMなどの
記憶媒体の入出力インタフェースに本発明のデータ符号
化装置を備えることにより、CD−ROMへのアクセス
を減らすことができるのでデータの転送を高速化でき
る。
The multivalued arithmetic encoder and decoder of the present invention are an image communication device for transmitting multicolor images,
Alternatively, it can be applied as a highly efficient data encoding device for an image storage device that stores multi-color images. As the image storage device, for example, the storage capacity of the RAM or ROM can be apparently increased by providing the data encoding device of the present invention at the input / output interface of the storage medium such as RAM or ROM. Further, by providing the input / output interface of the storage medium such as a CD-ROM with the data encoding device of the present invention, it is possible to reduce the access to the CD-ROM, so that the data transfer can be speeded up.

【0047】[0047]

【発明の効果】以上のように本発明によれば、複数ビッ
トを一括処理することにより符号化および復号化の処理
速度の高速化を実現できる。さらに、複数ビットにより
表現されるシンボル列の発生確率を学習しながら予測す
ることにより圧縮率の向上が期待できる。
As described above, according to the present invention, the processing speed of encoding and decoding can be increased by collectively processing a plurality of bits. Further, it is possible to expect an improvement in compression rate by predicting while learning the occurrence probability of the symbol string represented by a plurality of bits.

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

【図1】 本発明を適用した多値算術符号器の構成例を
示す図。
FIG. 1 is a diagram showing a configuration example of a multilevel arithmetic encoder to which the present invention has been applied.

【図2】 本実施例の多値算術符号器および多値算術復
号器により符号化および復号化の処理を説明する図。
FIG. 2 is a diagram for explaining encoding and decoding processing by the multilevel arithmetic encoder and the multilevel arithmetic decoder according to the present embodiment.

【図3】 本発明のデータ符号化装置の構成例を示すブ
ロック図。
FIG. 3 is a block diagram showing a configuration example of a data encoding device of the present invention.

【図4】 マルコフモデル生成器の構成例を示す図。FIG. 4 is a diagram showing a configuration example of a Markov model generator.

【図5】 従来のデータ符号化装置の構成を示すブロッ
ク図。
FIG. 5 is a block diagram showing the configuration of a conventional data encoding device.

【図6】 本実施例の複数シンボル算術符号演算装置の
構成を示すブロック図。
FIG. 6 is a block diagram showing a configuration of a multi-symbol arithmetic code arithmetic unit according to the present embodiment.

【図7】 算術符号化の処理内容を示すフローチャー
ト。
FIG. 7 is a flowchart showing the processing content of arithmetic coding.

【図8】 オージェントの割り当て処理を示すフローチ
ャート。
FIG. 8 is a flowchart showing an augent allocation process.

【図9】 図6の複数シンボル算術符号処理を示すフロ
ーチャート。
9 is a flowchart showing the multi-symbol arithmetic coding process of FIG.

【図10】 確率更新装置の処理内容を示すフローチャ
ート。
FIG. 10 is a flowchart showing the processing contents of the probability updating device.

【図11】 本発明を適用した多値算術復号器の構成例
を示す図。
FIG. 11 is a diagram showing a configuration example of a multilevel arithmetic decoder to which the present invention has been applied.

【図12】 本実施例の複数シンボル算術復号演算装置
の構成を示すブロック図。
FIG. 12 is a block diagram showing the configuration of a multi-symbol arithmetic decoding operation device according to the present embodiment.

【図13】 算術復号化の処理内容を示すフローチャー
ト。
FIG. 13 is a flowchart showing the processing contents of arithmetic decoding.

【図14】 図12の複数シンボル算術復号処理を示す
フローチャート。
14 is a flowchart showing the multi-symbol arithmetic decoding process of FIG.

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

1、5 遅延器 2、4 コンテクスト生成回路 3 多値算術符号器 4 多値算術復号器 13 2値算術符号器(算術符号器) 31、32、33 インデクスメモリ 34 優勢シンボル列メモリ 35 確率更新装置 36 確率推定テーブル 37 遷移先テーブル 38、40、42 Qレジスタ 39、41、43 STレジスタ 44 複数シンボル算術符号演算装置 201、202、203 インデクスメモリ 204 優勢シンボル列メモリ 205 確率更新装置 214 複数シンボル算術復号演算装置 101 マルチカラー入力画素(MCP) 103、105 コンテクスト 104 符号語(CODE) 107 復号画素 111、112、113 確率推定値Q 114、115、116 遷移先ステート信号 117 正規化条件信号(REN) 118 オージェント(Amcp) 119 オージェント(Amssi) 120、124 優勢シンボル列 121,122,123 遷移先ステート信号 1, 5 Delay device 2, 4 Context generation circuit 3 Multi-value arithmetic encoder 4 Multi-value arithmetic decoder 13 Binary arithmetic encoder (arithmetic encoder) 31, 32, 33 Index memory 34 Dominant symbol sequence memory 35 Probability updating device 36 Probability estimation table 37 Transition destination table 38, 40, 42 Q register 39, 41, 43 ST register 44 Multi-symbol arithmetic code arithmetic unit 201, 202, 203 Index memory 204 Dominant symbol sequence memory 205 Probability updating unit 214 Multi-symbol arithmetic decoding Arithmetic unit 101 Multi-color input pixel (MCP) 103, 105 Context 104 Code word (CODE) 107 Decoded pixel 111, 112, 113 Probability estimated value Q 114, 115, 116 Transition destination state signal 117 Normalization condition signal (REN) 118 Augen (Amcp) 119 Orgent (Amssi) 120, 124 Dominant symbol sequence 121, 122, 123 Transition destination state signal

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/41 C 1/411 7/24 11/04 Z 9185−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 1/41 C 1/411 7/24 11/04 Z 9185-5C

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画像などのデータを複数ビットまとめて
処理するデータ符号化装置において、入力データを記憶
する遅延器と、遅延器に記憶された入力データからマル
コフモデルを規定し符号化対象となるデータの入力前の
状態を示すコンテクスト(CX)を生成するコンテクス
ト生成回路と、入力データとコンテクストから符号語を
出力する多値算術符号器から構成されることを特徴とす
るデータ符号化装置。
1. A data encoding apparatus for collectively processing a plurality of bits of data such as an image and the like, and a delay unit for storing the input data, and a Markov model defined from the input data stored in the delay unit, which is to be encoded. A data encoding device comprising a context generation circuit for generating a context (CX) indicating a state before data input, and a multi-value arithmetic encoder for outputting a code word from the input data and the context.
【請求項2】 画像などのデータを複数ビットまとめて
処理するデータ符号化装置において、多値算術復号器か
らの復号データを記憶する遅延器と、遅延器に記憶され
た復号データからマルコフモデルを規定し符号化対象と
なるデータの入力前の状態を示すコンテクストを生成す
るコンテクスト生成回路と、請求項1記載のデータ符号
化装置により生成された符号語とコンテクストを入力し
元データを復号する多値算術復号器から構成されること
を特徴とするデータ符号化装置。
2. A data encoding apparatus for collectively processing a plurality of bits of data such as an image, a delay unit for storing decoded data from a multi-value arithmetic decoder, and a Markov model from the decoded data stored in the delay unit. A context generation circuit for generating a context indicating a state before input of data to be defined and encoded, and a multi-code decoder for inputting a code word and a context generated by the data encoding device according to claim 1 to decode original data. A data encoding device comprising a value arithmetic decoder.
【請求項3】 シンボルの発生する確率を確率推定テー
ブルに記憶する確率推定テーブルと、入力データに応じ
てシンボルの確率推定値を生成するための状態遷移を記
憶する遷移先テーブルと、入力データと過去の優勢シン
ボル列の履歴と算術符号の正規化条件により確率推定テ
ーブルのインデクスを出力する確率更新装置からなる上
記多値算術符号器において、Nビットの入力データの発
生する確率を場合分けし、各場合の発生確率を示すイン
デクスを記憶する複数のインデクスメモリと、入力デー
タの中で最も出現する確率推定値の高いシンボル列を記
憶する優勢シンボル列メモリと、Nビットのデータとシ
ンボル列の発生確率を入力し符号語を出力する複数シン
ボル算術符号演算装置から構成されることを特徴とする
請求項1記載のデータ符号化装置。
3. A probability estimation table that stores the probability of occurrence of a symbol in a probability estimation table, a transition destination table that stores state transitions for generating a probability estimation value of a symbol according to input data, and input data. In the above-mentioned multi-valued arithmetic coder comprising a probability updating device that outputs the index of the probability estimation table according to the history of the past dominant symbol sequence and the normalization condition of the arithmetic code, the probability of occurrence of N-bit input data is divided into cases, Multiple index memories that store indexes that indicate the occurrence probabilities in each case, predominant symbol string memories that store the symbol strings that have the highest probability estimates in the input data, and N-bit data and symbol string occurrences. 2. The data according to claim 1, comprising a multi-symbol arithmetic code arithmetic unit for inputting a probability and outputting a code word. Encoder.
【請求項4】 シンボルの発生する確率を確率推定テー
ブルに記憶する確率推定テーブルと、復号データに応じ
てシンボルの確率推定値を生成するための状態遷移を記
憶する遷移先テーブルと、復号データと過去の優勢シン
ボル列の履歴と算術符号の正規化条件により確率推定テ
ーブルのインデクスを出力する確率更新装置からなる上
記多値算術復号器において、Nビットの入力データの発
生する確率を場合分けし、各場合の発生確率を示すイン
デクスを記憶する複数のインデクスメモリと、入力デー
タの中で最も出現する確率推定値の高いシンボル列を記
憶する優勢シンボル列メモリと、符号語とシンボル列の
発生確率を入力し元データを復号する複数シンボル算術
復号演算装置から構成されることを特徴とする請求項2
記載のデータ符号化装置。
4. A probability estimation table storing a probability of occurrence of a symbol in a probability estimation table, a transition destination table storing state transitions for generating a probability estimation value of a symbol according to decoded data, and decoded data. In the above-mentioned multi-level arithmetic decoder which is a probability updating device that outputs the index of the probability estimation table according to the history of the past dominant symbol sequence and the normalization condition of the arithmetic code, the probability of occurrence of N-bit input data is divided into cases, The index memory that stores the index that indicates the probability of occurrence in each case, the dominant symbol string memory that stores the symbol string with the highest probability estimate in the input data, and the occurrence probability of the codeword and symbol string 3. A multi-symbol arithmetic decoding arithmetic unit for inputting and decoding original data.
The described data encoding device.
【請求項5】 Nビットのデータの(2のN乗−1)個
の劣勢シンボル列の発生する確率推定値と、最も発生す
る確率の高い優勢シンボル列と、符号化対象データを入
力し発生確率に応じた数直線の位置を演算し符号語を出
力する上記複数シンボル算術符号演算装置を有すること
を特徴とする請求項1記載のデータ符号化装置。
5. A probability estimation value of occurrence of (2 N-1) inferior symbol sequences of N-bit data, a dominant symbol sequence having the highest probability of occurrence, and data to be encoded and generated. 2. The data encoding device according to claim 1, further comprising the multi-symbol arithmetic code arithmetic device for arithmetically operating a position of a number line according to probability and outputting a code word.
【請求項6】 Nビットのデータの(2のN乗−1)個
の劣勢シンボル列の発生する確率推定値と、最も発生す
る確率の高い優勢シンボル列と、請求項1記載のデータ
符号化装置により生成された符号語を入力し発生確率に
応じた数直線の位置を演算しデータを復号する上記複数
シンボル算術復号演算装置を有することを特徴とする請
求項2記載のデータ符号化装置。
6. The data encoding according to claim 1, wherein a probability estimation value of occurrence of (2 N-1) inferior symbol strings of N-bit data, a dominant symbol string having the highest probability of occurrence, and 3. The data encoding device according to claim 2, further comprising the multi-symbol arithmetic decoding operation device which inputs the code word generated by the device, operates the position of the number line according to the occurrence probability, and decodes the data.
【請求項7】 上記多値算術符号器および多値算術復号
器において、入力されたシンボルの発生確率に応じてシ
ンボルに割り当てられる数直線の長さが1/2を下回り
正規化処理を行うときに、優勢シンボル列による正規化
時には全ての劣勢シンボルの確率推定値を更新する手段
と、劣勢シンボル列による正規化時には発生した劣勢シ
ンボル列の確率推定値を更新する手段により構成される
確率更新装置を有することを特徴とする請求項1、2記
載のデータ符号化装置。
7. The multilevel arithmetic encoder and the multilevel arithmetic decoder, when the length of a number line assigned to a symbol according to the occurrence probability of an input symbol is less than 1/2 and a normalization process is performed. In addition, a probability updating device configured by means for updating probability estimation values of all inferior symbols during normalization by the dominant symbol sequence and means for updating probability estimation values for inferior symbol sequences generated during normalization by the inferior symbol sequence. 3. The data encoding device according to claim 1, further comprising:
JP3954194A 1994-03-10 1994-03-10 Data encoder Pending JPH07249995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3954194A JPH07249995A (en) 1994-03-10 1994-03-10 Data encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3954194A JPH07249995A (en) 1994-03-10 1994-03-10 Data encoder

Publications (1)

Publication Number Publication Date
JPH07249995A true JPH07249995A (en) 1995-09-26

Family

ID=12555919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3954194A Pending JPH07249995A (en) 1994-03-10 1994-03-10 Data encoder

Country Status (1)

Country Link
JP (1) JPH07249995A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6677869B2 (en) 2001-02-22 2004-01-13 Panasonic Communications Co., Ltd. Arithmetic coding apparatus and image processing apparatus
JP2009060667A (en) * 2002-04-23 2009-03-19 Ntt Docomo Inc System and method for arithmetic encoding and decoding
JP2013016954A (en) * 2011-07-01 2013-01-24 Nec Engineering Ltd Arithmetic encoding method and arithmetic encoder
JP2013090189A (en) * 2011-10-19 2013-05-13 Fujitsu Ltd Decoding apparatus, decoding method and decoding program
US9577667B2 (en) 2002-04-23 2017-02-21 Ntt Docomo, Inc. System and method for arithmetic encoding and decoding

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6677869B2 (en) 2001-02-22 2004-01-13 Panasonic Communications Co., Ltd. Arithmetic coding apparatus and image processing apparatus
US6864813B2 (en) 2001-02-22 2005-03-08 Panasonic Communications Co., Ltd. Arithmetic decoding method and an arithmetic decoding apparatus
JP2009060667A (en) * 2002-04-23 2009-03-19 Ntt Docomo Inc System and method for arithmetic encoding and decoding
US9577667B2 (en) 2002-04-23 2017-02-21 Ntt Docomo, Inc. System and method for arithmetic encoding and decoding
US10291255B2 (en) 2002-04-23 2019-05-14 Ntt Docomo, Inc. System and method for arithmetic encoding and decoding
US10484006B2 (en) 2002-04-23 2019-11-19 Ntt Docomo, Inc. System and method for arithmetic encoding and decoding
JP2013016954A (en) * 2011-07-01 2013-01-24 Nec Engineering Ltd Arithmetic encoding method and arithmetic encoder
JP2013090189A (en) * 2011-10-19 2013-05-13 Fujitsu Ltd Decoding apparatus, decoding method and decoding program

Similar Documents

Publication Publication Date Title
US4905297A (en) Arithmetic coding encoder and decoder system
US5045852A (en) Dynamic model selection during data compression
US5710562A (en) Method and apparatus for compressing arbitrary data
US4633490A (en) Symmetrical optimized adaptive data compression/transfer/decompression system
US4749983A (en) Compression of multilevel signals
JPH0969951A (en) Encoding method and decoding method
JPH06224777A (en) Encoding method, encoding device, decoding method, decoder, data compression device, bitstream generation method, and transition machine generation method
JPH0937271A (en) Image compressing method
US5587710A (en) Syntax based arithmetic coder and decoder
JPH10107645A (en) Encoder and encoding system
JPH0258814B2 (en)
JP3684128B2 (en) Arithmetic encoding / decoding method and arithmetic encoding / decoding device
US5933105A (en) Context-based arithmetic encoding/decoding method and apparatus
JP2798172B2 (en) Image encoding / decoding device
EP0260461B1 (en) Arithmetic coding encoding and decoding method
US6055273A (en) Data encoding and decoding method and device of a multiple-valued information source
JPH07249995A (en) Data encoder
US5198898A (en) Data compressing system for compressing serial image data with color information
JP3787389B2 (en) Image processing apparatus and method, and storage medium storing the method
US5694126A (en) Adaptive predictive data compression method and apparatus
JP3871995B2 (en) Encoding device and decoding device
US6058216A (en) Apparatus for encoding image data
KR100207428B1 (en) An apparatus and method for fast variable length decoding adaptive to Huffman code conversion
JP3235510B2 (en) Encoding method and encoding device, decoding method and decoding device
CN119625087B (en) JBIG arithmetic coding and decoding method and system