JPH10191393A - Multi-view-point image coder - Google Patents

Multi-view-point image coder

Info

Publication number
JPH10191393A
JPH10191393A JP34320596A JP34320596A JPH10191393A JP H10191393 A JPH10191393 A JP H10191393A JP 34320596 A JP34320596 A JP 34320596A JP 34320596 A JP34320596 A JP 34320596A JP H10191393 A JPH10191393 A JP H10191393A
Authority
JP
Japan
Prior art keywords
image
compensation
parallax
block
motion
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
Application number
JP34320596A
Other languages
Japanese (ja)
Inventor
Ryuji Kitaura
竜二 北浦
Toshio Nomura
敏男 野村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP34320596A priority Critical patent/JPH10191393A/en
Publication of JPH10191393A publication Critical patent/JPH10191393A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the compression rate while keeping a high compression rate by applying motion compression only without parallax compression when no motion amount is available in a 2nd motion compression means so as to reduce the entire information amount of a vector required for coding. SOLUTION: A parallax compression section 2 applies compression by block matching with respect to a right eye image R1 by using a decoded image of a left eye image L1. The parallax vector in this case takes difference of a block extracted from a block composite image of right and left eye images R1, L1 and a vector where a total sum (SAD) of errors in a difference block is selected. With respect to a block of a 2nd right eye image R2, a motion compression section 14 uses the preceding right eye image R1 to conduct block matching and when a motion vector is (0, 0), only motion compression is conducted. In other cases, when the SAD is smaller than the total sum of the picture element in the block, the parallax compression is conducted and when not, parallax compression is not conducted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像高能率符号化に
おいて、特に動き補償および視差補償予測を用いた多視
点画像の高能率符号化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to high-efficiency image coding, and more particularly to high-efficiency coding of multi-view images using motion compensation and parallax compensation prediction.

【0002】[0002]

【従来の技術】多視点画像の符号化において、動画像符
号化の際に一般的に用いられている動き補償と、視点の
異る画像間に対し視差補償を組み合わせて符号化するこ
とにより、符号化効率を向上させる方式がよく知られて
いる。
2. Description of the Related Art In multi-viewpoint image coding, coding is performed by combining motion compensation generally used in moving image coding and disparity compensation between images having different viewpoints. Methods for improving coding efficiency are well known.

【0003】例えば文献(W.A.シュップ,安田,”
視差補償および動き補償を用いたステレオ動画像のデー
タ圧縮”,PCSJ88(1988),pp.63−6
4)によれば、図6に示すように、右画像に対しては動
き補償のみを行なう。左画像に対してはブロック毎に視
差補償と動き補償のうち、予測誤差がより少ない方の補
償方法を選択し、符号化するという方式である。
[0003] For example, in the literature (WA Schup, Yasuda, "
Data Compression of Stereo Video Using Parallax Compensation and Motion Compensation ", PCSJ88 (1988), pp. 63-6.
According to 4), as shown in FIG. 6, only the motion compensation is performed on the right image. With respect to the left image, a method of selecting the compensation method having the smaller prediction error from the parallax compensation and the motion compensation for each block and coding the selected image.

【0004】[0004]

【発明が解決しようとする課題】しかしながら従来の方
法では、視差補償のみもしくは動き補償のみを行なうの
で、視差補償のみのときは時間的冗長度が、動き補償の
みのとき空間的冗長度が残り、圧縮の効率がよくない。
However, in the conventional method, only the parallax compensation or only the motion compensation is performed, so that the temporal redundancy remains when only the parallax compensation is performed, and the spatial redundancy remains when the motion compensation is performed alone. Inefficient compression.

【0005】また、ブロック毎に視差補償のみもしくは
動き補償のみを行なうように切替えるため、補償により
求められたベクトルが互いに性質の異なる視差ベクトル
や動きベクトルのいずれであるかはブロック毎に違うの
で、ベクトルの符号化効率が悪くなるという問題点があ
る。
[0005] In addition, since switching is performed so that only parallax compensation or only motion compensation is performed for each block, it is different for each block whether a vector obtained by compensation is a parallax vector or a motion vector having different properties. There is a problem that the encoding efficiency of the vector is deteriorated.

【0006】本発明の目的は、多視点画像の符号化にお
いて動き補償及び視差補償予測を組み合わせることによ
り高効率の符号化を実現し、かつ組み合わせた補償の判
定基準に分散を用いてマッチングの精度を上げることに
より画質を向上させつつ、動きがない場合は動き補償の
みを行なうことにより全体としてベクトルの情報量を下
げ、かつ周りのブロックの補償方式を参考にして補償方
式を選択することによりブロック歪みを軽減することが
できる多視点符号化装置を提供することにある。
An object of the present invention is to realize high-efficiency encoding by combining motion compensation and disparity compensation prediction in encoding a multi-view image, and to achieve matching accuracy by using variance as a criterion for the combined compensation. If there is no motion, the amount of vector information is reduced as a whole by performing only motion compensation, and the block is selected by referring to the compensation method of the surrounding blocks. An object of the present invention is to provide a multi-viewpoint encoding device capable of reducing distortion.

【0007】[0007]

【課題を解決するための手段】本発明の符号化装置は上
記目的を達成するために、多視点画像符号化装置におい
て、1つの視点の画像を基準画像と定め、前記基準画像
に対して動き補償を行う第1の動き補償手段と、前記基
準画像以外の視点の画像であるところの視差画像に対し
て視差補償を行う視差補償手段と、前記視差画像もしく
は視差補償された前記視差画像に対して動き補償を行な
う第2の動き補償手段と、ブロックごとに補償方法を選
択する判断部とを備え、前記第2の動き補償手段におい
て動き量がないと判断された場合、視差補償を行なわず
動き補償のみを行なうことを特徴とする。
In order to achieve the above object, a coding apparatus according to the present invention, in a multi-view image coding apparatus, determines an image of one viewpoint as a reference image, First motion compensation means for performing compensation, disparity compensation means for performing disparity compensation on a disparity image that is an image of a viewpoint other than the reference image, and disparity compensation for the disparity image or the disparity-compensated disparity image. Motion compensating means for performing motion compensation by means of a block, and a judging unit for selecting a compensation method for each block. When the second motion compensating means judges that there is no motion amount, no parallax compensation is performed. It is characterized in that only motion compensation is performed.

【0008】また本発明では、前記視差画像の符号化に
おいて、左隣にブロックが存在するようなブロックに対
して視差補償もしくは動き補償もしくは視差補償を行な
った後に動き補償を行なう場合、左隣のブロックと同一
の補償による差分ブロック内の誤差の総和の値に対して
ある所定の値を引いてもよい。
In the present invention, in the above-described parallax image encoding, when motion compensation is performed after performing parallax compensation or motion compensation or parallax compensation on a block having a block on the left, A predetermined value may be subtracted from the sum of the errors in the difference block by the same compensation as that of the block.

【0009】また本発明では、前記視差画像の符号化に
おいて、すべてのブロックに対して補償を行なった後、
周囲8近傍のブロックが存在するようなブロックにおい
て、そのブロックの周囲8近傍のブロックすべてに対し
て同一の補償が行われており、かつそのブロックで行わ
れている補償が周囲8近傍のブロックの補償と異なる場
合、そのブロックで行う補償を周囲8近傍のブロックの
補償に合わせてもよい。
According to the present invention, in the encoding of the parallax image, after compensating all the blocks,
In a block in which a block near the surrounding 8 exists, the same compensation is performed for all the blocks near the surrounding 8 of the block, and the compensation performed in the block is performed for the block near the surrounding 8. When the compensation is different from the compensation, the compensation performed in the block may be matched with the compensation of a block near the surrounding 8.

【0010】また本発明では、前記視差画像の符号化に
おいて、視差補償を行なった後に動き補償を行なうと
き、ブロック内の予測誤差と分散を求め、分散が最も小
さくなるときの参照ブロックを予測に用いてもよい。
Further, in the present invention, in the above-described parallax image encoding, when performing motion compensation after performing parallax compensation, a prediction error and a variance in a block are obtained, and a reference block having the smallest variance is used for prediction. May be used.

【0011】また本発明では、前記視差画像の符号化の
際、分散がある閾値以下となる参照ブロックのうち、ブ
ロック内の予測誤差の総和の値が最も小さいものを予測
に用いてもよい。
In the present invention, when encoding the parallax image, among the reference blocks having a variance equal to or less than a certain threshold, a reference block having the smallest sum of prediction errors in the block may be used for prediction.

【0012】また本発明では、ブロック内の誤差の総和
の値と分散のそれぞれを小さい方から順位をつけて、両
方の順位にそれぞれ重みづけを行い、それらを足し合わ
せた値が最も小さくなるときの参照ブロックを予測に用
いてもよい。
Further, according to the present invention, when the total value and the variance of the errors in the block are ranked from the smallest one, weights are given to both the ranks, and when the sum of them is minimized. May be used for prediction.

【0013】また本発明では、前記視差画像の符号化の
際、視差補償を行なった後に動き補償を行なう代わり
に、動き補償行なった後に視差補償を行なってもよい。
In the present invention, when coding the parallax image, instead of performing motion compensation after performing parallax compensation, parallax compensation may be performed after performing motion compensation.

【0014】また本発明では、視差補償を行った後に動
き補償を行う際の予測誤差を画素単位でみて、所定の閾
値より大きいものがあれば動き補償は行なわないように
してもよい。
In the present invention, the prediction error in performing the motion compensation after performing the parallax compensation may be viewed in pixel units, and if any error is larger than a predetermined threshold, the motion compensation may not be performed.

【0015】また本発明では、ブロック毎に視差ベクト
ルを求める際、視差補償を行なわないと判定されたブロ
ックの視差ベクトルを第1視差ベクトルとし、そのブロ
ックより前に視差補償を行うと判定されたブロックが存
在する場合、第1視差ベクトルの代わりにそのブロック
より前に視差補償を行うと判定されたブロックの第2視
差ベクトルをもつようにし、かつ第2視差ベクトルを用
いたときの予測誤差がある閾値より大きい場合は第1視
差ベクトルをもつようにしてもよい。
In the present invention, when obtaining a disparity vector for each block, the disparity vector of the block determined not to perform the disparity compensation is set as the first disparity vector, and it is determined that the disparity compensation is performed before the first block. When there is a block, the second disparity vector of the block determined to perform the disparity compensation before the block is used instead of the first disparity vector, and the prediction error when the second disparity vector is used is reduced. If it is larger than a certain threshold value, it may have a first disparity vector.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につい
て詳細に説明する。図1に本発明の多視点画像符号化装
置の実施の形態を示す。本実施の形態は2眼式の例であ
り、この画像符号化装置に入力する画像は視差のある立
体画像とする。またこの立体画像はそれぞれ動画像であ
るものとする。
Embodiments of the present invention will be described below in detail. FIG. 1 shows an embodiment of a multi-view image encoding apparatus according to the present invention. The present embodiment is an example of a binocular system, and an image input to the image encoding device is a stereoscopic image having parallax. The three-dimensional images are assumed to be moving images.

【0017】まず立体画像30を符号化する手順を図2
を用いて説明する。符号化は以下の(a)〜(d)の手
順で行なわれる。
First, the procedure for encoding the stereoscopic image 30 is shown in FIG.
This will be described with reference to FIG. Encoding is performed according to the following procedures (a) to (d).

【0018】(a)左目用画像31の符号化…立体画像
30の左目用画像31をフレーム内で符号化を行なう。
(A) Encoding of left-eye image 31: The left-eye image 31 of the stereoscopic image 30 is encoded in a frame.

【0019】(b)右目用画像32の符号化…左目用画
像31の復号画像を用いた視差補償により、右目用画像
32に対してフレーム間符号化を行なう。
(B) Encoding of right-eye image 32: Inter-frame encoding is performed on the right-eye image 32 by parallax compensation using the decoded image of the left-eye image 31.

【0020】このときすべてのブロックに対して視差ベ
クトルを求めるが、通常の動き補償と同様にブロック内
の誤差の総和によってブロック毎に視差補償を行なう場
合と行なわない場合とに判定する。
At this time, the disparity vectors are obtained for all the blocks, and it is determined whether or not the disparity compensation is performed for each block based on the sum of the errors in the blocks as in the normal motion compensation.

【0021】同時にこの視差ベクトルより右目用画像3
2から左目用画像31の復号画像の差分をとった差分画
像33を作成する。
At the same time, the right eye image 3 is obtained from the disparity vector.
From 2, a difference image 33 is created by taking the difference between the decoded image of the left-eye image 31.

【0022】(c)左目用画像34の符号化…左目用画
像34は、前の左目用画像31の復号画像を用いた動き
補償によりフレーム間符号化を行なう。
(C) Encoding of left-eye image 34... The left-eye image 34 is subjected to inter-frame encoding by motion compensation using a decoded image of the previous left-eye image 31.

【0023】(d)右目用画像35の符号化…右目用画
像35に対する符号化はブロック毎に行なわれ、図3を
用いて説明する。
(D) Encoding of right-eye image 35: Encoding of the right-eye image 35 is performed for each block, and will be described with reference to FIG.

【0024】符号化は次の(1)から(5)の手順で行
なわれる。
The encoding is performed according to the following procedures (1) to (5).

【0025】(1)図3の判定部100で右目用画像3
5に対し、右目用画像32の復号画像を用いてブロック
マッチングを行なった後、その予測誤差がある閾値以下
のとき動き補償を行ない、そうでなければ動き補償を行
なわないように判定する。
(1) The right eye image 3 is determined by the determination unit 100 in FIG.
For block 5, after performing block matching using the decoded image of the right-eye image 32, if the prediction error is equal to or less than a certain threshold, motion compensation is performed; otherwise, it is determined not to perform motion compensation.

【0026】判定部100で動き補償を行なうと判定さ
れた場合はフラグMCに1を代入し、判定部101で動
きベクトルが(0,0)であると判定された場合、右目
用画像35に対し、左目用画像34の復号画像を用いて
視差ベクトルを求める。右目用画像35と動きベクトル
が(0,0)で動き補償された右目用画像32の復号画
像との差分をとり、その差分値を符号化する。
When the judgment section 100 judges that motion compensation is to be performed, 1 is substituted for the flag MC. When the judgment section 101 judges that the motion vector is (0, 0), the right-eye image 35 is added. On the other hand, a disparity vector is obtained using the decoded image of the left-eye image 34. The difference between the right-eye image 35 and the decoded image of the right-eye image 32 whose motion vector is (0, 0) motion-compensated is calculated, and the difference value is encoded.

【0027】(2)判定部100で動き補償を行なわな
いと判定された場合はフラグMCに0を代入する。
(2) If the determination section 100 determines that motion compensation is not to be performed, 0 is substituted for the flag MC.

【0028】この場合と判定部101で動きベクトルが
(0,0)でないと判定された場合のどちらの場合も右
目用画像35に対し、左目用画像34の復号画像を用い
て視差ベクトルを求めた後、判定部102で、視差ベク
トルを求めた際の予測誤差がある閾値以下であれば視差
補償を行ない、そうでなければ視差補償を行なわないよ
うに判定し、視差補償を行なうと判定された場合、右目
用画像35と視差補償された左目用画像34の復号画像
との差分をとり、差分画像36を作成する。
In both the case and the case where the decision unit 101 decides that the motion vector is not (0, 0), a disparity vector is calculated for the right-eye image 35 using the decoded image of the left-eye image 34. After that, the determination unit 102 determines that the parallax compensation is performed if the prediction error when the parallax vector is obtained is equal to or less than a certain threshold, and that the parallax compensation is not performed otherwise. In this case, the difference between the right-eye image 35 and the decoded image of the left-eye image 34 for which parallax has been compensated is obtained, and a difference image 36 is created.

【0029】判定部103で、差分画像36に対し、差
分画像33を用いてブロックマッチングを行ない、その
予測誤差がある閾値以下であれば動き補償を行ない、そ
うでなければ動き補償を行なわないように判定し、動き
補償を行なうと判定された場合、差分画像36と動き補
償された差分画像33との差分をとり、その差分値を符
号化する。
The decision unit 103 performs block matching on the difference image 36 using the difference image 33. If the prediction error is equal to or less than a certain threshold value, motion compensation is performed. Otherwise, motion compensation is not performed. When it is determined that motion compensation is to be performed, a difference between the difference image 36 and the motion-compensated difference image 33 is obtained, and the difference value is encoded.

【0030】(3)判定部103で動き補償を行わない
と判定された場合、そのときの差分値を符号化する。
(3) If the decision section 103 decides not to perform motion compensation, the difference value at that time is encoded.

【0031】(4)判定部102で視差補償を行わない
と判定され、かつ判定部104でフラグMCが1である
と判定された場合、右目用画像35と動き補償された右
目用画像32の復号画像との差分をとり、その差分値を
符号化する。
(4) When the determination unit 102 determines that the parallax compensation is not to be performed and the determination unit 104 determines that the flag MC is 1, the right-eye image 35 and the motion-compensated right-eye image 32 are compared. The difference from the decoded image is obtained, and the difference value is encoded.

【0032】(5)判定部104でフラグMCが1でな
いと判定された場合、右目用画像35の画素値をそのま
ま符号化する。
(5) If the determination unit 104 determines that the flag MC is not 1, the pixel value of the right-eye image 35 is encoded as it is.

【0033】なお(1)〜(5)において差分画像36
を作成しなかった場合は、(1)、(2)で求めた視差
ベクトルを用いて視差補償を行なった左目用画像34の
復号画像と右目用画像35との差分をとり、差分画像3
6を作成する。
In (1) to (5), the difference image 36
Is not created, the difference between the decoded image of the left-eye image 34 and the right-eye image 35 that has been subjected to the disparity compensation using the disparity vectors obtained in (1) and (2) is obtained, and the difference image 3
Create 6.

【0034】すなわち左目用画像は動き補償で符号化さ
れ、右目用画像は同時刻のフレームの左目用画像を用い
た視差補償、もしくは一つ前のフレームの右目用画像を
用いた動き補償、もしくは同時刻のフレームの左目用画
像を用いた視差補償後に、一つ前のフレームの差分画像
を用いた動き補償を行なうことにより符号化される。
That is, the image for the left eye is coded by motion compensation, and the image for the right eye is parallax compensation using the image for the left eye of the frame at the same time, motion compensation using the image for the right eye of the immediately preceding frame, or After parallax compensation using the left-eye image of the frame at the same time, encoding is performed by performing motion compensation using the difference image of the immediately preceding frame.

【0035】以降(c)、(d)の手順を繰り返して符
号化は行なわれる。ただし(c)、(d)の手順を繰り
返して符号化するとき、予測誤差の伝搬を防ぐために
(c)、(d)の手順の代わりに(a)、(b)の手順
による符号化を、一定の周期で行なってもよい。
Thereafter, coding is performed by repeating the procedures (c) and (d). However, when coding by repeating the procedures (c) and (d), instead of the procedures (c) and (d), the coding according to the procedures (a) and (b) is performed in order to prevent the propagation of prediction errors. May be performed at regular intervals.

【0036】図1を用いて左目用画像の符号化方法につ
いて説明する。動画像の符号化において、符号化の単位
をブロック(例えば16×16画素で構成される)とし
て符号化する、ブロックマッチングを用いた動き補償予
測符号化という方法が一般的によく知られている。本実
施の形態において、左目用画像の符号化方法は、このブ
ロックマッチングを用いた動き補償予測符号化の方法と
同じである。
A method for encoding a left-eye image will be described with reference to FIG. In video coding, a method called motion compensation prediction coding using block matching, in which a coding unit is coded as a block (for example, composed of 16 × 16 pixels), is well known. . In the present embodiment, the coding method of the left-eye image is the same as the motion compensation prediction coding method using the block matching.

【0037】またこのとき、左目用画像はフレーム毎に
符号化される。例えば図1に示すように左目用画像Ln
(n = 1,2,...)が入力部1に入力され、動
き補償部2により前フレームの復号画像を用いて動き補
償され、検出された動きベクトルが可変長符号化部6に
伝送される。
At this time, the image for the left eye is encoded for each frame. For example, as shown in FIG.
(N = 1, 2,...) Are input to the input unit 1, motion-compensated by the motion compensation unit 2 using the decoded image of the previous frame, and the detected motion vector is transmitted to the variable-length coding unit 6. Is done.

【0038】その後減算器3で左目用画像Lnと動き補
償された画像との差分がとられ、その差分データが変換
部4と量子化部5を通って、変換および量子化され、可
変長符号化部6に伝送される。
Thereafter, the difference between the left-eye image Ln and the motion-compensated image is calculated by the subtractor 3, and the difference data is converted and quantized through the conversion unit 4 and the quantization unit 5 to obtain a variable length code. Is transmitted to the conversion unit 6.

【0039】またこの差分データは、可変長符号化部6
に入力されるとともに、逆量子化部8と逆変換部9を通
り、逆量子化および逆変換され、加算器10で動き補償
された画像が加算され、左目用画像Lnの復号画像がフ
レームメモリ11に蓄えられる。
The difference data is sent to the variable length coding unit 6
, And through the inverse quantization unit 8 and the inverse transformation unit 9, the image subjected to inverse quantization and inverse transformation, and the motion compensated by the adder 10 is added, and the decoded image of the left-eye image Ln is stored in the frame memory. 11 is stored.

【0040】次に右目用画像の符号化方法について説明
する。例えば図1に示すように右目用画像Rn(n=
1,2,...)が入力部1に入力される。
Next, a coding method of the right-eye image will be described. For example, as shown in FIG. 1, the right-eye image Rn (n =
1, 2,. . . ) Is input to the input unit 1.

【0041】1枚目である右目用画像R1に対して、左
目用画像L1の復号画像を用いてブロックマッチングに
よる補償を行なう。このとき、視差補償部12に右目用
画像R1とフレームメモリ11から左目用画像L1の復
号画像が入力され、ブロック毎に視差ベクトルが求ま
る。
The first image R1 for the right eye is compensated by block matching using the decoded image of the image L1 for the left eye. At this time, the right-eye image R1 and the decoded image of the left-eye image L1 from the frame memory 11 are input to the disparity compensation unit 12, and a disparity vector is obtained for each block.

【0042】視差ベクトルの求め方は、図4に示すよう
に左目用の画像41と右目用の画像42を画像43のよ
うに同一平面上に重ねて、注目ブロックに対してマッチ
ングを行なうことにより行う。従って1つのブロックに
対して1つの視差ベクトルが求まり、この視差ベクトル
を全てのブロックに対して求める。
The method for obtaining the disparity vector is as shown in FIG. 4 by superimposing an image 41 for the left eye and an image 42 for the right eye on the same plane as an image 43 and performing matching on the block of interest. Do. Therefore, one disparity vector is obtained for one block, and this disparity vector is obtained for all blocks.

【0043】また視差ベクトルは、右目用画像R1のブ
ロックと左目用画像L1の復号画像から抜きだしたブロ
ックとの差分をとり差分されたブロック内の誤差の総和
(以下SADと略す)が最も小さくなるときのベクトル
を選ぶ。このとき、SADとブロック内の画素値の総和
を比較してSADが小さくなる場合は視差補償を行なう
と判定する。
The disparity vector is obtained by calculating the difference between the block of the image R1 for the right eye and the block extracted from the decoded image of the image L1 for the left eye, and has the smallest sum of the errors (hereinafter abbreviated as SAD) in the difference block. Choose a vector when At this time, the SAD is compared with the sum of the pixel values in the block, and if the SAD becomes smaller, it is determined that parallax compensation is to be performed.

【0044】また視差補償を行なわないと判定されたブ
ロックにおいて、その視差ベクトルの代わりに、前に求
めた視差ベクトルがあれば、それをもつようにしてもよ
い。例えば図5のように視差補償を行なわないと判定さ
れたブロック52において、その左隣にブロック51が
あるとき、ブロック52の視差ベクトルの代わりに、ブ
ロック51の視差ベクトルをもつようにしてもよい。
In a block determined not to perform parallax compensation, a previously obtained parallax vector, if any, may be used instead of the parallax vector. For example, as shown in FIG. 5, in the block 52 determined not to perform the parallax compensation, when there is a block 51 to the left of the block 52, the block 52 may have the parallax vector of the block 51 instead of the parallax vector of the block 52. .

【0045】このとき、新しく置き換えた視差ベクトル
による予測誤差の総和がある閾値以上である場合、前の
視差ベクトルをもつようにしてもよい。これら求まった
視差ベクトルは図1の可変長符号化部6に伝送され、可
変長符号化される。このとき、符号化対象のブロックの
左隣に、ブロックが存在する場合、そのブロックの視差
ベクトルと差分をとって可変長符号化部6に伝送しても
よい。
At this time, if the sum of the prediction errors due to the newly replaced disparity vector is equal to or larger than a certain threshold value, the previous disparity vector may be provided. These obtained disparity vectors are transmitted to the variable length coding unit 6 in FIG. 1 and are subjected to variable length coding. At this time, when a block is present on the left of the block to be coded, a difference from the disparity vector of the block may be obtained and transmitted to the variable length coding unit 6.

【0046】右目用画像R1と視差補償された左目用画
像L1の復号画像とが減算器13に入力され、それらの
差分がとられる。その差分データが変換部16と量子化
部17を通って変換、量子化され、可変長符号化部6と
逆量子化部18にそれぞれ入力される。可変長符号化部
6では入力されたデータが可変長符号化される。
The right-eye image R1 and the decoded image of the left-eye image L1 having undergone parallax compensation are input to the subtractor 13, and the difference between them is obtained. The difference data is converted and quantized through a conversion unit 16 and a quantization unit 17, and is input to the variable length coding unit 6 and the inverse quantization unit 18, respectively. The variable length coding unit 6 performs variable length coding on the input data.

【0047】逆量子化部18に入力された差分データは
逆量子化され、逆変換部19を通って逆変換され、加算
器21で視差補償された左目用画像L1の復号画像に加
算され、右目用画像R1の復号画像としてフレームメモ
リ22に蓄えられる。さらに可変長符号化部で可変長符
号化されたデータはそれぞれ多重化部7で多重化され
る。
The difference data input to the inverse quantization unit 18 is inversely quantized, inversely transformed through the inverse transformation unit 19, added to the decoded image of the left-eye image L 1 having undergone parallax compensation by the adder 21, The decoded image of the right-eye image R1 is stored in the frame memory 22. Further, the data subjected to the variable length coding by the variable length coding unit is multiplexed by the multiplexing unit 7, respectively.

【0048】その後、視差補償部12で左目用画像L1
の復号画像と視差ベクトルを用い、全てのブロックに対
して視差補償を行ない、減算器23でその補償された画
面と右目用画像R1の復号画像との差分画像を作り、そ
のデータをフレームメモリ24に蓄える。
After that, the parallax compensating section 12 outputs the left-eye image L1.
, And performs parallax compensation on all the blocks using the decoded image and the disparity vector. A subtractor 23 creates a difference image between the compensated screen and the decoded image of the right-eye image R1. To store.

【0049】2枚目以降の右目用画像Rm(m=2,
3,...)の符号化について説明する。符号化の単位
はブロックとし、以下のように行なう。右目用画像R2
のブロックに対して、動き補償部14でフレームメモリ
22にある前の右目用画像R1を用いてブロックマッチ
ングを行ない、SADがブロック内の画素値の総和より
も小さい場合は、動きベクトルを求めフラグMCを1と
する。
The second and subsequent right-eye images Rm (m = 2,
3,. . . ) Will be described. The encoding unit is a block, and the encoding is performed as follows. Right eye image R2
Is performed by the motion compensation unit 14 using the previous right-eye image R1 in the frame memory 22. If the SAD is smaller than the sum of the pixel values in the block, a motion vector MC is set to 1.

【0050】このとき動きベクトルが(0,0)である
ときは動き補償のみを行なうと判定する。次に、前フレ
ームの右目用画像R1と同様に、右目用画像R2に対
し、視差補償部12でそれと対になる左目用画像L2の
復号画像を用いてブロックマッチングを行ない、視差ベ
クトルをすべて求める。
At this time, when the motion vector is (0, 0), it is determined that only the motion compensation is performed. Next, as in the case of the right-eye image R1 of the previous frame, the parallax compensator 12 performs block matching on the right-eye image R2 using the decoded image of the left-eye image L2 that is paired with the right-eye image R2 to obtain all disparity vectors. .

【0051】例えば図1に示すように右目用画像R2が
入力部1に入力される。右目用画像R2とフレームメモ
リ11からの左目用画像L2の復号画像が、視差補償部
12に入力され、ブロックマッチングを行い、視差ベク
トルが求められ、その視差ベクトルは可変長符号化部6
に伝送され、可変長符号化される。
For example, as shown in FIG. 1, a right-eye image R2 is input to the input unit 1. The decoded image of the right-eye image R2 and the decoded image of the left-eye image L2 from the frame memory 11 are input to the disparity compensating unit 12 and block matching is performed to obtain a disparity vector.
And is variable-length coded.

【0052】このブロックマッチングを行うとき、最初
に動き補償を行なった際に、動きベクトルが(0,0)
で動き補償のみを行なうと判定されたブロックに対して
は視差補償は行なわないと判定し、動きベクトルが
(0,0)で動き補償のみを行なうと判定されていない
ブロックのSADが、そのブロック内の画素値の総和よ
りも小さい場合は視差補償を行ない、そうでない場合は
視差補償を行なわないものと判定する。
When performing this block matching, when the motion compensation is first performed, the motion vector is (0, 0).
It is determined that parallax compensation is not to be performed for a block that is determined to perform only motion compensation in step S5, and the SAD of a block whose motion vector is (0,0) and that is not determined to perform only motion compensation is determined by the If the sum is smaller than the sum of the pixel values in, it is determined that parallax compensation is not to be performed, otherwise, it is not to be performed.

【0053】右目用画像R2と視差補償された左目用画
像L2の復号画像が減算器13に入力され、右目用画像
R2と、視差補償された左目用画像L2の復号画像の差
分がとられる。その差分データが、動き補償部14と減
算器15にそれぞれ入力される。
The decoded image of the right-eye image R2 and the parallax-compensated left-eye image L2 is input to the subtractor 13, and the difference between the right-eye image R2 and the decoded image of the parallax-compensated left-eye image L2 is obtained. The difference data is input to the motion compensation unit 14 and the subtracter 15, respectively.

【0054】動き補償部14に入力されたデータのブロ
ックのうち、視差補償部12において視差補償を行なわ
ないと判定されたブロックに対しては、フラグMCが1
である場合、フレームメモリ22にある右目用画像R1
の復号画像と、前に求めた動きベクトルを用いて動き補
償を行なう。
The flag MC is set to 1 for a block of the data input to the motion compensating unit 14 for which the parallax compensating unit 12 determines not to perform the parallax compensation.
, The right-eye image R1 in the frame memory 22
, And motion compensation is performed using the previously obtained decoded image and the previously obtained motion vector.

【0055】動き補償部14に入力されたデータのブロ
ックのうち、視差補償を行なうと判定されて視差補償を
行なったブロックに対しては、フレームメモリ24にあ
る、左目用画像L1の復号画像と右目用画像R1の復号
画像とによる前の差分画像を用いて、動き補償を行な
う。
Of the blocks of data input to the motion compensating unit 14, the blocks for which the parallax compensation has been determined to be performed and the parallax compensation has been performed are the same as the decoded image of the left-eye image L 1 in the frame memory 24. Motion compensation is performed using a difference image before the decoded image of the right-eye image R1.

【0056】このように、前の差分画像から抜き出した
参照ブロックを用いて動き補償を行なうとき、差分ブロ
ックのSADの一番小さくなるときの参照ブロックを予
測に用いているが、全差分ブロックのSADを求めた後
に差分ブロック毎に分散を求め、分散が最も小さくなる
ときの参照ブロックを予測に用いてもよい。
As described above, when motion compensation is performed using the reference block extracted from the previous difference image, the reference block having the smallest SAD of the difference block is used for prediction. After obtaining the SAD, the variance may be obtained for each difference block, and the reference block having the smallest variance may be used for prediction.

【0057】また、分散がある閾値以下となる参照ブロ
ックのうち最もSADの小さいものを予測に用いてもよ
い。また、SADと分散のそれぞれを小さい方から順位
をつけて、両方の順位にそれぞれ重みづけを行い、それ
らを足し合わせた値が最も小さくなるときの参照ブロッ
クを予測に用いてもよい。
The reference block having the smallest SAD among the reference blocks whose variance is equal to or less than a certain threshold may be used for prediction. In addition, the SAD and the variance may be ranked in order from the smallest one, weights may be given to both ranks, and the reference block when the sum of them is the smallest may be used for prediction.

【0058】また、差分ブロック内の画素単位の誤差値
が所定の閾値より大きいものがあれば動き補償は行なわ
ないようにしてもよい。さらに左隣にブロックが存在す
るようなブロックに対して補償を行なう場合、その左隣
のブロックの補償方式が視差補償のみを行なう方式、動
き補償のみを行なう方式、視差補償を行なった後に動き
補償を行なう方式のいずれかであれば、左隣のブロック
の補償方式が選ばれやすいように、その補償方式による
SADの値から、ある所定の値を引くようにしてもよ
い。
Further, if there is an error value of a pixel unit in the difference block which is larger than a predetermined threshold value, the motion compensation may not be performed. Further, when compensating for a block having a block on the left side, the compensation method of the block on the left side is a method of performing only parallax compensation, a method of performing only motion compensation, and a motion compensation after performing parallax compensation. , A predetermined value may be subtracted from the value of the SAD by the compensation method so that the compensation method of the block on the left is easily selected.

【0059】また、すべてのブロックに対して補償を行
なった後、周囲8近傍のブロックが存在するようなブロ
ックにおいて、そのブロックの周囲8近傍のブロックが
すべて同一の補償方式であり、かつそのブロックの補償
方式が周囲8近傍のブロックの補償方式と異なる場合、
そのブロックの補償方式を周囲8近傍のブロックの補償
方式に合わせるようにしてもよい。
After all blocks have been compensated for, in a block in which there are blocks near 8 surroundings, all blocks around 8 blocks around the block have the same compensation method, and Is different from the compensation method of the block near 8 surroundings,
The compensation method of the block may be made to match the compensation method of the blocks near eight surroundings.

【0060】このとき動き補償部14から動き補償のみ
を行なうことを示すフラグ、もしくは視差補償のみを行
なうことを示すフラグ、もしくは視差補償を行なった後
に動き補償を行なうことを示すフラグとその動きベクト
ルが、可変長符号化部6に伝送され、可変長符号化され
る。
At this time, a flag indicating that only the motion compensation is performed from the motion compensating unit 14, a flag indicating that only the parallax compensation is performed, or a flag indicating that the motion compensation is performed after the parallax compensation is performed and its motion vector Is transmitted to the variable-length coding unit 6 and is subjected to variable-length coding.

【0061】右目用画像R2が減算器15に入力された
場合、動き補償された右目用画像R1の復号画像が減算
器15に入力され、それらの差分がとられる。また、視
差補償された左目画像L2の復号画像と右目用画像R2
の差分画像が、減算器15に入力された場合、動き補償
もしくは視差補償後動き補償された右目用画像R1の復
号画像とが減算器15に入力され、それらの差分がとら
れる。
When the right-eye image R2 is input to the subtractor 15, the motion-compensated decoded image of the right-eye image R1 is input to the subtractor 15, and the difference between them is calculated. Further, the decoded image of the left-eye image L2 and the right-eye image R2
Is input to the subtractor 15, the decoded image of the right-eye image R1 subjected to motion compensation or motion compensation after parallax compensation is input to the subtractor 15, and the difference between them is obtained.

【0062】その差分データが変換部16と量子化部1
7を通って変換、量子化され、可変長符号化部6と逆量
子化部18にそれぞれ入力される。可変長符号化部6で
は入力されたデータが可変長符号化される。
The difference data is converted by the conversion unit 16 and the quantization unit 1
7, the data is transformed and quantized, and input to the variable length coding unit 6 and the inverse quantization unit 18, respectively. The variable length coding unit 6 performs variable length coding on the input data.

【0063】逆量子化部18に入力された差分データは
逆量子化され、逆変換部19を通って逆変換され、加算
器20で動き補償された右目用画像R1の復号画像に加
算され、さらに加算器21で視差補償された左目画像L
2の復号画像に加算され、右目用画像R2の復号画像と
してフレームメモリ22に蓄えられる。
The difference data input to the inverse quantization unit 18 is inversely quantized, inversely transformed through an inverse transformation unit 19, added to a motion-compensated decoded image of the right-eye image R 1 by an adder 20, and Further, the left-eye image L subjected to parallax compensation by the adder 21
2 and is stored in the frame memory 22 as a decoded image of the right-eye image R2.

【0064】可変長符号化部で可変長符号化されたデー
タはそれぞれ多重化部7で多重化される。その後、視差
補償部12で左目用画像L2の復号画像と視差ベクトル
を用い、全てのブロックに対して視差補償を行ない、減
算器23でその補償された画像と右目用画像R2の復号
画像の差分画像を作り、そのデータをフレームメモリ2
4に蓄える。以下、右目用画像はこの繰り返しで符号化
される。
The data variably coded by the variable length coding unit is multiplexed by the multiplexing unit 7. Thereafter, the parallax compensator 12 performs parallax compensation on all blocks using the decoded image of the left-eye image L2 and the parallax vector, and the subtractor 23 calculates the difference between the compensated image and the decoded image of the right-eye image R2. Create an image and store the data in frame memory 2
Store in 4. Hereinafter, the image for the right eye is encoded by this repetition.

【0065】本実施の形態では2眼式の立体画像の符号
化について述べたが、多視点立体画像においても同様に
符号化できる。
In the present embodiment, the description has been given of the encoding of the binocular stereoscopic image. However, the encoding can be similarly performed for the multi-viewpoint stereoscopic image.

【0066】本実施の形態では、右画像の符号化に視差
補償のみを行なう方式と、動き補償のみを行なう方式
と、視差補償を行なった後動き補償を行なう方式を用い
ることについて説明したが、視差補償のみを行なう方式
と、動き補償のみを行なう方式と、動き補償を行なった
後に視差補償を行なう方式についても同様に用いること
ができる。
In the present embodiment, the description has been made of the method of performing only parallax compensation, the method of performing only motion compensation, and the method of performing motion compensation after performing parallax compensation for encoding the right image. A method of performing only parallax compensation, a method of performing only motion compensation, and a method of performing parallax compensation after performing motion compensation can be similarly used.

【0067】図6に本実施の形態の画像復号装置を示
す。本実施の形態の復号装置は図1の符号化装置を用い
て符号化されたデータを復号するためのものである。符
号化されたデータが分離部61に入力され、左目画像用
の符号化データと動きベクトル、右目画像用の符号化デ
ータと動きベクトルおよび視差ベクトルとに分離され、
それぞれ可変長復号部62で可変長復号される。
FIG. 6 shows an image decoding apparatus according to the present embodiment. The decoding device of the present embodiment is for decoding data encoded using the encoding device of FIG. The encoded data is input to the separation unit 61, and is separated into encoded data and a motion vector for the left eye image, encoded data and a motion vector and a disparity vector for the right eye image,
Each variable-length decoding unit 62 performs variable-length decoding.

【0068】左目用画像の符号化データは、一般的に動
き補償予測を用いた復号方式と同じように復号され、左
目用復号画像はフレームメモリ63に蓄えられる。1枚
目の右目用画像の符号化データの復号について説明す
る。
The coded data of the image for the left eye is generally decoded in the same manner as the decoding method using motion compensation prediction, and the decoded image for the left eye is stored in the frame memory 63. The decoding of the encoded data of the first right-eye image will be described.

【0069】1枚目の右目用画像の符号化データは、可
変長復号部62から逆量子化部70および逆変換部71
を通ってそれぞれ逆量子化され、逆変換される。視差補
償部74に可変長復号部62から視差ベクトルが、フレ
ームメモリ63から参照画像として左目用復号画像がそ
れぞれ入力され、これらを用いて視差補償された左目用
復号画像が作成される。
The encoded data of the first right-eye image is sent from the variable length decoding unit 62 to the inverse quantization unit 70 and the inverse transformation unit 71.
, And are inversely quantized and inversely transformed. The disparity compensation unit 74 receives the disparity vector from the variable length decoding unit 62 and the left-eye decoded image as a reference image from the frame memory 63, and creates a left-eye decoded image with parallax compensation using these.

【0070】このとき視差補償部74において、全ての
ブロックに対して左目用復号画像と右目用復号画像との
差分をとった差分画像を作成し、フレームメモリ76に
蓄える。加算器72で、視差補償された左目用復号画像
が右目用画像の符号化データに加算され、右目用復号画
像を作成する。
At this time, the parallax compensating unit 74 creates a difference image obtained by calculating the difference between the decoded image for the left eye and the decoded image for the right eye for all the blocks, and stores the difference image in the frame memory 76. The adder 72 adds the parallax-compensated decoded image for the left eye to the encoded data of the image for the right eye to create a decoded image for the right eye.

【0071】この右目用復号画像はフレームメモリ75
に蓄えられ、画像表示部78に出力される。2枚目以降
の右目用画像の符号化データの復号について説明する。
右目用画像の符号化データは、可変長復号部62から逆
量子化部70および逆変換部71を通ってそれぞれ逆量
子化され、逆変換され、右目用画像の差分データが復号
される。
The decoded image for the right eye is stored in the frame memory 75.
And output to the image display unit 78. The decoding of the encoded data of the second and subsequent right-eye images will be described.
The encoded data of the image for the right eye is inversely quantized from the variable length decoding unit 62 through the inverse quantization unit 70 and the inverse transformation unit 71, inversely transformed, and the difference data of the image for the right eye is decoded.

【0072】動き補償部77において、フレームメモリ
75の右目用復号画像と、フレームメモリ76の左目用
復号画像と右目用復号画像の差分をとった差分画像を参
照画像とし、動きベクトルを用いて動き補償を行ない、
第1予測画像を作成する。視差補償部74において、こ
の動き補償された第1予測画像に対し、視差ベクトルを
用いて視差補償を行ない、第2予測画像を作成する。
The motion compensator 77 uses the decoded image for the right eye in the frame memory 75, the difference image obtained by calculating the difference between the decoded image for the left eye and the decoded image for the right eye in the frame memory 76 as a reference image, and uses the motion vector to calculate the motion. Make compensation,
A first prediction image is created. The parallax compensating unit 74 performs parallax compensation on the motion-compensated first predicted image using a parallax vector to generate a second predicted image.

【0073】このとき視差補償部74において、全ての
ブロックに対して左目用復号画像と右目用復号画像との
差分をとった差分画像を作成し、フレームメモリ76に
蓄える。第1予測画像および第2予測画像がそれぞれ加
算器72および加算器73で右目用画像の復号差分デー
タに加算され、右目用復号画像を作成する。
At this time, the parallax compensator 74 creates a difference image obtained by calculating the difference between the left-eye decoded image and the right-eye decoded image for all blocks, and stores the difference image in the frame memory 76. The first predicted image and the second predicted image are added to the decoded difference data of the right-eye image by an adder 72 and an adder 73, respectively, to generate a right-eye decoded image.

【0074】この右目用復号画像は、フレームメモリ7
5に蓄えられ、画像表示部78に出力される。以降、右
目用画像の符号化データはこの繰り返しで復号される。
The right-eye decoded image is stored in the frame memory 7
5 and output to the image display unit 78. Thereafter, the encoded data of the right-eye image is decoded by this repetition.

【0075】また本実施の形態では2眼式の立体画像を
用いたが、多視点立体画像においても同様である。
In the present embodiment, a binocular stereoscopic image is used, but the same applies to a multi-viewpoint stereoscopic image.

【0076】[0076]

【発明の効果】以上説明したように本発明の符号化装置
によれば、視差画像の符号化において、視差補償のみ、
動き補償のみ、視差補償をした後に動き補償を行なうと
いう3つの補償方式を用いるが、動き補償のみを行った
際に、動きベクトルが(0,0)である場合は動き補償
のみを行なうことによって、符号化するのにかかるベク
トルの全体の情報量を削減することができ、また画像中
に例えば背景のような静止部分がある場合はマッチング
のミスが減少し、高い圧縮率を保ちながら画質を向上す
ることができる。
As described above, according to the coding apparatus of the present invention, only the parallax compensation is performed in the coding of the parallax image.
Although only three types of compensation methods are used, that is, motion compensation only and then motion compensation after parallax compensation, when only motion compensation is performed and the motion vector is (0, 0), only motion compensation is performed. In addition, it is possible to reduce the entire information amount of the vector required for encoding, and when there is a stationary portion such as a background in an image, matching errors are reduced, and the image quality is maintained while maintaining a high compression ratio. Can be improved.

【0077】本発明の符号化装置によれば、視差画像の
符号化において、左隣にブロックが存在するようなブロ
ックに対して視差補償もしくは動き補償もしくは視差補
償を行なった後に動き補償を行なう場合、左隣のブロッ
クと同一の補償によるSADに対してある所定の値を引
くことにより、ブロック歪みを軽減することができる。
According to the encoding apparatus of the present invention, in the encoding of a parallax image, when motion compensation is performed after performing parallax compensation or motion compensation or parallax compensation on a block having a block on the left. By subtracting a predetermined value from the SAD with the same compensation as that of the block on the left, block distortion can be reduced.

【0078】本発明の符号化装置によれば、視差画像の
符号化においてすべてのブロックに対して補償を行なっ
た後、周囲8近傍のブロックが存在するようなブロック
において、そのブロックの周囲8近傍のブロックがすべ
て同一の補償方式であり、かつそのブロックの補償方式
が周囲8近傍のブロックの補償方式と異なる場合、その
ブロックの補償方式を周囲8近傍のブロックの補償方式
に合わせることにより、ブロック歪みを軽減することが
できる。
According to the encoding apparatus of the present invention, after compensating all blocks in the encoding of a parallax image, in a block where there are blocks near 8 surroundings, 8 blocks around the block exist. Are all of the same compensation scheme, and the compensation scheme of the block is different from the compensation scheme of the blocks in the neighborhood of eight, the block compensation scheme is adjusted to the compensation scheme of the blocks in the neighborhood of eight. Distortion can be reduced.

【0079】本発明の符号化装置によれば、視差画像の
符号化において、全差分ブロックのSADを求めた後に
差分ブロック毎に分散を求め、分散が最も小さくなると
きの参照ブロックを予測に用いることにより、画質を向
上することができる。
According to the encoding apparatus of the present invention, in encoding a parallax image, the variance is obtained for each difference block after obtaining the SADs of all the difference blocks, and the reference block having the smallest variance is used for prediction. Thereby, the image quality can be improved.

【0080】またこのとき分散がある閾値以下となる参
照ブロックのうち最もSADの小さいものを予測に用い
ることにより、画質を向上することができる。
At this time, the image quality can be improved by using the reference block having the smallest SAD among the reference blocks whose variance is equal to or less than a certain threshold value for prediction.

【0081】またこのときSADと分散のそれぞれを小
さい方から順位をつけ、両方の順位にそれぞれ重みづけ
を行い、それらを足し合わせた値が最も小さくなるとき
の参照ブロックを予測に用いることにより、画質を向上
することができる。
At this time, the SAD and the variance are ranked in order from the smallest one, weights are given to both ranks, and the reference block when the sum of them is the smallest is used for prediction. Image quality can be improved.

【0082】またこのとき、視差補償を行った後に動き
補償を行った後の差分ブロック内の画素単位の誤差値が
所定の閾値より大きいものがあれば動き補償は行なわな
いようにすることにより、画質を向上することができ
る。
At this time, if there is an error value in a pixel unit in the difference block after performing the motion compensation after performing the parallax compensation which is larger than a predetermined threshold, the motion compensation is not performed. Image quality can be improved.

【0083】また視差画像の符号化の際、視差補償を行
なった後に動き補償を行なう代わりに、動き補償を行な
った後に視差補償を行なうことにより、圧縮率を向上す
ることができる。
Also, when encoding a parallax image, the compression ratio can be improved by performing parallax compensation after performing motion compensation instead of performing motion compensation after performing parallax compensation.

【0084】本発明の符号化装置によれば、ブロック毎
に視差ベクトルを求める際、視差補償を行なわないと判
定されたブロックの視差ベクトルを第1視差ベクトルと
し、そのブロックより前に視差補償を行うと判定された
ブロックが存在する場合、第1視差ベクトルの代わりに
そのブロックより前に視差補償を行うと判定されたブロ
ックの第2視差ベクトルをもつようにし、かつ第2視差
ベクトルを用いたときの予測誤差がある閾値より大きい
場合は第1視差ベクトルをもつようにすることにより、
視差ベクトルの情報量を削減することができる。
According to the encoding apparatus of the present invention, when obtaining a disparity vector for each block, the disparity vector of the block determined not to perform the disparity compensation is set as the first disparity vector, and the disparity compensation is performed before the block. When there is a block determined to be performed, a second parallax vector of the block determined to perform the parallax compensation before the block is used instead of the first parallax vector, and the second parallax vector is used. When the prediction error at the time is larger than a certain threshold, by having the first disparity vector,
The information amount of the disparity vector can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態であり、2眼式の立体画
像を符号化する符号化装置の構成図である。
FIG. 1 is a configuration diagram of an encoding device that encodes a binocular stereoscopic image according to an embodiment of the present invention.

【図2】立体画像の符号化を行なう順序を説明する図で
ある。
FIG. 2 is a diagram illustrating an order in which a stereoscopic image is encoded.

【図3】右目用画像の符号化方法を説明する図である。FIG. 3 is a diagram illustrating a coding method of a right-eye image.

【図4】視差ベクトルの算出例を説明する図である。FIG. 4 is a diagram illustrating an example of calculating a disparity vector.

【図5】視差補償しないブロックにおいて、左隣のブロ
ックの視差ベクトルをもつことを説明する図である。
FIG. 5 is a diagram for explaining that a block without parallax compensation has a parallax vector of a block on the left side.

【図6】2眼式の立体画像を復号する復号装置の構成図
である。
FIG. 6 is a configuration diagram of a decoding device that decodes a binocular stereoscopic image.

【符号の説明】[Explanation of symbols]

1 画像入力部 2、14、77 動き補償部 3、13、15、23 差分器 4、16 変換部 5、17…量子化部 6 可変長符号化部 7 多重化部 8、18、70 逆量子化部 9、19、71 逆変換部 10、20、21、72、73 加算器 11、22、24、63、75、76 フレームメモリ 12、74 視差補償部 30 立体画像 31、34、41 左目用画像 32、35、42 右目用画像 33、36 差分画像 43 合成画像 51、52 ブロック 61 分離部 62 可変長復号部 78 画像表示部 100、101、102、103、104 判定部 DESCRIPTION OF SYMBOLS 1 Image input part 2, 14, 77 Motion compensation part 3, 13, 15, 23 Differentiator 4, 16 Transform part 5, 17 ... Quantization part 6 Variable length encoding part 7 Multiplexing part 8, 18, 70 Inverse quantum Transformation unit 9, 19, 71 Inverse transformation unit 10, 20, 21, 72, 73 Adder 11, 22, 24, 63, 75, 76 Frame memory 12, 74 Parallax compensation unit 30 Stereoscopic image 31, 34, 41 For left eye Image 32, 35, 42 Right-eye image 33, 36 Difference image 43 Synthetic image 51, 52 Block 61 Separation unit 62 Variable length decoding unit 78 Image display unit 100, 101, 102, 103, 104 Judgment unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 多視点画像符号化装置において、1つの
視点の画像を基準画像と定め、前記基準画像に対して動
き補償を行う第1の動き補償手段と、前記基準画像以外
の視点の画像であるところの視差画像に対して視差補償
を行う視差補償手段と、前記視差画像もしくは視差補償
された前記視差画像に対して動き補償を行なう第2の動
き補償手段と、ブロックごとに補償方法を選択する判断
部とを備え、前記第2の動き補償手段において動き量が
ないと判断された場合、視差補償を行なわず動き補償の
みを行なうことを特徴とする多視点画像符号化装置。
1. A multi-viewpoint image encoding apparatus, wherein a first viewpoint image is determined as a reference image and motion compensation is performed on the reference image, and an image of a viewpoint other than the reference image is provided. A parallax compensating unit for performing parallax compensation on the parallax image, a second motion compensating unit for performing motion compensation on the parallax image or the parallax image subjected to parallax compensation, and a compensation method for each block. A multi-viewpoint image encoding apparatus, comprising: a determination unit for selecting, and when the second motion compensation unit determines that there is no motion amount, performs only motion compensation without performing parallax compensation.
【請求項2】 多視点画像符号化装置において、1つの
視点の画像を基準画像と定め、前記基準画像に対して動
き補償を行う第1の動き補償手段と、前記基準画像以外
の視点の画像であるところの視差画像に対して視差補償
を行う視差補償手段と、前記視差画像もしくは視差補償
された前記視差画像に対して動き補償を行なう第2の動
き補償手段と、ブロックごとに補償方法を選択する判断
部とを備え、前記視差画像の符号化において、左隣にブ
ロックが存在するようなブロックに対して、視差補償、
もしくは動き補償、もしくは視差補償を行なった後に動
き補償を行なう場合、左隣のブロックと同一の補償によ
る差分ブロック内の誤差の総和の値に対して、ある所定
の値を引くことを特徴とする多視点画像符号化装置。
2. A multi-view image encoding apparatus, wherein a first viewpoint image is determined as a reference image, and a first motion compensation means for performing motion compensation on the reference image, and an image of a viewpoint other than the reference image. A parallax compensating unit for performing parallax compensation on the parallax image, a second motion compensating unit for performing motion compensation on the parallax image or the parallax image subjected to parallax compensation, and a compensation method for each block. And a determination unit for selecting, in the encoding of the parallax image, for a block in which a block is present on the left side, parallax compensation,
Alternatively, when performing motion compensation after performing motion compensation or parallax compensation, a predetermined value is subtracted from the sum of errors in a difference block by the same compensation as the block on the left. Multi-view image coding device.
【請求項3】 多視点画像符号化装置において、1つの
視点の画像を基準画像と定め、前記基準画像に対して動
き補償を行う第1の動き補償手段と、前記基準画像以外
の視点の画像であるところの視差画像に対して視差補償
を行う視差補償手段と、前記視差画像もしくは視差補償
された前記視差画像に対して動き補償を行なう第2の動
き補償手段と、ブロックごとに補償方法を選択する判断
部とを備え、前記視差画像の符号化において、すべての
ブロックに対して補償を行なった後、周囲8近傍のブロ
ックが存在するようなブロックにおいて、そのブロック
の周囲8近傍のブロックすべてに対して同一の補償が行
われており、かつそのブロックで行われている補償が周
囲8近傍のブロックの補償と異なる場合、そのブロック
で行う補償を、周囲8近傍のブロックの補償に合わせる
ことを特徴とする多視点画像符号化装置。
3. A multi-view image coding apparatus, wherein a first viewpoint image is determined as a reference image, and motion compensation is performed on the reference image, and an image of a viewpoint other than the reference image is provided. A parallax compensating unit for performing parallax compensation on the parallax image, a second motion compensating unit for performing motion compensation on the parallax image or the parallax image subjected to parallax compensation, and a compensation method for each block. A determination unit for selecting, and in the parallax image coding, after compensating for all blocks, in a block in which blocks around 8 exist, all blocks around 8 around the block If the same compensation is performed on the block and the compensation performed on the block is different from the compensation on the blocks near the surroundings 8, the compensation performed on the block is A multi-viewpoint image encoding apparatus, which is adapted to compensate for blocks near eight.
【請求項4】 多視点画像符号化装置において、1つの
視点の画像を基準画像と定め、前記基準画像に対して動
き補償を行う第1の動き補償手段と、前記基準画像以外
の視点の画像であるところの視差画像に対して視差補償
を行う視差補償手段と、前記視差画像もしくは視差補償
された前記視差画像に対して動き補償を行なう第2の動
き補償手段と、ブロックごとに補償方法を選択する判断
部とを備え、前記視差画像の符号化において、視差補償
を行なった後に動き補償を行なうとき、ブロック内の予
測誤差と分散を求め、分散が最も小さくなるときの参照
ブロックを予測に用いることを特徴とする多視点画像符
号化装置。
4. A multi-viewpoint image encoding apparatus, wherein a first viewpoint image is determined as a reference image and motion compensation is performed on the reference image, and an image of a viewpoint other than the reference image is provided. A parallax compensating unit for performing parallax compensation on the parallax image, a second motion compensating unit for performing motion compensation on the parallax image or the parallax image subjected to parallax compensation, and a compensation method for each block. And a determination unit for selecting, in the encoding of the disparity image, when performing motion compensation after performing disparity compensation, determine the prediction error and variance in the block, and predict the reference block when the variance is minimized. A multi-view image encoding device characterized by using:
【請求項5】 請求項1または2または3または4記載
の多視点画像符号化装置において、前記視差画像の符号
化の際、視差補償を行なった後に動き補償を行なう代わ
りに、動き補償を行なった後に視差補償を行なうことを
特徴とする多視点画像符号化装置。
5. The multi-view image encoding apparatus according to claim 1, wherein, when encoding the parallax image, motion compensation is performed instead of performing motion compensation after performing parallax compensation. A multi-viewpoint image encoding apparatus, which performs parallax compensation after the image processing.
【請求項6】 請求項4または5記載の多視点画像符号
化装置は、分散がある閾値以下となる参照ブロックのう
ち、ブロック内の予測誤差の総和の値が最も小さいもの
を予測に用いることを特徴とする多視点画像符号化装
置。
6. The multi-view image encoding apparatus according to claim 4, wherein, among the reference blocks whose variance is equal to or less than a certain threshold, a reference block having the smallest sum of prediction errors in the block is used for prediction. A multi-view image encoding device characterized by the following.
【請求項7】 請求項4または5記載の多視点画像符号
化装置は、ブロック内の誤差の総和の値と分散のそれぞ
れを小さい方から順位をつけて、両方の順位にそれぞれ
重みづけを行い、それらを足し合わせた値が最も小さく
なるときの参照ブロックを予測に用いることを特徴とす
る多視点画像符号化装置。
7. The multi-view image encoding apparatus according to claim 4, wherein the sum total value and the variance of the errors in the block are ranked in order from the smallest one, and both ranks are weighted. A multi-view image coding apparatus characterized in that a reference block when a value obtained by adding them is the smallest is used for prediction.
【請求項8】 請求項1または2または3または4記載
の多視点画像符号化装置において、視差補償を行った後
に動き補償を行う際の予測誤差を画素単位でみて、所定
の閾値より大きいものがあれば動き補償は行なわないよ
うにすることを特徴とする多視点画像符号化装置。
8. The multi-view image encoding apparatus according to claim 1, wherein a prediction error when performing motion compensation after performing parallax compensation is larger than a predetermined threshold value when viewed in pixel units. A multi-view image coding apparatus, wherein motion compensation is not performed if there is any.
【請求項9】 請求項1または2または3または4記載
の多視点画像符号化装置は、ブロック毎に視差ベクトル
を求める際、視差補償を行なわないと判定されたブロッ
クの視差ベクトルを第1視差ベクトルとし、そのブロッ
クより前に視差補償を行うと判定されたブロックが存在
する場合、第1視差ベクトルの代わりにそのブロックよ
り前に視差補償を行うと判定されたブロックの第2視差
ベクトルをもつようにし、かつ第2視差ベクトルを用い
たときの予測誤差がある閾値より大きい場合は第1視差
ベクトルをもつようにすることを特徴とする多視点画像
符号化装置。
9. The multi-view image encoding apparatus according to claim 1, wherein when obtaining a disparity vector for each block, a disparity vector of a block determined not to perform disparity compensation is determined by a first disparity vector. When there is a block determined to perform disparity compensation before the block as a vector, a second disparity vector of the block determined to perform disparity compensation before the block is used instead of the first disparity vector. A multi-view image encoding apparatus having a first disparity vector when a prediction error when the second disparity vector is used is larger than a certain threshold.
JP34320596A 1996-12-24 1996-12-24 Multi-view-point image coder Pending JPH10191393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34320596A JPH10191393A (en) 1996-12-24 1996-12-24 Multi-view-point image coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34320596A JPH10191393A (en) 1996-12-24 1996-12-24 Multi-view-point image coder

Publications (1)

Publication Number Publication Date
JPH10191393A true JPH10191393A (en) 1998-07-21

Family

ID=18359735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34320596A Pending JPH10191393A (en) 1996-12-24 1996-12-24 Multi-view-point image coder

Country Status (1)

Country Link
JP (1) JPH10191393A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006101329A (en) * 2004-09-30 2006-04-13 Kddi Corp Stereoscopic image observation device and its shared server, client terminal and peer to peer terminal, rendering image creation method and stereoscopic image display method and program therefor, and storage medium
WO2007069487A1 (en) * 2005-12-15 2007-06-21 The University Of Tokyo Compression-encoding method of multi-viewpoint images, and decoding method
WO2008081810A1 (en) 2006-12-28 2008-07-10 Nippon Telegraph And Telephone Corporation Video encoding method, decoding method, device thereof, program thereof, and storage medium containing the program
JP2009522985A (en) * 2006-01-09 2009-06-11 トムソン ライセンシング Video encoding method, video decoding method and apparatus thereof
WO2011074189A1 (en) * 2009-12-15 2011-06-23 パナソニック株式会社 Image encoding method and image encoding device
US8204118B2 (en) 2007-06-25 2012-06-19 Nippon Telegraph And Telephone Corporation Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media which store the programs
WO2012090497A1 (en) * 2010-12-28 2012-07-05 パナソニック株式会社 Video image encoding method, video image decoding method, video image encoding device, video image decoding device, and video image encoding/decoding device
WO2013073369A1 (en) * 2011-11-17 2013-05-23 三菱電機株式会社 Image processing device, image processing method, image processing program, image display device, and image display method
JP2014042308A (en) * 2013-10-03 2014-03-06 Mitsubishi Electric Corp Image reproduction method, image reproduction apparatus, and optical disk
US9167227B2 (en) 2007-11-29 2015-10-20 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, and stereoscopic video reproducing apparatus
US9191645B2 (en) 2009-04-27 2015-11-17 Mitsubishi Electric Corporation Stereoscopic video and audio recording method, stereoscopic video and audio reproducing method, stereoscopic video and audio recording apparatus, stereoscopic video and audio reproducing apparatus, and stereoscopic video and audio recording medium
US9538182B2 (en) 2011-01-20 2017-01-03 Samsung Electronics Co., Ltd. Apparatus and method for adaptive frame prediction for multiview video sequence coding
JP2017034408A (en) * 2015-07-30 2017-02-09 日本電信電話株式会社 Dynamic image coding device, dynamic image coding method and dynamic image coding program
US10356388B2 (en) 2009-04-27 2019-07-16 Mitsubishi Electric Corporation Stereoscopic video distribution system, stereoscopic video distribution method, stereoscopic video distribution apparatus, stereoscopic video viewing system, stereoscopic video viewing method, and stereoscopic video viewing apparatus

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006101329A (en) * 2004-09-30 2006-04-13 Kddi Corp Stereoscopic image observation device and its shared server, client terminal and peer to peer terminal, rendering image creation method and stereoscopic image display method and program therefor, and storage medium
WO2007069487A1 (en) * 2005-12-15 2007-06-21 The University Of Tokyo Compression-encoding method of multi-viewpoint images, and decoding method
JP2012231512A (en) * 2006-01-09 2012-11-22 Thomson Licensing Video coding methods, video decoding methods, and apparatus for the same
US9143782B2 (en) 2006-01-09 2015-09-22 Thomson Licensing Methods and apparatus for multi-view video coding
JP2009522985A (en) * 2006-01-09 2009-06-11 トムソン ライセンシング Video encoding method, video decoding method and apparatus thereof
JP2015097406A (en) * 2006-01-09 2015-05-21 トムソン ライセンシングThomson Licensing Video encoding method, video decoding method, and apparatus for the same
US8842729B2 (en) 2006-01-09 2014-09-23 Thomson Licensing Methods and apparatuses for multi-view video coding
JP2014003681A (en) * 2006-01-09 2014-01-09 Thomson Licensing Video coding method, video decoding method, and apparatus for the same
US10194171B2 (en) 2006-01-09 2019-01-29 Thomson Licensing Methods and apparatuses for multi-view video coding
JP2012213205A (en) * 2006-01-09 2012-11-01 Thomson Licensing Method and apparatus for multi-view video coding
KR101059178B1 (en) 2006-12-28 2011-08-25 니폰덴신뎅와 가부시키가이샤 Video encoding method and decoding method, their apparatus, storage medium recording their program
JP4999864B2 (en) * 2006-12-28 2012-08-15 日本電信電話株式会社 Video encoding method and decoding method, apparatus thereof, program thereof, and storage medium storing program
US9066096B2 (en) 2006-12-28 2015-06-23 Nippon Telegraph And Telephone Corporation Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media which store the programs
WO2008081810A1 (en) 2006-12-28 2008-07-10 Nippon Telegraph And Telephone Corporation Video encoding method, decoding method, device thereof, program thereof, and storage medium containing the program
US8204118B2 (en) 2007-06-25 2012-06-19 Nippon Telegraph And Telephone Corporation Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media which store the programs
US10382741B2 (en) 2007-11-29 2019-08-13 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, and stereoscopic video reproducing apparatus
US9729851B2 (en) 2007-11-29 2017-08-08 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, and stereoscopic video reproducing apparatus
US9521396B2 (en) 2007-11-29 2016-12-13 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, and stereoscopic video reproducing apparatus
US10951876B2 (en) 2007-11-29 2021-03-16 Mitsubishi Electric Corporation Stereoscopic video reproducing method, stereoscopic video reproducing apparatus and optical disc
US9167227B2 (en) 2007-11-29 2015-10-20 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, and stereoscopic video reproducing apparatus
US9179123B2 (en) 2007-11-29 2015-11-03 Mitsubishi Electric Corporation Stereoscopic video recording method, stereoscopic video recording medium, stereoscopic video reproducing method, stereoscopic video recording apparatus, stereoscopic video reproducing apparatus
US9191645B2 (en) 2009-04-27 2015-11-17 Mitsubishi Electric Corporation Stereoscopic video and audio recording method, stereoscopic video and audio reproducing method, stereoscopic video and audio recording apparatus, stereoscopic video and audio reproducing apparatus, and stereoscopic video and audio recording medium
US10356388B2 (en) 2009-04-27 2019-07-16 Mitsubishi Electric Corporation Stereoscopic video distribution system, stereoscopic video distribution method, stereoscopic video distribution apparatus, stereoscopic video viewing system, stereoscopic video viewing method, and stereoscopic video viewing apparatus
US10523915B2 (en) 2009-04-27 2019-12-31 Mitsubishi Electric Corporation Stereoscopic video and audio recording method, stereoscopic video and audio reproducing method, stereoscopic video and audio recording apparatus, stereoscopic video and audio reproducing apparatus, and stereoscopic video and audio recording medium
WO2011074189A1 (en) * 2009-12-15 2011-06-23 パナソニック株式会社 Image encoding method and image encoding device
WO2012090497A1 (en) * 2010-12-28 2012-07-05 パナソニック株式会社 Video image encoding method, video image decoding method, video image encoding device, video image decoding device, and video image encoding/decoding device
US9538182B2 (en) 2011-01-20 2017-01-03 Samsung Electronics Co., Ltd. Apparatus and method for adaptive frame prediction for multiview video sequence coding
JP5627798B2 (en) * 2011-11-17 2014-11-19 三菱電機株式会社 Image processing apparatus, image processing method, image processing program, image display apparatus, and image display method
WO2013073369A1 (en) * 2011-11-17 2013-05-23 三菱電機株式会社 Image processing device, image processing method, image processing program, image display device, and image display method
JP2014042308A (en) * 2013-10-03 2014-03-06 Mitsubishi Electric Corp Image reproduction method, image reproduction apparatus, and optical disk
JP2017034408A (en) * 2015-07-30 2017-02-09 日本電信電話株式会社 Dynamic image coding device, dynamic image coding method and dynamic image coding program

Similar Documents

Publication Publication Date Title
US5612735A (en) Digital 3D/stereoscopic video compression technique utilizing two disparity estimates
US5619256A (en) Digital 3D/stereoscopic video compression technique utilizing disparity and motion compensated predictions
US5438374A (en) System and method for filtering video signals
JP5970609B2 (en) Method and apparatus for unified disparity vector derivation in 3D video coding
JPH10191394A (en) Multi-view-point image coder
KR101227601B1 (en) Method for interpolating disparity vector and method and apparatus for encoding and decoding multi-view video
US9961347B2 (en) Method and apparatus for bi-prediction of illumination compensation
US20070104276A1 (en) Method and apparatus for encoding multiview video
US20070064800A1 (en) Method of estimating disparity vector, and method and apparatus for encoding and decoding multi-view moving picture using the disparity vector estimation method
EP1927249B1 (en) Apparatus and method for encoding and decoding multi-view video
JPH10257527A (en) Optimum disparity estimation for stereo video encoding
KR100738867B1 (en) Method for Coding and Inter-view Balanced Disparity Estimation in Multiview Animation Coding/Decoding System
JP2004519167A (en) Method for encoding and decoding motion information
JP2013533714A (en) Multi-view signal codec
JPH09275578A (en) Multi-viewpoint encoding and decoding device
EP1927250A1 (en) Method of estimating disparity vector, and method and apparatus for encoding and decoding multi-view moving picture using the disparity vector estimation method
JPH10191393A (en) Multi-view-point image coder
JPH0698312A (en) High efficiency picture coding system
JP6571646B2 (en) Multi-view video decoding method and apparatus
KR20120095611A (en) Method and apparatus for encoding/decoding multi view video
JP2007180982A (en) Device, method, and program for decoding image
US20160065958A1 (en) Method for encoding a plurality of input images, and storage medium having program stored thereon and apparatus
KR101348276B1 (en) Method and apparatus for encoding multi-view moving pictures
WO2006110007A1 (en) Method for coding in multiview video coding/decoding system
KR20080006494A (en) A method and apparatus for decoding a video signal

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040119

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040203

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040227