JP2000059781A - Wavelet transformer - Google Patents

Wavelet transformer

Info

Publication number
JP2000059781A
JP2000059781A JP22417598A JP22417598A JP2000059781A JP 2000059781 A JP2000059781 A JP 2000059781A JP 22417598 A JP22417598 A JP 22417598A JP 22417598 A JP22417598 A JP 22417598A JP 2000059781 A JP2000059781 A JP 2000059781A
Authority
JP
Japan
Prior art keywords
data
processing
wavelet transform
storage unit
unit
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
JP22417598A
Other languages
Japanese (ja)
Inventor
啓行 ▲高▼橋
Hiroyuki Takahashi
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 JP22417598A priority Critical patent/JP2000059781A/en
Publication of JP2000059781A publication Critical patent/JP2000059781A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To realize a wavelet transformer capable of fast processing. SOLUTION: This transformer is provided with a storing part 102 consisting of a shift register 102 capable of shifting data in the directions of rows and columns, a line memory 104 for temporarily retaining a part of data for writing to a storing part, a filter part 101 for horizontal processing and vertical processing of wavelet transformation, a row direction control part 106 for controlling row direction access to a storing part, a columnar direction control part 108 for controlling columnar direction access to the storing part, and a main control part 100 which controls writing and reading of data, with respect to the storing part through the row-direction control part and the column- direction control part, controlling the wiring and reading of data with respect to the line memory and controlling the writing and reading of data with respect to an external memory 110, to successively execute wavelet transforming processing for at least one level in the inside.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データなどの
データ圧縮/伸長の分野に係り、特に、そのようなデー
タ圧縮/伸長に利用されるウェーブレット変換装置に関
する。
The present invention relates to the field of data compression / expansion of image data and the like, and more particularly, to a wavelet transform device used for such data compression / expansion.

【0002】[0002]

【従来の技術】データ圧縮は、大量のデータの蓄積や伝
送のために非常に有用なツールである。例えば、文書の
ファクシミリ伝送、ワールドワイドウェブのような画像
の伝送に要する時間は、圧縮を使って画像の再生に必要
とされるビット数を減らすと、飛躍的に短縮される。
2. Description of the Related Art Data compression is a very useful tool for storing and transmitting large amounts of data. For example, the time required for facsimile transmission of a document or transmission of an image such as the World Wide Web can be dramatically reduced by using compression to reduce the number of bits required to reproduce the image.

【0003】従来より、多くの様々なデータ圧縮手法が
存在しているが、その中にウェーブレット(wavelet)
ピラミッド処理方式がある。
[0003] Conventionally, there are many various data compression methods. Among them, a wavelet is included.
There is a pyramid processing method.

【0004】画像信号のような2次元信号にウェーブレ
ット変換を適用する場合には、入力信号を、水平方向低
域通過型フィルタHL(Horizontal Low)及び水平方向
高域通過型フィルタHH(Horizontal High)を使用し
て水平方向低域信号(S(smooth)係数)及び水平方向高
域信号(D(detail)係数)に分離し、さらにS係数及
びD係数に対して垂直方向低域通過型フィルタVL(Ve
rtical Low)及び垂直方向高域通過型フィルタVH(Ve
rtical High)を使用して水平方向低域−垂直方向低域
信号(SS係数)、水平方向低域−垂直方向高域信号
(SD係数)、水平方向高域−垂直方向低域信号(DS
係数)、及び水平方向高域−垂直方向高域信号(DD係
数)に分離する。以上の一連の処理をレベルと呼び、1
回の水平処理と垂直処理を行った出力をレベル1の出力
と呼ぶ。さらに、以上の4種類の信号を周波数帯信号と
呼ぶ。レベル2以上の出力を希望するときは、この処理
がSS係数に対して再帰的に行われる。レベル2の出力
では、SS係数と、1SD係数及び2SD係数、1DS
係数及び2DS係数、1DD係数及び2DD係数、の7
つの周波数帯信号が得られる。以上の説明では、まず水
平方向にフィルタを適用し、次に垂直方向にフィルタを
適用したが、その順序は逆でもよい。
When a wavelet transform is applied to a two-dimensional signal such as an image signal, an input signal is converted into a horizontal low-pass filter HL (Horizontal Low) and a horizontal high-pass filter HH (Horizontal High). Is separated into a horizontal low-pass signal (S (smooth) coefficient) and a horizontal high-pass signal (D (detail) coefficient), and a vertical low-pass filter VL for the S coefficient and the D coefficient. (Ve
rtical Low) and vertical high-pass filter VH (Ve
rtical High), a horizontal low band-vertical low band signal (SS coefficient), a horizontal low band-vertical high band signal (SD coefficient), a horizontal high band-vertical low band signal (DS
Coefficient), and a high-frequency signal in the horizontal direction—a high-frequency signal in the vertical direction (DD coefficient). The above series of processing is called a level.
The output that has been subjected to the horizontal processing and the vertical processing is referred to as a level 1 output. Further, the above four types of signals are called frequency band signals. When an output of level 2 or higher is desired, this processing is performed recursively on the SS coefficient. At the output of level 2, SS coefficient, 1SD coefficient and 2SD coefficient, 1DS coefficient
7 of coefficient and 2DS coefficient, 1DD coefficient and 2DD coefficient
Two frequency band signals are obtained. In the above description, the filter is applied first in the horizontal direction, and then the filter is applied in the vertical direction. However, the order may be reversed.

【0005】図14にレベル4までの処理を行う場合の
従来の構成を示した。図中、1000はウェーブレット
変換部、1001はインターフェース、1002は外部
メモリである。
FIG. 14 shows a conventional configuration for performing processing up to level 4. In the figure, 1000 is a wavelet transform unit, 1001 is an interface, and 1002 is an external memory.

【0006】ウェーブレット変換部1000において、
filter1H,filter2H,filter3H,filter4Hは、
水平方向低域通過型フィルタHL及び水平方向高域通過
型フィルタHHを含む水平方向フィルタである。これら
のフィルタ名中の数字1〜4はレベルを表し、Hは水平
方向フィルタであることを意味する。同様に、filter1
V1とfilter1V2、filter2V1とfilter2V2、fi
lter3V1とfilter3V2、filter4V1とfilter4V
2は、垂直方向低域通過型フィルタVL及び垂直方向高
域通過型フィルタVHを含む垂直方向フィルタである。
これらのフィルタ名中のVは垂直方向フィルタであるこ
とを意味し、Vの前の数字1〜4はレベルを表し、Vの
後の数字1は水平方向低域信号(S係数)を入力とする
フィルタであることを示し、Vの後の数字2は水平方向
高域信号(D係数)を入力とするフィルタであることを
示す。以上のフィルタはどのような構成のものでもよい
が、以下の説明では、水平方向低域通過型フィルタHL
及び垂直方向低域通過型フィルタVLとして、2組のデ
ータを用いて演算を行う2タップのフィルタを使用する
ものとする。また、水平方向高域通過型フィルタHH及
び垂直方向高域通過型フィルタVHとして、低域通過形
フィルタHLまたはVLの出力であるS係数又はD係数
のうち、現在の位置と、1つ前及び1つ後の合計3組の
データを用いて演算を行う6タップのフィルタを使用す
るものとする。
In the wavelet transform unit 1000,
filter1H, filter2H, filter3H, filter4H
This is a horizontal filter including a horizontal low-pass filter HL and a horizontal high-pass filter HH. Numbers 1 to 4 in these filter names represent levels, and H means a horizontal filter. Similarly, filter1
V1 and filter1V2, filter2V1 and filter2V2, fi
lter3V1 and filter3V2, filter4V1 and filter4V
Reference numeral 2 denotes a vertical filter including a vertical low-pass filter VL and a vertical high-pass filter VH.
V in these filter names means a vertical filter, numbers 1-4 before V indicate levels, and number 1 after V indicates that a horizontal low-pass signal (S coefficient) is input. Numeral 2 after V indicates that the filter receives a horizontal high-frequency signal (D coefficient) as an input. The above filter may have any configuration, but in the following description, the horizontal low-pass filter HL is used.
As the vertical low-pass filter VL, a two-tap filter that performs an operation using two sets of data is used. Also, as the horizontal high-pass filter HH and the vertical high-pass filter VH, of the S coefficient or D coefficient output from the low-pass filter HL or VL, It is assumed that a 6-tap filter that performs an operation using a total of three sets of data after the filter is used.

【0007】このようなフィルタを用いた場合の演算の
例を図15に示す。但し、この図におけるデータのマッ
ピングは演算の方法を説明するためのものであり、実際
のメモリへのマッピングは例えば図17から図20に示
すようになることに注意されたい。図15の(a)は水
平方向フィルタの処理を説明するもので、[00]は0
ライン目の0画素目のデータを意味し、[12]は1ラ
イン目の2画素目のデータを意味する(このようにライ
ン、画素とも0番目から数えるものとする)。水平方向
低域通過型フィルタHLの0画素目の出力[S00]
は、データ[00]及びデータ[01]から求められ、
また、1画素目の出力[S01]はデータ[02]及び
データ[03]から求められる。これに対し、水平方向
高域通過型フィルタHHの0画素目の出力[D00]
は、データ[00]の2つ前及び1つ前のデータ(実在
しない)と、データ[00]と、データ[01]と、デ
ータ[02]と、データ[03]とから求められる。こ
こで、実在しないデータ[00]の2つ前と1つ前のデ
ータを得るため、ミラーと呼ばれる処理を施す。具体的
には、データを鏡像関係で折り返す処理を行う。これに
より、2つ前と1つ前のデータはデータ[01]とデー
タ[00]となる。このようにして、[D00]は6画
素のデータから計算される。
FIG. 15 shows an example of a calculation using such a filter. However, it should be noted that the data mapping in this figure is for explaining the operation method, and the actual mapping to the memory is as shown in FIGS. 17 to 20, for example. FIG. 15A illustrates the process of the horizontal direction filter, where [00] is 0.
It means the data of the 0th pixel of the line, and [12] means the data of the 2nd pixel of the first line (in this way, both the line and the pixel are counted from the 0th). Output of pixel 0 of horizontal low-pass filter HL [S00]
Is obtained from data [00] and data [01],
The output [S01] of the first pixel is obtained from the data [02] and the data [03]. On the other hand, the output [D00] of the 0th pixel of the horizontal high-pass filter HH
Is obtained from data (not existing) immediately before and after data [00], data [00], data [01], data [02], and data [03]. Here, a process called a mirror is performed in order to obtain data two before and one before the non-existent data [00]. Specifically, a process of turning the data back in a mirror image relationship is performed. As a result, the two preceding data and the immediately preceding data become data [01] and data [00]. In this way, [D00] is calculated from the data of six pixels.

【0008】図15の(b)は垂直方向フィルタの処理
を説明している。この処理は、垂直方向フィルタ処理に
よるS係数及びD係数を用いて垂直方向に行われる。実
在しない係数は、水平方向フィルタの処理の場合と同様
にミラー処理が施される。
FIG. 15B illustrates the processing of a vertical filter. This processing is performed in the vertical direction using the S coefficient and the D coefficient by the vertical filter processing. Non-existent coefficients are subjected to mirror processing in the same manner as in the horizontal filter processing.

【0009】図16は外部メモリ1002にラスタ順に
格納されたイメージデータを示す。図17乃至図20
に、ウェーブレット処理のレベル2までの演算結果の格
納方法を例示する。ウェーブレット変換部1000は、
最初に、図16に示すように格納されたイメージデータ
を外部メモリ1002から読み出して水平処理を行い、
その結果を再び外部メモリ1002に書き込む。この書
き込みの際に、未処理のデータに上書きしてしまわない
ように、図17に示すようなマッピングでS係数及びD
係数を書き込んでいく。図17において、[1S00]
はレベル1のアドレス00のS係数を意味する。図18
は垂直処理を行った後の各係数を書き込む際のマッピン
グの例を示す。ここまでがレベル1の各係数の格納方法
である。図19はレベル2の水平方向の各係数の格納方
法の例を示す。レベル2の処理は1SS係数に対しての
み行われるため、網掛けされた部分のデータは用いられ
ないことに注意されたい。ついで、図20に示すような
マッピングで、レベル2の各係数が格納され、レベル2
の処理が終了する。以上の処理がレベル4まで繰り返さ
れる。
FIG. 16 shows image data stored in the external memory 1002 in raster order. 17 to 20
The following describes an example of a method of storing the operation results up to level 2 of the wavelet processing. The wavelet transform unit 1000
First, the image data stored as shown in FIG. 16 is read from the external memory 1002 and subjected to horizontal processing.
The result is written into the external memory 1002 again. In order to avoid overwriting unprocessed data at the time of this writing, the S coefficient and D
Write the coefficients. In FIG. 17, [1S00]
Means the S coefficient of the level 00 address 00. FIG.
Shows an example of mapping at the time of writing each coefficient after performing vertical processing. The above is the method of storing each coefficient of level 1. FIG. 19 shows an example of a method of storing each coefficient of the level 2 in the horizontal direction. It should be noted that the level 2 processing is performed only on the 1SS coefficient, so that the shaded data is not used. Next, each coefficient of level 2 is stored by mapping as shown in FIG.
Is completed. The above processing is repeated up to level 4.

【0010】図21は、図14に示す構成でのタイミン
グチャートである。ただし、このタイミングチャートは
処理手順の説明のために用いるものであり、横軸(時間
軸)のスケールはリニアでないことに注意されたい。ま
た、以下の説明では、画素数もしくはライン数を0画素
目もしくは0ライン目、というように0から数える。入
力されるイメージデータ(ラスタデータ)は32画素×
32ライン(0画素目から31画素まで、0ライン目か
ら31ライン目)であり、1つのデータの区切り(×=
×)が1ラインに相当するものとする。
FIG. 21 is a timing chart for the configuration shown in FIG. However, it should be noted that this timing chart is used for explaining the processing procedure, and the scale of the horizontal axis (time axis) is not linear. In the following description, the number of pixels or the number of lines is counted from 0, such as the 0th pixel or the 0th line. The input image data (raster data) is 32 pixels x
There are 32 lines (from the 0th pixel to the 31st pixel, from the 0th line to the 31st line), and one data segment (× =
X) corresponds to one line.

【0011】時刻t0から、0ライン目のデータが0画
素目から順次入力され、1画素目が入力されるとfilter
1Hより0画素目のデータ[1S00]が出力される。
ついでデータ[1S01]が出力されると、D係数の計
算に必要となる3組のS係数([1S00],[1S0
0],[1S01])が揃い(1つ前のデータはミラー
処理により得られる)、D係数[1D00]が出力され
る。これが1ライン分、繰り返される。なお、タイミン
グチャート上では1ラインの時間単位で示されている
が、拡大すれば画素単位でのずれが生じていることに注
意されたい。
From time t0, data on the 0th line is sequentially input from the 0th pixel.
Data [1S00] of the 0th pixel is output from 1H.
Next, when the data [1S01] is output, three sets of S coefficients ([1S00], [1S0]
0] and [1S01]) (the immediately preceding data is obtained by mirror processing), and the D coefficient [1D00] is output. This is repeated for one line. It should be noted that although shown in the timing chart in units of time of one line, if it is enlarged, a shift occurs in units of pixels.

【0012】時刻t1から1ライン目のデータの入力が
始まり、filter1Hより[1S10]、[1D10]、
とS係数及びD係数が順次出力される。[1S10]が
出力された時点で垂直方向フィルタのfilter1V1より
[1SS00]が、filter1V2より[1DS00]が
出力される。次に、[1S11]が出力された時点でfi
lter1V1及びfilter1V2においてD係数の計算に必
要な3組のデータが揃う。すなわち、filter1V1にお
いては[1S10],[1S10],[1S11]、fi
lter1V2においては[1D10],[1D10],
[1D11]が揃い(1つ前のデータはミラー処理によ
り得られる)、レベル1の出力データ[1SS00],
[1SD00],[1DS00],[1DD00]が得
られる。これが1ライン分繰り返される。
The input of the data of the first line starts at time t1, and [1S10], [1D10],
And the S coefficient and the D coefficient are sequentially output. When [1S10] is output, [1SS00] is output from filter1V1 of the vertical direction filter, and [1DS00] is output from filter1V2. Next, when [1S11] is output, fi
In the lter1V1 and the filter1V2, three sets of data necessary for calculating the D coefficient are prepared. That is, in filter1V1, [1S10], [1S10], [1S11], fi
[1D10], [1D10],
[1D11] are obtained (the immediately preceding data is obtained by mirror processing), and the output data of level 1 [1SS00],
[1SD00], [1DS00] and [1DD00] are obtained. This is repeated for one line.

【0013】時刻t2で、2Vの1ライン目り入力が開
始されて2Vの処理が始まる。以下、同様のタイミング
関係で時刻t9まで処理が繰り返され、レベル4までの
各周波数帯信号が出力される。以上のウェーブレット変
換の過程を経て分解された周波数帯信号は、外部メモリ
1002に書き込まれ各種の処理に利用される。なお、
ウェーブレット変換により分解された周波数帯信号は、
逆手順のウェーブレット逆変換によって元のデータに復
元することができる。
At time t2, 2V first line input is started, and 2V processing is started. Thereafter, the processing is repeated until time t9 with the same timing relationship, and each frequency band signal up to level 4 is output. The frequency band signal decomposed through the above wavelet transform process is written to the external memory 1002 and used for various processes. In addition,
The frequency band signal decomposed by the wavelet transform is
The original data can be restored by the inverse wavelet transform of the inverse procedure.

【0014】次に、ウェーブレット変換のための処理時
間について説明する。ここでは、ウェーブレット変換部
1000により生成される各周波数帯信号のストレー
ジ、すなわち図14中の外部メモリ1002として、一
般的な半導体メモリが用いられるものとする。
Next, the processing time for the wavelet transform will be described. Here, it is assumed that a general semiconductor memory is used as storage of each frequency band signal generated by the wavelet transform unit 1000, that is, as the external memory 1002 in FIG.

【0015】図21のタイミングチャートを用いて説明
したように、各周波数帯信号は同時刻にパラレルに出力
されるため、外部メモリへの書き込みもパラレルに行わ
れなければならないが、通常用いられる半導体メモリで
は1時刻に読み出しまたは書き込みをすることができる
のは1データだけである。図21の左下のrange
は、時刻t0からt9に対応する、1H,1
V,...,4Vの各処理が占める処理時間の範囲を←
→で示したものである。rangeの下のr/w cycle
sは、rangeの各範囲(←→)に必要なメモリアク
セスの回数で、その範囲内での書き込み回数と読み出し
回数の合計であるが、異なるレベルが同時に処理されて
いる範囲での回数は、それら各レベルに関する回数の合
計で示されている。図21の右側に示した数値は、各レ
ベルの水平処理もしくは垂直処理に要するメモリアクセ
スの回数(書き込みと読み出しの合計数)である。この
数値はウェーブレット逆変換時も同じである。さて、メ
モリアクセスの回数についてであるが、各レベルにおい
て、水平処理、垂直処理のいずれも必ず全データが1回
読み出され、全データがフィルタ出力データで書き換え
られるから、全画素数の2倍の書き込み/書き込み回数
が必要となる。
As described with reference to the timing chart of FIG. 21, since each frequency band signal is output in parallel at the same time, writing to an external memory must be performed in parallel. In the memory, only one data can be read or written at one time. The lower left range of FIG. 21
Are 1H, 1 corresponding to times t0 to t9.
V,. . . , 4V processing time range ←
This is indicated by →. r / w cycle under range
s is the number of memory accesses required for each range (← →) of range, and is the sum of the number of times of writing and the number of times of reading within that range. The total number of times for each level is shown. The numerical values shown on the right side of FIG. 21 are the number of memory accesses (the total number of writing and reading) required for horizontal processing or vertical processing of each level. This value is the same at the time of the inverse wavelet transform. Regarding the number of times of memory access, in each level, both horizontal processing and vertical processing always read all data once, and all data are rewritten with filter output data. Write / write times are required.

【0016】以上に述べたような、本発明に関連するウ
ェーブレット変換装置と、それを用いた符号化/復号化
装置、あるいはウェーブレット変換フィルタに関する、
より詳細な情報は、特開平8−139935号公報など
を参照されたい。また、類似の従来技術に関する公知文
献として、特開平3−27687号公報、特開平5−1
67997号公報、特開平5−183386号公報など
がある。
As described above, the present invention relates to a wavelet transform device related to the present invention and an encoding / decoding device or a wavelet transform filter using the same.
For more detailed information, refer to JP-A-8-139935. Japanese Patent Application Laid-Open Nos. 3-27687 and 5-1 describe similar known prior arts.
67997 and JP-A-5-183386.

【0017】[0017]

【発明が解決しようとする課題】前述のように、ウェー
ブレット変換の出力はストレージに一旦貯える必要があ
り、データを単に入力するのに要する時間に比べ数倍の
処理時間がかかるという問題があった。前述の従来技術
の場合、入力されるイメージデータのサイズを32画素
×32ライン、レベル数を4とした場合、イメージデー
タの入力に必要なサイクル数が1024=32×32で
あるのに対し、必要な処理時間は5倍以上の5440サ
イクルとなる。入力データのサイズが増加すれば、処理
時間はさらに大幅に増大することは明かである。例え
ば、64画素×64ラインの場合は、図21に点線で示
すように、1Hの処理が時刻t10まで行われる結果、
パラレルに出力される区間が増加するため、処理時間は
大幅に増大する。レベル数が増えた場合も同様に処理時
間が大幅に増大する。
As described above, the output of the wavelet transform needs to be temporarily stored in a storage, and there is a problem that the processing time is several times longer than the time required for simply inputting data. . In the case of the above-described conventional technology, when the size of input image data is 32 pixels × 32 lines and the number of levels is 4, the number of cycles required for inputting image data is 1024 = 32 × 32, The required processing time is 5 times or more, ie, 5440 cycles. Obviously, as the size of the input data increases, the processing time further increases. For example, in the case of 64 pixels × 64 lines, as shown by the dotted line in FIG. 21, the 1H process is performed until time t10,
Since the number of sections output in parallel increases, the processing time greatly increases. Similarly, when the number of levels increases, the processing time significantly increases.

【0018】また、各レベルの各周波数帯信号が同じ時
刻に出力されるので、パイプライン処理が必要であっ
た。すなわち、フィルタ毎にデータが入力されるタイミ
ングが異なっているため、各フィルタに、それが使用さ
れる場所に応じたコントローラを内蔵させ個別的に設計
する必要があった。また、これらのコントローラはただ
一つの条件の画素数とレベルの組合せにしか対応させる
ことができず、画素数またはレベルの一方又は両方が変
更された場合に対応が困難であるという問題があった。
Further, since each frequency band signal of each level is output at the same time, pipeline processing is required. That is, since the data input timing is different for each filter, it is necessary to individually design each filter by incorporating a controller corresponding to the place where the filter is used. In addition, these controllers can cope only with the combination of the number of pixels and the level of only one condition, and there is a problem that it is difficult to cope when one or both of the number of pixels and the level are changed. .

【0019】本発明は、前述の問題点に鑑みなされたも
のであり、その主たる目的は、パイプライン処理によら
ずに高速なウェーブレット変換処理が可能なウェーブレ
ット変換装置を提供することにある。本発明のもう一つ
の目的は、かかる高速なウェーブレット変換装置の実現
に必要な記憶容量を削減することにある。
The present invention has been made in view of the above problems, and a main object of the present invention is to provide a wavelet transform device capable of performing high-speed wavelet transform processing without using pipeline processing. Another object of the present invention is to reduce the storage capacity required for realizing such a high-speed wavelet transform device.

【0020】[0020]

【課題を解決するための手段】請求項1のウェーブレッ
ト変換装置は、行方向及び列方向へのデータシフトが可
能なシフトレジスタからなる記憶部と、該記憶部への書
き込みデータの一部を一時的に保存するためのラインメ
モリと、ウェーブレット変換の水平処理及び垂直処理を
施すためのフィルタ部と、該記憶部に対する行方向への
アクセスを制御するための行方向制御部と、該記憶部に
対する列方向へのアクセスを制御するための列方向制御
部と、該行方向制御部及び該列方向制御部を介して該記
憶部に対するデータの書き込み及び読み出しを制御し、
該ラインメモリに対するデータの書き込み及び読み出し
を制御し、外部メモリに対するデータの書き込み及び読
み出しを制御し、該フィルタ部に対するデータの入力及
び出力を制御する主制御部とを具備し、該外部メモリよ
り入力したデータに対し1レベル以上のウェーブレット
変換処理を連続的に実行する構成である。
According to a first aspect of the present invention, there is provided a wavelet transform apparatus comprising: a storage unit including a shift register capable of shifting data in a row direction and a column direction; and temporarily storing a part of data to be written in the storage unit. A line memory for temporarily storing, a filter unit for performing horizontal processing and vertical processing of wavelet transform, a row direction control unit for controlling access to the storage unit in a row direction, and a storage unit for the storage unit. A column direction control unit for controlling access in a column direction, and controlling writing and reading of data to and from the storage unit via the row direction control unit and the column direction control unit;
A main control unit that controls writing and reading of data to and from the line memory, controls writing and reading of data to and from an external memory, and controls input and output of data to and from the filter unit. The configuration is such that one or more levels of wavelet transform processing are continuously performed on the obtained data.

【0021】請求項2のウェーブレット変換装置は、そ
れぞれが独立した記憶要素からなる記憶部と、該記憶部
への書き込みデータの一部を一時的に保存するためのラ
インメモリと、該記憶部に対する行方向へのアクセスを
制御するための行方向アドレスデコード/データ選択部
と、該記憶部に対する列方向へのアクセスを制御するた
めの列方向アドレスデコード/データ選択部と、該行方
向アドレスデコード/データ選択部を介して入力される
データに対しウェーブレット変換の水平処理を施すため
の行方向フィルタ部と、該列方向アドレスデコード/デ
ータ選択部を介し入力されるデータに対しウェーブレッ
ト変換の垂直処理を施すための列方向フィルタ部と、該
行方向アドレスデコード/データ選択部及び該列方向ア
ドレスデコード/データ選択部を介して記憶部に対する
データの書き込み及び読み出し並びに該行方向フィルタ
部及び該列方向フィルタ部に対するデータの入力及び出
力を制御し、該ラインメモリに対するデータの書き込み
及び読み出しを制御し、外部メモリに対するデータの書
き込み及び読み出しを制御する主制御部とを具備し、該
外部メモリより入力したデータに対し1レベル以上のウ
ェーブレット変換処理を連続的に実行し、その結果デー
タを該外部メモリへ出力する構成である。
According to a second aspect of the present invention, there is provided a wavelet transform apparatus comprising: a storage unit including independent storage elements; a line memory for temporarily storing a part of data written to the storage unit; A row address decode / data selector for controlling access in the row direction, a column address decoder / data selector for controlling access to the storage unit in the column direction, and a row address decoder / data selector. A row direction filter unit for performing horizontal processing of wavelet transform on data input via the data selection unit, and a vertical processing of wavelet transform on data input via the column direction address decode / data selection unit. A column direction filter unit for performing the operation, the row direction address decode / data selection unit, and the column direction address decode / Controlling the writing and reading of data to and from the storage unit via the data selection unit and the input and output of data to and from the row direction filter unit and the column direction filter unit, and controlling the writing and reading of data to and from the line memory; A main control unit that controls writing and reading of data to and from an external memory, and continuously executes one or more levels of wavelet transform processing on data input from the external memory, and transfers the resulting data to the external memory. It is a configuration to output.

【0022】請求項3のウェーブレット変換装置の特徴
は、請求項1又は2のウェーブレット変換装置の構成に
おいて、該外部メモリからのデータ入力と並行してウェ
ーブレット変換の水平処理を実行することである。
A feature of the wavelet transform device according to the third aspect is that, in the configuration of the wavelet transform device according to the first or second aspect, horizontal processing of the wavelet transform is executed in parallel with the data input from the external memory.

【0023】請求項4のウェーブレット変換装置の特徴
は、請求項1、2又は3のウェーブレット変換装置の構
成において、ラインメモリに書き込まれるデータを、入
力された元データではなく処理の中間データとすること
である。
According to a fourth aspect of the present invention, in the configuration of the first, second or third aspect of the present invention, the data to be written into the line memory is not input original data but intermediate data for processing. That is.

【0024】請求項5のウェーブレット変換装置の特徴
は、請求項1、2又は3のウェーブレット変換装置の構
成において、記憶部のオーバーラップ領域に、入力され
た元データではなく処理の中間データを書き込むことで
ある。
According to a fifth aspect of the present invention, in the configuration of the wavelet transform apparatus of the first, second, or third aspect, not the input original data but the intermediate data for processing is written in the overlap area of the storage unit. That is.

【0025】請求項6のウェーブレット変換装置の特徴
は、請求項1乃至5の各項のウェーブレット変換装置の
構成において、該記憶部に、要求される最大レベルまで
の全レベルのウェーブレット変換の処理を内部で連続し
て実行するために必要な記憶容量を持たせることであ
る。
According to a sixth aspect of the present invention, in the configuration of the wavelet transform apparatus according to any one of the first to fifth aspects, the storage unit stores all levels of wavelet transform processing up to the required maximum level. The purpose is to have a storage capacity necessary for continuous execution internally.

【0026】[0026]

【発明の実施の形態】図1は、本発明の第1の実施例を
示すブロック図である。本実施例のウェーブレット変換
装置は、ウェーブレット変換の水平処理及び垂直処理た
めのフィルタ部101を内蔵した主制御部100、記憶
部102、ラインメモリ104、行方向制御部106及
び列方向制御部108からなる。110は本ウェーブレ
ット変換装置と接続される外部メモリである。行方向制
御部106は記憶部102に対する行方向(x方向)へ
のアクセスを制御し、列方向制御部108は記憶部10
2に対する列方向(y方向)へのアクセスを制御するも
のである。主制御部100は、行方向制御部106及び
列方向制御部108を介し記憶部102に対するデータ
の書き込み及び読み出しを制御し、ラインメモリ104
に対するデータの書き込み及び読み出しを制御し、外部
メモリ110に対するデータの書き込み及び読み出しを
制御し、また、フィルタ部101に対するデータの入力
及び出力を制御する。
FIG. 1 is a block diagram showing a first embodiment of the present invention. The wavelet transform device of the present embodiment includes a main control unit 100 having a built-in filter unit 101 for horizontal and vertical processing of wavelet transform, a storage unit 102, a line memory 104, a row direction control unit 106, and a column direction control unit 108. Become. Reference numeral 110 denotes an external memory connected to the present wavelet transform device. The row direction control unit 106 controls access to the storage unit 102 in the row direction (x direction), and the column direction control unit 108 controls the storage unit 10.
The access to the column 2 (y direction) is controlled. The main control unit 100 controls writing and reading of data to and from the storage unit 102 via the row direction control unit 106 and the column direction control unit 108,
, Controlling writing and reading of data to and from the external memory 110, and controlling input and output of data to and from the filter unit 101.

【0027】記憶部102は行方向(x方向)及び列方
向(y方向)へのデータシフトが可能なシフトレジスタ
からなるものである。ここでは、記憶部102の大きさ
は20行×20列(20画素×20ライン)であるとす
る。図2に、記憶部102の記憶セルの構成を示す。
The storage unit 102 comprises a shift register capable of shifting data in the row direction (x direction) and the column direction (y direction). Here, it is assumed that the size of the storage unit 102 is 20 rows × 20 columns (20 pixels × 20 lines). FIG. 2 illustrates a configuration of a storage cell of the storage unit 102.

【0028】以下、図1、図2、図3乃至図8を参照
し、本実施例について詳細に説明する。なお、図3は記
憶部102に対するデータの書き込み方の一例を示し、
図4は記憶部102における水平処理後のデータの書き
込み方の一例を示す。図5は外部メモリ110に対する
記憶部102及びラインメモリ104り割り当て方(タ
イリング)の一例を示し、図6は記憶部102及びライ
ンメモリ104に関係したデータの移動や複写などを説
明するための図である。図7は、レベル2まで終了した
時点の記憶部102におけるマッピングの一例を示す図
である。図8は、1ブロックに対するレベル2までの変
換処理動作のタイミングチャートである。なお、各図の
内容は例示であって、本発明の主旨から逸脱しない限
り、さまざまな形態をとり得ることに注意されたい。
Hereinafter, this embodiment will be described in detail with reference to FIG. 1, FIG. 2, FIG. 3 to FIG. FIG. 3 illustrates an example of a method of writing data to the storage unit 102.
FIG. 4 shows an example of how to write data after horizontal processing in the storage unit 102. FIG. 5 shows an example of how the storage unit 102 and the line memory 104 are allocated (tiling) to the external memory 110, and FIG. 6 is a diagram for explaining the movement and copying of data related to the storage unit 102 and the line memory 104. FIG. FIG. 7 is a diagram illustrating an example of the mapping in the storage unit 102 at the time when the processing is completed up to the level 2. FIG. 8 is a timing chart of the conversion processing operation up to level 2 for one block. It should be noted that the content of each drawing is merely an example, and may take various forms without departing from the gist of the present invention.

【0029】図2の点線で囲んだ各部分が記憶部102
の1つの記憶セルを表す。図示のように、記憶部102
の各記憶セルは1つのシフトレジスタSRと1つのマル
チプレクサMUXからなる。各記憶セルのシフトレジス
タSRのデータ入力には、マルチプレクサMUXを介し
て、行方向の前段(右側)の記憶セルの出力データ又は
列方向の前段(下側)の記憶セルの出力データが入力さ
れる。この入力データの切り替え、すなわち行方向への
データシフトか列方向のデータシフトかの切り替えは、
マルチプレクサMUXへの制御入力hvb(horizontal
/vertical bar)によって制御される。ここまでの説明
から明らかなように、行方向(x方向)のデータシフト
は右から左への向きに、列方向(y方向)のデータシフ
トは下から上への向きに、それぞれ行われることにな
る。
Each part surrounded by a dotted line in FIG.
Of one storage cell. As shown, the storage unit 102
Is composed of one shift register SR and one multiplexer MUX. To the data input of the shift register SR of each storage cell, the output data of the preceding storage cell in the row direction (right side) or the output data of the preceding storage cell in the column direction (lower side) is input via the multiplexer MUX. You. Switching of the input data, that is, switching between data shift in the row direction and data shift in the column direction,
The control input hvb (horizontal) to the multiplexer MUX
/ vertical bar). As is clear from the above description, the data shift in the row direction (x direction) is performed from right to left, and the data shift in the column direction (y direction) is performed from bottom to top. become.

【0030】ウェーブレット変換を行う場合、まず、外
部メモリ110に記憶されているイメージデータの0ラ
イン目のデータが主制御部100の制御によって読み出
され、これが行方向制御部106を介して記憶部102
の一番下の第j行(図4参照)の最前段(右端)に入力
され左方向へ順次シフトされる。ただし、0画素目と1
画素目に対してはミラー処理が必要となるため、記憶部
102にも最初からその順で書き込まれる。図3中の網
掛け部分は、ミラー処理された画素のデータを示す。こ
のようにして図3(b)に示すように0ライン目のデー
タが全て書き込まれると、このデータは一つ上の行へシ
フトされる。次に、1ライン目のデータが同様に外部メ
モリ100から読み出され、行方向制御部106により
記憶部102の一番下の行に入力され順次左へシフトさ
れる。また、データ入力と並行してフィルタ部101に
より水平処理が実行され、0ライン目のデータに対して
計算されたS係数、D係数が、行方向制御部106を介
し、記憶部102の0ライン目データが書き込まれてい
る行に入力され順次左へシフトされる。図3(c)は、
このような0ライン目の水平処理と1ライン目のデータ
の入力処理の途中の状態を示す。同様のイメージデータ
の入力と水平処理が並行して繰り返し実行されることに
より、最終的に、水平処理の結果が記憶部102に図4
に示すようにマッピングされる。なお、ラインメモリ1
04に対するデータの書き込み又は読み出しも行われる
が、これについては後述する。
When performing the wavelet transform, first, the data of the 0th line of the image data stored in the external memory 110 is read under the control of the main control unit 100, and this is read out by the storage unit via the row direction control unit 106. 102
Are input to the forefront (right end) of the j-th row (see FIG. 4) at the bottom and are sequentially shifted to the left. However, the 0th pixel and the 1st pixel
Since a mirror process is required for the pixel, the data is written in the storage unit 102 in that order from the beginning. The shaded portions in FIG. 3 indicate the data of the mirror-processed pixels. When all the data on the 0th line is written as shown in FIG. 3B, this data is shifted to the next higher row. Next, data of the first line is similarly read from the external memory 100, input to the bottom row of the storage unit 102 by the row direction control unit 106, and sequentially shifted to the left. In addition, horizontal processing is executed by the filter unit 101 in parallel with the data input, and the S coefficient and the D coefficient calculated for the data of the 0th line are output to the 0 line of the storage unit 102 via the row direction control unit 106. The data is input to the line where the eye data is written and sequentially shifted to the left. FIG. 3 (c)
This shows a state in the middle of the horizontal processing of the 0th line and the input processing of the data of the 1st line. By inputting the same image data and performing the horizontal processing repeatedly in parallel, the result of the horizontal processing is finally stored in the storage unit 102 in FIG.
Is mapped as shown in The line memory 1
Writing and reading of data with respect to the data 04 are also performed, which will be described later.

【0031】図4において、記憶部102の第0行と第
1行には、第3行と第2行と同じデータが書き込まれて
いることに注意されたい。これは垂直方向のミラー処理
であり、具体的には、第j行まで処理が終わった段階
で、行方向制御部106の制御により第3行のデータが
第0行に書き込まれ、また第2行のデータが第1行に書
き込まれる。また、各行の第i列と第j列には第g列と
第h列と同じデータが書き込まれていることに注意され
たい。これは、水平処理の過程で行方向制御部106の
制御によって行われるが、その理由については後述す
る。
It should be noted that, in FIG. 4, the same data as the third and second rows is written in the 0th and 1st rows of the storage unit 102. This is a mirror process in the vertical direction. Specifically, at the stage when the processing up to the j-th row is completed, the data of the third row is written to the 0-th row under the control of the row direction control unit 106, and Row data is written to the first row. It should be noted that the same data is written in the i-th column and the j-th column of each row, as in the g-th column and the h-th column. This is performed under the control of the row direction control unit 106 in the course of the horizontal processing. The reason will be described later.

【0032】さて、図4のようにマッピングされた記憶
部102上のS係数、D係数に対して、垂直処理が施さ
れる。ただし、第0列と第1列は処理の対象外であるこ
とに注意されたい。垂直処理の場合、列方向制御部10
8の制御により、第2列のデータが列方向(上向き)へ
順次シフトされ、シフトアウトされたデータが主制御部
100内のフィルタ部101へ入力されてSS係数、S
D係数が計算され、それら係数が列方向制御部108の
制御により記憶部102の第2列に順次入力されシフト
されていく。第3列のデータも同様に列方向にシフトさ
れ、シフトアウトされたデータがフィルタ部101に入
力されてDS係数、DD係数が計算され、これが第3列
に入力されシフトされる。同様の処理が第h列まで繰り
返されることにより、レベル1のウェーブレット変換が
終わる。
Now, vertical processing is performed on the S coefficient and the D coefficient on the storage unit 102 mapped as shown in FIG. However, it should be noted that the 0th column and the 1st column are not processed. In the case of vertical processing, the column direction control unit 10
8, the data in the second column is sequentially shifted in the column direction (upward), and the shifted out data is input to the filter unit 101 in the main control unit 100, where the SS coefficient, S
D coefficients are calculated, and the coefficients are sequentially input to the second column of the storage unit 102 and shifted by the control of the column direction control unit 108. Similarly, the data in the third column is shifted in the column direction, and the shifted-out data is input to the filter unit 101 to calculate the DS coefficient and the DD coefficient, which are input to the third column and shifted. By repeating the same processing up to the h-th column, the level 1 wavelet transform ends.

【0033】レベル2のウェーブレット変換は、記憶部
102上のレベル1のSS係数(1SS)のみを対象と
して行われる。すなわち、行方向制御部106の制御に
より各行のデータが行方向にシフトされ、シフトアウト
された1SS係数がフィルタ部101へ送られて2S係
数,2D係数が計算され、この係数は、シフトアウトさ
れたレベル1のデータ(1SD係数、1DS係数、1D
D係数)とともに、図19に示したようなマッピングと
なるような順番で当該行に入力され順次シフトされる。
この繰り返しによりレベル2の水平処理が終わる。な
お、第0行と第1行は処理の対象外である。また、各行
の第i列と第j列のデータも処理の対象外である。次に
レベル2の垂直処理が行われる。第2列から第g列まで
の各列について、列方向制御部108の制御によりデー
タが列方向に順次シフトされ、シフトアウトされた2S
係数又は2D係数がフィルタ部101に入力されて2S
S係数と2SD係数、又は、2DS係数と2DD係数が
計算され、これら係数はシフトアウトされたデータとと
もに、図20に示したようなマッピングとなるような順
番で当該列に入力され順次シフトされる。この処理が繰
り返され、レベル2の処理が終わる。かくして、レベル
2までのウェーブレット変換の結果は記憶部102上に
図7に示すようにマッピングされる。この16画素×1
6ラインのデータは外部メモリ110へ書き出される。
レベル3以上の変換を行う場合には、外部メモリ110
上のSS3係数だけが記憶部102に読み込まれ、同様
の処理が行われる。
The level 2 wavelet transform is performed only on the level 1 SS coefficient (1SS) in the storage unit 102. That is, the data of each row is shifted in the row direction under the control of the row direction control unit 106, the shifted 1SS coefficient is sent to the filter unit 101, and the 2S coefficient and the 2D coefficient are calculated. This coefficient is shifted out. Level 1 data (1SD coefficient, 1DS coefficient, 1D
D coefficients), and are input to the row in an order such that the mapping as shown in FIG.
This repetition ends the level 2 horizontal processing. Note that the 0th row and the 1st row are not subject to processing. Further, the data in the i-th column and the j-th column in each row are also excluded from the processing. Next, level 2 vertical processing is performed. For each column from the second column to the g-th column, data is sequentially shifted in the column direction under the control of the column direction control unit 108, and the shifted 2S
The coefficient or 2D coefficient is input to the filter unit 101 and
The S coefficient and the 2SD coefficient, or the 2DS coefficient and the 2DD coefficient are calculated, and these coefficients are input to the corresponding column together with the shifted out data in the order shown in FIG. 20 and sequentially shifted. . This process is repeated, and the level 2 process ends. Thus, the results of the wavelet transform up to level 2 are mapped on the storage unit 102 as shown in FIG. This 16 pixels x 1
The six lines of data are written to the external memory 110.
When performing level 3 or higher conversion, the external memory 110
Only the above SS3 coefficient is read into the storage unit 102, and the same processing is performed.

【0034】図5は、外部メモリ110のサイズが記憶
部102のサイズより大きい場合のタイリング方法を示
している。B00はブロック(水平0、垂直0)を意味
する。ここでは、記憶部102のサイズは20画素×2
0ラインとしているので、図5中のx0は15画素目、
2x0は31画素目であり(0から数えている)、y0は
15ライン目、2y0は31ライン目である(x0=y0
=15、0から数えている)。したがって、32画素×
32ライン(0画素目から31画素目まで、0ライン目
から31ライン目まで)のイメージを処理する場合、図
示のようにB00,B01,B10,B11の4つのブ
ロックに分割して処理する必要がある(この図は従来技
術との比較を行うための図である)。次に、図6を参照
して、各ブロックの処理について説明する。 <ブロックB00の処理:図6(a)>このブロックB
00については、0画素目から17画素目まで、0ライ
ン目から17ライン目までの18画素×18ラインのイ
メージデータが記憶部102に読み込まれる。図6
(a)に示すの部分はデータが実在しないので、その
データはミラー処理によって補われる。下隣りのブロッ
クB10の処理で必要であるがブロックB00の変換デ
ータによって上書きされてしまうの部分(図4の第g
行、第h行に対応)のデータは、予めラインメモリ10
4にコピーされる。また、ブロックB00の変換データ
によって上書きされてしまうの部分(図4の第g列、
第h列に対応)のデータは、下隣りのブロックB01の
処理の際に使用できるようにするため記憶部102の右
端(図4の第i列と第j列)に予めコピーされる。ブロ
ックB00に対する変換が行われ、その変換データ(図
7に示す16画素×16ラインのデータ)が外部メモリ
110の0画素目から15画素目まで、0ライン目から
15ライン目までの領域に書き込まれる。次にブロック
B01が処理される。 <ブロックB01の処理:図6(b)>このブロックB
01については、16画素目から33画素目まで、0ラ
イン目から17ライン目までの18画素×18ラインの
イメージデータが記憶部102に読み込まれる。この
際、記憶部102の右端にあったの部分のデータは左
端(図4の第0列、第1列)に移動させられる。データ
が存在しないの部分のデータはミラー処理により補わ
れる。下隣りのブロックB11の処理で必要であるがブ
ロックB01の変換データで上書きされてしまうの部
分(図4の第g行、第h行に対応)のデータは、ライン
メモリ104に予めコピーされる。ブロックB01に対
する変換データは、外部メモリ110の16画素目から
31画素目まで、0ライン目から15ライン目までの領
域に書き込まれる。ブロックB10の処理に進む。 <ブロックB10:図6(c)>このブロックB10に
ついては、0画素目から17画素目まで、16ライン目
から33ライン目までのイメージデータが記憶部102
に読み込まれる。データが存在しないの部分のデータ
はミラー処理によって補われる。の部分は上隣りのブ
ロックB00の変換データで上書きされているので、ラ
インメモリ104にセーブされていた、その部分のデー
タが書き込まれる。の部分のデータは右隣りのブロッ
クB11の処理で使用できるようにするため記憶部10
2の右端にコピーされる。ブロックB10の変換データ
で上書きされるの部分のデータは、ラインメモリ10
4にコピーされる。このブロックB10の変換データは
外部メモリ110の0画素目から15画素目まで、16
ライン目から31ライン目までの領域に書き込まれる。
次にブロックB11の処理に進む。 <ブロックB11の処理:図6(d)>外部メモリ11
0の16画素目から33画素目まで、16ライン目から
33ライン目までのイメージデータが記憶部102に書
き込まれる。この際、記憶部102の右端にあったの
部分のデータは左端に移動させられる。の部部にはラ
インメモリ104にセーブされていたデータが書き込ま
れる。の部分のデータはラインメモリ104にコピー
される。このブロックB11に対する変換データは、外
部メモリ110の16画素目から31画素目まで、16
ライン目から31ライン目までの領域に書き込まれる。
FIG. 5 shows a tiling method when the size of the external memory 110 is larger than the size of the storage unit 102. B00 means a block (horizontal 0, vertical 0). Here, the size of the storage unit 102 is 20 pixels × 2
Since it is 0 line, x0 in FIG.
2x0 is the 31st pixel (counted from 0), y0 is the 15th line, and 2y0 is the 31st line (x0 = y0
= 15, 0). Therefore, 32 pixels x
When processing an image of 32 lines (from the 0th pixel to the 31st pixel, from the 0th line to the 31st line), it is necessary to divide the image into four blocks B00, B01, B10, and B11 as shown in the figure. (This diagram is for comparison with the prior art). Next, the processing of each block will be described with reference to FIG. <Process of Block B00: FIG. 6 (a)> This Block B
For 00, image data of 18 pixels × 18 lines from the 0th pixel to the 17th pixel and the 0th line to the 17th line are read into the storage unit 102. FIG.
Since the data shown in FIG. 7A does not actually exist, the data is supplemented by mirror processing. A part that is necessary for the processing of the block B10 on the lower side but is overwritten by the converted data of the block B00 (g in FIG. 4)
Row, the h-th row) is stored in the line memory 10 in advance.
4 In addition, a portion that is overwritten by the converted data of the block B00 (the g-th column in FIG. 4,
The data of the (h-th column) is copied in advance to the right end (the i-th column and the j-th column in FIG. 4) of the storage unit 102 so that the data can be used in the processing of the lower adjacent block B01. The conversion for the block B00 is performed, and the converted data (data of 16 pixels × 16 lines shown in FIG. 7) is written to the 0th to 15th pixels and the 0th to 15th lines of the external memory 110. It is. Next, block B01 is processed. <Process of Block B01: FIG. 6 (b)> This Block B
For 01, image data of 18 pixels × 18 lines from the 16th pixel to the 33rd pixel and the 0th line to the 17th line are read into the storage unit 102. At this time, the data at the right end of the storage unit 102 is moved to the left end (the 0th and 1st columns in FIG. 4). The data in the portion where no data exists is supplemented by mirror processing. The data (corresponding to the g-th row and the h-th row in FIG. 4) necessary for the processing of the block B11 below but overwritten by the converted data of the block B01 is copied to the line memory 104 in advance. . The conversion data for the block B01 is written in the region from the 16th pixel to the 31st pixel and the 0th line to the 15th line of the external memory 110. The process proceeds to block B10. <Block B10: FIG. 6 (c)> In this block B10, image data from the 0th pixel to the 17th pixel and the 16th line to the 33rd line are stored in the storage unit 102.
Is read in. The data in the portion where no data exists is supplemented by mirror processing. Is overwritten with the converted data of the upper adjacent block B00, so that the data of that part saved in the line memory 104 is written. Is stored in the storage unit 10 so that it can be used in the processing of the block B11 on the right.
2 is copied to the right end. The data of the part overwritten by the converted data of the block B10 is stored in the line memory 10
4 The converted data of the block B10 is stored in the external memory 110 from the 0th pixel to the 15th pixel,
Data is written to the area from the 31st line to the 31st line.
Next, the process proceeds to block B11. <Process of Block B11: FIG. 6D> External Memory 11
The image data of the 0th pixel from the 16th pixel to the 33rd pixel and from the 16th line to the 33rd line are written to the storage unit 102. At this time, the data of the portion at the right end of the storage unit 102 is moved to the left end. The data saved in the line memory 104 is written in the section of. Is copied to the line memory 104. The conversion data for the block B11 is stored in the external memory 110 from the 16th pixel to the 31st pixel.
Data is written to the area from the 31st line to the 31st line.

【0035】図8は、上に述べた各ブロックに対し、レ
ベル2までのウェーブレット変換を行う場合のタイミン
グチャートである。時刻t0から時刻t1までが外部メ
モリ110から記憶部102へのデータの読み込みとレ
ベル1の水平処理が行われる期間であり、時刻t1から
時刻t4までが内部でレベル1の垂直処理からレベル2
の垂直処理までが行われる期間であり、時刻t4から時
刻t5までが変換データを外部メモリ110に書き出す
期間である。外部メモリ110に対するデータの読み出
しと書き込みのサイクル数は、それぞれ400サイクル
(=20×20)と256サイクル(=16×16)で
ある。外部メモリ110のアクセスを伴わない内部動作
は外部メモリ・アクセスに比べ遥かに高速化できるが、
ここでは内部動作を外部メモリ・アクセスと同じ動作速
度であると仮定して時刻t1〜時刻t4までの期間のサ
イクル数を計算すると800サイクルとなる。したがっ
て、時刻t0から時刻t5までの総サイクル数は145
6サイクルとなる。
FIG. 8 is a timing chart when the wavelet transform up to level 2 is performed on each block described above. The period from time t0 to time t1 is a period during which data is read from the external memory 110 to the storage unit 102 and the level 1 horizontal processing is performed.
The period from time t4 to time t5 is a period during which converted data is written to the external memory 110. The number of cycles for reading and writing data to and from the external memory 110 is 400 cycles (= 20 × 20) and 256 cycles (= 16 × 16), respectively. Internal operations without access to external memory 110 can be much faster than external memory access,
Here, when the number of cycles in the period from time t1 to time t4 is calculated assuming that the internal operation has the same operation speed as the external memory access, 800 cycles are obtained. Therefore, the total number of cycles from time t0 to time t5 is 145
This is six cycles.

【0036】同じ処理がB00,B01,B10,B1
1の4ブロックに対して繰り返され、レベル2の変換デ
ータが得られる。レベル4の変換データを得る場合に
は、B00〜B11の4ブロックに含まれるSS係数
(2SS)を集め1つのブロックとして処理される。こ
の処理では9画素、9ライン(0から数えて)となるの
で、サイクル数はブロックB00の処理の4分の1、す
なわち364サイクルとなる。したがって、レベル4ま
でのウェーブレット変換処理にかかる総時間は (400+256+800)*(4+1/4)=618
8 となる。しかし、これは内部動作の速度を外部メモリ・
アクセスと同じと仮定した数値であって、実際には内部
動作を外部メモリ・アクセスに比べ数倍高速化すること
は容易であるから、総時間はさらに短縮可能である。例
えば、内部動作の速度を外部メモリ・アクセスの2倍と
仮定すると、総時間は (400+256+800/2)*(4+1/4)=4
488 サイクルまで減少する。内部動作の速度を外部メモリ・
アクセスの4倍と仮定すると、総時間は (400+256+800/4)*(4+1/4)=3
638 サイクルまで減少する。このように、本発明によれば、
従来技術において同様の処理を行う場合の総時間544
0サイクルより、総時間を短縮できることは明かであ
る。
The same processing is performed for B00, B01, B10, and B1.
This is repeated for four blocks of 1 to obtain level 2 conversion data. To obtain level 4 conversion data, SS coefficients (2SS) included in four blocks B00 to B11 are collected and processed as one block. In this processing, there are 9 pixels and 9 lines (counting from 0), so the number of cycles is 1/4 of the processing of the block B00, that is, 364 cycles. Therefore, the total time required for the wavelet transform processing up to level 4 is (400 + 256 + 800) * (4 + /) = 618
8 However, this limits the speed of internal operation to external memory
The numerical value is assumed to be the same as that of the access. Actually, it is easy to speed up the internal operation several times as compared with the external memory access, so that the total time can be further reduced. For example, assuming that the speed of the internal operation is twice that of the external memory access, the total time is (400 + 256 + 800/2) * (4 + /) = 4
Decreases to 488 cycles. The speed of the internal operation
Assuming four times the access, the total time is (400 + 256 + 800/4) * (4 + /) = 3
Decreases to 638 cycles. Thus, according to the present invention,
Total time 544 when performing similar processing in the prior art
It is clear that the total time can be shortened from zero cycle.

【0037】図9は、本発明の第2の実施例を示すブロ
ック図である。本実施例のウェーブレット変換装置は、
主制御部200、記憶部202、ラインメモリ204、
ウェーブレット変換の水平処理のための行方向フィルタ
部206、垂直処理のための列方向フィルタ部207、
行方向アドレスデコード/データ選択部208、及び、
列方向アドレスデコード/データ選択部209からな
る。210は本ウェーブレット変換装置に接続される外
部メモリである。行方向アドレスデコード/データ選択
部208は記憶部202に対する行方向へのアクセスを
制御するものであり、列方向アドレスデコード/データ
選択部209は記憶部202に対する列方向へのアクセ
スを制御するためのものである。主制御部200は、行
方向アドレスデコード/データ選択部208及び列方向
アドレスデコード/データ選択部209を介し、記憶部
200に対するデータの書き込み及び読み出し並びにフ
ィルタ部206,207に対するデータの入力及び出力
を制御し、ラインメモリ204に対するデータの書き込
み及び読み出しを制御し、また、外部メモリ210に対
するデータの書き込み及び読み出しを制御する。ライン
メモリ204は、前記第1実施例におけるラインメモリ
104と同じ目的に利用されるものである。図10に、
記憶部202中の1つの記憶セルを示す。
FIG. 9 is a block diagram showing a second embodiment of the present invention. The wavelet transform device of the present embodiment
Main control unit 200, storage unit 202, line memory 204,
A row direction filter unit 206 for horizontal processing of wavelet transform, a column direction filter unit 207 for vertical processing,
A row direction address decode / data selection unit 208;
It comprises a column direction address decode / data selection unit 209. Reference numeral 210 denotes an external memory connected to the present wavelet transform device. The row direction address decode / data selection unit 208 controls access to the storage unit 202 in the row direction, and the column direction address decode / data selection unit 209 controls access to the storage unit 202 in the column direction. Things. The main control unit 200 writes and reads data to and from the storage unit 200 and inputs and outputs data to the filter units 206 and 207 via the row-direction address decode / data selection unit 208 and the column-direction address decode / data selection unit 209. It controls writing and reading of data to and from the line memory 204, and also controls writing and reading of data to and from the external memory 210. The line memory 204 is used for the same purpose as the line memory 104 in the first embodiment. In FIG.
4 shows one storage cell in the storage unit 202.

【0038】本実施例のウェーブレット変換装置におい
ては、前述の如く、ウェーブレット変換のためのフィル
タ部が、水平処理のための行方向フィルタ部206と垂
直処理のための列方向フィルタ部207とに分離されて
いる。水平処理時にはフィルタ演算に必要なデータが行
方向アドレスデコード/データ選択部208を介して行
方向フィルタ部206に入力され、その演算結果が行方
向アドレスデコード/データ選択部208を介して記憶
部202に書き込まれる。垂直処理時には、フィルタ演
算に必要なデータが列方向アドレスデコード/データ選
択部209を介して列方向フィルタ部207に入力さ
れ、その演算結果が列方向アドレスデコード/データ選
択部209を介して記憶部202に書き込まれる。この
ようなフィルタ部に関連した構成を除けば、本実施例の
ウェーブレット変換装置の全体的な動作は基本的に前記
第1実施例の場合と同様であり、ラインメモリ204の
利用方法も同様である。
In the wavelet transform device of this embodiment, as described above, the filter unit for wavelet transform is separated into the row direction filter unit 206 for horizontal processing and the column direction filter unit 207 for vertical processing. Have been. At the time of horizontal processing, data necessary for the filter operation is input to the row direction filter unit 206 via the row direction address decode / data selection unit 208, and the operation result is stored via the row direction address decode / data selection unit 208 to the storage unit 202. Is written to. At the time of the vertical processing, data necessary for the filter operation is input to the column direction filter unit 207 via the column direction address decode / data selection unit 209, and the operation result is stored in the storage unit via the column direction address decode / data selection unit 209. 202 is written. Except for the configuration related to such a filter unit, the overall operation of the wavelet transform device of this embodiment is basically the same as that of the first embodiment, and the method of using the line memory 204 is also the same. is there.

【0039】しかし、記憶部202は、その各記憶セル
が図10に示すように完全に独立しおり、主制御部20
0から発行されるアドレスを行方向アドレスデコード/
データ選択部206及び列方向アドレスデコード/デー
タ選択部209でデコードすることにより、任意の記憶
セルに対し直接的に書き込み/読み込みを行うことがで
きる。したがって、外部メモリ210から記憶部202
へのデータ転送の終了直後、数サイクルで全ての行方向
の処理(水平処理)を修理用させることができ、また、
水平処理の終了直後、数サイクルで列方向の処理(垂直
処理)を終了させることができる。すなわち、前記第1
実施例に比べ、内部処理の動作をはるかに高速化するこ
とができる。
However, in the storage unit 202, each storage cell is completely independent as shown in FIG.
The address issued from 0 is decoded in the row direction address /
By decoding by the data selection unit 206 and the column address decode / data selection unit 209, writing / reading can be directly performed on an arbitrary storage cell. Therefore, the storage unit 202 is stored in the external memory 210.
Immediately after the end of data transfer to, all row-direction processing (horizontal processing) can be repaired in a few cycles.
Immediately after the completion of the horizontal processing, the processing in the column direction (vertical processing) can be completed in several cycles. That is, the first
The operation of internal processing can be made much faster than in the embodiment.

【0040】図11は、前記第1実施例の場合と同じタ
イリング処理における、本実施例のウェーブレット変換
装置のタイミングチャートである。図11において、時
刻t0から時刻t1までが外部メモリ210からのデー
タ読み込みとレベル1の水平処理の期間であり、時刻t
1〜時刻t4までが内部でのレベル1の垂直処理、レベ
ル2の水平処理と垂直処理の期間である。時刻t4から
時刻t5までが外部メモリ210へのデータ書き出しの
期間である。外部メモリ210に対するデータの読み出
しと書き込みはそれぞれ400サイクルと256サイク
ルである。前述のように、内部処理の時刻t1〜時刻T
4までの期間は、内部動作が外部メモリ210へのアク
セスに比べ高速であれば殆ど無視できるが、ここでは1
00サイクルと仮定しサイクル数を計算すると、時刻t
0から時刻t5までの総サイクル数は756サイクルと
なる。この処理が4つのブロックB00,B01,B1
0,B11(図5参照)に対し繰り返されてレベル2の
変換データが得られる。レベル4の変換データを得る場
合には、B00〜B11の4ブロックに含まれるSS係
数(2SS)を集め1つのブロックとして処理される。
この処理では9画素、9ライン(0から数えて)となる
ので、サイクル数はブロックB00の処理の4分の1、
すなわち189サイクルとなる。したがって、レベル4
までのウェーブレット変換処理にかかる総時間は (400+256+100)*(4+1/4)=321
3 サイクルとなる。また、内部処理を50サイクルと仮定
すれば、総時間は (400+256+50)*(4+1/4)=3000 サイクルまで減少する。このように、本実施例によれ
ば、総時間を従来技術での5440に比べ大幅に短縮で
きることは明かであり、さらに、前記第1実施例と比較
しても更なる高速処理が可能であることが理解されよ
う。
FIG. 11 is a timing chart of the wavelet transform apparatus of this embodiment in the same tiling processing as in the first embodiment. In FIG. 11, a period from time t0 to time t1 is a period of data reading from the external memory 210 and the level 1 horizontal processing.
A period from 1 to time t4 is an internal period of level 1 vertical processing, level 2 horizontal processing and vertical processing. A period from time t4 to time t5 is a period for writing data to the external memory 210. Reading and writing data to and from the external memory 210 are 400 cycles and 256 cycles, respectively. As described above, time t1 to time T of the internal processing
In the period up to 4, if the internal operation is faster than the access to the external memory 210, it can be almost neglected.
When the number of cycles is calculated assuming 00 cycles, the time t
The total number of cycles from 0 to time t5 is 756 cycles. This processing is performed for four blocks B00, B01, and B1.
0 and B11 (see FIG. 5) are repeated to obtain level 2 conversion data. To obtain level 4 conversion data, SS coefficients (2SS) included in four blocks B00 to B11 are collected and processed as one block.
In this processing, 9 pixels and 9 lines (counting from 0) are used, so that the number of cycles is 1/4 of the processing of the block B00,
That is, 189 cycles are required. Therefore, level 4
The total time required for the wavelet transform processing up to (400 + 256 + 100) * (4 + 1/4) = 321
Three cycles. Assuming that the internal processing is 50 cycles, the total time is reduced to (400 + 256 + 50) * (4 + /) = 3000 cycles. As described above, according to the present embodiment, it is clear that the total time can be significantly reduced as compared with 5440 of the prior art, and further higher speed processing is possible as compared with the first embodiment. It will be understood.

【0041】前記第1実施例又は第2実施例において
は、前述のようにラインメモリ(104,204)に、
外部から入力された元データがそのまま書き込まれた
が、本発明の第3の実施例によれば、同様の構成のウェ
ーブレット変換装置において、ウェーブレット変換のフ
ィルタの特性を活用し、ラインメモリに対し処理の中間
データ(本発明ではフィルタ部の低域通過型フィルタの
出力)が書き込まれる。これにより、他の条件が前記各
実施例と同じならば、図12に示すように、ラインメモ
リ(104,204)の行方向のサイズXは前記各実施
例の場合と同様に外部メモリ(110,210)の行方
向サイズと同じであるが、列方向のサイズYは前記各実
施例の場合の2から1へと半減させることができる。こ
のようなラインメモリの容量削減の効果は、外部メモリ
の行方向サイズが大きいほど、また、高域通過型フィル
タのタップ数が大きいほど顕著である。
In the first or second embodiment, the line memories (104, 204) are
Although the original data input from the outside is written as it is, according to the third embodiment of the present invention, in the wavelet transform device having the same configuration, the characteristic of the filter of the wavelet transform is utilized to process the line memory. (In the present invention, the output of the low-pass filter of the filter unit) is written. As a result, if the other conditions are the same as those of the above embodiments, as shown in FIG. 12, the size X of the line memories (104, 204) in the row direction is the same as that of the above embodiments. , 210) in the row direction, but the size Y in the column direction can be halved from 2 in the above embodiments to 1. Such an effect of reducing the capacity of the line memory is more remarkable as the size of the external memory in the row direction is larger and the number of taps of the high-pass filter is larger.

【0042】本発明の第4の実施例によれば、前記第1
実施例、第2実施例又は第3実施例と同様の構成におい
て、図13に示すように、記憶部(102,204)の
サイズを2行、2列だけ小さくすることができる。これ
は、本実施例では、記憶部のオーバーラップ領域(図1
3の斜線領域)に対し、フィルタの特性を活用し、処理
の中間データ(本発明では低域通過型フィルタの出力)
を書き込まれるからである(前記各実施例では、オーバ
ーラップ領域に外部から入力された元データがそのまま
書き込まれる)。本実施例による記憶部の容量削減効果
は、高域通過型フィルタのタップ数が大きいほど顕著で
ある。
According to a fourth embodiment of the present invention, the first
In a configuration similar to the embodiment, the second embodiment or the third embodiment, as shown in FIG. 13, the size of the storage unit (102, 204) can be reduced by two rows and two columns. This corresponds to the overlap area of the storage unit (FIG. 1)
3 (shaded area), utilizing the characteristics of the filter, the intermediate data of the processing (the output of the low-pass filter in the present invention)
(In the above embodiments, the original data input from the outside is written in the overlap area as it is.) The effect of reducing the capacity of the storage unit according to this embodiment is more remarkable as the number of taps of the high-pass filter increases.

【0043】前記各実施例においては、一度に処理でき
る画像のサイズが記憶部(102,202)のサイズに
よって制限され、したがって、要求されるウェーブレッ
トレベルの数が増えた場合は、あるレベルまでの結果を
外部メモリ(110,210)へ一旦書き出し、そのS
S係数を再び読み込んで処理するという再帰的な処理方
法で対処する必要がある。
In each of the above embodiments, the size of an image that can be processed at one time is limited by the size of the storage units (102, 202). Therefore, when the number of required wavelet levels increases, the number of wavelet levels up to a certain level is reduced. The result is temporarily written to the external memory (110, 210), and the S
It is necessary to deal with this by a recursive processing method of reading and processing the S coefficient again.

【0044】本発明の第5の実施例によれば、前記各実
施例と同様の構成において、予め要求されるウェーブレ
ット変換の最大レベルが分かっている場合に、その最大
レベルまでの全レベルのウェーブレット変換の処理を内
部で連続して実行するために必要な記憶容量を、記憶部
(102,202)に持たせる。例えば、レベル6まで
のウェーブレット変換が要求される場合には、記憶部
(102,204)の大きさは(64行×64列+オー
バーラップ領域)に決定される。このような大きさに設
定するならば、上に述べたような再帰的な処理を行うこ
となく、読み込んだデータに対し内部処理でレベル1か
らレベル6までの全レベルのウェーブレット変換を行
い、その結果を外部メモリに書き出すことができるた
め、内部処理に比べ速度の遅い外部メモリに対する読み
出し及び書き込みの回数が少なくなる分、処理の一層の
高速化が可能となる。
According to the fifth embodiment of the present invention, if the maximum level of the required wavelet transform is known in advance in the same configuration as the above embodiments, the wavelet of all levels up to the maximum level is obtained. The storage units (102, 202) have a storage capacity necessary for continuously executing the conversion process internally. For example, when a wavelet transform up to level 6 is required, the size of the storage unit (102, 204) is determined to be (64 rows × 64 columns + overlap area). If the size is set to such a value, the wavelet transform of all levels from level 1 to level 6 is performed by internal processing on the read data without performing the recursive processing as described above. Since the result can be written to the external memory, the number of times of reading and writing to the external memory, which is slower than the internal processing, is reduced, and the processing speed can be further increased.

【0045】なお、以上に述べた本発明によるウェーブ
レット変換装置は符号化/復号化装置に組み込むことが
できる。例えば、本発明によるウェーブレット変換装置
と、符号化/復号化器を同一チップ上に一体的に集積す
ることができる。かかる符号化/復号化装置によれば、
ウェーブレット変換を利用する画像データの圧縮/伸長
を従来より高速に行うことが可能である。
The above-described wavelet transform device according to the present invention can be incorporated in an encoding / decoding device. For example, the wavelet transform device according to the present invention and the encoder / decoder can be integrated on the same chip. According to such an encoding / decoding device,
It is possible to perform compression / expansion of image data using a wavelet transform at a higher speed than before.

【0046】[0046]

【発明の効果】以上に詳細に説明した如く、請求項1の
ウェーブレット変換装置は、従来技術に比べ高速なウェ
ーブレット変換処理が可能であり、また、従来技術のよ
うなパイプライン処理を必要としない構成であるため、
ウェーブレット変換の処理画素数やレベル数の変更に容
易に対応できる。請求項2のウェーブレット変換装置
は、請求項1のウェーブレット変換装置以上の高速処理
が可能であり、また、同様に処理画素数やレベル数の変
更に容易に対応できる。請求項3のウェーブレット変換
装置は、外部からのデータ入力とウェーブレット変換の
水平処理との並行化により、一層の高速化が可能であ
る。請求項4又は5のウェーブレット変換装置は、ライ
ンメモリ及び/又は記憶部の記憶容量を減らすことがで
きる。請求項6のウェーブレット変換装置は、要求され
る最大レベルまでの全レベルのウェーブレット変換の処
理を内部で連続して実行できるため、より一層の高速処
理が可能である、等々の効果を得られる。
As described in detail above, the wavelet transform apparatus according to the first aspect can perform wavelet transform processing at a higher speed than that of the prior art, and does not require pipeline processing unlike the prior art. Configuration,
It is possible to easily cope with a change in the number of processing pixels and levels in the wavelet transform. The wavelet transform device according to claim 2 can perform higher-speed processing than the wavelet transform device according to claim 1, and can easily cope with a change in the number of pixels to be processed and the number of levels similarly. In the wavelet transform device according to the third aspect, further speeding up is possible by parallelizing the data input from the outside and the horizontal processing of the wavelet transform. The wavelet transform device according to claim 4 or 5 can reduce the storage capacity of the line memory and / or the storage unit. According to the wavelet transform apparatus of the sixth aspect, since the processing of the wavelet transform of all levels up to the required maximum level can be continuously executed internally, it is possible to obtain effects such as higher speed processing.

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

【図1】本発明の第1実施例を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】第1実施例による記憶部の記憶セルの構成を示
すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a storage cell of a storage unit according to the first embodiment.

【図3】記憶部の行方向のデータフローの説明図であ
る。
FIG. 3 is an explanatory diagram of a data flow in a row direction in a storage unit.

【図4】レベル1の水平処理終了段階での記憶部のマッ
ピングを示す図である。
FIG. 4 is a diagram showing mapping of a storage unit at the stage of ending level 1 horizontal processing.

【図5】外部メモリに対する記憶部とラインメモリの割
り当て方を例示する図である。
FIG. 5 is a diagram illustrating an example of how a storage unit and a line memory are allocated to an external memory;

【図6】各ブロック処理時の記憶部とラインメモリに関
するデータフローを説明する図である。
FIG. 6 is a diagram illustrating a data flow relating to a storage unit and a line memory during each block processing.

【図7】レベル2までのウェーブレット変換を終了した
時点での記憶部のマッピングを示す図である。
FIG. 7 is a diagram illustrating mapping of a storage unit when a wavelet transform up to level 2 is completed.

【図8】第1実施例において1ブロックに対しレベル2
までのウェーブレット変換を行う場合のタイミングチャ
ートである。
FIG. 8 shows level 2 for one block in the first embodiment.
6 is a timing chart when performing the wavelet transform up to.

【図9】本発明の第2の実施例を示すブロック図であ
る。
FIG. 9 is a block diagram showing a second embodiment of the present invention.

【図10】第2実施例における記憶部の1つの記憶セル
を示す図である。
FIG. 10 is a diagram illustrating one storage cell of a storage unit according to the second embodiment.

【図11】第2実施例において1ブロックに対しレベル
2までのウェーブレット変換を行う場合のタイミングチ
ャートである。
FIG. 11 is a timing chart when a wavelet transform up to level 2 is performed on one block in the second embodiment.

【図12】本発明の第3実施例を説明するための図であ
る。
FIG. 12 is a diagram for explaining a third embodiment of the present invention.

【図13】本発明の第4実施例を説明するための図であ
る。
FIG. 13 is a diagram for explaining a fourth embodiment of the present invention.

【図14】従来例を示すブロック図である。FIG. 14 is a block diagram showing a conventional example.

【図15】ウェーブレット変換の水平処理及び垂直処理
の演算方法の説明図である。
FIG. 15 is an explanatory diagram of a calculation method of horizontal processing and vertical processing of wavelet transform.

【図16】イメージデータのメモリマップを示す図であ
る。
FIG. 16 is a diagram showing a memory map of image data.

【図17】レベル1のS係数及びD係数のメモリマップ
を示す図である。
FIG. 17 is a diagram showing a memory map of an S coefficient and a D coefficient of level 1;

【図18】レベル1のSS係数、SD係数、DS係数及
びDD係数のメモリマップを示す図である。
FIG. 18 is a diagram showing a memory map of an SS coefficient, an SD coefficient, a DS coefficient, and a DD coefficient of level 1;

【図19】レベル2のS係数及びD係数のメモリマップ
を示す図である。
FIG. 19 is a diagram showing a memory map of an S coefficient and a D coefficient of level 2;

【図20】レベル2のSS係数、SD係数、DS係数及
びDD係数のメモリマップを示す図である。
FIG. 20 is a diagram showing a memory map of an SS coefficient, an SD coefficient, a DS coefficient, and a DD coefficient of level 2;

【図21】従来例のタイミングチャートである。FIG. 21 is a timing chart of a conventional example.

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

100 主制御部 101 フィルタ部 102 記憶部 104 ラインメモリ 106 行方向制御部 108 列方向制御部 110 外部メモリ 200 主制御部 202 記憶部 204 ラインメモリ 206 行方向フィルタ部 207 列方向フィルタ部 208 行方向アドレスデコード/データ選択部 209 列方向アドレスデコード/データ選択部 210 外部メモリ DESCRIPTION OF SYMBOLS 100 Main control part 101 Filter part 102 Storage part 104 Line memory 106 Row direction control part 108 Column direction control part 110 External memory 200 Main control part 202 Storage part 204 Line memory 206 Row direction filter part 207 Column direction filter part 208 Row direction address Decode / Data Selector 209 Column Direction Address Decode / Data Selector 210 External Memory

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 行方向及び列方向へのデータシフトが可
能なシフトレジスタからなる記憶部と、該記憶部への書
き込みデータの一部を一時的に保存するためのラインメ
モリと、ウェーブレット変換の水平処理及び垂直処理の
ためのフィルタ部と、該記憶部に対する行方向へのアク
セスを制御するための行方向制御部と、該記憶部に対す
る列方向へのアクセスを制御するための列方向制御部
と、該行方向制御部及び該列方向制御部を介して該記憶
部に対するデータの書き込み及び読み出しを制御し、該
ラインメモリに対するデータの書き込み及び読み出しを
制御し、外部メモリに対するデータの書き込み及び読み
出しを制御し、該フィルタ部に対するデータの入力及び
出力を制御する主制御部とを具備し、該外部メモリより
入力したデータに対し1レベル以上のウェーブレット変
換処理を連続的に実行し、その結果データを該外部メモ
リへ出力することを特徴とするウェーブレット変換装
置。
1. A storage unit comprising a shift register capable of shifting data in a row direction and a column direction, a line memory for temporarily storing a part of data written to the storage unit, A filter unit for horizontal processing and vertical processing, a row direction control unit for controlling access to the storage unit in a row direction, and a column direction control unit for controlling access to the storage unit in a column direction And controlling writing and reading of data to and from the storage unit via the row direction control unit and the column direction control unit, controlling writing and reading of data to and from the line memory, and writing and reading data to and from an external memory. And a main control unit for controlling the input and output of data to the filter unit. A wavelet transform apparatus which continuously executes one or more levels of wavelet transform processing and outputs the result data to the external memory.
【請求項2】 それぞれが独立した記憶要素からなる記
憶部と、該記憶部への書き込みデータの一部を一時的に
保存するためのラインメモリと、該記憶部に対する行方
向へのアクセスを制御するための行方向アドレスデコー
ド/データ選択部と、該記憶部に対する列方向へのアク
セスを制御するための列方向アドレスデコード/データ
選択部と、該行方向アドレスデコード/データ選択部を
介して入力されるデータに対しウェーブレット変換の水
平処理を施すための行方向フィルタ部と、該列方向アド
レスデコード/データ選択部を介し入力されるデータに
対しウェーブレット変換の垂直処理を施すための列方向
フィルタ部と、該行方向アドレスデコード/データ選択
部及び該列方向アドレスデコード/データ選択部を介し
て記憶部に対するデータの書き込み及び読み出し並びに
該行方向フィルタ部及び該列方向フィルタ部に対するデ
ータの入力及び出力を制御し、該ラインメモリに対する
データの書き込み及び読み出しを制御し、外部メモリに
対するデータの書き込み及び読み出しを制御する主制御
部とを具備し、該外部メモリより入力したデータに対し
1レベル以上のウェーブレット変換処理を連続的に実行
し、その結果データを該外部メモリへ出力することを特
徴とするウェーブレット変換装置。
2. A storage unit including independent storage elements, a line memory for temporarily storing a part of data written to the storage unit, and controlling access to the storage unit in a row direction. , A column direction address decode / data selection unit for controlling access to the storage unit in the column direction, and an input via the row direction address decode / data selection unit. Row direction filter unit for performing horizontal processing of wavelet transform on data to be processed, and column direction filter unit for performing vertical processing of wavelet transform on data input through the column direction address decoder / data selector. And data to the storage unit via the row direction address decode / data selection unit and the column direction address decode / data selection unit. Control the writing and reading of data, and the input and output of data to the row direction filter unit and the column direction filter unit, control the writing and reading of data to and from the line memory, and write and read data to and from the external memory. A main control unit for controlling the data, and continuously executing one or more levels of wavelet transform processing on the data input from the external memory, and outputting the result data to the external memory. apparatus.
【請求項3】 請求項1又は2記載のウェーブレット変
換装置において、該外部メモリからのデータ入力と並行
してウェーブレット変換の水平処理が実行されることを
特徴とするウェーブレット変換装置。
3. The wavelet transform apparatus according to claim 1, wherein horizontal processing of wavelet transform is executed in parallel with data input from said external memory.
【請求項4】 請求項1、2又は3記載のウェーブレッ
ト変換装置において、該ラインメモリに書き込まれるデ
ータが処理の中間データであることを特徴とするウェー
ブレット変換装置。
4. The wavelet transform device according to claim 1, wherein the data written to the line memory is intermediate data for processing.
【請求項5】 請求項1、2又は3記載のウェーブレッ
ト変換装置において、該記憶部のオーバーラップ領域に
処理の中間データが書き込まれることを特徴とするウェ
ーブレット変換装置。
5. The wavelet transform apparatus according to claim 1, wherein intermediate data for processing is written in an overlap area of said storage unit.
【請求項6】 請求項1乃至5の各項記載のウェーブレ
ット変換装置において、該記憶部が、要求される最大レ
ベルまでの全レベルのウェーブレット変換の処理を内部
で連続して実行するために必要な記憶容量を持つことを
特徴とするウェーブレット変換装置。
6. The wavelet transform device according to claim 1, wherein the storage unit is necessary for continuously executing internally all levels of wavelet transform processing up to a required maximum level. Wavelet transform device having a large storage capacity.
JP22417598A 1998-08-07 1998-08-07 Wavelet transformer Pending JP2000059781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22417598A JP2000059781A (en) 1998-08-07 1998-08-07 Wavelet transformer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22417598A JP2000059781A (en) 1998-08-07 1998-08-07 Wavelet transformer

Publications (1)

Publication Number Publication Date
JP2000059781A true JP2000059781A (en) 2000-02-25

Family

ID=16809710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22417598A Pending JP2000059781A (en) 1998-08-07 1998-08-07 Wavelet transformer

Country Status (1)

Country Link
JP (1) JP2000059781A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100362355B1 (en) * 2000-09-29 2002-11-23 박성모 Processor for discrete wavelet transform
KR100771153B1 (en) 2006-05-11 2007-10-29 엠텍비젼 주식회사 Discrete wavelet transform device and the same method
US7701365B2 (en) 2005-11-18 2010-04-20 Sony Corporation Encoding device and method, composite device and method, and transmission system
JP2010136260A (en) * 2008-12-08 2010-06-17 Sony Corp Apparatus and method for processing information
US8184636B2 (en) 2007-03-30 2012-05-22 Sony Corporation Information processing device and method, and computer readable medium for packetizing and depacketizing data
US8774283B2 (en) 2007-03-30 2014-07-08 Sony Corporation Information processing device and method
US9083950B2 (en) 2006-07-19 2015-07-14 Sony Corporation Information processing apparatus, computer-readable storage medium, and method for sending packetized frequency components of precincts of image data to another device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100362355B1 (en) * 2000-09-29 2002-11-23 박성모 Processor for discrete wavelet transform
US7701365B2 (en) 2005-11-18 2010-04-20 Sony Corporation Encoding device and method, composite device and method, and transmission system
US8320693B2 (en) 2005-11-18 2012-11-27 Sony Corporation Encoding device and method, decoding device and method, and transmission system
KR100771153B1 (en) 2006-05-11 2007-10-29 엠텍비젼 주식회사 Discrete wavelet transform device and the same method
US9083950B2 (en) 2006-07-19 2015-07-14 Sony Corporation Information processing apparatus, computer-readable storage medium, and method for sending packetized frequency components of precincts of image data to another device
US8184636B2 (en) 2007-03-30 2012-05-22 Sony Corporation Information processing device and method, and computer readable medium for packetizing and depacketizing data
US8774283B2 (en) 2007-03-30 2014-07-08 Sony Corporation Information processing device and method
JP2010136260A (en) * 2008-12-08 2010-06-17 Sony Corp Apparatus and method for processing information
JP4626707B2 (en) * 2008-12-08 2011-02-09 ソニー株式会社 Information processing apparatus and method

Similar Documents

Publication Publication Date Title
US20030063811A1 (en) Signal processing apparatus and method, program, and storage medium
WO2017149591A1 (en) Image processing device
JP2000059781A (en) Wavelet transformer
US5892518A (en) Image generating apparatus with pixel calculation circuit including texture mapping and motion compensation
JPH11261887A (en) Image processor, image processing method and computer readable storage medium
JP2002304624A (en) Filter processor and imaging device
JP4245123B2 (en) Wavelet processing apparatus and wavelet processing method
US7039242B2 (en) Image processing device and image processing method
JP4097108B2 (en) Wavelet transform device and encoding / decoding device
JP2003298846A (en) Two-dimensional subband encoding device
JP4286192B2 (en) Image processing apparatus and image processing method
WO2000051067A1 (en) Transforming video images
JP3660136B2 (en) Encoding / decoding device
JP3560804B2 (en) Moving image encoding method and apparatus
JP3653172B2 (en) Encoding apparatus, encoding method, decoding apparatus, and decoding method
US20070217714A1 (en) Image processing apparatus and image processing method
KR100723043B1 (en) Apparatus and method for discrete wavelet transforming image data
JP2946360B2 (en) Image data interpolation method and apparatus
JPH11239060A (en) Wavelet transformation device and encoding/decoding device
JP3719699B2 (en) Encoding device and decoding device
JP2001109442A (en) Video signal processing circuit
JPH08223408A (en) Sampling frequency conversion circuit
JP2663773B2 (en) Image band division coding device
JP2001267909A (en) Signal processing unit and its method
JPH07104972A (en) Control method of fifo circuit and control apparatus for execution of said method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060501

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070404