JP6300884B2 - Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and recording medium - Google Patents

Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and recording medium Download PDF

Info

Publication number
JP6300884B2
JP6300884B2 JP2016216384A JP2016216384A JP6300884B2 JP 6300884 B2 JP6300884 B2 JP 6300884B2 JP 2016216384 A JP2016216384 A JP 2016216384A JP 2016216384 A JP2016216384 A JP 2016216384A JP 6300884 B2 JP6300884 B2 JP 6300884B2
Authority
JP
Japan
Prior art keywords
prediction
parameter
prediction parameter
unit
prediction parameters
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.)
Active
Application number
JP2016216384A
Other languages
Japanese (ja)
Other versions
JP2017079473A5 (en
JP2017079473A (en
Inventor
山本 智幸
智幸 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Publication of JP2017079473A publication Critical patent/JP2017079473A/en
Publication of JP2017079473A5 publication Critical patent/JP2017079473A5/ja
Application granted granted Critical
Publication of JP6300884B2 publication Critical patent/JP6300884B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • H04N19/197Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters including determination of the initial value of an encoding parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Description

本発明は、画像を符号化し符号化データを生成する画像符号化装置に関する。また、そのような画像符号化装置を用いて生成された符号化データを復号する画像復号装置に関する。   The present invention relates to an image encoding apparatus that encodes an image and generates encoded data. The present invention also relates to an image decoding apparatus that decodes encoded data generated using such an image encoding apparatus.

動画像を効率的に伝送または記録するために、動画像符号化装置が用いられている。具体的な動画像符号化方式としては、例えば、H.264/MPEG−4 AVC(非特許文献1)、および、VCEG(Video Coding Expert Group)における共同開発用コーデックであるKTAソフトウェアに採用されている方式などが挙げられる。   In order to efficiently transmit or record a moving image, a moving image encoding device is used. As a specific moving picture encoding method, for example, H.264 is used. H.264 / MPEG-4 AVC (Non-Patent Document 1) and a method employed in KTA software which is a codec for joint development in VCEG (Video Coding Expert Group).

このような符号化方式において、動画像を構成する画像(ピクチャ)は、画像を分割することにより得られるスライス、スライスを分割することにより得られるマクロブロック、及び、マクロブロックを分割することより得られるサブブロックからなる階層構造により管理され、普通、サブブロックごとに符号化される。   In such an encoding method, an image (picture) constituting a moving image is obtained by dividing a slice obtained by dividing an image, a macroblock obtained by dividing the slice, and a macroblock. Are managed by a hierarchical structure composed of sub-blocks, and are usually encoded for each sub-block.

また、このような符号化方式においては、通常、入力画像を符号化/復号化することによって得られる局所復号画像に基づいて予測画像が生成され、当該予測画像と入力画像との差分データが符号化される。また、予測画像の生成方法としては、フレーム間予測(インター予測)、および、フレーム内予測(イントラ予測)と呼ばれる方法が知られている。   In such an encoding method, a predicted image is usually generated based on a local decoded image obtained by encoding / decoding an input image, and difference data between the predicted image and the input image is encoded. It becomes. As methods for generating a predicted image, methods called inter-frame prediction (inter prediction) and intra-frame prediction (intra prediction) are known.

インター予測においては、フレーム全体が復号された参照フレーム内の参照画像に対し、動きベクトルを用いた動き補償を適用することによって、予測対象フレーム内の予測画像が生成される。また、インター予測においては、複数の参照画像を参照して予測画像を生成することも可能であり、その際には、各参照画像の画素値に重み係数を乗じた値を用いて予測画像が生成される。   In inter prediction, a prediction image in a prediction target frame is generated by applying motion compensation using a motion vector to a reference image in a reference frame in which the entire frame is decoded. In inter prediction, it is also possible to generate a prediction image by referring to a plurality of reference images. In this case, the prediction image is obtained using a value obtained by multiplying the pixel value of each reference image by a weighting coefficient. Generated.

一方で、イントラ予測においては、同一フレーム内の局所復号画像に基づいて、当該フレームにおける予測画像が順次生成される。具体的には、イントラ予測においては、通常、単位領域(例えば、マクロブロック)を構成する予測単位(例えば、サブブロック)毎に、予め定められた予測方向(予測モード)群に含まれる予測方向から何れかの予測方向が選択されると共に、局所復号画像における参照画素の画素値を、選択された予測方向に外挿することによって、当該予測対象領域上の予測画素値が生成される。   On the other hand, in intra prediction, based on locally decoded images in the same frame, predicted images in the frame are sequentially generated. Specifically, in intra prediction, usually, prediction directions included in a predetermined prediction direction (prediction mode) group for each prediction unit (for example, subblock) constituting a unit region (for example, macroblock). Is selected, and the pixel value of the reference pixel in the locally decoded image is extrapolated to the selected prediction direction, thereby generating a prediction pixel value on the prediction target region.

このように、予測画像は、一般に、動きベクトル、重み係数、または、予測モード等の予測パラメータに基づいて生成される。   As described above, the predicted image is generally generated based on a prediction parameter such as a motion vector, a weighting coefficient, or a prediction mode.

ITU−T Recommendation H.264(11/07)(2007年11月公開)ITU-T Recommendation H. H.264 (11/07) (released in November 2007)

しかしながら、動画像復号装置において予測画像を適切に生成するためには、動画像符
号化装置において用いられた予測パラメータを符号化し、動画像復号装置に伝達する必要があるため、予測パラメータによって符号化データの符号量が増大するという問題がある。
However, in order to appropriately generate a predicted image in the video decoding device, it is necessary to encode the prediction parameter used in the video encoding device and transmit it to the video decoding device. There is a problem that the code amount of data increases.

例えば、上述した従来のイントラ予測においては、上記差分データと共に、各予測対象領域に対して、何れの予測モードが選択されたのかを示す情報である予測モード情報を符号化する必要があるため、予測モード情報によって、符号化データの符号量が増大するという問題がある。   For example, in the above-described conventional intra prediction, it is necessary to encode prediction mode information that is information indicating which prediction mode has been selected for each prediction target region together with the difference data. There is a problem that the amount of encoded data increases due to the prediction mode information.

本発明は、上記の問題に鑑みてなされたものであり、その目的は、符号化効率を犠牲にすることなく、予測パラメータを指定するための符号量を削減することのできる画像符号化装置、および、そのような画像符号化装置によって生成された符号化データを復号することのできる画像復号装置を実現することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide an image encoding device capable of reducing the amount of code for specifying a prediction parameter without sacrificing encoding efficiency, Another object of the present invention is to realize an image decoding apparatus capable of decoding encoded data generated by such an image encoding apparatus.

上記課題を解決するために、本発明の一態様に係る画像復号装置は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号装置において、各予測単位に適用する予測パラメータを復号する予測パラメータ復号手段と、予測パラメータの集合である縮減セットを生成する縮減セット構築手段と、基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号手段とを備え、上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ復号手段が復号する予測パラメータには、上記第2予測パラメータ復号手段により符号化データに含まれるフラグの値に応じて復号される第1予測パラメータか、または、上記第2予測パラメータ復号手段により符号化データに含まれるフラグの値に応じて復号される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号手段は、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号手段は、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の復号を省略して上記予測パラメータを復号することを特徴としている。   In order to solve the above problem, an image decoding apparatus according to an aspect of the present invention encodes a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit. In an image decoding apparatus for decoding the obtained encoded data, a prediction parameter decoding unit that decodes a prediction parameter applied to each prediction unit, a reduced set construction unit that generates a reduced set that is a set of prediction parameters, and a basic set Decoding the first prediction parameter that identifies the prediction parameter included in the length, or determining the second prediction parameter that identifies the prediction parameter included in the reduced set according to the number of prediction parameters included in the reduced set 2nd prediction parameter decoding means for decoding from the bit string of the above, the reduced set is the target prediction unit And the number of prediction parameters included in the reduced set is less than the number of prediction parameters included in a basic set of predetermined prediction parameters, and includes at least one prediction parameter included in the neighboring prediction unit region The prediction parameter decoded by the parameter decoding unit is the first prediction parameter decoded by the second prediction parameter decoding unit according to the value of the flag included in the encoded data, or the second prediction parameter decoding unit. The second prediction parameter decoded according to the value of the flag included in the encoded data is included, and the prediction parameter is a motion vector used for motion compensation prediction and is included in the neighborhood prediction unit region for the target prediction unit. Between at least two prediction parameters If there are multiple prediction parameters, one of the overlapping prediction parameters is included in the reduced set, the prediction parameter decoding means decodes the prediction parameter included in the reduced set, and the prediction parameter The decoding means is characterized in that when the number related to the prediction parameter included in the reduced set is 1, decoding of the prediction parameter is performed by omitting decoding of information regarding the prediction parameter.

上記課題を解決するために、本発明の一態様に係る画像復号方法は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号方法であって、各予測単位に適用する予測パラメータを復号する予測パラメータ復号ステップと、予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号ステップと、を含み上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ復号ステップで復号する予測パラメータには、上記第2予測パラメータ復号ステップで符号化データに含まれるフラグの値に応じて復号される第1予測パラメータか、または、上記第2予測パラメータ復号ステップで符号化データに含まれるフラグの値に応じて復号される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の復号を省略して上記予測パラメータを復号することを特徴としている。   In order to solve the above problem, an image decoding method according to an aspect of the present invention encodes a difference between an input image and a predicted image together with a prediction parameter used to generate a predicted image for each prediction unit. An image decoding method for decoding the obtained encoded data, a prediction parameter decoding step for decoding a prediction parameter applied to each prediction unit, a reduced set construction step for generating a reduced set that is a set of prediction parameters, A first prediction parameter specifying a prediction parameter included in the basic set is decoded, or a second prediction parameter specifying a prediction parameter included in the reduced set is determined based on the number of prediction parameters included in the reduced set. A second prediction parameter decoding step for decoding from a bit string of length, the reduced set comprising: Including at least one prediction parameter included in the neighborhood prediction unit region for the elephant prediction unit, and the number of prediction parameters included in the reduced set is less than the number of prediction parameters included in a basic set of prediction parameters determined in advance. The prediction parameter decoded in the prediction parameter decoding step is the first prediction parameter decoded according to the value of the flag included in the encoded data in the second prediction parameter decoding step, or the second prediction parameter The second prediction parameter decoded according to the value of the flag included in the encoded data in the decoding step is included, and the prediction parameter is a motion vector used for motion compensation prediction, and is a neighborhood prediction unit for the target prediction unit At least two or more prediction parameters included in the region If there is a prediction parameter that overlaps between parameters, one of the overlapping prediction parameters is included in the reduced set, and in the prediction parameter decoding step, the prediction parameter included in the reduced set is decoded, In the prediction parameter decoding step, when the number related to the prediction parameters included in the reduced set is 1, decoding of the information related to the prediction parameters is omitted and the prediction parameters are decoded.

上記課題を解決するために、本発明の一態様に係る画像符号化装置は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化装置において、各予測単位に適用する予測パラメータを符号化する予測パラメータ符号化手段と、予測パラメータの集合である縮減セットを生成する縮減セット構築手段と、基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化手段とを備え、上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ符号化手段が符号化する予測パラメータには、上記第2予測パラメータ符号化手段により符号化された符号化データに含まれるフラグの値に応じて符号化される第1予測パラメータか、または、上記第2予測パラメータ符号化手段により符号化された符号化データに含まれるフラグの値に応じて符号化される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化手段は、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化手段は、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の符号化を省略して上記予測パラメータを符号化することを特徴としている。   In order to solve the above problem, an image encoding device according to an aspect of the present invention encodes a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit. In the image encoding device that generates encoded data according to the above, a prediction parameter encoding unit that encodes a prediction parameter applied to each prediction unit, a reduced set construction unit that generates a reduced set that is a set of prediction parameters, and a basic A first prediction parameter specifying a prediction parameter included in the set is encoded, or a second prediction parameter specifying a prediction parameter included in the reduced set is determined by the number of prediction parameters included in the reduced set. Second prediction parameter encoding means for encoding from a bit string of length, and the reduced set includes a target prediction. Including at least one or more prediction parameters included in the neighborhood prediction unit region for the unit, and the number of prediction parameters included in the reduced set is less than the number of prediction parameters included in a basic set of predetermined prediction parameters, The prediction parameter encoded by the prediction parameter encoding means is the first prediction parameter encoded according to the value of the flag included in the encoded data encoded by the second prediction parameter encoding means, or The second prediction parameter encoded according to the value of the flag included in the encoded data encoded by the second prediction parameter encoding means is included, and the prediction parameter is used for motion compensation prediction. A motion vector, at least 2 included in the neighborhood prediction unit region for the target prediction unit If there is a prediction parameter that overlaps between the prediction parameters in the upper prediction parameter, one of the overlapping prediction parameters is included in the reduced set, and the prediction parameter encoding means includes the reduced parameter in the reduced set. When the number of prediction parameters included in the reduced set is 1, the prediction parameter encoding means encodes the prediction parameters by omitting encoding of information regarding the prediction parameters. It is characterized by becoming.

上記課題を解決するために、本発明の一態様に係る画像符号化方法は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化方法において、各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化ステップと、予測パラメータを符号化する予測パラメータ符号化ステップと、を含み、上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ符号化ステップで符号化する予測パラメータには、上記第2予測パラメータ符号化ステップにより符号化された符号化データに含まれるフラグの値に応じて符号化される第1予測パラメータか、または、上記第2予測パラメータ符号化ステップにより符号化された符号化データに含まれるフラグの値に応じて符号化される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の符号化を省略して上記予測パラメータを符号化することを特徴としている。   In order to solve the above problem, an image encoding method according to an aspect of the present invention encodes a difference between an input image and a predicted image together with a prediction parameter used to generate a predicted image for each prediction unit. In the image encoding method for generating encoded data by the above, a reduced set construction step for generating a reduced set that is a set of prediction parameters applied to each prediction unit, and a first prediction parameter for specifying a prediction parameter included in the basic set Or a second prediction parameter code that encodes a second prediction parameter that identifies a prediction parameter included in the reduced set from a bit string having a length determined by the number of prediction parameters included in the reduced set And a prediction parameter encoding step for encoding a prediction parameter, and Includes at least one prediction parameter included in the neighborhood prediction unit area for the target prediction unit, and the number of prediction parameters included in the reduced set is the number of prediction parameters included in a basic set of predetermined prediction parameters. The first prediction parameter encoded in the prediction parameter encoding step is encoded according to the value of the flag included in the encoded data encoded in the second prediction parameter encoding step. A prediction parameter, or a second prediction parameter that is encoded according to a flag value included in the encoded data encoded by the second prediction parameter encoding step, and the prediction parameter is A motion vector used for motion compensated prediction, and a neighborhood prediction unit for the target prediction unit When at least two or more prediction parameters included in a region include prediction parameters that overlap between prediction parameters, one of the overlapping prediction parameters is included in the reduced set, and the prediction parameter encoding step Then, the prediction parameter included in the reduced set is encoded. In the prediction parameter encoding step, when the number related to the prediction parameter included in the reduced set is 1, the encoding of information regarding the prediction parameter is omitted. Thus, the prediction parameter is encoded.

上記課題を解決するために、本発明の一態様に係る記録媒体は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号方法をコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体であって、各予測単位に適用する予測パラメータを復号する予測パラメータ復号ステップと、予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号ステップと、を含み、上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ復号ステップで復号する予測パラメータには、上記第2予測パラメータ復号ステップで符号化データに含まれるフラグの値に応じて復号される第1予測パラメータか、または、上記第2予測パラメータ復号ステップで符号化データに含まれるフラグの値に応じて復号される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の復号を省略して上記予測パラメータを復号する、ことをコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体である。   In order to solve the above problems, a recording medium according to an aspect of the present invention obtains a difference between an input image and a predicted image by encoding each prediction unit together with a prediction parameter used to generate a predicted image. A computer-readable recording medium recording a control program for causing a computer to execute an image decoding method for decoding the encoded data, and a prediction parameter decoding step for decoding a prediction parameter to be applied to each prediction unit; A reduced set construction step for generating a reduced set that is a set of prediction parameters, and a first prediction parameter that specifies a prediction parameter included in the basic set, or a second that specifies a prediction parameter included in the reduced set The prediction parameter is determined by the number of prediction parameters included in the reduced set. A second prediction parameter decoding step for decoding from a bit string of length, wherein the reduced set includes at least one or more prediction parameters included in a neighboring prediction unit region for a target prediction unit, and includes a prediction included in the reduced set The number of parameters is less than the number of prediction parameters included in a basic set of predetermined prediction parameters, and the prediction parameters decoded in the prediction parameter decoding step are included in the encoded data in the second prediction parameter decoding step. The first prediction parameter decoded according to the value of the flag to be decoded, or the second prediction parameter decoded according to the value of the flag included in the encoded data in the second prediction parameter decoding step. The prediction parameter is a motion vector used for motion compensation prediction. If at least two or more prediction parameters included in the neighboring prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. In addition, in the prediction parameter decoding step, the prediction parameter included in the reduced set is decoded. In the prediction parameter decoding step, if the number related to the prediction parameter included in the reduced set is 1, information on the prediction parameter This is a computer-readable recording medium on which a control program for causing a computer to execute the decoding of the prediction parameter without decoding is recorded.

上記課題を解決するために、本発明の一態様に係る記録媒体は、入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化方法をコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体であって、各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化ステップと、予測パラメータを符号化する予測パラメータ符号化ステップと、を含み、上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータ数未満であり、上記予測パラメータ符号化ステップで符号化する予測パラメータには、上記第2予測パラメータ符号化ステップにより符号化された符号化データに含まれるフラグの値に応じて符号化される第1予測パラメータか、または、上記第2予測パラメータ符号化ステップにより符号化された符号化データに含まれるフラグの値に応じて符号化される第2予測パラメータが含まれるものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータに関する数が1である場合には、予測パラメータに関する情報の符号化を省略して上記予測パラメータを符号化する、ことをコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体である。   In order to solve the above problems, a recording medium according to an aspect of the present invention encodes a difference between an input image and a prediction image by encoding the prediction unit for each prediction unit together with a prediction parameter used to generate a prediction image. A computer-readable recording medium storing a control program for causing a computer to execute an image encoding method for generating encoded data, and generating a reduced set that is a set of prediction parameters applied to each prediction unit A first prediction parameter for specifying a prediction parameter included in the construction step and the basic set, or a second prediction parameter for specifying a prediction parameter included in the reduced set is used as a prediction parameter included in the reduced set. A second prediction parameter encoding step encoded from a bit string having a length determined by the number of And a prediction parameter encoding step for encoding a prediction parameter, and the reduced set includes at least one or more prediction parameters included in a neighboring prediction unit region for the target prediction unit and is included in the reduced set. The number of prediction parameters is less than the number of prediction parameters included in a basic set of predetermined prediction parameters, and the prediction parameter encoded in the prediction parameter encoding step is encoded by the second prediction parameter encoding step. The first prediction parameter encoded according to the flag value included in the encoded data or the flag value included in the encoded data encoded by the second prediction parameter encoding step. A second prediction parameter encoded according to A parameter is a motion vector used for motion compensation prediction, and when there is a prediction parameter that overlaps between the prediction parameters in at least two or more prediction parameters included in the neighborhood prediction unit region with respect to the target prediction unit, the overlapping prediction is performed. One of the parameters is included in the reduced set, the prediction parameter encoding step encodes a prediction parameter included in the reduced set, and the prediction parameter encoding step relates to a prediction parameter included in the reduced set. When the number is 1, it is a computer-readable recording medium on which a control program for causing a computer to execute encoding of the prediction parameter by omitting encoding of information regarding the prediction parameter is recorded.

上記のように構成された画像符号化装置によれば、符号化効率を犠牲にすることなく、予測パラメータを指定するための符号量を削減することができる。   According to the image coding apparatus configured as described above, it is possible to reduce the code amount for designating the prediction parameter without sacrificing the coding efficiency.

実施形態に係る動画像復号装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image decoding apparatus which concerns on embodiment. 実施形態に係る動画像復号装置が備えるMB復号部の構成を示すブロック図である。It is a block diagram which shows the structure of the MB decoding part with which the moving image decoding apparatus which concerns on embodiment is provided. 実施形態に係る動画像復号装置が備える予測パラメータ復号部の構成を示すブロック図である。It is a block diagram which shows the structure of the prediction parameter decoding part with which the moving image decoding apparatus which concerns on embodiment is provided. 予測パラメータ復号部が備えるグループ判定部の動作を説明するための図である。(a)〜(b)は、マクロブロックに含まれる16個のサブブロックの各々が、分類方法Aに基づいて、第1のグループまたは第2のグループの何れかに分類される場合を示しており、(c)〜(d)は、各サブブロックが、分類方法Bに基づいて分類される場合を示しており、(e)〜(f)は、各サブブロックが、分類方法Cに基づいて分類される場合を示している。It is a figure for demonstrating operation | movement of the group determination part with which a prediction parameter decoding part is provided. (A)-(b) shows the case where each of 16 subblocks contained in a macroblock is classified into either the 1st group or the 2nd group based on classification method A (C) to (d) show the case where each sub-block is classified based on the classification method B, and (e) to (f) show that each sub-block is based on the classification method C. Shows the case of classification. H.264/MPEG−4 AVC規格におけるイントラ予測に用いられるイントラ予測モードを、各予測モードに付されたインデックスと共に示す図である。H. It is a figure which shows the intra prediction mode used for the intra prediction in H.264 / MPEG-4 AVC standard with the index attached | subjected to each prediction mode. 予測パラメータ復号部が備える縮減セット導出部の動作を説明するための図である。(a)は、縮減セット導出部における縮減セットの生成動作の第1の例を示すフローチャートであり、(b)は、縮減セット導出部における縮減セットの生成動作の第2の例を示すフローチャートであり、(c)は、縮減セット導出部における縮減セットの生成動作の第3の例を示すフローチャートである。It is a figure for demonstrating operation | movement of the reduced set derivation | leading-out part with which a prediction parameter decoding part is provided. (A) is a flowchart which shows the 1st example of the production | generation operation | movement of the reduction | restoration set in a reduction | decrease set derivation part, (b) is a flowchart which shows the 2nd example of the production | generation operation | movement of the reduction | decrease set in a reduction | decrease set derivation part. Yes, (c) is a flowchart showing a third example of a reduced set generation operation in the reduced set derivation unit. 予測パラメータ復号部が備える第2予測パラメータ復号部における復号処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the decoding process in the 2nd prediction parameter decoding part with which a prediction parameter decoding part is provided. 予測パラメータ復号部の他の構成例を説明するための図である。(a)は、縮減セット導出部による縮減セットの生成動作を示すフローチャートであり、(b)は、近傍サブブロック領域の一例を示している。It is a figure for demonstrating the other structural example of a prediction parameter decoding part. (A) is a flowchart which shows the production | generation operation | movement of the reduction | restoration set by a reduction | restoration set derivation | leading-out part, (b) has shown an example of the neighborhood subblock area | region. MB復号部が備える予測画像生成部による予測画像の生成処理を説明するためのものであって、4×4画素である予測対象サブブロックの各画素と、当該予測対象サブブロックの周辺の画素とを示す図である。It is for demonstrating the production | generation process of the prediction image by the prediction image generation part with which MB decoding part is provided, Comprising: Each pixel of the prediction object subblock which is 4x4 pixels, The surrounding pixel of the said prediction object subblock, FIG. 実施形態に係る動画像符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image encoder which concerns on embodiment. 実施形態に係る動画像符号化装置が備えるMB符号化部の構成を示すブロック図である。It is a block diagram which shows the structure of the MB encoding part with which the moving image encoder which concerns on embodiment is provided. MB符号化部が備える予測パラメータ決定部の構成を示すブロック図である。It is a block diagram which shows the structure of the prediction parameter determination part with which an MB encoding part is provided. MB符号化部が備える予測パラメータ決定部の動作を説明するための図である。(a)は、第1予測パラメータ決定部が、マクロブロックMBを構成する各サブブロックのうち、第1グループに属する各サブブロックに対して選択した予測モードの例を示しており、(b)は、(a)に示した各予測モードが予測パラメータとして供給された場合に、縮減セット導出部が生成する縮減セットの一例を示しており、(c)は、第2予測パラメータ決定部が、第2グループに属する各サブブロックに対して、(b)に示した縮減セットから選択した予測モードの例を示している。It is a figure for demonstrating operation | movement of the prediction parameter determination part with which an MB encoding part is provided. (A) has shown the example of the prediction mode which the 1st prediction parameter determination part selected with respect to each subblock which belongs to a 1st group among each subblock which comprises macroblock MB, (b) Shows an example of a reduced set generated by the reduced set derivation unit when each prediction mode shown in (a) is supplied as a prediction parameter, and (c) shows a second prediction parameter determination unit, The example of the prediction mode selected from the reduction | decrease set shown to (b) with respect to each subblock which belongs to a 2nd group is shown. MB符号化部が備える予測パラメータ符号化部の構成を示すブロック図である。It is a block diagram which shows the structure of the prediction parameter encoding part with which an MB encoding part is provided. 実施形態に係る動画像符号化装置によって生成され、実施形態に係る動画像復号装置において参照される符号化データのマクロブロック毎のビットストリーム構造を示す図である。It is a figure which shows the bit stream structure for every macroblock of the encoding data produced | generated by the moving image encoder which concerns on embodiment, and is referred in the moving image decoder which concerns on embodiment. 基本パラメータセットの他の例を示す図である。(a)は、水平方向を重視したパラメータセットの一例を示しており、(b)は、垂直方向を重視したパラメータセットの一例を示している。It is a figure which shows the other example of a basic parameter set. (A) shows an example of a parameter set that emphasizes the horizontal direction, and (b) shows an example of a parameter set that emphasizes the vertical direction.

(動画像復号装置)
実施形態に係る動画像復号装置(画像復号装置)1の構成について、図1〜図9を参照して説明する。動画像復号装置1は、その一部に、H.264/MPEG−4 AVC規格に採用されている技術を用いている動画像符号化装置である。
(Video decoding device)
A configuration of a moving image decoding apparatus (image decoding apparatus) 1 according to the embodiment will be described with reference to FIGS. The moving picture decoding apparatus 1 includes H.264 as a part thereof. This is a moving picture coding apparatus using a technique adopted in the H.264 / MPEG-4 AVC standard.

動画像復号装置1は、概略的に言えば、入力される符号化データ#1を復号することによって復号画像#2を生成し、出力する装置である。   Generally speaking, the moving image decoding apparatus 1 is an apparatus that generates and outputs a decoded image # 2 by decoding input encoded data # 1.

また、動画像復号装置1は、符号化データ#1の示す画像上の単位領域を複数の予測対象領域(予測単位)に分割し、当該予測対象領域毎に生成された予測画像を用いて、復号画像#2を生成する。   In addition, the video decoding device 1 divides a unit region on the image indicated by the encoded data # 1 into a plurality of prediction target regions (prediction units), and uses the prediction image generated for each prediction target region, Decoded image # 2 is generated.

以下では、上記単位領域を、H.264/MPEG−4 AVC規格におけるマクロブロックとし、上記予測対象領域を、マクロブロック内のサブブロックとした場合を例に挙げ、説明を行うが、本発明は、これに限定されるものではない。例えば、上記単位領域は、マクロブロックよりも大きな領域としてもよいし、複数のマクロブロックに重複するような領域であってもよい。   In the following, the unit area is referred to as H.264. The present invention will be described with reference to an example in which a macroblock in the H.264 / MPEG-4 AVC standard is used and the prediction target area is a subblock in the macroblock, but the present invention is not limited to this. For example, the unit area may be an area larger than a macroblock, or may be an area overlapping with a plurality of macroblocks.

図1は、動画像復号装置1の構成を示すブロック図である。図1に示すように、動画像復号装置1は、可変長逆多重化部11、ヘッダ情報復号部12、MB設定部13、MB復号部14、および、フレームメモリ15を備えている。   FIG. 1 is a block diagram showing a configuration of the moving picture decoding apparatus 1. As shown in FIG. 1, the moving picture decoding apparatus 1 includes a variable length demultiplexing unit 11, a header information decoding unit 12, an MB setting unit 13, an MB decoding unit 14, and a frame memory 15.

動画像復号装置1に入力された符号化データ#1は可変長逆多重化部11へ入力される。可変長逆多重化部11は、入力された符号化データ#1を逆多重化することによって、符号化データ#1を、ヘッダ情報に関する符号化データであるヘッダ符号化データ#11aと、マクロブロック(単位領域)に関する符号化データであるMB符号化データ#11bとに分離し、ヘッダ符号化データ#11aをヘッダ情報復号部12に、MB符号化データ#11bをMB設定部13にそれぞれ出力する。   The encoded data # 1 input to the video decoding device 1 is input to the variable length demultiplexing unit 11. The variable length demultiplexing unit 11 demultiplexes the input encoded data # 1, thereby converting the encoded data # 1 into header encoded data # 11a that is encoded data related to header information, and a macroblock Separated into MB encoded data # 11b, which is encoded data relating to (unit area), header encoded data # 11a is output to header information decoding unit 12, and MB encoded data # 11b is output to MB setting unit 13, respectively. .

ヘッダ情報復号部12では、ヘッダ符号化データ#11aからヘッダ情報#12を復号する。ここで、ヘッダ情報#12は、入力画像のサイズを含む情報である。   The header information decoding unit 12 decodes the header information # 12 from the encoded header data # 11a. Here, the header information # 12 is information including the size of the input image.

MB設定部13では、入力されたヘッダ情報#12に基づいて、MB符号化データ#11bを個々のマクロブロックに対応する符号化データ#13に分離し、MB復号部14に対して順次出力する。   The MB setting unit 13 separates the MB encoded data # 11b into encoded data # 13 corresponding to each macroblock based on the input header information # 12, and sequentially outputs the encoded data # 11b to the MB decoding unit 14. .

MB復号部14は、入力された個々のマクロブロックに対応する符号化データ#13を順次復号することにより、個々のマクロブロックに対応する復号画像#2を生成し、出力する。また、復号画像#2は、フレームメモリ15に対しても出力される。MB復号部14の構成については、後述するためここでは説明を省略する。   The MB decoding unit 14 generates and outputs a decoded image # 2 corresponding to each macroblock by sequentially decoding the encoded data # 13 corresponding to each input macroblock. The decoded image # 2 is also output to the frame memory 15. The configuration of the MB decoding unit 14 will be described later and will not be described here.

フレームメモリ15には、復号画像#2が記録される。フレームメモリ15には、特定のマクロブロックを復号する時点において、当該マクロブロックよりもラスタスキャン順
で先にある全てのマクロブロックに対応する復号画像が記録されている。
The frame memory 15 records the decoded image # 2. In the frame memory 15, at the time of decoding a specific macroblock, decoded images corresponding to all the macroblocks that precede the macroblock in the raster scan order are recorded.

画像内の全てのマクロブロックに対して、MB復号部14によるマクロブロック単位の復号画像生成処理が終わった時点で、動画像復号装置1に入力された符号化データに対応する復号画像#2の生成処理が完了する。   When all the macroblocks in the image have been decoded by the MB decoding unit 14 in units of macroblocks, the decoded image # 2 corresponding to the encoded data input to the video decoding device 1 The generation process is completed.

(MB復号部14)
以下では、MB復号部14について、参照する図面を替えてより具体的に説明する。
(MB decoding unit 14)
Hereinafter, the MB decoding unit 14 will be described more specifically with reference to different drawings.

図2は、MB復号部14の構成を示すブロック図である。図2に示すように、MB復号部14は、サブブロック分割部141、予測残差復号部142、サブブロック復号画像生成部143、予測パラメータ復号部144、予測画像生成部145、および、MB復号画像生成部146を備えている。   FIG. 2 is a block diagram showing a configuration of the MB decoding unit 14. As shown in FIG. 2, the MB decoding unit 14 includes a sub-block dividing unit 141, a prediction residual decoding unit 142, a sub-block decoded image generation unit 143, a prediction parameter decoding unit 144, a prediction image generation unit 145, and MB decoding. An image generation unit 146 is provided.

サブブロック分割部141は、マクロブロック単位の符号化データ#13が入力された時点で起動し、マクロブロック(単位領域)を構成する各サブブロック(各予測対象領域)の当該マクロブロック内での位置を示すサブブロック位置情報#141a、および、サブブロック位置情報#141aが示すサブブロックに関する符号化データであるサブブロック符号化データ#141bを所定の順序で順次出力する。なお、マクロブロックのサブブロックへの分割方法は、符号化データ#1を生成する動画像符号化装置において用いられた方法を適用することができる。   The sub-block dividing unit 141 is activated when encoded data # 13 in units of macro blocks is input, and each sub block (each prediction target region) constituting the macro block (unit region) within the corresponding macro block. Sub-block position information # 141a indicating the position and sub-block encoded data # 141b which is encoded data related to the sub-block indicated by the sub-block position information # 141a are sequentially output in a predetermined order. Note that the method used in the video encoding apparatus that generates the encoded data # 1 can be applied to the method of dividing the macroblock into sub-blocks.

また、サブブロック分割部141は、後述する第1グループに属するサブブロックに関するサブブロック位置情報#141aおよびサブブロック符号化データ#141bを出力したのち、後述する第2グループに属するサブブロックに関するサブブロック位置情報#141aおよびサブブロック符号化データ#141bを出力するような構成とすることが好ましい。例えば、第1グループに属するサブブロックをラスタスキャン順に走査し、続いて、第2グループに属するサブブロックをラスタスキャン順に走査するような構成とすることが好ましい。また、サブブロック分割部141は、符号化データ#1を生成する動画像符号化装置において用いられた順序と同じ順序で、サブブロック位置情報#141a、および、サブブロック符号化データ#141bを出力するようにしてもよい。   The sub-block dividing unit 141 outputs sub-block position information # 141a and sub-block encoded data # 141b related to sub-blocks belonging to the first group described later, and then outputs sub-blocks related to sub-blocks belonging to the second group described later. It is preferable that the position information # 141a and the sub-block encoded data # 141b are output. For example, it is preferable that the sub blocks belonging to the first group are scanned in the raster scan order, and then the sub blocks belonging to the second group are scanned in the raster scan order. Further, the sub-block dividing unit 141 outputs the sub-block position information # 141a and the sub-block encoded data # 141b in the same order as that used in the video encoding device that generates the encoded data # 1. You may make it do.

予測残差復号部142は、入力されたサブブロック符号化データ#141bに対し可変長符号復号を適用することによって、入力されたサブブロック位置情報#141aを示すサブブロックに対する変換係数を生成する。また、予測残差復号部142は、生成した変換係数に対して、サブブロック位置情報#141aの示すサブブロックのサイズと同一サイズのDCT(Discrete Cosine Transform)の逆変換を適用することによって復号残差#142を生成し、出力する。   The prediction residual decoding unit 142 generates transform coefficients for the subblock indicating the input subblock position information # 141a by applying variable length code decoding to the input subblock encoded data # 141b. Further, the prediction residual decoding unit 142 applies the inverse transform of DCT (Discrete Cosine Transform) having the same size as the size of the sub-block indicated by the sub-block position information # 141a to the generated transform coefficient. A difference # 142 is generated and output.

予測パラメータ復号部144は、サブブロック位置情報#141a、および、サブブロック符号化データ#141bに基づいて、各サブブロックに対する予測パラメータ#144を復号し、出力する。   Prediction parameter decoding section 144 decodes and outputs prediction parameter # 144 for each subblock based on subblock position information # 141a and subblock encoded data # 141b.

ここで、予測パラメータとは、予測画像の生成に用いられるパラメータのことを指す。予測パラメータの例としては、例えば、イントラ予測における予測モード、動き補償予測における動きベクトル、輝度補償予測における重み係数などが挙げられる。   Here, the prediction parameter refers to a parameter used for generating a predicted image. Examples of prediction parameters include a prediction mode in intra prediction, a motion vector in motion compensated prediction, a weight coefficient in luminance compensated prediction, and the like.

また、予測パラメータ#144には、後述する第1予測パラメータ復号部43から出力される予測パラメータ#43、および、後述する第2予測パラメータ復号部45から出力される予測パラメータ#45が含まれる。予測パラメータ復号部144の具体的な構成および動作については、後述するため、ここでは説明を省略する。   The prediction parameter # 144 includes a prediction parameter # 43 output from a first prediction parameter decoding unit 43 described later and a prediction parameter # 45 output from a second prediction parameter decoding unit 45 described later. Since the specific configuration and operation of the prediction parameter decoding unit 144 will be described later, description thereof is omitted here.

予測画像生成部145は、予測パラメータ#144、復号画像#2、および、フレームメモリ15に記録されている復号画像#15に基づいて、予測対象サブブロックに対応する予測画像#145を生成し、出力する。予測画像生成部145における予測画像#145の具体的な生成方法については、後述するため、ここでは説明を省略する。   The predicted image generation unit 145 generates a predicted image # 145 corresponding to the prediction target sub-block based on the prediction parameter # 144, the decoded image # 2, and the decoded image # 15 recorded in the frame memory 15, Output. Since a specific method for generating the predicted image # 145 in the predicted image generation unit 145 will be described later, description thereof is omitted here.

サブブロック復号画像生成部143は、復号残差#142に予測画像#145を加えることによって、サブブロック単位の復号画像であるサブブロック復号画像#143を生成し、出力する。   The sub-block decoded image generation unit 143 adds the prediction image # 145 to the decoding residual # 142 to generate and output a sub-block decoded image # 143 that is a decoded image in units of sub-blocks.

MB復号画像生成部146は、サブブロック単位のサブブロック復号画像#143をマクロブロック毎に蓄積し、マクロブロックを構成する全てのサブブロック復号画像#143を統合することによってマクロブロック単位の復号画像#2を生成し、出力する。生成された復号画像#2は、予測画像生成部145にも供給される。   The MB decoded image generation unit 146 accumulates the subblock decoded image # 143 in units of subblocks for each macroblock, and integrates all the subblock decoded images # 143 constituting the macroblock, thereby decoding the decoded image in units of macroblocks. # 2 is generated and output. The generated decoded image # 2 is also supplied to the predicted image generation unit 145.

(予測パラメータ復号部144)
続いて、予測パラメータ復号部144の構成について、図3を参照して説明する。
(Prediction parameter decoding unit 144)
Next, the configuration of the prediction parameter decoding unit 144 will be described with reference to FIG.

図3は、予測パラメータ復号部144の構成を示すブロック図である。図3に示すように、予測パラメータ復号部144は、グループ判定部41、スイッチ部42、第1予測パラメータ復号部43、縮減セット導出部44、および、第2予測パラメータ復号部45を備えている。   FIG. 3 is a block diagram illustrating a configuration of the prediction parameter decoding unit 144. As illustrated in FIG. 3, the prediction parameter decoding unit 144 includes a group determination unit 41, a switch unit 42, a first prediction parameter decoding unit 43, a reduced set derivation unit 44, and a second prediction parameter decoding unit 45. .

(グループ判定部41)
グループ判定部41は、サブブロック位置情報#141aが示すサブブロックが、予め定められた複数のグループのうち、何れのグループに属するかを判定し、判定結果を示すグループ情報#41をスイッチ部42に対して出力する。
(Group determination unit 41)
The group determination unit 41 determines which group of a plurality of predetermined groups the subblock indicated by the subblock position information # 141a belongs to, and sets the group information # 41 indicating the determination result to the switch unit 42. Output for.

ここで、上記予め定められた複数のグループとは、例えば、符号化データ#1を生成する動画像符号化装置において、各サブブロックが分類された複数のグループのことを指す。すなわち、符号化データ#1を生成する動画像符号化装置において、あるマクロブロックMBに属するサブブロックSB1〜SBNs(NsはマクロブロックMBに属するサブブロックの総数)のそれぞれが、所定の分類方法に基づいて、グループGP1〜GPM(Mは、マクロブロックMBに属するサブブロックが分類されるグループの総数)の何れかに分類されるような場合であって、サブブロックSBnがグループGPmに分類された場合には、上記グループ判定部は、例えば、上記所定の分類方法に基づいて、サブブロック位置情報#141aが示すサブブロックSBnが、グループGPmに属するものであると判定する。   Here, the predetermined plurality of groups refers to, for example, a plurality of groups into which each sub-block is classified in a moving image encoding apparatus that generates encoded data # 1. That is, in the moving picture encoding apparatus that generates the encoded data # 1, each of the subblocks SB1 to SBNs (Ns is the total number of subblocks belonging to the macroblock MB) belonging to a certain macroblock MB is determined as a predetermined classification method. Based on the group GP1 to GPM (M is the total number of groups into which the subblocks belonging to the macroblock MB are classified), the subblock SBn is classified into the group GPm. In this case, the group determination unit determines that the sub block SBn indicated by the sub block position information # 141a belongs to the group GPm based on the predetermined classification method, for example.

以下では、各サブブロックが、2つのグループに分類される場合を例にとり、図4の(a)〜(f)を参照して説明を行う。   Hereinafter, the case where each sub-block is classified into two groups will be described as an example with reference to (a) to (f) of FIG.

図4の(a)〜(b)は、マクロブロックMBに含まれる16個のサブブロックの各々が、分類方法Aに基づいて、第1のグループまたは第2のグループの何れかに分類される場合を示す図であり、図4の(c)〜(d)は、各サブブロックが、分類方法Bに基づいて分類される場合を示す図であり、図4の(e)〜(f)は、各サブブロックが、分類方法Cに基づいて分類される場合を示す図である。   4A to 4B, each of the 16 sub-blocks included in the macroblock MB is classified into either the first group or the second group based on the classification method A. 4 (c) to (d) are diagrams illustrating a case in which each sub-block is classified based on the classification method B, and (e) to (f) in FIG. FIG. 10 is a diagram illustrating a case where each sub-block is classified based on a classification method C.

マクロブロックMBに含まれる各サブブロックは、図4の(a)〜(b)に示すように、各グループに含まれるサブブロックの配置がチェッカーフラッグ状となるように、第1
のグループまたは第2のグループに分類されてもよいし、図4の(c)〜(d)に示すように、各グループに含まれるサブブロックが、横方向のみに隣接するように分類されてもよいし、図4の(e)〜(f)に示すように、各グループに含まれるサブブロックが、縦方向のみに隣接するように分類されてもよい。
As shown in FIGS. 4A to 4B, each subblock included in the macroblock MB is first checked so that the arrangement of the subblocks included in each group is a checkered flag.
Or the second group, and as shown in FIGS. 4C to 4D, the sub-blocks included in each group are classified so as to be adjacent only in the horizontal direction. Alternatively, as shown in FIGS. 4E to 4F, the sub-blocks included in each group may be classified so as to be adjacent only in the vertical direction.

一般に、マクロブロック内の予測パラメータの空間的な相関に応じて、最適な分類方法は異なる。上記の分類方法Aは、縦方向および横方向の何れの空間相関が存在する場合であっても有効な分類方法である。一方で、当該マクロブロック内に斜め方向のエッジが存在するような場合には、上記の分類方法Bおよび分類方法Cが有効である。   In general, the optimal classification method varies depending on the spatial correlation of the prediction parameters in the macroblock. The above classification method A is an effective classification method regardless of whether there is any spatial correlation in the vertical direction or the horizontal direction. On the other hand, when there is an oblique edge in the macroblock, the above classification method B and classification method C are effective.

何れの分類方法が用いられる場合であっても、図4の(a)〜(f)から明らかなように、各サブブロックは、マクロブロックMB内での位置に応じて、第1のグループまたは第2のグループの何れかに分類される。   Regardless of which classification method is used, as is clear from (a) to (f) of FIG. 4, each sub-block is divided into the first group or the first group according to the position in the macroblock MB. It is classified into one of the second groups.

グループ判定部41は、サブブロック位置情報#141aを参照し、符号化データ#1を生成する動画像符号化装置において用いられた分類方法に基づいて、サブブロック位置情報#141aが示すサブブロックが、第1のグループ、または、第2のグループのうち、何れのグループに属するかを判定する。   The group determination unit 41 refers to the sub-block position information # 141a, and the sub-block indicated by the sub-block position information # 141a is determined based on the classification method used in the video encoding device that generates the encoded data # 1. Which group of the first group and the second group belongs is determined.

例えば、符号化データ#1を生成する動画像符号化装置において、図4の(a)〜(b)に示すように、分類方法Aに基づいて、マクロブロックMBに属するサブブロックSB1が第2のグループに分類され、サブブロックSB2が第1のグループに分類された場合には、グループ判定部41は、当該分類方法Aに基づき、サブブロック位置情報#141aを参照することによって、サブブロックSB2が、第1のグループに属するものであると判定し、サブブロックSB1が、第2のグループに属するものであると判定する。マクロブロックMBに含まれる他のサブブロックについても同様である。   For example, in the moving picture encoding apparatus that generates the encoded data # 1, the sub-block SB1 belonging to the macroblock MB is second based on the classification method A, as shown in FIGS. When the sub-block SB2 is classified into the first group, the group determination unit 41 refers to the sub-block position information # 141a based on the classification method A, so that the sub-block SB2 Are determined to belong to the first group, and the sub-block SB1 is determined to belong to the second group. The same applies to other sub-blocks included in the macro block MB.

また、符号化データ#1を生成する動画像符号化装置において、マクロブロックごとに異なる分類方法が用いられる場合には、符号化データ#1は、マクロブロックごとに何れの分類方法を用いたかを示すフラグを含むことが好ましい。このようなフラグを参照することによって、グループ判定部41は、マクロブロックごとに分類方法が異なる場合であっても、上記動画像符号化装置において用いられた分類方法に基づいた判定を行うことができる。   Also, in the video encoding device that generates the encoded data # 1, when a different classification method is used for each macroblock, the encoded data # 1 indicates which classification method is used for each macroblock. It is preferable to include a flag to indicate. By referring to such a flag, the group determination unit 41 can make a determination based on the classification method used in the video encoding device even when the classification method is different for each macroblock. it can.

なお、上記の説明では、マクロブロックに含まれるサブブロックの数が16個であるとしたが、本発明はこれに限定されるものではない(以下同様)。また、マクロブロックMBにおけるサブブロックの分類方法は、上述した例に限定されるものではなく、他の分類方法であってもよい。例えば、第1のグループに属するサブブロックの数と、第2のグループに属するサブブロックの数とが互いに異なるような分類方法であってもよい(以下同様)。   In the above description, the number of sub-blocks included in the macroblock is 16, but the present invention is not limited to this (the same applies hereinafter). The subblock classification method in the macroblock MB is not limited to the above-described example, and other classification methods may be used. For example, the classification method may be such that the number of subblocks belonging to the first group and the number of subblocks belonging to the second group are different from each other (the same applies hereinafter).

(スイッチ部42)
スイッチ部42は、グループ情報#41に基づいて、サブブロック位置情報#141aが示すサブブロックに関する符号化データであるサブブロック符号化データ#141bを、第1予測パラメータ復号部43、または、第2予測パラメータ復号部45のうち、何れかのパラメータ復号部に伝達する。
(Switch section 42)
Based on the group information # 41, the switch unit 42 converts the subblock encoded data # 141b, which is encoded data related to the subblock indicated by the subblock position information # 141a, to the first prediction parameter decoding unit 43 or the second The prediction parameter decoding unit 45 is transmitted to one of the parameter decoding units.

具体的には、スイッチ部42は、グループ判定部41において、サブブロック位置情報#141aの示すサブブロックが第1のグループに属するものであると判定された場合には、上記サブブロック符号化データ#141bを、第1予測パラメータ復号部43に伝達
し、グループ判定部41において、サブブロック位置情報#141aの示すサブブロックが第2のグループに属するものであると判定された場合には、上記サブブロック符号化データ#141bを、第2予測パラメータ復号部45に伝達する。
Specifically, when the group determination unit 41 determines that the subblock indicated by the subblock position information # 141a belongs to the first group, the switch unit 42 performs the subblock encoded data. # 141b is transmitted to the first prediction parameter decoding unit 43, and when the group determination unit 41 determines that the subblock indicated by the subblock position information # 141a belongs to the second group, The sub-block encoded data # 141b is transmitted to the second prediction parameter decoding unit 45.

(第1予測パラメータ復号部43)
第1予測パラメータ復号部43は、上記サブブロック符号化データ#141bの復号を行うことによって、符号化データ#1を生成する動画像符号化装置において、サブブロック位置情報#141aが示すサブブロック(予測対象サブブロック)の予測に用いられた予測パラメータ#43を復号し、出力する。
(First prediction parameter decoding unit 43)
The first prediction parameter decoding unit 43 decodes the sub-block encoded data # 141b, thereby generating the encoded data # 1 in the moving picture encoding apparatus, and the sub-block (indicated by the sub-block position information # 141a ( The prediction parameter # 43 used for prediction of the prediction target sub-block is decoded and output.

より具体的には、第1予測パラメータ復号部43は、まず、予測対象サブブロックの上または左のサブブロックの予測に用いられた予測パラメータであって、復号済みの予測パラメータを当該予測対象サブブロックに対する推定値に設定する。   More specifically, the first prediction parameter decoding unit 43 first determines a prediction parameter used for prediction of the upper or left subblock of the prediction target subblock, and the decoded prediction parameter. Set to an estimate for the block.

続いて、第1予測パラメータ復号部43は、サブブロック符号化データ#141bに含まれるフラグを復号する。   Subsequently, the first prediction parameter decoding unit 43 decodes the flag included in the sub-block encoded data # 141b.

当該フラグが、推定値を用いていることを示している場合には、上記推定値を予測対象サブブロックに対する予測パラメータに設定し、当該フラグが推定値を用いていないことを示している場合には、上記フラグ以外の部分から復号された予測パラメータを予測対象サブブロックに対する予測パラメータに設定する。   When the flag indicates that the estimated value is used, the estimated value is set as a prediction parameter for the prediction target sub-block, and the flag indicates that the estimated value is not used. Sets the prediction parameter decoded from the part other than the flag as the prediction parameter for the prediction target sub-block.

なお、予測対象サブブロックの上または左のサブブロックが復号されていない場合には、予測対象サブブロックの上方または左方の復号済みサブブロックであって、予測対象サブブロックに最も近いサブブロックの予測に用いられた予測パラメータを上記推定値として参照すればよい。   If the upper or left sub-block of the prediction target sub-block is not decoded, the decoded sub-block above or to the left of the prediction target sub-block and the sub-block closest to the prediction target sub-block The prediction parameter used for prediction may be referred to as the estimated value.

なお、復号された予測パラメータ#43は、縮減セット導出部44に対しても供給される。   The decoded prediction parameter # 43 is also supplied to the reduced set derivation unit 44.

以上の動作によって、縮減セット導出部44には、第1のグループに属する各サブブロックから復号された予測パラメータ#43が供給される。   Through the above operation, the reduced set derivation unit 44 is supplied with the prediction parameter # 43 decoded from each sub-block belonging to the first group.

(縮減セット導出部44)
縮減セット導出部44は、予測パラメータ#43を蓄積し、縮減された予測パラメータセットRS(以下、「縮減セットRS」と呼ぶ)を生成する。ここで、縮減セットRSとは、第1のグループに属する各サブブロックから復号された予測パラメータ#43を含むセットである。また、縮減セットRSには、予測パラメータ#43以外の予測パラメータが含まれていてもよい。
(Reduced set derivation unit 44)
The reduced set deriving unit 44 accumulates the prediction parameter # 43 and generates a reduced prediction parameter set RS (hereinafter referred to as “reduced set RS”). Here, the reduced set RS is a set including the prediction parameter # 43 decoded from each sub-block belonging to the first group. Further, the reduced set RS may include a prediction parameter other than the prediction parameter # 43.

また、第1のグループに属する複数のサブブロックから、同一の予測パラメータが復号されるような場合には、縮減セット導出部44は、当該同一の予測パラメータについては、1つのみ含むように、縮減セットRSを生成すればよい。換言すれば、縮減セット導出部44は、予測パラメータが重複しないように、縮減セットRSを生成すればよい。例えば、第1のグループに属するサブブロックSB1〜SB16のうち、サブブロックSB1〜SB8のそれぞれから予測パラメータPP1が復号され、サブブロックSB9〜SB16のそれぞれから予測パラメータPP2が復号された場合には、縮減セット導出部44は、予測パラメータPP1および予測パラメータPP2をそれぞれ1つずつ含む縮減セットRSを生成する。   When the same prediction parameter is decoded from a plurality of sub-blocks belonging to the first group, the reduced set derivation unit 44 includes only one of the same prediction parameter, A reduced set RS may be generated. In other words, the reduced set deriving unit 44 may generate the reduced set RS so that the prediction parameters do not overlap. For example, when the prediction parameter PP1 is decoded from each of the subblocks SB1 to SB8 among the subblocks SB1 to SB16 belonging to the first group, and the prediction parameter PP2 is decoded from each of the subblocks SB9 to SB16, The reduced set derivation unit 44 generates a reduced set RS that includes one prediction parameter PP1 and one prediction parameter PP2.

以下では、予測パラメータが、H.264/MPEG−4 AVC規格におけるイントラ予測モードである場合を例にとり、縮減セット導出部44による縮減セットRSの生成動作について、図5および図6の(a)〜(c)を参照して説明する。   In the following, the prediction parameter is H.264. The generation operation of the reduced set RS by the reduced set derivation unit 44 will be described with reference to FIGS. 5 and 6A to 6C, taking the case of the intra prediction mode in the H.264 / MPEG-4 AVC standard as an example. To do.

図5は、H.264/MPEG−4 AVC規格におけるイントラ予測に用いられるイントラ予測モード(以下、「予測モード」と呼ぶ)、および、各予測モードに付されたインデックスを示す図である。各イントラ予測モードは、イントラ予測に用いられる予測方向を表しており、図5に示すように、H.264/MPEG−4 AVC規格においては、8方向の予測モード(インデックス0,1,3〜8に対応)、および、DC予測モード(インデックス2に対応)が用いられる。以下では、インデックスIによって指定される予測モードを予測モードIと表すことにする。また、予測モード0〜予測モード8から構成されるパラメータセットを基本パラメータセットと呼ぶことにする。   FIG. 2 is a diagram illustrating an intra prediction mode (hereinafter referred to as “prediction mode”) used for intra prediction in the H.264 / MPEG-4 AVC standard, and indexes assigned to the respective prediction modes. Each intra prediction mode represents a prediction direction used for intra prediction, and as shown in FIG. In the H.264 / MPEG-4 AVC standard, eight-direction prediction modes (corresponding to indexes 0, 1, 3 to 8) and DC prediction modes (corresponding to index 2) are used. Hereinafter, the prediction mode specified by the index I is represented as the prediction mode I. In addition, a parameter set including the prediction mode 0 to the prediction mode 8 is referred to as a basic parameter set.

(縮減セットRSの生成例1)
図6の(a)は、縮減セット導出部44における縮減セットRSの生成動作の第1の例を示すフローチャートである。
(Generation example 1 of the reduced set RS)
FIG. 6A is a flowchart illustrating a first example of the generation operation of the reduced set RS in the reduced set derivation unit 44.

図6の(a)に示すように、まず、縮減セット導出部44は、縮減セットRSを空に設定することによって、縮減セットRSの初期化を行う(ステップS101)。   As shown in FIG. 6A, first, the reduced set derivation unit 44 initializes the reduced set RS by setting the reduced set RS to be empty (step S101).

続いて、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43を、縮減セットRSに追加する(ステップS102)。例えば、第1のグループに属する各サブブロックから予測モード1、予測モード6、および、予測モード8が復号された場合には、縮減セット導出部44は、予測モード1、予測モード6、および、予測モード8を、縮減セットRSに追加する。   Subsequently, the reduced set deriving unit 44 adds the prediction parameter # 43 decoded from each sub-block belonging to the first group to the reduced set RS (step S102). For example, when prediction mode 1, prediction mode 6, and prediction mode 8 are decoded from each sub-block belonging to the first group, the reduced set derivation unit 44 includes prediction mode 1, prediction mode 6, and Prediction mode 8 is added to the reduced set RS.

以上の動作を行うことによって、第1の例においては、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43により構成される縮減セットRSを生成することができる。   By performing the above operation, in the first example, the reduced set derivation unit 44 generates a reduced set RS configured by the prediction parameter # 43 decoded from each sub-block belonging to the first group. Can do.

一般に、マクロブロックを構成する各サブブロックに対して最適な予測パラメータ同士には、相関がある。したがって、第1グループに属する各サブブロックに対して選択された予測パラメータは、第2グループに属する各サブブロックに対しても最適な予測パラメータである可能性が高い。また、上記縮減セットRSに含まれる予測モードの数は、基本パラメータセットに含まれる予測パラメータの数よりも少ない。   In general, there is a correlation between optimal prediction parameters for each sub-block constituting a macroblock. Therefore, the prediction parameter selected for each sub-block belonging to the first group is highly likely to be an optimal prediction parameter for each sub-block belonging to the second group. Further, the number of prediction modes included in the reduced set RS is smaller than the number of prediction parameters included in the basic parameter set.

したがって、符号化データ#1を生成する動画像符号化装置は、本例の構成に対応する構成をとることによって、符号化効率を犠牲にすることなく、符号量の少ない符号化データ#1を生成することができる。また、動画像復号装置1は、本例の構成をとることによって、そのように生成された符号量の少ない符号化データ#1を復号することができる。   Therefore, the moving picture encoding apparatus that generates the encoded data # 1 takes the configuration corresponding to the configuration of the present example, so that the encoded data # 1 having a small code amount can be obtained without sacrificing the encoding efficiency. Can be generated. Also, the moving picture decoding apparatus 1 can decode the encoded data # 1 generated in this way with a small code amount by adopting the configuration of this example.

(縮減セットRSの生成例2)
図6の(b)は、縮減セット導出部44における縮減セットRSの生成動作の第2の例を示すフローチャートである。
(Generation example 2 of reduced set RS)
FIG. 6B is a flowchart illustrating a second example of the generation operation of the reduced set RS in the reduced set derivation unit 44.

図6の(b)に示すように、まず、縮減セット導出部44は、縮減セットRSを空に設定することによって、縮減セットRSの初期化を行う(ステップS201)。   As shown in FIG. 6B, first, the reduced set derivation unit 44 initializes the reduced set RS by setting the reduced set RS to be empty (step S201).

続いて、縮減セット導出部44は、追加パラメータセットASを縮減セットRSに追加する(ステップS202)。ここで、追加パラメータセットASには、頻繁に用いられる傾向にある予測パラメータが含まれていることが好ましい。一般に、H.264/MPEG−4 AVC規格の予測モードにおいては、より小さなインデックスによって指定される予測モードは、イントラ予測においてより頻繁に用いられる傾向があるため、インデックス0〜8のうち小さいインデックスによって指定される予測モードが含まれていることが好ましい。例えば、追加パラメータセットASは、予測モード0(垂直方向予測モード)、予測モード1(水平方向予測モード)、および、予測モード2(DC予測モード)を含むように構成されることが好ましい。   Subsequently, the reduced set deriving unit 44 adds the additional parameter set AS to the reduced set RS (step S202). Here, it is preferable that the additional parameter set AS includes a prediction parameter that tends to be frequently used. In general, H.W. In the prediction mode of the H.264 / MPEG-4 AVC standard, a prediction mode specified by a smaller index tends to be used more frequently in intra prediction. Preferably a mode is included. For example, the additional parameter set AS is preferably configured to include a prediction mode 0 (vertical prediction mode), a prediction mode 1 (horizontal prediction mode), and a prediction mode 2 (DC prediction mode).

また、追加パラメータセットASは、予測モード0、予測モード1、および、予測モード2のうち、少なくとも1つの予測モードが含まれるような構成としてもよい。   Further, the additional parameter set AS may be configured to include at least one prediction mode among the prediction mode 0, the prediction mode 1, and the prediction mode 2.

続いて、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43を、縮減セットRSに追加する(ステップS203)。ただし、縮減セット導出部44は、予測パラメータ#43のうち、縮減セットRSにすでに含まれている予測パラメータについては、重複を避けるため、縮減セットRSに追加しないことが好ましい。例えば、予測パラメータ#43が、予測モード1、および、予測モード4であり、縮減セットRSに予測モード1、および、予測モード2がすでに含まれているような場合には、縮減セット導出部44は、縮減セットRSに予測モード4のみを追加すればよい。   Subsequently, the reduced set deriving unit 44 adds the prediction parameter # 43 decoded from each sub-block belonging to the first group to the reduced set RS (step S203). However, it is preferable that the reduced set derivation unit 44 does not add the prediction parameters already included in the reduced set RS of the prediction parameters # 43 to the reduced set RS in order to avoid duplication. For example, when the prediction parameter # 43 is the prediction mode 1 and the prediction mode 4, and the prediction mode 1 and the prediction mode 2 are already included in the reduced set RS, the reduced set derivation unit 44 Need only add prediction mode 4 to the reduced set RS.

以上の動作を行うことによって、第2の例においては、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43と、追加パラメータセットに含まれる予測モードとから構成される縮減セットRSを生成することができる。   By performing the above operation, in the second example, the reduced set deriving unit 44 has the prediction parameter # 43 decoded from each sub-block belonging to the first group, the prediction mode included in the additional parameter set, and A reduced set RS can be generated.

上記のように縮減セットRSを構築することによって、第1のグループに属する各サブブロックから復号された予測パラメータ#43と、頻繁に用いられる傾向のある予測モードとから構成される縮減セットRSを生成することができる。   By constructing a reduced set RS as described above, a reduced set RS composed of prediction parameters # 43 decoded from each sub-block belonging to the first group and a prediction mode that tends to be frequently used is obtained. Can be generated.

したがって、符号化データ#1を生成する動画像符号化装置であって、本例のように動作する縮減セット導出部を備えた動画像符号化装置は、予測残差の符号量がより少ない符号化データ#1を生成することができる。また、本例のように動作する縮減セット導出部44を備えた動画像復号装置1は、そのような予測残差の符号量がより少ない符号化データ#1を復号することができる。   Therefore, the moving picture coding apparatus that generates the coded data # 1 and includes the reduced set derivation unit that operates as in this example is a code that has a smaller code amount of the prediction residual. Data # 1 can be generated. Also, the moving picture decoding apparatus 1 including the reduced set deriving unit 44 that operates as in the present example can decode the encoded data # 1 having a smaller code amount of such a prediction residual.

(縮減セットRSの生成例3)
図6の(c)は、縮減セット導出部44における縮減セットRSの生成動作の第3の例を示すフローチャートである。
(Generation example 3 of the reduced set RS)
FIG. 6C is a flowchart illustrating a third example of the generation operation of the reduced set RS in the reduced set derivation unit 44.

図6の(c)に示すように、まず、縮減セット導出部44は、縮減セットRSを空に設定することによって、縮減セットRSの初期化を行う(ステップS301)。   As shown in FIG. 6C, first, the reduced set derivation unit 44 initializes the reduced set RS by setting the reduced set RS to be empty (step S301).

続いて、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43を、縮減セットRSに追加する(ステップS302)。   Subsequently, the reduced set deriving unit 44 adds the prediction parameter # 43 decoded from each sub-block belonging to the first group to the reduced set RS (step S302).

続いて、縮減セット導出部44は、log2(Np−1)が整数であるか否かを判定する(ステップS303)。ここで、Npは、縮減セットRSに含まれる予測パラメータの数である。   Subsequently, the reduced set deriving unit 44 determines whether or not log2 (Np−1) is an integer (step S303). Here, Np is the number of prediction parameters included in the reduced set RS.

log2(Np−1)が整数である場合(ステップS303のYes)には、縮減セット導出部44は、縮減セットRSを出力する。   When log2 (Np−1) is an integer (Yes in step S303), the reduced set deriving unit 44 outputs the reduced set RS.

log2(Np−1)が整数でない場合(ステップS303のNo)には、縮減セット導出部44は、所定の予測パラメータを縮減セットに追加し(ステップS304)、再び、ステップS303の処理を行う。ここで、上記所定の予測パラメータとしては、例えば、基本パラメータセットに含まれる予測モード0〜予測モード8のうち、縮減セットRSに含まれていない予測モードであって、インデックスが最小の予測モードをとればよい。   When log2 (Np−1) is not an integer (No in step S303), the reduced set deriving unit 44 adds a predetermined prediction parameter to the reduced set (step S304), and performs the process of step S303 again. Here, as the predetermined prediction parameter, for example, among the prediction modes 0 to 8 included in the basic parameter set, a prediction mode that is not included in the reduced set RS and has the smallest index is selected. Just do it.

上述のように、より小さなインデックスによって指定される予測モードは、イントラ予測において、より頻繁に用いられる傾向がある。したがって、縮減セット導出部44は、本ステップにおいて、イントラ予測において、より頻繁に用いられる傾向のある予測モードを縮減セットに追加することになる。   As described above, the prediction mode specified by a smaller index tends to be used more frequently in intra prediction. Therefore, the reduced set deriving unit 44 adds a prediction mode that tends to be used more frequently in intra prediction to the reduced set in this step.

以上の動作を行うことによって、第3の例においては、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43を含む縮減セットであって、2n+1個(nは整数)の予測パラメータを含む縮減セットRSを生成することができる。   By performing the above operation, in the third example, the reduced set deriving unit 44 is a reduced set including the prediction parameter # 43 decoded from each sub-block belonging to the first group, and 2n + 1 ( It is possible to generate a reduced set RS including n prediction parameters.

一般に、推定値と同じであるか否かを示すフラグと共に予測パラメータを可変長符号化する場合には、予測パラメータの数が、2n+1個(nは整数)である場合に、そうでない場合に比べて、予測パラメータを可変長符号化する際の圧縮効率が高まるという傾向がある。   In general, when the prediction parameter is variable-length encoded together with a flag indicating whether or not it is the same as the estimated value, the number of prediction parameters is 2n + 1 (n is an integer), compared to the case where it is not. Therefore, there is a tendency that the compression efficiency when the prediction parameter is variable-length encoded increases.

したがって、縮減セット導出部44は、上記の動作を行うことによって、可変長符号化する際の圧縮効率が高い縮減セットRSを生成することができる。したがって、符号化データ#1を生成する動画像符号化装置であって、本例のように動作する縮減セット導出部を備えた動画像復号装置は、圧縮効率の高い符号化データ#1を生成することができる。また、本例のように動作する縮減セット導出部44を備えた動画像復号装置1は、そのような圧縮効率の高い符号化データ#1を復号することができる。   Therefore, the reduced set deriving unit 44 can generate a reduced set RS with high compression efficiency when performing variable length coding by performing the above-described operation. Therefore, a moving image encoding apparatus that generates encoded data # 1 and that includes a reduced set derivation unit that operates as in this example generates encoded data # 1 with high compression efficiency. can do. In addition, the moving picture decoding apparatus 1 including the reduced set deriving unit 44 that operates as in the present example can decode such encoded data # 1 with high compression efficiency.

また、予測パラメータ#43の数が、2n+1個(nは整数)でない場合には、縮減セット導出部44は、上記所定の予測パラメータを含むように縮減セットRSを生成することができるので、より頻繁に用いられる傾向のある予測モードを含んだ縮減セットRSを生成することができる。   If the number of prediction parameters # 43 is not 2n + 1 (n is an integer), the reduced set deriving unit 44 can generate the reduced set RS so as to include the predetermined prediction parameter. A reduced set RS including a prediction mode that tends to be frequently used can be generated.

(縮減セットRSの生成例4)
図6の(a)〜(c)に示した3種の縮減セットRSの生成例のいずれにおいても、縮減セット導出部44は、第1のグループに属する各サブブロックから復号された予測パラメータ#43のうち、重複するものを除く全種類の予測パラメータを縮減セットRSに追加している。しかし、第1のグループに属するサブブロックから復号された予測パラメータを、全種類ではなく一部の種類のみを追加するような構成としてもよい。
(Generation example 4 of reduced set RS)
In any of the three generation examples of the reduced set RS shown in (a) to (c) of FIG. 6, the reduced set derivation unit 44 predicts the prediction parameter # decoded from each sub-block belonging to the first group. Of 43, all kinds of prediction parameters except for overlapping ones are added to the reduced set RS. However, the prediction parameters decoded from the sub-blocks belonging to the first group may be configured to add only some types instead of all types.

具体的には、第1のグループに属するサブブロックから復号された予測パラメータの集合において、出現割合が所定の値よりも高い予測パラメータのみを縮減セットRSに追加するような構成としてもよい。ここで、予測パラメータの出現割合とは、例えば、第1のグループに属するサブブロックのうち当該予測パラメータが割り付けられたサブブロックの数を、第1のグループに属する全サブブロックの数で割り算することによって定義することができる。例えば、第1のグループに属する全サブブロックの数がNfであり、第1のグループに属するサブブロックのうち予測パラメータPaが復号され割り付けられたサブブロックの数がNpaであるとすると、予測パラメータPの出現割合は、Npa/Nfによって定義することができる。また、上記出現割合は、百分率によって表現することもできる。   Specifically, a configuration may be adopted in which only the prediction parameters whose appearance ratio is higher than a predetermined value in the set of prediction parameters decoded from the sub-blocks belonging to the first group are added to the reduced set RS. Here, the appearance ratio of the prediction parameter is, for example, dividing the number of subblocks to which the prediction parameter is assigned among the subblocks belonging to the first group by the number of all subblocks belonging to the first group. Can be defined by For example, if the number of all subblocks belonging to the first group is Nf, and the number of subblocks to which the prediction parameter Pa is decoded and allocated among the subblocks belonging to the first group is Npa, the prediction parameter The appearance ratio of P can be defined by Npa / Nf. The appearance ratio can also be expressed as a percentage.

また、本生成例を、第1のグループに8つのサブブロック(サブブロックSB1〜SB8)が属している場合について、より具体的に説明すれば以下のとおりである。   Further, this generation example will be described in more detail as follows when eight sub-blocks (sub-blocks SB1 to SB8) belong to the first group.

例えば、サブブロックSB1、SB2、SB3、SB4に対して予測モード0が復号され、サブブロックSB5、SB6に対して予測モード1が復号され、サブブロックSB7に対して予測モード2が復号され、サブブロックSB8に対して予測モード3が復号された場合であって、上記所定の値を40パーセントに設定した場合には、上記出現割合が50パーセントである予測モード0のみが縮減セットRSに追加される。一方で、上記所定の値を20パーセントに設定した場合には、上記出現割合が50パーセントである予測モード0、および、上記出現割合が25パーセントである予測モード1が縮減セットRSに追加される。   For example, prediction mode 0 is decoded for sub-blocks SB1, SB2, SB3, and SB4, prediction mode 1 is decoded for sub-blocks SB5 and SB6, and prediction mode 2 is decoded for sub-block SB7. When the prediction mode 3 is decoded for the block SB8 and the predetermined value is set to 40%, only the prediction mode 0 having the appearance ratio of 50% is added to the reduced set RS. The On the other hand, when the predetermined value is set to 20%, the prediction mode 0 in which the appearance ratio is 50% and the prediction mode 1 in which the appearance ratio is 25% are added to the reduced set RS. .

一般に、マクロブロックに含まれるサブブロックの数が多い場合には、縮減セットRSに多数の予測パラメータが含まれてしまうことによって、符号量を効果的に削減することが困難になる場合も生じ得る。   In general, when the number of sub-blocks included in a macroblock is large, it may be difficult to effectively reduce the code amount by including a large number of prediction parameters in the reduced set RS. .

本生成例によれば、縮減セット導出部44は、第1のグループに属するサブブロックから復号された予測パラメータの集合において、出現割合が所定の値よりも高い予測パラメータのみを縮減セットRSに追加するので、サブブロックの数が多い場合に符号量を効果的に削減することが困難になる場合が生じるという上記の課題を解決することができる。   According to this generation example, the reduced set derivation unit 44 adds only the prediction parameter whose appearance ratio is higher than a predetermined value to the reduced set RS in the set of prediction parameters decoded from the sub-blocks belonging to the first group. Therefore, the above-described problem that it may be difficult to effectively reduce the code amount when the number of sub-blocks is large can be solved.

以上、縮減セットRSの生成例1〜4において説明したように、縮減セットRSは、第1のグループに属する予測パラメータに基づいて生成することができる。より厳密には、縮減セットRSは、少なくとも、第1のグループに属する予測パラメータの種類、または、第1のグループに属する各予測パラメータの出現割合、のいずれかに基づいて生成することができる。   As described above, as described in generation examples 1 to 4 of the reduced set RS, the reduced set RS can be generated based on the prediction parameters belonging to the first group. More precisely, the reduced set RS can be generated based on at least one of the types of prediction parameters belonging to the first group or the appearance ratio of each prediction parameter belonging to the first group.

(第2予測パラメータ復号部45)
続いて、第2予測パラメータ復号部45の動作について、図7を参照して説明する。第2予測パラメータ復号部45は、サブブロック符号化データ#141bに含まれる各サブブロックについての符号化データのうち、グループ判定部41において、第2のグループに属すると判定された各サブブロックの予測に用いられる予測パラメータPを復号する。
(Second prediction parameter decoding unit 45)
Next, the operation of the second prediction parameter decoding unit 45 will be described with reference to FIG. The second prediction parameter decoding unit 45 includes, among the encoded data for each subblock included in the subblock encoded data # 141b, each subblock determined by the group determination unit 41 as belonging to the second group. The prediction parameter P used for prediction is decoded.

換言すれば、第2予測パラメータ復号部45は、サブブロック符号化データ#141bに含まれる、予測パラメータに関する情報であって、第2のグループに属する各サブブロックについての予測パラメータに関する情報を参照し、第2のグループに属する各サブブロックの予測に用いられる予測パラメータPを復号する。   In other words, the second prediction parameter decoding unit 45 refers to the information related to the prediction parameter included in the sub-block encoded data # 141b and related to the prediction parameter for each sub-block belonging to the second group. Then, the prediction parameter P used for prediction of each sub-block belonging to the second group is decoded.

また、復号された予測パラメータPは、予測パラメータ#45として、出力される。   The decoded prediction parameter P is output as prediction parameter # 45.

図7は、第2予測パラメータ復号部45における復号処理の流れの一例を示すフローチャートである。   FIG. 7 is a flowchart showing an example of the flow of decoding processing in the second prediction parameter decoding unit 45.

図7に示すように、まず、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータの数Nを計数する(ステップS501)。   As shown in FIG. 7, first, the second prediction parameter decoding unit 45 counts the number N of prediction parameters included in the reduced set RS (step S501).

続いて、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータの数Nが1であるか否かを判定する(ステップS502)。   Subsequently, the second prediction parameter decoding unit 45 determines whether or not the number N of prediction parameters included in the reduced set RS is 1 (step S502).

N=1である場合(ステップS502のYes)、第2予測パラメータ復号部45は、縮減セットに含まれる唯一の予測パラメータを予測パラメータPに設定する(ステップS503)。   When N = 1 (Yes in step S502), the second prediction parameter decoding unit 45 sets the only prediction parameter included in the reduced set as the prediction parameter P (step S503).

N=1でない場合(ステップS502のNo)、第2予測パラメータ復号部45は、予測パラメータ推定値Qを導出する(ステップS504)。ここで、予測パラメータ推定値Qとは、予測対象サブブロックの上または左に隣接するサブブロックの予測に用いられた予測パラメータのことである。また、予測対象サブブロックの上または左に隣接するサブブロックが復号されていない場合には、予測対象サブブロックの上方または左方の復号済みサブブロックであって、予測対象サブブロックに最も近いサブブロックの予測に用いられた予測パラメータを上記推定値Qとすればよい。   When N is not 1 (No in step S502), the second prediction parameter decoding unit 45 derives a prediction parameter estimated value Q (step S504). Here, the prediction parameter estimated value Q is a prediction parameter used for prediction of a subblock adjacent on the left or above the prediction target subblock. In addition, when a sub-block adjacent to the prediction target sub-block above or to the left is not decoded, it is a decoded sub-block above or to the left of the prediction target sub-block, and is the sub-block closest to the prediction target sub-block. The prediction parameter used for block prediction may be the estimated value Q.

続いて、第2予測パラメータ復号部45は、復号対象の予測パラメータが、予測パラメータ推定値Qと同一であるか否かのフラグを復号し、復号した値を変数aに代入する。   Subsequently, the second prediction parameter decoding unit 45 decodes a flag indicating whether or not the prediction parameter to be decoded is the same as the prediction parameter estimated value Q, and substitutes the decoded value into the variable a.

以下では、予測パラメータ推定値Qが、縮減セットRSに含まれる何れかの予測パラメータと同一である場合を例に挙げ説明する。また、以下では、変数aの値が1である場合が、復号対象の予測パラメータが予測パラメータ推定値Qと同一である場合に対応し、変数aの値が1でない場合が、復号対象の予測パラメータが予測パラメータ推定値Qと同一でない場合に対応するものとして説明を行う。   Hereinafter, a case where the prediction parameter estimated value Q is the same as any prediction parameter included in the reduced set RS will be described as an example. In the following, the case where the value of the variable a is 1 corresponds to the case where the prediction parameter to be decoded is the same as the prediction parameter estimated value Q, and the case where the value of the variable a is not 1 The following description will be made assuming that the parameter is not the same as the predicted parameter estimated value Q.

続いて、第2予測パラメータ復号部45は、変数aの値が1であるか否かを判定する(ステップS506)。   Subsequently, the second prediction parameter decoding unit 45 determines whether or not the value of the variable a is 1 (step S506).

変数aの値が1である場合(ステップS506のYes)には、予測パラメータ推定値Qを、予測パラメータPに設定する(ステップS507)。   When the value of the variable a is 1 (Yes in step S506), the prediction parameter estimated value Q is set to the prediction parameter P (step S507).

変数aの値が1でない場合(ステップS506のNo)には、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータの数Nが2であるか否かの判定を行う(ステップS508)。   When the value of the variable a is not 1 (No in Step S506), the second prediction parameter decoding unit 45 determines whether or not the number N of prediction parameters included in the reduced set RS is 2 (Step S506). S508).

N=2である場合(ステップS508のYes)、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータであって、予測パラメータ推定値Qに一致しない予測パラメータを予測パラメータPに設定する(ステップS509)。   When N = 2 (Yes in step S508), the second prediction parameter decoding unit 45 sets a prediction parameter that is included in the reduced set RS and does not match the prediction parameter estimated value Q as the prediction parameter P. (Step S509).

N=2でない場合(ステップS508のNo)、第2予測パラメータ復号部45は、ceil(log2(N−1))ビットの長さのビット列を復号し、復号した値を変数bに代入する(ステップS510)。ここで、ceil(…)は、括弧内の値以上の整数のうち、最小の整数を値にもつ天井関数である(以下同様)。したがって、ceil(…)は、括弧内の値が正である場合には、括弧内の値を切り上げ整数化する関数であると表現することもできる。   When N is not 2 (No in step S508), the second prediction parameter decoding unit 45 decodes a bit string having a length of ceil (log2 (N-1)) bits and assigns the decoded value to the variable b ( Step S510). Here, ceil (...) Is a ceiling function whose value is the smallest integer among the integers greater than or equal to the value in parentheses (the same applies hereinafter). Therefore, ceil (...) Can also be expressed as a function that rounds up the value in the parentheses to an integer when the value in the parentheses is positive.

例えば、N=5である場合、第2予測パラメータ復号部45は、ceil(log2(5−1))=2ビットの長さのビット列を復号し、復号した値を変数bに代入する。ここで、変数bの値は、ビット列の長さが2ビットであることに対応して、b=0、1、2、3のうち、何れかの値をとる。   For example, when N = 5, the second prediction parameter decoding unit 45 decodes a bit string having a length of ceil (log2 (5-1)) = 2 bits, and substitutes the decoded value into the variable b. Here, the value of the variable b takes one of the values b = 0, 1, 2, and 3 corresponding to the length of the bit string being 2 bits.

続いて、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータであって、予測パラメータ推定値Qに一致しない予測パラメータのうち、(b+1)番目に小さいインデックスを有する予測パラメータを、予測パラメータPに設定する(ステップS511)。   Subsequently, the second prediction parameter decoding unit 45 calculates a prediction parameter having a (b + 1) th smallest index among prediction parameters that are included in the reduced set RS and do not match the prediction parameter estimation value Q. The prediction parameter P is set (step S511).

例えば、変数bの値が0である場合には、第2予測パラメータ復号部45は、縮減セットRSに含まれる予測パラメータであって、予測パラメータ推定値Qに一致しない予測パラメータのうち、1番目に小さいインデックスを有する予測パラメータを、予測パラメータPに設定する。   For example, when the value of the variable b is 0, the second prediction parameter decoding unit 45 is the first of the prediction parameters that are included in the reduced set RS and that do not match the prediction parameter estimated value Q. A prediction parameter having a small index is set as the prediction parameter P.

なお、ステップS504において説明した処理によって導出された予測パラメータ推定値Qが、縮減セットRSに含まれる何れの予測パラメータとも同一でない場合には、上記予測パラメータ推定値Qとして、縮減セットRSに含まれる予測パラメータのうち、最も小さいインデックスが付された予測パラメータを用いればよい。   In addition, when the prediction parameter estimated value Q derived | led-out by the process demonstrated in step S504 is not the same as any prediction parameter included in the reduction set RS, it is included in the reduction set RS as the said prediction parameter estimation value Q. Of the prediction parameters, the prediction parameter with the smallest index may be used.

以上が、第2予測パラメータ復号部45による復号処理の一例である。第2予測パラメータ復号部は、上記のような処理によって復号された予測パラメータPを予測パラメータ#45として出力する。   The above is an example of the decoding process by the second prediction parameter decoding unit 45. A 2nd prediction parameter decoding part outputs the prediction parameter P decoded by the above processes as prediction parameter # 45.

以上のように、動画像復号装置1は、原画像と予測画像との差を、各予測単位について、予測画像の生成方法を指定する複数の予測パラメータのうち何れの予測パラメータが選択されたのかを示す選択情報と共に符号化することによって得られた符号化データを復号する画像復号装置であって、予測画像を構成する複数の単位領域の各々に含まれる複数の予測単位を第1のグループまたは第2のグループに分類する分類手段(グループ判定部41)を備え、上記選択情報のうち、第1のグループに属する各予測単位についての選択情報である第1の選択情報(サブブロック符号化データ#141bに含まれる、予測パラメータに関する情報であって、第1のグループに属する各サブブロックについての予測パラメータに関する情報)を参照し、第1のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、予め定められた予測パラメータよりなる基本セットから選択する第1の選択手段(第1予測パラメータ復号部43)と、上記選択情報のうち、第2のグループに属する各予測単位についての選択情報である第2の選択情報(サブブロック符号化データ#141bに含まれる、予測パラメータに関する情報であって、第2のグループに属する各サブブロックについての予測パラメータに関する情報)を参照し、第2のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、上記第1の選択手段(第1予測パラメータ復号部43)によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなる縮減セットRSから選択する第2の選択手段(第2予測パラメータ復号部45)と、を含んでいることを特徴としている。   As described above, the video decoding device 1 uses the difference between the original image and the predicted image to determine which prediction parameter is selected from among a plurality of prediction parameters that specify the generation method of the predicted image for each prediction unit. An image decoding apparatus that decodes encoded data obtained by encoding together with selection information indicating a plurality of prediction units included in each of a plurality of unit regions constituting a prediction image, in the first group or Classification means (group determination unit 41) for classification into a second group is provided, and among the selection information, first selection information (subblock encoded data) that is selection information for each prediction unit belonging to the first group Reference is made to information relating to prediction parameters included in # 141b and relating to prediction parameters for each sub-block belonging to the first group) First selection means (first prediction parameter decoding unit 43) for selecting a prediction parameter for designating a prediction image generation method for each prediction unit belonging to the first group from a basic set of predetermined prediction parameters; , Out of the selection information, second selection information that is selection information for each prediction unit belonging to the second group (information related to a prediction parameter included in sub-block encoded data # 141b, With reference to the prediction parameter for each sub-block belonging to the group, a prediction parameter for specifying a prediction image generation method in each prediction unit belonging to the second group is selected as the first selection means (first prediction parameter). A reduced set including at least a part of the prediction parameters selected by the decoding unit 43), It is characterized in that it includes a second selecting means for selecting from the reduction set RS consisting prediction parameter less than or equal to the number of prediction parameters included in the basic set (second prediction parameter decoding section 45), the.

(予測パラメータ復号部144の他の構成例)
予測パラメータ復号部144に関する上記の説明においては、縮減セット導出部44がマクロブロック毎に縮減セットRSを生成する構成について述べたが、本発明はこれに限定されるものではない。
(Another configuration example of the prediction parameter decoding unit 144)
In the above description regarding the prediction parameter decoding unit 144, the configuration in which the reduced set deriving unit 44 generates the reduced set RS for each macroblock has been described, but the present invention is not limited to this.

予測パラメータ復号部144においては、例えば、縮減セット導出部44が、サブブロック毎に縮減セットRSを生成し、第2予測パラメータ復号部45が、サブブロック毎に生成された縮減セットRSに基づいて、予測対象サブブロックに対する予測パラメータを復号するような構成としてもよい。   In the prediction parameter decoding unit 144, for example, the reduced set derivation unit 44 generates a reduced set RS for each sub-block, and the second prediction parameter decoding unit 45 based on the reduced set RS generated for each sub-block. The prediction parameter for the prediction target sub-block may be decoded.

このような構成においては、縮減セット導出部44は、図8の(a)に示すように、以下の処理を行うことによって縮減セットRSを生成することができる。   In such a configuration, the reduced set deriving unit 44 can generate the reduced set RS by performing the following processing, as shown in FIG.

(ステップS701)
まず、縮減セット導出部44は、縮減セットRSを空に設定することによって、縮減セットRSの初期化を行う。
(Step S701)
First, the reduced set derivation unit 44 initializes the reduced set RS by setting the reduced set RS to be empty.

(ステップS702)
続いて、縮減セット導出部44は、予測対象サブブロックの周辺のサブブロックから構成される領域を近傍サブブロック領域NSRに設定する。
(Step S702)
Subsequently, the reduced set deriving unit 44 sets a region composed of sub-blocks around the prediction target sub-block as the neighboring sub-block region NSR.

図8の(b)は、近傍サブブロック領域NSRの一例を示す図である。図8の(b)に示すように、近傍サブブロック領域NSRは、例えば、予測対象サブブロックの周辺のサブブロックであって、予測対象サブブロックからの距離が、サブブロックを単位として1〜3市街地距離以内であるサブブロックから構成することができる。ここで、市街地距離とは、2点間の座標に対して、各座標の差の絶対値の和によって定義される距離のことである。   FIG. 8B is a diagram illustrating an example of the neighboring sub-block region NSR. As shown in FIG. 8B, the neighboring sub-block region NSR is, for example, a sub-block around the prediction target sub-block, and the distance from the prediction target sub-block is 1 to 3 in units of sub-blocks. It can consist of sub-blocks that are within the city distance. Here, the urban area distance is a distance defined by the sum of absolute values of differences between coordinates with respect to coordinates between two points.

また、図8の(b)に示すように、近傍サブブロック領域NSRは、一般に、予測対象サブブロックが属するマクロブロック以外のマクロブロックに属するサブブロックを含んでいてもよい。   Further, as shown in FIG. 8B, the neighboring sub-block region NSR may generally include a sub-block belonging to a macro block other than the macro block to which the prediction target sub-block belongs.

(ステップS703)
続いて、縮減セット導出部44は、近傍サブブロック領域NSRに含まれる各サブブロックに対する予測パラメータのうち、復号済みの予測パラメータを縮減セットRSに追加する。
(Step S703)
Subsequently, the reduced set deriving unit 44 adds a decoded prediction parameter among the prediction parameters for each subblock included in the neighboring subblock region NSR to the reduced set RS.

なお、近傍サブブロック領域NSRに含まれる複数のサブブロックに対して同一の予測パラメータが対応している場合には、縮減セット導出部44は、縮減セットRSに対して、当該同一のパラメータを1つのみ追加すればよい。   When the same prediction parameter corresponds to a plurality of subblocks included in the neighboring subblock region NSR, the reduced set derivation unit 44 sets the same parameter to 1 for the reduced set RS. Add only one.

以上の動作を行うことによって、縮減セット導出部44は、マクロブロック毎に縮減セットRSを生成することができる。また、第2予測パラメータ復号部45は、サブブロック毎に生成された縮減セットRSに基づいて、予測対象サブブロックに対する予測パラメータを復号することができる。   By performing the above operation, the reduced set deriving unit 44 can generate a reduced set RS for each macroblock. Moreover, the 2nd prediction parameter decoding part 45 can decode the prediction parameter with respect to a prediction object subblock based on the reduction | restoration set RS produced | generated for every subblock.

一般に、予測対象サブブロックに対する予測パラメータは、当該予測対象サブブロックの周辺のサブブロックに対する予測パラメータと相関がある。したがって、上記の処理によって生成された縮減セットRSに含まれる予測パラメータは、第2グループに属するサブブロックの予測において最も適切な予測パラメータを含む可能性が高い。また、上記の処理によって生成された縮減セットRSに含まれる予測パラメータの数は、一般に、第1のグループに対して選択可能な予測パラメータの数に比べて、少ない。   In general, a prediction parameter for a prediction target sub-block has a correlation with a prediction parameter for sub-blocks around the prediction target sub-block. Therefore, the prediction parameter included in the reduced set RS generated by the above processing is highly likely to include the most appropriate prediction parameter in the prediction of the sub-blocks belonging to the second group. In addition, the number of prediction parameters included in the reduced set RS generated by the above processing is generally smaller than the number of prediction parameters that can be selected for the first group.

したがって、符号化データ#1を生成する動画像符号化装置は、上記の構成に対応する構成をとることによって、符号化効率を犠牲にすることなく、符号量の少ない符号化データ#1を生成することができる。また、動画像復号装置1は、上記の構成をとることによって、そのように生成された符号量の少ない符号化データ#1を復号することができる。   Therefore, the moving image encoding apparatus that generates encoded data # 1 generates encoded data # 1 with a small code amount without sacrificing encoding efficiency by adopting a configuration corresponding to the above configuration. can do. Further, the moving picture decoding apparatus 1 can decode the encoded data # 1 generated in such a manner with a small code amount by adopting the above configuration.

なお、近傍サブブロック領域NSRに含まれる複数のサブブロックについて、復号済みの予測パラメータが存在しない場合には、第2予測パラメータ復号部45は、例えば、基本パラメータセットから予測パラメータを選択するような構成とすればよい。   Note that when there is no decoded prediction parameter for a plurality of subblocks included in the neighboring subblock region NSR, the second prediction parameter decoding unit 45 selects, for example, a prediction parameter from the basic parameter set. What is necessary is just composition.

また、本構成例における縮減セット導出部44は、(縮減セットRSの生成例1)〜(縮減セットRSの生成例4)において説明した処理とほぼ同様の処理によって、縮減セットRSを導出するような構成としてもよい。ただし、その場合、(縮減セットRSの生成例1)〜(縮減セットRSの生成例4)における「第1のグループ」を、本構成例における「近傍サブブロック領域NSR」と読み替えるものとする。   Further, the reduced set deriving unit 44 in the present configuration example derives the reduced set RS by a process substantially similar to the process described in (Generated Example 1 of Reduced Set RS) to (Generated Example 4 of Reduced Set RS). It is good also as a simple structure. However, in that case, “first group” in (reduction set RS generation example 1) to (reduction set RS generation example 4) is read as “neighboring sub-block region NSR” in this configuration example.

また、上記の説明では、縮減セットRSは、第2のグループに対して用いられるものとしたが、本発明はこれに限定されるものではない。上述した処理は、マクロブロック内の全てのサブブロックに対して適用することができる。すなわち、マクロブロック内の全てのサブブロックに対して、サブブロック毎に生成された縮減セットRSに基づいて、予測パラメータを復号するような構成としてもよい。   In the above description, the reduced set RS is used for the second group, but the present invention is not limited to this. The above-described processing can be applied to all subblocks in the macroblock. That is, it is good also as a structure which decodes a prediction parameter based on the reduction | decrease set RS produced | generated for every subblock with respect to all the subblocks in a macroblock.

符号化データ#1を生成する動画像符号化装置は、上記の構成に対応する構成をとることによって、マクロブロック内の全てのサブブロックに対する予測パラメータの符号量をさらに削減することができる。したがって、上記動画像符号化装置は、符号量のより少ない符号化データ#1を生成することができる。また、動画像復号装置1は、上記の構成をとることによって、そのように生成された符号化データ#1を復号することができる。   The moving picture encoding apparatus that generates the encoded data # 1 can further reduce the amount of prediction parameter codes for all the sub-blocks in the macroblock by adopting a configuration corresponding to the above configuration. Therefore, the moving picture encoding apparatus can generate encoded data # 1 with a smaller code amount. Moreover, the moving image decoding apparatus 1 can decode the encoded data # 1 generated as described above by adopting the above configuration.

(予測画像生成部145)
以下では、予測画像生成部145における予測画像#145の生成処理について説明する。
(Predicted image generation unit 145)
Hereinafter, the generation process of the predicted image # 145 in the predicted image generation unit 145 will be described.

予測画像生成部145は、予測パラメータ#144の示す予測方向(予測モード)に応じて、予測画像#145(予測対象サブブロック)における各画素(予測対象画素)の予測画素値を、例えば、以下のように生成する。なお、以下では、予測パラメータ#144が、図5に示す予測モード0〜予測モード8のうち何れかである場合を例に挙げ説明を行う。   The predicted image generation unit 145 determines the predicted pixel value of each pixel (prediction target pixel) in the predicted image # 145 (prediction target sub-block) according to the prediction direction (prediction mode) indicated by the prediction parameter # 144, for example, as follows: Generate as follows. In the following description, the case where the prediction parameter # 144 is any one of the prediction modes 0 to 8 shown in FIG. 5 will be described as an example.

予測画像生成部145は、予測対象画素に対して、予測パラメータ#144の示す予測モードを割り付けた後、以下の動作を行う。   The prediction image generation unit 145 performs the following operation after assigning the prediction mode indicated by the prediction parameter # 144 to the prediction target pixel.

・割り付けられた予測モードが予測モード2(DC予測)以外である場合、予測画像生成部145は、予測対象画素の画素位置を始点とする、予測方向の逆方向を向いた仮想線分上に位置する復号済み画素のうち、当該画素に最も近い画素(以下、最近接画素と呼ぶ)の画素値を、当該予測対象画素の画素値とする。また、最近接画素の画素値、および、最近接画素の周辺の画素の画素値を用いて算出される値を、当該予測対象画素の画素値としてもよい。   When the allocated prediction mode is other than the prediction mode 2 (DC prediction), the predicted image generation unit 145 starts on the virtual line segment that faces the reverse direction of the prediction direction starting from the pixel position of the prediction target pixel. Among the decoded pixels that are positioned, the pixel value of the pixel closest to the pixel (hereinafter referred to as the nearest pixel) is set as the pixel value of the prediction target pixel. Further, the pixel value of the prediction target pixel may be a value calculated using the pixel value of the nearest pixel and the pixel values of the pixels around the nearest pixel.

・割り付けられた予測モードが予測モード2である場合であって、予測対象サブブロックの上側に隣接するサブブロック(以下、上サブブロックと呼ぶ)および左側に隣接するサブブロック(以下、左サブブロックとよぶ)が復号済みである場合には、上サブブロックの最下列の画素の画素値および左サブブロックの最右列の画素の画素値の平均値を、予測対象画素の画素値とする。   When the allocated prediction mode is prediction mode 2, the sub-block adjacent to the upper side of the prediction target sub-block (hereinafter referred to as the upper sub-block) and the sub-block adjacent to the left side (hereinafter referred to as the left sub-block) Is already decoded, the pixel value of the pixel in the lowermost column of the upper sub-block and the pixel value of the pixel in the rightmost column of the left sub-block are used as the pixel value of the prediction target pixel.

・割り付けられた予測モードが予測モード2である場合であって、上サブブロックが復号済みであり、左サブブロックが復号済みでない場合には、上サブブロックの最下列の画素の画素値、および、予測対象サブブロックの左方のサブブロックであって予測対象サブブロックに最も近いサブブロック(以下、左最近接サブブロックと呼ぶ)内の最右列の画素の画素値、の平均値を、予測対象画素の画素値とする。   If the assigned prediction mode is prediction mode 2 and the upper sub-block has been decoded and the left sub-block has not been decoded, the pixel value of the pixel in the bottom row of the upper sub-block, and , The average value of the pixel values of the pixels in the rightmost column in the subblock to the left of the prediction target subblock and closest to the prediction target subblock (hereinafter referred to as the left nearest subblock), The pixel value of the prediction target pixel is used.

・割り付けられた予測モードが予測モード2である場合であって、上サブブロックが復号済みでなく、左サブブロックが復号済みである場合には、予測対象サブブロックの上方のサブブロックであって予測対象サブブロックに最も近いサブブロック(以下、上最近接サブブロックと呼ぶ)内の最下列の画素の画素値、および、左サブブロックの最右列の画素の画素値、の平均値を、予測対象画素の画素値とする。   If the assigned prediction mode is prediction mode 2 and the upper sub-block has not been decoded and the left sub-block has been decoded, the sub-block above the prediction target sub-block is The average value of the pixel value of the pixel in the lowermost column in the subblock closest to the prediction target subblock (hereinafter referred to as the upper nearest subblock) and the pixel value of the pixel in the rightmost column of the left subblock, The pixel value of the prediction target pixel is used.

・割り付けられた予測モードが予測モード2である場合であって、上サブブロック、および、左サブブロックの何れも復号済みでない場合には、上最近接サブブロックの最下列の画素の画素値、および、左最近接サブブロックの最右列の画素の画素値、の平均値を、予測対象画素の画素値とする。   If the assigned prediction mode is prediction mode 2 and neither the upper subblock nor the left subblock has been decoded, the pixel value of the pixel in the bottom row of the uppermost subblock, The average value of the pixel values of the rightmost column of the left nearest subblock is set as the pixel value of the prediction target pixel.

以下では、予測対象サブブロックが4×4画素である場合における、予測画像生成部145による予測画像#145の生成処理の例を図9を参照してより具体的に説明する。   Hereinafter, an example of the generation process of the predicted image # 145 by the predicted image generation unit 145 when the prediction target sub-block is 4 × 4 pixels will be described more specifically with reference to FIG.

図9は、4×4画素である予測対象サブブロックの各画素(予測対象画素)と、当該予測対象サブブロックの周辺の画素(参照画素)とを示す図である。図9に示すように、予測対象画素には符号a〜p、参照画素には符号A〜Mを付し、画素X(Xはa〜p、A〜Mの何れか)の画素値をXと表すことにする。また、参照画素A〜Mは、何れも復号済みであるとする。   FIG. 9 is a diagram illustrating each pixel (prediction target pixel) of a prediction target sub-block that is 4 × 4 pixels and pixels (reference pixels) around the prediction target sub-block. As illustrated in FIG. 9, the prediction target pixels are denoted by reference signs a to p, the reference pixels are denoted by reference signs A to M, and the pixel value of the pixel X (X is any one of a to p and A to M) is set to X. It will be expressed as Further, it is assumed that the reference pixels A to M have all been decoded.

(予測モード0)
割り付けられた予測モードが予測モード0である場合、予測画像生成部145は、画素値a〜pを、以下の式
a,e,i,m=A,
b,f,j,n=B,
c,g,k,o=C,
d,h,l,p=D
によって生成する。
(Prediction mode 0)
When the allocated prediction mode is the prediction mode 0, the predicted image generation unit 145 converts the pixel values a to p into the following formulas a, e, i, m = A,
b, f, j, n = B,
c, g, k, o = C,
d, h, l, p = D
Generate by.

(予測モード2)
割り付けられた予測モードが予測モード2(DC予測)である場合、予測画像生成部145は、画素値a〜pを以下の式
a〜p=ave(A,B,C,D,I,J,K,L)
によって生成する。ここで、ave(…)は、括弧内に含まれる要素の平均をとることを示している。
(Prediction mode 2)
When the allocated prediction mode is the prediction mode 2 (DC prediction), the prediction image generation unit 145 converts the pixel values a to p into the following expressions: a to p = ave (A, B, C, D, I, J , K, L)
Generate by. Here, ave (...) Indicates that an element included in parentheses is averaged.

(予測モード4)
割り付けられた予測モードが予測モード4である場合、予測画像生成部145は、画素値a〜pを以下の式
d=(B+(C×2)+D+2)>>2,
c,h=(A+(B×2)+C+2)>>2,
b,g,l=(M+(A×2)+B+2)>>2,
a,f,k,p=(I+(M×2)+A+2)>>2,
e,j,o=(J+(I×2)+M+2)>>2,
i,n=(K+(J×2)+I+2)>>2,
m=(L+(K×2)+J+2)>>2
によって生成する。ここで、「>>」は右シフト演算を表し、任意の正の整数x、sに対し、x>>sの値は、x÷(2^s)の少数部分を切り捨てた値と等しい。
(Prediction mode 4)
When the allocated prediction mode is the prediction mode 4, the predicted image generation unit 145 converts the pixel values a to p into the following formula d = (B + (C × 2) + D + 2) >> 2,
c, h = (A + (B × 2) + C + 2) >> 2,
b, g, l = (M + (A × 2) + B + 2) >> 2,
a, f, k, p = (I + (M × 2) + A + 2) >> 2,
e, j, o = (J + (I × 2) + M + 2) >> 2,
i, n = (K + (J × 2) + I + 2) >> 2,
m = (L + (K × 2) + J + 2) >> 2
Generate by. Here, “>>” represents a right shift operation, and for any positive integer x, s, the value of x >> s is equal to the value obtained by rounding down the decimal part of x ÷ (2 ^ s).

また、予測画像生成部145は、上記の予測モード以外の予測モードに対しても、同様の方法によって画素値a〜pを算出することができる。   Further, the predicted image generation unit 145 can calculate the pixel values a to p by the same method for prediction modes other than the prediction mode.

<動画像復号装置に関する付記事項>
以上、本発明に係る動画像復号装置について説明を行ったが、本発明は、以上の構成に限定されるものではない。
<Additional notes regarding video decoding device>
Although the video decoding device according to the present invention has been described above, the present invention is not limited to the above configuration.

(付記事項1)
例えば、第2予測パラメータ復号部45は、符号化データ#1に含まれるフラグに応じて、予測パラメータ#45を復号する際に縮減セットRSを利用するか否かを切り替えるような構成としてもよい。
(Appendix 1)
For example, the second prediction parameter decoding unit 45 may be configured to switch whether to use the reduced set RS when decoding the prediction parameter # 45 according to the flag included in the encoded data # 1. .

より具体的には、例えば、第2予測パラメータ復号部45は、符号化データ#1に含まれるフラグの値が1である場合には、縮減セットRSを用いて予測パラメータ#45を復号し、符号化データ#1に含まれるフラグの値が0である場合には、縮減セットRSに代えて、基本パラメータセットを用いて予測パラメータ#45を復号するような構成としてもよい。   More specifically, for example, when the value of the flag included in the encoded data # 1 is 1, the second prediction parameter decoding unit 45 decodes the prediction parameter # 45 using the reduced set RS, When the value of the flag included in the encoded data # 1 is 0, the prediction parameter # 45 may be decoded using the basic parameter set instead of the reduced set RS.

このような構成とすることによって、予測パラメータ#45を復号する際の処理量を減らすことができる。   With this configuration, it is possible to reduce the processing amount when decoding the prediction parameter # 45.

(付記事項2)
また、第2予測パラメータ復号部45は、マクロブロックに含まれるサブブロックの数に応じて、予測パラメータ#45を復号する際に縮減セットRSを利用するか否かを切り替えるような構成としてもよい。
(Appendix 2)
Further, the second prediction parameter decoding unit 45 may be configured to switch whether to use the reduced set RS when decoding the prediction parameter # 45 according to the number of subblocks included in the macroblock. .

より具体的には、マクロブロックに含まれるサブブロックの数が16個以上である場合には、縮減セットRSを用いて予測パラメータ#45を復号し、マクロブロックに含まれるサブブロックの数が16個未満である場合には、縮減セットRSに代えて、基本パラメータセットを用いて予測パラメータ#45を復号するような構成としてもよい。   More specifically, when the number of subblocks included in the macroblock is 16 or more, the prediction parameter # 45 is decoded using the reduced set RS, and the number of subblocks included in the macroblock is 16. If the number is less than the number, the prediction parameter # 45 may be decoded using the basic parameter set instead of the reduced set RS.

このような構成とすることによって、予測パラメータ#45を復号する際の処理量を減らすことができる。   With this configuration, it is possible to reduce the processing amount when decoding the prediction parameter # 45.

(付記事項3)
また、以上の説明においては、基本パラメータセットとして、図5に示すような予測パラメータのセットを用いたが、本発明はこれに限定されるものではない。
(Appendix 3)
In the above description, a prediction parameter set as shown in FIG. 5 is used as the basic parameter set, but the present invention is not limited to this.

例えば、予測パラメータ復号部144は、基本パラメータセットとして、図16(a)に示すような、水平方向を重視したパラメータセット、または、図16(b)に示すような、垂直方向を重視したパラメータセットを用いるような構成としてもよい。   For example, the prediction parameter decoding unit 144 sets, as the basic parameter set, a parameter set that emphasizes the horizontal direction as shown in FIG. 16A or a parameter that emphasizes the vertical direction as shown in FIG. It is good also as a structure which uses a set.

より具体的には、例えば、予測パラメータ復号部144は、マクロブロック内に水平方向のエッジが存在するような場合には、基本パラメータセットとして、図16(a)に示すような、水平方向を重視したパラメータセットを用い、マクロブロック内に垂直方向のエッジが存在するような場合には、基本パラメータセットとして、図16(b)に示すような、垂直方向を重視したパラメータセットを用いるような構成とすることが可能である。   More specifically, for example, when the edge in the horizontal direction exists in the macroblock, the prediction parameter decoding unit 144 sets the horizontal direction as shown in FIG. When an important parameter set is used and a vertical edge exists in the macroblock, a parameter set that emphasizes the vertical direction as shown in FIG. 16B is used as the basic parameter set. It can be configured.

また、そのような複数の基本パラメータセットを選択的に用いる場合であって、図16(a)または(b)に示すパラメータセットが基本パラメータセットに選択された場合には、第2予測パラメータ復号部45は、縮減セットRSを用いて予測パラメータ#45を復号し、図5に示すパラメータセットが基本パラメータセットに選択された場合には、第2予測パラメータ復号部45は、縮減セットRSに代えて、当該基本パラメータセットを用いて予測パラメータ#45を復号するような構成としてもよい。   In addition, when such a plurality of basic parameter sets are selectively used and the parameter set shown in FIG. 16A or 16B is selected as the basic parameter set, the second prediction parameter decoding is performed. The unit 45 decodes the prediction parameter # 45 using the reduced set RS, and when the parameter set shown in FIG. 5 is selected as the basic parameter set, the second prediction parameter decoding unit 45 replaces the reduced set RS. Thus, the prediction parameter # 45 may be decoded using the basic parameter set.

このような構成とすることによって、マクロブロック内の画像の特性に応じて、縮減セットRSを利用することができる。   With such a configuration, the reduced set RS can be used according to the characteristics of the image in the macroblock.

(動画像符号化装置)
以下では、本実施形態に係る動画像符号化装置(画像符号化装置)2について、図10〜図14を参照して説明する。図10は、動画像符号化装置2の構成を示すブロック図である。図10に示すように、動画像符号化装置2は、ヘッダ情報決定部21、ヘッダ情報符号化部22、MB設定部23、MB符号化部24、可変長符号多重化部25、MB復号部26、および、フレームメモリ27を備えている。
(Moving picture encoding device)
Below, the moving image encoder (image encoder) 2 which concerns on this embodiment is demonstrated with reference to FIGS. FIG. 10 is a block diagram illustrating a configuration of the moving image encoding device 2. As shown in FIG. 10, the moving picture encoding apparatus 2 includes a header information determination unit 21, a header information encoding unit 22, an MB setting unit 23, an MB encoding unit 24, a variable length code multiplexing unit 25, and an MB decoding unit. 26 and a frame memory 27.

動画像符号化装置2は、概略的に言えば、入力画像#100を符号化することによって符号化データ#1を生成し、出力する装置である。   Generally speaking, the moving image encoding device 2 is a device that generates and outputs encoded data # 1 by encoding the input image # 100.

ヘッダ情報決定部21は、入力画像#100に基づいて、ヘッダ情報を決定する。決定されたヘッダ情報はヘッダ情報#21として出力される。ヘッダ情報#21には、入力画像#100の画像サイズが含まれる。ヘッダ情報#21は、MB設定部23に入力されると共に、ヘッダ情報符号化部22に供給される。   The header information determination unit 21 determines header information based on the input image # 100. The determined header information is output as header information # 21. The header information # 21 includes the image size of the input image # 100. The header information # 21 is input to the MB setting unit 23 and supplied to the header information encoding unit 22.

ヘッダ情報符号化部22は、ヘッダ情報#21を符号化し、符号化済ヘッダ情報#22を出力する。符号化済ヘッダ情報#22は、可変長符号多重化部25に供給される。   The header information encoding unit 22 encodes header information # 21 and outputs encoded header information # 22. The encoded header information # 22 is supplied to the variable length code multiplexer 25.

MB設定部23は、ヘッダ情報#21に基づいて、入力画像#100を複数のマクロブロックに分割し、各マクロブロックに関するマクロブロック画像#23を出力する。マクロブロック画像#23は、MB符号化部24に順次供給される。   The MB setting unit 23 divides the input image # 100 into a plurality of macro blocks based on the header information # 21, and outputs a macro block image # 23 related to each macro block. The macro block image # 23 is sequentially supplied to the MB encoding unit 24.

MB符号化部24は、順次入力されるマクロブロック画像#23を符号化し、MB符号化データ#24を生成する。生成されたMB符号化データ#24は、可変長符号多重化部25に供給される。MB符号化部24の構成については、後述するため、ここでは説明を省略する。   The MB encoding unit 24 encodes sequentially input macroblock image # 23 to generate MB encoded data # 24. The generated MB encoded data # 24 is supplied to the variable length code multiplexer 25. Since the configuration of the MB encoding unit 24 will be described later, the description thereof is omitted here.

可変長符号多重化部25は、符号化済ヘッダ情報#22と、MB符号化データ#24とを多重化することによって符号化データ#1を生成し、出力する。   The variable length code multiplexing unit 25 generates encoded data # 1 by multiplexing encoded header information # 22 and MB encoded data # 24, and outputs the encoded data # 1.

MB復号部26は、入力された個々のマクロブロックに対応するMB符号化データ#24を順次復号することにより、個々のマクロブロックに対応する復号画像#26を生成し、出力する。復号画像#26は、フレームメモリ27に供給される。   The MB decoding unit 26 sequentially decodes the MB encoded data # 24 corresponding to each input macroblock, thereby generating and outputting a decoded image # 26 corresponding to each macroblock. The decoded image # 26 is supplied to the frame memory 27.

フレームメモリ27には、入力された復号画像#26が記録される。特定のマクロブロックを符号化する時点では、当該マクロブロックよりもラスタスキャン順で先にある全てのマクロブロックに対応する復号画像がフレームメモリに記録されている。   In the frame memory 27, the input decoded image # 26 is recorded. At the time of encoding a specific macroblock, decoded images corresponding to all macroblocks that precede the macroblock in the raster scan order are recorded in the frame memory.

(MB符号化部24)
以下では、MB符号化部24について、参照する図面を替えてより具体的に説明する。
(MB encoding unit 24)
Hereinafter, the MB encoding unit 24 will be described more specifically with reference to different drawings.

図11は、MB符号化部24の構成を示すブロック図である。図11に示すように、MB符号化部24は、サブブロック分割部241、予測パラメータ決定部242、予測パラメータ符号化部243、予測残差生成部244、変換係数符号化部245、予測残差復号部246、サブブロック復号画像生成部247、予測画像生成部248、および、MB符号化データ生成部249を備えている。   FIG. 11 is a block diagram showing a configuration of the MB encoding unit 24. As shown in FIG. 11, the MB encoding unit 24 includes a sub-block dividing unit 241, a prediction parameter determining unit 242, a prediction parameter encoding unit 243, a prediction residual generating unit 244, a transform coefficient encoding unit 245, a prediction residual. A decoding unit 246, a sub-block decoded image generation unit 247, a predicted image generation unit 248, and an MB encoded data generation unit 249 are provided.

サブブロック分割部241は、マクロブロック画像#23を複数のサブブロックに分割し、マクロブロックを構成する各サブブロックの当該マクロブロック内での位置を示すサブブロック位置情報#241a、および、サブブロック位置情報#241aが示すサブブロックに関する画像データであるサブブロック画像#241bを所定の順序で順次出力する。   The subblock division unit 241 divides the macroblock image # 23 into a plurality of subblocks, subblock position information # 241a indicating the position of each subblock constituting the macroblock in the macroblock, and the subblock Sub-block image # 241b, which is image data related to the sub-block indicated by position information # 241a, is sequentially output in a predetermined order.

なお、サブブロック分割部241は、後述する第1グループに属するサブブロックに関するサブブロック位置情報#241a、および、サブブロック画像#241bを出力したのち、後述する第2グループに属するサブブロックに関するサブブロック位置情報#241a、および、サブブロック画像#241bを出力するような構成とすることが好ましい。例えば、第1グループに属するサブブロックをラスタスキャン順に走査し、続いて、第2グループに属するサブブロックをラスタスキャン順に走査するような構成とすることが好ましい。   The sub-block dividing unit 241 outputs sub-block position information # 241a and sub-block image # 241b related to sub-blocks belonging to the first group described later, and then outputs sub-blocks related to sub-blocks belonging to the second group described later. It is preferable that the position information # 241a and the sub-block image # 241b are output. For example, it is preferable that the sub blocks belonging to the first group are scanned in the raster scan order, and then the sub blocks belonging to the second group are scanned in the raster scan order.

予測パラメータ決定部242は、サブブロック位置情報#241aが示すサブブロックに関する予測画像の生成に用いられる予測パラメータ#242を決定し、出力する。また、予測パラメータ符号化部243は、予測パラメータ#242を符号化し、符号化予測パラメータ#243を出力する。予測パラメータ決定部242および予測パラメータ符号化部243の構成については、後述するため、ここでは説明を省略する。   The prediction parameter determination unit 242 determines and outputs a prediction parameter # 242 used for generating a prediction image related to the subblock indicated by the subblock position information # 241a. Further, the prediction parameter encoding unit 243 encodes the prediction parameter # 242 and outputs the encoded prediction parameter # 243. Since the configuration of the prediction parameter determination unit 242 and the prediction parameter encoding unit 243 will be described later, description thereof is omitted here.

予測残差生成部244は、サブブロック位置情報#241aに基づいて、予測対象となるサブブロックを特定し、当該サブブロックにおける、サブブロック画像#241bと、予測画像生成部248によって生成された予測画像#248との差分画像である予測残差#244を生成する。   The prediction residual generation unit 244 identifies a subblock to be predicted based on the subblock position information # 241a, and the prediction generated by the subblock image # 241b and the prediction image generation unit 248 in the subblock. A prediction residual # 244 that is a difference image from the image # 248 is generated.

変換係数符号化部245は、予測残差#244に対して、サブブロックのサイズと同一のサイズの周波数変換を適用して、予測残差#244の変換係数を生成する。   The transform coefficient coding unit 245 generates a transform coefficient of the prediction residual # 244 by applying frequency transform having the same size as the subblock size to the prediction residual # 244.

また、変換係数符号化部245は、上記変換係数を量子化して量子化変換係数#245aを生成した後、当該量子化変換係数#245aに対して、CABACやCAVLC等の可変長符号化方法を適用して可変長符号を生成し、当該可変長符号を符号化データ#245bとして出力する。   Further, the transform coefficient encoding unit 245 quantizes the transform coefficient to generate a quantized transform coefficient # 245a, and then applies a variable length coding method such as CABAC or CAVLC to the quantized transform coefficient # 245a. This is applied to generate a variable length code, and the variable length code is output as encoded data # 245b.

予測残差復号部246は、量子化変換係数#245aを逆量子化し、その後、周波数変換の逆変換(逆周波数変換)を適用することによって、復号残差#246を生成して出力する。   The prediction residual decoding unit 246 generates and outputs a decoding residual # 246 by inversely quantizing the quantized transform coefficient # 245a and then applying inverse transform of frequency transform (inverse frequency transform).

なお、予測残差生成部244、変換係数符号化部245、および、予測残差復号部246による上記の処理は、本発明を限定するものではない。例えば、変換係数符号化部245は、上記周波数変換を省略し、予測残差を直接量子化するようにしてもよい。   Note that the above processing by the prediction residual generation unit 244, the transform coefficient encoding unit 245, and the prediction residual decoding unit 246 does not limit the present invention. For example, the transform coefficient coding unit 245 may omit the frequency transform and directly quantize the prediction residual.

サブブロック復号画像生成部247は、予測画像#248と復号残差#246とを加算することによってサブブロック復号画像#247を生成し、出力する。   The sub-block decoded image generation unit 247 generates and outputs a sub-block decoded image # 247 by adding the predicted image # 248 and the decoded residual # 246.

予測画像生成部248は、予測パラメータ#242、復号画像#27、および、サブブロック復号画像#247に基づいて、予測対象サブブロックに対応する予測画像#248を生成し、出力する。予測画像生成部248における予測画像#248の具体的な生成方法は、例えば、上述した予測画像生成部145における予測画像#145の生成方法と同様の方法を適用することができる。   The predicted image generation unit 248 generates and outputs a predicted image # 248 corresponding to the prediction target sub-block based on the prediction parameter # 242, the decoded image # 27, and the sub-block decoded image # 247. As a specific generation method of the prediction image # 248 in the prediction image generation unit 248, for example, a method similar to the generation method of the prediction image # 145 in the prediction image generation unit 145 described above can be applied.

MB符号化データ生成部249は、各サブブロックに関する符号化データ#245b、および、各サブブロックに関する符号化予測パラメータ#243を蓄積し、マクロブロック単位に統合することによって、マクロブロック単位の符号化データであるMB符号化データ#24を生成し、出力する。   The MB encoded data generation unit 249 accumulates the encoded data # 245b for each subblock and the encoded prediction parameter # 243 for each subblock, and integrates the encoded data in units of macroblocks. MB encoded data # 24, which is data, is generated and output.

以下では、参照する図面を替えて、予測パラメータ決定部242、および、予測パラメータ符号化部243について説明する。   Hereinafter, the prediction parameter determination unit 242 and the prediction parameter encoding unit 243 will be described with reference to different drawings.

(予測パラメータ決定部242)
図12は、予測パラメータ決定部242の構成を示すブロック図である。図12に示すように、予測パラメータ決定部242は、グループ判定部51、スイッチ部52、第1予測パラメータ決定部53、縮減セット導出部54、および、第2予測パラメータ決定部55を備えている。
(Prediction parameter determination unit 242)
FIG. 12 is a block diagram illustrating a configuration of the prediction parameter determination unit 242. As illustrated in FIG. 12, the prediction parameter determination unit 242 includes a group determination unit 51, a switch unit 52, a first prediction parameter determination unit 53, a reduced set derivation unit 54, and a second prediction parameter determination unit 55. .

グループ判定部51は、サブブロック位置情報#241aが示すサブブロックを、複数のグループのうち何れかのグループに分類し、分類結果を示すグループ情報#51をスイッチ部52に対して出力する。   The group determination unit 51 classifies the sub-block indicated by the sub-block position information # 241a into one of a plurality of groups, and outputs group information # 51 indicating the classification result to the switch unit 52.

グループ判定部51は、例えば、すでに説明した図4の(a)〜(f)のように、各サブブロックを、第1のグループまたは第2のグループの何れかに分類することができる。   The group determination unit 51 can classify each sub-block into either the first group or the second group, for example, as already described with reference to FIGS.

また、グループ判定部51は、マクロブロックごとに異なる分類方法を用いて、各サブブロックを複数のグループのうち何れかのグループに分類してもよい。例えば、マクロブロックMB1を構成する各サブブロックを、図4の(a)〜(b)に示すように、2つのグループに分類し、マクロブロックMB1と異なるマクロブロックMB2を構成する各サブブロックを、図4の(c)〜(d)に示すように、2つのグループに分類するような構成としてもよい。このように、各マクロブロックに対して、複数の分類方法のうち、何れかの分類方法を用いる場合には、グループ判定部51は、何れの分類方法を用いたかを示すフラグを出力することが好ましい。当該フラグを、符号化データ#1を復号する動画像復号装置に伝送することによって、当該動画像復号装置は、グループ判定部51において何れの分類方法が用いられたかを識別することができる。   Moreover, the group determination part 51 may classify | categorize each subblock in any group among several groups using the classification method different for every macroblock. For example, the sub-blocks constituting the macro block MB1 are classified into two groups as shown in FIGS. 4A to 4B, and the sub-blocks constituting the macro block MB2 different from the macro block MB1 are classified. As shown in (c) to (d) of FIG. 4, it may be configured to be classified into two groups. As described above, when any one of a plurality of classification methods is used for each macroblock, the group determination unit 51 may output a flag indicating which classification method is used. preferable. By transmitting the flag to the moving picture decoding apparatus that decodes the encoded data # 1, the moving picture decoding apparatus can identify which classification method is used in the group determination unit 51.

スイッチ部52は、グループ情報#51に基づいて、サブブロック位置情報#241aが示すサブブロックに関する符号化データであるサブブロック符号化データ#241bを、第1予測パラメータ決定部53、または、第2予測パラメータ決定部55のうち、何れかのパラメータ決定部に伝達する。   Based on the group information # 51, the switch unit 52 converts the subblock encoded data # 241b, which is encoded data related to the subblock indicated by the subblock position information # 241a, to the first prediction parameter determination unit 53 or the second This is transmitted to one of the prediction parameter determination units 55.

具体的には、スイッチ部52は、グループ判定部51において、サブブロック位置情報#241aの示すサブブロックが第1のグループに分類された場合には、上記サブブロック符号化データ#241bを、第1予測パラメータ決定部53に伝達し、グループ判定部51において、サブブロック位置情報#241aの示すサブブロックが第2のグループに分類された判定された場合には、上記サブブロック符号化データ#241bを、第2予測パラメータ決定部55に伝達する。   Specifically, in the group determination unit 51, when the subblock indicated by the subblock position information # 241a is classified into the first group, the switch unit 52 converts the subblock encoded data # 241b into the first block. 1 is transmitted to the prediction parameter determination unit 53. When the group determination unit 51 determines that the sub-block indicated by the sub-block position information # 241a is classified into the second group, the sub-block encoded data # 241b Is transmitted to the second prediction parameter determination unit 55.

第1予測パラメータ決定部53は、復号画像#27、サブブロック復号画像#247、および、サブブロック符号化データ#241bに基づいて、第1グループに属する各サブブロックに関する予測画像の生成に用いられる予測パラメータ#53を決定(選択)し、出力する。また、予測パラメータ#53は、縮減セット導出部54にも供給される。   The first prediction parameter determination unit 53 is used to generate a prediction image for each subblock belonging to the first group based on the decoded image # 27, the subblock decoded image # 247, and the subblock encoded data # 241b. The prediction parameter # 53 is determined (selected) and output. The prediction parameter # 53 is also supplied to the reduced set derivation unit 54.

例えば、予測パラメータが、H.264/MPEG−4 AVC規格におけるイントラ予測モードである場合には、第1予測パラメータ決定部53は、第1グループに属する各サブブロックに対して、すでに説明した図5に示した基本パラメータセットのうち、何れかの予測モードを選択し、出力する。   For example, if the prediction parameter is H.264. In the case of the intra prediction mode in the H.264 / MPEG-4 AVC standard, the first prediction parameter determination unit 53 applies the basic parameter set shown in FIG. 5 described above to each sub-block belonging to the first group. One of the prediction modes is selected and output.

なお、第1予測パラメータ決定部53における具体的な予測パラメータ#53の決定方法は、本発明を限定するものではないが、例えば、第1予測パラメータ決定部53は、第1グループに属する各サブブロックに対して、当該サブブロックにおける予測画像と入力画像#100との差分が最も小さくなるように予測パラメータ#53を決定するようにすればよい。例えば、第1予測パラメータ決定部53は、第1グループに属するサブブロックSB1に対して、基本パラメータセットのうち、予測モード1を用いて生成された予測画像と入力画像#100との差分が最も小さくなるような場合には、当該サブブロックSB1に対して、予測モード1を選択し、第1グループに属するサブブロックSB2に対して、基本パラメータセットのうち、予測モード2を用いて生成された予測画像と入力画像#100との差分が最も小さくなるような場合には、当該サブブロックSB2に対して、予測モード2を選択するような構成とすればよい。   Note that the specific method for determining the prediction parameter # 53 in the first prediction parameter determination unit 53 does not limit the present invention. For example, the first prediction parameter determination unit 53 includes each sub-group belonging to the first group. The prediction parameter # 53 may be determined for the block so that the difference between the predicted image and the input image # 100 in the sub-block is minimized. For example, the first prediction parameter determination unit 53 has the largest difference between the prediction image generated using the prediction mode 1 and the input image # 100 in the basic parameter set for the sub-block SB1 belonging to the first group. In such a case, the prediction mode 1 is selected for the sub-block SB1, and the sub-block SB2 belonging to the first group is generated using the prediction mode 2 in the basic parameter set. In the case where the difference between the predicted image and the input image # 100 is minimized, the prediction mode 2 may be selected for the sub-block SB2.

図13の(a)は、第1予測パラメータ決定部53が、マクロブロックMBを構成する各サブブロックのうち、第1グループに属する各サブブロックに対して選択した予測モードの例を示す図である。図13の(a)に示した例では、第1予測パラメータ決定部53によって、第1グループに属する各サブブロックに対して、予測モード1、予測モード6、または、予測モード8のうち、何れかの予測モードが選択されている。本例においては、予測モード1、予測モード6、および、予測モード8は、予測パラメータ#53として、縮減セット導出部54に供給される。   (A) of FIG. 13 is a figure which shows the example of the prediction mode which the 1st prediction parameter determination part 53 selected with respect to each subblock which belongs to a 1st group among each subblock which comprises macroblock MB. is there. In the example shown in (a) of FIG. 13, the first prediction parameter determination unit 53 determines which one of prediction mode 1, prediction mode 6, and prediction mode 8 for each sub-block belonging to the first group. The prediction mode is selected. In this example, the prediction mode 1, the prediction mode 6, and the prediction mode 8 are supplied to the reduced set derivation unit 54 as the prediction parameter # 53.

以上の動作によって、縮減セット導出部54には、第1のグループに属する各サブブロックに関する予測パラメータ#53が供給される。   Through the above operation, the reduced set derivation unit 54 is supplied with the prediction parameter # 53 related to each sub-block belonging to the first group.

縮減セット導出部54の構成は、すでに説明した縮減セット導出部44と同様である。すなわち、縮減セット導出部54は、予測パラメータ#53を用いて、縮減セットRSを生成する。縮減セット導出部54における縮減セットRSの生成方法は、すでに説明した縮減セット導出部44における縮減セットRSの生成方法と同様である。   The configuration of the reduced set derivation unit 54 is the same as that of the reduced set derivation unit 44 already described. That is, the reduced set derivation unit 54 generates a reduced set RS using the prediction parameter # 53. The generation method of the reduced set RS in the reduced set derivation unit 54 is the same as the generation method of the reduced set RS in the reduced set derivation unit 44 already described.

なお、縮減セット導出部54において、複数の生成方法が選択的に用いられるような場合には、縮減セット導出部54は、何れの生成方法を選択したのかを示すフラグを出力することが好ましい。当該フラグを、符号化データ#1を復号する動画像復号装置に伝送することによって、当該動画像復号装置は、縮減セット導出部54において何れの生成方法が用いられたかを識別することができる。   When a plurality of generation methods are selectively used in the reduced set derivation unit 54, the reduced set derivation unit 54 preferably outputs a flag indicating which generation method has been selected. By transmitting the flag to the video decoding device that decodes the encoded data # 1, the video decoding device can identify which generation method is used in the reduced set deriving unit 54.

図13の(b)は、図13の(a)に示した各予測モードが予測パラメータ#53として供給された場合に、縮減セット導出部54が生成する縮減セットRSの一例を示す図である。図13の(b)に示すように、本例においては、縮減セットRSは、予測モード1、予測モード8、および、予測モード6から構成されている。   FIG. 13B is a diagram illustrating an example of a reduced set RS generated by the reduced set derivation unit 54 when each prediction mode illustrated in FIG. 13A is supplied as the prediction parameter # 53. . As shown in (b) of FIG. 13, in this example, the reduced set RS includes a prediction mode 1, a prediction mode 8, and a prediction mode 6.

第2予測パラメータ決定部55は、第2グループに属する各サブブロックに関する予測画像の生成に用いられる予測パラメータ#55を、縮減セットRSに含まれる予測パラメータから選択し、出力する。   The second prediction parameter determination unit 55 selects and outputs a prediction parameter # 55 used for generating a prediction image for each sub-block belonging to the second group from the prediction parameters included in the reduced set RS.

第2予測パラメータ決定部55における具体的な予測パラメータ#55の決定方法は、本発明を限定するものではないが、例えば、第2予測パラメータ決定部55は、第2グループに属する各サブブロックに対して、当該サブブロックにおける予測画像が最も適切に生成できる予測パラメータ#55を、縮減セットRSに含まれる予測パラメータから選択するようにすればよい。   The specific method for determining the prediction parameter # 55 in the second prediction parameter determination unit 55 is not limited to the present invention. For example, the second prediction parameter determination unit 55 applies to each sub-block belonging to the second group. On the other hand, the prediction parameter # 55 that can most appropriately generate the prediction image in the sub-block may be selected from the prediction parameters included in the reduced set RS.

図13の(c)は、第2予測パラメータ決定部55が、マクロブロックMBを構成する各サブブロックのうち、第2グループに属する各サブブロックに対して、図13の(b)に示した縮減セットRSから選択した予測モードの例を示す図である。図13の(c)に示すように、第2ブロックに属する各サブブロックに対して、図13の(b)に示した縮減セットRSに含まれる予測モード1、予測モード6、または、予測モード8のうち何れかの予測モードが選択されている。   FIG. 13C shows the second prediction parameter determination unit 55 shown in FIG. 13B for each subblock belonging to the second group among the subblocks constituting the macroblock MB. It is a figure which shows the example of the prediction mode selected from reduction set RS. As shown in FIG. 13C, for each sub-block belonging to the second block, prediction mode 1, prediction mode 6 or prediction mode included in the reduced set RS shown in FIG. 13B. Any one of 8 prediction modes is selected.

一般に、マクロブロックを構成する各サブブロックに対して最適な予測パラメータ同士には、相関がある。したがって、第1グループに属する各サブブロックに対して選択された予測パラメータは、第2グループに属する各サブブロックに対しても最適な予測パラメータである可能性が高い。   In general, there is a correlation between optimal prediction parameters for each sub-block constituting a macroblock. Therefore, the prediction parameter selected for each sub-block belonging to the first group is highly likely to be an optimal prediction parameter for each sub-block belonging to the second group.

また、上述のように、第2予測パラメータ決定部55は、第2グループに属する各サブブロックに対する予測パラメータ#55を縮減セットRSに含まれる予測パラメータから選択するので、縮減セットRSを用いない場合に比べて、予測パラメータ#55の符号量を削減することができる。   In addition, as described above, the second prediction parameter determination unit 55 selects the prediction parameter # 55 for each sub-block belonging to the second group from the prediction parameters included in the reduced set RS, so that the reduced set RS is not used. As compared with the above, the code amount of the prediction parameter # 55 can be reduced.

例えば、後述するように、推定値と同じであるか否かを示すフラグと共に予測モードを符号化する場合、図13の(b)に示した縮減セットRSに含まれる3つの予測モードは、ceil(log2(3−1))=1ビットの符号量を用いて符号化することができる。一方で、第2予測パラメータ決定部55が、縮減セットRSを用いずに、9つの予測モードから構成される基本パラメータセットから予測パラメータを選択する場合には、ceil(log2(9−1))=3ビットの符号量が必要になる。また、上記の例においては、第2グループは8個のサブブロックから構成されているため、縮減セットRSを用いることによって、縮減セットRSを用いない場合に比べて、マクロブロック毎に、3×8−1×8=16ビットの符号量を削減することができる。   For example, as will be described later, when the prediction mode is encoded together with a flag indicating whether or not the estimated value is the same, the three prediction modes included in the reduced set RS shown in FIG. (Log2 (3-1)) = 1 can be encoded using a code amount of 1 bit. On the other hand, when the second prediction parameter determination unit 55 selects a prediction parameter from a basic parameter set composed of nine prediction modes without using the reduced set RS, ceil (log2 (9-1)) = A code amount of 3 bits is required. Further, in the above example, since the second group is composed of 8 sub-blocks, 3 × for each macroblock is obtained by using the reduced set RS as compared with the case where the reduced set RS is not used. The code amount of 8-1 × 8 = 16 bits can be reduced.

一般に、推定値と同じであるか否かを示すフラグと共に予測パラメータを符号化する場合、第1グループに属する各サブブロックに対して選択可能な予測パラメータの数をNfs、縮減セットRSに含まれる予測パラメータの数をNrs、第2グループに含まれるサブブロックの数をNgsと表すことにすると、縮減セットRSを用いることによって、縮減セットRSを用いない場合に比べて、マクロブロック毎に、Ngs×(ceil(log2(Nfs−1))−ceil(log2(Nrs−1)))ビットの符号量を削減することができる。   In general, when a prediction parameter is encoded together with a flag indicating whether or not it is the same as the estimated value, the number of prediction parameters that can be selected for each sub-block belonging to the first group is included in Nfs and the reduced set RS. Assuming that the number of prediction parameters is Nrs and the number of sub-blocks included in the second group is Ngs, the use of the reduced set RS makes it possible to obtain Ngs for each macroblock as compared with the case where the reduced set RS is not used. The code amount of x (ceil (log2 (Nfs-1))-ceil (log2 (Nrs-1))) bits can be reduced.

このように、縮減セットRSを用いることによって、符号化効率を犠牲にすることなく、予測パラメータの符号化に必要な符号量を削減することができる。   Thus, by using the reduced set RS, it is possible to reduce the amount of code necessary for encoding the prediction parameter without sacrificing the encoding efficiency.

(予測パラメータ決定部242の他の構成例)
予測パラメータ決定部242に関する上記の説明においては、縮減セット導出部54がマクロブロック毎に縮減セットRSを生成する構成について述べたが、本発明はこれに限定されるものではない。
(Another configuration example of the prediction parameter determination unit 242)
In the above description regarding the prediction parameter determination unit 242, the configuration in which the reduced set derivation unit 54 generates the reduced set RS for each macroblock has been described, but the present invention is not limited to this.

すなわち、予測パラメータ決定部242においては、縮減セット導出部54が、サブブロック毎に縮減セットRSを生成し、第2予測パラメータ決定部55が、サブブロック毎に生成された縮減セットRSに基づいて、予測対象サブブロックに対する予測パラメータを決定するような構成としてもよい。   That is, in the prediction parameter determination unit 242, the reduced set derivation unit 54 generates a reduced set RS for each sub-block, and the second prediction parameter determination unit 55 based on the reduced set RS generated for each sub-block. The prediction parameter for the prediction target sub-block may be determined.

このような構成においては、縮減セット導出部54は、(予測パラメータ復号部144の他の構成例)の(ステップS701)〜(ステップS703)において説明した縮減セット導出部44の動作と同様の動作を行うような構成とすればよい。ただし、(予測パラメータ復号部144の他の構成例)の(ステップS701)〜(ステップS703)における、復号済みの予測パラメータは、本例においては、符号化済みの予測パラメータに対応する。   In such a configuration, the reduced set deriving unit 54 operates in the same manner as the operation of the reduced set deriving unit 44 described in (Step S701) to (Step S703) of (another configuration example of the prediction parameter decoding unit 144). The configuration may be such that However, the decoded prediction parameters in (step S701) to (step S703) of (another configuration example of the prediction parameter decoding unit 144) correspond to the encoded prediction parameters in this example.

これによって、縮減セット導出部54は、サブブロック毎に縮減セットRSを生成することができる。また、第2予測パラメータ決定部55は、サブブロック毎に生成された縮減セットRSに基づいて、予測対象サブブロックに対する予測パラメータを決定することができる。   Thereby, the reduced set deriving unit 54 can generate a reduced set RS for each sub-block. Moreover, the 2nd prediction parameter determination part 55 can determine the prediction parameter with respect to a prediction object subblock based on the reduction | restoration set RS produced | generated for every subblock.

一般に、予測対象サブブロックに対する予測パラメータは、当該予測対象サブブロックの周辺のサブブロックに対する予測パラメータと相関がある。したがって、上記の処理によって生成された縮減セットRSに含まれる予測パラメータは、第2グループに属するサブブロックの予測において最も適切な予測パラメータを含む可能性が高い。また、上記の処理によって生成された縮減セットRSに含まれる予測パラメータの数は、一般に、第1のグループに対して選択可能な予測パラメータの数に比べて、少ない。   In general, a prediction parameter for a prediction target sub-block has a correlation with a prediction parameter for sub-blocks around the prediction target sub-block. Therefore, the prediction parameter included in the reduced set RS generated by the above processing is highly likely to include the most appropriate prediction parameter in the prediction of the sub-blocks belonging to the second group. In addition, the number of prediction parameters included in the reduced set RS generated by the above processing is generally smaller than the number of prediction parameters that can be selected for the first group.

したがって、動画像符号化装置1は、上記の構成をとることによって、符号化効率を犠牲にすることなく、符号量の少ない符号化データ#1を生成することができる。   Therefore, the moving image encoding apparatus 1 can generate encoded data # 1 with a small code amount without sacrificing encoding efficiency by adopting the above configuration.

なお、近傍サブブロック領域NSRに含まれる複数のサブブロックについて、符号化済みの予測パラメータが存在しない場合には、第2予測パラメータ決定部55は、例えば、基本パラメータセットから予測パラメータを選択するような構成とすればよい。   Note that when there is no encoded prediction parameter for a plurality of subblocks included in the neighboring subblock region NSR, the second prediction parameter determination unit 55 selects, for example, a prediction parameter from the basic parameter set. What is necessary is just to make it a structure.

また、本構成例における縮減セット導出部54は、(縮減セットRSの生成例1)〜(縮減セットRSの生成例4)において説明した処理とほぼ同様の処理によって、縮減セットRSを導出するような構成としてもよい。ただし、その場合、(縮減セットRSの生成例1)〜(縮減セットRSの生成例4)における「第1のグループ」を、本構成例における「近傍サブブロック領域NSR」と読み替えるものとする。   Further, the reduced set derivation unit 54 in the present configuration example derives the reduced set RS by a process substantially similar to the process described in (Generation example 1 of the reduced set RS) to (Generation example 4 of the reduced set RS). It is good also as a simple structure. However, in that case, “first group” in (reduction set RS generation example 1) to (reduction set RS generation example 4) is read as “neighboring sub-block region NSR” in this configuration example.

また、上記の説明では、縮減セットRSは、第2のグループに対して用いられるものとしたが、本発明はこれに限定されるものではない。上述した処理は、マクロブロック内の全てのサブブロックに対して適用することができる。すなわち、マクロブロック内の全てのサブブロックに対して、サブブロック毎に生成された縮減セットRSに基づいて、予測パラメータを決定するような構成としてもよい。   In the above description, the reduced set RS is used for the second group, but the present invention is not limited to this. The above-described processing can be applied to all subblocks in the macroblock. That is, it is good also as a structure which determines a prediction parameter based on the reduction | restoration set RS produced | generated for every subblock with respect to all the subblocks in a macroblock.

上記の構成をとることによって、マクロブロック内の全てのサブブロックに対する予測パラメータの符号量を削減することができる。したがって、動画像符号化装置1は、上記の構成をとることにより、符号量のより少ない符号化データ#1を生成することができる。   By adopting the above configuration, it is possible to reduce the amount of prediction parameter codes for all sub-blocks in a macroblock. Therefore, the moving image encoding apparatus 1 can generate encoded data # 1 with a smaller code amount by adopting the above configuration.

(予測パラメータ符号化部243)
続いて、図14を参照して、予測パラメータ符号化部243について説明する。図14は、予測パラメータ符号化部243の構成を示すブロック図である。図14に示すように、予測パラメータ符号化部243は、グループ判定部61、スイッチ部62、第1予測パラメータ符号化部63、縮減セット導出部64、および、第2予測パラメータ符号化部65を備えている。
(Prediction parameter encoding unit 243)
Next, the prediction parameter encoding unit 243 will be described with reference to FIG. FIG. 14 is a block diagram illustrating a configuration of the prediction parameter encoding unit 243. As illustrated in FIG. 14, the prediction parameter encoding unit 243 includes a group determination unit 61, a switch unit 62, a first prediction parameter encoding unit 63, a reduced set derivation unit 64, and a second prediction parameter encoding unit 65. I have.

グループ判定部61は、すでに説明したグループ判定部51とほぼ同様の構成である。すなわち、グループ判定部61は、サブブロック位置情報#241aが示すサブブロックを、予め定められた複数のグループのうち何れかのグループに分類し、分類結果を示すグループ情報#61をスイッチ部62に対して出力する。なお、グループ判定部61は、グループ判定部51において用いられた分類方法と同じ分類方法を用いて、各サブブロックを予め定められた複数のグループのうち何れかのグループに分類すればよい。   The group determination unit 61 has substantially the same configuration as the group determination unit 51 already described. That is, the group determination unit 61 classifies the sub-block indicated by the sub-block position information # 241a into one of a plurality of predetermined groups, and sets the group information # 61 indicating the classification result to the switch unit 62. Output. Note that the group determination unit 61 may classify each sub-block into one of a plurality of predetermined groups using the same classification method as that used in the group determination unit 51.

スイッチ部62は、グループ情報#61に基づいて、サブブロック位置情報#241aが示すサブブロックに関する予測パラメータ#242を、第1予測パラメータ符号化部63、または、第2予測パラメータ符号化部65のうち、何れかのパラメータ符号化部に伝達する。   Based on the group information # 61, the switch unit 62 sets the prediction parameter # 242 related to the subblock indicated by the subblock position information # 241a to the first prediction parameter encoding unit 63 or the second prediction parameter encoding unit 65. Of these, it is transmitted to one of the parameter encoding units.

具体的には、スイッチ部62は、グループ判定部61において、サブブロック位置情報#241aの示すサブブロックが第1のグループに分類された場合には、上記予測パラメータ#242を、第1予測パラメータ符号化部63、および、縮減セット導出部64に伝達し、グループ判定部61において、サブブロック位置情報#241aの示すサブブロックが第2のグループに分類された場合には、上記予測パラメータ#242を、第2予測パラメータ符号化部65に伝達する。   Specifically, when the group determination unit 61 classifies the subblock indicated by the subblock position information # 241a into the first group, the switch unit 62 sets the prediction parameter # 242 as the first prediction parameter. When the subblock indicated by the subblock position information # 241a is classified into the second group in the group determination unit 61, the prediction parameter # 242 is transmitted to the encoding unit 63 and the reduced set derivation unit 64. Is transmitted to the second prediction parameter encoding unit 65.

第1予測パラメータ符号化部63は、第1グループに属する各サブブロックに関する予測パラメータ#242を符号化することによって、符号化予測パラメータ#63を生成し、出力する。   The 1st prediction parameter encoding part 63 produces | generates and outputs the encoding prediction parameter # 63 by encoding prediction parameter # 242 regarding each subblock which belongs to a 1st group.

具体的には、第1予測パラメータ符号化部63は、まず、第1グループに属する各サブブロックの周辺のサブブロックに対して選択された予測パラメータを当該サブブロックに対する推定値に設定する。   Specifically, the first prediction parameter encoding unit 63 first sets the prediction parameter selected for the subblocks around each subblock belonging to the first group to the estimated value for the subblock.

続いて、第1予測パラメータ符号化部63は、当該サブブロックに対して選択された予測パラメータが、推定値と異なるか否かを示すフラグを符号化し、さらに、当該サブブロックに対して選択された予測パラメータが推定値と異なる場合には、当該予測パラメータを符号化する。   Subsequently, the first prediction parameter encoding unit 63 encodes a flag indicating whether or not the prediction parameter selected for the subblock is different from the estimated value, and is further selected for the subblock. If the predicted parameter is different from the estimated value, the predicted parameter is encoded.

ここで、各サブブロックの予測パラメータが基本パラメータセットから選択されている場合には、予測パラメータは、フラグを含めて1ビットまたは4ビットの符号によって表現することができる。   Here, when the prediction parameter of each sub-block is selected from the basic parameter set, the prediction parameter can be expressed by a 1-bit or 4-bit code including a flag.

上記のように、推定値を用いた符号化を行うことによって、第1グループに属する各サブブロックに関する予測パラメータ#242を符号化する際の圧縮率を高めることができる。   As described above, by performing the encoding using the estimated value, it is possible to increase the compression rate when encoding the prediction parameter # 242 regarding each sub-block belonging to the first group.

なお、第1予測パラメータ符号化部63は、第1グループに属する各サブブロックに関する予測パラメータ#242をそのまま符号化するような構成としてもよい。   The first prediction parameter encoding unit 63 may be configured to encode the prediction parameter # 242 regarding each subblock belonging to the first group as it is.

縮減セット導出部64は、第1グループに属するサブブロックに関する予測パラメータ#242を用いて、縮減セットRSを生成する。縮減セット導出部64における縮減セットRSの生成方法は、すでに説明した縮減セット導出部44における縮減セットRSの生成方法と同様であるので、ここでは説明を省略する。   The reduced set derivation unit 64 generates a reduced set RS using the prediction parameter # 242 related to the sub-blocks belonging to the first group. The generation method of the reduced set RS in the reduced set derivation unit 64 is the same as the generation method of the reduced set RS in the reduced set derivation unit 44 described above, and thus the description thereof is omitted here.

第2予測パラメータ符号化部65は、縮減セットRSに含まれる予測パラメータ、すなわち、第2グループに属する各サブブロックに対して選択された予測パラメータを符号化することによって、符号化予測パラメータ#65を生成し、出力する。   The second prediction parameter encoding unit 65 encodes a prediction parameter included in the reduced set RS, that is, a prediction parameter selected for each sub-block belonging to the second group, thereby encoding encoded parameter # 65. Is generated and output.

具体的には、第2予測パラメータ符号化部65は、まず、第2グループに属する各サブブロックの周辺のサブブロックに対して選択された予測パラメータを当該サブブロックに対する推定値に設定する。   Specifically, the second prediction parameter encoding unit 65 first sets the prediction parameter selected for the subblocks around each subblock belonging to the second group to the estimated value for the subblock.

縮減セットRSに含まれる予測パラメータ数Nrsが1である場合には、何も符号化せずに第2予測パラメータの符号化処理を終了する。   When the number of prediction parameters Nrs included in the reduced set RS is 1, the encoding process of the second prediction parameter is terminated without encoding anything.

続いて、第2予測パラメータ符号化部65は、当該サブブロックに対して選択された予測パラメータが、推定値と異なるか否かを示すフラグを符号化し、さらに、当該サブブロックに対して選択された予測パラメータが、推定値と異なる場合には、当該予測パラメータを符号化する。   Subsequently, the second prediction parameter encoding unit 65 encodes a flag indicating whether or not the prediction parameter selected for the subblock is different from the estimated value, and further selects the flag for the subblock. If the predicted parameter is different from the estimated value, the predicted parameter is encoded.

ここで、Nrsが2である場合には、第2予測パラメータの符号化処理を終了する。   Here, when Nrs is 2, the encoding process of the second prediction parameter ends.

それ以外の場合には、縮減セットに含まれている予測パラメータは、ceil(log2(Nrs−1))ビットの符号によって表現することができる。   In other cases, the prediction parameter included in the reduced set can be expressed by a code of ceil (log2 (Nrs-1)) bits.

また、縮減セットRSに含まれている予測パラメータの数Nrsは、一般に、第1グループに対して選択可能な予測パラメータの数よりも少ない。   Also, the number Nrs of prediction parameters included in the reduced set RS is generally smaller than the number of prediction parameters that can be selected for the first group.

したがって、縮減セットRSを用いることによって、第2グループに属する各サブブロックに対して選択された予測パラメータを、より少ない符号量で符号化することができる。   Therefore, by using the reduced set RS, the prediction parameter selected for each sub-block belonging to the second group can be encoded with a smaller code amount.

また、上記のように、推定値を用いた符号化を行うことによって、第2グループに属する各サブブロックに関する予測パラメータ#242を符号化する際の圧縮率を高めることができる。   Further, as described above, by performing the encoding using the estimated value, it is possible to increase the compression rate when encoding the prediction parameter # 242 regarding each sub-block belonging to the second group.

なお、第2予測パラメータ符号化部65は、第2グループに属する各サブブロックに対して選択された予測パラメータをそのまま符号化するような構成としてもよい。   Note that the second prediction parameter encoding unit 65 may be configured to encode the prediction parameters selected for each sub-block belonging to the second group as they are.

<動画像符号化装置に関する付記事項>
以上、本発明に係る動画像符号化装置2について説明を行ったが、本発明は、以上の構成に限定されるものではない。
<Additional Notes on Video Encoding Device>
The video encoding device 2 according to the present invention has been described above, but the present invention is not limited to the above configuration.

(付記事項1’)
例えば、第2予測パラメータ決定部55は、予測パラメータのマクロブロック内での空間相関の大小に応じて、縮減セットRSを利用するか否かを判定し、空間相関が小さい場合には、縮減セットRSを利用せずに予測パラメータ#55を決定するような構成としてもよい。また、動画像符号化装置2は、第2予測パラメータ決定部55が縮減セットRSを利用せずに予測パラメータ#55を決定する場合には、縮減セットRSを利用しないことと示すフラグを符号化し、動画像復号装置に伝達するような構成とすることが好ましい。
(Appendix 1 ')
For example, the second prediction parameter determination unit 55 determines whether or not to use the reduced set RS according to the magnitude of the spatial correlation in the macroblock of the prediction parameter, and when the spatial correlation is small, the reduced set It is good also as a structure which determines prediction parameter # 55, without utilizing RS. In addition, when the second prediction parameter determination unit 55 determines the prediction parameter # 55 without using the reduced set RS, the moving image encoding device 2 encodes a flag indicating that the reduced set RS is not used. It is preferable to adopt a configuration for transmitting to the video decoding device.

このような構成とすることによって、予測パラメータの空間相関が小さい場合には、縮減セットRSを用いずに予測パラメータ#55を決定することができるので、予測パラメータを決定するための処理量を抑えることができる。   By adopting such a configuration, when the spatial correlation of the prediction parameter is small, the prediction parameter # 55 can be determined without using the reduced set RS, so that the processing amount for determining the prediction parameter is suppressed. be able to.

(付記事項2’)
また、第2予測パラメータ決定部55は、マクロブロックに含まれるサブブロックの数に応じて、予測パラメータ#55を決定する際に縮減セットRSを利用するか否かを切り替えるような構成としてもよい。
(Appendix 2 ')
The second prediction parameter determination unit 55 may be configured to switch whether to use the reduced set RS when determining the prediction parameter # 55 according to the number of subblocks included in the macroblock. .

より具体的には、マクロブロックに含まれるサブブロックの数が16個以上である場合には、縮減セットRSを用いて予測パラメータ#55を決定し、マクロブロックに含まれるサブブロックの数が16個未満である場合には、縮減セットRSに代えて、基本パラメータセットを用いて予測パラメータ#45を決定するような構成としてもよい。   More specifically, when the number of subblocks included in the macroblock is 16 or more, the prediction parameter # 55 is determined using the reduced set RS, and the number of subblocks included in the macroblock is 16. When the number is less than the number, the prediction parameter # 45 may be determined using the basic parameter set instead of the reduced set RS.

このような構成とすることによって、予測パラメータの空間相関が小さい場合に、縮減セットRSを用いずに予測パラメータ#55を決定することができるので、予測パラメータを決定するための処理量を抑えることができる。   By adopting such a configuration, when the spatial correlation of the prediction parameter is small, the prediction parameter # 55 can be determined without using the reduced set RS, so that the processing amount for determining the prediction parameter is suppressed. Can do.

(付記事項3’)
また、予測パラメータ決定部242は、マクロブロック内の画像の特性に応じて、基本パラメータセットとして、図16(a)に示すような、水平方向を重視したパラメータセット、または、図16(b)に示すような、垂直方向を重視したパラメータセットを用いるような構成としてもよい。
(Appendix 3 ')
Further, the prediction parameter determination unit 242 sets a basic parameter set as shown in FIG. 16A as a basic parameter set according to the characteristics of the image in the macroblock, or FIG. 16B. It is also possible to use a parameter set that emphasizes the vertical direction as shown in FIG.

例えば、予測パラメータ決定部242は、マクロブロック内に水平方向のエッジが存在するような場合には、基本パラメータセットとして、図16(a)に示すような、水平方向を重視したパラメータセットを用い、マクロブロック内に垂直方向のエッジが存在するような場合には、基本パラメータセットとして、図16(b)に示すような、垂直方向を重視したパラメータセットを用いるような構成とすることが可能である。   For example, the prediction parameter determination unit 242 uses a parameter set that emphasizes the horizontal direction as shown in FIG. 16A as the basic parameter set when there is a horizontal edge in the macroblock. When there is an edge in the vertical direction in the macroblock, it is possible to use a parameter set that emphasizes the vertical direction as shown in FIG. 16B as the basic parameter set. It is.

また、複数の基本パラメータセットを選択的に用いる場合であって、図16(a)または(b)に示すパラメータセットが基本パラメータセットに選択された場合には、第2予測パラメータ決定部55は、縮減セットRSを用いて予測パラメータ#55を決定し、図5に示すパラメータセットが基本パラメータセットに選択された場合には、第2予測パラメータ決定部55は、縮減セットRSに代えて、当該基本パラメータセットを用いて予測パラメータ#55を復号するような構成としてもよい。   In addition, when a plurality of basic parameter sets are selectively used and the parameter set shown in FIG. 16A or 16B is selected as the basic parameter set, the second prediction parameter determining unit 55 When the prediction parameter # 55 is determined using the reduced set RS and the parameter set shown in FIG. 5 is selected as the basic parameter set, the second prediction parameter determining unit 55 replaces the reduced set RS with The prediction parameter # 55 may be decoded using the basic parameter set.

このような構成とすることによって、マクロブロック内の画像の特性に応じて、縮減セットRSを利用することができるので、予測パラメータの符号量を効果的に削減することができる。   With such a configuration, the reduced set RS can be used according to the characteristics of the image in the macroblock, so that the code amount of the prediction parameter can be effectively reduced.

(符号化データ#1のデータ構造)
以下では、動画像符号化装置2によって生成される符号化データ#1のデータ構造について図15を参照して説明する。
(Data structure of encoded data # 1)
Hereinafter, the data structure of the encoded data # 1 generated by the video encoding device 2 will be described with reference to FIG.

図15は、符号化データ#1のマクロブロック毎のビットストリーム#MBSのビットストリーム構造を示す図である。図15に示すように、ビットストリーム#MBSは、マクロブロックに含まれるサブブロックSB1〜SBN(ここで、Nは、マクロブロックにおけるサブブロックの数)に関する情報であるサブブロック情報#SB1〜#SBN(ここで、Nは、マクロブロックにおけるサブブロックの数)を含んでいる。   FIG. 15 is a diagram illustrating a bit stream structure of bit stream #MBS for each macroblock of encoded data # 1. As shown in FIG. 15, the bitstream #MBS is subblock information # SB1 to #SBN that is information about subblocks SB1 to SBN (where N is the number of subblocks in the macroblock) included in the macroblock. (Where N is the number of sub-blocks in the macroblock).

また、図15に示すように、各サブブロック情報#SBn(1≦n≦N)は、マクロブロックにおけるサブブロックSBnの位置を示す情報であるサブブロック位置情報#Lnと、サブブロックSBnに対応付けられた予測パラメータを示す予測パラメータ情報#Pnとを含んでいる。   Further, as shown in FIG. 15, each sub-block information #SBn (1 ≦ n ≦ N) corresponds to sub-block position information #Ln, which is information indicating the position of sub-block SBn in the macroblock, and sub-block SBn. And prediction parameter information #Pn indicating the attached prediction parameter.

サブブロック位置情報#Lnは、符号化データ#1を復号する動画像復号装置において、マクロブロックにおけるサブブロックSBnの位置を特定するために参照される情報である。特に、上述した動画像復号装置1においては、サブブロック位置情報#Lnは、サブブロックSBnをグループに分類するために参照される情報である。   The sub-block position information #Ln is information that is referred to in order to identify the position of the sub-block SBn in the macroblock in the video decoding device that decodes the encoded data # 1. In particular, in the video decoding device 1 described above, the sub-block position information #Ln is information that is referred to in order to classify the sub-blocks SBn into groups.

予測パラメータ情報#Pnは、符号化データ#1を復号する動画像復号装置において、サブブロックSBnに対応付けられた予測パラメータを特定するための情報である。特に、上述した動画像復号装置1においては、予測パラメータ情報#Pnは、サブブロックSBnが属するグループに対して選択可能な予測パラメータのうち何れかの予測パラメータを示す情報である。   Prediction parameter information #Pn is information for specifying a prediction parameter associated with sub-block SBn in a video decoding device that decodes encoded data # 1. In particular, in the video decoding device 1 described above, the prediction parameter information #Pn is information indicating one of the prediction parameters that can be selected for the group to which the sub-block SBn belongs.

例えば、サブブロックSBnが、第1のグループに属する場合であって、第1グループに対して選択可能な予測パラメータから構成される予測パラメータセットが基本パラメータセットである場合には、予測パラメータ情報#Pnは、基本パラメータセットに含まれる予測モード0〜8のうち何れかの予測モードを示す情報である。   For example, when the sub-block SBn belongs to the first group and the prediction parameter set composed of prediction parameters selectable for the first group is a basic parameter set, the prediction parameter information # Pn is information indicating one of the prediction modes 0 to 8 included in the basic parameter set.

また、サブブロックSBnが、第2のグループに属する場合である場合には、予測パラメータ情報#Pnは、縮減セットRSに含まれる予測パラメータのうち何れかの予測パラメータを示す情報である。   Further, when the sub-block SBn belongs to the second group, the prediction parameter information #Pn is information indicating any prediction parameter among the prediction parameters included in the reduced set RS.

また、符号化データ#1が、推定値と同じであるか否かを示すフラグと共に予測モードを符号化することによって生成されたデータである場合には、予測パラメータ情報#Pnは、ceil(log2(N−1))ビットの符号によって表現される。ここで、Nは、サブブロックSBnが属するグループに対して選択可能な予測パラメータの数である。   When the encoded data # 1 is data generated by encoding a prediction mode together with a flag indicating whether or not the estimated value is the same as the estimated value, the prediction parameter information #Pn is ceil (log2 (N-1)) represented by a bit sign. Here, N is the number of prediction parameters that can be selected for the group to which the sub-block SBn belongs.

一般に、縮減セットRSに含まれる予測パラメータの数は、第1グループに対して選択可能な予測パラメータの数よりも少ない。したがって、符号化データ#1に含まれる予測パラメータの符号量は、縮減セットRSを用いない場合に比べて、少ない。   In general, the number of prediction parameters included in the reduced set RS is smaller than the number of prediction parameters that can be selected for the first group. Therefore, the code amount of the prediction parameter included in the encoded data # 1 is small compared to the case where the reduced set RS is not used.

具体的には、符号化データ#1が、推定値と同じであるか否かを示すフラグと共に予測モードを符号化することによって生成されたデータである場合には、予測パラメータ情報#Pnの符号量は、縮減セットRSを用いない場合に比べて、ceil(log2(Nfs−1))−ceil(log2(Nrs−1))ビット少ない。ここで、Nfsは、第1グループに属する各サブブロックに対して選択可能な予測パラメータの数であり、Nrsは、縮減セットRSに含まれる予測パラメータの数である。   Specifically, when the encoded data # 1 is data generated by encoding the prediction mode together with a flag indicating whether or not the estimated value is the same as the estimated value, the code of the prediction parameter information #Pn The amount is less ceil (log2 (Nfs-1))-ceil (log2 (Nrs-1)) bits than when the reduced set RS is not used. Here, Nfs is the number of prediction parameters that can be selected for each sub-block belonging to the first group, and Nrs is the number of prediction parameters included in the reduced set RS.

このように、縮減セットRSを用いることによって、符号化データ#1の符号量を削減することができる。   Thus, the code amount of the encoded data # 1 can be reduced by using the reduced set RS.

なお、符号化データ#1にサブブロック位置情報#Lnは含まなくてもよい。例えば、符号化時と復号時に共通のサブブロックスキャン順をあらかじめ設定しておけば、符号化データ#1中の何番目のサブブロックかという情報に基づいて、サブブロック位置を決定できる。   The encoded data # 1 may not include the sub-block position information #Ln. For example, if a common sub-block scan order is set in advance at the time of encoding and decoding, the position of the sub-block can be determined based on information about what number of sub-blocks in the encoded data # 1.

<他の予測パラメータへの適用例>
以上の説明においては、予測パラメータとして、主にイントラ予測における予測モードを例にとり説明を行ったが、本発明はこれに限定されるものではなく、一般に、動画像の符号化処理/復号化処理において予測画像を生成する際に用いられる他のパラメータに対しても適用することができる。
<Application example to other prediction parameters>
In the above description, description has been given mainly using the prediction mode in intra prediction as an example of the prediction parameter. However, the present invention is not limited to this, and in general, encoding / decoding processing of moving images The present invention can also be applied to other parameters used when generating a predicted image.

以下では、予測パラメータが動き補償予測における動きベクトルである場合への適用例、および、予測パラメータが輝度補償予測における重み係数である場合への適用例について説明する。   Hereinafter, an application example when the prediction parameter is a motion vector in motion compensation prediction and an application example when the prediction parameter is a weight coefficient in luminance compensation prediction will be described.

(動きベクトルへの適用例)
動き補償予測においては、予測対象サブブロックの予測に用いる復号済画像上の領域の位置が、動きベクトルと呼ばれる予測パラメータを用いて表現される。
(Application example to motion vectors)
In motion compensation prediction, the position of a region on a decoded image used for prediction of a prediction target sub-block is expressed using a prediction parameter called a motion vector.

動きベクトルは、要素の数が画像サイズおよび精度(補間精度)に依存する予測パラメータセットの中から選択される。例えば、画像の幅(横方向の画素数)がW、高さ(縦方向の画素数)がH、補間精度が0.25画素である場合には、動きベクトルVは、次式によって定義される予測パラメータセットSから選択される。   The motion vector is selected from a prediction parameter set whose number of elements depends on the image size and accuracy (interpolation accuracy). For example, when the image width (the number of pixels in the horizontal direction) is W, the height (the number of pixels in the vertical direction) is H, and the interpolation accuracy is 0.25 pixels, the motion vector V is defined by the following equation: Prediction parameter set S.

S≡{V|V=((N/4),(M/4))
ここで、N、Mは、0≦N<4W、0≦M<4Hを満たす整数である。
S≡ {V | V = ((N / 4), (M / 4))
Here, N and M are integers satisfying 0 ≦ N <4W and 0 ≦ M <4H.

予測パラメータがこのような動きベクトルである場合には、第1予測パラメータ決定部53は、例えば、第1グループに属するサブブロック毎に動きベクトルを決定し、割り付ければよい。また、第1予測パラメータ復号部43は、第1グループに属するサブブロック毎に動きベクトルを復号することができる。   If the prediction parameter is such a motion vector, the first prediction parameter determination unit 53 may determine and assign a motion vector for each sub-block belonging to the first group, for example. Further, the first prediction parameter decoding unit 43 can decode a motion vector for each sub-block belonging to the first group.

縮減セット導出部44、54は、第1グループに属する各サブブロックに割り付けられた動きベクトルから縮減セットRSを生成することができる。また、縮減セット導出部44、54は、すでに述べたように、予測対象サブブロックの周辺のサブブロックに割り付けられた動きベクトルから縮減セットRSを生成するようにしてもよい。   The reduced set derivation units 44 and 54 can generate a reduced set RS from the motion vectors allocated to the sub-blocks belonging to the first group. Further, as already described, the reduced set deriving units 44 and 54 may generate the reduced set RS from the motion vectors assigned to the subblocks around the prediction target subblock.

動画像復号装置1、および、動画像符号化装置2の備える他の各部についても、予測パラメータが予測モードである場合と同様の動作を行うことによって、符号化データ#1に含まれる予測パラメータの符号量を削減することができる。   With respect to the other units included in the video decoding device 1 and the video encoding device 2, the same operation as when the prediction parameter is in the prediction mode is performed, so that the prediction parameter included in the encoded data # 1 The amount of codes can be reduced.

なお、予測パラメータが動きベクトルである場合には、縮減セット導出部44、54は、例えば、予測対象サブブロックの周辺のサブブロックに割り付けられた動きベクトルとの差分ベクトルのノルムが一定値以下となるような動きベクトルを縮減セットRSに追加するような構成としてもよい。   When the prediction parameter is a motion vector, the reduced set derivation units 44 and 54, for example, set the norm of the difference vector from the motion vector allocated to the subblocks around the prediction target subblock to be equal to or less than a certain value. Such a motion vector may be added to the reduced set RS.

一般に、予測パラメータが動きベクトルである場合には、予測パラメータセットは多数の予測ベクトルを含む。例えば、上記予測パラメータセットSに含まれる動きベクトルの数は、W=2000、H=1000すると、8000×4000である。   In general, when the prediction parameter is a motion vector, the prediction parameter set includes a large number of prediction vectors. For example, the number of motion vectors included in the prediction parameter set S is 8000 × 4000 when W = 2000 and H = 1000.

一方で、縮減セットRSに蓄積される動きベクトルの数は、第1グループに属するサブブロックの数、または、予測対象サブブロックの周辺のサブブロックの数が上限となる。例えば、図8の(b)に示した近傍サブブロック領域NSRに含まれるサブブロックを用いたとしても、縮減セットRSに蓄積される動きベクトルの数は、高々24である。   On the other hand, the number of motion vectors stored in the reduced set RS is limited to the number of subblocks belonging to the first group or the number of subblocks around the prediction target subblock. For example, even when subblocks included in the neighboring subblock region NSR shown in FIG. 8B are used, the number of motion vectors stored in the reduced set RS is at most 24.

したがって、符号化/復号化対象の画像の特性如何によっては、予測対象サブブロックの周辺のサブブロックに割り付けられた動きベクトルのみから縮減セットRSを生成したとしても、縮減セットRSには、十分な数の動きベクトルが蓄積されないため、予測精度が低下し、残差データの符号量が増大する可能性がある。予測対象サブブロックの周辺のサブブロックに割り付けられた動きベクトルとの差分ベクトルのノルムが一定値以下となるような動きベクトルを縮減セットRSに追加することによって、残差データの符号量を増大させることなく、予測パラメータの符号量を削減することができる。   Therefore, depending on the characteristics of the image to be encoded / decoded, even if the reduced set RS is generated only from the motion vectors assigned to the subblocks around the prediction target subblock, the reduced set RS is sufficient. Since a number of motion vectors are not accumulated, the prediction accuracy may be reduced and the code amount of residual data may be increased. The code amount of the residual data is increased by adding to the reduced set RS a motion vector such that the norm of the difference vector with respect to the motion vector assigned to the sub-blocks around the prediction target sub-block is equal to or less than a certain value. Therefore, it is possible to reduce the code amount of the prediction parameter.

(輝度補償予測における重み係数への適用例)
輝度補償予測においては、予測対象サブブロックが動き補償予測のために参照する複数の参照ピクチャの輝度の各々に重み係数を乗じた値を用いて、当該予測対象サブブロックの輝度を予測する。
(Application example to weighting coefficient in luminance compensation prediction)
In luminance compensation prediction, the luminance of a prediction target sub-block is predicted using a value obtained by multiplying the luminance of each of a plurality of reference pictures referenced by the prediction target sub-block for motion compensation prediction by a weighting coefficient.

本発明は、予測パラメータを上記重み係数とする場合に対しても適用することができる。例えば、縮減セット導出部44、54は、予測対象サブブロックの周辺のサブブロックに割り付けられた重み係数から縮減セットRSを生成する構成とすればよい。   The present invention can also be applied to the case where the prediction parameter is the weighting factor. For example, the reduced set derivation units 44 and 54 may be configured to generate the reduced set RS from the weighting factors assigned to the subblocks around the prediction target subblock.

なお、重み係数に対して本発明を適用する場合には、重み係数がとる各々の値を、予め総数の定められた複数の代表値へ対応付け、当該代表値を、予測パラメータとして用いるような構成としてもよい。   When the present invention is applied to the weighting factor, each value taken by the weighting factor is associated with a plurality of representative values whose total number is determined in advance, and the representative value is used as a prediction parameter. It is good also as a structure.

例えば、重み係数の値Wが、0≦W≦1を満たす全ての実数値(または、既定の桁数の値)をとりうるような場合には、(n/X)≦Wn≦((n+1)/X)を満たす全ての重み係数の値Wnを代表値wに対応付け、代表値wを予測パラメータとして用いるような構成としてもよい。ここでXは自然数、nは0≦n≦X−1を満たす整数である。このような対応付けを行うことによって、0≦W≦1を満たす全ての実数値を、総数がXである代表値Wnのセットにマップすることができる。また、Xの具体的な値は、例えば、符号化データの符号量がより小さくなるように設定すればよい。   For example, when the value W of the weighting factor can take all real values (or values with a predetermined number of digits) satisfying 0 ≦ W ≦ 1, (n / X) ≦ Wn ≦ ((n + 1) ) / X) all weight coefficient values Wn may be associated with the representative value w, and the representative value w may be used as a prediction parameter. Here, X is a natural number, and n is an integer that satisfies 0 ≦ n ≦ X−1. By performing such association, all real values satisfying 0 ≦ W ≦ 1 can be mapped to a set of representative values Wn whose total number is X. Moreover, what is necessary is just to set the specific value of X so that the code amount of coding data may become smaller, for example.

このように、予測パラメータとして用いられる要素の数を予め定められた数に制限することによって、重み係数を直接予測パラメータとして用いる場合に比べて、符号化データの符号量を削減することができる。   As described above, by limiting the number of elements used as the prediction parameter to a predetermined number, it is possible to reduce the code amount of the encoded data as compared with the case where the weighting factor is directly used as the prediction parameter.

(付記事項)
本発明に係る画像符号化装置は、入力画像と予測画像との差を符号化する画像符号化装置において、予測画像を複数の単位領域に分割すると共に、各単位領域に含まれる複数の予測単位を第1のグループまたは第2のグループに分類する分類手段と、上記第1のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、予め定められた予測パラメータよりなる基本セットから選択する第1の選択手段と、上記第2のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなる縮減セットから選択する第2の選択手段と、上記第1のグループに属する各予測単位について、上記第1の選択手段が何れの予測パラメータを選択したか、及び、上記第2のグループに属する各予測単位について、上記第2の選択手段が何れの予測パラメータを選択したかを符号化する予測パラメータ符号化手段と、を含んでいることを特徴としている。
(Additional notes)
An image encoding device according to the present invention, in an image encoding device that encodes a difference between an input image and a predicted image, divides the predicted image into a plurality of unit regions and includes a plurality of prediction units included in each unit region. A basic set of predetermined prediction parameters, a classification means for classifying the image into a first group or a second group, and a prediction parameter for designating a prediction image generation method in each prediction unit belonging to the first group. At least a part of the prediction parameters selected by the first selection means, a first selection means for selecting a prediction parameter for specifying a prediction image generation method in each prediction unit belonging to the second group, Select from a reduced set that includes prediction parameters that are less than or equal to the number of prediction parameters included in the basic set. For each prediction unit belonging to the second selection means and the first group, which prediction parameter the first selection means has selected, and for each prediction unit belonging to the second group, And prediction parameter encoding means for encoding which prediction parameter is selected by the second selection means.

上記のように構成された画像符号化装置によれば、上記第2のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、当該第2のグループと同じ単位領域に含まれる第1のグループに属する各予測単位について上記第1の選択手段によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなる縮減セットから選択し、上記第2の選択手段が何れの予測パラメータを選択したかを符号化する。   According to the image coding apparatus configured as described above, a prediction parameter that specifies a method of generating a predicted image in each prediction unit belonging to the second group is included in the same unit region as the second group. From a prediction parameter that is a reduced set that includes at least a part of the prediction parameters selected by the first selection unit for each prediction unit belonging to the first group, and is equal to or less than the number of prediction parameters included in the basic set. The reduction set is selected, and the prediction parameter selected by the second selection unit is encoded.

ここで、各予測単位に対する予測パラメータは、一般に、当該予測単位の近傍に位置する予測単位に対する予測パラメータと相関があるため、上記第1のグループに属する各予測単位に対して選択された予測パラメータは、上記第2のグループに属する各予測単位に対しても適切な予測パラメータである可能性が高い。すなわち、上記第2のグループに属する各予測単位に対して、上記縮減セットから選択された予測パラメータが適切な予測パラメータである可能性が高い。したがって、上記の構成によれば、符号化効率を低減させることなく、予測パラメータの符号化を行うことができる。   Here, since the prediction parameter for each prediction unit is generally correlated with the prediction parameter for the prediction unit located in the vicinity of the prediction unit, the prediction parameter selected for each prediction unit belonging to the first group. Is likely to be an appropriate prediction parameter for each prediction unit belonging to the second group. That is, for each prediction unit belonging to the second group, there is a high possibility that the prediction parameter selected from the reduced set is an appropriate prediction parameter. Therefore, according to the above configuration, the prediction parameter can be encoded without reducing the encoding efficiency.

また、上記の構成においては、上記縮減セットは、上記第1の選択手段によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなるセットであるため、上記第2のグループに属する各予測単位について、何れの予測パラメータが選択されたのかを示す情報の符号量を削減することができる。   In the above configuration, the reduced set is a reduced set including at least a part of the prediction parameters selected by the first selection unit, and is equal to or less than the number of prediction parameters included in the basic set. Since the set includes prediction parameters, it is possible to reduce the code amount of information indicating which prediction parameter is selected for each prediction unit belonging to the second group.

したがって、上記の構成によれば、符号化効率を犠牲にすることなく、予測パラメータを指定するための符号量を削減することができる。   Therefore, according to the above configuration, it is possible to reduce the code amount for designating the prediction parameter without sacrificing the coding efficiency.

また、上記縮減セットは、上記第1の選択手段によって選択された予測パラメータであって、互いに異なる全ての予測パラメータのみを含む、ことが好ましい。   In addition, it is preferable that the reduced set includes only all prediction parameters that are prediction parameters selected by the first selection unit and that are different from each other.

上記構成によれば、縮減セットに含まれる予測パラメータの数を、より少なくできるため、符号量をより削減することができる。より詳細に説明すると、一般的に予測パラメータには空間的な相関があるため、特定の領域内の各予測単位に対し最適な予測パラメータの分布には偏りが生じる。そのため、特定の領域内では、基本セットに含まれる多様な予測パラメータの一部のみが利用される確率が高い。したがって、特定の領域内で第1の選択手段により選択された予測パラメータの集合は、基本セットに含まれる予測パラメータの集合よりも要素数が少ない場合が多い。それゆえに、第1の選択手段によって選択された、重複しない全ての予測パラメータの集合を縮減セットとすることで、縮減セットの要素数を少なくすることができる。   According to the above configuration, since the number of prediction parameters included in the reduced set can be reduced, the amount of codes can be further reduced. More specifically, since the prediction parameters generally have a spatial correlation, there is a bias in the optimal prediction parameter distribution for each prediction unit in a specific region. Therefore, there is a high probability that only a part of various prediction parameters included in the basic set is used in a specific region. Therefore, the set of prediction parameters selected by the first selection means in a specific region often has fewer elements than the set of prediction parameters included in the basic set. Therefore, the set of all non-overlapping prediction parameters selected by the first selection unit is set as a reduced set, so that the number of elements of the reduced set can be reduced.

また、上記複数の単位領域の各々は、当該画像符号化装置における符号化単位である、ことが好ましい。   Each of the plurality of unit areas is preferably a coding unit in the image coding apparatus.

上記構成によれば、上記縮減セットの生成処理を、符号化単位(例えば、H.264/MPEG−4 AVC規格におけるマクロブロック)毎に一度だけ実行すればよいため、縮減セット生成のための処理量を削減することができる。   According to the above configuration, the reduced set generation process needs to be executed only once for each coding unit (for example, a macroblock in the H.264 / MPEG-4 AVC standard). The amount can be reduced.

また、本発明に係る画像符号化装置においては、上記第1のグループに属する予測単位と上記第2のグループに属する予測単位とが市松模様状(チェッカーボード状)に配置されている、ことが好ましい。   In the image coding device according to the present invention, the prediction units belonging to the first group and the prediction units belonging to the second group are arranged in a checkered pattern (checkerboard shape). preferable.

一般に、各予測単位における予測パラメータは、近傍の予測単位における予測パラメータと相関がある。   In general, a prediction parameter in each prediction unit has a correlation with a prediction parameter in a neighboring prediction unit.

上記の構成によれば、上記第1のグループに属する予測単位と上記第2のグループに属する予測単位とが市松模様状(チェッカーボード状)に配置されているため、上記第1のグループに属する各予測単位について選択された予測パラメータは、上記第2のグループに属する各予測単位についても、適切な予測パラメータである可能性が高い。   According to said structure, since the prediction unit which belongs to the said 1st group and the prediction unit which belongs to the said 2nd group are arrange | positioned in checkered pattern shape (checkerboard shape), it belongs to the said 1st group. The prediction parameter selected for each prediction unit is likely to be an appropriate prediction parameter for each prediction unit belonging to the second group.

したがって、上記の構成によれば、符号化効率を犠牲にすることなく、予測パラメータの符号化に必要な符号量を削減することができる。   Therefore, according to the above configuration, it is possible to reduce the amount of code necessary for encoding the prediction parameter without sacrificing the encoding efficiency.

また、上記予測パラメータは、イントラ予測における予測モードを指定するものであってもよい。   The prediction parameter may specify a prediction mode in intra prediction.

上記の構成によれば、符号化効率を犠牲にすることなく、イントラ予測における予測モードの符号化に必要な符号量を削減することができる。   According to said structure, the code amount required for the encoding of the prediction mode in intra prediction can be reduced, without sacrificing encoding efficiency.

また、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、イントラ予測における垂直方向予測モード、水平方向予測モード、および、DC予測モードの少なくとも何れか1を含む縮減セットから選択する、ことが好ましい。   In addition, the second selection unit is a reduced set including a prediction parameter that defines a method for generating a prediction image on a prediction unit belonging to the second group, including the prediction parameter selected by the first selection unit. It is preferable to select from a reduced set including at least one of a vertical prediction mode, a horizontal prediction mode, and a DC prediction mode in intra prediction.

一般に、垂直方向予測モード、水平方法予測モード、および、DC予測モードは、イントラ予測において、選択される頻度の高い予測モードである。   In general, the vertical direction prediction mode, the horizontal method prediction mode, and the DC prediction mode are frequently selected prediction modes in intra prediction.

上記の構成によれば、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、イントラ予測における垂直方向予測モード、水平方向予測モード、および、DC予測モードの少なくとも何れか1を含む縮減セットから選択することができるので、上記第2のグループに属する予測単位上の予測画像を生成する際の予測精度を低減させることなく、符号量を削減することができる。   According to said structure, the said 2nd selection means uses the prediction parameter which selected the prediction parameter which prescribes | regulates the production | generation method of the prediction image on the prediction unit which belongs to the said 2nd group by the said 1st selection means. Can be selected from a reduced set including at least one of a vertical prediction mode, a horizontal prediction mode, and a DC prediction mode in intra prediction, and belongs to the second group. The code amount can be reduced without reducing the prediction accuracy when generating a prediction image on the prediction unit.

また、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域内の予測単位数が予め定められた閾値以上の場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択する、構成としてもよい。   The second selection means selects a prediction parameter from the reduced set when the number of prediction units in a unit region including the first group and the second group is equal to or greater than a predetermined threshold. If not, the prediction parameter may be selected from the basic set.

上記の構成によれば、単位領域内の予測単位数が、所定の値未満の場合には、上記基本セットから予測パラメータを選択することができるので、予測パラメータを選択するための処理量を削減することができる。   According to the above configuration, since the prediction parameter can be selected from the basic set when the number of prediction units in the unit area is less than a predetermined value, the processing amount for selecting the prediction parameter is reduced. can do.

本発明に係る画像符号化装置においては、上記基本セットが単位領域毎に設定可能であり、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域に対して設定された基本セットが特定の条件を満たす場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択する、構成としてもよい。   In the image encoding device according to the present invention, the basic set can be set for each unit region, and the second selection unit is configured to apply to the unit region including the first group and the second group. If the basic set set in this way satisfies a specific condition, a prediction parameter may be selected from the reduced set, and if not, a prediction parameter may be selected from the basic set.

上記の構成によれば、上記基本セットが単位領域毎に設定可能であり、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域に対して設定された基本セットが特定の条件を満たす場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択することができるので、予測パラメータを選択するための処理量を削減しつつ、符号量を削減することができる。   According to the above configuration, the basic set can be set for each unit area, and the second selection unit is set for a unit area including the first group and the second group. When the basic set satisfies a specific condition, the prediction parameter can be selected from the reduced set, and when not, the prediction parameter can be selected from the basic set. Therefore, the processing amount for selecting the prediction parameter can be reduced. The amount of codes can be reduced while reducing.

また、本発明に係る画像符号化装置は、入力画像と予測画像との差を符号化する画像符号化装置において、各予測単位における予測画像の生成方法を指定する予測パラメータを、該予測単位の近傍に位置する符号化済みの予測単位における予測画像の生成方法を指定する予測パラメータの少なくとも一部を含む縮減セットから選択する選択手段と、各予測単位について、上記選択手段が何れの予測パラメータを選択したかを符号化する予測パラメータ符号化手段と、を含んでいることを特徴とする画像符号化装置であると表現することもできる。   The image coding apparatus according to the present invention is an image coding apparatus that codes a difference between an input image and a predicted image. A prediction parameter that specifies a method for generating a predicted image in each prediction unit is set in the prediction unit. Selection means for selecting from a reduced set including at least a part of a prediction parameter for specifying a prediction image generation method in an encoded prediction unit located in the vicinity, and for each prediction unit, the selection means selects which prediction parameter. It can also be expressed as an image encoding device characterized by including a prediction parameter encoding means for encoding whether or not it is selected.

一般に、各予測単位に対する予測パラメータは、当該予測単位の近傍に位置する予測単位に対する予測パラメータと相関がある。したがって、上記縮減セットは、当該予測単位における予測画像の生成において最も予測パラメータを含む可能性が高い。また、上記縮減セットは、当該予測単位の近傍に位置する予測単位に対する予測パラメータの少なくとも一部から構成されるため、上記縮減セットに含まれる予測パラメータの数は、当該予測単位以外の予測単位に対する予測パラメータから構成されるパラメータセットに含まれる予測パラメータの数よりも少ない。   In general, a prediction parameter for each prediction unit has a correlation with a prediction parameter for a prediction unit located in the vicinity of the prediction unit. Therefore, the reduced set is most likely to include a prediction parameter in generating a prediction image in the prediction unit. In addition, since the reduced set is composed of at least a part of the prediction parameters for the prediction unit located in the vicinity of the prediction unit, the number of prediction parameters included in the reduced set is for the prediction units other than the prediction unit. The number is smaller than the number of prediction parameters included in the parameter set including the prediction parameters.

したがって、本発明に係る画像符号化装置は、上記の構成をとることによって、符号化効率を犠牲にすることなく、符号量の少ない符号化データを生成することができる。   Therefore, the image encoding apparatus according to the present invention can generate encoded data with a small code amount without sacrificing encoding efficiency by adopting the above configuration.

また、上記予測パラメータ符号化手段は、上記第2の選択手段が何れの予測パラメータを選択したかを示す符号として、上記第1の選択手段が何れの予測パラメータを選択したかを示す符号よりも符号長の短い符号を用いる、ことが好ましい。   Further, the prediction parameter encoding means has a code indicating which prediction parameter has been selected by the first selection means as a code indicating which prediction parameter has been selected by the second selection means. It is preferable to use a code with a short code length.

上記の構成によれば、上記予測パラメータ符号化手段は、上記第2の選択手段が何れの予測パラメータを選択したかを示す符号として、上記第1の選択手段が何れの予測パラメータを選択したかを示す符号よりも符号長の短い符号を用いることができるので、上記第2のグループに属する各予測単位について、何れの予測パラメータが選択されたのかを示す情報をより短い符号長の符号を用いて符号化することができる。   According to the above configuration, the prediction parameter encoding unit selects which prediction parameter the first selection unit has selected as a code indicating which prediction parameter the second selection unit has selected. Since a code having a shorter code length than the code indicating can be used, information indicating which prediction parameter is selected for each prediction unit belonging to the second group is used with a code with a shorter code length. Can be encoded.

また、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、2n+1個(nは任意の自然数)の予測パラメータよりなる縮減セットから選択する、ことが好ましい。   In addition, the second selection unit is a reduced set including a prediction parameter that defines a method for generating a prediction image on a prediction unit belonging to the second group, including the prediction parameter selected by the first selection unit. It is preferable to select from a reduced set of 2n + 1 (n is an arbitrary natural number) prediction parameters.

一般に、2n+1個(nは任意の自然数)の要素からなる要素群を符号化する場合、2n+1個以外の要素からなる要素群を符号化する場合に比べて、圧縮効率が向上する。   In general, when an element group composed of 2n + 1 elements (n is an arbitrary natural number) is encoded, the compression efficiency is improved as compared with the case where an element group composed of elements other than 2n + 1 elements is encoded.

上記の構成によれば、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、2n+1個(nは任意の自然数)の予測パラメータよりなる縮減セットから何れの予測パラメータが選択されたのかを符号化することができるので、予測パラメータを符号化する際の圧縮効率を高めることができるという更なる効果を奏する。   According to said structure, the prediction parameter which prescribes | regulates the production | generation method of the prediction image on the prediction unit which belongs to the said 2nd group is a reduction | restoration set containing the prediction parameter selected by the said 1st selection means, Since it is possible to encode which prediction parameter is selected from a reduced set of 2n + 1 (n is an arbitrary natural number) prediction parameters, it is possible to increase the compression efficiency when encoding the prediction parameters. There is a further effect.

また、本発明に係る画像復号装置は、原画像と予測画像との差を、各予測単位について、予測画像の生成方法を指定する複数の予測パラメータのうち何れの予測パラメータが選択されたのかを示す選択情報と共に符号化することによって得られた符号化データを復号する画像復号装置において、予測画像を構成する複数の単位領域の各々に含まれる複数の予測単位を第1のグループまたは第2のグループに分類する分類手段と、上記第1のグループに属する各予測単位についての選択情報を参照し、第1のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、予め定められた予測パラメータよりなる基本セットから選択する第1の選択手段と、上記第2のグループに属する各予測単位についての選択情報を参照し、第2のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなる縮減セットから選択する第2の選択手段と、を含んでいることを特徴としている。   In addition, the image decoding apparatus according to the present invention determines the difference between the original image and the predicted image, which prediction parameter is selected from among a plurality of prediction parameters that specify a predicted image generation method for each prediction unit. In an image decoding apparatus that decodes encoded data obtained by encoding together with selection information that is indicated, a plurality of prediction units included in each of a plurality of unit regions that constitute a prediction image are assigned to a first group or a second group A prediction parameter for specifying a prediction image generation method in each prediction unit belonging to the first group is determined in advance with reference to classification means for classifying into the group and selection information for each prediction unit belonging to the first group. Selection information on each prediction unit belonging to the second group, and a first selection means for selecting from a basic set of prediction parameters obtained A prediction parameter for specifying a prediction image generation method in each prediction unit belonging to the second group is a reduced set including at least a part of the prediction parameters selected by the first selection unit, And a second selection means for selecting from a reduced set of prediction parameters that are equal to or less than the number of prediction parameters included in the basic set.

上記のように構成された画像復号装置によれば、上記第2のグループに属する各予測単位における予測画像の生成方法を指定する予測パラメータを、当該第2のグループと同じ単位領域に含まれる第1のグループに属する各予測単位について上記第1の選択手段によって選択された予測パラメータの少なくとも一部を含む縮減セットであって、上記基本セットに含まれる予測パラメータの数以下である予測パラメータよりなる縮減セットから選択することができる。   According to the image decoding device configured as described above, a prediction parameter that specifies a method for generating a predicted image in each prediction unit belonging to the second group is included in the same unit region as that of the second group. A reduced set including at least a part of the prediction parameters selected by the first selection unit for each prediction unit belonging to one group, and including a prediction parameter equal to or less than the number of prediction parameters included in the basic set. You can choose from a reduced set.

ここで、各予測単位に対する予測パラメータは、一般に、当該予測単位の近傍に位置する予測単位に対する予測パラメータと相関があるため、上記第1のグループに属する各予測単位に対して選択された予測パラメータは、上記第2のグループに属する各予測単位に対しても適切な予測パラメータである可能性が高い。したがって、上記の構成によれば、符号化効率を低減させることなく、より符号量の少ない選択情報から、予測パラメータの復号を行うことができる。   Here, since the prediction parameter for each prediction unit is generally correlated with the prediction parameter for the prediction unit located in the vicinity of the prediction unit, the prediction parameter selected for each prediction unit belonging to the first group. Is likely to be an appropriate prediction parameter for each prediction unit belonging to the second group. Therefore, according to the above configuration, the prediction parameter can be decoded from the selection information with a smaller code amount without reducing the encoding efficiency.

また、上記縮減セットは、上記第1の選択手段によって選択された予測パラメータであって、互いに異なる全ての予測パラメータのみを含む、ことが好ましい。   In addition, it is preferable that the reduced set includes only all prediction parameters that are prediction parameters selected by the first selection unit and that are different from each other.

上記の構成によれば、縮減セットに含まれる予測パラメータの数をより削減できるため、符号量を更に削減することができる。   According to the above configuration, since the number of prediction parameters included in the reduced set can be further reduced, the code amount can be further reduced.

また、上記複数の単位領域の各々は、当該画像復号装置における復号単位である、ことが好ましい。   Each of the plurality of unit areas is preferably a decoding unit in the image decoding apparatus.

上記構成によれば、上記縮減セットの生成処理を、復号単位(例えば、H.264/MPEG−4 AVC規格におけるマクロブロック)毎に一度だけ実行すればよいため、縮減セット生成のための処理量を削減することができる。   According to the above configuration, the generation process of the reduced set needs to be executed only once for each decoding unit (for example, a macroblock in the H.264 / MPEG-4 AVC standard). Can be reduced.

また、本発明に係る画像復号装置においては、上記第1のグループに属する予測単位と上記第2のグループに属する予測単位とが市松模様状(チェッカーボード状)に配置されている、ことが好ましい。   In the image decoding apparatus according to the present invention, it is preferable that the prediction units belonging to the first group and the prediction units belonging to the second group are arranged in a checkered pattern (checkerboard shape). .

一般に、各予測単位における予測パラメータは、近傍の予測単位における予測パラメータと相関がある。   In general, a prediction parameter in each prediction unit has a correlation with a prediction parameter in a neighboring prediction unit.

上記の構成に対応する構成を有する画像符号化装置によれば、上記第1のグループに属する予測単位と上記第2のグループに属する予測単位とが市松模様状(チェッカーボード状)に配置されているため、上記第2のグループに属する各予測単位について、適切な予測パラメータを選択することができる。したがって、上記の構成に対応する構成を有する画像符号化装置によれば、符号化効率を犠牲にすることなく、予測パラメータの符号化に必要な符号量を削減することができる。   According to the image coding apparatus having a configuration corresponding to the above configuration, the prediction units belonging to the first group and the prediction units belonging to the second group are arranged in a checkered pattern (checkerboard shape). Therefore, an appropriate prediction parameter can be selected for each prediction unit belonging to the second group. Therefore, according to the image encoding apparatus having a configuration corresponding to the above configuration, it is possible to reduce the amount of code necessary for encoding the prediction parameter without sacrificing encoding efficiency.

上記の構成を有する画像復号装置によれば、そのように符号量が削減された符号化データを復号することができる。   According to the image decoding apparatus having the above-described configuration, it is possible to decode the encoded data with the code amount reduced as described above.

また、本発明に係る画像復号装置においては、上記予測パラメータは、イントラ予測における予測モードを指定するものであってもよい。   In the image decoding apparatus according to the present invention, the prediction parameter may specify a prediction mode in intra prediction.

上記の構成によれば、符号化効率を犠牲にすることなく、イントラ予測における予測モードの符号量の削減された符号化データを復号することができる。   According to said structure, the encoding data by which the code amount of the prediction mode in intra prediction was reduced can be decoded, without sacrificing encoding efficiency.

また、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、イントラ予測における垂直方向予測モード、水平方向予測モード、および、DC予測モードの少なくとも何れか1を含む縮減セットから選択する、ことが好ましい。   In addition, the second selection unit is a reduced set including a prediction parameter that defines a method for generating a prediction image on a prediction unit belonging to the second group, including the prediction parameter selected by the first selection unit. It is preferable to select from a reduced set including at least one of a vertical prediction mode, a horizontal prediction mode, and a DC prediction mode in intra prediction.

一般に、垂直方向予測モード、水平方法予測モード、および、DC予測モードは、イントラ予測において、選択される頻度の高い予測モードである。   In general, the vertical direction prediction mode, the horizontal method prediction mode, and the DC prediction mode are frequently selected prediction modes in intra prediction.

上記の構成に対応する構成を有する画像符号化装置によれば、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、イントラ予測における垂直方向予測モード、水平方向予測モード、および、DC予測モードの少なくとも何れか1を含む縮減セットから選択することができるので、上記第2のグループに属する予測単位上の予測画像を生成する際の予測精度を低減させることなく、符号量を削減することができる。   According to the image coding apparatus having a configuration corresponding to the above configuration, the second selection unit sets the prediction parameter that defines a method for generating a prediction image on a prediction unit belonging to the second group, to the first parameter. A reduction set including a prediction parameter selected by one selection unit, wherein the reduction set includes at least one of a vertical prediction mode, a horizontal prediction mode, and a DC prediction mode in intra prediction. Therefore, it is possible to reduce the code amount without reducing the prediction accuracy when generating the prediction image on the prediction unit belonging to the second group.

上記の構成を有する画像復号装置によれば、そのような符号量の少ない符号化データを復号することができる。   According to the image decoding apparatus having the above configuration, such encoded data with a small code amount can be decoded.

また、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域内の予測単位数が予め定められた閾値以上の場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択する、構成としてもよい。   The second selection means selects a prediction parameter from the reduced set when the number of prediction units in a unit region including the first group and the second group is equal to or greater than a predetermined threshold. If not, the prediction parameter may be selected from the basic set.

上記の構成によれば、単位領域内の予測単位数が、所定の値未満の場合には、上記基本セットから予測パラメータを選択することができるので、予測パラメータを選択するための処理量を削減することができる。   According to the above configuration, since the prediction parameter can be selected from the basic set when the number of prediction units in the unit area is less than a predetermined value, the processing amount for selecting the prediction parameter is reduced. can do.

また、本発明に係る画像復号装置においては、上記基本セットが単位領域毎に設定可能であり、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域に対して設定された基本セットが特定の条件を満たす場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択する、構成としてもよい。   In the image decoding apparatus according to the present invention, the basic set can be set for each unit area, and the second selection unit is arranged in a unit area including the first group and the second group. On the other hand, when the basic set set for the condition satisfies a specific condition, a prediction parameter may be selected from the reduced set, and otherwise, the prediction parameter may be selected from the basic set.

上記の構成によれば、上記基本セットが単位領域毎に設定可能であり、上記第2の選択手段は、上記第1のグループと上記第2のグループとを含む単位領域に対して設定された基本セットが特定の条件を満たす場合に、上記縮減セットから予測パラメータを選択し、そうでない場合に、上記基本セットから予測パラメータを選択することができるので、予測パラメータを選択するための処理量を削減しつつ、符号量の削減された符号化データを復号することができる。   According to the above configuration, the basic set can be set for each unit area, and the second selection unit is set for a unit area including the first group and the second group. When the basic set satisfies a specific condition, the prediction parameter can be selected from the reduced set, and when not, the prediction parameter can be selected from the basic set. Therefore, the processing amount for selecting the prediction parameter can be reduced. It is possible to decode encoded data with a reduced code amount while reducing the amount of code.

また、本発明に係る画像復号装置は、入力画像と予測画像との差を、各予測単位について、予測画像の生成方法を指定する複数の予測パラメータのうち何れの予測パラメータが選択されたのかを示す選択情報と共に符号化することによって得られた符号化データを復号する画像復号装置において、上記選択情報を参照し、各予測単位における予測画像の生成方法を指定する予測パラメータを、該予測単位の近傍に位置する復号済みの予測単位における予測画像の生成方法を指定する予測パラメータの少なくとも一部を含む縮減セットから選択する選択手段を含んでいる、ことを特徴とする画像復号装置であると表現することもできる。   In addition, the image decoding apparatus according to the present invention determines the difference between the input image and the predicted image, which prediction parameter is selected from among a plurality of prediction parameters that specify a predicted image generation method for each prediction unit. In an image decoding apparatus that decodes encoded data obtained by encoding together with selected selection information, a prediction parameter that specifies a method for generating a predicted image in each prediction unit with reference to the selection information, Expressed as an image decoding apparatus characterized by including selection means for selecting from a reduced set including at least a part of a prediction parameter for specifying a prediction image generation method in a decoded prediction unit located in the vicinity You can also

一般に、各予測単位に対する予測パラメータは、当該予測単位の近傍に位置する予測単位に対する予測パラメータと相関がある。したがって、上記縮減セットは、当該予測単位における予測画像の生成において最も予測パラメータを含む可能性が高い。また、上記縮減セットは、当該予測単位の近傍に位置する予測単位に対する予測パラメータの少なくとも一部から構成されるため、上記縮減セットに含まれる予測パラメータの数は、当該予測単位以外の予測単位に対する予測パラメータから構成されるパラメータセットに含まれる予測パラメータの数よりも少ない。   In general, a prediction parameter for each prediction unit has a correlation with a prediction parameter for a prediction unit located in the vicinity of the prediction unit. Therefore, the reduced set is most likely to include a prediction parameter in generating a prediction image in the prediction unit. In addition, since the reduced set is composed of at least a part of the prediction parameters for the prediction unit located in the vicinity of the prediction unit, the number of prediction parameters included in the reduced set is for the prediction units other than the prediction unit. The number is smaller than the number of prediction parameters included in the parameter set including the prediction parameters.

したがって、上記の構成に対応する構成を有する画像符号化装置は、符号化効率を犠牲にすることなく、符号量の少ない符号化データを生成することができる。   Therefore, an image encoding apparatus having a configuration corresponding to the above configuration can generate encoded data with a small code amount without sacrificing encoding efficiency.

上記の構成を有する画像復号装置は、そのような符号量の少ない符号化データを復号することができる。   The image decoding apparatus having the above configuration can decode such encoded data with a small code amount.

また、上記第2の選択手段は、上記第2のグループに属する予測単位上の予測画像の生成方法を規定する予測パラメータを、上記第1の選択手段によって選択された予測パラメータを含む縮減セットであって、2n+1個(nは任意の自然数)の予測パラメータよりなる縮減セットから選択する、ことが好ましい。   In addition, the second selection unit is a reduced set including a prediction parameter that defines a method for generating a prediction image on a prediction unit belonging to the second group, including the prediction parameter selected by the first selection unit. It is preferable to select from a reduced set of 2n + 1 (n is an arbitrary natural number) prediction parameters.

一般に、2n+1個(nは任意の自然数)の要素からなる要素群を符号化する場合、2n+1個以外の要素からなる要素群を符号化する場合に比べて、圧縮効率が向上する。   In general, when an element group composed of 2n + 1 elements (n is an arbitrary natural number) is encoded, the compression efficiency is improved as compared with the case where an element group composed of elements other than 2n + 1 elements is encoded.

上記の構成によれば、このように圧縮効率の高い符号化データを復号することができる。   According to the above configuration, encoded data with high compression efficiency can be decoded in this way.

また、本発明に係る符号化データのデータ構造は、入力画像と予測画像との差を、各予測単位について、予測画像の生成方法を指定する複数の予測パラメータのうち何れの予測パラメータが選択されたのかを示す選択情報と共に符号化することによって得られた符号化データのデータ構造であって、上記符号化データを復号する画像復号装置において、各予測単位における予測画像の生成方法を指定する予測パラメータを、該予測単位の近傍に位置する復号済みの予測単位における予測画像の生成方法を指定する予測パラメータの少なくとも一部を含む縮減セットから選択するために参照される選択情報を含んでいる、ことを特徴としている。   Also, the data structure of the encoded data according to the present invention is such that any prediction parameter is selected from among a plurality of prediction parameters that specify the difference between the input image and the prediction image and the prediction image generation method for each prediction unit. A data structure of encoded data obtained by encoding together with selection information indicating whether or not a prediction image is generated by decoding the encoded data, and specifying a prediction image generation method in each prediction unit Including selection information referred to for selecting a parameter from a reduced set including at least a part of a prediction parameter that specifies a method of generating a predicted image in a decoded prediction unit located in the vicinity of the prediction unit; It is characterized by that.

一般に、各予測単位に対する予測パラメータは、当該予測単位の近傍に位置する予測単位に対する予測パラメータと相関がある。したがって、上記縮減セットは、当該予測単位における予測画像の生成において最も予測パラメータを含む可能性が高い。また、上記縮減セットは、当該予測単位の近傍に位置する予測単位に対する予測パラメータの少なくとも一部から構成されるため、上記選択情報によって指定される予測パラメータの数は、当該予測単位以外の予測単位に対する予測パラメータから構成されるパラメータセットに含まれる予測パラメータの数よりも少ない。   In general, a prediction parameter for each prediction unit has a correlation with a prediction parameter for a prediction unit located in the vicinity of the prediction unit. Therefore, the reduced set is most likely to include a prediction parameter in generating a prediction image in the prediction unit. In addition, since the reduced set includes at least a part of prediction parameters for a prediction unit located in the vicinity of the prediction unit, the number of prediction parameters specified by the selection information is a prediction unit other than the prediction unit. Is less than the number of prediction parameters included in the parameter set made up of prediction parameters.

したがって、上記の構成を有する符号化データは、符号化効率を犠牲にすることなく、符号量の削減された符号化データである。   Therefore, the encoded data having the above-described configuration is encoded data with a reduced code amount without sacrificing encoding efficiency.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明は、画像を符号化し符号化データを生成する画像符号化装置、そのような画像符号化装置を用いて生成された符号化データを復号する画像復号装置に好適に適用することができる。   The present invention can be suitably applied to an image encoding device that encodes an image and generates encoded data, and an image decoding device that decodes encoded data generated using such an image encoding device.

1 動画像復号装置
14 MB復号部
144 予測パラメータ復号部
41 グループ判定部(分類手段)
42 スイッチ部
43 第1予測パラメータ復号部(第1の選択手段)
44 縮減セット導出部
45 第2予測パラメータ復号部(第2の選択手段)
2 動画像符号化装置
24 MB符号化部
242 予測パラメータ決定部
51 グループ判定部(分類手段)
52 スイッチ部
53 第1予測パラメータ決定部(第1の選択手段)
54 縮減セット導出部
55 第2予測パラメータ決定部(第2の選択手段)
243 予測パラメータ符号化部(予測パラメータ符号化手段)
248 予測画像生成部
1 Video decoding device 14 MB decoding unit 144 Prediction parameter decoding unit 41 Group determination unit (classification means)
42 switch unit 43 first prediction parameter decoding unit (first selection means)
44 Reduced set derivation unit 45 Second prediction parameter decoding unit (second selection means)
2 Video Encoding Device 24 MB Encoding Unit 242 Prediction Parameter Determination Unit 51 Group Determination Unit (Classification Unit)
52 switch unit 53 first prediction parameter determination unit (first selection means)
54 Reduced set derivation unit 55 Second prediction parameter determination unit (second selection means)
243 prediction parameter encoding unit (prediction parameter encoding means)
248 Predictive image generation unit

Claims (6)

入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号装置において、
各予測単位に適用する予測パラメータを復号する予測パラメータ復号手段と、
予測パラメータの集合である縮減セットを生成する縮減セット構築手段と、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、上記縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号手段とを備え、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号手段により復号される第1予測パラメータか、または、符号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号手段により復号される第2予測パラメータに基づき、上記予測パラメータ復号手段は、上記予測パラメータを復号するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号手段は、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号手段は、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの復号を省略して上記予測パラメータを復号することを特徴とする画像復号装置。
In an image decoding apparatus that decodes encoded data obtained by encoding a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit,
A prediction parameter decoding means for decoding a prediction parameter applied to each prediction unit;
A reduced set construction means for generating a reduced set that is a set of prediction parameters;
Or decodes the first prediction parameters for specifying the prediction parameters included in the basic set consisting of a predetermined prediction parameters, or, the second prediction parameters specifying the prediction parameters included in the reduction set in the reduction set Second prediction parameter decoding means for decoding from a bit string having a length determined by the number of prediction parameters included,
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
Depending on the value of the flag included in the sign-coded data or the first prediction parameters are decoded by the second prediction parameter decoding means or said second prediction parameters according to the value of the flag included in the sign-data -out based on the second prediction parameters are decoded by the decoding means, the prediction parameter decoding means is adapted to decode the prediction parameters, the prediction parameters are a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. The prediction parameter decoding means decodes the prediction parameters included in the reduced set, and the prediction parameter decoding means, when the number of prediction parameters included in the reduced set is 1, the second prediction parameter. by omitting the decoding of the data image decoding apparatus characterized by decoding the prediction parameters.
入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号方法であって、
各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号ステップと、
予測パラメータを復号する予測パラメータ復号ステップと、を含み、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号ステップで復号される第1予測パラメータか、または、符号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号ステップで復号される第2予測パラメータに基づき、上記予測パラメータ復号ステップでは、上記予測パラメータを復号するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの復号を省略して上記予測パラメータを復号することを特徴とする画像復号方法。
An image decoding method for decoding encoded data obtained by encoding a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit,
A reduced set construction step for generating a reduced set that is a set of prediction parameters applied to each prediction unit ;
A first prediction parameter that identifies a prediction parameter included in a basic set of predetermined prediction parameters is decoded, or a second prediction parameter that identifies a prediction parameter included in the reduction set is included in the reduction set. A second prediction parameter decoding step for decoding from a bit string having a length determined by the number of prediction parameters to be determined;
A prediction parameter decoding step for decoding the prediction parameter ;
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
Depending on the value of the flag included in the sign-coded data or the first prediction parameters are decoded by the second prediction parameter decoding step, or the second prediction parameters according to the value of the flag included in the sign-data based-out in the second prediction parameter decoded in decoding step, in the prediction parameter decoding step, which decodes the prediction parameters, the prediction parameters are a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. In the prediction parameter decoding step, the prediction parameter included in the reduced set is decoded. In the prediction parameter decoding step, when the number of prediction parameters included in the reduced set is 1, the second prediction parameter is decoded. image decoding method characterized by by omitting the decoding of the data decoding the prediction parameters.
入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化装置において、
各予測単位に適用する予測パラメータを符号化する予測パラメータ符号化手段と、
予測パラメータの集合である縮減セットを生成する縮減セット構築手段と、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、上記縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化手段とを備え、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
号化手段により符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化手段により符号化される第1予測パラメータか、または、符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化手段により符号化される第2予測パラメータに基づき、上記予測パラメータ符号化手段は、上記予測パラメータを符号化するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化手段は、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化手段は、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの符号化を省略して上記予測パラメータを符号化することを特徴とする画像符号化装置。
In an image encoding device that generates encoded data by encoding a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit,
Prediction parameter encoding means for encoding a prediction parameter to be applied to each prediction unit;
A reduced set construction means for generating a reduced set that is a set of prediction parameters;
Or it encodes the first prediction parameters for specifying the prediction parameters included in the basic set consisting of a predetermined prediction parameters, or, the second prediction parameters specifying the prediction parameters included in the reduction set, the reduction set A second prediction parameter encoding means for encoding from a bit string having a length determined by the number of prediction parameters included in
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
Marks Goka are in accordance with the value of the flag included in the encoded data that is encoded by means, or first prediction parameters are coded by the second prediction parameter coding means, or marks Goka is Ru code and depending on the value of the flag included in the data, based-out in the second prediction parameters encoded by the second prediction parameter coding means, said prediction parameter encoding means encodes the prediction parameters The prediction parameter is a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. The prediction parameter encoding means encodes the prediction parameter included in the reduced set, and the prediction parameter encoding means determines that the second parameter when the number of prediction parameters included in the reduced set is one . by omitting the encoding of the prediction parameter image coding apparatus characterized by coding the prediction parameters.
入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化方法において、
各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化ステップと、
予測パラメータを符号化する予測パラメータ符号化ステップと、を含み、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化ステップで符号化される第1予測パラメータか、または、符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化ステップで符号化される第2予測パラメータに基づき、上記予測パラメータ符号化ステップで、上記予測パラメータを符号化するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの符号化を省略して上記予測パラメータを符号化することを特徴とする画像符号化方法。
In an image encoding method for generating encoded data by encoding a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit,
A reduced set construction step for generating a reduced set that is a set of prediction parameters applied to each prediction unit;
A first prediction parameter that specifies a prediction parameter included in a basic set of predetermined prediction parameters is encoded, or a second prediction parameter that specifies a prediction parameter included in a reduction set is included in the reduction set. A second prediction parameter encoding step for encoding from a bit string having a length determined by the number of prediction parameters included;
A prediction parameter encoding step for encoding the prediction parameter;
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
And depending on the value of the flag included in the encoded Ru encoded data, either the first prediction parameters are encoded in the second prediction parameters coding step, or is included in mark Goka is Ru encoded data and in accordance with the value of the flag,-out based on the second prediction parameters are encoded in the second prediction parameters coding step, in the prediction parameter coding step, which encodes the prediction parameters, the The prediction parameter is a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. In the prediction parameter encoding step, the prediction parameters included in the reduced set are encoded. In the prediction parameter encoding step, when the number of prediction parameters included in the reduced set is 1, the second parameter image encoding method characterized by coding the prediction parameters are omitted encoding of the prediction parameters.
入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって得られた符号化データを復号する画像復号方法をコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体であって、
各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを復号するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から復号する第2予測パラメータ復号ステップと、
予測パラメータを復号する予測パラメータ復号ステップと、を含み、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号ステップで復号される第1予測パラメータか、または、符号化データに含まれるフラグの値に応じて上記第2予測パラメータ復号ステップで復号される第2予測パラメータに基づき、上記予測パラメータ復号ステップでは、上記予測パラメータを復号するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータを復号し、上記予測パラメータ復号ステップでは、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの復号を省略して上記予測パラメータを復号する、
ことをコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り
可能な記録媒体。
Control for causing a computer to execute an image decoding method for decoding encoded data obtained by encoding a difference between an input image and a predicted image together with a prediction parameter used to generate a predicted image for each prediction unit A computer-readable recording medium storing a program,
A reduced set construction step for generating a reduced set that is a set of prediction parameters applied to each prediction unit ;
A first prediction parameter that identifies a prediction parameter included in a basic set of predetermined prediction parameters is decoded, or a second prediction parameter that identifies a prediction parameter included in the reduction set is included in the reduction set. A second prediction parameter decoding step for decoding from a bit string having a length determined by the number of prediction parameters to be determined;
A prediction parameter decoding step for decoding the prediction parameter ;
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
Depending on the value of the flag included in the sign-coded data or the first prediction parameters are decoded by the second prediction parameter decoding step, or the second prediction parameters according to the value of the flag included in the sign-data based-out in the second prediction parameter decoded in decoding step, in the prediction parameter decoding step, which decodes the prediction parameters, the prediction parameters are a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. In the prediction parameter decoding step, the prediction parameter included in the reduced set is decoded. In the prediction parameter decoding step, when the number of prediction parameters included in the reduced set is 1, the second prediction parameter is decoded. decoding the prediction parameters omit decoding of data,
A computer-readable recording medium on which a control program for causing a computer to execute the above is recorded.
入力画像と予測画像との差を、各予測単位について、予測画像の生成に用いられる予測パラメータと共に符号化することによって符号化データを生成する画像符号化方法をコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体であって、
各予測単位に適用する予測パラメータの集合である縮減セットを生成する縮減セット構築ステップと、
予め定められた予測パラメータよりなる基本セットに含まれる予測パラメータを特定する第1予測パラメータを符号化するか、または、縮減セットに含まれる予測パラメータを特定する第2予測パラメータを、上記縮減セットに含まれる予測パラメータの数により決定する長さのビット列から符号化する第2予測パラメータ符号化ステップと、
予測パラメータを符号化する予測パラメータ符号化ステップと、を含み、
上記縮減セットは、対象予測単位に対する近傍予測単位領域に含まれる予測パラメータを少なくとも1以上含むとともに、上記縮減セットに含まれる予測パラメータ数は、上記基本セットに含まれる予測パラメータ数未満であり、
符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化ステップで符号化される第1予測パラメータか、または、符号化され符号化データに含まれるフラグの値に応じている、上記第2予測パラメータ符号化ステップで符号化される第2予測パラメータに基づき、上記予測パラメータ符号化ステップで、上記予測パラメータを符号化するものであり、上記予測パラメータは動き補償予測に用いる動きベクトルであり、
対象予測単位に対する近傍予測単位領域に含まれる少なくとも2以上の予測パラメータに、予測パラメータ間で重複する予測パラメータが存在する場合には、上記重複する予測パラメータのうちの1つを上記縮減セットに含め、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータを符号化し、上記予測パラメータ符号化ステップでは、上記縮減セットに含まれる予測パラメータ数が1である場合には、上記第2予測パラメータの符号化を省略して上記予測パラメータを符号化する
ことをコンピュータに実行させるための制御プログラムを記録したコンピュータ読み取り可能な記録媒体。
A control program for causing a computer to execute an image encoding method for generating encoded data by encoding a difference between an input image and a predicted image together with a prediction parameter used for generating a predicted image for each prediction unit A recorded computer-readable recording medium,
A reduced set construction step for generating a reduced set that is a set of prediction parameters applied to each prediction unit;
A first prediction parameter that specifies a prediction parameter included in a basic set of predetermined prediction parameters is encoded, or a second prediction parameter that specifies a prediction parameter included in a reduction set is included in the reduction set. A second prediction parameter encoding step for encoding from a bit string having a length determined by the number of prediction parameters included;
A prediction parameter encoding step for encoding the prediction parameter;
The reduction set with at least one or more prediction parameters included in the neighbor prediction unit area for the target prediction unit, the number of prediction parameters included in the reduction set is less than the number of prediction parameters included in the basic set,
And depending on the value of the flag included in the encoded Ru encoded data, either the first prediction parameters are encoded in the second prediction parameters coding step, or is included in mark Goka is Ru encoded data and in accordance with the value of the flag,-out based on the second prediction parameters are encoded in the second prediction parameters coding step, in the prediction parameter coding step, which encodes the prediction parameters, the The prediction parameter is a motion vector used for motion compensation prediction,
If at least two or more prediction parameters included in the neighborhood prediction unit region for the target prediction unit include a prediction parameter that overlaps between prediction parameters, one of the overlapping prediction parameters is included in the reduced set. In the prediction parameter encoding step, the prediction parameters included in the reduced set are encoded. In the prediction parameter encoding step, when the number of prediction parameters included in the reduced set is 1, the second parameter a computer-readable recording medium a control program to be executed by omitting the encoding of the prediction parameters to encode the prediction parameters into the computer.
JP2016216384A 2010-02-24 2016-11-04 Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and recording medium Active JP6300884B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010039293 2010-02-24
JP2010039293 2010-02-24

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016007690A Division JP6039833B2 (en) 2010-02-24 2016-01-19 Image decoding device

Publications (3)

Publication Number Publication Date
JP2017079473A JP2017079473A (en) 2017-04-27
JP2017079473A5 JP2017079473A5 (en) 2017-06-15
JP6300884B2 true JP6300884B2 (en) 2018-03-28

Family

ID=44506428

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2012501657A Pending JPWO2011104993A1 (en) 2010-02-24 2010-12-27 Image encoding apparatus and image decoding apparatus
JP2014189556A Active JP5876912B2 (en) 2010-02-24 2014-09-18 Image decoding device
JP2016007690A Active JP6039833B2 (en) 2010-02-24 2016-01-19 Image decoding device
JP2016216384A Active JP6300884B2 (en) 2010-02-24 2016-11-04 Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and recording medium

Family Applications Before (3)

Application Number Title Priority Date Filing Date
JP2012501657A Pending JPWO2011104993A1 (en) 2010-02-24 2010-12-27 Image encoding apparatus and image decoding apparatus
JP2014189556A Active JP5876912B2 (en) 2010-02-24 2014-09-18 Image decoding device
JP2016007690A Active JP6039833B2 (en) 2010-02-24 2016-01-19 Image decoding device

Country Status (8)

Country Link
US (2) USRE48074E1 (en)
EP (3) EP2541938A4 (en)
JP (4) JPWO2011104993A1 (en)
CN (6) CN105049849B (en)
BR (1) BR112012021050A8 (en)
HK (4) HK1217255A1 (en)
MX (3) MX2012009474A (en)
WO (1) WO2011104993A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9351654B2 (en) 2010-06-08 2016-05-31 Alivecor, Inc. Two electrode apparatus and methods for twelve lead ECG
US8509882B2 (en) 2010-06-08 2013-08-13 Alivecor, Inc. Heart monitoring system usable with a smartphone or computer
JP6171627B2 (en) * 2013-06-28 2017-08-02 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, image decoding device, image decoding method, and image decoding program
EP3079571A4 (en) 2013-12-12 2017-08-02 Alivecor, Inc. Methods and systems for arrhythmia tracking and scoring
EP3282933B1 (en) 2015-05-13 2020-07-08 Alivecor, Inc. Discordance monitoring
US11488792B2 (en) 2017-08-07 2022-11-01 Nec Corporation Grounding circuit, electrical apparatus, grounding control method, and grounding control program
CN113497936A (en) * 2020-04-08 2021-10-12 Oppo广东移动通信有限公司 Encoding method, decoding method, encoder, decoder, and storage medium

Family Cites Families (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07177519A (en) 1993-12-20 1995-07-14 Kyocera Corp Motion vector detection method
JP3299671B2 (en) * 1996-03-18 2002-07-08 シャープ株式会社 Image motion detection device
JP4034380B2 (en) * 1996-10-31 2008-01-16 株式会社東芝 Image encoding / decoding method and apparatus
GB2328581B (en) * 1997-08-20 2002-07-31 Ericsson Telefon Ab L M Network
JP4004653B2 (en) * 1998-08-03 2007-11-07 カスタム・テクノロジー株式会社 Motion vector detection method and apparatus, and recording medium
US7466843B2 (en) * 2000-07-07 2008-12-16 Pryor Timothy R Multi-functional control and entertainment systems
WO2002025323A2 (en) * 2000-09-20 2002-03-28 Dataplay, Inc. Etched micro lens and method and apparatus for fabricating
US6765964B1 (en) * 2000-12-06 2004-07-20 Realnetworks, Inc. System and method for intracoding video data
US6961055B2 (en) * 2001-05-09 2005-11-01 Free Radical Design Limited Methods and apparatus for constructing virtual environments
CN101360239B (en) * 2001-09-14 2010-10-27 株式会社Ntt都科摩 Coding method, decoding method, coding apparatus, decoding apparatus, and image processing system
EP1347649A1 (en) * 2002-03-18 2003-09-24 Lg Electronics Inc. B picture mode determining method and apparatus in video coding system
JP4130783B2 (en) * 2002-04-23 2008-08-06 松下電器産業株式会社 Motion vector encoding method and motion vector decoding method
US7386048B2 (en) * 2002-05-28 2008-06-10 Sharp Laboratories Of America, Inc. Methods and systems for image intra-prediction mode organization
US7289674B2 (en) * 2002-06-11 2007-10-30 Nokia Corporation Spatial prediction based intra coding
JP2004179687A (en) * 2002-11-22 2004-06-24 Toshiba Corp Motion picture coding/decoding method and apparatus thereof
KR100750110B1 (en) * 2003-04-22 2007-08-17 삼성전자주식회사 4x4 intra luma prediction mode determining method and apparatus
US7755620B2 (en) * 2003-05-20 2010-07-13 Interlego Ag Method and system for manipulating a digital representation of a three-dimensional object
JP2005348280A (en) * 2004-06-07 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Image encoding method, image encoding apparatus, image encoding program, and computer readable recording medium recorded with the program
RU2007105222A (en) * 2004-07-13 2008-08-20 Конинклейке Филипс Электроникс Н.В. (Nl) SPATIAL AND SNR COMPRESSION METHOD
JP4501631B2 (en) * 2004-10-26 2010-07-14 日本電気株式会社 Image coding apparatus and method, computer program for image coding apparatus, and portable terminal
JP2006254347A (en) * 2005-03-14 2006-09-21 Mitsubishi Electric Corp Image encoding device
TWI301723B (en) * 2005-05-17 2008-10-01 Novatek Microelectronics Corp Method and apparatus for selecting prediction mode of intra coding
US20080130988A1 (en) * 2005-07-22 2008-06-05 Mitsubishi Electric Corporation Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recorded with image encoding program and computer readable recording medium recorded with image decoding program
CN102176754B (en) * 2005-07-22 2013-02-06 三菱电机株式会社 Image encoding device and method and image decoding device and method
US20070025444A1 (en) * 2005-07-28 2007-02-01 Shigeyuki Okada Coding Method
KR100727972B1 (en) * 2005-09-06 2007-06-14 삼성전자주식회사 Method and apparatus for intra prediction of video
US8315308B2 (en) * 2006-01-11 2012-11-20 Qualcomm Incorporated Video coding with fine granularity spatial scalability
JP2007189276A (en) * 2006-01-11 2007-07-26 Victor Co Of Japan Ltd Image compression apparatus and image compression program
EP1994756A2 (en) * 2006-03-03 2008-11-26 Koninklijke Philips Electronics N.V. Differential coding with lossy embedded compression
CN101064849A (en) * 2006-04-29 2007-10-31 鲁海宁 Dynamic image coding method, apparatus and computer readable record medium
CN100413344C (en) * 2006-10-20 2008-08-20 清华大学 Method for realizing high-parallel frame predicator
WO2008072500A1 (en) * 2006-12-13 2008-06-19 Sharp Kabushiki Kaisha Dynamic image encoding device and dynamic image decoding device
WO2008084817A1 (en) * 2007-01-09 2008-07-17 Kabushiki Kaisha Toshiba Image encoding and decoding method and device
CN101222641B (en) * 2007-01-11 2011-08-24 华为技术有限公司 Infra-frame prediction encoding and decoding method and device
JP5025286B2 (en) * 2007-02-28 2012-09-12 シャープ株式会社 Encoding device and decoding device
JP5041844B2 (en) * 2007-03-28 2012-10-03 株式会社日立国際電気 PCR correction circuit
JP2008263549A (en) * 2007-04-13 2008-10-30 Toshiba Corp Moving image encoder and moving image encoding method
US7991237B2 (en) * 2007-06-28 2011-08-02 Mitsubishi Electric Corporation Image encoding device, image decoding device, image encoding method and image decoding method
EP2200323A4 (en) * 2007-09-25 2012-03-14 Sharp Kk Moving image encoder and moving image decoder
JP4797009B2 (en) * 2007-10-24 2011-10-19 日本電信電話株式会社 Prediction mode information encoding method, prediction mode information decoding method, these devices, their programs, and computer-readable recording media
JP2009111691A (en) * 2007-10-30 2009-05-21 Hitachi Ltd Image-encoding device and encoding method, and image-decoding device and decoding method
US8670488B2 (en) * 2007-12-21 2014-03-11 Telefonaktiebolaget Lm Ericsson (Publ) Adaptive intra mode selection
US20100290532A1 (en) 2007-12-28 2010-11-18 Tomoyuki Yamamoto Moving image encoder and moving image decoder
EP2266318B1 (en) * 2008-03-19 2020-04-22 Nokia Technologies Oy Combined motion vector and reference index prediction for video coding
JP4990927B2 (en) * 2008-03-28 2012-08-01 三星電子株式会社 Method and apparatus for encoding / decoding motion vector information
KR101700358B1 (en) * 2009-12-09 2017-01-26 삼성전자주식회사 Method and apparatus for encoding video, and method and apparatus for decoding video

Also Published As

Publication number Publication date
EP2541938A4 (en) 2015-11-04
CN105049849A (en) 2015-11-11
EP3651461A1 (en) 2020-05-13
CN108810532B (en) 2022-08-19
USRE48074E1 (en) 2020-06-30
MX2012009474A (en) 2012-10-09
JPWO2011104993A1 (en) 2013-06-17
JP2017079473A (en) 2017-04-27
BR112012021050A2 (en) 2016-05-03
HK1217255A1 (en) 2016-12-30
HK1217252A1 (en) 2016-12-30
CN105120262A (en) 2015-12-02
MX364986B (en) 2019-05-17
JP5876912B2 (en) 2016-03-02
CN102771126A (en) 2012-11-07
JP6039833B2 (en) 2016-12-07
HK1217254A1 (en) 2016-12-30
CN105049849B (en) 2018-04-27
HK1217253A1 (en) 2016-12-30
JP2016103851A (en) 2016-06-02
EP3506637A1 (en) 2019-07-03
US20130003852A1 (en) 2013-01-03
US9832465B2 (en) 2017-11-28
WO2011104993A1 (en) 2011-09-01
CN105049860A (en) 2015-11-11
MX2019005605A (en) 2019-08-12
JP2014233094A (en) 2014-12-11
CN105141959A (en) 2015-12-09
EP2541938A1 (en) 2013-01-02
CN108810532A (en) 2018-11-13
CN105141959B (en) 2018-06-01
BR112012021050A8 (en) 2017-10-10

Similar Documents

Publication Publication Date Title
JP6300884B2 (en) Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and recording medium
JP6084730B2 (en) Video decoding device
JP7043616B2 (en) Video signal processing method and equipment
KR101479141B1 (en) Coding Method and Apparatus by Using Tree Structure
KR101538837B1 (en) Multiple sign bit hiding within a transform unit
JP2009272727A (en) Transformation method based on directivity of prediction error, image-encoding method and image-decoding method
WO2011046008A1 (en) Video coding device and video decoding device
JPWO2008012918A1 (en) Image encoding and decoding method and apparatus
JP6212890B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture coding program
JP2009005217A (en) Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, image encoding program, image decoding program, and computer readable recording medium
JP7249999B2 (en) Image encoding device, image decoding device, and program
KR20130070618A (en) Coding method and apparatus by using tree structure
JP5469931B2 (en) Video decoding method, video encoding method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170919

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20171115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171226

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: 20180116

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20180205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180227

R150 Certificate of patent or registration of utility model

Ref document number: 6300884

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250