JP2003339047A - Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program - Google Patents

Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program

Info

Publication number
JP2003339047A
JP2003339047A JP2002171872A JP2002171872A JP2003339047A JP 2003339047 A JP2003339047 A JP 2003339047A JP 2002171872 A JP2002171872 A JP 2002171872A JP 2002171872 A JP2002171872 A JP 2002171872A JP 2003339047 A JP2003339047 A JP 2003339047A
Authority
JP
Japan
Prior art keywords
image
area
compression
areas
attention
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002171872A
Other languages
Japanese (ja)
Other versions
JP2003339047A5 (en
Inventor
Taku Kodama
児玉  卓
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 JP2002171872A priority Critical patent/JP2003339047A/en
Priority to EP20030005303 priority patent/EP1349393A1/en
Priority to US10/390,263 priority patent/US7352908B2/en
Publication of JP2003339047A publication Critical patent/JP2003339047A/en
Publication of JP2003339047A5 publication Critical patent/JP2003339047A5/ja
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide image compression/decompression techniques for compressing an image in matching with requirements of a user by designating a region of interest of the image according to the user of the image, setting a quantization rate different from that for other regions to the designated region of interest, and controlling the compression on the basis of the set quantization rate. <P>SOLUTION: An image compression/decompression device 20 includes: an image division unit 21 for dividing an image into a plurality of regions; a region designation unit 24 for designating one region of interest or more; a quantization rate determination unit 23 for setting a quantization rate to each divided region; and a compression control unit 22 for controlling the compression for each region on the basis of the set quantization rate. The image division unit 21 divides the image into a plurality of regions, the region designation unit 24 designates the region of interest in the image, the quantization rate determination unit 23 sets the quantization rate different from that of other regions to the determined region of interest when setting the quantization rate to each division region, and the compression control unit 22 applied compression control to each region on the basis of the set quantization rate. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像圧縮装置、画
像伸長装置、画像圧縮伸長装置、画像圧縮方法、画像伸
長方法、プログラム、及び該プログラムを記録した記録
媒体、より詳細には、画像の注目領域と他の領域とで異
なる量子化率を設定可能な画像圧縮装置、画像伸長装
置、画像圧縮伸長装置、画像圧縮方法、画像伸長方法、
コンピュータが実行できるプログラム、及び該プログラ
ムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression apparatus, an image decompression apparatus, an image compression / decompression apparatus, an image compression method, an image decompression method, a program, and a recording medium recording the program, and more specifically, an image An image compression device, an image decompression device, an image compression / decompression device, an image compression method, an image decompression method, in which different quantization rates can be set for the attention area and other areas,
The present invention relates to a program that can be executed by a computer and a recording medium that records the program.

【0002】[0002]

【従来の技術】画像入力技術及びその出力技術の進歩に
より、カラー静止画像に対して高精細化の要求が、近年
非常に高まっている。画像入力装置として、デジタルカ
メラ(Digital Camera(DC))を例に
あげると、300万以上の画素数を持つ高性能な電化結
合素子(CCD)の低価格化が進み、普及価格帯の製品
においても広く用いられるようになってきた。こうした
CCDの高性能化は、シリコンプロセスあるいはデバイ
ス技術の進歩に負うところが大きく、微細化とS/N比
の低下というトレードオフ問題を克服してきた。そし
て、このピクセル数の増加傾向は、なおしばらくは続く
と言われている。
2. Description of the Related Art Due to the progress of image input technology and its output technology, the demand for high definition for color still images has increased significantly in recent years. Taking a digital camera (DC) as an example of the image input device, the price of a high-performance electrically coupled device (CCD) having a pixel number of 3 million or more has been reduced, and the product is in a popular price range. Has also become widely used. Such high performance of the CCD largely depends on the progress of the silicon process or device technology, and has overcome the trade-off problem of miniaturization and reduction of S / N ratio. And it is said that this increasing number of pixels will continue for some time.

【0003】一方、画像出力・表示装置に関しても、レ
ーザプリンタ、インクジェットプリンタ、昇華型プリン
タ等のハードコピー分野における製品、そして、CRT
やLCD(液晶表示デバイス)、PDP(プラズマ表示
デバイス)等のフラットパネルディスプレイのソフトコ
ピー分野における製品の高精細化・低価格化は目を見張
るものがある。
On the other hand, regarding image output / display devices, products in the hard copy field such as laser printers, ink jet printers and sublimation printers, and CRTs.
The high definition and low price of products in the soft copy field of flat panel displays such as LCDs, LCDs (liquid crystal display devices), and PDPs (plasma display devices) are remarkable.

【0004】こうした高性能・低価格な画像入出力製品
の市場投入効果によって、高精細静止画像の大衆化が始
まっている。今後はあらゆる場面で、高精細静止画像の
需要が高まると予想されている。実際、パーソナルコン
ピュータ(PC)やインターネットを始めとするネット
ワークに関連する技術の発達は、こうしたトレンドをま
すます加速させている。特に最近は、携帯電話やノート
パソコン等を始めとするモバイル機器の普及速度が非常
に大きく、画像をあらゆる地点から通信手段を用いて伝
送あるいは受信する機会が急増している。こうしたこと
を背景に、高精細静止画像の取扱いを容易にする画像圧
縮伸長技術に対する高性能化あるいは多機能化の要求
は、今後ますます強くなっていくことは必至と思われ
る。
Due to the market effect of such high-performance and low-priced image input / output products, the popularization of high-definition still images has started. It is expected that demand for high-definition still images will increase in all situations in the future. In fact, the development of technologies related to networks such as personal computers (PCs) and the Internet is accelerating these trends. Particularly in recent years, mobile devices such as mobile phones and notebook computers have become very popular at a very high speed, and the chances of transmitting or receiving images from any point using communication means are rapidly increasing. Against this background, it is inevitable that the demand for higher performance or more multifunctional image compression / decompression technology that facilitates the handling of high-definition still images will intensify in the future.

【0005】こうした高精細静止画像の取扱いを容易に
する画像圧縮伸長アルゴリズムとしては、現在のとこ
ろ、JPEG(Joint Photographic
Experts Group)が最も広く使われてい
る。また、2001年に国際標準になることが確実とな
ったJPEG2000は、JPEGよりも更に高性能な
アルゴリズムを持つばかりでなく、並行して、大幅な多
機能化や、様々なアプリケーションに対する柔軟性と拡
張性を図った結果、JPEG後継の次世代高精細静止画
像圧縮伸長フォーマットとして、期待されている。
At present, as an image compression / decompression algorithm for facilitating the handling of such high-definition still images, JPEG (Joint Photographic) is used.
The Experts Group) is the most widely used. In addition, JPEG2000, which became certain to become an international standard in 2001, has not only a higher-performance algorithm than JPEG, but also a large number of functions and flexibility for various applications in parallel. As a result of achieving expandability, it is expected as a next-generation high-definition still image compression / decompression format succeeding JPEG.

【0006】図22は、JPEGアルゴリズムの基本を
説明するためのブロック図である。JPEGアルゴリズ
ムは、色空間変換・逆変換部50、離散コサイン変換・
逆変換部51、量子化・逆量子化部52、エントロピー
符号化・復号化部53で構成されている。通常は、高い
圧縮率を得るために、非可逆符号化を使用するので、完
全なオリジナル画像データの圧縮伸長、いわゆるロスレ
ス圧縮は行わないことがほとんどである。しかしなが
ら、この非可逆(ロッシー)圧縮により実用上問題が生
じることは少ない。そのため、JPEG方式は、圧縮や
伸長の処理あるいは圧縮後の画像データ蓄積に必要なメ
モリ容量を抑え、また、データの送受信に費やされる時
間を短くすることに大きく貢献している。こうした利点
のために、JPEGは現在最も広く普及している静止画
像の圧縮伸長アルゴリズムとなった。
FIG. 22 is a block diagram for explaining the basics of the JPEG algorithm. The JPEG algorithm includes a color space conversion / inverse conversion unit 50, a discrete cosine conversion /
The inverse transform unit 51, the quantization / inverse quantization unit 52, and the entropy encoding / decoding unit 53 are included. Usually, lossy encoding is used to obtain a high compression rate, and therefore compression / expansion of complete original image data, so-called lossless compression, is not performed in most cases. However, this lossy compression rarely causes a practical problem. Therefore, the JPEG method greatly contributes to suppressing the memory capacity required for compression / decompression processing or image data storage after compression, and shortening the time spent for data transmission / reception. Because of these advantages, JPEG has become the most popular still image compression / decompression algorithm at present.

【0007】図23は、JPEG2000アルゴリズム
の基本を説明するためのブロック図である。JPEG2
000のアルゴリズムは、色空間変換・逆変換部60、
2次元ウェーブレット変換・逆変換部61、量子化・逆
量子化部62、エントロピー符号化・復号化部63、タ
グ処理部64で構成されている。
FIG. 23 is a block diagram for explaining the basics of the JPEG2000 algorithm. JPEG2
000 algorithm is a color space conversion / inverse conversion unit 60,
It is composed of a two-dimensional wavelet transform / inverse transform unit 61, a quantization / inverse quantization unit 62, an entropy coding / decoding unit 63, and a tag processing unit 64.

【0008】上記のごとく、現在、最も広く普及してい
る静止画像の圧縮伸長方式はJPEGである。しかしな
がら、静止画像に対する高精細化の要求はとどまること
がなく、JPEG方式にも技術的な限界が見え始めてい
る。例えば、今まではあまり目立たなかったブロックノ
イズやモスキートノイズが、原画像の高精細化に伴い顕
著となり、JPEGファイルの画質劣化が無視できない
レベルとなってきている。その結果を受けて、低ビット
レート、すなわち高圧縮率領域における画質向上が、技
術開発の最重要課題として認識されるようになった。J
PEG2000はこうした問題を解決することが出来る
アルゴリズムとして生まれた。そして、近い将来、現在
主流のJPEG形式と併用されることが予想される。
As described above, the most widely used still image compression / decompression method is JPEG. However, the demand for high-definition still images has not stopped, and the technical limitations of the JPEG system are beginning to be seen. For example, block noises and mosquito noises, which were not so noticeable until now, have become noticeable as the original image has become higher in definition, and the image quality deterioration of the JPEG file has become a level that cannot be ignored. As a result, the improvement of image quality in a low bit rate, that is, a high compression rate region has come to be recognized as the most important issue in technological development. J
PEG2000 was born as an algorithm that can solve these problems. In the near future, it is expected that it will be used in combination with the currently mainstream JPEG format.

【0009】前述した図22と図23とを比較して、最
も大きく異なる点の一つは変換方法である。JPEGは
離散コサイン変換(DCT:Discrete Cos
ine Transform)を、JPEG2000は
離散ウエーブレット変換(DWT:Discrete
Wavelet Transform)を用いている。
DWTはDCTに比べて、高圧縮領域における画質が良
いという長所が、採用の大きな理由となっている。ま
た、もう一つの大きな相違点は、後者では、最終段に符
号形成をおこなうために、タグ処理部64と呼ばれる機
能ブロックが追加されている。ここで、コードストリー
ムの生成や解釈が行われる。そして、コードストリーム
によって、JPEG2000は様々な便利な機能を実現
できるようになった。例えば、図24は、デコンポジシ
ョンレベルが3の場合の、各デコンポジションレベルに
おけるサブバンドの一例を示す図で、図24に示したブ
ロックベースでのDWTにおけるオクターブ分割の階層
に対応した任意の階層で、静止画像の圧縮伸長処理を停
止させることができる。
One of the biggest differences between the above-mentioned FIG. 22 and FIG. 23 is the conversion method. JPEG is a discrete cosine transform (DCT).
ine2000 is a discrete wavelet transform (DWT: Discrete).
Wavelet Transform) is used.
Compared with DCT, the advantage of DWT having good image quality in a high compression region is a major reason for its adoption. Another major difference is that in the latter, a functional block called a tag processing unit 64 is added to perform code formation at the final stage. Here, the codestream is generated and interpreted. The code stream has enabled JPEG2000 to realize various convenient functions. For example, FIG. 24 is a diagram showing an example of subbands at each decomposition level when the decomposition level is 3, and is an arbitrary hierarchy corresponding to the octave division hierarchy in the block-based DWT shown in FIG. Then, the compression / decompression process of the still image can be stopped.

【0010】なお、図22と図23の原画像の入出力部
分には、色空間変換・逆変換部50、色空間変換・逆変
換部60が接続されることが多い。例えば、原色系のR
(赤)/G(緑)/B(青)の各コンポーネントからな
るRGB表色系や、補色系のY(黄)/M(マゼンタ)
/C(シアン)の各コンポーネントからなるYMC表色
系から、YCrCbあるいはYUV表色系への変換又は
逆の変換を行う部分がこれに相当する。
The color space conversion / inverse conversion unit 50 and the color space conversion / inverse conversion unit 60 are often connected to the input / output portions of the original images in FIGS. 22 and 23. For example, the primary color R
RGB color system consisting of (red) / G (green) / B (blue) components and complementary color system Y (yellow) / M (magenta)
This corresponds to a portion that performs conversion from the YMC color system including each component of / C (cyan) to the YCrCb or YUV color system or the reverse conversion.

【0011】以下、JPEG2000アルゴリズムにつ
いて、説明する。ここで、JPEG2000に関する用
語の定義は、JPEG2000 PartI FDIS
(Final Draft International Standard)に準拠するも
のとする。以下、代表的な用語の定義について示す。 1.code-block:A rectangular grouping of coefficie
nts from the same subband of a tile-component. 2.decomposition level:A collection of wavelet su
bbands where each coefficient has the same spatial
impact or span with respect to the source compone
nt samples. These include the HL,LH,and HH subband
s of the same two dimensional subband decompositio
n.For the last decomposition level theLL subband i
s also included. 3.precinct:A one rectangular region of a transfo
rmed tile-component,within each resolution level,u
sed for limiting the size of packets. 4.layer:A collection of compressed image data fr
om coding passes of one, or more, code-blocks of a
tilecomponent. Layers have an order for encoding
and decoding that must be preserved. 5.region of interest(ROI):A collection of coeffi
cients that are considered of particular relevance
by some user defined measure.
The JPEG2000 algorithm will be described below. Here, the definition of terms related to JPEG2000 is as follows: JPEG2000 PartI FDIS
(Final Draft International Standard). The definitions of typical terms are shown below. 1. code-block: A rectangular grouping of coefficie
nts from the same subband of a tile-component. decomposition level: A collection of wavelet su
bbands where each coefficient has the same spatial
impact or span with respect to the source compone
nt samples. These include the HL, LH, and HH subband
s of the same two dimensional subband decompositio
n.For the last decomposition level theLL subband i
s also included. precinct: A one rectangular region of a transfo
rmed tile-component, within each resolution level, u
sed for limiting the size of packets. layer: A collection of compressed image data fr
om coding passes of one, or more, code-blocks of a
tilecomponent. Layers have an order for encoding
and decoding that must be preserved. region of interest (ROI): A collection of coeffi
cients that are considered of particular relevance
by some user defined measure.

【0012】図25は、タイル分割されたカラー画像の
各コンポーネントの例を示す図である。カラー画像は、
一般に、図25に示すように、原画像の各コンポーネン
ト80,81,82(ここではRGB原色系)が、矩形
をした領域(タイル)80t,81t,82tによって分
割される。そして、個々のタイル、例えば、R00,R
01,…,R15/G00,G01,…,G15/B0
0,B01,…,B15が、圧縮伸長プロセスを実行す
る際の基本単位となる。従って、圧縮伸長動作は、コン
ポーネント毎、そしてタイル毎に、独立に行われる。
FIG. 25 is a diagram showing an example of each component of a tiled color image. The color image is
Generally, as shown in FIG. 25, each component 80, 81, 82 (here, RGB primary color system) of the original image is divided into rectangular areas (tiles) 80 t , 81 t , 82 t . And the individual tiles, eg R00, R
01, ..., R15 / G00, G01, ..., G15 / B0
0, B01, ..., B15 are the basic units for executing the compression / decompression process. Therefore, the compression / decompression operation is performed independently for each component and each tile.

【0013】符号化時には、各コンポーネントの各タイ
ルのデータが、図23に示した色空間変換部60に入力
され、色空間変換を施されたのち、2次元ウェーブレッ
ト変換部61で2次元ウェーブレット変換(順変換)が
適用されて周波数帯に空間分割される。
At the time of encoding, the data of each tile of each component is input to the color space conversion unit 60 shown in FIG. 23 and subjected to color space conversion, and then the two-dimensional wavelet conversion unit 61 performs the two-dimensional wavelet conversion. (Forward transform) is applied to spatially divide into frequency bands.

【0014】前述した図24には、デコンポジションレ
ベルが3の場合の、各デコンポジションレベルにおける
サブバンドを示している。すなわち、原画像のタイル分
割によって得られた原画像タイル(0LL)(デコンポ
ジションレベル0(70))に対して、2次元ウェーブ
レット変換を施し、デコンポジションレベル1(71)
に示すサブバンド(1LL,1HL,1LH,1HH)
を分離する。そして引き続き、この階層における低周波
成分1LLに対して、2次元ウェーブレット変換を施
し、デコンポジションレベル2(72)に示すサブバン
ド(2LL,2HL,2LH,2HH)を分離する。順
次同様に、低周波成分2LLに対しても、2次元ウェー
ブレット変換を施し、デコンポジションレベル3(7
3)に示すサブバンド(3LL,3HL,3LH,3H
H)を分離する。
FIG. 24 described above shows subbands at each decomposition level when the decomposition level is 3. That is, the original image tile (0LL) (decomposition level 0 (70)) obtained by dividing the original image into tiles is subjected to the two-dimensional wavelet transform, and the decomposition level 1 (71)
Subbands shown in (1LL, 1HL, 1LH, 1HH)
To separate. Then, subsequently, the low frequency component 1LL in this hierarchy is subjected to a two-dimensional wavelet transform to separate the subbands (2LL, 2HL, 2LH, 2HH) shown in the decomposition level 2 (72). Similarly, the low-frequency component 2LL is similarly subjected to the two-dimensional wavelet transform, and the decomposition level 3 (7
3) Subbands (3LL, 3HL, 3LH, 3H)
H) is separated.

【0015】更に図24では、各デコンポジションレベ
ルにおいて符号化の対象となるサブバンドを、グレーで
表してある。例えば、デコンポジションレベルを3とし
た時、グレーで示したサブバンド(3HL,3LH,3
HH,2HL,2LH,2HH,1HL,1LH,1H
H)が符号化対象となり、3LLサブバンドは符号化さ
れない。
Further, in FIG. 24, the sub-bands to be coded at each decomposition level are shown in gray. For example, when the decomposition level is set to 3, the sub bands (3HL, 3LH, 3 shown in gray
HH, 2HL, 2LH, 2HH, 1HL, 1LH, 1H
H) is the target of encoding, and the 3LL subband is not encoded.

【0016】次いで、指定した符号化の順番で符号化の
対象となるビットが定められ、図23に示した量子化部
62で対象ビット周辺のビットからコンテキストが生成
される。量子化の処理が終わったウェーブレット係数
は、個々のサブバンド毎に、プレシンクトと呼ばれる重
複しない矩形に分割される。これは、インプリメンテー
ションでメモリを効率的に使うために導入されたもので
ある。
Next, the bits to be coded are determined in the designated coding order, and the quantizing unit 62 shown in FIG. 23 generates a context from the bits around the target bit. The wavelet coefficient after the quantization process is divided into non-overlapping rectangles called precincts for each subband. This was introduced to make the implementation use memory efficiently.

【0017】図26は、プレシンクトとコードブロック
の関係の一例を説明する図で、原画像90は、デコンポ
ジションレベル1において、タイル90t0,90t1,9
t2,90t3の4つのタイルに分割されている。図26
に示したように、例えばプレシンクト90p4は、空間的
に一致した3つの矩形領域からなり、プレシンクト90
p6も同様である。ここでプレシンクトの番号はラスタ順
に0〜8まで割り当てられる。更に、個々のプレシンク
トは、重複しない矩形のコードブロックと呼ばれるブロ
ックに分けられる。本例では、0〜11までの12個の
コードブロックに分けられており、例えばコードブロッ
ク90b1は、コードブロック番号1を示す。このコード
ブロックは、エントロピーコーディングを行う際の基本
単位となる。
FIG. 26 is a diagram for explaining an example of the relationship between the precinct and the code block. The original image 90 is tiles 90 t0 , 90 t1 , 9 at decomposition level 1.
It is divided into four tiles of 0 t2 and 90 t3 . FIG. 26
As shown in, the precinct 90 p4 is composed of three rectangular regions that are spatially coincident with each other.
The same applies to p6 . Here, the precinct numbers are assigned from 0 to 8 in raster order. Furthermore, each precinct is divided into non-overlapping rectangular code blocks. In this example, the code block is divided into 12 code blocks 0 to 11, and the code block 90 b1 indicates the code block number 1, for example. This code block serves as a basic unit when performing entropy coding.

【0018】前述の図23に示したエントロピー符号化
部63では、コンテキストと対象ビットから確率推定に
よって、各コンポーネントのタイルに対する符号化を行
う。こうして、原画像の全てのコンポーネントについ
て、タイル単位で符号化処理が行われる。最後にタグ処
理部64は、エントロピーコーダ部からの全符号化デー
タを1本のコードストリームに結合するとともに、それ
にタグを付加する処理を行う。図27は、コードストリ
ームの構造の一例を簡単に示した図で、コードストリー
ムの先頭と各タイルを構成する部分タイルの先頭にはヘ
ッダ(それぞれ、メインヘッダ100及びタイルパート
ヘッダ101)と呼ばれるタグ情報が付加され、その後
に、各タイルの符号化データ(ビットストリーム10
2)が続く。そして、コードストリームの終端103に
は、再びタグが置かれる。
The entropy coding unit 63 shown in FIG. 23 described above performs coding on the tile of each component by probability estimation from the context and the target bit. In this way, the coding process is performed in tile units for all components of the original image. Finally, the tag processing unit 64 combines all the encoded data from the entropy coder unit into one code stream and adds a tag to the code stream. FIG. 27 is a diagram simply showing an example of the structure of the code stream. Tags called headers (main header 100 and tile part header 101, respectively) are provided at the beginning of the code stream and the beginning of the partial tiles forming each tile. Information is added, and thereafter, encoded data of each tile (bit stream 10
2) continues. Then, a tag is placed again at the end 103 of the code stream.

【0019】一方、復号化時には、符号化時とは逆に、
各コンポーネントの各タイルのコードストリームから画
像データを生成する。前述の図23を用いて簡単に説明
する。この場合、タグ処理部64は、外部より入力した
コードストリームに付加されたタグ情報を解釈し、コー
ドストリームを各コンポーネントの各タイルのコードス
トリームに分解し、その各コンポーネントの各タイルの
コードストリーム毎に復号化処理が行われる。コードス
トリーム内のタグ情報に基づく順番で復号化の対象とな
るビットの位置が定められるとともに、逆量子化部62
で、その対象ビット位置の周辺ビット(既に復号化を終
えている)の並びからコンテキストが生成される。エン
トロピー復号化部63で、このコンテキストとコードス
トリームから確率推定によって復号化を行い対象ビット
を生成し、それを対象ビットの位置に書き込む。
On the other hand, at the time of decoding, contrary to the time of encoding,
Image data is generated from the code stream of each tile of each component. A brief description will be given with reference to FIG. In this case, the tag processing unit 64 interprets the tag information added to the code stream input from the outside, decomposes the code stream into code streams of each tile of each component, and analyzes each code stream of each tile of each component. The decryption process is performed. The positions of the bits to be decoded are determined in the order based on the tag information in the code stream, and the dequantization unit 62
Then, a context is generated from a sequence of peripheral bits (which have already been decoded) at the target bit position. The entropy decoding unit 63 performs decoding by probability estimation from this context and code stream to generate a target bit, and writes it in the position of the target bit.

【0020】このようにして復号化されたデータは周波
数帯域毎に空間分割されているため、これを2次元ウェ
ーブレット逆変換部61で2次元ウェーブレット逆変換
を行うことにより、画像データの各コンポーネントの各
タイルが復元される。復元されたデータは色空間逆変換
部60によって元の表色系のデータに変換される。
Since the data decoded in this way is spatially divided for each frequency band, a two-dimensional wavelet inverse transform unit 61 performs a two-dimensional wavelet inverse transform on the data, whereby each component of the image data is processed. Each tile is restored. The restored data is converted into the original colorimetric data by the color space inverse conversion unit 60.

【0021】ここで、ウェーブレット変換後の係数値
は、そのまま量子化し符号化することも可能であるが、
JPEG2000では符号化効率を上げるために、係数
値をビットプレーン単位に分解し、画素あるいはコード
ブロック毎にビットプレーンに順位付けを行うことがで
きる。
Here, the coefficient values after the wavelet transform can be quantized and coded as they are,
In JPEG2000, in order to improve coding efficiency, coefficient values can be decomposed into bit plane units and the bit planes can be ranked for each pixel or code block.

【0022】図28は、ビットプレーンに順位付けする
手順の一例を簡単に示した図である。本例は、原画像1
60(32×32画素)を16×16画素のタイル4つ
(タイル160t0,タイル160t1,タイル160t2
タイル160t3)で分割した場合について示したもの
で、デコンポジションレベル1のプレシンクトとコード
ブロックの大きさは、各々8×8画素と4×4画素とし
ている。プレシンクトとコードブロックの番号は、ラス
タ順に付けられる。タイル境界外に対する画素拡張には
ミラーリング法を使い、可逆(5,3)整数変換フィル
タでウェーブレット変換を行い、デコンポジションレベ
ル1のウェーブレット係数値を求めている。
FIG. 28 is a diagram simply showing an example of a procedure for ranking the bit planes. This example shows the original image 1
60 (32 × 32 pixels) is divided into four 16 × 16 pixel tiles (tile 160 t0 , tile 160 t1 , tile 160 t2 ,
An illustration for a case divided by tiles 160 t3), the size of the precinct and the code block of the decomposition level 1 is set to each 8 × 8 pixels and 4 × 4 pixels. The precinct and code block numbers are assigned in raster order. The pixel extension outside the tile boundary is performed by using the mirroring method, the wavelet transform is performed by the reversible (5,3) integer transform filter, and the wavelet coefficient value of decomposition level 1 is obtained.

【0023】また、タイル160t0(タイル0)/プレ
シンクト160p3(プレシンクト3)/コードブロック
160b3(コードブロック3)について、代表的なレイ
ヤ構成の一例を示す概念図を併せて示している。変換後
のコードブロック160w3は、コードブロック160b3
を可逆(5,3)整数変換フィルタによりウェーブレッ
ト変換し、デコンポジションレベル1のウェーブレット
係数値を求めたものである。変換後のコードブロック1
60w3は、サブバンド(1LL,1HL,1LH,1H
H)に分割され、各サブバンドにはウェーブレット係数
値が割り当てられている。
Further, regarding the tile 160 t0 (tile 0) / precinct 160 p3 (precinct 3) / code block 160 b3 (code block 3), a conceptual diagram showing an example of a typical layer structure is also shown. The converted code block 160 w3 is the code block 160 b3.
Is subjected to wavelet transform by a reversible (5,3) integer transform filter to obtain the wavelet coefficient value of decomposition level 1. Code block 1 after conversion
60 w3 is a subband (1LL, 1HL, 1LH, 1H
H) and the wavelet coefficient value is assigned to each subband.

【0024】レイヤの構造は、ウェーブレット係数値を
横方向(ビットプレーン方向)から見ると理解し易い。
1つのレイヤは任意の数のビットプレーンから構成され
る。この例では、レイヤ0、1、2、3は、各々1、
3、1、3つのビットプレーンから成っている。そし
て、LSBに近いビットプレーンを含むレイヤ程、先に
量子化の対象となり、逆に、MSBに近いレイヤは最後
まで量子化されずに残ることになる。LSBに近いレイ
ヤから破棄する方法はトランケーションと呼ばれ、量子
化率を細かく制御することが可能である。
The layer structure is easy to understand when the wavelet coefficient values are viewed in the horizontal direction (bit plane direction).
One layer is composed of an arbitrary number of bit planes. In this example, layers 0, 1, 2, 3 are 1, respectively
It consists of 3, 1, and 3 bit planes. Then, a layer including a bit plane closer to the LSB is targeted for quantization earlier, and conversely, a layer closer to the MSB remains unquantized until the end. The method of discarding from the layer close to the LSB is called truncation, and the quantization rate can be finely controlled.

【0025】また、従来のJPEG圧縮伸長形式の場合
は、上記のJPEG2000で述べたタイルを、2次元
離散コサイン変換を行う、一辺が8ピクセルの正方形ブ
ロック、として読み替えれば良い。
Further, in the case of the conventional JPEG compression / expansion format, the tile described in the above JPEG2000 may be read as a square block having a side of 8 pixels, which is subjected to two-dimensional discrete cosine transform.

【0026】ここまでは、一般的な静止画像についての
説明であったが、この技術を動画像に拡張することも可
能である。すなわち、動画像の各フレームを1枚の静止
画像で構成し、これらの静止画像を、アプリケーション
に最適なフレーム速度でビデオデータを作成(符号化)
したり、あるいは表示(復号化)させることができる。
これが、静止画像のMotion圧縮伸長処理と言われ
ている機能である。この方式は、現在、動画像で広く使
われているMPEG形式のビデオ・ファイルには無い機
能、すなわち、フレーム単位で高品質な静止画像を扱え
るという利点を持っていることから、放送局等の業務分
野で注目を集め始めている。やがては、一般消費者向け
に普及する可能性も大きい。
Up to this point, a general still image has been described, but this technique can be extended to a moving image. That is, each frame of a moving image is composed of one still image, and video data is created (encoded) from these still images at a frame rate optimal for the application.
Or it can be displayed (decoded).
This is a function called the motion compression / decompression process of a still image. This system has a function not present in MPEG format video files that are widely used for moving images at the present time, that is, it has an advantage that high-quality still images can be handled on a frame-by-frame basis. It is starting to attract attention in the business field. Eventually, there is a high possibility that it will become popular with general consumers.

【0027】Motion静止画の圧縮伸長アルゴリズ
ムに要求されるスペックで、一般的な静止画像の圧縮伸
長アルゴリズムと大きく異なるのは、処理速度である。
なぜなら、動画像の品質を大きく左右するフレームレー
トを決めるからである。そのため、この機能を実現する
ためには、現在の段階では、ASICあるいはDSPと
いったハードウエア依存性の高い方法に限られている。
ソフトウエアで十分に高速な処理が可能となるまでに
は、半導体分野におけるプロセスデバイス技術、ソフト
ウエア分野における並列化コンパイラ技術、等の進歩を
待つ必要があると思われる。
The specifications required for the compression / expansion algorithm for Motion still images differ greatly from the compression / expansion algorithm for general still images in processing speed.
This is because the frame rate that greatly affects the quality of moving images is determined. Therefore, in order to realize this function, at the present stage, it is limited to a method having high hardware dependency such as ASIC or DSP.
It will be necessary to wait for progress in process device technology in the semiconductor field and parallelizing compiler technology in the software field, etc., before sufficiently high-speed processing is possible with software.

【0028】しかしながら、上記の従来技術によれば、
画像の圧縮伸長を行うと、重要な領域、注目する領域
と、そうでない領域とが同様に圧縮されてしまうという
問題点がある。例えば特開平6−350989号公報
(画像データ圧縮処理方法)は、上記問題点を鑑みた発
明で、画像を複数の領域に分割し、それぞれの領域に重
要度をつけ、重要度に従いそれぞれの領域の量子化率を
制御するものであるが、画像の領域ごとの重要性とは、
画像の所有者により千差万別であり、その個々人の要望
を反映できるものではない。また、量子化率の領域ごと
の設定を現存の画像圧縮装置に容易に組み込めるもので
はない。
However, according to the above prior art,
When the image is compressed and expanded, there is a problem that an important area, a focused area, and a non-important area are similarly compressed. For example, Japanese Patent Application Laid-Open No. 6-350989 (image data compression processing method) is an invention in view of the above problems and divides an image into a plurality of areas, assigns importance to each area, and assigns each area according to the importance. It controls the quantization rate of, but the importance of each region of the image is
The owners of the images vary widely and cannot reflect the needs of each individual. Further, the setting of the quantization rate for each area cannot be easily incorporated in the existing image compression apparatus.

【0029】また、例えば、特開2000−40142
号公報、特開2001−285642号公報に記載の発
明は、注目領域のビットを非注目領域に対し、ビットシ
フトすることにより、注目領域のデータを非注目領域に
対し、完全に優先するようにしたものである。しかし、
注目領域と非注目領域での画像の品質をきめ細かく制御
することができない上に、符号サイズを小さくした際に
は、注目領域以外はデータがないというような符号が作
成されることもある。
Further, for example, Japanese Patent Laid-Open No. 2000-40142.
In the inventions disclosed in Japanese Patent Laid-Open No. 2001-285642, the data in the attention area is completely prioritized over the non-attention area by bit-shifting the bits in the attention area to the non-attention area. It was done. But,
In addition to the inability to finely control the quality of images in the attention area and the non-attention area, when the code size is reduced, a code may be created such that there is no data other than the attention area.

【0030】[0030]

【発明が解決しようとする課題】本発明は、上述のごと
き問題点に鑑みてなされたものであり、画像の重要な領
域、注目する領域を画像の使用者により設定でき、か
つ、該設定された領域を使用者の要求に応じた精度で画
像圧縮することができ、これにより容易に実現可能な画
像圧縮装置、画像伸長装置、画像圧縮伸長装置、コンピ
ュータが実行できるプログラム、及び該プログラムを記
録した記録媒体を提供すること、を目的としてなされた
ものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an important area of an image and an area of interest can be set by a user of the image, and the set area can be set. The image compression device, the image decompression device, the image compression / decompression device, the computer-executable program, and the program can be recorded. The present invention is made for the purpose of providing the recording medium.

【0031】さらに、注目領域、非注目領域に対して、
きめ細かく解像度を設定することができ、該設定した解
像度に従って高画質を維持しつつ、高圧縮を実現するこ
と、また、その際の処理時間の短縮を実現すること、を
その目的とする。
Further, for the attention area and the non-attention area,
It is an object of the present invention to be able to finely set the resolution, to realize high compression while maintaining high image quality in accordance with the set resolution, and to shorten the processing time at that time.

【0032】さらに、注目領域、非注目領域ともに、デ
ータ量を削減しつつ、かつ、注目領域は高精度で、非注
目領域は精度を落とし、使用者の要求に合わせて領域ご
とに異なる精度で画像を圧縮すること、画像に対して注
目領域と非注目領域とを設定可能とし、設定された画像
領域ごとに、注目度を設定し、その設定に応じて残すビ
ット数を制御することにより、画像圧縮を行うこと、を
その目的とする。
Further, both the attention area and the non-attention area are reduced in data amount, and the attention area is highly accurate, the non-attention area is reduced in accuracy, and the accuracy is different for each area according to the user's request. By compressing the image, it is possible to set the attention area and the non-attention area for the image, set the attention degree for each set image area, and control the number of bits to be left according to the setting, The purpose is to perform image compression.

【0033】[0033]

【課題を解決するための手段】請求項1の発明は、画像
を複数の領域に分割する画像分割手段と、画像中の1ま
たは複数の注目領域を指定する領域指定手段と、前記画
像分割手段により分割した領域毎に量子化率を設定する
量子化率設定手段と、該設定した量子化率に基づいて領
域毎に圧縮を制御する圧縮制御手段とを有し、前記領域
指定手段により指定された注目領域に対し他の領域と異
なる量子化率を設定可能とすることを特徴としたもので
ある。
According to a first aspect of the present invention, an image dividing means for dividing an image into a plurality of areas, an area specifying means for specifying one or a plurality of attention areas in the image, and the image dividing means. And a compression control means for controlling compression for each area based on the set quantization rate, and a compression rate setting means for setting the quantization rate for each area divided by It is characterized in that a quantization rate different from that of other areas can be set for the noted area.

【0034】請求項2の発明は、請求項1の発明におい
て、前記領域指定手段により指定された注目領域に注目
度を設定する注目度設定手段を有し、該注目度が設定さ
れた注目領域に対して、注目度に応じて異なる量子化率
を設定することを特徴としたものである。
According to a second aspect of the present invention, in the first aspect of the present invention, there is provided an attention degree setting means for setting an attention degree to the attention area designated by the area designation means, and the attention area having the attention degree set therein. On the other hand, a different quantization rate is set according to the degree of attention.

【0035】請求項3の発明は、請求項1または2の発
明において、前記画像分割手段により分割された領域に
対し、少なくとも2種類の異なる量子化率を設定するこ
とを特徴としたものである。
According to a third aspect of the invention, in the first or second aspect of the invention, at least two different quantization rates are set for the areas divided by the image dividing means. .

【0036】請求項4の発明は、請求項3の発明におい
て、前記領域指定手段により指定された注目領域の量子
化率を、他の領域に対して高く設定することを特徴とし
たものである。
According to a fourth aspect of the present invention, in the third aspect of the invention, the quantization rate of the attention area designated by the area designating means is set higher than that of other areas. .

【0037】請求項5の発明は、請求項3の発明におい
て、前記領域指定手段により指定された注目領域の量子
化率を、他の領域に対して低く設定することを特徴とし
たものである。
According to a fifth aspect of the invention, in the third aspect of the invention, the quantization rate of the attention area designated by the area designating means is set to be lower than that of other areas. .

【0038】請求項6の発明は、画像を複数の領域に分
割する画像分割手段と、画像中の1または複数の注目領
域を指定する領域指定手段と、前記画像分割手段により
分割した領域毎にビット数を設定するビット数設定手段
と、該設定したビット数に基づいて領域毎に圧縮を制御
する圧縮制御手段とを有し、前記領域指定手段により指
定された注目領域に対し他の領域と異なるビット数を設
定可能とすることを特徴としたものである。
According to a sixth aspect of the present invention, an image dividing means for dividing an image into a plurality of areas, an area specifying means for specifying one or a plurality of attention areas in the image, and each area divided by the image dividing means. It has bit number setting means for setting the number of bits and compression control means for controlling the compression for each area based on the set bit number, and the area of interest specified by the area specifying means is different from other areas. The feature is that different numbers of bits can be set.

【0039】請求項7の発明は、請求項6の発明におい
て、前記領域指定手段により指定された注目領域に注目
度を設定する注目度設定手段を有し、該注目度が設定さ
れた注目領域に対して、注目度に応じて異なるビット数
を設定することを特徴としたものである。
According to a seventh aspect of the invention, in the sixth aspect of the invention, there is provided an attention degree setting means for setting the attention degree to the attention area designated by the area designation means, and the attention area having the attention degree set therein. On the other hand, a different number of bits is set according to the degree of attention.

【0040】請求項8の発明は、請求項6の発明におい
て、前記画像分割手段により分割された領域に対し、少
なくとも2種類の異なるビット数を前記注目度に応じて
設定することを特徴としたものである。
The invention of claim 8 is characterized in that, in the invention of claim 6, at least two different bit numbers are set for the areas divided by the image dividing means according to the degree of attention. It is a thing.

【0041】請求項9の発明は、請求項8の発明におい
て、前記領域指定手段により指定された注目領域のビッ
ト数を、他の領域に対して、前記注目度が高いほど多く
設定することを特徴としたものである。
According to a ninth aspect of the present invention, in the eighth aspect, the number of bits of the attention area designated by the area designating unit is set to be larger with respect to other areas as the degree of attention is higher. It is a feature.

【0042】請求項10の発明は、請求項8の発明にお
いて、前記領域指定手段により指定された注目領域のビ
ット数を、他の領域に対して、前記注目度が高いほど少
なく設定することを特徴としたものである。
According to a tenth aspect of the present invention, in the invention of the eighth aspect, the number of bits of the attention area designated by the area designating unit is set to be smaller with respect to other areas as the attention degree is higher. It is a feature.

【0043】請求項11の発明は、請求項1ないし10
のいずれか1の発明において、前記領域指定手段は、前
記画像分割手段により分割された領域の中から1または
複数の注目領域を指定することを特徴としたものであ
る。
The invention of claim 11 is based on claims 1 to 10.
In any one of the inventions, the area designating means designates one or a plurality of target areas from the areas divided by the image dividing means.

【0044】請求項12の発明は、請求項1ないし11
のいずれか1の発明において、前記領域指定手段は、画
像中の注目部分に合わせて1または複数の注目領域を指
定することを特徴としたものである。
The invention of claim 12 relates to claims 1 to 11.
In any one of the inventions, the area designating means designates one or a plurality of areas of interest in accordance with a portion of interest in the image.

【0045】請求項13の発明は、画像を複数の領域に
分割する画像分割手段と、該画像分割手段により分割し
た領域毎に解像度を設定する解像度設定手段と、該設定
した解像度に従って領域毎に異なる解像度で圧縮を制御
する圧縮制御手段とを有することを特徴としたものであ
る。
According to a thirteenth aspect of the present invention, an image dividing means for dividing an image into a plurality of areas, a resolution setting means for setting a resolution for each area divided by the image dividing means, and an area for each area according to the set resolution. It has a compression control means for controlling compression at different resolutions.

【0046】請求項14の発明は、請求項13の発明に
おいて、前記画像分割手段により分割された領域に対
し、少なくとも2種類の異なる解像度を設定することを
特徴としたものである。
According to a fourteenth aspect of the present invention, in the thirteenth aspect, at least two different resolutions are set for the areas divided by the image dividing means.

【0047】請求項15の発明は、請求項14の発明に
おいて、前記画像分割手段により分割された領域に対
し、少なくとも1つの領域の解像度を、他の領域よりも
高く設定することを特徴としたものである。
According to a fifteenth aspect of the invention, in the fourteenth aspect of the invention, the resolution of at least one of the areas divided by the image dividing means is set higher than that of the other areas. It is a thing.

【0048】請求項16の発明は、請求項14の発明に
おいて、前記画像分割手段により分割された領域に対
し、少なくとも1つの領域の解像度を、他の領域よりも
低く設定することを特徴としたものである。
According to a sixteenth aspect of the present invention, in the fourteenth aspect, the resolution of at least one area of the area divided by the image dividing means is set lower than that of the other areas. It is a thing.

【0049】請求項17の発明は、請求項13ないし1
6のいずれか1の発明において、前記解像度設定手段に
より設定された解像度に応じて、ウェーブレット係数の
計算を省略することを特徴としたものである。
The invention of claim 17 is based on claims 13 to 1.
In the invention of any one of 6), the calculation of the wavelet coefficient is omitted according to the resolution set by the resolution setting means.

【0050】請求項18の発明は、請求項17の発明に
おいて、前記計算を省略するウェーブレット係数は、高
周波成分であることを特徴としたものである。
The eighteenth aspect of the invention is characterized in that, in the seventeenth aspect of the invention, the wavelet coefficient for which the calculation is omitted is a high frequency component.

【0051】請求項19の発明は、請求項18の発明に
おいて、特定領域のウェーブレット係数の低周波成分の
計算に、平均計算を用いることを特徴としたものであ
る。
The invention of claim 19 is characterized in that, in the invention of claim 18, an average calculation is used for the calculation of the low frequency component of the wavelet coefficient of the specific region.

【0052】請求項20の発明は、請求項18の発明に
おいて、特定領域のウェーブレット係数の低周波成分の
計算に、特定要素を抽出して用いることを特徴としたも
のである。
The twentieth aspect of the invention is characterized in that, in the eighteenth aspect of the invention, a specific element is extracted and used for the calculation of the low frequency component of the wavelet coefficient of the specific region.

【0053】請求項21の発明は、請求項1ないし20
のいずれか1の発明において、画像を複数の領域に分割
する際に、タイルを用いて分割することを特徴としたも
のである。
The invention of claim 21 is the invention of claims 1 to 20.
In any one of the inventions described above, when the image is divided into a plurality of regions, the tiles are used for division.

【0054】請求項22の発明は、請求項1ないし20
のいずれか1の発明において、画像を複数の領域に分割
する際に、プレシンクトを用いて分割することを特徴と
したものである。
The invention of claim 22 is based on claims 1 to 20.
In any one of the inventions described above, when the image is divided into a plurality of regions, the image is divided using a precinct.

【0055】請求項23の発明は、請求項1ないし20
のいずれか1の発明において、画像を複数の領域に分割
する際に、コードブロックを用いて分割することを特徴
としたものである。
The invention of claim 23 is based on claims 1 to 20.
In any one of the inventions, when the image is divided into a plurality of regions, the division is performed using a code block.

【0056】請求項24の発明は、請求項1ないし20
のいずれか1の発明において、画像を複数の領域に分割
する際に、画素単位で分割することを特徴としたもので
ある。
The invention of claim 24 is based on claims 1 to 20.
In any one of the inventions, when the image is divided into a plurality of regions, the image is divided in pixel units.

【0057】請求項25の発明は、請求項1ないし20
のいずれか1の発明において、画像を複数の領域に分割
する際に、タイル、プレシンクト、コードブロック、画
素単位のうちいずれか2以上を組み合わせて分割するこ
とを特徴としたものである。
The invention of claim 25 is based on claims 1 to 20.
In any one of the inventions, when dividing an image into a plurality of regions, any two or more of tile, precinct, code block, and pixel unit are combined and divided.

【0058】請求項26の発明は、請求項1ないし25
のいずれか1の発明において、画像を複数の領域に分割
する際に、画像中の注目部分に合わせて領域を設定し、
該設定した領域により画像を分割することを特徴とした
ものである。
The invention of claim 26 is based on claims 1 to 25.
In any one of the inventions 1 to 3, when the image is divided into a plurality of regions, the region is set in accordance with a target portion in the image,
The feature is that the image is divided according to the set area.

【0059】請求項27の発明は、請求項26の発明に
おいて、分割された領域の境界が、タイル境界であるこ
とを特徴としたものである。
The invention of claim 27 is characterized in that, in the invention of claim 26, the boundary of the divided areas is a tile boundary.

【0060】請求項28の発明は、請求項26の発明に
おいて、分割された領域の境界が、プレシンクト境界で
あることを特徴としたものである。
According to a twenty-eighth aspect of the present invention, in the twenty-sixth aspect, the boundary of the divided areas is a precinct boundary.

【0061】請求項29の発明は、請求項26の発明に
おいて、分割された領域の境界が、コードブロック境界
であることを特徴としたものである。
The invention of claim 29 is characterized in that, in the invention of claim 26, the boundary of the divided areas is a code block boundary.

【0062】請求項30の発明は、請求項26の発明に
おいて、分割された領域の境界が、タイル境界、プレシ
ンクト境界、コードブロック境界のうちいずれか2以上
の境界であることを特徴としたものである。
The invention of claim 30 is characterized in that, in the invention of claim 26, the boundaries of the divided areas are any two or more of a tile boundary, a precinct boundary and a code block boundary. Is.

【0063】請求項31の発明は、画像を複数の領域に
分割する画像分割手段と、該画像分割手段により分割し
た領域をビットプレーンに分解するビットプレーン分解
手段と、該分解したビットプレーンに対して注目度を設
定する注目度設定手段と、該ビットプレーンに設定した
注目度に基づいて領域毎に圧縮を制御する圧縮制御手段
とを有し、前記ビットプレーンに設定された注目度に応
じて圧縮画像を生成することを特徴としたものである。
According to a thirty-first aspect of the present invention, an image dividing means for dividing an image into a plurality of areas, a bit plane decomposition means for dividing the area divided by the image dividing means into bit planes, and the decomposed bit planes And a compression control unit that controls compression for each area based on the attention level set for the bit plane, and the attention degree setting unit sets the attention level according to the attention level set for the bit plane. The feature is that a compressed image is generated.

【0064】請求項32の発明は、画像を複数の領域に
分割する画像分割手段と、該画像分割手段により分割し
た領域をビットプレーンに分解するビットプレーン分解
手段と、該分解したビットプレーンに対して注目度を設
定する注目度設定手段と、該ビットプレーンに設定した
注目度に基づいて領域毎に圧縮を制御する圧縮制御手段
と、前記注目度に基づいてタグ処理を制御するタグ処理
制御手段とを有し、前記ビットプレーンに設定された注
目度に応じて圧縮画像を生成することを特徴としたもの
である。
According to a thirty-second aspect of the present invention, an image dividing unit that divides an image into a plurality of regions, a bit plane decomposition unit that decomposes the region divided by the image dividing unit into bit planes, and the decomposed bit planes Degree setting means for setting the degree of attention, compression control means for controlling compression for each region based on the degree of attention set in the bit plane, and tag processing control means for controlling tag processing based on the degree of attention And a compressed image is generated according to the degree of attention set in the bit plane.

【0065】請求項33の発明は、請求項31または3
2の発明において、前記画像分割手段により分割された
領域それぞれに応じたビットプレーンに対し前記注目度
を設定することを特徴としたものである。
The invention of claim 33 relates to claim 31 or 3
In the second invention, the attention level is set for the bit planes corresponding to the respective areas divided by the image dividing means.

【0066】請求項34の発明は、請求項33の発明に
おいて、前記画像分割手段により分割された領域それぞ
れに応じたビットプレーンに対し、少なくとも2種類の
異なる注目度を設定することを特徴としたものである。
According to a thirty-fourth aspect of the present invention, in the thirty-third aspect, at least two different attention levels are set for the bit planes corresponding to the areas divided by the image dividing means. It is a thing.

【0067】請求項35の発明は、請求項33の発明に
おいて、前記画像分割手段により分割された少なくとも
1つの画像領域のビットプレーンに、他の画像領域に設
定した注目度に対して高い注目度を多く設定することを
特徴としたものである。
According to a thirty-fifth aspect of the present invention, in the thirty-third aspect, the bit plane of at least one image area divided by the image dividing means has a higher degree of attention than a degree of attention set in another image area. It is characterized by setting many.

【0068】請求項36の発明は、請求項33の発明に
おいて、前記画像分割手段により分割された少なくとも
1つの画像領域のビットプレーンに、他の画像領域に設
定した注目度に対して高い注目度を少なく設定すること
を特徴としたものである。
According to a thirty-sixth aspect of the present invention, in the thirty-third aspect, the bit plane of at least one image area divided by the image dividing means has a higher attention degree than the attention degree set in another image area. It is characterized by setting a small number.

【0069】請求項37の発明は、請求項1ないし36
のいずれか1の発明において、2次元離散ウェーブレッ
ト変換器と、量子化器と、エントロピー符号化器との組
合せで構成されていることを特徴としたものである。
The invention of claim 37 is based on claims 1 to 36.
In any one of the inventions described above, the two-dimensional discrete wavelet transformer, the quantizer, and the entropy encoder are combined.

【0070】請求項38の発明は、請求項31ないし3
7のいずれか1に記載の画像圧縮装置を用いて圧縮した
圧縮画像を伸長する画像伸長装置であって、圧縮画像
を、該圧縮画像に含まれる、前記注目度に関する情報に
基づいて伸長することを特徴としたものである。
The invention of claim 38 is based on claims 31 to 3.
An image decompression device for decompressing a compressed image compressed by using the image compression device according to any one of 7, wherein the compressed image is decompressed based on the attention-related information included in the compressed image. It is characterized by.

【0071】請求項39の発明は、請求項13ないし2
5のいずれか1に記載の画像圧縮装置を用いて圧縮した
圧縮画像を伸長する画像伸長装置であって、圧縮画像
を、該圧縮画像に含まれる、前記解像度に関する情報に
基づいて伸長することを特徴としたものである。
The invention of claim 39 relates to claims 13 to 2.
An image decompression device for decompressing a compressed image compressed using the image compression device according to any one of 5, wherein the compressed image is decompressed based on the information regarding the resolution included in the compressed image. It is a feature.

【0072】請求項40の発明は、請求項1ないし37
のいずれか1に記載の画像圧縮装置を用いて圧縮した圧
縮画像を伸長する画像伸長装置であって、圧縮画像を、
該圧縮画像に含まれる、前記画像分割手段により分割さ
れた領域の情報に基づいて伸長することを特徴としたも
のである。
The invention of claim 40 is based on claims 1 to 37.
An image decompression device for decompressing a compressed image compressed using the image compression device according to any one of 1,
It is characterized in that the compressed image is decompressed based on the information of the area divided by the image dividing means.

【0073】請求項41の発明は、画像を複数の領域に
分割し、該分割した領域毎に量子化率を設定し、該設定
した量子化率に基づいて領域毎に圧縮を制御して圧縮さ
れた圧縮画像を伸長する画像伸長装置であって、圧縮画
像を、該圧縮画像に含まれる、分割された領域の情報に
基づいて伸長することを特徴としたものである。
According to a forty-first aspect of the invention, the image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, and compression is performed by controlling the compression for each area based on the set quantization rate. An image decompression device for decompressing a compressed image that has been compressed is characterized by decompressing a compressed image based on information of divided areas included in the compressed image.

【0074】請求項42の発明は、画像を複数の領域に
分割し、該分割した領域毎にビット数を設定し、該設定
したビット数に基づいて領域毎に圧縮を制御して圧縮さ
れた圧縮画像を伸長する画像伸長装置であって、圧縮画
像を、該圧縮画像に含まれる、分割された領域の情報に
基づいて伸長することを特徴としたものである。
According to a forty-second aspect of the invention, the image is divided into a plurality of areas, the number of bits is set for each of the divided areas, and compression is controlled for each area based on the set number of bits for compression. An image decompression device for decompressing a compressed image, which is characterized in that the compressed image is decompressed based on information of a divided area included in the compressed image.

【0075】請求項43の発明は、請求項38ないし4
2のいずれか1の発明において、2次元離散ウェーブレ
ット逆変換器と、逆量子化器と、エントロピー復号化器
との組合せで構成されていることを特徴としたものであ
る。
The invention of claim 43 is based on claims 38 to 4.
The invention of any one of 2) is characterized in that it is configured by a combination of a two-dimensional discrete wavelet inverse transformer, an inverse quantizer, and an entropy decoder.

【0076】請求項44の発明は、画像を複数の領域に
分割し、該分割した領域毎に量子化率を設定し、該設定
した量子化率に基づいて領域毎に圧縮を制御して圧縮
し、該圧縮した圧縮画像を伸長する画像圧縮伸長装置で
あって、2次元離散ウェーブレット変換・逆変換器と、
量子化・逆量子化器と、エントロピー符号化・復号化器
との組合せで構成されていることを特徴としたものであ
る。
According to a forty-fourth aspect of the invention, the image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, and compression is performed by controlling compression for each area based on the set quantization rate. An image compression / decompression device for decompressing the compressed compressed image, comprising a two-dimensional discrete wavelet transform / inverse transformer,
It is characterized by being configured by a combination of a quantizer / inverse quantizer and an entropy encoder / decoder.

【0077】請求項45の発明は、画像を複数の領域に
分割し、該分割した領域毎にビット数を設定し、該設定
したビット数に基づいて領域毎に圧縮を制御して圧縮
し、該圧縮した圧縮画像を伸長する画像圧縮伸長装置で
あって、2次元離散ウェーブレット変換・逆変換器と、
量子化・逆量子化器と、エントロピー符号化・復号化器
との組合せで構成されていることを特徴としたものであ
る。
According to a forty-fifth aspect of the present invention, the image is divided into a plurality of areas, the number of bits is set for each of the divided areas, and compression is performed by controlling the compression for each area based on the set number of bits. An image compression / decompression device for decompressing the compressed compressed image, comprising a two-dimensional discrete wavelet transform / inverse transformer,
It is characterized by being configured by a combination of a quantizer / inverse quantizer and an entropy encoder / decoder.

【0078】請求項46の発明は、画像を複数の領域に
分割し、該分割した領域をビットプレーンに分解し、該
分解したビットプレーンに注目度を設定し、該設定した
注目度に基づいて領域毎に圧縮を制御し、該設定した注
目度に基づいてタグ情報を制御して圧縮画像を生成し、
該生成した圧縮画像を伸長する画像圧縮伸長装置であっ
て、2次元離散ウェーブレット変換・逆変換器と、量子
化・逆量子化器と、エントロピー符号化・復号化器との
組合せで構成されていることを特徴としたものである。
According to the forty-sixth aspect of the present invention, the image is divided into a plurality of areas, the divided areas are decomposed into bit planes, the degree of attention is set to the decomposed bit planes, and the degree of attention is set based on the set degree of attention. The compression is controlled for each area, and the tag information is controlled based on the set degree of attention to generate a compressed image,
An image compression / decompression device for decompressing the generated compressed image, comprising a combination of a two-dimensional discrete wavelet transform / inverse transformer, a quantizer / inverse quantizer, and an entropy encoder / decoder. It is characterized by being present.

【0079】請求項47の発明は、画像を複数の領域に
分割する手段と、該分割した領域毎に解像度を設定する
手段と、該設定した解像度に従って領域毎に異なる解像
度で圧縮を制御する手段と、該圧縮した圧縮画像を、該
圧縮画像に設定された解像度に基づいて伸長する手段と
を有することを特徴としたものである。
According to a forty-seventh aspect of the present invention, means for dividing an image into a plurality of areas, means for setting a resolution for each of the divided areas, and means for controlling compression at a different resolution for each area according to the set resolution. And a means for expanding the compressed compressed image based on the resolution set in the compressed image.

【0080】請求項48の発明は、請求項1ないし37
のいずれか1に記載の画像圧縮装置に、更に2次元離散
ウェーブレット変換・逆変換器と、量子化・逆量子化器
と、エントロピー符号化・復号化器との組合せで構成さ
れていることを特徴としたものである。
The invention of claim 48 is based on claims 1 to 37.
The image compression device according to any one of 1 to 3, further comprising a combination of a two-dimensional discrete wavelet transform / inverse transformer, a quantizer / inverse quantizer, and an entropy encoder / decoder. It is a feature.

【0081】請求項49の発明は、画像を複数の領域に
分割する画像分割ステップと、画像中の1または複数の
注目領域を指定する領域指定ステップと、前記分割した
領域毎に量子化率を設定する量子化率設定ステップと、
該設定した量子化率に基づいて領域毎に圧縮を制御する
圧縮制御ステップとを有し、前記注目領域に対し他の領
域と異なる量子化率を設定可能とすることを特徴とした
ものである。
According to a 49th aspect of the invention, an image dividing step of dividing an image into a plurality of areas, an area specifying step of specifying one or a plurality of attention areas in the image, and a quantization rate for each of the divided areas are set. Quantization rate setting step to set,
A compression control step of controlling compression for each area based on the set quantization rate, and a quantization rate different from that of other areas can be set for the attention area. .

【0082】請求項50の発明は、画像を複数の領域に
分割する画像分割ステップと、画像中の1または複数の
注目領域を指定する領域指定ステップと、前記分割した
領域毎にビット数を設定するビット数設定ステップと、
該設定したビット数に基づいて領域毎に圧縮を制御する
圧縮制御ステップとを有し、前記注目領域に対し他の領
域と異なるビット数を設定可能とすることを特徴とした
ものである。
According to a fiftieth aspect of the present invention, an image dividing step of dividing an image into a plurality of areas, an area specifying step of specifying one or a plurality of attention areas in the image, and a bit number for each of the divided areas are set. Bit number setting step,
A compression control step of controlling compression for each area based on the set number of bits, and a bit number different from those of other areas can be set for the attention area.

【0083】請求項51の発明は、画像を複数の領域に
分割する画像分割ステップと、該分割した領域をビット
プレーンに分解するビットプレーン分解ステップと、該
分解したビットプレーンに対して注目度を設定する注目
度設定ステップと、該ビットプレーンに設定した注目度
に基づいて領域毎に圧縮を制御する圧縮制御ステップ
と、前記注目度に基づいてタグ処理を制御するタグ処理
制御ステップとを有し、前記ビットプレーンに設定され
た注目度に応じて圧縮画像を生成することを特徴とした
ものである。
According to a fifty-first aspect of the invention, an image division step of dividing an image into a plurality of areas, a bit plane decomposition step of decomposing the divided areas into bit planes, and a degree of attention to the decomposed bit planes An attention level setting step for setting, a compression control step for controlling compression for each area based on the attention degree set for the bit plane, and a tag processing control step for controlling tag processing based on the attention degree. The compressed image is generated according to the attention level set in the bit plane.

【0084】請求項52の発明は、画像を複数の領域に
分割する画像分割ステップと、該分割した領域毎に解像
度を設定する解像度設定ステップと、該設定した解像度
に従って領域毎に異なる解像度で圧縮を制御する圧縮制
御ステップとを有することを特徴としたものである。
According to a fifty-second aspect of the invention, an image dividing step of dividing an image into a plurality of areas, a resolution setting step of setting a resolution for each of the divided areas, and a compression with a different resolution for each area according to the set resolution. And a compression control step for controlling.

【0085】請求項53の発明は、画像を複数の領域に
分割し、該分割した領域毎に量子化率を設定し、該設定
した量子化率に基づいて領域毎に圧縮を制御して圧縮さ
れた圧縮画像を伸長する画像伸長方法であって、圧縮画
像を、該圧縮画像に含まれる、分割された領域の情報に
基づいて伸長することを特徴としたものである。
According to a fifty-third aspect of the invention, the image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, and compression is performed by controlling compression for each area based on the set quantization rate. An image decompression method for decompressing a compressed image that has been compressed is characterized in that the compressed image is decompressed based on information of divided areas included in the compressed image.

【0086】請求項54の発明は、画像を複数の領域に
分割し、該分割した領域毎にビット数を設定し、該設定
したビット数に基づいて領域毎に圧縮を制御して圧縮さ
れた圧縮画像を伸長する画像伸長方法であって、圧縮画
像を、該圧縮画像に含まれる、分割された領域の情報に
基づいて伸長することを特徴としたものである。
According to the invention of claim 54, the image is divided into a plurality of areas, the number of bits is set for each of the divided areas, and the compression is controlled for each area based on the set number of bits for compression. An image decompression method for decompressing a compressed image is characterized in that the compressed image is decompressed based on information of a divided area included in the compressed image.

【0087】請求項55の発明は、画像を複数の領域に
分割し、該分割した領域のビットプレーン毎に注目度を
設定し、該設定した注目度に基づいて領域毎に圧縮を制
御し、該設定した注目度に基づいてタグ処理を制御して
生成された圧縮画像を伸長する画像伸長方法であって、
圧縮画像を、該圧縮画像に含まれる、前記注目度に関す
る情報に基づいて伸長することを特徴としたものであ
る。
According to the 55th aspect of the present invention, the image is divided into a plurality of areas, the attention level is set for each bit plane of the divided area, and the compression is controlled for each area based on the set attention level. An image decompression method for decompressing a compressed image generated by controlling tag processing based on the set attention level,
It is characterized in that a compressed image is expanded based on the information regarding the degree of attention included in the compressed image.

【0088】請求項56の発明は、請求項1ないし37
のいずれか1に記載の画像圧縮装置又は該画像圧縮装置
の各手段として、或いは、請求項38ないし43のいず
れか1に記載の画像伸長装置又は該画像伸長装置の各手
段として、コンピュータを機能させるためのプログラム
である。
The invention of claim 56 is based on claims 1 to 37.
A computer functioning as the image compression apparatus according to any one of claims 1 to 3 or each unit of the image compression apparatus, or as the image decompression apparatus according to any one of claims 38 to 43 or each unit of the image decompression apparatus. It is a program to let you.

【0089】請求項57の発明は、請求項1ないし37
のいずれか1に記載の画像圧縮装置又は該画像圧縮装置
の各手段として、或いは、請求項38ないし43のいず
れか1に記載の画像伸長装置又は該画像伸長装置の各手
段として、コンピュータを機能させるためのプログラム
を記録したコンピュータ読み取り可能な記録媒体であ
る。
The invention of claim 57 is based on claims 1 to 37.
A computer functioning as the image compression apparatus according to any one of claims 1 to 3 or each unit of the image compression apparatus, or as the image decompression apparatus according to any one of claims 38 to 43 or each unit of the image decompression apparatus. It is a computer-readable recording medium in which a program for causing the program is recorded.

【0090】[0090]

【発明の実施の形態】図1は、本発明の一実施形態に係
わる静止画像を対象とした画像圧縮伸長装置の構成例を
示すブロック図で、図中、10は色空間変換・逆変換
部、11は第1コンポーネントで、該第1コンポーネン
ト11は、ウェーブレット変換・逆変換部11a、量子
化率選択部11b、量子化・逆量子化部11c、エント
ロピー符号・復号化部11dからなり、同様に第2コン
ポーネント12は、ウェーブレット変換・逆変換部12
a、量子化率選択部12b、量子化・逆量子化部12
c、エントロピー符号・復号化部12dからなり、第3
コンポーネント13は、ウェーブレット変換・逆変換部
13a、量子化率選択部13b、量子化・逆量子化部1
3c、エントロピー符号・復号化部13dからなり、1
4はコードストリーム処理部、15は量子化率設定部で
ある。
1 is a block diagram showing an example of the configuration of an image compression / decompression device for still images according to an embodiment of the present invention, in which 10 is a color space conversion / inverse conversion unit. , 11 are first components, and the first component 11 includes a wavelet transform / inverse transform unit 11a, a quantization rate selection unit 11b, a quantization / inverse quantization unit 11c, and an entropy coding / decoding unit 11d. The second component 12 is a wavelet transform / inverse transform unit 12
a, a quantization rate selection unit 12b, a quantization / inverse quantization unit 12
c, an entropy coding / decoding unit 12d, and a third
The component 13 includes a wavelet transform / inverse transform unit 13a, a quantization rate selection unit 13b, a quantization / inverse quantization unit 1
3c, comprising an entropy coding / decoding section 13d, 1
Reference numeral 4 is a code stream processing unit, and 15 is a quantization rate setting unit.

【0091】なお、図1に示す画像圧縮伸長装置におい
ては、画像の圧縮及び伸長に対応できるように各処理ブ
ロックにおける変換・逆変換部を1つとして図示してい
るが、変換部と逆変換部に分けた形態をとってもよい。
こうすることで画像圧縮装置、画像伸長装置として各々
独立して用いることが可能となる。また、本発明の画像
圧縮伸長装置、または画像伸長装置において伸長される
圧縮画像は、本発明の画像圧縮装置により圧縮された圧
縮画像に限定されず、画像を複数の領域に分割し、分割
した領域毎に量子化率を設定し、設定した量子化率に基
づいて領域毎に圧縮を制御して圧縮された圧縮画像全般
に適用することができる。
In the image compression / decompression device shown in FIG. 1, one conversion / inverse conversion unit in each processing block is shown so as to be able to deal with image compression and expansion. You may take the form divided into parts.
By doing so, it becomes possible to independently use the image compression device and the image expansion device. Further, the image compression / decompression device of the present invention or the compressed image decompressed by the image decompression device is not limited to the compressed image compressed by the image compression device of the present invention, and the image is divided into a plurality of regions and divided. It is possible to set the quantization rate for each area, control the compression for each area based on the set quantization rate, and apply the compression image to all compressed images.

【0092】本発明によると、JPEG2000におけ
るDWTを用いた方式を、画像圧縮伸長処理を実現する
ための具体的な装置構成に導入したので、現在および将
来に渡って、本発明を利用し続けることができる。
According to the present invention, the method using the DWT in JPEG2000 is introduced into a concrete apparatus configuration for realizing the image compression / expansion processing, and therefore, the present invention can be continuously used now and in the future. You can

【0093】上記に示す画像圧縮伸長装置は、静止画像
を対象としたものである。処理はコンポーネント11,
12,13毎に並列に進められる。ここでの色空間は、
RGBあるいはYUVである。以下、圧縮する場合につ
いて説明する。まず、色空間変換・逆変換部10におい
て、RGBあるいはYUVの色空間に変換され、コンポ
ーネント11,12,13毎に並列に処理が進められ
る。ここでは第1コンポーネント11を例に説明する
が、他の第2コンポーネント12及び第3コンポーネン
ト13も同様の処理がなされる。まず、色空間変換され
た画像は、タイル領域に分割され、分割されたタイル領
域毎にウェーブレット変換・逆変換部11aにてウェー
ブレット変換処理される。ここで、分割される領域は、
タイルを用いて領域分割され、プレシンクト、コードブ
ロックについては、ウェーブレット変換処理後に領域分
割が行われる。また、これらのタイル、プレシンクト、
コードブロックを組み合わせて領域分割することもでき
る。
The image compression / decompression device shown above is intended for still images. Processing is component 11,
It progresses in parallel every 12 and 13. The color space here is
RGB or YUV. The case of compression will be described below. First, in the color space conversion / inverse conversion unit 10, the color space is converted into the RGB or YUV color space, and the processing is performed in parallel for each of the components 11, 12, and 13. Here, the first component 11 will be described as an example, but other second components 12 and third components 13 are also subjected to similar processing. First, the image subjected to color space conversion is divided into tile areas, and wavelet conversion processing is performed by the wavelet conversion / inverse conversion unit 11a for each divided tile area. Here, the divided area is
Region division is performed using tiles, and precincts and code blocks are segmented after wavelet transform processing. Also, these tiles, precincts,
It is also possible to combine code blocks to divide into regions.

【0094】次に、量子化率選択部11bでは、ウェー
ブレット変換された領域毎に量子化率を選択するが、使
用者により注目領域を指定し、領域毎に量子化率を設定
する場合、量子化率設定部15にて画像中の注目領域を
指定し、該指定した注目領域に対し、他の領域と異なる
量子化率を設定することができる。こうして、画像の領
域毎に量子化率を決定したあと、ウェーブレット係数は
量子化・逆量子化部11cで量子化され、さらにエント
ロピー符号・復号化部11dで符号化が行われる。最後
にコードストリーム処理部14でコードストリームの生
成が行われる。
Next, the quantization rate selecting unit 11b selects the quantization rate for each wavelet-transformed area. When the user specifies the attention area and sets the quantization rate for each area, The region of interest in the image can be designated by the quantization rate setting unit 15, and a quantization rate different from that of other regions can be set for the designated region of interest. In this way, after the quantization rate is determined for each area of the image, the wavelet coefficient is quantized by the quantization / inverse quantization unit 11c, and further encoded by the entropy coding / decoding unit 11d. Finally, the codestream processing unit 14 generates a codestream.

【0095】本発明によると、使用者の選択した領域に
合わせて量子化率を設定し、該量子化率に基づき圧縮を
制御するため、個々人の嗜好にあった画像圧縮の実現が
可能となる。
According to the present invention, the quantization rate is set according to the area selected by the user, and the compression is controlled based on the quantization rate. Therefore, it is possible to realize the image compression that suits the individual taste. .

【0096】図2は、本発明が適用される画像圧縮伸長
装置の構成例の詳細を説明するためのブロック図で、図
中、20は圧縮伸長装置で、該圧縮伸長装置20は、色
空間変換・逆変換部20a、2次元ウェーブレット変換
・逆変換部20b、量子化・逆量子化部20c、エント
ロピー符号・復号化部20d、タグ処理部20eからな
り、21は画像分割手段、22は圧縮制御手段、23は
量子化率設定手段、24は領域指定手段である。圧縮伸
長装置20は、前述した図1に示した各コンポーネント
における処理と同様の処理を行う。ここでタグ処理部2
0eは、JPEG2000の特徴の1つとして追加され
たもので、コードストリームの生成や解釈を行うための
機能ブロックである。
FIG. 2 is a block diagram for explaining the details of a configuration example of an image compression / expansion apparatus to which the present invention is applied. In the figure, 20 is a compression / expansion apparatus, and the compression / expansion apparatus 20 is a color space. The transform / inverse transform unit 20a, the two-dimensional wavelet transform / inverse transform unit 20b, the quantization / inverse quantization unit 20c, the entropy coding / decoding unit 20d, and the tag processing unit 20e, 21 is an image dividing unit, and 22 is a compression unit. Control means, 23 is a quantization rate setting means, and 24 is a region designating means. The compression / decompression device 20 performs the same processing as the processing in each component shown in FIG. 1 described above. Here, the tag processing unit 2
0e is added as one of the features of JPEG2000, and is a functional block for generating and interpreting a codestream.

【0097】原画像は、色空間変換・逆変換部20aで
色空間変換後、画像分割手段21にて複数の領域に分割
される。画像分割する際に、タイル、プレシンクト、コ
ードブロックのいずれかを用いて分割されるが、これら
の中のいずれか2つまたは3つ全てを組み合わせて分割
してもよい。また、画像中の注目部分を指定し、その注
目部分に合わせて注目領域を設定し、設定した領域によ
り画像を分割することもできる。この場合、領域の分割
単位に応じて、分割した領域の境界がタイル境界、プレ
シンクト境界、コードブロック境界のいずれかの境界と
なるか、もしくは、これらの中のいずれか2つまたは3
つ全てが領域の境界となる。
The original image is color space converted by the color space conversion / inverse conversion unit 20a, and then divided into a plurality of regions by the image dividing means 21. When the image is divided, one of the tile, the precinct, and the code block is used for division, but any two or all of these may be combined and divided. It is also possible to specify a target portion in the image, set a target area in accordance with the target portion, and divide the image by the set area. In this case, the boundary of the divided area is a tile boundary, a precinct boundary, or a code block boundary, or any two or three of them, depending on the division unit of the area.
All three are the boundaries of the area.

【0098】本発明によると、画像の領域分割に、JP
EG2000の標準仕様となるタイル、プレシンクト、
コードブロックを用いることにより、容易に圧縮制御の
実現が可能となる。
According to the present invention, JP
Tile, precinct, which is the standard specification of EG2000,
The compression control can be easily realized by using the code block.

【0099】領域指定手段24にて画像中の注目領域を
指定する。具体的には、例えばディスプレイ等に表示さ
れた画像中の注目部分をマウスやキーボード等の入力手
段を用いて範囲指定し、その指定した範囲に合わせて注
目領域として指定することができる。この際、指定する
注目領域は、1つでも複数でも構わない。また、別の方
法として、画像分割手段21にてタイル、またはプレシ
ンクト、またはコードブロックを用いて分割された領域
の中から注目領域を指定してもよい。この場合、例えば
ディスプレイ等に表示された画像に対し、分割した領域
毎に番号を割り当てて、注目領域に該当する番号をマウ
スやキーボード等により指定することで注目領域の指定
をすることができる。この時も指定する注目領域は、1
つでも複数でも構わない。
The area specifying means 24 specifies the area of interest in the image. Specifically, for example, a target portion in an image displayed on a display or the like can be designated as a target region by using an input means such as a mouse or a keyboard, and can be designated as a target region in accordance with the designated range. At this time, the attention area to be designated may be one or more. As another method, the attention area may be designated from the areas divided by the image dividing unit 21 using tiles, precincts, or code blocks. In this case, for example, for the image displayed on the display or the like, a number is assigned to each of the divided areas, and the number corresponding to the attention area is designated by the mouse or the keyboard, whereby the attention area can be designated. At this time, the attention area specified is 1
One or more may be used.

【0100】本発明によると、画像を複数の領域に分割
する際に、使用者の設定した領域に合わせて画像を分割
するため、効率的な画像の圧縮制御が可能となる。ま
た、JPEG2000の標準仕様となるタイル、プレシ
ンクト、コードブロックを用いることにより、容易に圧
縮制御の実現が可能となる。
According to the present invention, when an image is divided into a plurality of areas, the image is divided according to the area set by the user, so that efficient image compression control is possible. Further, by using tiles, precincts, and code blocks that are the standard specifications of JPEG2000, compression control can be easily realized.

【0101】量子化率設定手段23にて領域毎に量子化
率を設定する。具体的には、領域指定手段24で指定さ
れた注目領域に注目度を設定しておく。ここで注目度と
は、例えば高精細にしたい領域ほど量子化率を低減する
といった、画像における注目領域の圧縮を制御するため
の目安となるもので、後述する注目度設定手段を用いて
注目領域毎に使用者の嗜好に応じて適宜設定することが
できる。使用者により設定された注目度に応じて異なる
量子化率を設定することで、画質精度を維持しつつ、圧
縮することが可能となる。また、通常よく利用される形
態としては、分割された領域に対して2種類の量子化率
を設定することもできる。この場合、注目領域と、他の
領域との量子化率が異なるように量子化率を設定すれば
よい。すなわち、注目領域の量子化率が他の領域より高
く設定された場合、注目領域の方が画質的には粗くな
り、注目領域の量子化率が他の領域より低く設定された
場合、注目領域の方が画質的には高精細となる。このよ
うに使用者の嗜好に応じて適宜量子化率を設定すること
ができる。
The quantization rate setting means 23 sets the quantization rate for each area. Specifically, the attention level is set in the attention area designated by the area designating unit 24. Here, the degree of attention is a standard for controlling compression of the attention area in the image, for example, reducing the quantization rate in a region where higher definition is desired, and the attention area is set by using the attention degree setting means described later. It can be set appropriately for each user's preference. By setting different quantization rates according to the degree of attention set by the user, it is possible to perform compression while maintaining image quality accuracy. In addition, as a form that is often used, two kinds of quantization rates can be set for divided areas. In this case, the quantization rate may be set such that the attention area and the other areas have different quantization rates. That is, if the quantization rate of the attention area is set higher than that of the other area, the attention area becomes coarser in terms of image quality, and if the quantization rate of the attention area is set lower than that of the other area, Is higher in terms of image quality. In this way, the quantization rate can be appropriately set according to the preference of the user.

【0102】本発明によると、注目領域に設定した注目
度に応じて量子化率を複数設定することで、画質を高精
度に維持しつつ、圧縮制御することが可能となる。ま
た、画像を分割した領域に対し少なくとも2種類の量子
化率をとるため、簡単な構成により、容易に使用者の嗜
好を反映させた圧縮制御が実現できる。
According to the present invention, by setting a plurality of quantization rates according to the degree of attention set in the attention area, it is possible to perform compression control while maintaining high image quality. Further, since at least two kinds of quantization rates are set for the divided areas of the image, it is possible to easily realize the compression control that reflects the user's preference with a simple configuration.

【0103】圧縮制御手段22では、設定された量子化
率に基づいて領域毎に圧縮を制御する。圧縮制御された
領域は、量子化・逆量子化部20cにて量子化率に基づ
き量子化され、エントロピー符号・復号化部20dでエ
ントロピー符号化されて、タグ処理部20eでコードス
トリーム処理される。
The compression control means 22 controls the compression for each area based on the set quantization rate. The compression-controlled area is quantized by the quantization / inverse quantization section 20c based on the quantization rate, entropy coded by the entropy coding / decoding section 20d, and code stream processed by the tag processing section 20e. .

【0104】図3は、本発明に係わる動画像を対象とし
た画像圧縮伸長装置の構成例を示すブロック図で、図
中、30は動画像を対象とした動画像圧縮伸長装置で、
該動画像圧縮伸長装置30は、フレーム制御手段30
a、静止画像圧縮伸長手段30b、圧縮動画像処理手段
30cからなる。動画像圧縮伸長装置30は、動画像を
受け取ると、フレーム制御手段30aで、フレームの制
御を行い、フレーム毎に、静止画像圧縮伸長手段30b
に渡す。静止画像圧縮伸長手段30bは、前述の図2に
示したように、静止画像の圧縮伸長を行う。圧縮された
画像は、圧縮動画像処理手段30cで、圧縮動画像の作
成を行う。この際、処理速度向上のために、複数の静止
画像圧縮伸長手段30bを備えてもよい。また、領域毎
の量子化率の設定は、全画像に対し設定を行うことも可
能であるし、変化が発生する際に設定する方法、または
対象物の移動をフレーム間差分データ等から自動的に検
出し、量子化率を設定する方法等もとることができる。
FIG. 3 is a block diagram showing a configuration example of an image compression / decompression device for a moving image according to the present invention. In the figure, 30 is a moving image compression / decompression device for a moving image.
The moving picture compression / decompression device 30 includes frame control means 30.
a, a still image compression / decompression unit 30b, and a compressed moving image processing unit 30c. When the moving image compression / decompression device 30 receives the moving image, the frame control unit 30a controls the frame, and the still image compression / decompression unit 30b is performed for each frame.
Pass to. The still image compression / decompression means 30b compresses / decompresses a still image as shown in FIG. The compressed image is created by the compressed moving image processing means 30c. At this time, a plurality of still image compression / decompression means 30b may be provided to improve the processing speed. In addition, the quantization rate for each area can be set for all images, and it can be set when changes occur, or the movement of the target object can be automatically calculated from the interframe difference data, etc. It is also possible to use a method of detecting the above, and setting the quantization rate.

【0105】図4は、本発明が適用される画像圧縮処理
の一例を説明するフローチャートである。本例では、画
像を複数の領域に分割する際、タイルを用いて分割する
場合を代表例として示すが、プレシンクト、またはコー
ドブロックを用いた場合でも同様の処理により実施する
ことができる。まず、本発明の画像圧縮伸長装置は、入
力画像を受け取ると、入力画像の色空間に応じ、RG
B、またはYUV等への色空間変換を行うかどうか判断
し(ステップS1)、必要であると判断した場合(YE
Sの場合)は、色変換を行う(ステップS2)。ステッ
プS1において、入力画像がすでに色空間変換されてい
る場合や、色空間変換を行わず圧縮する場合なども当然
考えられるため、この場合(NOの場合)は、ステップ
S3へ移行する。次に、画像を領域に分割するかどうか
判断を行う(ステップS3)。ここで領域分割の判断
は、例えば画像のサイズに応じ自動的に行う方法や、使
用者がコマンドとして与える方法等が考えられる。画像
分割が必要であると判断された場合(YESの場合)
は、画像の分割を行う(ステップS4)。画像の分割に
ついては、本例ではタイルを用いて行う。画像分割が必
要ないと判断された場合(NOの場合)は、ステップS
5へ移行する。
FIG. 4 is a flow chart for explaining an example of image compression processing to which the present invention is applied. In this example, when the image is divided into a plurality of areas, a case of using tiles is shown as a representative example, but the same processing can be performed even when a precinct or a code block is used. First, when the image compression / decompression device of the present invention receives an input image, the image compression / decompression device according to the input image color space
If it is determined that the color space conversion to B, YUV, or the like is to be performed (step S1), and it is determined to be necessary (YE
In the case of S), color conversion is performed (step S2). In step S1, it is naturally conceivable that the input image has already been subjected to color space conversion, or if compression is performed without performing color space conversion. In this case (NO), the process proceeds to step S3. Next, it is determined whether or not the image is divided into areas (step S3). Here, the area division determination may be performed automatically according to the size of the image, or as a command given by the user. When it is determined that image segmentation is necessary (YES)
Divides the image (step S4). In this example, the image is divided using tiles. If it is determined that image division is not necessary (NO), step S
Go to 5.

【0106】次に、画像中の注目領域の指定を行うかど
うか判断し(ステップS5)、注目領域の指定を行う場
合(YESの場合)、画像中の注目領域を指定する(ス
テップS6)。具体的には、例えばディスプレイ等に表
示された画像中の注目部分をマウスやキーボード等の入
力手段を用いて範囲指定し、その指定した範囲に合わせ
て注目領域として指定することができる。この際、指定
する注目領域は、1つでも複数でも構わない。また、別
の方法として、タイル、またはプレシンクト、またはコ
ードブロックを用いて分割された領域の中から注目領域
を指定してもよい。この場合、例えばディスプレイ等に
表示された画像に対し、分割した領域毎に番号を割り当
てて、注目領域に該当する番号をマウスやキーボード等
により指定することで注目領域の指定をすることができ
る。注目領域の指定を行わない場合(NOの場合)は、
ステップS7へ移行する。
Next, it is judged whether or not the attention area in the image is designated (step S5). When the attention area is designated (in the case of YES), the attention area in the image is designated (step S6). Specifically, for example, a target portion in an image displayed on a display or the like can be designated as a target region by using an input means such as a mouse or a keyboard, and can be designated as a target region in accordance with the designated range. At this time, the attention area to be designated may be one or more. Further, as another method, the attention area may be designated from the areas divided by using tiles, precincts, or code blocks. In this case, for example, for the image displayed on the display or the like, a number is assigned to each of the divided areas, and the number corresponding to the attention area is designated by the mouse or the keyboard, whereby the attention area can be designated. When the attention area is not specified (NO),
Control goes to step S7.

【0107】次に、ステップS7において、すべての領
域について処理が終了したかどうか判断し(ステップS
7)、終了していなかった場合(NOの場合)は、分割
された領域毎に、ウェーブレット変換を行う(ステップ
S8)。この際、前述したステップS4にて画像をタイ
ルに分割した後にウェーブレット変換を行っておいても
よい。また、プレシンクト、コードブロックについて
は、ウェーブレット変換処理後に領域分割が行われる。
次に、量子化率の変更が必要かどうか判断され(ステッ
プS9)、量子化率の変更が必要と判断され、使用者に
より領域毎の量子化率の指定が行われている場合(YE
Sの場合)には、該当する分割領域に対して量子化率を
設定する(ステップS10)。また、量子化率の指定が
行われていない場合(NOの場合)は、領域毎に基準と
なる量子化率を設定する(ステップS11)。
Next, in step S7, it is determined whether or not the processing has been completed for all areas (step S7).
7) If not completed (in the case of NO), wavelet transform is performed for each divided area (step S8). At this time, the wavelet transform may be performed after dividing the image into tiles in step S4 described above. In addition, for precincts and code blocks, area division is performed after wavelet transform processing.
Next, it is determined whether the quantization rate needs to be changed (step S9), it is determined that the quantization rate needs to be changed, and the user has designated the quantization rate for each area (YE
In the case of S), the quantization rate is set for the corresponding divided area (step S10). When the quantization rate is not designated (NO), the reference quantization rate is set for each area (step S11).

【0108】次に、設定された量子化率に従い量子化を
行い(ステップS12)、符号化を行う(ステップS1
3)。符号化が終了すると、分割領域をカウントするた
めのカウンタをアップさせて(ステップS14)、ステ
ップS7に戻る。以下、全領域について終了するまでス
テップS7からステップS14までの処理を繰り返し、
全領域について終了すると(ステップS7のYESの場
合)、コードストリームを生成し(ステップS15)、
処理を終了する。
Next, quantization is performed according to the set quantization rate (step S12), and encoding is performed (step S1).
3). When the encoding is completed, the counter for counting the divided areas is incremented (step S14), and the process returns to step S7. Hereinafter, the processing from step S7 to step S14 is repeated until the processing is completed for all areas.
When the processing is completed for all areas (YES in step S7), a code stream is generated (step S15),
The process ends.

【0109】図5は、本発明を静止グレースケール画像
に対して適用した実施例を示す図である。図5(A)に
示す人間の顔を含む領域を注目領域として量子化率を低
く設定する場合について、領域分割の際の単位をタイル
として説明する。図5(A)に示すように、原画像40
を複数のタイルに分割し、例えば、前述の図25に示し
たようにラスタ順に0〜15までタイルに番号をつけた
場合、図5(B)に示す黒塗り部分41に該当するタイ
ル番号5,6、9,10の量子化率を低く抑えることに
より、人間の顔を含む領域の精度を保ちつつ、原画像4
0の高圧縮を実現することができる。
FIG. 5 is a diagram showing an embodiment in which the present invention is applied to a still gray scale image. In the case where the region including the human face shown in FIG. 5A is set as a region of interest and the quantization rate is set low, a unit when dividing the region will be described as a tile. As shown in FIG. 5A, the original image 40
Is divided into a plurality of tiles and, for example, when tiles are numbered from 0 to 15 in raster order as shown in FIG. 25, the tile number 5 corresponding to the black-painted portion 41 shown in FIG. , 6, 9 and 10 are kept low, the accuracy of the region including the human face is maintained and the original image 4
High compression of 0 can be realized.

【0110】図6は、本発明を静止グレースケール画像
に対して適用した他の実施例を示す図である。使用者
が、図6(A)に示す人間の顔の部分を注目領域として
指定し、該注目領域の量子化率を他の領域に対し異なら
せたい場合の、画像領域の分割について示している。本
例では、領域分割の際の単位をタイルとして説明してい
る。原画像40の人間の顔の部分を覆うようにタイルサ
イズを設定することにより、効率的に圧縮制御を可能と
する。本例の場合、図6(B)に示す黒塗り部分42に
該当するタイル番号10のみ量子化率を低減することに
より、原画像40の高圧縮が可能となる。当然、顔の部
分を1つのタイルで覆う必要はなく、複数のタイルで覆
うようにしてもよい。
FIG. 6 is a diagram showing another embodiment in which the present invention is applied to a still gray scale image. 6A shows division of an image area in the case where the user designates the human face portion shown in FIG. 6A as the attention area and wants to make the quantization rate of the attention area different from other areas. . In this example, tiles are used as a unit for area division. By setting the tile size so as to cover the human face portion of the original image 40, efficient compression control is possible. In the case of this example, the original image 40 can be highly compressed by reducing the quantization rate only for the tile number 10 corresponding to the black-painted portion 42 shown in FIG. 6B. Of course, it is not necessary to cover the face portion with one tile, and it may be covered with a plurality of tiles.

【0111】図7は、領域分割にプレシンクトを適用し
た例を示す図である。図5に示したタイルの例と同様
に、図7(A)に示す人間の顔を含む領域を注目領域と
して量子化率を低く設定する場合について、領域分割の
際の単位をプレシンクトとして説明する。図7(A)に
示すように、原画像40を複数のプレシンクトに分割
し、図7(B)に示す黒塗り部分43に該当するプレシ
ンクトの量子化率を低く抑えることにより、人間の顔を
含む領域の精度を保ちつつ、原画像40の高圧縮を実現
することができる。
FIG. 7 is a diagram showing an example in which a precinct is applied to area division. Similar to the example of the tile shown in FIG. 5, a case where the quantization rate is set low with the region including the human face shown in FIG. 7A as the region of interest will be described as a precinct as a unit at the time of region division. . As shown in FIG. 7A, the original image 40 is divided into a plurality of precincts, and the quantization rate of the precinct corresponding to the black-painted portion 43 shown in FIG. It is possible to realize high compression of the original image 40 while maintaining the accuracy of the included area.

【0112】図8は、領域分割にコードブロックを適用
した例を示す図である。図5に示したタイルの例と同様
に、図8(A)に示す人間の顔を含む領域を注目領域と
して量子化率を低く設定する場合について、領域分割の
際の単位をコードブロックとして説明する。図8(A)
に示すように、原画像40を複数のコードブロックに分
割し、図8(B)に示す黒塗り部分44に該当するコー
ドブロックの量子化率を低く抑えることにより、人間の
顔を含む領域の精度を保ちつつ、原画像40の高圧縮を
実現することができる。
FIG. 8 is a diagram showing an example in which a code block is applied to area division. Similar to the example of the tile shown in FIG. 5, the case where the region including the human face shown in FIG. 8A is set as the attention region and the quantization rate is set low, the unit at the time of region division is described as a code block. To do. FIG. 8 (A)
As shown in FIG. 7, the original image 40 is divided into a plurality of code blocks, and the quantization rate of the code block corresponding to the black-painted portion 44 shown in FIG. It is possible to realize high compression of the original image 40 while maintaining accuracy.

【0113】本実施例においては、量子化率の落とし
方、すなわち量子化ステップサイズを特に明記していな
いが、ある一定値にしたり、あるいは、量子化ステップ
サイズを1、すなわちロスレスにすることも可能であ
る。
In the present embodiment, how to reduce the quantization rate, that is, the quantization step size is not specified, but it may be set to a certain value or the quantization step size may be set to 1, that is, lossless. It is possible.

【0114】図9は、本発明の一実施形態に係わる画像
伸長方法を説明するためのフローチャートである。ま
ず、圧縮画像の有するタイル分割情報に基づき、タグ情
報の解釈を行い(ステップS21)、エントロピー復号
化(ステップS22)、逆量子化(ステップS23)、
ウェーブレット逆変換(ステップS24)を行って、タ
イルに復元し(ステップS25)、復元したタイルを統
合して色空間逆変換を行い(ステップS26)、伸長さ
れた画像を生成する。ここで、本例に示す画像伸長方法
により伸長する圧縮画像は、画像を複数の領域に分割
し、分割した領域毎に量子化率を設定し、設定した量子
化率に基づいて領域毎に圧縮を制御して圧縮された圧縮
画像全般、もしくは画像を複数の領域に分割し、分割し
た領域毎にレイヤを設定し、設定したレイヤに対するビ
ットプレーン分割に基づいて領域毎に圧縮を制御して圧
縮された圧縮画像全般、もしくは画像を複数の領域に分
割し、分割した領域をビットプレーンに分解し、分解し
たビットプレーンに注目度を設定し、設定した注目度に
基づいて領域毎に圧縮を制御して圧縮された圧縮画像全
般を対象とする。さらに、本画像伸長方法は、画像を複
数の領域に分割し、分割した領域毎に解像度を設定し、
設定した解像度に従って領域毎に圧縮を制御して圧縮さ
れた圧縮画像全般を対象としてもよい。
FIG. 9 is a flow chart for explaining the image decompression method according to the embodiment of the present invention. First, tag information is interpreted based on the tile division information included in the compressed image (step S21), entropy decoding (step S22), inverse quantization (step S23),
Inverse wavelet transformation (step S24) is performed to restore the tiles (step S25), the restored tiles are integrated and inverse color space transformation is performed (step S26), and a decompressed image is generated. Here, a compressed image that is expanded by the image expansion method shown in this example is divided into a plurality of areas, a quantization rate is set for each divided area, and compression is performed for each area based on the set quantization rate. Compressed images that are compressed by controlling the image, or divide the image into multiple areas, set a layer for each divided area, and control the compression for each area based on the bit plane division for the set layer. Compressed general image or divided the image into multiple areas, decompose the divided area into bit planes, set the degree of attention to the decomposed bit planes, and control the compression for each area based on the set degree of attention The target is all compressed images that have been compressed. Furthermore, this image decompression method divides the image into a plurality of areas, sets the resolution for each divided area,
It is also possible to control the compression for each area according to the set resolution and target the entire compressed image compressed.

【0115】本発明によると、画像圧縮装置で圧縮され
た圧縮画像を伸長することが可能となる。また、画像を
複数の領域に分割し、該分割した領域毎に量子化率を設
定し、該設定した量子化率に基づいて領域毎に圧縮を制
御して圧縮された圧縮画像を伸長することが可能とな
る。また、画像を複数の領域に分割し、該分割した領域
毎にビットプレーン分割を設定し、該設定したビットプ
レーン分割に基づいて領域毎に圧縮を制御して圧縮され
た圧縮画像を伸長することが可能となる。また、画像を
複数の領域に分割し、該分割した領域毎のビットプレー
ンに対し注目度を設定し、該設定した注目度に基づいて
圧縮を制御して圧縮された圧縮画像を伸長することが可
能となる。また、画像を複数の領域に分割し、分割した
領域毎に解像度を設定し、該設定した解像度に従って領
域毎に圧縮を制御して圧縮された圧縮画像を伸長するこ
とが可能となる。
According to the present invention, it is possible to decompress a compressed image compressed by the image compression device. Further, the image is divided into a plurality of regions, a quantization rate is set for each of the divided regions, compression is controlled for each region based on the set quantization rate, and the compressed image that has been compressed is expanded. Is possible. Further, the image is divided into a plurality of areas, bit plane division is set for each divided area, compression is controlled for each area based on the set bit plane division, and the compressed image is expanded. Is possible. It is also possible to divide an image into a plurality of areas, set a degree of attention to the bit plane for each divided area, and control compression based on the set degree of attention to decompress a compressed image that has been compressed. It will be possible. It is also possible to divide an image into a plurality of areas, set a resolution for each of the divided areas, control compression for each area according to the set resolution, and decompress the compressed image that has been compressed.

【0116】図10は、本発明の一実施形態に係わる静
止画像を対象とした画像圧縮伸長装置の他の構成例を示
すブロック図で、図中、110は色空間変換・逆変換
部、111は、第1コンポーネントで、該第1コンポー
ネント111は、ウェーブレット変換・逆変換部111
a、量子化・逆量子化部111b、ビットプレーン分割
部111c、エントロピー符号・復号化部111dから
なり、同様に第2コンポーネント112は、ウェーブレ
ット変換・逆変換部112a、量子化・逆量子化部11
2b、ビットプレーン分割部112c、エントロピー符
号・復号化部112dからなり、第3コンポーネント1
13は、ウェーブレット変換・逆変換部113a、量子
化・逆量子化部113b、ビットプレーン分割部113
c、エントロピー符号・復号化部113dからなり、1
14はコードストリーム処理部、115はビットプレー
ン設定部である。
FIG. 10 is a block diagram showing another configuration example of an image compression / decompression device for a still image according to an embodiment of the present invention. In the figure, 110 is a color space conversion / inverse conversion unit, 111 Is a first component, and the first component 111 is a wavelet transform / inverse transform unit 111.
a, a quantization / inverse quantization unit 111b, a bit plane division unit 111c, and an entropy encoding / decoding unit 111d. Similarly, the second component 112 includes a wavelet transform / inverse transform unit 112a and a quantization / inverse quantization unit. 11
2b, a bit plane division unit 112c, and an entropy coding / decoding unit 112d, and a third component 1
13 is a wavelet transform / inverse transform unit 113a, a quantization / inverse quantization unit 113b, and a bit plane division unit 113.
c, consisting of entropy coding / decoding section 113d, 1
Reference numeral 14 is a code stream processing unit, and 115 is a bit plane setting unit.

【0117】なお、図10に示す画像圧縮伸長装置にお
いては、画像の圧縮及び伸長に対応できるように各処理
ブロックにおける変換・逆変換部を1つとして図示して
いるが、変換部と逆変換部に分けた形態をとってもよ
い。こうすることで画像圧縮装置、画像伸長装置として
各々独立して用いることが可能となる。また、本発明の
画像圧縮伸長装置、または画像伸長装置において伸長さ
れる圧縮画像は、本発明の画像圧縮装置により圧縮され
た圧縮画像に限定されず、画像を複数の領域に分割し、
分割した領域毎にビットプレーンを分割設定し、分割設
定したビットプレーンに基づいて領域毎に圧縮を制御し
て圧縮された圧縮画像全般に適用することができる。
In the image compression / expansion device shown in FIG. 10, the conversion / inverse conversion unit in each processing block is shown as one so as to be capable of compressing and expanding the image. You may take the form divided into parts. By doing so, it becomes possible to independently use the image compression device and the image expansion device. Further, the image compression / decompression device of the present invention, or the compressed image decompressed by the image decompression device is not limited to the compressed image compressed by the image compression device of the present invention, and the image is divided into a plurality of regions,
A bit plane can be divided and set for each divided area, and compression can be controlled for each area based on the divided and set bit planes to apply to compressed images in general.

【0118】上記に示す画像圧縮伸長装置は、静止画像
を対象としたものである。処理はコンポーネント11
1,112,113毎に並列に進められる。ここでの色
空間は、RGBあるいはYUVである。
The image compression / decompression device shown above is for a still image. Processing is component 11
Every 1,112,113 is advanced in parallel. The color space here is RGB or YUV.

【0119】以下、圧縮する場合について説明する。ま
ず、色空間変換・逆変換部110において、RGBある
いはYUVの色空間に変換され、コンポーネント11
1,112,113毎に並列に処理が進められる。ここ
では第1コンポーネント111を例に説明するが、他の
第2コンポーネント112及び第3コンポーネント11
3も同様の処理がなされる。色空間変換された画像は、
タイルに分割され、タイル毎にウェーブレット変換・逆
変換部111aにてウェーブレット変換処理される。次
に量子化・逆量子化部111bでは、ウェーブレット変
換された係数の量子化が行われる。
The case of compression will be described below. First, in the color space conversion / inverse conversion unit 110, the color space is converted into RGB or YUV color space, and the component 11
Processing is advanced in parallel for each of 1,112,113. Here, the first component 111 will be described as an example, but other second components 112 and third components 11 will be described.
The same processing is performed for 3. The color space converted image is
It is divided into tiles, and wavelet transform processing is performed for each tile by the wavelet transform / inverse transform unit 111a. Next, the quantization / inverse quantization unit 111b quantizes the wavelet-transformed coefficients.

【0120】ビットプレーン分割部111cでは、量子
化されたウェーブレット係数からなるビットプレーンを
領域ごとに分割するが、使用者により注目領域を指定
し、領域毎にビットプレーン分割を指定する場合、ビッ
トプレーン設定部115にて画像中の注目領域を指定
し、該指定した注目領域に対し、他の領域と異なるビッ
トプレーンの分割を設定することができる。こうして、
画像の領域ごとに、ビットプレーン分割を設定した後
に、ウェーブレット係数は、さらにエントロピー符号・
復号化部111dで符号化が行われる。ここで、分割さ
れる領域は、タイル、プレシンクト、コードブロックの
いずれかを用いて領域分割される。また、これらのタイ
ル、プレシンクト、コードブロックを組み合わせて領域
分割することもできる。最後にコードストリーム処理部
114でコードストリームの生成が行われる。
The bit-plane dividing unit 111c divides the bit-plane consisting of the quantized wavelet coefficients into regions. When the user designates a region of interest and the region is divided into bit-planes, the bit-planes are divided into bit-planes. It is possible to specify the attention area in the image by the setting unit 115, and set the division of the bit plane different from other areas for the designated attention area. Thus
After setting the bit plane division for each area of the image, the wavelet coefficients are further entropy code /
Encoding is performed by the decoding unit 111d. Here, the area to be divided is divided into areas using any of tiles, precincts, and code blocks. Further, these tiles, precincts, and code blocks can be combined to divide into regions. Finally, the codestream processing unit 114 generates a codestream.

【0121】本発明によると、使用者の選択した領域に
合わせてビットプレーン分割を設定し、該ビットプレー
ン分割に基づき圧縮を制御するため、個々人の嗜好にあ
った画像圧縮の実現が可能となる。また、注目領域に設
定した注目度に応じてビットプレーン分割を複数設定す
ることで、画質を高精度に維持しつつ、圧縮制御するこ
とが可能となる。
According to the present invention, the bit plane division is set according to the area selected by the user, and the compression is controlled based on the bit plane division. Therefore, it is possible to realize the image compression that suits the individual taste. . Also, by setting a plurality of bit plane divisions according to the degree of attention set in the attention area, it becomes possible to perform compression control while maintaining high image quality.

【0122】図11は、本発明が適用される画像圧縮伸
長装置の他の構成例の詳細を説明するためのブロック図
で、図中、120は圧縮伸長装置で、該圧縮伸長装置1
20は、色空間変換・逆変換部120a、2次元ウェー
ブレット変換・逆変換部120b、量子化・逆量子化部
120c、ビットプレーン分割部120d、エントロピ
ー符号・復号化部120e、タグ処理部120fからな
り、121は画像分割手段、122はビットプレーン分
割制御手段、123はビットプレーン分割指定手段、1
24は領域指定手段である。圧縮伸長装置120は、前
述した図10に示した各コンポーネントにおける処理と
同様の処理を行う。ここでタグ処理部120fは、JP
EG2000の特徴の1つとして追加されたもので、コ
ードストリームの生成や解釈を行うための機能ブロック
である。
FIG. 11 is a block diagram for explaining the details of another structural example of the image compression / expansion apparatus to which the present invention is applied. In the figure, reference numeral 120 denotes the compression / expansion apparatus.
Reference numeral 20 denotes a color space conversion / inverse conversion unit 120a, a two-dimensional wavelet conversion / inverse conversion unit 120b, a quantization / inverse quantization unit 120c, a bit plane division unit 120d, an entropy encoding / decoding unit 120e, and a tag processing unit 120f. , 121 is an image division means, 122 is a bit plane division control means, 123 is a bit plane division designation means, 1
Reference numeral 24 is an area designating means. The compression / expansion device 120 performs the same processing as the processing in each component shown in FIG. 10 described above. Here, the tag processing unit 120f uses JP
It is added as one of the features of EG2000, and is a functional block for generating and interpreting a codestream.

【0123】原画像は、色空間変換・逆変換部120a
で色空間変換後、2次元ウェーブレット変換後、量子化
・逆量子化部120cにて量子化率に基づき量子化され
た後、画像分割手段121にて複数の領域に分割され
る。画像分割する際に、タイル、プレシンクト、コード
ブロックのいずれかを用いて分割されるが、これらの中
のいずれか2つまたは3つ全てを組み合わせて分割して
もよい。また、画像中の注目部分を指定し、その注目部
分に合わせて注目領域を設定し、設定した領域により画
像を分割することもできる。この場合、領域の分割単位
に応じて、分割した領域の境界がタイル境界、プレシン
クト境界、コードブロック境界のいずれかの境界となる
か、もしくは、これらの中のいずれか2つまたは3つ全
てが領域の境界となる。
The original image is a color space conversion / inverse conversion unit 120a.
After the color space conversion, the two-dimensional wavelet conversion is performed, the quantization / inverse quantization unit 120c performs quantization based on the quantization rate, and the image dividing unit 121 divides the image into a plurality of regions. When the image is divided, one of the tile, the precinct, and the code block is used for division, but any two or all of these may be combined and divided. It is also possible to specify a target portion in the image, set a target area in accordance with the target portion, and divide the image by the set area. In this case, depending on the division unit of the area, the boundary of the divided area is any one of a tile boundary, a precinct boundary, and a code block boundary, or any two or all of them are It becomes the boundary of the area.

【0124】領域指定手段124にて画像中の注目領域
を指定する。具体的には、例えばディスプレイ等に表示
された画像中の注目部分をマウスやキーボード等の入力
手段を用いて範囲指定し、その指定した範囲に合わせて
注目領域として指定することができる。この際、指定す
る注目領域は、1つでも複数でも構わない。また、別の
方法として、画像分割手段121にてタイル、またはプ
レシンクト、またはコードブロックを用いて分割された
領域の中から注目領域を指定してもよい。この場合、例
えばディスプレイ等に表示された画像に対し、分割した
領域毎に番号を割り当てて、注目領域に該当する番号を
マウスやキーボード等により指定することで注目領域の
指定をすることができる。この時も指定する注目領域
は、1つでも複数でも構わない。
A region of interest in the image is designated by the region designating means 124. Specifically, for example, a target portion in an image displayed on a display or the like can be designated as a target region by using an input means such as a mouse or a keyboard, and can be designated as a target region in accordance with the designated range. At this time, the attention area to be designated may be one or more. As another method, the attention area may be designated from the areas divided by the image dividing unit 121 using tiles, precincts, or code blocks. In this case, for example, for the image displayed on the display or the like, a number is assigned to each of the divided areas, and the number corresponding to the attention area is designated by the mouse or the keyboard, whereby the attention area can be designated. Also in this case, one or more attention areas may be designated.

【0125】量子化されたウェーブレット係数は、ビッ
トプレーン分割部120dにおいて、ビットプレーンの
集まりであるレイヤへと分割される。この分割は、ビッ
トプレーン分割指定手段123にて指定された、領域毎
にビットプレーンの分割に合わせ、ビットプレーン分割
制御手段122により設定される。具体的には、領域指
定手段124で指定された注目領域に注目度を設定して
おく。ここで注目度とは、例えば高精細にしたい領域ほ
ど優先するレイヤにビットを多く配置するといった、画
像における注目領域の圧縮を制御するための目安となる
もので、注目領域毎に使用者の嗜好に応じて適宜設定で
きる。使用者により設定された注目度に応じて異なるビ
ットプレーン分割を設定することで、画質精度を維持し
つつ、圧縮することが可能となる。
The quantized wavelet coefficient is divided into layers, which are a collection of bit planes, in the bit plane division unit 120d. This division is set by the bit plane division control unit 122 in accordance with the division of the bit plane for each area designated by the bit plane division designation unit 123. Specifically, the degree of attention is set in the attention area designated by the area designating unit 124. Here, the degree of attention is a guideline for controlling compression of the attention area in the image, for example, by placing more bits in a layer that is prioritized in an area where higher definition is desired, and the preference of the user for each attention area. It can be appropriately set according to. By setting different bit plane divisions according to the degree of attention set by the user, it is possible to perform compression while maintaining image quality accuracy.

【0126】また、通常よく利用される形態としては、
分割された領域に対して2種類のビットプレーン分割を
設定することもできる。この場合、注目領域と、他の領
域とのビットプレーン分割が異なるように設定すればよ
い。すなわち、注目領域のビットプレーン(ビット数)
をより多く、優先するレイヤに含めた場合、注目領域の
方が画質的には高精細となり、注目領域のビットプレー
ン(ビット数)をより少なく、優先するレイヤに含めた
場合、注目領域の方が画質的には粗くなる。このように
使用者の嗜好に応じて適宜ビットプレーン分割を設定す
ることができる。
In addition, as a form that is often used,
Two types of bit plane divisions can be set for the divided areas. In this case, the bit plane divisions of the attention area and other areas may be set to be different. That is, the bit plane of the attention area (the number of bits)
If more areas are included in the priority layer, the attention area has higher definition in terms of image quality, and if the attention area has a smaller number of bit planes (bits), the attention area is more However, the image quality is rough. In this way, the bit plane division can be set appropriately according to the preference of the user.

【0127】圧縮制御手段22では、設定されたビット
プレーン分割に基づいて領域毎にレイヤに含めるビット
数を制御することにより、圧縮を制御する。圧縮制御さ
れた領域は、エントロピー符号・復号化部120eでエ
ントロピー符号化されて、タグ処理部120fでコード
ストリーム処理される。
The compression control means 22 controls the compression by controlling the number of bits included in the layer for each area based on the set bit plane division. The compression-controlled area is entropy-encoded by the entropy coding / decoding section 120e, and code-stream processed by the tag processing section 120f.

【0128】本発明によると、画像を分割した領域に対
し少なくとも2種類のビットプレーン分割をとるため、
簡単な構成により容易に、使用者の嗜好を反映させた圧
縮制御が実現できる。また、画像の領域分割に、JPE
G2000の標準仕様となるタイル、プレシンクト、コ
ードブロックを用いることにより、容易に圧縮制御の実
現が可能となる。また、画像を複数の領域に分割する際
に、使用者の設定した領域に合わせて画像を分割するた
め、効率的な画像の圧縮制御が可能となる。
According to the present invention, since at least two kinds of bit plane division are performed on the divided area of the image,
With a simple configuration, compression control that reflects the user's taste can be easily realized. Also, for image area division, JPE
By using tiles, precincts, and code blocks that are standard specifications of G2000, it is possible to easily realize compression control. Further, when the image is divided into a plurality of areas, the image is divided according to the area set by the user, so that efficient image compression control is possible.

【0129】図11に示した画像圧縮伸長装置は、前述
の図3に示した動画像圧縮伸長装置30と同様の構成を
とることにより、動画像に対しても適用することができ
る。この際、領域毎のビットプレーン分割の設定は、全
画像に対し設定を行うことも可能であるし、変化が発生
する際に設定する方法、または対象物の移動をフレーム
間差分データ等から自動的に検出し、ビットプレーン分
割を設定する方法等もとることができる。
The image compression / decompression device shown in FIG. 11 can be applied to a moving image by adopting the same configuration as the moving image compression / decompression device 30 shown in FIG. At this time, it is possible to set the bit plane division for each area for all images, or to set the method when a change occurs, or to automatically move the target object from the inter-frame difference data etc. It is also possible to use a method of detecting the same and setting the bit plane division.

【0130】図12は、本発明が適用される他の画像圧
縮処理の一例を説明するフローチャートである。本例で
は、画像を複数の領域に分割する際、プレシンクトを用
いて分割する場合を代表例として示すが、タイルまたは
コードブロックを用いた場合でも同様の処理により実施
することができる。まず、本発明の画像圧縮伸長装置
は、入力画像を受け取ると、画像をタイルに分割し(ス
テップS31)、入力画像の色空間に応じ、RGB、ま
たはYUV等への色空間変換を行うかどうか判断し(ス
テップS32)、必要であると判断した場合(YESの
場合)は、色変換を行う(ステップS33)。ステップ
S32において、入力画像がすでに色空間変換されてい
る場合や、色空間変換を行わず圧縮する場合なども当然
考えられるため、この場合(NOの場合)は、ステップ
S34へ移行する。次に、ウェーブレット変換を施し
(ステップS34)、量子化を行う(ステップS3
5)。さらに、画像を領域に分割するかどうか判断を行
う(ステップS36)。ここで領域分割の判断は、例え
ば画像のサイズに応じ自動的に行う方法や、使用者がコ
マンドとして与える方法等が考えられる。画像分割が必
要であると判断された場合(YESの場合)は、画像の
分割を行う(ステップS37)。画像の分割について
は、本例ではプレシンクトを用いて行う。画像分割が必
要ないと判断された場合(NOの場合)、または分割単
位がタイルである場合は、ステップS38へ移行する。
FIG. 12 is a flow chart for explaining an example of another image compression process to which the present invention is applied. In this example, a case where a precinct is used to divide an image into a plurality of areas is shown as a representative example, but the same processing can be performed when tiles or code blocks are used. First, when the image compression / decompression device of the present invention receives an input image, it divides the image into tiles (step S31), and determines whether to perform color space conversion into RGB, YUV, or the like according to the color space of the input image. If it is determined (step S32) and it is determined to be necessary (YES), color conversion is performed (step S33). In step S32, it is naturally conceivable that the input image has already undergone color space conversion, or if compression is performed without performing color space conversion. In this case (NO), the process proceeds to step S34. Next, a wavelet transform is applied (step S34) and quantization is performed (step S3).
5). Further, it is determined whether or not the image is divided into areas (step S36). Here, the area division determination may be performed automatically according to the size of the image, or as a command given by the user. If it is determined that image division is necessary (YES), image division is performed (step S37). Image division is performed using a precinct in this example. If it is determined that the image division is not necessary (NO), or if the division unit is a tile, the process proceeds to step S38.

【0131】次に、画像中の注目領域の指定を行うかど
うか判断し(ステップS38)、注目領域の指定を行う
場合(YESの場合)、画像中の注目領域を指定する
(ステップS39)。具体的には、例えばディスプレイ
等に表示された画像中の注目部分をマウスやキーボード
等の入力手段を用いて範囲指定し、その指定した範囲に
合わせて注目領域として指定することができる。この
際、指定する注目領域は、1つでも複数でも構わない。
また、別の方法として、タイル、またはプレシンクト、
またはコードブロックを用いて分割された領域の中から
注目領域を指定してもよい。この場合、例えばディスプ
レイ等に表示された画像に対し、分割した領域毎に番号
を割り当てて、注目領域に該当する番号をマウスやキー
ボード等により指定することで注目領域の指定をするこ
とができる。注目領域の指定を行わない場合(NOの場
合)は、ステップS40へ移行する。
Next, it is judged whether or not the attention area in the image is designated (step S38). If the attention area is designated (in the case of YES), the attention area in the image is designated (step S39). Specifically, for example, a target portion in an image displayed on a display or the like can be designated as a target region by using an input means such as a mouse or a keyboard, and can be designated as a target region in accordance with the designated range. At this time, the attention area to be designated may be one or more.
Alternatively, you can use tiles or precincts,
Alternatively, the attention area may be designated from the areas divided using the code block. In this case, for example, for the image displayed on the display or the like, a number is assigned to each of the divided areas, and the number corresponding to the attention area is designated by the mouse or the keyboard, whereby the attention area can be designated. When the attention area is not designated (in the case of NO), the process proceeds to step S40.

【0132】次に、ステップS40において、すべての
領域について処理が終了したかどうか判断し(ステップ
S40)、終了していなかった場合(NOの場合)は、
分割された領域毎に、ビットプレーンの分割の設定がさ
れているかどうか判断される(ステップS41)。ビッ
トプレーンの分割の変更が必要と判断され、使用者によ
り領域毎のビットプレーン分割の指定が行われている場
合(YESの場合)には、該当する分割領域に対してビ
ットプレーン分割を設定する(ステップS42)。ま
た、ビットプレーン分割の指定が行われていない場合
(NOの場合)は、領域毎に基準となるビットプレーン
分割を設定する(ステップS43)。
Next, in step S40, it is judged whether or not the processing has been completed for all the areas (step S40), and if not completed (in the case of NO),
For each of the divided areas, it is determined whether the bit plane division is set (step S41). When it is determined that the bit plane division needs to be changed, and the user has designated the bit plane division for each area (in the case of YES), the bit plane division is set for the corresponding division area. (Step S42). If the bit plane division is not designated (NO), the reference bit plane division is set for each area (step S43).

【0133】次に、符号化を行う(ステップS44)。
符号化が終了すると、分割領域をカウントするためのカ
ウンタをアップさせて(ステップS45)、ステップS
40に戻る。以下、全領域について終了するまでステッ
プS40からステップS45までの処理を繰り返し、全
領域について終了すると(ステップS40のYESの場
合)、コードストリーム処理を行い(ステップS4
6)、処理を終了する。
Next, encoding is performed (step S44).
When the encoding is completed, the counter for counting the divided areas is incremented (step S45), and the step S
Return to 40. Hereinafter, the processing from step S40 to step S45 is repeated until the processing is completed for all areas, and when the processing is completed for all areas (in the case of YES in step S40), code stream processing is performed (step S4).
6), the process ends.

【0134】ここで、前述した図5において、本発明を
静止グレースケール画像に対して適用し、図5(A)に
示した人間の顔を含む領域を注目領域として多くのビッ
トプレーンを低レイヤに配置する場合について、領域分
割の際の単位をタイルとして説明する。図5(A)に示
したように、原画像40を複数のタイルに分割し、例え
ば図22に示したようにラスタ順に0〜15までタイル
に番号をつけた場合、図5(B)に示した黒塗り部分4
1に該当するタイル番号5,6、9,10のタイルが注
目領域となる。
Here, in FIG. 5 described above, the present invention is applied to a still gray scale image, and many bit planes are set as low layers with the region including the human face shown in FIG. 5A as the region of interest. In the case of arranging the tiles, the unit for dividing the area will be described as a tile. When the original image 40 is divided into a plurality of tiles as shown in FIG. 5A and tiles are numbered from 0 to 15 in raster order as shown in FIG. 22, for example, when the tiles are numbered as shown in FIG. Black-painted part 4 shown
The tiles with tile numbers 5, 6, 9, and 10 corresponding to 1 are the attention area.

【0135】図13は、タイル毎のビットプレーン分割
例を示す図である。図13に示すように、注目領域のビ
ットプレーンをより多く低レイヤに含ませることによ
り、人間の顔を含む領域の精度を保ちつつ、原画像40
の高圧縮を実現することができる。
FIG. 13 is a diagram showing an example of bit plane division for each tile. As shown in FIG. 13, by including more bit planes of the attention area in the lower layer, while maintaining the accuracy of the area including the human face, the original image 40
It is possible to realize high compression of.

【0136】また、前述した図6において、本発明を静
止グレースケール画像に対して適用した場合の他の実施
形態について説明する。本例は、使用者が図6(A)に
示した人間の顔の部分を注目領域として指定し、該注目
領域のビットプレーン分割を他の領域に対し異ならせた
い場合の画像領域の分割について示すものである。ここ
で、領域分割の際の単位をタイルとする。原画像40の
人間の顔の部分を覆うようにタイルサイズを設定するこ
とにより、効率的に圧縮制御を可能とする。本例の場
合、図6(B)に示した黒塗り部分42に該当するタイ
ル番号10のみ多くのビットプレーンを低レイヤに含ま
せることにより、原画像40の高圧縮が可能となる。当
然、顔の部分を1つのタイルで覆う必要はなく、複数の
タイルで覆うようにしてもよい。
Another embodiment in which the present invention is applied to a still grayscale image will be described with reference to FIG. 6 described above. This example relates to the division of the image area when the user designates the human face portion shown in FIG. 6A as the attention area and wants the bit plane division of the attention area to be different from other areas. It is shown. Here, the unit for area division is a tile. By setting the tile size so as to cover the human face portion of the original image 40, efficient compression control is possible. In the case of this example, high compression of the original image 40 becomes possible by including many bit planes only in the tile number 10 corresponding to the black-painted portion 42 shown in FIG. 6B in the lower layer. Of course, it is not necessary to cover the face portion with one tile, and it may be covered with a plurality of tiles.

【0137】また、前述した図7において、本発明を静
止グレースケール画像に対して適用し、図5に示したタ
イルの例と同様に、図7(A)に示した人間の顔を含む
領域を注目領域として多くのビットプレーンを低レイヤ
に配置する場合について、領域分割の際の単位をプレシ
ンクトとして説明する。図7(A)に示したように、原
画像40を複数のプレシンクトに分割し、図7(B)に
示した黒塗り部分43に該当するプレシンクトのビット
プレーンを多く低レイヤに含ませることにより、人間の
顔を含む領域の精度を保ちつつ、原画像40の高圧縮を
実現することができる。
In addition, in FIG. 7 described above, the present invention is applied to a still grayscale image, and the area including the human face shown in FIG. 7A is obtained similarly to the example of the tile shown in FIG. In the case where a large number of bit planes are arranged in the lower layer with the area of interest as the attention area, the unit of area division will be described as a precinct. As shown in FIG. 7A, by dividing the original image 40 into a plurality of precincts and including many precinct bit planes corresponding to the black-painted portion 43 shown in FIG. 7B in the lower layer. It is possible to realize high compression of the original image 40 while maintaining the accuracy of the area including the human face.

【0138】また、前述した図8において、本発明を静
止グレースケール画像に対して適用し、図5に示したタ
イルの例と同様に、図8(A)に示した人間の顔を含む
領域を注目領域として多くのビットプレーンを低レイヤ
に配置する場合について、領域分割の際の単位をコード
ブロックとして説明する。図8(A)に示したように、
原画像40を複数のコードブロックに分割し、図8
(B)に示す黒塗り部分44に該当するコードブロック
のビットプレーンを多く低レイヤに含ませることによ
り、人間の顔を含む領域の精度を保ちつつ、原画像40
の高圧縮を実現することができる。
Further, in FIG. 8 described above, the present invention is applied to a still gray-scale image, and the area including the human face shown in FIG. 8A is obtained similarly to the example of the tile shown in FIG. In the case where a large number of bit planes are arranged in the lower layer with the area of interest as the attention area, the unit of area division will be described as a code block. As shown in FIG. 8 (A),
The original image 40 is divided into a plurality of code blocks as shown in FIG.
By including many bit planes of the code block corresponding to the black-painted portion 44 shown in (B) in the lower layer, the accuracy of the area including the human face can be maintained and the original image 40
It is possible to realize high compression of.

【0139】図14は、本発明の一実施形態に係わる静
止画像を対象とした画像圧縮伸長装置の他の構成例を示
すブロック図で、図中、130は色空間変換・逆変換
部、131は第1コンポーネントで、該第1コンポーネ
ント131は、ウェーブレット変換・逆変換部131
a、量子化・逆量子化部131b、ビットプレーン分割
部131c、エントロピー符号・復号化部131dから
なり、同様に第2コンポーネント132は、ウェーブレ
ット変換・逆変換部132a、量子化・逆量子化部13
2b、ビットプレーン分割部132c、エントロピー符
号・復号化部132dからなり、第3コンポーネント1
33は、ウェーブレット変換・逆変換部133a、量子
化・逆量子化部133b、ビットプレーン分割部133
c、エントロピー符号・復号化部133dからなり、1
34はコードストリーム処理部、135は注目度設定部
である。本例における注目度設定部135は、タイル等
の分割領域におけるウェーブレット係数を分解したビッ
トプレーンに対して注目度を設定する。
FIG. 14 is a block diagram showing another example of the configuration of an image compression / decompression device for still images according to an embodiment of the present invention. In the figure, 130 is a color space conversion / inverse conversion unit, 131. Is a first component, and the first component 131 is a wavelet transform / inverse transform unit 131.
a, a quantization / inverse quantization unit 131b, a bit plane division unit 131c, and an entropy encoding / decoding unit 131d. Similarly, the second component 132 includes a wavelet transform / inverse transform unit 132a and a quantization / inverse quantization unit. Thirteen
2b, a bit plane division unit 132c, and an entropy coding / decoding unit 132d, and a third component 1
33 is a wavelet transform / inverse transform unit 133a, a quantization / inverse quantization unit 133b, and a bit plane division unit 133.
c, consisting of entropy coding / decoding section 133d, 1
Reference numeral 34 is a code stream processing unit, and 135 is an attention level setting unit. The attention level setting unit 135 in this example sets the attention level for a bit plane obtained by decomposing wavelet coefficients in a divided area such as a tile.

【0140】なお、図14に示す画像圧縮伸長装置にお
いては、画像の圧縮及び伸長に対応できるように各処理
ブロックにおける変換・逆変換部を1つとして図示して
いるが、変換部と逆変換部に分けた形態をとってもよ
い。こうすることで画像圧縮装置、画像伸長装置として
各々独立して用いることが可能となる。また、本発明の
画像圧縮伸長装置、または画像伸長装置において伸長さ
れる圧縮画像は、本発明の画像圧縮装置により圧縮され
た圧縮画像に限定されず、画像を複数の領域に分割し、
分割した領域のビットプレーン毎に注目度を設定し、設
定した注目度に基づいて領域毎に圧縮を制御して圧縮さ
れた圧縮画像全般に適用することができる。
In the image compression / expansion device shown in FIG. 14, the conversion / inverse conversion unit in each processing block is shown as one so as to be capable of compressing and expanding the image. You may take the form divided into parts. By doing so, it becomes possible to independently use the image compression device and the image expansion device. Further, the image compression / decompression device of the present invention, or the compressed image decompressed by the image decompression device is not limited to the compressed image compressed by the image compression device of the present invention, and the image is divided into a plurality of regions,
It is possible to set the attention level for each bit plane of the divided areas, control the compression for each area based on the set attention level, and apply the compression image to all compressed images.

【0141】上記に示す画像圧縮伸長装置は、静止画像
を対象としたものである。処理はコンポーネント13
1,132,133毎に並列に進められる。ここでの色
空間は、RGBあるいはYUVである。
The image compression / decompression device shown above is intended for still images. Processing is component 13
1, 132, 133 are advanced in parallel. The color space here is RGB or YUV.

【0142】以下、圧縮する場合について説明する。ま
ず、色空間変換・逆変換部130において、RGBある
いはYUVの色空間に変換され、コンポーネント13
1,132,133毎に並列に処理が進められる。ここ
では第1コンポーネント131を例に説明するが、他の
第2コンポーネント132及び第3コンポーネント13
3も同様の処理がなされる。色空間変換された画像は、
タイルに分割され、タイル毎にウェーブレット変換・逆
変換部131aにてウェーブレット変換処理される。次
に、量子化・逆量子化部131bでは、ウェーブレット
変換された係数の量子化が行われる。
The case of compression will be described below. First, the color space conversion / inverse conversion unit 130 converts the color space into RGB or YUV color space, and the component 13
The processing is advanced in parallel every 1, 132, 133. Here, the first component 131 will be described as an example, but other second component 132 and third component 13
The same processing is performed for 3. The color space converted image is
It is divided into tiles, and wavelet transform processing is performed by the wavelet transform / inverse transform unit 131a for each tile. Next, the quantization / inverse quantization unit 131b quantizes the wavelet-transformed coefficients.

【0143】次に、ビットプレーン分割部131cで
は、量子化されたウェーブレット係数からなるビットプ
レーンを領域ごとに分割するが、使用者により領域内の
ビットプレーンに注目度を設定する場合、設定した注目
度に合わせ、ビットプレーンを分割設定することができ
る。こうして、画像の領域ごとに、注目度に合わせビッ
トプレーンを分割する。さらにウェーブレット係数は、
エントロピー符号・復号化部131dで符号化が行われ
る。最後にコードストリーム処理部134でコードスト
リームの生成が行われる。コードストリーム生成の際に
は後述する図18に示すように注目度に合わせ、コード
列が生成され、注目度の順序に従い、コードストリーム
が構成されることになる。
Next, the bit-plane dividing unit 131c divides the bit-plane consisting of the quantized wavelet coefficients into regions, and when the user sets the attention level to the bit-planes in the region, the set attention is set. The bit plane can be divided and set according to the degree. In this way, the bit plane is divided according to the degree of attention for each area of the image. Furthermore, the wavelet coefficient is
The entropy coding / decoding unit 131d performs coding. Finally, the codestream processing unit 134 generates a codestream. When the code stream is generated, a code string is generated according to the degree of attention as shown in FIG. 18 described later, and the code stream is configured in the order of the degree of attention.

【0144】図15は、本発明が適用される画像圧縮伸
長装置の他の構成例の詳細を説明するためのブロック図
で、図中、140は圧縮伸長装置で、該圧縮伸長装置1
40は、色空間変換・逆変換部140a、2次元ウェー
ブレット変換・逆変換部140b、量子化・逆量子化部
140c、ビットプレーン分割部140d、エントロピ
ー符号・復号化部140e、タグ処理部140fからな
り、141は画像分割手段、142は圧縮制御手段、1
43は注目度設定手段、144はタグ処理制御手段であ
る。圧縮伸長装置140は、前述の図14に示した各コ
ンポーネントにおける処理と同様の処理を行う。ここで
タグ処理部140fは、JPEG2000の特徴の1つ
として追加されたもので、コードストリームの生成や解
釈を行うための機能ブロックである。
FIG. 15 is a block diagram for explaining the details of another structural example of the image compression / expansion device to which the present invention is applied. In the figure, 140 is a compression / expansion device.
40 is a color space conversion / inverse conversion unit 140a, a two-dimensional wavelet conversion / inverse conversion unit 140b, a quantization / inverse quantization unit 140c, a bit plane division unit 140d, an entropy encoding / decoding unit 140e, and a tag processing unit 140f. , 141 is an image dividing unit, 142 is a compression control unit, 1
Reference numeral 43 is an attention degree setting means, and 144 is a tag processing control means. The compression / decompression device 140 performs the same processing as the processing in each component shown in FIG. Here, the tag processing unit 140f is added as one of the features of JPEG2000, and is a functional block for generating and interpreting a codestream.

【0145】原画像は、色空間変換・逆変換部140a
で色空間変換後、2次元ウェーブレット変換し、量子化
・逆量子化部140cにて量子化率に基づき量子化され
た後、画像分割手段141にて複数の領域に分割され
る。分割された領域をタイルと呼ぶ。量子化されたウェ
ーブレット係数は、ビットプレーン分割部140dにお
いて、ビットプレーンの集まりであるレイヤへと分割さ
れる。分割は、注目度設定手段143にて指定された注
目度に合わせ、圧縮制御手段142により設定される。
圧縮制御されたビットプレーンは、エントロピー符号・
復号化部140eでエントロピー符号化されて、タグ処
理部140fでコードストリーム処理される。その際
に、タグ処理制御手段144にて上記注目度に合ったコ
ードストリーム列となるように設定がなされる。
The original image has a color space conversion / inverse conversion unit 140a.
After the color space conversion, the two-dimensional wavelet transform is performed, the quantization / inverse quantization unit 140c quantizes it based on the quantization rate, and the image dividing unit 141 divides it into a plurality of regions. The divided areas are called tiles. The quantized wavelet coefficient is divided into layers that are a collection of bit planes in the bit plane division unit 140d. The division is set by the compression control unit 142 according to the attention degree designated by the attention degree setting unit 143.
The compression controlled bit plane is an entropy code.
The decoding unit 140e performs entropy coding, and the tag processing unit 140f processes the code stream. At that time, the tag processing control unit 144 sets the code stream sequence so as to match the degree of attention.

【0146】また、通常よく利用される形態としては、
分割された領域に対して2種類のビットプレーン分割を
設定することもできる。この場合、任意の対象領域と、
他の領域とのビットプレーン分割が異なるように注目度
を設定すればよい。すなわち、対象領域のビットプレー
ンに、他の領域に設定した注目度よりも高い注目度を多
く設定した場合、対象領域の方が画質的には高精細とな
り、また対象領域のビットプレーンに、他の領域に設定
した注目度よりも高い注目度を少なく設定した場合、対
象領域の方が画質的には粗くなる。このように使用者の
嗜好に応じて適宜ビットプレーン分割を設定することが
できる。
In addition, as a form that is often used,
Two types of bit plane divisions can be set for the divided areas. In this case, an arbitrary target area,
The attention level may be set so that the bit plane division is different from that of other areas. In other words, if a bit plane of the target area is set to have a higher attention level than that set to another area, the image quality of the target area becomes higher in terms of image quality, and the bit plane of the target area is When the attention level that is higher than the attention level set for the area is set to be smaller, the image quality of the target area becomes coarser. In this way, the bit plane division can be set appropriately according to the preference of the user.

【0147】本発明によると、画像全体にわたりビット
プレーンに対し、注目度を設定し、この注目度に応じて
圧縮制御を行うため、個々人の嗜好にあった画像圧縮の
実現が可能となる。また、少なくとも2種類の領域に対
し、注目度の設定を行うため、簡単な構成により容易に
使用者の嗜好を反映させた圧縮制御が実現できる。
According to the present invention, the degree of attention is set for the bit plane over the entire image, and the compression control is performed according to the degree of attention. Therefore, it is possible to realize image compression that suits the individual taste. Further, since the attention level is set for at least two types of regions, it is possible to easily realize the compression control that reflects the user's preference with a simple configuration.

【0148】図15に示した画像圧縮伸長装置は、前述
の図3に示した動画像圧縮伸長装置30と同様の構成を
とることにより、動画像に対しても適用することができ
る。この際、領域毎のビットプレーン分割の設定は、全
画像に対し設定を行うことも可能であるし、変化が発生
する際に設定する方法、または対象物の移動をフレーム
間差分データ等から自動的に検出し、ビットプレーン分
割を設定する方法等もとることができる。
The image compression / decompression device shown in FIG. 15 can be applied to a moving image by adopting the same configuration as the moving image compression / decompression device 30 shown in FIG. At this time, it is possible to set the bit plane division for each area for all images, or to set the method when a change occurs, or to automatically move the target object from the inter-frame difference data etc. It is also possible to use a method of detecting the same and setting the bit plane division.

【0149】図16は、本発明が適用される他の画像圧
縮処理の一例を説明するフローチャートである。まず、
本発明の画像圧縮伸長装置は、入力画像を受け取ると、
画像をタイルに分割し(ステップS51)、入力画像の
色空間に応じ、RGB、またはYUV等への色空間変換
を行うかどうか判断し(ステップS52)、必要である
と判断した場合(YESの場合)は、色変換を行う(ス
テップS53)。ステップS52において、入力画像が
すでに色空間変換されている場合や、色空間変換を行わ
ず圧縮する場合なども当然考えられるため、この場合
(NOの場合)は、ステップS54へ移行する。次に、
ウェーブレット変換を施し(ステップS54)、量子化
を行う(ステップS55)。
FIG. 16 is a flow chart for explaining an example of another image compression process to which the present invention is applied. First,
The image compression / decompression device of the present invention receives an input image,
The image is divided into tiles (step S51), it is determined whether color space conversion to RGB, YUV, or the like is performed according to the color space of the input image (step S52), and when it is determined that it is necessary (YES). In the case), color conversion is performed (step S53). In step S52, the input image may be already color space-converted, or it may be compressed without performing the color space conversion. Therefore, in this case (NO), the process proceeds to step S54. next,
Wavelet transformation is performed (step S54) and quantization is performed (step S55).

【0150】次に、ステップS56において、すべての
領域について処理が終了したかどうか判断し(ステップ
S56)、終了していなかった場合(NOの場合)は、
分割された領域毎に、注目度の設定がされているかどう
か判断される(ステップS57)。使用者により領域内
ビットプレーン毎に注目度が設定され、分割の指定が行
われている場合(YESの場合)には、該当する分割領
域に対してビットプレーン分割を設定する(ステップS
58)。また、ビットプレーン分割の指定が行われてい
ない場合(NOの場合)は、領域毎に基準となるビット
プレーン分割を設定する(ステップS59)。
Next, in step S56, it is determined whether or not the processing has been completed for all areas (step S56). If not completed (in the case of NO),
It is determined whether the attention level is set for each of the divided areas (step S57). When the user sets the attention degree for each bit plane in the area and the division is designated (in the case of YES), the bit plane division is set for the corresponding divided area (step S).
58). If the bit plane division is not designated (NO), the reference bit plane division is set for each area (step S59).

【0151】次に、分割されたビットプレーンの符号化
を行う(ステップS60)。符号化が終了すると、分割
領域をカウントするためのカウンタをアップさせて(ス
テップS61)、ステップS56に戻る。以下、全領域
について終了するまでステップS56からステップS6
1までの処理を繰り返し、全領域について終了すると
(ステップS56のYESの場合)、再び注目度が設定
されているか判断し(ステップS62)、注目度が設定
されている場合は、設定された注目度に応じた順番で、
コードストリーム列を生成し(ステップS63)、タグ
処理を行う。注目度が設定されてない場合は通常のコー
ドストリーム生成を行い(ステップS64)、処理を終
了する。
Next, the divided bit planes are encoded (step S60). When the encoding is completed, the counter for counting the divided areas is incremented (step S61), and the process returns to step S56. Hereinafter, steps S56 to S6 are performed until the processing is completed for all areas.
When the process up to 1 is repeated and the processing is completed for all areas (YES in step S56), it is determined again whether the attention level is set (step S62). If the attention level is set, the set attention level is set. In order according to the degree,
A code stream string is generated (step S63) and tag processing is performed. When the attention level is not set, normal code stream generation is performed (step S64), and the process ends.

【0152】ここで、前述した図5において、本発明を
静止グレースケール画像に対して適用した場合につい
て、領域分割の際の単位をタイルとして説明する。図5
(A)に示したように、原画像40を複数のタイルに分
割し、例えば図25に示したようにラスタ順に0〜15
までタイルに番号をつけた場合、図5(B)に示した黒
塗り部分41に該当するタイル番号5,6、9,10の
タイルを優先対象とする。図17は、本発明におけるタ
イル毎の注目度設定例を示す図で、優先したいタイルと
してタイル番号5,6、9,10のタイルとその他のタ
イル間における注目度の設定例を示すものである。この
ように優先するタイルにおける多くのビットプレーンに
対して高い注目度(本例では注目度0が最高レベルとな
る)を設定し、後述する図18に示す符号列を生成する
ことにより、注目度に合わせた符号列の作成が行える。
また、符号列の大きさに対する制限等により、注目度の
低い部分からビットプレーンを削ることにより圧縮率を
上げることが可能となる。
Here, referring to FIG. 5 described above, a case where the present invention is applied to a still grayscale image will be described by using a tile as a unit for area division. Figure 5
As shown in (A), the original image 40 is divided into a plurality of tiles and, for example, as shown in FIG.
When the tiles are numbered up to, the tiles having tile numbers 5, 6, 9, and 10 corresponding to the black-painted portion 41 shown in FIG. 5B are prioritized. FIG. 17 is a diagram showing an example of attention level setting for each tile according to the present invention, and shows an example of attention level setting between the tiles with tile numbers 5, 6, 9, and 10 and other tiles as priority tiles. . In this way, a high attention level (attention level 0 is the highest level in this example) is set for many bit planes in the priority tiles, and a code string shown in FIG. It is possible to create a code string according to.
Also, due to restrictions on the size of the code string and the like, it is possible to increase the compression rate by cutting the bit plane from the portion of low attention.

【0153】図18は、図17に示した注目度が作成さ
れた場合における符号列の構成例を示す図で、図中、1
50はメインヘッダ、151はタイルパートヘッダ、1
52はビットストリーム、153はコードストリームの
終端である。注目度の高いものから先に符号列を構成す
ることにより、伝送路の障害などにより、途中でデータ
の切れた場合でも、最も効果的な画像を得ることができ
る。また、例えば、注目度2までのデータしか必要とし
ないというような要求にも容易に応えることが可能であ
る。また、伸長装置に所定の機能が備わっている場合
は、到着したデータから順に表示するということも可能
であるので、注目度の高いものから徐々に表示するとい
うことも可能である。
FIG. 18 is a diagram showing an example of the structure of a code string when the attention level shown in FIG. 17 is created.
50 is a main header, 151 is a tile part header, 1
52 is a bit stream, and 153 is the end of the code stream. By arranging the code strings in descending order of attention, the most effective image can be obtained even if the data is cut off in the middle due to a failure of the transmission path or the like. Further, for example, it is possible to easily meet the demand that only the data up to the attention level 2 is required. Further, when the decompression device has a predetermined function, it is possible to display the received data in order, so that it is possible to display the data in descending order of attention.

【0154】図19は、本発明の一実施形態に係わる静
止画像を対象とした画像圧縮伸長装置の他の構成例を示
すブロック図で、図中、170は色空間変換・逆変換
部、171は第1コンポーネントで、該第1コンポーネ
ント171は、ウェーブレット変換・逆変換部171
a、量子化・逆量子化部171b、ビットプレーン分割
部171c、エントロピー符号・復号化部171dから
なり、同様に第2コンポーネント172は、ウェーブレ
ット変換・逆変換部172a、量子化・逆量子化部17
2b、ビットプレーン分割部172c、エントロピー符
号・復号化部172dからなり、第3コンポーネント1
73は、ウェーブレット変換・逆変換部173a、量子
化・逆量子化部173b、ビットプレーン分割部173
c、エントロピー符号・復号化部173dからなり、1
74は、コードストリーム処理部、175は、解像度設
定部である。
FIG. 19 is a block diagram showing another example of the configuration of an image compression / decompression device for a still image according to an embodiment of the present invention. In the figure, 170 is a color space conversion / inverse conversion unit, 171. Is a first component, and the first component 171 is a wavelet transform / inverse transform unit 171.
a, a quantization / inverse quantization unit 171b, a bit plane division unit 171c, and an entropy encoding / decoding unit 171d. Similarly, the second component 172 includes a wavelet transform / inverse transform unit 172a, a quantization / inverse quantization unit. 17
2b, a bit plane division unit 172c, and an entropy coding / decoding unit 172d.
73 denotes a wavelet transform / inverse transform unit 173a, a quantization / inverse quantization unit 173b, and a bit plane division unit 173.
c, consisting of entropy coding / decoding section 173d, 1
Reference numeral 74 is a code stream processing unit, and 175 is a resolution setting unit.

【0155】なお、図19に示す画像圧縮伸長装置にお
いては、画像の圧縮及び伸長に対応できるように各処理
ブロックにおける変換・逆変換部を1つとして図示して
いるが、変換部と逆変換部に分けた形態をとってもよ
い。こうすることで画像圧縮装置、画像伸長装置として
各々独立して用いることが可能となる。また、本発明の
画像圧縮伸長装置、または画像伸長装置において伸長さ
れる圧縮画像は、本発明の画像圧縮装置により圧縮され
た圧縮画像に限定されず、画像を複数の領域に分割し、
異なる解像度を設定し、設定した解像度に基づいて領域
毎に圧縮を制御して圧縮された圧縮画像全般に適用する
ことができる。
In the image compression / expansion device shown in FIG. 19, one conversion / inverse conversion unit in each processing block is shown so as to be capable of compressing and expanding an image. You may take the form divided into parts. By doing so, it becomes possible to independently use the image compression device and the image expansion device. Further, the image compression / decompression device of the present invention, or the compressed image decompressed by the image decompression device is not limited to the compressed image compressed by the image compression device of the present invention, and the image is divided into a plurality of regions,
It is possible to set different resolutions, control the compression for each area based on the set resolutions, and apply the compressed images in general.

【0156】上記に示す画像圧縮伸長装置は、静止画像
を対象としたものである。処理はコンポーネント17
1,172,173毎に並列に進められる。ここでの色
空間は、RGBあるいはYUVなどを入力できる。
The image compression / decompression device shown above is intended for still images. Processing is component 17
Every 1,172,173 is advanced in parallel. RGB or YUV can be input as the color space here.

【0157】以下、圧縮する場合について説明する。ま
ず、色空間変換・逆変換部170において、RGBある
いはYUVの色空間に変換され、コンポーネント17
1,172,173毎に並列に処理が進められる。ここ
では第1コンポーネント171を例に説明するが、他の
第2コンポーネント172及び第3コンポーネント17
3も同様の処理がなされる。色空間変換された画像は、
タイルに分割され、タイル毎にウェーブレット変換・逆
変換部171aにてウェーブレット変換処理される。
Hereinafter, the case of compression will be described. First, the color space conversion / inverse conversion unit 170 converts the color space into RGB or YUV color space, and the component 17
Processing is advanced in parallel for each of 1,172 and 173. Here, the first component 171 will be described as an example, but other second component 172 and third component 17
The same processing is performed for 3. The color space converted image is
It is divided into tiles, and wavelet transform processing is performed by the wavelet transform / inverse transform unit 171a for each tile.

【0158】次に量子化・逆量子化部171bでは、ウ
ェーブレット変換された係数の量子化が行われる。この
際、領域ごとに解像度が設定されている場合は、設定さ
れた解像度に合わせて、量子化を行う。具体的には、設
定した解像度に応じて、ウェーブレット係数の高周波成
分を0にする、もしくは、高周波成分をカットできるよ
うにする。これは、例えば、ウェーブレット係数値(高
周波成分)に対して予め閾値を設定しておき、この閾値
と解像度を関連付けておく。この際、使用者により解像
度が設定された場合、その解像度に応じた閾値以下のウ
ェーブレット係数をカットする(符号をなくす)、もし
くは、閾値以下のウェーブレット係数値を0にしてもよ
い。また、別の方法として、使用者により設定された解
像度と、サブバンドの高周波成分(HL,LH,HH)
とを関連付けておき、その解像度に応じた高周波成分の
ウェーブレット係数をカットする(符号をなくす)、も
しくは、高周波成分のウェーブレット係数値をすべて0
にしてもよい。
Next, the quantization / inverse quantization unit 171b quantizes the wavelet-transformed coefficients. At this time, if the resolution is set for each area, the quantization is performed according to the set resolution. Specifically, the high frequency component of the wavelet coefficient is set to 0 or the high frequency component can be cut according to the set resolution. For this, for example, a threshold value is set in advance for the wavelet coefficient value (high frequency component), and the threshold value and the resolution are associated with each other. At this time, when the resolution is set by the user, the wavelet coefficients below the threshold corresponding to the resolution may be cut (the sign is removed), or the wavelet coefficient value below the threshold may be set to zero. Also, as another method, the resolution set by the user and the high frequency components (HL, LH, HH) of the subbands.
Are associated with each other, and the wavelet coefficient of the high frequency component according to the resolution is cut (the sign is removed), or the wavelet coefficient value of the high frequency component is all 0.
You may

【0159】次にビットプレーン分割部171cでは、
上記量子化されたウェーブレット係数からなるビットプ
レーンを領域ごとに分割し、分割されたウェーブレット
係数は、さらにエントロピー符号・復号化部171dで
符号化が行われる。最後にコードストリーム処理部17
4でコードストリームの生成が行われる。
Next, in the bit plane division unit 171c,
The bit plane composed of the quantized wavelet coefficients is divided for each area, and the divided wavelet coefficients are further encoded by the entropy encoding / decoding unit 171d. Finally, the code stream processing unit 17
At 4, the codestream is generated.

【0160】図20は、本発明が適用される画像圧縮伸
長装置の他の構成例の詳細を説明するためのブロック図
で、図中、180は圧縮伸長装置で、該圧縮伸長装置1
80は、色空間変換・逆変換部180a、2次元ウェー
ブレット変換・逆変換部180b、量子化・逆量子化部
180c、ビットプレーン分割部180d、エントロピ
ー符号化・復号化部180e、タグ処理部180fから
なり、181は画像分割手段、182は圧縮制御手段、
183は解像度設定手段、184はタグ処理制御手段で
ある。圧縮伸長装置180は、前述の図19に示した各
コンポーネントにおける処理と同様の処理を行う。ここ
でタグ処理部180fは、JPEG2000の特徴の1
つとして追加されたもので、コードストリームの生成や
解釈を行うための機能ブロックである。
FIG. 20 is a block diagram for explaining the details of another configuration example of the image compression / decompression device to which the present invention is applied. In the figure, reference numeral 180 denotes a compression / decompression device.
Reference numeral 80 denotes a color space conversion / inverse conversion unit 180a, a two-dimensional wavelet conversion / inverse conversion unit 180b, a quantization / inverse quantization unit 180c, a bit plane division unit 180d, an entropy encoding / decoding unit 180e, and a tag processing unit 180f. 181 is an image dividing unit, 182 is a compression control unit,
Reference numeral 183 is a resolution setting means, and 184 is a tag processing control means. The compression / decompression device 180 performs the same processing as the processing in each component shown in FIG. Here, the tag processing unit 180f is one of the features of JPEG2000.
It is a functional block for generating and interpreting a codestream.

【0161】原画像は、色空間変換・逆変換部180a
で色空間変換後、2次元ウェーブレット変換され、量子
化・逆量子化部180cにて量子化率に基づき量子化さ
れた後、画像分割手段181にて複数の領域に分割され
る。分割された領域をタイルと呼ぶ。量子化は、解像度
設定手段183により設定された解像度に従い、行われ
る。なお、本実施形態においては、注目領域、非注目領
域の分割をタイル単位で行う場合について説明している
が、他の形態として、プレシンクト単位、コードブロッ
ク単位、位置(画素)単位での分割や、これらを組み合
わせた分割も可能である。
The original image is a color space conversion / inverse conversion unit 180a.
After the color space conversion, the two-dimensional wavelet transform is performed, the quantization / inverse quantization unit 180c performs quantization based on the quantization rate, and then the image dividing unit 181 divides the image into a plurality of regions. The divided areas are called tiles. The quantization is performed according to the resolution set by the resolution setting unit 183. In the present embodiment, the case where the attention area and the non-attention area are divided in tile units has been described, but as another form, division in precinct units, code block units, position (pixel) units, or It is also possible to divide them.

【0162】次に、量子化されたウェーブレット係数
は、ビットプレーン分割部180dにおいて、ビットプ
レーンの集まりであるレイヤへと分割される。解像度設
定手段183により設定された解像度に従って圧縮制御
手段182において圧縮制御されたビットプレーンは、
エントロピー符号化・復号化部180eでエントロピー
符号化されて、タグ処理部180fでコードストリーム
処理される。その際に、タグ処理制御手段184にて上
記解像度に合ったコードストリーム列になるように設定
がなされる。
Next, the quantized wavelet coefficient is divided into a layer which is a collection of bit planes in the bit plane dividing unit 180d. The bit plane compression-controlled by the compression control unit 182 according to the resolution set by the resolution setting unit 183 is
Entropy coding is performed by the entropy coding / decoding unit 180e, and codestream processing is performed by the tag processing unit 180f. At this time, the tag processing control unit 184 sets the code stream string so as to match the resolution.

【0163】また、通常よく利用される形態としては、
分割された領域に対して少なくとも2種類の解像度を設
定することができる。この場合、任意の対象領域と、他
の領域との解像度が異なるように解像度を設定すればよ
い。すなわち、対象領域に対し、他の領域に設定した解
像度よりも高い解像度を設定した場合、対象領域の方が
画質的には高精細となり、また対象領域に対し、他の領
域に設定した解像度よりも低い解像度を設定した場合、
対象領域の方が画質的には粗くなる。このように使用者
の嗜好に応じて適宜解像度を設定することができる。
In addition, as a form often used,
At least two types of resolutions can be set for the divided areas. In this case, the resolution may be set so that the arbitrary target area and the other areas have different resolutions. That is, when a higher resolution is set for the target area than the resolution set for other areas, the target area has higher definition in terms of image quality, and the target area has a higher resolution than the resolution set for other areas. If you also set a lower resolution,
The image quality of the target area is coarser. In this way, the resolution can be set appropriately according to the preference of the user.

【0164】また、本実施形態の構成において、解像度
設定手段183により設定された解像度に応じて、ウェ
ーブレット係数の計算を適切に省略することができる。
これは、例えば、ウェーブレット係数のうち高周波成分
(LH,HL,HH)について、計算を省略するように
する。これにより、余分な計算を省いて処理を高速化す
ることができる。さらに、特定領域におけるウェーブレ
ット係数の低周波成分の計算に、平均計算を用いたり、
低周波成分の中から特定要素を抽出して用いるなどの方
法も、処理の高速化を図る上で効果的である。
Further, in the configuration of this embodiment, the calculation of the wavelet coefficient can be appropriately omitted according to the resolution set by the resolution setting means 183.
For this purpose, for example, the calculation is omitted for the high frequency components (LH, HL, HH) of the wavelet coefficients. As a result, it is possible to speed up the processing by omitting extra calculation. Furthermore, to calculate the low frequency component of the wavelet coefficient in a specific region, use an average calculation,
A method of extracting and using a specific element from the low-frequency component is also effective in increasing the processing speed.

【0165】本発明によると、分割された領域それぞれ
に対し、解像度を設定し、この解像度に従って圧縮制御
を行うため、領域毎にきめ細かく画像の品質を制御する
ことが可能となる。また、少なくとも2種類の領域に対
し、解像度の設定を行うため、簡単な構成により容易に
使用者の嗜好を反映させた圧縮制御が実現できる。ま
た、ウェーブレット係数の計算を適切に省略することに
より、余分な処理を省き、処理の高速化が可能となる。
According to the present invention, the resolution is set for each of the divided areas, and the compression control is performed according to this resolution. Therefore, it is possible to finely control the image quality for each area. In addition, since the resolution is set for at least two types of areas, it is possible to easily realize compression control that reflects the user's preference with a simple configuration. Further, by appropriately omitting the calculation of the wavelet coefficient, it is possible to omit an extra process and speed up the process.

【0166】図20に示した画像圧縮伸長装置は、前述
の図3に示した動画像圧縮伸長装置30と同様の構成を
とることにより、動画像に対しても適用することができ
る。この際、領域毎のビットプレーン分割の設定は、全
画像に対し設定を行うことも可能であるし、変化が発生
する際に設定する方法、または対象物の移動をフレーム
間差分データ等から自動的に検出し、ビットプレーン分
割を設定する方法等もとることができる。
The image compression / decompression device shown in FIG. 20 can be applied to a moving image by adopting the same configuration as the moving image compression / decompression device 30 shown in FIG. At this time, it is possible to set the bit plane division for each area for all images, or to set the method when a change occurs, or to automatically move the target object from the inter-frame difference data etc. It is also possible to use a method of detecting the same and setting the bit plane division.

【0167】図21は、本発明が適用される他の画像圧
縮処理の一例を説明するフローチャートである。まず、
本発明の画像圧縮伸長装置は、入力画像を受け取ると、
画像をタイルに分割し(ステップS71)、入力画像の
色空間に応じ、RGB、またはYUV等への色空間変換
を行うかどうか判断し(ステップS72)、必要である
と判断した場合(YESの場合)は、色変換を行う(ス
テップS73)。ステップS72において、入力画像が
すでに色空間変換されている場合や、色空間変換を行わ
ず圧縮する場合なども当然考えられるため、この場合
(NOの場合)は、ステップS74へ移行する。次に、
ウェーブレット変換を施す(ステップS74)。
FIG. 21 is a flow chart for explaining an example of another image compression process to which the present invention is applied. First,
The image compression / decompression device of the present invention receives an input image,
The image is divided into tiles (step S71), it is determined whether color space conversion to RGB, YUV, or the like is performed according to the color space of the input image (step S72), and when it is determined that it is necessary (YES). In the case), color conversion is performed (step S73). In step S72, it is natural that the input image is already color space-converted, or the image is compressed without color space conversion. In this case (NO), the process proceeds to step S74. next,
Wavelet transform is applied (step S74).

【0168】次に、ステップS75において、すべての
領域について処理が終了したかどうか判断し、終了して
いなかった場合(NOの場合)は、領域毎に、解像度の
設定がされているかどうか判断する(ステップS7
6)。解像度が設定されている場合(YESの場合)に
は、該当する領域に対して解像度に合わせた量子化を行
う(ステップS77)。また、解像度が設定されていな
い場合(NOの場合)は、領域毎に基準となる解像度を
設定して量子化を行う(ステップS78)。
Next, in step S75, it is determined whether or not the processing has been completed for all areas, and if not completed (in the case of NO), it is determined whether or not the resolution has been set for each area. (Step S7
6). If the resolution is set (YES), the corresponding region is quantized in accordance with the resolution (step S77). If the resolution is not set (NO), the reference resolution is set for each area and quantization is performed (step S78).

【0169】次に、該当する領域に対してビットプレー
ン分割し(ステップS79)、符号化(ステップS8
0)を行う。符号化が終了すると、分割領域をカウント
するためのカウンタをアップさせて(ステップS8
1)、ステップS75に戻る。以下、全領域について終
了するまでステップS75からステップS80までの処
理を繰り返し、全領域について終了すると(ステップS
75のYESの場合)、コードストリーム列を生成し
(ステップS82)、処理を終了する。
Next, the relevant area is divided into bit planes (step S79) and encoded (step S8).
0) is performed. When the encoding is completed, the counter for counting the divided areas is incremented (step S8).
1) and returns to step S75. Hereinafter, the processing from step S75 to step S80 is repeated until the processing is completed for all areas, and when the processing is completed for all areas (step S
In the case of YES at 75), the code stream sequence is generated (step S82), and the process is ended.

【0170】ここで、前述した図5において、本発明を
静止グレースケール画像に対して適用した場合に、領域
のタイル分割例及び解像度を設定した場合の領域分割例
について説明する。図5(A)に示したように、原画像
40を複数のタイルに分割し、例えば図25に示したよ
うにラスタ順に0〜15までタイルに番号をつけた場
合、図5(B)に示した黒塗り部分41に該当するタイ
ル番号5,6、9,10のタイルを優先対象(注目領
域)とする。この際、例えば、注目領域41の解像度
を、原画像40と同じ解像度とし、非注目領域の解像度
を、注目領域41の解像度の1/4とした場合に、ウェ
ーブレット係数のLL成分以外の成分(高周波成分:L
H,HL,HH)をすべて0にする、もしくは、符号が
ない状態とする。
Here, referring to FIG. 5 described above, an example of tile division of an area when the present invention is applied to a still grayscale image and an example of area division when a resolution is set will be described. When the original image 40 is divided into a plurality of tiles as shown in FIG. 5A and tiles are numbered from 0 to 15 in raster order as shown in FIG. 25, for example, in FIG. The tiles with tile numbers 5, 6, 9, and 10 corresponding to the black-painted portion 41 shown are set as priority targets (target areas). At this time, for example, when the resolution of the attention area 41 is the same as that of the original image 40 and the resolution of the non-attention area is ¼ of the resolution of the attention area 41, components other than the LL component of the wavelet coefficient ( High frequency component: L
H, HL, HH) are all set to 0 or there is no sign.

【0171】本発明によると、注目領域、非注目領域に
対して、きめ細かく解像度を設定し、設定した解像度に
応じた圧縮を行うことにより、高画質を維持しつつ、高
圧縮を実現することができるとともに、その際の処理時
間の短縮を実現することができる。
According to the present invention, high resolution can be realized while maintaining high image quality by finely setting the resolution for the attention area and the non-attention area and performing compression according to the set resolution. In addition to this, it is possible to reduce the processing time at that time.

【0172】以上、本発明の画像圧縮装置、画像伸長装
置、画像圧縮方法、及び画像伸長方法を中心に各実施形
態を説明してきたが、本発明は、コンピュータにこれら
装置として、又はこれら装置の各手段として機能させる
ための、或いはコンピュータにこれら方法を実行させる
ためのプログラムとしても、或いは該プログラムを記録
したコンピュータ読み取り可能な記録媒体としての形態
も可能である。
Although the respective embodiments have been described above centering on the image compressing apparatus, the image decompressing apparatus, the image compressing method, and the image decompressing method of the present invention, the present invention can be applied to a computer as these apparatuses or of these apparatuses. It may be in the form of a program for causing each means to function, or for causing a computer to execute these methods, or as a computer-readable recording medium recording the program.

【0173】本発明による画像圧縮及び伸長の機能を実
現するためのプログラムやデータを記憶した記録媒体の
実施形態を説明する。記録媒体としては、具体的には、
CD−ROM、光磁気ディスク、DVD−ROM、フロ
ッピー(登録商標)ディスク、フラッシュメモリ、メモ
リカード、メモリスティック及びその他各種ROMやR
AM等が想定でき、これら記録媒体に上述した本発明の
各実施形態に係わる機能をコンピュータに実行させ、画
像圧縮及び伸長の機能を実現するためのプログラムを記
録して流通させることにより、当該機能の実現を容易に
する。そしてコンピュータ等の情報処理装置に上記のご
とくの記録媒体を装着して情報処理装置によりプログラ
ムを読み出すか、若しくは情報処理装置が備えている記
憶媒体に当該プログラムを記憶させておき、必要に応じ
て読み出すことにより、本発明に関わる画像圧縮及び伸
長の機能を実行することができる。
An embodiment of a recording medium storing a program and data for realizing the image compression and decompression functions according to the present invention will be described. As the recording medium, specifically,
CD-ROM, magneto-optical disk, DVD-ROM, floppy (registered trademark) disk, flash memory, memory card, memory stick and other various ROMs and Rs
An AM or the like can be assumed, and by causing a computer to execute the functions according to the above-described embodiments of the present invention on these recording media, and recording and distributing a program for realizing the image compression and decompression functions, Facilitate the realization of. Then, the recording medium as described above is attached to an information processing device such as a computer and the program is read by the information processing device, or the program is stored in a storage medium included in the information processing device, and as necessary. By reading out, the image compression and decompression functions according to the present invention can be executed.

【0174】本発明によると、画像圧縮装置、または画
像伸長装置の機能を有するプログラムが実行可能とな
り、該プログラムを実行することにより、個々人の嗜好
にあった画像圧縮伸長処理の実現が可能となる。
According to the present invention, a program having a function of an image compression device or an image expansion device can be executed, and by executing the program, it is possible to realize an image compression / expansion process that suits an individual's taste. .

【0175】[0175]

【発明の効果】本発明によると、画像の重要な領域、注
目する領域を画像の使用者により設定でき、かつ、該設
定された領域を使用者の要求に応じた精度で画像圧縮す
ることができ、これにより、容易に実現可能な画像圧縮
装置、画像伸長装置、画像圧縮伸長装置、コンピュータ
が実行できるプログラム、及び該プログラムを記録した
記録媒体を提供することができる。
According to the present invention, an important region of an image and a region of interest can be set by the user of the image, and the set region can be image-compressed with the accuracy required by the user. Accordingly, it is possible to provide an image compression device, an image decompression device, an image compression / decompression device, a computer-executable program, and a recording medium that records the program, which can be easily realized.

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

【図1】 本発明の一実施形態に係わる静止画像を対象
とした画像圧縮伸長装置の構成例を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration example of an image compression / decompression device for a still image according to an embodiment of the present invention.

【図2】 本発明が適用される画像圧縮伸長装置の構成
例の詳細を説明するためのブロック図である。
FIG. 2 is a block diagram illustrating details of a configuration example of an image compression / decompression device to which the present invention is applied.

【図3】 本発明に係わる動画像を対象とした画像圧縮
伸長装置の構成例を示すブロック図である。
FIG. 3 is a block diagram showing a configuration example of an image compression / decompression device for a moving image according to the present invention.

【図4】 本発明が適用される画像圧縮処理の一例を説
明するフローチャートである。
FIG. 4 is a flowchart illustrating an example of image compression processing to which the present invention is applied.

【図5】 本発明を静止グレースケール画像に対して適
用した実施例を示す図である。
FIG. 5 is a diagram showing an embodiment in which the present invention is applied to a still grayscale image.

【図6】 本発明を静止グレースケール画像に対して適
用した他の実施例を示す図である。
FIG. 6 is a diagram showing another embodiment in which the present invention is applied to a still grayscale image.

【図7】 領域分割にプレシンクトを適用した例を示す
図である。
FIG. 7 is a diagram showing an example in which a precinct is applied to area division.

【図8】 領域分割にコードブロックを適用した例を示
す図である。
FIG. 8 is a diagram showing an example in which a code block is applied to area division.

【図9】 本発明の一実施形態に係わる画像伸長方法を
説明するためのフローチャートである。
FIG. 9 is a flowchart illustrating an image decompression method according to an exemplary embodiment of the present invention.

【図10】 本発明の一実施形態に係わる静止画像を対
象とした画像圧縮伸長装置の他の構成例を示すブロック
図である。
FIG. 10 is a block diagram showing another configuration example of an image compression / decompression device for a still image according to an embodiment of the present invention.

【図11】 本発明が適用される画像圧縮伸長装置の他
の構成例の詳細を説明するためのブロック図である。
FIG. 11 is a block diagram for illustrating details of another configuration example of the image compression / decompression device to which the present invention is applied.

【図12】 本発明が適用される他の画像圧縮処理の一
例を説明するフローチャートである。
FIG. 12 is a flowchart illustrating an example of another image compression process to which the present invention is applied.

【図13】 タイル毎のビットプレーン分割例を示す図
である。
FIG. 13 is a diagram showing an example of bit plane division for each tile.

【図14】 本発明の一実施形態に係わる静止画像を対
象とした画像圧縮伸長装置の他の構成例を示すブロック
図である。
FIG. 14 is a block diagram showing another configuration example of an image compression / decompression device for still images according to an embodiment of the present invention.

【図15】 本発明が適用される画像圧縮伸長装置の他
の構成例の詳細を説明するためのブロック図である。
FIG. 15 is a block diagram for illustrating details of another configuration example of the image compression / decompression device to which the present invention is applied.

【図16】 本発明が適用される他の画像圧縮処理の一
例を説明するフローチャートである。
FIG. 16 is a flowchart illustrating an example of another image compression process to which the present invention is applied.

【図17】 本発明におけるタイル毎の注目度設定例を
示す図である。
FIG. 17 is a diagram showing an example of attention level setting for each tile according to the present invention.

【図18】 図17に示した注目度が作成された場合に
おける符号列の構成例を示す図である。
FIG. 18 is a diagram showing a configuration example of a code string when the attention level shown in FIG. 17 is created.

【図19】 本発明の一実施形態に係わる静止画像を対
象とした画像圧縮伸長装置の他の構成例を示すブロック
図である。
FIG. 19 is a block diagram showing another configuration example of an image compression / decompression device for a still image according to an embodiment of the present invention.

【図20】 本発明が適用される画像圧縮伸長装置の他
の構成例の詳細を説明するためのブロック図である。
FIG. 20 is a block diagram illustrating details of another configuration example of the image compression / decompression device to which the present invention is applied.

【図21】 本発明が適用される他の画像圧縮処理の一
例を説明するフローチャートである。
FIG. 21 is a flowchart illustrating an example of another image compression process to which the present invention is applied.

【図22】 JPEGアルゴリズムの基本を説明するた
めのブロック図である。
FIG. 22 is a block diagram for explaining the basics of the JPEG algorithm.

【図23】 JPEG2000アルゴリズムの基本を説
明するためのブロック図である。
FIG. 23 is a block diagram for explaining the basics of the JPEG2000 algorithm.

【図24】 デコンポジションレベルが3の場合の、各
デコンポジションレベルにおけるサブバンドの一例を示
す図である。
FIG. 24 is a diagram showing an example of subbands at each decomposition level when the decomposition level is 3.

【図25】 タイル分割されたカラー画像の各コンポー
ネントの例を示す図である。
FIG. 25 is a diagram illustrating an example of each component of a tile-divided color image.

【図26】 プレシンクトとコードブロックの関係の一
例を説明する図である。
FIG. 26 is a diagram illustrating an example of a relationship between precincts and code blocks.

【図27】 コードストリームの構造の一例を簡単に示
した図である。
FIG. 27 is a diagram briefly showing an example of the structure of a codestream.

【図28】 ビットプレーンに順位付けする手順の一例
を簡単に示した図である。
FIG. 28 is a diagram briefly showing an example of a procedure of ranking bit planes.

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

10,20a,50,60,110,120a,13
0,140a,170,180a…色空間変換・逆変換
部、11,111,131,171…第1コンポーネン
ト、12,112,132,172…第2コンポーネン
ト、13,113,133,173…第3コンポーネン
ト、11a,12a,13a,20b,61,111
a,112a,113a,120b,131a,132
a,133a,140b,171a,172a,173
a,180b…ウェーブレット変換・逆変換部、11
b,12b,13b…量子化率選択部、11c,12
c,13c,20c,52,62,111b,112
b,113b,120c,131b,132b,133
b,140c,171b,172b,173b,180
c…量子化・逆量子化部、11d,12d,13d,2
0d,53,63,111d,112d,113d,1
20e,131d,132d,133d,140e,1
71d,172d,173d,180e…エントロピー
符号・復号化部、14,114,134,174…コー
ドストリーム処理部、15…量子化率設定部、20,1
20,140,180…圧縮伸長装置、20e,64,
120f,140f,180f…タグ処理部、21,1
21,141,181…画像分割手段、22,142,
182…圧縮制御手段、23…量子化率設定手段、2
4,124…領域指定手段、30…動画像圧縮伸長装
置、30a…フレーム制御手段、30b…静止画像圧縮
伸長手段、30c…圧縮動画像処理手段、40,90,
160…原画像、41,42,43,44…注目領域
(重要領域)、51…離散コサイン変換・逆変換部、7
0…デコンポジションレベル0のタイル、71…デコン
ポジションレベル1のタイル、72…デコンポジション
レベル2のタイル、73…デコンポジションレベル3の
タイル、80…第1コンポーネント(R)、81…第2
コンポーネント(G)、82…第3コンポーネント
(B)、80t,81t,82 t,90t0,90t1,90
t2,90t3,160t0,160t1,160t2,160t 3
…タイル、90p4,90p6,160p0,160p1,16
p2,160p3…プレシンクト、90b1,160b3,1
60w3…コードブロック、100,150…メインヘッ
ダ、101,151…タイルパートヘッダ、102,1
52…ビットストリーム、103,153…コードスト
リーム終端、111c,112c,113c,120
d,131c,132c,133c,140d,171
c,172c,173c,180d…ビットプレーン分
割部、115…ビットプレーン設定部、122…ビット
プレーン分割制御手段、123…ビットプレーン分割指
定手段、135…注目度設定部、143…注目度設定手
段、144,184…タグ処理制御手段、175…解像
度設定部、183…解像度設定手段。
10, 20a, 50, 60, 110, 120a, 13
0,140a, 170,180a ... Color space conversion / inverse conversion
Part, 11, 111, 131, 171 ... First component
G, 12, 112, 132, 172 ... Second component
G, 13, 113, 133, 173 ... Third component
11a, 12a, 13a, 20b, 61, 111
a, 112a, 113a, 120b, 131a, 132
a, 133a, 140b, 171a, 172a, 173
a, 180b ... Wavelet transform / inverse transform unit, 11
b, 12b, 13b ... Quantization rate selection unit, 11c, 12
c, 13c, 20c, 52, 62, 111b, 112
b, 113b, 120c, 131b, 132b, 133
b, 140c, 171b, 172b, 173b, 180
c ... Quantization / inverse quantization unit, 11d, 12d, 13d, 2
0d, 53, 63, 111d, 112d, 113d, 1
20e, 131d, 132d, 133d, 140e, 1
71d, 172d, 173d, 180e ... Entropy
Coding / decoding unit, 14, 114, 134, 174 ... Co
Stream processing unit, 15 ... Quantization rate setting unit, 20, 1.
20, 140, 180 ... Compression / expansion device, 20e, 64,
120f, 140f, 180f ... Tag processing unit 21, 1
21, 141, 181 ... Image dividing means, 22, 142,
182 ... Compression control means, 23 ... Quantization rate setting means, 2
4, 124 ... Area designation means, 30 ... Moving image compression / decompression device
, 30a ... Frame control means, 30b ... Still image compression
Decompression means, 30c ... Compressed moving image processing means, 40, 90,
160 ... Original image, 41, 42, 43, 44 ... Region of interest
(Important area), 51 ... Discrete cosine transform / inverse transform unit, 7
0 ... Decomposition Level 0 tile, 71 ... Decomposition
Position level 1 tiles, 72 ... Decomposition
Level 2 tiles, 73 ... Decomposition level 3
Tile, 80 ... First component (R), 81 ... Second
Component (G), 82 ... Third component
(B), 80t, 81t, 82 t, 90t0, 90t1, 90
t2, 90t3, 160t0, 160t1, 160t2, 160t 3
… Tiles, 90p4, 90p6, 160p0, 160p1, 16
0p2, 160p3… Precinct, 90b1, 160b3, 1
60w3… Code blocks, 100, 150… Main head
Da, 101, 151 ... Tile part header, 102, 1
52 ... bit stream, 103, 153 ... code list
Ream end, 111c, 112c, 113c, 120
d, 131c, 132c, 133c, 140d, 171
c, 172c, 173c, 180d ... Bit plane equivalent
Split part, 115 ... Bit plane setting part, 122 ... Bit
Plane division control means, 123 ... Bit plane division finger
Setting means, 135 ... Attention degree setting unit, 143 ... Attention degree setting hand
Stage, 144, 184 ... Tag processing control means, 175 ... Resolution
Degree setting section 183 ... Resolution setting means.

フロントページの続き Fターム(参考) 5C059 KK03 KK04 MA00 MA24 MC11 MC38 ME01 PP01 PP04 PP15 PP16 SS15 SS21 SS28 TA46 TB08 TC34 UA02 UA05 5C078 BA53 CA02 CA27 DA01 DA11 DB00 5J064 AA01 BA09 BA16 BC01 BC02 BC08 BC14 BC16 BC29 BD03Continued front page    F-term (reference) 5C059 KK03 KK04 MA00 MA24 MC11                       MC38 ME01 PP01 PP04 PP15                       PP16 SS15 SS21 SS28 TA46                       TB08 TC34 UA02 UA05                 5C078 BA53 CA02 CA27 DA01 DA11                       DB00                 5J064 AA01 BA09 BA16 BC01 BC02                       BC08 BC14 BC16 BC29 BD03

Claims (57)

【特許請求の範囲】[Claims] 【請求項1】 画像を複数の領域に分割する画像分割手
段と、画像中の1または複数の注目領域を指定する領域
指定手段と、前記画像分割手段により分割した領域毎に
量子化率を設定する量子化率設定手段と、該設定した量
子化率に基づいて領域毎に圧縮を制御する圧縮制御手段
とを有し、前記領域指定手段により指定された注目領域
に対し他の領域と異なる量子化率を設定可能とすること
を特徴とする画像圧縮装置。
1. An image dividing means for dividing an image into a plurality of areas, an area specifying means for specifying one or a plurality of attention areas in the image, and a quantization rate for each area divided by the image dividing means. Quantization rate setting means for controlling the compression for each area based on the set quantization rate, and a quantum different from other areas for the attention area specified by the area specifying means. An image compression device characterized in that a conversion rate can be set.
【請求項2】 請求項1に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域に注目
度を設定する注目度設定手段を有し、該注目度が設定さ
れた注目領域に対して、注目度に応じて異なる量子化率
を設定することを特徴とする画像圧縮装置。
2. The image compression apparatus according to claim 1, further comprising: attention level setting means for setting the attention level to the attention area designated by the area designation means, wherein the attention area to which the attention degree is set is set. On the other hand, the image compression device is characterized in that different quantization rates are set according to the degree of attention.
【請求項3】 請求項1または2に記載の画像圧縮装置
において、前記画像分割手段により分割された領域に対
し、少なくとも2種類の異なる量子化率を設定すること
を特徴とする画像圧縮装置。
3. The image compression apparatus according to claim 1, wherein at least two different quantization rates are set for the areas divided by the image dividing means.
【請求項4】 請求項3に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域の量子
化率を、他の領域に対して高く設定することを特徴とす
る画像圧縮装置。
4. The image compression apparatus according to claim 3, wherein the quantization rate of the attention area designated by the area designating unit is set higher than that of other areas.
【請求項5】 請求項3に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域の量子
化率を、他の領域に対して低く設定することを特徴とす
る画像圧縮装置。
5. The image compression apparatus according to claim 3, wherein the quantization rate of the attention area designated by the area designation unit is set to be lower than that of other areas.
【請求項6】 画像を複数の領域に分割する画像分割手
段と、画像中の1または複数の注目領域を指定する領域
指定手段と、前記画像分割手段により分割した領域毎に
ビット数を設定するビット数設定手段と、該設定したビ
ット数に基づいて領域毎に圧縮を制御する圧縮制御手段
とを有し、前記領域指定手段により指定された注目領域
に対し他の領域と異なるビット数を設定可能とすること
を特徴とする画像圧縮装置。
6. An image dividing means for dividing an image into a plurality of areas, an area specifying means for specifying one or a plurality of attention areas in the image, and a bit number for each area divided by the image dividing means. It has a bit number setting means and a compression control means for controlling compression for each area based on the set bit number, and sets a bit number different from other areas for the attention area specified by the area specifying means. An image compression device capable of enabling.
【請求項7】 請求項6に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域に注目
度を設定する注目度設定手段を有し、該注目度が設定さ
れた注目領域に対して、注目度に応じて異なるビット数
を設定することを特徴とする画像圧縮装置。
7. The image compression apparatus according to claim 6, further comprising: attention level setting means for setting the attention level to the attention area designated by the area designation means, wherein the attention area to which the attention degree is set is set. On the other hand, an image compression device characterized in that a different number of bits is set according to the degree of attention.
【請求項8】 請求項6に記載の画像圧縮装置におい
て、前記画像分割手段により分割された領域に対し、少
なくとも2種類の異なるビット数を前記注目度に応じて
設定することを特徴とする画像圧縮装置。
8. The image compression apparatus according to claim 6, wherein at least two different bit numbers are set in the area divided by the image dividing means according to the attention level. Compressor.
【請求項9】 請求項8に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域のビッ
ト数を、他の領域に対して、前記注目度が高いほど多く
設定することを特徴とする画像圧縮装置。
9. The image compression apparatus according to claim 8, wherein the number of bits of the attention area designated by the area designating unit is set to be larger with respect to other areas as the attention degree is higher. Image compression device.
【請求項10】 請求項8に記載の画像圧縮装置におい
て、前記領域指定手段により指定された注目領域のビッ
ト数を、他の領域に対して、前記注目度が高いほど少な
く設定することを特徴とする画像圧縮装置。
10. The image compression apparatus according to claim 8, wherein the number of bits of the attention area designated by the area designating unit is set to be smaller with respect to other areas as the attention degree is higher. Image compression device.
【請求項11】 請求項1ないし10のいずれか1に記
載の画像圧縮装置において、前記領域指定手段は、前記
画像分割手段により分割された領域の中から1または複
数の注目領域を指定することを特徴とする画像圧縮装
置。
11. The image compression apparatus according to claim 1, wherein the area designating unit designates one or a plurality of regions of interest from among the regions divided by the image dividing unit. An image compression device characterized by.
【請求項12】 請求項1ないし11のいずれか1に記
載の画像圧縮装置において、前記領域指定手段は、画像
中の注目部分に合わせて1または複数の注目領域を指定
することを特徴とする画像圧縮装置。
12. The image compression apparatus according to claim 1, wherein the area designating unit designates one or a plurality of areas of interest in accordance with a portion of interest in the image. Image compression device.
【請求項13】 画像を複数の領域に分割する画像分割
手段と、該画像分割手段により分割した領域毎に解像度
を設定する解像度設定手段と、該設定した解像度に従っ
て領域毎に異なる解像度で圧縮を制御する圧縮制御手段
とを有することを特徴とする画像圧縮装置。
13. An image dividing means for dividing an image into a plurality of areas, a resolution setting means for setting a resolution for each area divided by the image dividing means, and a compression with a different resolution for each area according to the set resolution. An image compression apparatus comprising: a compression control unit for controlling.
【請求項14】 請求項13に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された領域に対し、
少なくとも2種類の異なる解像度を設定することを特徴
とする画像圧縮装置。
14. The image compression apparatus according to claim 13, wherein the area divided by the image dividing unit is
An image compression apparatus characterized by setting at least two different resolutions.
【請求項15】 請求項14に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された領域に対し、
少なくとも1つの領域の解像度を、他の領域よりも高く
設定することを特徴とする画像圧縮装置。
15. The image compression apparatus according to claim 14, wherein the area divided by the image dividing unit is
An image compression apparatus, characterized in that the resolution of at least one area is set higher than that of other areas.
【請求項16】 請求項14に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された領域に対し、
少なくとも1つの領域の解像度を、他の領域よりも低く
設定することを特徴とする画像圧縮装置。
16. The image compression apparatus according to claim 14, wherein the area divided by the image dividing unit is
An image compression apparatus, wherein the resolution of at least one area is set lower than that of other areas.
【請求項17】 請求項13ないし16のいずれか1に
記載の画像圧縮装置において、前記解像度設定手段によ
り設定された解像度に応じて、ウェーブレット係数の計
算を省略することを特徴とする画像圧縮装置。
17. The image compression apparatus according to claim 13, wherein calculation of wavelet coefficients is omitted according to the resolution set by the resolution setting unit. .
【請求項18】 請求項17に記載の画像圧縮装置にお
いて、前記計算を省略するウェーブレット係数は、高周
波成分であることを特徴とする画像圧縮装置。
18. The image compression apparatus according to claim 17, wherein the wavelet coefficient for which the calculation is omitted is a high frequency component.
【請求項19】 請求項18に記載の画像圧縮装置にお
いて、特定領域のウェーブレット係数の低周波成分の計
算に、平均計算を用いることを特徴とする画像圧縮装
置。
19. The image compression apparatus according to claim 18, wherein an average calculation is used to calculate the low-frequency component of the wavelet coefficient of the specific region.
【請求項20】 請求項18に記載の画像圧縮装置にお
いて、特定領域のウェーブレット係数の低周波成分の計
算に、特定要素を抽出して用いることを特徴とする画像
圧縮装置。
20. The image compression apparatus according to claim 18, wherein a specific element is extracted and used for the calculation of the low frequency component of the wavelet coefficient of the specific region.
【請求項21】 請求項1ないし20のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、タイルを用いて分割することを特徴とする画像
圧縮装置。
21. The image compression apparatus according to claim 1, wherein tiles are used to divide the image into a plurality of areas.
【請求項22】 請求項1ないし20のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、プレシンクトを用いて分割することを特徴とす
る画像圧縮装置。
22. The image compression apparatus according to claim 1, wherein a precinct is used to divide an image into a plurality of areas.
【請求項23】 請求項1ないし20のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、コードブロックを用いて分割することを特徴と
する画像圧縮装置。
23. The image compression apparatus according to claim 1, wherein a code block is used to divide an image into a plurality of areas.
【請求項24】 請求項1ないし20のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、画素単位で分割することを特徴とする画像圧縮
装置。
24. The image compression apparatus according to claim 1, wherein when the image is divided into a plurality of areas, the image is divided in pixel units.
【請求項25】 請求項1ないし20のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、タイル、プレシンクト、コードブロック、画素
単位のうちいずれか2以上を組み合わせて分割すること
を特徴とする画像圧縮装置。
25. The image compression apparatus according to claim 1, wherein when the image is divided into a plurality of areas, any two or more of a tile, a precinct, a code block, and a pixel unit are combined. An image compression device characterized in that it is divided into two parts.
【請求項26】 請求項1ないし25のいずれか1に記
載の画像圧縮装置において、画像を複数の領域に分割す
る際に、画像中の注目部分に合わせて領域を設定し、該
設定した領域により画像を分割することを特徴とする画
像圧縮装置。
26. The image compression apparatus according to claim 1, wherein when the image is divided into a plurality of areas, the area is set according to a target portion in the image, and the set area is set. An image compression apparatus, characterized in that an image is divided by.
【請求項27】 請求項26に記載の画像圧縮装置にお
いて、分割された領域の境界が、タイル境界であること
を特徴とする画像圧縮装置。
27. The image compression apparatus according to claim 26, wherein the boundaries of the divided areas are tile boundaries.
【請求項28】 請求項26に記載の画像圧縮装置にお
いて、分割された領域の境界が、プレシンクト境界であ
ることを特徴とする画像圧縮装置。
28. The image compression apparatus according to claim 26, wherein the boundary of the divided areas is a precinct boundary.
【請求項29】 請求項26に記載の画像圧縮装置にお
いて、分割された領域の境界が、コードブロック境界で
あることを特徴とする画像圧縮装置。
29. The image compression apparatus according to claim 26, wherein a boundary between the divided areas is a code block boundary.
【請求項30】 請求項26に記載の画像圧縮装置にお
いて、分割された領域の境界が、タイル境界、プレシン
クト境界、コードブロック境界のうちいずれか2以上の
境界であることを特徴とする画像圧縮装置。
30. The image compression apparatus according to claim 26, wherein the boundaries of the divided areas are two or more of a tile boundary, a precinct boundary, and a code block boundary. apparatus.
【請求項31】 画像を複数の領域に分割する画像分割
手段と、該画像分割手段により分割した領域をビットプ
レーンに分解するビットプレーン分解手段と、該分解し
たビットプレーンに対して注目度を設定する注目度設定
手段と、該ビットプレーンに設定した注目度に基づいて
領域毎に圧縮を制御する圧縮制御手段とを有し、前記ビ
ットプレーンに設定された注目度に応じて圧縮画像を生
成することを特徴とする画像圧縮装置。
31. An image dividing unit for dividing an image into a plurality of regions, a bit plane decomposition unit for dividing the region divided by the image dividing unit into bit planes, and a degree of attention is set for the decomposed bit planes. And a compression control unit that controls compression for each area based on the attention level set for the bit plane, and generates a compressed image according to the attention level set for the bit plane. An image compression device characterized by the above.
【請求項32】 画像を複数の領域に分割する画像分割
手段と、該画像分割手段により分割した領域をビットプ
レーンに分解するビットプレーン分解手段と、該分解し
たビットプレーンに対して注目度を設定する注目度設定
手段と、該ビットプレーンに設定した注目度に基づいて
領域毎に圧縮を制御する圧縮制御手段と、前記注目度に
基づいてタグ処理を制御するタグ処理制御手段とを有
し、前記ビットプレーンに設定された注目度に応じて圧
縮画像を生成することを特徴とする画像圧縮装置。
32. An image dividing unit that divides an image into a plurality of regions, a bit plane decomposition unit that decomposes the region divided by the image dividing unit into bit planes, and a degree of interest is set for the decomposed bit planes. An attention degree setting means, a compression control means for controlling compression for each area based on the attention degree set in the bit plane, and a tag processing control means for controlling tag processing based on the attention degree. An image compression apparatus, which generates a compressed image according to the degree of attention set in the bit plane.
【請求項33】 請求項31または32に記載の画像圧
縮装置において、前記画像分割手段により分割された領
域それぞれに応じたビットプレーンに対し前記注目度を
設定することを特徴とする画像圧縮装置。
33. The image compression apparatus according to claim 31, wherein the attention level is set for a bit plane corresponding to each area divided by the image division means.
【請求項34】 請求項33に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された領域それぞれ
に応じたビットプレーンに対し、少なくとも2種類の異
なる注目度を設定することを特徴とする画像圧縮装置。
34. The image compression apparatus according to claim 33, wherein at least two different attention levels are set for bit planes corresponding to respective regions divided by the image dividing means. Compressor.
【請求項35】 請求項33に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された少なくとも1
つの画像領域のビットプレーンに、他の画像領域に設定
した注目度に対して高い注目度を多く設定することを特
徴とする画像圧縮装置。
35. The image compression apparatus according to claim 33, wherein at least one of the image data is divided by the image division means.
An image compression apparatus characterized in that, in a bit plane of one image area, a high degree of attention is set with respect to the degree of attention set in another image area.
【請求項36】 請求項33に記載の画像圧縮装置にお
いて、前記画像分割手段により分割された少なくとも1
つの画像領域のビットプレーンに、他の画像領域に設定
した注目度に対して高い注目度を少なく設定することを
特徴とする画像圧縮装置。
36. The image compression apparatus according to claim 33, wherein at least one image is divided by the image dividing means.
An image compression apparatus characterized in that, in a bit plane of one image area, a high attention degree is set to be smaller than a attention degree set to another image area.
【請求項37】 請求項1ないし36のいずれか1に記
載の画像圧縮装置において、2次元離散ウェーブレット
変換器と、量子化器と、エントロピー符号化器との組合
せで構成されていることを特徴とする画像圧縮装置。
37. The image compression apparatus according to claim 1, wherein the image compression apparatus is configured by a combination of a two-dimensional discrete wavelet transformer, a quantizer, and an entropy encoder. Image compression device.
【請求項38】 請求項31ないし37のいずれか1に
記載の画像圧縮装置を用いて圧縮した圧縮画像を伸長す
る画像伸長装置であって、圧縮画像を、該圧縮画像に含
まれる、前記注目度に関する情報に基づいて伸長するこ
とを特徴とする画像伸長装置。
38. An image decompression device for decompressing a compressed image compressed by using the image compression device according to claim 31, wherein the compressed image is included in the compressed image. An image decompression device, which decompresses based on information regarding degree.
【請求項39】 請求項13ないし25のいずれか1に
記載の画像圧縮装置を用いて圧縮した圧縮画像を伸長す
る画像伸長装置であって、圧縮画像を、該圧縮画像に含
まれる、前記解像度に関する情報に基づいて伸長するこ
とを特徴とする画像伸長装置。
39. An image decompression device for decompressing a compressed image compressed by using the image compression device according to claim 13, wherein the resolution is included in the compressed image. An image decompression device, which decompresses based on information about the image.
【請求項40】 請求項1ないし37のいずれか1に記
載の画像圧縮装置を用いて圧縮した圧縮画像を伸長する
画像伸長装置であって、圧縮画像を、該圧縮画像に含ま
れる、前記画像分割手段により分割された領域の情報に
基づいて伸長することを特徴とする画像伸長装置。
40. An image decompression device for decompressing a compressed image compressed by using the image compression device according to any one of claims 1 to 37, wherein the compressed image is included in the compressed image. An image decompressing device, which decompresses based on information of an area divided by a dividing means.
【請求項41】 画像を複数の領域に分割し、該分割し
た領域毎に量子化率を設定し、該設定した量子化率に基
づいて領域毎に圧縮を制御して圧縮された圧縮画像を伸
長する画像伸長装置であって、圧縮画像を、該圧縮画像
に含まれる、分割された領域の情報に基づいて伸長する
ことを特徴とする画像伸長装置。
41. An image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, compression is controlled for each area based on the set quantization rate, and a compressed image compressed is obtained. An image decompressing device for decompressing, wherein the compressed image is decompressed based on information of divided areas included in the compressed image.
【請求項42】 画像を複数の領域に分割し、該分割し
た領域毎にビット数を設定し、該設定したビット数に基
づいて領域毎に圧縮を制御して圧縮された圧縮画像を伸
長する画像伸長装置であって、圧縮画像を、該圧縮画像
に含まれる、分割された領域の情報に基づいて伸長する
ことを特徴とする画像伸長装置。
42. An image is divided into a plurality of areas, the number of bits is set for each of the divided areas, compression is controlled for each area based on the set number of bits, and a compressed compressed image is expanded. An image decompression device, which decompresses a compressed image based on information of a divided area included in the compressed image.
【請求項43】 請求項38ないし42のいずれか1に
記載の画像伸長装置において、2次元離散ウェーブレッ
ト逆変換器と、逆量子化器と、エントロピー復号化器と
の組合せで構成されていることを特徴とする画像伸長装
置。
43. The image decompression device according to claim 38, which is configured by a combination of a two-dimensional discrete wavelet inverse transformer, an inverse quantizer, and an entropy decoder. An image decompression device.
【請求項44】 画像を複数の領域に分割し、該分割し
た領域毎に量子化率を設定し、該設定した量子化率に基
づいて領域毎に圧縮を制御して圧縮し、該圧縮した圧縮
画像を伸長する画像圧縮伸長装置であって、2次元離散
ウェーブレット変換・逆変換器と、量子化・逆量子化器
と、エントロピー符号化・復号化器との組合せで構成さ
れていることを特徴とする画像圧縮伸長装置。
44. An image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, compression is controlled and compressed for each area based on the set quantization rate, and the compression is performed. An image compression / decompression device for decompressing a compressed image, which comprises a combination of a two-dimensional discrete wavelet transform / inverse transformer, a quantizer / inverse quantizer, and an entropy encoder / decoder. Characteristic image compression / decompression device.
【請求項45】 画像を複数の領域に分割し、該分割し
た領域毎にビット数を設定し、該設定したビット数に基
づいて領域毎に圧縮を制御して圧縮し、該圧縮した圧縮
画像を伸長する画像圧縮伸長装置であって、2次元離散
ウェーブレット変換・逆変換器と、量子化・逆量子化器
と、エントロピー符号化・復号化器との組合せで構成さ
れていることを特徴とする画像圧縮伸長装置。
45. An image is divided into a plurality of areas, the number of bits is set for each of the divided areas, compression is controlled for each area based on the set number of bits, and the compressed image is compressed. Is an image compression / decompression device for decompressing, which is configured by a combination of a two-dimensional discrete wavelet transform / inverse transformer, a quantizer / inverse quantizer, and an entropy encoder / decoder. Image compression and expansion device.
【請求項46】 画像を複数の領域に分割し、該分割し
た領域をビットプレーンに分解し、該分解したビットプ
レーンに注目度を設定し、該設定した注目度に基づいて
領域毎に圧縮を制御し、該設定した注目度に基づいてタ
グ情報を制御して圧縮画像を生成し、該生成した圧縮画
像を伸長する画像圧縮伸長装置であって、2次元離散ウ
ェーブレット変換・逆変換器と、量子化・逆量子化器
と、エントロピー符号化・復号化器との組合せで構成さ
れていることを特徴とする画像圧縮伸長装置。
46. An image is divided into a plurality of areas, the divided areas are decomposed into bit planes, an attention degree is set for the decomposed bit planes, and compression is performed for each area based on the set attention degree. An image compression / decompression device for controlling, controlling tag information based on the set degree of attention to generate a compressed image, and decompressing the generated compressed image, comprising a two-dimensional discrete wavelet transform / inverse converter, An image compression / decompression device comprising a combination of a quantizer / inverse quantizer and an entropy encoder / decoder.
【請求項47】 画像を複数の領域に分割する手段と、
該分割した領域毎に解像度を設定する手段と、該設定し
た解像度に従って領域毎に異なる解像度で圧縮を制御す
る手段と、該圧縮した圧縮画像を、該圧縮画像に設定さ
れた解像度に基づいて伸長する手段とを有することを特
徴とする画像圧縮伸長装置。
47. A means for dividing an image into a plurality of regions,
Means for setting a resolution for each of the divided areas, means for controlling compression at a different resolution for each area according to the set resolution, and expanding the compressed compressed image based on the resolution set for the compressed image An image compression / decompression device, comprising:
【請求項48】 請求項1ないし37のいずれか1に記
載の画像圧縮装置に、更に2次元離散ウェーブレット変
換・逆変換器と、量子化・逆量子化器と、エントロピー
符号化・復号化器との組合せで構成されていることを特
徴とする画像圧縮伸長装置。
48. The image compression apparatus according to claim 1, further comprising a two-dimensional discrete wavelet transform / inverse transformer, a quantizer / inverse quantizer, and an entropy encoder / decoder. An image compression / decompression device characterized by being configured in combination with.
【請求項49】 画像を複数の領域に分割する画像分割
ステップと、画像中の1または複数の注目領域を指定す
る領域指定ステップと、前記分割した領域毎に量子化率
を設定する量子化率設定ステップと、該設定した量子化
率に基づいて領域毎に圧縮を制御する圧縮制御ステップ
とを有し、前記注目領域に対し他の領域と異なる量子化
率を設定可能とすることを特徴とする画像圧縮方法。
49. An image division step of dividing an image into a plurality of areas, an area designation step of designating one or a plurality of attention areas in the image, and a quantization rate for setting a quantization rate for each of the divided areas. A setting step and a compression control step of controlling compression for each area based on the set quantization rate, and it is possible to set a quantization rate different from other areas for the attention area. Image compression method.
【請求項50】 画像を複数の領域に分割する画像分割
ステップと、画像中の1または複数の注目領域を指定す
る領域指定ステップと、前記分割した領域毎にビット数
を設定するビット数設定ステップと、該設定したビット
数に基づいて領域毎に圧縮を制御する圧縮制御ステップ
とを有し、前記注目領域に対し他の領域と異なるビット
数を設定可能とすることを特徴とする画像圧縮方法。
50. An image dividing step of dividing an image into a plurality of areas, an area specifying step of specifying one or a plurality of attention areas in the image, and a bit number setting step of setting a bit number for each of the divided areas. And a compression control step of controlling compression for each area based on the set number of bits, and it is possible to set a different number of bits for the attention area from other areas. .
【請求項51】 画像を複数の領域に分割する画像分割
ステップと、該分割した領域をビットプレーンに分解す
るビットプレーン分解ステップと、該分解したビットプ
レーンに対して注目度を設定する注目度設定ステップ
と、該ビットプレーンに設定した注目度に基づいて領域
毎に圧縮を制御する圧縮制御ステップと、前記注目度に
基づいてタグ処理を制御するタグ処理制御ステップとを
有し、前記ビットプレーンに設定された注目度に応じて
圧縮画像を生成することを特徴とする画像圧縮方法。
51. An image division step of dividing an image into a plurality of areas, a bit plane decomposition step of decomposing the divided area into bit planes, and an attention degree setting for setting an attention degree to the decomposed bit planes. The bit plane includes a step, a compression control step that controls compression for each area based on the attention level set in the bit plane, and a tag processing control step that controls tag processing based on the attention level. An image compression method characterized in that a compressed image is generated according to a set attention level.
【請求項52】 画像を複数の領域に分割する画像分割
ステップと、該分割した領域毎に解像度を設定する解像
度設定ステップと、該設定した解像度に従って領域毎に
異なる解像度で圧縮を制御する圧縮制御ステップとを有
することを特徴とする画像圧縮方法。
52. An image division step of dividing an image into a plurality of areas, a resolution setting step of setting a resolution for each of the divided areas, and a compression control for controlling compression at a different resolution for each area according to the set resolution. An image compression method, comprising:
【請求項53】 画像を複数の領域に分割し、該分割し
た領域毎に量子化率を設定し、該設定した量子化率に基
づいて領域毎に圧縮を制御して圧縮された圧縮画像を伸
長する画像伸長方法であって、圧縮画像を、該圧縮画像
に含まれる、分割された領域の情報に基づいて伸長する
ことを特徴とする画像伸長方法。
53. An image is divided into a plurality of areas, a quantization rate is set for each of the divided areas, compression is controlled for each area based on the set quantization rate, and a compressed image compressed is obtained. An image decompression method for decompressing, which comprises decompressing a compressed image based on information of a divided area included in the compressed image.
【請求項54】 画像を複数の領域に分割し、該分割し
た領域毎にビット数を設定し、該設定したビット数に基
づいて領域毎に圧縮を制御して圧縮された圧縮画像を伸
長する画像伸長方法であって、圧縮画像を、該圧縮画像
に含まれる、分割された領域の情報に基づいて伸長する
ことを特徴とする画像伸長方法。
54. An image is divided into a plurality of areas, the number of bits is set for each of the divided areas, compression is controlled for each area based on the set number of bits, and a compressed compressed image is expanded. An image decompression method, which comprises decompressing a compressed image based on information on divided areas included in the compressed image.
【請求項55】 画像を複数の領域に分割し、該分割し
た領域のビットプレーン毎に注目度を設定し、該設定し
た注目度に基づいて領域毎に圧縮を制御し、該設定した
注目度に基づいてタグ処理を制御して生成された圧縮画
像を伸長する画像伸長方法であって、圧縮画像を、該圧
縮画像に含まれる、前記注目度に関する情報に基づいて
伸長することを特徴とする画像伸長方法。
55. An image is divided into a plurality of areas, a degree of attention is set for each bit plane of the divided areas, compression is controlled for each area based on the set degree of attention, and the set degree of attention is set. An image decompression method for decompressing a compressed image generated by controlling tag processing on the basis of the above, wherein the compressed image is decompressed based on the information regarding the degree of attention included in the compressed image. Image decompression method.
【請求項56】 請求項1ないし37のいずれか1に記
載の画像圧縮装置又は該画像圧縮装置の各手段として、
或いは、請求項38ないし43のいずれか1に記載の画
像伸長装置又は該画像伸長装置の各手段として、コンピ
ュータを機能させるためのプログラム。
56. The image compression apparatus according to any one of claims 1 to 37 or each means of the image compression apparatus,
Alternatively, a program for causing a computer to function as the image decompression device according to any one of claims 38 to 43 or each unit of the image decompression device.
【請求項57】 請求項1ないし37のいずれか1に記
載の画像圧縮装置又は該画像圧縮装置の各手段として、
或いは、請求項38ないし43のいずれか1に記載の画
像伸長装置又は該画像伸長装置の各手段として、コンピ
ュータを機能させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体。
57. The image compression apparatus according to any one of claims 1 to 37 or each means of the image compression apparatus,
Alternatively, a computer-readable recording medium having recorded therein a program for causing a computer to function as the image decompression device according to any one of claims 38 to 43 or each unit of the image decompression device.
JP2002171872A 2001-07-26 2002-06-12 Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program Pending JP2003339047A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2002171872A JP2003339047A (en) 2001-07-26 2002-06-12 Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program
EP20030005303 EP1349393A1 (en) 2002-03-15 2003-03-11 Image compression device, image decompression device, image compression/decompression device, program for executing on a computer to perform functions of such devices, and recording medium storing such a program
US10/390,263 US7352908B2 (en) 2002-03-15 2003-03-14 Image compression device, image decompression device, image compression/decompression device, program for executing on a computer to perform functions of such devices, and recording medium storing such a program

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2001226576 2001-07-26
JP2001-226576 2001-07-26
JP2002071470 2002-03-15
JP2002-71470 2002-03-15
JP2002171872A JP2003339047A (en) 2001-07-26 2002-06-12 Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program

Publications (2)

Publication Number Publication Date
JP2003339047A true JP2003339047A (en) 2003-11-28
JP2003339047A5 JP2003339047A5 (en) 2005-10-13

Family

ID=29715862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002171872A Pending JP2003339047A (en) 2001-07-26 2002-06-12 Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program

Country Status (1)

Country Link
JP (1) JP2003339047A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005106784A1 (en) * 2004-04-29 2005-11-10 Koninklijke Philips Electronics N.V. Image processing apparatus and method
JP2007235678A (en) * 2006-03-02 2007-09-13 Ricoh Co Ltd Image code decoding apparatus
JP2007312399A (en) * 2007-05-31 2007-11-29 Sanyo Electric Co Ltd Image encoding device and image decoding device, and image display device and method utilizing the same
CN113518249A (en) * 2020-04-10 2021-10-19 华为技术有限公司 Far-end image processing method and device
CN113906748A (en) * 2019-05-29 2022-01-07 住友电气工业株式会社 Video transmission system, transmission device, reception device, distribution method, transmission method, reception method, and computer program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005106784A1 (en) * 2004-04-29 2005-11-10 Koninklijke Philips Electronics N.V. Image processing apparatus and method
JP2007235678A (en) * 2006-03-02 2007-09-13 Ricoh Co Ltd Image code decoding apparatus
JP2007312399A (en) * 2007-05-31 2007-11-29 Sanyo Electric Co Ltd Image encoding device and image decoding device, and image display device and method utilizing the same
CN113906748A (en) * 2019-05-29 2022-01-07 住友电气工业株式会社 Video transmission system, transmission device, reception device, distribution method, transmission method, reception method, and computer program
US20220224918A1 (en) * 2019-05-29 2022-07-14 Sumitomo Electric Industries, Ltd. Video transport system, video transmission device, video reception device, video distribution method, video transmission method, video reception method, and non-transitory computer readable recording medium
CN113518249A (en) * 2020-04-10 2021-10-19 华为技术有限公司 Far-end image processing method and device

Similar Documents

Publication Publication Date Title
US7352908B2 (en) Image compression device, image decompression device, image compression/decompression device, program for executing on a computer to perform functions of such devices, and recording medium storing such a program
JP3922919B2 (en) Still image expansion apparatus and still image expansion method
JP4093405B2 (en) Image processing apparatus, program, and storage medium
US7526134B2 (en) Image processing apparatus, program, recording medium, and data decompression method
JP2004254298A (en) Image processing device, program, and storage medium
JP3952459B2 (en) Image processing apparatus, program, storage medium, and image processing method
JP2004214828A (en) Image processing apparatus, image processing method, computer program for image processing, and storage medium for storing the image processing computer program
JP2004242290A (en) Image processing apparatus and image processing method, image edit processing system, image processing program, and storage medium
JP2003339047A (en) Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program
US20050207659A1 (en) Image-processing apparatus, program, and recording medium
JP2002369202A (en) Image compression device, image expansion device, image compressing method, image expanding method, program and recording medium stored with the program
JP4124436B2 (en) Motion estimation device, program, storage medium, and motion estimation method
JP4149144B2 (en) Image compression apparatus, method, program, and recording medium
JP2004056260A (en) Image decoder, image processor, program, recording medium and image decoding method
JP4040404B2 (en) Code string conversion apparatus and method, image processing apparatus, and image recording apparatus
JP4052952B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP4323178B2 (en) Search object restriction device, image processing apparatus, program, storage medium, and search object restriction method
JP4280508B2 (en) Misalignment correction apparatus, image processing apparatus, program, storage medium, and misalignment correction method
JP2003199106A (en) Image processing apparatus
JP4374063B2 (en) Image processing apparatus, program, and storage medium
JP4010957B2 (en) Image processing apparatus, program, storage medium, and image forming apparatus
JP4093870B2 (en) Image processing apparatus, program, and storage medium
JP5244841B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005223407A (en) Image processing apparatus and program
JP2004234563A (en) Image processing program and storage medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050610

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080520