JP2017125739A - Three-dimensional position calibration device and program of the same, and free view point image generation device - Google Patents

Three-dimensional position calibration device and program of the same, and free view point image generation device Download PDF

Info

Publication number
JP2017125739A
JP2017125739A JP2016004429A JP2016004429A JP2017125739A JP 2017125739 A JP2017125739 A JP 2017125739A JP 2016004429 A JP2016004429 A JP 2016004429A JP 2016004429 A JP2016004429 A JP 2016004429A JP 2017125739 A JP2017125739 A JP 2017125739A
Authority
JP
Japan
Prior art keywords
sensor
calibration
space
dimensional position
physical space
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.)
Granted
Application number
JP2016004429A
Other languages
Japanese (ja)
Other versions
JP6581514B2 (en
Inventor
康仁 澤畠
Yasuhito Sawahata
康仁 澤畠
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
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 Nippon Hoso Kyokai NHK filed Critical Nippon Hoso Kyokai NHK
Priority to JP2016004429A priority Critical patent/JP6581514B2/en
Publication of JP2017125739A publication Critical patent/JP2017125739A/en
Application granted granted Critical
Publication of JP6581514B2 publication Critical patent/JP6581514B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a three-dimensional position calibration device capable of associating a sensor space with a physical space without disposing separate measuring means, even when a three-dimensional position sensor is separated from a display device.SOLUTION: A three-dimensional position calibration device 10 includes position collecting means 101 and calibration data calculating means 102. While an observer moves, to a plurality of points, the position of the other end of a fixed-length member whose one end is fixed to a previously determined position in a physical space and the other end is fixed to a magnetic sensor, the position collecting means collects at least three or more positions in a sensor space detected by a three-dimensional position sensor 3. On the basis of the plurality of positions in the sensor space and the previously determined position in the physical space, the calibration data calculating means calculates, as the calibration data, the position of the origin coordinate in the sensor space in the coordinate system in the physical space having the smallest error.SELECTED DRAWING: Figure 2

Description

本発明は、三次元位置センサによって計測されるセンサ空間上の位置を、物理空間上の位置に対応付ける三次元位置校正装置およびそのプログラム、ならびに、自由視点画像生成装置に関する。   The present invention relates to a three-dimensional position calibration apparatus that associates a position on a sensor space measured by a three-dimensional position sensor with a position on a physical space, a program thereof, and a free viewpoint image generation apparatus.

近年、観察者の頭部、目の位置等の視点位置に応じて変化させた画像を表示装置に表示する自由視点の画像表示手法が研究、開発されている。
例えば、コンピュータグラフィックスで自由視点画像を生成して表示する場合、この画像表示手法は、仮想カメラを設置した仮想空間の座標系と、表示装置を設置した物理空間(実空間)の座標系とを対応付ける。そして、この画像表示手法は、観察者の視点位置に対応する仮想空間の位置に仮想カメラを設置し、表示装置の表示領域に対応する仮想空間の画像を撮影(生成)する。
In recent years, a free viewpoint image display technique for displaying an image changed according to a viewpoint position such as an observer's head and eye positions on a display device has been researched and developed.
For example, when a free viewpoint image is generated and displayed by computer graphics, this image display method includes a coordinate system of a virtual space in which a virtual camera is installed, and a coordinate system of a physical space (real space) in which a display device is installed. Associate. In this image display method, a virtual camera is installed at a position in the virtual space corresponding to the viewpoint position of the observer, and an image in the virtual space corresponding to the display area of the display device is captured (generated).

このとき、仮想空間と物理空間とは、仮想カメラの視点位置を頂点とした視錐台において、視点位置となる頂点から底面の各頂点に伸びる辺が、表示装置の表示領域の四隅の点を常に通るように、視錐台のパラメータを設定することで対応付けることができる。
つまり、仮想カメラは、暗室の中に設置された長方形の窓を通して外を見ていることに相当し、その窓枠の四隅の各点は、物理空間に設置された表示装置の表示領域の四隅の各点に対応することになる。
At this time, in the virtual frustum and the physical space, in the view frustum with the viewpoint position of the virtual camera as a vertex, the sides extending from the vertex as the viewpoint position to each vertex of the bottom surface are the four corner points of the display area of the display device. It can be matched by setting the parameters of the view frustum so that it always passes.
In other words, the virtual camera corresponds to looking out through a rectangular window installed in a dark room, and the four corners of the window frame are the four corners of the display area of the display device installed in the physical space. It corresponds to each point.

一方、物理空間における頭部位置等の視点位置を取得する手法としては、従来、光学センサ、磁気センサ等を用いた三次元位置センサから取得する手法が知られている(特許文献1〜4参照)。   On the other hand, as a method for acquiring a viewpoint position such as a head position in a physical space, conventionally, a method of acquiring from a three-dimensional position sensor using an optical sensor, a magnetic sensor, or the like is known (see Patent Documents 1 to 4). ).

光学センサを用いる手法は、例えば、観察者の頭部位置に反射マーカを貼付し、赤外線を照射したときの反射光を光学センサで検出することでマーカ位置を算出したり、KINECT(登録商標)のように、赤外線により特定のパターンを対象に照射し、赤外カメラで撮影したパターンから、人物頭部の位置を算出したり、等により視点位置を取得する。   The technique using the optical sensor is, for example, by attaching a reflective marker to the position of the observer's head and calculating the marker position by detecting the reflected light when irradiated with infrared rays, or by using KINECT (registered trademark). As described above, a specific pattern is irradiated onto the target using infrared rays, and the position of the person's head is calculated from the pattern photographed by the infrared camera, or the viewpoint position is acquired.

また、磁気センサを用いる手法は、例えば、トランスミッタにより磁場を発生させ、頭部位置近傍に設置したレシーバが測定した磁場強度から視点位置を算出する。
このとき、三次元位置センサで取得した位置情報は、赤外カメラやトランスミッタ(磁場発生装置)の位置に対する相対位置で表現される。
そこで、三次元位置センサで取得した相対位置と物理空間の位置とを対応付けるためには、それぞれの座標系(センサ空間座標系、物理空間座標系)との位置合わせを行う必要がある。
In the method using a magnetic sensor, for example, a magnetic field is generated by a transmitter, and the viewpoint position is calculated from the magnetic field intensity measured by a receiver installed near the head position.
At this time, the position information acquired by the three-dimensional position sensor is expressed as a relative position with respect to the position of the infrared camera or the transmitter (magnetic field generator).
Therefore, in order to associate the relative position acquired by the three-dimensional position sensor with the position in the physical space, it is necessary to perform alignment with each coordinate system (sensor space coordinate system, physical space coordinate system).

このセンサ空間座標系と物理空間座標系との位置合わせは、例えば、三次元位置センサの基準となる位置を物理空間上において物理的な計測手段(例えば、定規、レーザ等の測量機器)を用いて実測することで行われている。あるいは、この位置合わせは、物理空間上の特定の位置に座標値を定めておき、三次元位置センサでその位置を計測することで行われている。
すなわち、従来、観察者の視点位置に応じて変化させた画像を表示する自由視点の画像表示手法においては、仮想空間と物理空間とセンサ空間との3つの空間の座標系を合わせることで実現している。
For the alignment between the sensor space coordinate system and the physical space coordinate system, for example, a physical measurement means (for example, a surveying instrument such as a ruler or a laser) is used to determine the position serving as a reference for the three-dimensional position sensor in the physical space. It is done by actually measuring. Alternatively, this alignment is performed by determining a coordinate value at a specific position in the physical space and measuring the position with a three-dimensional position sensor.
In other words, the conventional free viewpoint image display method for displaying an image changed according to the viewpoint position of the observer is realized by combining three coordinate systems of a virtual space, a physical space, and a sensor space. ing.

特許第5247590号公報Japanese Patent No. 5247590 特許第5693691号公報Japanese Patent No. 5693691 特許第5726024号公報Japanese Patent No. 5722024 特許第5777786号公報Japanese Patent No. 5777786

前記したように、従来の自由視点の画像表示手法において、仮想空間と物理空間とは、視錐台のパラメータを設定することで容易に対応付けることができる。
しかし、従来の手法は、センサ空間の座標系と物理空間の座標系との対応付けを行うために、三次元位置センサの物理空間上の基準位置を計測する必要がある。そのため、従来の手法は、別途計測を行うための機材が必要となってしまい、計測に手間がかかってしまうという問題がある。
As described above, in the conventional free viewpoint image display method, the virtual space and the physical space can be easily associated with each other by setting the parameters of the view frustum.
However, the conventional method needs to measure the reference position of the three-dimensional position sensor in the physical space in order to associate the coordinate system of the sensor space with the coordinate system of the physical space. For this reason, the conventional method requires a separate device for measurement, and there is a problem that it takes time and effort for measurement.

なお、簡易に三次元位置センサの基準位置を特定するため、例えば、表示装置の表示面が揃った所定位置に三次元位置センサを配置することが考えられる。
しかし、三次元位置センサとして、赤外カメラ等の光学センサを用いた場合、観察者にとって、カメラの主点位置が不明であるため、必ずしも光学センサを表示装置の表示面に揃えることができず、正確な位置合わせを行うことは困難である。
In order to easily specify the reference position of the three-dimensional position sensor, for example, it is conceivable to arrange the three-dimensional position sensor at a predetermined position where the display surfaces of the display device are aligned.
However, when an optical sensor such as an infrared camera is used as the three-dimensional position sensor, it is not always possible to align the optical sensor with the display surface of the display device because the principal point position of the camera is unknown to the observer. It is difficult to perform accurate alignment.

また、三次元位置センサとして、磁気センサを用いた場合、表示装置のような磁場を乱す装置の近傍に、トランスミッタ(磁場発生器)を配置することはできず、表示装置の表示面が揃った所定位置に簡易に三次元位置センサを配置することはできない。
このように、従来の手法において、正確にセンサ空間と物理空間とを対応付けるためには、前記したように、別途計測手段を設ける必要があり、計測に手間がかかってしまう。
In addition, when a magnetic sensor is used as a three-dimensional position sensor, a transmitter (magnetic field generator) cannot be disposed in the vicinity of a device that disturbs a magnetic field such as a display device, and the display surface of the display device is aligned. A three-dimensional position sensor cannot be easily arranged at a predetermined position.
Thus, in the conventional method, in order to correctly associate the sensor space and the physical space, it is necessary to provide a separate measurement unit as described above, which takes time and effort.

本発明は、このような問題に鑑みてなされたものであり、三次元位置センサを表示装置から離した状態でも、別途計測手段を設けることなく、センサ空間と物理空間とを対応付けることが可能な三次元位置校正装置およびそのプログラム、ならびに、自由視点画像生成装置を提供することを課題とする。   The present invention has been made in view of such problems, and even when the three-dimensional position sensor is separated from the display device, the sensor space and the physical space can be associated with each other without providing a separate measurement unit. It is an object of the present invention to provide a three-dimensional position calibration device, a program thereof, and a free viewpoint image generation device.

前記課題を解決するため、本発明に係る三次元位置校正装置は、観察者の視点位置を磁気センサの位置により検出する三次元位置センサのセンサ空間の座標系と、前記観察者が視認する表示装置が配置された物理空間の座標系とを対応付ける三次元位置校正装置であって、位置収集手段と、校正データ算出手段と、を備える構成とした。   In order to solve the above-mentioned problem, a three-dimensional position calibration apparatus according to the present invention includes a coordinate system of a sensor space of a three-dimensional position sensor that detects the viewpoint position of an observer based on the position of a magnetic sensor, and a display that the observer visually recognizes A three-dimensional position calibration apparatus that associates a coordinate system of a physical space in which the apparatus is arranged, and includes a position collection unit and a calibration data calculation unit.

かかる構成において、三次元位置校正装置は、位置収集手段によって、三次元位置センサが検出したセンサ空間における少なくとも3点以上の位置を収集する。なお、この収集する位置は、一端を物理空間の予め定めた位置に固定し、他端を磁気センサに固定した固定長部材の他端の位置を観察者が複数箇所に移動させることで得られる位置である。これによって、位置収集手段は、物理空間上の予め定めた位置から、固定長部材の長さだけ離れた複数のセンサ空間上の位置を取得することができる。   In such a configuration, the three-dimensional position calibration apparatus collects at least three positions in the sensor space detected by the three-dimensional position sensor by the position collecting unit. This collecting position is obtained by moving the position of the other end of the fixed length member in which one end is fixed to a predetermined position in the physical space and the other end is fixed to the magnetic sensor to a plurality of positions. Position. Thereby, the position collecting means can acquire positions on a plurality of sensor spaces that are separated from the predetermined position on the physical space by the length of the fixed length member.

そして、三次元位置校正装置は、校正データ算出手段によって、位置収集手段で収集されたセンサ空間における複数の位置と、物理空間における予め定めた位置とに基づいて、誤差の最も小さい物理空間におけるセンサ空間の原点座標の位置を校正データとして算出する。すなわち、物理空間上の1点とセンサ空間上の3点から、物理空間の座標系とセンサ空間の座標系とを対応付けることができるが、測定誤差を考慮し、校正データ算出手段は、センサ空間上の点で求められる複数の原点座標のうちで、他の原点座標と最も誤差が小さい座標を校正データとする。   Then, the three-dimensional position calibration apparatus is configured to provide a sensor in the physical space with the smallest error based on a plurality of positions in the sensor space collected by the position collecting unit and a predetermined position in the physical space by the calibration data calculating unit. The position of the origin coordinate in space is calculated as calibration data. That is, from one point on the physical space and three points on the sensor space, the coordinate system of the physical space and the coordinate system of the sensor space can be associated with each other. Among a plurality of origin coordinates obtained at the upper point, a coordinate having the smallest error from other origin coordinates is set as calibration data.

これによって、三次元位置校正装置は、三次元位置センサを表示装置から離した状態で、正確に物理空間とセンサ空間との位置合わせ(校正)を行うことができる。
なお、本発明に係る三次元位置校正装置は、コンピュータを、位置収集手段、校正データ算出手段として機能させるための三次元位置校正プログラムで動作させることができる。
Thus, the three-dimensional position calibration apparatus can accurately perform alignment (calibration) between the physical space and the sensor space in a state where the three-dimensional position sensor is separated from the display device.
The three-dimensional position calibration apparatus according to the present invention can operate a computer with a three-dimensional position calibration program for causing a computer to function as a position collection unit and a calibration data calculation unit.

また、前記課題を解決するため、本発明に係る自由視点画像生成装置は、表示装置を視認する観察者の視点位置を磁気センサの位置により検出し、前記視点位置に対応した視点画像を生成する自由視点画像生成装置であって、三次元位置校正装置と、視点画像生成装置と、を備える構成とした。   In order to solve the above problem, the free viewpoint image generation device according to the present invention detects the viewpoint position of an observer who visually recognizes the display device based on the position of the magnetic sensor, and generates a viewpoint image corresponding to the viewpoint position. The free viewpoint image generation device is configured to include a three-dimensional position calibration device and a viewpoint image generation device.

かかる構成において、自由視点画像生成装置は、三次元位置校正装置によって、三次元位置センサを表示装置から離した状態で、物理空間とセンサ空間との校正を行う。
そして、自由視点画像生成装置は、視点画像生成装置によって、三次元位置校正装置で校正された校正データに基づいて、三次元位置センサから取得したセンサ空間上の磁気センサの位置から物理空間上の視点位置を算出し、当該視点位置を仮想カメラの位置として、CGを表示装置の画面上に投影変換することで視点画像を生成する。
これによって、自由視点画像生成装置は、三次元位置センサを表示装置から離した状態で、正確に物理空間とセンサ空間との校正を行い、正しい視点位置に対応する視点画像を表示することができる。
In such a configuration, the free viewpoint image generation device calibrates the physical space and the sensor space with the 3D position calibration device in a state where the 3D position sensor is separated from the display device.
Then, the free viewpoint image generation device, based on the calibration data calibrated by the three-dimensional position calibration device by the viewpoint image generation device, from the position of the magnetic sensor on the sensor space acquired from the three-dimensional position sensor on the physical space. The viewpoint position is calculated, and the viewpoint image is generated by projecting and converting the CG on the screen of the display device using the viewpoint position as the position of the virtual camera.
As a result, the free viewpoint image generation apparatus can accurately calibrate the physical space and the sensor space and display the viewpoint image corresponding to the correct viewpoint position with the three-dimensional position sensor separated from the display device. .

本発明は、以下に示す優れた効果を奏するものである。
本発明によれば、三次元位置センサを表示装置から離した状態でも、センサ空間と物理空間とを対応付けることができる。
また、本発明によれば、磁気センサの位置を動かすだけの簡単な動作で、センサ空間と物理空間とを精度よく対応付けることができる。
これによって、本発明は、磁気センサの位置で検出される観察者の正確な視点位置に応じた視点画像を生成することが可能になる。
The present invention has the following excellent effects.
According to the present invention, the sensor space and the physical space can be associated with each other even when the three-dimensional position sensor is separated from the display device.
In addition, according to the present invention, the sensor space and the physical space can be accurately associated with each other by a simple operation that simply moves the position of the magnetic sensor.
Thus, the present invention can generate a viewpoint image corresponding to the exact viewpoint position of the observer detected at the position of the magnetic sensor.

本発明の実施形態に係る自由視点画像表示システムの全体構成を示す構成図である。It is a block diagram which shows the whole structure of the free viewpoint image display system which concerns on embodiment of this invention. 本発明の実施形態に係る三次元位置校正装置(三次元位置校正手段)を備えた自由視点画像生成装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the free viewpoint image generation apparatus provided with the three-dimensional position calibration apparatus (three-dimensional position calibration means) which concerns on embodiment of this invention. マーカを表示した表示装置の画面例を示す図である。It is a figure which shows the example of a screen of the display apparatus which displayed the marker. 複数の視点位置を計測する方法を説明するための説明図である。It is explanatory drawing for demonstrating the method to measure a some viewpoint position. 物理空間座標系とセンサ空間座標系の校正の手法を説明するための説明図である。It is explanatory drawing for demonstrating the calibration method of a physical space coordinate system and a sensor space coordinate system. 物理空間座標系と仮想空間座標系との関係を説明するための説明図である。It is explanatory drawing for demonstrating the relationship between a physical space coordinate system and a virtual space coordinate system. 本発明の実施形態に係る自由視点画像生成装置の三次元位置校正手段の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the three-dimensional position calibration means of the free viewpoint image generation apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る自由視点画像生成装置の視点画像生成手段の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the viewpoint image generation means of the free viewpoint image generation apparatus which concerns on embodiment of this invention.

以下、本発明の実施形態について図面を参照して説明する。
〔自由視点画像表示システムの全体構成〕
まず、図1を参照して、本発明の実施形態に係る自由視点画像表示システムSの全体構成について説明する。
Embodiments of the present invention will be described below with reference to the drawings.
[Overall configuration of free viewpoint image display system]
First, an overall configuration of a free viewpoint image display system S according to an embodiment of the present invention will be described with reference to FIG.

自由視点画像表示システムSは、観察者Mの視点位置に応じた視点画像を、表示装置2に表示するものである。ここで、自由視点画像表示システムSは、自由視点画像生成装置1と、表示装置2と、三次元位置センサ3と、を備える。   The free viewpoint image display system S displays a viewpoint image according to the viewpoint position of the observer M on the display device 2. Here, the free viewpoint image display system S includes a free viewpoint image generation device 1, a display device 2, and a three-dimensional position sensor 3.

自由視点画像生成装置1は、観察者Mの視点位置に応じた表示装置2に表示する視点画像を生成するものである。この自由視点画像生成装置1は、三次元位置校正手段10によって、表示装置2を配置した物理空間の座標系(物理空間座標系F)と、三次元位置センサ3が認識するセンサ空間の座標系(センサ空間座標系F)との位置合わせ(校正)を行う。
そして、自由視点画像生成装置1は、視点画像生成手段12によって、センサ空間における観察者Mの視点位置から、物理空間における位置を算出し、その視点位置に対応する表示装置2に表示する画像(視点画像)を生成する。
なお、この自由視点画像生成装置1における校正や視点画像の生成については、後記する自由視点画像生成装置1の構成および動作の説明において詳細に行うこととする。
The free viewpoint image generation device 1 generates a viewpoint image to be displayed on the display device 2 according to the viewpoint position of the observer M. The free viewpoint image generation device 1 is configured such that the coordinate system of the physical space (the physical space coordinate system F R ) in which the display device 2 is disposed and the coordinates of the sensor space recognized by the three-dimensional position sensor 3 by the three-dimensional position calibration unit 10. Alignment (calibration) with the system (sensor space coordinate system F S ) is performed.
Then, the free viewpoint image generation device 1 calculates the position in the physical space from the viewpoint position of the observer M in the sensor space by the viewpoint image generation means 12 and displays the image on the display device 2 corresponding to the viewpoint position ( Viewpoint image).
Note that calibration and viewpoint image generation in the free viewpoint image generation apparatus 1 will be described in detail in the description of the configuration and operation of the free viewpoint image generation apparatus 1 described later.

表示装置2は、自由視点画像生成装置1で生成された視点画像を表示するものである。この表示装置2は、液晶ディスプレイ(LCD:Liquid Crystal Display)、有機EL(OLED:Organic Light-Emitting Diode)ディスプレイ等の一般的な表示装置である。   The display device 2 displays the viewpoint image generated by the free viewpoint image generation device 1. The display device 2 is a general display device such as a liquid crystal display (LCD) or an organic EL (Organic Light-Emitting Diode) display.

三次元位置センサ3は、観察者Mの視点位置を検出するものである。ここでは、三次元位置センサ3は、磁場の強度によって3次元空間の位置を検出する磁場発生器(トランスミッタ)30と、磁場測定器(レシーバ)31と、コントローラ32と、を備える。   The three-dimensional position sensor 3 detects the observer M's viewpoint position. Here, the three-dimensional position sensor 3 includes a magnetic field generator (transmitter) 30 that detects the position of the three-dimensional space based on the strength of the magnetic field, a magnetic field measuring device (receiver) 31, and a controller 32.

磁場発生器30は、磁場を発生させるものである。この磁場発生器30内の磁場を発生させる基準位置がセンサ空間座標系Fにおける座標原点となる。
磁場測定器(磁気センサ)31は、磁場発生器30が発生する磁場の方向および強度を測定するものである。この磁場測定器31は、測定した磁場の方向および強度をコントローラ32に出力する。なお、磁場測定器31は、観察者Mが視点画像を観る際に、観察者Mの視点位置に対応する位置、例えば、メガネ等に固定される。
The magnetic field generator 30 generates a magnetic field. The reference position for generating the magnetic field in the magnetic field generator 30 is the coordinate origin in the sensor space coordinate system F S.
The magnetic field measuring device (magnetic sensor) 31 measures the direction and strength of the magnetic field generated by the magnetic field generator 30. The magnetic field measuring device 31 outputs the measured magnetic field direction and strength to the controller 32. The magnetic field measuring device 31 is fixed to a position corresponding to the viewpoint position of the observer M, for example, glasses when the observer M views the viewpoint image.

コントローラ32は、磁場発生器30および磁場測定器31を制御するものである。ここでは、コントローラ32は、磁場発生器30に対して磁場の発生を指示するとともに、磁場測定器31で測定された磁場の方向および強度から、センサ空間座標系Fにおける位置を求める。このコントローラ32は、求めたセンサ空間座標系Fにおける磁場測定器31の位置(三次元位置)を自由視点画像生成装置1に出力する。 The controller 32 controls the magnetic field generator 30 and the magnetic field measuring device 31. Here, the controller 32 instructs the magnetic field generator 30 to generate a magnetic field, and obtains a position in the sensor space coordinate system F S from the direction and intensity of the magnetic field measured by the magnetic field measuring device 31. The controller 32 outputs the position of the magnetic field measuring device 31 in the sensor space coordinate system F S that was determined (three-dimensional position) at the free viewpoint image generation apparatus 1.

また、ここでは、センサ空間座標系Fと物理空間座標系Fとは、各軸(xyz)の方向が一致しているものとする。例えば、磁場発生器30が立方体形状であれば、その各辺が表示装置2の各辺と平行になるように磁場発生器30を配置する。これは、例えば、xyz軸の回転角を測定可能な水準器等を用いて、センサ空間座標系Fの基準となる磁場発生器30の回転角を、物理空間座標系Fの基準となる表示装置2と合わせることで容易に実現することができる。
このように、自由視点画像表示システムSを構成することで、自由視点画像表示システムSは、観察者Mの視点位置に応じた視点画像を表示装置2に表示することができる。
以下、自由視点画像生成装置1の構成および動作について、詳細に説明する。
Further, here, the sensor spatial coordinate system F S and the physical space coordinate system F R, it is assumed that the direction of each axis (xyz) match. For example, if the magnetic field generator 30 has a cubic shape, the magnetic field generator 30 is arranged so that each side thereof is parallel to each side of the display device 2. This is, for example, the rotation angle of the xyz axes with measurable levels, etc., the rotation angle of the magnetic field generator 30 as a reference of the sensor space coordinate system F S, is a reference of the physical space coordinate system F R This can be easily realized by combining with the display device 2.
In this way, by configuring the free viewpoint image display system S, the free viewpoint image display system S can display a viewpoint image corresponding to the viewpoint position of the observer M on the display device 2.
Hereinafter, the configuration and operation of the free viewpoint image generation device 1 will be described in detail.

〔自由視点画像生成装置の構成〕
まず、図2を参照(適宜図1参照)して、自由視点画像生成装置1の構成について説明する。図2に示すように、自由視点画像生成装置1は、三次元位置校正手段10と、校正データ記憶手段11と、視点画像生成手段12と、CG情報記憶手段13と、を備える。
なお、三次元位置校正手段10と視点画像生成手段12とは、図示を省略した切り替え手段によって、いずれか一方が動作するものとする。
[Configuration of Free Viewpoint Image Generation Device]
First, the configuration of the free viewpoint image generation apparatus 1 will be described with reference to FIG. 2 (refer to FIG. 1 as appropriate). As shown in FIG. 2, the free viewpoint image generation device 1 includes a three-dimensional position calibration unit 10, a calibration data storage unit 11, a viewpoint image generation unit 12, and a CG information storage unit 13.
Note that one of the three-dimensional position calibration unit 10 and the viewpoint image generation unit 12 is operated by a switching unit (not shown).

三次元位置校正手段(三次元位置校正装置)10は、物理空間座標系Fと、センサ空間座標系Fとの位置合わせ(校正)を行うものである。
ここでは、三次元位置校正手段10は、マーカ表示手段100と、位置収集手段101と、校正データ算出手段102と、を備える。
Three-dimensional position adjustment means (the three-dimensional position adjustment device) 10 performs a physical space coordinate system F R, alignment of the sensor space coordinate system F S a (calibrated).
Here, the three-dimensional position calibration unit 10 includes a marker display unit 100, a position collection unit 101, and a calibration data calculation unit 102.

マーカ表示手段100は、表示装置2に、マーカを表示するものである。このマーカ表示手段100は、図3に示すように、表示装置2の画面上の予め定めた位置、例えば、画面中央にマーカMKを表示する。このマーカMK(より具体的には、マーカMKの中央)の表示位置は、三次元位置校正手段10にとっては、物理空間座標系Fにおいて既知の座標である。
なお、図3に示したマーカMKの形状は十字形状としているが、観察者Mが表示装置2の画面上の位置を視認可能な形状であれば、×印、矢印等、どのような形状であっても構わない。
The marker display unit 100 displays a marker on the display device 2. As shown in FIG. 3, the marker display unit 100 displays a marker MK at a predetermined position on the screen of the display device 2, for example, at the center of the screen. (More specifically, the center of the marker MK) The marker MK display position of, for the three-dimensional position adjustment means 10 is a known coordinates in physical space coordinate system F R.
The shape of the marker MK shown in FIG. 3 is a cross shape, but any shape such as an X mark or an arrow may be used as long as the observer M can visually recognize the position on the screen of the display device 2. It does not matter.

位置収集手段101は、物理空間座標系Fの予め定めた位置(マーカ位置)を基準として、三次元位置センサ3で検出されるセンサ空間座標系Fにおける三次元位置を複数収集するものである。
この位置収集手段101は、マーカMK(図3)の位置から等距離となる位置で磁場測定器31を移動させたときの複数(3点以上)の三次元位置を収集する。
Position acquisition unit 101, the physical predetermined positions of the spatial coordinate system F R a (marker position) as a reference, in which a plurality collect three-dimensional position in the sensor space coordinate system F S detected by the three-dimensional position sensor 3 is there.
The position collecting unit 101 collects a plurality (three or more points) of three-dimensional positions when the magnetic field measuring device 31 is moved at a position equidistant from the position of the marker MK (FIG. 3).

例えば、図4に示すように、予め定めた長さの紐(測定用紐st;固定長部材 )の一端に吸盤SU、他端に磁場測定器31を取り付けた状態で、吸盤SUをマーカMKの位置に吸着させ、測定用紐stを張り詰めて、観察者が複数の位置に磁場測定器31を移動させる。
このとき、位置収集手段101は、マーカ表示手段100でマーカMKを表示した後、一定時間内に、予め定めたサンプリング間隔で磁場測定器31の位置を収集する。これによって、観察者は、一定時間内に磁場測定器31の複数の位置を容易に設定することができる。
For example, as shown in FIG. 4, with a suction cup SU attached to one end of a string of a predetermined length (measurement string st; fixed length member) and a magnetic field measuring device 31 attached to the other end, the suction cup SU is set to a marker MK. At this position, the measurement string st is stretched and the observer moves the magnetic field measuring device 31 to a plurality of positions.
At this time, the position collecting unit 101 collects the position of the magnetic field measuring device 31 at a predetermined sampling interval within a predetermined time after displaying the marker MK on the marker display unit 100. Thus, the observer can easily set a plurality of positions of the magnetic field measuring device 31 within a certain time.

なお、位置収集手段101は、マーカ表示手段100によるマーカMKの表示後、磁場測定器31の位置の収集を開始する旨、収集中の旨、収集を終了した旨等を、表示装置2に表示することが好ましい。
また、収集する磁場測定器31の位置は、測定ノイズが含まれることもあるため、数十、数百等のできるだけ多くの位置を収集することが好ましい。
この位置収集手段101は、収集した磁場測定器31の複数の位置(三次元位置)を校正データ算出手段102に出力する。
The position collection unit 101 displays on the display device 2 that the collection of the position of the magnetic field measuring device 31 is started, the collection is in progress, and the collection is completed after the marker MK is displayed by the marker display unit 100. It is preferable to do.
Moreover, since the position of the magnetic field measuring device 31 to collect may include measurement noise, it is preferable to collect as many positions as possible such as tens or hundreds.
The position collection unit 101 outputs a plurality of collected positions (three-dimensional positions) of the magnetic field measuring device 31 to the calibration data calculation unit 102.

校正データ算出手段102は、位置収集手段101で、物理空間座標系Fのマーカ位置を基準に収集したセンサ空間座標系Fにおける磁場測定器31の複数の位置から、センサ空間座標系Fの原点座標の物理空間座標系Fにおける位置(位置ベクトル)を校正データとして算出するものである。 Calibration data calculating means 102, at a position acquisition means 101, from a plurality of positions of the magnetic field measuring device 31 in a physical space coordinate system F sensor spatial coordinate system and collected on the basis of the marker position of the R F S, the sensor space coordinate system F S position (position vector) in a physical space coordinate system F R of the origin coordinates and calculates as the calibration data.

ここで、図5を参照(適宜図2参照)して、校正データ算出手段102における校正データの算出手法について説明する。
図5に示すように、予め定めた物理空間座標系FにおけるマーカMKの位置(物理空間位置ベクトル)をr、センサ空間座標系Fにおける磁場測定器31の複数の位置(センサ空間位置ベクトル)をp(1≦i≦N;Nは収集位置の数)とする。
また、校正データ算出手段102が算出するセンサ空間座標系Fの原点座標の物理空間座標系Fにおける位置(校正位置ベクトル)をsとする。
Here, referring to FIG. 5 (refer to FIG. 2 as appropriate), a calibration data calculation method in the calibration data calculation means 102 will be described.
As shown in FIG. 5, a plurality of positions (sensors spatial position vector of the magnetic field measuring instrument 31 the position of the marker MK (physical spatial position vector) r, in the sensor space coordinate system F S in the physical space coordinate system F R a predetermined ) As p i (1 ≦ i ≦ N; N is the number of collection positions).
The position in the physical space coordinate system F R of the origin coordinates of the sensor space coordinate system F S calibration data calculating means 102 calculates the (calibration position vector) and s.

ここで、複数のpは、マーカMKの位置を中心とする球面上に存在すると考えられる。そのため、任意の2点p,p(i≠j)が与えられたとすると、マーカMKは、2点p,p間を結ぶベクトルを法線に持ち、2点p,pの中点を通る平面上に存在する。
すなわち、その平面上の点の位置ベクトルをvとすると、以下の式(1)の関係が成り立つ。なお、tは転置を示す。
Here, the plurality of p i, is believed to be present on a sphere centered at the position of the marker MK. Therefore, any two points p i, When p j (i ≠ j) is given, the marker MK is two points p i, has a vector connecting the p j to normal, two points p i, p j It exists on a plane that passes through the midpoint.
That is, if the position vector of a point on the plane is v, the following equation (1) is satisfied. In addition, t shows transposition.

Figure 2017125739
Figure 2017125739

また、この平面上には、表示装置2の表示画面上のマーカMKが存在するため、v=rとした、以下の式(2)も成り立つ。   Further, since there is a marker MK on the display screen of the display device 2 on this plane, the following equation (2) where v = r is also established.

Figure 2017125739
Figure 2017125739

したがって、校正位置ベクトルsは、任意のi,jの各点について、この式(2)を満たせばよいことになる。
なお、原理的には、3点の独立なpでsを決定することができる。しかし、pには、測定ノイズが含まれることがあり、校正の精度を高めるため、ここでは、位置収集手段101において、pを3点よりも多く収集している。
ここで、尤もらしい校正位置ベクトルsを決定するため、以下の式(3)の誤差関数Lを定義する。
Therefore, the calibration position vector s only needs to satisfy this equation (2) for each arbitrary point i and j.
In principle, it is possible to determine the s at three points independent p i. However, in some cases, p i includes measurement noise, and in order to improve the accuracy of calibration, the position collection unit 101 collects more than 3 p i .
Here, in order to determine a likely calibration position vector s, an error function L of the following equation (3) is defined.

Figure 2017125739
Figure 2017125739

校正データ算出手段102は、この誤差関数Lを最小とするsを求める。なお、このsは、以下の式(4)に示すように、誤差関数Lをsで偏微分した結果を“0”として求めることができる。   The calibration data calculation means 102 obtains s that minimizes this error function L. This s can be obtained as “0” as a result of partial differentiation of the error function L by s, as shown in the following equation (4).

Figure 2017125739
Figure 2017125739

この式(4)を変形すると、以下の式(5)となる。   When this equation (4) is modified, the following equation (5) is obtained.

Figure 2017125739
Figure 2017125739

ここで、行列A、ベクトルbを以下の式(6)、式(7)と定義する。   Here, the matrix A and the vector b are defined as the following expressions (6) and (7).

Figure 2017125739
Figure 2017125739

この行列A、ベクトルbを用いると、式(5)は、以下の式(8)となる。   Using this matrix A and vector b, equation (5) becomes the following equation (8).

Figure 2017125739
Figure 2017125739

この式(8)の解法は種々存在するが、例えば、行列Aの逆行列を求め、以下の式(9)によりsを求めることができる。   There are various methods for solving the equation (8). For example, an inverse matrix of the matrix A is obtained, and s can be obtained by the following equation (9).

Figure 2017125739
Figure 2017125739

これによって、校正データ算出手段102は、センサ空間座標系Fの原点座標の物理空間座標系Fにおける位置(校正位置ベクトルs)を校正データとして算出することができる。
図2に戻って、自由視点画像生成装置1の構成について説明を続ける。
Thus, calibration data calculating means 102 can calculate the position (calibration position vector s) as calibration data in the physical space coordinate system F R of the origin coordinates of the sensor space coordinate system F S.
Returning to FIG. 2, the description of the configuration of the free viewpoint image generation device 1 will be continued.

校正データ算出手段102は、算出した校正データ(校正位置ベクトルs)を校正データ記憶手段11に書き込む。
このように三次元位置校正手段10を構成することで、三次元位置校正手段10は、三次元位置センサ3を表示装置2から離した状態でも、センサ空間と物理空間とを対応付けることができる。
また、三次元位置校正手段10は、測定用紐で接続された磁場測定器31を移動させる動作で、三次元位置センサ3の位置を収集することができ、簡単に校正を行うことができる。
The calibration data calculation unit 102 writes the calculated calibration data (calibration position vector s) in the calibration data storage unit 11.
By configuring the three-dimensional position calibration unit 10 in this way, the three-dimensional position calibration unit 10 can associate the sensor space with the physical space even when the three-dimensional position sensor 3 is separated from the display device 2.
Further, the three-dimensional position calibration means 10 can collect the position of the three-dimensional position sensor 3 by the operation of moving the magnetic field measuring device 31 connected by the measurement string, and can easily perform calibration.

校正データ記憶手段11は、三次元位置校正手段10で校正された校正データを記憶するもので、ハードディスク、半導体メモリ等の一般的な記憶媒体である。
なお、三次元位置校正手段10で校正された校正データ(校正位置ベクトルs)は、三次元位置センサ3(より詳細には、磁場発生器30)の位置を変えない限り有効である。
The calibration data storage unit 11 stores calibration data calibrated by the three-dimensional position calibration unit 10 and is a general storage medium such as a hard disk or a semiconductor memory.
The calibration data (calibration position vector s) calibrated by the three-dimensional position calibration means 10 is valid as long as the position of the three-dimensional position sensor 3 (more specifically, the magnetic field generator 30) is not changed.

視点画像生成手段(視点画像生成装置)12は、センサ空間における観察者Mの視点位置から、物理空間における位置を算出し、その視点位置に対応する表示装置2に表示する画像(視点画像)を生成するものである。なお、視点画像生成手段12が動作する前には、校正データ記憶手段11に校正データが記憶されていることする。また、視点画像生成手段12が動作する際には、三次元位置センサ3の磁場測定器31を取り付けた測定用紐st(図4)は不用である。
ここでは、視点画像生成手段12は、位置取得手段120と、視点位置算出手段121と、投影変換手段122と、を備える。
The viewpoint image generation means (viewpoint image generation apparatus) 12 calculates a position in the physical space from the viewpoint position of the observer M in the sensor space, and displays an image (viewpoint image) displayed on the display device 2 corresponding to the viewpoint position. Is to be generated. Note that the calibration data is stored in the calibration data storage unit 11 before the viewpoint image generation unit 12 operates. Moreover, when the viewpoint image generation means 12 operates, the measurement string st (FIG. 4) to which the magnetic field measuring device 31 of the three-dimensional position sensor 3 is attached is unnecessary.
Here, the viewpoint image generation unit 12 includes a position acquisition unit 120, a viewpoint position calculation unit 121, and a projection conversion unit 122.

位置取得手段120は、三次元位置センサ3で検出されるセンサ空間座標系Fにおける磁場測定器31の三次元位置を取得するものである。なお、ここでは、三次元位置センサ3の磁場測定器31が、観察者Mの視点位置(ここでは、メガネ)に固定されているものとする。
この位置取得手段120は、予め定めたサンプリング間隔で磁場測定器31の位置を取得する。これによって、位置取得手段120は、観察者Mの視点位置の変化を、逐次、センサ空間座標系Fにおける三次元位置として取得する。
この位置取得手段120は、取得したセンサ空間座標系Fにおける視点位置を、視点位置算出手段121に出力する。
Position obtaining unit 120 is for acquiring the three-dimensional position of the magnetic field measuring device 31 in the sensor space coordinate system F S detected by the three-dimensional position sensor 3. Here, it is assumed that the magnetic field measuring device 31 of the three-dimensional position sensor 3 is fixed to the viewpoint position of the observer M (here, glasses).
The position acquisition unit 120 acquires the position of the magnetic field measuring device 31 at a predetermined sampling interval. Accordingly, the position acquisition unit 120 sequentially acquires the change in the viewpoint position of the observer M as a three-dimensional position in the sensor space coordinate system F S.
The position acquisition unit 120 outputs the acquired viewpoint position in the sensor space coordinate system F S to the viewpoint position calculation unit 121.

視点位置算出手段121は、三次元位置校正手段10で求められた校正データに基づいて、位置取得手段120で取得したセンサ空間座標系Fにおける視点位置から、物理空間座標系Fにおける位置を算出するものである。
この視点位置算出手段121は、位置取得手段120で取得したセンサ空間座標系Fにおける視点位置(位置ベクトル)をp、校正データ記憶手段11に記憶されている校正データ(校正位置ベクトル)をsとしたとき、以下の式(10)によって、物理空間座標系Fにおける視点位置(位置ベクトルq)を算出する。
Viewpoint position calculation means 121 based on the calibration data obtained in the three-dimensional position adjustment means 10, from the viewpoint position in the sensor space coordinate system F S acquired by the position acquiring unit 120, a position in physical space coordinate system F R Is to be calculated.
This viewpoint position calculation means 121 uses p as the viewpoint position (position vector) in the sensor space coordinate system F S acquired by the position acquisition means 120 and s as the calibration data (calibration position vector) stored in the calibration data storage means 11. when a, by the following equation (10) calculates view point position in the physical space coordinate system F R (position vector q).

Figure 2017125739
Figure 2017125739

この視点位置算出手段121は、算出した物理空間座標系Fにおける視点位置を投影変換手段122に出力する。 The viewpoint position calculation means 121 outputs the viewpoint position in the calculated physical space coordinate system F R to the projection conversion means 122.

投影変換手段122は、視点位置算出手段121で算出された視点位置を仮想空間上の仮想カメラの位置として、仮想空間上のオブジェクト(CG)を表示装置2の画面上に投影変換した、二次元画像(視点画像)を生成するものである。なお、仮想空間上のオブジェクトは、CGデータとして、予めCG情報記憶手段13に記憶されていることとする。   The projection conversion unit 122 uses the viewpoint position calculated by the viewpoint position calculation unit 121 as the position of the virtual camera in the virtual space, and projects and converts the object (CG) in the virtual space onto the screen of the display device 2. An image (viewpoint image) is generated. Note that an object in the virtual space is stored in the CG information storage unit 13 in advance as CG data.

この二次元画像は、図6(a)に示すような仮想空間座標系Fにおいて、仮想カメラVcの視点となる位置を頂点とする視錐台VFにおいて、視錐台VF内のオブジェクトを、ニアプレーン(仮想カメラVcからnear離れた視錐台VFの断面)に投影することで生成することができる。この二次元画像の生成は、OpenGLライブラリ等の既存の手法によって生成することができる。 In the virtual space coordinate system F V as shown in FIG. 6A, this two-dimensional image is obtained by representing objects in the visual frustum VF in the visual frustum VF having the vertex as the viewpoint of the virtual camera Vc. It can be generated by projecting onto a near plane (a section of the view frustum VF that is near from the virtual camera Vc). The two-dimensional image can be generated by an existing method such as an OpenGL library.

なお、仮想空間座標系Fと物理空間座標系Fとの対応付けは、視錐台VF内のオブジェクトをニアプレーン(near面)に投影する投影行列のパラメータの値を、ニアプレーンと図6(b)に示す物理空間座標系Fに配置した表示装置2の表示画面とが対応する値に設定すればよい。すなわち、ニアプレーンの四角形の各頂点tl,tr,bl,brが、それぞれ、表示装置2の表示画面の各頂点TL,TR,BL,BRが対応するようにすればよい。 Incidentally, correspondence between the virtual space coordinate system F V and the physical space coordinate system F R is the value of the parameters of the projection matrix for projecting the objects in the view frustum VF to near plane (near surface), and the near plane Figure What is necessary is just to set to the value corresponding to the display screen of the display apparatus 2 arrange | positioned to the physical space coordinate system FR shown to 6 (b). That is, each vertex tl, tr, bl, br of the quadrangle of the near plane may correspond to each vertex TL, TR, BL, BR of the display screen of the display device 2.

以下、具体的に、投影行列のパラメータの設定方法について説明する。
図6(a)に示すように、仮想空間上の投影対象の範囲をz軸方向の−near面から−far面とし、−near面の投影範囲におけるx座標の最大値をright、最小値をleft、y座標の最大値をtop、最小値をbottomとする。なお、通常、near,farは、0<near<farを満たす任意の値である。
この場合、投影行列は、以下の式(11)となる。
Hereinafter, a method for setting parameters of the projection matrix will be specifically described.
As shown in FIG. 6A, the range of the projection target in the virtual space is set from the −near plane to the −far plane in the z-axis direction, the maximum value of the x coordinate in the projection range of the −near plane is right, and the minimum value is Let the maximum value of the left and y coordinates be top, and the minimum value be bottom. Normally, near and far are arbitrary values that satisfy 0 <near <far.
In this case, the projection matrix is expressed by the following equation (11).

Figure 2017125739
Figure 2017125739

ここで、仮想空間座標系Fにおいて、表示装置2の表示画面の左下角BLの位置ベクトルをvbl、右下角BRの位置ベクトルをvbr、左上角TLの位置ベクトルをvtlとする。また、仮想空間座標系Fにおいて、仮想カメラVcの位置ベクトルをvとする。
このとき、表示装置2の表示画面の横軸(右方向を正)を表す単位ベクトルvは、以下の式(12)で表される。
Here, in the virtual space coordinate system F V, the position vector of the lower left corner BL of the display screen of the display device 2 v bl, the position vector of the lower right corner BR v br, the position vector of the upper left corner TL and v tl. Further, in the virtual space coordinate system F V, the position vector of the virtual camera Vc and v c.
In this case, the unit vector v r indicating the horizontal axis of the display screen of the display device 2 (the right direction is positive) is expressed by the following equation (12).

Figure 2017125739
Figure 2017125739

なお、式(12)中、||x||はベクトルxのノルムを取ることを意味する。
同様に、表示装置2の表示画面の縦軸(上方向を正)を表す単位ベクトルvは、以下の式(13)で表される。
In Expression (12), || x || means that the norm of the vector x is taken.
Similarly, a unit vector v u representing the vertical axis (the upper direction is positive) of the display screen of the display device 2 is expressed by the following equation (13).

Figure 2017125739
Figure 2017125739

このとき、表示装置2の表示画面の法線ベクトルvは、以下の式(14)で表される。 In this case, the normal vector v n of the display screen of the display device 2 is expressed by the following equation (14).

Figure 2017125739
Figure 2017125739

なお、式(14)中、×はベクトルの外積を表す。
また、仮想カメラVcから、表示装置2の表示画面への鉛直距離dは、以下の式(15)で表される。
In Expression (14), x represents an outer product of vectors.
Further, the vertical distance d from the virtual camera Vc to the display screen of the display device 2 is expressed by the following equation (15).

Figure 2017125739
Figure 2017125739

なお、式(15)中、・はベクトルの内積を表す。
そして、視錐台VFのパラメータ値right,left,top,bottomは、以下の式(16)により計算することができる。
In Equation (15), • represents an inner product of vectors.
The parameter values right, left, top, and bottom of the view frustum VF can be calculated by the following equation (16).

Figure 2017125739
Figure 2017125739

なお、式(16)中、・はベクトルの内積、×はベクトルの外積を表す。
この視錐台VFのパラメータ値を用いることで、仮想空間座標系Fと物理空間座標系Fとを対応付けることができる。
図2に戻って、自由視点画像生成装置1の構成について説明を続ける。
In Equation (16),... Represents a vector inner product, and X represents a vector outer product.
By using a parameter value of the frustum VF, it can be associated with the virtual space coordinate system F V and the physical space coordinate system F R.
Returning to FIG. 2, the description of the configuration of the free viewpoint image generation device 1 will be continued.

視点画像生成手段12は、生成した視点画像を表示装置2に出力する。
このように視点画像生成手段12を構成することで、視点画像生成手段12は、センサ空間と物理空間とを対応付ける校正データに基づいて、観察者Mの視点位置をセンサ空間上の位置から物理空間上の位置に変換し、仮想空間と対応付けることで、視点位置に応じた視点画像を生成することができる。
The viewpoint image generation unit 12 outputs the generated viewpoint image to the display device 2.
By configuring the viewpoint image generation unit 12 in this way, the viewpoint image generation unit 12 changes the viewpoint position of the observer M from the position on the sensor space to the physical space based on the calibration data that associates the sensor space with the physical space. By converting to the upper position and associating with the virtual space, a viewpoint image corresponding to the viewpoint position can be generated.

CG情報記憶手段13は、CGデータを記憶するもので、ハードディスク、半導体メモリ等の一般的な記憶媒体である。
以上説明したように自由視点画像生成装置1を構成することで、自由視点画像生成装置1は、三次元位置センサ3を表示装置2から離した状態でも、センサ空間と物理空間とを簡易な手法で対応付けることができ、観察者の正確な視点位置に応じた視点画像を表示装置2に表示することができる。
The CG information storage unit 13 stores CG data and is a general storage medium such as a hard disk or a semiconductor memory.
As described above, by configuring the free viewpoint image generation device 1, the free viewpoint image generation device 1 can easily combine the sensor space and the physical space even when the three-dimensional position sensor 3 is separated from the display device 2. And the viewpoint image corresponding to the exact viewpoint position of the observer can be displayed on the display device 2.

〔自由視点画像生成装置の動作〕
次に、自由視点画像生成装置1の動作について説明する。
(校正動作)
最初に、図7を参照(適宜図1,図2参照)して、自由視点画像生成装置1の三次元位置校正手段10による物理空間とセンサ空間の位置合わせ動作(校正動作)について説明する。
[Operation of the free viewpoint image generator]
Next, the operation of the free viewpoint image generation device 1 will be described.
(Calibration operation)
First, referring to FIG. 7 (refer to FIG. 1 and FIG. 2 as appropriate), the alignment operation (calibration operation) between the physical space and the sensor space by the three-dimensional position calibration means 10 of the free viewpoint image generation device 1 will be described.

まず、三次元位置校正手段10は、マーカ表示手段100によって、表示装置2の画面上の予め定めた位置、例えば、画面中央にマーカMKを表示する(ステップS1)。
ここで、観察者Mは、一端に吸盤、他端に三次元位置センサ3の磁場測定器31を取り付けた測定用紐の吸盤を、ステップS1で表示された表示装置2のマーカ位置に吸着させる(ステップS2)。
そして、三次元位置校正手段10は、位置収集手段101によって、観察者Mが測定用紐を張り詰めてマーカ位置から等間隔の状態で移動させた磁場測定器31の位置(三次元座標位置)を収集する(ステップS3)。
これによって、物理空間座標系Fのマーカ位置を基準として、センサ空間座標系Fにおける磁場測定器31の位置が収集されることになる。
First, the three-dimensional position calibration unit 10 displays the marker MK at a predetermined position on the screen of the display device 2, for example, the center of the screen, by the marker display unit 100 (step S1).
Here, the observer M adsorbs the sucker of the measurement string having the suction cup at one end and the magnetic field measuring device 31 of the three-dimensional position sensor 3 at the other end to the marker position of the display device 2 displayed in step S1. (Step S2).
Then, the three-dimensional position calibration means 10 uses the position collection means 101 to position the magnetic field measuring device 31 (three-dimensional coordinate position) moved by the observer M from the marker position at equal intervals by tightening the measurement string. Are collected (step S3).
Thus, based on the marker position of the physical space coordinate system F R, so that the position of the magnetic field measuring instrument 31 in the sensor space coordinate system F S is collected.

そして、位置収集手段101は、収集した磁場測定器31の位置のデータ数が、予め定めた数(N)以上収集されたか否かを判定する(ステップS4)。
ここで、データ数が予め定めた数(N)未満の場合(ステップS4でNo)、位置収集手段101は、ステップS3に戻って、磁場測定器31の位置の収集を継続する。
Then, the position collection unit 101 determines whether or not the collected number of data of the position of the magnetic field measuring device 31 has been collected more than a predetermined number (N) (step S4).
Here, when the number of data is less than the predetermined number (N) (No in step S4), the position collection unit 101 returns to step S3 and continues collecting the position of the magnetic field measuring device 31.

一方、データ数が予め定めた数(N)以上になった場合(ステップS4でYes)、三次元位置校正手段10は、校正データ算出手段102によって、センサ空間座標系Fの原点座標の物理空間座標系Fにおける位置(校正位置ベクトル)を校正データとして算出する(ステップS5)。具体的には、校正データ算出手段102は、前記式(3)に示した誤差関数Lを最小とする校正位置ベクトルsを校正データとして算出する。
そして、三次元位置校正手段10は、ステップS5で算出された校正データを校正データ記憶手段11に書き込み記憶する(ステップS6)。
On the other hand, when the number of data becomes equal to or greater than the predetermined number (N) (Yes in step S4), the three-dimensional position calibration unit 10 uses the calibration data calculation unit 102 to determine the physical coordinates of the origin coordinates of the sensor space coordinate system F S. calculating the position in the spatial coordinate system F R a (calibrated position vector) as calibration data (step S5). Specifically, the calibration data calculation means 102 calculates, as calibration data, a calibration position vector s that minimizes the error function L shown in the equation (3).
Then, the three-dimensional position calibration unit 10 writes and stores the calibration data calculated in step S5 in the calibration data storage unit 11 (step S6).

以上の動作によって、自由視点画像生成装置1は、三次元位置校正手段10によって、三次元位置センサ3を表示装置2から離した状態でも、センサ空間と物理空間とを簡易な手法で対応付けることができる。   With the above operation, the free viewpoint image generation device 1 can associate the sensor space and the physical space by a simple method even when the three-dimensional position sensor 3 is separated from the display device 2 by the three-dimensional position calibration unit 10. it can.

(視点画像生成動作)
次に、図8を参照(適宜図1,図2参照)して、自由視点画像生成装置1の視点画像生成手段12による視点画像の生成動作について説明する。
(Viewpoint image generation operation)
Next, the viewpoint image generation operation by the viewpoint image generation means 12 of the free viewpoint image generation device 1 will be described with reference to FIG.

まず、視点画像生成手段12は、位置取得手段120によって、三次元位置センサ3で検出されるセンサ空間座標系Fにおける観察者Mの視点位置(磁場測定器31の三次元位置)を取得する(ステップS10)。 First, the viewpoint image generating unit 12, the position obtaining unit 120 obtains the viewpoint position of the observer M in the sensor space coordinate system F S detected by the three-dimensional position sensor 3 (three-dimensional position of the magnetic field measuring instrument 31) (Step S10).

そして、視点画像生成手段12は、視点位置算出手段121によって、校正データ記憶手段11に記憶されている校正データにより、ステップS10で取得したセンサ空間座標系F上の視点位置から、物理空間座標系Fにおける視点位置を算出する(ステップS11)。
すなわち、視点画像生成手段12は、ステップS10で取得したセンサ空間座標系Fにおける視点位置(位置ベクトル)をp、校正データ記憶手段11に記憶されている校正データ(校正位置ベクトル)をsとしたとき、前記式(10)により、物理空間座標系Fにおける視点位置(位置ベクトルq)を算出する。
The viewpoint image generation unit 12, the viewpoint position calculation means 121, the calibration data stored in the calibration data storage means 11, from the viewpoint position of the sensor spatial coordinate system F S obtained at step S10, the physical spatial coordinates and it calculates the viewpoint position in the system F R (step S11).
That is, the viewpoint image generation unit 12 sets the viewpoint position (position vector) in the sensor space coordinate system F S acquired in step S10 to p, and the calibration data (calibration position vector) stored in the calibration data storage unit 11 to s. when, according to the equation (10) calculates view point position in the physical space coordinate system F R (position vector q).

そして、視点画像生成手段12は、投影変換手段122によって、ステップS11で算出された物理空間上における視点位置を、仮想空間上の仮想カメラの位置として、CG情報記憶手段13に記憶されている仮想空間上のオブジェクト(CG)を表示装置2の画面上に投影変換して、二次元画像(視点画像)を生成する(ステップS12)。
このとき、投影変換手段122は、仮想カメラの視点となる位置を頂点とする視錐台内のオブジェクトを、表示装置2の表示画面の各頂点が対応するように視錐台のニアプレーンに投影することで、物理空間と仮想区間とを対応付ける。
以上の動作によって、自由視点画像生成装置1は、視点画像生成手段12によって、観察者の正確な視点位置に応じた視点画像を表示装置2に表示することができる。
Then, the viewpoint image generation unit 12 stores the viewpoint position in the physical space calculated in step S11 by the projection conversion unit 122 as the virtual camera position in the virtual space and is stored in the CG information storage unit 13. An object (CG) in space is projected and converted on the screen of the display device 2 to generate a two-dimensional image (viewpoint image) (step S12).
At this time, the projection conversion means 122 projects the object in the viewing frustum having the vertex as the viewpoint of the virtual camera onto the near plane of the viewing frustum so that each vertex of the display screen of the display device 2 corresponds. By doing so, the physical space and the virtual section are associated with each other.
With the above operation, the free viewpoint image generation device 1 can display the viewpoint image corresponding to the exact viewpoint position of the observer on the display device 2 by the viewpoint image generation means 12.

以上、本発明の実施形態に係る自由視点画像生成装置の構成について説明したが、本発明は、この実施形態に限定されるものではない。
ここでは、自由視点画像生成装置1が、三次元位置校正手段10と、校正データ記憶手段11と、視点画像生成手段12と、CG情報記憶手段13と、を備える構成とした。これらは、それぞれ別途独立した装置として構成してもよい。
例えば、三次元位置校正手段10を、三次元位置校正装置10として構成してもよい。このとき、三次元位置校正装置10は、コンピュータを、マーカ表示手段100、位置収集手段101、校正データ算出手段102として機能させるプログラム(三次元位置校正プログラム)で動作させることができる。
The configuration of the free viewpoint image generation device according to the embodiment of the present invention has been described above, but the present invention is not limited to this embodiment.
Here, the free viewpoint image generation device 1 is configured to include a three-dimensional position calibration unit 10, a calibration data storage unit 11, a viewpoint image generation unit 12, and a CG information storage unit 13. These may be configured as separate devices.
For example, the three-dimensional position calibration unit 10 may be configured as the three-dimensional position calibration device 10. At this time, the three-dimensional position calibration apparatus 10 can be operated by a program (three-dimensional position calibration program) that causes the computer to function as the marker display unit 100, the position collection unit 101, and the calibration data calculation unit 102.

また、ここでは、三次元位置校正装置(三次元位置校正手段)10に、マーカ表示手段100を備える構成としたが、物理空間座標系Fの既知の位置を観察者Mが予め知っている場合であれば、必ずしもこの構成を備える必要はない。例えば、表示装置2の表示画面の左上角を物理空間座標系Fの既知の位置とし、観察者Mが、表示画面の左上角に測定用紐の一端を固定すればよい。 Further, here, the three-dimensional position adjustment device (three-dimensional position adjustment means) 10, a configuration comprising a marker display means 100, the observer M know in advance the known location of the physical space coordinate system F R If necessary, this configuration is not necessarily provided. For example, the upper left corner of the display screen of the display device 2 and the known position of the physical space coordinate system F R, the observer M may be fixed to one end of the measuring cord in the upper left corner of the display screen.

また、ここでは、位置収集手段101が、三次元位置センサ3で検出されるセンサ空間座標系Fにおける三次元位置を収集するため、測定用紐st(図4参照)を用いた。しかし、これは必ずしも紐である必要はなく、等距離を確保可能なものであればよく、例えば、棒を用いてもよい。その場合、棒の両端部を紐等で吸盤SUおよび磁場測定器31に接続すればよい。 Further, here, the position acquisition unit 101, for collecting three-dimensional position in the sensor space coordinate system F S detected by the three-dimensional position sensor 3, with a measuring cord st (see Fig. 4). However, this does not necessarily need to be a string, as long as it can ensure equidistant distance, for example, a rod may be used. In that case, what is necessary is just to connect the both ends of a stick | rod with the suction cup SU and the magnetic field measuring device 31 with a string etc.

S 自由視点画像表示システム
1 自由視点画像生成装置
10 三次元位置校正手段(三次元位置校正装置)
100 マーカ表示手段
101 位置収集手段
102 校正データ算出手段
11 校正データ記憶手段
12 視点画像生成手段(視点画像生成装置)
120 位置取得手段
121 視点位置算出手段
122 投影変換手段
13 CG情報記憶手段
2 表示装置
3 三次元位置センサ
30 磁気発生器
31 磁気測定器(磁気センサ)
32 コントローラ
S Free viewpoint image display system 1 Free viewpoint image generation device 10 Three-dimensional position calibration means (three-dimensional position calibration device)
DESCRIPTION OF SYMBOLS 100 Marker display means 101 Position collection means 102 Calibration data calculation means 11 Calibration data storage means 12 Viewpoint image generation means (viewpoint image generation apparatus)
DESCRIPTION OF SYMBOLS 120 Position acquisition means 121 Viewpoint position calculation means 122 Projection conversion means 13 CG information storage means 2 Display apparatus 3 Three-dimensional position sensor 30 Magnetic generator 31 Magnetic measuring instrument (magnetic sensor)
32 controller

Claims (5)

観察者の視点位置を磁気センサの位置により検出する三次元位置センサのセンサ空間の座標系と、前記観察者が視認する表示装置が配置された物理空間の座標系とを対応付ける三次元位置校正装置であって、
一端を前記物理空間の予め定めた位置に固定し、他端を前記磁気センサに固定した固定長部材の前記他端の位置を前記観察者が複数箇所に移動させることで、前記三次元位置センサが検出した前記センサ空間における少なくとも3点以上の位置を収集する位置収集手段と、
この位置収集手段で収集された前記センサ空間における複数の位置と、前記物理空間における予め定めた位置とに基づいて、誤差の最も小さい前記物理空間における前記センサ空間の原点座標の位置を校正データとして算出する校正データ算出手段と、
を備えることを特徴とする三次元位置校正装置。
A three-dimensional position calibration apparatus that associates the coordinate system of the sensor space of the three-dimensional position sensor that detects the viewpoint position of the observer with the position of the magnetic sensor and the coordinate system of the physical space in which the display device that is viewed by the observer is arranged Because
The observer moves the position of the other end of a fixed-length member having one end fixed at a predetermined position in the physical space and the other end fixed to the magnetic sensor, to the three-dimensional position sensor. Position collecting means for collecting at least three positions in the sensor space detected by
Based on a plurality of positions in the sensor space collected by the position collecting means and a predetermined position in the physical space, the position of the origin coordinate of the sensor space in the physical space with the smallest error is used as calibration data. Calibration data calculation means for calculating,
A three-dimensional position calibration apparatus comprising:
前記物理空間における予め定めた位置として、前記表示装置の画面上にマーカを表示するマーカ表示手段を、さらに備えることを特徴とする請求項1に記載の三次元位置校正装置。   The three-dimensional position calibration apparatus according to claim 1, further comprising marker display means for displaying a marker on the screen of the display device as a predetermined position in the physical space. 前記物理空間における予め定めた位置である物理空間位置ベクトルをr、前記センサ空間における前記複数の位置であるセンサ空間位置ベクトルをp(1≦i≦N;Nは収集位置の数)、前記物理空間における前記センサ空間の原点座標の位置である校正位置ベクトルをsとしたとき、
前記校正データ算出手段は、
Figure 2017125739
となる誤差関数L(tは転置を示す)を最小にする校正位置ベクトルsを前記校正データとして算出することを特徴とする請求項1または請求項2に記載の三次元位置校正装置。
R is a physical space position vector which is a predetermined position in the physical space, p i is a sensor space position vector which is the plurality of positions in the sensor space (1 ≦ i ≦ N; N is the number of collection positions), When s is a calibration position vector that is the position of the origin coordinates of the sensor space in the physical space,
The calibration data calculation means includes
Figure 2017125739
The three-dimensional position calibration apparatus according to claim 1 or 2, wherein a calibration position vector s that minimizes an error function L (t indicates transposition) is calculated as the calibration data.
コンピュータを、請求項1から請求項3にいずれか一項に記載の三次元位置校正装置として機能させるための三次元位置校正プログラム。   A three-dimensional position calibration program for causing a computer to function as the three-dimensional position calibration apparatus according to any one of claims 1 to 3. 表示装置を視認する観察者の視点位置を磁気センサの位置により検出し、前記視点位置に対応した視点画像を生成する自由視点画像生成装置であって、
請求項1から請求項3のいずれか一項に記載の三次元位置校正装置と、
この三次元位置校正装置で校正された校正データに基づいて、三次元位置センサから取得したセンサ空間上の前記磁気センサの位置から物理空間上の視点位置を算出し、当該視点位置を仮想カメラの位置として、CGを前記表示装置の画面上に投影変換することで前記視点画像を生成する視点画像生成装置と、
を備える自由視点画像生成装置。
A free viewpoint image generation device that detects a viewpoint position of an observer who visually recognizes a display device based on a position of a magnetic sensor and generates a viewpoint image corresponding to the viewpoint position,
The three-dimensional position calibration apparatus according to any one of claims 1 to 3,
Based on the calibration data calibrated by the three-dimensional position calibration device, the viewpoint position in the physical space is calculated from the position of the magnetic sensor on the sensor space acquired from the three-dimensional position sensor, and the viewpoint position is calculated from the virtual camera. A viewpoint image generation device that generates the viewpoint image by projecting and converting CG onto the screen of the display device as a position;
A free viewpoint image generating device.
JP2016004429A 2016-01-13 2016-01-13 Three-dimensional position calibration apparatus and program thereof, and free viewpoint image generation apparatus Active JP6581514B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016004429A JP6581514B2 (en) 2016-01-13 2016-01-13 Three-dimensional position calibration apparatus and program thereof, and free viewpoint image generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016004429A JP6581514B2 (en) 2016-01-13 2016-01-13 Three-dimensional position calibration apparatus and program thereof, and free viewpoint image generation apparatus

Publications (2)

Publication Number Publication Date
JP2017125739A true JP2017125739A (en) 2017-07-20
JP6581514B2 JP6581514B2 (en) 2019-09-25

Family

ID=59365010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016004429A Active JP6581514B2 (en) 2016-01-13 2016-01-13 Three-dimensional position calibration apparatus and program thereof, and free viewpoint image generation apparatus

Country Status (1)

Country Link
JP (1) JP6581514B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11276438A (en) * 1998-03-30 1999-10-12 Isuzu Motors Ltd Visual line measuring device
JP2013250176A (en) * 2012-06-01 2013-12-12 Toyota Motor East Japan Inc Work position discrimination system and work position discrimination method
JP2014153247A (en) * 2013-02-12 2014-08-25 Toyota Motor East Japan Inc System and method for determining work position
WO2015183621A1 (en) * 2014-05-30 2015-12-03 Sony Computer Entertainment America Llc Head mounted display (hmd) system having interface with mobile computing device for rendering virtual reality content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11276438A (en) * 1998-03-30 1999-10-12 Isuzu Motors Ltd Visual line measuring device
JP2013250176A (en) * 2012-06-01 2013-12-12 Toyota Motor East Japan Inc Work position discrimination system and work position discrimination method
JP2014153247A (en) * 2013-02-12 2014-08-25 Toyota Motor East Japan Inc System and method for determining work position
WO2015183621A1 (en) * 2014-05-30 2015-12-03 Sony Computer Entertainment America Llc Head mounted display (hmd) system having interface with mobile computing device for rendering virtual reality content

Also Published As

Publication number Publication date
JP6581514B2 (en) 2019-09-25

Similar Documents

Publication Publication Date Title
US10416347B2 (en) Locating system having a hand-held locating unit
US10176625B2 (en) Augmented reality camera for use with 3D metrology equipment in forming 3D images from 2D camera images
JP5036260B2 (en) Position and orientation calculation method and apparatus
US8699005B2 (en) Indoor surveying apparatus
CN103983255B (en) Moving field controller for measurement and remotely control
CN105027562B (en) For digital information to be projected to the method and system on the real object in true environment
TWI496108B (en) AR image processing apparatus and method
CN104685541A (en) Method and an apparatus for determining a gaze point on a three-dimensional object
JP2004163292A (en) Survey system and electronic storage medium
JP2004233334A (en) Method for measuring position and orientation
CN107532885A (en) The depth for the object that Strength Changes in light pattern are used in volume is drawn
JP2017129567A (en) Information processing apparatus, information processing method, and program
EP3706076B1 (en) Method and device to determine the dimensions and distance of a number of objects in an environment
US20170026636A1 (en) Method for the positionally accurate projection of a mark onto an object, and projection apparatus
US20130135463A1 (en) Information processing apparatus, information processing method and computer-readable storage medium
CN111024127B (en) Method and system for detecting inter-satellite angular position error of high-resolution dynamic star simulator
JP2014211404A (en) Motion capture method
JPWO2019222255A5 (en)
JP2005091298A (en) Global coordinate acquisition device using image processing
KR20120058802A (en) Apparatus and method for calibrating 3D Position in 3D position/orientation tracking system
EP1840507B1 (en) Method and integrated system for the digital survey of three-dimensional environments.
JP2017122690A (en) Method for correcting coordinates of human being measuring system
JP5087571B2 (en) Coordinate calibration method for 3D image display device
JP6581514B2 (en) Three-dimensional position calibration apparatus and program thereof, and free viewpoint image generation apparatus
EP3392748B1 (en) System and method for position tracking in a virtual reality system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181203

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: 20190806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190830

R150 Certificate of patent or registration of utility model

Ref document number: 6581514

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250