JPH02100590A - Compensating method for stereo-dynamic picture parallax - Google Patents
Compensating method for stereo-dynamic picture parallaxInfo
- Publication number
- JPH02100590A JPH02100590A JP63251918A JP25191888A JPH02100590A JP H02100590 A JPH02100590 A JP H02100590A JP 63251918 A JP63251918 A JP 63251918A JP 25191888 A JP25191888 A JP 25191888A JP H02100590 A JPH02100590 A JP H02100590A
- Authority
- JP
- Japan
- Prior art keywords
- parallax
- encoding
- amount
- displacement
- background
- 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
- 238000000034 method Methods 0.000 title claims description 8
- 238000006073 displacement reaction Methods 0.000 claims description 50
- 238000001514 detection method Methods 0.000 abstract description 9
- 239000013598 vector Substances 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、ステレオ動画像の高能率符号化をはかった
視差補償方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a parallax compensation method for highly efficient encoding of stereo video images.
従来、のステレオ動画像視差補償方式では、ビデオ信号
の高能率符号化で用いられる動き補償方式がそのまま適
用されていた。ところで、ステレオ動画像の人力機器で
ある2台のカメラの垂直方向の並びを厳密に合わせるこ
とは実際には困難である。In the conventional stereo moving image parallax compensation method, the motion compensation method used in high-efficiency encoding of video signals has been applied as is. By the way, it is actually difficult to precisely align two cameras, which are manually operated devices for stereo video images, in the vertical direction.
(発明が解決しようとする課題)
そこで、従来技術では、本来両眼視差のみであれば水平
方向のみの視差変位量を検出すればよいにもかかわらず
、カメラの垂直方向のずれも検出しなければならないた
めに、垂直方向の変位を考慮した動き補償範囲を設定す
る必要が生じていた。カメラの設定位置ずれは動画像符
号化中では基本的には不変であり、動き補償により垂直
方向の変位量を繰り返し検出することは演算量の増加と
符号化効率の低下を招いていた。ここで補償とは、なる
べく少ない情報量にするための圧縮手段をいう。(Problem to be Solved by the Invention) Therefore, in the conventional technology, although originally it is only necessary to detect the amount of parallax displacement in the horizontal direction if only the binocular parallax is present, it is necessary to detect the displacement of the camera in the vertical direction as well. Therefore, it has become necessary to set a motion compensation range that takes vertical displacement into consideration. The camera setting positional deviation is basically unchanged during video encoding, and repeatedly detecting the amount of displacement in the vertical direction by motion compensation causes an increase in the amount of calculations and a decrease in encoding efficiency. Compensation here refers to compression means for reducing the amount of information as much as possible.
この発明の目的は、ステレオ動画像における両眼視差変
位量を少ない演算量で効率よく符号化することができる
ステレオ動画像視差補償方法を提供することにある。An object of the present invention is to provide a stereo video image parallax compensation method that can efficiently encode the amount of binocular parallax displacement in a stereo video image with a small amount of calculation.
(課題を解決するための手段)
この発明にかかるステレオ動画像視差補償方法は、符号
化開始前に左右の画像の上部の数ライン分のデータを用
いて背景の視差変位量を水平方向と垂直方向について検
出し、符号化開始後はこの視差変位量を用いるものであ
る。(Means for Solving the Problems) The stereo video parallax compensation method according to the present invention uses data for several lines at the top of left and right images to calculate the amount of background parallax displacement in the horizontal and vertical directions before starting encoding. The direction is detected, and the amount of parallax displacement is used after the start of encoding.
(作用〕
この発明によれば、少ない演算量で視差変位量を検出す
ることができ、符号化効率が向上する。(Operation) According to the present invention, the amount of parallax displacement can be detected with a small amount of calculation, and the encoding efficiency is improved.
第2図に左右2台のカメラを用いて対象物を撮影する際
のモデルを示す。1は左カメラ、2は左カメラ光軸、3
は右カメラ、4は右カメラ光軸、5は対象物(被写体)
である。この場合にステレオ画像にするためには視差情
報を送らねばならないが、この視差情報の情報量を圧縮
することが要求される。Figure 2 shows a model for photographing an object using two left and right cameras. 1 is the left camera, 2 is the left camera optical axis, 3
is the right camera, 4 is the right camera optical axis, 5 is the object (subject)
It is. In this case, disparity information must be sent in order to create a stereo image, but it is required to compress the amount of this disparity information.
さて、ステレオ動画像の人力時における2台の左、右の
カメラ1,3の垂直方向のずれは、肉眼による調整後も
、NTSC信号の240ラインに対して±3ライン程度
は残っていることが知られている。そこで、符号化開始
前に左右の画像の上部の数ライン分のデータを用いて背
景の視差変位量を水平方向と垂直方向について検出する
。この垂直方向変位量はカメラ垂直方向の設定位置ずれ
を表わしており、動画像符号化中では基本的には不変で
ある。したがって、符号化開始後もこの垂直方向変位ユ
を垂直方向の視差補償に用いることができる。符号化開
始後は背景の視差補償には前記視差変位量を用いればよ
い。また、背景の前に位置する任意の被写体5の視差補
償のうち垂直方向変位量の算出には、符号化開始前に検
出した背景の垂直方向変位量を用いれはよく、その結果
、これらの被写体5に対しては水平方向視差変位量さえ
求めればよいことになり少ない演算量で視差ン山イ賞が
可能となる。Now, the vertical deviation of the two left and right cameras 1 and 3 when manually capturing a stereo video image remains about ±3 lines relative to the 240 lines of the NTSC signal even after adjustment by the naked eye. It has been known. Therefore, before starting encoding, the amount of parallax displacement of the background is detected in the horizontal and vertical directions using data for several lines at the top of the left and right images. This vertical displacement amount represents a camera setting position shift in the vertical direction, and is basically unchanged during video encoding. Therefore, even after the start of encoding, this vertical displacement can be used for vertical parallax compensation. After the encoding starts, the amount of parallax displacement may be used for background parallax compensation. In addition, to calculate the vertical displacement amount of the parallax compensation for arbitrary objects 5 located in front of the background, it is preferable to use the vertical displacement amount of the background detected before the start of encoding. For 5, it is only necessary to find the amount of horizontal parallax displacement, so it is possible to obtain a parallax correction with a small amount of calculation.
第1図はこの発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図において、11は切換スイッチで、接点a側は符
号化開始前の処理、接点す側は符号化開始後の処理を行
う。12は領域選択回路、13は視差変位量検出回路、
14は視差補償回路、15は領域選択回路、16は視差
変位量検出回路、17は被写体視差補償回路、18は領
域統合回路である。In FIG. 1, reference numeral 11 denotes a changeover switch, the contact a side of which performs processing before the start of encoding, and the contact end of which performs processing after the start of encoding. 12 is a region selection circuit; 13 is a parallax displacement detection circuit;
14 is a parallax compensation circuit, 15 is a region selection circuit, 16 is a parallax displacement detection circuit, 17 is a subject parallax compensation circuit, and 18 is a region integration circuit.
次に動作について説明する。Next, the operation will be explained.
ステレオビデオ信号101は、接点a側の符号化開始前
の処理では、領域選択回路12.において背景部データ
102と見なし得る部分の信号領域が決定され、視差変
位量検出回路13に人力される。視差変位量検出回路1
3において、水平方向視差変位量103および垂直方向
視差変位量104が計算される。The stereo video signal 101 is processed by the area selection circuit 12 . In this step, a signal region of a portion that can be considered as background data 102 is determined and manually input to the parallax displacement amount detection circuit 13. Parallax displacement detection circuit 1
3, a horizontal parallax displacement amount 103 and a vertical parallax displacement amount 104 are calculated.
一方、接点す側の符号化開始後には、領域選択回路15
において、背景部データ105および被写体データ10
6に切り分けられる。符号化開始後の背景部データ10
5は、符号化開始前に検出された水平方向視差変位量1
03および垂直方向視差変位@ 104を用いて、視差
補償回路14において視差が補償される。視差補償回路
14では視差景を用いてステレオ動画像の一方から他方
の画像の予測画像が作られ、予測誤差信号が背景部の視
差補償データ+07として出力される。被写体データ1
06は視差変位ユ検出回路16に入力され、背景部の垂
直方向視差変位N 104を用いて被写体5の水平方向
視差変位量10Bが検出される。通常、視差変位量の検
出は左右の画像のうち片方を任意の方向にシフトしても
う一方に重ね合わせ、その相関値の最も大きなベクトル
が視差変位量として定義される。したがって、垂直方向
のずれ、すなわち垂直方向視差変位量104が事前にわ
かっていれば、視差変位量の検出はこの垂直方向のずれ
に対していくつかの水平方向のずれを加えたベクトルを
候補ベクトルとし、いくつかの候補ベクトルの中から最
も相関の高いベクトルを捜し出せはよいことになる。第
2図の被写体5と左、右カメラ1,3の距m「によって
水平方向視差変位量103は変動するが、両カメラ1.
3の設定位置のずれによる垂直方向視差変位量104は
変化しない。したがって、符号化開始後は、垂直方向視
差変位愈104を変化させて相関の最大値を与える水平
方向視差変位ft 103を求める必要はないため、視
差変位量探索の演算量は大幅に削減される。被写体視差
補償回路17では、背景部の垂直方向視差変位量104
と被写体5の水平方向視差変位量103とを用いて視差
補償され、被写体5の視差補償データ109が計算され
る。On the other hand, after the start of encoding on the contact side, the area selection circuit 15
, background part data 105 and subject data 10
Divided into 6 pieces. Background part data 10 after starting encoding
5 is the horizontal parallax displacement amount 1 detected before the start of encoding.
03 and the vertical parallax displacement @ 104, the parallax is compensated in the parallax compensation circuit 14. In the parallax compensation circuit 14, a predicted image of one image of the stereo moving image to the other is created using the parallax scene, and a prediction error signal is outputted as background portion parallax compensation data +07. Subject data 1
06 is input to the parallax displacement detection circuit 16, and the horizontal parallax displacement amount 10B of the subject 5 is detected using the vertical parallax displacement N 104 of the background portion. Normally, to detect the amount of parallax displacement, one of the left and right images is shifted in an arbitrary direction and superimposed on the other, and the vector with the largest correlation value is defined as the amount of parallax displacement. Therefore, if the vertical deviation, that is, the vertical parallax displacement amount 104, is known in advance, the detection of the parallax displacement amount can be performed by adding some horizontal deviations to this vertical deviation to create a candidate vector. Then, it would be a good idea to find the vector with the highest correlation among several candidate vectors. Although the horizontal parallax displacement amount 103 varies depending on the distance m between the subject 5 and the left and right cameras 1 and 3 in FIG.
The vertical parallax displacement amount 104 due to the deviation of the setting position of No. 3 does not change. Therefore, after the start of encoding, there is no need to vary the vertical parallax displacement 104 to find the horizontal parallax displacement ft 103 that gives the maximum value of correlation, and the amount of calculation for searching for the parallax displacement amount is significantly reduced. . In the subject parallax compensation circuit 17, the amount of vertical parallax displacement 104 of the background part
Parallax compensation is performed using the horizontal direction parallax displacement amount 103 of the subject 5, and parallax compensation data 109 of the subject 5 is calculated.
背景部の視差補償データ107と被写体5の視差補償デ
ータ109は領域統合回路18において1つにまとめら
れ、視差補償ステレオビデオ間差分信号110が出力さ
れる。The parallax compensation data 107 of the background portion and the parallax compensation data 109 of the subject 5 are combined into one in the area integration circuit 18, and a parallax compensation stereo video difference signal 110 is output.
この発明は以上説明したように、符号化開始前に左右の
画像の上部の数ライン分のデータを用いて背景の視差変
位量を水平方向と垂直方向について検出し、符号化開始
後は背景の視差補償には視差変位量を用いるとともに、
背景の前に位置する任意の被写体の視差補償のうち垂直
方向視差変位量の算出には、符号化開始前に検出した背
景の垂直方向視差変位量を用いるので、符号化伝送すべ
き視差補償ベクトルは、垂直方向については1度送信す
るだけでよく、何度も視差補償ベクトルの検出および符
号化を繰り返す必要がないため、符号化効率が向上する
利点を有する。As explained above, in this invention, before the start of encoding, the amount of parallax displacement of the background is detected in the horizontal and vertical directions using data for several lines at the top of the left and right images, and after the start of encoding, the amount of parallax displacement of the background is detected. In addition to using the amount of parallax displacement for parallax compensation,
To calculate the vertical parallax displacement amount of the parallax compensation for an arbitrary subject located in front of the background, the vertical parallax displacement amount of the background detected before the start of encoding is used, so the parallax compensation vector to be encoded and transmitted is Since it is only necessary to transmit once in the vertical direction and there is no need to repeat detecting and encoding the parallax compensation vector many times, it has the advantage of improving encoding efficiency.
第1図はこの発明の一実施例の構成を示すブロック図、
第2図は左右2台のカメラを用いて対象物を撮影する際
のモデル図である。
図中、1は左カメラ、2は左カメラ光軸、3は右カメラ
、4は右カメラ光軸、5は対象物、11は切換えスイッ
チ、12は領域選択回路、13は視差変位量検出回路、
14は視差補償回路、15は領域選択回路、16は視差
変位量検出回路、17は被写体視差補償回路、18は領
域統合回路、101はステレオビデオ信号、102は背
景部データ、103は水平方向視差変位量、104は垂
直方向視差変位量、105は背景部データ、106は被
写体データ、107は視差補償データ、108は水平方
向視差変位量、109は視差補償データ、110は視差
補償ステレオビデオ間差分信号である。
第2図FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a model diagram when photographing an object using two left and right cameras. In the figure, 1 is the left camera, 2 is the left camera optical axis, 3 is the right camera, 4 is the right camera optical axis, 5 is the object, 11 is the changeover switch, 12 is the area selection circuit, and 13 is the parallax displacement detection circuit. ,
14 is a parallax compensation circuit, 15 is a region selection circuit, 16 is a parallax displacement amount detection circuit, 17 is a subject parallax compensation circuit, 18 is a region integration circuit, 101 is a stereo video signal, 102 is background data, 103 is horizontal parallax 104 is the vertical parallax displacement amount, 105 is the background data, 106 is the subject data, 107 is the parallax compensation data, 108 is the horizontal parallax displacement amount, 109 is the parallax compensation data, and 110 is the difference between parallax compensation stereo videos. It's a signal. Figure 2
Claims (1)
冗長性を除去し情報圧縮を行なうための視差補償方法に
おいて、符号化開始前に左右の画像の上部の数ライン分
のデータを用いて背景の視差変位量を水平方向と垂直方
向について検出し、符号化開始後は背景の視差補償には
前記視差変位量を用いるとともに、背景の前に位置する
任意の被写体の視差補償のうち垂直方向変位量の算出に
は、符号化開始前に検出した背景の垂直方向変位量を用
いることを特徴とする視差補償方法。In a parallax compensation method for compressing information by removing redundancy between the left and right images of a discretized stereo video image, data for several lines at the top of the left and right images are used before the start of encoding. The amount of parallax displacement of the background is detected in the horizontal and vertical directions, and after the start of encoding, the amount of parallax displacement is used for background parallax compensation, and the amount of parallax displacement is used for the vertical direction of the parallax compensation of any subject located in front of the background. A parallax compensation method characterized in that the amount of displacement in the vertical direction of the background detected before the start of encoding is used to calculate the amount of displacement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63251918A JPH02100590A (en) | 1988-10-07 | 1988-10-07 | Compensating method for stereo-dynamic picture parallax |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63251918A JPH02100590A (en) | 1988-10-07 | 1988-10-07 | Compensating method for stereo-dynamic picture parallax |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02100590A true JPH02100590A (en) | 1990-04-12 |
Family
ID=17229903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63251918A Pending JPH02100590A (en) | 1988-10-07 | 1988-10-07 | Compensating method for stereo-dynamic picture parallax |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02100590A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013042301A (en) * | 2011-08-12 | 2013-02-28 | Casio Comput Co Ltd | Image processor, image processing method, and program |
-
1988
- 1988-10-07 JP JP63251918A patent/JPH02100590A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013042301A (en) * | 2011-08-12 | 2013-02-28 | Casio Comput Co Ltd | Image processor, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0823826B1 (en) | Optimal disparity estimation for stereoscopic video coding | |
CN102428707B (en) | Stereovision-Image Position Matching Apparatus and Stereovision-Image Position Matching Method | |
US8487981B2 (en) | Method and system for processing 2D/3D video | |
US8542739B2 (en) | Method of estimating disparity vector using camera parameters, apparatus for encoding and decoding multi-view picture using the disparity vector estimation method, and computer-readable recording medium storing a program for executing the method | |
US20150103149A1 (en) | Methods, systems, and computer-readable storage media for selecting image capture positions to generate three-dimensional images | |
US20120263372A1 (en) | Method And Apparatus For Processing 3D Image | |
JP3776595B2 (en) | Multi-viewpoint image compression encoding apparatus and decompression decoding apparatus | |
US9736498B2 (en) | Method and apparatus of disparity vector derivation and inter-view motion vector prediction for 3D video coding | |
JP3230263B2 (en) | Motion vector detection circuit | |
EP0520741B1 (en) | Image compression associated with camera shake correction | |
US20110228043A1 (en) | Imaging apparatus and control method therefor, and 3d information obtaining system | |
JPH10155104A (en) | Compound eye image pickup method and device and storage medium | |
JPH10191394A (en) | Multi-view-point image coder | |
JP2011024003A (en) | Three-dimensional moving image recording method and apparatus, and moving image file conversion method and apparatus | |
US7949193B2 (en) | Apparatus and method for compressing three-dimensional stereoscopic images | |
KR950005064A (en) | Method and apparatus for encoding stereo video signal | |
JP2006140618A (en) | Three-dimensional video information recording device and program | |
JP3733359B2 (en) | Disparity estimation method, image transmission method, image display method, multi-view image transmission method, multi-view image restoration method, and disparity estimation apparatus | |
JPH02100590A (en) | Compensating method for stereo-dynamic picture parallax | |
JP3733358B2 (en) | Image transmission apparatus, transmission apparatus, reception apparatus, transmission method, and reception method | |
JP3735617B2 (en) | Multi-view image transmission method, multi-view image display method, and multi-view image display device | |
JP2664955B2 (en) | Stereo image coding method | |
JPH02305287A (en) | Picture encoding method | |
JP2002300600A (en) | Stereoscopic image encoder and stereoscopic image decoder | |
JP2701393B2 (en) | Video encoding device |