JP6792997B2 - Encoding device, decoding device and program - Google Patents

Encoding device, decoding device and program Download PDF

Info

Publication number
JP6792997B2
JP6792997B2 JP2016201528A JP2016201528A JP6792997B2 JP 6792997 B2 JP6792997 B2 JP 6792997B2 JP 2016201528 A JP2016201528 A JP 2016201528A JP 2016201528 A JP2016201528 A JP 2016201528A JP 6792997 B2 JP6792997 B2 JP 6792997B2
Authority
JP
Japan
Prior art keywords
block
motion vector
coded
same
same layer
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
JP2016201528A
Other languages
Japanese (ja)
Other versions
JP2018064194A (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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2016201528A priority Critical patent/JP6792997B2/en
Publication of JP2018064194A publication Critical patent/JP2018064194A/en
Application granted granted Critical
Publication of JP6792997B2 publication Critical patent/JP6792997B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、符号化装置、復号装置及びプログラムに関する。 The present invention relates to a coding device, a decoding device and a program.

H.265/HEVC(High Efficiency Video Coding)に代表される動画像(映像)符号化方式では、フレーム間の時間的相関を利用したインター予測及びフレーム内の空間的相関を利用したイントラ予測の2種類の予測を切り替えながら予測を行って残差信号を生成した後、直交変換処理やループフィルタ処理やエントロピー符号化処理を行い得られたストリームを出力するように構成されている。 In the moving image (video) coding method represented by H.265 / HEVC (High Efficiency Video Coding), there are two types of inter-prediction using temporal correlation between frames and intra-prediction using spatial correlation within frames. It is configured to output a stream obtained by performing orthogonal conversion processing, loop filtering processing, and entropy coding processing after performing prediction while switching between types of prediction to generate a residual signal.

HEVCのインター予測では、動きベクトルを用いて予測画像を生成するよう構成されている。また、復号装置(デコーダ)に対して動きベクトルを伝送するため、適応動きベクトル予測モード及びマージモードの2種類のベクトル予測手法が用意されている。 In HEVC inter-prediction, a motion vector is used to generate a prediction image. Further, in order to transmit the motion vector to the decoding device (decoder), two types of vector prediction methods, an adaptive motion vector prediction mode and a merge mode, are prepared.

HEVCでは、動画像を構成するフレーム単位の原画像の符号化処理を行う最も大きい単位のブロックである符号化ツリーユニット(CTU::Coding Tree Unit)に分割し、左上からラスター順に符号化処理を行っていく。CTUは、さらに符号化ユニット(CU:Coding Unit)というブロックに階層的に四分木分割を行うことが可能であり、符号化装置(エンコーダ)の決定に従って分割される。 In HEVC, it is divided into a coding tree unit (CTU :: Coding Tree Unit), which is the largest unit block that encodes the original image of the frame unit that constitutes the moving image, and the coding processing is performed in raster order from the upper left. I will go. The CTU can be further divided into quadtrees in a block called a coding unit (CU: Coding Unit), and the CTU is divided according to the determination of the coding device (encoder).

符号化装置は、例えば、符号化対象ブロックの絵柄に応じて、平坦な領域では大きいブロック単位で符号化処理を行い、複雑なテクスチャを持つ領域では小さいブロック単位で符号化処理を行うように決定する。このように、符号化装置において可変なブロックサイズで符号化処理を行うことで、ブロックごとに必要なフラグ情報や直交変換係数の伝送等に必要な情報量を低減することが可能である。 The coding device determines, for example, to perform coding processing in large block units in a flat area and in small block units in a region having a complicated texture, according to the pattern of the block to be coded. To do. In this way, by performing the coding process with a variable block size in the coding device, it is possible to reduce the amount of information required for transmission of flag information and orthogonal conversion coefficients required for each block.

しかしながら、平坦な領域の中のごく一部にテクスチャ領域が存在する場合に絵柄に適応的にブロック分割を行う場合には、四分木分割を繰り返し行う必要があるが、かかるブロック分割を行うことでブロック分割を行う必要のない平坦な領域についてもブロック分割を行うこととなり、フラグ情報の伝送に必要な情報量が増加し、符号化効率が低減してしまう問題点があった。 However, when the texture area is present in a small part of the flat area and the block division is performed adaptively to the pattern, it is necessary to repeatedly perform the quadtree division. Block division is also performed for a flat area that does not need to be divided into blocks, which causes a problem that the amount of information required for transmitting flag information increases and the coding efficiency decreases.

例えば、図7(a)に示すように、ブロックの内部に一部テクスチャXが存在する場合でも、四分木分割を階層的に繰り返すため、ブロック内部右側の平坦な領域Aについても四分木分割を行う必要があり、情報量が増大する。 For example, as shown in FIG. 7A, even if a part of the texture X exists inside the block, the quadtree division is repeated hierarchically, so that the flat area A on the right side inside the block is also a quadtree. It is necessary to divide, and the amount of information increases.

かかる問題点を解決するため、非特許文献1では、HEVCで規定されているCUの階層的な四分木分割に加えて水平若しくは垂直に階層的に行う二分木分割を適用可能とし、より絵柄に適応した分割を可能としている。 In order to solve such a problem, in Non-Patent Document 1, in addition to the hierarchical quadtree division of CU defined by HEVC, the binary tree division performed horizontally or vertically can be applied, and more pictures can be obtained. It is possible to divide according to.

例えば、図7(b)に示すように、二分木分割を適用することで、四分木分割に比べ平坦な領域Aにおけるブロックサイズが大きくなり、フラグ情報や直交変換係数等の伝送に必要な情報量の低減を可能としている。 For example, as shown in FIG. 7B, by applying the binary tree division, the block size in the flat region A becomes larger than that of the quadtree division, which is necessary for transmission of flag information, orthogonal conversion coefficient, and the like. It is possible to reduce the amount of information.

ところで、インター予測では、符号化装置によって決定された動きベクトルに従ってインター予測行い予測画像を生成し、適用した動きベクトルの情報を復号装置側に伝送することで、復号装置側で同様の予測画像を生成し復号を行う。 By the way, in the inter-prediction, the inter-prediction is performed according to the motion vector determined by the encoding device to generate a predicted image, and the information of the applied motion vector is transmitted to the decoding device side to obtain the same predicted image on the decoding device side. Generate and decrypt.

HEVCでは、マージモードが適用されている場合、動きベクトルの伝送に必要な情報量を低減するため、周辺の複数のCUに適用した動きベクトルを動きベクトル候補として予測ベクトルリストを生成し、リスト内の動きベクトルを用いて符号化対象CUの動きベクトルの予測を行うように構成されている。 In HEVC, when the merge mode is applied, in order to reduce the amount of information required for transmission of motion vectors, a prediction vector list is generated using motion vectors applied to multiple peripheral CUs as motion vector candidates, and the list is included. It is configured to predict the motion vector of the coded object CU using the motion vector of.

HEVCにおけるマージモードでは、符号化対象CUの動きベクトルが予測ベクトルリスト内の動きベクトルと同一であった場合には、残差ベクトルを送ることなく、予測ベクトルリストのインデックスのみを伝送することでより伝送する情報量を低減させるように構成されている。 In the merge mode in HEVC, when the motion vector of the CU to be encoded is the same as the motion vector in the prediction vector list, only the index of the prediction vector list is transmitted without sending the residual vector. It is configured to reduce the amount of information transmitted.

HEVCにおける予測ベクトルリストは、図8に示すように、空間予測ベクトル候補A0/A1/B0/B1/B2及び時間予測ベクトル候補Hの中から予め規定された順に5つの予測ベクトルを格納する。 As shown in FIG. 8, the prediction vector list in HEVC stores five prediction vectors from the spatial prediction vector candidates A0 / A1 / B0 / B1 / B2 and the time prediction vector candidate H in a predetermined order.

図8に示すように、空間予測ベクトル候補A0/A1/B0/B1/B2は、符号化対象CUの上側や左側に位置するCUの動きベクトルであり、時間予測ベクトル候補Hは、符号化対象CUの同一座標付近の異なるフレームのブロックの動きベクトルである。 As shown in FIG. 8, the spatial prediction vector candidate A0 / A1 / B0 / B1 / B2 is a motion vector of the CU located on the upper side or the left side of the coding target CU, and the time prediction vector candidate H is the coding target. It is a motion vector of blocks of different frames near the same coordinates of CU.

マージモードにおいては、予測ベクトルリスト内に符号化対象CUに適用する動きベクトルが含まれているか否かを示すフラグ、及び、かかる動きベクトルが含まれている場合には予測ベクトルリストの何番目の予測ベクトルであるかについて示すインデックス情報を伝送する。 In the merge mode, a flag indicating whether or not the motion vector to be applied to the encoded CU is included in the prediction vector list, and if such a motion vector is included, the number of the prediction vector list. It transmits index information indicating whether it is a prediction vector.

また、HEVCでは、符号化対象ブロックにおける残差信号に対して直交変換処理を適用して量子化処理を行うモードの他、符号化対象ブロックにおける残差信号に対して直交変換処理を行わずに量子化処理を行うTransform skipモードが用意されている。 Further, in HEVC, in addition to the mode in which the orthogonal conversion process is applied to the residual signal in the coded target block to perform the quantization processing, the residual signal in the coded target block is not subjected to the orthogonal conversion process. A Transform skip mode for performing quantization processing is provided.

Transform skipモードは、急峻なエッジがあるような残差信号のように、直交変換処理を適用すると、かえって残差信号のエントロピーが増加してしまう場合に有効である。HEVCにおいては、予め規定した条件に基づいて、Transform skipモードを適用可能な符号化対象ブロックにおいてTransform skipモードを適用するか否かについて示すフラグを伝送する。 The Transform skip mode is effective when the entropy of the residual signal is increased when the orthogonal transformation process is applied, such as a residual signal having a steep edge. In HEVC, a flag indicating whether or not the Transfer mode is applied in the coded target block to which the Transfer mode can be applied is transmitted based on a predetermined condition.

また、非特許文献2では、残差信号に対して適用する直交変換処理を複数種類用意しておき、適用する直交変換処理の種類を示すフラグをCU単位で伝送することが規定されている。 Further, Non-Patent Document 2 stipulates that a plurality of types of orthogonal transformation processes to be applied to a residual signal are prepared, and a flag indicating the type of the orthogonal transformation process to be applied is transmitted in CU units.

J.An、Y-W Chen、K.Zhang、H.Huang、Y-W Huang、S.Lei、「Block partitioning structure for next generation video coding」、MPEG doc.m37524及びITU-T SG16 Doc. COM16-C966、2015年10月J. An, Y-W Chen, K. Zhang, H. Hung, Y-W Hung, S. Lei, "Block partitioning structure for next generation video coding", MPEG dock. m37524 and ITU-T SG16 Doc. COM16-C966, October 2015 JVET-C1001 Algorithm description of Joint Exploration Test Model 3 (JEM3)JVET-C1001 Algorithm Description of Joint Exploration Test Model 3 (JEM3)

非特許文献2では、非特許文献1のように、二分木分割を適用可能とする場合にも、符号化対象CUの分割形状や隣接するCUがTransform skipモードを適用したか否かに依らず、かかる符号化対象CUがTransform skipモードを適用するか否かについて示すフラグが伝送される。 In Non-Patent Document 2, even when the binary tree division can be applied as in Non-Patent Document 1, the division shape of the CU to be encoded and whether or not the adjacent CU applies the Transmission skip mode do not matter. , A flag indicating whether or not such a coded object CU applies the Transfer form skip mode is transmitted.

また、非特許文献2では、二分木分割を適用可能とする場合にも、符号化対象CUの分割形状や符号化対象CUに隣接するCUに適用した直交変換処理の種類等に依らず、適用する直交変換処理の種類を示すフラグが伝送される。 Further, in Non-Patent Document 2, even when the binary tree division is applicable, it is applied regardless of the division shape of the coding target CU and the type of orthogonal conversion processing applied to the CU adjacent to the coding target CU. A flag indicating the type of orthogonal conversion processing to be performed is transmitted.

例えば、符号化対象CUの領域全体が一様に動いている場合においては、図9(a)に示すように、ブロック分割(二分木分割)を行わない場合には、符号化対象CUの動きベクトル及び直交変換係数の情報を伝送するだけでよいのに対して、図9(b)に示すように、垂直方向に二分木分割を行う場合には、分割された各CUの動きベクトル及び直交変換係数の情報を伝送する必要がある。 For example, when the entire region of the coding target CU is moving uniformly, as shown in FIG. 9A, when the block division (binary tree division) is not performed, the movement of the coding target CU is performed. While it is only necessary to transmit the information of the vector and the orthogonal conversion coefficient, as shown in FIG. 9B, when the binary tree is divided in the vertical direction, the motion vector and the orthogonality of each divided CU are performed. It is necessary to transmit the conversion coefficient information.

図9(b)のようなCUの分割形状が選択され、且つ、動きベクトルが左右のCUで同一である場合には、2つのCUの両方において同一の種類の直交変換処理を適用する或いは2つのCUの両方において直交変換処理を適用しない(Transform skipモードを適用する)場合、図9(a)のようにブロック分割を行わないCUの分割形状である方が伝送する情報量が低くなることから、2つのCUの両方において同一の種類の直交変換処理を適用する或いはTransform skipモードを適用する可能性は低い。 When the divided shape of the CU as shown in FIG. 9B is selected and the motion vectors are the same in the left and right CUs, the same type of orthogonal conversion processing is applied to both of the two CUs, or 2 When the orthogonal conversion process is not applied to both of the two CUs (Transform skip mode is applied), the amount of information to be transmitted is smaller in the divided shape of the CU that does not divide the blocks as shown in FIG. 9A. Therefore, it is unlikely that the same type of orthogonal transformation process will be applied or the Transform skip mode will be applied to both of the two CUs.

言いかえると、このような二分木分割形状が選択される場合には、ある直交変換の種類が一方のCUにおいて適用された場合には、かかる直交変換処理と異なる種類の直交変換処理が、他方のCUにおいて適用される可能性が高い。 In other words, when such a binary tree split shape is selected, if one type of orthogonal transformation is applied in one CU, then a different type of orthogonal transformation process from the other. It is likely to be applied in CU.

また、一方のCUにおいてTransform skipモードが適用された場合には、他方のCUにおいてはTransform skipモードが適用されない(適用可能な直交変換処理のうちのいずれかが適用される)可能性が高い。 Further, when the Transfer form skip mode is applied in one CU, it is highly possible that the Transfer form skip mode is not applied in the other CU (one of the applicable orthogonal transformation processes is applied).

しかしながら、非特許文献2では、上述のような二分木分割において動きベクトルが等しい場合にも、符号化対象CUにTransform skipモードを適用するか否かについてフラグ(Transform skipフラグ)や適用する直交変換処理の種類を示すフラグを伝送しているため、符号化効率が低下する問題がある。 However, in Non-Patent Document 2, even when the motion vectors are equal in the above-mentioned binary tree division, a flag (Transform skip flag) and an orthogonal conversion to be applied are determined as to whether or not the Transmission skip mode is applied to the coded CU. Since a flag indicating the type of processing is transmitted, there is a problem that the coding efficiency is lowered.

非特許文献2においては、まず、符号化対象CUに対して、Transform skipフラグを伝送し、Transoform skipが適用される場合には、適用した直交変換処理の種類を示すフラグは伝送されない。一方、Transform skipモードが適用されない場合には、適用した直交変換処理の種類を示すフラグを伝送する。 In Non-Patent Document 2, first, the Transform skip flag is transmitted to the coded CU, and when the Transform skip is applied, the flag indicating the type of the applied orthogonal conversion process is not transmitted. On the other hand, when the Transform skip mode is not applied, a flag indicating the type of orthogonal transformation processing applied is transmitted.

以下説明の簡略化のため、図9(b)のように二分木分割を行ったことにより生成された同一の幅及び高さを有している2つのブロック(最後に分割される前に同一のブロック内に存在した2つのブロック)を同階層ブロックであると呼ぶこととする。 For the sake of simplification of the following description, two blocks having the same width and height generated by performing the binary tree division as shown in FIG. 9B (same before the final division). (Two blocks that existed in the block) are referred to as the same layer block.

図10において、CU1及びCU2を同階層CUと呼び、CU4及びCU5を同階層CUと呼び、CU6及びCU7を同階層CUと呼ぶ。しかしながら、CU3においては、下側に隣接するCUがさらに二分木分割されておりブロックサイズが異なるため、CU3及びCU4或いはCU3及びCU5を同階層CUとは呼ばない。また、CU2及びCU8或いはCU5及びCU7のように、幅や高さが同一であったとしても、最後に分割する前に同一のCU内に存在しなかったCU同士についても同階層CUとは呼ばない。 In FIG. 10, CU1 and CU2 are referred to as the same layer CU, CU4 and CU5 are referred to as the same layer CU, and CU6 and CU7 are referred to as the same layer CU. However, in CU3, CU3 and CU4 or CU3 and CU5 are not called the same layer CU because the CU adjacent to the lower side is further divided into two trees and the block sizes are different. Further, even if the width and height are the same, such as CU2 and CU8 or CU5 and CU7, CUs that did not exist in the same CU before the final division are also called the same layer CU. Absent.

そこで、本発明は、上述した課題を解決するためになされたものであり、符号化対象ブロック(符号化対象CU)の動きベクトル及び同階層ブロック(同階層CU)の動きベクトルが同一であった場合には、かかる同階層ブロックにおける直交変換処理を適用の有無若しくは適用された直交変換処理の種類に応じて符号化対象ブロックにおける直交変換処理の適用の有無若しくは適用された直交変換処理の種類を暗黙的に決定することで、直交変換処理の種類の適用の有無を示すフラグの伝送若しくは適用された直交変換処理の種類を示すフラグの伝送にかかる情報量を低減し、符号化効率を向上させることができる符号化装置、復号装置及びプログラムを提供することを目的とする。 Therefore, the present invention has been made to solve the above-mentioned problems, and the motion vector of the coding target block (coding target CU) and the motion vector of the same layer block (same layer CU) are the same. In the case, whether or not the orthogonal conversion process is applied in the same layer block or whether or not the orthogonal conversion process is applied in the coded target block or the type of the applied orthogonal conversion process is determined according to the type of the applied orthogonal conversion process. By making an implicit decision, the amount of information required for the transmission of the flag indicating whether or not the type of orthogonal conversion processing is applied or the transmission of the flag indicating the type of orthogonal conversion processing applied is reduced, and the coding efficiency is improved. It is an object of the present invention to provide a coding device, a decoding device and a program capable of providing the coding device, the decoding device and the program.

また、本発明は、符号化対象ブロックの動きベクトル及び同階層ブロックの動きベクトルが同一であった場合には、かかる同階層ブロックに適用されている直交変換処理の種類に応じて符号化対象ブロックに適用する直交変換処理の種類を決定することで、符号化効率を向上させることができる符号化装置、復号装置及びプログラムを提供することを目的とする。 Further, in the present invention, when the motion vector of the coded block and the motion vector of the same layer block are the same, the coded object block depends on the type of orthogonal conversion processing applied to the same layer block. It is an object of the present invention to provide a coding device, a decoding device and a program capable of improving the coding efficiency by determining the type of orthogonal conversion processing applied to the above.

本発明の第1の特徴は、動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成されている符号化装置であって、符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを有しており且つ最後に分割される前に前記符号化対象ブロックと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルと、前記同階層ブロックにおける直交変換処理の適用の有無とに基づいて、前記符号化対象ブロックにおいて直交変換処理を適用するか否かについて決定するように構成されている決定部と、前記符号化対象ブロックにおいて直交変換処理を適用するか否かについて示す情報を符号化することなく、前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されている符号化部とを具備することを要旨とする。 The first feature of the present invention is a coding device configured to divide the original image of each frame constituting a moving image into blocks and encode them, and the motion vector of the block to be coded and With the motion vector of the same layer block, which is a block having the same width and height as the code target block and existing in the same block as the code target block before being finally divided. A determination unit configured to determine whether or not to apply the orthogonal conversion process in the coded target block based on whether or not the orthogonal conversion process is applied in the same layer block, and the coded object. It includes a coding unit configured to encode the residual signal and the motion vector of the coded block without encoding the information indicating whether or not the orthogonal conversion process is applied in the block. The gist is that.

本発明の第2の特徴は、動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成されている符号化装置であって、符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを有しており且つ最後に分割される前に前記符号化対象ブロックと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルと、前記同階層ブロックにおいて適用されている直交変換処理の種類とに基づいて、前記符号化対象ブロックにおいて適用しない直交変換処理の種類について決定するように構成されている決定部と、前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されている符号化部とを具備することを要旨とする。 The second feature of the present invention is a coding device configured to divide the original image of each frame constituting the moving image into blocks and encode them, and the motion vector of the block to be coded and With the motion vector of the same layer block, which is a block having the same width and height as the code target block and existing in the same block as the code target block before being finally divided. A determination unit configured to determine the type of orthogonal conversion processing not applied in the coded target block based on the type of orthogonal conversion process applied in the same layer block, and the coded object. It is a gist to include a coding unit configured to encode a block residual signal and a motion vector.

本発明の第3の特徴は、動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成されている復号装置であって、符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを有しており且つ最後に分割される前に前記符号化対象ブロックと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルと、前記同階層ブロックにおける直交変換処理の適用の有無とに基づいて、前記符号化対象ブロックにおいて直交変換処理が適用されているか否かについて決定するように構成されている決定部を具備することを要旨とする。 A third feature of the present invention is a decoding device configured to divide an original image of a frame unit constituting a moving image into blocks and decode them, and a motion vector of a block to be encoded and the reference numeral thereof. The motion vector of the same layer block, which has the same width and height as the coded block and was present in the same block as the coded block before the final division, and the motion vector of the same layer block. The gist is to include a determination unit configured to determine whether or not the orthogonal conversion process is applied in the coded target block based on whether or not the orthogonal conversion process is applied in the same layer block. To do.

本発明の第4の特徴は、動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成されている復号装置であって、符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを有しており且つ最後に分割される前に前記符号化対象ブロックと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルと、前記同階層ブロックにおいて適用されている直交変換処理の種類とに基づいて、前記符号化対象ブロックにおいて適用されていない直交変換処理の種類を決定するように構成されている決定部を具備することを要旨とする。 A fourth feature of the present invention is a decoding device configured to divide an original image of a frame unit constituting a moving image into blocks and decode them, and a motion vector of a block to be encoded and the reference numeral thereof. The motion vector of the same layer block, which has the same width and height as the coded block and was present in the same block as the coded block before the final division, and the motion vector of the same layer block. It is a gist to include a determination unit configured to determine the type of orthogonal conversion processing not applied in the coded target block based on the type of orthogonal conversion processing applied in the same layer block. And.

本発明の第5の特徴は、コンピュータを、上述の第1或いは第2の特徴に記載の符号化装置として機能させるためのプログラムであることを要旨とする。 A fifth feature of the present invention is a program for making a computer function as a coding device according to the first or second feature described above.

本発明の第6の特徴は、コンピュータを、上述の第3或いは第4の特徴に記載の復号装置として機能させるためのプログラムであることを要旨とする。 A sixth feature of the present invention is a program for making a computer function as a decoding device according to the third or fourth feature described above.

本発明によれば、符号化対象ブロック(符号化対象CU)の動きベクトル及び同階層ブロック(同階層CU)の動きベクトルが同一であった場合には、かかる同階層ブロックにおける直交変換処理を適用の有無に応じて符号化対象ブロックにおける直交変換処理の適用の有無を暗黙的に決定することで、符号化効率を向上させることができる符号化装置、復号装置及びプログラムを提供することができる。 According to the present invention, when the motion vector of the coding target block (coding target CU) and the motion vector of the same layer block (same layer CU) are the same, the orthogonal conversion process in the same layer block is applied. By implicitly determining whether or not the orthogonal conversion process is applied to the coded block according to the presence or absence of the above, it is possible to provide a coding device, a decoding device, and a program capable of improving the coding efficiency.

また、本発明によれば、符号化対象ブロックの動きベクトル及び同階層ブロックの動きベクトルが同一であった場合には、かかる同階層ブロックに適用されている直交変換処理の種類に応じて符号化対象ブロックに適用する直交変換処理の種類を決定することで、符号化効率を向上させることができる符号化装置、復号装置及びプログラムを提供することができる。 Further, according to the present invention, when the motion vector of the coded block and the motion vector of the same layer block are the same, the code is encoded according to the type of orthogonal conversion processing applied to the same layer block. By determining the type of orthogonal conversion processing to be applied to the target block, it is possible to provide a coding device, a decoding device, and a program capable of improving the coding efficiency.

図1は、第1の実施形態に係る符号化装置1の機能ブロックの一例を示す図である。FIG. 1 is a diagram showing an example of a functional block of the coding apparatus 1 according to the first embodiment. 図2は、第1の実施形態に係る符号化装置1におけるブロック分割部11による符号化対象CUの分割形状を示すフラグの生成方法の一例を示す図である。FIG. 2 is a diagram showing an example of a method of generating a flag indicating the divided shape of the coded target CU by the block dividing unit 11 in the coding device 1 according to the first embodiment. 図3は、第1の実施形態に係る符号化装置1の直交変換決定部12による決定方法の一例を示す図である。FIG. 3 is a diagram showing an example of a determination method by the orthogonal transformation determination unit 12 of the coding apparatus 1 according to the first embodiment. 図4は、第1の実施形態に係る符号化装置1の動作の一例を示すフローチャートである。FIG. 4 is a flowchart showing an example of the operation of the coding device 1 according to the first embodiment. 図5は、第1の実施形態に係る復号装置3の機能ブロックの一例を示す図である。FIG. 5 is a diagram showing an example of a functional block of the decoding device 3 according to the first embodiment. 図6は、第1の実施形態に係る復号装置3の動作の一例を示すフローチャートである。FIG. 6 is a flowchart showing an example of the operation of the decoding device 3 according to the first embodiment. 図7は、従来技術について説明するための図である。FIG. 7 is a diagram for explaining the prior art. 図8は、従来技術について説明するための図である。FIG. 8 is a diagram for explaining the prior art. 図9は、従来技術について説明するための図である。FIG. 9 is a diagram for explaining the prior art. 図10は、従来技術について説明するための図である。FIG. 10 is a diagram for explaining the prior art.

(第1の実施形態)
以下、図1〜図6を参照して、本発明の第1の実施形態に係る符号化装置1及び復号装置3について説明する。
(First Embodiment)
Hereinafter, the coding device 1 and the decoding device 3 according to the first embodiment of the present invention will be described with reference to FIGS. 1 to 6.

ここで、本実施形態に係る符号化装置1及び復号装置3は、HEVC等の動画像符号化方式におけるインター予測に対応するように構成されている。なお、本実施形態に係る符号化装置1及び復号装置3は、インター予測を行う動画像符号化方式であれば、任意の動画像符号化方式に対応することができるように構成されている。また、本実施形態に係る符号化装置1及び復号装置3では、HEVCにおけるTransform skipモードが適用可能なケースを例に挙げて説明する。 Here, the coding device 1 and the decoding device 3 according to the present embodiment are configured to correspond to inter-prediction in a moving image coding method such as HEVC. The coding device 1 and the decoding device 3 according to the present embodiment are configured to be compatible with any moving image coding method as long as it is a moving image coding method that performs inter-prediction. Further, in the coding device 1 and the decoding device 3 according to the present embodiment, a case where the Transfer mode in HEVC can be applied will be described as an example.

なお、本明細書、特許請求の範囲、図面及び要約書では、特段の断りがない場合には、「動きベクトル」という表現は、[x,y]というようなベクトルを示す値の他、参照先のフレームを示す参照インデックス等のベクトルを示す値に付随する情報を含むものとする。 In the present specification, claims, drawings and abstracts, unless otherwise specified, the expression "motion vector" is referred to in addition to a value indicating a vector such as [x, y]. It shall include information associated with a value indicating a vector such as a reference index indicating the previous frame.

本実施形態に係る符号化装置1は、動画像を構成するフレーム単位の原画像を符号化対象ブロックに分割して符号化するように構成されている。以下、本実施形態では、動画像を構成するフレーム単位の原画像を符号化対象CUに二分木分割して符号化するケースを例に挙げて説明するが、動画像を構成するフレーム単位の原画像を符号化対象CUに四分木分割して符号化するケースにも適用可能である。 The coding device 1 according to the present embodiment is configured to divide the original image of each frame constituting the moving image into coding target blocks and encode the original image. Hereinafter, in the present embodiment, a case where the frame-based original image constituting the moving image is divided into two quadtrees and encoded by the coding target CU will be described as an example, but the frame-based original image constituting the moving image will be described. It is also applicable to the case where the image is divided into quadtrees and encoded by the CU to be encoded.

図1に示すように、本実施形態に係る符号化装置1は、ブロック分割部11と、直交変換決定部12と、インター予測部13と、直交変換・量子化部14と、エントロピー符号化部15と、逆量子化・逆変換部16と、メモリ17とを具備している。 As shown in FIG. 1, the coding apparatus 1 according to the present embodiment includes a block division unit 11, an orthogonal conversion determination unit 12, an inter-prediction unit 13, an orthogonal conversion / quantization unit 14, and an entropy coding unit. It includes 15, an inverse quantization / inverse conversion unit 16, and a memory 17.

ブロック分割部11は、符号化対象CUごとに、四分木分割や二分木分割を行い、符号化対象CUの分割形状を示すフラグを、予測ベクトルリスト生成部12やインター予測部13及やエントロピー符号化部15に出力するように構成されている。 The block division unit 11 performs quadtree division or binary tree division for each CU to be encoded, and sets a flag indicating the division shape of the CU to be encoded to the prediction vector list generation unit 12, the inter-prediction unit 13, and the entropy. It is configured to output to the coding unit 15.

ブロック分割部11は、かかる分割の一例として、四分木分割の適用可能ブロックサイズや最大階層数、及び、二分木分割の適用可能ブロックサイズや最大階層数を予め規定してもよい。 As an example of such division, the block division unit 11 may predefine the applicable block size and the maximum number of layers of the quadtree division, and the applicable block size and the maximum number of layers of the binary tree division.

また、ブロック分割部11は、符号化装置1における処理軽減のため、最初に四分木分割を行い、その後、任意の階層から二分木分割を行うように構成されていてもよい。 Further, the block division unit 11 may be configured to first perform quadtree division and then perform binary tree division from an arbitrary layer in order to reduce processing in the coding device 1.

図2(a)〜図2(c)に、最初に四分木分割を行った後、二分木分割を行うケースの分割形状を示すフラグの生成方法の一例について示す。具体的には、図2(b)に示す四分木分割を行った後、図2(c)に示す二分木分割を行うことで、図2(a)に示す分割形状を実現することができる。 FIGS. 2 (a) to 2 (c) show an example of a method of generating a flag indicating the division shape of the case where the quadtree division is first performed and then the binary tree division is performed. Specifically, by performing the quadtree division shown in FIG. 2 (b) and then the binary tree division shown in FIG. 2 (c), the divided shape shown in FIG. 2 (a) can be realized. it can.

例えば、図2(b)に示すように、四分木分割を行うか否かについて示すフラグにおいて、「0」は、該当するCUに対して四分木分割を行わないことを示し、「1」は、該当するCUに対して四分木分割を行うことを示す。 For example, as shown in FIG. 2B, in the flag indicating whether or not to perform the quadtree division, "0" indicates that the quadtree division is not performed for the corresponding CU, and "1". ”Indicates that the quadtree division is performed for the corresponding CU.

また、図2(c)に示すように、四分木分割を行わないCUについては、さらに二分木分割を行うか否かについて示すフラグを生成する。かかるフラグにおいて、「0」は、該当するCUに対して二分木分割を行わないことを示し、「1」は、該当するCUに対して水平方向に二分木分割を行うことを示し、「2」は、該当するCUに対して垂直方向に二分木分割を行うことを示す。 Further, as shown in FIG. 2C, for the CU that does not perform the quadtree division, a flag indicating whether or not to further divide the quadtree is generated. In such a flag, "0" indicates that the binary tree is not divided for the corresponding CU, "1" indicates that the binary tree is divided horizontally for the corresponding CU, and "2". ”Indicates that the binary tree is divided vertically with respect to the corresponding CU.

なお、かかるフラグは、CTU単位で纏めて伝送されるように構成されていてもよいし、CUごとに直交変換係数と共に伝送されるように構成されていてもよい。 It should be noted that such flags may be configured to be collectively transmitted in units of CTUs, or may be configured to be transmitted together with an orthogonal conversion coefficient for each CU.

直交変換決定部(決定部)12は、符号化対象CUの動きベクトルと、符号化対象CUの同階層CUの動きベクトルと、かかる同階層CUにおける直交変換処理の適用の有無とに基づいて、符号化対象CUにおいて直交変換処理を適用するか否か(Transform skipモードを適用するか否か)について決定するように構成されている。 The orthogonal transformation determination unit (determination unit) 12 is based on the motion vector of the coding target CU, the motion vector of the same layer CU of the coding target CU, and whether or not the orthogonal conversion processing is applied in the same layer CU. It is configured to determine whether or not to apply the orthogonal transformation process (whether or not to apply the Transform skip mode) in the coded object CU.

直交変換決定部12は、符号化対象CUの同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、かかる同階層CUにおいて直交変換処理が適用されていない場合(すなわち、Transform skipモードが適用されている場合)には、符号化対象CUにおいて直交変換処理を適用する(すなわち、Transform skipモードが適用しない)と決定するように構成されていてもよい。 When the motion vector of the same layer CU of the coding target CU and the motion vector of the coding target CU are the same, and the orthogonal conversion process is not applied to the same layer CU, the orthogonal transformation determination unit 12 ( That is, when the Transfer mode is applied), it may be configured to determine that the orthogonal conversion process is applied in the coded target CU (that is, the Transfer mode is not applied).

すなわち、直交変換決定部12は、ブロック分割部11により分割された符号化対象CUの分割形状及び動きベクトルと、メモリ17に保存されている同階層CUの分割形状及び動きベクトルと、同階層CUにおける直交変換処理の適用の有無(すなわち、Transform skipモードが適用されているか否かについて示す情報であるTransform skipフラグ)とに応じて、符号化対象CUにおけるTransform skipモードの適用を暗黙的に禁止する(すなわち、直交変換処理を適用する)ことを示すTransform skip符号化フラグを出力するように構成されている。 That is, the orthogonal transformation determination unit 12 includes the division shape and motion vector of the coded object CU divided by the block division unit 11, the division shape and motion vector of the same layer CU stored in the memory 17, and the same layer CU. Implicitly prohibits the application of the Transform skip mode in the coded target CU depending on whether or not the orthogonal transformation process is applied in the above (that is, the Transform skip flag which is information indicating whether or not the Transform skip mode is applied). It is configured to output a Transform skip coding flag indicating that it should (that is, apply the orthogonal transformation process).

HEVCでは、直交変換決定部12は、符号化対象CUの左側及び上側に位置する隣接CUや時間的に隣接するCUの動きベクトルに基づいて、5つの予測ベクトルが格納される予測ベクトルリストを生成するよう構成されている(具体的には、H.265規格書を参考)。すなわち、マージモードは、隣接CUの動きベクトルの再利用を可能としている。 In HEVC, the orthogonal transformation determination unit 12 generates a prediction vector list in which five prediction vectors are stored based on the motion vectors of adjacent CUs located on the left and upper sides of the CU to be encoded and CUs that are temporally adjacent to each other. (Specifically, refer to the H.265 standard document). That is, the merge mode makes it possible to reuse the motion vector of the adjacent CU.

ここで、図2(c)において四角A〜Cで囲まれている二分木分割が行われたCUブロックのうち、同一の分割階層で共にフラグが「0」であるCUは、同階層CU(同階層ブロック)である。なお、図2(c)においてフラグf1/f2が付されているCUは、図2(a)におけるCU1/CU2に対応し、図2(c)においてフラグf3/f4が付されているCUは、図2(a)におけるCU3/CU4に対応し、図2(c)においてフラグf5/f6が付されているCUは、図2(a)におけるCU5/CU6に対応する。 Here, among the CU blocks in which the binary tree is divided surrounded by the squares A to C in FIG. 2C, the CUs having the same division hierarchy and both flags being "0" are the same hierarchy CU ( Same level block). The CU with the flag f1 / f2 in FIG. 2C corresponds to the CU1 / CU2 in FIG. 2A, and the CU with the flag f3 / f4 in FIG. 2C corresponds to the CU1 / CU2 in FIG. 2A. , The CU corresponding to CU3 / CU4 in FIG. 2A and the flag f5 / f6 in FIG. 2C corresponds to CU5 / CU6 in FIG. 2A.

上述のように一様な特徴をもつ領域においては可能な限り大きいブロックサイズで符号化処理を行うことで、フラグの発生情報量が低減する。また、図2(a)〜図2(c)に示すように、分割階層が増えれば増えるほど分割形状を示すフラグの発生情報量は増大する。 In the region having uniform characteristics as described above, the amount of flag generation information is reduced by performing the coding process with the block size as large as possible. Further, as shown in FIGS. 2A to 2C, as the number of division layers increases, the amount of information generated by the flag indicating the division shape increases.

すなわち、二分木分割を行うことにより生成される2つのCUが共にそれ以上分割されない場合で、且つ、これらの2つのCUの動きベクトルが等しい場合には、これらの2つのCUの一方において直交変換処理を適用するが、他方において直交変換処理を適用しない可能性が高い。 That is, if the two CUs generated by the binary tree division are not further divided and the motion vectors of these two CUs are equal, then one of these two CUs is orthogonally transformed. It is likely that the process will be applied, but the orthogonal transformation process will not be applied on the other hand.

したがって、直交変換決定部12は、符号化対象CUが二分木分割されたブロックであり、上側や左側に隣接するCUが同階層CUである場合であって、かかる同階層CUに適用した動きベクトルが符号化対象CUの動きベクトルと等しい場合には、かかる同階層CUにおいて直交変換処理を適用する場合には、符号化対象CUにはTransform skipモードを適用し、また、かかる同階層CUにおいてTransform skipモードを適用する場合には、符号化対象CUには直交変換処理を適用すると決定するように構成されている。 Therefore, the orthogonal conversion determination unit 12 is a case where the CU to be encoded is a block divided into two halves, and the CUs adjacent to the upper side and the left side are the same layer CU, and the motion vector applied to the same layer CU. When is equal to the motion vector of the coded target CU, when the orthogonal conversion process is applied in the same layer CU, the Transfer form skip mode is applied to the coded target CU, and the Transfer form is applied in the same layer CU. When the skip mode is applied, it is configured to determine that the orthogonal conversion process is applied to the coded target CU.

インター予測部13は、復号済みのフレームをメモリ17より取得し、符号化装置1によって決定された動きベクトルが示す領域を取得することで予測画像を生成するように構成されている。 The inter-prediction unit 13 is configured to acquire a decoded frame from the memory 17 and generate a prediction image by acquiring an area indicated by a motion vector determined by the coding device 1.

直交変換・量子化部14は、インター予測部13により生成された予測画像と原画像との差分に対して、Transform skipフラグに応じて、直交変換処理及び量子化処理を施し(或いは、直交変換処理を施すことなく量子化処理を施し)、量子化された直交変換係数を得るように構成されている。 The orthogonal conversion / quantization unit 14 performs orthogonal conversion processing and quantization processing (or orthogonal conversion) on the difference between the predicted image and the original image generated by the inter prediction unit 13 according to the Transform skip flag. Quantization processing is performed without processing), and it is configured to obtain a quantized orthogonal conversion coefficient.

エントロピー符号化部(符号化部)15は、量子化された直交変換係数(残差信号)及び符号化対象CUの動きベクトル等に対してエントロピー符号化処理を施すように構成されている。 The entropy coding unit (coding unit) 15 is configured to perform entropy coding processing on the quantized orthogonal conversion coefficient (residual signal), the motion vector of the CU to be coded, and the like.

また、エントロピー符号化部15は、符号化対象CUの量子化された直交変換係数及び動きベクトルと、直交変換決定部12によって出力されるTransform skip符号化フラグに応じて、符号化対象CUにおけるTransform skipフラグを符号化するように構成されている。 Further, the entropy coding unit 15 determines the Transform in the CU to be coded according to the quantized orthogonal conversion coefficient and motion vector of the CU to be coded and the Transform skip coding flag output by the quadrature conversion determining unit 12. It is configured to encode the skip flag.

例えば、図3(a)及び図3(b)において、CU#Tを符号化対象CUとした場合、左側に隣接するCU#Aは、CU#Tの同階層CUである。 For example, in FIGS. 3 (a) and 3 (b), when CU # T is the coded target CU, CU # A adjacent to the left side is the same layer CU of CU # T.

図3(a)に示すように、CU#Aの動きベクトルと符号化対象CU#Tの動きベクトルとが等しい場合で、且つ、CU#AにおいてTransform skipモードが適用されている場合には、直交変換決定部12は、符号化対象CU#Tにおいて、Transform skipモードの適用を暗黙的に禁止し、直交変換処理を適用すると決定するように構成されている。 As shown in FIG. 3A, when the motion vector of CU # A and the motion vector of the coded object CU # T are equal to each other and the Transform skip mode is applied in CU # A, The orthogonal conversion determination unit 12 is configured to implicitly prohibit the application of the Transfer mode in the coded object CU # T and determine that the orthogonal conversion process is applied.

また、図3(b)に示すように、CU#Aの動きベクトルと符号化対象CU#Tの動きベクトルとが等しい場合で、且つ、CU#Aにおいて直交変換処理が適用されている場合には、直交変換決定部12は、符号化対象CU#Tにおいて、直交変換処理の適用を暗黙的に禁止し、Transform skipモードを適用すると決定するように構成されている。 Further, as shown in FIG. 3B, when the motion vector of CU # A and the motion vector of the coded target CU # T are equal to each other, and when the orthogonal transformation process is applied in CU # A. Is configured so that the orthogonal transformation determination unit 12 implicitly prohibits the application of the orthogonal transformation process in the coded object CU # T and determines to apply the Transfer form skip mode.

上述のように、符号化対象CU(CU#T)と同一の動きベクトルを有する同階層CU(CU#A)においてTransform skipモードが適用されている場合には、符号化対象CU(CU#T)において、暗黙的にTransform skipモードの適用が禁止され、直交変換処理が適用されるため、エントロピー符号化部15は、符号化対象CU(CU#T)におけるTransform skipフラグを符号化(伝送)する必要はない。 As described above, when the Transform skip mode is applied in the same layer CU (CU # A) having the same motion vector as the coded target CU (CU # T), the coded target CU (CU # T). ), The application of the Transform skip mode is implicitly prohibited and the orthogonal conversion process is applied. Therefore, the entropy encoding unit 15 encodes (transmits) the Transform skip flag in the coded target CU (CU # T). do not have to.

同様に、符号化対象CU(CU#T)と同一の動きベクトルを有する同階層CU(CU#A)において直交変換処理が適用されている場合にも、符号化対象CU(CU#T)において、暗黙的に直交変換処理の適用が禁止され、Transform skipモードが適用されるため、符号化対象CU(CU#T)におけるTransform skipフラグを符号化(伝送)する必要はない。 Similarly, when the orthogonal transformation process is applied to the same layer CU (CU # A) having the same motion vector as the coded target CU (CU # T), the coded target CU (CU # T) , Since the application of the orthogonal conversion process is implicitly prohibited and the Transfer form skip mode is applied, it is not necessary to encode (transmit) the Transfer form skip flag in the coded target CU (CU # T).

すなわち、これらの場合には、エントロピー符号化部15は、符号化対象CUにおいて直交変換処理を適用するか否かについて示す情報(Transform skipフラグ)を符号化することなく、量子化された直交変換係数(残差信号)及び符号化対象CUの動きベクトルに対してエントロピー符号化処理を施すように構成されている。 That is, in these cases, the entropy coding unit 15 does not encode the information (Transform skip flag) indicating whether or not the orthogonal conversion process is applied in the CU to be encoded, and the quantized orthogonal conversion is performed. It is configured to perform entropy coding processing on the coefficient (residual signal) and the motion vector of the CU to be coded.

逆量子化部・逆直交変換部16は、直交変換・量子化部14によって生成された量子化された変換係数に対して、再び逆量子化処理及び逆直交変換処理を施して残差信号を生成するように構成されている。 The inverse quantization unit / inverse orthogonal conversion unit 16 again performs inverse quantization processing and inverse orthogonal conversion processing on the quantized conversion coefficient generated by the orthogonal conversion / quantization unit 14 to generate a residual signal. It is configured to generate.

メモリ17は、符号化対象CUの復号画像を参照画像として利用可能に保持するように構成されている。ここで、かかる復号画像は、逆量子化部・逆直交変換部16によって生成された残差信号に対してインター予測部13によって生成された予測画像を加えることで生成されるように構成されている。 The memory 17 is configured to hold the decoded image of the CU to be encoded so as to be available as a reference image. Here, the decoded image is configured to be generated by adding the prediction image generated by the inter-prediction unit 13 to the residual signal generated by the inverse quantization unit / inverse orthogonal conversion unit 16. There is.

また、メモリ17は、符号化対象CUに隣接する隣接CUの分割形状及び動きベクトルを保持するように構成されている。 Further, the memory 17 is configured to hold the divided shape and motion vector of the adjacent CU adjacent to the coded CU.

図4に、本実施形態に係る符号化装置1の動作の一例について説明するためのフローチャートについて示す。 FIG. 4 shows a flowchart for explaining an example of the operation of the coding apparatus 1 according to the present embodiment.

図4に示すように、ステップS101において、符号化装置1は、符号化対象CUごとに、四分木分割や二分木分割を行い、符号化対象ブロックの分割形状を示すフラグを生成する。 As shown in FIG. 4, in step S101, the coding apparatus 1 performs quadtree division and binary tree division for each coding target CU, and generates a flag indicating the division shape of the coding target block.

ステップS102において、符号化装置1は、符号化対象CUの分割形状及び動きベクトルと、符号化対象CUの同階層CUの動きベクトルと、かかる同階層CUにおける直交変換処理の適用の有無とに基づいて、符号化対象CUにおいて直交変換処理を適用するか否か(Transform skipモードを適用するか否か)について決定する。 In step S102, the coding apparatus 1 is based on the divided shape and motion vector of the coding target CU, the motion vector of the same layer CU of the coding target CU, and whether or not the orthogonal conversion process is applied to the same layer CU. Then, it is determined whether or not the orthogonal conversion process is applied in the coded target CU (whether or not the Transform skip mode is applied).

ステップS103において、符号化装置1は、符号化対象CUの予測画像を生成し、Transform skipフラグに応じて、符号化対象CUの量子化された直交変換係数を生成し、エントロピー符号化処理を行う。 In step S103, the coding apparatus 1 generates a predicted image of the CU to be coded, generates a quantized orthogonal conversion coefficient of the CU to be coded according to the Transform skip flag, and performs entropy coding processing. ..

また、本実施形態に係る復号装置3は、動画像を構成するフレーム単位の原画像をCUに分割して復号するように構成されている。 Further, the decoding device 3 according to the present embodiment is configured to divide the original image of each frame constituting the moving image into CUs and decode it.

図5に示すように、本実施形態に係る復号装置3は、エントロピー復号部31と、直交変換決定部32と、インター予測部33と、逆量子化・逆変換部34と、復号画像生成部35と、メモリ36とを具備している。 As shown in FIG. 5, the decoding device 3 according to the present embodiment includes an entropy decoding unit 31, an orthogonal conversion determination unit 32, an inter-prediction unit 33, an inverse quantization / inverse conversion unit 34, and a decoded image generation unit. It includes 35 and a memory 36.

エントロピー復号部31は、符号化装置1から出力されたストリームに対してエントロピー復号処理を施すことによって、符号化装置1から出力されたストリームから、量子化された直交変換係数及び符号化対象CUの動きベクトル等を復号するように構成されている。 The entropy decoding unit 31 performs an entropy decoding process on the stream output from the coding device 1 to obtain a quantized orthogonal conversion coefficient and a CU to be coded from the stream output from the coding device 1. It is configured to decode the motion vector and the like.

なお、符号化対象CUの同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合には、かかるストリーム内に、Transform skipフラグは符号化されていない。 When the motion vector of the same layer CU of the coded target CU and the motion vector of the coded target CU are the same, the Transform skip flag is not encoded in the stream.

直交変換決定部32は、符号化装置1の直交変換決定部12と同様に、符号化対象CUの動きベクトルと、符号化対象CUの同階層CUの動きベクトルと、かかる同階層CUにおける直交変換処理の適用の有無とに基づいて、符号化対象CUにおいて直交変換処理を適用するか否か(Transform skipモードを適用するか否か)について決定する、すなわち、Transform skipを決定するように構成されている。 Similar to the orthogonal transformation determination unit 12 of the coding apparatus 1, the orthogonal transformation determination unit 32 includes a motion vector of the coding target CU, a motion vector of the same layer CU of the coding target CU, and an orthogonal transformation in the same layer CU. It is configured to determine whether or not to apply the orthogonal transformation process (whether or not to apply the Transfer form skip mode) in the coded target CU based on whether or not the process is applied, that is, to determine the Transfer form skip. ing.

インター予測部33は、エントロピー復号部31によって出力された符号化対象CUの動きベクトル及びメモリ37に保持されている参照画像に基づいて予測画像を生成するように構成されている。 The inter-prediction unit 33 is configured to generate a prediction image based on the motion vector of the coded target CU output by the entropy decoding unit 31 and the reference image held in the memory 37.

逆量子化・逆変換部34は、エントロピー復号部31によって出力された量子化された変換係数に対して、Transform skipフラグに応じて、逆直交変換処理及び逆量子化処理を施し(或いは、逆直交変換処理を施すことなく逆量子化処理を施し)、符号化対象CUの残差信号を得るように構成されている。 The inverse quantization / inverse conversion unit 34 performs an inverse orthogonal conversion process and an inverse quantization process on the quantized conversion coefficient output by the entropy decoding unit 31 according to the Transform skip flag (or the reverse). The inverse quantization process is performed without performing the orthogonal transformation process), and the residual signal of the CU to be encoded is obtained.

復号画像生成部35は、インター予測部33によって生成された予測画像と逆量子化・逆変換部34によって生成された残差信号とを加えることで復号画像を生成するように構成されている。 The decoded image generation unit 35 is configured to generate a decoded image by adding the predicted image generated by the inter-prediction unit 33 and the residual signal generated by the inverse quantization / inverse conversion unit 34.

メモリ37は、復号画像生成部35によって生成された復号画像を、インター予測のための参照画像として利用可能に保持するように構成されている。 The memory 37 is configured to hold the decoded image generated by the decoded image generation unit 35 so as to be available as a reference image for inter-prediction.

図6に、本実施形態に係る復号装置3の動作の一例について説明するためのフローチャートについて示す。 FIG. 6 shows a flowchart for explaining an example of the operation of the decoding device 3 according to the present embodiment.

図6に示すように、ステップS201において、復号装置3は、符号化装置1から出力されたストリームに対してエントロピー復号処理を施すことによって、符号化装置1から出力されたストリームから、量子化された直交変換係数及び符号化対象CUの動きベクトル等を復号し、符号化対象CUの動きベクトルと、符号化対象CUの同階層CUの動きベクトルと、かかる同階層CUにおける直交変換処理の適用の有無とに基づいて、符号化対象CUにおいて直交変換処理を適用するか否か(Transform skipモードを適用するか否か)について決定する。 As shown in FIG. 6, in step S201, the decoding device 3 is quantized from the stream output from the coding device 1 by performing an entropy decoding process on the stream output from the coding device 1. Decoding the orthogonal conversion coefficient, the motion vector of the coding target CU, etc., the motion vector of the coding target CU, the motion vector of the same layer CU of the coding target CU, and the application of the orthogonal conversion process in the same layer CU. Whether or not to apply the orthogonal conversion process (whether or not to apply the Transform skip mode) is determined based on the presence or absence of the coded target CU.

ステップS202において、復号装置3は、符号化対象CUの動きベクトル及び保持されている参照画像に基づいて予測画像を生成し、量子化された変換係数に対して、Transform skipフラグに応じて、逆量子化処理及び逆変換処理(例えば、逆直交変換処理)を施すこと(或いは、逆直交変換処理を施すことなく逆量子化処理を施すこと)によって、残差信号を生成し、予測画像と残差信号とを加えることで復号画像を生成する。 In step S202, the decoding device 3 generates a predicted image based on the motion vector of the CU to be encoded and the held reference image, and reverses the quantized conversion coefficient according to the Transform skip flag. A residual signal is generated by performing quantization processing and inverse conversion processing (for example, inverse orthogonal conversion processing) (or performing inverse quantization processing without performing inverse orthogonal conversion processing), and a prediction image and a residual A decoded image is generated by adding a difference signal.

本実施形態に係る符号化装置1及び復号装置3によれば、符号化対象CUの動きベクトル及び同階層CUの動きベクトルが同一であった場合には、かかる同階層CUにおける直交変換処理を適用の有無に応じて符号化対象CUにおける直交変換処理の適用の有無を暗黙的に決定することで、符号化効率を向上させることができる。 According to the coding device 1 and the decoding device 3 according to the present embodiment, when the motion vector of the coded target CU and the motion vector of the same layer CU are the same, the orthogonal conversion process in the same layer CU is applied. The coding efficiency can be improved by implicitly determining whether or not the orthogonal conversion process is applied to the coded target CU according to the presence or absence of.

本実施形態に係る符号化装置1及び復号装置3によれば、符号化対象CUにおいて適用する直交変換処理の種類を決定する際に、符号化対象CU及び同階層CUにおいて適用する動きベクトルが同一である場合には、かかる同階層CUにおいて適用されている直交変換処理を選択禁止とすることで、処理の高速化を図ることができる。 According to the coding device 1 and the decoding device 3 according to the present embodiment, the motion vectors applied in the coding target CU and the same layer CU are the same when determining the type of orthogonal conversion processing applied in the coding target CU. If this is the case, the speed of the processing can be increased by prohibiting the selection of the orthogonal conversion processing applied in the same layer CU.

(第2の実施形態)
以下、本発明の第2の実施形態について、上述の第1の実施形態との相違点に着目して説明する。なお、本実施形態では、符号化対象CUに対して適用可能な直交変換処理が複数存在しているものとする。以下、説明の便宜のため、符号化対象CUに対して適用可能な直交変換処理として、第1の直交変換処理及び第2の直交変換処理が存在しているケースを例に挙げて説明する。
(Second Embodiment)
Hereinafter, the second embodiment of the present invention will be described focusing on the differences from the first embodiment described above. In this embodiment, it is assumed that there are a plurality of orthogonal transformation processes applicable to the CU to be encoded. Hereinafter, for convenience of explanation, a case where a first orthogonal transformation process and a second orthogonal transformation process exist as orthogonal transformation processes applicable to the CU to be encoded will be described as an example.

上述の第1の実施形態に係る符号化装置1では、直交変換決定部12は、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて直交変換処理が適用されていない場合には、暗黙的に符号化対象CUにおいて直交変換処理を適用すると決定するように構成されており、また、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて直交変換処理が適用されている場合には、暗黙的に符号化対象CUにおいて直交変換処理を適用しないと決定するように構成されている。 In the coding device 1 according to the first embodiment described above, in the orthogonal conversion determination unit 12, the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and the orthogonal conversion determination unit 12 is orthogonal in the same layer CU. When the conversion process is not applied, it is implicitly configured to determine that the orthogonal conversion process is applied in the coded target CU, and the motion vector of the same layer CU and the motion vector of the coded target CU. Are the same, and when the orthogonal conversion process is applied in the same layer CU, it is implicitly configured to determine that the orthogonal conversion process is not applied in the coded target CU.

同様に、上述の第1の実施形態に係る復号装置3では、直交変換決定部32は、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて直交変換処理が適用されていない場合には、暗黙的に符号化対象CUにおいて直交変換処理が適用されていると決定するように構成されており、また、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて直交変換処理が適用されている場合には、暗黙的に符号化対象CUにおいて直交変換処理が適用されていないと決定するように構成されている。 Similarly, in the decoding device 3 according to the first embodiment described above, the orthogonal conversion determination unit 32 uses the case where the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and the same layer CU. If the orthogonal conversion process is not applied in, it is implicitly configured to determine that the orthogonal conversion process is applied in the coded target CU, and the motion vector and coding of the same layer CU. When the motion vectors of the target CUs are the same and the orthogonal conversion process is applied in the same layer CU, it is implicitly determined that the orthogonal conversion process is not applied in the coded target CU. It is configured in.

これに対して、本実施形態に係る符号化装置1では、直交変換決定部12は、符号化対象CUの動きベクトルと、同階層CUの動きベクトルと、同階層CUにおいて適用されている直交変換処理の種類とに基づいて、符号化対象CUにおいて適用しない直交変換処理の種類(適用を暗黙的に禁止する直交変換処理の種類)について決定するように構成されている。 On the other hand, in the coding apparatus 1 according to the present embodiment, the orthogonal transformation determination unit 12 uses the motion vector of the coded target CU, the motion vector of the same layer CU, and the orthogonal conversion applied in the same layer CU. It is configured to determine the type of orthogonal transformation processing that is not applied in the coded CU (the type of orthogonal transformation processing that implicitly prohibits application) based on the type of processing.

そして、エントロピー符号化部15は、符号化対象CUの残差信号及び動きベクトルと共に、符号化対象CUにおいて適用する直交変換処理の種類を示す情報を符号化するように構成されている。 Then, the entropy coding unit 15 is configured to encode information indicating the type of orthogonal conversion processing applied in the coding target CU together with the residual signal and the motion vector of the coding target CU.

具体的には、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいてTransform skipが適用されている場合、直交変換決定部12は、符号化対象CUにおいて、Transform skipの適用を禁止し(符号化対象CUにおいて適用しない直交変換処理の種類としてTransform skipを選択し)、第1の直交変換処理或いは第2の直交変換処理を適用すると決定するように構成されている。 Specifically, when the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and when the Transform skip is applied in the same layer CU, the orthogonal conversion determination unit 12 encodes. It is determined that the application of the Transform skip is prohibited in the target CU (Transform skip is selected as the type of the orthogonal conversion process that is not applied in the coded target CU), and the first orthogonal conversion process or the second orthogonal conversion process is applied. It is configured as follows.

また、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて第1の直交変換処理が適用されている場合、直交変換決定部12は、符号化対象CUにおいて、第1の直交変換処理の適用を禁止し(符号化対象CUにおいて適用しない直交変換処理の種類として第1の直交変換処理を選択し)、Transform skip或いは第2の直交変換処理を適用すると決定するように構成されている。 Further, when the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and when the first orthogonal conversion process is applied in the same layer CU, the orthogonal conversion determination unit 12 uses the code. The application of the first orthogonal conversion process is prohibited in the target CU to be converted (the first orthogonal conversion process is selected as the type of the orthogonal conversion process not applied in the target CU to be encoded), and the Transform skip or the second orthogonal conversion process is performed. Is configured to determine to apply.

さらに、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて第2の直交変換処理が適用されている場合、直交変換決定部12は、符号化対象CUにおいて、第2の直交変換処理の適用を禁止し(符号化対象CUにおいて適用しない直交変換処理の種類として第2の直交変換処理を選択し)、Transform skip或いは第1の直交変換処理を適用すると決定するように構成されている。 Further, when the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and when the second orthogonal conversion process is applied in the same layer CU, the orthogonal conversion determination unit 12 uses the code. The application of the second orthogonal conversion process is prohibited in the CU to be converted (the second orthogonal conversion process is selected as the type of the orthogonal conversion process not applied in the CU to be encoded), and the Transfer form skip or the first orthogonal conversion process is performed. Is configured to determine to apply.

すなわち、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいてTransform skipが適用されている場合には、直交変換決定部12は、符号化対象CUにおいてTransform skipの適用を暗黙的に禁止するように構成されている。 That is, when the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and when the Transform skip is applied in the same layer CU, the orthogonal conversion determination unit 12 is the coded target. It is configured to implicitly prohibit the application of the Motion skip in the CU.

かかる場合、エントロピー符号化部15は、Transform skipフラグについて符号化せず、符号化対象CUにおいて適用する直交変換処理の種類を示すフラグを符号化するように構成されている。 In such a case, the entropy coding unit 15 is configured not to encode the Transform skip flag but to encode the flag indicating the type of the orthogonal transformation process applied in the coded target CU.

同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいてTransform skipが適用されていない場合には、エントロピー符号化部15は、符号化対象CUにおいてTransform skipフラグについて符号化するように構成されている。 When the motion vector of the CU of the same layer and the motion vector of the CU to be encoded are the same, and when the Transform skip is not applied in the CU of the same layer, the entropy coding unit 15 performs the entropy coding unit 15 in the CU to be encoded. It is configured to encode for the Transform skip flag.

かかる場合、エントロピー符号化部15は、符号化対象CUにおいてTransform skipを適用する場合には、適用する直交変換処理の種類を示すフラグについて符号化しないように構成されている一方、符号化対象CUにおいてTransform skipを適用しない場合には、(同階層CUに適用した種類の直交変換処理を除く)適用可能な直交変換処理のリストに基づいて符号化対象CUに適用する直交変換の種類を示すフラグを符号化するように構成されている。 In such a case, the entropy coding unit 15 is configured not to encode the flag indicating the type of the orthogonal conversion process to be applied when the Transfer form skip is applied in the coded target CU, while the coded target CU is configured. When the Transform skip is not applied in, a flag indicating the type of orthogonal transformation applied to the coded CU based on the list of applicable orthogonal transformation processes (excluding the types of orthogonal transformation processes applied to the same layer CU). Is configured to encode.

例えば、本実施形態の例のように、2種類の直交変換処理が用意されているケースの場合、同階層CUの動きベクトル及び符号化対象CUの動きベクトルが同一である場合で、且つ、同階層CUにおいて第1の直交変換処理が適用されている場合、且つ、符号化対象CUにおいてTransform skipを適用しない場合には、符号化対象CUに適用する直交変換処理は一意に第2の直交変換処理と決定することができるため、エントロピー符号化部15は、符号化対象CUに適用する直交変換処理の種類を示すフラグについて符号化しないように構成されている。 For example, in the case where two types of orthogonal conversion processes are prepared as in the example of the present embodiment, the motion vector of the same layer CU and the motion vector of the coded target CU are the same, and the same. When the first orthogonal conversion process is applied in the hierarchical CU and when the Transfer form skip is not applied in the coded target CU, the orthogonal conversion process applied to the coded target CU is uniquely the second orthogonal conversion process. Since it can be determined as processing, the entropy coding unit 15 is configured not to encode the flag indicating the type of orthogonal conversion processing applied to the coded target CU.

同様に、本実施形態に係る復号装置3では、直交変換決定部32は、同階層CUの動きベクトルと、同階層CUにおいて適用されている直交変換処理の種類とに基づいて、符号化対象CUにおいて適用されていない直交変換処理の種類を決定するように構成されている。 Similarly, in the decoding device 3 according to the present embodiment, the orthogonal transformation determination unit 32 determines the coding target CU based on the motion vector of the same layer CU and the type of the orthogonal conversion process applied in the same layer CU. It is configured to determine the type of orthogonal transformation process that has not been applied in.

本実施形態に係る符号化装置1及び復号装置3によれば、符号化対象CUの動きベクトル及び同階層CUの動きベクトルが同一であった場合には、かかる同階層CUに適用されている直交変換処理の種類に応じて符号化対象CUに適用する直交変換処理の種類を決定することで、符号化効率を向上させることができる。 According to the coding device 1 and the decoding device 3 according to the present embodiment, when the motion vector of the coded target CU and the motion vector of the same layer CU are the same, the orthogonality applied to the same layer CU is applied. The coding efficiency can be improved by determining the type of orthogonal conversion processing to be applied to the coding target CU according to the type of conversion processing.

(その他の実施形態)
上述のように、本発明について、上述した実施形態によって説明したが、かかる実施形態における開示の一部をなす論述及び図面は、本発明を限定するものであると理解すべきではない。かかる開示から当業者には様々な代替実施形態、実施例及び運用技術が明らかとなろう。
(Other embodiments)
As mentioned above, the invention has been described by the embodiments described above, but the statements and drawings that form part of the disclosure in such embodiments should not be understood as limiting the invention. Such disclosure will reveal to those skilled in the art various alternative embodiments, examples and operational techniques.

また、上述の実施形態では特に触れていないが、上述の符号化装置1及び復号装置3によって行われる各処理をコンピュータに実行させるプログラムが提供されてもよい。また、かかるプログラムは、コンピュータ読取り可能媒体に記録されていてもよい。コンピュータ読取り可能媒体を用いれば、かかるプログラムをコンピュータにインストールすることが可能である。ここで、かかるプログラムが記録されたコンピュータ読取り可能媒体は、非一過性の記録媒体であってもよい。非一過性の記録媒体は、特に限定されるものではないが、例えば、CD-ROMやDVD-ROM等の記録媒体であってもよい。 Further, although not particularly mentioned in the above-described embodiment, a program for causing a computer to execute each process performed by the above-mentioned encoding device 1 and decoding device 3 may be provided. The program may also be recorded on a computer-readable medium. Computer-readable media can be used to install such programs on computers. Here, the computer-readable medium on which such a program is recorded may be a non-transient recording medium. The non-transient recording medium is not particularly limited, but may be, for example, a recording medium such as a CD-ROM or a DVD-ROM.

或いは、上述の符号化装置1及び復号装置3内の少なくとも一部の機能を実現するためのプログラムを記憶するメモリ及びメモリに記憶されたプログラムを実行するプロセッサによって構成されるチップが提供されてもよい。 Alternatively, even if a chip composed of a memory for storing a program for realizing at least a part of the functions in the encoding device 1 and the decoding device 3 described above and a processor for executing the program stored in the memory is provided. Good.

1…符号化装置
11…ブロック分割部
12…直交変換決定部
13…インター予測部
14…直交変換・量子化部
15…エントロピー符号化部
16…逆量子化・逆変換部
17…メモリ
3…復号装置
31…エントロピー復号部
32…直交変換決定部
33…インター予測部
34…逆量子化・逆変換部
35…復号画像生成部
36…メモリ
1 ... Coding device 11 ... Block division unit 12 ... Orthogonal conversion determination unit 13 ... Inter prediction unit 14 ... Orthogonal conversion / quantization unit 15 ... Entropy coding unit 16 ... Inverse quantization / inverse conversion unit 17 ... Memory 3 ... Decoding Device 31 ... Entropy decoding unit 32 ... Orthogonal conversion determination unit 33 ... Inter prediction unit 34 ... Inverse quantization / inverse conversion unit 35 ... Decoded image generation unit 36 ... Memory

Claims (12)

動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成さ
れている符号化装置であって、
符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを
有しており且つ最後に分割されるときに前記符号化対象ブロックと同一のブロック内に存
在していたブロックである同階層ブロックの動きベクトルとが同一である場合、前記同階
層ブロックにおける直交変換処理の適用の有無に基づいて、前記符号化対象ブロックにお
いて直交変換処理を適用するか否かについて決定するように構成されている決定部と、
前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されてい
る符号化部とを具備していることを特徴とする符号化装置。
A coding device configured to divide the original image of each frame constituting a moving image into blocks and encode them.
The motion vector of the coded block and the block having the same width and height as the coded block and existing in the same block as the coded block when the block is finally divided. If the motion vector of the same hierarchical block is are the same, on the basis of the existence of the application of orthogonal transform processing in the hierarchical block to determine whether to apply the orthogonal transform processing in the encoding target block And the decision part that is configured as
A coding apparatus including a coding unit configured to code a residual signal and a motion vector of the coded block.
前記決定部は、前記同階層ブロックの動きベクトル及び前記符号化対象ブロックの動き
ベクトルが同一である場合で、且つ、前記同階層ブロックにおいて直交変換処理が適用さ
れていない場合には、前記符号化対象ブロックにおいて直交変換処理を適用すると決定し
、前記同階層ブロックにおいて直交変換処理が適用されている場合には、前記符号化対象
ブロックにおいて直交変換処理を適用しないと決定するように構成されており、
前記符号化部は、前記符号化対象ブロックにおいて直交変換処理を適用するか否かにつ
いて示す情報を符号化することなく、前記符号化対象ブロックの残差信号及び動きベクト
ルを符号化するように構成されていることを特徴とする請求項1に記載の符号化装置。
When the motion vector of the same layer block and the motion vector of the coded target block are the same, and the orthogonal conversion process is not applied to the same layer block, the determination unit encodes the code. It is configured to determine that the orthogonal conversion process is applied in the target block, and if the orthogonal conversion process is applied in the same layer block, it is determined not to apply the orthogonal conversion process in the coded target block. ,
The coding unit is configured to encode the residual signal and motion vector of the coded block without encoding information indicating whether or not the orthogonal conversion process is applied to the coded block. The coding apparatus according to claim 1, wherein the coding apparatus is used.
動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成さ
れている符号化装置であって、
符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを
有しており且つ最後に分割されるときに前記符号化対象ブロックと同一のブロック内に存
在していたブロックである同階層ブロックの動きベクトルとが同一である場合、前記同階
層ブロックにおいて適用されている直交変換処理の種類に基づいて、前記符号化対象ブロ
ックにおいて適用しない直交変換処理の種類について決定するように構成されている決定
部と、
前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されてい
る符号化部とを具備することを特徴とする符号化装置。
A coding device configured to divide the original image of each frame constituting a moving image into blocks and encode them.
The motion vector of the coded block and the block having the same width and height as the coded block and existing in the same block as the coded block when the block is finally divided. If the motion vector of the same hierarchical block is are the same, on the basis of the kind of the orthogonal transform processing it has been applied in the same layer block, determining the orthogonal transform processing type is not applied in the encoding target block And the decision part that is configured as
A coding apparatus including a coding unit configured to code a residual signal and a motion vector of the coded block.
動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成され
ている復号装置であって、
符号化対象ブロック動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを有
しており且つ最後に分割されるときに前記符号化対象ブロックと同一のブロック内に存在
していたブロックである同階層ブロックの動きベクトルとが同一である場合、前記同階層
ブロックにおける直交変換処理の適用の有無に基づいて、前記符号化対象ブロックにおい
て直交変換処理が適用されているか否かについて決定するように構成されている決定部を
具備することを特徴とする復号装置。
It is a decoding device that is configured to divide the original image of each frame that constitutes a moving image into blocks and decode it.
A block to be coded A motion vector and a block having the same width and height as the block to be coded and existing in the same block as the block to be coded when the block is finally divided. When the motion vector of a certain hierarchical block is the same, it is determined whether or not the orthogonal conversion process is applied in the coded target block based on whether or not the orthogonal conversion process is applied in the same layer block. A decoding device comprising a determination unit configured in.
前記決定部は、前記同階層ブロックの動きベクトル及び前記符号化対象ブロックの動き
ベクトルが同一である場合で、且つ、前記同階層ブロックにおいて直交変換処理が適用さ
れていない場合には、前記符号化対象ブロックにおいて直交変換処理が適用されていると
決定し、前記同階層ブロックにおいて直交変換処理が適用されている場合には、前記符号
化対象ブロックにおいて直交変換処理が適用されていないと決定するように構成されてい
ることを特徴とする請求項4に記載の復号装置。
When the motion vector of the same layer block and the motion vector of the coded target block are the same, and the orthogonal conversion process is not applied to the same layer block, the determination unit encodes the code. It is determined that the orthogonal conversion process is applied in the target block, and when the orthogonal conversion process is applied in the same layer block, it is determined that the orthogonal conversion process is not applied in the coded target block. The decoding device according to claim 4, wherein the decoding device is configured in the above.
動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成され
ている復号装置であって、
符号化対象ブロックの動きベクトルと、前記符号化対象ブロックと同一の幅及び高さを
有しており且つ最後に分割されるときに前記符号化対象ブロックと同一のブロック内に存
在していたブロックである同階層ブロックの動きベクトルとが同一である場合、前記同階
層ブロックにおいて適用されている直交変換処理の種類に基づいて、前記符号化対象ブロ
ックにおいて適用されていない直交変換処理の種類を決定するように構成されている決定
部を具備することを特徴とする復号装置。
It is a decoding device that is configured to divide the original image of each frame that constitutes a moving image into blocks and decode it.
The motion vector of the coded block and the block having the same width and height as the coded block and existing in the same block as the coded block when the block is finally divided. If the motion vector of the same hierarchical block is are the same, on the basis of the kind of the orthogonal transform processing has been applied in the same layer block, the orthogonal transform process types that have not been applied in the encoding target block A decoding device comprising a determination unit configured to determine.
動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成さ It is configured to divide the original image of each frame that composes the moving image into blocks and encode it.
れている符号化装置であって、It is a coding device that is
符号化対象ブロックの動きベクトルと、最後に分割されるときに前記符号化対象ブロッ The motion vector of the coded block and the coded block when it is finally divided.
クと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルとがThe motion vector of the same layer block, which is a block that existed in the same block as
同一である場合、前記同階層ブロックにおける直交変換処理の適用の有無に基づいて、前If they are the same, the previous one is based on whether or not the orthogonal transformation process is applied in the same layer block.
記符号化対象ブロックにおいて直交変換処理を適用するか否かについて決定するように構It is possible to decide whether or not to apply the orthogonal transformation process in the block to be coded.
成されている決定部と、The decision-making part that is made and
前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されてい It is configured to encode the residual signal and motion vector of the coded block.
る符号化部とを具備していることを特徴とする符号化装置。A coding device including a coding unit.
動画像を構成するフレーム単位の原画像をブロックに分割して符号化するように構成さ It is configured to divide the original image of each frame that composes the moving image into blocks and encode it.
れている符号化装置であって、It is a coding device that is
符号化対象ブロックの動きベクトルと、最後に分割されるときに前記符号化対象ブロッ The motion vector of the coded block and the coded block when it is finally divided.
クと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルとがThe motion vector of the same layer block, which is a block that existed in the same block as
同一である場合、前記同階層ブロックにおいて適用されている直交変換処理の種類に基づIf they are the same, they are based on the type of orthogonal transformation process applied in the same layer block.
いて、前記符号化対象ブロックにおいて適用しない直交変換処理の種類について決定するThe type of orthogonal transformation processing that is not applied in the coded block is determined.
ように構成されている決定部と、The decision-making part, which is configured as
前記符号化対象ブロックの残差信号及び動きベクトルを符号化するように構成されてい It is configured to encode the residual signal and motion vector of the coded block.
る符号化部とを具備することを特徴とする符号化装置。A coding device including a coding unit.
動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成され It is configured to divide the original image of each frame that composes the moving image into blocks and decode it.
ている復号装置であって、Decryptor
符号化対象ブロック動きベクトルと、最後に分割されるときに前記符号化対象ブロック Coded block motion vector and the coded block when it is finally divided
と同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルとが同The motion vector of the same layer block, which is a block that existed in the same block as
一である場合、前記同階層ブロックにおける直交変換処理の適用の有無に基づいて、前記If it is 1, the said, based on whether or not the orthogonal transformation process is applied in the same layer block.
符号化対象ブロックにおいて直交変換処理が適用されているか否かについて決定するようTo determine whether or not the orthogonal transformation process is applied in the coded block
に構成されている決定部を具備することを特徴とする復号装置。A decoding device comprising a determination unit configured in.
動画像を構成するフレーム単位の原画像をブロックに分割して復号するように構成され It is configured to divide the original image of each frame that composes the moving image into blocks and decode it.
ている復号装置であって、Decryptor
符号化対象ブロックの動きベクトルと、最後に分割されるときに前記符号化対象ブロッ The motion vector of the coded block and the coded block when it is finally divided.
クと同一のブロック内に存在していたブロックである同階層ブロックの動きベクトルとがThe motion vector of the same layer block, which is a block that existed in the same block as
同一である場合、前記同階層ブロックにおいて適用されている直交変換処理の種類に基づIf they are the same, they are based on the type of orthogonal transformation process applied in the same layer block.
いて、前記符号化対象ブロックにおいて適用されていない直交変換処理の種類を決定するThe type of orthogonal transformation processing that is not applied in the coded block is determined.
ように構成されている決定部を具備することを特徴とする復号装置。A decoding device comprising a determination unit configured as described above.
コンピュータを、請求項1〜3、7、8のいずれか一項に記載の符号化装置として機能
させるためのプログラム。
A program for causing a computer to function as the encoding device according to any one of claims 1, 3 , 7 , and 8 .
コンピュータを、請求項4〜6、9、10のいずれか一項に記載の復号装置として機能
させるためのプログラム。
A program for causing a computer to function as the decoding device according to any one of claims 4 to 6 , 9 , and 10 .
JP2016201528A 2016-10-13 2016-10-13 Encoding device, decoding device and program Active JP6792997B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016201528A JP6792997B2 (en) 2016-10-13 2016-10-13 Encoding device, decoding device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016201528A JP6792997B2 (en) 2016-10-13 2016-10-13 Encoding device, decoding device and program

Publications (2)

Publication Number Publication Date
JP2018064194A JP2018064194A (en) 2018-04-19
JP6792997B2 true JP6792997B2 (en) 2020-12-02

Family

ID=61966905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016201528A Active JP6792997B2 (en) 2016-10-13 2016-10-13 Encoding device, decoding device and program

Country Status (1)

Country Link
JP (1) JP6792997B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4152748A1 (en) * 2018-09-02 2023-03-22 LG Electronics, Inc. Method and apparatus for processing image signal
CN114286095B (en) * 2020-09-27 2023-02-07 腾讯科技(深圳)有限公司 Video decoding method, device and equipment

Also Published As

Publication number Publication date
JP2018064194A (en) 2018-04-19

Similar Documents

Publication Publication Date Title
JP5277257B2 (en) Video decoding method and video encoding method
WO2018045944A1 (en) Methods and apparatuses of candidate set determination for binary-tree splitting blocks
JP2019536376A5 (en)
KR101717510B1 (en) Device, method and program for image prediction encoding, device, method and program for image prediction decoding, and encoding/decoding system and method
KR20130085977A (en) Multiple sign bit hiding within a transform unit
JP2009111691A (en) Image-encoding device and encoding method, and image-decoding device and decoding method
US20180376150A1 (en) Encoding device, decoding device, and program
US11750822B2 (en) Encoding device, decoding device, and program
JP7246449B2 (en) Encoding device, decoding device and program
JP6792997B2 (en) Encoding device, decoding device and program
JP7242571B2 (en) Image encoding and decoding method, encoding and decoding apparatus and corresponding computer program
JP6895247B2 (en) Coding device, decoding device and program
JP6792996B2 (en) Encoding device, decoding device and program
JP2015211386A (en) Dynamic image encoding device, dynamic image encoding method, and computer program for dynamic image encoding
JP7194539B2 (en) Encoding device, decoding device and program
JP7343662B2 (en) Decoding device and program
JP7093152B2 (en) Encoding device, decoding device and program
JP7092455B2 (en) Encoding device, decoding device and program
JP7507912B2 (en) Method for encoding and decoding an image, encoding and decoding device and corresponding computer program product
JP7507913B2 (en) Method for encoding and decoding an image, encoding and decoding device and corresponding computer program product
JP7449253B2 (en) Encoding device, decoding device and program
JP5957513B2 (en) Video decoding method
WO2011142221A1 (en) Encoding device and decoding device
JP2016092458A (en) Moving image encoding device, moving image encoding method, and program
JP2015185897A (en) Image encoding method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190904

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20200528

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20200612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200728

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200924

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201109

R150 Certificate of patent or registration of utility model

Ref document number: 6792997

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150