JPH10294851A - Image data processing method - Google Patents

Image data processing method

Info

Publication number
JPH10294851A
JPH10294851A JP10308797A JP10308797A JPH10294851A JP H10294851 A JPH10294851 A JP H10294851A JP 10308797 A JP10308797 A JP 10308797A JP 10308797 A JP10308797 A JP 10308797A JP H10294851 A JPH10294851 A JP H10294851A
Authority
JP
Japan
Prior art keywords
image
pixel
sub
coefficient
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10308797A
Other languages
Japanese (ja)
Inventor
Masao Aizu
昌夫 会津
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP10308797A priority Critical patent/JPH10294851A/en
Publication of JPH10294851A publication Critical patent/JPH10294851A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/64Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
    • H04N19/647Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission using significance based coding, e.g. Embedded Zerotrees of Wavelets [EZW] or Set Partitioning in Hierarchical Trees [SPIHT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To apply direct image processing to image data that are compressed. SOLUTION: In the case of extracting directly a desired image area from a Wavelet conversion image obtained by Wavelet conversion and compression image data having a zero tree generated based on coefficients of the Wavelet conversion image, an image LL3 with a minimum resolution is decoded and displayed, and the edge of the extracted area is designated, and as to images HL3 , LH3 , HH3 of the same resolution, a pixel whose coordinate corresponds to that of a pixel in an extracted area of the LL3 is decided to be an extracted area. Then the image LL2 with higher resolution by one step is decoded and displayed, a pixel being a descendent of the edge pixel designated by the LL3 is used for an edge object so as to designate an extracted area in the LL2 . As to images HL2 , LH2 , HH2 , the pixel corresponding to the pixel whose coordinate corresponds to that of the pixel designated by the LL2 . Then the images LL2 HL2 , LH2 , HH2 are used to decode and display the LL1 , and similarly the extracted area is designated. Then a zero tree structure of the designated area pixel is extracted and stored.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル画像処理に係
り、特に、データ圧縮した圧縮画像データを直接処理す
る方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to digital image processing, and more particularly to a method for directly processing compressed image data obtained by data compression.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】画像デ
ータはデータ量が膨大であり、保存する場合等には適宜
な方式によってデータ圧縮を施してデータ量を低減する
ことが広く行われている。
2. Description of the Related Art Image data has an enormous amount of data, and when storing image data, it is widely performed to reduce the amount of data by performing data compression by an appropriate method. .

【0003】そして、データ圧縮された画像データの所
望の領域に対して何等かの処理を施す場合には圧縮した
画像データを一旦伸長して元の画像に復元し、その復元
した画像の中の所望の領域を抽出して所望の処理を施し
た後に再びデータ圧縮を行うという手法がとられてい
た。
In order to perform some processing on a desired area of the data image data which has been compressed, the compressed image data is once expanded and restored to the original image, and the compressed image data is restored. A method has been adopted in which a desired area is extracted and subjected to desired processing, and then data compression is performed again.

【0004】しかしながら、圧縮/伸長を繰り返すと、
その度毎に画像が劣化するという問題があった。
However, when compression / expansion is repeated,
There has been a problem that the image deteriorates each time.

【0005】本発明は、上記の課題を解決するものであ
って、データ圧縮された画像データを伸長することな
く、直接所望の領域を抽出して所望の処理を施すことが
できる画像データ処理方法を提供することを目的とする
ものである。
An object of the present invention is to solve the above-mentioned problem, and to provide an image data processing method capable of directly extracting a desired area and performing a desired process without expanding data-compressed image data. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1記載の画像データ処理方法は、データ圧
縮された画像データの所望の領域の圧縮データを抽出す
ることを特徴とする。ここで、データ圧縮されたデータ
としては、ウェーブレット変換によって得られたウェー
ブレット変換画像と、当該ウェーブレット変換画像の係
数に基づいて作成されたゼロツリーとを有するものであ
ることが望ましい。
According to a first aspect of the present invention, there is provided an image data processing method comprising extracting compressed data of a desired region of image data which has been compressed. . Here, it is preferable that the data that has been subjected to the data compression has a wavelet transform image obtained by the wavelet transform and a zero tree created based on the coefficients of the wavelet transform image.

【0007】また、請求項3記載の画像データ処理方法
は、ウェーブレット変換によって得られたウェーブレッ
ト変換画像と、当該ウェーブレット変換画像の係数に基
づいて作成されたゼロツリーとを有する二つ以上の圧縮
画像データの中からそれぞれ所望の領域の圧縮データを
抽出し、それぞれの抽出画像データを合成画像上の所望
の位置の下地の圧縮データと置換することを特徴とす
る。
According to a third aspect of the present invention, there is provided an image data processing method comprising two or more compressed image data having a wavelet transformed image obtained by a wavelet transform and a zero tree created based on coefficients of the wavelet transformed image. , Compressed data of a desired area is extracted from each of them, and each extracted image data is replaced with compressed data of a background at a desired position on the composite image.

【0008】[0008]

【発明の実施の形態】以下、実施の形態について説明す
る。なお、以下においては、データ圧縮された画像デー
タは、ウェーブレット変換によって多重解像度解析が施
され、更にその多重解像度解析によって得られたウェー
ブレット変換画像に基づいて重要度マップを作成し、そ
の重要度マップ(significant map )に所定の符号化を
施したデータであるとする。
Embodiments of the present invention will be described below. Note that, in the following, multi-resolution analysis is performed on the compressed image data by wavelet transform, and an importance map is created based on the wavelet transform image obtained by the multi-resolution analysis. It is assumed that the data is obtained by subjecting (significant map) to predetermined encoding.

【0009】このようなデータ圧縮法の詳細について
は、例えば「Jeromu M.Shapiro,"Embedded Image Codin
g Using Zerotree of Wavelet Coefficients"IEEE Tran
saction on signal processing,Vol.41,No.12,pp.3445-
3462,December 1993」に示されているが、概略次のよう
である。
For details of such a data compression method, see, for example, “Jeromu M. Shapiro,” “Embedded Image Codin.
g Using Zerotree of Wavelet Coefficients "IEEE Tran
saction on signal processing, Vol.41, No.12, pp.3445-
3462, December 1993], is roughly as follows.

【0010】まず、原画像データに対して、例えばシャ
ピロの方法によってウェーブレット変換を施してウェー
ブレット変換画像を得る。このウェーブレット変換画像
はいくつかのサブバンド画像から構成されている。図1
はウェーブレット変換画像のサブバンド画像の配置の例
を示す図であり、原画像を、LL3 ,HL3 ,LH3
HH3 ,HL2 ,LH2 ,HH2 ,HL1 ,LH1 ,H
1 の10のサブバンド画像に分割した例を示してい
る。
First, a wavelet transform is performed on the original image data by, for example, the Shapiro method to obtain a wavelet transformed image. This wavelet transform image is composed of several subband images. FIG.
Is a diagram showing an example of the arrangement of sub-band images of a wavelet transform image, wherein an original image is represented by LL 3 , HL 3 , LH 3 ,
HH 3 , HL 2 , LH 2 , HH 2 , HL 1 , LH 1 , H
Shows an example of dividing into sub-band images 10 of H 1.

【0011】このようなサブバンド画像を得るには、原
画像の低域成分を通過させるフィルタ、横方向の高域成
分を通過させるフィルタ、縦方向の高域成分を通過させ
るフィルタ、斜め方向の高域成分を通過させるフィルタ
の4つのフィルタを作用させる。これによって、原画像
の低域成分からなるサブバンド画像LL1 (図1には図
示せず)、原画像の横方向の高域成分からなるサブバン
ド画像LH1 、原画像の縦方向の高域成分からなるサブ
バンド画像HL1 、及び原画像の斜め方向の高域成分か
らなるサブバンド画像HH1 の4つのサブバンド画像が
得られる。
In order to obtain such a sub-band image, a filter for passing low-frequency components of the original image, a filter for passing high-frequency components in the horizontal direction, a filter for passing high-frequency components in the vertical direction, Four filters, which pass high-frequency components, are operated. Thereby, a sub-band image LL 1 composed of low-frequency components of the original image (not shown in FIG. 1), a sub-band image LH 1 composed of high-frequency components in the horizontal direction of the original image, and a vertical height of the original image Four sub-band images are obtained: a sub-band image HL 1 composed of band components and a sub-band image HH 1 composed of high-band components oblique to the original image.

【0012】次に、サブバンド画像LL1 に対して同様
の処理を施し、サブバンド画像LL1 の低域成分からな
るサブバンド画像LL2 (図1には図示せず)、サブバ
ンド画像LL1 の横方向の高域成分からなるサブバンド
画像LH2 、サブバンド画像LL1 の縦方向の高域成分
からなるサブバンド画像HL2 、サブバンド画像LL1
の斜め方向の高域成分からなるサブバンド画像HH2
4つのサブバンド画像を得る。次に、更に、サブバンド
画像LL2 に対して同様の処理を行い、サブバンド画像
LL2 の低域成分からなるサブバンド画像LL3 、サブ
バンド画像LL2 の横方向の高域成分からなるサブバン
ド画像LH3 、サブバンド画像LL2 の縦方向の高域成
分からなるサブバンド画像HL3 、サブバンド画像LL
2 の斜め方向の高域成分からなるサブバンド画像HH3
の4つのサブバンド画像を得る。この一連の処理によっ
て、原画像は図1に示すように、LL1 とLL2 の二つ
のサブバンド画像を除いて、全部で10のサブバンド画
像に分割されたことになる。
[0012] Next, subjected to the same processing for the sub-band image LL 1, (not shown in FIG. 1) subband image LL 2 formed of a low-frequency component of the sub band images LL 1, subband image LL The sub-band image LH 2 composed of the horizontal high-frequency component 1 and the sub-band image HL 2 composed of the vertical high-frequency component of the sub-band image LL 1 and the sub-band image LL 1
Obtain four sub-band images of the sub-band images HH 2 consisting of oblique high-frequency component. Then, further, performs the same processing for the sub-band image LL 2, subband image LL 3 made of a low-frequency component of the sub band image LL 2, consisting transversely of the high-frequency component of the sub band image LL 2 The sub-band image HL 3 , the sub-band image LL composed of the vertical high-frequency components of the sub-band image LH 3 and the sub-band image LL 2
2 sub-band image HH 3 composed of high-frequency components in the oblique direction
Are obtained. This series of processing, the original image is as shown in FIG. 1, except for the two sub-band image LL 1 and LL 2, it will have been divided into sub-band images of a total of 10.

【0013】なお、図1に示す例では、第1段階のフィ
ルタリングにより得られるサブバンド画像LL1 ,LH
1 ,HL1 ,HH1 の解像度は何れも原画像の1/2で
あり、第2段階のフィルタリングにより得られるサブバ
ンド画像LL2 ,LH2 ,HL2 ,HH2 の解像度は何
れも第1段階のフィルタリングにより得られるサブバン
ド画像の1/2であり、同様に第3段階のフィルタリン
グにより得られるサブバンド画像LL3 ,LH3 ,HL
3 ,HH3 の解像度は何れも第2段階のフィルタリング
により得られるサブバンド画像の1/2となっている。
In the example shown in FIG. 1, the sub-band images LL 1 and LH obtained by the first-stage filtering are
1 , HL 1 , and HH 1 each have half the resolution of the original image, and the sub-band images LL 2 , LH 2 , HL 2 , and HH 2 obtained by the second-stage filtering have the first resolution. Sub-band images LL 3 , LH 3 , and HL which are 1 / of the sub-band images obtained by the third-stage filtering.
3 and HH 3 are half the resolution of the sub-band image obtained by the second-stage filtering.

【0014】以上のところから明らかなように、各段階
のサブバンド画像は1段階前のサブバンド画像を縦、
横、斜め方向の周波数成分に分ける処理であるので、4
つのサブバンド画像をフィルタ処理により合成すると元
の画像に復元することができるものである。具体的に
は、図1において、4つのサブバンド画像LL3 ,LH
3,HL3 ,HH3 を合成するとサブバンド画像LL2
を復元することができ、4つのサブバンド画像LL2
LH2 ,HL2 ,HH2 を合成するとサブバンド画像L
1 を復元することができ、更に4つのサブバンド画像
LL1 ,LH1 ,HL1 ,HH1 を合成することによっ
て原画像を復元することができる。
As is clear from the above description, the sub-band image at each stage is obtained by vertically shifting the sub-band image at the previous stage.
Since it is processing to divide into frequency components in the horizontal and oblique directions, 4
When the two sub-band images are combined by filter processing, the original image can be restored. Specifically, in FIG. 1, four sub-band images LL 3 and LH
3 , HL 3 , and HH 3 are combined to produce a subband image LL 2
Can be restored, and the four subband images LL 2 ,
When LH 2 , HL 2 , and HH 2 are combined, the subband image L
L 1 can be restored, and the original image can be restored by combining the four sub-band images LL 1 , LH 1 , HL 1 , and HH 1 .

【0015】なお、各サブバンド画像の画素の値は一般
にウェーブレット係数と称されるが、以下においては単
に係数と表記するものとする。
Although the value of a pixel in each subband image is generally called a wavelet coefficient, it is simply referred to as a coefficient in the following.

【0016】このウェーブレット変換法は多重解像度解
析とも称され、解像度の異なる複数のサブバンド画像の
画像データを同時に表現することができ、それぞれのサ
ブバンド画像を圧縮することによって、効率のよいデー
タ圧縮が行える方式として注目を集めているものであ
る。
This wavelet transform method is also referred to as multi-resolution analysis, which can simultaneously represent image data of a plurality of sub-band images having different resolutions, and compresses each sub-band image to achieve efficient data compression. Is attracting attention as a method that can perform.

【0017】また、多重解像度の画像を蓄積伝送するこ
とができるので、JPEG方式でいうところのプログレ
ッシブ性を持っている。つまり、順次低解像度で少ない
情報量の画像データを伝送して、概略画像を手早く表示
することができるので、画像のコンテンツ(内容)を把
握して、必要ならそのまま伝送を続け、不要なら伝送を
中止することができる。
Also, since multi-resolution images can be stored and transmitted, they have the progressive nature of the JPEG method. In other words, image data with a small amount of information is sequentially transmitted at a low resolution, and a rough image can be displayed quickly. Therefore, the contents (contents) of the image can be grasped, the transmission can be continued as needed, and the transmission can be performed if unnecessary. Can be stopped.

【0018】更に、JPEG方式で用いられているDC
T(Discrete Cosine Transform ;離散コサイン変換)
では、圧縮率を上げていくとブロック状の歪みが現れ、
見苦しいものとなるが、ウェーブレット変換法では、同
じ圧縮率でもJPEG方式より画像の劣化が少なく、た
とえ劣化が検知できる程まで圧縮率を上げても全体にボ
ケる形で劣化が生じるので、不自然な印象を与えないも
のである。
Further, the DC used in the JPEG system
T (Discrete Cosine Transform)
Then, as you increase the compression ratio, block-like distortion appears,
Although it is unsightly, the wavelet transform method causes less image degradation than the JPEG method even at the same compression ratio. It does not give a strange impression.

【0019】以上のようにしてウェーブレット変換を行
ってサブバンド画像を得るが、その後、各サブバンド画
像の係数をツリー表現して重要度マップを作成する。こ
のことについて説明すると次のようである。
As described above, the sub-band image is obtained by performing the wavelet transform. After that, the importance map is created by expressing the coefficients of each sub-band image in a tree. This will be described below.

【0020】ところで、各サブバンド画像の同一位置の
係数は対応している。即ち、いま、図1において各サブ
バンド毎のx座標、y座標を図に示す方向にとるものと
すると、サブバンド画像LL3 の座標(xi ,yi )の
位置の係数は、その他のサブバンド画像の座標(xi
i )の位置の係数と対応している。ただし、対応する
座標位置における画素数はサブバンド画像の解像度によ
って異なっている。具体的には、図1に小さな矩形で示
すように、LL3 の右下隅の1画素は、同一解像度のH
3 ,LH3 ,HH3 のサブバンド画像に関しては右下
隅の1画素に対応しているが、1段階解像度の高いHL
2 ,LH2 ,HH2 に関しては右下隅の2×2の4画素
に対応し、更にその1段階上の解像度を有するHL1
LH1 ,HH1 に関しては右下隅の4×4の16画素に
対応しているのである。
Incidentally, the coefficients at the same position in each subband image correspond to each other. That is, now, x-coordinate for each sub-band in Fig. 1, assuming that taken in the direction shown the y coordinates, the coefficients of the position coordinates of the sub-band image LL 3 (x i, y i ) is other The coordinates (x i ,
y i ). However, the number of pixels at the corresponding coordinate position differs depending on the resolution of the subband image. More specifically, as shown by the small rectangle in FIG. 1, one pixel in the lower-right corner of the LL 3 is the same resolution H
L 3, but with respect to the LH 3, HH 3 subband image corresponds to one pixel of the lower right corner, high 1-step resolution HL
2 , LH 2 , and HH 2 correspond to 4 pixels of 2 × 2 in the lower right corner, and have HL 1 ,
LH 1 and HH 1 correspond to 4 × 4 16 pixels at the lower right corner.

【0021】このことから、図1に示す場合には、図2
に示すように、サブバンド画像LL 3 の1画素の係数を
出発点とするツリー構造を考えることができる。つま
り、LL3 のある1画素の係数に対して、HL3 ,LH
3 ,HH3 の各サブバンド画像の同一位置の1画素の係
数が対応しており、HL3 の当該位置の1画素の係数に
対してはサブバンド画像HL2 の同一位置の2×2画素
の係数が対応しており、HL2 の当該位置の2×2画素
の係数に対してはサブバンド画像HL1 の同一位置の4
×4画素の係数が対応している。同様に、LH3 の当該
位置の1画素の係数に対してはサブバンド画像LH2
同一位置の2×2画素の係数が対応しており、LH2
当該位置の2×2画素の係数に対してはサブバンド画像
LH1 の同一位置の4×4画素の係数が対応している。
更に、HH3 の当該位置の1画素の係数に対してはサブ
バンド画像HH2 の同一位置の2×2画素の係数が対応
しており、HH2 の当該位置の2×2画素の係数に対し
てはサブバンド画像HH1 の同一位置の4×4画素の係
数が対応している。
From this, in the case shown in FIG. 1, FIG.
As shown in FIG. Three The coefficient of one pixel of
You can think of a tree structure as a starting point. Toes
LLThree HL for the coefficient of one pixel withThree , LH
Three , HHThree Of one pixel at the same position in each subband image
Number corresponds, HLThree To the coefficient of one pixel at that position
For the sub-band image HLTwo 2x2 pixels at the same position
HL correspondTwo 2 × 2 pixels at the position
For the coefficient of subband image HL1 4 at the same position
The coefficients of × 4 pixels correspond. Similarly, LHThree Said
For the coefficient of one pixel at the position, the subband image LHTwo of
The coefficient of 2 × 2 pixels at the same position corresponds to LHTwo of
Subband image for the 2 × 2 pixel coefficient at the position
LH1 4 × 4 pixels at the same position.
Furthermore, HHThree For the coefficient of one pixel at that position
Band image HHTwo 2x2 pixel coefficient at the same position
HHTwo Of the 2 × 2 pixel coefficient at that position
Sub-band image HH1 Of 4 × 4 pixels at the same position
The numbers correspond.

【0022】このようにして、サブバンド画像LL3
画素数だけツリー構造が得られることになる。これがサ
ブバンド画像の係数をツリー表現するということであ
る。なお、以下においては、図2に示すツリーにおい
て、図の矢印方向を子孫側、矢印と反対方向を親側とい
うことにする。
[0022] In this manner, so that the tree structure by the number of pixels subband image LL 3 is obtained. This means that the coefficients of the subband image are represented in a tree. In the following, in the tree shown in FIG. 2, the direction of the arrow in the figure is referred to as the descendant side, and the direction opposite to the arrow is referred to as the parent side.

【0023】そして、このツリーを参照し、図3に示す
処理によってウェーブレット変換画像の全ての係数を4
種類に分類し、それぞれのコードを割り当てる。
Then, referring to this tree, all the coefficients of the wavelet transform image are converted to 4 by the processing shown in FIG.
Classify by type and assign each code.

【0024】まず、一つの係数を取り込み、この係数が
重要か否かを判断する(ステップS1)。この判断は、
係数の絶対値と予め定められた閾値とを比較することに
よって行い、閾値以上であれば重要であるとし、閾値未
満なら重要でないとする。この閾値としては、雑音成分
を除去できるような値であればよい。
First, one coefficient is fetched, and it is determined whether or not this coefficient is important (step S1). This decision
The comparison is performed by comparing the absolute value of the coefficient with a predetermined threshold. If the coefficient is equal to or larger than the threshold, it is determined to be important. The threshold may be any value that can remove the noise component.

【0025】ステップS1の判断で当該係数が重要であ
る場合には、当該係数の正負を判断し、正であれば当該
係数に対して正のコードを割り当て、負であれば負のコ
ードを割り当てる(ステップS2)。
If it is determined in step S1 that the coefficient is important, the sign of the coefficient is determined. If the coefficient is positive, a positive code is assigned to the coefficient. If the coefficient is negative, a negative code is assigned. (Step S2).

【0026】ステップS1の判断で当該係数が重要でな
い場合には、当該係数がゼロツリールートの子孫か否
か、即ち当該係数から親側にツリーを辿ったときにゼロ
ツリールートがあるかどうかを判断し(ステップS
3)、ゼロツリールートの子孫であれば当該係数は符号
化の対象としない。しかし、当該係数がゼロツリールー
トの子孫ではない場合には、次に当該係数は重要な子孫
を持つか否か、即ち当該係数の子孫側に重要な係数があ
るか否かを判断し(ステップS4)、子孫側に重要な係
数がある場合には当該係数に対して孤立ゼロ点のコード
を割り当て、子孫側に重要な係数がない場合には当該係
数に対してゼロツリールートのコードを割り当てる。な
お、これらの4種のコードとしては、実際には互いに異
なるアルファベット1文字が使用されている。
If the coefficient is not important in step S1, it is determined whether or not the coefficient is a descendant of the zero tree root, that is, whether or not there is a zero tree root when tracing the tree from the coefficient to the parent side. Judgment (Step S
3) If it is a descendant of the zero tree root, the coefficient is not subject to encoding. However, if the coefficient is not a descendant of the zero tree root, it is next determined whether or not the coefficient has significant descendants, that is, whether or not there is a significant coefficient on the descendant side of the coefficient (step S4) If there is an important coefficient on the descendant side, an isolated zero point code is assigned to the coefficient, and if there is no important coefficient on the descendant side, a zero tree root code is assigned to the coefficient. . In addition, as these four kinds of codes, actually, one different alphabetic character is used.

【0027】例をあげて説明する。例えば図2におい
て、最も親側のLL3 の係数が重要であるとし、いま、
その子孫の一つであるHH3 の係数に注目したとする。
このとき、HH3 の係数が重要であればその符号に応じ
て正または負のコードが割り当てられることになる。当
該係数が重要でない場合には、その親側の係数であるL
3 は重要であり、ゼロツリールートではないので、ス
テップS3の判断ではNOと判断される。そして、当該
係数の子孫であるHH2 ,HH3 の係数が全て重要でな
い場合には当該係数にはゼロツリールートのコードが割
り当てられ、そうでない場合には当該係数に対しては孤
立ゼロ点のコードが割り当てられることになる。そし
て、いまHH3 の係数にゼロツリールートのコードが割
り当てられたとすると、その子孫であるHH2 及びHH
1 の全ての係数は重要ではないので、全て捨てられるこ
とになる。つまり、ゼロツリールートはツリーの中の一
つの系統の終点となるのである。
This will be described with an example. For example, in FIG. 2, it is assumed that the coefficient of LL 3 on the most parent side is important.
It is assumed that attention is paid to the coefficient of HH 3 which is one of the descendants.
At this time, if the coefficient of HH 3 is important, a positive or negative code is assigned according to the sign. If the coefficient is insignificant, the parent coefficient L
L 3 is important, because it is not a zerotree root, NO is determined at decision step S3. If all the coefficients of HH 2 and HH 3 which are descendants of the coefficient are not significant, the coefficient is assigned the code of the zero tree root. Otherwise, the coefficient of the isolated zero point is assigned to the coefficient. A code will be assigned. When the code zerotree root is assigned to the coefficient now HH 3, HH 2 and HH its descendants
All coefficients of 1 are not significant and will all be discarded. That is, the zero tree root is the end point of one line in the tree.

【0028】このように、閾値との比較によって係数が
重要か否かを判断し、更に重要でない係数についてはゼ
ロツリールートであるか否かを判断し、ゼロツリールー
トの子孫の係数については捨てることによってデータ量
を減少させることができるのである。
As described above, it is determined whether or not the coefficient is important by comparing with the threshold value. Further, it is determined whether or not the unimportant coefficient is a zero tree root, and the descendant coefficients of the zero tree root are discarded. This can reduce the amount of data.

【0029】以上の処理をサブバンド画像の全ての係数
に施すことによって、ステップS3の判断でYESと判
断されて捨てられる係数、即ちゼロツリールートの子孫
の係数を除いた全ての係数に対して、上記の4種のコー
ドの何れかのコードが割り当てられることになり、これ
らのコードを用いてツリーを作成することができること
になる。これをゼロツリーと呼び、このゼロツリーを用
いることによって、少ないデータ量で効率的に画像デー
タを表現することができるのである。そして、このよう
にして得られたコードを所定の順序で配置してテーブル
を作成する。このテーブルが重要度マップと称されるも
のである。
By applying the above processing to all the coefficients of the sub-band image, the coefficients discarded when judged as YES in the judgment of step S3, that is, all the coefficients except for the coefficients of the descendants of the zero tree root, , One of the above four types of codes is assigned, and a tree can be created using these codes. This is called a zero tree, and by using this zero tree, image data can be efficiently expressed with a small amount of data. Then, the codes thus obtained are arranged in a predetermined order to create a table. This table is called an importance map.

【0030】そして、正のコードが割り当てられた係数
及び負のコードが割り当てられた係数のみについてエン
トロピー符号化等の適宜の圧縮符号化を行うことによっ
てデータ圧縮を行うことができる。即ち、ウェーブレッ
ト変換によってサブバンド画像を作成しただけではデー
タ圧縮にはなっていないのであるが、サブバンド画像に
基づいてゼロツリーを作成し、正のコードが割り当てら
れた係数及び負のコードが割り当てられた係数について
圧縮符号化を行うことによってデータ圧縮されることに
なるのである。
Data compression can be performed by performing appropriate compression encoding such as entropy encoding only on the coefficient to which the positive code is assigned and the coefficient to which the negative code is assigned. That is, although data compression is not achieved only by creating a subband image by wavelet transform, a zero tree is created based on the subband image, and coefficients to which positive codes are assigned and negative codes are assigned. The data is compressed by performing the compression encoding on the coefficient thus set.

【0031】以上のようであるので、このデータ圧縮法
によれば、サブバンド画像の正のコードが割り当てられ
た係数及び負のコードが割り当てられた係数が圧縮符号
化されたデータと、ゼロツリーとが得られることにな
る。なお、ゼロツリーから作成した重要度マップに対し
ても圧縮符号化を行うことができることは当然である。
As described above, according to this data compression method, the coefficient to which the positive code of the subband image is assigned and the coefficient to which the negative code is assigned are compression-coded, Is obtained. It should be noted that compression encoding can be performed on the importance map created from the zero tree.

【0032】これらのデータからの画像の復元は、圧縮
符号化した係数を伸長すると共に、ゼロツリーに基づい
て伸長した各係数が属するサブバンド画像及びその位置
を判断して、そのサブバンド画像のその位置に書き込
み、それ以外の係数については所定の値、例えば 0を書
き込むようにすればよい。伸長した係数以外の係数は孤
立ゼロ点またはゼロツリールートもしくはゼロツリール
ートの子孫であり、重要な係数ではないからである。
To restore an image from these data, the compression-encoded coefficients are decompressed, the subband image to which each decompressed coefficient belongs and its position are determined based on the zero tree, and the subband image of the subband image is decompressed. The value may be written at the position, and a predetermined value, for example, 0 may be written for the other coefficients. This is because coefficients other than the expanded coefficients are isolated zero points or descendants of the zero tree root or the zero tree root, and are not important coefficients.

【0033】以上、データ圧縮法について説明したが、
次に上述した手法によって圧縮された画像データを直接
処理する方法に関する。まず、圧縮画像データの中の所
望の領域を抽出する処理を行う場合について説明する。
The data compression method has been described above.
Next, the present invention relates to a method for directly processing image data compressed by the above-described method. First, a case where a process of extracting a desired region in the compressed image data is performed will be described.

【0034】上述したところから明らかなように、各サ
ブバンド画像の座標値は原画像の座標値と一致している
ので、抽出したい画像領域内に位置する全ての係数をゼ
ロツリーを参照して切り抜くことによって、抽出したい
所望の画像部分について各サブバンド画像を構成するこ
とができる。
As is apparent from the above description, since the coordinate values of each subband image coincide with the coordinate values of the original image, all coefficients located in the image area to be extracted are cut out with reference to the zero tree. Thus, each sub-band image can be configured for a desired image portion to be extracted.

【0035】いま、図1に示すようなサブバンド画像か
らなる画像データの一部を抽出するものとすると、適宜
な手段によって抽出領域を指定してゼロツリーの必要な
部分だけを取り出す処理を行えばよい。
Now, assuming that a part of the image data composed of the sub-band images as shown in FIG. 1 is to be extracted, a process for extracting only a necessary part of the zero tree by designating an extraction region by appropriate means is performed. Good.

【0036】抽出領域の指定は、例えば、次のような手
法で行うことができる。まず、最低解像度のサブバンド
画像LL3 を復元してディスプレイに表示し、抽出すべ
き領域のエッジをマウス等のポインティングデバイスで
指定して、領域指定を行う。次に、同じ解像度の3つの
サブバンド画像HL3 ,LH3 ,HH3 についてはLL
3 の抽出領域内の画素と座標が対応する画素を抽出領域
と定める。次に、LL3 ,HL3 ,LH3 ,HH3 を用
いて、1段階解像度の高いサブバンド画像LL2 を復元
してこれを表示し、LL3 で指定したエッジ画素の子孫
の画素をエッジの候補として用いて、LL2 での抽出領
域を指定する。ここで、HL2 ,LH2,HH2 につい
ては、LL2 で指定した画素と座標が対応する画素を指
定したものとする。そして、次に、LL2 ,HL2 ,L
2 ,HH2 を用いてサブバンド画像LL1 を復元して
表示し、LL2 で指定したエッジ画素の子孫を抽出領域
のエッジの候補として抽出領域を指定する。ここでも、
HL1 ,LH1 ,HH1 については、LL1 で指定した
画素と座標が対応する画素を指定したものとする。この
ようにして全てのサブバンド画像について抽出指定の指
定が終了したら、指定した領域画素のゼロツリー構造を
抽出して保存する。これによって、指定された抽出領域
の画像を再現するための全ての情報を保存することがで
きる。
The specification of the extraction area can be performed, for example, by the following method. First, displayed on the display to restore the sub-band image LL 3 of lowest resolution, the edge of the to be extracted area by specifying a pointing device such as a mouse, performing area specification. Next, for three subband images HL 3 , LH 3 , and HH 3 having the same resolution, LL
3 pixels and the coordinates of the extracted area of the stipulated extraction area corresponding pixels. Next, using LL 3 , HL 3 , LH 3 , and HH 3 , the sub-band image LL 2 having a high resolution of one step is restored and displayed, and the descendant pixels of the edge pixel designated by LL 3 are edged. used as a candidate, that specifies the extracted area in the LL 2. Here, as for HL 2 , LH 2 , and HH 2, it is assumed that a pixel whose coordinates correspond to the pixel specified by LL 2 is specified. Then, next, LL 2 , HL 2 , L
The sub-band image LL 1 is restored and displayed using H 2 and HH 2, and the descendant of the edge pixel designated by LL 2 is designated as an extraction area edge candidate as an extraction area. even here,
As for HL 1 , LH 1 , and HH 1, it is assumed that a pixel whose coordinates correspond to the pixel specified by LL 1 is specified. When the designation of extraction is completed for all the subband images in this way, the zero tree structure of the designated area pixels is extracted and stored. As a result, all information for reproducing the image of the designated extraction area can be stored.

【0037】以上、抽出の処理について説明したが、次
に合成について説明する。なお、ここでは上述した手法
によって圧縮された二つの画像データの中からそれぞれ
所望の部分を抽出して合成する場合について説明する。
The extraction processing has been described above. Next, the composition will be described. Here, a case will be described in which a desired portion is extracted from each of two pieces of image data compressed by the above-described method and combined.

【0038】まず、合成画像の下地となる画像データを
作成しておく。この下地の画像データの構造は合成する
二つの圧縮画像データと同じ構造である必要がある。即
ち、合成する画像を有する二つの圧縮画像データが図1
に示すようにLL3 ,HL3,LH3 ,HH3 の段階ま
でのサブバンド画像を有しているものであるとすると、
合成画像の下地の画像についてもLL3 ,HL3 ,LH
3 ,HH3 の段階までのサブバンド画像及びゼロツリー
を作成しておく。
First, image data to be a base of a composite image is created. The structure of the underlying image data must be the same as the structure of the two compressed image data to be combined. That is, two pieces of compressed image data having an image to be combined are shown in FIG.
As shown in the following, it is assumed that the image has sub-band images up to the stages of LL 3 , HL 3 , LH 3 , and HH 3 .
LL 3 , HL 3 , LH
3 , a sub-band image and a zero tree up to the stage of HH 3 are created.

【0039】次に、それぞれの圧縮画像データから、上
記の手法によって所望の領域をそれぞれ抽出する。そし
て、抽出したそれぞれのゼロツリーを、合成画像中の貼
り付け位置のゼロツリーと置換する。これによって、抽
出されたそれぞれの画像のゼロツリーが所望の位置に配
置された合成画像のゼロツリーを得ることができ、この
ゼロツリーに基づいて重要度マップを作成すればよい。
Next, a desired area is extracted from each compressed image data by the above-described method. Then, each extracted zero tree is replaced with the zero tree at the pasting position in the composite image. As a result, a zero tree of a composite image in which the extracted zero tree of each image is arranged at a desired position can be obtained, and an importance map may be created based on the zero tree.

【0040】以上、本発明の実施形態について説明した
が、本発明は上記実施形態に限定されるものではなく種
々の変形が可能である。例えば、上記の説明では、圧縮
画像データは、ウェーブレット変換によって得られたウ
ェーブレット変換画像と、当該ウェーブレット変換画像
の係数に基づいて作成されたゼロツリーとを有するもの
としたが、本発明はこのような圧縮画像データだけでは
なく、サブバンド符号化された画像データにも適用する
ことができるものである。また、上記の説明では抽出と
合成の処理について説明したが、その他の画像処理も同
様に行うことができる。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various modifications are possible. For example, in the above description, the compressed image data has a wavelet transform image obtained by the wavelet transform, and a zero tree created based on the coefficients of the wavelet transform image. The present invention can be applied not only to compressed image data but also to subband encoded image data. In the above description, the processes of extraction and synthesis have been described, but other image processing can be performed in the same manner.

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

【図1】 ウェーブレット変換によって得られるサブバ
ンド画像を説明するための図である。
FIG. 1 is a diagram for explaining a subband image obtained by a wavelet transform.

【図2】 ゼロツリーを説明するための図である。FIG. 2 is a diagram illustrating a zero tree.

【図3】 重要度マップの符号化アルゴリズムを説明す
るための図である。
FIG. 3 is a diagram for describing an encoding algorithm of an importance map.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 データ圧縮された画像データの所望の領
域の圧縮データを抽出することを特徴とする画像データ
処理方法。
1. An image data processing method, comprising extracting compressed data of a desired area of data image data which has been compressed.
【請求項2】 前記データ圧縮された画像データは、ウ
ェーブレット変換によって得られたウェーブレット変換
画像と、当該ウェーブレット変換画像の係数に基づいて
作成されたゼロツリーとを有するものであることを特徴
とする請求項1記載の画像データ処理方法。
2. The data compressed image data includes a wavelet transform image obtained by a wavelet transform and a zero tree created based on coefficients of the wavelet transform image. Item 2. The image data processing method according to Item 1.
【請求項3】 ウェーブレット変換によって得られたウ
ェーブレット変換画像と、当該ウェーブレット変換画像
の係数に基づいて作成されたゼロツリーとを有する二つ
以上の圧縮画像データの中からそれぞれ所望の領域の圧
縮データを抽出し、それぞれの抽出画像データを合成画
像上の所望の位置の下地の圧縮データと置換することを
特徴とする画像データ処理方法。
3. Compressed data of a desired area is respectively selected from two or more compressed image data having a wavelet transformed image obtained by the wavelet transform and a zero tree created based on coefficients of the wavelet transformed image. An image data processing method comprising extracting, and replacing each extracted image data with background compressed data at a desired position on a composite image.
JP10308797A 1997-04-21 1997-04-21 Image data processing method Pending JPH10294851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10308797A JPH10294851A (en) 1997-04-21 1997-04-21 Image data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10308797A JPH10294851A (en) 1997-04-21 1997-04-21 Image data processing method

Publications (1)

Publication Number Publication Date
JPH10294851A true JPH10294851A (en) 1998-11-04

Family

ID=14344862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10308797A Pending JPH10294851A (en) 1997-04-21 1997-04-21 Image data processing method

Country Status (1)

Country Link
JP (1) JPH10294851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001346047A (en) * 2000-03-30 2001-12-14 Canon Inc Image processor and image processing method
JP2011023863A (en) * 2009-07-14 2011-02-03 Fujifilm Corp Image decompression device, method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001346047A (en) * 2000-03-30 2001-12-14 Canon Inc Image processor and image processing method
JP4480119B2 (en) * 2000-03-30 2010-06-16 キヤノン株式会社 Image processing apparatus and image processing method
JP2011023863A (en) * 2009-07-14 2011-02-03 Fujifilm Corp Image decompression device, method and program

Similar Documents

Publication Publication Date Title
US6643406B1 (en) Method and apparatus for performing linear filtering in wavelet based domain
EP2930930B1 (en) Image data processing
Walker et al. Wavelet-based image compression
JP4420415B2 (en) Encoding method and encoding apparatus
US6466698B1 (en) Efficient embedded image and video compression system using lifted wavelets
Malvar Fast progressive image coding without wavelets
US6266414B1 (en) Method for digital data compression
JP2003505991A (en) Video compression method using wavelet
JP2006502604A (en) Image compression method for arbitrarily shaped objects
JP2001257596A (en) Data processing method and data processor
US6246798B1 (en) Modified discrete wavelet transform for odd length data appropriate for image and video compression applications
CN103489170A (en) Method and device for JPEG picture synthesis and OSD information superimposition
Boujelbene et al. A comparative study of recent improvements in wavelet-based image coding schemes
CN100380972C (en) Method and apparatus for three-dimensional wavelet transform
CN112509094A (en) JPEG image compression artifact elimination algorithm based on cascade residual error coding and decoding network
CN100409693C (en) Orthogonal transformation method for image and video compression
Kountchev et al. Inverse pyramidal decomposition with multiple DCT
US7630568B2 (en) System and method for low-resolution signal rendering from a hierarchical transform representation
US7590298B2 (en) Decompression with reduced ringing artifacts
Kountchev et al. Multi-layer image transmission with inverse pyramidal decomposition
JPH10294851A (en) Image data processing method
Zheng et al. A novel gray image representation using overlapping rectangular NAM and extended shading approach
Jiang et al. A hybrid image compression algorithm based on human visual system
JP3660548B2 (en) Image encoding method and image decoding method, image encoding device and image decoding device, and medium storing these programs
Shi et al. A lossless image compression algorithm by combining DPCM with integer wavelet transform

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060301

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060927