JPWO2012172634A1 - Image encoding apparatus, image decoding apparatus, method, and program - Google Patents
Image encoding apparatus, image decoding apparatus, method, and program Download PDFInfo
- Publication number
- JPWO2012172634A1 JPWO2012172634A1 JP2012534880A JP2012534880A JPWO2012172634A1 JP WO2012172634 A1 JPWO2012172634 A1 JP WO2012172634A1 JP 2012534880 A JP2012534880 A JP 2012534880A JP 2012534880 A JP2012534880 A JP 2012534880A JP WO2012172634 A1 JPWO2012172634 A1 JP WO2012172634A1
- Authority
- JP
- Japan
- Prior art keywords
- image
- block
- information
- shared
- encoding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
実施形態の画像符号化装置は、決定部と、取得部と、生成部と、符号化部と、を備える。決定部は、符号化対象の画像における視点の第1視差画像内の符号化対象ブロックに、前記視点と異なる他の視点の1または複数の第2視差画像において対応する対応ブロックを、前記第1視差画像の奥行き情報と、前記第1視差画像の視点と前記第2視差画像の視点との位置関係と、に基づいて決定し、前記1または複数の第2視差画像のそれぞれにおける前記対応ブロック、及び前記対応ブロックの近傍を含む小領域のブロックの中から、符号化情報を共有する共有ブロックを決定し、前記対応ブロックと前記共有ブロックとの位置関係を示す共有ブロック指定情報を生成する。取得部は、前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する。生成部は、取得した前記符号化情報に基づいて、予測画像を生成する。符号化部は、前記画像と前記予測画像とから符号化データを生成する。The image encoding device according to the embodiment includes a determination unit, an acquisition unit, a generation unit, and an encoding unit. The determining unit assigns a corresponding block corresponding to the encoding target block in the first parallax image of the viewpoint in the encoding target image in one or a plurality of second parallax images of other viewpoints different from the viewpoint. The corresponding block in each of the one or the plurality of second parallax images, determined based on the depth information of the parallax image and the positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image; In addition, a shared block that shares encoding information is determined from among blocks in a small area including the vicinity of the corresponding block, and shared block designation information that indicates a positional relationship between the corresponding block and the shared block is generated. The acquisition unit acquires the encoding information shared by the shared block based on the shared block designation information. The generation unit generates a predicted image based on the acquired encoded information. The encoding unit generates encoded data from the image and the predicted image.
Description
本発明の実施形態は、画像符号化装置、画像復号化装置、方法およびプログラムに関する。 Embodiments described herein relate generally to an image encoding device, an image decoding device, a method, and a program.
従来から、多視差画像符号化・復号化装置として、カメラパラメータや奥行き情報を利用した射影変換により、符号化対象ブロックに対応するブロックを符号化済みの他の視点の画像中から決定し、そのブロックが持つ動きベクトルおよび参照画像を指定する情報を共有するものが知られている。 Conventionally, as a multi-parallax image encoding / decoding device, a block corresponding to a block to be encoded is determined from encoded images of other viewpoints by projective transformation using camera parameters and depth information. A device that shares information specifying a motion vector and a reference image of a block is known.
しかしながら、このような従来技術では、奥行き情報の推定誤差やそれに加わる圧縮歪、さらには射影変換による誤差により、符号化対象ブロックに対応するブロックの決定を誤る可能性がある。また、共有できる符号化情報が動き情報のみに制限されてしまう。このため、従来の多視差画像符号化・復号化装置では符号化効率を向上させることが困難である。 However, in such a conventional technique, there is a possibility of erroneous determination of a block corresponding to a block to be encoded due to an estimation error of depth information, compression distortion added thereto, and an error due to projective transformation. In addition, encoding information that can be shared is limited to only motion information. For this reason, it is difficult for the conventional multi-parallax image encoding / decoding device to improve the encoding efficiency.
本実施形態が解決しようとする課題は、符号化効率を向上させることができる画像符号化装置、画像復号化装置、方法およびプログラムを提供することである。 The problem to be solved by the present embodiment is to provide an image encoding device, an image decoding device, a method, and a program capable of improving encoding efficiency.
実施形態の画像符号化装置は、決定部と、取得部と、生成部と、符号化部と、を備える。決定部は、符号化対象の画像における視点の第1視差画像内の符号化対象ブロックに、前記視点と異なる他の視点の1または複数の第2視差画像において対応する対応ブロックを、前記第1視差画像の奥行き情報と、前記第1視差画像の視点と前記第2視差画像の視点との位置関係と、に基づいて決定し、前記1または複数の第2視差画像のそれぞれにおける前記対応ブロック、及び前記対応ブロックの近傍を含む小領域のブロックの中から、符号化情報を共有する共有ブロックを決定し、前記対応ブロックと前記共有ブロックとの位置関係を示す共有ブロック指定情報を生成する。取得部は、前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する。生成部は、取得した前記符号化情報に基づいて、予測画像を生成する。符号化部は、前記画像と前記予測画像とから符号化データを生成する。 The image encoding device according to the embodiment includes a determination unit, an acquisition unit, a generation unit, and an encoding unit. The determining unit assigns a corresponding block corresponding to the encoding target block in the first parallax image of the viewpoint in the encoding target image in one or a plurality of second parallax images of other viewpoints different from the viewpoint. The corresponding block in each of the one or the plurality of second parallax images, determined based on the depth information of the parallax image and the positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image; In addition, a shared block that shares encoding information is determined from among blocks in a small area including the vicinity of the corresponding block, and shared block designation information that indicates a positional relationship between the corresponding block and the shared block is generated. The acquisition unit acquires the encoding information shared by the shared block based on the shared block designation information. The generation unit generates a predicted image based on the acquired encoded information. The encoding unit generates encoded data from the image and the predicted image.
(実施の形態1)
実施の形態1は、符号化対象画像である入力画像を入力して、入力画像をマクロブロックに分割し、符号化対象マクロブロックに対して、入力画像の視点と異なる視点の復号化済みの視差画像の符号化情報を共有して用いて符号化処理を行う画像符号化装置である。(Embodiment 1)
In the first embodiment, an input image that is an encoding target image is input, the input image is divided into macro blocks, and the decoded disparity of the viewpoint different from the viewpoint of the input image with respect to the encoding target macro block It is an image encoding apparatus that performs encoding processing by sharing image encoding information.
図1は、実施の形態1の画像符号化装置の機能的構成を示すブロック図である。本実施の形態の画像符号化装置100は、図1に示すように、制御部116と、符号化部117とを備える。
FIG. 1 is a block diagram illustrating a functional configuration of the image coding apparatus according to the first embodiment. As shown in FIG. 1, the
符号化部117は、入力画像I(v)101を入力し、入力画像I(v)101をマクロブロックに分割する。符号化部117は、分割したマクロブロックに対して、入力画像の視点と異なる視点の復号化済みの視差画像の符号化情報を用い、予測画像を生成する。符号化部117は、この予測画像と入力画像I(v)101との残差情報を符号化した符号化データS(v)104を出力する。符号化制御部116は、符号化部117による画像符号化処理の全体を制御する。
The
図2は、画像符号化処理の一例の説明図である。図2において、入力画像の視点を2、他の視点を0とすると、符号化部117は、他の視点0の符号化データS(0)とそれに対応する奥行き情報D(2)から、入力画像の視点2に対応する予測画像を生成する。
FIG. 2 is an explanatory diagram of an example of the image encoding process. In FIG. 2, when the viewpoint of the input image is 2 and the other viewpoints are 0, the
図1に示すように、符号化部117は、減算器111と、変換・量子化部115と、可変長符号化部118と、逆変換・逆量子化部114と、加算器113と、予測部112と、バッファ105とを備える。
As shown in FIG. 1, the
符号化部117には、入力画像I(v)101が入力される。減算器111は、予測部112で生成された予測画像と入力画像I(v)101との差分を求めて、この差分である残差を生成する。
An input image I (v) 101 is input to the
変換・量子化部115は、残差を直交変換して変換係数を求めるとともに、変換係数を量子化して残差情報を求める。ここで、直交変換としては、例えば、離散コサイン変換を用いることができる。残差情報は、可変長符号化部118と逆変換・逆量子化114に入力される。
The transform /
逆変換・逆量子化114は、残差情報を逆量子化および逆直交変換の処理を行って局所復号化画像を再生する。加算器113は、再生された局所復号化画像と予測画像とを加算して復号化画像を生成する。この復号化画像は、参照画像としてバッファ105に保存される。
Inverse transform /
ここで、バッファ105は、フレームメモリ等の記憶媒体である。バッファ105には、上述の復号化画像が参照画像等として保存される他、復号化済みの他の視点の視差画像R(v’)が保存される。
Here, the
予測部112は、バッファ105に保存された復号化済みの他の視点の視差画像R(v’)から予測画像を生成する。予測部112は、決定部106と、取得部107と、生成部108とを備える。
The
決定部106は、符号化対象マクロブロックの符号化の際に符号化情報を共有する共有ブロックを、入力画像の視点と異なる他の視点の1または複数の視差画像(すなわちバッファ105に保存されている復号化済みの他の視点の視差画像R(v’))の中から、入力画像I(v)101の奥行き情報D(v)と、入力画像I(v)101の視点位置及び復号化済みの他の視点の視差画像R(v’)の視点位置の位置関係と、に基づいて決定する。ここで、視点位置どうしの位置関係とは、入力画像I(v)101を撮像したカメラと、復号化済みの他の視点の視差画像R(v’)を撮像したカメラとの間の位置関係であってよい。より具体的には、共有ブロック決定部105は以下のように共有ブロックを決定する。
The
まず、決定部106は、入力画像I(v)101における視点の視差画像内の符号化対象のマクロブロックに、バッファ105に保存されている復号化済みの他の視点の視差画像R(v’)において対応するマクロブロックである対応マクロブロックを決定する。
First, the
具体的には、決定部106は、入力画像I(v)101の奥行き情報D(v)103を入力し、この奥行き情報D(v)103及びカメラパラメータを用いて共有ブロックを決定する。
Specifically, the
図3は、対応マクロブロックの決定処理を説明するための図である。決定部106は、入力画像I(v)101の符号化対象マクロブロックに対応する対応マクロブロックの座標を、次の(1)式、(2)式を用いた射影変換により算出する。
FIG. 3 is a diagram for explaining the corresponding macroblock determination process. The
ここで、R、A、Tはいずれもカメラパラメータであり、Rはカメラの回転行列を示し、Aは内部カメラ行列を示し、Tはカメラの並進行列を示す。また、zは、入力画像I(v)101の奥行き情報D(v)である奥行き値を示す。 Here, R, A, and T are all camera parameters, R represents a camera rotation matrix, A represents an internal camera matrix, and T represents a parallel progression sequence of the cameras. Z indicates a depth value which is depth information D (v) of the input image I (v) 101.
すなわち、決定部106は、(1)式により、符号化対象マクロブロックの視点のカメラCiにおける視差画像中の符号化対象マクロブロックを3次元空間座標へ投影する。その後、決定部106は、(2)式により、他の視点のカメラCjの視差画像へと逆投影することにより、復号化済みの他の視点の視差画像R(v’)(参照画像)における対応マクロブロックを決定する。なお、対応マクロブロックが見つからない場合には、次のバッファ105内の次の参照画像について上記射影変換の処理を行う。
In other words, the
そして、決定部106は、復号化済みの他の視点の視差画像R(v’)の対応マクロブロックと対応マクロブロックを中心とした近傍のマクロブロックを含む小領域を探索範囲として選定する。
Then, the
そして、決定部106は、バッファ105に保存されている参照画像(復号化済みの他の視点の視差画像R(v’))のそれぞれの小領域中のマクロブロックの中から、符号化情報を共有するマクロブロックである共有ブロックを決定する。
Then, the
より具体的には、決定部106は、上記小領域の各マクロブロックの符号化情報を共有した場合のRDコストを算出する。
More specifically, the
図4は、共有ブロックの決定処理を説明するための図である。決定部106は、RDコストを、次の(3)式で算出する。
FIG. 4 is a diagram for explaining shared block determination processing. The
ここで、Distortionは、マクロブロックの符号化情報を共有した時に発生する残差を示す。Rateは、マクロブロックの符号化情報を共有した場合に発生する符号量を示す。λは結合係数を示す。RDコストの詳細については、上述の非特許文献および特許文献に記述されている。 Here, “Distortion” indicates a residual generated when the encoding information of the macroblock is shared. “Rate” indicates the amount of code generated when the encoding information of the macroblock is shared. λ represents a coupling coefficient. Details of the RD cost are described in the above-mentioned non-patent document and patent document.
決定部106は、図4に示すように、バッファ105に保存されている全ての参照画像および、各参照画像における小領域中の全てのマクロブロックに対し、(3)式によりRDコストを算出し、RDコストが最小となるマクロブロックを、共有ブロックとして決定する。
As illustrated in FIG. 4, the
また、決定部106は、共有ブロックが決定したら、対応マクロブロックと共有ブロックとの位置関係を示す共有ブロック指定情報を生成する。ここで、本実施の形態では、共有ブロック指定情報として、符号化情報の共有を同時刻からのみに制限して共有ブロックが存在する参照画像の視点を示すview_indexと、小領域上での対応ブロックに対する共有ブロックの相対位置を示すblk_indexを用いている。
In addition, when the shared block is determined, the
図5は、共有ブロック指定情報の一例を示す図である。図5では、各視点の参照画像中の小領域で、対応ブロックの位置を「0」とし、小領域中で左上から右下へ順にマクロブロックの番号を振った場合を一例としてあげる。このような場合において、図5に示すように、視点0の参照画像の小領域で対応ブロックからの相対位置が番号「3」のマクロブロックのRDコストが最小になったとすると、決定部106は、共有ブロック指定情報を「view=index=0,blk_index=3」として生成する。
FIG. 5 is a diagram illustrating an example of shared block designation information. In FIG. 5, as an example, the position of the corresponding block is set to “0” in the small area in the reference image of each viewpoint, and the macroblock numbers are assigned in order from the upper left to the lower right in the small area. In such a case, as shown in FIG. 5, assuming that the RD cost of the macroblock whose relative position from the corresponding block is “3” in the small area of the reference image of
図1に戻り、取得部107は、決定部106により決定された共有ブロック(すなわちバッファ105において、共有ブロック指定情報が示す共有ブロック)を含む他の視点の符号化データS(v’)を入力し、当該他の視点の符号化データS(v’)または共有ブロックから、共有ブロックを符号化した際の符号化情報を取得する。本実施の形態では、取得部107は、符号化情報として、例えば、符号化モード(PredMode)、動きベクトル(Mv)、参照画像を指定するインデックス(Ref_index)等を取得する。
Returning to FIG. 1, the
生成部108は、取得部107により取得した符号化情報に基づいて、予測画像を生成する。生成部108は、生成された予測画像を出力する。すなわち、符号化対象マクロブロックの符号化において、復号化済みの他の視点の視差画像R(v’)における共有ブロックの符号化情報を共有して使用されることになる。
The
図6は、符号化情報の共有の一例を示す図である。生成部108は、図6に示すように、符号化対象マクロブロックから予測画像を生成する際に、この符号化対象マクロブロックに対して決定された共有ブロック(マクロブロック)を符号化した際の符号化情報として、符号化モード(PredMode):L0予測、動きベクトル(Mv):(10,20)、参照画像を指定するインデックス(ref_index)=1が用いられる。
FIG. 6 is a diagram illustrating an example of encoding information sharing. As illustrated in FIG. 6, the
ここで、符号化対象マクロブロックと共有ブロックとで使用する符号化情報については共通であるが、それぞれのマクロブロックを符号化する際のバッファ105中の参照画像が異なるため、符号化対象マクロブロックが参照する参照画像と、共有ブロックが参照する参照画像とは異なることになる。
Here, although the encoding information used in the encoding target macroblock and the shared block is common, the reference image in the
可変長符号化部118は、変換・量子化部115から出力される残差情報を可変長符号化して符号化データS(v)104を生成する。また、可変長符号化部118は、決定部106から出力される共有ブロック指定情報に可変長符号化の処理を施し、符号化された共有ブロック指定情報を符号化データに付加する。すなわち、可変長符号化部118は、符号化された残差情報と、符号化された共有ブロック指定情報とを含む符号化データS(v)104を生成する。そして、可変長符号化部118は、この符号化データS(v)104を出力する。この符号化データS(v)104は、ネットワークまたは蓄積メディアを介して画像復号化装置に入力される。
The variable
次に、以上のように構成された本実施の形態の画像符号化装置100による画像符号化処理について説明する。図7は、画像符号化処理の手順を示すフローチャートである。
Next, an image encoding process performed by the
符号化部117は、入力画像I(v)を入力する(ステップS101)。ここで、入力された入力画像I(v)は、所定サイズのマクロブロックに分割される。一方、符号化部117は、入力画像I(v)の視点と異なる一または複数の他の視点の復号化済み視差画像R(v’)を入力し、バッファ105に参照画像として保存する(ステップS102)。
The
予測部112は、入力画像I(v)の復号化済みの奥行き情報D(v)を入力して、他の視点の復号化済み視差画像R(v’)とこの奥行き情報D(v)を用いて予測画像を生成する(ステップS103)。
The
図8は、予測処理の手順を示すフローチャートである。まず、決定部106は、バッファ105から参照画像を選択する(ステップS301)。そして、決定部106は、上述の(1)、(2)式を用いた射影変換により、参照画像中において、符号化対象マクロブロックに対応する対応マクロブロックを決定する(ステップS302)。
FIG. 8 is a flowchart showing the procedure of the prediction process. First, the
決定部106は、参照画像中で、対応マクロブロックと、対応マクロブロックを中心とした近傍のマクロブロックと、を含む小領域を決定する(ステップS303)。そして、決定部106は、小領域を構成する複数のマクロブロックの中から一つのマクロブロックを選択する(ステップS304)。そして、決定部106は、選択したマクロブロックのRDコストを上述した(3)式を用いて算出する(ステップS305)。決定部106は、算出したRDコストを、不図示のメモリ等に一時的に保存しておく。
The
決定部106は、小領域内の全てのマクロブロックについてRDコストを算出したか否かを判断する(ステップS306)。まだ、決定部106が小領域内の全てのマクロブロックについてRDコストを算出していない場合には(ステップS306:No)、決定部106は小領域で、まだRDコストを算出していない次のマクロブロックを選択し(ステップS307)、ステップS305へ戻って、選択したマクロブロックのRDコストを算出する(ステップS305)。これにより、小領域内の全てのマクロブロックに対してRDコストが算出される。
The
ステップS306において、決定部106が小領域内の全てのマクロブロックについてRDコストを算出した場合には(ステップS306:Yes)、決定部106は、バッファ105内の全ての参照画像(全ての他の視点の復号化済み視差画像R(v’))に対して、対応マクロブロックの決定処理、RDコストの算出処理が終了したか否かを判断する(ステップS308)。
In step S306, when the
そして、決定部106が、まだ全ての参照画像に対して対応マクロブロックの決定処理、RDコストの算出処理を行っていない場合には(ステップS308:No)、決定部106は、バッファ105中で、まだ対応マクロブロックの決定処理、RDコストの算出処理を行っていない次の参照画像を選択し(ステップS309)、ステップS302からS307までの対応マクロブロックの決定処理およびRDコストの算出処理を繰り返し行う。これにより、バッファ105内の全ての参照画像において、対応ブロックを中心とした小領域内の全てのマクロブロックに対するRDコストが算出されメモリ(不図示)に保存されることになる。
If the
決定部106が全ての参照画像に対して対応マクロブロックの決定処理、RDコストの算出処理を完了したら(ステップS308:Yes)、決定部106は、メモリ中に保存されたRDコストの中から、最小となるRDコストを算出したマクロブロックを共有ブロックと決定する(ステップS310)。
When the
決定部106は、決定した共有ブロックが存在する参照画像の視点を指定したview_index、および当該参照画像の小領域における共有ブロックの対応ブロックに対する相対位置を指定したblk_indexの各値を共有ブロック指定情報として設定する(ステップS311)。決定部106は、この共有ブロック指定情報を、取得部107と、可変長符号化部118とに出力する。
The
取得部107は、共有ブロック指定情報が示す共有ブロックの符号化情報を、当該共有ブロックを含む参照画像の符号化データS(v’)または共有ブロックから取得する(ステップS312)。生成部108は、取得された符号化情報(符号化モード、動きベクトル、参照画像の指定インデックス)に従って、予測画像を生成する(ステップS313)。生成部108は生成された予測画像を出力し、予測処理を終了する。
The
図7に戻り、ステップS103の予測処理が終了したら、減算器111が、入力画像I(v)101とこの予測画像との減算処理を行い、残差を出力する(ステップS104)。変換・量子化部115は、残差を直交変換して変換係数を求め、変換係数を量子化して残差情報を求める(ステップS105)。
Returning to FIG. 7, when the prediction process in step S103 is completed, the
可変長符号化部118は、残差情報と、予測部112の決定部106から出力された共有ブロック指定情報とに可変長符号化を施して、符号化データS(v)104を生成する(ステップS106)。可変長符号化部118は、この符号化データS(v)104を出力する(ステップS107)。
The variable
このように本実施の形態では、入力画像の視点と異なる視点の復号化済み視差画像R(v’)において、符号化対象マクロブロックに対応する対応ブロックを中心とする小領域の中から、RDコストが最小となるマクロブロックを共有ブロックとして決定し、その共有ブロックの符号化情報を、符号化対象マクロブロックからの予測画像の生成の際に使用する。また、この符号化情報は動き情報に限られるものではない。すなわち、本実施の形態では、互いに異なる視点の視差画像間で、動き情報に限定されない符号化情報を共有して符号化処理を行い、そして、決定した共有ブロックの位置を示す指定情報を符号化データに付加して出力することにより、射影変換等の誤差の影響を低減することができ、符号化効率を向上させることができる。 As described above, in the present embodiment, in the decoded parallax image R (v ′) having a viewpoint different from the viewpoint of the input image, RD is selected from the small regions centering on the corresponding block corresponding to the encoding target macroblock. The macro block with the lowest cost is determined as a shared block, and the encoding information of the shared block is used when generating a predicted image from the encoding target macro block. Also, this encoded information is not limited to motion information. That is, in the present embodiment, encoding processing is performed by sharing encoding information that is not limited to motion information between parallax images of different viewpoints, and specification information indicating the position of the determined shared block is encoded. By adding to the data and outputting it, the influence of errors such as projective transformation can be reduced, and the coding efficiency can be improved.
本実施の形態では、共有ブロック指定情報として、共有ブロックが含まれる参照画像の視点を示すview_indexと、小領域上での対応ブロックに対する共有ブロックの相対位置を示すblk_indexを用いているが、共有ブロックを指定可能な情報であれば、これらに限定されるものではない。 In the present embodiment, view_index indicating the viewpoint of the reference image including the shared block and blk_index indicating the relative position of the shared block with respect to the corresponding block on the small area are used as the shared block designation information. The information is not limited to these as long as the information can be designated.
例えば、参照画像そのものを識別するための番号ref_indexを共有ブロック指定情報に用い、参照画像を指定するように構成することができる。また、共有ブロックの対応ブロックから相対位置についても、水平方向の相対位置を±H(H≧0)ブロック、垂直方向の相対位置を±V(V≧0)ブロックのような形式で共有ブロック指定情報に設定するように決定部106等を構成してもよい。
For example, a reference image can be configured by using a number ref_index for identifying the reference image itself as shared block designation information. Also, regarding the relative position from the corresponding block of the shared block, the shared block designation is made in such a format that the relative position in the horizontal direction is ± H (H ≧ 0) block and the relative position in the vertical direction is ± V (V ≧ 0) block. The
また、例えば、H.264における動きベクトルの予測に用いられるような、隣接ブロックの中央値を予測に用いる方式により、符号化対象マクロブロックの周囲のブロックから予測する方式で共有ブロックを指定する共有ブロック指定情報を用いるように、決定部106等を構成してもよい。
Also, for example, H. The shared block designation information for designating the shared block is used in a method of predicting from the surrounding blocks of the encoding target macroblock by the method of using the median value of adjacent blocks for the prediction as used in motion vector prediction in H.264. In addition, the
さらに、符号化情報として、画面内予測情報を符号化対象マクロブロックと共有ブロックとで共有する場合には、共有ブロックが存在する視差画像中のマクロブロックから予測画像を生成するように生成部108を構成してもよい。隣接マクロブロックから予測を行う画面内予測では、例えばオブジェクト境界において、符号化対象マクロブロックが背景、隣接するマクロブロックが前景となるオブジェクトに含まれる場合には、各マクロブロックの画素値が異なるため予測が正確とならない可能性が高い。このため、入力画像の視点と異なる他の視点の視差画像中の共有ブロックの隣接マクロブロックを利用して画面内予測を行うように生成部108を構成すればよい。共有ブロックが存在する視点からは、入力画像の視点では隠面となって視認できない背景が画面内に現れており、入力画像の視点内には存在しない隠面(背景領域)のマクロブロックを用いて符号化対象マクロブロックを予測することが可能になるため、オブジェクト境界での予測効率を向上させることが期待できる。
Further, when the intra prediction information as the encoding information is shared between the encoding target macroblock and the shared block, the
(実施の形態2)
実施の形態2は、実施の形態1の画像符号化装置100で符号化された符号化データS(v)104を復号化する際に、符号化データS(v)104に付加された共有ブロック指定情報が示す共有ブロックの符号化情報を共有して用いて予測画像を生成する画像復号化装置である。ここで、復号化対象の符号化データS(v)104には、残差情報、共有ブロック指定情報の符号が含まれている。(Embodiment 2)
In the second embodiment, the shared block added to the encoded data S (v) 104 when the encoded data S (v) 104 encoded by the
図9は、実施の形態2の画像復号化装置の機能的構成を示すブロック図である。本実施の形態の画像復号化装置500は、図9に示すように、制御部501と、復号化部502とを備える。
FIG. 9 is a block diagram illustrating a functional configuration of the image decoding apparatus according to the second embodiment. The
復号化部502は、実施の形態1の画像符号化装置100から、ネットワークまたは蓄積メディアを介して、復号化対象画像である符号化データS(v)104(以下、「復号化対象画像」と呼ぶ場合もある。)を入力し、符号化データS(v)104をマクロブロックに分割し、分割されたマクロブロックに対して、符号化データS(v)104における視点の視差画像とは異なる他の視点の復号化済み視差画像R(v’)における共有ブロックを、符号化データS(v)104に付加された共有ブロック指定情報から特定して、共有ブロックの符号化情報を用いて予測画像を生成して、符号化データS(v)104を復号化する。復号化制御部501は、復号化部502の全体を制御する。
The
復号化部502は、図9に示すように、可変長復号化部504と、逆変換・逆量子化部514と、加算器515と、予測部512と、バッファ505とを備える。ここで、可変長復号化部504、逆変換・逆量子化部514、加算器515は復号化部として機能する。
As illustrated in FIG. 9, the
可変長復号化部504は、復号化対象画像としての符号化データS(v)104を入力し、入力された符号化データS(v)104に可変長復号化処理を行い、符号化データS(v)104に含まれる残差情報(量子化直交変換係数情報)と共有ブロック指定情報とを求める。可変長復号化部504は、復号化された残差情報を逆変換・逆量子化部514に出力し、復号化された共有ブロック指定情報を予測部512の決定部506に出力する。
The variable
ここで、共有ブロック指定情報の詳細については実施の形態1と同様であり、符号化データS(v)の視点の復号化済み奥行き情報D(v)と復号化対象画像を撮像したカメラと他の視点の復号化済み視差画像R(v’)を撮像したカメラとの間の位置関係とに基づいて決定された対応ブロックと、符号化情報を共有する共有ブロックとの位置関係を示す情報である。 Here, the details of the shared block designation information are the same as in the first embodiment, the decoded depth information D (v) of the viewpoint of the encoded data S (v), the camera that captured the decoding target image, and the like. Information indicating the positional relationship between the corresponding block determined based on the positional relationship with the camera that captured the decoded parallax image R (v ′) of the viewpoint and the shared block sharing the encoding information is there.
共有ブロック指定情報には、共有ブロックが含まれる参照画像の視点を示すview_indexと、小領域上での対応ブロックに対する共有ブロックの相対位置を示すblk_indexが含まれるが、実施の形態1で説明したのと同様に、これらに限定されるものではない。 The shared block designation information includes a view_index indicating the viewpoint of the reference image including the shared block, and a blk_index indicating the relative position of the shared block with respect to the corresponding block on the small area, as described in the first embodiment. Like, but not limited to.
逆変換・逆量子化部514は、残差情報に逆量子化処理および逆直交変換処理を行って残差信号を出力する。加算器515は、残差信号と、予測部512で生成された予測画像とを加算して復号化画像を生成し、復号化画像を出力画像503として出力する。
The inverse transform /
バッファ505は、フレームメモリ等の記憶媒体であり、復号化対象画像の視点とは異なる視点の復号化済み視差画像R(v’)が参照画像として保存される。
The
予測部512は、バッファ505に保存された参照画像を用いて予測画像を生成する。予測部512は、図9に示すように、決定部506と、取得部507と、生成部508とを備える。
The
決定部506は、可変長復号化部504により復号化された共有ブロック指定情報に基づいて、復号化対象マクロブロックと符号化情報を共有するための共有ブロックを決定する。
The
より具体的には、決定部506は以下のように共有ブロックを決定する。決定部506は、まず、可変長復号化部504から受け取った共有ブロック指定情報の内容を確認し、共有ブロック指定情報で指定された視点(view_index)の他の視点の復号化済み視差画像R(v’)をバッファ505から読み出す。
More specifically, the
そして、決定部506は、バッファ505から読み出した当該他の視点の復号化済み視差画像R(v’)(参照画像)において、復号化対象マクロブロックに対応する対応マクロブロックを決定する。ここで、復号化対象マクロブロックに対する対応マクロブロックの決定手法については、実施の形態1と同様に、上述の(1)、(2)式による射影変換を用いて行う。また、対応ブロック決定処理は、共有ブロック指定情報で指定された参照画像に対して行われる。
Then, the
そして、決定部506は、共有ブロック指定情報で指定された、共有ブロックの対応マクロブロックからの相対位置(blk_index)のマクロブロックを共有ブロックと決定する。
Then, the
取得部507は、決定部506により決定された共有ブロック(すなわちバッファ505において、共有ブロック指定情報が示す共有ブロック)を含む他の視点の符号化データS(v’)を入力し、当該他の視点の符号化データS(v’)または共有ブロックから、共有ブロックを符号化した際の符号化情報を取得する。本実施の形態では、取得部507は、実施の形態1と同様に、符号化情報として、例えば、符号化モード(PredMode)、動きベクトル(Mv)、参照画像を指定するインデックス(Ref_index)等を取得する。
The
生成部508は、取得部507により取得した符号化情報に基づいて、予測画像を生成する。生成部508は、生成された予測画像を出力する。すなわち、符号化対象マクロブロックの符号化において、復号化済みの他の視点の視差画像R(v’)における共有ブロックの符号化情報を共有して使用されることになる。ここで、生成部508による予測画像の生成の詳細については実施の形態1と同様である。
The
次に、以上のように構成された本実施の形態の画像復号化装置500による復号化処理について説明する。図10は、実施の形態2の復号化処理の手順を示すフローチャートである。
Next, the decoding process by the
可変長復号化部504は、画像符号化装置100から、ネットワークまたは蓄積メディアを介して、復号化対象画像である符号化データS(v)104を入力する(ステップS501)。ここで、入力された符号化データS(v)104は、所定サイズのマクロブロックに分割される。
The variable
可変長復号化部504は、入力された符号化データS(v)104に可変長復号化処理を行い、符号化データS(v)104に含まれる残差情報と共有ブロック指定情報とを抽出する(ステップS502)。可変長復号化部504は、共有ブロック指定情報を、予測部512の決定部506に送出する(ステップS503)。
The variable
復号化された残差情報は、逆変換・逆量子化部514へ送出され、逆変換・逆量子化部514は、残差情報に逆量子化処理および逆直交変換処理を行って残差信号を出力する(ステップS504)。
The decoded residual information is sent to an inverse transform /
復号化部502は、復号化対象画像(符号化データS(v))の視点とは異なる1または複数の他の視点の復号化済み視差画像R(v’)を入力して、バッファ505に保存する(ステップS505)。
The
予測部512は、予測画像を生成する予測処理を行う(ステップS506)。図11は、実施の形態2の予測処理の手順を示すフローチャートである。
The
決定部506は、可変長復号化部504から受け取った共有ブロック指定情報で指定された視点(view_index)の他の視点の復号化済み視差画像R(v’)をバッファ505から取得する(ステップS701)。決定部506は、バッファ505から読み出した他の視点の復号化済み視差画像R(v’)において、復号化対象マクロブロックに対応する対応マクロブロックを決定する(ステップS702)。決定部506は、共有ブロック指定情報で指定された、共有ブロックの対応マクロブロックからの相対位置(blk_index)のマクロブロックを共有ブロックと決定する(ステップS703)。
The
取得部507は、決定された共有ブロックの符号化情報を、当該共有ブロックを含む参照画像の符号化データS(v’)または共有ブロックから取得する(ステップS704)。生成部508は、取得された符号化情報(符号化モード、動きベクトル、参照画像の指定インデックス)に従って、予測画像を生成する(ステップS705)。生成部508は生成された予測画像を出力し、予測処理を終了する。
The acquiring
図10に戻り、ステップS506の予測処理が終了したら、加算器515は、ステップS504にて逆変換・逆量子化部514から出力された残差と、予測部512により生成された予測画像とを加算して復号化画像を生成し、復号化画像を出力画像信号R(v)503として出力する(ステップS507)。
Returning to FIG. 10, when the prediction process in step S506 is completed, the
このように本実施の形態では、復号化対象画像の視点と異なる視点の復号化済み視差画像R(v’)において、画像符号化装置100から入力された符号化データS(v)に付加された共有ブロック指定情報が示す共有ブロックの符号化情報を、復号化対象マクロブロックからの予測画像の生成の際に使用する。また、この符号化情報は動き情報に限定されない。すなわち、本実施の形態では、互いに異なる視点の視差画像間で、動き情報に限定されない符号化情報を共有して復号化処理を行うことにより、射影変換等の誤差の影響を低減することができ、符号化効率を向上させることができる。
As described above, in the present embodiment, a decoded parallax image R (v ′) having a viewpoint different from the viewpoint of the decoding target image is added to the encoded data S (v) input from the
(変形例)
上記実施の形態1の画像符号化装置100、実施の形態2の画像復号化装置500においては種々の変形例を採用することができる。(Modification)
Various modifications can be employed in the
(変形例1)
上記実施の形態1の画像符号化装置100、実施の形態2の画像復号化装置500では、予測画像生成の際に共有する符号化情報として、符号化モード、動きベクトル、参照画像を指定する情報を例にあげて説明しているが、画像を復号化するために必要な情報であれば、これらに限定されるものではない。例えば、共有する符号化情報として、符号化モードと参照画像を指定する情報だけを用いたり、あるいは動きベクトルだけを用いる等、上記3つの情報のうち1または複数の情報を適宜組み合わせて符号化情報として共有できるように構成してもよい。(Modification 1)
In the
(変形例2)
この他、画像符号化装置100において残差情報を符号化情報として用いることもできる。例えば、画像符号化装置100において符号化情報の共有により生成した予測画像と符号化対象マクロブロックの残差情報とを符号化せず、共有ブロックにおける残差情報をそのまま利用する方式を採用してもよい。また、共有ブロックにおける残差情報との差分を符号化する方式を採用してもよい。これらの方式を採用する場合には、画像符号化装置100側で、残差情報を共有するか否かの情報を符号化して符号化データに付加して画像復号化装置500に対して出力するように構成すればよい。この場合には、実施の形態2の画像復号化装置500における符号化データS(v)の復号化処理おいて、逆変換・量子化部514による逆変換処理、量子化処理が不要になるという利点がある。(Modification 2)
In addition, residual information can also be used as encoded information in the
(変形例3)
また、共有する符号化情報として、共有ブロックの画素値そのものを用いるよう画像符号化装置100の取得部107および生成部108、画像復号化装置500の取得部507および生成部108を構成してもよい。例えば、符号化対象マクロブロックと共有ブロックとは、同じ地点を撮像したマクロブロックであるため、各マクロブロックが有する画素値は相関が高い。このため、取得部107、507において、符号化情報を共有ブロックの画素値として決定し、生成部108、508において、この画素値をそのままコピーして予測画像を生成することにより、符号化対象ブロックの符号化に必要な符号量を削減することができるという利点がある。(Modification 3)
Further, the
このように、共有する符号化情報として、共有ブロックの画素値そのものを用いる場合には、画像符号化装置100において、取得部107で、符号化情報として、共有ブロックの画素値を取得し、生成部108で、取得した共有ブロックの画素値をコピーして予測画像を生成し、可変長符号化部118で、符号化対象ブロックと共有ブロック間で共有する符号化情報が、符号化モード、動きベクトル、参照画像の指定などの符号化のための情報であるか、あるいは共有ブロックの画素値であるかを示す判別情報を符号化して符号化データに付加するように構成すればよい。
As described above, when the pixel value itself of the shared block is used as the encoding information to be shared, in the
一方、画像復号化装置500において、可変長復号化部504で入力された符号化データS(v)に含まれる判別情報を復号化し、取得部507で、判別情報において符号化情報が共有ブロックの画素値である旨を示す場合には、符号化情報として、共有ブロックの画素値を取得し、生成部508で、取得した共有ブロックの画素値をコピーして予測画像を生成するように構成すればよい。
On the other hand, in the
(変形例4)
また、共有ブロックの指定の方式についても、参照画像の視点を示す情報、対応ブロックからの共有ブロックの相対位置を示す情報等からなる共有ブロック指定情報を用いる手法に限定されるものではない。例えば、画像符号化装置100と画像復号化装置500との間で、予め共有ブロックを決定する処理手順を共通して定めておき、この処理手順に従って共有ブロックを指定する方式を採用してもよい。これにより、共有ブロックを指定するために必要な符号量を削減することができる。(Modification 4)
Also, the method for specifying the shared block is not limited to a method using shared block specifying information including information indicating the viewpoint of the reference image, information indicating the relative position of the shared block from the corresponding block, and the like. For example, a method may be adopted in which a processing procedure for determining a shared block is previously determined in common between the
例えば、このような処理手順の例として、符号化対象マクロブロックの近傍の符号化済みマクロブロックにおける符号化情報の傾向に基づいて、対応ブロックを中心とした小領域中から符号化情報の相関が最も高くなる位置を探索し、当該位置のマクロブロックを共有ブロックとして決定するように決定部106,506を構成することができる。
For example, as an example of such a processing procedure, based on the tendency of the encoded information in the encoded macroblock near the encoding target macroblock, the correlation of the encoded information from the small area centering on the corresponding block is The
すなわち、画像符号化装置100では、上記入力画像I(v)の復号化済み奥行き情報D(v)および入力画像および他の視点の復号化済み視差画像R(v’)を撮像したカメラ間の位置関係に基づいて定められた探索範囲内から、小領域のマクロブロックにおける符号化情報の傾向に基づいて、共有ブロックを決定するように、決定部106を構成する。また、共有ブロック指定情報として、上記探索範囲内から小領域のマクロブロックにおける符号化情報の傾向に基づいて共有ブロックを決定する旨の判別情報を生成するように、決定部106を構成すればよい。
That is, in the
一方、画像復号化装置500では、共有ブロック指定情報の中の判別情報が上記探索範囲内から上記小領域のブロックにおける符号化情報の傾向に基づいて共有ブロックを決定する旨を示す場合には、探索範囲内から、符号化情報の傾向に基づいて共有ブロックを決定するように、決定部506を構成すればよい。
On the other hand, in the
実施の形態1および変形例の画像符号化装置100、実施の形態2および変形例の画像復号化装置500は、CPUなどの制御装置と、ROM(Read Only Memory)やRAMなどの記憶装置と、HDD、CDドライブ装置などの外部記憶装置と、ディスプレイ装置などの表示装置と、キーボードやマウスなどの入力装置を備えたハードウェア構成となっている。
The
なお、実施の形態1および変形例の画像符号化装置100で実行される画像符号化プログラム、実施の形態2および変形例の画像復号化装置500で実行される画像復号化プログラムは、ROM等に予め組み込まれて提供される。
Note that the image encoding program executed by the
実施の形態1および変形例の画像符号化装置100で実行される画像符号化プログラム、実施の形態2および変形例の画像復号化装置500で実行される画像復号化プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
The image encoding program executed by the
さらに、実施の形態1および変形例の画像符号化装置100で実行される画像符号化プログラム、実施の形態2および変形例の画像復号化装置500で実行される画像復号化プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、実施の形態1および変形例の画像符号化装置100で実行される画像符号化プログラム、実施の形態2および変形例の画像復号化装置500で実行される画像復号化プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。
Furthermore, an image encoding program executed by the
実施の形態1および変形例の画像符号化装置100で実行される画像符号化プログラムは、上述した各部(減算器、変換・量子化部、可変長符号化部、逆変換・逆量子化部、加算器、共有ブロック決定部、符号化情報取得部、予測画像生成部)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMから画像符号化プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、減算器、変換・量子化部、可変長符号化部、逆変換・逆量子化部、加算器、共有ブロック決定部、符号化情報取得部、予測画像生成部が主記憶装置上に生成されるようになっている。なお、画像符号化装置100の上記各部を回路等のハードウェアで構成してもよい。
The image encoding program executed by the
実施の形態2および変形例の画像復号化装置500で実行される画像復号化プログラムは、上述した各部(可変長復号化部、逆変換・逆量子化部、加算器、共有ブロック決定部、符号化情報取得部、予測画像生成部)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMから画像復号化プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、可変長復号化部、逆変換・逆量子化部、加算器、共有ブロック決定部、符号化情報取得部、予測画像生成部が主記憶装置上に生成されるようになっている。なお、画像復号化装置500の上記各部を回路等のハードウェアで構成してもよい。
The image decoding program executed by the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
100 画像符号化装置
101 入力画像
102 復号化済み視差画像
103 復号化済み奥行き情報/視差情報
104,124 符号化データ
105,505 バッファ
106,506 決定部
107,507 取得部
108,508 生成部
111 減算器
112,512 予測部
113,515 加算器
114,514 逆変換・逆量子化部
115 変換・量子化部
116 制御部
117 符号化部
118 可変長符号化部
500 画像復号化装置
501 制御部
502 復号化部
503 出力画像
504 可変長復号化部DESCRIPTION OF
Claims (12)
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する取得部と、
取得した前記符号化情報に基づいて、予測画像を生成する生成部と、
前記画像と前記予測画像とから符号化データを生成する符号化部と、
を備える、画像符号化装置。The corresponding block corresponding to the encoding target block in the first parallax image of the viewpoint in the encoding target image in one or a plurality of second parallax images of other viewpoints different from the viewpoint is set to the depth of the first parallax image. The corresponding block in each of the one or the plurality of second parallax images, and the corresponding block determined based on information and a positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image Determining a shared block that shares encoding information from among the blocks of the small area including the neighborhood of, and generating shared block designation information indicating a positional relationship between the corresponding block and the shared block;
An acquisition unit that acquires the encoding information shared by the shared block based on the shared block designation information;
Based on the acquired encoded information, a generating unit that generates a predicted image;
An encoding unit that generates encoded data from the image and the predicted image;
An image encoding device comprising:
請求項1に記載の画像符号化装置。The encoding unit further encodes the shared block designation information and adds the encoded information to the encoded data, and outputs the encoded data to which the encoded shared block designation information is added.
The image encoding device according to claim 1.
前記生成部は、取得した前記共有ブロックの画素値に基づいて前記予測画像を生成し、
前記符号化部は、さらに、前記符号化情報が前記共有ブロックの画素値である旨を示す判別情報を符号化して前記符号化データに付加し、符号化された前記判別情報が付加された前記符号化データを出力する、
請求項2に記載の画像符号化装置。The acquisition unit acquires a pixel value of the shared block as the encoding information,
The generation unit generates the prediction image based on the acquired pixel value of the shared block,
The encoding unit further encodes discrimination information indicating that the encoding information is a pixel value of the shared block and adds the encoded discrimination information to the encoded data, and the encoded discrimination information is added. Output encoded data,
The image encoding device according to claim 2.
請求項2に記載の画像符号化装置。The determining unit determines the shared block based on a tendency of the encoding information in the block of the small region from within a search range determined based on the positional relationship between the depth information and the imaging device, As the shared block designation information, generating a statement to determine the shared block based on the tendency of the encoded information in the small area block from within the search range,
The image encoding device according to claim 2.
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する取得部と、
取得した符号化情報に基づいて、予測画像を生成する生成部と、
入力された符号化データを復号化して、復号化された符号化データと前記予測画像とから、出力画像を生成する復号化部と、
を備える、画像復号化装置。The corresponding block corresponding to the decoding target block in the first parallax image of the viewpoint in the decoding target image in the second parallax image of the other viewpoint different from the viewpoint, the depth information of the first parallax image, and the Based on the shared block designation information indicating the positional relationship between the shared block that shares the encoding information and the corresponding block, determined based on the positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image A determination unit for determining the shared block;
An acquisition unit that acquires the encoding information shared by the shared block based on the shared block designation information;
Based on the acquired encoded information, a generation unit that generates a predicted image;
A decoding unit that decodes input encoded data and generates an output image from the decoded encoded data and the predicted image;
An image decoding apparatus comprising:
前記復号化部は、さらに、画像符号化装置から前記符号化データを入力し、前記符号化データに含まれる前記共有ブロック指定情報を復号化し、
前記決定部は、復号化された前記共有ブロック指定情報に基づいて、前記共有ブロックを決定する、
請求項5に記載の画像復号化装置。The encoded data includes the encoded shared block designation information,
The decoding unit further receives the encoded data from an image encoding device, decodes the shared block designation information included in the encoded data,
The determination unit determines the shared block based on the decoded shared block designation information.
The image decoding device according to claim 5.
前記復号化部は、前記判別情報を復号化し、
前記取得部は、前記符号化情報が前記共有ブロックの画素値である旨を前記判別情報が示す場合には、前記符号化情報として前記共有ブロックの画素値を取得し、
前記生成部は、取得した前記共有ブロックの画素値に基づいて前記予測画像を生成する、
請求項6に記載の画像復号化装置。The encoded data is further encoded, and includes discrimination information indicating whether the encoded information is a pixel value of the shared block,
The decoding unit decodes the discrimination information,
When the determination information indicates that the encoding information is a pixel value of the shared block, the acquisition unit acquires the pixel value of the shared block as the encoding information;
The generation unit generates the prediction image based on the acquired pixel value of the shared block.
The image decoding device according to claim 6.
前記決定部は、前記判別情報が探索範囲内から、前記対応ブロックの近傍のブロックを含む小領域のブロックにおける前記符号化情報の傾向に基づいて前記共有ブロックを決定する旨を示す場合に、探索範囲内から、前記符号化情報の傾向に基づいて、前記共有ブロックを決定する、
請求項6に記載の画像復号化装置。The shared block designation information further includes the coding information of a block in a small area including a block in the vicinity of the corresponding block, within a search range determined based on the depth information and a positional relationship between the imaging devices. Including discriminating information indicating whether to determine the shared block based on a trend,
When the determination information indicates that the shared block is determined based on a tendency of the encoding information in a small area block including a block near the corresponding block from within a search range, Determining the shared block from within a range based on a tendency of the encoded information;
The image decoding device according to claim 6.
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得し、
取得した前記符号化情報に基づいて、予測画像を生成し、
前記画像と前記予測画像とから符号化データを生成する、
画像符号化方法。The corresponding block corresponding to the encoding target block in the first parallax image of the viewpoint in the encoding target image in one or a plurality of second parallax images of other viewpoints different from the viewpoint is set to the depth of the first parallax image. The corresponding block in each of the one or the plurality of second parallax images, and the corresponding block determined based on information and a positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image Determining a shared block that shares encoding information from among the blocks in the small area including the neighborhood of the block, and generating shared block designation information indicating a positional relationship between the corresponding block and the shared block,
Based on the shared block designation information, obtain the encoding information shared by the shared block,
Based on the obtained encoded information, generate a prediction image,
Generating encoded data from the image and the predicted image;
Image coding method.
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得し、
取得した符号化情報に基づいて、予測画像を生成し、
入力された符号化データを復号化して、復号化された符号化データと前記予測画像とから、出力画像を生成する、
画像復号化方法。The corresponding block corresponding to the decoding target block in the first parallax image of the viewpoint in the decoding target image in the second parallax image of the other viewpoint different from the viewpoint, the depth information of the first parallax image, and the Based on the shared block designation information indicating the positional relationship between the shared block that shares the encoding information and the corresponding block, determined based on the positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image To determine the shared block,
Based on the shared block designation information, obtain the encoding information shared by the shared block,
Based on the acquired encoded information, generate a prediction image,
Decoding input encoded data and generating an output image from the decoded encoded data and the predicted image;
Image decoding method.
符号化対象の画像における視点の第1視差画像内の符号化対象ブロックに、前記視点と異なる他の視点の1または複数の第2視差画像において対応する対応ブロックを、前記第1視差画像の奥行き情報と、前記第1視差画像の視点と前記第2視差画像の視点との位置関係と、に基づいて決定し、前記1または複数の第2視差画像のそれぞれにおける前記対応ブロック、及び前記対応ブロックの近傍を含む小領域のブロックの中から、符号化情報を共有する共有ブロックを決定し、前記対応ブロックと前記共有ブロックとの位置関係を示す共有ブロック指定情報を生成する手段と、
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する手段と、
取得した前記符号化情報に基づいて、予測画像を生成する手段と、
前記画像と前記予測画像とから符号化データを生成する手段と、
して機能させるためのプログラム。Computer
The corresponding block corresponding to the encoding target block in the first parallax image of the viewpoint in the encoding target image in one or a plurality of second parallax images of other viewpoints different from the viewpoint is set to the depth of the first parallax image. The corresponding block in each of the one or the plurality of second parallax images, and the corresponding block determined based on information and a positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image Means for determining a shared block that shares encoding information from among blocks in a small area including the neighborhood of the block, and generating shared block designation information indicating a positional relationship between the corresponding block and the shared block;
Means for acquiring the encoding information shared by the shared block based on the shared block designation information;
Means for generating a predicted image based on the obtained encoded information;
Means for generating encoded data from the image and the predicted image;
Program to make it function.
復号化対象の画像における視点の第1視差画像内の復号化対象ブロックに、前記視点と異なる他の視点の第2視差画像において対応する対応ブロックを、前記第1視差画像の奥行き情報と、前記第1視差画像の視点と前記第2視差画像の視点との位置関係と、に基づいて決定し、符号化情報を共有する共有ブロックと前記対応ブロックとの位置関係を示す共有ブロック指定情報に基づいて、前記共有ブロックを決定する手段と、
前記共有ブロック指定情報に基づいて、前記共有ブロックが共有する前記符号化情報を取得する手段と、
取得した符号化情報に基づいて、予測画像を生成する手段と、
入力された符号化データを復号化して、復号化された符号化データと前記予測画像とから、出力画像を生成する手段と、
して機能させるためのプログラム。Computer
The corresponding block corresponding to the decoding target block in the first parallax image of the viewpoint in the decoding target image in the second parallax image of the other viewpoint different from the viewpoint, the depth information of the first parallax image, and the Based on the shared block designation information indicating the positional relationship between the shared block that shares the encoding information and the corresponding block, determined based on the positional relationship between the viewpoint of the first parallax image and the viewpoint of the second parallax image Means for determining the shared block;
Means for acquiring the encoding information shared by the shared block based on the shared block designation information;
Means for generating a predicted image based on the obtained encoded information;
Means for decoding input encoded data and generating an output image from the decoded encoded data and the predicted image;
Program to make it function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012534880A JPWO2012172634A1 (en) | 2011-06-13 | 2011-06-13 | Image encoding apparatus, image decoding apparatus, method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012534880A JPWO2012172634A1 (en) | 2011-06-13 | 2011-06-13 | Image encoding apparatus, image decoding apparatus, method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPWO2012172634A1 true JPWO2012172634A1 (en) | 2015-02-23 |
Family
ID=52687704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012534880A Pending JPWO2012172634A1 (en) | 2011-06-13 | 2011-06-13 | Image encoding apparatus, image decoding apparatus, method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPWO2012172634A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008022421A (en) * | 2006-07-14 | 2008-01-31 | Kddi Corp | Multi-viewpoint image compression encoding method, apparatus and program |
JP2010515400A (en) * | 2007-01-03 | 2010-05-06 | サムスン エレクトロニクス カンパニー リミテッド | Multi-view video encoding and decoding method and apparatus using global difference vector |
-
2011
- 2011-06-13 JP JP2012534880A patent/JPWO2012172634A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008022421A (en) * | 2006-07-14 | 2008-01-31 | Kddi Corp | Multi-viewpoint image compression encoding method, apparatus and program |
JP2010515400A (en) * | 2007-01-03 | 2010-05-06 | サムスン エレクトロニクス カンパニー リミテッド | Multi-view video encoding and decoding method and apparatus using global difference vector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2927560T3 (en) | Video decoding apparatus, video encoding apparatus, storage medium and method for transmission | |
JP5277257B2 (en) | Video decoding method and video encoding method | |
KR101797805B1 (en) | Decoding method, decoding device, and computer readable storage medium | |
JP6232076B2 (en) | Video encoding method, video decoding method, video encoding device, video decoding device, video encoding program, and video decoding program | |
US20220078408A1 (en) | Device and method for processing video signal by using inter prediction | |
JP7477495B2 (en) | METHOD AND APPARATUS FOR PROCESSING VIDEO BASED ON INTER PREDICTION MODE - Patent application | |
JPWO2008035665A1 (en) | Image encoding method and decoding method, apparatus thereof, image decoding apparatus, program thereof, and storage medium storing program | |
TWI499277B (en) | Multiple view point image encoding method, multiple view point image decoding method, multiple view point image encoding apparatus, multiple view point image decoding apparatus, and program thereof | |
JP6039178B2 (en) | Image encoding apparatus, image decoding apparatus, method and program thereof | |
JP2022173582A (en) | Image decoding method and apparatus based on motion prediction in sub-block unit in image coding system | |
KR20150015483A (en) | Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, image decoding program, and recording medium | |
JPWO2015141613A1 (en) | Image encoding apparatus and method, image decoding apparatus and method, and program thereof | |
JP6232075B2 (en) | Video encoding apparatus and method, video decoding apparatus and method, and programs thereof | |
JP6962193B2 (en) | A recording medium that stores a moving image coding device, a moving image coding method, and a moving image coding program. | |
CN114303373A (en) | Method of decoding video for residual coding and apparatus thereof | |
KR20210153738A (en) | Image decoding method and apparatus for deriving weight index information for generating prediction samples | |
CN113261294A (en) | Inter-frame prediction method and device based on SBTMVP | |
JP4944046B2 (en) | Video encoding method, decoding method, encoding device, decoding device, program thereof, and computer-readable recording medium | |
US11949874B2 (en) | Image encoding/decoding method and device for performing prof, and method for transmitting bitstream | |
WO2012172634A1 (en) | Image encoding device, image decoding device, method, and program | |
JP5706291B2 (en) | Video encoding method, video decoding method, video encoding device, video decoding device, and programs thereof | |
JP2014150297A (en) | Image encoding device, image decoding device, image encoding method, image decoding method, and program | |
JP6386466B2 (en) | Video encoding apparatus and method, and video decoding apparatus and method | |
JP2015128252A (en) | Prediction image generating method, prediction image generating device, prediction image generating program, and recording medium | |
US20220337842A1 (en) | Image encoding/decoding method and device for performing bdof, and method for transmitting bitstream |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140507 |