JP4986906B2 - Decoding device, decoding method, program, and recording medium - Google Patents
Decoding device, decoding method, program, and recording medium Download PDFInfo
- Publication number
- JP4986906B2 JP4986906B2 JP2008083069A JP2008083069A JP4986906B2 JP 4986906 B2 JP4986906 B2 JP 4986906B2 JP 2008083069 A JP2008083069 A JP 2008083069A JP 2008083069 A JP2008083069 A JP 2008083069A JP 4986906 B2 JP4986906 B2 JP 4986906B2
- Authority
- JP
- Japan
- Prior art keywords
- remaining sub
- bitplanes
- value
- pass
- path
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
本発明は、JPEG2000の復号装置及び復号方法に係り、特に、リコンストラクション値の加算処理の制御に関する。 The present invention relates to a JPEG2000 decoding apparatus and decoding method, and more particularly to control of reconstruction value addition processing.
画像データの次世代の高能率符号化方式として、ISO(国際標準化機構)やITU−T(国際電気通信連合電気通信標準化部門)によって、JPEG2000が策定されている。JPEG2000は、現在主流のJPEGと比べて優れた機能を有する。
JPEG2000 Part I(ISO/IEC15444-1)では、復号処理において、量子化された各ウェーブレット係数について、その値が「0」でなければ、最下位に任意のr(0≦r<1)をリコンストラクション値として加算すると規定されている。これは、符号化手順中の量子化において、ウェーブレット係数の絶対値が小さくなるように丸められた影響を緩和するためのものである。
As a next-generation high-efficiency encoding system for image data, JPEG2000 has been formulated by ISO (International Organization for Standardization) and ITU-T (International Telecommunication Union Telecommunication Standardization Sector). JPEG2000 has superior functions compared to the current mainstream JPEG.
In JPEG2000 Part I (ISO / IEC15444-1), in the decoding process, if the value of each quantized wavelet coefficient is not “0”, an arbitrary r (0 ≦ r <1) is reset to the lowest order. It is specified to be added as a construction value. This is to mitigate the effect of rounding to reduce the absolute value of the wavelet coefficient in the quantization during the encoding procedure.
さて、従来は、ビットプレーン単位での切り捨てポイントを判断してリコンストラクション値の加算処理を行っている(例えば特許文献1参照)。しかし、符号化パス単位で切り捨てポイントであった場合、切り捨てポイントのビットプレーンを正確に判断することができず、多少の画質劣化を生じるという問題がある。 Conventionally, a truncation point is determined for each bit plane, and a reconstruction value addition process is performed (see, for example, Patent Document 1). However, when a truncation point is in the coding pass unit, there is a problem in that the bit plane of the truncation point cannot be accurately determined and some image quality degradation occurs.
なお、特許文献1では、量子化された注目係数の属するサブバンドと、その注目係数の近傍の係数とに基づいて、注目係数に対応して加算すべきパラメータrの値を決定し、その決定した値を量子化された各ウェーブレット係数に加える。
In
上に述べたように、ビットプレーン単位での切り捨てポイントを判断してリコンストラクション値の加算処理を行う方法では、切り捨てポイントが符号化パス単位であった場合、切り捨てポイントとなるビットプレーンを正確に判断することができず、多少の画質劣化を生じるという問題がある。 As described above, when the truncation point is determined by the bit plane unit and the reconstruction value is added, if the truncation point is in the encoding pass unit, the bit plane that is the truncation point is accurately set. There is a problem that the image quality cannot be determined and some image quality degradation occurs.
この問題を解決する方法として、復号対象のサブビットプレーンについて復号してrを加算し、復号対象のサブビットプレーンが次のサブビットプレーンに移ったときに、先に加算したrを減算してから復号し、再びrを加算するというように、全てのサブビットプレーンに対しリコンストラクション値加算処理を行う方法が考えられる。しかし、この方法では、リコンストラクション値の加算と減算を繰り返すことになり、処理速度が低下するという別の問題がある。 As a method for solving this problem, decoding is performed on the sub-bit plane to be decoded and r is added, and when the sub-bit plane to be decoded is moved to the next sub-bit plane, the previously added r is subtracted. A method of performing reconstruction value addition processing on all sub-bit planes, such as decoding from (1) and adding r again, can be considered. However, this method repeats addition and subtraction of reconstruction values, and has another problem that the processing speed is reduced.
よって、本発明の目的は、JPEG2000の復号装置もしくは方法において、リコンストラクション値の加算処理の実行を的確に制御し、画質劣化の抑制と高速処理を可能にすることにある。 Therefore, an object of the present invention is to accurately control the execution of reconstruction value addition processing in a JPEG2000 decoding apparatus or method, and to enable suppression of image quality deterioration and high-speed processing.
請求項1の発明は、JPEG2000の復号装置であって、エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか否か判定する判定手段を備え、前記判定手段により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、前記設定値を3に設定したことを特徴とする復号装置である。
The invention of
請求項2の発明は、JPEG2000の復号装置であって、エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか否か判定する判定手段を備え、前記判定手段により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、前記設定値を、Magnitude Refinementパス及びCleanupパスについては3に設定し、Significant Propagationパスについては4に設定したことを特徴とする復号装置である。
The invention of
請求項3の発明は、請求項1の発明の復号装置において、残サブビットプレーン数が0となった場合に、リコンストラクション値の加算処理の要否を判定する手段をさらに有し、該手段によりリコンストラクション値の加算処理が必要と判定されたときにリコンストラクション値の加算処理を行うことを特徴とする。
The invention according to
請求項4の発明は、JPEG2000の復号方法であって、エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか判定する判定工程を有し、前記判定工程により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、前記設定値を3に設定したことを特徴とする復号方法である。
The invention of
請求項5の発明は、JPEG2000の復号方法であって、エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか判定する判定工程を有し、前記判定工程により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、前記設定値を、Magnitude Refinementパス及びCleanupパスについては3に設定し、Significant Propagationパスについては4に設定したことを特徴とする復号方法である。
The invention of
請求項6の発明は、請求項4の発明の復号方法において、残サブビットプレーン数が0となった場合に、リコンストラクション値の加算処理の要否を判定する工程をさらに有し、該工程によりリコンストラクション値の加算処理が必要と判定されたときにリコンストラクション値の加算処理を行うことを特徴とする。 According to a sixth aspect of the present invention, in the decoding method according to the fourth aspect of the present invention, when the number of remaining sub-bitplanes becomes zero, the method further comprises the step of determining whether or not the addition processing of the reconstruction value is necessary. Thus, when it is determined that the addition process of the reconstruction value is necessary, the addition process of the reconstruction value is performed.
請求項7の発明は、請求項1乃至3のいずれか1項の発明の復号装置としてコンピュータを機能させるプログラムである。
The invention of
請求項8の発明は、請求項1乃至3のいずれか1項の発明の復号装置としてコンピュータを機能させるプログラムが記録された記録媒体である。
The invention according to
本発明の復号装置又は復号方法によれば、処理速度の低下を招く無駄な処理を極力減らしつつ、必要なリコンストラクション値の加算処理を実行して画質劣化を抑制することができる。 According to the decoding apparatus or the decoding method of the present invention, it is possible to suppress image quality deterioration by executing necessary reconstruction value addition processing while minimizing unnecessary processing that causes a decrease in processing speed.
以下、図面を参照し、本発明の実施形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、JPEG2000の復号装置の構成を示すブロック図である。この復号装置は、符号データ入力手段1、ヘッダ解析手段2、エントロピ復号化手段3、スカラ逆量子化手段4、逆ウェーブレット変換手段5、カラー変換手段6、DCレベルシフト手段7及び画像データ出力手段8を備えている。なお、これらのうち、スカラ逆量子化手段4、カラー変換手段6及びDCレベルシフト手段7はオプションであり、省くことも可能である。 FIG. 1 is a block diagram showing a configuration of a JPEG2000 decoding apparatus. This decoding apparatus includes code data input means 1, header analysis means 2, entropy decoding means 3, scalar inverse quantization means 4, inverse wavelet transform means 5, color conversion means 6, DC level shift means 7 and image data output means. 8 is provided. Of these, the scalar inverse quantization means 4, the color conversion means 6, and the DC level shift means 7 are optional and can be omitted.
この復号装置の全体的動作につてい説明する。まず、JPEG2000の規格にしたがって圧縮符号化された画像の符号データは、ファイルシステムやネットワーク手段を利用し符号データ入力手段1により入力される。この符号データには、メインヘッダ、タイルヘッダが付加されており、ヘッダ解析手段2はこれらのヘッダを読み込み解析する。 The overall operation of this decoding apparatus will be described. First, code data of an image compression-encoded according to the JPEG2000 standard is input by the code data input means 1 using a file system or network means. A main header and a tile header are added to the code data, and the header analysis means 2 reads and analyzes these headers.
ここで、メインヘッダには、画像の大きさ、タイルの大きさ、画像位置のオフセット、タイル位置のオフセット、1画素あたりのサンプルビット数、RGBなどのコンポーネント数等についての情報が格納されている。また、タイルヘッダには、タイル番号、タイルの大きさ等が格納され、符号化スタイルや量子化スタイルなどを指定することができる。 Here, the main header stores information about the size of the image, the size of the tile, the offset of the image position, the offset of the tile position, the number of sample bits per pixel, the number of components such as RGB, and the like. . The tile header stores a tile number, a tile size, and the like, and can specify an encoding style, a quantization style, and the like.
エントロピ復号化手段3は、ヘッダ解析手段2の解析結果を用いて、符号データのエントロピ復号を行い、出力されるビット列からスカラ量子化した係数列を作成する。スカラ逆量子化手段4は、ヘッダ解析手段2で解析されたメインヘッダ及びタイルヘッダにより指定された量子化スタイルに基づき、エントロピ復号化手段3で作成された係数列をJPEG2000の規格にある所定の計算式で逆量子化し、ウェーブレット係数を生成する。なお、符号化時にはウェーブレット変換により生成されたウェーブレット係数は必ずしも量子化されるとは限らず、その場合にはスカラ逆量子化手段4による逆量子化は行われないことになる。
The
逆ウェーブレット変換手段5は、スカラ逆量子化手段4で得られたウェーブレット係数を、メインヘッダ又はタイルヘッダで指定された符号化スタイルの分解数に基づき逆ウェーブレット変換を行い、YUVカラー空間の画像データを作成する。カラー変換手段6は、逆ウェーブレット変換手段5で得られた画像データを、ヘッダ解析手段2の解析結果にしたがってYUV成分からRGB成分へカラー変換する。ただし、モノクロ画像の符号データの場合や符号化時にカラー変換を行わなかった場合には、カラー変換手段6は動作しない。
The inverse
DCレベルシフト手段7は、カラー変換手段6で得られたRGB成分のDCレベルをシフトする。DCレベルシフトとは、符号化時にダイナミックレンジが値0を中心とするようにシフトすることであり、復号化時にはそれを元に戻すことである。例えば、或る入力画像データが8ビットで表されているとすると、このデータは0〜255のうちのいずれかの値となるが、DCレベルシフトすることにより、このデータの値を0を中心として−128〜127の値にすることができる。このように、DCレベルシフトを行う理由は、周波数変換後の係数は正負の符号と絶対値とに分けられて符号化されるため、ゼロ値を基準としてデータ配置されている方が符号化効率が高くなるからである。画像データ出力手段8は、DCレベルシフト手段7で得られた画像を出力する手段である。
The DC level shift means 7 shifts the DC level of the RGB component obtained by the color conversion means 6. The DC level shift is a shift so that the dynamic range is centered on the
なお、JPEG2000では、符号化時に、係数ビットモデリングされた後のデータに対して「ポスト量子化」(トランケーション)と呼ばれるデータ切り捨て処理が行われる(常に行われるわけではない)。 In JPEG2000, a data truncation process called “post-quantization” (truncation) is performed (not always performed) on data after coefficient bit modeling at the time of encoding.
図2は、このポスト量子化についての説明図である。この図に示されているのは、ある1つのコードブロックに含まれている一部のビットプレーン化されたウェーブレット係数である。この例では、ビットプレーン化された「16,64,88,32,0,0,0,112」のウェーブレット係数が示されており、係数のビット数は9、0ビットプレーン数は2である。符号化パスとしては、Significant Propagationパス(Sパスと略記)、Magnitude Refinementパス(Rパスと略記)、Cleanupパス(Cパスと略記)があり、各符号化パスの境界が切り捨てポイントとなる。ビットプレーンを3つのパスで分割されたものがサブビットプレーンと呼ばれる。そして、切り捨てポイントより下位の全てのビットデータの値は「0」となっており、実質的に切り捨てられたのと同じ扱いの処理となっている。JPEG2000では、このような切り捨て処理により効率的な圧縮符号化を企図している。係数のビット数、ゼロビットプレーン数、符号化パス数等のデータはパケットヘッダ情報と呼ばれるヘッダ情報に格納されている。 FIG. 2 is an explanatory diagram of this post-quantization. Shown in this figure are some bit-plane wavelet coefficients included in one code block. In this example, the wavelet coefficients of “16, 64, 88, 32, 0, 0, 0, 112” converted into bit planes are shown, the number of bits of the coefficients is 9, and the number of 0 bit planes is 2. . As the coding pass, there are a Significant Propagation pass (abbreviated as S pass), a Magnitude Refinement pass (abbreviated as R pass), and a Cleanup pass (abbreviated as C pass), and the boundary of each coding pass becomes a truncation point. A bit plane divided by three paths is called a sub-bit plane. The values of all bit data below the truncation point are “0”, and the processing is substantially the same as that of truncation. JPEG2000 intends efficient compression coding by such a truncation process. Data such as the number of bits of the coefficient, the number of zero bit planes, and the number of coding passes is stored in header information called packet header information.
このように、ポスト量子化が行われると、切り捨てポイントより下位ビットデータは全て一律に0値となってしまうため、これをそのまま復号して再生すると再生画像に違和感や不明瞭さのある部分が含まれ、画質劣化となることがある。そこで、切り捨てポイントよりも下位ビットデータへのリコンストラクション値の加算を行うことにより、画質劣化を抑制する。 In this way, when post-quantization is performed, all the lower-order bit data from the truncation point is uniformly zero, so when this is decoded and reproduced as it is, there is a part of the reproduced image that is uncomfortable or unclear. May be included, resulting in image quality degradation. Therefore, image quality deterioration is suppressed by adding a reconstruction value to lower-order bit data than the cut-off point.
先に述べたように、従来は、リコンストラクション値の加算は、ビットプレーン単位での切り捨てポイントによって行われている。しかし、切り捨てポイントが各パス単位であった場合、切り捨てポイントとなるビットプレーンの判断ができない。 As described above, conventionally, the reconstruction value is added by a truncation point in units of bit planes. However, when the truncation point is in units of each path, the bit plane that becomes the truncation point cannot be determined.
本発明は、そのような場合においても切り捨てポイントとなるビットプレーンを正確に判断し、必要なリコンストラクション値の加算処理を行って復号画像の画質劣化を抑制し、かつ、無駄な処理を減らして処理を高速化しようとするものである。 Even in such a case, the present invention accurately determines a bit plane that is a truncation point, performs a necessary reconstruction value addition process to suppress degradation of the image quality of the decoded image, and reduces unnecessary processing. It is intended to speed up the processing.
ここで、エントロピ復号化手段3に関連した動作をより詳細に説明する。ヘッダ解析手段2は、CODマーカの解読により、パケットデータの先頭アドレスを特定する。特定されたパケットデータの先頭アドレスをもとに、最初の符号化パスの符号データCDを取り出し、Sパス、Rパス、Cパスのストリームを順次、エントロピ復号化手段3に入力する。エントロピ復号化手段3は、符号データCDとコンテクストラベルCXを入力として受け取り、入力されてくる符号化パスの順に順次復号処理する。エントロピ復号化手段3から出力されるデシジョンDをスカラ逆量子化手段4に出力する。 Here, the operation related to the entropy decoding means 3 will be described in more detail. The header analysis means 2 identifies the head address of the packet data by decoding the COD marker. Based on the head address of the specified packet data, the code data CD of the first encoding pass is taken out, and the S pass, R pass, and C pass streams are sequentially input to the entropy decoding means 3. The entropy decoding means 3 receives the code data CD and the context label CX as inputs, and sequentially decodes them in the order of the input encoding passes. The decision D output from the entropy decoding means 3 is output to the scalar inverse quantization means 4.
コンテクストラベルCXは、JPEG2000における復号時の係数ビットモデリング処理により決定するものである。復号時の係数ビットモデリング処理は、エントロピ復号化手段3による復号結果を利用して周辺情報を更新しながら、算術復号の際に必要となるコンテクストを決定する処理である。以下、図3〜図10を参照して、復号時の係数ビットモデリング処理を説明する。 The context label CX is determined by coefficient bit modeling processing at the time of decoding in JPEG2000. The coefficient bit modeling process at the time of decoding is a process of determining the context required for the arithmetic decoding while updating the peripheral information using the decoding result by the entropy decoding means 3. Hereinafter, the coefficient bit modeling process at the time of decoding will be described with reference to FIGS.
ヘッダ解析手段2により符号ストリームから抽出されたサブバンド画像はコードブロックと呼ばれる小領域に分割され、コードブロックが復号処理単位となる。サブバンド画像は、原画像のx、yの両方向において低周波成分を有するLLサブバンド、x、yのいずれかひとつの方向において低周波成分を有し、かつ、もう一方の方向において高周波成分を有するHLおよびLHサブバンド、x、yの両方向において高周波成分を有するHHサブバンドのいずれかである。コードブロックのサイズは、高さと幅が22〜210の範囲にある2のべき乗の整数値であり、高さと幅の指数の和は12以下であることが規格において定められている。
The subband image extracted from the code stream by the
図3は、コードブロックをビット毎にスライスして形成されたビットプレーンを説明する図である。コードブロックのビットプレーンは、ウェーブレット変換係数の量子化値の正負の符号を格納したSignプレーンと、ウェーブレット変換係数の量子化値の絶対値を与えるMSBからLSBまでの複数のプレーンとから構成される。エントロピ復号化手段3は、上位ビットから順にビットプレーンを選択し、ビットプレーン単位でビットプレーン上で各係数の復号処理を行う。 FIG. 3 is a diagram for explaining a bit plane formed by slicing a code block for each bit. The bit plane of the code block is composed of a Sign plane that stores the sign of the quantized value of the wavelet transform coefficient, and a plurality of planes from MSB to LSB that give the absolute value of the quantized value of the wavelet transform coefficient. . The entropy decoding means 3 selects bit planes in order from the upper bits, and performs decoding processing of each coefficient on the bit plane in units of bit planes.
図4は、ビットプレーン上の係数を復号する際の走査順序を説明する図である。ビットプレーンは、縦4ピクセルのストライプに分割され、ストライプ単位で走査されて復号される。各ストライプの横幅はコードブロックの横幅であり、本例では32ピクセルである。ストライプの本数は、合計で8本となる。 FIG. 4 is a diagram for explaining the scanning order when the coefficients on the bit plane are decoded. The bit plane is divided into stripes of 4 pixels in length, and is scanned and decoded in units of stripes. The width of each stripe is the width of the code block, which is 32 pixels in this example. The total number of stripes is 8.
各ストライプにおいて、矢印で示すように最初の列の縦4ピクセルを上から順に走査して1ピクセルずつ復号処理を進め、次に2番目の列の縦4ピクセルを同じ向きに走査し、これを最後の列まで繰り返す。ストライプの終端まで復号処理が終わると、次のストライプの先頭の係数から同じように走査して復号処理を進め、コードブロックの最後の行まで繰り返す。なお、係数の正負符号を格納したSignプレーンの復号は、係数の絶対値部分に相当するプレーンを復号する際に適宜行われる。 In each stripe, as indicated by the arrows, the vertical four pixels in the first column are scanned in order from the top, and the decoding process proceeds one pixel at a time, and then the vertical four pixels in the second column are scanned in the same direction. Repeat until the last column. When the decoding process is completed up to the end of the stripe, scanning is performed in the same manner from the leading coefficient of the next stripe, the decoding process is performed, and the process is repeated until the last line of the code block. Note that the decoding of the Sign plane storing the sign of the coefficient is appropriately performed when decoding the plane corresponding to the absolute value portion of the coefficient.
コードブロック内の各係数は、有意であるか、有意でないかの2つの状態で識別される。有意である場合は1、有意でない場合は0を割り当て、各係数の有意性状態を2値で識別する。復号開始時は、コードブロック内のすべての係数は有意でない。 Each coefficient in the code block is identified in two states: significant or insignificant. 1 is assigned if significant, 0 is assigned if not significant, and the significance state of each coefficient is identified by a binary value. At the start of decoding, all coefficients in the code block are not significant.
ここで、係数が有意であるとは、着目しているウェーブレット変換係数の量子化値が、これまでの復号処理の結果から’0’ではないとわかっている状態をいう。言い換えれば、上位ビットプレーンから順次ストライプ単位で走査しながら復号していく中で、’1’であるビットが発見されているウェーブレット変換係数の状態をいう。また、係数が有意でないとは、着目しているウェーブレット変換係数の量子化値が’0’であるか、あるいは’0’である可能性が残っている状態をいう。言い換えれば、上位ビットプレーンから順次復号していく中で、’1’であるビットが未だ発見されていないウェーブレット変換係数の状態をいう。 Here, the coefficient is significant means a state in which the quantized value of the focused wavelet transform coefficient is known to be not “0” from the results of the decoding processing so far. In other words, it means the state of the wavelet transform coefficient in which the bit of “1” is found while decoding while scanning in units of stripes sequentially from the upper bit plane. Also, the coefficient is not significant means a state where the quantized value of the focused wavelet transform coefficient is “0” or remains “0”. In other words, it means the state of the wavelet transform coefficient in which the bit “1” has not yet been found during the sequential decoding from the upper bit plane.
係数ビットモデリング処理では、ビットプレーン上の注目した係数の周囲にある係数の有意性状態に基づいて係数ビット毎にコンテクストが決定される。図5は、ビットプレーン上の復号対象の係数X(以下、現係数Xという)の周囲に隣接する8個の近傍係数を説明する図である。8個の近傍係数は、現係数Xに対して水平方向に隣接する2つの係数h0、h1と、垂直方向に隣接する2つの係数v0、v1と、斜め方向に隣接する4つの係数d0〜d3とからなる。 In the coefficient bit modeling process, the context is determined for each coefficient bit based on the significance state of the coefficient around the coefficient of interest on the bit plane. FIG. 5 is a diagram illustrating eight neighboring coefficients adjacent to the periphery of the coefficient X to be decoded on the bit plane (hereinafter referred to as the current coefficient X). The eight neighboring coefficients are two coefficients h0 and h1 adjacent to the current coefficient X in the horizontal direction, two coefficients v0 and v1 adjacent in the vertical direction, and four coefficients d0 to d3 adjacent in the oblique direction. It consists of.
図5の8個の近傍係数はそれぞれ有意であるか、有意でないかの2つの状態をとりうるため、現係数Xに対して、組み合わせとしては256個のコンテクストがありうるが、JPEG2000では、対称性などを利用して19種類のコンテクストに集約されており、これらのコンテクストは0〜18のラベルをつけて識別される。なお、いずれかの近傍係数が処理中のコードブロックの外部に位置する場合は、その近傍係数は有意でないとみなして処理される。 Since each of the eight neighboring coefficients in FIG. 5 can take two states, which are significant or not significant, there can be 256 contexts as a combination with respect to the current coefficient X. It is aggregated into 19 types of contexts using sex and the like, and these contexts are identified with labels of 0-18. If any neighborhood coefficient is located outside the code block being processed, the neighborhood coefficient is regarded as insignificant and processed.
ビットプレーン内の各係数ビットは、Sパス(significance propagation pass)、Rパス(magnitude refinement pass)、Cパス(cleanup pass)の3種類の符号化パスのうちのいずれかに基づいて復号される。1つのビットプレーンは3種類の符号化パスとして3つのサブビットプレーンに分割されている。Sパスでは有意である係数が周囲に存在する有意でない係数の復号が行われ、Rパスでは有意である係数の復号が行われ、Cパスでは残りの係数の復号が行われる。 Each coefficient bit in the bit plane is decoded based on one of three types of encoding passes, that is, an S pass (significance propagation pass), an R pass (magnitude refinement pass), and a C pass (cleanup pass). One bit plane is divided into three sub-bit planes as three types of encoding passes. Insignificant coefficients that are present in the vicinity in the S pass are decoded, coefficients that are significant in the R pass are decoded, and the remaining coefficients are decoded in the C pass.
Sパス、Rパス、Cパスの各符号化パスは、この順に画像の画質への寄与度が大きい。各符号化パスはこの順に実行され、各係数のコンテクストが近傍係数の情報を考慮して決定される。以下、各符号化パスにおける具体的な処理手順を説明する。 Each coding pass of the S pass, the R pass, and the C pass has a large contribution to the image quality in this order. Each coding pass is executed in this order, and the context of each coefficient is determined in consideration of information on neighboring coefficients. Hereinafter, a specific processing procedure in each coding pass will be described.
最初にSパス処理を説明する。ビットプレーンの各ストライプにおける走査において、現係数Xが有意でない状態であり、かつ、その現係数Xに隣接する8個の近傍係数の内、少なくとも1つの近傍係数が有意である場合、現係数XはSパスの処理対象として選ばれる。それ以外の場合は、Sパスの処理対象とはならない。Sパスで復号対象となる係数は、そのビットプレーンにおいて最も有意になる可能性が高い係数である。 First, the S pass process will be described. When the current coefficient X is insignificant in scanning in each stripe of the bit plane, and at least one of the eight neighboring coefficients adjacent to the current coefficient X is significant, the current coefficient X Is selected as an S pass processing target. In other cases, it is not an S pass processing target. A coefficient to be decoded in the S pass is a coefficient that is most likely to be significant in the bit plane.
係数ビットモデリング処理では、現係数Xに対して、水平方向の2つの近傍係数h0,h1の内の有意である係数の数を与えるΣhi(=h0+h1)と、垂直方向の2つの近傍係数v0,v1の内の有意である係数の数を与えるΣvi(=v1+v2)と、斜め方向の4つの近傍係数d0,d1,d2,d3の内の有意である係数の数を与えるΣdi(=d1+d2+d3+d4)とを求める。 In the coefficient bit modeling process, for the current coefficient X, Σhi (= h0 + h1) that gives the number of significant coefficients of the two neighboring coefficients h0 and h1 in the horizontal direction, and two neighboring coefficients v0, Σvi (= v1 + v2) which gives the number of significant coefficients in v1, and Σdi (= d1 + d2 + d3 + d4) which gives the number of significant coefficients among the four neighboring coefficients d0, d1, d2 and d3 in the diagonal direction Ask for.
図6は、Sパスにおけるコンテクストの分類テーブルを説明する図である。このコンテクストテーブルは、処理中のコードブロックが、LH/LLサブバンド、HLサブバンド、HHサブバンドのいずれに属しているかによって、水平、垂直、斜め方向の有意である近傍係数の数Σhi,Σvi,Σdiの組み合わせと、0〜8のラベルで識別される9種類のコンテクストラベルCXとを対応づけたものである。このコンテクストの分類テーブルを参照し、サブバンドの周波数成分の方向性と有意である近傍係数の数Σhi,Σvi,Σdiの組み合わせにしたがって、Sパスで処理する係数を9種類のコンテクストのいずれかに分類し、該当するコンテクストラベルCXが決定される(コンテクスト推定)。
FIG. 6 is a diagram for explaining a context classification table in the S pass. This context table shows the number of neighborhood coefficients Σhi, Σvi that are significant in the horizontal, vertical, and diagonal directions depending on whether the code block being processed belongs to the LH / LL subband, HL subband, or HH subband. , Σdi and nine kinds of context labels CX identified by
また、Sパスでは、現係数Xのビットの値が’1’であった場合、現係数Xの有意性状態を「有意でない」から「有意である」に変更する。現係数Xが有意になった場合、引き続き、その現係数Xの正負を示す極性ビットを復号する。 In the S pass, when the value of the bit of the current coefficient X is “1”, the significance state of the current coefficient X is changed from “not significant” to “significant”. When the current coefficient X becomes significant, the polarity bit indicating the sign of the current coefficient X is subsequently decoded.
極性ビットに対するコンテクストは、垂直方向の2つの近傍係数v0,v1、水平方向の2つの近傍係数h0,h1の有意性状態および正負の極性値に基づいて、次に述べるように2つの段階を踏んで決定される。 The context for the polarity bit takes two steps as described below, based on the significance state of the two neighboring coefficients v0, v1 in the vertical direction and the two neighboring coefficients h0, h1 in the horizontal direction and the positive and negative polarity values. Determined by
図7は、極性ビットのコンテクスト決定のための垂直指標および水平指標テーブルを説明する図である。コンテクスト推定のために、まず、2つの垂直方向の近傍係数v0、v1のそれぞれが正の有意である係数であるか、負の有意である係数であるか、有意でない係数であるかを判定し、図7のテーブルを参照して、垂直指標vに’0’、’1’、’−1’のいずれかの値を割り当てる。同様にして、水平方向の近傍係数h0、h1に対しても図7のテーブルを参照して、水平指標hに’0’、’1’、’−1’のいずれかの値を割り当てる。 FIG. 7 is a diagram for explaining a vertical index and a horizontal index table for determining the context of the polarity bit. For context estimation, it is first determined whether each of the two vertical neighborhood coefficients v0 and v1 is a positive significant coefficient, a negative significant coefficient, or a nonsignificant coefficient. Referring to the table of FIG. 7, any value of “0”, “1”, “−1” is assigned to the vertical index v. Similarly, any value of “0”, “1”, and “−1” is assigned to the horizontal index h with reference to the table of FIG. 7 for the neighborhood coefficients h0 and h1 in the horizontal direction.
図8は、水平指標hと垂直指標vの組み合わせと、9〜13のラベルで識別される5種類の極性ビットに対するコンテクストラベルCXとを対応づけたテーブルである。係数ビットモデリング処理では、図8のテーブルを参照して、求めた水平指標hと垂直指標vの値の組み合わせによって極性ビットを5種類のコンテクストのいずれかに分類し、該当するコンテクストラベルCXが決定される。
FIG. 8 is a table in which combinations of horizontal indices h and vertical indices v are associated with context labels CX for five types of polarity bits identified by
次に、Rパス処理を説明する。現係数Xがすでに有意であると判定されている場合、現係数Xは処理中のビットプレーンにおいてRパスの処理対象となる。ただし、そのビットプレーンにおいて、直前のSパスで有意である状態に変化した係数は処理対象としない。Rパスの復号処理は、Sパスで復号された係数の精度を上げる役割をもつ。 Next, R path processing will be described. When it is determined that the current coefficient X is already significant, the current coefficient X becomes an R path processing target in the bit plane being processed. However, a coefficient that has changed to a significant state in the immediately preceding S pass in the bit plane is not processed. The R-pass decoding process has a role of increasing the accuracy of the coefficients decoded in the S-pass.
図9は、Rパスにおけるコンテクストの分類テーブルを示す図である。Rパスでは、現係数Xに対する8つの近傍係数により、有意である係数の数を示すΣhi+Σvi+Σdiの値を求め、さらに、現係数Xが1つ上のビットプレーンで有意になったかどうか、言い換えれば、当該Rパスは、現係数Xが有意でない状態から有意である状態に変化した後の最初のパスであるかどうかを判定し、これらの結果にもとづいて、図9に示すように、14〜16のラベルで識別される3種類のコンテクストに分類し、該当するコンテクストラベルCXが決定される。 FIG. 9 is a diagram showing a context classification table in the R path. In the R path, the value of Σhi + Σvi + Σdi indicating the number of significant coefficients is obtained from eight neighboring coefficients with respect to the current coefficient X, and whether or not the current coefficient X becomes significant in the bit plane one level above, in other words, It is determined whether or not the R path is the first path after the current coefficient X has changed from a non-significant state to a significant state. Based on these results, as shown in FIG. Are classified into three types of contexts identified by the label, and the corresponding context label CX is determined.
最後にCパス処理を説明する。Cパスは、現係数XがSパス、Rパスのいずれの処理対象にも該当しない場合に用いられる。Cパスでは、ランレングス復号か、Sパスのように8つの近傍係数の値を参照した復号処理を行う。Cパスでは、ランレングス復号を行うかどうかを判断しながら処理を進める。 Finally, the C pass process will be described. The C path is used when the current coefficient X does not correspond to either the S path or the R path. In the C pass, run length decoding or decoding processing referring to the values of eight neighboring coefficients as in the S pass is performed. In the C pass, the process proceeds while determining whether to perform run-length decoding.
図10は、Cパスにおけるコンテクストの分類テーブルを示す図である。Cパスでは、垂直方向に連続する4つの係数が全て有意でない、すなわちストライプ内の縦1列がすべてCパスに属しており、かつ、その4つのすべての係数に対する8個の近傍係数にも有意である係数が存在しないという条件の正否を判断する。この条件に該当する場合、ランレングスモードで復号処理を行い、コンテクストラベルCXは17である。この条件に該当しない場合、垂直方向に連続する4つの係数値の中に少なくとも1つの有意である係数が存在するため、最初に有意になる係数の位置はUNIFORMコンテクストを用い、このときのコンテクストラベルCXは18である。残りのすべての係数に対してはSパスと同様の処理を行う。 FIG. 10 is a diagram illustrating a context classification table in the C path. In the C path, all four consecutive coefficients in the vertical direction are not significant, that is, all the vertical columns in the stripe belong to the C path, and the eight neighboring coefficients for all the four coefficients are also significant. It is determined whether or not the condition that there is no coefficient is. When this condition is satisfied, the decoding process is performed in the run length mode, and the context label CX is 17. If this condition is not met, there is at least one significant coefficient among the four consecutive coefficient values in the vertical direction. Therefore, the position of the first significant coefficient is determined using the UNIFORM context, and the context label at this time CX is 18. The same processing as in the S pass is performed for all remaining coefficients.
以上述べたように、係数ビットモデリング処理において、Sパス,Rパス,Cパスのいずれかの符号化パスを用いて、ビットプレーン上の各係数のコンテクストラベルCXが決定される。 As described above, in the coefficient bit modeling process, the context label CX of each coefficient on the bit plane is determined using any one of the S pass, R pass, and C pass.
さて、本発明によれば、エントロピ復号化手段3に、エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか否か判定する判定手段が設けられ、この判定手段により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とする。本発明の一つの態様によれば、前記設定値はS,R,Cパスについて3に設定される。もう一つの態様によれば、前記設定値は、Rパス及びCパスについては3に設定され、Sパスについては4に設定される。また、もう一つの態様によれば、前記設定値はS,R,Cパスについて3に設定されるとともに、残サブビットプレーン数=0の場合にリコンストラクション値の加算処理が必要か否かを判定するための手段がさらに設けられ、該手段により必要と判定されたときにリコンストラクション値の加算処理を行う。 Now, according to the present invention, the entropy decoding means 3 is provided with a determination means for determining whether or not the number of remaining sub-bitplanes is not less than 1 and not more than a set value before processing the coding pass in the entropy decoding process. Thus, the determination means that the number of remaining sub-bitplanes is determined to be 1 or more and less than or equal to the set value is set as a necessary condition for performing reconstruction value addition processing after encoding pass processing. According to one aspect of the present invention, the set value is set to 3 for the S, R, and C paths. According to another aspect, the set value is set to 3 for the R path and the C path, and is set to 4 for the S path. According to another aspect, the set value is set to 3 for the S, R, and C paths, and whether or not addition processing of reconstruction values is necessary when the number of remaining sub-bitplanes = 0. A means for determining is further provided, and when the means determines that it is necessary, an addition process of the reconstruction value is performed.
以下、これらの各態様の実施例について詳細に説明する。 Examples of these aspects will be described in detail below.
残サブビットプレーン数と比較される設定値が、S,R,Cパスについて3に設定される態様の一実施例について説明する。 An embodiment in which the set value to be compared with the number of remaining sub-bitplanes is set to 3 for the S, R, and C paths will be described.
図11は、エントロピ復号化手段3において、符号化データの復号処理の流れを説明するためのフローチャートである。ここでは、図14に示す符号データを例に、図11のフローチャート沿って処理内容を説明する。
FIG. 11 is a flowchart for explaining the flow of a decoding process of encoded data in the
なお、図11において、ステップS1701,S1716はCパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1706はSパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1711はRパスについての残サブビットプレーン数の判定手段(工程)に相当する。ただし、ステップ1701では残サブビットプレーン数は1以上であることは明らかであり、また、ステップS1704,S1709,S1714で残サブビットプレーン数が1以上であることがチェツクされているため、実質的に、ステップS1701,S1706,S1711,S1716では残サブビットプレーン数が1以上かつ3(設定値)以下であるかの判定をしている。
In FIG. 11, steps S1701 and S1716 correspond to the determination means (process) for the number of remaining sub-bitplanes for the C path, and step S1706 corresponds to the determination means (process) for the number of remaining sub-bitplanes for the S path. Step S1711 corresponds to determination means (process) for the number of remaining sub-bitplanes for the R path. However, it is clear that the number of remaining sub bit planes is 1 or more in
図14には、符号データがサブビットプレーン分割された状態を示している。この例では、03→15→24・・・の符号データが順次並び、サブビットプレーンは9枚切り捨てられ、残サブビットプレーン数が4の状態である。ここで、残サブビットプレーン数とは、符号化パスによって復号処理対象となる残りのサブビットプレーン数のことである。 FIG. 14 shows a state in which the code data is divided into sub-bit planes. In this example, code data of 03 → 15 → 24... Are sequentially arranged, nine sub bit planes are discarded, and the number of remaining sub bit planes is four. Here, the number of remaining sub-bit planes is the number of remaining sub-bit planes to be decoded by the encoding pass.
03→15→24・・・のように順に符号データにおける符号化パスが入力され、以下に説明する流れで処理される。例えば、「03」はCパス、Cパス、「15」はCパス、Sパス、「24」はCパス、Rパスの順に符号化パスが入力されてくる。 The coding pass in the coded data is input in order of 03 → 15 → 24... And processed in the flow described below. For example, “03” is the C path, C path, “15” is the C path, S path, “24” is the C path, and R path is input in this order.
符号データ「03」について説明する。まず、残サブビットプレーン数≦3であるかの判定をする(S1701)。残サブビットプレーン数≦3であるならば(S1701,Y)、Cパスの復号処理をし、r値を加算する(S1702)。 The code data “03” will be described. First, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1701). If the number of remaining sub-bitplanes ≦ 3 (S1701, Y), the C path decoding process is performed and the r value is added (S1702).
ここでは、残サブビットプレーン数=4であるので(S1701,N)、Cパスの復号処理をし、r値の加算はしない(S1703)。残サブビットプレーン数は3となった。 Here, since the number of remaining sub-bitplanes = 4 (S1701, N), the C path decoding process is performed and the r value is not added (S1703). The number of remaining sub-bitplanes was 3.
次に、残サブビットプレーン数>0の判定をする(S1704)。ここでは、残サブビットプレーン数=3>0であるので、次の符号化パスがSパスであるかの判定をする(S1705)。 Next, it is determined that the number of remaining sub bit planes> 0 (S1704). Here, since the number of remaining sub-bitplanes = 3> 0, it is determined whether the next coding pass is the S pass (S1705).
ここでは、Sパスでない。残サブビットプレーン数は2となった。残サブビットプレーン数>0であるかの判定をする(S1709)ここでは、残サブビットプレーン数=2>0であるため、次の符号化パスがRパスであるかの判定をする(S1710)。ここでは、Rパスでない。残サブビットプレーン数は1となった。 Here, it is not the S path. The number of remaining sub-bitplanes is 2. It is determined whether the number of remaining sub bit planes> 0 (S1709). Here, since the number of remaining sub bit planes = 2> 0, it is determined whether the next coding pass is an R path (S1710). ). Here, it is not the R path. The number of remaining sub-bitplanes is 1.
次に残サブビットプレーン数>0であるかの判定をする(S1714)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがCパスであるかの判定をする(S1715)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1714). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is a C pass (S1715).
ここではCパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1716)。ここではCパスであり(S1715,Y)、残サブビットプレーン数≦3の判定をする(S1716)。残サブビットプレーン数=1≦3であるため、Cパスの復号処理をし、r値を加算する(S1717)。 Here, since it is the C path, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1716). Here, it is the C path (S1715, Y), and the number of remaining sub-bitplanes ≦ 3 is determined (S1716). Since the number of remaining sub-bitplanes = 1 ≦ 3, the C-pass decoding process is performed and the r value is added (S1717).
ここで、r値の加算方法に次の通りである。rは0≦r<1であり、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
を加算する。rを3/8とした場合、下記の値を加算することになる。
加算値=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
なお、復号値が0のときは、加算しないものとする。ここでは、復号値が0なので加算しない。
Here, the addition method of the r value is as follows. r is 0 ≦ r <1, and r · 2 ^ (the number of bit planes−the number of decoded bit planes) in the least significant bit plane to be processed
Is added. When r is 3/8, the following values are added.
Addition value = r · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
When the decoded value is 0, no addition is performed. Here, since the decoded value is 0, no addition is performed.
ステップS1717の処理を行ったため、残サブビットプレーン数は0となった。残サブビットプレーン数>0であるかを判定するが(S1704)、残サブビットプレーン数=0であるため終了する。 Since the process of step S1717 was performed, the number of remaining sub-bitplanes became zero. It is determined whether or not the number of remaining sub-bit planes> 0 (S1704), but the process ends because the number of remaining sub-bit planes = 0.
このようにして、最初の符号データ「03」が終了したので、次の符号データ(「15」)の処理を上記同様に行う。初めの残サブビットプレーン数は4である。 Thus, since the first code data “03” is completed, the next code data (“15”) is processed in the same manner as described above. The initial number of remaining sub-bitplanes is four.
まず、残サブビットプレーン数≦3であるかの判定をする(S1701)。ここでは、残サブビットプレーン数=4であるため、Cパスの復号処理をし、r値の加算はしない(S1703)。これで、残サブビットプレーン数は3となった。 First, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1701). Here, since the number of remaining sub-bitplanes = 4, the C-pass decoding process is performed, and the r value is not added (S1703). As a result, the number of remaining sub-bitplanes is three.
次に、残サブビットプレーン数>0であるかを判定する(S1704)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=3)であるため、Sパスであるかの判定をする(S1705)。ここでは、Sパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1706)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1704). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 3), it is determined whether the S path is used (S1705). Here, since it is the S path, it is determined whether or not the number of remaining sub-bitplanes ≦ 3 (S1706).
ここでは、残サブビットプレーン数≦3であるため、Sパスの復号処理し、r値を加算する(S1707)。残サブビットプレーン数は2となった。 Here, since the number of remaining sub-bitplanes ≦ 3, the S-pass decoding process is performed, and the r value is added (S1707). The number of remaining sub-bitplanes is 2.
ここでのr値の加算方法は次の通りである。rは0≦r<1であり、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
を加算する。rを3/8とした場合、下記の値を加算することになる。
加算値=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
なお、復号値が0のときは、加算しないものとする。加算する前に、最下位ビットプレーンより下のビットプレーンにビットが存在するかの判定をし、存在しているときには、そのビットを減算した後に上記加算値を加算する。ここでは、01000であり、最下位ビットプレーンより下のビットプレーンにビットが存在しない(000である)ので、減算をせず、そのまま加算することになる。よって、加算後は01011となる。
The r value addition method here is as follows. r is 0 ≦ r <1, and r · 2 ^ (the number of bit planes−the number of decoded bit planes) in the least significant bit plane to be processed
Is added. When r is 3/8, the following values are added.
Addition value = r · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
When the decoded value is 0, no addition is performed. Before adding, it is determined whether or not a bit exists in a bit plane below the least significant bit plane, and if it exists, the added value is added after subtracting the bit. Here, it is 01000, and there is no bit in the bit plane below the least significant bit plane (000), so the subtraction is not performed and the addition is performed as it is. Therefore, it becomes 01011 after the addition.
次に、残サブビットプレーン数>0であるかを判定する(S1709)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=2)であるため、次の符号化パスがRパスであるかの判定をする(S1710)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1709). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 2), it is determined whether the next coding pass is an R pass (S1710).
ここでは、Rパスでない。残サブビットプレーン数は1となった。残サブビットプレーン数>0であるかの判定をする(S1714)。残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがCパスであるかの判定をする(S1715)。 Here, it is not the R path. The number of remaining sub-bitplanes is 1. It is determined whether the number of remaining sub bit planes> 0 (S1714). Since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is a C pass (S1715).
ここでは、Cパスでない。残サブビットプレーン数は0となった。残サブビットプレーン数>0であるかの判定をする(S1704)。残サブビットプレーン数>0でないので、終了する(S1719)。 Here, it is not the C path. The number of remaining sub-bitplanes is zero. It is determined whether the number of remaining sub bit planes> 0 (S1704). Since the number of remaining sub-bitplanes is not> 0, the process ends (S1719).
2番目の符号データ「15」が終了した。次の符号データ「24」の処理を上記同様に行う。入力対象となる全符号化データが終了するまで同様の処理を行う。 The second code data “15” is completed. The next code data “24” is processed in the same manner as described above. The same processing is performed until all encoded data to be input is completed.
ここで、ステップS1701,S1706,S1711,S1716では、符号化パスの処理後のリコンストラクション値の加算処理を行うための必要条件である、残サブビットプリレーン数が1以上かつ3以下であることを判定している。各々の符号データはS,R,Cパスのいずれかに存在するので、残サブビットプレーン数が1以上かつ3以下であることを、リコンストラクション値の加算処理を行う必要条件とすることにより、最下位サブビットプレーンから上3つのサブビットプレーンに対してのみリコンストラクション値の加算処理を行い、無駄な処理を減らして画質劣化を確実に抑制するとともに処理の高速化を達成することができる。 Here, in steps S1701, S1706, S1711, and S1716, the number of remaining sub-bit prelanes, which is a necessary condition for performing the addition processing of the reconstruction value after the coding pass process, is 1 or more and 3 or less. Is judged. Since each code data exists in one of the S, R, and C paths, it is assumed that the number of remaining sub-bitplanes is 1 or more and 3 or less as a necessary condition for performing the addition processing of reconstruction values. It is possible to add reconstruction values only to the upper three sub-bit planes from the least significant sub-bit plane, reduce wasteful processing, reliably suppress image quality degradation, and achieve high-speed processing.
さて、図14の例では切り捨てポイントがビットプレーン単位の場合であった。次に、図16に示すような切り捨てポイントが符号化パス単位(サビビットプレーン単位)の場合について、図11のフローチャートに沿って説明する。図16の例では、切り捨てポイントから下のサブビットプレーンが7枚切り捨てられ、残サブビットプレーン数=6となっている。 In the example of FIG. 14, the truncation point is in the bit plane unit. Next, a case where the truncation point as shown in FIG. 16 is in encoding pass units (subbit plane units) will be described with reference to the flowchart of FIG. In the example of FIG. 16, seven sub-bit planes below the cut-off point are cut off, and the number of remaining sub-bit planes is 6.
最初、符号データ「03」の残ビットプレーン数は6であるため(S1701,N)、Cパスの復号処理をする(S1703)。これで残サブビットプレーン数は5となった。 First, since the number of remaining bit planes of the code data “03” is 6 (S1701, N), the C path decoding process is performed (S1703). This left 5 sub-bitplanes.
残サブビットプレーン数>0であり(S1704,Y)、次の符号化パスはSパスではない(S1705,N)。残サブビットプレーン数は4となった。 The number of remaining sub-bitplanes> 0 (S1704, Y), and the next coding pass is not the S pass (S1705, N). The number of remaining sub-bitplanes is 4.
残サブビットプレーン数>0であり(S1709,Y)、次の符号化パスはRパスではない(S1710,N)。ここで、残サブビットプレーン数は3となった。 The number of remaining sub-bitplanes> 0 (S1709, Y), and the next coding pass is not an R pass (S1710, N). Here, the number of remaining sub-bitplanes is 3.
残サブビットプレーン数>0であり(S1714,Y)、次の符号化パスはCパスである(S1715,Y)。残サブビットプレーン数≦3であるので(S1716,Y)、Cパスの復号処理をし、r値を加算する(S1717)。 The number of remaining sub-bitplanes> 0 (S1714, Y), and the next coding pass is the C pass (S1715, Y). Since the number of remaining sub-bit planes ≦ 3 (S1716, Y), the C path decoding process is performed and the r value is added (S1717).
ここでのr値の加算方法は次の通りである。rは任意0≦r<1であり、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
を加算する。rを3/8とした場合、下記の値を加算することになる。
加算値=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
なお、復号値が0のときは、加算しないものとする。ここでは、復号値が0なので加算しない。
The r value addition method here is as follows. r is arbitrary 0 ≦ r <1, and r · 2 ^ (the number of bit planes−the number of decoded bit planes) in the least significant bit plane to be processed
Is added. When r is 3/8, the following values are added.
Addition value = r · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
When the decoded value is 0, no addition is performed. Here, since the decoded value is 0, no addition is performed.
残サブビットプレーン数>0であるかを判定する(S1704)。ここでは残サブビットプレーン数=2であるため、次の符号化パスがSパスであるかの判定をする(S1706)。ここでは、Sパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1706)。 It is determined whether the number of remaining sub bit planes> 0 (S1704). Here, since the number of remaining sub-bitplanes = 2, it is determined whether the next coding pass is the S pass (S1706). Here, since it is the S path, it is determined whether or not the number of remaining sub-bitplanes ≦ 3 (S1706).
ここでは、残サブビットプレーン数≦3であるかので、Sパスの復号処理し、r値を加算する(S1707)。残サブビットプレーン数は1となった。ここでのr値の加算方法は上記記述のとおりであり、復号値が0なので加算しない。 Here, since the number of remaining sub-bitplanes ≦ 3, the S-pass decoding process is performed, and the r value is added (S1707). The number of remaining sub-bitplanes is 1. The addition method of the r value here is as described above, and is not added because the decoded value is 0.
次に、残サブビットプレーン数>0であるかを判定する(S1709)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがRパスであるかの判定をする(S1710)。ここでは、Rパスでない。残サブビットプレーン数は0となった。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1709). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is an R pass (S1710). Here, it is not the R path. The number of remaining sub-bitplanes is zero.
次に残サブビットプレーン数>0であるかの判定し(S1714)、残サブビットプレーン数>0(残サブビットプレーン数=0)でないため、終了する(S1719)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1714). Since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 0) is not satisfied, the process ends (S1719).
次の符号データ「15」の処理を同様に行う。初めの残サブビットプレーン数は6であり、残サブビットプレーン数≦3でないため(S1701,N)、Cパスの復号処理をし、r値の加算はしない(S1703)。残サブビットプレーン数は5となった。 The next code data “15” is processed in the same manner. Since the initial number of remaining sub-bit planes is 6 and the number of remaining sub-bit planes is not 3 (S1701, N), the C-pass decoding process is performed and the r value is not added (S1703). The number of remaining sub-bitplanes was 5.
残サブビットプレーン数>0であるので(S1704,Y)、次の符号化パスがSパスであるかの判定をする(S1705)。 Since the number of remaining sub-bitplanes> 0 (S1704, Y), it is determined whether the next coding pass is the S pass (S1705).
ここではSパスであるため(S1705,Y)、残サブビットプレーン数≦3であるかの判定をする(S1706)。ここでは、残サブビットプレーン数≦3でないため、Sパスの復号処理をし、r値の加算はしない(S1708)。残サブビットプレーン数は4となった。 Here, since the S path is used (S1705, Y), it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1706). Here, since the number of remaining sub-bitplanes is not ≦ 3, the S-pass decoding process is performed and the r value is not added (S1708). The number of remaining sub-bitplanes is 4.
残サブビットプレーン数>0であるので(S1709,Y)、次の符号化パスがRパスであるかの判定をする(S1710)。ここでは、Rパスでない。残サブビットプレーン数は3となった。 Since the number of remaining sub bit planes> 0 (S1709, Y), it is determined whether the next coding pass is the R pass (S1710). Here, it is not the R path. The number of remaining sub-bitplanes was 3.
残サブビットプレーン数>0であるので(S1714,Y)、次の符号化パスがCパスであるかの判定をする(S1715)。ここでは、Cパスでない。ここで、残サブビットプレーン数は2となった。 Since the number of remaining sub-bitplanes> 0 (S1714, Y), it is determined whether the next coding pass is the C pass (S1715). Here, it is not the C path. Here, the number of remaining sub-bitplanes is 2.
次に、残サブビットプレーン数>0であるかを判定する(S1704)。ここでは、残サブビットプレーン数>0でないため、次の符号化パスがSパスであるかの判定をする(S1705)。ここでは、Sパスでない。残サブビットプレーン数は1となった。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1704). Here, since the number of remaining sub-bitplanes is not> 0, it is determined whether the next coding pass is the S pass (S1705). Here, it is not the S path. The number of remaining sub-bitplanes is 1.
残サブビットプレーン数>0であるので(S1709,Y)、次の符号化パスがRパスであるかの判定をする(S1710)。ここでは、Rパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1711)。ここでは、残サブビットプレーン数≦3であるため、Rパスの復号処理し、r値を加算する(S1712)。残サブビットプレーン数は0となった。 Since the number of remaining sub bit planes> 0 (S1709, Y), it is determined whether the next coding pass is the R pass (S1710). Here, since it is an R path, it is determined whether or not the number of remaining sub bit planes ≦ 3 (S1711). Here, since the number of remaining sub-bitplanes ≦ 3, the R-pass decoding process is performed and the r value is added (S1712). The number of remaining sub-bitplanes is zero.
ここでのr値の加算方法は次の通りである。rは0≦r<1であり、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
を加算する。r=3/8とした場合、次の加算値が加算されることになる。
加算値=3.8・2^(5-3)
=1
なお、復号値が0のときは、加算しないものとする。加算する前に、最下位ビットプレーンより下のビットプレーンにビットが存在するかの判定をし、存在しているときには、そのビットを減算した後に上記加算値を加算する。ここでは、01100であり、最下位ビットプレーンより下のビットプレーンにビットが存在しない(00である)ので、減算をせず、そのまま加算することになる。よって、加算後は01101となる。
The r value addition method here is as follows. r is 0 ≦ r <1, and r · 2 ^ (the number of bit planes−the number of decoded bit planes) in the least significant bit plane to be processed
Is added. When r = 3/8, the next added value is added.
Addition value = 3.8.2 ^ (5-3)
= 1
When the decoded value is 0, no addition is performed. Before adding, it is determined whether or not a bit exists in a bit plane below the least significant bit plane, and if it exists, the added value is added after subtracting the bit. Here, it is 01100, and there is no bit in the bit plane below the least significant bit plane (it is 00), so the subtraction is not performed and the addition is performed as it is. Therefore, it becomes 01101 after the addition.
次に、残サブビットプレーン数>0であるかを判定する(S1714)。ここでは、残サブビットプレーン数=0であるため、終了する(S1719)
3番目以降の符号データについても同様に処理する。
Next, it is determined whether the number of remaining sub bit planes> 0 (S1714). Here, since the number of remaining sub-bitplanes = 0, the process ends (S1719).
The same processing is performed for the third and subsequent code data.
以上の通り、図16の例のように切り捨てポイントが符号化パス(サブビットプレーン)単位の場合であっても、残サブビットプレーン数≦3をリコンストラクション値の加算処理を行うための必要条件とすることにより、最下位サブビットプレーンから上3つのサブビットプレーンに対しのみリコンストラクション値加算処理を行って、画質劣化を確実に抑制し、かつ、無駄な処理を減らして処理を高速化することができる。 As described above, even if the truncation point is in the coding pass (sub-bit plane) unit as in the example of FIG. 16, the necessary condition for performing the addition processing of the reconstruction value when the number of remaining sub-bit planes ≦ 3. By doing so, the reconstruction value addition process is performed only for the upper three sub-bit planes from the least significant sub-bit plane, the image quality degradation is reliably suppressed, and unnecessary processing is reduced to speed up the processing. be able to.
残サブビットプレーン数と比較される設定値が、CパスとRパスについては3に設定され、Sパスについては4に設定される態様の一実施例について説明する。 An embodiment in which the setting value to be compared with the number of remaining sub-bitplanes is set to 3 for the C path and the R path and is set to 4 for the S path will be described.
図12は、エントロピ復号化手段3における処理を説明するためのフローチャートである。ここでは、図15に示す符号データを例に、図12のフローチャート沿って処理内容を説明する。
FIG. 12 is a flowchart for explaining the processing in the
なお、図12において、ステップS1101,S1116はCパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1106はSパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1111はRパスについての残サブビットプレーン数の判定手段(工程)に相当する。ただし、ステップ1101では残サブビットプレーン数は1以上であることは明らかであり、また、ステップS1104,S1109,S1114で残サブビットプレーン数が1以上であることがチェツクされているため、実質的に、ステップS1101,S1111,S1116では残サブビットプレーン数が1以上かつ3以下であるかの判定をし、ステップS1106では残サブビットプレーン数が1以上かつ4以下であるかの判定をしている。
In FIG. 12, steps S1101 and S1116 correspond to a determination unit (step) for the number of remaining sub-bitplanes for the C path, and step S1106 corresponds to a determination unit (step) for the number of remaining sub-bitplanes for the S path. Step S1111 corresponds to determination means (process) for the number of remaining sub-bitplanes for the R path. However, it is clear that the number of remaining sub-bit planes is 1 or more in
図15は、符号データがサブビットプレーン分割された状態を示している。この例では、03→15→24・・・の符号データが順次並び、切り捨てポイントからサブビットプレーンは8枚切り捨てられ、残サブビットプレーン数が5の状態である。符号データ「03」についてはCパス、Cパス、Sパスの順に、符号データ「15」ではCパス、Sパスの順に、符号データ「24」ではCパス、Rパスの順に符号化パスが入力される。 FIG. 15 shows a state in which code data is divided into sub-bit planes. In this example, code data of 03 → 15 → 24... Are sequentially arranged, eight sub-bit planes are discarded from the truncation point, and the number of remaining sub-bit planes is five. For code data “03”, the C path, C path, and S path are input in this order, code data “15” is input in the order of C path and S path, and code data “24” is input in the order of C path and R path. Is done.
最初の符号データ「03」の処理において、まず残サブビットプレーン数≦3であるかの判定をする(S1101)。ここでは残サブビットプレーン数≦3(残サブビットプレーン数=5)でないため、Cパスの復号処理をする(S1103)。残サブビットプレーン数は4となった。 In the process of the first code data “03”, it is first determined whether the number of remaining sub-bitplanes ≦ 3 (S1101). Here, since the number of remaining sub-bit planes ≦ 3 (the number of remaining sub-bit planes = 5) is not satisfied, a C-path decoding process is performed (S1103). The number of remaining sub-bitplanes is 4.
次に、残サブビットプレーン数>0であるかを判定する(S1104)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=4)であるため、次の符号化パスがSパスであるかの判定をする(S1105)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1104). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 4), it is determined whether the next coding pass is the S pass (S1105).
ここではSパスでない。残サブビットプレーン数は3となった。残サブビットプレーン数>0であるかの判定をする(S1109)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=3)であるため、次の符号化パスがRパスであるかの判定をする(S1110)。 Here, it is not the S path. The number of remaining sub-bitplanes was 3. It is determined whether the number of remaining sub bit planes> 0 (S1109). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 3), it is determined whether the next coding pass is an R pass (S1110).
ここではRパスでない。残サブビットプレーン数は2となった。残サブビットプレーン数>0であるかの判定をする(S1114)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=2)であるため、次の符号化パスがCパスであるかの判定をする(S1115)。 Here, it is not an R path. The number of remaining sub-bitplanes is 2. It is determined whether the number of remaining sub bit planes> 0 (S1114). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 2), it is determined whether the next coding pass is the C pass (S1115).
ここではCパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1116)。残サブビットプレーン数≦3(残サブビットプレーン数=2)であるため、Cパスの復号処理をし、r値を加算する(S1117)。残サブビットプレーン数は1となった。 Here, since it is the C path, it is determined whether the number of remaining sub bit planes ≦ 3 (S1116). Since the number of remaining sub bit planes ≦ 3 (the number of remaining sub bit planes = 2), the C path decoding process is performed, and the r value is added (S1117). The number of remaining sub-bitplanes is 1.
ここでのr値の加算方法であるが、加算値rは任意0≦r<1であり、rを3/8とした場合、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
を加算する。なお、復号値が0のときは、加算しないものとする。ここでは、復号値が0なので加算しない。
Here, the addition method of the r value is as follows. The addition value r is arbitrary 0 ≦ r <1, and when r is 3/8, r · 2 ^ (bit plane Number-number of decoded bitplanes)
= R · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
Is added. When the decoded value is 0, no addition is performed. Here, since the decoded value is 0, no addition is performed.
次に、残サブビットプレーン数>0であるかを判定する(S1104)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがSパスであるかの判定をする(S1105)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1104). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is the S pass (S1105).
ここではSパスであるため、残サブビットプレーン数≦4であるかの判定をする(S1106)。残サブビットプレーン数≦4であるため、Sパスの復号処理し、r値を加算する(S1107)。残サブビットプレーン数は0となった。 Here, since the S path is used, it is determined whether the number of remaining sub bit planes ≦ 4 (S1106). Since the number of remaining sub-bitplanes ≦ 4, the S-pass decoding process is performed and the r value is added (S1107). The number of remaining sub-bitplanes is zero.
r値の加算方法であるが、加算値rは任意0≦r<1である。rを3/8とした場合、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-3)
=1
を加算する。なお、復号値が0のときは、加算しないものとする。ここでは、復号値が0なので加算しない。
Although the r value is added, the addition value r is arbitrarily 0 ≦ r <1. When r is 3/8, r · 2 ^ (number of bit planes−number of decoded bit planes) in the lowest bit plane to be processed
= R · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-3)
= 1
Is added. When the decoded value is 0, no addition is performed. Here, since the decoded value is 0, no addition is performed.
次に、残サブビットプレーン数>0であるかを判定する(S1109)。ここでは残サブビットプレーン数=0であるため、終了する(S1119)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1109). Here, since the number of remaining sub-bitplanes = 0, the process ends (S1119).
次の符号データ「15」について同様に処理する。初めの残サブビットプレーン数は5であるので(S1101,N)、Cパスの復号処理をする(S1103)。残サブビットプレーン数は4となった。 The next code data “15” is processed in the same manner. Since the initial number of remaining sub-bitplanes is 5 (S1101, N), the C path decoding process is performed (S1103). The number of remaining sub-bitplanes is 4.
残サブビットプレーン数>0であるので(S110,Y)、次の符号化パスがSパスであるかの判定をする(S1105)。ここではSパスであるので、残サブビットプレーン数≦4であるかの判定をする(S1106)。 Since the number of remaining sub-bitplanes> 0 (S110, Y), it is determined whether the next coding pass is an S pass (S1105). Here, since it is the S path, it is determined whether or not the number of remaining sub bit planes ≦ 4 (S1106).
ここでは、残サブビットプレーン数≦4であるため、Sパスの復号処理し、r値を加算する(S1107)。残サブビットプレーン数は3となった。 Here, since the number of remaining sub-bitplanes ≦ 4, the S pass decoding process is performed and the r value is added (S1107). The number of remaining sub-bitplanes was 3.
ここでのr値の加算方法であるが、rを3/8とした場合、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
を加算する。なお、復号値が0のときは、加算しないものとする。加算する前に、最下位ビットプレーンより下のビットプレーンにビットが存在するかの判定をし、存在しているときには、そのビットを減算した後に上記加算値を加算する。ここでは、01000であり、最下位ビットプレーンより下のビットプレーンにビットが存在しない(000である)ので、減算をせず、そのまま加算することになる。加算後は01011となる。
Here, the r value is added, but when r is 3/8, r · 2 ^ (number of bit planes−number of decoded bit planes) is the lowest bit plane to be processed.
= R · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
Is added. When the decoded value is 0, no addition is performed. Before adding, it is determined whether or not a bit exists in a bit plane below the least significant bit plane, and if it exists, the added value is added after subtracting the bit. Here, it is 01000, and there is no bit in the bit plane below the least significant bit plane (000), so the subtraction is not performed and the addition is performed as it is. After the addition, it becomes 01011.
次に、残サブビットプレーン数>0であるかを判定する(S1109)。残サブビットプレーン数>0(残サブビットプレーン数=3)であるため、次の符号化パスがRパスであるかの判定をする(S1110)。ここではRパスでない。残サブビットプレーン数は2となった。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1109). Since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 3), it is determined whether the next coding pass is an R pass (S1110). Here, it is not an R path. The number of remaining sub-bitplanes is 2.
残サブビットプレーン数>0であるかを判定する(S1114)。残サブビットプレーン数>0(残サブビットプレーン数=2)であるため、次の符号化パスがCパスであるかの判定をする(S1115)。ここでは、Cパスでない。残サブビットプレーン数は1となった。 It is determined whether the number of remaining sub bit planes> 0 (S1114). Since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 2), it is determined whether the next coding pass is a C pass (S1115). Here, it is not the C path. The number of remaining sub-bitplanes is 1.
次に、残サブビットプレーン数>0であるかを判定する(S1104)。残サブビットプレーン数>0(残サブビットプレーン数=1)でないため、次の符号化がSパスであるかの判定をする(S1105)。ここではSパスでない。残サブビットプレーン数は0となった。残サブビットプレーン数>0ではないため(S1109,N)、2番目の符号データの処理を終了する(S1119)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1104). Since the number of remaining sub bit planes is not greater than 0 (the number of remaining sub bit planes = 1), it is determined whether the next encoding is an S pass (S1105). Here, it is not the S path. The number of remaining sub-bitplanes is zero. Since the number of remaining sub bit planes is not greater than 0 (N in S1109), the processing of the second code data is terminated (S1119).
3番目以降の符号データについても同様に処理する。 The same processing is performed for the third and subsequent code data.
ここで、C,Rパスについては残サブビットプレーン数が1以上かつ3以上であることをリコンストラクション値の加算処理の必要条件としているのに対し、Sパスについては残サブビットプレーン数が1以上かつ4以下であることをリコンストラクション値の加算処理を行うための必要条件としている理由について説明する。各々の符号データはS,R,Cパスのいずれかに存在するので、最下位サブビットプレーンから上3つのサブビットプレーンを加算処理の対象とすれば、最小限の加算処理で画質劣化を抑制できるはずである。しかし、サブビットプレーンの切り捨てポイントによっては、符号データがS,R,Cパスのいずれかに存在しない場合がある。図15のようにSパスで切り捨てられている場合である。2番目の符号データ「15」の場合、最下位サブビットプレーンから上3つ(RCSの順)のいずれのパスにもパスが存在しない。これは、Sパスの場合、次に出てくるパスはSパスかRパスであるため、最下位サブビットプレーンから上4つ目のSパスのように、次に出てくるパスがRパスであった場合、加算処理がされないことになる。そこで、Sパスについては最下位サブビットプレーンから上4つ(SRCSの順)のサブビットプレーンも加算処理の対象とすることにより、図15の例のような場合においても確実に必要な加算処理を行って画質劣化を抑制できるようにしている。 Here, for the C and R paths, the number of remaining sub-bit planes is 1 or more and 3 or more, which is a necessary condition for the addition processing of reconstruction values, whereas for the S path, the number of remaining sub-bit planes is 1 The reason why the above and 4 or less is a necessary condition for performing the addition process of the reconstruction value will be described. Since each code data exists in one of the S, R, and C paths, if the upper three sub-bit planes from the least significant sub-bit plane are targeted for addition processing, image quality degradation is suppressed with minimum addition processing. It should be possible. However, depending on the truncation point of the sub bit plane, the code data may not exist in any of the S, R, and C paths. This is a case where the data is truncated by the S pass as shown in FIG. In the case of the second code data “15”, there is no path in any of the upper three paths (in order of RCS) from the least significant sub-bit plane. This is because, in the case of the S path, the next path that comes out is the S path or the R path, so the next path that comes out is the R path, such as the upper fourth S path from the least significant subbit plane. If it is, the addition process is not performed. Therefore, with respect to the S path, the upper four sub-bit planes (in order of SRCS) from the least significant sub-bit plane are also subject to addition processing, so that the necessary addition processing is ensured even in the case of the example of FIG. To prevent image quality degradation.
残サブビットプレーン数と比較される設定値がS,R,Cパスともに3に設定され、残サビビットプレーン数=0の場合にリコンストラクション値の加算処理の要否を判定する態様の一実施例について説明する。 An embodiment for determining whether or not the addition process of the reconstruction value is necessary when the set value to be compared with the number of remaining sub-bitplanes is set to 3 for all of the S, R, and C paths and the number of remaining subbitplanes = 0 An example will be described.
図13は、エントロピ復号化手段3の処理を説明するためのフローチャートである。ここでは、図15に示す符号データを例に、図13のフローチャート沿って処理内容を説明する。
FIG. 13 is a flowchart for explaining the processing of the
なお、図13において、ステップS1201,S1216はCパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1206はSパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1211はRパスについての残サブビットプレーン数の判定手段(工程)に相当し、ステップS1219は残サブビットプレーン=0の場合にリコンストラクション値の加算処理の要否を判定する手段(工程)に相当する。ただし、ステップ1201では残サブビットプレーン数は1以上であることは明らかであり、また、ステップS1204,S1209,S1214で残サブビットプレーン数が1以上であることがチェツクされているため、実質的に、ステップS1201,S1206,S1211,S1216では残サブビットプレーン数が1以上かつ3(設定値)以下であるかの判定をしている。 In FIG. 13, steps S1201 and S1216 correspond to the determination means (step) for the number of remaining sub-bitplanes for the C path, and step S1206 corresponds to the determination means (step) for the number of remaining sub-bitplanes for the S path. Step S1211 corresponds to means for determining the number of remaining sub-bitplanes for the R path (step), and step S1219 is means for determining whether or not the addition process of the reconstruction value is necessary when the remaining sub-bitplane = 0. Corresponds to the step). However, it is clear that the number of remaining sub-bit planes is 1 or more in step 1201, and that the number of remaining sub-bit planes is checked to be 1 or more in steps S1204, S1209, and S1214. In steps S1201, S1206, S1211, and S1216, it is determined whether the number of remaining sub-bitplanes is 1 or more and 3 (set value) or less.
最初の符号データ「03」では、まず残サブビットプレーン数≦3であるかの判定をする(S1201)。ここでは残サブビットプレーン数≦3(残サブビットプレーン数=5)でないため、Cパスの復号処理をする(S1203)。残サブビットプレーン数は4となった。 In the first code data “03”, it is first determined whether or not the number of remaining sub-bitplanes ≦ 3 (S1201). Here, since the number of remaining sub-bit planes ≦ 3 (the number of remaining sub-bit planes = 5) is not satisfied, a C path decoding process is performed (S1203). The number of remaining sub-bitplanes is 4.
残サブビットプレーン数>0であるため(S1204,Y)、次の符号化パスがSパスであるかの判定をする(S1205)。ここでは、Sパスでない。残サブビットプレーン数は3となった。 Since the number of remaining sub-bitplanes> 0 (S1204, Y), it is determined whether the next coding pass is the S pass (S1205). Here, it is not the S path. The number of remaining sub-bitplanes was 3.
残サブビットプレーン数>0であるかを判定する(S1209)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=3)であるため、次の符号化パスがRパスであるかの判定をする(S1210)。ここではRパスでない。残サブビットプレーン数は2となった。 It is determined whether the number of remaining sub bit planes> 0 (S1209). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 3), it is determined whether the next coding pass is an R pass (S1210). Here, it is not an R path. The number of remaining sub-bitplanes is 2.
残サブビットプレーン数>0であるかを判定する(S1214)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=2)であるため、次の符号化パスCパスであるかの判定をする(S1215)。 It is determined whether the number of remaining sub bit planes> 0 (S1214). Here, since the number of remaining sub-bit planes> 0 (the number of remaining sub-bit planes = 2), it is determined whether or not it is the next coding pass C pass (S1215).
ここではCパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1216)。残サブビットプレーン数≦3(残サブビットプレーン数=2)であるため、Cパスの復号処理をし、r値を加算する(S1217)。残サブビットプレーン数は1となった。 Here, since it is the C path, it is determined whether or not the number of remaining sub bit planes ≦ 3 (S1216). Since the number of remaining sub bit planes ≦ 3 (the number of remaining sub bit planes = 2), the C path decoding process is performed and the r value is added (S1217). The number of remaining sub-bitplanes is 1.
ここでのr値の加算方法であるが、処理対象である最下位ビットプレーンに
r・2^(ビットプレーン数‐復号化されたビットプレーン数)
を加算する。rを3/8とした場合、実際は下記の値を加算することになる。
加算値=r・2^(ビットプレーン数‐復号化されたビットプレーン数)
=3/8・2^(5-2)
=3
なお、復号値が0のときは、加算しないものとする。ここでは、復号値が0なので加算しない。
Here, the r value addition method is such that r · 2 ^ (number of bit planes−number of decoded bit planes) is added to the least significant bit plane to be processed.
Is added. When r is 3/8, the following values are actually added.
Addition value = r · 2 ^ (number of bit planes−number of decoded bit planes)
= 3/8 ・ 2 ^ (5-2)
= 3
When the decoded value is 0, no addition is performed. Here, since the decoded value is 0, no addition is performed.
次に、残サブビットプレーン数>0であるかを判定する(S1204)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがSパスであるかの判定をする(S1205)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1204). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is the S pass (S1205).
ここではSパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1206)。残サブビットプレーン数≦3であるため、Sパスの復号処理しr値を加算する(S1207)。残サブビットプレーン数は0となった。 Here, since the S path is used, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1206). Since the number of remaining sub-bitplanes ≦ 3, the S-pass decoding process is performed and the r value is added (S1207). The number of remaining sub-bitplanes is zero.
次に、残サブビットプレーン数>0であるかを判定する(S1209)。ここでは、残サブビットプレーン数>0でないため、r値を加算するかの判定をし(S1219)、加算すると判定したときにはr値を加算する(S1220)。 Next, it is determined whether or not the number of remaining sub bit planes> 0 (S1209). Here, since the number of remaining sub-bitplanes is not> 0, it is determined whether or not the r value is to be added (S1219), and if it is determined to be added, the r value is added (S1220).
このr値を加算するか否かの判定は、例えば最下位ビットプレーンにr値が加算されているかどうかで判定できる。r値が加算されているかどうかの判定は、最下位ビットプレーンよりも下のビットプレーンにビットが存在するかどうかで判定できる。ビットが存在していれば、すでにr値が加算されているものと判断できるので、そのまま終了する(S1221)。ビットが存在していなければ、r値が加算されていないと判断できるので、「復号されたビットプレーン数(ここでは、3である)-1」のビットプレーンに加算する(S1220)。ここでの加算値は、
加算値=r・2^(ビットプレーン数‐(復号化されたビットプレーン数-1))
=3/8・2^(5-(3-1))
=3
となる。なお、復号値が0のときは、加算しないものとする。この例では、復号値が0なので加算しないと判定され、終了する(S1221)。ただし、ステップS1219での判定方法は上記方法に限られるものではない。
The determination as to whether or not to add the r value can be made, for example, based on whether or not the r value is added to the least significant bit plane. Whether or not the r value is added can be determined by whether or not there is a bit in a bit plane below the least significant bit plane. If there is a bit, it can be determined that the r value has already been added, and the process is terminated as it is (S1221). If there is no bit, it can be determined that the r value has not been added, and therefore, it is added to the bit plane of “the number of decoded bit planes (here, 3) −1” (S1220). The added value here is
Addition value = r · 2 ^ (number of bit planes− (number of decoded bit planes−1))
= 3/8 ・ 2 ^ (5- (3-1))
= 3
It becomes. When the decoded value is 0, no addition is performed. In this example, since the decoded value is 0, it is determined not to be added, and the process ends (S1221). However, the determination method in step S1219 is not limited to the above method.
以上により最初の符号データ「03」の処理を終了した。 This completes the process of the first code data “03”.
次の符号化データ「15」について同様に処理する。まず、残サブビットプレーン数≦3であるかの判定をする(S1201)。ここでは、残サブビットプレーン数≦3(残サブビットプレーン数=5)でないため、Cパスの復号処理をする(S1203)。残サブビットプレーン数は4となった。 The next encoded data “15” is processed in the same manner. First, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1201). Here, since the number of remaining sub-bitplanes ≦ 3 (the number of remaining sub-bitplanes = 5) is not satisfied, C-path decoding processing is performed (S1203). The number of remaining sub-bitplanes is 4.
次に残サブビットプレーン数>0であるかを判定する(S1204)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=4)であるため、次の符号化パスがSパスであるかの判定をする(S1205)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1204). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 4), it is determined whether the next coding pass is the S pass (S1205).
ここではSパスであるため、残サブビットプレーン数≦3であるかの判定をする(S1206)。ここでは、残サブビットプレーン数≦3でないため、Sパスの復号処理する(S1208)。残サブビットプレーン数は3となった。 Here, since the S path is used, it is determined whether the number of remaining sub-bitplanes ≦ 3 (S1206). Here, since the number of remaining sub-bitplanes is not ≦ 3, S-path decoding processing is performed (S1208). The number of remaining sub-bitplanes was 3.
次に、残サブビットプレーン数>0であるかを判定する(S1209)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=3)であるため、次の符号化パスがRパスであるかの判定をする(S1210)。ここでは、Rパスでない。残サブビットプレーン数は2となった。 Next, it is determined whether or not the number of remaining sub bit planes> 0 (S1209). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 3), it is determined whether the next coding pass is an R pass (S1210). Here, it is not the R path. The number of remaining sub-bitplanes is 2.
次に、残サブビットプレーン数>0であるかを判定する(S1214)。ここでは、残サブビットプレーン数>0(残サブビットプレーン数=2)であるため、次の符号化パスがCパスであるかの判定をする(S1215)。 Next, it is determined whether the number of remaining sub bit planes> 0 (S1214). Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 2), it is determined whether the next coding pass is a C pass (S1215).
ここでは、Cパスでない。残サブビットプレーン数は1となった。次に、残サブビットプレーン数>0であるかを判定する(S1204)。 Here, it is not the C path. The number of remaining sub-bitplanes is 1. Next, it is determined whether the number of remaining sub bit planes> 0 (S1204).
ここでは、残サブビットプレーン数>0(残サブビットプレーン数=1)であるため、次の符号化パスがSパスであるかの判定をする(S1205)。ここでは、Sパスでない。残サブビットプレーン数は0となった。 Here, since the number of remaining sub bit planes> 0 (the number of remaining sub bit planes = 1), it is determined whether the next coding pass is the S pass (S1205). Here, it is not the S path. The number of remaining sub-bitplanes is zero.
残サブビットプレーン数>0であるため、r値を加算するかの判定をする(S1219)。r値を加算するかの判定方法は、上記に記述してある方法と同様に行う。r=3/8とすると、
加算値=r・2^(ビットプレーン数‐(復号化されたビットプレーン数-1))
=3/8・2^(5-(3-1))
=3
を加算することになる。ここでの復号値は01000となっていて、最下位ビットプレーン(3番目)よりも下のビットプレーンにビットが存在していないため、加算すると判定される。上記加算値を復号値に加算し(S1220)、終了する(S1221)。よって、加算後は01011となる。
Since the number of remaining sub-bitplanes> 0, it is determined whether or not the r value is added (S1219). The method for determining whether or not to add the r value is the same as the method described above. If r = 3/8,
Addition value = r · 2 ^ (number of bit planes− (number of decoded bit planes−1))
= 3/8 ・ 2 ^ (5- (3-1))
= 3
Will be added. The decoded value here is 01000, and since there is no bit in the bit plane below the least significant bit plane (third), it is determined to add. The added value is added to the decoded value (S1220), and the process ends (S1221). Therefore, it becomes 01011 after the addition.
このように、本実施例によれば、S,R,Cパスともに設定値=3としているが、Sパスについて設定値=4とした前記実施例2の場合と同様の処理結果を得ることができる。これについて説明する。 As described above, according to the present embodiment, the set value = 3 is set for all of the S, R, and C paths, but the same processing result as in the second embodiment in which the set value = 4 is set for the S path can be obtained. it can. This will be described.
符号データはS,R,Cパスのいずれかに存在する。そのため、最下位サブビットプレーンから上3つのサブビットプレーンに対して、加算処理することにより、最小限の加算処理となる。しかし、サブビットプレーンの切り捨てポイントによって、各々の符号化データがS,R,Cパスのいずれかに存在しない場合がある。図15のようにSパスで切り捨てられている場合である。2番目の符号データ「15」の場合、最下位サブビットプレーンから上3つ(RCSの順)のいずれのパスにも符号化パスが存在しない。これは、Sパスの場合、次に出てくる符号化パスはSパスかRパスであるため、最下位サブビットプレーンから上4つ目のSパスのように、次に出てくる符号化パスがRパスであった場合、加算処理がされないことになる。そこで、ステップS1219で加算処理を行うかの判断し、加算処理を行うと判断された場合、加算処理を行うようにすることで、画質劣化の抑制を達成することができるようになる。 Code data exists in one of S, R, and C paths. Therefore, the addition process is performed on the upper three sub-bit planes from the least significant sub-bit plane, thereby minimizing the addition process. However, depending on the truncation point of the sub-bit plane, each encoded data may not exist in any of the S, R, and C paths. This is a case where the data is truncated by the S pass as shown in FIG. In the case of the second code data “15”, there is no coding path in any of the upper three paths (in order of RCS) from the least significant sub-bit plane. This is because, in the case of the S pass, the next encoding pass is either the S pass or the R pass, so that the next encoding passes like the upper fourth S pass from the least significant sub-bit plane. If the path is an R path, the addition process is not performed. Accordingly, in step S1219, it is determined whether or not the addition process is to be performed. If it is determined that the addition process is to be performed, by performing the addition process, it is possible to achieve suppression of image quality degradation.
以上、本発明に係る復号装置について実施形態を詳細に説明したが、これは本発明に係る復号方法の説明でもあることは明らかである。 As mentioned above, although embodiment was described in detail about the decoding apparatus concerning this invention, it is clear that this is also description of the decoding method concerning this invention.
また、CPU、メインメモリ、ハードディスク装置等を備える一般的なコンピュータを、本発明の復号装置として機能させることも可能であることは明らかである。そのためのプログラムは、例えばハードディスク装置や外部記憶媒体からメインメモリに読み込まれ、CPUにより実行されることになる。この場合、JPEG2000の符号データは例えばハードディスク装置や外部機器よりメインメモリに読み込まれて処理され、メインメモリ上に得られる処理結果は、ディスプレイに表示されたり、ハードディスク装置に保存されたりすることになろう。このようなプログラム、及び、それが記録された半導体記憶素子、磁気ディスク、光ディスク、光磁気ディスク等のコンピュータが読み取り可能な各種の記録(記憶)媒体も本発明に包含される。 Further, it is obvious that a general computer including a CPU, a main memory, a hard disk device, etc. can function as the decoding device of the present invention. The program for this is read into the main memory from, for example, a hard disk device or an external storage medium, and is executed by the CPU. In this case, JPEG2000 code data is read into the main memory and processed from, for example, a hard disk device or an external device, and the processing result obtained on the main memory is displayed on the display or stored in the hard disk device. Let's go. Such a program and various recording (storage) media that can be read by a computer such as a semiconductor storage element, a magnetic disk, an optical disk, and a magneto-optical disk in which the program is recorded are also included in the present invention.
1 符号データ入力手段
2 ヘッダ開設手段
3 エントロピ復号化手段
4 スカラ逆量子化手段
5 逆ウェーブレット変換手段、
6 カラー変換手段
7 DCレベルシフト手段
8 画像データ出力手段
1 Code data input means 2 Header establishment means 3 Entropy decoding means 4 Scalar inverse quantization means 5 Inverse wavelet transform means,
6 Color conversion means 7 DC level shift means 8 Image data output means
Claims (8)
エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか否か判定する判定手段を有し、
前記判定手段により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、
前記設定値を3に設定したことを特徴とする復号装置。 JPEG2000 decoding device,
Determining means for determining whether the number of remaining sub-bitplanes is greater than or equal to 1 and less than or equal to a set value before processing of an encoding pass in an entropy decoding process
The determination unit determines that the number of remaining sub-bitplanes is 1 or more and a setting value or less as a necessary condition for performing reconstruction value addition processing after processing of the coding pass ,
A decoding apparatus characterized in that the set value is set to 3 .
エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか否か判定する判定手段を有し、 Determining means for determining whether the number of remaining sub-bitplanes is greater than or equal to 1 and less than or equal to a set value before processing of an encoding pass in an entropy decoding process;
前記判定手段により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、 The determination unit determines that the number of remaining sub-bitplanes is 1 or more and a setting value or less as a necessary condition for performing reconstruction value addition processing after processing of the coding pass,
前記設定値を、Magnitude Refinementパス及びCleanupパスについては3に設定し、Significant Propagationパスについては4に設定したことを特徴とする復号装置。 3. A decoding apparatus according to claim 1, wherein the setting value is set to 3 for the Magnitude Refinement path and the Cleanup path, and 4 to the Significant Propagation path.
エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか判定する判定工程を有し、 A determination step of determining whether the number of remaining sub-bitplanes is not less than 1 and not more than a set value before processing of an encoding pass in an entropy decoding process;
前記判定工程により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、 The determination step determines that the number of remaining sub-bitplanes is 1 or more and less than or equal to a set value as a necessary condition for performing reconstruction value addition processing after encoding pass processing,
前記設定値を3に設定したことを特徴とする復号方法。 A decoding method, wherein the set value is set to 3.
エントロピ復号処理過程において符号化パスの処理前に残サブビットプレーン数が1以上かつ設定値以下であるか判定する判定工程を有し、
前記判定工程により残サブビットプレーン数が1以上かつ設定値以下であると判定されたことを、符号化パスの処理後にリコンストラクション値の加算処理を行うための必要条件とし、
前記設定値を、Magnitude Refinementパス及びCleanupパスについては3に設定し、Significant Propagationパスについては4に設定したことを特徴とする復号方法。 JPEG2000 decoding method,
A determination step of determining whether the number of remaining sub-bitplanes is not less than 1 and not more than a set value before processing of an encoding pass in an entropy decoding process;
The determination step determines that the number of remaining sub-bitplanes is 1 or more and less than or equal to a set value as a necessary condition for performing reconstruction value addition processing after encoding pass processing ,
A decoding method , wherein the setting value is set to 3 for the Magnitude Refinement path and the Cleanup path, and set to 4 for the Significant Propagation path .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008083069A JP4986906B2 (en) | 2008-03-27 | 2008-03-27 | Decoding device, decoding method, program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008083069A JP4986906B2 (en) | 2008-03-27 | 2008-03-27 | Decoding device, decoding method, program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009239615A JP2009239615A (en) | 2009-10-15 |
| JP4986906B2 true JP4986906B2 (en) | 2012-07-25 |
Family
ID=41253047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008083069A Expired - Fee Related JP4986906B2 (en) | 2008-03-27 | 2008-03-27 | Decoding device, decoding method, program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4986906B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4365957B2 (en) * | 1999-11-05 | 2009-11-18 | キヤノン株式会社 | Image processing method and apparatus and storage medium |
| JP2003189107A (en) * | 2001-12-13 | 2003-07-04 | Canon Inc | Image decoding method and apparatus |
| JP4114144B2 (en) * | 2003-03-25 | 2008-07-09 | 日本ビクター株式会社 | Image encoding device, image encoding program, and image decoding program |
| JP2006166075A (en) * | 2004-12-08 | 2006-06-22 | Victor Co Of Japan Ltd | Image encoder and image encoding program, and image decoder and image decoding program |
-
2008
- 2008-03-27 JP JP2008083069A patent/JP4986906B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009239615A (en) | 2009-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11178421B2 (en) | Method and apparatus for encoding/decoding images using adaptive motion vector resolution | |
| KR100425615B1 (en) | Encoding method and encoding apparatus and decoding method and decoding apparatus | |
| CN107529060B (en) | Method and apparatus for determining a context model and computer recordable medium | |
| JP5775084B2 (en) | Method and apparatus for encoding and decoding mode information | |
| US9699458B2 (en) | Image encoding apparatus, image encoding method, image decoding apparatus, and image decoding method | |
| CN101939993B (en) | Encoding filter coefficients | |
| JP5258664B2 (en) | Image coding apparatus, method and program, and image decoding apparatus, method and program | |
| US7483584B2 (en) | Extended hybrid variable length coding of transform coefficients for video compression | |
| JP6532467B2 (en) | Method and apparatus for syntax element coding in video coding and decoding | |
| US7418146B2 (en) | Image decoding apparatus | |
| KR20080082147A (en) | Context-based Adaptive Binary Arithmetic Coding and Decoding Method and Apparatus | |
| US20220046269A1 (en) | Method and apparatus for encoding/decoding images using adaptive motion vector resolution | |
| JP4808928B2 (en) | Transform factor compression using multiple scans | |
| US10652541B2 (en) | Method and device for encoding video data | |
| JP2008167449A (en) | Video encoding and decoding method and apparatus | |
| KR20160057311A (en) | Picture encoding program, picture encoding method and picture encoding apparatus, and picture decoding program | |
| US10735733B2 (en) | Method and device for encoding video data | |
| CN112449201B (en) | Decoding method, encoding method, corresponding devices, electronic equipment and storage medium | |
| JP4986906B2 (en) | Decoding device, decoding method, program, and recording medium | |
| CN101841701B (en) | Codec method and device based on macroblock pair | |
| KR100717002B1 (en) | An image encoding and decoding apparatus, a method thereof, and a recording medium having recorded thereon a program for performing the same. | |
| CN112449186B (en) | Encoding method, decoding method, corresponding devices, electronic equipment and storage medium | |
| KR100612850B1 (en) | Method and apparatus for predicting discrete cosine transform coefficients | |
| JP5412901B2 (en) | Decoding device, image processing device, decoding method and program | |
| JP4737665B2 (en) | Code processing apparatus, code processing method, program, and information recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101008 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120216 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120222 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120326 |
|
| 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: 20120418 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120424 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4986906 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150511 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |