JP2000350043A - Arithmetic coder and arithmetic decoder - Google Patents

Arithmetic coder and arithmetic decoder

Info

Publication number
JP2000350043A
JP2000350043A JP15772699A JP15772699A JP2000350043A JP 2000350043 A JP2000350043 A JP 2000350043A JP 15772699 A JP15772699 A JP 15772699A JP 15772699 A JP15772699 A JP 15772699A JP 2000350043 A JP2000350043 A JP 2000350043A
Authority
JP
Japan
Prior art keywords
symbols
symbol
decoding
arithmetic
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP15772699A
Other languages
Japanese (ja)
Other versions
JP3350482B2 (en
Inventor
Hitoshi Horie
等 堀江
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP15772699A priority Critical patent/JP3350482B2/en
Publication of JP2000350043A publication Critical patent/JP2000350043A/en
Application granted granted Critical
Publication of JP3350482B2 publication Critical patent/JP3350482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain arithmetic code processing at a high speed, while flexibly coping with complicated state of the image of a coding object. SOLUTION: A plurality symbol processing discriminator 1100 discriminates whether batch processing of consecutive symbols is available and adaptively executes consecutive coding depending on the situation. This discrimination is conducted using a plurality of detectors, e.g. that are operated in parallel and detecting that consecutive context/superior symbols and normalization processing area not caused to each of consecutive symbol numbers which are an object of batch coding.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、算術符号化装置お
よび算術復号化装置に関する。
The present invention relates to an arithmetic coding device and an arithmetic decoding device.

【0002】[0002]

【従来の技術】算術符号化において、2値画像をマルコ
フ情報源でモデル化し、符号化シンボルをその周辺画素
の状態によって予測し、予測結果を算術符号化する方式
が圧縮率の点から最も優れた特性を示すことが知られて
いる。
2. Description of the Related Art In arithmetic coding, a method of modeling a binary image with a Markov information source, predicting a coded symbol according to the state of neighboring pixels, and arithmetically coding a prediction result is the best in terms of a compression ratio. It is known to exhibit the following characteristics.

【0003】JBIG(ITU勧告T.82)に採用されているQM-c
oderがその例である。しかし、 このような方式は圧縮
率は優れているが、1シンボル毎にコンテクストの生
成,シンボルの生起確率情報の推定,算術符号化演算を
繰り返すため処理時間が大きいという問題がある。
[0003] QM-c adopted in JBIG (ITU recommendation T.82)
oder is an example. However, such a method has an excellent compression ratio, but has a problem that the processing time is long because the generation of the context, the estimation of the occurrence probability information of the symbol, and the arithmetic coding operation are repeated for each symbol.

【0004】図13にQM-coderの主要な構成を示す。FIG. 13 shows a main configuration of the QM-coder.

【0005】図示されるように、QM-coderは、コンテク
スト生成部200と、コンテクストテーブル(RAM)210
と、確率推定部220と、算術符号器230とで構成されてお
り、次のように動作する。
As shown in the figure, a QM-coder includes a context generation unit 200 and a context table (RAM) 210.
, A probability estimating unit 220, and an arithmetic encoder 230, and operate as follows.

【0006】まず、コンテクスト生成部200において、
符号化画素の周辺10画素によって作られる1024個の状態
を検出する。各状態をコンテクスト(s)と呼び、コンテ
クスト毎に優勢シンボルの予測値MPS(s)と確率推定器の
状態番号がコンテクストテーブル210から読み出され、
確率推定部220に出力される。確率推定部は、これらの
情報から領域幅Qe(s)を算術符号器に出力する。算術符
号器230は、符号化シンボル値と、優勢シンボルの予測
値MPS(s)と、劣勢シンボルの生成確率に対応する領域幅
Qe(s)とから算術符号化演算を実行する。
First, in the context generation unit 200,
1024 states created by the 10 surrounding pixels of the encoded pixel are detected. Each state is called a context (s), and the predicted value MPS (s) of the dominant symbol and the state number of the probability estimator are read from the context table 210 for each context,
Output to probability estimation section 220. The probability estimating unit outputs the region width Qe (s) from the information to the arithmetic encoder. Arithmetic encoder 230 calculates the coded symbol value, the predicted value MPS (s) of the superior symbol, and the region width corresponding to the generation probability of the inferior symbol.
Perform arithmetic coding operation from Qe (s).

【0007】次に、算術符号演算について図14を参照し
て説明する。
Next, the arithmetic code operation will be described with reference to FIG.

【0008】算術符号化では、初期値0〜1の数直線を優
勢シンボル(MPS)の領域幅と劣性シンボル(LPS)の領域幅
に分ける。QM-coderでは、数直線の上側にLPS幅、下側
にMPS幅が割り当てられている。2つの領域幅を足した
幅をオージェントとよび、以下Aregと表す。
In arithmetic coding, a number line having an initial value of 0 to 1 is divided into an area width of a dominant symbol (MPS) and an area width of a recessive symbol (LPS). In the QM-coder, the LPS width is assigned to the upper side of the number line, and the MPS width is assigned to the lower side. The width obtained by adding the widths of the two regions is called an agent, and is hereinafter referred to as Areg.

【0009】図14は、”0100”に対する領域分割の様子
を示している。図中、A(X)はシンボル系列Xに対応
した領域の幅を表す。例えば、部分区間A(0100)は、
シンボル系列”0100”及び生成確率に対応する。符号化
対象シンボル系列は、分割された領域内の代表点に対応
させる。代表点は、部分区間内の一番下にとられる。
FIG. 14 shows a state of area division for "0100". In the figure, A (X) represents the width of the area corresponding to the symbol sequence X. For example, the subsection A (0100) is
It corresponds to the symbol sequence “0100” and the generation probability. The encoding target symbol sequence is made to correspond to a representative point in the divided area. The representative point is set at the bottom of the partial section.

【0010】符号化シンボルと予測値が同じ時は、次の
シンボルの符号化にはMPS幅が選ばれ、そうでなければL
PS幅が選ばれる。上述のとおり、この領域幅の中に代表
点を設けて、その2進少数点が符号を表す。
When the coded symbol and the predicted value are the same, the MPS width is selected for coding the next symbol;
PS width is selected. As described above, a representative point is provided in this area width, and the binary decimal point represents a code.

【0011】算術符号化演算では、領域幅が「所定値」
未満になった時には、小数点の精度の低下を防ぐため
に、所定値以上になるまで2倍処理を繰り返す(この処
理を正規化処理という)。ここで、「所定値」は初期値
の1/2である。
In the arithmetic coding operation, the area width is "predetermined value".
When the value is less than 2, the doubling process is repeated until the value becomes equal to or more than a predetermined value in order to prevent a decrease in precision of the decimal point (this process is called a normalization process). Here, the “predetermined value” is 1/2 of the initial value.

【0012】正規化処理はLPSを符号化したときにも行
われる。正規化処理では確率推定部の状態遷移が更新さ
れ、次のシンボルからQe(s)の値が異なり、これによっ
て、より情報源の確率分布に適した値が選択されるよう
になる。
The normalization process is also performed when LPS is encoded. In the normalization processing, the state transition of the probability estimating unit is updated, and the value of Qe (s) differs from the next symbol, whereby a value more suitable for the probability distribution of the information source is selected.

【0013】MPS幅は大きく、LPS幅Qe(s)はMPS幅よりも
小さな値が割り当てられている。MPSの符号化では、1
シンボルの符号化後のオージェント(Areg)の値は、符
号化前のオージェント(Areg)からLPS幅Qe(s)を減算し
た値(すなわち、Areg-Qe(s))となる。この値が初期値
の1/2になるまで正規化処理は行われない。
The MPS width is large, and the LPS width Qe (s) is assigned a value smaller than the MPS width. In MPS encoding, 1
The value of the agent (Areg) after encoding the symbol is a value obtained by subtracting the LPS width Qe (s) from the agent (Areg) before encoding (that is, Areg-Qe (s)). Normalization processing is not performed until this value becomes 1/2 of the initial value.

【0014】コンテクストが同一でMPSが連続するとき
には、各シンボルの予測条件には変化がないため、Areg
- n×Qe(s)のように予め定めたnシンボル分、一括し
て演算することができる。このような一括符号化方式
は、特公平7-95693(符号化復号化装置)に開示されて
いる。
When the MPS is continuous and the context is the same, the prediction condition of each symbol does not change.
-Computation can be performed collectively for a predetermined n symbols such as n × Qe (s). Such a collective encoding method is disclosed in Japanese Patent Publication No. Hei 7-95693 (encoding / decoding device).

【0015】[0015]

【発明が解決しようとする課題】しかし、上記の従来方
式は予め定めたシンボル数に対して一括処理の条件が満
たされた場合に限って高速化が可能である。このような
条件を満たす可能性のある画像パターンは画素配置の水
平移動によってコンテクストが同一となるので、参照画
素とMPSが全て白、 全て黒、 および横方向のストライ
プに限られる。現実的には、横方向のストライプパター
ンや全黒パターンの発生頻度は低いので、全白部分で効
果があると考えられる。
However, in the above-mentioned conventional method, the speed can be increased only when the condition of batch processing is satisfied for a predetermined number of symbols. An image pattern that may satisfy such a condition has the same context due to the horizontal movement of the pixel arrangement, so that the reference pixel and the MPS are all limited to white, all black, and horizontal stripes. Realistically, the frequency of occurrence of a horizontal stripe pattern or an all-black pattern is low, so that it is considered that the effect is obtained in an all-white portion.

【0016】しかし、画像の中の全白部分は文字間,行
間,左右の余白などであり、解像度や画像の種類によっ
て全白部分の大きさは大きく変化する。また、誤差拡散
画像では、一括処理シンボル数を大きくすると、一括処
理条件を満足する頻度は極めて小さくなり、高速化の効
果はほとんど認められなくなる。
However, the whole white portion in the image is the space between characters, the space between lines, left and right margins, and the like, and the size of the whole white portion greatly changes depending on the resolution and the type of image. In the error diffusion image, when the number of collective processing symbols is increased, the frequency of satisfying the collective processing condition becomes extremely low, and the effect of speeding up is hardly recognized.

【0017】本発明は、このような考察に基づいてなさ
れたものであり、各種の画像や画像の局所状態に柔軟に
対応して高速処理を行なうことができる算術符号化装置
・算術復号化装置を提供することを目的とする。
The present invention has been made based on such considerations, and has an arithmetic coding apparatus and an arithmetic decoding apparatus capable of performing high-speed processing flexibly in response to various images and local states of the images. The purpose is to provide.

【0018】[0018]

【課題を解決するための手段】本発明は、画像の局所局
所の状況に適応して連続処理シンボル数を可変とし、画
像の複雑さに応じて高速化の効果が得られるように構成
したものである。
According to the present invention, the number of continuously processed symbols is made variable in accordance with the local situation of an image so that the effect of speeding up can be obtained in accordance with the complexity of the image. It is.

【0019】例えば、複数個の検出器で状況を判定し、
その状況に応じて適応的に一括符号化のシンボル数を決
定するように構成する。
For example, the situation is determined by a plurality of detectors,
The number of symbols for collective encoding is determined adaptively according to the situation.

【0020】また、画像の種類や局所状態に適応するよ
う、連続処理シンボル数を状態遷移によって可変とした
構成とする。
Further, the number of continuously processed symbols is made variable by state transition so as to adapt to the type of image and the local state.

【0021】[0021]

【発明の実施の形態】本発明の一態様では、一括符号化
・復号化するシンボル数を可変とする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In one embodiment of the present invention, the number of symbols to be collectively coded / decoded is made variable.

【0022】本発明の他の態様では、複数個の検出器に
よるパターン判定を並列に行ない、各検出器の検出結果
に基づいて、一括して符号化・復号化できるシンボル数
を適応的に決定する。
According to another aspect of the present invention, pattern determination by a plurality of detectors is performed in parallel, and the number of symbols that can be collectively encoded and decoded is determined adaptively based on the detection results of each detector. I do.

【0023】本発明の他の態様では、一括符号化・復号
化のシンボル数の決定は、各検出器に割り当てられてい
る一括符号化・復号化するシンボル数の条件のうちの最
大のシンボル数を選択することにより行われる。シンボ
ル数の決定にあたっては、算術符号器における正規化処
理が発生しないことも条件とするのが望ましい。
In another aspect of the present invention, the number of symbols for collective encoding / decoding is determined by determining the maximum number of symbols among the conditions for the number of symbols for collective encoding / decoding assigned to each detector. Is performed by selecting. In deciding the number of symbols, it is desirable that the normalization processing in the arithmetic encoder does not occur.

【0024】また、本発明の他の態様では、一括符号化
を希望するシンボル数を設定し、その設定されたシンボ
ル数についての一括符号化が可能であるか否かを判定手
段により判定し、その可否に応じて、次の符号化・復号
化におけるシンボル数(設定値)を変更する。すなわ
ち、判定結果が「可」であれば、次回のシンボル数を今
回のもの以上とし、「否」であれば、今回のもの以下と
する。
In another aspect of the present invention, the number of symbols for which collective encoding is desired is set, and whether or not collective encoding for the set number of symbols is possible is determined by a determination unit. The number of symbols (set value) in the next encoding / decoding is changed in accordance with the propriety. That is, if the determination result is “OK”, the number of symbols for the next time is equal to or greater than the current symbol, and if “No”, the number of symbols is equal to or less than the current symbol.

【0025】本発明によれば、比較的簡単で現実的な構
成でもって、適応的な一括の算術符号化・復号化を行な
うことができ、符号化対象の複雑さに対応して、可能な
限りの高速処理が常に行なわれる。よって、符号化・復
号化処理の効率が向上する。ファクシミリ装置のような
通信装置に搭載すれば、文字画像のみならず中間調画像
(網点画像)についても適切な一括符号化・復号化処理
を行なえる、高機能な通信装置が実現される。
According to the present invention, it is possible to perform adaptive batch arithmetic coding / decoding with a relatively simple and realistic configuration, and to perform adaptive arithmetic coding / decoding in accordance with the complexity of the coding object. High-speed processing is always performed. Therefore, the efficiency of the encoding / decoding process is improved. When mounted on a communication device such as a facsimile device, a high-performance communication device capable of performing appropriate batch encoding / decoding processing not only for character images but also for halftone images (dot images) is realized.

【0026】(実施の形態1)図1は本発明による算術
符号・復号器の全体構成を示すブロック図である。
(Embodiment 1) FIG. 1 is a block diagram showing the overall configuration of an arithmetic code / decoder according to the present invention.

【0027】基本的な構成は図13と同様であるが、複数
シンボル処理判定器1100を有するのが特徴である。図示
されるように、構成要素は、コンテクスト生成器1000,
複数シンボル処理判定器1100,コンテクストメモリ120
0,確率推定器1300および算術符号器1400である。
The basic configuration is the same as that of FIG. 13, but is characterized by having a multiple symbol processing decision unit 1100. As shown, the components are a context generator 1000,
Multi-symbol processing decision unit 1100, context memory 120
0, a probability estimator 1300 and an arithmetic encoder 1400.

【0028】画像データはコンテクスト生成器1000に入
力され、そこで定められた配置の参照画素の値によっ
て、インデックス(s)を出力する。コンテクスト生成器1
000からは更に、複数シンボル処理判定器1100に対して
符号化シンボルの周辺画素データが出力される。
The image data is input to the context generator 1000, and an index (s) is output according to the value of the reference pixel in the arrangement determined there. Context generator 1
000 further outputs peripheral pixel data of the encoded symbol to the multiple symbol processing determiner 1100.

【0029】コンテクストメモリ1200は、1024バイトの
RAMで構成されている。一つのコンテクストに1バイト
が割り当てられ、各バイト内には1ビットで表された符
号化シンボルの予測値MPS(s)と確率推定器1300の状態番
号7ビットとが記憶されている。
The context memory 1200 has 1024 bytes.
Consists of RAM. One byte is allocated to one context, and in each byte, a predicted value MPS (s) of a coded symbol represented by 1 bit and 7 bits of a state number of the probability estimator 1300 are stored.

【0030】確率推定器1300はROMで構成された状態遷
移テーブルである。確率推定器1300はLPSの領域幅Qe(s)
を算術符号器1400に出力する。算術符号器1400は、符号
化シンボル,MPS(s),Qe(s)および複数シンボル処理判
定器1100の出力信号である連続処理シンボル数を用い
て、符号データ系列を出力する。
The probability estimator 1300 is a state transition table constituted by a ROM. The probability estimator 1300 calculates the LPS region width Qe (s)
Is output to the arithmetic encoder 1400. Arithmetic encoder 1400 outputs a coded data sequence using coded symbols, MPS (s), Qe (s), and the number of consecutively processed symbols output from multi-symbol processing determiner 1100.

【0031】また、複数シンボル処理判定器1100は、符
号化シンボルの周辺画素データと、算術符号器のAレジ
スタ値AregおよびQe(s)の値を用いて、そのシンボルか
ら予め定めた範囲内で連続処理可能なシンボル数の最大
値を算出する。
The multi-symbol processing determiner 1100 uses the peripheral pixel data of the coded symbol and the values of the A register values Areg and Qe (s) of the arithmetic coder within a predetermined range from the symbol. The maximum value of the number of continuously processable symbols is calculated.

【0032】本実施例では、並列に動作する複数の検出
器を設け、コンテクストとMPSが連続するかを、2シ
ンボル,4シンボル,8シンボル,16シンボルについて
並行して検出し、その最大値を選択する。
In the present embodiment, a plurality of detectors operating in parallel are provided, and whether the context and the MPS are continuous is detected in parallel for 2, 4, 8, and 16 symbols, and the maximum value is detected. select.

【0033】例えば、「2シンボル」と「4シンボル」
の検出器が共に一括処理可能と判定した場合には、「4
シンボル」が一括処理のシンボル数として選ばれる。但
し、「4シンボル」の一括符号化をすると初期のオージ
ェント(Areg)の中央値(半分の値)をきってしまって
正規化処理が生じる場合には、処理の複雑化を避けるた
めに、「2シンボル」を選択することになる(2シンボ
ルでも正規化処理が発生する場合には逐次処理とな
る)。
For example, "2 symbols" and "4 symbols"
If it is determined that all of the detectors can be processed collectively, "4
"Symbol" is selected as the number of symbols for batch processing. However, in the case where the centralization (half value) of the initial agent (Areg) is cut off when collective encoding of “4 symbols” is performed and a normalization process occurs, in order to avoid complication of the process, "2 symbols" is selected (when normalization processing occurs even with two symbols, the processing is performed sequentially).

【0034】すなわち、コンテクストが同一でMPSが連
続するときには、各シンボルの予測条件には変化がない
ため、Areg - n×Qe(s)のように予め定めたnシンボル
分、一括して演算することができるのであるが、図2に
示すようにしきい値(B点,”0x8000”)を下回るよう
な場合には、一括処理を禁止する。
That is, when the MPS is continuous with the same context, there is no change in the prediction condition of each symbol. Therefore, a predetermined n symbols, such as Areg−n × Qe (s), are calculated at once. However, as shown in FIG. 2, if the threshold value (point B, “0x8000”) is exceeded, the batch processing is prohibited.

【0035】したがって、図3に示すように、一括処理
が可能か否かの判定としては、正規化処理が発生するか
の判定(ステップ10)と、コンテクストとMPSが連続す
るかのパターン判定(ステップ20)の2種類の判定があ
る。そして、各条件が共に満たされる場合に一括処理が
行われ(ステップ30)、それ以外は逐次処理(ステップ
40)となる。
Therefore, as shown in FIG. 3, as to whether or not batch processing is possible, it is determined whether normalization processing occurs (step 10) and a pattern determination whether context and MPS are continuous (step 10). There are two types of determination in step 20). If both conditions are satisfied, batch processing is performed (step 30), and otherwise, sequential processing is performed (step 30).
40).

【0036】以下、図1に示される各ブロックの構成や
動作について具体的に説明する。
Hereinafter, the configuration and operation of each block shown in FIG. 1 will be specifically described.

【0037】図4は、コンテクスト生成器1000のブロッ
ク図である。図示されるように、コンテクスト生成器10
00は、3本のシフトレジスタ1010〜1030と、インデック
ス生成器1040と、全体を制御するタイミング制御回路10
50とを有する。
FIG. 4 is a block diagram of the context generator 1000. As shown, the context generator 10
00 denotes three shift registers 1010 to 1030, an index generator 1040, and a timing control circuit 10 for controlling the whole.
With 50.

【0038】シフトレジスタは4バイトで構成され、符
号化/復号化ライン用のシフトレジスタ1010と、参照ラ
イン用のシフトレジスタ1020,1030に大別される。符号
化のときは、画像データは、メモリ(図示せず)から読
み出され、各シフトレジスタの最下位バイトから順次、
入力される。
The shift register is composed of 4 bytes, and is roughly divided into a shift register 1010 for encoding / decoding lines and shift registers 1020 and 1030 for reference lines. At the time of encoding, image data is read from a memory (not shown), and sequentially from the least significant byte of each shift register,
Is entered.

【0039】なお、シフトレジスタのビット位置は、図
示したように、c-7〜c23,b-7〜b23,a-7〜a23の記号で
識別することにする。
The bit positions of the shift register are identified by symbols c-7 to c23, b-7 to b23, and a-7 to a23 as shown in the figure.

【0040】次に、符号化時の動作を説明する。Next, the operation at the time of encoding will be described.

【0041】初期状態で全てのシフトレジスタはクリア
される。そして、画像データがメモリ(図示せず)から
読み出され、符号/復号化ライン用のシフトレジスタ10
10の最下位バイトから順次、入力される。その後、符号
化対象のライン第1画素がa0の位置にくるまで左にシフ
トし、更に下位バイトをメモリから読み出し3バイトの
画像データを詰める。参照ラインについても同様に、ラ
インの第1画素がb0,c0に来るようにする。
In the initial state, all shift registers are cleared. Then, the image data is read from a memory (not shown) and the shift register 10 for the encoding / decoding line is read.
It is input sequentially from the 10 least significant bytes. After that, the line is shifted to the left until the first pixel of the line to be coded reaches the position of a0, and the lower byte is read from the memory and the 3-byte image data is packed. Similarly, for the reference line, the first pixel of the line is set at b0 and c0.

【0042】データ格納が完了した段階で、a0の位置に
あるのが符号化シンボル(図中、”?”で示されてい
る)である。また、a-2,a-1,b-2,b-1,b0,b1,b2,
c-1,c0の各位置にある10画素が参照画素である。な
お、これらのシンボルは、図4中で、太い点線で囲まれ
ている。
At the stage when data storage is completed, the coded symbol (indicated by "?" In the figure) is located at the position of a0. Also, a-2, a-1, b-2, b-1, b0, b1, b2,
The 10 pixels at each position of c-1 and c0 are reference pixels. These symbols are surrounded by thick dotted lines in FIG.

【0043】また、インデックス生成器1040は、参照画
素をa-2,a-1,b-2,b-1,b0,b1,b2,c-1,c0の順に
並べる。この10ビットのデータが、 コンテクストを識
別するインデックス(s)となる。
The index generator 1040 arranges the reference pixels in the order of a-2, a-1, b-2, b-1, b0, b1, b2, c-1, and c0. This 10-bit data becomes the index (s) for identifying the context.

【0044】符号化シンボル“?”を符号化した後は逐
次処理であれば、シフトレジスタ全体を左に1ビットシ
フトして新しいコンテクストを作る。
After the encoding of the encoded symbol "?", In the case of sequential processing, a new context is created by shifting the entire shift register one bit to the left.

【0045】復号化のときは、復号シンボルはa0の位置
に書き込まれる。1シンボル毎の逐次処理では1シンボ
ル復号する毎にシフトレジスタを左に1ビットシフトす
る。復号データは8ビット毎にメモリに書き込む。この
データはシフトレジスタのa-7〜a-1のバイトデータであ
る。
At the time of decoding, the decoded symbol is written at the position of a0. In the sequential processing for each symbol, the shift register is shifted one bit to the left each time one symbol is decoded. The decoded data is written to the memory every 8 bits. This data is byte data of a-7 to a-1 of the shift register.

【0046】画像データの入出力、 ビットシフトなど
全体の動作タイミングはタイミング制御回路1050によっ
て制御される。以上がコンテクスト生成器1000の構成と
動作である。
The overall operation timing such as input / output of image data and bit shift is controlled by a timing control circuit 1050. The above is the configuration and operation of the context generator 1000.

【0047】次に、複数シンボル処理判定器1100の構成
と動作について説明する。
Next, the configuration and operation of the multiple symbol processing decision unit 1100 will be described.

【0048】一括(連続)の符号化処理を行なう場合に
は、コンテクスト(参照画素の状態)が所定のパターン
であること(例えば、全部の画素が白である状態が続い
ていること)と、符号化シンボルについての優勢シンボ
ル値(MPS)が所定パターンであること(つまり、連続
していること)の双方を判定する必要がある。MPSの連
続も判定するのは、参照画素が同じであっても、符号化
対象の画素の値によってMPSが変化し、この場合には、
一括した処理ができないからである。図4で説明したコ
ンテクスト生成器1000に蓄積された画像データは、同一
コンテクストとMPSが連続しているかどうかを判定する
ために、複数シンボル処理判定器1100に出力される。こ
こで、出力される画像データは、図4のa-2〜a15,b-2
〜b17,c-1〜c16の各ビット位置のデータであるものと
する。
When performing batch (consecutive) encoding processing, the context (state of the reference pixel) is a predetermined pattern (for example, all pixels are white). It is necessary to determine both that the dominant symbol value (MPS) for the coded symbol is a predetermined pattern (that is, that it is continuous). The reason for determining the continuity of the MPS is that even if the reference pixel is the same, the MPS changes depending on the value of the pixel to be encoded. In this case,
This is because batch processing cannot be performed. The image data stored in the context generator 1000 described with reference to FIG. 4 is output to the multiple-symbol processing determination unit 1100 to determine whether the same context and MPS are continuous. Here, the output image data is a-2 to a15, b-2 in FIG.
B17, c-1 to c16.

【0049】図5は、複数シンボル処理判定器1100の構
成を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of the multiple symbol processing decision unit 1100.

【0050】先に説明したように、本実施例では連続処
理可能な複数シンボルの候補として、「2シンボル」,
「4シンボル」,「8シンボル」および「16シンボル」
の4つを設定しており、実行可能なものの中から最大値
を選ぶ。
As described above, in this embodiment, "2 symbols", "2 symbols"
"4 symbols", "8 symbols" and "16 symbols"
Is set, and the maximum value is selected from executable ones.

【0051】すなわち、2,4,8,16の各連続シンボ
ルのうち、実行可能なものはどれかを判定するために必
要な情報を、各連続シンボルに対応して設けられた複数
の検出器の各々で取得し、その情報を連続処理シンボル
数判定回路1113に入力する構成である。
That is, information necessary for determining which of the 2, 4, 8, and 16 consecutive symbols is feasible is provided by a plurality of detectors provided corresponding to each continuous symbol. , And inputs the information to the continuous processing symbol number determination circuit 1113.

【0052】複数の検出器の各々は、図3で示した2種
類の判定を行なうための構成を有しており、それぞれ同
じ構成をもつ。ここでは、「16シンボル」についての検
出を行なう場合について説明する 16シンボルの一括処理に対応した検出器は、4ビットシ
フタ1104,減算器1108,比較器1112,比較器1131と、コ
ンテクスト/MPSの16連続判定回路1117と、を有してい
る。
Each of the plurality of detectors has a configuration for performing the two types of determination shown in FIG. 3, and has the same configuration. Here, a description will be given of a case where detection is performed for “16 symbols”. A detector corresponding to batch processing of 16 symbols includes a 4-bit shifter 1104, a subtractor 1108, a comparator 1112, a comparator 1131, and a context / MPS of 16 bits. And a continuity determination circuit 1117.

【0053】4ビットシフタ1104,減算器1108,比較器1
112,比較器1131は、一括の符号化処理を行なった場合
に正規化処理が必要となるかを判断するための判定情報
を取得する部分を構成する。なお、比較器1131は復号化
時に使用するものである。また、コンテクスト/MPSの1
6連続判定回路1117は、所定パターンの連続を検出する
部分である。
4 bit shifter 1104, subtractor 1108, comparator 1
The comparator 112 and the comparator 1131 form a part for acquiring determination information for determining whether or not the normalization processing is required when the collective encoding processing is performed. The comparator 1131 is used at the time of decoding. In addition, context / MPS 1
The six continuation determination circuit 1117 is a part that detects continuation of a predetermined pattern.

【0054】4ビットシフタ1104は、LPSの領域幅Qe(s)
を左に4ビットシフトして16倍する。シフタ出力は16*Qe
(s)である。減算器1108ではAreg 16*Qe(s)を計算す
る。比較器1112は、その値と0x8000を比較する。0x8000
はAregの初期値0x10000の1/2である(図2のB点に相
当)。
The 4-bit shifter 1104 has a region width Qe (s) of the LPS.
Is shifted 4 bits to the left and multiplied by 16. 16 * Qe shifter output
(s). The subtractor 1108 calculates Areg 16 * Qe (s). The comparator 1112 compares the value with 0x8000. 0x8000
Is 1/2 of the initial value of Areg 0x10000 (corresponding to the point B in FIG. 2).

【0055】比較器出力1120は、 Areg 16*Qe(s) >= 0
x8000 であれば、"1"、 そうでなければ"0"とする。こ
こで、Areg 16*Qe(s) >= 0x8000 であれば、正規化処
理は起こらないので、連続処理可能な条件の一つが満た
される。
The comparator output 1120 is Areg 16 * Qe (s)> = 0
If it is x8000, set it to "1", otherwise set it to "0". Here, if Areg 16 * Qe (s)> = 0x8000, the normalization processing does not occur, and one of the conditions that allows continuous processing is satisfied.

【0056】一方、コンテクスト/MPS 16連続判定回路
1117は、画像データ1119を参照して、同一コンテクスト
とMPS(s)が16連続しているかどうかを判定する。このた
めに参照する画像データは、図4のa-2〜a15,b-2〜b1
7,c-1〜c16の各位置にある画像データである。
On the other hand, the context / MPS 16 continuous judgment circuit
A step 1117 refers to the image data 1119 to determine whether the same context and MPS (s) are continuous 16 times. The image data referred to for this purpose are a-2 to a15 and b-2 to b1 in FIG.
7, image data at positions c-1 to c16.

【0057】本実施例では、これらの画素が全て「白」
または全て「黒」を判定する。MPSの符号化を前提とす
るので、 MPS(s)と画素の値が一致していることも判定
条件である。判定条件が全て満たされると出力信号1121
は"1"、そうでなければ"0"となる。図2に示したよう
に、比較器1112の出力信号1120が、"1"かつ信号1121が"
1"のときに、16シンボルの連続処理が可能であるという
判断ができる。
In this embodiment, these pixels are all "white".
Alternatively, all are determined to be “black”. Since it is assumed that MPS is encoded, it is also a criterion that the pixel value matches MPS (s). Output signal 1121 when all the judgment conditions are satisfied
Is "1", otherwise "0". As shown in FIG. 2, the output signal 1120 of the comparator 1112 is “1” and the signal 1121 is “1”.
At 1 ", it can be determined that continuous processing of 16 symbols is possible.

【0058】8シンボルの連続処理判断も同様に、3ビ
ットシフタ1103,減算器1107,比較器1111,コンテクス
ト/MPS 8連続判定回路1116で、連続処理が可能かを判
定するための情報を得る。ただし、コンテクスト/MPS
8連続判定回路1116で参照するのは、図4のa-2〜a7,b-
2〜b9,c-1〜c8の範囲にある画素データである。4シン
ボルおよび2シンボルの場合も同様である。これらの異
なるシンボル数の判定は同時に(並行して)実行する。
Similarly, for the determination of continuous processing of eight symbols, information for determining whether continuous processing is possible is obtained by the 3-bit shifter 1103, the subtractor 1107, the comparator 1111, and the context / MPS 8 continuous determination circuit 1116. However, context / MPS
The eight-continuation determination circuit 1116 refers to a-2 to a7, b- in FIG.
Pixel data in the range of 2 to b9 and c-1 to c8. The same applies to the case of 4 symbols and 2 symbols. The determination of these different symbol numbers is performed simultaneously (in parallel).

【0059】連続処理シンボル数判定回路1113は、4つ
の判定結果から連続処理できるシンボル数の最大値を選
択する。論理回路は入力信号の組み合わせで容易に実現
できる。選択された連続処理シンボル数は、信号1118と
して算術符号器とコンテクスト生成器1000に出力され
る。連続処理ができないときは、信号線1118にはゼロを
出力する。
The continuous processing symbol number determination circuit 1113 selects the maximum value of the number of symbols that can be continuously processed from the four determination results. A logic circuit can be easily realized by a combination of input signals. The selected number of consecutively processed symbols is output as signal 1118 to arithmetic encoder and context generator 1000. When continuous processing cannot be performed, zero is output to the signal line 1118.

【0060】次に、算術符号器1400について説明する。
図6は算術符号器1400のブロック図である。
Next, the arithmetic encoder 1400 will be described.
FIG. 6 is a block diagram of the arithmetic encoder 1400.

【0061】算術符号化演算は、加算,減算,シフト演
算の組み合わせで実行できる。符号化シンボルとMPS(s)
はシーケンス制御部1480に入力し、符号化シンボルとMP
S(s)が一致するかを比較する。一致した場合はMPSシン
ボルの符号化、 そうでなければLPSシンボルの符号化を
実行する。
The arithmetic coding operation can be executed by a combination of addition, subtraction, and shift operation. Coded symbols and MPS (s)
Is input to the sequence control unit 1480, and the encoded symbol and MP
Compare whether S (s) matches. If they match, the coding of the MPS symbol is performed, otherwise the coding of the LPS symbol is performed.

【0062】MPSの符号化では、 Aレジスタ1440の値Are
gを、Areg = Areg Qe(s)とし、 Areg >= 0x8000 であれ
ば処理を終了する。そうでなければ、AregとQe(s)を比
較しAreg < Qe(s)であれば、A= Qe(s)、Creg = Creg +
Aregとする。
In the MPS encoding, the value Are of the A register 1440 is
Let g be Areg = Areg Qe (s), and if Areg> = 0x8000, terminate the process. Otherwise, compare Areg with Qe (s), and if Areg <Qe (s), A = Qe (s), Creg = Creg +
Areg.

【0063】その後、正規化処理によってAreg >= 0x80
00になるまで左シフトを行う。Cレジスタ(Creg)1430
も同じビット数分だけ左シフトする。これらの演算はAL
U(算術論理演算回路)1450やシフタ1460で実行できる。
Then, Areg> = 0x80 by normalization processing
Left shift until 00 is reached. C register (Creg) 1430
Also shift left by the same number of bits. These operations are AL
It can be executed by the U (arithmetic logic operation circuit) 1450 and the shifter 1460.

【0064】このときCレジスタ(Creg)1430から、左
にあふれるビットデータをシリアル/パラレル変換器14
70で変換したものが符号データバイトとなる。
At this time, the bit data overflowing to the left is output from the C register (Creg) 1430 to the serial / parallel converter 14.
The data converted at step 70 is a code data byte.

【0065】連続シンボル数は信号線(図3,1118)を通
してシフタ1410に入力し、 シフトビット数となる。同
じくデータとしてシフタ1410にはQe(s)が入力し、 シン
ボル数分の左シフトを行った値がQeレジスタ1420に入
る。符号化演算は上記の説明でQe(s)をQeレジスタの値
で置き換える 図7は、逐次処理の場合のMPS処理フローである。LPSの
符号化もMPS同様の算術論理演算の組み合わせで実行で
きる。ステップ310で、”No”であれば、符号は生成
されず、ステップ320,330,340を実行する場合だけ符
号が出力されることになる。
The number of consecutive symbols is input to the shifter 1410 through a signal line (1118 in FIG. 3), and becomes the number of shift bits. Similarly, Qe (s) is input to shifter 1410 as data, and the value shifted left by the number of symbols is input to Qe register 1420. The encoding operation replaces Qe (s) with the value of the Qe register in the above description. FIG. 7 is an MPS processing flow in the case of sequential processing. LPS encoding can also be performed by a combination of arithmetic and logical operations similar to MPS. If "No" in step 310, no code is generated, and the code is output only when steps 320, 330, and 340 are executed.

【0066】以上、符号化について説明した。次に復号
化について説明する。但し、符号化と共通する説明は省
略する。
The encoding has been described above. Next, decoding will be described. However, description common to encoding will be omitted.

【0067】16シンボルの一括復号化に関して図5を使
って説明する。図5のコンテクスト/MPS 16連続判定回
路1117は、符号化時の判定範囲から復号化シンボルa0〜
a15を除いた部分のコンテクストの連続性を判定する。
The batch decoding of 16 symbols will be described with reference to FIG. The context / MPS 16 continuity determination circuit 1117 in FIG.
Determine the continuity of the context except for a15.

【0068】図8は逐次処理の場合のシンボル復号化フ
ローである。この図を用いてMPSの一括復号条件を説明
する。
FIG. 8 is a symbol decoding flow in the case of sequential processing. The batch decoding condition of the MPS will be described with reference to FIG.

【0069】このフローで必ずMPS(s)として復号される
のは、 Creg < Aregの比較(ステップ410)でYesとな
り、更にAreg < 0x8000(ステップ420)でNoとなる場合
である。その他のケースでは、 Cond_MPS_exchage(ス
テップ430)やCond_LPS_exchage(ステップ450)の処理
ルーチン(図示せず)で、復号シンボルDは、MPS(s)に
も1 MPS(s)にもなる。
In this flow, MPS (s) is always decoded when Creg <Areg is compared (Yes in step 410) and Areg <0x8000 (step 420) is No. In other cases, in the processing routine (not shown) of Cond_MPS_exchage (Step 430) or Cond_LPS_exchage (Step 450), the decoded symbol D becomes either MPS (s) or 1 MPS (s).

【0070】連続して復号化するシンボル数を16とする
と、 D = MPS(s)となるルートを16回通る条件は次の通
りである。 Creg < Areg 16*Qe(s) かつ Areg 16*Qe(s) < 0x8000…(1) コンテクストが16シンボル分同じで、上記の条件が満足
されれば、16シンボルをMPS(s)として復元できる。これ
は図4のシフトレジスタのa0の位置にMPS(s)を設定した
まま16ビット左シフトを行うことで実行できる。
Assuming that the number of symbols to be decoded continuously is 16, the condition for passing the route where D = MPS (s) 16 times is as follows. Creg <Areg 16 * Qe (s) and Areg 16 * Qe (s) <0x8000 ... (1) If the context is the same for 16 symbols and the above condition is satisfied, 16 symbols can be restored as MPS (s) . This can be performed by performing a 16-bit left shift with MPS (s) set at the position of a0 of the shift register in FIG.

【0071】図6においてシンボルの復号化は、外部の
符号メモリ(図示せず)から1バイトのデータをCレジ
スタ1430に入力し、Aレジスタ値との比較によって行わ
れる。演算の詳細は省略するが、復元されたシンボルは
シーケンス制御部1480からコンテクスト生成器1000に出
力される。図5における連続処理シンボル数の判定動作
は符号化時とほぼ同様であるが、復号化のときには上記
の式(1)の第一条件の判定が加わる。この判定は比較器1
131によってCregとAreg 16*Qe(s)の比較をすることに
よって行われる。
In FIG. 6, decoding of a symbol is performed by inputting 1-byte data from an external code memory (not shown) to a C register 1430 and comparing it with the A register value. Although details of the calculation are omitted, the restored symbol is output from the sequence control unit 1480 to the context generator 1000. The operation of determining the number of consecutively processed symbols in FIG. 5 is almost the same as that at the time of encoding, but at the time of decoding, the determination of the first condition of the above equation (1) is added. This judgment is made by comparator 1
This is done by comparing Creg and Areg 16 * Qe (s) by 131.

【0072】2シンボル,4シンボル,8シンボルの判
定も16シンボルの場合と同様に、またこれらは符号化時
同様に同時に実行される。これらの判定結果をもとに連
続処理シンボル数判定回路1113で、最大処理シンボル数
が選択され算術符号器に出力される。
The determination of 2 symbols, 4 symbols, and 8 symbols is performed at the same time as in the case of 16 symbols, and at the same time at the time of encoding. The maximum number of symbols to be processed is selected by the continuous processing symbol number determination circuit 1113 based on these determination results and output to the arithmetic encoder.

【0073】以上のように符号化時、 復号化時に予め
定めた範囲内で連続処理できるシンボルの最大値が選択
できる。したがって、画像パターンや解像度の変化に適
応して高速化処理が可能となる。また、複数の検出器の
各々に連続シンボル数を割り当てて並列に検出させ、各
々の出力の中から最大値を選択するというハードウエア
による手法を採用するので、高速な処理が容易に実現さ
れるというメリットもある。
As described above, at the time of encoding and decoding, the maximum value of symbols that can be continuously processed within a predetermined range can be selected. Therefore, high-speed processing can be performed in accordance with changes in the image pattern and the resolution. In addition, since the number of consecutive symbols is assigned to each of the plurality of detectors and detected in parallel, and the maximum value is selected from the respective outputs, a hardware method is adopted, so that high-speed processing is easily realized. There is also a merit.

【0074】なお、本実施の形態では、「正規化処理を
発生させないこと」を一括処理を行なう条件の一つとし
ているが、必ず、これを条件としなければならないとい
うものではない。上述のとおり、正規化処理をすると計
算が複雑化するので、正規化処理が発生しない範囲で一
括処理を行なうのが望ましい、ということである。
In the present embodiment, “no normalization processing” is one of the conditions for performing the batch processing, but this is not necessarily a condition. As described above, since the normalization process complicates the calculation, it is desirable to perform the batch process within a range where the normalization process does not occur.

【0075】ちなみに、正規化処理が発生しても一括処
理をする場合には、以下のような処理をすることにな
る。
By the way, when batch processing is performed even if normalization processing occurs, the following processing is performed.

【0076】上述の説明のとおり、一括処理では、コン
テクスト(s)に対して、Aregの値をAreg−n*Qe(s)
とnシンボル分まとめて計算する。ここで、nシンボル
の符号化,復号化中に正規化が発生すると、Qe(s)の値
はあらかじめ定められた確率推定器の状態遷移によって
更新され、Qe'(s)となる。このような場合には,Areg−
n*Qe(s)と単純に計算することはできない。
As described above, in the batch processing, the value of Areg is changed to Areg−n * Qe (s) for the context (s).
And n symbols are calculated together. Here, when normalization occurs during encoding and decoding of n symbols, the value of Qe (s) is updated by a predetermined state transition of the probability estimator, and becomes Qe ′ (s). In such a case, Areg-
It cannot be simply calculated as n * Qe (s).

【0077】したがって、この場合には、正規化が起こ
るまでのシンボル数を、Areg,Qe(s),0x8000を使って計
算し、それをn1とすると、Aregは、次のように計算され
ることになる。 Areg−{n1*Qe(s)+(n−n1)*Qe'(s)} この場合、n1と(n-n1)が2のべき乗であれば計算は
容易であるが、一般的にはそうでないので、シフタに代
わって乗算器が必要となる。したがって、装置構成に余
裕があるのであれば、このような場合にも、本発明を適
用して一括処理(連続処理)を行なえる。このことは、
以下の実施の形態でも同様である。
Therefore, in this case, the number of symbols until normalization occurs is calculated using Areg, Qe (s), 0x8000, and when it is set to n1, Areg is calculated as follows. Will be. Areg− {n1 * Qe (s) + (n−n1) * Qe ′ (s)} In this case, if n1 and (n−n1) are powers of 2, calculation is easy, but generally, Otherwise, a multiplier is needed instead of the shifter. Therefore, if there is room in the device configuration, the present invention can be applied to perform batch processing (continuous processing) even in such a case. This means
The same applies to the following embodiments.

【0078】(実施の形態2)上述の第1の実施の形態
では、連続処理可能なシンボル数の判断を複数の可能性
について同時に実行した。この場合には、常時、 画像
の局所状態に応じた最大値の選択ができるが、並列処理
のため回路規模がどうしても増大する。
(Embodiment 2) In the above-described first embodiment, the number of symbols that can be continuously processed is determined simultaneously for a plurality of possibilities. In this case, the maximum value can always be selected according to the local state of the image, but the circuit scale is inevitably increased due to the parallel processing.

【0079】そこで、回路規模を小さく抑えながら画像
の局所状態に適応したシンボル数の決定を可能にしたの
が本実施の形態である。
Therefore, in the present embodiment, it is possible to determine the number of symbols adapted to the local state of an image while keeping the circuit scale small.

【0080】本実施の形態では、図1の複数シンボル処
理判定器1100の構成が、前掲の実施の形態(図5)と異
なる。その他は前掲の実施の形態と同じである。
In this embodiment, the configuration of the multiple symbol processing decision unit 1100 of FIG. 1 is different from that of the above-described embodiment (FIG. 5). Others are the same as the above-mentioned embodiment.

【0081】図9に複数シンボル処理判定器1100のブロ
ック構成を示す。図5の構成と異なり、シフタ1150,減
算器1151,比較器1152,比較器1159,コンテクスト/MP
S連続判定回路1154を一組とする回路と、連続処理シン
ボル数決定回路1155とで構成されている。
FIG. 9 shows a block configuration of the multiple symbol processing decision unit 1100. Unlike the configuration of FIG. 5, the shifter 1150, the subtractor 1151, the comparator 1152, the comparator 1159, the context / MP
It is composed of a circuit including the S continuation determination circuit 1154 as a set and a continuation processing symbol number determination circuit 1155.

【0082】一括処理の可否を判定し、その結果を実際
の処理に反映させるという点では、前掲の実施の形態
(図5)と同じであり、また、一括処理の可否を判定す
る動作も基本的には同じである。但し、図5の場合に
は、常時、一括処理可能なシンボル数を判定したが、本
実施の形態では、所望のシンボル数に対して検出情報に
基づき一括処理の可否を判定し、その判定結果を、次の
シンボルの符号化に反映させて適応化を図る点(一種の
学習効果による適応化を図る点)で異なる。
The point of judging whether batch processing is possible or not and reflecting the result in actual processing are the same as the above-described embodiment (FIG. 5). The same is true. However, in the case of FIG. 5, the number of symbols that can be batch-processed is always determined. In the present embodiment, whether or not batch processing is possible for a desired number of symbols is determined based on detection information, and the determination result is obtained. Is reflected in the encoding of the next symbol to perform adaptation (that is, adaptation by a kind of learning effect is performed).

【0083】図9の連続処理シンボル数決定回路1155
は、図10に示すような8つの状態遷移を持つステートマ
シンである。そして、まず、この連続処理シンボル数決
定回路1155が、判定回路1153に判定するべき連続シンボ
ル数を与え、判定回路1153が一括処理が可能か否かを判
定し、その結果を連続処理シンボル数決定回路1155に戻
し、連続処理シンボル数決定回路1155は、判定結果を次
回の一括処理判定に反映させることで、連続処理シンボ
ル数を適応的に変化させていく。
The number-of-continuous-processing symbols determination circuit 1155 shown in FIG.
Is a state machine having eight state transitions as shown in FIG. First, the continuous processing symbol number determination circuit 1155 gives the number of continuous symbols to be determined to the determination circuit 1153, the determination circuit 1153 determines whether batch processing is possible, and determines the result as the number of continuous processing symbol numbers. Returning to the circuit 1155, the continuous processing symbol number determination circuit 1155 adaptively changes the continuous processing symbol number by reflecting the determination result in the next batch processing determination.

【0084】以下、具体的に説明する。図10に示すよう
に、連続処理シンボル数決定回路1155の8つの状態の初
期値は処理シンボル数が「2」である。
Hereinafter, a specific description will be given. As shown in FIG. 10, the initial value of the eight states of the continuous processing symbol number determination circuit 1155 is “2” as the number of processing symbols.

【0085】まず、その初期値「2」がシフタ1150,判
定回路1153,コンテクスト/MPS連続判定回路1154に入
力される。
First, the initial value “2” is input to the shifter 1150, the judgment circuit 1153, and the context / MPS continuous judgment circuit 1154.

【0086】この条件で、第1の実施例同様の判定を行
い、連続処理可能と判断されるとシンボル数1158には2
= 2^1なので“1”が出力される。記号"^"はべき乗であ
る。そうでなければ、 "0"が出力される。この判定結果
は信号Hit/!Hit(当たり/外れ)信号として連続処理シン
ボル数決定回路にフィードバックされる。信号Hit/!Hit
は、今回の例では、シンボル数2で連続処理できる場合
に"Hit"、そうでない場合に"!Hit"となる。
Under these conditions, the same determination as in the first embodiment is performed. If it is determined that continuous processing is possible, the number of symbols 1158 is set to 2
= 2 ^ 1, so "1" is output. The symbol "^" is a power. Otherwise, "0" is output. This determination result is fed back to the continuous processing symbol number determination circuit as a signal Hit /! Hit (hit / miss) signal. Signal Hit /! Hit
Is "Hit" if continuous processing can be performed with two symbols in this example, and "! Hit" otherwise.

【0087】連続処理シンボル数決定回路1155の内部状
態は、Hit/!Hitに応じて遷移し、Hitの場合は次のシン
ボルの符号化時にシンボル数を大きくして判定する。逆
に、!Hitのときは小さくする。なお、遷移状態が最小値
あるいは最大値にある場合で、ミスヒットあるいはヒッ
トが発生した場合には、次回もその最小値や最大値を維
持するようにする。
The internal state of the continuous processing symbol number determination circuit 1155 transitions according to Hit /! Hit. In the case of Hit, the number of symbols is increased at the time of encoding the next symbol. Conversely, make it smaller for! Hit. If the transition state is at the minimum value or the maximum value and a mishit or hit occurs, the minimum value or the maximum value is maintained next time.

【0088】初期値として「2」を設定する場合の動作
をまとめると、図11のようになる。すなわち、シンボル
数が設定されると(ステップ100)、一括処理の可否が
判定され(ステップ110)、一括処理が可能であれば、
2シンボル分の一括処理を実行し(ステップ130)、次
の一括処理判定における設定値を「4」に変更する(ス
テップ140)。一方、ステップ110で一括処理が不可と判
定された場合には、逐次処理に切り替えて実行し、次の
一括処理判定における設定値は「2」に維持される(ス
テップ120)。
FIG. 11 summarizes the operation when "2" is set as the initial value. That is, once the number of symbols is set (step 100), it is determined whether batch processing is possible (step 110).
Batch processing for two symbols is executed (step 130), and the set value in the next batch processing determination is changed to “4” (step 140). On the other hand, if it is determined in step 110 that batch processing is not possible, the processing is switched to sequential processing and executed, and the set value in the next batch processing determination is maintained at “2” (step 120).

【0089】このような状態遷移によって、全白領域が
現れにくいハーフトーンでは小さな値(少ない連続シン
ボル数)が選択され、全白領域が現れやすい文字画像で
は大きな値(大きな連続シンボル数)が選択される。こ
の結果として、画像のパターンや局所状態に適応した連
続処理シンボル数が得られ、高速な処理が実現される。
本実施の形態では、並列に動作する検出器が不要であ
り、回路規模や消費電流の削減の面でも有利となる。
Due to such a state transition, a small value (a small number of consecutive symbols) is selected for a halftone in which an all white area is unlikely to appear, and a large value (a large number of consecutive symbols) is selected for a character image in which an all white area is likely to appear. Is done. As a result, the number of continuously processed symbols adapted to the image pattern and local state is obtained, and high-speed processing is realized.
In this embodiment, a detector operating in parallel is not required, which is advantageous in terms of circuit size and current consumption.

【0090】図12は、前掲の2つの実施の形態にかかる
QM符号/復号化回路を搭載したファクシミリ装置のハー
ドウエア構成を示すブロック図である。
FIG. 12 shows the above two embodiments.
FIG. 3 is a block diagram illustrating a hardware configuration of a facsimile apparatus equipped with a QM encoding / decoding circuit.

【0091】図示されるように、このファクシミリ装置
は、ホストプロセッサ102と、MH/MR/MMR符号
/復号化回路103と、解像度変換や拡大・縮小等の処理
を行なう画像処理回路104と、QM符号/復号化回路105
と、画像ラインメモリ106と、符号メモリ107と、モデム
などの通信インタフェース(電話回線113等を用いた有
線伝送のためのインタフェースとして機能する)108
と、スキャナ等の画像入力装置111と、プリンタなどの
画像記録/表示装置112と、を具備し、各ブロックは内
部バス109,110を介して相互に情報の授受を行うことが
できる。
As shown, the facsimile apparatus includes a host processor 102, an MH / MR / MMR encoding / decoding circuit 103, an image processing circuit 104 for performing processing such as resolution conversion and enlargement / reduction, and a QM Encoding / decoding circuit 105
, An image line memory 106, a code memory 107, and a communication interface such as a modem (functioning as an interface for wired transmission using the telephone line 113 or the like) 108
, An image input device 111 such as a scanner, and an image recording / display device 112 such as a printer. Each block can exchange information with each other via internal buses 109 and 110.

【0092】本発明の適用によって、画像の種類に柔軟
に適応して高速な算術符号化・復号化が実現され、この
点でファクシミリ装置(通信装置)の高機能化を図るこ
とができる。
By applying the present invention, high-speed arithmetic encoding / decoding can be realized by flexibly adapting to the type of image, and in this respect, the function of the facsimile apparatus (communication apparatus) can be enhanced.

【0093】[0093]

【発明の効果】以上説明したように、本発明によれば、
各種の画像や画像の局所状態に応じて、予め設定した範
囲内で連続処理可能なシンボル数を柔軟に選択すること
ができる。したがって、画像の複雑さに柔軟に対応した
高速な符号化・復号化処理を実現できる。
As described above, according to the present invention,
It is possible to flexibly select the number of symbols that can be continuously processed within a preset range according to various images and local states of the images. Therefore, high-speed encoding / decoding processing flexibly corresponding to the complexity of an image can be realized.

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

【図1】本発明の実施の形態1にかかる算術符号化装置
(算術復号化装置)の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an arithmetic coding device (arithmetic decoding device) according to a first embodiment of the present invention;

【図2】一括符号化処理を施した場合のオージェントの
分割処理を説明するための図
FIG. 2 is a diagram for explaining an agent division process when a batch encoding process is performed;

【図3】一括符号化処理の可否を判定するための処理の
フロー図
FIG. 3 is a flowchart of a process for determining whether batch encoding is possible or not.

【図4】実施の形態1に係るコンテクスト生成器の構成
を示すブロック図
FIG. 4 is a block diagram showing a configuration of a context generator according to the first embodiment.

【図5】実施の形態1に係る複数シンボル処理判定器の
構成を示すブロック図
FIG. 5 is a block diagram showing a configuration of a multi-symbol processing determination unit according to Embodiment 1.

【図6】実施の形態1に係る算術符号器の構成を示すブ
ロック図
FIG. 6 is a block diagram illustrating a configuration of an arithmetic encoder according to the first embodiment;

【図7】QM-coderのMPS処理(シンボル逐次処理)の手
順を示すフロー図
FIG. 7 is a flowchart showing a procedure of MPS processing (symbol sequential processing) of the QM-coder.

【図8】QM-coderのシンボル復号化処理(シンボル逐次
処理)の手順を示すフロー図
FIG. 8 is a flowchart showing a procedure of symbol decoding processing (symbol sequential processing) of the QM-coder.

【図9】実施の形態2に係る複数シンボル処理判定器の
構成を示すブロック図
FIG. 9 is a block diagram showing a configuration of a multi-symbol processing determiner according to Embodiment 2.

【図10】実施の形態2に係る複数シンボル処理判定器
の状態遷移を示す図
FIG. 10 is a diagram showing a state transition of a multi-symbol processing determination unit according to Embodiment 2.

【図11】実施の形態2における一括符号化処理の手順
を示すフロー図
FIG. 11 is a flowchart showing a procedure of a collective encoding process according to the second embodiment;

【図12】本発明を適用したファクシミリ装置のハード
ウエア構成例を示すブロック図
FIG. 12 is a block diagram showing a hardware configuration example of a facsimile apparatus to which the present invention is applied.

【図13】一般的な算術符号器の主要な構成を示す図FIG. 13 is a diagram showing a main configuration of a general arithmetic encoder.

【図14】算術符号化の原理を説明するための図FIG. 14 is a diagram for explaining the principle of arithmetic coding;

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

1000 コンテクスト生成器 1100 複数シンボル処理判定器 1200 コンテクストメモリ 1300 確率推定器 1400 算術符号器 1000 Context generator 1100 Multi-symbol processing decision unit 1200 Context memory 1300 Probability estimator 1400 Arithmetic encoder

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 符号化シンボル周辺の参照画素の値によ
って符号化シンボルを予測し、その予測結果を符号化す
る算術符号化装置において、一括符号化するシンボル数
を可変としたことを特徴とする算術符号化装置。
1. An arithmetic coding apparatus for predicting a coded symbol based on a value of a reference pixel around the coded symbol and coding the prediction result, wherein the number of symbols to be collectively coded is made variable. Arithmetic coding device.
【請求項2】 復号化シンボル周辺の参照画素の値によ
ってシンボルを復号化する算術復号化装置において、一
括復号化するシンボル数を可変としたことを特徴とする
算術復号化装置。
2. An arithmetic decoding apparatus for decoding symbols according to values of reference pixels around decoded symbols, wherein the number of symbols to be collectively decoded is variable.
【請求項3】 符号化シンボル周辺の参照画素の値によ
って符号化シンボルを予測し、その予測結果を符号化す
る算術符号化装置において、 予め定めた複数個の連続する符号化シンボルの値および
各符号化シンボルを符号化する際に用いられる参照画素
の値が所定のパターンに合致することを検出する複数個
の検出器と、これらの検出器の検出結果に基づいて、一
括して符号化できるシンボル数を決定するシンボル数決
定手段と、このシンボル数決定手段によって決定された
シンボル数分の連続したシンボルを一括して符号化する
算術符号化手段と、を有することを特徴とする算術符号
化装置。
3. An arithmetic coding apparatus for predicting a coded symbol based on a value of a reference pixel around the coded symbol and coding a result of the prediction, comprising the steps of: A plurality of detectors for detecting that a value of a reference pixel used when encoding an encoded symbol matches a predetermined pattern, and collective encoding can be performed based on detection results of these detectors Arithmetic coding, comprising: symbol number determination means for determining the number of symbols; and arithmetic coding means for collectively coding continuous symbols for the number of symbols determined by the symbol number determination means. apparatus.
【請求項4】 前記複数個の検出器はそれぞれ、一括符
号化するシンボル数の条件を異にした検出を並列に実行
することを特徴とする請求項3記載の算術符号化装置。
4. The arithmetic coding apparatus according to claim 3, wherein each of the plurality of detectors performs detection in different conditions of the number of symbols to be collectively coded in parallel.
【請求項5】 前記シンボル数決定手段は、並列に動作
する前記複数個の検出器の中で、前記所定のパターンに
合致していることを示す信号を出力しているものがある
かを調べ、複数の検出器が該当する場合には、それらの
検出器に割り当てられている一括符号化するシンボル数
の条件のうちの最大のシンボル数を選択することを特徴
とする請求項4記載の算術符号化装置。
5. The number-of-symbols determination means checks whether any of the plurality of detectors operating in parallel outputs a signal indicating that the signal matches the predetermined pattern. 5. The arithmetic method according to claim 4, wherein when a plurality of detectors are applicable, the maximum number of symbols among the conditions for the number of symbols to be collectively encoded assigned to the detectors is selected. Encoding device.
【請求項6】 前記シンボル数決定手段は、一括符号化
を行なった場合でも算術符号化手段における正規化処理
が発生しないことも条件として、一括して符号化できる
シンボル数を決定することを特徴とする請求項3〜請求
項5のいずれかに記載の算術符号化装置。
6. The symbol number determining means determines the number of symbols that can be collectively encoded, provided that no normalization processing is performed in the arithmetic encoding means even when the collective encoding is performed. The arithmetic coding device according to any one of claims 3 to 5, wherein
【請求項7】 復号化シンボル周辺の参照画素の値によ
ってシンボルを復号化する復号化装置において、 予め定めた複数個の連続する復号化シンボルに対応する
参照画素が特定のパターンに合致することを検出する複
数個の検出器と、これらの検出器の検出結果に基づいて
一括復号化できる最大のシンボル数を決定するシンボル
数決定手段と、このシンボル数決定手段によって決定さ
れたシンボル数分の連続したシンボルを一括して復号化
する算術復号化手段と、を有することを特徴とする算術
復号化装置。
7. A decoding apparatus for decoding a symbol by a value of a reference pixel around the decoded symbol, wherein a reference pixel corresponding to a plurality of predetermined consecutive decoded symbols matches a specific pattern. A plurality of detectors to be detected, symbol number determining means for determining the maximum number of symbols that can be collectively decoded based on the detection results of these detectors, and a continuous number of symbols determined by the symbol number determining means. Arithmetic decoding means for collectively decoding the decoded symbols.
【請求項8】 前記複数個の検出器はそれぞれ、一括復
号化するシンボル数の条件を異にした検出を並列に実行
することを特徴とする請求項7記載の算術復号化装置。
8. The arithmetic decoding apparatus according to claim 7, wherein each of the plurality of detectors performs detection in different conditions of the number of symbols to be collectively decoded in parallel.
【請求項9】 前記シンボル数決定手段は、並列に動作
する前記複数個の検出器の中で、前記所定のパターンに
合致していることを示す信号を出力しているものがある
かを調べ、複数の検出器が該当する場合には、それらの
検出器に割り当てられている一括復号化するシンボル数
の条件のうちの最大のシンボル数を選択することを特徴
とする請求項8記載の算術復号化装置。
9. The symbol number determination means checks whether any of the plurality of detectors operating in parallel has output a signal indicating that it matches the predetermined pattern. 9. The arithmetic method according to claim 8, wherein, when a plurality of detectors are applicable, the maximum number of symbols among the conditions for the number of symbols to be collectively decoded assigned to the detectors is selected. Decryption device.
【請求項10】 前記シンボル数決定手段は、一括復号
化を行なっても算術復号化手段において正規化処理が発
生しないことも条件として、一括して復号化できるシン
ボル数を決定することを特徴とする請求項7〜請求項9
のいずれかに記載の算術復号化装置。
10. The symbol number determination means determines the number of symbols that can be decoded collectively, on condition that no normalization processing is performed in the arithmetic decoding means even if the collective decoding is performed. Claim 7 to Claim 9
The arithmetic decoding device according to any one of the above.
【請求項11】 符号化シンボル周辺の参照画素の値に
よって符号化シンボルを予測し、その予測結果を符号化
する符号化装置において、 予め定めた連続する符号化シンボルの値および各符号化
シンボルを符号化する際に用いられる参照画素の値が特
定のパターンに合致することを検出する検出器と、この
検出器の検出結果に基づいて、所望のシンボル数につい
ての一括符号化が可能であるか否かを判定する判定手段
と、この判定手段の判定結果に基づいて一括符号化する
シンボル数を変化させる一括符号化シンボル数変更回路
と、を有することを特徴とする算術符号化装置。
11. A coding apparatus for predicting a coded symbol based on a value of a reference pixel around the coded symbol and coding a result of the prediction, comprising the steps of: A detector that detects that the value of a reference pixel used in encoding matches a specific pattern, and whether it is possible to collectively encode a desired number of symbols based on the detection result of the detector An arithmetic coding device comprising: a determination unit for determining whether or not the number of symbols is to be determined; and a batch-coded symbol number changing circuit that changes the number of symbols to be batch-coded based on a determination result of the determination unit.
【請求項12】 前記判定手段によって所望の一括符号
化が不可と判定された場合には、前記一括符号化シンボ
ル数変更回路は、次回の符号化に際して、一括符号化を
希望するシンボル数を今回のシンボル数以下の数に変更
し、前記判定手段によって所望の一括符号化が可能と判
定された場合には、次回の符号化に際して、一括符号化
を希望するシンボル数を今回のシンボル数以上の数に変
更することを特徴とする請求項11記載の算術符号化装
置。
12. When the determination means determines that the desired collective encoding is not possible, the collective encoded symbol number changing circuit determines the number of symbols desired to be collectively encoded at the next encoding. Is changed to a number equal to or less than the number of symbols, and if it is determined by the determination unit that desired collective encoding is possible, the number of symbols for which collective encoding is 12. The arithmetic coding device according to claim 11, wherein the arithmetic coding device is changed to a number.
【請求項13】 復号化シンボル周辺の参照画素の値に
よってシンボルを復号化する復号化装置において、 予め定めた連続する復号化シンボルに対応する参照画素
が特定のパターンに合致するかを検出する検出器と、こ
の検出器の検出結果に基づいて、所望のシンボル数につ
いての一括復号化が可能であるか否かを判定する判定手
段と、この判定手段の判定結果に基づいて一括復号化す
るシンボル数を変化させる一括復号化シンボル数変更回
路と、を有することを特徴とする算術復号化装置。
13. A decoding apparatus for decoding a symbol by using a value of a reference pixel around a decoded symbol, comprising: detecting whether a reference pixel corresponding to a predetermined continuous decoded symbol matches a specific pattern; Detector for determining whether or not a desired number of symbols can be collectively decoded based on the detection result of the detector; and a symbol to be collectively decoded based on the determination result of the determination means. An arithmetic decoding device, comprising: a batch decoding symbol number changing circuit for changing the number.
【請求項14】 前記判定手段によって所望の一括復号
化が不可と判定された場合には、前記一括復号化シンボ
ル数変更回路は、次回の復号化に際して、一括復号化を
希望するシンボル数を今回のシンボル数以下の数に変更
し、前記判定手段によって所望の一括復号化が可能と判
定された場合には、次回の復号化に際して、一括復号化
を希望するシンボル数を今回のシンボル数以上の数に変
更することを特徴とする請求項13記載の算術復号化装
置。
14. If the determining means determines that the desired collective decoding is not possible, the collective decoding symbol number changing circuit sets the number of symbols desired to perform the collective decoding at the next decoding. Is changed to a number equal to or less than the number of symbols, and if it is determined that the desired batch decoding is possible by the determination unit, the number of symbols desired to be batch decoded is equal to or greater than the current symbol number in the next decoding. 14. The arithmetic decoding device according to claim 13, wherein the number is changed to a number.
【請求項15】 請求項1,請求項3,請求項4,請求
項5,請求項6,請求項11,請求項12のいずれかに
記載の算術符号化装置を有する通信装置。
15. A communication apparatus comprising the arithmetic coding device according to claim 1, claim 3, claim 4, claim 4, claim 5, claim 6, claim 11, or claim 12.
【請求項16】 請求項2,請求項7,請求項8,請求
項9,請求項10,請求項13,請求項14のいずれか
に記載の算術復号化装置を有する通信装置。
16. A communication device having the arithmetic decoding device according to claim 2, claim 7, claim 8, claim 9, claim 9, claim 13, or claim 14.
【請求項17】 コンテクストおよび優勢シンボル(M
PS)が連続するという第1の条件と、前記連続する優
勢シンボル数分の劣勢シンボル(LPS)の領域幅を一
括して現状のオージェントから減算した後に残存する領
域の値が所定値未満にならないという第2の条件とを共
に満たすかを常に検出し、それらの条件が満たされる場
合には、前記条件を満たす最大のシンボル数分の一括符
号化を適応的に実行することを特徴とする算術符号化方
法。
17. The context and dominant symbol (M
PS) and the value of the area remaining after the area widths of the inferior symbols (LPS) for the number of consecutive superior symbols have been collectively subtracted from the current agent become less than a predetermined value. It is always detected whether the second condition is satisfied, and if those conditions are satisfied, batch encoding for the maximum number of symbols that satisfies the condition is adaptively executed. Arithmetic encoding method.
【請求項18】 コンテクストおよび優勢シンボル(M
PS)が連続するという第1の条件と、前記連続する優
勢シンボル数分の劣勢シンボル(LPS)の領域幅を一
括して現状のオージェントから減算した後に残存する領
域の値が所定値未満にならないという第2の条件とを共
に満たすかを常に検出し、それらの条件が満たされる場
合には、前記条件を満たす最大のシンボル数分の一括復
号化を適応的に実行することを特徴とする算術復号化方
法。
18. The context and dominant symbol (M
PS) and the value of the area remaining after the area widths of the inferior symbols (LPS) for the number of consecutive superior symbols have been collectively subtracted from the current agent become less than a predetermined value. It is characterized by always detecting whether or not the second condition is satisfied, and if these conditions are satisfied, collectively decoding up to the maximum number of symbols satisfying the condition is adaptively executed. Arithmetic decoding method.
【請求項19】 一括符号化を希望するシンボル数を設
定し、その設定されたシンボル数について、コンテクス
トおよび優勢シンボル(MPS)が連続するという第1
の条件と、前記連続する優勢シンボル数分の劣勢シンボ
ル(LPS)の領域幅を一括して現状のオージェントか
ら減算した後に残存する領域の値が所定値未満にならな
いという第2の条件とを共に満たすかを検出し、それら
の条件が満たされる場合には、前記設定されたシンボル
数分の一括符号化を実行するとともに、次回の符号化に
おける一括符号化を希望するシンボル数として、今回の
希望するシンボル数以上のシンボル数を設定することを
特徴とする算術符号化方法。
19. A method for setting the number of symbols for which collective encoding is desired, and for the set number of symbols, the first that a context and a dominant symbol (MPS) are continuous.
And the second condition that the value of the area remaining after the area widths of the inferior symbols (LPS) for the number of consecutive superior symbols are collectively subtracted from the current agent does not become less than a predetermined value. It is detected whether both are satisfied, and when those conditions are satisfied, the collective encoding for the set number of symbols is executed, and the number of symbols for which the collective encoding in the next encoding is desired is set as the current symbol number. An arithmetic coding method comprising setting a number of symbols equal to or greater than a desired number of symbols.
【請求項20】 一括復号化を希望するシンボル数を設
定し、その設定されたシンボル数について、コンテクス
トおよび優勢シンボル(MPS)が連続するという第1
の条件と、前記連続する優勢シンボル数分の劣勢シンボ
ル(LPS)の領域幅を一括して現状のオージェントか
ら減算した後に残存する領域の値が所定値未満にならな
いという第2の条件とを共に満たすかを検出し、それら
の条件が満たされる場合には、前記設定されたシンボル
数分の一括復号化を実行するとともに、次回の復号化に
おける一括復号化を希望するシンボル数として、今回の
希望するシンボル数以上のシンボル数を設定することを
特徴とする算術復号化方法。
20. A method of setting the number of symbols for which collective decoding is desired, and for the set number of symbols, the first that a context and a dominant symbol (MPS) are continuous.
And the second condition that the value of the area remaining after the area widths of the inferior symbols (LPS) for the number of consecutive superior symbols are collectively subtracted from the current agent does not become less than a predetermined value. It is detected whether both are satisfied, and if those conditions are satisfied, batch decoding is performed for the set number of symbols, and the number of symbols for which batch decoding is to be performed in the next decoding is determined as the current symbol number. An arithmetic decoding method comprising setting a number of symbols equal to or greater than a desired number of symbols.
JP15772699A 1999-06-04 1999-06-04 Arithmetic encoding device and arithmetic decoding device Expired - Fee Related JP3350482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15772699A JP3350482B2 (en) 1999-06-04 1999-06-04 Arithmetic encoding device and arithmetic decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15772699A JP3350482B2 (en) 1999-06-04 1999-06-04 Arithmetic encoding device and arithmetic decoding device

Publications (2)

Publication Number Publication Date
JP2000350043A true JP2000350043A (en) 2000-12-15
JP3350482B2 JP3350482B2 (en) 2002-11-25

Family

ID=15656032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15772699A Expired - Fee Related JP3350482B2 (en) 1999-06-04 1999-06-04 Arithmetic encoding device and arithmetic decoding device

Country Status (1)

Country Link
JP (1) JP3350482B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001057638A (en) * 1999-08-17 2001-02-27 Matsushita Graphic Communication Systems Inc Coding method and decoding method
US6677869B2 (en) 2001-02-22 2004-01-13 Panasonic Communications Co., Ltd. Arithmetic coding apparatus and image processing apparatus
US7088272B2 (en) 2004-07-15 2006-08-08 Kabushiki Kaisha Toshiba Pipeline arithmetic code decoding method and apparatus using context index predictor
US7301485B2 (en) 2003-10-29 2007-11-27 Nec Corporation Decoding device or encoding device having intermediate buffer interposed between an arithmetic code decoder or encoder and a reverse binarization device or binarization device
JP2008113375A (en) * 2006-10-31 2008-05-15 Canon Inc Normalization processing apparatus
WO2016192079A1 (en) * 2015-06-04 2016-12-08 Intel Corporation Adaptive batch encoding for slow motion video recording
JP2018536344A (en) * 2015-10-28 2018-12-06 クゥアルコム・インコーポレイテッドQualcomm Incorporated Parallel arithmetic coding techniques
US10846142B2 (en) 2016-02-23 2020-11-24 Intel Corporation Graphics processor workload acceleration using a command template for batch usage scenarios

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001057638A (en) * 1999-08-17 2001-02-27 Matsushita Graphic Communication Systems Inc Coding method and decoding method
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
US7301485B2 (en) 2003-10-29 2007-11-27 Nec Corporation Decoding device or encoding device having intermediate buffer interposed between an arithmetic code decoder or encoder and a reverse binarization device or binarization device
US7088272B2 (en) 2004-07-15 2006-08-08 Kabushiki Kaisha Toshiba Pipeline arithmetic code decoding method and apparatus using context index predictor
JP2008113375A (en) * 2006-10-31 2008-05-15 Canon Inc Normalization processing apparatus
JP4739167B2 (en) * 2006-10-31 2011-08-03 キヤノン株式会社 Normalization processing unit
WO2016192079A1 (en) * 2015-06-04 2016-12-08 Intel Corporation Adaptive batch encoding for slow motion video recording
US10484690B2 (en) 2015-06-04 2019-11-19 Intel Corporation Adaptive batch encoding for slow motion video recording
JP2018536344A (en) * 2015-10-28 2018-12-06 クゥアルコム・インコーポレイテッドQualcomm Incorporated Parallel arithmetic coding techniques
US10846142B2 (en) 2016-02-23 2020-11-24 Intel Corporation Graphics processor workload acceleration using a command template for batch usage scenarios

Also Published As

Publication number Publication date
JP3350482B2 (en) 2002-11-25

Similar Documents

Publication Publication Date Title
US5317428A (en) Image encoding method and apparatus providing variable length bit stream signals
EP0777386B1 (en) Method and apparatus for encoding and decoding an image
US4559563A (en) Adaptive prediction for binary encoded documents containing a mixture of text, line drawings and halftones
US5151949A (en) System and method employing multiple predictor sets to compress image data having different portions
JPH02177766A (en) Hierarchical encoding system for binary image
EP0510627B1 (en) Encoding and decoding devices
US5655032A (en) Coding method and apparatus therefor
EP0858210A1 (en) Image processing apparatus
JP3350482B2 (en) Arithmetic encoding device and arithmetic decoding device
JP3308940B2 (en) Encoding method and decoding method
JP2001189661A (en) Encoding device and decoding device
US6058216A (en) Apparatus for encoding image data
JP2675903B2 (en) Image coding method
JPH046948A (en) Binarizing method for color picture
JPH07249995A (en) Data encoding device
US5801840A (en) Apparatus for decoding codes with less memory capacity
JPH046954A (en) Picture prediction coding system
JP2872334B2 (en) Color image encoding device
JP2697897B2 (en) Color image encoding method and apparatus
JP3855376B2 (en) Image encoding device
JP2877451B2 (en) Image coding method
JP2832059B2 (en) Color image encoding device
JP3087707B2 (en) Encoding and decoding device
JPH09135357A (en) Decoder for color image signal
JPH09247467A (en) Arithmetic encoding and decoding device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110913

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees