JP2010233135A - Moving image encoding device and moving image decoding device - Google Patents
Moving image encoding device and moving image decoding device Download PDFInfo
- Publication number
- JP2010233135A JP2010233135A JP2009080831A JP2009080831A JP2010233135A JP 2010233135 A JP2010233135 A JP 2010233135A JP 2009080831 A JP2009080831 A JP 2009080831A JP 2009080831 A JP2009080831 A JP 2009080831A JP 2010233135 A JP2010233135 A JP 2010233135A
- Authority
- JP
- Japan
- Prior art keywords
- prediction
- vector
- processing block
- prediction vector
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、画面を複数のマクロブロック(以下、「MB」と呼ぶ。)に分割し、MB単位で符号化する際にインター符号化を許容する動画像符号化装置と、MB単位での復号の際にインター符号化を許容する動画像復号装置と、に関し、特に、符号化済みブロックにおける動きベクトルから、処理ブロックにおける動きベクトルの予測ベクトルを生成する動画像符号化装置および動画像復号装置に関する。 The present invention divides a screen into a plurality of macroblocks (hereinafter referred to as “MB”), a moving picture coding apparatus that allows inter coding when coding in MB, and decoding in MB In particular, the present invention relates to a moving picture decoding apparatus that allows inter coding and a moving picture decoding apparatus that generates a prediction vector of a motion vector in a processing block from a motion vector in a coded block. .
従来より、MB単位での符号化の際にインター符号化を許容する動画像符号化装置において、MBまたはMBを細分化したブロック(以下、単に「ブロック」と呼ぶ。)単位でインター符号化を行っている。この場合、例えば、後述の非特許文献1に記載の手法や、後述の非特許文献2に記載の手法により、予測ベクトルを生成する。これら手法によれば、予測ベクトルと、動き補償により求められる動きベクトルと、の差分のみを符号化することで、動きベクトルの符号化に要する符号量を抑制できる。
2. Description of the Related Art Conventionally, in a video encoding apparatus that allows inter encoding when encoding is performed in units of MB, inter encoding is performed in units of MBs or blocks obtained by subdividing MBs (hereinafter simply referred to as “blocks”). Is going. In this case, for example, a prediction vector is generated by a method described in Non-Patent Document 1 described later or a method described in
ここで、予測ベクトルを生成するブロックを処理ブロックとし、処理ブロックに隣接する符号化済みブロックを参照ブロックとし、参照ブロックの動きベクトルを参照ベクトルとする。すると、非特許文献1に記載の予測ベクトル生成手法では、参照ベクトルのメディアンによって成されるベクトルを予測ベクトルとして採用する。 Here, a block that generates a prediction vector is a processing block, an encoded block adjacent to the processing block is a reference block, and a motion vector of the reference block is a reference vector. Then, in the prediction vector production | generation method of a nonpatent literature 1, the vector formed by the median of a reference vector is employ | adopted as a prediction vector.
具体的には、非特許文献1に記載の予測ベクトル生成手法では、2つまたは3つの参照ブロックについて、全ての参照ベクトルのx成分およびy成分に関するメディアン(中央)を算出し、算出したx成分およびy成分によって成されるベクトルを予測ベクトルとする。この非特許文献1に記載の予測ベクトル生成手法について、図7を用いて以下に説明する。 Specifically, in the prediction vector generation method described in Non-Patent Document 1, the median (center) regarding the x component and the y component of all reference vectors is calculated for two or three reference blocks, and the calculated x component is calculated. A vector formed by the y component and the y component is a prediction vector. The prediction vector generation method described in Non-Patent Document 1 will be described below with reference to FIG.
図7において、Bpredは、予測ベクトルを生成するブロックである処理ブロックを示す。一方、Ba、Bb、Bcは、処理ブロックBpredに隣接するブロックである参照ブロックを示す。 In FIG. 7, B pred indicates a processing block that is a block for generating a prediction vector. On the other hand, B a , B b , and B c indicate reference blocks that are adjacent to the processing block B pred .
Vpredは、処理ブロックBpredにおける予測ベクトルを示し、Va、Vb、Vcのそれぞれは、参照ブロックBa、Bb、Bcのそれぞれにおける参照ベクトルを示す。ここで、参照ベクトルVa、Vb、Vcは、式(1)のように表すことができる。 V pred indicates a prediction vector in the processing block B pred , and each of V a , V b , and V c indicates a reference vector in each of the reference blocks B a , B b , and B c . Here, the reference vectors V a , V b , and V c can be expressed as in Expression (1).
式(1)において、xa、xb、xcのそれぞれは、参照ベクトルVa、Vb、Vcのそれぞれのx成分を示し、ya、yb、ycのそれぞれは、参照ベクトルVa、Vb、Vcのそれぞれのy成分を示す。 In the formula (1), each of x a, x b, x c, reference vector V a, V b, shows the respective x component of V c, each y a, y b, y c , reference vector Each y component of V a , V b , and V c is shown.
予測ベクトルVpredについて、x成分をxpredとし、y成分をypredとすると、非特許文献1に記載の予測ベクトル生成手法では、予測ベクトルVpredのx成分xpredおよびy成分ypredは、式(2)のように表される。 Assuming that the x component is x pred and the y component is y pred for the prediction vector V pred , in the prediction vector generation method described in Non-Patent Document 1, the x component x pred and the y component y pred of the prediction vector V pred are It is expressed as equation (2).
なお、式(2)の関数medianは、引数のメディアンを求める関数であり、式(3)のように表すことができる。 Note that the function median in Expression (2) is a function for obtaining the median of the argument, and can be expressed as Expression (3).
ところが、非特許文献1に記載の予測ベクトル生成手法では、絵柄特徴を考慮していないため、予測ベクトルと、動き補償により求められる動きベクトルと、の差分が大きくなり、動きベクトルの符号化に要する符号量が増加するおそれがあった。 However, since the predictive vector generation method described in Non-Patent Document 1 does not consider the pattern feature, the difference between the predictive vector and the motion vector obtained by motion compensation becomes large, which is necessary for encoding the motion vector. There is a possibility that the amount of codes increases.
一方、非特許文献2に記載の予測ベクトル生成手法では、参照ベクトルのメディアンによって成されるベクトルだけでなく、参照ベクトル自体も、予測ベクトルとして採用可能としている。このため、非特許文献1に記載の予測ベクトル生成手法と比べて、予測ベクトルとなりうる種類が増加するので、予測ベクトルと、動き補償により求められる動きベクトルと、の差分を小さくして、予測ベクトル性能を改善できる。
On the other hand, in the prediction vector generation method described in
非特許文献1に記載の予測ベクトル生成手法では、上述のように、予測ベクトルとして、参照ベクトルのメディアンによって成されるベクトルを採用しているが、絵柄特徴を考慮していないため、エッジ近傍での予測ベクトル性能の低下が著しい場合があった。この非特許文献1に記載の予測ベクトル生成手法におけるエッジ近傍での予測ベクトル性能の低下について、図8を用いて以下に説明する。なお、エッジとは、動きの異なるオブジェクト同士の境界といった、信号の変化が局所的に大きな部分を示す。 In the prediction vector generation method described in Non-Patent Document 1, as described above, the vector formed by the median of the reference vector is adopted as the prediction vector. In some cases, the decrease in the predicted vector performance was significant. Deterioration of the prediction vector performance near the edge in the prediction vector generation method described in Non-Patent Document 1 will be described below with reference to FIG. Note that an edge indicates a portion where a change in signal is locally large, such as a boundary between objects having different motions.
図8において、MVは、処理ブロックBpredにおける動きベクトルを示す。また、図8では、参照ブロックBaおよび処理ブロックBpredに、水平方向に延在する水平方向エッジが含まれており、参照ブロックBbおよび参照ブロックBcと、参照ブロックBaおよび処理ブロックBpredとで、動きベクトルが異なっている。 In FIG. 8, MV indicates a motion vector in the processing block B pred . In FIG. 8, the reference block B a and the processing block B pred include horizontal edges extending in the horizontal direction, and the reference block B b and the reference block B c , the reference block B a and the processing block are included. The motion vector is different from B pred .
ここで、説明を簡略化するため、参照ベクトルVa、Vb、Vcを式(4)のように表すこととする。 Here, in order to simplify the description, the reference vectors V a , V b , and V c are expressed as in Expression (4).
また、参照ベクトルVaと、処理ブロックBpredにおける動きベクトルMVとは、等しいものとすると、この動きベクトルMVを式(5)のように表すことができる。 Further, a reference vector V a, the motion vector MV in the processing block B pred, assuming equal, it is possible to represent this motion vector MV as in Equation (5).
一方、非特許文献1に記載の予測ベクトル生成手法により、参照ベクトルVa、Vb、Vcのメディアンによって成されるベクトルを予測ベクトルVpredとすると、この予測ベクトルVpredを式(6)のように表すことができる。 On the other hand, assuming that a vector formed by medians of the reference vectors V a , V b , and V c is a predicted vector V pred by the predicted vector generation method described in Non-Patent Document 1, the predicted vector V pred is expressed by the following equation (6). It can be expressed as
上述の式(5)および式(6)によれば、処理ブロックBpredにおいて、予測ベクトルVpredが動きベクトルMVから乖離する。このため、予測ベクトルVpredと動きベクトルMVとの差分が大きくなるので、動きベクトルの符号化に要する符号量が増加し、エッジ近傍での予測ベクトル性能が低下する。 According to the above equations (5) and (6), the prediction vector V pred deviates from the motion vector MV in the processing block B pred . For this reason, since the difference between the prediction vector V pred and the motion vector MV increases, the amount of code required to encode the motion vector increases, and the prediction vector performance near the edge decreases.
一方、非特許文献2に記載の予測ベクトル生成手法では、上述のように、参照ベクトルのメディアンによって成されるベクトルだけでなく、参照ベクトル自体も、予測ベクトルとして採用可能とすることで、予測ベクトルの絵柄適応性の向上を図っている。この手法によれば、エッジ近傍においても、エッジが延在する方向に沿った位置の参照ベクトルを予測ベクトルとして採用することで、適切な予測ベクトルを選択できるので、エッジ近傍での予測ベクトル性能が低下するのを防止できる。
On the other hand, in the prediction vector generation method described in
しかしながら、非特許文献2に記載の予測ベクトル生成手法では、適切な予測ベクトルを選択するためには、制御情報が必要となる。このため、非特許文献1に記載の予測ベクトル生成手法で十分な予測ベクトル性能が得られる絵柄においては、制御情報という付加情報の増加を招くだけである。
However, in the prediction vector generation method described in Non-Patent
そこで、本発明は、上述の課題に鑑みてなされたものであり、多様な絵柄に対して、付加情報の情報量を抑制しつつ、予測ベクトル性能を向上できる動画像符号化装置および動画像復号装置を提供することを目的とする。 Therefore, the present invention has been made in view of the above-described problems, and a moving picture coding apparatus and a moving picture decoding capable of improving the prediction vector performance while suppressing the amount of additional information for various patterns. An object is to provide an apparatus.
本発明は、上記の課題を解決するために、以下の事項を提案している。 The present invention proposes the following matters in order to solve the above problems.
(1)本発明は、マクロブロック単位での符号化の際にインター符号化を許容する動画像符号化装置において、インター符号化の際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段(例えば、図2の予測ベクトル制御部22に相当)と、前記予測ベクトル制御手段による推測に基づいて、前記処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段(例えば、図2の第1の予測ベクトル生成部23に相当)と、を備えることを特徴とする動画像符号化装置を提案している。
(1) The present invention provides a prediction vector for estimating a decrease in coding performance in a processing block in inter coding in a moving image coding apparatus that allows inter coding in coding in units of macroblocks. Based on the estimation by the control means (for example, the prediction
この発明によれば、マクロブロック単位での符号化の際にインター符号化を許容する動画像符号化装置に、インター符号化の際に処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、予測ベクトル制御手段による推測に基づいて処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段と、を設けた。このため、多様な絵柄に対して、付加情報の情報量を抑制しつつ、予測ベクトル性能を向上でき、符号化効率を向上できる。 According to the present invention, a moving picture coding apparatus that allows inter coding when coding in units of macroblocks, and a prediction vector control unit that estimates a decrease in coding performance in a processing block during inter coding. And prediction vector generation means for generating a prediction vector in the processing block based on the estimation by the prediction vector control means. For this reason, the prediction vector performance can be improved and the coding efficiency can be improved while suppressing the amount of additional information for various patterns.
(2)本発明は、(1)の動画像符号化装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、前記処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定し、前記予測ベクトル生成手段は、前記予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルから前記予測ベクトルとして最適なベクトルを選択し、前記予測ベクトルとすることを特徴とする動画像符号化装置を提案している。 (2) The present invention relates to the video encoding apparatus according to (1), wherein the prediction vector control means performs encoding in the processing block based on information on a motion vector in an encoded block adjacent to the processing block. A prediction vector generation method is determined by inferring a decrease in performance, and the prediction vector generation means is a coded block adjacent to the processing block based on the prediction vector generation method determined by the prediction vector control means. The video encoding device is characterized in that an optimal vector is selected as the prediction vector from the motion vectors in the above and used as the prediction vector.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定することとした。また、予測ベクトル生成手段により、予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、処理ブロックに隣接する符号化済みブロックにおける動きベクトルから予測ベクトルとして最適なベクトルを選択し、予測ベクトルとすることとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means determines a prediction vector generation method by estimating a decrease in the encoding performance in the processing block based on the information on the motion vector in the encoded block adjacent to the processing block. It was decided. Further, the prediction vector generation means selects an optimal vector as a prediction vector from the motion vectors in the encoded block adjacent to the processing block based on the prediction vector generation method determined by the prediction vector control means, It was decided to. According to this, an effect similar to the effect mentioned above can be produced.
(3)本発明は、(1)または(2)の動画像符号化装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像符号化装置を提案している。 (3) The present invention relates to the moving picture coding apparatus according to (1) or (2), wherein the prediction vector control means is based on a motion vector component or magnitude in a coded block adjacent to the processing block. The video encoding apparatus is characterized by estimating a decrease in encoding performance in the processing block.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means estimates a decrease in coding performance in the processing block based on the motion vector component or magnitude in the coded block adjacent to the processing block. According to this, an effect similar to the effect mentioned above can be produced.
(4)本発明は、(1)または(2)の動画像符号化装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像符号化装置を提案している。 (4) The present invention relates to the moving picture coding apparatus according to (1) or (2), wherein the prediction vector control means is based on a component or magnitude of a difference vector in a coded block adjacent to the processing block. The video encoding apparatus is characterized by estimating a decrease in encoding performance in the processing block.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means estimates a decrease in encoding performance in the processing block based on the component or magnitude of the difference vector in the encoded block adjacent to the processing block. According to this, an effect similar to the effect mentioned above can be produced.
(5)本発明は、(1)〜(4)のいずれかの動画像符号化装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、前記算出したメディアンと、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、を備えることを特徴とする動画像符号化装置を提案している。 (5) In the moving picture encoding apparatus according to any one of (1) to (4), the present invention provides that the prediction vector control means includes a motion vector component or magnitude in an encoded block adjacent to the processing block. Alternatively, a median of a difference vector component or magnitude in an encoded block adjacent to the processing block is calculated, and the calculated median and a motion vector component or magnitude in the encoded block, or Based on the evaluation by the evaluation unit that calculates a difference between the component or the size of the difference vector in the encoded block and evaluates the encoded block having the maximum calculated difference, the processing block A video encoding device comprising: an estimation unit that estimates a decrease in encoding performance in It has proposed a location.
この発明によれば、予測ベクトル制御手段に、評価部および推測部を設けた。そして、評価部により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、算出したメディアンと、符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、算出した差分が最大である符号化済みブロックを評価することとした。また、推測部により、評価部による評価に基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means is provided with the evaluation unit and the estimation unit. Then, the evaluation unit calculates the median of the motion vector component or magnitude in the encoded block adjacent to the processing block, or the difference vector component or magnitude in the encoded block adjacent to the processing block. The difference between the calculated median and the motion vector component or magnitude in the encoded block or the difference vector component or magnitude in the encoded block is calculated, and the encoded block having the maximum difference is calculated. We decided to evaluate. In addition, the estimation unit estimates a decrease in coding performance in the processing block based on the evaluation by the evaluation unit. According to this, an effect similar to the effect mentioned above can be produced.
(6)本発明は、(1)〜(4)のいずれかの動画像符号化装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、前記算出した平均と、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、を備えることを特徴とする動画像符号化装置を提案している。 (6) In the moving image encoding apparatus according to any one of (1) to (4), the present invention provides that the prediction vector control means includes a motion vector component or magnitude in an encoded block adjacent to the processing block. Alternatively, the average of the difference vector component or magnitude in the encoded block adjacent to the processing block is calculated, and the calculated average and the motion vector component or magnitude in the encoded block, or Based on the evaluation by the evaluation unit that calculates a difference between the component or the size of the difference vector in the encoded block and evaluates the encoded block having the maximum calculated difference, the processing block And a estimator for estimating a decrease in encoding performance of the video encoding device. There.
この発明によれば、予測ベクトル制御手段に、評価部および推測部を設けた。そして、評価部により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、算出した平均と、符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、算出した差分が最大である符号化済みブロックを評価することとした。また、推測部により、評価部による評価に基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means is provided with the evaluation unit and the estimation unit. Then, the evaluation unit calculates and calculates the motion vector component or magnitude in the encoded block adjacent to the processing block, or the average of the difference vector component or magnitude in the encoded block adjacent to the processing block. The difference between the average and the motion vector component or magnitude in the encoded block or the difference vector component or magnitude in the encoded block is calculated, and the encoded block having the maximum difference is calculated. We decided to evaluate. In addition, the estimation unit estimates a decrease in coding performance in the processing block based on the evaluation by the evaluation unit. According to this, an effect similar to the effect mentioned above can be produced.
(7)本発明は、(5)の動画像符号化装置について、前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルを前記予測ベクトルとすることを特徴とする動画像符号化装置を提案している。 (7) The present invention relates to the video encoding device according to (5), in which the prediction vector generation unit is configured to perform the processing when the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block. There has been proposed a moving picture coding apparatus characterized in that a motion vector in a coded block adjacent to a block is used as the prediction vector.
この発明によれば、予測ベクトル生成手段により、推測部により処理ブロックにおける符号化性能の低下の懸念があると推測された場合、処理ブロックに隣接する符号化済みブロックにおける動きベクトルを予測ベクトルとすることとした。これによれば、上述した効果と同様の効果を奏することができる。 According to this invention, when the prediction vector generation unit estimates that there is a concern that the encoding unit in the processing block may be deteriorated by the estimation unit, the motion vector in the encoded block adjacent to the processing block is used as the prediction vector. It was decided. According to this, an effect similar to the effect mentioned above can be produced.
(8)本発明は、(5)の動画像符号化装置について、前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記予測ベクトルとして採用する動きベクトルを識別するための制御情報を、前記処理ブロックの符号化されたデータとしてのビットストリームに付与することを特徴とする動画像符号化装置を提案している。 (8) The present invention relates to the video encoding device of (5), wherein the prediction vector generation means predicts the prediction when the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block. There has been proposed a moving picture coding apparatus characterized in that control information for identifying a motion vector adopted as a vector is added to a bit stream as coded data of the processing block.
この発明によれば、予測ベクトル生成手段により、推測部により処理ブロックにおける符号化性能の低下の懸念があると推測された場合、予測ベクトルとして採用する動きベクトルを識別するための制御情報を、処理ブロックの符号化されたデータとしてのビットストリームに付与することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, when the prediction vector generation unit estimates that there is a concern about a decrease in the coding performance in the processing block by the estimation unit, the control information for identifying the motion vector adopted as the prediction vector is processed. The bit stream is encoded data of the block. According to this, an effect similar to the effect mentioned above can be produced.
(9)本発明は、マクロブロック単位での復号の際にインター符号化を許容する動画像復号装置において、インター符号化されたブロックを復号する際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段(例えば、図5の予測ベクトル制御部132に相当)と、前記予測ベクトル制御手段による推測に基づいて、前記処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段(例えば、図5の第3の予測ベクトル生成部133に相当)と、を備えることを特徴とする動画像復号装置を提案している。
(9) According to the present invention, in a video decoding apparatus that allows inter-coding when decoding in units of macroblocks, when decoding an inter-coded block, a decrease in coding performance in the processing block is estimated. Prediction vector control means (for example, equivalent to the prediction
この発明によれば、マクロブロック単位での復号の際にインター符号化を許容する動画像復号装置に、インター符号化されたブロックを復号する際に処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、予測ベクトル制御手段による推測に基づいて処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段と、を設けた。このため、多様な絵柄に対して、付加情報の情報量を抑制しつつ、予測ベクトル性能を向上でき、符号化効率を向上できる。 According to the present invention, a moving picture decoding apparatus that allows inter-coding when decoding in units of macroblocks, and that predicts a decrease in coding performance in a processing block when decoding an inter-coded block. Vector control means and prediction vector generation means for generating a prediction vector in the processing block based on estimation by the prediction vector control means are provided. For this reason, the prediction vector performance can be improved and the coding efficiency can be improved while suppressing the amount of additional information for various patterns.
(10)本発明は、(9)の動画像復号装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、前記処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定し、前記予測ベクトル生成手段は、前記予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルから前記予測ベクトルとして最適なベクトルを選択し、前記予測ベクトルとすることを特徴とする動画像復号装置を提案している。 (10) In the moving picture decoding apparatus according to (9), the prediction vector control unit is configured to perform encoding performance in the processing block based on information on a motion vector in an encoded block adjacent to the processing block. The prediction vector generation method is determined based on the prediction vector generation method determined by the prediction vector control unit, and the prediction vector generation method determines the prediction vector generation method. A moving picture decoding apparatus is proposed in which an optimal vector is selected as the prediction vector from a motion vector and is used as the prediction vector.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定することとした。また、予測ベクトル生成手段により、予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、処理ブロックに隣接する符号化済みブロックにおける動きベクトルから予測ベクトルとして最適なベクトルを選択し、予測ベクトルとすることとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means determines a prediction vector generation method by estimating a decrease in the encoding performance in the processing block based on the information on the motion vector in the encoded block adjacent to the processing block. It was decided. Further, the prediction vector generation means selects an optimal vector as a prediction vector from the motion vectors in the encoded block adjacent to the processing block based on the prediction vector generation method determined by the prediction vector control means, It was decided to. According to this, an effect similar to the effect mentioned above can be produced.
(11)本発明は、(9)または(10)の動画像復号装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像復号装置を提案している。 (11) The present invention relates to the moving picture decoding apparatus according to (9) or (10), wherein the prediction vector control means is based on a component or magnitude of a motion vector in an encoded block adjacent to the processing block. A moving picture decoding apparatus has been proposed in which a decrease in encoding performance in the processing block is estimated.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means estimates a decrease in coding performance in the processing block based on the motion vector component or magnitude in the coded block adjacent to the processing block. According to this, an effect similar to the effect mentioned above can be produced.
(12)本発明は、(9)または(10)の動画像復号装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像復号装置を提案している。 (12) In the moving image decoding apparatus according to (9) or (10), the present invention provides the prediction vector control means, based on a component or magnitude of a difference vector in an encoded block adjacent to the processing block, A moving picture decoding apparatus has been proposed in which a decrease in encoding performance in the processing block is estimated.
この発明によれば、予測ベクトル制御手段により、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means estimates a decrease in encoding performance in the processing block based on the component or magnitude of the difference vector in the encoded block adjacent to the processing block. According to this, an effect similar to the effect mentioned above can be produced.
(13)本発明は、(9)〜(12)のいずれかの動画像復号装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、前記算出したメディアンと、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、を備えることを特徴とする動画像復号装置を提案している。 (13) In the moving image decoding device according to any one of (9) to (12), the prediction vector control unit may include a motion vector component or magnitude in a coded block adjacent to the processing block, Alternatively, a median of a difference vector component or magnitude in an encoded block adjacent to the processing block is calculated, and the calculated median and a motion vector component or magnitude in the encoded block, or the code A difference between the component or the size of the difference vector in the converted block, an evaluation unit that evaluates the encoded block having the maximum calculated difference, and the evaluation in the processing block based on the evaluation by the evaluation unit A video decoding device comprising: an estimation unit that estimates a decrease in encoding performance. It has proposed a location.
この発明によれば、予測ベクトル制御手段に、評価部および推測部を設けた。そして、評価部により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、算出したメディアンと、符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、算出した差分が最大である符号化済みブロックを評価することとした。また、推測部により、評価部による評価に基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means is provided with the evaluation unit and the estimation unit. Then, the evaluation unit calculates the median of the motion vector component or magnitude in the encoded block adjacent to the processing block, or the difference vector component or magnitude in the encoded block adjacent to the processing block. The difference between the calculated median and the motion vector component or magnitude in the encoded block or the difference vector component or magnitude in the encoded block is calculated, and the encoded block having the maximum difference is calculated. We decided to evaluate. In addition, the estimation unit estimates a decrease in coding performance in the processing block based on the evaluation by the evaluation unit. According to this, an effect similar to the effect mentioned above can be produced.
(14)本発明は、(9)〜(12)のいずれかの動画像復号装置について、前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、前記算出した平均と、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、を備えることを特徴とする動画像復号装置を提案している。 (14) In the moving image decoding device according to any one of (9) to (12), the prediction vector control unit may include a motion vector component or magnitude in a coded block adjacent to the processing block, Alternatively, the average of the difference vector component or magnitude in the encoded block adjacent to the processing block is calculated, and the calculated average and the motion vector component or magnitude in the encoded block, or the code A difference between the component or the size of the difference vector in the converted block, an evaluation unit that evaluates the encoded block having the maximum calculated difference, and the evaluation in the processing block based on the evaluation by the evaluation unit Proposing a video decoding device comprising: an estimation unit that estimates a decrease in encoding performance There.
この発明によれば、予測ベクトル制御手段に、評価部および推測部を設けた。そして、評価部により、処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、算出した平均と、符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、算出した差分が最大である符号化済みブロックを評価することとした。また、推測部により、評価部による評価に基づいて、処理ブロックにおける符号化性能の低下を推測することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, the prediction vector control means is provided with the evaluation unit and the estimation unit. Then, the evaluation unit calculates and calculates the motion vector component or magnitude in the encoded block adjacent to the processing block, or the average of the difference vector component or magnitude in the encoded block adjacent to the processing block. The difference between the average and the motion vector component or magnitude in the encoded block or the difference vector component or magnitude in the encoded block is calculated, and the encoded block having the maximum difference is calculated. We decided to evaluate. In addition, the estimation unit estimates a decrease in coding performance in the processing block based on the evaluation by the evaluation unit. According to this, an effect similar to the effect mentioned above can be produced.
(15)本発明は、(13)の動画像復号装置について、前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルを前記予測ベクトルとすることを特徴とする動画像復号装置を提案している。 (15) In the video decoding device according to (13), the prediction vector generation unit may be configured such that when the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block, the processing block A moving picture decoding apparatus is proposed in which a motion vector in an encoded block adjacent to is used as the prediction vector.
この発明によれば、予測ベクトル生成手段により、推測部により処理ブロックにおける符号化性能の低下の懸念があると推測された場合、処理ブロックに隣接する符号化済みブロックにおける動きベクトルを前記予測ベクトルとすることとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, when the prediction vector generation unit estimates that there is a concern about a decrease in encoding performance in the processing block by the estimation unit, the motion vector in the encoded block adjacent to the processing block is used as the prediction vector. It was decided to. According to this, an effect similar to the effect mentioned above can be produced.
(16)本発明は、(8)の動画像符号化装置により符号化されたビットストリームをマクロブロック単位で復号する際に、インター符号化を許容する動画像復号装置において、インター符号化されたブロックを復号する際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段(例えば、図5の予測ベクトル制御部132に相当)と、前記予測ベクトル制御手段による推測に基づいて、予測ベクトルを生成する予測ベクトル生成手段(例えば、図5の第3の予測ベクトル生成部133に相当)と、を備え、前記予測ベクトル生成手段は、前記予測ベクトル制御手段により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記ビットストリームに付与された制御情報に基づいて、前記予測ベクトルを決定することを特徴とする動画像復号装置を提案している。
(16) The present invention provides a video decoding device that allows inter-coding when the bit stream encoded by the video encoding device of (8) is decoded in units of macroblocks. When decoding a block, prediction vector control means (for example, equivalent to the prediction
この発明によれば、動画符号化装置により符号化されたビットストリームをマクロブロック単位で復号する際にインター符号化を許容する動画像復号装置に、インター符号化されたブロックを復号する際に処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、予測ベクトル制御手段による推測に基づいて予測ベクトルを生成する予測ベクトル生成手段と、を設けた。そして、予測ベクトル生成手段により、予測ベクトル制御手段により処理ブロックにおける符号化性能の低下の懸念があると推測された場合、ビットストリームに付与された制御情報に基づいて、予測ベクトルを決定することとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, a moving picture decoding apparatus that allows inter coding when a bit stream coded by a moving picture coding apparatus is decoded in units of macroblocks is processed when decoding an inter coded block. Prediction vector control means for estimating a decrease in coding performance in the block and prediction vector generation means for generating a prediction vector based on the estimation by the prediction vector control means are provided. When the prediction vector generation unit estimates that the prediction vector control unit has a concern about a decrease in coding performance in the processing block, the prediction vector generation unit determines a prediction vector based on the control information given to the bitstream; did. According to this, an effect similar to the effect mentioned above can be produced.
本発明によれば、エッジ近傍における予測ベクトル性能の低下を検知でき、低下を検知したときのみ、適切な予測ベクトルを示す制御情報を付与することで、効率的に制御情報を付与できる。このため、エッジ(特に動オブジェクト境界)に起因する問題を解決することができるとともに、問題解決に必要な付加情報の情報量を抑制できる。その結果、エッジ近傍における動きベクトル予測性能を改善でき、符号化効率を向上できる。 ADVANTAGE OF THE INVENTION According to this invention, the fall of the prediction vector performance in the edge vicinity can be detected, and control information can be efficiently provided by providing the control information which shows an appropriate prediction vector only when a fall is detected. For this reason, it is possible to solve the problem caused by the edge (particularly the moving object boundary) and to suppress the amount of additional information necessary for solving the problem. As a result, motion vector prediction performance in the vicinity of the edge can be improved, and coding efficiency can be improved.
以下、本発明の実施の形態について図面を参照しながら説明する。なお、以下の実施形態における構成要素は適宜、既存の構成要素等との置き換えが可能であり、また、他の既存の構成要素との組合せを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the constituent elements in the following embodiments can be appropriately replaced with existing constituent elements and the like, and various variations including combinations with other existing constituent elements are possible. Accordingly, the description of the following embodiments does not limit the contents of the invention described in the claims.
<動画像符号化装置AAの構成>
図1は、本発明の一実施形態に係る動画像符号化装置AAの構成を示すブロック図である。動画像符号化装置AAは、画面内のMB単位での符号化の際にインター符号化を許容し、動き補償により動きベクトルを決定するとともに、処理ブロックに隣接する符号化済みブロックの動きベクトルに基づいて予測ベクトルを生成し、動きベクトルと予測ベクトルとの差分を符号化する。この動画像符号化装置AAは、イントラ符号化予測値生成部1、インター符号化予測値生成部2、モード判定制御部3、DCT/量子化部4、IDCT/逆量子化部5、エントロピー符号化部6、第1のローカルメモリ7、および第2のローカルメモリ8を備える。
<Configuration of Video Encoding Device AA>
FIG. 1 is a block diagram showing a configuration of a moving picture coding apparatus AA according to an embodiment of the present invention. The moving image encoding device AA allows inter encoding when encoding in units of MB in the screen, determines a motion vector by motion compensation, and converts it into a motion vector of an encoded block adjacent to the processing block. Based on this, a prediction vector is generated, and a difference between the motion vector and the prediction vector is encoded. This moving image encoding apparatus AA includes an intra encoded prediction value generation unit 1, an inter encoded prediction
イントラ符号化予測値生成部1は、入力映像aと、符号化済みブロックにおける局所復号された画素値cと、同一フレーム内の処理ブロックに隣接する符号化済みブロックにおける予測情報(動きベクトルおよび発明手法の適用有無を表す情報を含む)dと、を入力とする。このイントラ符号化予測値生成部1は、符号化済みブロックにおける局所復号された画素値cに基づき、処理ブロックにおける各イントラ予測方向の予測値を生成し、生成した予測値に対して、入力信号との差分を求めることで、イントラ符号化における符号化歪みを算出する。そして、算出した符号化歪みと、符号化済みブロックにおける予測情報dと、に基づき、各イントラ予測方向におけるコスト値を算出し、算出したコスト値を比較して、処理ブロックの符号化に最も適したイントラ予測方向を選択する。そして、最適なイントラ予測方向における予測値eと、最適なイントラ予測方向に関する情報fと、最適なイントラ予測方向におけるコスト値gと、を出力する。 The intra-coded prediction value generation unit 1 includes the input image a, the locally decoded pixel value c in the encoded block, and prediction information (motion vector and invention) in the encoded block adjacent to the processing block in the same frame. D) including information indicating whether the method is applied or not. The intra encoded prediction value generation unit 1 generates a prediction value in each intra prediction direction in the processing block based on the locally decoded pixel value c in the encoded block, and an input signal is generated for the generated prediction value. The encoding distortion in intra coding is calculated by calculating | requiring the difference with these. Then, based on the calculated encoding distortion and the prediction information d in the encoded block, the cost value in each intra prediction direction is calculated, and the calculated cost value is compared, which is most suitable for encoding the processing block. Select the intra prediction direction. And the prediction value e in the optimal intra prediction direction, the information f regarding the optimal intra prediction direction, and the cost value g in the optimal intra prediction direction are output.
インター符号化予測値生成部2は、入力映像aと、符号化済みブロックにおける局所復号された画素値cと、同一フレーム内の処理ブロックに隣接する符号化済みブロックにおける予測情報dと、を入力とし、最適な動きベクトルにおける予測値hと、最適な動きベクトルの予測情報(後述の制御情報i1および差分ベクトルi2を含む)iと、最適な動きベクトルの予測情報におけるコスト値jと、を出力する。このインター符号化予測値生成部2の詳細については、図2を用いて後述する。
The inter-coded prediction
モード判定制御部3は、イントラ符号化予測値生成部1から出力される最適なイントラ予測方向におけるコスト値gと、インター符号化予測値生成部2から出力される最適な動きベクトルの予測情報におけるコスト値jと、を入力とし、これら入力されるコスト値g、jの比較を行い、処理ブロックに適する符号化モードを選択する。この符号化モードの選択により、イントラ符号化予測値生成部1から出力される最適なイントラ予測方向における予測値eと、インター符号化予測値生成部2から出力される最適な動きベクトルにおける予測値hと、のうち、符号化に用いられる予測値が切り替わることとなる。また、この符号化モードの選択により、イントラ符号化予測値生成部1から出力される最適なイントラ予測方向に関する情報fと、最適な動きベクトルの予測情報iと、のうち、符号化に用いられる情報が切り替わることとなる。
The mode
DCT/量子化部4は、入力映像aに対する予測値eまたは予測値hとの差分を入力とし、入力される信号に対して、DCT処理および量子化処理を施し、量子化されたDCT係数kを出力する。
The DCT /
IDCT/逆量子化部5は、量子化されたDCT係数kを入力とし、入力される信号に対して、逆量子化処理および逆DCT処理を施し、逆DCTされた画素信号mを出力する。
The IDCT /
エントロピー符号化部6は、量子化されたDCT係数kと、予測情報fまたは予測情報iと、を入力とし、入力される信号についてエントロピー符号化を行い、符号化データbとして出力する。
The
第1のローカルメモリ7は、予測値eまたは予測値hと、逆DCTされた画素信号mと、の和をとった信号、すなわち符号化済みブロックにおける局所復号された画素値cを入力とする。そして、符号化済みブロックにおける局所復号された画素値cを蓄積し、適宜、イントラ符号化予測値生成部1およびインター符号化予測値生成部2に供給する。
The first
第2のローカルメモリ8は、予測情報fまたは予測情報i、すなわち符号化済みブロックにおける予測情報dを入力とする。そして、符号化済みブロックにおける予測情報dを蓄積し、適宜、イントラ符号化予測値生成部1およびインター符号化予測値生成部2に供給する。なお、符号化済みブロックにおける予測情報dには、本発明手法の適用有無を示す情報が含まれる。
The second
<インター符号化予測値生成部2の構成>
図2は、インター符号化予測値生成部2の構成を示すブロック図である。インター符号化予測値生成部2は、MV(Motion Vector)抽出部21、予測ベクトル制御部22、第1の予測ベクトル生成部23、第2の予測ベクトル生成部24、参照先決定部25、ベクトル差分抽出部26、歪み算出部27、およびコスト値算出部28を備える。
<Configuration of Inter-coded Predicted
FIG. 2 is a block diagram illustrating a configuration of the inter-coded prediction
MV抽出部21は、符号化済みブロックにおける予測情報(差分ベクトル)dを入力とする。このMV抽出部21は、入力される予測情報dから、処理ブロックに隣接する符号化済みブロックにおける動きベクトルnの情報を抽出し、処理ブロックに隣接する符号化済みブロックにおける動きベクトルnを出力する。
The
予測ベクトル制御部22は、符号化済みブロックにおける予測情報dを入力とする。そして、入力される予測情報dに含まれる動きベクトルに基づき、各ブロック間での乖離を評価し、処理ブロックにおける発明手法の適用可否を判断し、判断に応じた制御信号pを出力する。この判断により、予測ベクトル生成手法が選択されることとなる。
The prediction
第1の予測ベクトル生成部23は、処理ブロックに隣接するN個の符号化済みブロックにおける動きベクトルnから、予測ベクトルとして最適なベクトルを選択し、選択したベクトルを予測ベクトルqとして出力するとともに、予測ベクトルqを表す制御情報i1を出力する。この第1の予測ベクトル生成部23の詳細については、図3を用いて後述する。
The first prediction
第2の予測ベクトル生成部24は、処理ブロックに隣接する符号化済みブロックにおける動きベクトルnについて、x成分およびy成分のメディアンをそれぞれ求め、求めたx成分およびy成分からなるベクトルを、予測ベクトルrとして出力する。
The second prediction
参照先決定部25は、入力映像aと、符号化済みブロックにおける局所復号された画素値cと、を入力とする。この参照先決定部25は、処理ブロックにおける入力映像aの画素値について、局所復号された画素値cを対象に、探索範囲内で最も画素信号が近い同矩形の位置を探し、最も画素信号が近い位置について、処理ブロックからの空間的な相対位置を、動きベクトルsとする。また、最も画素信号が近い位置における局所復号された画素値について、同画素値を予測値hとする。さらに、入力映像aの画素値に対する予測値hの差分を、予測誤差tとする。そして、これら動きベクトルs、予測値h、および予測誤差tを出力する。
The reference
ベクトル差分抽出部26は、動きベクトルsと、予測ベクトルqまたは予測ベクトルrのうち制御信号pに応じて選択されるものと、を入力とする。このベクトル差分抽出部26は、動きベクトルsに対する予測ベクトルqまたは予測ベクトルrの差分を、差分ベクトルi2とする。また、差分ベクトルi2について、エントロピー符号化を施し、差分ベクトルi2により発生する符号量uを求める。そして、差分ベクトル(復号する際に用いられる予測に関する情報)i2と、差分ベクトルi2の符号化に要する符号量uと、を出力する。
The vector
歪み算出部27は、入力映像a、予測誤差t、および予測値hを入力とする。この歪み算出部27は、入力される予測誤差tについて、DCT、量子化、逆量子化、および逆DCTの処理を施し、これら処理を施した結果に対して予測値hを加えた信号(局所復号信号)を算出する。ここで、入力信号に対する局所復号信号の差分を求め、差分信号について二乗和を算出し、差分信号の二乗和(符号化歪み)vを出力する。
The
コスト値算出部28は、差分ベクトルの符号量uおよび符号化歪みvを入力とする。このコスト値算出部28は、符号量uおよび符号化歪みvをコスト関数に入力してコスト値jを算出し、出力する。
The cost
<第1の予測ベクトル生成部23の構成>
図3は、第1の予測ベクトル生成部23の構成を示すブロック図である。第1の予測ベクトル生成部23は、候補MV抽出部231および最適予測MV決定部232を備える。
<Configuration of First Prediction
FIG. 3 is a block diagram illustrating a configuration of the first prediction
候補MV抽出部231は、第1の単位候補MV抽出部B1〜第Nの単位候補MV抽出部BNまでのN個の単位候補MV抽出部を備える。この候補MV抽出部231は、処理ブロックに隣接する符号化済みブロックにおける動きベクトルnから、候補となる動きベクトルをN個選択する。
The candidate
最適予測MV決定部232は、候補MV抽出部231により選択されたN個の動きベクトルについて、符号化により発生する誤差および符号量に基づき、符号化効率を示すコスト値を評価する。そして、N個の動きベクトルのそれぞれのコスト値を比較し、最も効率が良い動きベクトルを予測ベクトルqとし、予測ベクトルqと、予測ベクトルqを表す制御情報i1と、を出力する。
The optimal prediction
<動画像復号装置BBの構成>
図4は、本発明の一実施形態に係る動画像復号装置BBの構成を示すブロック図である。動画像復号装置BBは、画面内のMB単位での符号化の際に拡張イントラ符号化を許容する。この動画像復号装置BBは、符号化データ解析部101、イントラ予測値生成部102、インター予測値生成部103、予測手法制御部104、およびメモリ105を備える。
<Configuration of Moving Picture Decoding Device BB>
FIG. 4 is a block diagram showing a configuration of the video decoding device BB according to one embodiment of the present invention. The video decoding device BB allows extended intra coding when coding in units of MB in the screen. This moving picture decoding apparatus BB includes an encoded
符号化データ解析部101は、符号化データbを入力とする。なお、入力される符号化データbには、発明手法の適用有無を示す情報が含まれる。この符号化データ解析部101は、エントロピー復号部(図示省略)を備え、このエントロピー復号部により符号化データbをエントロピー復号し、シンタックスに従って符号化データbに記述される内容を解析する。また、各ブロックにおいて、予測ベクトル制御部22と同様の処理に基づきエッジの有無を評価し、エッジが含まれるブロックの符号化データから、発明手法の適用有無を示す情報を取得する。そして、シンタックス解析の結果として得られる、残差信号Aと、処理ブロックに隣接する符号化済みブロックにおける予測情報Bと、を出力する。
The encoded
イントラ予測値生成部102は、符号化データ解析部101が備える上述のエントロピー復号部から得られる予測情報Bと、メモリ105から得られる復号済み画素値Cと、を入力とする。このイントラ予測値生成部102は、復号済み画素値Cを元に、予測情報Bにしたがってイントラ予測値Dを生成し、出力する。
The intra prediction
インター予測値生成部103は、復号済み画素値Cと、同一フレーム内の隣接する復号済みブロックおよび処理ブロックにおける予測情報Bと、を入力とし、インター符号化における予測値Eを出力する。このインター予測値生成部103の詳細については、図5を用いて後述する。
The inter prediction
予測手法制御部104は、符号化データ解析部101が備える上述のエントロピー復号部から得られる予測情報Bを入力とする。この予測手法制御部104は、予測情報Bがイントラ予測に関するものであるか、インター予測に関するものであるかを識別し、イントラ予測とインター予測とを切り替えるための制御信号Fを出力する。
The prediction
メモリ105は、イントラ予測値Dまたはインター予測値Eと、残差信号Aと、の和をとった信号、すなわち復号済み画素値Cを入力とする。このメモリ105は、復号済み画素値Cを蓄積し、未復号ブロックの復号処理を行う際に、適宜、復号済み画素値Cをイントラ予測値生成部102およびインター予測値生成部103に供給する。
The
<インター予測値生成部103の構成>
図5は、インター予測値生成部103の構成を示すブロック図である。インター予測値生成部103は、MV(Motion Vector)抽出部131、予測ベクトル制御部132、第3の予測ベクトル生成部133、第4の予測ベクトル生成部134、MV生成部135、および参照先決定部136を備える。
<Configuration of Inter Predicted
FIG. 5 is a block diagram illustrating a configuration of the inter prediction
MV抽出部131は、ローカルメモリから供給される符号化済みブロックにおける予測情報B(実際の動きベクトルに対する予測ベクトルとの差分)を入力とする。このMV抽出部131は、入力される予測情報Bから、処理ブロックに隣接する符号化済みブロックにおける動きベクトルGの情報を抽出し、この動きベクトルGを出力する。
The
予測ベクトル制御部132は、ローカルメモリから供給される符号化済みブロックにおける予測情報Bを入力とする。この予測ベクトル制御部132は、入力される予測情報Bに含まれる動きベクトルに基づき、各ブロック間での乖離を評価し、処理ブロックにおける発明手法の適用可否を判断し、判断に応じた制御信号Hを出力する。この判断により、予測ベクトル生成手法が選択されることとなる。
The prediction
第3の予測ベクトル生成部133は、ローカルメモリから供給される符号化済みブロックにおける予測情報Bと、処理ブロックに隣接する符号化済みブロックにおける動きベクトルGと、を入力とする。この第3の予測ベクトル生成部133は、予測情報Bに含まれる手法制御情報に従い、処理ブロックに隣接する符号化済みブロックの予測ベクトルIを選択し、この予測ベクトルIを出力する。
The third prediction
第4の予測ベクトル生成部134は、処理ブロックに隣接する符号化済みブロックにおける動きベクトルGを入力とする。この第4の予測ベクトル生成部134は、入力される動きベクトルGのx成分およびy成分のメディアンをそれぞれ求め、求めたx成分およびy成分からなるベクトルを、予測ベクトルJとして出力する。
The fourth prediction
MV生成部135は、ローカルメモリから供給される符号化済みブロックにおける予測情報Bと、予測ベクトルIまたは予測ベクトルJと、を入力とする。このMV生成部135は、予測情報Bに含まれる処理ブロックにおける差分ベクトルと、予測ベクトルIまたは予測ベクトルJと、の各成分同士の和を求め、求めた各成分によって成されるベクトルを、処理ブロックにおける動きベクトルKとして出力する。
The
参照先決定部136は、ローカルメモリから供給される符号化済みブロックにおける予測情報Bと、符号化済みブロックにおける符号化結果を復号した画素値Cと、動きベクトルKと、を入力とする。この参照先決定部136は、動きベクトルKと、予測情報Bに含まれる参照先ブロックを識別する情報と、に基づき、符号化済みブロックにおいて予測値とする画素値を特定し、この画素値を処理ブロックにおける予測値Lとして出力する。
The reference
<予測ベクトル制御部22および予測ベクトル制御部132によるエッジ検知処理>
以下に、予測ベクトル制御部22および予測ベクトル制御部132によるエッジ検知処理について説明する。エッジ検知処理では、処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づき、処理ブロックにおけるエッジを検知する。
<Edge Detection Processing by Prediction
Below, the edge detection process by the prediction
具体的には、処理ブロックに隣接する符号化済みブロック間での動きベクトルの乖離に基づき、処理ブロックにおけるエッジ検知を行う。この乖離判定方法として、メディアンからの乖離による判定方法と、平均からの乖離による判定方法と、がある。 Specifically, the edge detection in the processing block is performed based on the motion vector divergence between the encoded blocks adjacent to the processing block. As this deviation determination method, there are a determination method based on a deviation from the median and a determination method based on a deviation from the average.
<メディアンからの乖離による判定方法>
以下に、メディアンからの乖離による判定方法について説明する。ここで、3つの数値またはベクトルを入力とし、これら入力のメディアンに基づいて、これら入力の中で最も外れた数値またはベクトルを出力する関数を、関数minor_medと定義し、式(7)のように表す。
<Judgment method by deviation from median>
Below, the determination method by the deviation from a median is demonstrated. Here, a function that takes three numeric values or vectors as inputs and outputs the most deviated numeric value or vector among these inputs based on the median of these inputs is defined as a function minor_med, as shown in Equation (7) To express.
なお、式(7)において、α、β、γは、数値またはベクトルである。また、関数medianは、3つの数値またはベクトルを入力とし、これらのメディアン値またはメディアンベクトルを出力する関数である。また、|・|は、α、β、γが数値の場合には絶対値を出力する関数であり、α、β、γがベクトルの場合には距離を出力する関数である。 In Expression (7), α, β, and γ are numerical values or vectors. The function median is a function that receives three numerical values or vectors as inputs and outputs these median values or median vectors. Further, | · | is a function that outputs an absolute value when α, β, and γ are numerical values, and a function that outputs a distance when α, β, and γ are vectors.
<平均からの乖離による判定方法>
以下に、平均からの乖離による判定方法について説明する。ここで、3つの数値またはベクトルを入力とし、これら入力の平均に基づいて、これら入力の中で最も外れた数値またはベクトルを出力する関数を、関数minor_avgと定義し、式(8)のように表す。
<Judgment method by deviation from average>
Hereinafter, a determination method based on deviation from the average will be described. Here, a function that takes three numerical values or vectors as inputs and outputs the most deviated numerical value or vector among these inputs based on the average of these inputs is defined as a function minor_avg, as shown in Expression (8). To express.
なお、式(8)において、α、β、γは、数値またはベクトルである。また、関数averageは、3つの数値またはベクトルを入力とし、これらの平均値または平均ベクトルを出力する関数である。また、|・|は、α、β、γが数値の場合には絶対値を出力する関数であり、α、β、γがベクトルの場合には距離を出力する関数である。 In Expression (8), α, β, and γ are numerical values or vectors. The function average is a function that receives three numerical values or vectors as inputs and outputs an average value or average vector thereof. Further, | · | is a function that outputs an absolute value when α, β, and γ are numerical values, and a function that outputs a distance when α, β, and γ are vectors.
<関数minorを用いたエッジ検知方法>
以下に、図6を用いて、処理ブロックに隣接する4つの符号化済みブロックにおける動きベクトル情報を用いることを考える。図6において、BPREDは、処理ブロックを示し、BA、BB、BC、BDは、処理ブロックBPREDに隣接する4つの符号化済みブロックを示す。
<Edge detection method using function minor>
Hereinafter, using the motion vector information in the four encoded blocks adjacent to the processing block will be considered with reference to FIG. In FIG. 6, B PRED indicates a processing block, and B A , B B , B C , and B D indicate four encoded blocks adjacent to the processing block B PRED .
ここで、符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報をMA〜MDとすると、上述の関数minor_medまたは上述の関数minor_avg(以下、総称して「関数minor」と呼ぶ)が式(9)のように表される場合には、水平エッジが存在すると判定する。一方、関数minorが式(10)のように表される場合には、垂直エッジが存在すると判定する。 Here, when the information about the motion vectors of the encoded blocks B A to B D are M A to M D , the above-described function minor_med or the above-mentioned function minor_avg (hereinafter collectively referred to as “function minor”). Is expressed as in Expression (9), it is determined that a horizontal edge exists. On the other hand, when the function minor is expressed as in Expression (10), it is determined that a vertical edge exists.
符号化済みブロックBA〜BDにおける動きベクトルから判定する場合には、動きベクトルそのものを用いて判定する方法と、動きベクトルの大きさを用いて判定する方法と、がある。 When determining from motion vectors in the encoded blocks B A to B D , there are a method of determining using the motion vector itself and a method of determining using the magnitude of the motion vector.
動きベクトルそのものを用いて判定する方法では、上述の符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報MA〜MDとして、符号化済みブロックBA〜BDのそれぞれにおける動きベクトルを用いる。 In the determination method using the motion vector itself, the motion vector in each of the encoded blocks B A to B D is used as the information M A to M D regarding each motion vector of the encoded blocks B A to B D described above. Is used.
動きベクトルの大きさを用いて判定する方法では、上述の符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報MA〜MDとして、符号化済みブロックBA〜BDのそれぞれにおける動きベクトルの大きさを用いる。なお、ベクトルの大きさとは、このベクトルのx成分とy成分の二乗和の平方根をとった値である。 The method for determining by using the magnitude of the motion vector, as the information M A ~M D for each of the motion vectors of coded blocks B A .about.B D above, in each of the encoded block B A .about.B D Use the magnitude of the motion vector. The magnitude of the vector is a value obtained by taking the square root of the sum of squares of the x component and the y component of this vector.
一方、符号化済みブロックBA〜BDにおける差分ベクトルから判定する場合には、差分ベクトルそのものを用いて判定する方法と、差分ベクトルの大きさを用いて判定する方法と、がある。ここで、符号化済みブロックにおける差分ベクトルとは、各ブロックにおける、動きベクトルと予測ベクトルとの差分のベクトルのことである。 On the other hand, when determining from the difference vectors in the encoded blocks B A to B D , there are a method of determining using the difference vector itself and a method of determining using the magnitude of the difference vector. Here, the difference vector in the encoded block is a vector of the difference between the motion vector and the prediction vector in each block.
差分ベクトルそのものを用いて判定する方法では、上述の符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報MA〜MDとして、符号化済みブロックBA〜BDのそれぞれにおける差分ベクトルを用いる。 In the determination method using the difference vector itself, the difference vector in each of the encoded blocks B A to B D is used as the information M A to M D regarding the motion vectors of the encoded blocks B A to B D described above. Is used.
差分ベクトルの大きさを用いて判定する方法では、上述の符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報MA〜MDとして、符号化済みブロックBA〜BDのそれぞれにおける差分ベクトルの大きさを用いる。なお、ベクトルの大きさとは、このベクトルのx成分とy成分の二乗和の平方根をとった値である。 In the method of determining using the magnitude of the difference vector, information M A to M D regarding each motion vector of the encoded blocks B A to B D described above is used as each of the encoded blocks B A to B D. Use the magnitude of the difference vector. The magnitude of the vector is a value obtained by taking the square root of the sum of squares of the x component and the y component of this vector.
以上の動画像符号化装置AAおよび動画像復号装置BBによれば、エッジ近傍における予測ベクトル性能の低下を検知でき、低下を検知したときのみ、適切な予測ベクトルを示す制御情報を付与することで、効率的に制御情報を付与できる。このため、エッジ(特に動オブジェクト境界)に起因する問題を解決することができるとともに、問題解決に必要な付加情報の情報量を抑制できる。その結果、エッジ近傍における動きベクトル予測性能を改善でき、符号化効率を向上できる。 According to the above moving image encoding device AA and moving image decoding device BB, it is possible to detect a decrease in predicted vector performance in the vicinity of an edge, and only when a decrease is detected, control information indicating an appropriate prediction vector is added. The control information can be efficiently given. For this reason, it is possible to solve problems caused by edges (particularly moving object boundaries) and to suppress the amount of additional information necessary for solving the problems. As a result, motion vector prediction performance in the vicinity of the edge can be improved, and coding efficiency can be improved.
なお、上述の動画像符号化装置AAおよび動画像復号装置BBをエンコーダに適用し、符号化実験を行った場合、従来と比べて約0.57%の平均符号量を削減できた。ここで、上述の符号化実験では、処理ブロックにおけるエッジ検知では、上述のメディアンからの乖離による判定方法を用いるとともに、上述の符号化済みブロックBA〜BDのそれぞれの動きベクトルに関する情報MA〜MDとして、符号化済みブロックBA〜BDにおける動きベクトルを用いた。 In addition, when the above-described moving image encoding device AA and moving image decoding device BB are applied to an encoder and an encoding experiment is performed, the average code amount can be reduced by about 0.57% compared to the conventional case. Here, in the above-described coding experiments, the edge detection in the processing block, with using a determination method according to deviation from the above median, information M A for each of the motion vectors of coded blocks B A .about.B D above as ~M D, using motion vectors of coded blocks B a .about.B D.
なお、本発明の動画像符号化装置AAの処理や動画像復号装置BBの処理をコンピュータ読み取り可能な記録媒体に記憶し、記録媒体に記録されたプログラムを動画像符号化装置AAや動画像復号装置BBに読み込ませ、実行することによって、本発明を実現できる。 Note that the processing of the moving image encoding device AA and the processing of the moving image decoding device BB of the present invention are stored in a computer-readable recording medium, and the program recorded on the recording medium is stored in the moving image encoding device AA or the moving image decoding. The present invention can be realized by reading the apparatus BB and executing it.
また、上述のプログラムは、このプログラムを記憶装置等に格納した動画像符号化装置AAや動画像復号装置BBから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。 The above-described program is transferred from the moving image encoding device AA or the moving image decoding device BB storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. May be transmitted. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
また、上述のプログラムは、上述の機能の一部を実現するためのものであってもよい。さらに、上述の機能を動画像符号化装置AAや動画像復号装置BBにすでに記録されているプログラムとの組合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。 Further, the above-described program may be for realizing a part of the above-described function. Furthermore, what can implement | achieve the above-mentioned function in combination with the program already recorded on the moving image encoder AA and the moving image decoder BB, what is called a difference file (difference program) may be sufficient.
以上、この発明の実施形態につき、図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiments, and includes designs and the like that do not depart from the gist of the present invention.
2・・・インター符号化予測値生成部
22、132・・・予測ベクトル制御部
23・・・第1の予測ベクトル生成部
103・・・インター予測値生成部
133・・・第3の予測ベクトル生成部
231・・・候補MV抽出部
232・・・最適予測MV決定部
AA・・・動画像符号化装置
BB・・・動画像復号装置
2 ... Inter-coded prediction
Claims (16)
インター符号化の際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、
前記予測ベクトル制御手段による推測に基づいて、前記処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段と、
を備えることを特徴とする動画像符号化装置。 In a video encoding apparatus that allows inter encoding when encoding in units of macroblocks,
Prediction vector control means for estimating a decrease in coding performance in the processing block during inter coding;
Prediction vector generation means for generating a prediction vector in the processing block based on the prediction by the prediction vector control means;
A moving picture encoding apparatus comprising:
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、前記処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定し、
前記予測ベクトル生成手段は、前記予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルから前記予測ベクトルとして最適なベクトルを選択し、前記予測ベクトルとすることを特徴とする動画像符号化装置。 The moving image encoding device according to claim 1,
The prediction vector control means estimates a reduction in encoding performance in the processing block based on information on a motion vector in an encoded block adjacent to the processing block, determines a prediction vector generation method,
The prediction vector generation unit selects an optimal vector as the prediction vector from motion vectors in an encoded block adjacent to the processing block based on a prediction vector generation method determined by the prediction vector control unit, A moving picture coding apparatus characterized by using a prediction vector.
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像符号化装置。 The moving picture encoding apparatus according to claim 1 or 2,
The prediction vector control means estimates a decrease in encoding performance in the processing block based on a motion vector component or magnitude in an encoded block adjacent to the processing block. apparatus.
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像符号化装置。 The moving picture encoding apparatus according to claim 1 or 2,
The prediction vector control means estimates a decrease in encoding performance in the processing block based on a component or magnitude of a difference vector in an encoded block adjacent to the processing block. apparatus.
前記予測ベクトル制御手段は、
前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、前記算出したメディアンと、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、
前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、
を備えることを特徴とする動画像符号化装置。 The moving image encoding device according to any one of claims 1 to 4,
The prediction vector control means includes
Calculate the median of the motion vector component or magnitude in the encoded block adjacent to the processing block, or the difference vector component or magnitude in the encoded block adjacent to the processing block, and the calculated median The difference between the motion vector component or magnitude in the coded block or the difference vector component or magnitude in the coded block is calculated, and the coded block having the maximum calculated difference is calculated. An evaluation unit to evaluate;
Based on the evaluation by the evaluation unit, an estimation unit that estimates a decrease in encoding performance in the processing block;
A moving picture encoding apparatus comprising:
前記予測ベクトル制御手段は、
前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、前記算出した平均と、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、
前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、
を備えることを特徴とする動画像符号化装置。 The moving image encoding device according to any one of claims 1 to 4,
The prediction vector control means includes
The motion vector component or magnitude in the encoded block adjacent to the processing block, or the average of the difference vector component or magnitude in the encoded block adjacent to the processing block is calculated, and the calculated average The difference between the motion vector component or magnitude in the coded block or the difference vector component or magnitude in the coded block is calculated, and the coded block having the maximum calculated difference is calculated. An evaluation unit to evaluate;
Based on the evaluation by the evaluation unit, an estimation unit that estimates a decrease in encoding performance in the processing block;
A moving picture encoding apparatus comprising:
前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルを前記予測ベクトルとすることを特徴とする動画像符号化装置。 The moving image encoding device according to claim 5,
When the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block, the prediction vector generation unit sets a motion vector in an encoded block adjacent to the processing block as the prediction vector. A video encoding apparatus characterized by the above.
前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記予測ベクトルとして採用する動きベクトルを識別するための制御情報を、前記処理ブロックの符号化されたデータとしてのビットストリームに付与することを特徴とする動画像符号化装置。 The moving image encoding device according to claim 5,
The prediction vector generation means, when the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block, provides control information for identifying a motion vector to be used as the prediction vector. A moving picture coding apparatus, characterized in that the moving picture coding apparatus assigns the bit stream as encoded data.
インター符号化されたブロックを復号する際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、
前記予測ベクトル制御手段による推測に基づいて、前記処理ブロックにおける予測ベクトルを生成する予測ベクトル生成手段と、
を備えることを特徴とする動画像復号装置。 In a video decoding device that allows inter-coding when decoding in units of macroblocks,
Prediction vector control means for estimating a decrease in coding performance in a processing block when decoding an inter-coded block;
Prediction vector generation means for generating a prediction vector in the processing block based on the prediction by the prediction vector control means;
A moving picture decoding apparatus comprising:
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルに関する情報に基づいて、前記処理ブロックにおける符号化性能の低下を推測して、予測ベクトル生成手法を決定し、
前記予測ベクトル生成手段は、前記予測ベクトル制御手段により決定された予測ベクトル生成手法に基づいて、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルから前記予測ベクトルとして最適なベクトルを選択し、前記予測ベクトルとすることを特徴とする動画像復号装置。 The moving picture decoding apparatus according to claim 9, wherein
The prediction vector control means estimates a reduction in encoding performance in the processing block based on information on a motion vector in an encoded block adjacent to the processing block, determines a prediction vector generation method,
The prediction vector generation unit selects an optimal vector as the prediction vector from motion vectors in an encoded block adjacent to the processing block based on a prediction vector generation method determined by the prediction vector control unit, A moving picture decoding apparatus characterized in that a prediction vector is used.
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像復号装置。 The moving picture decoding apparatus according to claim 9 or 10,
The motion vector decoding apparatus, wherein the prediction vector control means estimates a decrease in coding performance in the processing block based on a motion vector component or magnitude in a coded block adjacent to the processing block .
前記予測ベクトル制御手段は、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさに基づいて、前記処理ブロックにおける符号化性能の低下を推測することを特徴とする動画像復号装置。 The moving picture decoding apparatus according to claim 9 or 10,
The video decoding device, wherein the prediction vector control means estimates a decrease in coding performance in the processing block based on a component or magnitude of a difference vector in a coded block adjacent to the processing block .
前記予測ベクトル制御手段は、
前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさのメディアンを算出し、前記算出したメディアンと、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、
前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、
を備えることを特徴とする動画像復号装置。 The video decoding device according to any one of claims 9 to 12,
The prediction vector control means includes
Calculate the median of the motion vector component or magnitude in the encoded block adjacent to the processing block, or the difference vector component or magnitude in the encoded block adjacent to the processing block, and the calculated median The difference between the motion vector component or magnitude in the coded block or the difference vector component or magnitude in the coded block is calculated, and the coded block having the maximum calculated difference is calculated. An evaluation unit to evaluate;
Based on the evaluation by the evaluation unit, an estimation unit that estimates a decrease in encoding performance in the processing block;
A moving picture decoding apparatus comprising:
前記予測ベクトル制御手段は、
前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記処理ブロックに隣接する符号化済みブロックにおける差分ベクトルの成分または大きさの平均を算出し、前記算出した平均と、前記符号化済みブロックにおける動きベクトルの成分または大きさ、あるいは、前記符号化済みブロックにおける差分ベクトルの成分または大きさと、の差分を算出し、前記算出した差分が最大である符号化済みブロックを評価する評価部と、
前記評価部による評価に基づいて、前記処理ブロックにおける符号化性能の低下を推測する推測部と、
を備えることを特徴とする動画像復号装置。 The video decoding device according to any one of claims 9 to 12,
The prediction vector control means includes
The motion vector component or magnitude in the encoded block adjacent to the processing block, or the average of the difference vector component or magnitude in the encoded block adjacent to the processing block is calculated, and the calculated average The difference between the motion vector component or magnitude in the coded block or the difference vector component or magnitude in the coded block is calculated, and the coded block having the maximum calculated difference is calculated. An evaluation unit to evaluate;
Based on the evaluation by the evaluation unit, an estimation unit that estimates a decrease in encoding performance in the processing block;
A moving picture decoding apparatus comprising:
前記予測ベクトル生成手段は、前記推測部により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記処理ブロックに隣接する符号化済みブロックにおける動きベクトルを前記予測ベクトルとすることを特徴とする動画像復号装置。 The moving picture decoding apparatus according to claim 13, wherein
When the estimation unit estimates that there is a concern about a decrease in encoding performance in the processing block, the prediction vector generation unit sets a motion vector in an encoded block adjacent to the processing block as the prediction vector. A video decoding apparatus characterized by the above.
インター符号化されたブロックを復号する際に、処理ブロックにおける符号化性能の低下を推測する予測ベクトル制御手段と、
前記予測ベクトル制御手段による推測に基づいて、予測ベクトルを生成する予測ベクトル生成手段と、を備え、
前記予測ベクトル生成手段は、前記予測ベクトル制御手段により前記処理ブロックにおける符号化性能の低下の懸念があると推測された場合、前記ビットストリームに付与された制御情報に基づいて、前記予測ベクトルを決定することを特徴とする動画像復号装置。 In the moving picture decoding apparatus that allows inter coding when decoding the bitstream encoded by the moving picture encoding apparatus according to claim 8 in units of macroblocks,
Prediction vector control means for estimating a decrease in coding performance in a processing block when decoding an inter-coded block;
Prediction vector generation means for generating a prediction vector based on the prediction by the prediction vector control means,
The prediction vector generation unit determines the prediction vector based on control information given to the bitstream when the prediction vector control unit estimates that there is a concern about a decrease in encoding performance in the processing block. A moving picture decoding apparatus characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009080831A JP2010233135A (en) | 2009-03-30 | 2009-03-30 | Moving image encoding device and moving image decoding device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009080831A JP2010233135A (en) | 2009-03-30 | 2009-03-30 | Moving image encoding device and moving image decoding device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010233135A true JP2010233135A (en) | 2010-10-14 |
Family
ID=43048497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009080831A Pending JP2010233135A (en) | 2009-03-30 | 2009-03-30 | Moving image encoding device and moving image decoding device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010233135A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012128068A1 (en) * | 2011-03-18 | 2012-09-27 | ソニー株式会社 | Image processing device, image processing method, and program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000138935A (en) * | 1998-10-29 | 2000-05-16 | Fujitsu Ltd | Motion vector encoding device and decoding device |
JP2007329528A (en) * | 2006-06-06 | 2007-12-20 | Sony Corp | Motion vector decoding method and decoding apparatus |
JP2008311781A (en) * | 2007-06-12 | 2008-12-25 | Ntt Docomo Inc | Motion picture encoder, motion picture decoder, motion picture encoding method, motion picture decoding method, motion picture encoding program and motion picture decoding program |
JP2009049519A (en) * | 2007-08-14 | 2009-03-05 | Kddi Corp | Prediction motion vector generating device of motion picture coding device |
-
2009
- 2009-03-30 JP JP2009080831A patent/JP2010233135A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000138935A (en) * | 1998-10-29 | 2000-05-16 | Fujitsu Ltd | Motion vector encoding device and decoding device |
JP2007329528A (en) * | 2006-06-06 | 2007-12-20 | Sony Corp | Motion vector decoding method and decoding apparatus |
JP2008311781A (en) * | 2007-06-12 | 2008-12-25 | Ntt Docomo Inc | Motion picture encoder, motion picture decoder, motion picture encoding method, motion picture decoding method, motion picture encoding program and motion picture decoding program |
JP2009049519A (en) * | 2007-08-14 | 2009-03-05 | Kddi Corp | Prediction motion vector generating device of motion picture coding device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012128068A1 (en) * | 2011-03-18 | 2012-09-27 | ソニー株式会社 | Image processing device, image processing method, and program |
US9363500B2 (en) | 2011-03-18 | 2016-06-07 | Sony Corporation | Image processing device, image processing method, and program |
JP6061150B2 (en) * | 2011-03-18 | 2017-01-18 | ソニー株式会社 | Image processing apparatus, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6679782B2 (en) | Encoding device, encoding method, decoding device, decoding method, and program | |
JP5277257B2 (en) | Video decoding method and video encoding method | |
JP5669278B2 (en) | Method for coding a block of an image sequence and method for reconstructing this block | |
JP4317814B2 (en) | Encoding apparatus and encoding method for moving picture information | |
KR20110008653A (en) | Method and apparatus for predicting motion vector and method and apparatus of encoding/decoding a picture using the same | |
KR20130026436A (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
TWI511531B (en) | Video coding apparatus, video coding method, and video coding program | |
JPWO2010067529A1 (en) | Moving picture decoding method and apparatus, moving picture encoding method and apparatus | |
JP4074868B2 (en) | Image coding control method and apparatus | |
JP6607040B2 (en) | Motion vector search apparatus, motion vector search method, and recording medium for storing motion vector search program | |
JP5004180B2 (en) | Video encoding apparatus and decoding apparatus | |
JP2010028220A (en) | Motion vector detecting device, motion vector detecting method, image encoding device, and program | |
JP2012142702A (en) | Image processing device, method, and program | |
JP4786612B2 (en) | Predicted motion vector generation apparatus for moving picture encoding apparatus | |
KR101364532B1 (en) | Method of estimating motion vector considering the size of neighboring partition, apparatus, encoder, decoder and decoding method | |
JP5670226B2 (en) | Moving picture coding apparatus, moving picture coding method, and program | |
JP4868539B2 (en) | Video encoding apparatus and decoding apparatus | |
JP2019213096A (en) | Image decoding device, image encoding device, image processing system, image decoding method, and program | |
JP5184447B2 (en) | Video encoding apparatus and decoding apparatus | |
JP5760950B2 (en) | Moving picture re-encoding device, moving picture re-encoding method, and moving picture re-encoding computer program | |
JP2007251815A (en) | Re-encoding apparatus, and program for re-encoding | |
JP4971817B2 (en) | Image encoding device | |
JP2010233135A (en) | Moving image encoding device and moving image decoding device | |
JP6016488B2 (en) | Video compression format conversion apparatus, video compression format conversion method, and program | |
JP5513333B2 (en) | Moving picture coding apparatus, moving picture coding method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110929 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120606 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120612 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121016 |