JP2003283840A - Filtering processing apparatus and filtering processing method - Google Patents

Filtering processing apparatus and filtering processing method

Info

Publication number
JP2003283840A
JP2003283840A JP2002083647A JP2002083647A JP2003283840A JP 2003283840 A JP2003283840 A JP 2003283840A JP 2002083647 A JP2002083647 A JP 2002083647A JP 2002083647 A JP2002083647 A JP 2002083647A JP 2003283840 A JP2003283840 A JP 2003283840A
Authority
JP
Japan
Prior art keywords
data
filter
calculation
correction
integer
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.)
Withdrawn
Application number
JP2002083647A
Other languages
Japanese (ja)
Inventor
Tadayoshi Nakayama
忠義 中山
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002083647A priority Critical patent/JP2003283840A/en
Publication of JP2003283840A publication Critical patent/JP2003283840A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To carry out convolution operation in a simple configuration and to simultaneously obtain both the integer type and real number type filtering process results. <P>SOLUTION: A multistage integer type reversible filtering apparatus representatively like wavelet operation to be used for JPEG 2000 or the like is composed of a filtering operation part 901 for performing filtering operation as a reversible real number type, a correction part 903 for correcting the arithmetic result of the filtering operation part 901 by using intermediate data to be used for the operation due to the relevant filtering operation part 901 and real number coefficients (r), (p) and (u) used for the operation, and an integer part 905 for making integral the result corrected by the correction part 903. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はフィルタ処理装置及
び方法に関するものである。
TECHNICAL FIELD The present invention relates to a filtering apparatus and method.

【0002】[0002]

【従来の技術】画像、特に多値画像は非常に多くの情報
を含んでおり、その画像を蓄積・伝送する際にはデータ
量が膨大になってしまうという問題がある。このため画
像の蓄積・伝送に際しては、画像の持つ冗長性を除く、
或いは画質の劣化が視覚的に認識し難い程度で画像の内
容を変更することによってデータ量を削減する高能率符
号化が用いられる。
2. Description of the Related Art Images, especially multi-valued images, contain a great deal of information, and there is a problem that the amount of data becomes enormous when storing and transmitting the images. Therefore, when storing and transmitting images, the redundancy of images is excluded.
Alternatively, high-efficiency coding is used in which the amount of data is reduced by changing the content of the image so that the deterioration of the image quality is difficult to visually recognize.

【0003】例えば、静止画像の国際標準符号化方式と
してISOとITU−Tにより勧告されたJEPGで
は、画像データをブロックごと(8画素×8画素)に離
散コサイン変換(DCT)でDCT係数に変換した後
に、各係数を各々量子化し、さらにエントロピー符号化
することにより画像データを圧縮している。ブロックご
とにDCT、量子化を行なっているので、復号画像の各
ブロックの境界で、所謂ブロック歪みが目立つ場合があ
る。
[0003] For example, in JPEG that is recommended by ISO and ITU-T as an international standard encoding method for still images, image data is converted into DCT coefficients for each block (8 pixels x 8 pixels) by discrete cosine transform (DCT). After that, each coefficient is quantized and further entropy coded to compress the image data. Since DCT and quantization are performed for each block, so-called block distortion may be noticeable at the boundary of each block of the decoded image.

【0004】一方、新しい静止画像の国際標準符号化方
式としてJPEG2000が検討されているが、JPE
G2000では、量子化の前に行う前処理の一つとし
て、ウェーブレット(DWT)変換が提案されている。
ウェーブレット変換は、現行JPEGのようにブロック
単位で処理を行うのではなく、入力データを連続的に処
理するので、復号画像の劣化が視覚的に見えにくいとい
った特徴がある。
On the other hand, JPEG2000 is being studied as a new international standard encoding method for still images.
In G2000, a wavelet (DWT) transform is proposed as one of pre-processing performed before quantization.
The wavelet transform has a feature that deterioration of a decoded image is hard to be visually recognized because input data is continuously processed instead of processing in a block unit unlike the current JPEG.

【0005】JPEG2000で用いられる離散ウェー
ブレット変換は、画像データを低域周波数成分と高域周
波数成分とに分けるフィルタ処理として位置付けられ
る。通常、フィルタ処理は、フィルタ係数と画像データ
とのコンボリューション(畳み込み)演算によって行な
われるが、JPEG2000で用いられる下記の離散ウ
ェーブレット変換は、前記畳み込み演算の他に、Lif
ting Schemeによる方法が適用できる。 ・Daubecheis 9/7 Filter (以下、9×7フィルタと称す) ・ 〃 5/3 Filter (以下、5×3フィルタと称す) 以下、Lifting Schemeについて説明す
る。
The discrete wavelet transform used in JPEG2000 is positioned as a filter process for dividing image data into low frequency components and high frequency components. Usually, the filtering process is performed by a convolution operation of a filter coefficient and image data. However, the following discrete wavelet transform used in JPEG2000 is not limited to the convolution operation, and the
The method based on the Ting Scheme can be applied.・ Daubecheis 9/7 Filter (hereinafter referred to as 9 × 7 filter) ・ 〃 5/3 Filter (hereinafter referred to as 5 × 3 filter) Hereinafter, the Lifting Scheme will be described.

【0006】<Lifting Schemeの説明>
図1に順方向のLifting Scheme, 図2に
逆方向のLifting Schemeの基本構成を示
す。図の中のp, uはLifting係数と呼ばれるも
ので、図3に、5×3フィルタのフィルタ係数を、図4
に該5×3フィルタのLifting係数を示す。
<Explanation of Lifting Scheme>
FIG. 1 shows the basic structure of the lifting scheme in the forward direction, and FIG. 2 shows the basic structure of the lifting scheme in the reverse direction. P and u in the figure are called Lifting coefficients, and the filter coefficient of the 5 × 3 filter is shown in FIG.
Shows the Lifting coefficient of the 5 × 3 filter.

【0007】図4に示すLifting係数 p=(−1,−1)/2 u=( 1, 1)/4 を元に、以下、図1の動作について説明する。Lifting coefficient shown in FIG. p = (-1, -1) / 2 u = (1, 1) / 4 The operation of FIG. 1 will be described below with reference to FIG.

【0008】Xは入力画像データであり、同図に示すよ
うに(X0, X1, X2, X3, X4, X5 ... )で
ある。入力画像の先頭から、偶数系列の画素データと奇
数系列の画素データとを生成する。
X is input image data, which is (X0, X1, X2, X3, X4, X5 ...) As shown in FIG. Even-numbered series pixel data and odd-numbered series pixel data are generated from the beginning of the input image.

【0009】奇数系列の画素データ(X1,X3,X
5,X7...)は、間引きユニット105にて入力画
像データを先頭から1つおきに間引いて(ダウンサンプ
リングして)生成する。
Odd series of pixel data (X1, X3, X
5, X7. . . ), The thinning unit 105 thins out (downsamples) every other input image data from the beginning.

【0010】偶数系列の画素データ(X0,X2,X
4,X6...)は、遅延ユニット101にて画像デー
タを1画素遅延させ、その後、間引きユニット103に
て1画素遅延後の画像データを1つおきに間引いて(ダ
ウンサンプリングして)生成する。
Pixel data of even series (X0, X2, X
4, X6. . . In (1), the delay unit 101 delays the image data by one pixel, and then the thinning unit 103 thins out (downsamples) every other image data after delaying by one pixel.

【0011】2つの間引きユニットは同じタイミングで
動作しているため、前記遅延ユニット101で1画素遅
延させたデータと、遅延させない入力画像データを各々
間引くことによって、間引き位相の異なる前記2つの系
列の画素データが生成できるわけである。
Since the two thinning units are operating at the same timing, the data delayed by one pixel by the delay unit 101 and the input image data not delayed are respectively thinned, so that the thinning phases of the two series differ from each other. Pixel data can be generated.

【0012】乗算器107にて、偶数系列の画素データ
に、Lifting係数pを乗算し、乗算結果を加算器
109にて、奇数系列の画素データに加算して、高域側
の変換係数X'o(X'1,X'3,X'5,X'
7...)を演算する。
The multiplier 107 multiplies the even-numbered series pixel data by the Lifting coefficient p, and the addition result is added to the odd-numbered series pixel data by the adder 109 to obtain the high-frequency side conversion coefficient X '. o (X'1, X'3, X'5, X '
7. . . ) Is calculated.

【0013】Lifting係数の乗算と該乗算結果の
加算処理は、Lifting Schemeにおいて1
つの単位となる処理で、これをLifting演算ステ
ップと言う。
The multiplication of the Lifting coefficient and the addition processing of the multiplication result are 1 in Lifting Scheme.
This is one unit of processing, and this is called a Lifting calculation step.

【0014】Lifting係数pは2つの成分を持つ
ベクトルデータであり、連続する2つの偶数系列の画素
データに、各成分(係数値)を乗算し、2つの乗算結果
の和がLifting係数pの乗算結果となる。
The Lifting coefficient p is vector data having two components. Two consecutive even-numbered pixel data are multiplied by each component (coefficient value), and the sum of the two multiplication results is multiplied by the Lifting coefficient p. Will result.

【0015】乗算器111におけるLifting係数
uの乗算も同様に行なう。乗算対象は演算したばかりの
高域側の変換係数X'oである。該乗算結果を、加算器
113にて偶数系列の画素データに加算して、低域側の
変換係数X'e(X'0,X'2,X'4,X'8...)
を求める。
The multiplication of the Lifting coefficient u in the multiplier 111 is similarly performed. The object to be multiplied is the conversion coefficient X′o on the high frequency side that has just been calculated. The multiplication result is added to the even series of pixel data by the adder 113, and the conversion coefficient X'e (X'0, X'2, X'4, X'8 ...) On the low frequency side.
Ask for.

【0016】上述した処理を具体的に式で示すと、 (高域側の変換係数): X'2n+1=X2n+1+(−X2n−X2n+2)/2 (1) (低域側の変換係数): X'2n =X2n +(X'2n-1+X'2n+1)/4 (2) となる。[0016] indicated by specific expression the above processes, (transform coefficients of the high-frequency side): X '2n + 1 = X 2n + 1 + (- X 2n -X 2n + 2) / 2 (1) (Low-frequency-side conversion coefficient): X'2n = X2n + ( X'2n-1 + X'2n + 1 ) / 4 (2).

【0017】元の画像データは一般的に整数値である
が、上記フィルタ処理を1回行なうと実数型のデータに
なり、小数部が3ビット発生する。2次元フィルタ処理
では、水平方向に1回と垂直方向に1回の合わせて2
回、上記フィルタ処理を行なうので、途中で小数部の丸
め処理を行なわなければ、最終的に6ビットの小数部が
発生する。さらに、該フィルタ処理を再帰的に何度も行
なえば、それに比例して小数部は増加する。
The original image data is generally an integer value, but if the above filtering process is performed once, it becomes real number type data, and a fractional part generates 3 bits. In the two-dimensional filtering, once in the horizontal direction and once in the vertical direction, a total of 2
Since the above-described filtering process is performed once, if the rounding process of the decimal part is not performed in the middle, a decimal part of 6 bits is finally generated. Furthermore, if the filtering process is recursively repeated, the fractional part increases proportionally.

【0018】6ビット以上もあるような小数部をそのま
まにしておくと、データ量が増えてしまうので、通常
は、丸め処理をして整数化をした後に保存する。画像デ
ータ圧縮時には、整数化、或いは量子化を行ない、フィ
ルタ処理した後のデータをさらに削減する。
If the fractional part having 6 bits or more is left as it is, the amount of data increases, so that it is usually rounded, converted into an integer, and then saved. At the time of image data compression, integerization or quantization is performed to further reduce the data after filtering.

【0019】フィルタ処理した結果を、丸め処理したり
量子化したりすると、情報を失うことになるので、逆方
向のフィルタ処理をしても、元の画像データと同じデー
タに戻ることはない。以上で順方向のフィルタ処理の説
明を終え、次に逆方向の処理について簡単に説明する。
If the filtered result is rounded or quantized, information will be lost. Therefore, even if the filtering process is performed in the reverse direction, the original image data will not be restored. Above, the description of the forward filtering process is completed, and then the backward process is briefly described.

【0020】図2に示す、逆方向のLifting S
chemeにおける処理も順方向の処理と似た処理を行
なう。処理内容を式で示すと、 (偶数系列の画素): X2n =X2n −(X'2n-1+X'2n+1)/4 (3) (奇数系列の画素): X2n+1=X'2n+1−(−X2n−X2n+2)/2 (4) となる。順方向の処理と異なるのは、以下の3点であ
る。 ・2回のLifting演算ステップで使用するLif
ting係数の順序を逆にする。 ・Lifting係数を乗算した結果を加算ではなく減
算する。 ・間引きユニットの替わりに、ゼロ挿入ユニットをLi
fting演算後に使用する。
Reverse Lifting S shown in FIG.
The processing in the cheme is also similar to the forward processing. The processing content is expressed by an equation: (even-numbered series pixels): X 2n = X 2n − (X ′ 2n−1 + X ′ 2n + 1 ) / 4 (3) (odd series pixels): X 2n + 1 = X '2n + 1 - (- X 2n -X 2n + 2) / 2 (4) and composed. The following three points are different from the forward processing.・ Lif used in two Lifting calculation steps
Reverse the order of the toning coefficients. -The result of multiplying Lifting coefficient is subtracted instead of addition.・ Instead of the thinning-out unit, replace the zero insertion unit with Li.
Used after the fting operation.

【0021】図2におけるユニット209と213が上
記減算を行なう減算器であり、ユニット203と205
がゼロ挿入ユニットである。あとは、位相合わせのため
に、遅延ユニット201にてゼロ挿入された奇数系列の
画素データを1画素分遅延させる。この結果、ゼロでな
い有効な画素データが偶数系列側と奇数系列側から交互
に得られるようになる。それを1系列に合成することに
より、元の画像データを順方向フィルタ処理と逆方向フ
ィルタ処理したデータを得ることができる。
Units 209 and 213 in FIG. 2 are subtracters for performing the above subtraction, and units 203 and 205 are
Is the zero insertion unit. After that, in order to adjust the phase, the delay unit 201 delays the odd-sequence pixel data, which is zero-inserted, by one pixel. As a result, non-zero effective pixel data can be obtained alternately from the even series side and the odd series side. By combining them into one series, it is possible to obtain data obtained by subjecting the original image data to forward filter processing and backward filter processing.

【0022】フィルタのタップ数が変われば、Lift
ing係数、Lifting演算ステップの回数が変わ
ってくる。例えば、前記9×7フィルタでは、Lift
ing演算ステップの回数が4回になる。
If the tap number of the filter changes, Lift
The ing coefficient and the number of Lifting calculation steps change. For example, in the 9 × 7 filter, Lift
The number of ing calculation steps becomes four.

【0023】Lifting Schemeを用いる
と、積和演算が畳み込み演算処理に比べて少ない回数で
実現できるため、インプリメントが効率化される上、さ
らに、後述する整数型の可逆変換が可能になる。
When the Lifting Scheme is used, the product-sum operation can be realized with a smaller number of times compared to the convolution operation processing, so that the implementation is made more efficient and the integer type reversible conversion described later becomes possible.

【0024】<可逆変換の説明>数学的には可逆であっ
ても、実装した場合には可逆になるとは限らない。以
下、より詳しく説明する。
<Explanation of Reversible Transformation> Even if mathematically reversible, it is not always reversible when implemented. The details will be described below.

【0025】広義の可逆変換とは順方向にフィルタ処理
(変換処理)した変換係数データを、逆方向にフィルタ
処理すると完全に元のデータに戻すことができる変換で
ある。可逆変換のこの性質を可逆性、或いは可逆的と言
う。数学的に可逆変換と言われるものがこの範疇に入
る。具体的には、DCT変換等のように変換行列が正規
直交行列で表わされるようなものや、上記Liftin
g Schemeで演算されるフィルタ等がある。広義
の可逆変換では、実数演算時の誤差が大きい場合、繰り
返し処理で誤差が累積することにより、逆変換しても元
に戻らないことがある。そのため演算ビット長に配慮す
る必要がある。その意味と以下に説明する整数型と対比
するため、広義の可逆変換を以下では実数型の可逆変換
と言う。
In the broad sense, the reversible transform is a transform in which transform coefficient data that has been filtered (transformed) in the forward direction can be completely restored to the original data by filtering it in the backward direction. This property of reversible transformation is called reversible or reversible. What is mathematically called a reversible transformation falls into this category. Specifically, a transform matrix represented by an orthonormal matrix such as DCT transform, or the above Liftin
There are filters and the like calculated by g Scheme. In a broad sense of reversible conversion, when the error in the real number operation is large, the error may not be restored even if the reverse conversion is performed because the error is accumulated in the iterative process. Therefore, it is necessary to consider the operation bit length. In order to compare the meaning with the integer type described below, the reversible conversion in a broad sense is referred to as a real number type reversible conversion below.

【0026】実数型の可逆変換は、可逆性を保つために
保持しなければならない総データ量(データ数×ビット
長)が増える。変換を再帰的に何度も行なう場合、該デ
ータ量は元データの何倍にも増える。よって、データの
圧縮が目的で変換処理をする場合、可逆性を犠牲にし
て、非可逆の圧縮を行なうのが一般的である。画像デー
タ(静止画、動画)圧縮に用いられるJPEG,H26
1,MPEG1/2/4等はその代表である。
In the real number type reversible conversion, the total amount of data (the number of data × bit length) that must be held in order to maintain the reversibility increases. When the conversion is performed recursively many times, the amount of data increases many times as much as the original data. Therefore, when the conversion process is performed for the purpose of compressing data, it is general to perform lossy compression at the expense of losslessness. JPEG, H26 used for image data (still image, moving image) compression
1, MPEG1 / 2/4, etc. are representative.

【0027】それに対して、整数型の可逆変換は、フィ
ルタ処理後のデータが入力データと同じ整数(入力が固
定小数点データなら出力も同じ固定小数点データという
ケースもある)でありながら、逆変換処理で元のデータ
に戻る変換処理である。該可逆変換は、上記実数型の可
逆変換結果を単純に丸め処理して整数化すれば実現でき
ると言ったものでは無く、後述するように各Lifti
ng演算ステップにおいて、整数化のための丸め処理を
行なうことによって実現できる。これを狭義の可逆変換
と言い、これ以降、単に可逆変換(可逆フィルタ)と言
えば、狭義の可逆変換、すなわち、整数型の可逆変換の
ことをさす。
On the other hand, in the integer type reversible conversion, the inverse conversion processing is performed while the data after the filtering is the same integer as the input data (the output may be the same fixed point data if the input is fixed point data). Is a conversion process for returning to the original data. The lossless conversion cannot be realized by simply rounding the result of the real number type lossless conversion and converting it into an integer.
This can be realized by performing rounding processing for integer conversion in the ng calculation step. This is called a reversible conversion in a narrow sense, and hereinafter, a reversible conversion (reversible filter) is simply a reversible conversion in a narrow sense, that is, an integer type reversible conversion.

【0028】ある変換が可逆的であることを示すには、
順方向の可逆変換とそれに対応する逆方向の可逆変換を
対で示す必要がある。
To show that a transformation is reversible,
It is necessary to show the reversible transformation in the forward direction and the corresponding reversible transformation in the reverse direction as a pair.

【0029】Lifting Schemeを用いて可
逆フィルタ処理を実現するには、前述したように各Li
fting演算ステップにおいて丸め処理を行なうわけ
だが、さらに詳しく言うと、各Lifting演算ステ
ップにおいて、Lifting係数乗算後の結果を加減
算する前に丸め処理を行なう、ということである。以下
では、可逆変換可能な5×3フィルタ(以下、可逆5×
3フィルタと言う)を例にとり、可逆性について説明す
る。そのために、順方向可逆変換の後、直ちに逆方向可
逆変換を行なう処理系を図5に示す。
In order to realize the reversible filter processing using Lifting Scheme, as described above, each Li is used.
The rounding process is performed in the lifting operation step. More specifically, in each Lifting operation step, the rounding process is performed before the result after the Lifting coefficient multiplication is added or subtracted. In the following, a reversible conversion 5 × 3 filter (hereinafter, reversible 5 ×
The reversibility will be described with reference to an example of 3 filters). Therefore, FIG. 5 shows a processing system that immediately performs reverse lossless conversion after forward lossless conversion.

【0030】同図において、501、503,505、
507は入力データを超えない最大の整数値を取り出す
floor関数演算ユニット、502と504はLif
ting係数を乗算したデータに0.5を加算する加算
ユニットである。その他のユニットは、前記図1及び図
2で用いていた同一番号ユニットとまったく同じであ
る。同図における加算器と減算器には、整数データのみ
しか入力されず、出力も当然整数データとなる。このよ
うなLifting演算を整数型のLifting演算
と言い、可逆変換を実現するために用いられる。
In the figure, 501, 503, 505,
507 is a floor function operation unit that extracts the maximum integer value that does not exceed the input data, and 502 and 504 are Lif.
It is an addition unit that adds 0.5 to the data multiplied by the toning coefficient. The other units are exactly the same as the same-numbered units used in FIGS. 1 and 2. Only integer data is input to the adder and subtractor in the figure, and the output is naturally integer data. Such a Lifting operation is called an integer-type Lifting operation, and is used to realize a reversible conversion.

【0031】図5の左側から入力した画像データ(整数
値)を、順方向フィルタ処理部540で処理し、次に逆
方向フィルタ処理部550で処理した結果が、元の入力
とまったく同じになることを説明することによって、該
フィルタ処理(変換処理)が可逆的であることを示す。
Image data (integer value) input from the left side of FIG. 5 is processed by the forward filter processing unit 540 and then by the backward filter processing unit 550, and the result is exactly the same as the original input. By explaining this, it is shown that the filter processing (conversion processing) is reversible.

【0032】まず、図5における4つの加算器と減算器
の入力は全て整数値であり、その出力も整数値にである
ことに注目してもらいたい。
First, note that the inputs of the four adders and subtractors in FIG. 5 are all integer values, and their outputs are also integer values.

【0033】説明の方針として、以下の性質(a)
(b)が成り立つことを説明した後、性質(c)を用い
て、フィルタ処理前後の偶数画素系列・奇数画素系列が
それぞれ等しいことを示す。 (a)順方向フィルタ処理部540内のfloor関数
演算ユニット503の出力と、逆方向フィルタ処理部5
50内のfloor関数演算ユニット505の出力とが
等しい。 (b)順方向フィルタ処理部540内のfloor関数
演算ユニット501の出力と、逆方向フィルタ処理部5
50内のfloor関数演算ユニット507の出力とが
等しい。 (c)加算した値と同じ値を減算すれば、加算前の元の
値に戻る。
As a policy for explanation, the following property (a)
After explaining that (b) holds, the property (c) is used to show that the even pixel series and the odd pixel series before and after the filtering process are equal to each other. (A) The output of the floor function calculation unit 503 in the forward filter processing unit 540 and the backward filter processing unit 5
The output of the floor function operation unit 505 in 50 is equal. (B) The output of the floor function operation unit 501 in the forward filter processing unit 540 and the backward filter processing unit 5
The output of the floor function operation unit 507 in 50 is equal. (C) If the same value as the added value is subtracted, the original value before the addition is restored.

【0034】乗算器111と211は同じLiftin
g係数uを乗算するものであり、乗算対象となるデータ
系列も同じ高域側の変換係数X'oである。よって、該
2つの乗算器の出力は等しい。該出力をそれぞれ加算ユ
ニット502、504において0.5を加算し、flo
or関数演算ユニット503、505を経由して得られ
る結果も当然等しくなる。これで性質(a)が成り立つ
ことが言える。これに性質(c)を利用すると、加算器
113に入力される偶数画素系列Xeと減算器213か
ら出力される偶数画素系列も等しいことが言える。
The multipliers 111 and 211 have the same Liftin.
The g coefficient u is multiplied, and the data series to be multiplied is also the same high-frequency side conversion coefficient X'o. Therefore, the outputs of the two multipliers are equal. The outputs are added by 0.5 in addition units 502 and 504, respectively, and flo is obtained.
The results obtained via the or function operation units 503 and 505 are naturally the same. It can be said that the property (a) is satisfied. If the property (c) is used for this, it can be said that the even pixel series Xe input to the adder 113 and the even pixel series output from the subtractor 213 are also equal.

【0035】次に、乗算器107と207も同じLif
ting係数pを乗算するものであり、乗算対象となる
データ系列も上述の偶数画素系列Xeである。よって、
該2つの乗算器の出力も等しいことが言える。該出力を
それぞれ同じ機能のfloor関数演算ユニット50
1、507で処理した結果も当然等しくなる。これで性
質(b)も成り立つことが言えた。これに性質(c)を
利用すると、加算器109に入力される奇数画素系列X
oと減算器209から出力される奇数画素系列も等しい
ことが言える。よって、図5に示す順方向フィルタ処理
部540と逆方向フィルタ処理部550は、それぞれ可
逆的であると言える。
Next, the multipliers 107 and 207 have the same Lif.
The toning coefficient p is multiplied, and the data series to be multiplied is also the above-mentioned even pixel series Xe. Therefore,
It can be said that the outputs of the two multipliers are also equal. Each of the outputs is a floor function operation unit 50 having the same function.
The results of processing 1 and 507 are naturally the same. It can be said that the property (b) is also satisfied. When the property (c) is used for this, the odd pixel series X input to the adder 109 is input.
It can be said that the odd pixel series output from the subtractor 209 are also equal to o. Therefore, it can be said that the forward filter processing unit 540 and the backward filter processing unit 550 shown in FIG. 5 are reversible.

【0036】順方向フィルタ処理部540の出力は、整
数値であるため整数化のための丸め処理は不要であり、
該整数値の出力を直接、逆方向フィルタ処理部550に
入力することが出来る。データ圧縮時に用いる量子化処
理で量子化ステップを"1"に設定すれば、該量子化処理
で情報が欠損しないので、可逆の圧縮を行なうことがで
きる。一方、量子化ステップを"1"より大きく設定すれ
ば、情報の欠損が生じるので、圧縮率は高くなるが可逆
では無くなる。
Since the output of the forward filter processing section 540 is an integer value, rounding processing for integerization is unnecessary,
The output of the integer value can be directly input to the backward filter processing unit 550. If the quantization step is set to "1" in the quantization process used during data compression, information is not lost in the quantization process, so that reversible compression can be performed. On the other hand, if the quantization step is set to be larger than "1", information loss occurs, so that the compression rate increases but it is not reversible.

【0037】上述したように、Lifting Sch
emeを用いることにより、可逆変換が可能になる。こ
こで、フィルタの種類とそれを実現する演算手法との関
係を整理すると以下のようになる。 ・任意のフィルタ処理は畳み込み演算で実現可能、 ・一部のフィルタ処理はLifting Scheme
で実現可能(一部は不可)、 ・Lifting Schemeで実現できる実数型の
フィルタは可逆変換可能、 ・上記実数型の可逆フィルタにおいてLifting演
算を整数型にすることで、整数型の可逆フィルタ処理を
実現することが可能。
As described above, Lifting Sch
Reversible conversion becomes possible by using eme. Here, the following is a summary of the relationship between the types of filters and the arithmetic methods for realizing them. -Arbitrary filter processing can be realized by convolution calculation-Part of the filter processing is Lifting Scheme
Real-type filter that can be realized by Lifting Scheme can be reversibly converted.-In the above real-number-type reversible filter, integer-type reversible filter processing can be performed by converting Lifting operation to integer type. Can be realized.

【0038】よって、任意のフィルタ処理は畳み込み演
算で実現できるのに、整数型の可逆フィルタ処理は畳み
込み演算を用いては実現できない。これでは、Lift
ing Schemeでは実現できない(畳み込み演算
でしか実現できない)フィルタ処理と整数型の可逆フィ
ルタ処理の両機能が必要な場合、別々の処理部(回路)
で実現しなければならない。
Therefore, the arbitrary filter processing can be realized by the convolution operation, but the integer type reversible filter processing cannot be realized by the convolution operation. In this, Lift
If both functions of filter processing that cannot be realized by ing Scheme (only realized by convolution operation) and integer type reversible filter processing are required, separate processing units (circuits)
Must be realized in.

【0039】また、整数型の可逆フィルタ処理を行なう
際には、整数型のLifting演算を行なう必要があ
るため、実数型のフィルタ処理を同時に行なうことが出
来ず、整数型と実数型の両方のフィルタ処理結果を同時
に得ることが出来ない。
When performing the integer type reversible filter processing, since it is necessary to perform the integer type Lifting operation, the real number type filter processing cannot be performed at the same time, and both the integer type and the real number type are processed. It is not possible to obtain the filtering results at the same time.

【0040】[0040]

【発明が解決しようとする課題】上記の通り、可逆フィ
ルタ処理を畳み込み演算で実現することができなかった
ので、畳み込み演算でしか実現できないフィルタ処理と
可逆フィルタ処理の両機能が必要な場合、別々の処理部
(回路)で実現しなければならず、フィルタ処理装置の
規模が大きくなり、安価なコストでフィルタ処理装置を
構成することができない、と言った問題があった。
As described above, since the reversible filter processing could not be realized by the convolution operation, when both the filter processing and the reversible filter processing function which can be realized only by the convolution operation are required, they are separated. However, there is a problem in that the filter processing apparatus cannot be constructed at a low cost because the size of the filter processing apparatus becomes large.

【0041】また、整数型の可逆フィルタ処理と実数型
のフィルタ処理を同時に行なうことが出来ず、整数型と
実数型の両方のフィルタ処理結果を同時に得ることが出
来なかった。
Further, the integer type reversible filter processing and the real number type filter processing cannot be performed at the same time, and thus both the integer type and real number type filter processing results cannot be obtained at the same time.

【0042】本発明はかかる点に鑑みなされたものであ
り、単純な構成でもって、畳み込み演算を実行可能で、
整数型及び実数型の両方のフィルタ処理結果を同時に得
ることができるフィルタ処理装置及び方法を提供しよう
とするものである。
The present invention has been made in view of the above points, and can execute a convolution operation with a simple structure.
An object of the present invention is to provide a filter processing device and method capable of simultaneously obtaining both integer type and real number type filter processing results.

【0043】[0043]

【課題を解決するための手段】かかる課題を解決するた
め、本発明のフィルタ処理装置は以下の構成を備える。
すなわち、空間的に連続し、整数で表現されるデータD
0、D1、D2、D3、…を入力し、奇数データD1、D3
5…と、偶数データD0、D2、D4,…とに分け、±t/2
qで表現される実数係数をP1、P2、P3…としたとき、
少なくとも3段階の演算、 X12n =D2n + P1×(D2n-1+D2n+1) (i) X22n+1=D2n+1 + P2×(X12n+X12n+2) (ii) X32n =X12n + P3×(X22n-1+X22n+1) (iii) : を処理し、最終段のXm2n、Xm2n+1を整数値として出力
する整数型の可逆変換が可能な、画像データ用フィルタ
処理装置であって、当該処理装置を、前記演算式を可逆
可能な実数型としてフィルタ演算するフィルタ演算手段
と、該フィルタ演算手段の演算に用いられる中間データ
と、演算に用いられた実数係数P1,P2,P3…を用い
て、当該フィルタ演算手段の演算結果を補正する補正手
段と、該補正手段による補正結果を整数化する整数化手
段とに分離したことを特徴とする画像データ用のフィル
タ処理装置。
In order to solve such a problem, the filter processing apparatus of the present invention has the following configuration.
That is, data D that is spatially continuous and is represented by an integer
0 , D 1 , D 2 , D 3 , ... Are input and odd data D 1 , D 3 ,
D 5 ... and, even data D 0, D 2, D 4 , divided into ... and, ± t / 2
When the real number coefficient represented by q is P 1 , P 2 , P 3, ...
Operation in at least three stages, X1 2n = D 2n + P 1 × (D 2n-1 + D 2n + 1 ) (i) X2 2n + 1 = D 2n + 1 + P 2 × (X1 2n + X1 2n + 2 ) ( ii) X3 2n = X1 2n + P 3 × (X2 2n-1 + X2 2n + 1 ) (iii): Reversible conversion of integer type that processes and outputs Xm 2n and Xm 2n + 1 at the final stage as integer values Is a filter processing device for image data, wherein the processing device performs a filter operation on the operation expression as a reversible real number type, and intermediate data used in the operation of the filter operation means, Using the real number coefficients P1, P2, P3 ... Used in the calculation, the correction means for correcting the calculation result of the filter calculation means and the integerization means for converting the correction result by the correction means into integers are separated. Filtering device for featured image data.

【0044】[0044]

【発明の実施の形態】以下、添付図面に従って本発明に
係る実施形態を詳細に説明する。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0045】<第1の実施形態>本願出願人は、既に、
特願2001−335185として、2段の整数型Li
fting演算からなる整数型の可逆フィルタ処理を、
可逆変換が可能な実数型の演算(これはLifting
演算、畳み込み演算のどちらで演算してもよい)と、該
演算結果である実数データを整数化する処理とで実現す
る方法について既に提案している。
<First Embodiment> The applicant of the present application has already
As Japanese Patent Application No. 2001-335185, two-stage integer type Li
Integer type reversible filter processing consisting of
Real-type operation that can perform reversible conversion (This is Lifting
It has already been proposed as a method of realizing the calculation by either the calculation or the convolution calculation) and the process of converting the calculation result real number data into an integer.

【0046】本実施形態では、かかる提案を更に発展さ
せ、3段の整数型Lifting演算からなる整数型の
可逆フィルタ処理を、可逆変換が可能な実数型の演算と
整数化処理とで実現するものである。
In the present embodiment, by further developing such a proposal, an integer type reversible filter process consisting of three stages of integer type Lifting operations is realized by a real number type operation capable of reversible conversion and an integerization process. Is.

【0047】図5に示す順方向フィルタ処理部540の
Lifting演算の段数を2段から3段に増やし、遅
延ユニットと間引きユニットを除いたLifting演
算部のみの構成を図6(a)に示す。
FIG. 6 (a) shows the configuration of only the Lifting operation unit excluding the delay unit and the decimation unit by increasing the number of Lifting operation stages of the forward filter processing unit 540 shown in FIG. 5 from 2 stages to 3 stages.

【0048】Lifting係数乗算器601,flo
or関数演算ユニット603,加算器605の3つのユ
ニットからなる初段のLifting演算部が新たに増
えた部分で、2段目と3段目のLifting演算部は
図5と同じ構成である。
Lifting coefficient multiplier 601, flo
The first-stage Lifting arithmetic unit including three units of the or function arithmetic unit 603 and the adder 605 is newly added, and the second and third Lifting arithmetic units have the same configuration as in FIG.

【0049】初段のLifting演算におけるLif
ting係数rは下記の値とする。
Lift in the first-stage Lifting operation
The toning coefficient r has the following value.

【0050】r=(1,1)/2 図6(a)からfloor関数演算ユニット603、5
01、503と加算ユニット502を、それぞれ加算器
605、減算器109、加算器113の入力側から出力
側に移動すると、図6(b)のようになる。同図におい
て、611は、入力データに等しいかそれ以上の最小の
整数値を出力するceling関数演算ユニットであ
る。
R = (1,1) / 2 From FIG. 6A, floor function operation units 603, 5
When 01 and 503 and the addition unit 502 are moved from the input side to the output side of the adder 605, the subtractor 109, and the adder 113, respectively, the result is as shown in FIG. 6B. In the figure, 611 is a Celing function operation unit that outputs a minimum integer value equal to or greater than the input data.

【0051】図6(a)から図6(b)への変換に際
し、以下の関係式を利用する。 N+floor(R)=floor(N+R) (5) N−floor(R)=ceiling(N−R) (6) N+floor(R+0.5)=floor(N+R+0.5) (7) 上記式においてNは整数値、Rは実数値である。(5)
(6)(7)式の関係は、どちらも自明の関係である。
The following relational expressions are used in the conversion from FIG. 6 (a) to FIG. 6 (b). N + floor (R) = floor (N + R) (5) N-floor (R) = ceiling (N-R) (6) N + floor (R + 0.5) = floor (N + R + 0.5) (7) In the above formula, N is an integer Numerical values and R are real values. (5)
Both of the expressions (6) and (7) are self-explanatory.

【0052】初段のLifting演算係数rの要素は
1/2であるため、上記(5)式における実際の実数値
は、小数点以下が1ビットしかない。よって、左右両辺
のfloor関数に入力されるデータは整数値か、整数
値+0.5のいずれかである。入力データが整数値の場
合には該入力データがそのまま出力データとなり、入力
データが整数値+0.5の場合には該入力データから
0.5を切り捨てた値が出力データとなる。
Since the element of the Lifting calculation coefficient r in the first stage is 1/2, the actual real value in the above equation (5) has only one bit after the decimal point. Therefore, the data input to the floor functions on both the left and right sides is either an integer value or an integer value + 0.5. When the input data is an integer value, the input data is the output data as it is, and when the input data is an integer value + 0.5, the value obtained by cutting 0.5 from the input data is the output data.

【0053】2段目のLifting演算係数pの要素
は−1/2であるが、上記(6)式における左辺のfl
oor関数演算ユニットに入力されるデータは整数値
か、整数値+0.5のいずれかである。小数部の0.5
は切り捨ててから減算するので、結果的には小数部の
0.5はプラスされる。よって、減算を先に行なう右辺
の式では小数部の0.5を切り上げるよう、ceili
ng関数を用いて演算する。
The element of the Lifting calculation coefficient p in the second stage is -1/2, but fl on the left side in the above equation (6) is used.
The data input to the oor function operation unit is either an integer value or an integer value + 0.5. Fraction 0.5
Is rounded down and subtracted, resulting in the addition of the fractional part 0.5. Therefore, in the expression on the right side where the subtraction is performed first, round up the fractional part 0.5 to
Calculation is performed using the ng function.

【0054】3段目のLifting演算係数uの要素
は1/4であるため、floor関数の入力実数値の小
数部は0、0.25,0.5あるいは0.75のいずれ
かになる。該小数部を切り捨ててから整数を加算する左
辺の式と、整数値Nを加算してから小数部を切り捨てる
右辺の式はもちろん同じ結果になる。
Since the element of the Lifting calculation coefficient u in the third stage is ¼, the fractional part of the input real value of the floor function is 0, 0.25, 0.5 or 0.75. The expression on the left side that rounds down the fractional part and then adds an integer and the expression on the right side that adds up the integer value N and then rounds down the decimal part have the same result.

【0055】次に、図6(b)を、図6(c)のように
変形する。図6(c)において613は、加算器605
の出力データから、該データの最下位ビット(以下、L
SBと称す)である小数点第1位のビットのみを減算す
る1ビット減算器である。乗算器107は、該加算結果
に対してLifting係数を乗算するので、ここに四
則演算に関する分配則を適用して、図6(c)を図7
(a)のように変形することができる。
Next, FIG. 6 (b) is modified as shown in FIG. 6 (c). In FIG. 6C, 613 is an adder 605.
From the output data of the
It is a 1-bit subtractor that subtracts only the first decimal point bit (referred to as SB). Since the multiplier 107 multiplies the addition result by the Lifting coefficient, the distribution law relating to the four arithmetic operations is applied here, and FIG.
It can be transformed as shown in (a).

【0056】分配法則を適用することにより、新たな乗
算器701と加算器703が必要となる。これら乗算器
と加算器は、加算器605の出力データのLSBのみに
対してLifting演算を行なうものである。
By applying the distribution law, a new multiplier 701 and a new adder 703 are required. These multiplier and adder perform Lifting operation only on the LSB of the output data of the adder 605.

【0057】加算器605の出力データのLSBは、偶
数系列データXoのLSBのみに依存するため該Xoの
LSBから直接演算するようにしたのが、図7(b)の
構成である。これ以降加算器605の出力データのLS
Bと等価な1ビットデータをLSB_Aと表現して用い
ることにする。
Since the LSB of the output data of the adder 605 depends only on the LSB of the even-numbered series data Xo, the LSB of the Xo is directly calculated in the configuration of FIG. 7B. After this, the LS of the output data of the adder 605
1-bit data equivalent to B is expressed as LSB_A and used.

【0058】図7(b)において、乗算器111の前段
に2つの加算器615、703が存在する。この乗算と
加算演算に対して、再び分配則を適用することにより、
図7(b)は図8のように変形することができる。分配
則の適用により、新たな乗算器803,805と加算器
813、815が必要になる。これら乗算器と加算器
は、加算器703で加算する2ビットのデータと加算器
615で加算するLSBデータの各々に対してLift
ing演算を行なうものである。
In FIG. 7B, two adders 615 and 703 are present in the preceding stage of the multiplier 111. By applying the distributive law again to this multiplication and addition operation,
FIG. 7B can be modified as shown in FIG. The application of the distribution rule requires new multipliers 803 and 805 and adders 813 and 815. These multipliers and adders lift the Lift bit for each of the 2-bit data added by the adder 703 and the LSB data added by the adder 615.
The ing operation is performed.

【0059】図8における減算器613と加算器113
の配置(演算の順序)を入れ替え、加算器615におけ
る小数点第1位(LSB_B)の加算処理を0.5の加
算演算とfloor関数演算に置き換えたものが、図9
に示す構成であり、本第1の実施形態の具体例である。
The subtractor 613 and the adder 113 shown in FIG.
9 is obtained by replacing the arrangement (the order of operations) of FIG. 9 and replacing the addition processing of the first decimal place (LSB_B) in the adder 615 with the addition operation of 0.5 and the floor function operation.
The configuration shown in FIG. 3 is a specific example of the first embodiment.

【0060】図9において、901は実数型のLift
ing演算を行なうLifting演算部、903は入
力データの一部のビット情報に基づいて補正データを生
成し加減算するデータ補正部、905は実数データを整
数化するための整数化処理部である。
In FIG. 9, 901 is a real type Lift.
A Lifting operation unit that performs an ing operation, a data correction unit 903 that generates correction data based on bit information of a part of the input data, and adds and subtracts the correction data.

【0061】この図9では、実数型のLifting演
算部901、データ補正部903と整数化処理部905
とに明確に分離されている。実数型Lifting演算
部の出力は途中の演算で丸めを一切行なっていないの
で、逆変換をすることにより元のデータを復元できる。
すなわち、可逆性がある。その可逆性を失わないように
整数化するのが後段のデータ補正部と整数化処理部であ
る。
In FIG. 9, a real type Lifting operation unit 901, a data correction unit 903, and an integer processing unit 905.
And are clearly separated. Since the output of the real number type Lifting operation unit is not rounded at all during the operation, the original data can be restored by performing the inverse conversion.
That is, there is reversibility. The data correction unit and the integerization processing unit in the subsequent stage perform integer conversion without losing the reversibility.

【0062】分離された実数型のLifting演算部
901は、フィルタ演算処理で一般的に用いられる畳み
込み演算でも実現することが可能である。その1つの構
成例を図10に示す。畳み込み演算では、通常のフィル
タ係数が必要となる。該フィルタ係数は図11に示す。
The separated real number type Lifting operation unit 901 can also be realized by a convolution operation generally used in filter operation processing. One example of the configuration is shown in FIG. A normal filter coefficient is required in the convolution operation. The filter coefficient is shown in FIG.

【0063】図10において、フィルタ処理するデータ
を□(ラッチで構成できる)で示した端子に入力し、○
で示した加算器で入力データ同士を加算し、△で示した
乗算器でフィルタ係数を乗算し、最後にそれらを加算す
ることにより、実数型Lifting演算部901で得
られるフィルタ処理結果と同じ結果を得ることができ
る。畳み込み演算については、公知の技術なのでこれ以
上細かい説明は省略する。
In FIG. 10, the data to be filtered is input to the terminal indicated by □ (which can be composed of a latch), and
By adding input data with each other by the adder shown by, multiplying the filter coefficient by the multiplier shown by Δ, and finally adding them, the same result as the filter processing result obtained by the real type Lifting operation unit 901 is obtained. Can be obtained. Since the convolution operation is a known technique, detailed description will be omitted.

【0064】よって、図10に示した畳み込み演算処理
部1001の後段に、図9のデータ補正部903と整数
化演算部905を設けることにより、図9に示す構成と
等価な機能を実現できるわけである。もちろん、図6
(a)の機能と等価であることは言うまでもない。この
構成は、本発明に係る一つの変形例でもある。
Therefore, by providing the data correction unit 903 and the integer conversion calculation unit 905 of FIG. 9 in the subsequent stage of the convolution calculation processing unit 1001 shown in FIG. 10, it is possible to realize a function equivalent to the configuration shown in FIG. Is. Of course, FIG.
Needless to say, it is equivalent to the function of (a). This configuration is also a modification of the present invention.

【0065】上述した第1の実施形態において、3つの
Lifting演算係数はいずれも±1/2qであったが、
±t/2q(tは自然数)であってもかまわない。
In the above-described first embodiment, all three Lifting operation coefficients are ± 1 / 2q.
It may be ± t / 2q (t is a natural number).

【0066】実数型のフィルタ演算部は設定された係数
に基づいて忠実に演算すればよく、整数化処理部も定め
られた丸め処理を行なえばよいので問題は無い。
There is no problem because the real number type filter operation unit may faithfully perform the operation based on the set coefficient and the integer processing unit may also perform the predetermined rounding process.

【0067】一番問題があると思われるのは、データ補
正部であるが、初段のLifting乗算器の出力から
は、どのような係数値であっても小数部のみを取り出せ
ばよい。係数値によっては、取り出す小数部が2ビット
以上になることがある。(上記実施形態ではLSB_A
の1ビットのみであった)取り出した小数部は図9にお
けるデータ補正部903内の減算器613に入力すると
共に、Lifting乗算器701にも入力し、該乗算
結果の全ビット情報は加算器703及びLifting
乗算器803に入力する。その乗算結果もすべて加算器
813に入力する。
The data correction unit seems to have the most problem, but it is sufficient to extract only the fractional part from the output of the Lifting multiplier at the first stage, whatever the coefficient value. Depending on the coefficient value, the fractional part to be extracted may be 2 bits or more. (In the above embodiment, LSB_A
The extracted fractional part is input to the subtractor 613 in the data correction unit 903 in FIG. 9 and also to the Lifting multiplier 701, and all bit information of the multiplication result is added to the adder 703. And Lifting
Input to the multiplier 803. All the multiplication results are also input to the adder 813.

【0068】同様に、加算器703から出力される小数
部は、2段目のLifting係数pの値によらず、す
べて取り出してLifting乗算器805に入力し、
乗算結果の全ビット情報を加算器815に入力する。
Similarly, the fractional part output from the adder 703 is taken out and input to the Lifting multiplier 805 regardless of the value of the Lifting coefficient p in the second stage.
All bit information of the multiplication result is input to the adder 815.

【0069】以上の処理によって、Lifting乗算
結果の整数化によって変化する値を、すべて出力に反映
させることができる。すなわち、実数型のLiftin
g演算結果を整数型のLifting演算結果に修正す
ることが可能となる。
Through the above processing, all values that change due to the integer multiplication of the Lifting multiplication result can be reflected in the output. That is, the real type Liftin
It is possible to correct the g operation result to an integer type Lifting operation result.

【0070】<第2の実施形態>上記第1の実施形態で
は、入力データの一部のビット情報を用いて補正データ
を生成していた。本第2の実施形態では、入力データか
らではなく、実数型Lifting演算部901の出力
データから補正データを生成する構成について示す。よ
って、実数型Lifting演算部901と整数化処理
部905は、前記第1の実施形態で用いたものをそのま
ま使用し、データ補正部のみを新たな構成とする。
<Second Embodiment> In the first embodiment, the correction data is generated by using a part of bit information of the input data. The second embodiment shows a configuration in which the correction data is generated from the output data of the real number type Lifting operation unit 901, not from the input data. Therefore, the real number type Lifting operation unit 901 and the integer conversion processing unit 905 use the same ones used in the first embodiment as they are, and only the data correction unit has a new configuration.

【0071】ここで、実数型Lifting演算部90
1の出力データにおける小数点以下のデータについて詳
しく見てみることにする。3段のLifting演算処
理がある中で、初段のLifting演算係数rは(1
/2、1/2)であるため、加算器605の出力におけ
る小数点以下のビット数は1ビットとなる(小数点以下
1ビットのみが意味を持つことになる)。
Here, the real number type Lifting operation unit 90
Let us take a closer look at the data below the decimal point in the output data of 1. While there are three stages of Lifting calculation processing, the first stage Lifting calculation coefficient r is (1
/ 2, 1/2), the number of bits after the decimal point in the output of the adder 605 is 1 bit (only 1 bit after the decimal point has meaning).

【0072】2段目のLifting演算係数pも同じ
く(1/2、1/2)であり、該係数が前記加算器60
5の出力に乗算されるため、乗算器107および減算器
109の出力における小数点以下のビット数は2ビット
となる。
The Lifting operation coefficient p of the second stage is also (1/2, 1/2), and the coefficient is the adder 60.
Since the output of 5 is multiplied, the number of bits after the decimal point in the outputs of the multiplier 107 and the subtractor 109 is 2 bits.

【0073】最終段である3段目のLifting演算
係数uは(1/4、1/4)である。該係数は、減算器
109の出力に乗算されるため、乗算器111および加
算器113の出力における小数点以下のビット数は2+
2=4ビットとなる。
The Lifting calculation coefficient u of the third stage, which is the final stage, is (1/4, 1/4). Since the coefficient is multiplied by the output of the subtractor 109, the number of bits after the decimal point in the outputs of the multiplier 111 and the adder 113 is 2+.
2 = 4 bits.

【0074】よって、実数型Lifting演算部90
1の出力データにおける小数点以下のビット数は、上側
が4ビットで下側が2ビットということになる。
Therefore, the real number type Lifting operation unit 90
The number of bits below the decimal point in the output data of 1 is 4 bits on the upper side and 2 bits on the lower side.

【0075】そこで、小数部の最大ビット幅である4ビ
ットの演算を行なうために、上側からは小数点以下のビ
ットデータだけを取り出し、下側からは整数部2ビット
と小数点以下の2ビットを取り出して、それらの間でL
ifting演算を行なう。以下では、図12を参照し
ながら説明を行なう。
Therefore, in order to perform the operation of 4 bits which is the maximum bit width of the decimal part, only the bit data below the decimal point is taken out from the upper side, and the integer part 2 bits and the 2 bits below the decimal point are taken out from the lower side. And between them L
Performs ifting calculation. In the following, description will be given with reference to FIG.

【0076】下側から取り出した4ビットのデータ系列
に、Lifting係数乗算器1203にてLifti
ng演算係数u=(1/4、1/4)を乗算する。該乗
算結果を減算器1205に入力し、上側から取り出した
4ビットのデータ系列から減算すると、<可逆変換の説
明>のところで述べた原理に基づき、該減算結果(4ビ
ット)は、実数型Lifting演算部901内の加算
器605の出力における小数点以下のビットデータと同
じになる。
The Lifting coefficient multiplier 1203 applies Lifti to the 4-bit data sequence extracted from the lower side.
The ng operation coefficient u = (1/4, 1/4) is multiplied. When the multiplication result is input to the subtractor 1205 and subtracted from the 4-bit data series extracted from the upper side, the subtraction result (4 bits) is a real number type Lifting based on the principle described in <Description of lossless conversion>. It becomes the same as the bit data after the decimal point in the output of the adder 605 in the arithmetic unit 901.

【0077】すなわち、減算結果4ビットの内、下位3
ビットは全てゼロになり最上位の1ビット(MSB)
が、前記加算器605出力の小数点以下1ビット、すな
わち、前述のLSB_Aと同じになる。
That is, of the 4 bits of the subtraction result, the lower 3
All bits become zero and the most significant 1 bit (MSB)
Is 1 bit after the decimal point of the output of the adder 605, that is, the same as the above-mentioned LSB_A.

【0078】LSB_Aが得られれば、それ以降は、前
記データ補正部903と同様に、補正データの生成と加
減演算を行なうことができる。
After LSB_A is obtained, the correction data can be generated and the addition / subtraction calculation can be performed after that, similarly to the data correction unit 903.

【0079】図12は、2つの入力データ系列から小数
点以下のビットデータを分離し、該ビットデータ間でL
ifting演算を行なうことでLSB_Aデータを生
成し、該LSB_Aから他の2つの補正データを生成
し、LSB_Aと2つの補正データを入力データに加減
算する構成となっている。この図12に示すデータ補正
部1201と実数型フィルタ演算部(Lifting演
算または畳み込み演算のいずれも使用可)それに整数化
処理部905を用いて可逆フィルタ処理装置を構成する
のが、本発明の第2の実施形態である本実施形態では3
つの処理部を単純にカスケード(従属)接続するスマー
トな構成が可能である。
In FIG. 12, bit data below the decimal point is separated from two input data sequences, and L is set between the bit data.
The LSB_A data is generated by performing the ifing operation, the other two correction data are generated from the LSB_A, and the LSB_A and the two correction data are added / subtracted to / from the input data. The reversible filter processing apparatus is configured by using the data correction unit 1201 shown in FIG. 12, the real number type filter operation unit (either Lifting operation or convolution operation can be used), and the integer processing unit 905 to configure the reversible filter processing device. In this embodiment, which is the second embodiment, 3
A smart configuration is possible in which two processing units are simply cascade-connected.

【0080】<第3の実施形態(ソフト処理)>前記第
1、第2の実施形態はハードウェアによるフィルタ処理
装置に関するものであった。これ以降は、ソフトウェア
によるフィルタ処理方法に関する実施形態について述べ
る。
<Third Embodiment (Software Processing)> The first and second embodiments relate to a filter processing device using hardware. Hereinafter, an embodiment relating to a filter processing method by software will be described.

【0081】従来は、整数型の可逆フィルタ演算処理を
実現するには、整数型のLifting演算を用いる必
要があった。本第3の実施形態では、整数型のLift
ing演算を用いずに、固定小数点型のフィルタ演算処
理と整数化丸め演算処理とを用いて、整数型の可逆フィ
ルタ処理を実現するものである。
Conventionally, in order to realize the integer type reversible filter calculation process, it was necessary to use the integer type Lifting calculation. In the third embodiment, an integer type Lift
An integer type reversible filter process is realized by using a fixed-point type filter calculation process and an integer rounding calculation process without using the ing calculation.

【0082】図13に示すフローチャートは、固定小数
点型のフィルタ演算処理として畳み込み演算を用いたも
ので、処理するデータは、X0,X1,,,XM-2,XM-1
のM個(偶数)のデータとする。
The flowchart shown in FIG. 13 uses a convolution operation as the fixed-point type filter operation processing, and the data to be processed are X 0 , X 1, ..., X M-2 , X M-1.
Data of M (even number).

【0083】同図において、ステップ1301にてパデ
ィング処理を行なう。パディング処理とは、データが無
い(定義されていない)X-3、X-2、X-1やXM、XM+1
といった変数に、あるデータを代入する処理である。
In the figure, padding processing is performed in step 1301. The padding process is X -3 , X -2 , X -1 or X M , X M + 1 with no data (undefined).
Is a process of substituting certain data into a variable such as.

【0084】一般的に行なわれる方法では、全データの
両端のデータを単純にコピーしてデータの拡張を行なう
ことにより、演算上必要な座標位置のデータを生成す
る。少し工夫した方法として、データの両端の境界部で
データを折り返しコピーする方法もある。
In a generally performed method, data at both ends of all data is simply copied to expand the data, thereby generating data at coordinate positions necessary for calculation. As a slightly devised method, there is also a method in which the data is folded back and copied at the boundaries of both ends of the data.

【0085】ステップ1303は初期設定処理でn=0
に設定する。後述するループ処理の1回目においてステ
ップ1309で必要となるLSB_X1、ステップ13
11で必要となるLSB_A0、ステップ1313で必
要となるT-1の3つデータ並びに該データを演算するの
に必要となるデータを、ステップ1305にてあらかじ
め計算しておく。
In step 1303, n = 0 in the initialization process.
Set to. LSB_X 1 required in step 1309 in the first loop processing described later, step 13
In step 1305, the LSB_A 0 required in step 11, the three data T −1 required in step 1313, and the data required to calculate the data are calculated in advance.

【0086】ステップ1307、1309、2111、
2113,2115,2117からなるループ処理をn
=0からはじめ、n<M/2を満たす間行なう。
Steps 1307, 1309, 2111,
N loop processing consisting of 2113, 2115, and 2117
It starts from = 0 and is performed while satisfying n <M / 2.

【0087】ステップ1307では図11に示す2種類
のフィルタH0とG0の演算処理を固定小数点演算で行
なう。偶数系列の演算結果におけるLSBの重みは1/
16であり、奇数系列の演算結果におけるLSBの重み
は1/4である。
At step 1307, the arithmetic processing of the two types of filters H0 and G0 shown in FIG. 11 is performed by fixed point arithmetic. The weight of LSB in the calculation result of the even series is 1 /
16 and the weight of the LSB in the operation result of the odd series is 1/4.

【0088】ステップ1309は2種類のLSBデータ
(LSB_X,LSB_A)を計算する。
Step 1309 calculates two types of LSB data (LSB_X, LSB_A).

【0089】ステップ1311では奇数系列の変換係数
への補正データ(Tn)の演算と小数点第1位データの抽
出(結果はFnへ)を行い、補正データ(Tn)を前記フ
ィルタ演算結果に加算する補正データ加算処理、それに
小数部を切り捨てるビットシフト演算を行なう。ここで
は、LSBの重みが1/4であるため2ビットシフトを
行なう。
In step 1311, the correction data (T n ) is calculated to the odd-numbered series of conversion coefficients and the first decimal point data is extracted (the result is F n ), and the correction data (T n ) is obtained as the filter calculation result. The correction data addition processing for adding to, and the bit shift operation for cutting off the decimal part are performed. Here, since the weight of LSB is 1/4, 2-bit shift is performed.

【0090】ステップ1313では偶数系列の変換係数
への補正データ加算処理と小数部を切り捨てるビットシ
フト演算を行なう。LSBの重みが1/16であるため
4ビットシフトを行なう。
In step 1313, correction data addition processing to the even-numbered series of conversion coefficients and bit shift operation for cutting off the decimal part are performed. Since the weight of LSB is 1/16, 4-bit shift is performed.

【0091】ステップ1315はループ処理を継続する
かどうかの判定を行なう。継続すると判断した場合に
は、ステップ1317において、nの値を+1して更新
し、ステップ1307に戻る。
At step 1315, it is determined whether or not the loop processing is continued. If it is determined to continue, in step 1317, the value of n is incremented by 1 to be updated, and the process returns to step 1307.

【0092】上記補正データの内容は、前記第1の実施
形態で説明したものと同じであるので、説明は省略す
る。
Since the contents of the above correction data are the same as those described in the first embodiment, the description thereof will be omitted.

【0093】以上の計算で得られた整数の偶数系列変換
係数と奇数系列変換係数は、整数型の可逆フィルタ処理
の出力となる。
The integer even-numbered sequence conversion coefficient and odd-numbered sequence conversion coefficient obtained by the above calculation are outputs of the integer type reversible filter processing.

【0094】図13のフローチャートは、パディング処
理に何の制約も無い場合の処理フローである。パディン
グ処理として、境界入力データX0を中心にデータを折
り返す場合、すなわち、X−n=Xnという条件が加わ
ると、前記ステップ1305の処理は、図14に示すフ
ローチャートにおけるステップ1405のように簡略化
できる。ループ処理内のステップ1309、1311、
1313にて必要となる3つのデータのみを直接計算す
るだけでよい。
The flowchart of FIG. 13 is a processing flow in the case where there is no restriction on the padding processing. When the data is folded around the boundary input data X0 as the padding process, that is, when the condition of X−n = Xn is added, the process of step 1305 can be simplified as step 1405 in the flowchart shown in FIG. . Steps 1309 and 1311 in the loop processing,
Only the three data needed at 1313 need be calculated directly.

【0095】LSB_A0は、LSB_X-1とLSB_
1を足した値の最下位1ビットであるが、上述の条件
では、2つのLSB_Xは同じ値になるため、足した値
は偶数となり最下位ビットは必ずゼロになる。この結果
は、次のT-1の計算にも影響し、T-1=LSB_A0
LSB_A-2=LSB_A2となる(鏡像関係によりす
べてのマイナス添え字データは、同じ値のプラス添え字
データに等しいため)。
LSB_A 0 is the LSB_X -1 and LSB_
Although it is the least significant 1 bit of the value obtained by adding X 1 , the two LSB_X have the same value under the above conditions, so the added value is an even number and the least significant bit is always zero. This result also affects the next calculation of T −1 , and T −1 = LSB_A 0 +
LSB_A −2 = LSB_A 2 (because all the negative subscript data are equal to the positive subscript data of the same value due to the mirror image relationship).

【0096】上記実施形態において、正確に演算内容を
分かってもらうために、浮動小数点演算を用いず、固定
小数点演算で記述したが、これらの固定小数点演算は浮
動店小数演算に置き換えることが可能であることは容易
に想像がつく。一般的に浮動小数点演算で心配されるの
は、10進の小数で表わされたデータを2進数表示に変
換する際に発生する変換誤差と、演算の繰り返しによる
前記誤差の蓄積である。上記実施形態においては、その
ような変換誤差は発生しないので、固定小数点演算と同
じ結果を得ることが出来る。
In the above embodiment, in order to make the contents of the operation known accurately, the floating-point operation is not used, but the fixed-point operation is described. However, these fixed-point operation can be replaced by the floating-point decimal operation. It's easy to imagine being there. In general, floating-point arithmetic operations are worried about conversion errors that occur when converting data represented by decimal decimals into binary notation and accumulation of the errors due to repeated operations. In the above-described embodiment, since such a conversion error does not occur, the same result as the fixed point arithmetic can be obtained.

【0097】以上で説明した各種フィルタ処理装置とフ
ィルタ処理方式は、1次元データに対する処理であった
が、該処理を2次元の画像データに対して、水平方向と
垂直方向に2回処理することにより、2次元フィルタ処
理を行なうフィルタ処理装置及びフィルタ処理方式も当
然本発明の範疇に属するものである。
Although the various filter processing apparatuses and filter processing methods described above are the processing for one-dimensional data, the processing is performed twice for the two-dimensional image data in the horizontal direction and the vertical direction. Therefore, a filter processing apparatus and a filter processing method for performing two-dimensional filter processing naturally belong to the scope of the present invention.

【0098】以上説明したように本実施形態によれば、
可逆変換が可能な実数型のフィルタ演算を行なうフィル
タ処理手段と、補正データを生成し加減算するデータ補
正手段と、該演算結果を整数化する丸め手段とを有する
ことにより、整数型の可逆フィルタ処理装置を実現する
ことが可能になると共に、実数型のフィルタ演算結果と
整数型の可逆フィルタ演算結果を同時に得ることも可能
になる。
As described above, according to this embodiment,
An integer type reversible filter process having a filter processing means for performing a real number type filter operation capable of reversible conversion, a data correction means for generating correction data and adding / subtracting it, and a rounding means for converting the operation result into an integer. The device can be realized, and at the same time, the real number type filter calculation result and the integer type reversible filter calculation result can be obtained at the same time.

【0099】また、可逆変換が可能な実数型のフィルタ
演算を行なうフィルタ処理工程と、補正データを生成し
加減算するデータ補正工程と、整数化を行なう丸め処理
工程とを有することにより、整数型の可逆フィルタ処理
方法を実現することが可能になると共に、実数型のフィ
ルタ演算結果と整数型の可逆フィルタ演算結果を同時に
得ることが可能になる。
Further, by having a filter processing step of performing a real number type filter operation capable of reversible conversion, a data correction step of generating and adding / subtracting correction data, and a rounding processing step of performing integer conversion, an integer type The reversible filter processing method can be realized, and at the same time, the real number type filter operation result and the integer type reversible filter operation result can be obtained at the same time.

【0100】なお、上記第3の実施形態での説明から明
らかなように、本発明はソフトウェアによっても実現で
きるものである。かかるソフトウェアの実装対象として
は、JPEG2000等のDWT演算に適用できるのは
勿論、各種画像処理用フィルタにも適用できる。また、
通常、パーソナルコンピュータ等の汎用情報処理装置上
でコンピュータプログラムを実行させるためには、フレ
キシブル磁気ディスクディスク、CD−ROM等の可搬
性コンピュータ可読媒体を装置にセットしてシステムに
コピーやインストールを行うものであるので、本発明は
かかるコンピュータ可読記憶媒体をもその範疇とするの
は明らかである。
As is apparent from the description of the third embodiment, the present invention can be realized by software. As an implementation target of such software, not only can it be applied to DWT operations such as JPEG2000, but it can also be applied to various image processing filters. Also,
Usually, in order to execute a computer program on a general-purpose information processing device such as a personal computer, a portable computer-readable medium such as a flexible magnetic disk disk or a CD-ROM is set in the device and copied or installed in the system. Therefore, it is obvious that the present invention also includes such a computer-readable storage medium in its category.

【0101】[0101]

【発明の効果】以上説明したように本発明によれば、単
純な構成でもって、畳み込み演算を実行可能で、整数型
及び実数型の両方のフィルタ処理結果を同時に得ること
ができるようになる。
As described above, according to the present invention, the convolution operation can be executed with a simple structure, and both integer type and real number type filter processing results can be obtained at the same time.

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

【図1】順方向のLifting Schemeを表現
した図である。
FIG. 1 is a diagram expressing a Lifting Scheme in a forward direction.

【図2】逆方向のLifting Schemeを表現
した図である。
FIG. 2 is a diagram showing a lifting scheme in the reverse direction.

【図3】5×3フィルタの係数を示す図である。FIG. 3 is a diagram showing coefficients of a 5 × 3 filter.

【図4】5×3フィルタのLifting係数を示す図
である。
FIG. 4 is a diagram showing Lifting coefficients of a 5 × 3 filter.

【図5】可逆の順方向フィルタ処理部と逆方向フィルタ
処理部の構成を示す図である。
FIG. 5 is a diagram showing configurations of a reversible forward filter processing unit and a reversible filter processing unit.

【図6】3段のLifting演算からなるフィルタ処
理部の構成と該構成と等価な変形例を示す図である。
FIG. 6 is a diagram showing a configuration of a filter processing unit including a three-stage Lifting operation and a modification equivalent to the configuration.

【図7】図6と等価な変形例を示す図である。FIG. 7 is a diagram showing a modified example equivalent to FIG.

【図8】図7と等価な変形例を示す図である。FIG. 8 is a diagram showing a modified example equivalent to FIG.

【図9】本発明の第1の実施形態の構成を示す図であ
る。
FIG. 9 is a diagram showing a configuration of a first exemplary embodiment of the present invention.

【図10】畳み込み演算でフィルタ処理する構成を示す
図である。
FIG. 10 is a diagram showing a configuration for performing filter processing by a convolution operation.

【図11】順方向フィルタと逆方向フィルタのフィルタ
係数を示す図である。
FIG. 11 is a diagram showing filter coefficients of a forward filter and a backward filter.

【図12】本発明の第2の実施形態の構成を示す図であ
る。
FIG. 12 is a diagram showing a configuration of a second exemplary embodiment of the present invention.

【図13】本発明の第3の実施形態であるフィルタ処理
方法のフローチャートを示す図である。
FIG. 13 is a diagram showing a flowchart of a filter processing method according to a third embodiment of the present invention.

【図14】本発明の第3の実施形態の変形例を示す図で
ある。
FIG. 14 is a diagram showing a modification of the third embodiment of the present invention.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 空間的に連続し、整数で表現されるデー
タD0、D1、D2、D3、…を入力し、奇数データD1
3、D5…と、偶数データD0、D2、D4,…とに分け、
±t/2qで表現される実数係数をP1、P2、P3…とした
とき、少なくとも3段階の演算、 X12n =D2n + P1×(D2n-1+D2n+1) (i) X22n+1=D2n+1 + P2×(X12n+X12n+2) (ii) X32n =X12n + P3×(X22n-1+X22n+1) (iii) : を処理し、最終段のXm2n、Xm2n+1を整数値として出力
する整数型の可逆変換が可能な、画像データ用フィルタ
処理装置であって、 当該処理装置を、 前記演算式を可逆可能な実数型としてフィルタ演算する
フィルタ演算手段と、 該フィルタ演算手段の演算に用いられる中間データと、
演算に用いられた実数係数P1,P2,P3…を用いて、当
該フィルタ演算手段の演算結果を補正する補正手段と、 該補正手段による補正結果を整数化する整数化手段とに
分離したことを特徴とする画像データ用のフィルタ処理
装置。
1. Data D 0 , D 1 , D 2 , D 3 , ... Which are spatially continuous and are expressed by integers are input, and odd data D 1 ,
D 3, D 5 ... and, even data D 0, D 2, D 4 , divided into ... and,
When the real number coefficient represented by ± t / 2 q is P 1 , P 2 , P 3, ..., At least three-stage calculation: X1 2n = D 2n + P 1 × (D 2n-1 + D 2n + 1 ) (i) X2 2n + 1 = D 2n + 1 + P 2 × (X1 2n + X1 2n + 2 ) (ii) X3 2n = X1 2n + P 3 × (X2 2n-1 + X2 2n + 1 ) (iii): Is a filter processing device for image data capable of performing integer reversible conversion by processing Xm 2n and Xm 2n + 1 at the final stage as integer values, and the processing device is capable of reversing the arithmetic expression. Filter operation means for performing filter operation as a real number type, intermediate data used for operation of the filter operation means,
Using the real number coefficients P1, P2, P3 ... Used in the calculation, the correction means for correcting the calculation result of the filter calculation means and the integerization means for converting the correction result by the correction means into integers are separated. Filtering device for featured image data.
【請求項2】 前記フィルタ演算手段では、畳み込み演
算が用いられることを特徴とする請求項1に記載のフィ
ルタ処理装置。
2. The filter processing apparatus according to claim 1, wherein the filter calculation means uses a convolution calculation.
【請求項3】 前記フィルタ演算手段では、Lifti
ng演算を用いることを特徴とする請求項1に記載のフ
ィルタ処理装置。
3. The filter calculation means comprises Lifti
The filter processing device according to claim 1, wherein an ng operation is used.
【請求項4】 前記補正手段は、演算中及び演算結果の
所定ビット情報に基づいて補正データを生成し、整数化
する直前のXm2n、Xm2n+1に加算することを特徴とする
請求項1乃至3のいずれか1項に記載のフィルタ処理装
置。
4. The correction means generates correction data based on predetermined bit information of a calculation result and a calculation result, and adds the correction data to Xm 2n and Xm 2n + 1 immediately before being converted into an integer. 4. The filter processing device according to any one of 1 to 3.
【請求項5】 空間的に連続し、整数で表現されるデー
タD0、D1、D2、D3、…を入力し、奇数データD1
3、D5…と、偶数データD0、D2、D4,…とに分け、
±t/2qで表現される実数係数をP1、P2、P3…とした
とき、少なくとも3段階の演算、 X12n =D2n + P1×(D2n-1+D2n+1) (i) X22n+1=D2n+1 + P2×(X12n+X12n+2) (ii) X32n =X12n + P3×(X22n-1+X22n+1) (iii) : を処理し、最終段のXm2n、Xm2n+1を整数値として出力
する整数型の可逆変換が可能な、画像データ用のフィル
タ処理方法であって、 当該処理方法を、 前記演算式を可逆可能な実数型、或いは、固定小数点型
のフィルタ演算するフィルタ演算工程と、 該フィルタ演算工程の演算に用いられる中間データと、
演算に用いられた実数係数P1,P2,P3…を用いて、当
該フィルタ演算工程の演算結果を補正する補正工程と、 該補正工程による補正結果を整数化する整数化工程とに
分離したことを特徴とする画像データ用のフィルタ処理
方法。
5. Data D 0 , D 1 , D 2 , D 3 , ... Which are spatially continuous and are expressed by integers are input, and odd data D 1 ,
D 3, D 5 ... and, even data D 0, D 2, D 4 , divided into ... and,
When the real number coefficient represented by ± t / 2 q is P 1 , P 2 , P 3, ..., At least three-stage calculation: X1 2n = D 2n + P 1 × (D 2n-1 + D 2n + 1 ) (i) X2 2n + 1 = D 2n + 1 + P 2 × (X1 2n + X1 2n + 2 ) (ii) X3 2n = X1 2n + P 3 × (X2 2n-1 + X2 2n + 1 ) (iii): Is a filter processing method for image data capable of performing integer reversible conversion in which Xm 2n and Xm 2n + 1 at the final stage are output as integer values. Possible real number type or fixed point type filter calculation step, intermediate data used in the calculation of the filter calculation step,
Using the real number coefficients P1, P2, P3 ... Used in the calculation, the correction step for correcting the calculation result of the filter calculation step and the integerization step for converting the correction result by the correction step into integers are separated. Filtering method for featured image data.
【請求項6】 前記フィルタ演算工程では、畳み込み演
算が用いられることを特徴とする請求項5に記載のフィ
ルタ処理方法。
6. The filter processing method according to claim 5, wherein a convolution operation is used in the filter operation step.
【請求項7】 前記フィルタ演算工程では、Lifti
ng演算を用いることを特徴とする請求項5に記載のフ
ィルタ処理方法。
7. In the filter calculation step, Lifti
The filter processing method according to claim 5, wherein an ng operation is used.
【請求項8】 前記補正工程は、演算中及び演算結果の
所定ビット情報に基づいて補正データを生成し、整数化
する直前のXm2n、Xm2n+1に加算することを特徴とする
請求項5乃至7のいずれか1項に記載のフィルタ処理方
法。
8. The correction step is to generate correction data based on predetermined bit information of a calculation result and a calculation result, and add the correction data to Xm 2n and Xm 2n + 1 immediately before being converted into an integer. The filtering method according to any one of 5 to 7.
【請求項9】 請求項5乃至8のいずれか1項に記載の
工程を実行することを特徴とするコンピュータプログラ
ム。
9. A computer program that executes the steps according to any one of claims 5 to 8.
【請求項10】 請求項9に記載のコンピュータプログ
ラムを格納することを特徴とするコンピュータ可読記憶
媒体。
10. A computer-readable storage medium storing the computer program according to claim 9.
JP2002083647A 2002-03-25 2002-03-25 Filtering processing apparatus and filtering processing method Withdrawn JP2003283840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002083647A JP2003283840A (en) 2002-03-25 2002-03-25 Filtering processing apparatus and filtering processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002083647A JP2003283840A (en) 2002-03-25 2002-03-25 Filtering processing apparatus and filtering processing method

Publications (1)

Publication Number Publication Date
JP2003283840A true JP2003283840A (en) 2003-10-03

Family

ID=29231335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002083647A Withdrawn JP2003283840A (en) 2002-03-25 2002-03-25 Filtering processing apparatus and filtering processing method

Country Status (1)

Country Link
JP (1) JP2003283840A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005268908A (en) * 2004-03-16 2005-09-29 Fuji Film Microdevices Co Ltd Wavelet converter
JP2006197572A (en) * 2004-12-17 2006-07-27 Microsoft Corp Reversible transform for lossy and lossless 2d data compression
US8036274B2 (en) 2005-08-12 2011-10-11 Microsoft Corporation SIMD lapped transform-based digital media encoding/decoding
US8275209B2 (en) 2008-10-10 2012-09-25 Microsoft Corporation Reduced DC gain mismatch and DC leakage in overlap transform processing
US8369638B2 (en) 2008-05-27 2013-02-05 Microsoft Corporation Reducing DC leakage in HD photo transform
US8447591B2 (en) 2008-05-30 2013-05-21 Microsoft Corporation Factorization of overlapping tranforms into two block transforms

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005268908A (en) * 2004-03-16 2005-09-29 Fuji Film Microdevices Co Ltd Wavelet converter
US7602983B2 (en) 2004-03-16 2009-10-13 Fujifilm Corporation Wavelet transformation apparatus
JP2006197572A (en) * 2004-12-17 2006-07-27 Microsoft Corp Reversible transform for lossy and lossless 2d data compression
US8036274B2 (en) 2005-08-12 2011-10-11 Microsoft Corporation SIMD lapped transform-based digital media encoding/decoding
US8369638B2 (en) 2008-05-27 2013-02-05 Microsoft Corporation Reducing DC leakage in HD photo transform
US8724916B2 (en) 2008-05-27 2014-05-13 Microsoft Corporation Reducing DC leakage in HD photo transform
US8447591B2 (en) 2008-05-30 2013-05-21 Microsoft Corporation Factorization of overlapping tranforms into two block transforms
US8275209B2 (en) 2008-10-10 2012-09-25 Microsoft Corporation Reduced DC gain mismatch and DC leakage in overlap transform processing

Similar Documents

Publication Publication Date Title
JP4859368B2 (en) High-speed codec with minimum required resources providing a high compression ratio
JP2839339B2 (en) Orthogonal transform coding apparatus and orthogonal transform coding method
JP5623565B2 (en) Apparatus and method for encoding and calculating a discrete cosine transform using a butterfly processor
US7634148B2 (en) Image signal transforming and inverse-transforming method and computer program product with pre-encoding filtering features
US20100104215A1 (en) Data transform apparatus and control method thereof
US20050031218A1 (en) Tile boundary artifact removal for arbitrary wavelet filters
JP3796432B2 (en) Filter processing apparatus and filter processing method
JPH0652214A (en) Reverse discrete cosine conversion arithmetic unit
US6317767B2 (en) Methods and systems for performing short integer chen IDCT algorithm with fused multiply/add
US7649939B2 (en) Apparatus and method for decoding and computing a discrete cosine transform using a butterfly processor
JP2003283840A (en) Filtering processing apparatus and filtering processing method
JP3375539B2 (en) Image compression device and image decompression device
JP6684229B2 (en) Precision and quantization method applicable to wavelet transform matrix
KR101219411B1 (en) Data transforming apparatus and control method thereof
JP3722169B2 (en) Image processing apparatus and image processing method
US20050238241A1 (en) Image compression apparatus generating and using assistant images for deblocking processing and a method thereof
JP3225614B2 (en) Data compression device
JP4788465B2 (en) Decoding device, decoding method and program
JP2003283841A (en) Filtering processing apparatus and filtering processing method
JP2002197075A (en) Data processor, its control method, data processing method and computer readable memory
JP2809798B2 (en) Matrix operation processing method of image data orthogonal transformation device
JP2003258645A (en) Method and device for hadamard transformation processing
JP2004206725A (en) Method and device for dividing and synthesizing sub-band
JP2555937B2 (en) Discrete cosine transform circuit
WO2001045385A1 (en) Image processing device and method and recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050607