JP2013038758A - Image encoder, image encoding method, program, image decoder, image decoding method and program - Google Patents
Image encoder, image encoding method, program, image decoder, image decoding method and program Download PDFInfo
- Publication number
- JP2013038758A JP2013038758A JP2011243937A JP2011243937A JP2013038758A JP 2013038758 A JP2013038758 A JP 2013038758A JP 2011243937 A JP2011243937 A JP 2011243937A JP 2011243937 A JP2011243937 A JP 2011243937A JP 2013038758 A JP2013038758 A JP 2013038758A
- Authority
- JP
- Japan
- Prior art keywords
- quantization matrix
- unit
- quantization
- decoding
- encoding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
- H04N19/126—Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
【課題】 従来の符号化方式や現在標準化活動中のHEVC符号化方式においては、直交変換の形状が従来の正方形以外に存在する場合でも対応する量子化マトリクスが定義できず、直交変換の形状に最適な量子化マトリクスを適用することができなかった。
【解決手段】 入力画像を複数のブロックに分割し、分割されたブロックに対して符号化済みのブロックから予測を行い、予測誤差を生成し、正方形ないし長方形の複数の直交変換の処理ブロック形状から、使用する処理ブロック形状を決定し、生成された予測誤差に前記決定された直交変換を行い、変換係数を生成し、決定された直交変換の処理ブロック形状に基づいて量子化マトリクスを選択し、選択された量子化マトリクスを用いて変換係数を量子化して量子化係数を生成し、生成された量子化係数を符号化する。
【選択図】 図1PROBLEM TO BE SOLVED: In a conventional coding method or a HEVC coding method currently being standardized, a corresponding quantization matrix cannot be defined even when the shape of orthogonal transformation exists other than the conventional square, and the shape of the orthogonal transformation is obtained. The optimal quantization matrix could not be applied.
An input image is divided into a plurality of blocks, the divided blocks are predicted from coded blocks, a prediction error is generated, and a plurality of square or rectangular orthogonal transform processing block shapes are used. Determining a processing block shape to be used, performing the determined orthogonal transform on the generated prediction error, generating a transform coefficient, selecting a quantization matrix based on the determined processing block shape of the orthogonal transform, The transform coefficient is quantized using the selected quantization matrix to generate a quantized coefficient, and the generated quantized coefficient is encoded.
[Selection] Figure 1
Description
本発明は画像符号化装置、画像符号化方法及びプログラム、画像復号装置、画像復号方法及びプログラムに関し、特に量子化方法及び量子化マトリクスの符号化方法・復号方法に関する。 The present invention relates to an image encoding device, an image encoding method and program, an image decoding device, an image decoding method and a program, and more particularly to a quantization method and a quantization matrix encoding method and decoding method.
動画像の圧縮記録方法として、H.264/MPEG−4 AVC(以下H.264)が知られている。(非特許文献1)
H.264においてはscaling_list情報を符号化することにより、量子化マトリクスの各要素を任意の値に変更することができる。非特許文献1によれば、直前の要素に差分値であるdelta_scaleを加算することで量子化マトリクスの各要素は任意の値をとることができる。
As a method for compressing and recording a moving image, H.264 is used. H.264 / MPEG-4 AVC (hereinafter referred to as H.264) is known. (Non-Patent Document 1)
H. In H.264, each element of the quantization matrix can be changed to an arbitrary value by encoding scaling_list information. According to
近年、H.264の後継としてさらに高効率な符号化方式の国際標準化を行う活動が開始された。JCT−VC(Joint Collaborative Team on Video Coding)がISO/IECとITU−Tの間で設立され、HEVC(High Efficiency Video Coding)符号化方式(以下、HEVC)として標準化が進められている。 In recent years, H.C. As a successor to H.264, activities to start international standardization of a more efficient coding method have started. JCT-VC (Joint Collaborative Team on Video Coding) was established between ISO / IEC and ITU-T, and standardized as HEVC (High Efficiency Video Coding) (hereinafter, HEVC).
JCT−VCでは対象となる画面サイズの増大に伴い、従来のマクロブロック(16×16画素)より大きなブロックサイズでの分割が検討されている。この大きなサイズの基本ブロックはLCU(Largest Coding Unit)と呼ばれ、そのサイズは最大64×64画素として検討が進められている。(非特許文献2)LCUはさらに予測や変換を行う単位となるサブブロックに分割される。 In JCT-VC, division with a larger block size than a conventional macroblock (16 × 16 pixels) is being studied as the target screen size increases. This large-sized basic block is called an LCU (Large Coding Unit), and studies are underway with a maximum size of 64 × 64 pixels. (Non-patent document 2) The LCU is further divided into sub-blocks which are units for performing prediction and conversion.
符号化効率向上のため、正方形サブブロックをベースとした従来のイントラ予測・直交変換方法に加えて短距離イントラ予測といった長方形サブブロックをベースとしたイントラ予測・直交変換方法が検討されている。(非特許文献3)図2に短距離イントラ予測に用いられるサブブロック分割の一例を表す。図2の200は、基本ブロックを表しており、説明を簡易にするため、16×16画素の構成とし、太枠内の各四角形はサブブロックを表すものとする。図2の200は従来の正方形サブブロック分割の一例を表しており、16×16画素の基本ブロックは8×8画素または4×4画素の正方形のサブブロックに分割されている。一方、図2の201、202は短距離イントラ予測を用いた長方形サブブロック分割の一例を表しており、16×16画素の基本ブロックは4×16または16×4画素の長方形のサブブロックに分割されている。このように正方形だけでなく長方形のサブブロックも用いて符号化処理を行っている。 In order to improve coding efficiency, an intra prediction / orthogonal transform method based on a rectangular sub-block such as a short-range intra prediction is being studied in addition to a conventional intra prediction / orthogonal transform method based on a square sub-block. (Non-Patent Document 3) FIG. 2 shows an example of sub-block division used for short-range intra prediction. 200 in FIG. 2 represents a basic block, and in order to simplify the description, it is assumed that the configuration is 16 × 16 pixels, and each square in the thick frame represents a sub-block. 2 represents an example of a conventional square sub-block division. A basic block of 16 × 16 pixels is divided into square sub-blocks of 8 × 8 pixels or 4 × 4 pixels. On the other hand, 201 and 202 in FIG. 2 represent an example of rectangular sub-block division using short-range intra prediction, and a basic block of 16 × 16 pixels is divided into rectangular sub-blocks of 4 × 16 or 16 × 4 pixels. Has been. In this way, encoding processing is performed using not only a square but also a rectangular sub-block.
HEVCにおいても、H.264と同様に量子化マトリクスの各要素を任意の値に設定できるような仕組みを導入することが考えられている。さらにHEVCでは、正方形だけでなく長方形のサブブロック分割およびそれに対応した直交変換の形状が検討されているが、それぞれの直交変換の結果の係数の分布は直交変換の形状によって異なる。そのため、直交変換の形状と量子化マトリクスが適合していない場合、適切に量子化が行われず、画質に大きな劣化を生じることになる。したがって、本発明は上述した課題を解決するためになされたものであり、直交変換の形状に応じて適応的に量子化マトリクスを使用することを目的としている。さらに、直交変換の形状ごとに量子化マトリクスを設定する際にその符号量を抑制することを目的としている。 Also in HEVC, H.C. As in the case of H.264, it is considered to introduce a mechanism capable of setting each element of the quantization matrix to an arbitrary value. Further, in HEVC, not only squares but also rectangular sub-block divisions and orthogonal transform shapes corresponding thereto are studied, but the distribution of coefficients resulting from the respective orthogonal transforms differs depending on the orthogonal transform shapes. For this reason, when the shape of the orthogonal transform and the quantization matrix do not match, the quantization is not appropriately performed, and the image quality is greatly deteriorated. Accordingly, the present invention has been made to solve the above-described problems, and an object thereof is to adaptively use a quantization matrix in accordance with the shape of orthogonal transform. Furthermore, it aims at suppressing the code amount when setting a quantization matrix for every shape of orthogonal transformation.
上述の問題点を解決するため、本発明の画像符号化装置は以下の構成を有する。すなわち、入力画像を複数のブロックに分割するブロック分割手段と、ブロック分割手段によって分割されたブロックに対して符号化済みのブロックから予測を行い、予測誤差を生成する予測手段と、正方形ないし長方形の複数の直交変換の処理ブロック形状から、使用する処理ブロック形状を決定し、前記予測手段によって生成された予測誤差に前記決定された直交変換を行い、変換係数を生成する変換手段と、前記変換手段によって決定された直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択手段と、前記量子化マトリクス選択手段によって選択された量子化マトリクスを用いて変換係数を量子化して量子化係数を生成する量子化手段と、前記量子化手段によって生成された量子化係数を符号化する係数符号化手段とを有する。 In order to solve the above-described problems, the image coding apparatus of the present invention has the following configuration. That is, a block dividing unit that divides an input image into a plurality of blocks, a prediction unit that performs prediction from a block that has been encoded with respect to the blocks divided by the block dividing unit, and generates a prediction error; A transform unit that determines a processing block shape to be used from a plurality of processing block shapes of orthogonal transform, performs the determined orthogonal transform on the prediction error generated by the prediction unit, and generates a transform coefficient; and the transform unit Quantization matrix selection means for selecting a quantization matrix based on the processing block shape of the orthogonal transformation determined by the step, and quantizing by quantizing the transform coefficient using the quantization matrix selected by the quantization matrix selection means Quantization means for generating coefficients, and encoding the quantized coefficients generated by the quantization means And a coefficient encoding means that.
さらに、本発明の画像復号装置は以下の構成を有する。すなわち、入力されたビットストリームから必要な符号を分離する復号手段と、前記復号手段によって復号された情報から、逆直交変換の処理ブロック形状を決定する決定手段と、復号手段によって復号された情報から、量子化係数を復号する係数復号手段と、前記係数復号手段によって復号された量子化係数を逆量子化する際に用いられる量子化マトリクスを復号する量子化マトリクス復号手段と、前記決定手段によって決定された逆直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択手段と、前記量子化マトリクス選択手段によって選択された量子化マトリクスを用いて、前記係数復号手段によって復号された量子化係数を逆量子化して変換係数を生成する逆量子化手段と、前記決定手段によって決定された逆直交変換の形状に基づいて、前記逆量子化手段によって生成された変換係数を逆直交変換して予測誤差を生成する逆直交変換手段とを有する。 Furthermore, the image decoding apparatus of the present invention has the following configuration. That is, a decoding unit that separates a necessary code from an input bitstream, a determination unit that determines a processing block shape of inverse orthogonal transform from information decoded by the decoding unit, and information decoded by the decoding unit A coefficient decoding means for decoding the quantized coefficients; a quantization matrix decoding means for decoding a quantization matrix used for inverse quantization of the quantized coefficients decoded by the coefficient decoding means; A quantization matrix selecting unit that selects a quantization matrix based on the processed block shape of the inverse orthogonal transform, and a coefficient decoded by the coefficient decoding unit using the quantization matrix selected by the quantization matrix selecting unit An inverse quantization means for inversely quantizing the quantization coefficient to generate a transform coefficient; and Based on the shape of the constant inverse orthogonal transform, and a inverse orthogonal transform means for generating a prediction error of the transform coefficients generated by the inverse quantization unit inverse orthogonal transform to.
本発明により、正方形ないし長方形の直交変換の処理ブロック形状ごとに量子化マトリクスを設定することができるようになり、それぞれの処理ブロック形状で最適な量子化処理が行えるようになる。 According to the present invention, a quantization matrix can be set for each processing block shape of square or rectangular orthogonal transform, and an optimal quantization process can be performed in each processing block shape.
以下、添付の図面を参照して、本願発明をその好適な実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, the present invention will be described in detail based on the preferred embodiments with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
<実施形態1>
以下、本発明の実施形態を、図面を用いて説明する。図1は本実施形態の画像符号化装置を示すブロック図である。
<
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an image encoding apparatus according to this embodiment.
図1において、101は入力画像を複数の基本ブロックに分割するブロック分割部である。本実施形態では説明のため、ブロック分割部101においては16×16画素の基本ブロックに分割するものとして説明するが、これに限定されない。
In FIG. 1,
102はブロック分割部101で分割された各基本ブロックを、該基本ブロックと同一サイズもしくは基本ブロックよりも小さいサイズのサブブロックに分割してサブブロックサイズを生成し、サブブロック単位で符号化済みのブロックから予測を行う予測部である。予測部102ではさらに予測方法を決定し、それに従って予測並びに差分値算出を行い、予測誤差を算出する。静止画または動画の場合のイントラフレームではイントラ予測を行い、動画の場合は動き補償予測も行うものとする。イントラ予測は一般的には、複数の参照方法に対して、周囲の画素のデータからその予測値を算出する参照画素を参照する方法(予測方法)を選択することで実現する。本実施形態では説明のため、予測部102においては基本ブロックを16×16画素、8×8画素、4×4画素の正方形、または16×4画素、4×16画素の長方形のサブブロックに分割して予測を行うものとして説明するが、これに限定されない。
102 divides each basic block divided by the
108は量子化マトリクスを生成し、一旦格納する量子化マトリクス保持部である。格納される量子化マトリクスの生成方法については特に限定しないが、ユーザが量子化マトリクスを入力しても良いし、入力画像の特性から算出しても、初期値としてあらかじめ指定されたものを使用してももちろん良い。
103は各サブブロックの予測誤差に対して直交変換を行う変換部である。本実施形態では、予測部102で決定したサブブロックのサイズを単位に直交変換を行い、直交変換係数を算出するものとする。本実施形態では16×16画素、8×8画素、4×4画素、または16×4画素、4×16画素の処理ブロック形状で直交変換を行うものとする。直交変換に関しては離散コサイン変換の他に離散サイン変換、カルーネン・レーベ変換、アダマール変換等の変換を用いてもよい。
107は予測部102で決定したサブブロックサイズを入力して量子化マトリクス保持部108に格納された量子化マトリクスの中から適用する量子化マトリクスを選択する量子化マトリクス選択部である。
104は量子化マトリクス選択部107で選択された量子化マトリクスによって前記直交変換係数を量子化する量子化部である。この量子化によって量子化係数を得ることができる。
105はこのようにして得られた量子化係数を、符号化して量子化係数符号データを生成する係数符号化部である。符号化の方法は特に限定しないが、ハフマン符号や算術符号などを用いることができる。
109は量子化マトリクス保持部108に格納された量子化マトリクスを符号化して、量子化マトリクス符号データを生成する量子化マトリクス符号化部である。量子化マトリクスの符号化方法については後述するが、特に限定されるものではない。量子化マトリクスの各要素の値そのもの、もしくは直前の要素の値との差分や他の量子化マトリクスとの差分に対して、ハフマン符号や算術符号などを用いることができる。
106はヘッダ情報や予測、変換に関する符号を生成するとともに、係数符号化部105で生成された量子化係数符号データおよび量子化マトリクス符号化部109で生成された量子化マトリクス符号データを統合する統合符号化部である。予測、変換に関する符号とは、例えば予測部102で生成されたサブブロックサイズや予測方法等の符号であるとする。
106 generates a code related to header information, prediction, and conversion, and integrates the quantization coefficient code data generated by the
上記画像符号化装置における画像の符号化動作を以下に説明する。本実施形態では動画像データをフレーム単位に入力する構成となっているが、1フレーム分の静止画像データを入力する構成としても構わない。また、本実施形態では、説明を容易にするため、イントラ予測符号化の処理のみを説明するが、これに限定されずインター予測符号化の処理においても適用可能である。 An image encoding operation in the image encoding apparatus will be described below. In the present embodiment, moving image data is input in units of frames, but still image data for one frame may be input. Further, in the present embodiment, only the intra prediction encoding process will be described for ease of explanation, but the present invention is not limited to this and can be applied to the inter prediction encoding process.
1フレーム分の画像データはブロック分割部101に入力され、16×16画素の基本ブロック単位に分割される。分割された基本ブロックは予測部102に入力される。
Image data for one frame is input to the
予測部102では予測の単位となるサブブロックのサイズおよび予測方法を決定し、サブブロック単位の予測が行われ、予測誤差が生成される。
The
変換部103では、予測部102で生成されたサブブロック単位の予測誤差に対して直交変換を行い、直交変換係数を生成する。本実施形態では、サブブロックのサイズ・形状と直交変換のサイズ・形状は同一である。生成された直交変換係数を量子化部104に入力する。
The
量子化マトリクス保持部108には、該フレームの量子化に用いられる量子化マトリクス、すなわち各サブブロックの形状に対応した量子化マトリクスが保持されている。本実施形態では、サブブロックサイズが4×4画素、8×8画素、16×16画素、16×4画素、4×16画素の5種類である。4×4画素の直交変換に対応する第1量子化マトリクス、8×8画素の直交変換に対応する第2量子化マトリクス、16×16画素の直交変換に対応する第3量子化マトリクスを保持する。さらに、16×4画素の直交変換に対応する第4量子化マトリクス、4×16画素の直交変換に対応する第5量子化マトリクスを保持する。本実施形態では上記の5種類の量子化マトリクスを保持するが、サブブロックの形状の増減に合わせて、保持する量子化マトリクスも増減する。
The quantization
量子化マトリクス符号化部109は量子化マトリクスを量子化マトリクス保持部108からサブブロックサイズによって順に読み出し、符号化して量子化マトリクス符号データを生成する。符号化方式としては、本実施形態では、各要素をそのまま符号化する、直前の要素との差分を符号化する、DPCM、他の量子化マトリクスとの差分を符号化するといった方式を用いることとするが、方式はこれらに限定されない。また、これらと合わせて同じ値が続く時は符号化を打ち切る符号を挿入することにより量子化マトリクスの符号量を抑制することもできる。
The quantization
具体的な量子化マトリクスの符号化方法の例について図4を用いて説明する。400は、量子化マトリクスを表している。説明を簡易にするため、4×4画素のサブブロックに対応した16画素分の構成とし、太枠内の各正方形は要素を表しているものとする。ここでは図4の400〜404に示された5種類の量子化マトリクスを例にとって符号化方法について説明する。
An example of a specific quantization matrix encoding method will be described with reference to FIG.
図4の400は量子化マトリクスの各要素が1から始まり、1ずつ増加していく場合の例である。例えば、この量子化マトリクスを符号化する場合、1から16までの値を一つずつ符号化する。また、最初の要素である1を符号化した後は直前の要素との差分、すなわちこの例では差分値である1を15回符号化しても良い。さらにDPCMのように、最初の要素である1と二番目の要素と最初の要素の差分である1を符号化した後は、予測差分である0を符号化しても良い。
400 in FIG. 4 is an example in which each element of the quantization matrix starts from 1 and increases by 1. For example, when the quantization matrix is encoded, the
図4の401は量子化マトリクスの各要素が3から始まり、1ずつ増加していく場合の例である。例えば、この量子化マトリクスを符号化する場合、3から18までの値を一つずつ符号化する。また、最初の要素である3を符号化した後は直前の要素との差分、すなわちこの例では差分値である1を15回符号化しても良い。さらに、400に示される量子化マトリクスの各要素の値との差分、すなわちこの例では差分値である2を16回符号化しても良い。
401 in FIG. 4 is an example in which each element of the quantization matrix starts from 3 and increases by 1. For example, when this quantization matrix is encoded, the values from 3 to 18 are encoded one by one. In addition, after encoding the
402は量子化マトリクスの各要素が3から始まり、1ずつ10まで増加し、10が3回続いた後、また1ずつ16まで増加していく場合の例である。例えば、この量子化マトリクスを符号化する場合、400や401同様、各要素の値を一つずつ符号化する。また、直前の要素との差分、あるいは他の量子化マトリクスの要素との差分を符号化しても良い。402の各要素の値を400の各要素の値との差分を符号化する場合、初めの3から一つ目の10までは差分値である2を符号化し、二つ目の10は差分値である1を符号化する。その先、三つ目の10以降は最後まで差分値が0となるため、差分値である0を7回符号化する。また、符号化の打ち切りを示す符号を符号化することにより、差分値の符号量を低減させる方法を用いても良い。
402 is an example in which each element of the quantization matrix starts from 3 and increases by 1 to 10, and after 10 continues 3 times, it increases to 1 by 16 again. For example, when this quantization matrix is encoded, each element value is encoded one by one as in 400 and 401. Also, a difference from the immediately preceding element or a difference from another quantization matrix element may be encoded. When encoding the difference between the value of each element of 402 and the value of each element of 400, the first 3 to the first 10 are encoded as the
403は量子化マトリクスの各要素が3から始まり、1ずつ10まで増加し、その後は最後まで10であり続ける場合の例である。例えば、この量子化マトリクスを符号化する場合、400や401同様、各要素の値を一つずつ符号化する。また、直前の要素との差分、あるいは他の量子化マトリクスの要素との差分を符号化しても良い。403の各要素の値を直前の各要素との差分を符号化する場合、初めの3から一つ目の10までは差分値である1を符号化する。その先は、最後まで差分値が0となるため、差分値である0を7回符号化する。また、符号化の打ち切りを示す符号を符号化することにより、差分値の符号量を低減させる方法を用いても良い。
403 is an example in which each element of the quantization matrix starts from 3 and increases by 1 to 10, and then continues to 10 until the end. For example, when this quantization matrix is encoded, each element value is encoded one by one as in 400 and 401. Also, a difference from the immediately preceding element or a difference from another quantization matrix element may be encoded. When the difference between each element value of 403 and the immediately preceding element is encoded, the
404は量子化マトリクスの各要素が6から始まり、徐々に増加していく場合の例である。例えば、この量子化マトリクスを符号化する場合、400や401同様、各要素の値を一つずつ符号化する。また、直前の要素との差分、あるいは他の量子化マトリクスの要素との差分を符号化しても良い。また、404の各要素の値を直前の各要素との差分を符号化する場合、まず一つ目の要素である6を符号化する。その後は直前の要素との差分値を符号化する。すなわち、7、0、7、0、0、8、0、0、0、4、0、0、5、0、5の順に符号化する。上記に提示した量子化マトリクスの符号化方法は説明のために記述されたものであり、符号化方法はこれらに限定されない。
404 is an example in which each element of the quantization matrix starts from 6 and gradually increases. For example, when this quantization matrix is encoded, each element value is encoded one by one as in 400 and 401. Also, a difference from the immediately preceding element or a difference from another quantization matrix element may be encoded. Further, when the difference between each
量子化マトリクス選択部107は、予測部102で決定したサブブロックサイズを用いて、当該サブブロックの量子化に用いられる量子化マトリクスを選択する。具体的には、量子化マトリクス保持部108に格納された量子化マトリクスの中から当該サブブロックの量子化に用いる量子化マトリクスを選択するものとする。例えば、本実施形態では、サブブロックサイズが16×4画素である場合には、第4量子化マトリクスを量子化マトリクス保持部108から入力し、量子化部104に出力する。
The quantization
量子化部104では、変換部103から出力された直交変換係数を量子化マトリクス選択部107で選択した量子化マトリクスを用いて量子化して量子化係数を生成する。生成された量子化係数は係数符号化部105に入力される。
The
係数符号化部105では、量子化部104で生成された量子化係数を符号化し、量子化係数符号データを生成して統合符号化部106に出力する。
The
一方、量子化マトリクス符号化部109では、量子化マトリクス保持部108に格納された各量子化マトリクスを符号化し、量子化マトリクス符号データを生成して統合符号化部106に出力する。
On the other hand, the quantization
統合符号化部106は画像のシーケンス、フレーム、ピクチャおよびスライスのヘッダといった符号を生成する。また、これらのヘッダのいずれかに量子化マトリクス符号化部109で生成された量子化マトリクス符号データを挿入する。こうしたヘッダ部分の符号や係数符号化部105で生成された量子化係数符号データを統合し、さらに予測部102で生成されたサブブロックサイズや予測の情報を符号化し、ビットストリームを生成し出力する。
The
図7(a)は実施形態1で出力されるビットストリームの一例である。本実施形態では、ビットストリーム中のシーケンスヘッダ部に量子化マトリクスが符号化されている構成となっているが、符号化の位置はこれに限定されない。ピクチャヘッダ部やその他のヘッダ部に符号化される構成をとってももちろん構わない。また、1つのシーケンスの中で量子化マトリクスの変更を行う場合、量子化マトリクスを新たに符号化することで更新することも可能である。この際、全ての量子化マトリクスを書き換えても良いし、書き換える量子化マトリクスのサブブロックサイズを指定することでその一部を変更するようにすることも可能である。さらには書き換える量子化マトリクスのサブブロックサイズおよびその変更する要素の位置を指定して部分的に変更することももちろん可能である。 FIG. 7A shows an example of the bit stream output in the first embodiment. In this embodiment, the quantization matrix is encoded in the sequence header portion in the bit stream, but the encoding position is not limited to this. Of course, it does not matter even if it takes the structure encoded in the picture header part and other header parts. When the quantization matrix is changed in one sequence, it can be updated by newly encoding the quantization matrix. At this time, all of the quantization matrices may be rewritten, or a part of the quantization matrix can be changed by designating the sub-block size of the quantization matrix to be rewritten. Furthermore, it is of course possible to partially change by specifying the sub-block size of the quantization matrix to be rewritten and the position of the element to be changed.
図5は実施形態1に係る画像符号化装置における画像符号化処理を示すフローチャートである。まず、ステップS501にて、量子化マトリクス保持部108は量子化マトリクスを一つ以上生成する。本実施形態では、サブブロックサイズが5種類あることから、前述の通り、第1から第5までの5種類の量子化マトリクスを生成する。
FIG. 5 is a flowchart showing an image encoding process in the image encoding apparatus according to the first embodiment. First, in step S501, the quantization
ステップS502にて、量子化マトリクス符号化部109は量子化マトリクス保持部108で生成されたそれぞれの量子化マトリクスを符号化する。
In step S502, the quantization
ステップS503にて、統合符号化部106はビットストリームのヘッダ部の符号化を行い出力する。ここで、ステップS502で符号化した量子化マトリクス符号データをヘッダとともに出力する。
In step S503, the
ステップS504にて、ブロック分割部101は、フレーム単位の入力画像を基本ブロック単位(16×16画素)に分割する。
In step S504, the
ステップS505にて、予測部102は、サブブロックのサイズを決定する。ステップS506にて、予測部102は、ステップS505で生成されたサブブロックサイズ単位の予測を行う。
In step S505, the
ステップS507にて、画像符号装置は、ステップS506で決定したサブブロックサイズに基づく判定を行う。サブブロックサイズが4×4画素であればS508に進み、8×8画素であればS528に進み、16×16画素であればS548に進み、16×4画素であればS568に進み、4×16画素であればS588に進む。 In step S507, the image coding apparatus performs determination based on the sub-block size determined in step S506. If the sub-block size is 4 × 4 pixels, the process proceeds to S508; if the sub-block size is 8 × 8 pixels, the process proceeds to S528; if the sub-block size is 16 × 16 pixels, the process proceeds to S548; If it is 16 pixels, the process proceeds to S588.
ステップS508にて、変換部103はステップS505で生成された予測誤差に対して、4×4画素のサブブロック単位で直交変換を行い、直交変換係数を生成する。
In step S508, the
ステップS509にて、量子化マトリクス選択部107は、ステップS501で生成された量子化マトリクスから第1量子化マトリクスを選択する。
In step S509, the quantization
また、ステップS528にて、変換部103はステップS505で生成された予測誤差に対して、8×8画素のサブブロック単位で直交変換を行い、直交変換係数を生成する。ステップS529にて、ステップS509同様、量子化マトリクス選択部107は、ステップS501で生成された量子化マトリクスから第2量子化マトリクスを選択する。さらにステップS548にて、変換部103はステップS505で生成された予測誤差に対して、16×16画素のサブブロック単位で直交変換を行い、直交変換係数を生成する。ステップS549にて、ステップS509同様、量子化マトリクス選択部107は、ステップS501で生成された量子化マトリクスから第3量子化マトリクスを選択する。また、ステップS568にて、変換部103はステップS505で生成された予測誤差に対して、16×4画素のサブブロック単位で直交変換を行い、直交変換係数を生成する。ステップS569にて、ステップS509同様、量子化マトリクス選択部107は、ステップS501で生成された量子化マトリクスから第4量子化マトリクスを選択する。さらにステップS588にて、変換部103はステップS505で生成された予測誤差に対して、4×16画素のサブブロック単位で直交変換を行い、直交変換係数を生成する。ステップS589にて、ステップS509同様、量子化マトリクス選択部107は、ステップS501で生成された量子化マトリクスから第5量子化マトリクスを選択する。
In step S528, the
ステップS510にて、量子化部104はステップS508、S528、S548、S568およびS588で生成された直交変換係数を入力する。そして、ステップS509、S529、S549、S569およびS589で選択された量子化マトリクスを用いて量子化して量子化係数を生成する。
In step S510, the
ステップS511にて、係数符号化部105はステップS510で生成された量子化係数を符号化し、量子化係数符号データを生成する。
In step S511, the
ステップS512にて、画像符号化装置は、当該基本ブロック内の全てのサブブロックの符号化が終了したか否かの判定を行い、終了していればステップS513に進み、終了していなければ次のサブブロックを対象としてステップS505に戻る。 In step S512, the image coding apparatus determines whether or not coding of all the sub-blocks in the basic block has been completed. If finished, the process proceeds to step S513. The process returns to step S505 for the sub-block.
ステップS513にて、画像符号化装置は、全ての基本ブロックの符号化が終了したか否かの判定を行い、終了していれば全ての動作を停止して処理を終了し、そうでなければ次の基本ブロックを対象としてステップS504に戻る。 In step S513, the image encoding apparatus determines whether or not encoding of all the basic blocks has been completed. If it has been completed, the image encoding apparatus stops all operations and ends the processing. The process returns to step S504 for the next basic block.
以上の構成と動作により、特にステップS501、ステップS509、S529、S549、S569、S589の処理により、サブブロックの直交変換の形状によって最適な量子化マトリクスを用いて量子化処理を行ったビットストリームを生成することができる。 With the above configuration and operation, a bitstream that has been quantized using an optimal quantization matrix depending on the shape of the orthogonal transform of the sub-block, particularly by the processing of steps S501, S509, S529, S549, S569, and S589. Can be generated.
なお、本実施形態においては、イントラ予測のみを用いるフレームを例にとって説明したが、インター予測を使用できるフレームにおいても対応できることは明らかである。 In the present embodiment, a frame using only intra prediction has been described as an example, but it is obvious that a frame that can use inter prediction can also be used.
また、本実施形態では、各サブブロックサイズに対して1種類ずつ量子化マトリクスを用いたが、複数の量子化マトリクスを用い、予測方法や変換方法に応じて切り替えて使用しても構わない。 In this embodiment, one type of quantization matrix is used for each sub-block size. However, a plurality of quantization matrices may be used and switched depending on the prediction method or the conversion method.
また、サブブロックサイズが異なっていてもブロック内の画素数が同一のサブブロックサイズが存在していた場合、一方の量子化マトリクスを共用しても構わない。例えば、本実施形態においては、サブブロック画素数が64画素のサブブロックサイズが8×8画素、16×4画素、4×16画素の3種類存在する。この場合、8×8画素の量子化マトリクスを16×4画素サブブロックおよび4×16画素サブブロックに用いても構わない。同様に、16×4画素の量子化マトリクスを4×16画素のサブブロックに用いても良い。共用しない場合においても、他のサブブロックに対応した量子化マトリクスとの差分を符号化しても良い。例えば、16×4画素の量子化マトリクスの符号化において、8×8画素の量子化マトリクスの各要素との差分を符号化しても構わない。 In addition, even if the sub-block sizes are different, if there is a sub-block size with the same number of pixels in the block, one quantization matrix may be shared. For example, in the present embodiment, there are three types of subblock sizes of 8 × 8 pixels, 16 × 4 pixels, and 4 × 16 pixels with 64 subblock pixels. In this case, an 8 × 8 pixel quantization matrix may be used for the 16 × 4 pixel sub-block and the 4 × 16 pixel sub-block. Similarly, a 16 × 4 pixel quantization matrix may be used for a 4 × 16 pixel sub-block. Even when not shared, a difference from a quantization matrix corresponding to another sub-block may be encoded. For example, in encoding a 16 × 4 pixel quantization matrix, a difference from each element of an 8 × 8 pixel quantization matrix may be encoded.
さらに、画素数が異なるサブブロックサイズに対応する量子化マトリクスの符号化に関しては、他のサブブロックサイズに対応する量子化を用いて符号化しても良い。例えば、8×8画素の量子化マトリクスはその要素単位で符号化し、4×4画素の量子化マトリクスは8×8画素の量子化マトリクス内の2×2要素で平均値をとったものや間引いたものを予測値として、その差分を符号化しても構わない。また、本実施形態における例では、16×16画素の量子化マトリクスの各要素を符号化する。そして、16×4画素および4×16画素の量子化マトリクスは16×16画素の量子化マトリクス内の1×4および4×1要素単位で間引いたものもしくは平均値をとる。さらにそれをそのまま量子化マトリクス内の要素として用いても、予測値としてその差分を符号化しても構わない。反対に、4×4画素の量子化マトリクスの各要素を符号化する。そして、16×4画素および4×16画素の量子化マトリクスは4×4画素量子化マトリクス内の各要素を補間したものをそのまま量子化マトリクス内の要素として用いても、予測値としてその差分を符号化しても構わない。なお、量子化マトリクスの符号化において、各要素を符号化する方法を用いて説明したが、これに限定されない。 Furthermore, regarding the encoding of the quantization matrix corresponding to the sub-block sizes having different numbers of pixels, the encoding may be performed using the quantization corresponding to other sub-block sizes. For example, an 8 × 8 pixel quantization matrix is encoded in units of elements, and a 4 × 4 pixel quantization matrix is an average of 2 × 2 elements in an 8 × 8 pixel quantization matrix or thinned out. The difference may be encoded with the predicted value as the predicted value. In the example of the present embodiment, each element of the 16 × 16 pixel quantization matrix is encoded. Then, the 16 × 4 pixel and 4 × 16 pixel quantization matrices are thinned out in units of 1 × 4 and 4 × 1 elements in the 16 × 16 pixel quantization matrix or average values are taken. Furthermore, it may be used as it is as an element in the quantization matrix, or the difference may be encoded as a predicted value. Conversely, each element of the 4 × 4 pixel quantization matrix is encoded. The 16 × 4 pixel and 4 × 16 pixel quantization matrices are obtained by interpolating each element in the 4 × 4 pixel quantization matrix as an element in the quantization matrix as it is, and using the difference as a predicted value. You may encode. In the encoding of the quantization matrix, the method of encoding each element has been described, but the present invention is not limited to this.
また、本実施形態ではサブブロックサイズに応じて量子化部104に入力する量子化マトリクスを切り替える方法で説明した。しかし、これに限定されず、例えば、其々の量子化マトリクスに対応する量子化部をそれぞれ用意し、それを量子化マトリクス選択部107の出力に基づいて切り替える方法でももちろん構わない。
In the present embodiment, the method of switching the quantization matrix input to the
また、本実施形態では予測誤差の直交変換を行ったのちに量子化マトリクスの選択を行ったが、これに限定されず、先に量子化マトリクスの選択を行ったのちに直交変換を行ったり、量子化マトリクスの選択と直交変換を並列に行ったりしても構わない。 Further, in this embodiment, the quantization matrix is selected after performing the orthogonal transformation of the prediction error.However, the present invention is not limited to this, and the orthogonal transformation is performed after the selection of the quantization matrix first. The selection of the quantization matrix and the orthogonal transformation may be performed in parallel.
<実施形態2>
図3は、本発明の実施形態2に係る画像復号装置の構成を示すブロック図である。本実施形態では、図1に示す実施形態1で生成されたビットストリームの復号について説明する。
<
FIG. 3 is a block diagram showing the configuration of the image decoding apparatus according to
図3において、301は入力されたビットストリームのヘッダ情報を復号し、ビットストリームから必要な符号を分離して後段へ出力する復号・分離部である。復号・分離部301は図1の統合符号化部106と逆の動作を行う。
In FIG. 3,
308はビットストリームのヘッダ情報から量子化マトリクス符号データを抽出して復号する量子化マトリクス復号部である。
A quantization
309は量子化マトリクス復号部308で復号された量子化マトリクスを一旦格納しておく量子化マトリクス保持部である。
306は復号・分離部301で分離された符号から基本ブロック単位で予測・変換の情報を復号し、その情報に基づいて予測の方法、予測・変換の単位であるサブブロックサイズを決定する予測・変換方法抽出部である。
306 decodes prediction / conversion information in units of basic blocks from the code separated by the decoding /
307は予測・変換方法抽出部306で決定されたサブブロックサイズに基づいて、量子化マトリクス保持部309で格納された量子化マトリクスのうちの一つを選択する量子化マトリクス選択部である。
一方、302は復号・分離部301で分離された符号から量子化係数符号を復号し、量子化係数を再生する係数復号部である。
On the other hand, 302 is a coefficient decoding unit that decodes the quantized coefficient code from the code separated by the decoding /
303は量子化マトリクス選択部307で選択された量子化マトリクスを用いて量子化係数に逆量子化を行い、直交変換係数を再生する逆量子化部である。
304は図1の変換部103の逆となる逆直交変換を行い、予測誤差を再生する逆変換部である。
305は予測の単位となるサブブロックサイズをはじめとする予測の情報、予測誤差と復号済みの画像データから基本ブロックの画像データを再生する予測再構成部である。
上記画像復号装置における画像の復号動作を以下に説明する。本実施形態では実施形態1で生成された動画像ビットストリームをフレーム単位で入力する構成となっているが、1フレーム分の静止画像ビットストリームを入力する構成としても構わない。また、本実施形態では説明を容易にするため、イントラ予測復号処理のみを説明するが、これに限定されずインター予測復号処理においても適用可能である。 An image decoding operation in the image decoding apparatus will be described below. In the present embodiment, the moving image bit stream generated in the first embodiment is input in units of frames. However, a configuration may be adopted in which a still image bit stream for one frame is input. Further, in the present embodiment, only the intra prediction decoding process will be described for ease of explanation, but the present invention is not limited to this and can be applied to the inter prediction decoding process.
図3において、入力された1フレーム分のストリームデータは復号・分離部301に入力され、画像を再生するのに必要なヘッダ情報が復号され、さらに後段で使用される符号が分離され出力される。ヘッダ情報に含まれる量子化マトリクス符号データは量子化マトリクス復号部308に入力され、後段の逆量子化処理で用いられる量子化マトリクスとしてサブブロックサイズに対応する量子化マトリクスが再生される。本実施形態では、4×4画素サブブロックに対応する第1量子化マトリクス、8×8画素サブブロックに対応する第2量子化マトリクス、16×16画素サブブロックに対応する第3量子化マトリクスを再生する。さらに、16×4画素サブブロックに対応する第4量子化マトリクス、4×16画素サブブロックに対応する第5量子化マトリクスの5種類を再生する。本実施形態ではサブブロックサイズが4×4画素、8×8画素、16×16画素、16×4画素、4×16画素の5種類である。そのため、再生する量子化マトリクスは5種類となっているが、直交変換の形状の増減に合わせて、再生する量子化マトリクスも増減する。再生された量子化マトリクスは量子化マトリクス保持部309に入力され、一旦格納される。
In FIG. 3, the input stream data for one frame is input to the decoding /
また、復号・分離部301で分離された符号のうち、予測および変換に関する符号は予測・変換方法抽出部306に入力され、復号されて、予測方法とサブブロックサイズを示す情報が生成される。サブブロックサイズは量子化マトリクス選択部307および係数復号部302に出力される。また、復号された予測方法は予測再構成部305に出力される。
Of the codes separated by the decoding /
量子化マトリクス選択部307では、入力されたサブブロックサイズの情報によって、量子化マトリクス保持部309に格納された量子化マトリクスの中から一つを選択し、逆量子化部303に出力する。例えば、本実施形態では、サブブロックサイズが4×16画素である場合には、第5量子化マトリクスを量子化マトリクス保持部309から選択し、逆量子化部303に出力する。
The quantization
さらに、復号・分離部301で分離された符号のうち、量子化係数符号データは係数復号部302に入力される。そして予測・変換方法抽出部306から入力されたサブブロックサイズ単位で量子化係数符号データを復号し、量子化係数を再生し、逆量子化部303に出力する。
Further, among the codes separated by the decoding /
逆量子化部303は、量子化マトリクス選択部307で選択された量子化マトリクス、および係数復号部302で再生された量子化係数を入力する。そして、前記量子化マトリクスを用いて逆量子化を行い、直交変換係数を再生し、逆変換部304に出力する。
The
逆変換部304は、再生された直交変換係数を入力し、図1の変換部103の逆となる逆直交変換を行い、予測誤差を再生し、予測再構成部305に出力する。
The
予測再構成部305は、入力された予測誤差に復号済みの周囲の画素データから予測・変換方法抽出部306で復号された予測方法に従ってサブブロック単位の予測を行って基本ブロック単位の画像データを再生し、出力する。
The
図6は、実施形態2に係る画像復号装置における画像復号処理を示すフローチャートである。 FIG. 6 is a flowchart illustrating image decoding processing in the image decoding apparatus according to the second embodiment.
まず、ステップS601にて、復号・分離部301がヘッダ情報を復号する。
First, in step S601, the decoding /
ステップS602にて、量子化マトリクス復号部308はヘッダ情報に含まれる量子化マトリクス符号データを復号し、後段の逆量子化処理で用いる量子化マトリクスが再生される。復号された量子化マトリクスは量子化マトリクス保持部309に格納される。本実施形態では、各サブブロックサイズに対応した、4×4画素の第1量子化マトリクス、8×8画素の第2量子化マトリクス、16×16画素の第3量子化マトリクスを復号・再生する。そして、16×4画素の第4量子化マトリクス、4×16画素の第5量子化マトリクスの5種類の量子化マトリクスを復号・再生する。ただし、復号順序はこれに限定されない。
In step S602, the quantization
ステップS603にて、基本ブロック単位で予測・変換方法抽出部306は予測や変換に関する情報を復号し、その内容から予測方法や予測・直交変換の単位となるサブブロックサイズを生成する。
In step S603, the prediction / conversion
ステップS604にて、ステップS603で生成されたサブブロックサイズに基づく判定を行う。サブブロックサイズが4×4画素であればS605に進み、8×8画素であればS625に進み、16×16画素であればS645に進み、16×4画素であればS665に進み、4×16画素であればS685に進む。 In step S604, a determination is made based on the sub-block size generated in step S603. If the sub-block size is 4 × 4 pixels, the process proceeds to S605, if it is 8 × 8 pixels, the process proceeds to S625, if it is 16 × 16 pixels, the process proceeds to S645, and if it is 16 × 4 pixels, the process proceeds to S665. If it is 16 pixels, the process proceeds to S685.
ステップS605にて、量子化マトリクス選択部307はステップS603で抽出された前記サブブロックサイズに基づいて当該サブブロックに適用する量子化マトリクスを選択する。具体的には、抽出された前記サブブロックサイズが4×4画素なので、第1量子化マトリクスを選択する。
In step S605, the quantization
また、ステップS625にて、量子化マトリクス選択部307は前記サブブロックサイズに基づいて当該サブブロックに適用する量子化マトリクスを選択する。具体的には、抽出された前記サブブロックサイズが8×8画素なので、第2量子化マトリクスを選択する。さらにステップS645にて、量子化マトリクス選択部307は前記サブブロックサイズに基づいて当該サブブロックに適用する量子化マトリクスを選択する。具体的には、抽出された前記サブブロックサイズが16×16画素なので、第3量子化マトリクスを選択する。また、ステップS665にて、量子化マトリクス選択部307は前記サブブロックサイズに基づいて当該サブブロックに適用する量子化マトリクスを選択する。具体的には、抽出された前記サブブロックサイズが16×4画素なので、第4量子化マトリクスを選択する。さらにステップS685にて、量子化マトリクス選択部307は前記サブブロックサイズに基づいて当該サブブロックに適用する量子化マトリクスを選択する。具体的には、抽出された前記サブブロックサイズが4×16画素なので、第5量子化マトリクスを選択する。
In step S625, the quantization
ステップS606にて、係数復号部302はサブブロック単位で量子化係数符号データを復号し、量子化係数を再生する。
In step S606, the
ステップS607にて、逆量子化部303はステップS605、S625、S645、S665およびS685で選択された量子化マトリクスを用いてステップS606にて再生された量子化係数を逆量子化し、直交変換係数を再生する。
In step S607, the
ステップS608にて、再びステップS603で生成されたサブブロックサイズに基づく判定を行う。サブブロックサイズが4×4画素であればステップS609に進み、8×8画素であればS629に進み、16×16画素であればステップS649に進み、16×4画素であればステップS669に進み、4×16画素であればステップS689に進む。 In step S608, the determination based on the sub-block size generated in step S603 is performed again. If the sub-block size is 4 × 4 pixels, the process proceeds to step S609, if it is 8 × 8 pixels, the process proceeds to step S629, if it is 16 × 16 pixels, the process proceeds to step S649, and if it is 16 × 4 pixels, the process proceeds to step S669. If it is 4 × 16 pixels, the process proceeds to step S689.
ステップS609にて、逆変換部304はステップS607で再生された直交変換係数に対し、4×4画素のサブブロック単位で逆直交変換を行い、予測誤差を再生する。ステップS629にて、逆変換部304はステップS607で再生された直交変換係数に対し、8×8画素のサブブロック単位で逆直交変換を行い、予測誤差を再生する。ステップS649にて、逆変換部304はステップS607で再生された直交変換係数に対し、16×16画素のサブブロック単位で逆直交変換を行い、予測誤差を再生する。ステップS669にて、逆変換部304はステップS607で再生された直交変換係数に対し、16×4画素のサブブロック単位で逆直交変換を行い、予測誤差を再生する。ステップS689にて、逆変換部304はステップS607で再生された直交変換係数に対し、4×16画素のサブブロック単位で逆直交変換を行い、予測誤差を再生する。
In step S609, the
ステップS610にて、予測再構成部305は復号済みの周囲の画素データからステップS603で再生された予測方法に従って予測を行う。それを、ステップS609、S629、S649、S669およびS689で再生された予測誤差に加算して、サブブロックの復号画像を再生する。
In step S610, the
ステップS611にて、画像復号装置は、当該基本ブロック内の全てのサブブロックの復号が終了したか否かの判定を行い、終了していればステップS612に進み、終了していなければ次のサブブロックを対象としてステップS604に戻る。 In step S611, the image decoding apparatus determines whether or not decoding of all the subblocks in the basic block has been completed. If completed, the process proceeds to step S612. The process returns to step S604 for the block.
ステップS612にて、画像復号装置は、全ての基本ブロックの復号が終了したか否かの判定を行い、終了していれば全ての動作を停止して処理を終了し、そうでなければ次の基本ブロックを対象として、ステップS603に戻る。 In step S612, the image decoding apparatus determines whether or not the decoding of all the basic blocks has been completed. If the decoding has been completed, the image decoding apparatus stops all the operations and ends the process. Returning to step S603 for the basic block.
以上の構成と動作により、実施形態1で生成された、サブブロックのサイズで表される直交変換の形状に対応して最適な量子化マトリクスを用いて量子化処理を行って生成したビットストリームの復号を行い、再生画像を得ることができる。 With the above configuration and operation, the bit stream generated by performing the quantization process using the optimal quantization matrix corresponding to the shape of the orthogonal transform represented by the size of the sub-block generated in the first embodiment. Decoding can be performed to obtain a reproduced image.
また、実施形態1と同様に基本ブロックのサイズ・形状、サブブロックのサイズ・形状についてはこれに限定されない。 Further, as in the first embodiment, the size and shape of the basic block and the size and shape of the sub-block are not limited to this.
また、一つのシーケンスのビットストリーム中で量子化マトリクス符号データが複数回含まれている場合、量子化マトリクスの更新をすることも可能である。復号・分離部301で量子化マトリクス符号データを検出し、量子化マトリクス復号部308で復号する。復号された量子化マトリクスのデータを量子化マトリクス保持部309の該当する量子化マトリクスに置き換える。この際、全ての量子化マトリクスを書き換えても良いし、書き換える量子化マトリクスのサブブロックサイズを判別することでその一部を変更することも可能である。さらには書き換える量子化マトリクスのサブブロックサイズおよびその変更する要素の位置を判別することでマトリクス内の要素を部分的に変更することももちろん可能である。
Further, when the quantization matrix code data is included a plurality of times in one sequence of bitstream, the quantization matrix can be updated. The decoding /
また、本実施形態ではサブブロックサイズに応じて逆量子化部303に入力する量子化マトリクスを切り替える方法で説明したが、これに限定されない。例えば、それぞれの量子化マトリクスに対応する逆量子化部をそれぞれ用意し、それを量子化マトリクス選択部307の出力に基づいて切り替える方法でももちろん構わない。同様に図6においてステップS606、ステップS607を複数用意し、ステップS604で判定してそれぞれのサブブロックサイズで量子化マトリクスの選択、係数復号、逆量子化、逆変換を並行して行ってもよい。
Moreover, although this embodiment demonstrated the method of switching the quantization matrix input into the
また、本実施形態では量子化マトリクスの選択を行ったのちに量子化係数の復号を行ったが、これに限定されず、先に量子化係数の復号を行ったのちに量子化マトリクスの選択を行ったり、量子化マトリクスの選択と量子化係数の復号を並列に行ったりしても構わない。 In this embodiment, the quantization coefficient is decoded after selecting the quantization matrix. However, the present invention is not limited to this, and the quantization matrix is selected after decoding the quantization coefficient first. Alternatively, the quantization matrix selection and the quantization coefficient decoding may be performed in parallel.
<実施形態3>
図8は本実施形態の画像符号化装置を示すブロック図である。図8において、実施形態1の図1と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。
<
FIG. 8 is a block diagram showing an image encoding apparatus according to this embodiment. In FIG. 8, the same numbers are assigned to portions that perform the same functions as those in FIG. 1 of the first embodiment, and description thereof is omitted.
851は各量子化マトリクスをどのように符号化するかを示す符号化情報を生成する、符号化方法生成部である。
809は符号化方法生成部851で生成された符号化情報に基づいて、量子化マトリクス保持部108に格納された量子化マトリクスを符号化して、量子化マトリクス符号データを生成する量子化マトリクス符号化部である。
806は図1の統合符号化部106と同様に、ヘッダ情報や予測、変換に関する符号を生成する統合符号化部であり、前記統合符号化部106とは符号化方法生成部851から符号化情報を入力し、これを符号化することが異なる。
As in the
上記画像符号化装置における画像の符号化動作を以下に説明する。 An image encoding operation in the image encoding apparatus will be described below.
符号化方法生成部851では、まず、各量子化マトリクスをどのように符号化するかを示す符号化情報を生成する。本実施形態では、前記符号化方法情報が0であれば量子化マトリクスの各要素をそのまま符号化する方法を用いるものとする。また、1であれば直前の要素との差分を符号化する方法を、2であれば直前に符号化した要素数が同一の量子化マトリクスの要素との差分を符号化する方法を用いるものとする。さらに、3であれば直前に符号化した要素数がより多い量子化マトリクスの要素を間引いて予測量子化マトリクスを生成し、それとの差分を符号化するものとする。また、4であれば直前に符号化した要素数がより少ない量子化マトリクスの要素を補間して予測量子化マトリクスを生成し、それとの差分を符号化するものとする。量子化マトリクスの各要素の符号化方法はこれらに限定されず、DPCMのように最初の要素と二番目の要素と最初の要素の差分を符号化した後は、予測差分を符号化しても良い。さらには直前または別な符号で指定される復号済みの量子化マトリクスを参照して符号化を行う方法を用いてももちろん構わない。また、要素数がより多い量子化マトリクスから要素数がより少ない量子化マトリクスの予測方法には間引きを用いたが、平均値や中央値などを用いても良い。さらには、差分を全く符号化せずに他の量子化マトリクスと共用することを示す識別子を符号化しても構わない。また、前記量子化マトリクス符号化方法情報と量子化マトリクスの符号化方法との組合せはこれに限定されない。量子化マトリクス符号化方法情報の生成方法については特に限定しないが、ユーザが入力しても良いし、固定値としてあらかじめ指定されたものを使用して良いし、量子化マトリクス保持部108に格納されている量子化マトリクスの特性から算出してももちろん良い。生成された量子化マトリクス符号化方法情報は量子化マトリクス符号化部809と統合符号化部806に入力される。
The encoding
量子化マトリクス符号化部809では、入力された符号化情報に基づいて、量子化マトリクス保持部108に格納された各量子化マトリクスを符号化し、量子化マトリクス符号データを生成して統合符号化部806に出力する。
The quantization
統合符号化部806では、符号化方法生成部851で生成された符号化情報を符号化し、符号化情報符号を生成し、ヘッダ情報等に組み込んで出力する。さらに予測部102で生成されたサブブロックサイズの情報も符号化して出力する。符号化の方法は特に限定しないが、ハフマン符号や算術符号などを用いることができる。図7(b)に符号化情報符号を含むビットストリームの例を示す。符号化情報符号はシーケンス、ピクチャ等のヘッダのいずれに入れても構わないが、各量子化マトリクス符号データより前に存在する。
The
図10は実施形態3に係る画像符号化装置における画像符号化処理を示すフローチャートである。図10において、実施形態1の図5と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。 FIG. 10 is a flowchart showing an image encoding process in the image encoding apparatus according to the third embodiment. In FIG. 10, the same numbers are assigned to portions that perform the same functions as those in FIG.
ステップS1051にて、符号化方法生成部851は、後段のステップS1002で使用する符号化情報を決定する。
In step S1051, the encoding
ステップS1002にて、量子化マトリクス符号化部809は、ステップS1051で決定した符号化情報に基づいて、ステップS501で生成された量子化マトリクスを符号化する。
In step S1002, the quantization
ステップS1003にて、統合符号化部806は符号化情報を符号化し、符号化情報符号を生成し、他の符号と同様にヘッダ部に組み込み出力する。
In step S1003, the
以上の構成と動作により、各量子化マトリクスが最適な符号化方法で符号化され、サブブロックサイズが表す直交変換に対応した最適な量子化マトリクスを用いて量子化処理を行ったビットストリームを生成することができる。これにより、量子化マトリクスの符号化によって発生する符号量を抑えることが可能になる。 With the above configuration and operation, each quantization matrix is encoded with the optimal encoding method, and a bitstream is generated that has been quantized using the optimal quantization matrix corresponding to the orthogonal transform represented by the sub-block size. can do. Thereby, it is possible to suppress the amount of code generated by encoding the quantization matrix.
なお、本実施形態では符号化する量子化マトリクスの全てに対して一つの符号化方式を選択する場合を例にとって説明したが、これに限定されない。量子化マトリクス単位で符号化方法を選択したり、サブブロックサイズごとに符号化方法を選択したりしてももちろん構わない。 In this embodiment, the case where one encoding method is selected for all the quantization matrices to be encoded has been described as an example, but the present invention is not limited to this. Of course, the encoding method may be selected for each quantization matrix, or the encoding method may be selected for each sub-block size.
<実施形態4>
図9は本実施形態の画像復号装置を示すブロック図である。図9において、実施形態2の図3と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。
<
FIG. 9 is a block diagram showing an image decoding apparatus according to this embodiment. In FIG. 9, the same numbers are assigned to portions that perform the same functions as those in FIG. 3 of the second embodiment, and description thereof is omitted.
901は入力されたビットストリームのヘッダ情報を復号し、ビットストリームから必要な符号を分離して後段へ出力する復号・分離部である。図3の復号・分離部301とはビットストリームのヘッダ情報から符号化情報符号を分離して後段に出力することが異なる。
951は復号・分離部901で分離された符号化情報符号を復号し、量子化マトリクス符号化方法の情報を再生する復号方法復号部である。
A decoding
908はビットストリームのヘッダ情報から復号・分離部901で分離された量子化マトリクス符号データを前記符号化方法の情報に基づいて復号する量子化マトリクス復号部である。
上記画像復号装置における画像の復号動作を以下に説明する。 An image decoding operation in the image decoding apparatus will be described below.
図9において、入力された1フレーム分のストリームデータは復号・分離部901に入力され、画像を再生するのに必要なヘッダ情報が復号され、さらに後段で使用される符号が分離され出力される。ヘッダ情報に含まれる符号化情報符号は復号方法復号部951に入力され、量子化マトリクスの符号化方法の情報を再生する。そして、再生された量子化マトリクスの符号化方法の情報は量子化マトリクス復号部908に入力される。
In FIG. 9, the input stream data for one frame is input to the decoding /
一方、ヘッダ情報に含まれる量子化マトリクス符号データは量子化マトリクス復号部908に入力される。そして、量子化マトリクス復号部908は入力された量子化マトリクスの符号化方法の情報に基づいて量子化マトリクス復号方法を選択して量子化マトリクス符号データを復号し、後段の逆量子化処理で用いられる量子化マトリクスが再生される。再生された量子化マトリクスは量子化マトリクス保持部に一旦格納される。
On the other hand, the quantization matrix code data included in the header information is input to the quantization
図11は実施形態4に係る画像復号装置における画像復号処理を示すフローチャートである。実施形態2の図6と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。 FIG. 11 is a flowchart showing image decoding processing in the image decoding apparatus according to the fourth embodiment. The same numbers are assigned to portions that perform the same functions as those in FIG. 6 of the second embodiment, and descriptions thereof are omitted.
ステップS1101にて、復号・分離部901はヘッダ情報を復号する。
In step S1101, the decoding /
ステップS1151にて、復号方法復号部951はヘッダ情報に含まれる量子化マトリクス符号化情報符号を復号し、量子化マトリクスの符号化方法の情報を再生する。
In step S1151, the decoding
ステップS1102にて、量子化マトリクス復号部908はステップS1151にて再生された量子化マトリクスの符号化方法の情報に基づいて、量子化マトリクス復号方法を選択する。そして、ヘッダ情報に含まれる量子化マトリクス符号データを復号し、量子化マトリクスを再生する。
In step S1102, the quantization
以上の構成と動作により、実施形態3で生成された、各量子化マトリクスが最適な符号化方法で符号化され、サブブロックサイズによって最適な量子化マトリクスを用いて量子化処理を行ったビットストリームの復号を行い、再生画像を得ることができる。これにより、量子化マトリクスに適応した符号化によって発生する符号量を抑えたビットストリームの復号が可能になる。 With the above-described configuration and operation, each quantization matrix generated in the third embodiment is encoded by an optimal encoding method, and is a bitstream that is quantized using an optimal quantization matrix depending on the sub-block size. Can be decoded to obtain a reproduced image. As a result, it is possible to decode a bitstream with a reduced code amount generated by encoding adapted to the quantization matrix.
なお、本実施形態では復号する量子化マトリクス符号データの全てに対して一つの復号方式を選択する場合を例にとって説明したが、これに限定されない。量子化マトリクス単位で復号方法を選択したり、サブブロックサイズごとに符号化方法を選択したりしてももちろん構わない。 In the present embodiment, the case where one decoding method is selected for all the quantization matrix code data to be decoded has been described as an example, but the present invention is not limited to this. Of course, the decoding method may be selected in units of quantization matrix, or the encoding method may be selected for each sub-block size.
<実施形態5>
図13は本実施形態の画像符号化装置を示すブロック図である。図13において、実施形態1の図1と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。
<
FIG. 13 is a block diagram showing an image encoding apparatus according to this embodiment. In FIG. 13, the same numbers are assigned to portions that perform the same functions as those in FIG. 1 of the first embodiment, and descriptions thereof are omitted.
1308は量子化マトリクスを生成し、一旦格納する量子化マトリクス保持部である。格納される量子化マトリクスの生成方法については特に限定しないが、ユーザが量子化マトリクスを入力しても良いし、入力画像の特性から算出しても、初期値としてあらかじめ指定されたものを使用しても良い。本実施形態では、4×4画素、8×8画素、16×16画素などの正方形の形状の直交変換に対応した量子化マトリクスが生成され、格納されるものとする。さらに、後述の量子化マトリクス縮小部1351にて生成された16×4画素、4×16画素などの長方形の形状の直交変換に対応した量子化マトリクスをさらに入力し、格納するものとする。生成、格納される量子化マトリクスはこれらに限定されず、例えば、32×32画素の正方形の量子化マトリクスをさらに生成し、縮小された32×8画素および8画素×32画素の長方形の量子化マトリクスをさらに格納しても良い。
1351は、正方形の量子化マトリクスの一辺を縮小して長方形の量子化マトリクスを生成する量子化マトリクス縮小部である。本実施形態では、量子化マトリクス保持部1308で生成された16×16画素の正方形の量子化マトリクスを入力し、縮小処理を行い、4×16画素および16×4画素の量子化マトリクスを生成するものとする。前記縮小処理について、図17を用いて説明する。
図17(a)は16×16画素の量子化マトリクスを、記号を用いてモデル化したものである。◎、○、△、×の各記号は量子化マトリクスの各要素を示しているものとする。本実施形態では、量子化マトリクス縮小部1351は、図17(a)の16×16画素の量子化マトリクスから、◎、○の位置に存在する要素を垂直方向に間引き、図17(b)に示される16×4画素の量子化マトリクスを生成するものとする。また、図17(a)の16×16画素の量子化マトリクスから、◎、△の位置に存在する要素を水平方向に間引き、図17(c)に示される4×16画素の量子化マトリクスを生成するものとする。
FIG. 17A shows a 16 × 16 pixel quantization matrix modeled using symbols. The symbols ◎, ○, Δ, and × indicate each element of the quantization matrix. In this embodiment, the quantization
1309は量子化マトリクス保持部1308に格納された量子化マトリクスのうち正方形の量子化マトリクスを符号化して量子化マトリクス符号データを生成する量子化マトリクス符号化部である。図1の量子化マトリクス符号化部109同様、量子化マトリクスの符号化方法は特に限定されない。量子化マトリクスの各要素の値そのもの、もしくは直前の要素との差分や他の量子化マトリクスとの差分に対して、ハフマン符号や算術符号などを用いることができる。
1306はヘッダ情報や予測、変換に関する符号を生成するとともに、係数符号化部105で生成された量子化係数符号データおよび量子化マトリクス符号化部1309で生成された量子化マトリクス符号データを統合する統合符号化部である。
An
上記画像符号化装置における画像の符号化動作を以下に説明する。 An image encoding operation in the image encoding apparatus will be described below.
量子化マトリクス保持部1308には、該フレームの量子化に用いられる量子化マトリクスのうち、正方形のサブブロックの形状に対応した量子化マトリクスが保持されている。本実施形態では、サブブロックサイズが4×4画素、8×8画素、16×16画素、16×4画素、4×16画素の5種類である。そのため、その中で正方形の形状を持つ、4×4画素の直交変換に対応する第1量子化マトリクス、8×8画素の直交変換に対応する第2量子化マトリクス、16×16画素の直交変換に対応する第3量子化マトリクスが保持されている。本実施形態では上記3種類の量子化マトリクスを保持するが、サブブロックの形状の増減に合わせて、保持する量子化マトリクスも増減する。そして、16×4画素および4×16画素の直交変換に対応する量子化マトリクスを生成する必要があるため、16×16画素の量子化マトリクスを量子化マトリクス縮小部1351に出力する。
The quantization
量子化マトリクス縮小部1351は、入力された16×16画素の量子化マトリクスを前述した方法で縮小し、16×4画素および4×16画素の量子化マトリクスを生成し、量子化マトリクス保持部1308に出力する。
The quantization
量子化マトリクス保持部1308は、量子化マトリクス縮小部1351から入力された16×4画素および4×16画素の量子化マトリクスをさらに格納する。すなわち、16×4画素の直交変換に対応する第4量子化マトリクス、4×16画素の直交変換に対応する第5量子化マトリクスが保持されている。
The quantization
量子化マトリクス符号化部1309は正方形の直交変換に対応した量子化マトリクスを量子化マトリクス保持部1308からサブブロックサイズによって順に読み出し、符号化して量子化マトリクス符号データを生成する。本実施形態では、4×4画素の直交変換に対応する第1量子化マトリクス、8×8画素の直交変換に対応する第2量子化マトリクス、16×16画素の直交変換に対応する第3量子化マトリクスの3種類が符号化される。符号化方式は図1の量子化マトリクス符号化部109と同様に限定されない。
The quantization
統合符号化部1306では、図1の統合符号化部106同様、画像のシーケンス、フレーム、ピクチャおよびスライスのヘッダといった符号を生成する。また、これらのヘッダのいずれかに量子化マトリクス符号化部1309で生成された量子化マトリクス符号データを挿入する。図7(c)は本実施形態で出力されるビットストリームの一例である。本実施形態ではビットストリーム中のシーケンスヘッダ部に量子化マトリクスが符号化されている構成となっているが、符号化の位置はこれに限定されない。
The
図15は実施形態5に係る画像符号化装置における画像符号化処理を示すフローチャートである。図15において、実施形態1の図5と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。 FIG. 15 is a flowchart showing an image encoding process in the image encoding apparatus according to the fifth embodiment. In FIG. 15, the same numbers are assigned to portions that perform the same functions as those in FIG.
まず、ステップS1501にて、量子化マトリクス保持部1308は量子化マトリクスを一つ以上生成する。本実施形態では、サブブロックサイズが5種類あり、その中で正方形の形状のものが3種類あることから、前述の通り、第1から第3までの3種類の量子化マトリクスを生成する。
First, in step S1501, the quantization
ステップS1502にて、量子化マトリクス符号化部1309は量子化マトリクス保持部1308で生成されたそれぞれの正方形の量子化マトリクスを符号化する。
In step S1502, the quantization
ステップS1551にて、量子化マトリクス縮小部1351は第3量子化マトリクスを前述の方法で縮小し、16×4画素の直交変換に対応する第4量子化マトリクスおよび4×16画素の直交変換に対応する第5量子化マトリクスを生成する。
In step S1551, the quantization
ステップS1503にて、統合符号化部1306はビットストリームのヘッダ部の符号化を行い出力する。ここで、ステップS1502で符号化した量子化マトリクス符号データをヘッダとともに出力する。
In step S1503, the
本実施形態では、ステップS1551をステップS1502とステップS1503の間で実行したが、ステップS1551の実行順序はこれに限定されない。ステップS1501よりも後で、ステップS504よりも前であれば良い。 In this embodiment, step S1551 is executed between step S1502 and step S1503, but the execution order of step S1551 is not limited to this. It suffices if it is after step S1501 and before step S504.
以上の構成と動作により、各サブブロックサイズが表す直交変換に対応した最適な量子化マトリクスを用いて量子化しつつ、正方形の形状の量子化マトリクスのみを符号化したビットストリームを生成することができる。これにより、量子化マトリクスの符号化によって発生する符号量を抑えることが可能になる。 With the above configuration and operation, it is possible to generate a bit stream in which only a square-shaped quantization matrix is encoded while performing quantization using an optimal quantization matrix corresponding to the orthogonal transform represented by each sub-block size. . Thereby, it is possible to suppress the amount of code generated by encoding the quantization matrix.
なお、本実施形態では、量子化マトリクス縮小部1351によって生成された長方形の直交変換に対応した量子化マトリクスを量子化マトリクス保持部1308に格納する形態を示したが、実施の形態はこれに限定されない。量子化マトリクス保持部1308は正方形の量子化マトリクスのみを格納し、長方形の量子化マトリクスが使用される度に正方形の量子化マトリクスを縮小し、長方形の量子化マトリクスを生成する形態をとっても良い。このようにして、量子化マトリクス保持部1308において量子化マトリクスの保持に必要なメモリ量を軽減することも可能である。
In the present embodiment, the quantization matrix corresponding to the rectangular orthogonal transform generated by the quantization
また、本実施形態では、16画素から4画素への縮小処理を行う際に、4n(ただしnは整数)番目の要素を抽出し、他の要素を間引くことで縮小処理を実現したが、縮小処理の方法はこれに限定されない。4n+1、4n+2、または4n+3番目の要素を抽出し、他の要素を間引くことで縮小処理を実現しても良い。さらには、4n、4n+1、4n+2、4n+3番目の4要素の平均をとることで縮小処理を実現してももちろん構わない。 In this embodiment, when the reduction process from 16 pixels to 4 pixels is performed, the 4n (where n is an integer) element is extracted and the reduction process is realized by thinning out other elements. The processing method is not limited to this. The reduction process may be realized by extracting the 4n + 1, 4n + 2, or 4n + 3th element and thinning out other elements. Furthermore, the reduction process may be realized by taking the average of the 4n, 4n + 1, 4n + 2, 4n + 3th four elements.
また、本実施形態では16×16画素から16×4画素および4×16画素を生成する1/4倍の縮小処理について示したが、倍率はこれに限定されない。16×16画素から16×2画素および2×16画素の1/8倍、または16×16画素から16×8画素および8×16画素の1/2倍としても発明の本質は変わらない。さらには16×16画素から16×4画素を生成した後に生成された16×4画素を16×2画素に変換する方法でも構わない。
Further, in the present embodiment, the reduction processing of 1/4 times that generates 16 × 4 pixels and 4 × 16 pixels from 16 × 16 pixels is shown, but the magnification is not limited thereto. The essence of the invention does not change from 16 × 16 pixels to 1/8
さらには、本実施形態では16×16画素の量子化マトリクスを縮小する形態を示したが、これに限定されず、32×32画素および8×8画素やさらに大きなサイズの量子化マトリクスを縮小して長方形の量子化マトリクスを生成しても良い。 Furthermore, in the present embodiment, the 16 × 16 pixel quantization matrix is reduced. However, the present invention is not limited to this, and the 32 × 32 pixel, 8 × 8 pixel, or larger quantization matrix is reduced. Thus, a rectangular quantization matrix may be generated.
<実施形態6>
図14は、本発明の実施形態6に係る画像復号装置の構成を示すブロック図である。本実施形態では、図13に示す実施形態5で生成されたビットストリームの復号について説明する。図14において、実施形態2の図3と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。
<
FIG. 14 is a block diagram showing a configuration of an image decoding apparatus according to
図14において、14001は入力されたビットストリームのヘッダ情報を復号し、ビットストリームから必要な符号を分離して後段へ出力する復号・分離部である。復号・分離部14001は図13の統合符号化部1306と逆の動作を行う。
In FIG. 14,
14008はビットストリームのヘッダ情報から量子化マトリクス符号データを抽出して復号する量子化マトリクス復号部である。実施形態6で生成されたビットストリームには4×4画素、8×8画素、16×16画素の3種の正方形の直交変換に対応した量子化マトリクスが符号化されているため、本実施形態ではこれら3種の量子化マトリクスを再生する。
14051は、正方形の量子化マトリクスの一辺を縮小して長方形の量子化マトリクスを生成する量子化マトリクス縮小部である。実施形態6の図13の量子化マトリクス縮小部1351と同じ動作を行う。本実施形態では、量子化マトリクス復号部14008で再生された16×16画素の正方形の量子化マトリクスを入力し、縮小処理を行い、4×16画素および16×4画素の量子化マトリクスを生成するものとする。縮小処理についても図13の量子化マトリクス縮小部1351と同様である。
14009は量子化マトリクス復号部14008で再生された正方形の量子化マトリクスおよび量子化マトリクス縮小部14051で生成された長方形の量子化マトリクスを一旦格納しておく量子化マトリクス保持部である。
上記画像復号装置における画像の復号動作を以下に説明する。本実施形態では実施形態5で生成された動画像ビットストリームをフレーム単位で入力する構成となっているが、1フレーム分の静止画像ビットストリームを入力する構成としても構わない。またはスライス単位やパケット単位といった分割されたビットストリームを順次入力しても構わない。 An image decoding operation in the image decoding apparatus will be described below. In the present embodiment, the moving image bitstream generated in the fifth embodiment is input in units of frames. However, a configuration may be adopted in which a still image bitstream for one frame is input. Alternatively, a divided bit stream such as a slice unit or a packet unit may be sequentially input.
図14において、入力された1フレーム分のストリームデータは復号・分離部14001に入力され、画像を再生するのに必要なヘッダ情報が復号され、さらに後段で使用される符号が分離され出力される。
In FIG. 14, the input stream data for one frame is input to the decoding /
ヘッダ情報に含まれる量子化マトリクス符号データは量子化マトリクス復号部14008に入力され、後段の逆量子化処理で用いられる量子化マトリクスとしてサブブロックサイズに対応する量子化マトリクスが再生される。本実施形態では、4×4画素サブブロックに対応する第1量子化マトリクス、8×8画素サブブロックに対応する第2量子化マトリクス、16×16画素サブブロックに対応する第3量子化マトリクスの正方形の量子化マトリクス3種類を再生する。本実施形態では、サブブロックサイズが4×4画素、8×8画素、16×16画素、16×4画素、4×16画素の5種類であるが、その中で正方形の形状のものは3種類である。そのため、再生する量子化マトリクスは3種類となっているが、直交変換の形状の増減に合わせて、再生する量子化マトリクスも増減する。
The quantization matrix code data included in the header information is input to the quantization
再生された正方形の量子化マトリクスは量子化マトリクス縮小部14051に入力され、長方形の直交変換に対応する量子化マトリクスを入力された正方形の量子化マトリクスから生成する。本実施形態では、16×4画素および4×16画素の2種の直交変換サイズが存在しているため、16×4画素および4×16画素の量子化マトリクスを16×16画素の量子化マトリクスを縮小して生成する。生成された長方形の量子化マトリクスは量子化マトリクス復号部14008で再生された正方形の量子化マトリクスとともに量子化マトリクス保持部14009に入力され、一旦格納される。
The reproduced square quantization matrix is input to the quantization
また、復号・分離部14001で分離された符号のうち、予測および変換に関する符号は予測・変換方法抽出部306に入力され、復号されて、予測方法とサブブロックサイズを示す情報が生成される。さらに、復号・分離部14001で分離された符号のうち、量子化係数符号データは係数復号部302に入力される。
Of the codes separated by the decoding /
図16は、実施形態6に係る画像復号装置における画像復号処理を示すフローチャートである。実施形態2の図6と同様の機能を果たす部分に関しては同じ番号を付与し、説明を省略する。 FIG. 16 is a flowchart illustrating an image decoding process in the image decoding apparatus according to the sixth embodiment. The same numbers are assigned to portions that perform the same functions as those in FIG. 6 of the second embodiment, and descriptions thereof are omitted.
まず、ステップS1601にて、復号・分離部14001はヘッダ情報を復号する。
First, in step S1601, the decoding /
ステップS1602にて、量子化マトリクス復号部14008はヘッダ情報に含まれる量子化マトリクス符号データを復号し、後段の逆量子化処理で用いる量子化マトリクスが再生される。本実施形態では正方形の各サブブロックサイズに対応した、4×4画素の第1量子化マトリクス、8×8画素の第2量子化マトリクス、16×16画素の第3量子化マトリクスを復号・再生する。ただし、復号順序はこれに限定されない。
In step S1602, the quantization
ステップS1651にて、量子化マトリクス縮小部14051は第3量子化マトリクスを前述の方法で縮小し、16×4画素の直交変換に対応する第4量子化マトリクスおよび4×16画素の直交変換に対応する第5量子化マトリクスを生成する。本ステップの処理は図15のステップS1551と同様である。
In step S1651, the quantization
以上の構成と動作により、実施形態5で生成された、各サブブロックサイズが表す直交変換に対応した最適な量子化マトリクスを用いて量子化しつつ、正方形の量子化マトリクスのみを符号化したビットストリームの復号を行い、再生映像を得ることができる。これにより、量子化マトリクスの符号化によって発生する符号量を抑えたビットストリームの復号が可能になる。 With the above configuration and operation, a bit stream generated by encoding the square quantization matrix only while quantizing using the optimum quantization matrix corresponding to the orthogonal transform represented by each sub-block size, generated in the fifth embodiment. Can be decoded to obtain a reproduced video. As a result, it is possible to decode a bitstream with a reduced code amount generated by encoding the quantization matrix.
なお、本実施形態では、量子化マトリクス縮小部14051によって生成された長方形の直交変換に対応した量子化マトリクスを量子化マトリクス保持部14009に格納する形態を示したが、実施の形態はこれに限定されない。量子化マトリクス保持部14009は正方形の量子化マトリクスのみを格納し、長方形の量子化マトリクスが使用される度に正方形の量子化マトリクスを縮小し、長方形の量子化マトリクスを生成する形態をとっても良い。このようにして、量子化マトリクス保持部14009において量子化マトリクスの保持に必要なメモリ量を軽減することも可能である。
In the present embodiment, the quantization matrix corresponding to the rectangular orthogonal transform generated by the quantization
また、本実施形態では、16画素から4画素への縮小処理を行う際に、4n(ただしnは整数)番目の要素を抽出し、他の要素を間引くことで縮小処理を実現したが、縮小処理の方法はこれに限定されない。4n+1、4n+2、または4n+3番目の要素を抽出し、他の要素を間引くことで縮小処理を実現しても良い。さらには、4n、4n+1、4n+2、4n+3番目の4要素の平均をとることで縮小処理を実現してももちろん構わない。 In this embodiment, when the reduction process from 16 pixels to 4 pixels is performed, the 4n (where n is an integer) element is extracted and the reduction process is realized by thinning out other elements. The processing method is not limited to this. The reduction process may be realized by extracting the 4n + 1, 4n + 2, or 4n + 3th element and thinning out other elements. Furthermore, the reduction process may be realized by taking the average of the 4n, 4n + 1, 4n + 2, 4n + 3th four elements.
また、本実施形態では16×16画素から16×4画素および4×16画素を生成する1/4倍の縮小処理について示したが、倍率はこれに限定されない。16×16画素から16×2画素および2×16画素の1/8倍、または16×16画素から16×8画素および8×16画素の1/2倍としても発明の本質は変わらない。
Further, in the present embodiment, the reduction processing of 1/4 times that generates 16 × 4 pixels and 4 × 16 pixels from 16 × 16 pixels is shown, but the magnification is not limited thereto. The essence of the invention does not change from 16 × 16 pixels to 1/8
さらには、本実施形態では16×16画素の量子化マトリクスを縮小する形態を示したが、32×32画素および8×8画素の量子化マトリクスを縮小して長方形の量子化マトリクスを生成しても良い。 Furthermore, in the present embodiment, the 16 × 16 pixel quantization matrix is reduced, but the 32 × 32 pixel and 8 × 8 pixel quantization matrix is reduced to generate a rectangular quantization matrix. Also good.
<実施形態7>
図1、図3、図8、図9、図13、図14に示した各処理部はハードウェアでもって構成しているものとして上記実施形態では説明した。しかし、図1、図3、図8、図9、図13、図14に示した各処理部で行なう処理をコンピュータプログラムでもって構成しても良い。
<
In the above embodiment, each processing unit shown in FIGS. 1, 3, 8, 9, 13, and 14 is configured by hardware. However, the processing performed in each processing unit shown in FIG. 1, FIG. 3, FIG. 8, FIG. 9, FIG.
図12は、上記各実施形態に係る画像表示装置に適用可能なコンピュータのハードウェアの構成例を示すブロック図である。 FIG. 12 is a block diagram illustrating a configuration example of computer hardware applicable to the image display device according to each of the embodiments.
CPU1401は、RAM1402やROM1403に格納されているコンピュータプログラムやデータを用いてコンピュータ全体の制御を行うと共に、上記各実施形態に係る画像処理装置が行うものとして上述した各処理を実行する。即ち、CPU1401は、図1、図3、図8、図9、図13、図14に示した各処理部として機能することになる。
The
RAM1402は、外部記憶装置1406からロードされたコンピュータプログラムやデータ、I/F(インターフェース)1409を介して外部から取得したデータなどを一時的に記憶するためのエリアを有する。更に、RAM1402は、CPU1401が各種の処理を実行する際に用いるワークエリアを有する。即ち、RAM1402は、例えば、フレームメモリとして割当てたり、その他の各種のエリアを適宜提供することができる。
The
ROM1403には、本コンピュータの設定データや、ブートプログラムなどが格納されている。操作部1404は、キーボードやマウスなどにより構成されており、本コンピュータのユーザが操作することで、各種の指示をCPU1401に対して入力することができる。表示部1405は、CPU1401による処理結果を表示する。また表示部1405は例えば液晶ディスプレイのような表示装置で構成される。
The
外部記憶装置1406は、ハードディスクドライブ装置に代表される、大容量情報記憶装置である。外部記憶装置1406には、OS(オペレーティングシステム)や、図1、図3、図8、図9、図13、図14に示した各部の機能をCPU1401に実現させるためのコンピュータプログラムが保存されている。更には、外部記憶装置1406には、処理対象としての各画像データが保存されていても良い。
The
外部記憶装置1406に保存されているコンピュータプログラムやデータは、CPU1401による制御に従って適宜RAM1402にロードされ、CPU1401による処理対象となる。I/F1407には、LANやインターネット等のネットワーク、投影装置や表示装置などの他の機器を接続することができ、本コンピュータはこのI/F1407を介して様々な情報を取得したり、送出したりすることができる。1408は上述の各部を繋ぐバスである。
Computer programs and data stored in the
上述の構成からなる作動は前述のフローチャートで説明した作動をCPU1401が中心となってその制御を行う。
The operation having the above-described configuration is controlled by the
<その他の実施形態>
本発明の目的は、前述した機能を実現するコンピュータプログラムのコードを記録した記憶媒体を、システムに供給し、そのシステムがコンピュータプログラムのコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたコンピュータプログラムのコード自体が前述した実施形態の機能を実現し、そのコンピュータプログラムのコードを記憶した記憶媒体は本発明を構成する。また、そのプログラムのコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した機能が実現される場合も含まれる。
<Other embodiments>
The object of the present invention can also be achieved by supplying a storage medium storing a computer program code for realizing the above-described functions to the system, and the system reading and executing the computer program code. In this case, the computer program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the computer program code constitutes the present invention. In addition, the operating system (OS) running on the computer performs part or all of the actual processing based on the code instruction of the program, and the above-described functions are realized by the processing. .
さらに、以下の形態で実現しても構わない。すなわち、記憶媒体から読み出されたコンピュータプログラムコードを、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込む。そして、そのコンピュータプログラムのコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行って、前述した機能が実現される場合も含まれる。 Furthermore, you may implement | achieve with the following forms. That is, the computer program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Then, based on the instruction of the code of the computer program, the above-described functions are realized by the CPU or the like provided in the function expansion card or function expansion unit performing part or all of the actual processing.
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するコンピュータプログラムのコードが格納されることになる。 When the present invention is applied to the above storage medium, the computer program code corresponding to the flowchart described above is stored in the storage medium.
Claims (7)
ブロック分割手段によって分割されたブロックに対して符号化済みのブロックから予測を行い、予測誤差を生成する予測手段と、
正方形ないし長方形の複数の直交変換の処理ブロック形状から、使用する処理ブロック形状を決定し、前記予測手段によって生成された予測誤差に前記決定された直交変換を行い、変換係数を生成する変換手段と、
前記変換手段によって決定された直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択手段と、
前記量子化マトリクス選択手段によって選択された量子化マトリクスを用いて変換係数を量子化して量子化係数を生成する量子化手段と、
前記量子化手段によって生成された量子化係数を符号化する係数符号化手段
を有することを特徴とする画像符号化装置。 Block dividing means for dividing the input image into a plurality of blocks;
A prediction unit that performs prediction from a block that has been encoded with respect to the block divided by the block division unit, and generates a prediction error;
Transform means for determining a processing block shape to be used from a plurality of square or rectangular orthogonal processing block shapes, performing the determined orthogonal transform on the prediction error generated by the prediction means, and generating transform coefficients; ,
Quantization matrix selection means for selecting a quantization matrix based on the processing block shape of the orthogonal transformation determined by the transformation means;
Quantization means for quantizing a transform coefficient using the quantization matrix selected by the quantization matrix selection means to generate a quantization coefficient;
An image encoding apparatus comprising coefficient encoding means for encoding the quantized coefficient generated by the quantization means.
前記量子化マトリクス生成手段によって生成された量子化マトリクスを符号化する量子化マトリクス符号化手段と、
前記量子化マトリクス符号化手段によって符号化された量子化マトリクスと、前記係数符号化手段によって符号化された量子化係数を統合する統合符号化手段とを更に有することを特徴とする請求項1に記載の画像符号化装置。 A quantization matrix generating means for generating a quantization matrix corresponding to a plurality of square or rectangular orthogonal transform processing block shapes used when quantizing the transform coefficient;
Quantization matrix encoding means for encoding the quantization matrix generated by the quantization matrix generation means;
2. The apparatus according to claim 1, further comprising: a quantization matrix encoded by the quantization matrix encoding unit; and an integrated encoding unit that integrates the quantized coefficients encoded by the coefficient encoding unit. The image encoding device described.
前記復号手段によって復号された情報から、逆直交変換の処理ブロック形状を決定する決定手段と、
復号手段によって復号された情報から、量子化係数を復号する係数復号手段と、
前記係数復号手段によって復号された量子化係数を逆量子化する際に用いられる量子化マトリクスを復号する量子化マトリクス復号手段と、
前記決定手段によって決定された逆直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択手段と、
前記量子化マトリクス選択手段によって選択された量子化マトリクスを用いて、前記係数復号手段によって復号された量子化係数を逆量子化して変換係数を生成する逆量子化手段と、
前記決定手段によって決定された逆直交変換の形状に基づいて、前記逆量子化手段によって生成された変換係数を逆直交変換して予測誤差を生成する逆直交変換手段とを有することを特徴とする画像復号装置。 Decoding means for separating necessary codes from the input bitstream;
Determining means for determining a processing block shape of inverse orthogonal transform from the information decoded by the decoding means;
Coefficient decoding means for decoding quantized coefficients from the information decoded by the decoding means;
Quantization matrix decoding means for decoding a quantization matrix used when inversely quantizing the quantized coefficients decoded by the coefficient decoding means;
A quantization matrix selection unit that selects a quantization matrix based on the processing block shape of the inverse orthogonal transform determined by the determination unit;
Using the quantization matrix selected by the quantization matrix selection means, inverse quantization means for dequantizing the quantized coefficients decoded by the coefficient decoding means to generate transform coefficients;
And an inverse orthogonal transform unit that generates a prediction error by performing an inverse orthogonal transform on the transform coefficient generated by the inverse quantization unit based on the shape of the inverse orthogonal transform determined by the determination unit. Image decoding device.
入力画像を複数のブロックに分割するブロック分割工程と、
分割されたブロックに対して符号化済みのブロックから予測を行い、予測誤差を生成する予測工程と、
正方形ないし長方形の複数の直交変換の処理ブロック形状から、使用する処理ブロック形状を決定し、生成された予測誤差に前記決定された直交変換を行い、変換係数を生成する変換工程と、
決定された直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択工程と、
選択された量子化マトリクスを用いて変換係数を量子化して量子化係数を生成する量子化工程と、
生成された量子化係数を符号化する係数符号化工程とを有することを特徴とする画像符号化方法。 An image encoding method in an image encoding device, comprising:
A block dividing step of dividing the input image into a plurality of blocks;
A prediction step of performing prediction from the encoded block on the divided block and generating a prediction error;
A transformation step of determining a processing block shape to be used from a plurality of square or rectangular orthogonal transformation block shapes, performing the determined orthogonal transformation on the generated prediction error, and generating a transformation coefficient;
A quantization matrix selection step of selecting a quantization matrix based on the determined processing block shape of the orthogonal transform;
A quantization step of quantizing the transform coefficient using the selected quantization matrix to generate a quantization coefficient;
An image encoding method comprising: a coefficient encoding step for encoding the generated quantized coefficient.
入力されたビットストリームから必要な符号を分離する復号工程と、
復号された情報から、逆直交変換の処理ブロック形状を決定する決定工程と、
復号された情報から、量子化係数を復号する係数復号工程と、
復号された量子化係数を逆量子化する際に用いられる量子化マトリクスを復号する量子化マトリクス復号工程と、
決定された逆直交変換の処理ブロック形状に基づいて量子化マトリクスを選択する量子化マトリクス選択工程と、
選択された量子化マトリクスを用いて、復号された量子化係数を逆量子化して変換係数を生成する逆量子化工程と、
決定された逆直交変換の形状に基づいて、生成された変換係数を逆直交変換して予測誤差を生成する逆直交変換工程とを有することを特徴とする画像復号方法。 An image decoding method in an image decoding device, comprising:
A decoding step of separating necessary codes from the input bitstream;
A determination step of determining a processing block shape of inverse orthogonal transform from the decoded information;
A coefficient decoding step of decoding quantized coefficients from the decoded information;
A quantization matrix decoding step for decoding a quantization matrix used when dequantizing the decoded quantization coefficient;
A quantization matrix selection step of selecting a quantization matrix based on the determined inverse orthogonal transform processing block shape;
Using the selected quantization matrix, dequantizing the decoded quantized coefficients to generate transform coefficients; and
An image decoding method comprising: an inverse orthogonal transform step of generating a prediction error by performing an inverse orthogonal transform on a generated transform coefficient based on the determined shape of the inverse orthogonal transform.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011243937A JP2013038758A (en) | 2011-07-13 | 2011-11-07 | Image encoder, image encoding method, program, image decoder, image decoding method and program |
| PCT/JP2012/004471 WO2013008459A1 (en) | 2011-07-13 | 2012-07-11 | Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method, and program |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011155012 | 2011-07-13 | ||
| JP2011155012 | 2011-07-13 | ||
| JP2011243937A JP2013038758A (en) | 2011-07-13 | 2011-11-07 | Image encoder, image encoding method, program, image decoder, image decoding method and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2013038758A true JP2013038758A (en) | 2013-02-21 |
Family
ID=47505762
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011243937A Pending JP2013038758A (en) | 2011-07-13 | 2011-11-07 | Image encoder, image encoding method, program, image decoder, image decoding method and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP2013038758A (en) |
| WO (1) | WO2013008459A1 (en) |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014519766A (en) * | 2011-08-23 | 2014-08-14 | メディア テック シンガポール ピーティーイー.リミテッド | Method and system for transform block processing according to quantization matrix in video coding |
| EP2819415A1 (en) | 2013-06-28 | 2014-12-31 | Renesas Electronics Corporation | Image decoding apparatus |
| WO2015146646A1 (en) * | 2014-03-28 | 2015-10-01 | ソニー株式会社 | Image decoding device and method |
| CN109479138A (en) * | 2016-07-13 | 2019-03-15 | 韩国电子通信研究院 | Image encoding/decoding method and apparatus |
| WO2019189344A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device, decoding device, encoding method and decoding method |
| WO2019189346A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device, decoding device, encoding method and decoding method |
| WO2020003740A1 (en) * | 2018-06-29 | 2020-01-02 | キヤノン株式会社 | Image coding device, image decoding device, control methods therefor, and program |
| WO2020129498A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, and image decoding method |
| WO2020129407A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image decoding device, control method for these, and program |
| WO2020129489A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image decoding device, and method and program for controlling same |
| WO2020184227A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image decoder, image decoding method, and program |
| WO2020184223A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image decoder, image decoding method, and program |
| WO2020184229A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image encoding device, image encoding method, and program |
| WO2020246125A1 (en) | 2019-06-07 | 2020-12-10 | キヤノン株式会社 | Image coding device, image decoding device, method, and program |
| WO2021054012A1 (en) | 2019-09-19 | 2021-03-25 | キヤノン株式会社 | Image encoding device, image decoding device, control method therefor, and program |
| JP2022544950A (en) * | 2019-08-14 | 2022-10-24 | インターデジタル ヴイシー ホールディングス フランス,エスエーエス | Quantization matrix prediction for video encoding and decoding |
| WO2023181607A1 (en) | 2022-03-22 | 2023-09-28 | キヤノン株式会社 | Image encoder, image decoder, image encoding method and image decoding method |
| WO2023181546A1 (en) | 2022-03-22 | 2023-09-28 | キヤノン株式会社 | Image encoding device, image decoding device, image encoding method, and image decoding method |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104683801B (en) | 2013-11-29 | 2018-06-05 | 华为技术有限公司 | Method for compressing image and device |
| KR102315926B1 (en) * | 2016-10-10 | 2021-10-21 | 삼성전자주식회사 | Video encoding/decoding method and apparatus therefor |
| CN111405279B (en) * | 2019-01-03 | 2021-06-29 | 华为技术有限公司 | Quantization and inverse quantization method and device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10022331A1 (en) * | 2000-05-10 | 2001-11-15 | Bosch Gmbh Robert | Method for transformation coding of moving image sequences e.g. for audio-visual objects, involves block-wise assessing movement vectors between reference- and actual- image signals of image sequence |
| US7760950B2 (en) * | 2002-09-26 | 2010-07-20 | Ntt Docomo, Inc. | Low complexity and unified transforms for video coding |
-
2011
- 2011-11-07 JP JP2011243937A patent/JP2013038758A/en active Pending
-
2012
- 2012-07-11 WO PCT/JP2012/004471 patent/WO2013008459A1/en not_active Ceased
Cited By (62)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014519766A (en) * | 2011-08-23 | 2014-08-14 | メディア テック シンガポール ピーティーイー.リミテッド | Method and system for transform block processing according to quantization matrix in video coding |
| US9560347B2 (en) | 2011-08-23 | 2017-01-31 | Hfi Innovation Inc. | Method and system of transform block processing according to quantization matrix in video coding |
| US10218977B2 (en) | 2011-08-23 | 2019-02-26 | Hfi Innovation Inc. | Method and system of transform block processing according to quantization matrix in video coding |
| EP2819415A1 (en) | 2013-06-28 | 2014-12-31 | Renesas Electronics Corporation | Image decoding apparatus |
| US9800874B2 (en) | 2013-06-28 | 2017-10-24 | Renesas Electronics Corporation | Image decoding apparatus executing successive tile decoding and filtering around tile boundary |
| WO2015146646A1 (en) * | 2014-03-28 | 2015-10-01 | ソニー株式会社 | Image decoding device and method |
| JPWO2015146646A1 (en) * | 2014-03-28 | 2017-04-13 | ソニー株式会社 | Image decoding apparatus and method |
| US10298927B2 (en) | 2014-03-28 | 2019-05-21 | Sony Corporation | Image decoding device and method |
| CN109479138A (en) * | 2016-07-13 | 2019-03-15 | 韩国电子通信研究院 | Image encoding/decoding method and apparatus |
| CN109479138B (en) * | 2016-07-13 | 2023-11-03 | 韩国电子通信研究院 | Image encoding/decoding method and device |
| US12413732B2 (en) | 2018-03-30 | 2025-09-09 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, and related non-transitory computer readable medium |
| US11722670B2 (en) | 2018-03-30 | 2023-08-08 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| US11166025B2 (en) | 2018-03-30 | 2021-11-02 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| US12177441B2 (en) | 2018-03-30 | 2024-12-24 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| WO2019189346A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device, decoding device, encoding method and decoding method |
| JP2023175033A (en) * | 2018-03-30 | 2023-12-08 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device, decoding device and bitstream generation device |
| WO2019189344A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device, decoding device, encoding method and decoding method |
| JP2022111209A (en) * | 2018-03-30 | 2022-07-29 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Encoding device and decoding device |
| US11716473B2 (en) | 2018-03-30 | 2023-08-01 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| JPWO2019189344A1 (en) * | 2018-03-30 | 2021-03-11 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Coding device, decoding device, coding method and decoding method |
| US11683492B2 (en) | 2018-03-30 | 2023-06-20 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| US11677949B2 (en) | 2018-03-30 | 2023-06-13 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| CN116233457A (en) * | 2018-03-30 | 2023-06-06 | 松下电器(美国)知识产权公司 | Encoding device, decoding device and storage medium |
| US11595654B2 (en) | 2018-03-30 | 2023-02-28 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| US11457215B2 (en) | 2018-03-30 | 2022-09-27 | Panasonic Intellectual Property Corporation Of America | Encoder, decoder, encoding method, and decoding method |
| WO2020003740A1 (en) * | 2018-06-29 | 2020-01-02 | キヤノン株式会社 | Image coding device, image decoding device, control methods therefor, and program |
| US11930178B2 (en) | 2018-12-17 | 2024-03-12 | Canon Kabushiki Kaisha | Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method, and non-transitory computer-readable storage medium |
| JP2023139325A (en) * | 2018-12-17 | 2023-10-03 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, and image decoding method |
| WO2020129498A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, and image decoding method |
| JP7727815B2 (en) | 2018-12-17 | 2025-08-21 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, image decoding method |
| JP2025013665A (en) * | 2018-12-17 | 2025-01-24 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, image decoding method |
| WO2020129407A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image decoding device, control method for these, and program |
| JP7594638B2 (en) | 2018-12-17 | 2024-12-04 | キヤノン株式会社 | Image encoding device, image encoding method, image decoding device, image decoding method |
| KR20210100172A (en) | 2018-12-17 | 2021-08-13 | 캐논 가부시끼가이샤 | image encoding apparatus, image encoding method, image decoding apparatus, image decoding method |
| KR20210096279A (en) | 2018-12-17 | 2021-08-04 | 캐논 가부시끼가이샤 | Image encoding apparatus and image decoding apparatus, and their control method and program |
| KR20210095947A (en) | 2018-12-17 | 2021-08-03 | 캐논 가부시끼가이샤 | Image encoding apparatus and image decoding apparatus, and their control method and program |
| US11997276B2 (en) | 2018-12-17 | 2024-05-28 | Canon Kabushiki Kaisha | Image encoding apparatus, image decoding apparatus, control methods and non-transitory computer-readable storage medium |
| WO2020129489A1 (en) | 2018-12-17 | 2020-06-25 | キヤノン株式会社 | Image encoding device, image decoding device, and method and program for controlling same |
| US11849114B2 (en) | 2018-12-17 | 2023-12-19 | Canon Kabushiki Kaisha | Image encoding apparatus, image decoding apparatus, control methods thereof, and non-transitory computer-readable storage medium |
| WO2020184227A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image decoder, image decoding method, and program |
| US11985352B2 (en) | 2019-03-11 | 2024-05-14 | Canon Kabushiki Kaisha | Image coding apparatus, image coding method, and storage media |
| KR20210125089A (en) | 2019-03-11 | 2021-10-15 | 캐논 가부시끼가이샤 | Image decoding apparatus, image decoding method and program |
| WO2020184223A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image decoder, image decoding method, and program |
| KR20210126121A (en) | 2019-03-11 | 2021-10-19 | 캐논 가부시끼가이샤 | Image decoding apparatus, image decoding method and program |
| WO2020184229A1 (en) | 2019-03-11 | 2020-09-17 | キヤノン株式会社 | Image encoding device, image encoding method, and program |
| KR20210125095A (en) | 2019-03-11 | 2021-10-15 | 캐논 가부시끼가이샤 | Image encoding apparatus, image encoding method and storage medium |
| US12075049B2 (en) | 2019-03-11 | 2024-08-27 | Canon Kabushiki Kaisha | Image decoding apparatus, image decoding method, and storage medium |
| US11962806B2 (en) | 2019-03-11 | 2024-04-16 | Canon Kabushiki Kaisha | Image decoding apparatus, image decoding method, and storage medium |
| US11856198B2 (en) | 2019-06-07 | 2023-12-26 | Canon Kabushiki Kaisha | Image decoding device, method, and non-transitory computer-readable storage medium |
| KR20220011175A (en) | 2019-06-07 | 2022-01-27 | 캐논 가부시끼가이샤 | Image decoding apparatus, decoding method, and computer program |
| WO2020246125A1 (en) | 2019-06-07 | 2020-12-10 | キヤノン株式会社 | Image coding device, image decoding device, method, and program |
| JP7640525B2 (en) | 2019-08-14 | 2025-03-05 | インターディジタル・シーイー・パテント・ホールディングス・ソシエテ・パ・アクシオンス・シンプリフィエ | Quantization matrix prediction for video encoding and decoding. |
| US12160577B2 (en) | 2019-08-14 | 2024-12-03 | Interdigital Ce Patent Holdings, Sas | Quantization matrix prediction for video encoding and decoding |
| JP2022544950A (en) * | 2019-08-14 | 2022-10-24 | インターデジタル ヴイシー ホールディングス フランス,エスエーエス | Quantization matrix prediction for video encoding and decoding |
| JP2025072672A (en) * | 2019-08-14 | 2025-05-09 | インターディジタル・シーイー・パテント・ホールディングス・ソシエテ・パ・アクシオンス・シンプリフィエ | Quantization matrix prediction for video encoding and decoding. |
| WO2021054012A1 (en) | 2019-09-19 | 2021-03-25 | キヤノン株式会社 | Image encoding device, image decoding device, control method therefor, and program |
| KR20220058959A (en) | 2019-09-19 | 2022-05-10 | 캐논 가부시끼가이샤 | Image encoding apparatus, image decoding apparatus, and their control method and program |
| US12137224B2 (en) | 2019-09-19 | 2024-11-05 | Canon Kabushiki Kaisha | Image encoding apparatus, image decoding apparatus, methods for the same, and non-transitory computer-readable storage medium for suppressing the code amount of quantization matrices |
| KR20240162116A (en) | 2022-03-22 | 2024-11-14 | 캐논 가부시끼가이샤 | Image encoding device, image decoding device, image encoding method and image decoding method |
| KR20240166515A (en) | 2022-03-22 | 2024-11-26 | 캐논 가부시끼가이샤 | Image encoding device, image decoding device, image encoding method, and image decoding method |
| WO2023181546A1 (en) | 2022-03-22 | 2023-09-28 | キヤノン株式会社 | Image encoding device, image decoding device, image encoding method, and image decoding method |
| WO2023181607A1 (en) | 2022-03-22 | 2023-09-28 | キヤノン株式会社 | Image encoder, image decoder, image encoding method and image decoding method |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2013008459A1 (en) | 2013-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2013038758A (en) | Image encoder, image encoding method, program, image decoder, image decoding method and program | |
| CN108810536B (en) | Image encoding apparatus | |
| JP6315911B2 (en) | Image encoding device, image encoding method and program, image decoding device, image decoding method and program | |
| JP5875236B2 (en) | Image encoding device, image encoding method and program, image decoding device, image decoding method and program | |
| JP5871628B2 (en) | Image encoding device, image encoding method and program, image decoding device, image decoding method and program | |
| JP2013038768A (en) | Image encoder, image encoding method, program, image decoder, image decoding method and program | |
| JP2014011634A (en) | Image encoder, image encoding method and program, image decoder, and image decoding method and program | |
| JP2013110518A (en) | Image coding apparatus, image coding method, and program, and image decoding apparatus, image decoding method, and program | |
| JP6041554B2 (en) | Image encoding device, image encoding method and program, image decoding device, image decoding method and program | |
| JP2013146038A (en) | Image quantization apparatus, image quantization method, and program, and image inverse quantization apparatus, image inverse quantization method, and program | |
| JP2013012887A (en) | Image encoding apparatus, image encoding method and program, image decoding apparatus, image decoding method and program | |
| JP2011082629A (en) | Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and program | |
| JP6469277B2 (en) | Image encoding device, image encoding method and program, image decoding device, image decoding method and program | |
| JP6618578B2 (en) | Image encoding apparatus and image decoding apparatus | |
| JP6679778B2 (en) | Image coding device, image coding method and program, image decoding device, image decoding method and program | |
| JP2016103854A (en) | Image encoder, image encoding method and program, and image decoder, image decoding method and program |