JP2005217872A - Tilesize changing apparatus - Google Patents
Tilesize changing apparatus Download PDFInfo
- Publication number
- JP2005217872A JP2005217872A JP2004023331A JP2004023331A JP2005217872A JP 2005217872 A JP2005217872 A JP 2005217872A JP 2004023331 A JP2004023331 A JP 2004023331A JP 2004023331 A JP2004023331 A JP 2004023331A JP 2005217872 A JP2005217872 A JP 2005217872A
- Authority
- JP
- Japan
- Prior art keywords
- coefficient
- tile
- small area
- size
- small region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明はタイルサイズ変換装置に関し、特にタイル化ウェーブレット変換により符号化された画像のタイルサイズを伝送途中のネットワークで変換するゲートウェイ装置に適用すると好適なタイルサイズ変換装置に関する。 The present invention relates to a tile size conversion apparatus, and more particularly to a tile size conversion apparatus suitable for application to a gateway apparatus that converts a tile size of an image encoded by a tiled wavelet transform in a network during transmission.
主にハードウェア環境に起因するメモリ制約下において、高解像度などの大容量画像を符号化する場合、画像を矩形領域(タイル)に分割してそれぞれ独立に符号化を行う手法が取られる。当然復号側においては、該タイル単位でしか処理が行えないため、復号器のメモリ実装量に関係なく、符号化された際のタイルサイズで処理が行われる。 When a large-capacity image such as a high resolution is encoded under a memory constraint mainly caused by a hardware environment, a method is used in which the image is divided into rectangular regions (tiles) and encoded independently. Naturally, on the decoding side, since processing can be performed only in units of tiles, processing is performed with the tile size at the time of encoding regardless of the memory implementation amount of the decoder.
しかし、一般に符号化する環境と復号する環境は等しいとは限らないため、符号化の際に最適であったタイルサイズの大きさが、必ずしも復号の際に最適であるとは限らない。また、実装メモリの制約から、復号できる画像のタイルサイズに制限を設けている復号器においては、同じ符号化方式で符号化されたデータであっても、タイルサイズの違いにより復号できない場合が生じる。 However, in general, the encoding environment and the decoding environment are not always the same, and therefore, the size of the tile size that was optimal at the time of encoding is not necessarily optimal at the time of decoding. In addition, in a decoder that restricts the tile size of an image that can be decoded due to restrictions on the mounted memory, even if the data is encoded using the same encoding method, the decoding may not be possible due to the difference in tile size. .
そこで、下記の特許文献1に示される発明がなされた。この発明は、図13に示す構成を有し、タイル化符号データaからタイルデータ分割部で符号化パラメータを抽出した後、復号器で全符号を復号し、全てのウェーブレット変換係数を得る。次いで、配置変換部すなわちタイルサイズ変換部で、この係数に対してタイルサイズの変換(タイルサイズMからNへの変換)を行う。
Therefore, the invention shown in the following
図14は、前記タイルサイズ変換部でのタイルサイズ変換方法を示す図であり、ウェーブレット変換係数の再配置を行うことにより、画像全体が1タイルの状態から、画像全体を4つのタイルに分割したものに変換する例を示す。
しかしながら、上記の従来技術では、任意のタイルサイズに変換することができないことや、変換後の再生画像において、変換前にタイル境界が存在した部分と、変換後にタイル境界が存在する部分とにタイル歪みが発生するという問題がある。また、上記の従来技術は、一旦全画像を再生してタイルサイズ変換する方式に比べると処理時間を削減できるが、それでも多大な時間を要するため、改良の余地がある。 However, in the above-described conventional technology, it is impossible to convert to an arbitrary tile size, and in the reproduced image after conversion, the tile boundary exists before the conversion and the portion where the tile boundary exists after conversion. There is a problem that distortion occurs. In addition, the above-described conventional technique can reduce the processing time as compared with a method of once reproducing all images and converting the tile size, but still requires a lot of time, so there is room for improvement.
本発明は、前記した従来技術の課題に鑑みてなされたものであり、その目的は、タイルサイズ変換に要する処理時間を短縮でき、かつタイル歪みを低減できるタイルサイズ変換装置を提供することにある。 The present invention has been made in view of the above-described problems of the prior art, and an object of the present invention is to provide a tile size conversion device that can shorten the processing time required for tile size conversion and reduce tile distortion. .
前記した目的を達成するために、本発明は、ウェーブレット変換係数領域で小領域に分割され符号化された画像データに関し、該小領域の位置データを抽出する手段と、該位置データに基づいて、該小領域内の係数がタイルサイズ変換に伴い補正が必要か、あるいは他の係数の補正のために必要かどうかを判定する判定手段と、該判定手段により補正が必要とされた小領域を復号する小領域復号手段と、復号された小領域の係数を保持するバッファと、タイルサイズ変換に伴い変換後の注目小領域のサイズを決定するサイズ決定手段と、該サイズ決定手段により決定されたサイズで、係数バッファから新たな小領域を読み出す小領域のサイズ変換手段と、該タイルサイズ変換に伴い生じる歪みを事前に軽減する歪み軽減手段と、前記小領域復号手段により復号され、タイルサイズ変換および補正された小領域内の係数を再度符号化する符号化手段と、該小領域の並び替えを行う手段とを具備した点に特徴がある。 In order to achieve the above-described object, the present invention relates to image data divided into small areas and encoded in a wavelet transform coefficient area, and based on the position data, means for extracting position data of the small area, Determining means for determining whether the coefficients in the small area need to be corrected in accordance with tile size conversion or for correcting other coefficients, and decoding the small area that has been corrected by the determining means A small region decoding unit that performs the decoding, a buffer that holds the coefficient of the decoded small region, a size determination unit that determines a size of the attention small region after conversion in accordance with the tile size conversion, and a size determined by the size determination unit Thus, a small area size converting means for reading out a new small area from the coefficient buffer, a distortion reducing means for reducing distortion caused by the tile size conversion in advance, and the small area recovery. Decoded by means, encoding means for re-encoding the coefficients of the tile size conversion and corrected small region, it is characterized in that and means rearranges the small region.
この発明によれば、タイルサイズ変換を行う場合には、タイル境界に対応する小領域のみをエントロピ復号してその領域のみのウェーブレット変換係数を再生する。 According to the present invention, when tile size conversion is performed, only a small region corresponding to a tile boundary is entropy decoded and a wavelet transform coefficient of only that region is reproduced.
本発明によれば、タイルサイズ変換にあたって、エントロピ復号する必要のない領域の復号処理を省略できるので、大幅に高速化されたタイルサイズ変換装置を提供できるようになる。 According to the present invention, in tile size conversion, it is possible to omit a decoding process of an area that does not need to be entropy decoded. Therefore, it is possible to provide a tile size conversion apparatus that is significantly accelerated.
以下に、図面を参照して、本発明を詳細に説明する。まず、図1、図2を参照して、本発明に好適な符号化装置の構成およびその動作の概要を説明する。ここに、図1は符号化装置の概略の構成を示すブロック図、図2はその動作の要部の説明図である。 Hereinafter, the present invention will be described in detail with reference to the drawings. First, the configuration of an encoding apparatus suitable for the present invention and the outline of its operation will be described with reference to FIGS. FIG. 1 is a block diagram showing a schematic configuration of the encoding apparatus, and FIG. 2 is an explanatory diagram of the main part of the operation.
タイル分割部1は、画像データをあるサイズのタイルに分割する。例えば、図2に示されているように、画像データ11を、あるサイズの矩形領域、すなわちタイル1,2,3,・・・,pに分割する。離散ウェーブレット変換部(DWT部)2は、前記タイル1,2,3,・・・,p毎に離散ウェーブレット変換を施し、変換係数を得る。非可逆符号化の場合は、量子化部3にて、該変換係数を符号化する。
The tile dividing
次に、小領域分割部4は、変換係数のサブバンドをさらに小さな領域(以下、小領域と呼ぶ)に分割する。例えば、図2にタイル1を代表に上げて示されているように、小領域21,22,23,24,25,・・・,2qに分割する。ここに、該小領域の大きさは、小領域21を代表に上げて示されているように、2m×2n(m、nは自然数)の係数からなる矩形とし、基本的に一つの画像の符号化を通じて一定の大きさであるとする。
Next, the small
ただし、同一のウェーブレット変換レベルのサブバンドを全タイル分並べたものに対して、同サイズの小領域を切り出していくものとする。この場合、図2のタイル1aに示すように、あるウェーブレット変換レベルの一つのサブバンドの端部において、小領域31,32,・・・が途中で切れてしまっても、その小領域31,32,・・・の続きは隣のタイル(例えば、タイル2)の同一ウェーブレット変換レベルのサブバンドの端部(例えば、図示の31’)に存在するので、何ら問題は生じない。なお、画像の端部に対応するサブバンド端部に関しては、例外とする。 However, it is assumed that a small area of the same size is cut out from sub-bands of the same wavelet transform level arranged for all tiles. In this case, as shown in the tile 1a of FIG. 2, even if the small areas 31, 32,... Are cut off halfway at the end of one subband of a certain wavelet transform level, the small areas 31, Since the continuation of 32,... Exists at the end of the subband of the same wavelet transform level of the adjacent tile (for example, tile 2) (for example, 31 ′ in the drawing), no problem occurs. An exception is made for the end of the subband corresponding to the end of the image.
次に、エントロピ符号化部5は、上記のように分割された小領域内の係数毎に符号化を行う。ここでは、算術符号を用いたビットプレーンでの符号化を基本に、周囲の係数の状況に応じて符号化器の内部状態を切り替えるコンテキスト符号化の技術などを利用する。この処理により、図2に示される符号化系列41,42などが生成される。該符号化系列は、タイル1,2,3,・・・の順で同一ファイルに保存される。このファイルには、各小領域に対応する符号21,22,・・・、31,32,・・・,31’,・・・、および該小領域の位置に関する情報等が含まれている。最後に、レート制御部6は、所望のビットレートになるように、符号を切り捨てる処理を行う。これは、JPEG2000でも採用されている手法である。なお、復号を行う時には、上記の処理と逆の処理が行われる。
Next, the
以上のようにして生成された符号化系列41あるいは42は、前記タイル分割部1で分割したサイズに基づくものである。今後普及が見込まれるJPEG2000に代表されるタイル化ウェーブレット変換符号化画像を伝送する場合、受信側の復号器では、符号化の際と同一サイズのタイルサイズで復号処理を行う必要がある。しかし、符号化時のタイルサイズが大きい場合には、ウェーブレット変換に要するメモリ量が大きくなるため、モバイル端末等のメモリ量が制限された環境下での復号に支障をきたす恐れがある。そこで、例えば、伝送途中のネットワーク上に、本発明によるタイルサイズ変換装置を配置すれば、復号器のメモリ実装量に関係なく、復号できるようになる。
The encoded sequence 41 or 42 generated as described above is based on the size divided by the
以下に、本発明の高速化タイルサイズ変換装置の一実施形態を説明する。図3は、該高速化タイルサイズ変換装置の一実施形態の構成を示すブロック図である。なお、該高速化タイルサイズ変換装置で行う変換前後のタイルサイズは、予め分かっているものとする。 Hereinafter, an embodiment of a high-speed tile size conversion apparatus according to the present invention will be described. FIG. 3 is a block diagram showing a configuration of an embodiment of the accelerated tile size conversion apparatus. It is assumed that tile sizes before and after conversion performed by the high-speed tile size conversion apparatus are known in advance.
図において、データ受信部50では、受信した符号系列より各小領域に対応する符号を読み出す。小領域データ抽出部51では、抽出された小領域の位置情報aと、該小領域に対応する符号情報を抽出する。判定器61は、この位置情報aを基に、この小領域に補正が必要な係数が含まれているかどうかを判定する。この判定では、この小領域がタイルサイズ変換によりタイル境界から影響が及ぶ係数範囲内にあれば補正が必要な範囲であると判定する。補正の必要な係数が含まれると判定されると、該小領域は小領域エントロピ復号部52に送られ、その係数を復号される。一方、該小領域に補正が必要な係数が含まれていないと判定すると、該小領域は復号されることなく、データ並び替え部57に送られる。
In the figure, the
ウェーブレット変換の繰り返し回数により、タイル境界から影響が及ぶ係数範囲が一義的に決定されるので、前記判定器61は、前記小領域データ抽出部51で抽出された注目小領域が、前記ウェーブレット変換の繰り返し回数により決定されるタイル境界から影響が及ぶ係数範囲に重なるかどうかにより、前記補正が必要な小領域であるかどうかを決定する。図4は、一例としての、ウェーブレット変換の繰り返し回数が3回の場合の、タイルサイズ変換によりタイル境界から影響が及ぶ小領域(影を付けた小領域)を示す。したがって、前記判定器61は、前記小領域データ抽出部51により抽出された小領域が、前記影を付けた小領域に該当すれば該小領域を小領域エントロピ復号部52に送り、影の付いていない小領域であればこれをデータ並べ替えタイルサイズ変換部57に送る。
Since the coefficient range affected by the tile boundary is uniquely determined by the number of repetitions of the wavelet transform, the
サイズ決定部62は、前記小領域位置情報aから、タイルサイズ変換の注目小領域のサイズを決定する。
The
小領域サイズ変換部54は、サイズ決定部62で決定されたサイズで、係数バッファ53から新たな小領域を読み出して、小領域サイズの変換を行う。図5に、存在するタイル境界が消滅する際の小領域のサイズ変換(結合)の例を示す。図4の例では、サブバンドと小領域の区切りが完全に一致していたが、そうでない場合は、図5のように、サブバンド境界周辺において、小領域のサイズは通常のものより小さくなる。この場合、隣接するタイルの同一ウェーブレット変換レベルのサブバンドに、対応する小領域の残りの部分が存在するので、タイルサイズ変更に伴い、このタイル境界が消滅する場合には、前記係数バッファ53上でこれらの小領域の断片を合わせて一つの小領域とする。図5の例では、○で示した領域を1つの小領域とする。例えば、2つの小領域の断片a1とa2とを結合し、あるいは4つの小領域の断片C1,C2,C3,C4を結合し、一つの小領域とする。そして、該小領域が前記係数バッファ53から読み出される。また、逆に新たにタイルの境界を小領域の中に設けなければいけない場合には、一つの小領域を分割して前記係数バッファ53から読み出し、該分割により別々に読み出された断片を新たにできるタイルの両方に配置する。
The small region
図6は、図5の小領域a1とa2を結合する場合の説明図であり、タイルT1、T2、・・・の符号化系列を示す。また、p1,p2,p3,・・・はタイル境界を示す。図示されているように、タイルT1、T2、T3、・・・のサイズを変更して例えば大きなタイルサイズT’1,T’2,・・・にした場合、タイルT1に属していた小領域の断片a1とタイルT2に属していた小領域の断片b1とを結合して一つの小領域A1が作られる。逆に、小領域A1に新たにタイル境界を設けなければならない場合には、上記とは逆に、小領域A1が断片a1とa2に分割され、それぞれがタイルT1、T2の両方に配置される。 FIG. 6 is an explanatory diagram when the small areas a1 and a2 of FIG. 5 are combined, and shows an encoded sequence of the tiles T 1 , T 2 ,. P1, p2, p3,... Indicate tile boundaries. As shown, the tile T 1, T 2, T 3 , the size changes to for example large tile size ··· T '1, T' 2 , if you ..., belonging to the tile T 1 one subregion A1 which was belonged to fragment a1 and tile T 2 of the small region and the fragment b1 subregions bound to is made. Conversely, when a new tile boundary must be provided in the small area A1, conversely to the above, the small area A1 is divided into fragments a1 and a2, which are arranged on both the tiles T 1 and T 2. Is done.
このように、小領域あるいはその断片を結合または分割すると、タイル境界において歪みが発生するため、歪み補正部(または、歪み軽減手段)55ではこの歪みを事前に補正する。このタイル境界の歪み補正処理は以下のようにして行う。なお、この歪み補正処理は、2002年12月1−6日に本発明者などにより発表された「2002 Multimedia
Conference」の第97〜105頁「Tile Boundary Artifact Reduction Algorithms for Tile Size Conversion of Wavelet Image」に詳しく記載されているので、ここではその概略を説明する。
In this way, when a small region or a fragment thereof is combined or divided, distortion occurs at the tile boundary. Therefore, the distortion correction unit (or distortion reduction means) 55 corrects this distortion in advance. This tile boundary distortion correction processing is performed as follows. This distortion correction processing is performed in accordance with “2002 Multimedia” announced by the present inventors on December 1-6, 2002.
Since it is described in detail in pages 97 to 105 “Tile Boundary Artifact Reduction Algorithms for Tile Size Conversion of Wavelet Image” of “Conference”, the outline thereof will be described here.
まず、離散ウェーブレット変換(DWT)のリフティング構成について説明する。本発明では、JPEG2000などのウェーブレット変換符号化方式に用いられるDWTを実現する手法として、デジタルフィルタを容易に実現できるリフティング構成を用いる。 First, a lifting configuration of discrete wavelet transform (DWT) will be described. In the present invention, as a technique for realizing DWT used in a wavelet transform encoding method such as JPEG2000, a lifting configuration that can easily realize a digital filter is used.
次式は、リフティングによる5×3DWT分解の各ステップで行われる処理である。
Y(2n+1)=X(2n+1)−[{X(2n)+X(2n+2)}/2]
Y(2n)=X(2n)+[{Y(2n−1)+Y(2n+1)+2}/4]
ここで、X(n)は、位置nにおけるDWT前の係数あるいは画素の値を示す。また、Y(n)は、位置nにおけるDWT後の係数あるいは画素の値を示す。
The following expression is a process performed in each step of 5 × 3 DWT decomposition by lifting.
Y (2n + 1) = X (2n + 1)-[{X (2n) + X (2n + 2)} / 2]
Y (2n) = X (2n) + [{Y (2n-1) + Y (2n + 1) +2} / 4]
Here, X (n) represents the coefficient or pixel value before DWT at the position n. Y (n) represents a coefficient or pixel value after DWT at the position n.
次式に、5×3DWT合成(逆DWT)の各ステップで行われる処理を示す。
X(2n)=Y(2n)−[{Y(2n−1)+Y(2n+1)+2}/4]
X(2n+1)=Y(2n+1)+[{X(2n)+X(2n+2)}/2]
The following equation shows the processing performed in each step of 5 × 3 DWT synthesis (inverse DWT).
X (2n) = Y (2n)-[{Y (2n-1) + Y (2n + 1) +2} / 4]
X (2n + 1) = Y (2n + 1) + [{X (2n) + X (2n + 2)} / 2]
図7は、前記リフティング構成による一次元5×3DWT分解のバッファ遷移図を示す。また、図8は、前記リフティング構成による一次元5×3DWT合成のバッファ遷移図を示す。 FIG. 7 is a buffer transition diagram of one-dimensional 5 × 3 DWT decomposition using the lifting configuration. FIG. 8 shows a buffer transition diagram of one-dimensional 5 × 3 DWT synthesis using the lifting configuration.
また、次式に、5×3DWTと共にJPEG2000の中で規定されている9×7DWT分解の各ステップで行われる処理を示す。
Y(2n+1)=X(2n+1)+p1・{X(2n)+X(2n+2)}
Y(2n)=X(2n)+u1・{Y(2n−1)+Y(2n+1)}
Y(2n+1)=Y(2n+1)+p2・{Y(2n)+Y(2n+2)}
Y(2n)=Y(2n)+u2・{Y(2n−1)+Y(2n+1)}
Y(2n+1)=K0・Y(2n+1)
Y(2n)=K1・Y(2n)
ここで、p1、u1、p2、u2、K0、K1は、下記の値である。
p1=−1.586134342059924
u1=−0.052980118572961
p2=+0.882911075530934
u2=+0.443506852043971
K0=1/K1=+1.230174104914001
Further, the following expression shows the processing performed in each step of 9 × 7 DWT decomposition defined in JPEG2000 together with 5 × 3 DWT.
Y (2n + 1) = X (2n + 1) + p 1 · {X (2n) + X (2n + 2)}
Y (2n) = X (2n) + u 1 · {Y (2n-1) + Y (2n + 1)}
Y (2n + 1) = Y (2n + 1) + p 2. {Y (2n) + Y (2n + 2)}
Y (2n) = Y (2n) + u 2. {Y (2n-1) + Y (2n + 1)}
Y (2n + 1) = K 0 · Y (2n + 1)
Y (2n) = K 1 · Y (2n)
Here, p 1 , u 1 , p 2 , u 2 , K 0 , K 1 are the following values.
p 1 = -1.586134342059924
u 1 = −0.052980118572961
p 2 = +0.8829110755530934
u 2 = + 0.4435506852043971
K 0 = 1 / K 1 = + 1.2301741414914001
さらに、9×7DWT合成の各ステップで行われる処理を次式に示す。
X(2n)=(1/K1)・Y(2n)
X(2n+1)=(1/K0)・Y(2n+1)
X(2n)=X(2n)−u2・{X(2n−1)+X(2n+1)}
X(2n+1)=X(2n+1)−p2・{X(2n)+X(2n+2)}
X(2n)=X(2n)−u1・{X(2n−1)+X(2n+1)}
X(2n+1)=X(2n+1)−p1・{X(2n)+X(2n+2)}
Further, processing performed in each step of 9 × 7 DWT synthesis is shown in the following equation.
X (2n) = (1 / K 1 ) · Y (2n)
X (2n + 1) = (1 / K 0 ) · Y (2n + 1)
X (2n) = X (2n) -u 2. {X (2n-1) + X (2n + 1)}
X (2n + 1) = X (2n + 1) -p 2. {X (2n) + X (2n + 2)}
X (2n) = X (2n ) -
X (2n + 1) = X (2n + 1) -p 1 · {X (2n) + X (2n + 2)}
次に、任意サイズのタイルに適用可能な歪み補正方式について説明する。まず、1次歪み補正について説明する。 Next, a distortion correction method applicable to an arbitrary size tile will be described. First, the primary distortion correction will be described.
タイルサイズ変換を実現する手段として、従来は、前記図13、図14のように、変換係数をサブバンド毎に扱ったが、本実施形態では、前記リフティング構成により実現されるDWTフィルタのバッファ配置をそのまま利用する。補正処理の流れを分解レベルが2の場合を例として、まずは1次元的に説明する。 Conventionally, as a means for realizing tile size conversion, the conversion coefficient is handled for each subband as shown in FIGS. 13 and 14, but in this embodiment, the buffer arrangement of the DWT filter realized by the lifting configuration is used. Is used as it is. First, the flow of the correction process will be described in a one-dimensional manner, taking an example where the decomposition level is 2.
ただし、説明を簡単にするために、JPEG2000で用いられる5×3可逆フィルタの場合について記述する。JPEG2000ではこのフィルタの他に9×7非可逆フィルタも使用できるが、ここに記述する方式を拡張することによって容易に実現できる。また、ここでは、タイルなしからタイルありへの補正処理のみ説明する。 However, in order to simplify the description, the case of a 5 × 3 reversible filter used in JPEG2000 will be described. In JPEG2000, a 9 × 7 irreversible filter can be used in addition to this filter, but it can be easily realized by extending the method described here. Here, only correction processing from tileless to tiled will be described.
処理1〜4を図9に、処理5〜8を図10に示す。
(処理1)既に存在しているH2の係数と、補正が必要な係数L2を用いて逆DWTにより係数L1を生成する。
(処理2)処理1で生成したL1の係数と、補正が必要な係数H2とを用いて逆DWTにより係数L1を生成する。
以上の処理により、補正が必要な係数L2およびH2の位置に対応するL1が生成される。
(処理3)既に存在しているH1の係数と、上記により生成された係数L1とを用いて逆DWTにより画素を生成する。
(処理4)処理3で生成した画素と、補正が必要な係数H1とを用いて逆DWTにより画素を生成する。
(Process 1) already the coefficients existing set of H 2, to produce a coefficient L 1 by inverse DWT using the coefficients L 2 required correction.
(Process 2) The coefficient L 1 is generated by inverse DWT using the coefficient of L 1 generated in
Through the above processing, L 1 corresponding to the positions of the coefficients L 2 and H 2 that need to be corrected is generated.
(Process 3) A pixel is generated by inverse DWT using the already existing coefficient of H 1 and the coefficient L 1 generated as described above.
(Process 4) and pixels created in
以下の処理5〜8では、タイルが存在するものとして、タイル端部においてはフィルタの折り返し処理を行う。
(処理5)処理3で生成した画素と、処理4で得た画素を用いてDWTにより係数H1を生成する。
(処理6)処理5で得た係数H1と既に存在する係数H1および処理3で得た画素を用いてDWTにより係数L1を生成する。
(処理7)処理6で得た係数L1と既に存在する係数L1を用いてDWTにより係数H2を生成する。
(処理8)処理7で得た係数H2と既に存在する係数H2および処理6で得た係数L1と既に存在する係数L1を用いてDWTにより係数L2を生成する。
以上の補正処理を行うことで、5×3可逆フィルタの場合は、もともとタイル化されている状態から作られた係数と完全に一致するため、タイル境界での歪みは一切生じない。
In the following
(Process 5) The coefficient H 1 is generated by DWT using the pixel generated in
(Process 6) A coefficient L 1 is generated by DWT using the coefficient H 1 obtained in
(Process 7) A coefficient H 2 is generated by DWT using the coefficient L 1 obtained in
Generating a coefficient L 2 by DWT with (processing 8) processing coefficients L 1 already exists a coefficient L 1 obtained by the coefficient H 2 and
By performing the above correction processing, in the case of the 5 × 3 reversible filter, since the coefficient is completely matched with the coefficient originally created from the tiled state, there is no distortion at the tile boundary.
次に、2次元の歪み補正を説明する。2次元配置されたDWT係数に対する歪み補正は、1次元の歪み補正を拡張することによって容易に実現できる。2次元歪み補正を行う場合は、補正が必要な係数・補正に必要な係数と画素の位置を求めやすくするために、JPEG2000で規定されているリファレンスグリッド(Reference Grid)上で補正を行う。 Next, two-dimensional distortion correction will be described. Distortion correction for two-dimensionally arranged DWT coefficients can be easily realized by extending one-dimensional distortion correction. When two-dimensional distortion correction is performed, correction is performed on a reference grid defined by JPEG2000 in order to make it easy to obtain the coefficients that need correction, the coefficients necessary for correction, and the pixel positions.
図11(a)は、リファレンスグリッドの概念を表した図である。なお、図11(a)では、左上の4×4の係数だけ詳細に示したが、他の係数も同様に配置されている。また、同図(b)は、ウェーブレット変換により得られる係数配置を示し、同図(a)のリファレンスグリッド上での係数配置との対応関係を示すために図示されている。該図(b)の斜線部分の係数が、図(a)の左上の4×4の係数となっている。図(a)から分かるように、リファレンスグリッド上では、各係数成分が交互に並んでいるため、1次元の歪み補正と同様の考え方によって補正が可能である。 FIG. 11A shows the concept of a reference grid. In FIG. 11A, only the 4 × 4 coefficient in the upper left is shown in detail, but other coefficients are arranged in the same manner. FIG. 5B shows the coefficient arrangement obtained by the wavelet transform, and is shown to show the correspondence with the coefficient arrangement on the reference grid of FIG. The coefficient in the shaded area in FIG. 4B is a 4 × 4 coefficient in the upper left of FIG. As can be seen from FIG. (A), since the coefficient components are alternately arranged on the reference grid, the correction can be made in the same way as the one-dimensional distortion correction.
2次元歪み補正の処理は、以下の処理9〜12になる。図12に、この処理を示す。また、DWT係数の分解レベルをNとする。ここでは、例として、タイルなしからタイルありへの補正処理を記述する。
(処理9)X方向、Y方向の順で、部分的またはライン全体を、図12に示すように逆DWT(IDWT)し、補正が必要な係数の分解レベルをN−1に戻す。
(処理10)同様の処理を繰り返し、一部の係数を画素の状態まで戻す。
(処理11)タイル境界を考慮し、画素の状態まで戻した係数をY方向、X方向の順でDWTして係数の分解レベルを1に戻す。
(処理12)同様の処理を繰り返し、係数を元の分解レベルNまで戻す。
The two-dimensional distortion correction processing is the following processing 9-12. FIG. 12 shows this process. Also, let N be the decomposition level of the DWT coefficient. Here, as an example, a correction process from no tile to tile is described.
(Process 9) The partial or entire line is inversely DWT (IDWT) as shown in FIG. 12 in the order of the X direction and the Y direction, and the decomposition level of the coefficient requiring correction is returned to N-1.
(Process 10) The same process is repeated to return some coefficients to the pixel state.
(Process 11) Considering the tile boundary, the coefficient returned to the pixel state is DWT in the order of Y direction and X direction to return the coefficient decomposition level to 1.
(Process 12) The same process is repeated to return the coefficient to the original decomposition level N.
以上の補正処理を行うことで、5×3可逆フィルタの場合は、もともとタイル化されている状態から作られた係数と完全に一致するため、タイル境界での歪みは一切生じない。9×7非可逆フィルタの場合も、主観的、客観的に良好な画像が得られる。以上の処理により、図3の歪み補正部55の処理が終了する。 By performing the above correction processing, in the case of the 5 × 3 reversible filter, since the coefficient is completely matched with the coefficient originally created from the tiled state, there is no distortion at the tile boundary. Even in the case of the 9 × 7 irreversible filter, a subjectively and objectively good image can be obtained. With the above processing, the processing of the distortion correction unit 55 in FIG. 3 is completed.
次に、図3の小領域エントロピ符号化部56にて、小領域内の係数毎に符号化が行われる。次いで、データ並べ替え57にて、補正が不要であった係数と補正をされた係数とが並べ替えられ、タイルサイズの変換がなされる。このようにしてタイルサイズが変換されたデータは、例えばモバイル端末などを有するネットワーク上に送出される。
Next, the small region
1・・・タイル分割部、2・・・DWT部、3・・・量子化部、4・・・小領域分割部、5・・・エントロピ符号化部、6・・・レート制御部、50・・・データ受信部、51・・・小領域データ抽出部、52・・・小領域エントロピ復号部、53・・・係数バッファ、54・・・小領域サイズ変換部、55・・・歪補正部、56・・・小領域エントロピ符号化部、57・・・データ並べ替え部、61・・・判定器、62・・・サイズ決定部。
DESCRIPTION OF
Claims (3)
該位置データに基づいて、該小領域内の係数がタイルサイズ変換に伴い補正が必要か、あるいは他の係数の補正のために必要かどうかを判定する判定手段と、
該判定手段により補正が必要とされた小領域を復号する小領域復号手段と、
復号された小領域の係数を保持するバッファと、
タイルサイズ変換に伴い変換後の注目小領域のサイズを決定するサイズ決定手段と、
該サイズ決定手段により決定されたサイズで、係数バッファから新たな小領域を読み出す小領域のサイズ変換手段と、
該タイルサイズ変換に伴い生じる歪みを事前に軽減する歪み軽減手段と、
前記小領域復号手段により復号され、タイルサイズ変換および補正された小領域内の係数を再度符号化する符号化手段と、
該小領域の並び替えを行う手段とを具備したことを特徴とするタイルサイズ変換装置。 Means for extracting the position data of the small area with respect to the image data divided into small areas and encoded in the wavelet transform coefficient area;
A determination means for determining whether a coefficient in the small area needs to be corrected in accordance with the tile size conversion based on the position data, or whether correction is necessary for other coefficients;
A small area decoding means for decoding a small area that needs to be corrected by the determination means;
A buffer holding the coefficients of the decoded small area;
A size determination means for determining the size of the attention small area after conversion along with the tile size conversion,
A small area size converting means for reading a new small area from the coefficient buffer at the size determined by the size determining means;
Distortion reducing means for reducing distortion caused by the tile size conversion in advance;
Encoding means for re-encoding the coefficients in the small area decoded and tile-sized and corrected by the small area decoding means;
A tile size conversion apparatus comprising: means for rearranging the small areas.
該バッファ内での係数位置をそのまま利用して、任意の大きさのタイルから異なる任意の大きさのタイルへ変換することを特徴とする請求項1に記載のタイルサイズ変換装置。 The buffer is a digital filter buffer for realizing discrete wavelet transform,
2. The tile size conversion apparatus according to claim 1, wherein a coefficient position in the buffer is used as it is to convert an arbitrary size tile into a different arbitrary size tile.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004023331A JP4007507B2 (en) | 2004-01-30 | 2004-01-30 | Tile size converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004023331A JP4007507B2 (en) | 2004-01-30 | 2004-01-30 | Tile size converter |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005217872A true JP2005217872A (en) | 2005-08-11 |
JP4007507B2 JP4007507B2 (en) | 2007-11-14 |
Family
ID=34906396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004023331A Expired - Fee Related JP4007507B2 (en) | 2004-01-30 | 2004-01-30 | Tile size converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4007507B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008288841A (en) * | 2007-05-17 | 2008-11-27 | Sony Corp | Encoder and method |
JP2008288883A (en) * | 2007-05-17 | 2008-11-27 | Sony Corp | Information processing device and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001257596A (en) * | 2000-02-29 | 2001-09-21 | Ricoh Co Ltd | Data processing method and data processor |
JP2003244444A (en) * | 2002-02-20 | 2003-08-29 | Kddi Corp | Image processor |
JP2003274184A (en) * | 2002-03-12 | 2003-09-26 | Kddi Corp | Method for transforming size of tiled wavelet transform coefficient |
JP2003324613A (en) * | 2002-02-28 | 2003-11-14 | Mega Chips Corp | Wavelet processing equipment and wavelet processing method |
JP2005150807A (en) * | 2003-11-11 | 2005-06-09 | Ricoh Co Ltd | Image processing apparatus, image processing method, program, and information recording medium |
-
2004
- 2004-01-30 JP JP2004023331A patent/JP4007507B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001257596A (en) * | 2000-02-29 | 2001-09-21 | Ricoh Co Ltd | Data processing method and data processor |
JP2003244444A (en) * | 2002-02-20 | 2003-08-29 | Kddi Corp | Image processor |
JP2003324613A (en) * | 2002-02-28 | 2003-11-14 | Mega Chips Corp | Wavelet processing equipment and wavelet processing method |
JP2003274184A (en) * | 2002-03-12 | 2003-09-26 | Kddi Corp | Method for transforming size of tiled wavelet transform coefficient |
JP2005150807A (en) * | 2003-11-11 | 2005-06-09 | Ricoh Co Ltd | Image processing apparatus, image processing method, program, and information recording medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008288841A (en) * | 2007-05-17 | 2008-11-27 | Sony Corp | Encoder and method |
JP2008288883A (en) * | 2007-05-17 | 2008-11-27 | Sony Corp | Information processing device and method |
JP4525704B2 (en) * | 2007-05-17 | 2010-08-18 | ソニー株式会社 | Encoding apparatus and method, recording medium, and program. |
US8594427B2 (en) | 2007-05-17 | 2013-11-26 | Sony Corporation | Method and apparatus for reducing memory capacity in encoding image data |
Also Published As
Publication number | Publication date |
---|---|
JP4007507B2 (en) | 2007-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4367880B2 (en) | Image processing apparatus and method, and storage medium | |
Taubman et al. | JPEG2000: Standard for interactive imaging | |
US5881176A (en) | Compression and decompression with wavelet style and binary style including quantization by device-dependent parser | |
JP4111644B2 (en) | Embedded encoding / decoding method and system | |
US6560369B1 (en) | Conversion of wavelet coded formats depending on input and output buffer capacities | |
US6757437B1 (en) | Compression/decompression using reversible embedded wavelets | |
US7577308B2 (en) | Image data generation with reduced amount of processing | |
US7302105B2 (en) | Moving image coding apparatus, moving image decoding apparatus, and methods therefor | |
US20030198394A1 (en) | Wavelet encoding method and apparatus and wavelet decoding method and apparatus | |
JP2004228717A (en) | Image processing method, image processing apparatus, electronic camera apparatus, program, and recording medium | |
JP2007267384A (en) | Compression apparatus and compression method | |
US7949725B2 (en) | System including a server and at least a client | |
JP5413080B2 (en) | Image processing apparatus and image processing method | |
TW420955B (en) | Image compression | |
JP6484097B2 (en) | Video encoding apparatus, video decoding apparatus, video encoding method, video decoding method, video encoding program, and video decoding program | |
JPH1084484A (en) | Data compression system | |
JP2000217103A (en) | Object unit video signal coder/decoder and its method | |
JP4007507B2 (en) | Tile size converter | |
KR100405819B1 (en) | The image compression and restoring method for binary images | |
JP2006340300A (en) | Signal processing method, signal processing apparatus, signal processing program and information recording medium | |
JP2002290743A (en) | Image information coding method, coding apparatus, digital copying machine, digital facsimile machine, and digital filing apparatus | |
JP2004193968A (en) | Color image communication equipment | |
JP2005142673A (en) | Image processing method and apparatus | |
JP4194311B2 (en) | Moving picture encoding apparatus, moving picture decoding apparatus, and methods thereof | |
JP2003244443A (en) | Image encoder and image decoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050831 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070629 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070822 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070823 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100907 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4007507 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100907 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130907 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |