JP2000134623A - Data compressor - Google Patents

Data compressor

Info

Publication number
JP2000134623A
JP2000134623A JP30490198A JP30490198A JP2000134623A JP 2000134623 A JP2000134623 A JP 2000134623A JP 30490198 A JP30490198 A JP 30490198A JP 30490198 A JP30490198 A JP 30490198A JP 2000134623 A JP2000134623 A JP 2000134623A
Authority
JP
Japan
Prior art keywords
tile
upper limit
code amount
output code
data
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
JP30490198A
Other languages
Japanese (ja)
Other versions
JP3797458B2 (en
Inventor
Koji Oshikiri
幸治 押切
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP30490198A priority Critical patent/JP3797458B2/en
Publication of JP2000134623A publication Critical patent/JP2000134623A/en
Application granted granted Critical
Publication of JP3797458B2 publication Critical patent/JP3797458B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To limit an amount of output code in an image compressor. SOLUTION: On the basis of an upper limit value of an output code amount of a whole image set to a register 110, a upper limit calculator 111 decides the upper limit value of the output code amount of each tile and specifies it to a tag processing part 102. Processor cores 101a to 101d execute in parallel compression processing of four components of picture data by the tile. The tag processing part 102 treats a leading part of an output code of each processor core 101 up to the upper limit value of the output code amount of each tile as effective codes, prepares and outputs a code stream with a tag.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像などの二次元
データの圧縮技術に係り、特に、可逆ウェーブレット変
換処理、コンテキスト(文脈)モデル処理及びFSM符
号化処理の組合せによるデータ圧縮技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for compressing two-dimensional data such as an image, and more particularly to a data compression technique based on a combination of a lossless wavelet transform process, a context model process, and an FSM encoding process.

【0002】[0002]

【従来の技術】画像等の二次元データの圧縮方式とし
て、二次元の可逆ウェーブレット変換処理、コンテキス
ト(文脈)モデル処理及びFSM符号化処理の組合せに
よるデータ圧縮方式(便宜上、ウェーブレット変換圧縮
方式と呼ぶ)が知られている。このウェーブレット変換
圧縮方式に関する公知文献としては、特開平8−116
265号公報、特開平9−121168号公報などがあ
る。FSM符号化処理は、有限状態マシン(FSM)ベ
ースのエントロピー符号化処理であり、そのための符号
化復号化器はFSMコーダと呼ばれる。
2. Description of the Related Art As a compression method for two-dimensional data such as an image, a data compression method based on a combination of a two-dimensional reversible wavelet transform process, a context (context) model process, and an FSM encoding process (referred to as a wavelet transform compression method for convenience). )It has been known. As a well-known document relating to the wavelet transform compression method, Japanese Patent Application Laid-Open No. 8-116
265 and JP-A-9-112168. The FSM encoding process is a finite state machine (FSM) based entropy encoding process, for which the encoder / decoder is called an FSM coder.

【0003】通常、画像等はタイルと呼ばれる2次元領
域に分割され、圧縮はタイル毎に行われる。圧縮データ
は、所定のフォーマットのコードストリームとして出力
される。
Normally, an image or the like is divided into two-dimensional areas called tiles, and compression is performed for each tile. The compressed data is output as a code stream of a predetermined format.

【0004】[0004]

【発明が解決しようとする課題】例えば、デジタルカメ
ラで撮影した画像を圧縮してメモリカード等に保存する
場合、画像1枚あたりのコード量(圧縮データ量)に制
限を加える場合が多い。このようなコード量の制限は、
上に述べた例に限らず、データを記憶したり伝送したり
する場合にしばしば必要になるものである。
For example, when an image captured by a digital camera is compressed and stored in a memory card or the like, the code amount (compressed data amount) per image is often limited. Such a limit on the amount of code
Not limited to the example described above, it is often necessary when storing and transmitting data.

【0005】本発明の目的は、そのようなコード量の制
限が必要な用途に好適な、ウェーブレット変換圧縮方式
のデータ圧縮装置を提供することにある。
An object of the present invention is to provide a data compression apparatus of a wavelet transform compression system suitable for an application requiring such a restriction on the code amount.

【0006】ここで、本発明の目的と効果の理解を容易
にするため、ウェーブレット変換圧縮方式においてコー
ド量を制限する方法をいくつか検討する。
Here, in order to facilitate understanding of the objects and effects of the present invention, several methods for limiting the code amount in the wavelet transform compression method will be examined.

【0007】考えられる一つの方法は、ウェーブレット
変換処理後のデータを重要度の高いデータから順に符号
化していき、予め指定したある重要度のデータまで符号
化すると、残りのデータを捨ててしまう方法であろう。
この方法は、符号化が完了するまで実際のコード量が分
からないため、符号化を終わった段階でコード量が制限
を越えた場合には、どの重要度のデータまで符号化の対
象とするか指定しなおして符号化を再度行う必要があ
り、処理時間が増加してしまう。
One conceivable method is to encode the data after the wavelet transform processing in order from the data having the highest importance, and if the data having the predetermined importance is encoded, the remaining data is discarded. Will.
In this method, since the actual amount of code is not known until the encoding is completed, if the amount of code exceeds the limit at the end of encoding, up to which importance data is to be encoded It is necessary to re-specify and perform the encoding again, which increases the processing time.

【0008】考えられるもう一つの方法は、重要度の高
いデータから順に符号化していき、生成されたコードの
量を逐次測定し、所定のコード量に達すると、それ以後
に生成されるコードを捨ててしまう方法であろう。この
方法は、画像のタイル分割を行わない場合には採用可能
であろう。しかし、ある程度の大きさの画像を処理する
場合、画像を複数のタイルに分割し、タイル単位で順に
符号化していくのが普通である。タイル分割を行う場
合、符号化中にコード量を測定し、所定のコード量に達
した後のコードを捨ててしまうのでは、あるタイル以降
のタイルのデータが完全に欠落してしまうことになり、
コードストリームから満足な画像を復元できなくなって
しまう。
Another conceivable method is to sequentially encode data having high importance, sequentially measure the amount of generated codes, and when a predetermined amount of codes is reached, code generated thereafter is replaced with a predetermined code amount. It would be a way to throw it away. This method could be used if the image is not tiled. However, when processing an image of a certain size, it is common to divide the image into a plurality of tiles and encode them sequentially in tile units. When performing tile division, if the code amount is measured during encoding and the code after reaching the predetermined code amount is discarded, the data of tiles after a certain tile will be completely lost. ,
You cannot restore a satisfactory image from the codestream.

【0009】このような不都合を回避する方法の一つ
は、全てのタイルを符号化し、生成されたコードをメモ
リに蓄積しておく。符号化が完了した段階で、全体のコ
ード量を把握し、しかる後に、全体のコード量が制限を
越えないように各タイルのコードを量子化する方法であ
ろう。しかし、画像1枚分のコードを蓄積するために大
きなメモリを用意する必要がある。画像をタイル分割す
る目的の一つは、処理に必要なメモリ量の増加を抑える
ことであるから、そのような大きなメモリを必要とする
ことは好ましくない。また、タイル毎の順次データであ
るコードストリームに対し、各タイルの一部データを捨
てる処理を行うには、かなり時間がかかるという問題も
ある。
One method of avoiding such inconvenience is to encode all tiles and store the generated codes in a memory. At the stage when the encoding is completed, the entire code amount is grasped, and then the code of each tile is quantized so that the entire code amount does not exceed the limit. However, it is necessary to prepare a large memory for storing codes for one image. One of the purposes of dividing an image into tiles is to suppress an increase in the amount of memory required for processing, and it is not preferable to require such a large memory. Further, there is a problem that it takes a considerable time to perform a process of discarding a part of data of each tile with respect to a code stream which is sequential data of each tile.

【0010】本発明によれば、以下の説明によって明ら
かになるように、上に述べた各方法のような不都合を回
避しつつ、適切なコード量制限を行うことができる。
According to the present invention, as will be apparent from the following description, it is possible to appropriately limit the amount of codes while avoiding the disadvantages such as the above-described methods.

【0011】[0011]

【課題を解決するための手段】請求項1の発明の特徴
は、画像等の2次元データを圧縮処理しコードストリー
ムを出力するウェーブレット変換圧縮方式のデータ圧縮
装置において、外部から設定される2次元データ全体に
対する出力コード量の上限値を保持する第1の手段と、
該第1の手段に保持された出力コード量上限値に基づい
て各タイルの出力コード量の上限値を決定する手段とを
備え、タイル単位で圧縮処理を行い、各タイルの出力コ
ード量を該第2の手段により決定された上限値に制限す
ることである。
According to a first aspect of the present invention, there is provided a wavelet transform compression type data compression apparatus for compressing two-dimensional data such as an image and outputting a code stream. First means for holding an upper limit value of the output code amount for the entire data;
Means for determining the upper limit value of the output code amount of each tile based on the upper limit value of the output code amount held in the first means, performing compression processing on a tile-by-tile basis, and determining the output code amount of each tile. That is, the upper limit is determined by the second means.

【0012】請求項2の発明の特徴は、画像等の2次元
データを圧縮処理してコードストリームを出力するウェ
ーブレット変換圧縮方式のデータ圧縮装置において、外
部から設定される2次元データ全体に対する出力コード
量の上限値を保持する第1の手段と、外部から設定され
る、2次元データの各コンポーネントの重みを保持する
第2の手段と、該第1の手段に保持された出力コード量
上限値及び該第2の手段に保持された各コンポーネント
の重みに基づいて、各タイルの各コンポーネント毎の出
力コード量の上限値を決定する第3の手段とを備え、タ
イル単位で圧縮処理を行い、各タイルの各コンポーネン
トの出力コード量を該第3の手段により決定された上限
値に制限することである。
According to a second aspect of the present invention, there is provided a data compression apparatus of a wavelet transform compression system for compressing two-dimensional data such as an image and outputting a code stream. First means for holding the upper limit of the amount, second means for holding the weight of each component of the two-dimensional data set from outside, and the upper limit of the output code amount held by the first means And a third means for determining an upper limit value of an output code amount for each component of each tile based on the weight of each component held in the second means, performing compression processing in tile units, The purpose is to limit the output code amount of each component of each tile to the upper limit determined by the third means.

【0013】請求項3の発明の特徴は、画像等の2次元
データを圧縮処理してコードストリームを出力するウェ
ーブレット変換圧縮方式のデータ圧縮装置において、外
部から設定される2次元データ全体に対する出力コード
量の上限値を保持する第1の手段と、外部から設定され
る各タイルの重みを保持する第2の手段と、該第1の手
段に保持された出力コード量上限値及び該第2の手段に
保持された各タイルの重みに基づいて、各タイルの出力
コード量の上限値を決定する第3の手段とを備え、タイ
ル単位で圧縮処理を行い、各タイルの出力コード量を該
第3の手段により決定された上限値に制限することであ
る。
According to a third aspect of the present invention, there is provided a data compression apparatus of a wavelet transform compression system for compressing two-dimensional data such as an image and outputting a code stream. First means for holding the upper limit of the amount, second means for holding the weight of each tile set from the outside, the upper limit of the output code amount held by the first means, and the second A third means for determining an upper limit value of the output code amount of each tile based on the weight of each tile held in the means, performing compression processing on a tile-by-tile basis, and In other words, the upper limit is determined by the third means.

【0014】請求項4の発明の特徴は、画像等の2次元
データを圧縮処理してコードストリームを出力するウェ
ーブレット変換圧縮方式のデータ圧縮装置において、外
部から設定される2次元データ全体に対する出力コード
量の上限値を保持する第1の手段と、外部から設定され
る、2次元画像データの各コンポーネントの重みを保持
する第2の手段と、外部から設定される各タイルの重み
を保持する第3の手段と、該第1の手段に保持された出
力コード量上限値、該第2の手段に保持された各コンポ
ーネントの重み、及び該第3の手段に保持された各タイ
ルの重みに基づいて、各タイルの各コンポーネントの出
力コード量の上限値を決定する第4の手段とを備え、タ
イル単位で圧縮処理を行い、各タイルの各コンポーネン
トの出力コード量を該第4の手段により決定された上限
値に制限することである。
According to a fourth aspect of the present invention, there is provided a data compression apparatus of a wavelet transform compression system for compressing two-dimensional data such as an image and outputting a code stream. First means for holding the upper limit of the amount, second means for holding the weight of each component of the two-dimensional image data set from the outside, and second means for holding the weight of each tile set from the outside 3 means, the upper limit of the output code amount held by the first means, the weight of each component held by the second means, and the weight of each tile held by the third means And a fourth means for determining an upper limit value of an output code amount of each component of each tile, performing compression processing on a tile-by-tile basis, and outputting an output code amount of each component of each tile. It is to limit the upper limit value determined by means of the fourth.

【0015】請求項5の発明の特徴は、請求項1,2,
3又は4記載のデータ圧縮装置において、可逆ウェーブ
レット変換処理のためのウエーブレット変換部と、コン
テキストモデル処理のためのコンテキストモデル部と、
FSM符号化処理のためのFSMコーダとからそれぞれ
構成される複数のプロセッサコアによって、タイル単位
で、2次元データの複数のコンポーネントの圧縮処理を
並列に実行することである。
The feature of the invention of claim 5 is that the features of claims 1, 2, and
5. The data compression device according to 3 or 4, wherein a wavelet transform unit for a reversible wavelet transform process, a context model unit for a context model process,
Compression processing of a plurality of components of two-dimensional data is performed in tile units by a plurality of processor cores each composed of an FSM coder for FSM encoding processing.

【0016】請求項6の発明の特徴は、請求項1乃至5
のいずれか1項記載のデータ圧縮装置において、各タイ
ルの出力コード量が上限値に達した時点で当該タイルに
対する圧縮処理を停止し、当該タイルのコードストリー
ムの出力動作と次のタイルのデータの入力動作を同時に
開始することである。
The feature of the invention of claim 6 is that the features of claims 1 to 5
In the data compression device according to any one of the above, when the output code amount of each tile reaches an upper limit value, the compression process for the tile is stopped, the output operation of the code stream of the tile and the data of the next tile are performed. This is to start the input operation at the same time.

【0017】[0017]

【発明の実施の形態】以下、添付図面を用い、本発明の
実施の一形態としての画像データ圧縮装置について説明
する。なお、説明の簡略化のため、複数の図面におい
て、同一部もしくは対応部には同一の参照符号を用い
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image data compression apparatus according to an embodiment of the present invention will be described below with reference to the accompanying drawings. For simplification of description, the same reference numerals are used for the same or corresponding parts in a plurality of drawings.

【0018】図1は、本発明による画像データ圧縮装置
の一例を示すブロック図である。この画像データ圧縮装
置100は、カラー画像をタイル分割し、タイル単位で
ウェーブレット変換圧縮方式による圧縮処理を行ってコ
ードストリームを出力するが、処理の高速化のため、画
像の4つのコンポーネントA,B,C,Dのデータの圧
縮処理を並列に実行する。
FIG. 1 is a block diagram showing an example of an image data compression device according to the present invention. The image data compression apparatus 100 divides a color image into tiles, performs a compression process by a wavelet transform compression method on a tile basis, and outputs a code stream. To speed up the process, the four components A and B of the image are used. , C and D are executed in parallel.

【0019】この並列処理のために、この画像データ圧
縮装置100は、カラー画像の各コンポーネントに1対
1に対応付けられた4つのプロセッサコア101a,1
01b,101c,101dが並列に動作し、各プロセ
ッサコア101から出力されるコードをタグ処理部10
2で1本化し、タグを付加した一つのコードストリーム
として出力する基本構成である。
For this parallel processing, the image data compression apparatus 100 includes four processor cores 101a, 101a, one for each component of a color image.
01b, 101c, and 101d operate in parallel, and code output from each processor core 101 is transmitted to the tag processing unit 10b.
This is a basic configuration in which the data is unified into two and output as one code stream to which a tag is added.

【0020】このコードストリームは、図2に示すよう
に、メインヘッダ(Main header)に続けて、各タイル
毎のタイルヘッダ(tile header)とイメージの圧縮コ
ードであるタイルデータ(tile data)を順に並べた構
造である。各タイルデータの内容は、図4に見られるよ
うに、コンポーネントA,B,C,Dの圧縮コードをそ
の順番に並べたものである。なお、メインヘッダの前、
コードストリームの最後、各ヘッダ間及びヘッダとタイ
ルデータ間にマーカが置かれるが、これらは図中省略さ
れている。
As shown in FIG. 2, the code stream includes a main header (Main header), a tile header (tile header) for each tile, and tile data (tile data) as a compression code of an image in order. It is a side-by-side structure. As shown in FIG. 4, the content of each tile data is obtained by arranging compression codes of components A, B, C, and D in that order. Before the main header,
At the end of the code stream, markers are placed between each header and between the header and the tile data, but these are omitted in the figure.

【0021】ここで処理されるカラー画像の各コンポー
ネントは、例えば、原色系のR(赤)成分,G(緑)成
分,B(青)成分,アルファ成分(3次元CGの奥行き
等の情報を保存するための成分)である。あるいは、補
色系のY(黄)成分,M(マゼンタ)成分,C(シア
ン)成分,K(黒)成分である。ただし、これに限られ
るものではない。
The components of the color image processed here include, for example, R (red), G (green), B (blue), and alpha components of the primary color system (information such as the depth of three-dimensional CG). Component for preservation). Alternatively, a complementary color Y (yellow) component, an M (magenta) component, a C (cyan) component, and a K (black) component are used. However, it is not limited to this.

【0022】各プロセッサコア101は同じ構成であ
り、タイル単位で、2次元の可逆ウェーブレット変換処
理を行うウェーブレット変換部103と、コンテキスト
モデル処理を行うコンテキストモデル部104と、FS
M符号化処理を行うFSMコーダとから構成される。各
プロセッサコア101において、ウェーブレット変換部
103は、入力された各タイルのコンポーネント・デー
タを二次元可逆ウェーブレット変換により周波数帯信号
に分解する。コンテキストモデル部104では、周波数
帯信号に対し、指定されたアラインメント情報に従った
順番でターゲットビットを定め、ターゲットビットの周
辺ビットの並びからコンテキスト(文脈)を生成する。
FSMコーダ105は、そのコンテキストとターゲット
ビットから確率推定によってコードを生成する。
Each of the processor cores 101 has the same configuration. For each tile, a wavelet transform unit 103 for performing a two-dimensional reversible wavelet transform process, a context model unit 104 for performing a context model process, and an FS
And an FSM coder that performs M encoding. In each processor core 101, the wavelet transform unit 103 decomposes the input component data of each tile into frequency band signals by two-dimensional reversible wavelet transform. The context model unit 104 determines target bits for the frequency band signal in the order according to the specified alignment information, and generates a context from the arrangement of peripheral bits of the target bits.
The FSM coder 105 generates a code from the context and the target bits by probability estimation.

【0023】タグ処理部102は、前述のように、各プ
ロセッサコア101から出力されるコードを1本化して
タグを付加したコードストリームを作成するが、この際
に、タイル毎に出力コード量を制限する。この出力コー
ド量の制限に関連して、このデータ圧縮装置は上限設定
レジスタ110と上限算出器111を備えている。上限
設定レジスタ110には、1枚の画像全体の出力コード
量の上限値が外部より設定される。上限算出器111
は、上限設定レジスタ110に設定された上限値に基づ
いて、各タイルの出力コード量の上限値を算出してタグ
処理部102に指定する。
As described above, the tag processing unit 102 unifies the codes output from the respective processor cores 101 to create a code stream to which a tag is added. At this time, the output code amount is determined for each tile. Restrict. In connection with the limitation of the output code amount, the data compression device includes an upper limit setting register 110 and an upper limit calculator 111. In the upper limit setting register 110, the upper limit value of the output code amount of one entire image is externally set. Upper limit calculator 111
Calculates the upper limit value of the output code amount of each tile based on the upper limit value set in the upper limit setting register 110, and designates the upper limit value of the output code amount to the tag processing unit 102.

【0024】例えば、上限設定レジスタ110に設定さ
れた出力コード量上限値が160KByteで、画像1枚を
構成するタイルの数を16とする(タイルの数は、デフ
ォルト値として上限算出器111に設定される場合と、
外部よりレジスタ等を介して上限算出器111に指定さ
れる場合とがある。後者はタイル数が可変になる)。こ
の場合、上限算出器111は各タイルのコード量の上限
値を160KByte/16=10KByte と計算する(なお、タ
イルのヘッダは短いので、それを無視して計算した。以
下同様)。タグ処理部102においては、各プロセッサ
コア101から出力された各タイルのコードのうち、先
頭から10KByteまでのコードを有効なものとして扱
い、図2に示すようなコードストリームを作成して出力
する。なお、各コンポーネントに割り当てられるコード
量は均等である。
For example, the output code amount upper limit set in the upper limit setting register 110 is 160 KByte, and the number of tiles constituting one image is set to 16 (the number of tiles is set in the upper limit calculator 111 as a default value). And when
There is a case where the upper limit calculator 111 is specified from outside via a register or the like. The latter has a variable number of tiles). In this case, the upper limit calculator 111 calculates the upper limit of the code amount of each tile as 160 KByte / 16 = 10 KByte (note that since the header of the tile is short, the calculation is ignored, and the same applies hereinafter). In the tag processing unit 102, of the codes of each tile output from each processor core 101, codes up to the first 10 KBytes are treated as valid, and a code stream as shown in FIG. 2 is created and output. Note that the amount of code assigned to each component is equal.

【0025】このように、この画像データ圧縮装置10
0は、可逆ウェーブレット変換処理、コンテキストモデ
ル処理及びFSM符号化処理によってタイル単位で各コ
ンポーネントの圧縮処理を並列に実行し、各タイルの出
力コード量を制限して(量子化することと等価)コード
ストリームを作成し出力する構成である。したがって、
画像全体のコードデータを一旦蓄積するための大きなメ
モリを必要としない。また、圧縮後のコード量が上限を
越えるような場合でも圧縮処理をやり直す必要がない。
また、出力コード量の制限は各タイル毎に行われるの
で、特定のタイルのデータが完全に欠落することもな
い。また、画像全体のコードデータを一旦蓄積した後
に、各タイルデータの一部を捨てる処理を行う方法に比
べ、画像データの入力からコードストリームの出力まで
の処理時間を短縮できる。
As described above, the image data compression apparatus 10
0 is a code in which the compression processing of each component is executed in parallel in tile units by the lossless wavelet transform processing, the context model processing and the FSM encoding processing, and the output code amount of each tile is limited (equivalent to quantization). This is a configuration that creates and outputs a stream. Therefore,
There is no need for a large memory for temporarily storing the code data of the entire image. Further, even when the code amount after compression exceeds the upper limit, it is not necessary to perform the compression process again.
Further, since the output code amount is limited for each tile, data of a specific tile is not completely lost. Further, the processing time from input of image data to output of a code stream can be reduced as compared with a method of temporarily storing code data of the entire image and then discarding a part of each tile data.

【0026】なお、この画像データ圧縮装置100は最
大4つのコンポーネントの並列処理が可能であるが、3
つ以下のコンポーネントの処理も可能である。例えば、
1コンポーネントだけで表現されたモノクロ画像の場
合、1つのプロセッサコア100だけで処理を実行させ
ることができる。このような並列処理でない構成の画像
データ圧縮装置も本発明に含まれることは当然である。
The image data compression apparatus 100 is capable of parallel processing of a maximum of four components.
Processing of up to three components is also possible. For example,
In the case of a monochrome image represented by only one component, the processing can be executed by only one processor core 100. It goes without saying that an image data compression apparatus having a configuration other than such parallel processing is also included in the present invention.

【0027】図3は、本発明による画像データ圧縮装置
の他の一例を示すブロック図である。この画像データ圧
縮装置200は、基本的な構成及び動作は前記画像デー
タ圧縮装置100と同様であり、相違点は、コード量制
限に関連して上限設定レジスタ110に加えてコンポー
ネント重みレジスタ112が設けられたこと、上限算出
器111とタグ処理部102の作用がコード量制限に関
して一部異なることである。以下、この相違点を中心に
説明する。
FIG. 3 is a block diagram showing another example of the image data compression device according to the present invention. The basic configuration and operation of the image data compression apparatus 200 are the same as those of the image data compression apparatus 100. The difference is that a component weight register 112 is provided in addition to the upper limit setting register 110 in relation to the code amount restriction. That is, the operation of the upper limit calculator 111 and the operation of the tag processing unit 102 are partially different with respect to the code amount restriction. Hereinafter, the difference will be mainly described.

【0028】上限設定レジスタ110には、前述のよう
に画像全体の出力コード量の上限値が外部より設定され
る。コンポーネント重みレジスタ112には、各コンポ
ーネントA,B,C,Dの相対的な重み(相対重要度)
が外部より設定される。上限算出器111は、各レジス
タ110,112に設定された情報及びタイル数(デフ
ォルト値又は外部から設定された値)に基づいて、各タ
イルの出力コード量の上限値と、各タイルの各コンポー
ネントの出力コード量の上限値を算出し、それをタグ処
理部102に指定する。
In the upper limit setting register 110, the upper limit of the output code amount of the entire image is externally set as described above. The component weight register 112 stores the relative weight (relative importance) of each of the components A, B, C, and D.
Is set externally. The upper limit calculator 111 determines an upper limit value of the output code amount of each tile and each component of each tile based on the information set in each of the registers 110 and 112 and the number of tiles (a default value or a value set from outside). Is calculated, and the upper limit value of the output code amount is calculated and specified to the tag processing unit 102.

【0029】例えば、画像全体のコード量の上限値が1
60KByte、タイル数が16、コンポーネントA,B,
C,Dの重みが4:3:2:1であるとする。上限算出
器111は、各タイルの出力コード量の上限値を160KBy
te/16=10KByteと計算する。次に、各タイルの出力コ
ード量上限値を各コンポーネントの重みに従って按分
し、各コンポーネントのコード量の上限値を計算する。
この例では、A,B,C,Dの各コンポーネントの出力
コード量の上限値はA=4KByte,B=3KByte,C=2
KByte,D=1KByteと算出される。この場合、タグ処理
部102は、タイル毎に、各プロセッサコア101より
出力される各コンポーネントのコードのうち、その先頭
から上記上限値に達するまでを有効なデータとして扱
い、コードストリームを作成して出力する。コードスト
リームの構成と、各タイルと各コンポーネントの出力コ
ード量の上限値の関係を図4に示す。
For example, the upper limit of the code amount of the entire image is 1
60KByte, 16 tiles, components A, B,
It is assumed that the weights of C and D are 4: 3: 2: 1. The upper limit calculator 111 sets the upper limit value of the output code amount of each tile to 160 KBy.
Calculate te / 16 = 10KByte. Next, the upper limit value of the output code amount of each tile is apportioned according to the weight of each component, and the upper limit value of the code amount of each component is calculated.
In this example, the upper limit of the output code amount of each component of A, B, C, and D is A = 4 KByte, B = 3 KByte, and C = 2.
KByte, D = 1KByte is calculated. In this case, for each tile, the tag processing unit 102 treats, from the beginning of the code of each component output from each processor core 101, up to the upper limit value as valid data, and creates a code stream. Output. FIG. 4 shows the relationship between the configuration of the code stream and the upper limit of the output code amount of each tile and each component.

【0030】画像の種類や、ユーザの希望によって、コ
ンポーネント毎に再現精度を変えたいような場合があ
る。この画像データ処理装置200によれば、そのよう
なコンポーネントの重み付けを必要とする状況で出力コ
ード量を適切に制限することができる。また、メモリや
処理時間の増大、特定のタイルデータの欠落を回避でき
ることは、前記画像データ処理装置100と同様であ
る。
There are cases where it is desired to change the reproduction accuracy for each component depending on the type of image or the user's desire. According to the image data processing device 200, the output code amount can be appropriately limited in a situation where such component weighting is required. Further, it is possible to avoid an increase in memory and processing time and a loss of specific tile data, similarly to the image data processing apparatus 100.

【0031】なお、この画像データ圧縮装置200にお
いても、単一コンポーネントのモノクロ画像などを処理
できる。この場合、コンポーネントのコード量上限値と
タイルデータのコード量上限値とが同じ値となるため、
コード量制限の結果は、実質的に前記画像データ圧縮処
理装置100の場合と同一になる。
The image data compression device 200 can also process a single component monochrome image. In this case, since the code amount upper limit value of the component and the code amount upper limit value of the tile data are the same value,
The result of the code amount limitation is substantially the same as that of the image data compression processing device 100.

【0032】図5は、本発明による画像データ圧縮装置
の別の一例を示すブロック図である。この画像データ圧
縮装置300は、基本的な構成及び動作は前記画像デー
タ圧縮装置100と同様であり、相違点は、コード量制
限に関連して上限設定レジスタ110に加えてタイル重
みレジスタ114が設けられたこと、上限算出器111
とタグ処理部102の作用が出力コード量制限に関して
一部異なることである。以下、この相違点を中心に説明
する。
FIG. 5 is a block diagram showing another example of the image data compression device according to the present invention. The basic configuration and operation of the image data compression apparatus 300 are the same as those of the image data compression apparatus 100. The difference is that a tile weight register 114 is provided in addition to the upper limit setting register 110 in relation to the code amount restriction. That the upper limit calculator 111
And the operation of the tag processing unit 102 is partially different with respect to the output code amount limitation. Hereinafter, the difference will be mainly described.

【0033】上限設定レジスタ110には、前述のよう
に画像全体の出力コード量の上限値が外部より設定され
る。タイル重みレジスタ114には、各タイルの相対的
な重み(相対重要度)が外部より設定される。上限算出
器111は、各レジスタ110,114に設定された情
報及びタイル数(デフォルト値又は外部から設定された
値)に基づいて、各タイルの出力コード量の上限値を算
出し、それをタグ処理部102に指定する。
In the upper limit setting register 110, the upper limit of the output code amount of the entire image is externally set as described above. In the tile weight register 114, the relative weight (relative importance) of each tile is set from the outside. The upper limit calculator 111 calculates the upper limit value of the output code amount of each tile based on the information set in the registers 110 and 114 and the number of tiles (default value or a value set from the outside), and tags it with a tag. It is specified to the processing unit 102.

【0034】例えば、画像全体のコード量の上限値が2
70KByte、タイル数が9、各タイルの重みが4:3:
2:4:3:2:4:3:2であるとする。上限算出器
111は、270KByteを各タイルの重みによって按分
し、各タイルの出力コード量の上限値を40KByte,3
0KByte,20KByte,40KByte,30KByte,20KByt
e,40KByte,30KByte,20KByteと計算する。この
場合、タグ処理部102は、各タイルのコードのうち
で、その先頭から上限算出器111により指定された前
記上限値に達するまでを有効なものとして扱い、有効な
コードのみからなるコードストリームを作成して出力す
る。各タイル内の各コンポーネントに割り当てられる出
力コード量は均等である。コードストリームの構成と、
各タイルの出力コード量上限値の関係を図6に示す。
For example, the upper limit of the code amount of the entire image is 2
70KByte, 9 tiles, weight of each tile 4: 3:
It is assumed that 2: 4: 3: 2: 4: 3: 2. The upper limit calculator 111 apportions 270 KByte according to the weight of each tile, and sets the upper limit of the output code amount of each tile to 40 KByte, 3
0KByte, 20KByte, 40KByte, 30KByte, 20KByt
Calculate as e, 40KByte, 30KByte, 20KByte. In this case, the tag processing unit 102 treats the code of each tile from the beginning to the upper limit value specified by the upper limit calculator 111 as a valid code, and converts a code stream including only valid codes into a code stream composed of only valid codes. Create and output. The output code amount assigned to each component in each tile is equal. The structure of the codestream,
FIG. 6 shows the relationship between the output code amount upper limit values of each tile.

【0035】画像の種類や用途などによっては、画像中
の特定のタイルの再現精度を高め、それ以外のタイルの
再現精度を低くしたいような場合がある。この画像デー
タ処理装置300によれば、そのようなタイルの重み付
けを必要とする状況で出力コード量を適切に制限するこ
とができる。また、メモリや処理時間の増大、特定のタ
イルデータの欠落を回避できることは、前記画像データ
処理装置100と同様である。なお、この画像データ圧
縮装置300においても、単一コンポーネントのモノク
ロ画像などを処理できる。
Depending on the type or use of the image, there is a case where it is desired to increase the reproduction accuracy of a specific tile in the image and lower the reproduction accuracy of other tiles. According to the image data processing device 300, it is possible to appropriately limit the output code amount in a situation where such tile weighting is required. Further, it is possible to avoid an increase in memory and processing time and a loss of specific tile data, similarly to the image data processing apparatus 100. The image data compression apparatus 300 can also process a single component monochrome image.

【0036】図7は、本発明による画像データ圧縮装置
のもう一つの例を示すブロック図である。この画像デー
タ圧縮装置400は、タイルとコンポーネントの一方又
は両方に重み付けをした、又は重み付けをしない出力コ
ード量制限が可能であり、また高速処理が可能である。
FIG. 7 is a block diagram showing another example of the image data compression apparatus according to the present invention. The image data compression device 400 can limit the amount of output code in which one or both of a tile and a component are weighted or not, and can perform high-speed processing.

【0037】この画像データ圧縮装置400は、出力コ
ード量制限に関連して、前記各画像データ処理装置と同
様の上限設定レジスタ110、コンポーネント重みレジ
スタ112、タイル重みレジスタ114を全て備える。
上限算出器111は、コード量上限レジスタ110の情
報に従って画像全体の出力コード量の上限値を決定し、
この全体のコード量の範囲内で、タイル重みレジスタ1
14及びコンポーネント重みレジスタ112の情報に従
って各タイル、各コンポーネントの出力コード量の上限
値を決定する。この画像データ圧縮装置400は、さら
に、上限算出器111により算出された上限値に従って
各プロセッサコア101の動作状態を制御する制御装置
118を備える。
The image data compression device 400 includes an upper limit setting register 110, a component weight register 112, and a tile weight register 114, all of which are similar to those of the image data processing devices, in relation to the output code amount limitation.
The upper limit calculator 111 determines the upper limit value of the output code amount of the entire image according to the information of the code amount upper limit register 110,
Within this entire code amount, the tile weight register 1
14 and the component weight register 112, the upper limit value of the output code amount of each tile and each component is determined. The image data compression device 400 further includes a control device 118 that controls the operation state of each processor core 101 according to the upper limit value calculated by the upper limit calculator 111.

【0038】上限値設定レジスタ110には、画像全体
の出力コード量の上限値が設定される。コンポーネント
重みレジスタ112には、各コンポーネントの重みが設
定されるが、コンポーネントに重み付けをしたくない場
合、つまり全てのコンポーネントを同じ重要度で扱いた
い場合には、全てのコンポーネントに対し均等な重みが
設定される。また、タイル重みレジスタ114には各タ
イルの重みが設定されるが、タイルに重み付けをしたく
ない場合、つまり全てのタイルを同じ重要度で扱いたい
場合には、全てのタイルに対し均等な重みが設定され
る。
The upper limit value setting register 110 sets the upper limit value of the output code amount of the entire image. The weight of each component is set in the component weight register 112, but if it is not desired to weight the components, that is, if all the components are to be treated with the same importance, an equal weight is applied to all the components. Is set. The weight of each tile is set in the tile weight register 114. However, if it is not desired to weight the tiles, that is, if all the tiles are to be treated with the same importance, an equal weight is applied to all the tiles. Is set.

【0039】上限算出器111は、タイルの重みが均等
な場合は、上限設定レジスタ110に設定されたコード
量の上限値をタイル数(デフォルト値又は外部から指定
された値)によって割って各タイル毎の出力コード量の
上限値を決定する。タイル毎に異なった重み付けがさな
れた時には、各タイルの重みに応じて、全体の出力コー
ド量の上限値を按分することにより各タイルの出力コー
ド量を決定する。そして、このようにして決定したタイ
ル毎の出力コード量上限値を、各コンポーネントの重み
に応じて按分することにより、各タイルにおける各コン
ポーネント毎の出力コード量の上限値を決定する。な
お、全体の出力コード量の上限値をコンポーネントの重
みに従って按分して各コンポーネントの出力コード量の
上限値を決定した後に、各コンポーネントの出力コード
量上限値を各タイルの重みに応じて按分することによ
り、各タイルにおける各コンポーネントの出力コード量
の上限値を決定してもよいことは当然である。このよう
にして決定された出力コード量上限値が制御装置118
とタグ処理部102に指定される。
When the weights of the tiles are equal, the upper limit calculator 111 divides the upper limit value of the code amount set in the upper limit setting register 110 by the number of tiles (default value or a value specified from the outside) to obtain each tile. The upper limit of the output code amount for each is determined. When different weights are assigned to each tile, the output code amount of each tile is determined by apportioning the upper limit of the total output code amount according to the weight of each tile. Then, the upper limit of the output code amount of each component in each tile is determined by apportioning the upper limit of the output code amount of each tile determined in this way according to the weight of each component. After determining the upper limit value of the output code amount of each component by apportioning the upper limit value of the entire output code amount according to the component weight, the output code amount upper limit value of each component is apportioned according to the weight of each tile. Thus, the upper limit value of the output code amount of each component in each tile may be determined. The output code amount upper limit determined in this way is the
Is specified in the tag processing unit 102.

【0040】図8は、この画像データ圧縮装置400の
動作タイミング図である。図8において、「処理ステー
タス」は、装置全体の動作状態を表し、その「I/O」
期間にタイル単位の画像データの入力とコードストリー
ムの出力とが並行して行われ、「符号化処理」期間にタ
イル単位の圧縮処理が実行される。
FIG. 8 is an operation timing chart of the image data compression apparatus 400. In FIG. 8, the “processing status” indicates the operation state of the entire apparatus, and its “I / O”
Input of image data in units of tiles and output of code streams are performed in parallel during the period, and compression processing in units of tiles is performed during the “encoding process” period.

【0041】図8において、「コアAステータス」から
「コアDステータス」はコンポーネントAからDに対応
した各プロセッサコア101の動作状態を表し、「wai
t」は入出力待ち状態、「WL」はウェーブレット変換処
理実行状態、「CM&FSM」はコンテキストモデル処理と
FSM符号化処理の実行状態である。また、「入力画像
データ」は画像データ入力の状態を表し、その「無効」
は有効な画像データの入力中ではないことを表し、「タ
イルn」はタイルnの有効な画像データが入力中である
ことを表す。「コードストリーム」はコードストリーム
出力の状態を表し、その「無効」は有効なコードストリ
ームの出力中ではないことを表し、また「タイルn」は
タイルnの有効なコードストリームの出力中であること
を表す。
In FIG. 8, “core A status” to “core D status” represent the operation states of the processor cores 101 corresponding to components A to D, and “wai”.
"t" is an input / output waiting state, "WL" is a wavelet transform processing execution state, and "CM &FSM" is a context model processing and FSM encoding processing execution state. The “input image data” indicates the state of the image data input, and the “invalid”
Indicates that valid image data is not being input, and “tile n” indicates that valid image data of tile n is being input. "Code stream" indicates the status of the code stream output, "Invalid" indicates that a valid code stream is not being output, and "Tile n" indicates that a valid code stream of tile n is being output. Represents

【0042】図8に関連させて動作の流れを説明する。
画像データ圧縮装置400は、最初のI/O期間に最初
のタイル1の画像データを取り込む。その取り込みが時
刻aで終了し、直ちに各プロセッサコア101が各コン
ポーネントのウェーブレット変換処理を開始し、それが
終わるとコンテキストモデル処理とFSM符号化処理を
開始する。制御装置118は、各プロセッサコア101
のFSMコーダ105より出力されたコード量を計測
し、それを上限算出器111より指定されたタイル1の
該当するコンポーネントの出力コード量上限値と比較す
る。あるプロセッサコア101の出力コード量がその上
限値に達した時点で、そのプロセッサコア101のコン
テキストモデル処理とFSM符号化処理を停止させる。
図8に示したタイミング例では、時刻bでコンポーネン
トBのプロセッサコア101bの処理が停止させられ、
次に時刻cでコンポーネントCのプロセッサコア101
cの処理が停止させられ、時刻dでコンポーネントA,
Dのプロセッサコア101a,101bの処理が停止さ
せられ、タイル1の符号化処理が完了する。すなわち、
タイル1の出力コード量が上限値に達した。直ちに次の
I/O動作を開始させ、次のタイル2の画像データの取
り込みを開始し、これと並行して、タグ処理部102は
各プロセッサコア101より出力されたタイル1のコー
ドデータ(コード量制限済み)を1本のコードストリー
ムとして出力する。以後、最後のタイルまで同様の動作
が繰り返される。
The operation flow will be described with reference to FIG.
The image data compression device 400 takes in the image data of the first tile 1 during the first I / O period. The capture ends at time a, and each processor core 101 immediately starts the wavelet transform processing of each component, and after that, starts the context model processing and the FSM encoding processing. The control device 118 controls each processor core 101
The amount of code output from the FSM coder 105 is measured and compared with the upper limit of the output code amount of the corresponding component of the tile 1 specified by the upper limit calculator 111. When the output code amount of a certain processor core 101 reaches the upper limit, the context model processing and the FSM encoding processing of the certain processor core 101 are stopped.
In the timing example shown in FIG. 8, the processing of the processor core 101b of the component B is stopped at the time b,
Next, at time c, the processor core 101 of the component C
c is stopped, and at time d, the components A,
The processing of the processor cores 101a and 101b of D is stopped, and the encoding processing of tile 1 is completed. That is,
The output code amount of tile 1 has reached the upper limit. Immediately, the next I / O operation is started, and the acquisition of the image data of the next tile 2 is started. In parallel with this, the tag processing unit 102 outputs the code data (code) of the tile 1 output from each processor core 101. Is output as one code stream. Thereafter, the same operation is repeated until the last tile.

【0043】この画像データ圧縮装置400は、以上に
説明したように、タイルの重要度とコンポーネントの重
要度に応じたコード量の制限が可能である。また、各タ
イルの出力コード量上限値が最大の、あるコンポーネン
トの出力コード量が上限値に達した段階で、すなわち、
各タイルの出力コード量が上限値に達した段階で、直ち
にI/O動作を開始し、しかも、タイルの画像データの
入力とコードストリームの出力を同時に行う。したがっ
て、各タイルの全コンポーネントのデータを最後まで符
号化してからコードストリームを出力する構成や、コー
ドストリームの出力と画像データの入力を同時に行わな
い構成に比べ、1タイルあたりの処理時間を大幅に短縮
できる。また、前記画像データ圧縮装置100,20
0,300と同様に、大きなメモリを必要とせず、特定
のタイルのデータの欠落も回避される。
As described above, the image data compression apparatus 400 can limit the amount of code according to the importance of tiles and the importance of components. Further, when the output code amount of a certain component reaches the upper limit value, ie, when the output code amount upper limit value of each tile is the maximum,
When the output code amount of each tile reaches the upper limit value, the I / O operation is started immediately, and the input of the image data of the tile and the output of the code stream are simultaneously performed. Therefore, compared to a configuration in which the data of all the components of each tile are encoded to the end and then the code stream is output, or a configuration in which the output of the code stream and the input of the image data are not performed simultaneously, the processing time per tile is greatly reduced. Can be shortened. Further, the image data compression devices 100, 20
As with 0,300, no large memory is required and data loss for a particular tile is also avoided.

【0044】なお、図示しないが、図7の画像データ圧
縮装置400における制御装置118と同様な制御装置
を、図3又は図5の画像データ圧縮装置に設けることに
より、画像データ圧縮装置400と同様に、各タイルの
全コンポーネントの出力コード量が上限値に達した時点
で出力コードストリームの出力と次のタイルの画像デー
タの取り込みとを同時に開始させるように構成し、各タ
イルあたりの処理時間の一層の短縮を図ることも可能で
あり、このような構成の画像データ圧縮装置も本発明に
含まれることは当然である。
Although not shown, a control device similar to the control device 118 in the image data compression device 400 in FIG. 7 is provided in the image data compression device in FIG. 3 or FIG. When the output code amount of all components of each tile reaches the upper limit, the output of the output code stream and the capture of the image data of the next tile are started at the same time, and the processing time of each tile is reduced. Further shortening can be achieved, and the image data compression apparatus having such a configuration is naturally included in the present invention.

【0045】[0045]

【発明の効果】請求項1乃至6の各項の発明によれば、
圧縮対象の画像等の性質、圧縮結果を保存する媒体の記
憶容量、ユーザが希望する再現精度など応じて、画像等
を所望のコード量に圧縮することができる。画像などの
2次元データ全体のコードデータを一旦蓄積するための
大きなメモリを必要としない。圧縮後のコード量が上限
を越えるような場合でも圧縮処理をやり直す必要がな
い。出力コード量の制限は各タイル毎に行われるので、
特定のタイルのデータが完全に欠落することもない。ま
た、画像などの2次元データ全体のコードデータを一旦
蓄積した後に、各タイルデータの一部を捨てる処理を行
う方法に比べ、2次元データの入力からコードストリー
ムの出力までの処理時間を短縮できる。
According to the first to sixth aspects of the present invention,
The image or the like can be compressed to a desired code amount according to the properties of the image or the like to be compressed, the storage capacity of the medium for storing the compression result, and the reproduction accuracy desired by the user. A large memory for temporarily storing the code data of the entire two-dimensional data such as an image is not required. Even when the amount of code after compression exceeds the upper limit, there is no need to perform compression processing again. Since the output code amount is limited for each tile,
There is no complete loss of data for a particular tile. Further, the processing time from input of two-dimensional data to output of a code stream can be reduced as compared with a method of temporarily storing code data of entire two-dimensional data such as an image and then discarding a part of each tile data. .

【0046】画像などの種類や用途などによっては、特
定のタイルやコンポーネントの再現精度を高め、それ以
外のタイルやコンポーネントの再現精度を低くしたいよ
うな場合がある。請求項2、3又は4の発明によれば、
そのようなタイルやコンポーネントの重み付けを必要と
する状況において出力コード量を適切に制限することが
可能である。
Depending on the type of image or the like, the reproduction accuracy of a specific tile or component may be increased, and the reproduction accuracy of other tiles or components may be reduced. According to the invention of claim 2, 3 or 4,
It is possible to appropriately limit the output code amount in a situation where such tiles and components need to be weighted.

【0047】請求項5の発明によれば、カラー画像など
の複数コンポーネントからなる2次元データの圧縮を高
速に行うことができ、かつ、出力コード量の適切な制限
が可能である。
According to the fifth aspect of the present invention, two-dimensional data composed of a plurality of components such as a color image can be compressed at a high speed, and the output code amount can be appropriately limited.

【0048】請求項6の発明によれば、各タイルのデー
タを最後まで圧縮してからコードストリームの出力を開
始する構成や、各タイルのデータの入力とコードストリ
ームの出力とを時間的に分けて行う構成に比べ、1タイ
ルあたりの処理時間を大幅に短縮し、かつ、出力コード
量の適切な制限が可能である。
According to the sixth aspect of the present invention, the output of the code stream is started after the data of each tile is compressed to the end, and the input of the data of each tile and the output of the code stream are temporally separated. As compared with a configuration in which the processing is performed by a single operation, the processing time per tile can be significantly reduced, and the amount of output codes can be appropriately limited.

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

【図1】本発明による画像データ圧縮装置の一例を示す
ブロック図である。
FIG. 1 is a block diagram showing an example of an image data compression device according to the present invention.

【図2】コードストリームの構成とコード量制限の説明
図である。
FIG. 2 is an explanatory diagram of a code stream configuration and code amount limitation.

【図3】本発明による画像データ圧縮装置の別の一例を
示すブロック図である。
FIG. 3 is a block diagram showing another example of the image data compression device according to the present invention.

【図4】コードストリームの構成とコード量制限の説明
図である。
FIG. 4 is an explanatory diagram of a code stream configuration and a code amount limit.

【図5】本発明による画像データ圧縮装置の他の一例を
示すブロック図である。
FIG. 5 is a block diagram showing another example of the image data compression device according to the present invention.

【図6】コードストリームの構成とコード量制限の説明
図である。
FIG. 6 is an explanatory diagram of a code stream configuration and a code amount restriction.

【図7】本発明による画像データ圧縮装置のもう一つの
例を示すブロック図である。
FIG. 7 is a block diagram showing another example of the image data compression device according to the present invention.

【図8】動作タイミング図である。FIG. 8 is an operation timing chart.

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

101a,101b,101c,101d プロセッサ
コア 102 タグ処理部 103 ウェーブレット変換部 104 コンテキストモデル部 105 FSMコーダ 110 上限設定レジスタ 111 上限算出器 112 コンポーネント重みレジスタ 114 タイル重みレジスタ 118 制御装置
101a, 101b, 101c, 101d Processor core 102 Tag processing unit 103 Wavelet transform unit 104 Context model unit 105 FSM coder 110 Upper limit setting register 111 Upper limit calculator 112 Component weight register 114 Tile weight register 118 Control device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像等の2次元データを、可逆ウェーブ
レット変換処理、コンテキストモデル処理及びFSM符
号化処理の組合せによる圧縮処理によって圧縮し、コー
ドストリームを出力するデータ圧縮装置において、外部
から設定される2次元データ全体に対する出力コード量
の上限値を保持する第1の手段と、該第1の手段に保持
された出力コード量上限値に基づいて各タイルの出力コ
ード量の上限値を決定する手段とを備え、タイル単位で
圧縮処理を行い、各タイルの出力コード量を該第2の手
段により決定された上限値に制限することを特徴とする
データ圧縮装置。
1. A data compression device that compresses two-dimensional data such as an image by a compression process based on a combination of a reversible wavelet transform process, a context model process, and an FSM encoding process, and outputs a code stream. First means for holding the upper limit of the output code amount for the entire two-dimensional data, and means for determining the upper limit of the output code amount of each tile based on the upper limit of the output code amount held by the first means A data compression apparatus that performs compression processing on a tile-by-tile basis and limits the output code amount of each tile to an upper limit determined by the second means.
【請求項2】 画像等の2次元データを、可逆ウェーブ
レット変換処理、コンテキストモデル処理及びFSM符
号化処理の組合せによる圧縮処理によって圧縮し、コー
ドストリームを出力するデータ圧縮装置において、外部
から設定される2次元データ全体に対する出力コード量
の上限値を保持する第1の手段と、外部から設定され
る、2次元データの各コンポーネントの重みを保持する
第2の手段と、該第1の手段に保持された出力コード量
上限値及び該第2の手段に保持された各コンポーネント
の重みに基づいて、各タイルの各コンポーネントの出力
コード量の上限値を決定する第3の手段とを備え、タイ
ル単位で圧縮処理を行い、各タイルの各コンポーネント
の出力コード量を該第3の手段により決定された上限値
に制限することを特徴とするデータ圧縮装置。
2. A data compression device that compresses two-dimensional data such as an image by a compression process based on a combination of a reversible wavelet transform process, a context model process, and an FSM encoding process, and outputs a code stream. First means for holding the upper limit of the output code amount for the entire two-dimensional data, second means for holding the weight of each component of the two-dimensional data set from the outside, and holding in the first means A third means for determining an upper limit value of an output code amount of each component of each tile based on the output code amount upper limit value obtained and the weight of each component held in the second means, Performs compression processing, and limits the output code amount of each component of each tile to the upper limit determined by the third means. Data compression device.
【請求項3】 画像等の2次元データを、可逆ウェーブ
レット変換処理、コンテキストモデル処理及びFSM符
号化処理の組合せによる圧縮処理によって圧縮し、コー
ドストリームを出力するデータ圧縮装置において、外部
から設定される2次元データ全体に対する出力コード量
の上限値を保持する第1の手段と、外部から設定される
各タイルの重みを保持する第2の手段と、該第1の手段
に保持された出力コード量上限値及び該第2の手段に保
持された各タイルの重みに基づいて、各タイルの出力コ
ード量の上限値を決定する第3の手段とを備え、タイル
単位で圧縮処理を行い、各タイルの出力コード量を該第
3の手段により決定された上限値に制限することを特徴
とするデータ圧縮装置。
3. A data compression device which compresses two-dimensional data such as an image by a compression process based on a combination of a reversible wavelet transform process, a context model process and an FSM encoding process, and outputs a code stream, which is set from outside. First means for holding the upper limit of the output code amount for the entire two-dimensional data, second means for holding the weight of each tile set from the outside, and output code amount held by the first means A third means for determining an upper limit value of the output code amount of each tile based on the upper limit value and the weight of each tile held in the second means, performing compression processing in tile units, and Characterized in that the output code amount is limited to an upper limit determined by the third means.
【請求項4】 画像等の2次元データを、可逆ウェーブ
レット変換処理、コンテキストモデル処理及びFSM符
号化処理の組合せによる圧縮処理によって圧縮し、コー
ドストリームを出力するデータ圧縮装置において、外部
から設定される2次元データ全体に対する出力コード量
の上限値を保持する第1の手段と、外部から設定され
る、2次元データの各コンポーネントの重みを保持する
第2の手段と、外部から設定される各タイルの重みを保
持する第3の手段と、該第1の手段に保持された出力コ
ード量上限値、該第2の手段に保持された各コンポーネ
ントの重み、及び該第3の手段に保持された各タイルの
重みに基づいて、各タイルの各コンポーネントの出力コ
ード量の上限値を決定する第4の手段とを備え、タイル
単位で圧縮処理を行い、各タイルの各コンポーネントの
出力コード量を該第4の手段により決定された上限値に
制限することを特徴とするデータ圧縮装置。
4. A data compression device that compresses two-dimensional data such as an image by a compression process based on a combination of a reversible wavelet transform process, a context model process, and an FSM encoding process, and outputs a code stream. First means for holding the upper limit of the output code amount for the entire two-dimensional data, second means for holding the weight of each component of the two-dimensional data set externally, and each tile set externally And the upper limit of the output code amount held by the first means, the weight of each component held by the second means, and the weight held by the third means. A fourth means for determining an upper limit value of an output code amount of each component of each tile based on a weight of each tile; A data compression device for limiting an output code amount of each component of each tile to an upper limit determined by the fourth means.
【請求項5】 可逆ウェーブレット変換処理のためのウ
エーブレット変換部と、コンテキストモデル処理のため
のコンテキストモデル部と、FSM符号化処理のための
FSMコーダとからそれぞれ構成される複数のプロセッ
サコアによって、タイル単位で、2次元データの複数の
コンポーネントの圧縮処理を並列に実行することを特徴
とする請求項1、2、3又は4記載のデータ圧縮装置。
5. A plurality of processor cores each comprising a wavelet transform unit for a reversible wavelet transform process, a context model unit for a context model process, and an FSM coder for an FSM encoding process, 5. The data compression apparatus according to claim 1, wherein compression processing of a plurality of components of the two-dimensional data is executed in parallel in tile units.
【請求項6】 各タイルの出力コード量が上限値に達し
た時点で当該タイルに対する圧縮処理を停止し、当該タ
イルのコードストリームの出力動作と次のタイルのデー
タの入力動作を同時に開始することを特徴とする請求項
1乃至5のいずれか1項記載のデータ圧縮処理装置。
6. When the output code amount of each tile reaches the upper limit value, the compression processing for the tile is stopped, and the output operation of the code stream of the tile and the input operation of the data of the next tile are started simultaneously. The data compression processing device according to claim 1, wherein:
JP30490198A 1998-10-27 1998-10-27 Data compression device Expired - Fee Related JP3797458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30490198A JP3797458B2 (en) 1998-10-27 1998-10-27 Data compression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30490198A JP3797458B2 (en) 1998-10-27 1998-10-27 Data compression device

Publications (2)

Publication Number Publication Date
JP2000134623A true JP2000134623A (en) 2000-05-12
JP3797458B2 JP3797458B2 (en) 2006-07-19

Family

ID=17938663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30490198A Expired - Fee Related JP3797458B2 (en) 1998-10-27 1998-10-27 Data compression device

Country Status (1)

Country Link
JP (1) JP3797458B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005539467A (en) * 2002-09-17 2005-12-22 ウラディミール・ツェペルコヴィッツ High-speed codec with minimum required resources providing a high compression ratio
US7406202B2 (en) 2003-02-17 2008-07-29 Ricoh Company, Ltd. Image processing apparatus, image compression apparatus, image processing method, image compression method, program, and recording medium
US7440624B2 (en) 2003-02-17 2008-10-21 Ricoh Company, Ltd. Image compression apparatus, image decompression apparatus, image compression method, image decompression method, program, and recording medium
JP2010118795A (en) * 2008-11-11 2010-05-27 Nippon Telegr & Teleph Corp <Ntt> System for encoding parallel-distribution information source, and method of encoding/decoding parallel-distribution information source

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005539467A (en) * 2002-09-17 2005-12-22 ウラディミール・ツェペルコヴィッツ High-speed codec with minimum required resources providing a high compression ratio
JP4859368B2 (en) * 2002-09-17 2012-01-25 ウラディミール・ツェペルコヴィッツ High-speed codec with minimum required resources providing a high compression ratio
US7406202B2 (en) 2003-02-17 2008-07-29 Ricoh Company, Ltd. Image processing apparatus, image compression apparatus, image processing method, image compression method, program, and recording medium
US7440624B2 (en) 2003-02-17 2008-10-21 Ricoh Company, Ltd. Image compression apparatus, image decompression apparatus, image compression method, image decompression method, program, and recording medium
JP2010118795A (en) * 2008-11-11 2010-05-27 Nippon Telegr & Teleph Corp <Ntt> System for encoding parallel-distribution information source, and method of encoding/decoding parallel-distribution information source

Also Published As

Publication number Publication date
JP3797458B2 (en) 2006-07-19

Similar Documents

Publication Publication Date Title
US9762917B2 (en) Quantization method and apparatus in encoding/decoding
JPH0799659A (en) Nonexhaustive movement estimation method
JPS6332660A (en) Conversion circuit
WO2009093947A1 (en) Pixel block processing
JP2009177802A (en) Apparatus and method for encoding and computing discrete cosine transform using butterfly processor
CN109155850A (en) parallel video coding
CN103581680A (en) Method and system for improving decoder performance through quantization control
JPH11289535A (en) Perceptive compression and sturdy bit rate control system
JP2004007555A (en) Entropy encoder
JP2001332978A (en) Device and method for converting data stream, device and method for generating variable length encoded data stream, and camera system
JP3797458B2 (en) Data compression device
JP3857509B2 (en) Image processing apparatus, image processing system, image encoding method, and storage medium
US20190238832A1 (en) Image processing device
JP3282527B2 (en) Image coding device
JPH099265A (en) Device and method for encoding image
JP2001061067A (en) Image processing unit, its method, data processing unit and its control method
US5692074A (en) Image information coding device and image information communication device with block average information and controllable compression
JP2006050571A (en) Image processing apparatus
JP2629035B2 (en) Image coding processor
US20070154102A1 (en) Image decompression system, method and program
US11941397B1 (en) Machine instructions for decoding acceleration including fuse input instructions to fuse multiple JPEG data blocks together to take advantage of a full SIMD width of a processor
JP2001060876A (en) Image processor, its method and recording medium
JP2000244924A (en) Data compander
JP3110255B2 (en) Character data compression processing apparatus and character data compression method
RU2295839C2 (en) Method for compressing digital images and device for realization of said method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060412

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060412

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees