JP6306996B2 - VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM - Google Patents
VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM Download PDFInfo
- Publication number
- JP6306996B2 JP6306996B2 JP2014203315A JP2014203315A JP6306996B2 JP 6306996 B2 JP6306996 B2 JP 6306996B2 JP 2014203315 A JP2014203315 A JP 2014203315A JP 2014203315 A JP2014203315 A JP 2014203315A JP 6306996 B2 JP6306996 B2 JP 6306996B2
- Authority
- JP
- Japan
- Prior art keywords
- orientation
- reference frame
- data processing
- video data
- estimating
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
本発明は、映像データ処理方法、映像データ処理装置及び映像データ処理プログラムに関する。 The present invention relates to a video data processing method, a video data processing device, and a video data processing program.
スマートフォンを始めとするカメラ付きデバイスの普及に伴い、個人が気軽に写真・動画を撮影・公開することがますます容易になってきており、そのように撮影されWeb上にアップロードされた動画像によって膨大なアーカイブが形成されつつある。それに伴い、こうした膨大な数の動画像をただ視聴するだけでなく、新たな用途に向けて活用しようとする動きが近年急速に高まってきている。 With the widespread use of smartphones and other camera-equipped devices, it has become easier for individuals to easily shoot and publish photos and videos. A huge archive is being formed. Along with this, there has been a rapid increase in recent years not only to watch such a large number of moving images but also to use them for new applications.
代表的なアプリケーションでは、個人が撮像した観光地のランドマークなどの画像を被写体毎に収集し、それらを使用して被写体の三次元構造を推定し、仮想的な三次元物体として任意の視点で閲覧可能とするものがある。 A typical application collects landmarks and other images of sightseeing spots taken by individuals for each subject, uses them to estimate the 3D structure of the subject, and uses it as a virtual 3D object from any viewpoint. Some are available for viewing.
このようなアプリケーションは概ね古典的な画像処理の手法に基づき画像群から三次元情報を復元するものである。基本的には画像中の特徴点抽出と異なる画像上での対応点探索によって、撮像に使用したカメラの位置姿勢を推定するとともに被写体の三次元構造を復元する(例えば、非特許文献1参照)。すなわち、この方法で復元可能なものは画像間で位置姿勢形状が変わらない被写体に限られている。一方、画像群は通常非同期に撮影されている。そのため、静止した被写体のみが復元対象となる。 Such an application generally restores three-dimensional information from an image group based on a classical image processing technique. Basically, the position and orientation of the camera used for imaging is estimated and the three-dimensional structure of the subject is restored by searching for corresponding points on an image different from feature point extraction in the image (see, for example, Non-Patent Document 1). . That is, what can be restored by this method is limited to a subject whose position and orientation shape does not change between images. On the other hand, the image group is usually taken asynchronously. Therefore, only a stationary subject is a restoration target.
また、動画をデータソースとするべく拡張した技術の研究も進められている(例えば、非特許文献2参照)。これらの方法では、動画中に存在する被写体を背景を主とした静止物体とそれ以外の動物体に分け、まず静止物についてのみ先述の方法を使用して三次元構造を復元しつつ、カメラ位置姿勢を推定する。動物体については三次元構造を復元せずに、映像視聴時に視点を切り替えるときのみ簡易的な補間処理を行うことでスムーズな視点移動を可能としている。 In addition, research on technology that expands a moving image as a data source is also underway (see, for example, Non-Patent Document 2). In these methods, the subject existing in the video is divided into a stationary object mainly of the background and other moving objects, and the camera position is restored while restoring the 3D structure using the method described above only for stationary objects. Estimate posture. For the moving object, smooth viewpoint movement is possible by performing simple interpolation processing only when the viewpoint is switched during video viewing without restoring the three-dimensional structure.
画像を使用して複数のカメラの位置姿勢を推定するためには、非特許文献1に示される方法等でカメラ間の相対的な姿勢を表す基礎行列や回転行列と並進ベクトルの組などを決定する。ただし、画像を用いる方法で計算される相対位置のスケールは不定であり、並進ベクトルの値は実空間上の距離尺度とは無関係の値となる。そのため、例えば3つのカメラA、B、Cのうち、カメラAB間の姿勢FABとカメラBC間の姿勢FBCとが決定されたとしても、それらだけからカメラAC間の姿勢FACを求めることはできない。上記のようなアプリケーションでは、全てのカメラの組み合わせでそれぞれ姿勢を決定するか、カメラ間で共通する被写体の大きさを基準とするなどの方法で各姿勢のスケールを合わせることで問題に対処している。
In order to estimate the position and orientation of multiple cameras using images, the basic matrix representing the relative orientation between cameras and the set of rotation matrix and translation vector are determined by the method described in
しかしながら、各カメラが十分な共通の領域を撮影していない場合や、共通領域は存在するがその上に信頼できる対応点を十分取ることができない場合などにはこうした対処方法をとることができないという問題がある。また、例え複数のカメラ間でスケールを合わせることができる場合でも、それを実空間上の距離尺度と合わせるためには、被写体の実際の大きさが既知であるかカメラからの距離が既知であるなど、厳しい条件が必要とされる。 However, if each camera does not capture a sufficient common area, or if there is a common area but it is not possible to take enough reliable corresponding points, such a countermeasure cannot be taken. There's a problem. Also, even if the scale can be adjusted between multiple cameras, the actual size of the subject is known or the distance from the camera is known in order to match it with a distance scale in real space. Severe conditions are required.
本発明は、このような事情に鑑みてなされたもので、得られた映像と、センサ情報とから、被写体の絶対的な三次元情報と、2つ以上のカメラ間における位置姿勢とを推定することができる映像データ処理方法、映像データ処理装置及び映像データ処理プログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and estimates the absolute three-dimensional information of a subject and the position and orientation between two or more cameras from the obtained video and sensor information. An object of the present invention is to provide a video data processing method, video data processing apparatus, and video data processing program.
本発明は、複数の撮像手段により取得した複数の映像からなる多視点映像と、基準となる撮像手段の位置姿勢を推定可能なセンサが出力するセンサ情報を使用して複数の撮像手段の位置姿勢の推定を行う映像データ処理方法であって、前記センサ情報を使用して、前記基準となる撮像手段により取得した映像の一つの時刻の画像である基準フレームと、該基準フレームと異なる時刻の画像である参照フレームとの間の前記撮像手段の位置姿勢変位を推定する位置姿勢変位推定ステップと、前記基準フレーム上の点の三次元情報を前記参照フレーム上の対応する点の位置と前記位置姿勢変位に基づき推定する三次元情報推定ステップと、前記基準フレームと、他の撮像手段により取得した映像中の前記基準フレームと同じ時刻の画像である対象フレームの間で、前記三次元情報を使用して前記他の撮像手段の位置姿勢を推定する位置姿勢推定ステップとを有することを特徴とする。 The present invention uses a multi-view video composed of a plurality of images acquired by a plurality of imaging means, and sensor information output by a sensor capable of estimating the position and orientation of a reference imaging means, and the position and orientation of the plurality of imaging means. A video data processing method for estimating a reference frame, which is an image at one time of a video obtained by the reference imaging means using the sensor information, and an image at a time different from the reference frame A position / orientation displacement estimation step for estimating a position / orientation displacement of the image pickup means between the reference frame and the reference frame, and the three-dimensional information of the point on the reference frame, the position of the corresponding point on the reference frame and the position / orientation A target that is an image at the same time as the reference frame in the video acquired by the three-dimensional information estimation step that estimates based on the displacement, the reference frame, and other imaging means Between the frame, and having a position and orientation estimation step of estimating the position and orientation of the other imaging means by using the three-dimensional information.
本発明は、前記位置姿勢推定ステップは、前記基準フレームと、前記対象フレームとの間で、前記基準となる撮像手段と前記他の撮像手段との間のスケール不定の相対位置姿勢を推定し、前記三次元情報に基づき前記スケール不定の相対位置姿勢のスケールを決定することを特徴とする。 In the present invention, the position and orientation estimation step estimates a relative position and orientation with an indefinite scale between the reference imaging unit and the other imaging unit between the reference frame and the target frame. The scale of the relative position and orientation with indefinite scale is determined based on the three-dimensional information.
本発明は、前記位置姿勢推定ステップは、前記基準フレームと、前記対象フレームとの間で、前記三次元情報に基づく前記基準となる撮像手段から前記他の撮像手段への投影誤差が最小となる相対位置姿勢を推定することを特徴とする。 According to the present invention, in the position and orientation estimation step, a projection error from the reference imaging unit based on the three-dimensional information to the other imaging unit is minimized between the reference frame and the target frame. The relative position and orientation is estimated.
本発明は、前記三次元情報は深度情報であり、前記三次元情報推定ステップは、前記基準フレームと前記参照フレーム上の対応する点の深度情報を前記位置姿勢変位に基づく三角測量によって推定することを特徴とする。 In the present invention, the three-dimensional information is depth information, and the three-dimensional information estimation step estimates the depth information of corresponding points on the reference frame and the reference frame by triangulation based on the position and orientation displacement. It is characterized by.
本発明は、複数の撮像手段により取得した複数の映像からなる多視点映像と、基準となる撮像手段の位置姿勢を推定可能なセンサが出力するセンサ情報を使用して複数の撮像手段の位置姿勢の推定を行う映像データ処理装置であって、前記センサ情報を使用して、前記基準となる撮像手段により取得した映像の一つの時刻の画像である基準フレームと、該基準フレームと異なる時刻の画像である参照フレームとの間の前記撮像手段の位置姿勢変位を推定する位置姿勢変位推定手段と、前記基準フレーム上の点の三次元情報を前記参照フレーム上の対応する点の位置と前記位置姿勢変位に基づき推定する三次元情報推定手段と、前記基準フレームと、他の撮像手段により取得した映像中の前記基準フレームと同じ時刻の画像である対象フレームの間で、前記三次元情報を使用して前記他の撮像手段の位置姿勢を推定する位置姿勢推定手段とを備えることを特徴とする。 The present invention uses a multi-view video composed of a plurality of images acquired by a plurality of imaging means, and sensor information output by a sensor capable of estimating the position and orientation of a reference imaging means, and the position and orientation of the plurality of imaging means. A video data processing apparatus for estimating the reference frame, which is an image at one time of the video obtained by the reference imaging means using the sensor information, and an image at a time different from the reference frame Position and orientation displacement estimation means for estimating the position and orientation displacement of the imaging means between the reference frame and the reference frame, and the three-dimensional information of the point on the reference frame and the position of the corresponding point on the reference frame and the position and orientation 3D information estimation means for estimating based on displacement, the reference frame, and a target frame that is an image at the same time as the reference frame in the video acquired by another imaging means Between, characterized in that it comprises a position and orientation estimation means for estimating the position and orientation of the other imaging means by using the three-dimensional information.
本発明は、コンピュータに、前記映像データ処理方法を実行させるための映像データ処理プログラムである。 The present invention is a video data processing program for causing a computer to execute the video data processing method.
本発明によれば、得られた映像と、センサ情報とから、被写体の絶対的な三次元情報と、2つ以上のカメラ間における位置姿勢とを推定することができるという効果が得られる。 According to the present invention, it is possible to estimate the absolute three-dimensional information of a subject and the position and orientation between two or more cameras from the obtained video and sensor information.
以下、図面を参照して、本発明の一実施形態による映像データ処理装置を説明する。図1は同実施形態による映像データ処理装置の構成を示すブロック図である。映像データ処理装置100は、図1に示すように、映像入力部101、入力画像メモリ102、センサ情報入力部103、センサ情報メモリ104、基準カメラ位置姿勢変位推定部105、基準カメラ三次元情報推定部106、カメラ間位置姿勢推定部107、およびスケール推定部108を備えている。
Hereinafter, a video data processing apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a video data processing apparatus according to the embodiment. As shown in FIG. 1, the video
映像入力部101は、処理対象となる多視点映像、特に基準となるカメラの映像と別のカメラの映像を入力する。以下の説明では、この処理対象となる多視点映像を処理対象多視点映像、特に基準となるカメラを基準カメラ、その映像を基準映像、別のカメラを対象カメラ、その映像を対象映像と称する。また、特に処理を行う時刻の基準映像のフレームを基準フレーム、同じ時刻の対象映像のフレームを対象フレームと称する。また、基準映像の処理対象時刻の前後の別の時刻におけるフレームを参照フレームと称する。入力画像メモリ102は、映像入力部101において入力された処理対象多視点映像を記憶する。
The
センサ情報入力部103は、基準カメラに対応するセンサ情報を入力する。センサ情報メモリ104は、センサ情報入力部103において入力されたセンサ情報を記憶する。
The sensor
基準カメラ位置姿勢変位推定部105は、センサ情報メモリ104に記憶されたセンサ情報を使用して、基準フレームと参照フレームとの間の位置姿勢変位を推定する。基準カメラ三次元情報推定部106は、推定された位置姿勢変位と、入力画像メモリ102に記憶された基準フレームと参照フレームを使用して、基準フレームの一部の三次元情報を推定する。
The reference camera position / posture
カメラ間位置姿勢推定部107は、入力画像メモリ102に記憶された基準フレームと対象フレームを使用して、スケール不定カメラ間位置姿勢を推定する。スケール推定部108は、基準フレーム三次元情報を使用してスケール不定カメラ間相対位置姿勢のスケールを推定し、カメラ間相対位置姿勢を決定する。
The inter-camera position /
次に、図2を参照して、図1に示す映像データ処理装置100の処理動作を説明する。図2は、図1に示す映像データ処理装置100の処理動作を示すフローチャートである。ここでは、基準映像及び対象映像は多視点映像のうちの同じシーンを撮像した異なるカメラに対応する2つの映像であることとする。
Next, the processing operation of the video
まず、映像入力部101は、基準映像と対象映像とを入力し、入力画像メモリ102に記憶する。また、センサ情報入力部103は、基準カメラに対応するセンサ情報を入力し、センサ情報メモリ104に記憶する(ステップS101)。センサ情報は基準カメラに付帯する加速度センサやジャイロセンサ等のセンサで取得された情報である。本実施形態では、センサ情報に基づいて基準カメラの自己位置姿勢の変位が決定されるものであるとし、センサは基準カメラと同じデバイスに属しその位置・姿勢は基準カメラと同一であるとしてもよいし、基準カメラに固定され基準カメラに対する相対位置姿勢が既知である物であるとしてもよい。
First, the
また、センサ情報は映像と同じフレームレートでセンサの取得情報を記録したものであってもよいし、別のフレームレートで取得情報を記録したものであってもよい。フレームレートが異なる場合には、映像のフレームレートに合わせてセンサ情報を補間し使用することとしてもよいし、近傍の時刻の情報を使用することとしてもよい。以下では、簡単のために映像とセンサ情報のフレームレートが同じであり、センサ情報は映像の各フレームと同じ時刻の情報の集合であるとする。 The sensor information may be information obtained by recording sensor acquisition information at the same frame rate as the video, or may be information obtained by recording the acquisition information at a different frame rate. When the frame rates are different, the sensor information may be interpolated and used in accordance with the frame rate of the video, or information on a nearby time may be used. In the following, for simplicity, it is assumed that the frame rate of the video and the sensor information is the same, and the sensor information is a set of information at the same time as each frame of the video.
以下では映像中のある1フレームについてカメラ間の相対位置姿勢を推定する処理について説明するが、この処理を全フレームについて行う(ステップS102〜S107のループ)ことで、映像全体についてカメラ間の相対位置姿勢を決定することができる。または、特定のフレームについてのみ実施し、残りのフレームについては補間処理に基づき相対位置姿勢を決定することなどもできる。 In the following, the process of estimating the relative position and orientation between cameras for a certain frame in the video will be described. By performing this process for all frames (loop of steps S102 to S107), the relative position between the cameras for the entire video is described. The posture can be determined. Alternatively, it may be performed only for a specific frame, and the relative position and orientation may be determined based on interpolation processing for the remaining frames.
各フレームに対する処理においては、まず、入力画像メモリ102に記憶された処理対象のフレームである基準フレームと参照フレームについて、センサ情報メモリ104に記憶された対応するセンサ情報に基づいて、フレーム間でのカメラ位置姿勢の変位を推定する(ステップS103)。参照フレームの記録時刻は基準フレームと異なる時刻であれば前の時刻でも後の時刻でもよい。使用するセンサ情報は、上述した加速度センサやジャイロセンサの他に、地磁気センサやGPS(Global Positioning System)センサなど、フレーム間でカメラ位置姿勢の変位を推定可能なものであればどのようなものでもよい。位置姿勢の変異としては回転行列と併進ベクトルの組み合わせなどを使用してもよいし、三次元情報推定の方法によって併進ベクトルのみを使用してもよい。
In the processing for each frame, first, a reference frame and a reference frame, which are processing target frames stored in the
以下では加速度センサを使用する場合について説明する。基準カメラOの基準フレームの時刻をt0、参照フレームの時刻をt1として、時刻tにおける加速度センサの値をa(t)であるとすると、このフレーム間の相対位置姿勢変位ΔF0 t1,t0は以下の式で表される。ここで、τは、時間に関する変数で、積分変数である。
位置姿勢変位を推定したら、基準カメラ三次元情報推定部106は、推定された位置姿勢変位と、入力画像メモリ102に記憶された基準フレームと参照フレームを使用して、基準フレームの三次元情報を推定する(ステップS104)。三次元情報はどのようなものでもよい。ある点のカメラからの距離である深度情報でもよいし、基準カメラの座標系における三次元座標でもよいし、その他の座標系における座標値などでもよい。以下では、深度情報を使用する場合について説明する。
Once the position / orientation displacement is estimated, the reference camera three-dimensional
深度情報を求める方法はどのような方法でもよい。一般的な方法では、この2つのフレーム間で対応する点が有り、その点が両フレームの間で運動せず静止している、または無視できる程度に小さい運動をしていることと仮定すれば、三角測量等の方法によってその点の深度情報を求めることができる。 Any method may be used to obtain the depth information. Assuming that there is a corresponding point between the two frames in the general method, and that the point does not move between the two frames and is stationary or has a negligibly small movement The depth information of the point can be obtained by a method such as triangulation.
ここで、三角測量で画像上の点の深度情報を求める場合の例を図3を参照して説明する。図3は、三角測量で画像上の点の深度情報を求める方法を示す図である。簡単のために基準フレームの左右方向をX軸、カメラの上下方向をY軸、カメラの奥行き方向をZ軸とし、参照フレームの基準フレームに対する位置姿勢変位はX方向への平行移動であり変位量はlメートルであるとして説明する。 Here, an example of obtaining depth information of points on an image by triangulation will be described with reference to FIG. FIG. 3 is a diagram illustrating a method for obtaining depth information of points on an image by triangulation. For simplicity, the horizontal direction of the reference frame is the X axis, the vertical direction of the camera is the Y axis, and the depth direction of the camera is the Z axis, and the position and orientation displacement of the reference frame relative to the reference frame is a parallel movement in the X direction. Is assumed to be 1 meter.
まず、基準フレームと参照フレームの間で対応する点の組(x0,xr)を推定する。(x0,xr)は実空間上の点Xの各フレームにおける観測であり、この点Xの基準フレームにおけるカメラからの距離Dが求める深度情報である。対応点の推定方法はどのような方法でもよい。ここで、カメラの画角がφ、横方向の解像度がWであるとすると、カメラの受光素子はφの画角をW画素で等間隔に記録する。図4に示す通り、受光素子に直行する面と第i番目画素に入る光線がなす角γは
また、同じ光線と受光素子に平行な平面とのなす角αは
また同様に、角βは
したがって、求めるDは
また、例として三次元情報として基準カメラの座標系におけるある点の三次元座標を使用する場合についても説明する。まず基準フレームと参照フレームの投影行列を位置姿勢変位に基づいて定義する。位置姿勢変位が回転行列Rと併進ベクトルtで表されるとき、二つのフレームの投影行列P0とPrは次のように定義できる。
また、加速度センサなどによって求めた移動距離を位置姿勢変位と定義し、基準フレームと参照フレームとの間で画像に基づいて位置姿勢を推定し、その不定なスケールを位置姿勢変位に基づき決定してもよい。画像に基づきカメラ間の位置姿勢を推定する場合にも、上述の連立方程式によって三次元座標値を決定できる。ただし併進ベクトルの大きさは不定であり、一般的には‖t‖=1となる解を求める。このときカメラ間の実距離lを位置姿勢変位によって与えると、実空間スケールでの三次元座標は‖t‖=1の場合の値にdをかけた値として決定できる。
Also, the movement distance obtained by an acceleration sensor is defined as the position and orientation displacement, the position and orientation are estimated based on the image between the base frame and the reference frame, and the indeterminate scale is determined based on the position and orientation displacement. Also good. Even when the position and orientation between the cameras are estimated based on the image, the three-dimensional coordinate value can be determined by the above simultaneous equations. However, the size of the translation vector is indefinite, and generally a solution with ‖t‖ = 1 is obtained. At this time, when the
その他、どのような三次元情報を定義し、推定してもよい。三次元情報は画像上のすべての点について推定してもよいし、特徴点のみを抽出しそれらの特徴点についてのみ推定してもよい。また、後述のカメラ間位置姿勢推定に使用する点についてのみ推定してもよいし、カメラ間位置姿勢推定に使用する点とは別の点について三次元情報を推定した後に、改めて使用する点の三次元情報を補間等の方法によって決定するなどしてもよい。 In addition, any three-dimensional information may be defined and estimated. The three-dimensional information may be estimated for all points on the image, or only feature points may be extracted and estimated only for those feature points. In addition, it may be estimated only for points used for inter-camera position / posture estimation, which will be described later, or after estimating three-dimensional information about points different from the points used for inter-camera position / posture estimation, The three-dimensional information may be determined by a method such as interpolation.
また、2つのフレーム間での対応する点はどのような方法で決定してもよい。それぞれ特徴点を抽出し特徴の相関の高い点同士を対応点としてもよいし、小さな領域毎に画素の自乗誤差総和を最小化するようにもう一方の画像上での対応する領域の位置を決定するなどしてもよい。また、基準フレーム上での後述のカメラ間位置姿勢推定に使用する点を対応点の一方とし、その点に対して最も相関の高い参照フレーム上の点をもう一方の対応点とするなどしてもよい。 The corresponding points between the two frames may be determined by any method. Each feature point may be extracted, and points with high feature correlation may be used as corresponding points. The position of the corresponding region on the other image is determined so as to minimize the square error sum of pixels for each small region. You may do it. In addition, a point used for estimating the position and orientation between cameras described later on the base frame is set as one of the corresponding points, and a point on the reference frame having the highest correlation with the point is set as the other corresponding point. Also good.
三次元情報を推定したら、カメラ間位置姿勢推定部107は、入力画像メモリ102に記憶された基準フレームと対象フレームを使用して、スケール不定カメラ間相対位置姿勢を推定する(ステップS105)。位置姿勢を推定する方法はどのような方法でもよい。また、推定される位置姿勢はどのように表現されてもよい。カメラ間の変換行列であってもよいし、各カメラ毎の投影行列であってもよいし、内部パラメータと回転行列及び並進ベクトルの組み合わせなどでもよい。
When the three-dimensional information is estimated, the inter-camera position /
位置姿勢推定の一般的な方法では、バンドルアジャスメントと呼ばれる方法がある(非特許文献1)。この方法では、異なるカメラ間の対応関係を表す基礎行列を、二つの画像上に存在する複数の対応点の組から決定する。基準フレームと対象フレームの画像上の対応する点(x0,xt)の組と基礎行列Fとの間には以下の関係がある。
(x0,Fxt)=0
As a general method of position and orientation estimation, there is a method called bundle adjustment (Non-Patent Document 1). In this method, a basic matrix representing a correspondence relationship between different cameras is determined from a set of a plurality of corresponding points existing on two images. There is the following relationship between a set of corresponding points (x 0 , x t ) on the image of the reference frame and the target frame and the basic matrix F.
(X 0 , Fx t ) = 0
二台のカメラの相対的な併進ベクトルtと回転行列は基礎行列とカメラの焦点距離(f0,ft)とから推定することができる。また、焦点距離は基礎行列から推定することができる。ただしこのとき併進ベクトルtのスケールは不定であり、一般的には‖t‖=1となる解を求めることになっている。併進ベクトルtは、以下の基本行列Eを求め
最後に、スケール推定部108は、基準フレーム三次元情報を使用してスケール不定カメラ間相対位置姿勢のスケールを推定し、カメラ間相対位置姿勢を決定する(ステップS106)。スケール推定の方法はどのような方法でもよい。例えば、基準フレーム上の深度推定済みのある点について対象フレーム上の対応する点を推定し、また同じ点について深度情報と投影行列によって対象フレーム上の対応する点を決定した場合に、両者の誤差を小さくするように投影行列のスケールを決定するようにしてもよい。
Finally, the
またあるいは、基準フレームにおける三次元座標値推定済みの点について、対象フレームとの間の位置姿勢に基づく三次元座標値との誤差が小さくなるように座標のスケールを決定してもよい。また、決定したスケールに基づく三次元座標値は実空間の値である必要はなく、本願を多数のカメラ間のスケールを固定するために使用する場合などは、実空間上の値に更に任意の係数をかけたスケールを使用するなどしてもよい。 Alternatively, the coordinate scale may be determined so that an error with respect to the three-dimensional coordinate value based on the position and orientation with respect to the target frame is reduced for a point for which the three-dimensional coordinate value has been estimated in the reference frame. In addition, the three-dimensional coordinate value based on the determined scale does not need to be a real space value. When the present application is used to fix a scale between a large number of cameras, an arbitrary value is further added to the real space value. A scale multiplied by a coefficient may be used.
また、スケール不定カメラ間相対位置姿勢を推定せず、三次元情報を使用して直接固定スケールのカメラ間相対位置姿勢を決定してもよい。例えば、カメラ間の位置姿勢を決定する際に使用する対応点に三次元情報推定済みの点を使用することで、スケールを固定してカメラ間の位置姿勢を決定することができる。以上説明したように、多視点映像におけるカメラ位置姿勢推定問題において、基準カメラについてセンサ情報を利用して基準カメラの一部の三次元情報を推定し、推定した三次元情報を利用して別のカメラとの間の位置姿勢のスケールを決定することによって、2つのカメラ間で実世界上のスケールで位置姿勢を推定したり、多視点映像の各カメラの位置姿勢を整合性を保ちつつ推定することができる。 Alternatively, the relative position and orientation between cameras of a fixed scale may be determined directly using the three-dimensional information without estimating the relative position and orientation between cameras with indefinite scale. For example, by using a point for which three-dimensional information has been estimated as a corresponding point used when determining the position and orientation between cameras, it is possible to fix the scale and determine the position and orientation between cameras. As described above, in the camera position and orientation estimation problem in the multi-viewpoint video, the 3D information of the reference camera is estimated using the sensor information for the reference camera, and another 3D information is used using the estimated 3D information. Estimate the position and orientation between two cameras on a real-world scale by determining the position and orientation scale with the camera, or estimate the position and orientation of each camera in a multi-view video while maintaining consistency be able to.
なお、図2に示す一部の処理は、その順序が前後しても構わない。 Note that the order of some processes shown in FIG. 2 may be changed.
以上説明したように、複数のカメラで取得した画像を使用してカメラ間の相対位置姿勢を求めるに当たり、ある基準カメラにおいて前後のフレーム間での姿勢変位をカメラに付随する加速度センサやジャイロセンサ等の各種センサを使用して実スケールで推定し、推定された実空間スケールの姿勢変位に基づき基準カメラの画像上の点について三次元情報を推定することで、三次元情報を利用して基準カメラと別のカメラの間のスケール不定の相対位置姿勢のスケールを絶対的な値に合わせることができる。 As described above, in obtaining the relative position and orientation between cameras using images acquired by a plurality of cameras, an acceleration sensor, a gyro sensor, or the like associated with the camera is used to determine the orientation displacement between the previous and next frames in a certain reference camera. The 3D information is used to estimate the 3D information for the points on the image of the reference camera based on the estimated displacement of the real space scale. The scale of indefinite relative position and posture between the camera and another camera can be adjusted to an absolute value.
前述した実施形態における映像データ処理装置をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、PLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されるものであってもよい。 You may make it implement | achieve the video data processing apparatus in embodiment mentioned above with a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on this recording medium may be read into a computer system and executed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory inside a computer system serving as a server or a client in that case may be included and a program held for a certain period of time. Further, the program may be for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in the computer system. It may be realized using hardware such as PLD (Programmable Logic Device) or FPGA (Field Programmable Gate Array).
以上、図面を参照して本発明の実施の形態を説明してきたが、上記実施の形態は本発明の例示に過ぎず、本発明が上記実施の形態に限定されるものではないことは明らかである。したがって、本発明の技術思想及び範囲を逸脱しない範囲で構成要素の追加、省略、置換、その他の変更を行ってもよい。 As mentioned above, although embodiment of this invention has been described with reference to drawings, the said embodiment is only the illustration of this invention, and it is clear that this invention is not limited to the said embodiment. is there. Therefore, additions, omissions, substitutions, and other modifications of the components may be made without departing from the technical idea and scope of the present invention.
2つのカメラ間で実世界上のスケールで位置姿勢を推定する用途や、多視点映像の各カメラの位置姿勢を推定する場合において、全てのカメラ間に十分な共通領域が存在しない場合や、共通領域は存在するが信頼できる対応点を十分取ることができない場合などに相対位置姿勢の整合性をとる事が不可欠な用途に適用できる。 When estimating the position and orientation between two cameras on a real-world scale, or when estimating the position and orientation of each camera in a multi-view video, if there is not enough common area between all cameras, It can be applied to applications where it is indispensable to maintain consistency of relative positions and postures when there is an area but sufficient corresponding points cannot be taken.
101・・・映像入力部、102・・・入力画像メモリ、103・・・センサ情報入力部、104・・・センサ情報メモリ、105・・・基準カメラ位置姿勢変位推定部、106・・・基準カメラ三次元情報推定部、107・・・カメラ間位置姿勢推定部、108・・・スケール推定部
DESCRIPTION OF
Claims (6)
前記センサ情報を使用して、前記基準となる撮像手段により取得した映像の一つの時刻の画像である基準フレームと、該基準フレームと異なる時刻の画像である参照フレームとの間の前記撮像手段の位置姿勢変位を推定する位置姿勢変位推定ステップと、
前記基準フレーム上の点の三次元情報を前記参照フレーム上の対応する点の位置と前記位置姿勢変位に基づき推定する三次元情報推定ステップと、
前記基準フレームと、他の撮像手段により取得した映像中の前記基準フレームと同じ時刻の画像である対象フレームの間で、前記三次元情報を使用して前記他の撮像手段の位置姿勢を推定する位置姿勢推定ステップと
を有することを特徴とする映像データ処理方法。 Estimating the position and orientation of a plurality of imaging means using a multi-view video composed of a plurality of videos acquired by a plurality of imaging means and sensor information output by a sensor capable of estimating the position and orientation of the reference imaging means. A video data processing method,
Using the sensor information, the imaging means between the reference frame that is an image at one time of the video acquired by the imaging means serving as the reference and the reference frame that is an image at a time different from the reference frame. A position and orientation displacement estimation step for estimating a position and orientation displacement;
A three-dimensional information estimation step for estimating three-dimensional information of a point on the reference frame based on the position of the corresponding point on the reference frame and the position and orientation displacement;
Between the reference frame and a target frame that is an image at the same time as the reference frame in the video acquired by another imaging unit, the position and orientation of the other imaging unit are estimated using the three-dimensional information. And a position / orientation estimation step.
前記基準フレームと、前記対象フレームとの間で、前記基準となる撮像手段と前記他の撮像手段との間のスケール不定の相対位置姿勢を推定し、前記三次元情報に基づき前記スケール不定の相対位置姿勢のスケールを決定することを特徴とする請求項1に記載の映像データ処理方法。 The position and orientation estimation step includes:
Estimating an indefinite scale relative position and orientation between the reference imaging unit and the other imaging unit between the reference frame and the target frame, and based on the three-dimensional information, the scale indefinite relative 2. The video data processing method according to claim 1 , wherein a scale of the position and orientation is determined.
前記基準フレームと、前記対象フレームとの間で、前記三次元情報に基づく前記基準となる撮像手段から前記他の撮像手段への投影誤差が最小となる相対位置姿勢を推定することを特徴とする請求項1に記載の映像データ処理方法。 The position and orientation estimation step includes:
A relative position and orientation at which a projection error from the reference imaging unit to the other imaging unit based on the three-dimensional information is minimized is estimated between the reference frame and the target frame. The video data processing method according to claim 1 .
前記三次元情報推定ステップは、
前記基準フレームと前記参照フレーム上の対応する点の深度情報を前記位置姿勢変位に基づく三角測量によって推定することを特徴とする請求項1から3のいずれか1項に記載の映像データ処理方法。 The three-dimensional information is depth information,
The three-dimensional information estimation step includes:
Video data processing method according to any one of claims 1 to 3, characterized in that to estimate the depth information of the corresponding point on the reference frame and the reference frame by triangulation based on the position and orientation displacement.
前記センサ情報を使用して、前記基準となる撮像手段により取得した映像の一つの時刻の画像である基準フレームと、該基準フレームと異なる時刻の画像である参照フレームとの間の前記撮像手段の位置姿勢変位を推定する位置姿勢変位推定手段と、
前記基準フレーム上の点の三次元情報を前記参照フレーム上の対応する点の位置と前記位置姿勢変位に基づき推定する三次元情報推定手段と、
前記基準フレームと、他の撮像手段により取得した映像中の前記基準フレームと同じ時刻の画像である対象フレームの間で、前記三次元情報を使用して前記他の撮像手段の位置姿勢を推定する位置姿勢推定手段と
を備えることを特徴とする映像データ処理装置。 Estimating the position and orientation of a plurality of imaging means using a multi-view video composed of a plurality of videos acquired by a plurality of imaging means and sensor information output by a sensor capable of estimating the position and orientation of the reference imaging means. A video data processing device,
Using the sensor information, the imaging means between the reference frame that is an image at one time of the video acquired by the imaging means serving as the reference and the reference frame that is an image at a time different from the reference frame. Position and orientation displacement estimating means for estimating position and orientation displacement;
Three-dimensional information estimation means for estimating three-dimensional information of a point on the reference frame based on the position of the corresponding point on the reference frame and the position and orientation displacement;
Between the reference frame and a target frame that is an image at the same time as the reference frame in the video acquired by another imaging unit, the position and orientation of the other imaging unit are estimated using the three-dimensional information. A video data processing apparatus comprising: a position and orientation estimation unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014203315A JP6306996B2 (en) | 2014-10-01 | 2014-10-01 | VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014203315A JP6306996B2 (en) | 2014-10-01 | 2014-10-01 | VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016070884A JP2016070884A (en) | 2016-05-09 |
| JP6306996B2 true JP6306996B2 (en) | 2018-04-04 |
Family
ID=55864504
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014203315A Expired - Fee Related JP6306996B2 (en) | 2014-10-01 | 2014-10-01 | VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6306996B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018187941A1 (en) * | 2017-04-11 | 2018-10-18 | 深圳市柔宇科技有限公司 | Picture processing method and device |
| JP2019148926A (en) * | 2018-02-26 | 2019-09-05 | 株式会社リコー | Information processing apparatus, moving body system, imaging system, and information processing method |
| WO2019211970A1 (en) * | 2018-05-02 | 2019-11-07 | パナソニックIpマネジメント株式会社 | Three-dimensional reconstruction method and three-dimensional reconstruction device |
| JP7076598B1 (en) * | 2021-02-03 | 2022-05-27 | 株式会社Albert | 3D information generator from moving images or multiple images |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3712847B2 (en) * | 1997-05-20 | 2005-11-02 | 株式会社リコー | Three-dimensional shape measurement method, three-dimensional shape measurement device, and posture detection device for imaging means |
| JP2002032744A (en) * | 2000-07-14 | 2002-01-31 | Komatsu Ltd | Apparatus and method for three-dimensional modeling and three-dimensional image creation |
| JP2005252482A (en) * | 2004-03-02 | 2005-09-15 | Softopia Japan Foundation | Image generating apparatus and three-dimensional distance information acquisition apparatus |
| US9639959B2 (en) * | 2012-01-26 | 2017-05-02 | Qualcomm Incorporated | Mobile device configured to compute 3D models based on motion sensor data |
-
2014
- 2014-10-01 JP JP2014203315A patent/JP6306996B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016070884A (en) | 2016-05-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11557083B2 (en) | Photography-based 3D modeling system and method, and automatic 3D modeling apparatus and method | |
| JP6914926B2 (en) | Extension of multi-view image data including composite objects using IMU and image data | |
| JP7143225B2 (en) | Three-dimensional reconstruction method and three-dimensional reconstruction apparatus | |
| US10740975B2 (en) | Mobile augmented reality system | |
| JP6228320B2 (en) | Sensor-based camera motion detection for unconstrained SLAM | |
| US9495761B2 (en) | Environment mapping with automatic motion model selection | |
| US8675049B2 (en) | Navigation model to render centered objects using images | |
| CN113454685B (en) | Cloud-based camera calibration | |
| US20200334842A1 (en) | Methods, devices and computer program products for global bundle adjustment of 3d images | |
| JP7170230B2 (en) | Three-dimensional reconstruction method and three-dimensional reconstruction apparatus | |
| JP7116262B2 (en) | Image depth estimation method and apparatus, electronic device, and storage medium | |
| US11212510B1 (en) | Multi-camera 3D content creation | |
| US10354399B2 (en) | Multi-view back-projection to a light-field | |
| CN108028904A (en) | The method and system of light field augmented reality/virtual reality in mobile equipment | |
| JP6306996B2 (en) | VIDEO DATA PROCESSING METHOD, VIDEO DATA PROCESSING DEVICE, AND VIDEO DATA PROCESSING PROGRAM | |
| CN109040525B (en) | Image processing method, image processing device, computer readable medium and electronic equipment | |
| KR20220121533A (en) | Image restoration method and image restoration apparatus for restoring images acquired through an array camera | |
| TW201913575A (en) | Three dimensional reconstruction method, apparatus and non-transitory computer readable storage medium | |
| KR20150088583A (en) | Method and apparatus for image processing | |
| JP7416573B2 (en) | Stereoscopic image generation device and its program | |
| JP2019512781A (en) | Method for reconstructing 3D multi-viewpoint by feature tracking and model registration. | |
| JP2005063012A (en) | Omnidirectional camera motion and three-dimensional information restoration method, apparatus and program thereof, and recording medium recording the same | |
| CN110366848A (en) | Image processing device and program | |
| JP6071142B2 (en) | Image converter | |
| Chen et al. | The power of indoor crowd: Indoor 3D maps from the crowd |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170106 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171107 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180104 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180306 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180309 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6306996 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |