JP2021096607A - Motion capture system, motion capturing method and program - Google Patents

Motion capture system, motion capturing method and program Download PDF

Info

Publication number
JP2021096607A
JP2021096607A JP2019226853A JP2019226853A JP2021096607A JP 2021096607 A JP2021096607 A JP 2021096607A JP 2019226853 A JP2019226853 A JP 2019226853A JP 2019226853 A JP2019226853 A JP 2019226853A JP 2021096607 A JP2021096607 A JP 2021096607A
Authority
JP
Japan
Prior art keywords
marker
image
reference coordinate
reference marker
coordinate value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019226853A
Other languages
Japanese (ja)
Inventor
共啓 斉藤
Tomohiro Saito
共啓 斉藤
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.)
Enplas Corp
Original Assignee
Enplas Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Enplas Corp filed Critical Enplas Corp
Priority to JP2019226853A priority Critical patent/JP2021096607A/en
Publication of JP2021096607A publication Critical patent/JP2021096607A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)

Abstract

To facilitate easy and precise measurement of a position of a measuring point of a subject person in a given space and of a history thereof.SOLUTION: A motion capture system 10 includes: a standard marker unit 12 that is placed in an imaging space SP; a reference marker 13 that is placed on a subject person 11; a camera 14 that obtains an image including the standard marker unit 12 and the reference marker 13; and an image processing device 15. The image processing device 15 obtains, on the basis of the picked-up image of the standard marker unit 12, standard coordinate values representing a position of the camera 14 in a standard coordinate that is set on the basis of the standard marker unit 12, obtains reference coordinate values representing a relative position of the reference marker 13 relative to imaging means on the basis of the picked-up image of the reference marker 13, and obtains a position of the reference marker 13 in the standard coordinate on the basis of the standard coordinate values and the reference coordinate values.SELECTED DRAWING: Figure 1

Description

本発明は、モーションキャプチャシステム、モーションキャプチャ方法、およびプログラムに関する。 The present invention relates to a motion capture system, a motion capture method, and a program.

モーションキャプチャ技術が広く活用されている。モーションキャプチャ技術は、人や物の3次元の動きをキャプチャし、その動きをデジタル化する技術である。 Motion capture technology is widely used. Motion capture technology is a technology that captures the three-dimensional movement of people and objects and digitizes the movement.

モーションキャプチャ技術は、当初は、例えば、人の動きをキャプチャして、デジタル化し、そのデータを基にCGキャラクタをリアルに動かすこと等に使用されていた。しかし、近時では、スポーツパフォーマンスの改善、関節等の手術後のリハビリの負担軽減、人の行動の分析等にも活用されている。 Initially, motion capture technology was used, for example, to capture the movement of a person, digitize it, and move the CG character realistically based on the data. However, these days, it is also used for improving sports performance, reducing the burden of rehabilitation after surgery on joints, and analyzing human behavior.

例えば、特許文献1には、ゴルファのパフォーマンスを改善するために、ゴルファの多数の観測点に、球体のマーカを取り付け、この状態でスイングして、これを複数のカメラで撮影して、動きを解析するシステムが開示されている。 For example, in Patent Document 1, in order to improve the performance of a golfer, spherical markers are attached to a large number of observation points of the golfer, the golfer swings in this state, and the movement is photographed by a plurality of cameras. The system to analyze is disclosed.

特開2019−097818号公報Japanese Unexamined Patent Publication No. 2019-07818 特開2015−194732号公報JP 2015-194732

特許文献1に開示されたシステムでは、被検者の測定点に大量の球体状のマーカを設置する必要があり、専用スタジオでの計測が必要であり、複数のカメラ間の位置合わせに時間がかかり、測定データの精度が低く、さらに高価である。 In the system disclosed in Patent Document 1, it is necessary to install a large number of spherical markers at the measurement points of the subject, measurement in a dedicated studio is required, and it takes time to align between a plurality of cameras. It is expensive, the accuracy of the measurement data is low, and it is expensive.

このような課題に鑑み、特許文献2に開示されているようなカード状の高精度位置マーカも開発されている。この高精度位置マーカは、そのパターンを画像解析することで、マーカの位置と姿勢を高精度に推定できる。これにより、画像処理の負荷は小さく、リアルタイムで処理できる。 In view of such a problem, a card-shaped high-precision position marker as disclosed in Patent Document 2 has also been developed. This high-precision position marker can estimate the position and orientation of the marker with high accuracy by performing image analysis of the pattern. As a result, the load of image processing is small and processing can be performed in real time.

高精度位置マーカを使用する場合、マーカの相互間の相対的な位置とその変化を特定することは比較的容易である。しかし、特定の空間内での、位置とその履歴、即ち、特定空間内での各測定点の動きを特定することは依然として困難である。特に、複数の撮像装置で撮像した複数の画像に基づいてモーションをキャプチャする作業は容易ではない。 When using precision position markers, it is relatively easy to identify the relative positions of the markers and their changes. However, it is still difficult to specify the position and its history in a specific space, that is, the movement of each measurement point in the specific space. In particular, it is not easy to capture motion based on a plurality of images captured by a plurality of imaging devices.

本発明は、上記実情に鑑みてなされたものであり、ある空間における、被検者の測定点の位置を容易に且つ正確に測定することができるシステム、方法、プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a system, a method, and a program capable of easily and accurately measuring the position of a measurement point of a subject in a certain space. To do.

上記目的を達成するため、第1の観点に係るモーションキャプチャシステムは、
撮像空間内に配置された基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを含む画像であって、前記画像中の前記基準マーカの画像に基づいて、前記基準マーカに基づいて設定される基準座標空間内の、撮像手段の位置を示す基準座標値を求める基準座標値特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記基準座標空間内での、前記撮像手段に対する前記参照マーカの相対的な位置を示す相対参照座標値を求める相対参照座標値特定手段と、
前記撮像手段の前記基準座標値と前記参照マーカの前記相対参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める位置特定手段と、
を備える。
In order to achieve the above object, the motion capture system according to the first aspect is
It is an image including a reference marker arranged in the imaging space and a reference marker arranged in the subject to be motion-captured, and is set based on the reference marker based on the image of the reference marker in the image. A reference coordinate value specifying means for obtaining a reference coordinate value indicating the position of the imaging means in the reference coordinate space to be obtained, and
A relative reference coordinate value specifying means for obtaining a relative reference coordinate value indicating a relative position of the reference marker with respect to the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A position specifying means for obtaining the position of the reference marker in the reference coordinate space based on the reference coordinate value of the imaging means and the relative reference coordinate value of the reference marker.
To be equipped.

前記画像中の前記基準マーカの画像に基づいて、前記基準座標空間内の、前記撮像手段の姿勢を示す基準姿勢を求める基準姿勢特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記基準座標空間内での、前記撮像手段に対する前記参照マーカの姿勢を示す相対参照姿勢を求める相対参照姿勢特定手段と、
前記撮像手段の前記基準姿勢と前記参照マーカの前記相対参照姿勢とに基づいて、前記参照マーカの前記基準座標空間内の姿勢を求める姿勢特定手段と、
をさらに備えてもよい。
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A relative reference posture specifying means for obtaining a relative reference posture indicating the posture of the reference marker with respect to the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A posture specifying means for obtaining the posture of the reference marker in the reference coordinate space based on the reference posture of the imaging means and the relative reference posture of the reference marker.
May be further provided.

また、第2の観点に係るモーションキャプチャシステムは、
撮像空間内に配置された基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを含む画像であって、前記画像中の前記基準マーカの画像に基づいて、前記基準マーカに基づいて設定される基準座標空間内の、撮像手段の位置を示す基準座標値を求める基準座標値特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記参照マーカに基づいて設定される参照座標空間内の、前記撮像手段の位置を示す参照座標値を求める参照座標値特定手段と、
前記撮像手段の前記基準座標値と前記参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める位置特定手段と、
を備える。
In addition, the motion capture system according to the second viewpoint is
It is an image including a reference marker arranged in the imaging space and a reference marker arranged in the subject to be motion-captured, and is set based on the reference marker based on the image of the reference marker in the image. A reference coordinate value specifying means for obtaining a reference coordinate value indicating the position of the imaging means in the reference coordinate space to be obtained, and
Based on the image of the reference marker in the image, the reference coordinate value specifying means for obtaining the reference coordinate value indicating the position of the imaging means in the reference coordinate space set based on the reference marker, and
A position specifying means for obtaining the position of the reference marker in the reference coordinate space based on the reference coordinate value and the reference coordinate value of the imaging means.
To be equipped.

前記画像中の前記基準マーカの画像に基づいて、前記基準座標空間内の、前記撮像手段の姿勢を示す基準姿勢を求める基準姿勢特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記参照座標空間内の、前記撮像手段の姿勢を示す参照姿勢を求める参照姿勢特定手段と、
前記撮像手段の前記基準姿勢と前記参照姿勢とに基づいて、前記参照マーカの前記基準座標空間内の姿勢を求める姿勢特定手段と、
をさらに備えてもよい。
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A posture specifying means for obtaining the posture of the reference marker in the reference coordinate space based on the reference posture and the reference posture of the imaging means.
May be further provided.

前記基準マーカは、例えば、多面体と、該多面体の複数の面に配置された複数のマーカを備える。 The reference marker includes, for example, a polyhedron and a plurality of markers arranged on a plurality of surfaces of the polyhedron.

前記基準マーカを構成する複数のマーカは、実質的に同一の原点を有する複数の座標空間を定義することが望ましい。 It is desirable that the plurality of markers constituting the reference marker define a plurality of coordinate spaces having substantially the same origin.

前記基準マーカを構成する複数のマーカは、例えば、それぞれ異なる識別部を有し、前記撮像手段が撮像した画像により識別可能である。 The plurality of markers constituting the reference marker have, for example, different identification units, and can be identified by an image captured by the imaging means.

前記基準マーカが前記撮像空間内に複数配置されていることが望ましい。 It is desirable that a plurality of the reference markers are arranged in the imaging space.

前記参照マーカの前記基準座標空間内の異なったタイミングでの位置の履歴を求める手段をさらに備えてもよい。 Further, a means for obtaining a history of the position of the reference marker at different timings in the reference coordinate space may be provided.

例えば、前記撮像手段の位置と姿勢は固定であり、前記基準座標値特定手段は、少なくとも1回、前記基準座標値を求め、前記位置特定手段は、同一の前記基準座標値と個々の前記相対参照座標値または前記参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める。 For example, the position and orientation of the imaging means are fixed, the reference coordinate value specifying means obtains the reference coordinate value at least once, and the position specifying means is relative to the same reference coordinate value. The position of the reference marker in the reference coordinate space is obtained based on the reference coordinate value or the reference coordinate value.

例えば、前記撮像手段の位置は可変であり、前記基準座標値特定手段と前記相対参照座標値特定手段または前記参照座標値特定手段とは、毎回、前記基準座標値と前記相対参照座標値または前記参照座標値とを求める。 For example, the position of the imaging means is variable, and the reference coordinate value specifying means and the relative reference coordinate value specifying means or the reference coordinate value specifying means each time the reference coordinate value and the relative reference coordinate value or the relative reference coordinate value or the said. Find the reference coordinate value.

また、第3の観点に係るモーションキャプチャ方法は、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得し、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の撮像位置を示す基準座標値を求め、
参照マーカの画像に基づいて、参照マーカの撮像位置に対する相対的な位置を示す相対参照座標値を求め、
基準座標値と相対参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める。
In addition, the motion capture method according to the third viewpoint is
An image obtained by imaging the reference marker and the reference marker placed on the subject to be motion-captured is acquired.
Based on the image of the reference marker, the reference coordinate value indicating the imaging position in the reference coordinate space set based on the reference marker is obtained.
Based on the image of the reference marker, the relative reference coordinate value indicating the position of the reference marker relative to the imaging position is obtained.
Based on the reference coordinate value and the relative reference coordinate value, the coordinates of the reference marker in the reference coordinate space are obtained.

また、第4の観点に係るモーションキャプチャ方法は、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得し、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求め、
参照マーカの画像に基づいて、参照マーカに基づいて設定される参照座標空間内の、撮像位置を示す参照座標値を求め、
基準座標値と参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める。
In addition, the motion capture method according to the fourth viewpoint is
An image obtained by imaging the reference marker and the reference marker placed on the subject to be motion-captured is acquired.
Based on the image of the reference marker, the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker is obtained.
Based on the image of the reference marker, the reference coordinate value indicating the imaging position in the reference coordinate space set based on the reference marker is obtained.
Based on the reference coordinate value and the reference coordinate value, the coordinates in the reference coordinate space of the reference marker are obtained.

また、第5の観点に係るプログラムは、
コンピュータに、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得する処理、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求める処理、
参照マーカの画像に基づいて、撮像位置に対する参照マーカの相対的な位置を示す相対参照座標値を求める処理、
基準座標値と相対参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める処理、
を実行させる。
In addition, the program related to the fifth viewpoint is
On the computer
A process of acquiring an image obtained by imaging a reference marker and a reference marker placed on a subject to be motion-captured.
A process of obtaining the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
A process of obtaining a relative reference coordinate value indicating the relative position of the reference marker with respect to the imaging position based on the image of the reference marker.
The process of finding the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the relative reference coordinate value,
To execute.

また、第6の観点に係るプログラムは、
コンピュータに、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得する処理、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求める処理、
参照マーカの画像に基づいて、参照マーカに基づいて設定される参照座標空間内の撮像位置の座標を示す参照座標値を求める処理、
基準座標値と参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める処理、
を実行させる。
In addition, the program related to the sixth viewpoint is
On the computer
A process of acquiring an image obtained by imaging a reference marker and a reference marker placed on a subject to be motion-captured.
A process of obtaining the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
A process of obtaining a reference coordinate value indicating the coordinates of an imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
The process of finding the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the reference coordinate value,
To execute.

本発明によれば、被検体の各測定点の基準空間に設定された座標での座標値を容易正確に求めることができる。 According to the present invention, it is possible to easily and accurately obtain the coordinate values at the coordinates set in the reference space of each measurement point of the subject.

本発明の実施の形態に係るモーションキャプチャシステムの構成を示す図である。It is a figure which shows the structure of the motion capture system which concerns on embodiment of this invention. (A)は図1に示す基準マーカユニットの構成例を示す図、(B),(C)は、その配置例を説明するための図である。(A) is a diagram showing a configuration example of the reference marker unit shown in FIG. 1, and (B) and (C) are diagrams for explaining an arrangement example thereof. マーカにより測定可能な物理量を説明する図である。It is a figure explaining the physical quantity that can be measured by a marker. (A)と(B)は、図1に示す基準マーカユニットの各マーカが定める座標と原点を説明するための図である。(A) and (B) are diagrams for explaining the coordinates and the origin defined by each marker of the reference marker unit shown in FIG. 図1に示す参照マーカを説明するための図である。It is a figure for demonstrating the reference marker shown in FIG. 図1に示す画像処理装置のブロックダイアグラムである。It is a block diagram of the image processing apparatus shown in FIG. 図1に示す画像処理装置が実行する画像解析処理(モーションキャプチャ処理)の第1の例のフローチャートである。It is a flowchart of the 1st example of the image analysis processing (motion capture processing) executed by the image processing apparatus shown in FIG. 図1に示す画像処理装置が実行する画像解析処理(モーションキャプチャ処理)の第2の例のフローチャートである。It is a flowchart of the 2nd example of the image analysis processing (motion capture processing) executed by the image processing apparatus shown in FIG. 図7に示す画像解析処理を実行することにより、出力される参照マーカの位置と姿勢の履歴データの一例を示す図である。It is a figure which shows an example of the history data of the position and the posture of the reference marker which is output by executing the image analysis process shown in FIG. 7. カメラを複数台備える変形例を示す図である。It is a figure which shows the modification which includes a plurality of cameras. (A)〜(D)は、図1に示す基準マーカユニットの変形例を示す図である。(A) to (D) are diagrams showing a modification of the reference marker unit shown in FIG. 1. (A)及び(B)は、複数の基準マーカユニットを配置した変形例を示す図である。(A) and (B) are diagrams showing a modification in which a plurality of reference marker units are arranged.

以下、本発明の実施の形態に係るモーションキャプチャシステムと方法及びプログラムについて、図1〜図8を参照して説明する。 Hereinafter, the motion capture system, the method, and the program according to the embodiment of the present invention will be described with reference to FIGS. 1 to 8.

本実施の形態に係るモーションキャプチャシステム10は、被検者の複数の測定点(観測点)の動き(位置の履歴)を捉えるためのシステムであり、図1に示すように、被検者11が移動する撮像空間SP内に設置された、基準マーカユニット12と、被検者11に装着された複数の参照マーカ13と、基準マーカユニット12と参照マーカ13を装着した状態の被検者11を撮像するカメラ14と、画像処理装置15と、を備える。 The motion capture system 10 according to the present embodiment is a system for capturing the movement (position history) of a plurality of measurement points (observation points) of the subject, and as shown in FIG. 1, the subject 11 The reference marker unit 12 installed in the imaging space SP to which the subject moves, a plurality of reference markers 13 attached to the subject 11, and the subject 11 in a state where the reference marker unit 12 and the reference marker 13 are attached. A camera 14 for capturing images and an image processing device 15 are provided.

撮像空間SPは、カメラ14により撮像可能な空間であり、直交座標XYZが設定される。なお、図1は、撮像空間SPの一部を示しており、撮像空間SPは矩形の空間に限定されない。直交座標XYZは、撮像空間SPに設定されたグローバル座標である基準座標の例であり、この実施の形態では、基準マーカユニット12によって設定される。 The imaging space SP is a space that can be imaged by the camera 14, and the orthogonal coordinates XYZ are set. Note that FIG. 1 shows a part of the imaging space SP, and the imaging space SP is not limited to the rectangular space. The orthogonal coordinates XYZ are examples of reference coordinates which are global coordinates set in the imaging space SP, and in this embodiment, they are set by the reference marker unit 12.

被検者11は、その動きを抽出する対象となる人物であり、撮像空間SP内を移動(歩行)可能である。なお、被検者11は、モーションキャプチャ対象の被検体の例であり、人間の例を示すが、動物でも、機械・ロボットなどの無生物でもよく、静止物でもよい。 The subject 11 is a person to be extracted from the movement, and can move (walk) in the imaging space SP. The subject 11 is an example of a subject to be motion-captured, and although a human example is shown, it may be an animal, an inanimate object such as a machine or a robot, or a stationary object.

基準マーカユニット12は、撮像空間SP内の被検者11の歩行の障害とならず、且つ、被検者11の移動によって陰にならず、カメラ14から常時撮像可能な位置に静止状態で配置されている。基準マーカユニット12は、撮像空間SPに設定される直交座標XYZとその原点OPの基準となる。基準マーカユニット12の構成については、図2〜4(B)を参照して後述する。 The reference marker unit 12 is placed in a stationary state at a position where the camera 14 can always take an image without obstructing the walking of the subject 11 in the imaging space SP and not being shaded by the movement of the subject 11. Has been done. The reference marker unit 12 serves as a reference for the Cartesian coordinates XYZ set in the imaging space SP and the origin OP thereof. The configuration of the reference marker unit 12 will be described later with reference to FIGS. 2 to 4 (B).

参照マーカ13は、被検者11の各測定点(観測点)に装着されている。個々の参照マーカ13は、それを基準とする座標空間を生成する。参照マーカ13の構成については、図5を参照して後述する。 The reference marker 13 is attached to each measurement point (observation point) of the subject 11. Each reference marker 13 generates a coordinate space based on the reference marker 13. The configuration of the reference marker 13 will be described later with reference to FIG.

カメラ14は、任意の撮像手段の例であり、撮像空間SPを被写域とする動画カメラである。カメラ14が出力する各タイミングでの画像は、基準マーカユニット12の画像と何れかの参照マーカ13の画像を含む。カメラ14の撮像素子の位置は、撮像位置の一例である。 The camera 14 is an example of an arbitrary imaging means, and is a moving image camera having an imaging space SP as a shooting area. The image output by the camera 14 at each timing includes the image of the reference marker unit 12 and the image of any reference marker 13. The position of the image sensor of the camera 14 is an example of the image pickup position.

画像処理装置15は、コンピュータから構成され、図6に例示するように、CPU151、プログラムメモリ152、RAM153、記憶装置154、表示装置155、入力装置156、通信装置157などを備える。画像処理装置15は、カメラ14から供給される画像(画像データ)を処理し、被検者11に装着された各参照マーカ13の、基準マーカユニット12が設定するXYZ座標内での位置と向きを求める。 The image processing device 15 is composed of a computer, and includes a CPU 151, a program memory 152, a RAM 153, a storage device 154, a display device 155, an input device 156, a communication device 157, and the like, as illustrated in FIG. The image processing device 15 processes the image (image data) supplied from the camera 14, and the position and orientation of each reference marker 13 mounted on the subject 11 within the XYZ coordinates set by the reference marker unit 12. Ask for.

なお、図6において、プログラムメモリ152には解析プログラムが格納されている。記憶装置154には、カメラ14で取得された画像データが格納される。CPU151は、RAM153をワークエリアとして、解析プログラムを実行することにより、必要な機能を実現する。 In FIG. 6, the analysis program is stored in the program memory 152. The image data acquired by the camera 14 is stored in the storage device 154. The CPU 151 realizes a necessary function by executing an analysis program using the RAM 153 as a work area.

次に、図2〜4(B)を参照して基準マーカユニット12の構成を説明する。
図2(A)に示すように、基準マーカユニット12は、6面の立方体である支持体24と、支持体24の隣り合う2面に配置されたマーカ20と、から構成されている。各マーカ20は、中央の認識コード部(識別部)21、四隅の円形の検出基準部23、検出基準部23の間のVMP(Variable Moire Pattern)部22により構成される。各面の認識コード部21は、互に異なるパターンであり、基準マーカユニット12内において、認識コード部21により、いずれの面であるかが判別できる。なお、認識コード部21が付いていることにより、誤認識が減少する。また、VMP部22があることにより、マーカ20の位置だけでなく、角度(姿勢)も高精度に計測可能であり、1台のカメラ14で位置と姿勢の計測が可能となっている。
Next, the configuration of the reference marker unit 12 will be described with reference to FIGS. 2 to 4 (B).
As shown in FIG. 2A, the reference marker unit 12 is composed of a support 24 which is a cube on six sides and markers 20 arranged on two adjacent faces of the support 24. Each marker 20 is composed of a central recognition code unit (identification unit) 21, a circular detection reference unit 23 at four corners, and a VMP (Variable Moire Pattern) unit 22 between the detection reference units 23. The recognition code units 21 on each surface have different patterns, and the recognition code unit 21 can determine which surface is in the reference marker unit 12. In addition, since the recognition code unit 21 is attached, erroneous recognition is reduced. Further, since the VMP unit 22 is provided, not only the position of the marker 20 but also the angle (posture) can be measured with high accuracy, and the position and the posture can be measured by one camera 14.

本実施形態のように、特定空間内に基準となるマーカ(基準マーカ)を配置し、撮像手段から基準マーカを撮影し、その画像から、基準マーカに基づいて設定される基準座標空間内の撮像手段の基準座標を求めるためには、角度計測精度が非常に重要となる。例えば、角度検出において1°の視認角度誤差が発生した場合、3m離れた場所での位置の誤差は、5cm以上(tan1°×3m)となる。そうすると高精度に位置と姿勢を計測する分野には不向きである。したがって、基準マーカユニット12は、高精度の位置姿勢計測が可能なVMP部22を有するマーカ20を搭載していることが好ましい。また、基準マーカを基準マーカユニット12とすることにより、マーカ20の視認性が向上するので、撮像手段の配置や台数に制約がなくなり、更に計測が容易になる。 As in the present embodiment, a reference marker (reference marker) is arranged in a specific space, the reference marker is photographed from the imaging means, and the image is captured in the reference coordinate space set based on the reference marker. In order to obtain the reference coordinates of the means, the angle measurement accuracy is very important. For example, when a viewing angle error of 1 ° occurs in angle detection, the error in the position at a distance of 3 m is 5 cm or more (tan 1 ° × 3 m). Then, it is not suitable for the field of measuring the position and the posture with high accuracy. Therefore, it is preferable that the reference marker unit 12 is equipped with a marker 20 having a VMP unit 22 capable of measuring the position and orientation with high accuracy. Further, by using the reference marker unit 12 as the reference marker, the visibility of the marker 20 is improved, so that there are no restrictions on the arrangement and the number of imaging means, and the measurement becomes easier.

各マーカ20は、図3に示すように、1つのマーカ20と1台のカメラ14により、6自由度の位置(座標U、V、W)と姿勢(角度Roll、Pitch、Yaw)を計測可能である。なお、図3では、理解を容易にするため、座標の原点をマーカ20の中心にしているが、前述のように、座標の原点は、複数のマーカ20に共通で、望ましくは、支持体24の頂点に設置される。 As shown in FIG. 3, each marker 20 can measure the position (coordinates U, V, W) and the posture (angle Roll, Pitch, Yaw) of 6 degrees of freedom by one marker 20 and one camera 14. Is. In FIG. 3, the origin of the coordinates is set at the center of the marker 20 for easy understanding. However, as described above, the origin of the coordinates is common to the plurality of markers 20, and preferably the support 24. It is installed at the top of.

各マーカ20は、固有の座標軸U、V、Wを有し、固有の座標を定義する。例えば、図4(A)と(B)に示すように、基準マーカユニット12の正面のマーカ20Aと上面のマーカ20Bでは、異なる座標を定義する。ただし、両座標の原点が一致するように設定されている。正面のマーカ20Aが設定する座標の原点と上面のマーカ20Bが設定する座標の原点の位置は、支持体24の内部でも、表面でも、外部でもよい。また、表面の場合、支持体24の辺の上でもよいし、頂点でもよいが、好ましくは頂点である。 Each marker 20 has unique coordinate axes U, V, W and defines unique coordinates. For example, as shown in FIGS. 4A and 4B, different coordinates are defined for the marker 20A on the front surface and the marker 20B on the upper surface of the reference marker unit 12. However, the origins of both coordinates are set to match. The positions of the origin of the coordinates set by the marker 20A on the front surface and the origin of the coordinates set by the marker 20B on the upper surface may be inside, on the surface, or outside of the support 24. Further, in the case of a surface, it may be on the side of the support 24 or may be an apex, but it is preferably an apex.

図1に例示するように、基準マーカユニット12は、その原点OPが、撮像空間SP内の位置の基準と一致するように配置される。図2(B)および(C)に、基準マーカユニット12の設置例を示す。 As illustrated in FIG. 1, the reference marker unit 12 is arranged so that its origin OP coincides with the reference of the position in the imaging space SP. 2 (B) and 2 (C) show an installation example of the reference marker unit 12.

図2(B)および(C)に例示するように、基準マーカユニット12は、いずれかの頂点Vが、空間、領域、または部屋等の設置場所の隅部の角と一致するように設置される。具体的に、図2(B)および(C)の場合、頂点V1が、設置場所の隅部の角と一致するように、隅部に基準マーカユニット12が設置される。そして、この場合、基準マーカユニット12の2つのマーカ20の共通する原点は、設置場所の隅部の角と一致する頂点V1が好ましい。このようにすれば、基準マーカユニット12の位置を計測する際、カメラ14で撮影した画像に両方の面のマーカ20の画像が含まれる場合も、同じ計測原点をとることで、各マーカ20が設定する座標の原点が設置場所の隅部の角に対してズレて設定されることを防止できる。 As illustrated in FIGS. 2B and 2C, the reference marker unit 12 is installed so that one of the vertices V coincides with the corner corner of the installation location such as a space, an area, or a room. To. Specifically, in the case of FIGS. 2B and 2C, the reference marker unit 12 is installed at the corner so that the apex V1 coincides with the corner of the installation location. In this case, the common origin of the two markers 20 of the reference marker unit 12 is preferably the apex V1 that coincides with the corner corner of the installation location. In this way, when measuring the position of the reference marker unit 12, even if the image taken by the camera 14 includes the images of the markers 20 on both surfaces, the same measurement origin is taken so that each marker 20 can be moved. It is possible to prevent the origin of the coordinates to be set from being set with respect to the corner corner of the installation location.

なお、基準マーカユニット12の原点は、頂点V1には限定されず、両マーカ20が設定する座標の原点が同一であればよく、V2、V3、V4等のいずれを原点としてもよい。 The origin of the reference marker unit 12 is not limited to the vertex V1, as long as the origins of the coordinates set by both markers 20 are the same, and any of V2, V3, V4 and the like may be the origin.

基準マーカユニット12において、同一の原点を有する座標を設定するマーカ20が配置される面の数は2面以上であればよく、3面、4面、5面以上、多面体の面全て(例えば、支持体24の場合は6面)であってもよい。立方体の支持体24の場合、少なくとも1面が、設置面となることから、マーカ20を検出できる最大の面数は、5面である。しかし、支持体24の全面にマーカ20を配置しておくことで、マーカ20が配置されている面か否かを確認することなく、物体への設置を容易に行うことができる。 In the reference marker unit 12, the number of faces on which the markers 20 for setting coordinates having the same origin are arranged may be two or more, and all three faces, four faces, five faces or more, and all faces of the polyhedron (for example,). In the case of the support 24, it may be 6 faces). In the case of the cube support 24, at least one surface is the installation surface, so the maximum number of surfaces on which the marker 20 can be detected is five. However, by arranging the marker 20 on the entire surface of the support 24, it is possible to easily install the marker 20 on an object without confirming whether or not the surface is the surface on which the marker 20 is arranged.

図5に示す参照マーカ13は、カード形状を有し、被検者11の各測定点に設置されるものであり、基準マーカユニット12の各面に配置されたものと同等のマーカ20を備える。マーカ20は、前述のように、中央の認識コード部21、四隅の円形の検出基準部23、検出基準部23の間のVMP部22により構成される。各参照マーカ13の認識コード部21は、互に異なるパターンである。参照マーカ13の認識コード部21と装着位置とを対応付けておくことにより、読み取った認識コード部21から、その装着位置を特定できる。上述のように、1つのマーカ20と1台のカメラ14により、6自由度の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を画像計測可能である。 The reference marker 13 shown in FIG. 5 has a card shape and is installed at each measurement point of the subject 11, and includes a marker 20 equivalent to that arranged on each surface of the reference marker unit 12. .. As described above, the marker 20 is composed of the central recognition code unit 21, the circular detection reference unit 23 at the four corners, and the VMP unit 22 between the detection reference units 23. The recognition code unit 21 of each reference marker 13 has a pattern different from each other. By associating the recognition code unit 21 of the reference marker 13 with the mounting position, the mounting position can be specified from the read recognition code unit 21. As described above, the position (coordinates U, V, W) and the posture (angle Roll, Pitch, Yaw) of 6 degrees of freedom can be image-measured by one marker 20 and one camera 14.

次に、上記実施の形態に係るモーションキャプチャシステム10を用いて、被検者11の各測定点の動きをキャプチャする手法を説明する。
(事前準備)
まず、基準マーカユニット12を用意する。
ここでは、図2(A)示すように、6面体24の2面以上にマーカ20が配置されたものを用意する。基準マーカユニット12は、複数のマーカ20が設定するUVW座標の原点が互いに一致するように設定されているものである。
Next, a method of capturing the movement of each measurement point of the subject 11 will be described using the motion capture system 10 according to the above embodiment.
(Advance preparation)
First, the reference marker unit 12 is prepared.
Here, as shown in FIG. 2A, a hexahedron 24 having markers 20 arranged on two or more faces is prepared. The reference marker unit 12 is set so that the origins of the UVW coordinates set by the plurality of markers 20 coincide with each other.

次に、基準マーカユニット12を、原点が撮像空間SPのXYZ座標の原点に位置するように設置する。次に、カメラ14を設置し、その位置と視野方向を調整する。カメラ14は、設置された基準マーカユニット12の少なくとも2つのマーカ20が撮影できるように、調整する。 Next, the reference marker unit 12 is installed so that the origin is located at the origin of the XYZ coordinates of the imaging space SP. Next, the camera 14 is installed, and its position and viewing direction are adjusted. The camera 14 is adjusted so that at least two markers 20 of the installed reference marker unit 12 can take a picture.

並行して、被検者11の各測定点に参照マーカ13を取り付ける。参照マーカ13の認識コード部21と被検者11への取り付け位置とを対応付け、画像処理装置15の記憶装置154に登録する。 In parallel, a reference marker 13 is attached to each measurement point of the subject 11. The recognition code unit 21 of the reference marker 13 and the attachment position to the subject 11 are associated with each other and registered in the storage device 154 of the image processing device 15.

(撮影処理)
以上の処理が終了すると、撮像処理を開始する。
まず、カメラ14を起動し、参照マーカ13を装着した被検者11が撮像空間SP内を移動する。カメラ14は、被検者11と基準マーカユニット12とを含む画角で画像を撮影する。撮影は、連続的でも間欠的でもよい。カメラ14は、撮像した画像データを画像処理装置15に供給し、画像処理装置15は、これを通信装置157を介して受信し、記憶装置154に逐次格納する。
(Shooting process)
When the above processing is completed, the imaging process is started.
First, the camera 14 is activated, and the subject 11 wearing the reference marker 13 moves in the imaging space SP. The camera 14 captures an image at an angle of view including the subject 11 and the reference marker unit 12. Shooting may be continuous or intermittent. The camera 14 supplies the captured image data to the image processing device 15, and the image processing device 15 receives the captured image data via the communication device 157 and sequentially stores the captured image data in the storage device 154.

(画像解析処理)
画像処理装置15のCPU151は、オンラインでまたは撮像完了後、記憶装置154に格納された画像データにアクセスし、画像解析処理を実行する。
(Image analysis processing)
The CPU 151 of the image processing device 15 accesses the image data stored in the storage device 154 online or after the imaging is completed, and executes the image analysis process.

この画像解析処理の第1の例の動作を図7Aを参照して説明する。
CPU151は、まず、任意のタイミングTにおけるフレーム画像を記憶装置154から抽出する(ステップS1)。
The operation of the first example of this image analysis process will be described with reference to FIG. 7A.
First, the CPU 151 extracts a frame image at an arbitrary timing T from the storage device 154 (step S1).

次に、CPU151は、抽出したフレーム画像中で基準マーカユニット12の画像を特定し、そのうちの最も明瞭に確認できるマーカ(以下、基準マーカ)20の画像を特定する。次に、基準マーカ20が画像から定まる参照座標空間内のカメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を求め、これを撮像空間SPに設定された基準座標空間における座標値(X,Y,Z)及び角度(Roll,Pitch,Yaw)とする(ステップS2)。CPU151は、この段階では、基準マーカ20の画像に基づいて設定される基準座標空間内の、撮像手段の位置と姿勢を示す基準座標値と基準角度とを求める基準座標値特定手段及び基準姿勢特定手段として機能している。 Next, the CPU 151 identifies the image of the reference marker unit 12 in the extracted frame image, and identifies the image of the marker (hereinafter, reference marker) 20 that can be confirmed most clearly. Next, the position (coordinates U, V, W) and posture (angles Roll, Pitch, Yaw) of the camera 14 in the reference coordinate space determined by the reference marker 20 are obtained, and this is set as the reference set in the imaging space SP. Let the coordinate values (X, Y, Z) and angles (Roll, Pitch, Yaw) in the coordinate space be (step S2). At this stage, the CPU 151 identifies the reference coordinate value specifying means and the reference posture for obtaining the reference coordinate value and the reference angle indicating the position and orientation of the imaging means in the reference coordinate space set based on the image of the reference marker 20. It is functioning as a means.

このように、この例では、この基準マーカ20によって設定される参照座標空間(U,V,W)をそのまま、撮像空間SPの基準となる基準座標空間(X,Y,Z)として設定する。以下、基準マーカ20により設定される座標空間を基準座標空間、基準座標空間内の座標値を基準座標値、角度を基準角度と呼ぶ。 As described above, in this example, the reference coordinate space (U, V, W) set by the reference marker 20 is set as it is as the reference coordinate space (X, Y, Z) which is the reference of the imaging space SP. Hereinafter, the coordinate space set by the reference marker 20 is referred to as a reference coordinate space, the coordinate values in the reference coordinate space are referred to as reference coordinate values, and the angle is referred to as a reference angle.

次に、CPU151は、フレーム画像中の参照マーカ13の画像を1つ取り出し(ステップS3)、参照マーカ13により定まる参照座標空間内のカメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を求めて、記憶する(ステップS4)。なお、以下、参照マーカ13により定まる座標空間を参照座標空間、参照座標空間内の座標値を参照座標値、角度を参照角度と呼ぶ。CPU151は、この段階では、参照マーカ13の画像に基づいて設定される参照座標空間内の撮像手段の位置と姿勢を示す参照座標値と参照姿勢とを求める参照座標値特定手段及び参照姿勢特定手段として機能している。 Next, the CPU 151 takes out one image of the reference marker 13 in the frame image (step S3), and positions (coordinates U, V, W) and attitude (angle) of the camera 14 in the reference coordinate space determined by the reference marker 13. Roll, Pitch, Yaw) is obtained and stored (step S4). Hereinafter, the coordinate space determined by the reference marker 13 is referred to as a reference coordinate space, the coordinate values in the reference coordinate space are referred to as reference coordinate values, and the angle is referred to as a reference angle. At this stage, the CPU 151 obtains a reference coordinate value and a reference posture that indicate the position and orientation of the imaging means in the reference coordinate space set based on the image of the reference marker 13, and the reference coordinate value specifying means and the reference posture specifying means. Is functioning as.

ステップS2で求められたカメラ14の基準座標値(X,Y,Z)=ステップS4で求められたカメラ14の参照座標値(U,V,W)である。CPU151は、これに基づき、参照マーカ13の基準座標値と基準角度、即ち、参照座標空間の原点の基準座標空間内の基準座標値と参照マーカ13の基準角度を求める(ステップS5)。このため、CPU151は、この段階では、参照マーカ13の基準座標空間内の位置と姿勢を示す基準座標値と基準角度とを求める位置特定手段と姿勢特定手段として機能している。 The reference coordinate value (X, Y, Z) of the camera 14 obtained in step S2 = the reference coordinate value (U, V, W) of the camera 14 obtained in step S4. Based on this, the CPU 151 obtains the reference coordinate value and the reference angle of the reference marker 13, that is, the reference coordinate value in the reference coordinate space of the origin of the reference coordinate space and the reference angle of the reference marker 13 (step S5). Therefore, at this stage, the CPU 151 functions as a position specifying means and a posture specifying means for obtaining a reference coordinate value and a reference angle indicating the position and the posture of the reference marker 13 in the reference coordinate space.

次に、CPU151は、全ての参照マーカ13についての処理が終了したか否かを判別する(ステップS6)。処理が終了していなければ(ステップS6:No)、参照マーカ13を未処理のものに更新して(ステップS7)、ステップS4にリターンし、同様の処理を繰り返す。
処理が終了していれば(ステップS6:Yes)、今回の処理を終了する。
Next, the CPU 151 determines whether or not the processing for all the reference markers 13 has been completed (step S6). If the process is not completed (step S6: No), the reference marker 13 is updated to an unprocessed one (step S7), the process returns to step S4, and the same process is repeated.
If the process is completed (step S6: Yes), the current process is terminated.

CPU151は、必要に応じて、得られたデータを表示装置155に表示し、通信装置157を介して測定点位置履歴情報を他装置に出力する。 The CPU 151 displays the obtained data on the display device 155 as necessary, and outputs the measurement point position history information to another device via the communication device 157.

このようして、タイミングTにおける各参照マーカ13の基準座標値と基準角度を求めることができる。 In this way, the reference coordinate value and the reference angle of each reference marker 13 at the timing T can be obtained.

次に、画像解析処理の第2の例を図7Bを参照して説明する。この例は、図7Aに示す第1の例と比較して、各参照マーカ13の基準座標値と基準角度とをより正確に、さらに、履歴の形態で取得可能な例である。 Next, a second example of the image analysis process will be described with reference to FIG. 7B. This example is an example in which the reference coordinate value and the reference angle of each reference marker 13 can be acquired more accurately and in the form of history as compared with the first example shown in FIG. 7A.

CPU151は、まず、タイミングTに初期値TDを設定し(ステップS11)、タイミングTにおけるフレーム画像を抽出する(ステップS12)。なお、時間TD経過時点の画像は、例えば、フレーム番号により特定可能である。画像に時計を撮し込んでもよい。 First, the CPU 151 sets the initial value TD at the timing T (step S11), and extracts the frame image at the timing T (step S12). The image at the time when the time TD has elapsed can be specified by, for example, the frame number. You may take a clock in the image.

次に、CPU151は、抽出したフレーム画像中の最も明瞭なマーカの画像を抽出する。ここでは、ID=01のマーカ、即ち、マーカ20Aの画像であるとする。CPU151は、その画像から、カメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を求める(ステップS13)。この例では、ステップS13で選択したマーカ20のUVW座標が、撮像空間SPのXYZ基準座標としてそのまま設定される。従って、マーカ20Aに基づいて求めたカメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)が、撮像空間SPのXYZ座標に基づく位置(座標X,Y,Z)と姿勢(角度Roll,Pitch,Yaw)としてそのまま設定される。(ステップS13)。以下、基準となるマーカ(基準マーカ)であるマーカ20Aにより設定される座標空間を基準座標空間、座標値を基準座標値、角度を基準角度と呼ぶこととする。 Next, the CPU 151 extracts the clearest marker image in the extracted frame image. Here, it is assumed that the image is a marker with ID = 01, that is, the marker 20A. The CPU 151 obtains the position (coordinates U, V, W) and posture (angle Roll, Pitch, Yaw) of the camera 14 from the image (step S13). In this example, the UVW coordinates of the marker 20 selected in step S13 are set as they are as the XYZ reference coordinates of the imaging space SP. Therefore, the position (coordinates U, V, W) and posture (angles Roll, Pitch, Yaw) of the camera 14 obtained based on the marker 20A are the positions (coordinates X, Y, Z) based on the XYZ coordinates of the imaging space SP. And the posture (angle Roll, Pitch, Yaw) are set as they are. (Step S13). Hereinafter, the coordinate space set by the marker 20A, which is a reference marker (reference marker), will be referred to as a reference coordinate space, the coordinate values will be referred to as reference coordinate values, and the angle will be referred to as a reference angle.

次に、CPU151は、抽出したフレーム画像中の基準マーカユニット12の画像中の他のマーカ20の画像を読み込む。ここでは、ID=02のマーカ、即ち、マーカ20Bの画像を読み込むこととする。CPU151は、その画像から、カメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を求める(ステップS14)。続いて、CPU151は、基準マーカ20Aが形成するUVW座標とマーカ20Bが形成するUVW座標との関係(原点が同一で、90°またはその倍数だけ回転した関係)に基づいて、マーカ20Bの参照座標に基づいて求めたカメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を、基準マーカ20Aに基づいて設定された基準座標の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)に変換する(ステップS14)。 Next, the CPU 151 reads an image of another marker 20 in the image of the reference marker unit 12 in the extracted frame image. Here, it is assumed that the marker with ID = 02, that is, the image of the marker 20B is read. The CPU 151 obtains the position (coordinates U, V, W) and posture (angle Roll, Pitch, Yaw) of the camera 14 from the image (step S14). Subsequently, the CPU 151 uses the reference coordinates of the marker 20B based on the relationship between the UVW coordinates formed by the reference marker 20A and the UVW coordinates formed by the marker 20B (the origin is the same and is rotated by 90 ° or a multiple thereof). The position (coordinates U, V, W) and attitude (angles Roll, Pitch, Yaw) of the camera 14 obtained based on the above are set to the reference coordinate values (X, Y, Z) of the reference coordinates set based on the reference marker 20A. ) And the reference angle (Roll, Pitch, Yaw) (step S14).

次に、CPU151は、抽出したフレーム画像中の基準マーカユニット12の画像中に他のマーカ20の画像が存在するか否かを判別し(ステップS15)、存在していれば(ステップS15:Yes)、ステップS14に戻って、同様の処理を繰り返す。 Next, the CPU 151 determines whether or not an image of another marker 20 is present in the image of the reference marker unit 12 in the extracted frame image (step S15), and if it is present (step S15: Yes). ), Returning to step S14, the same process is repeated.

一方、CPU151は、抽出したフレーム画像中の基準マーカユニット12の画像中に他のマーカ20の画像が存在しないと判別すると(ステップS15:No)、ステップS16に進む。 On the other hand, when the CPU 151 determines that the image of the other marker 20 does not exist in the image of the reference marker unit 12 in the extracted frame image (step S15: No), the process proceeds to step S16.

ステップS16において、CPU151は、ステップS13とS14で取得した複数の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)を平均化する等して、誤差を減少させて、カメラ14の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)を確定する(ステップS16)。以上の処理により、基準マーカユニット12の複数のマーカ20用いて、マーカ20Aが設定する基準座標空間内のカメラ14の位置と姿勢が正確に特定される。CPU151は、この段階では、基準マーカ20Aの画像に基づいて設定される基準座標空間内の、撮像手段の位置と姿勢を示す基準座標値と基準角度を求める基準座標値特定手段及び基準姿勢特定手段として機能している。 In step S16, the CPU 151 reduces the error by averaging the plurality of reference coordinate values (X, Y, Z) and the reference angles (Roll, Pitch, Yaw) acquired in steps S13 and S14. The reference coordinate values (X, Y, Z) and the reference angles (Roll, Pitch, Yaw) of the camera 14 are determined (step S16). By the above processing, the position and orientation of the camera 14 in the reference coordinate space set by the marker 20A are accurately specified by using the plurality of markers 20 of the reference marker unit 12. At this stage, the CPU 151 is a reference coordinate value specifying means and a reference posture specifying means for obtaining a reference coordinate value and a reference angle indicating the position and orientation of the imaging means in the reference coordinate space set based on the image of the reference marker 20A. Is functioning as.

次に、CPU151は、フレーム画像中の参照マーカ13の画像を1つ取り出し、参照マーカのID、参照マーカ13により定まる座標空間内のカメラ14の位置(座標U,V,W)と姿勢(角度Roll,Pitch,Yaw)を求めて、記憶する(ステップS17)。CPU151は、この段階では、参照マーカ13の画像に基づいて設定される参照座標空間内の、撮像手段の位置と姿勢を示す参照座標値と参照姿勢(参照角度)を求める参照座標値特定手段及び参照姿勢特定手段として機能している。 Next, the CPU 151 takes out one image of the reference marker 13 in the frame image, and the position (coordinates U, V, W) and the posture (angle) of the camera 14 in the coordinate space determined by the ID of the reference marker and the reference marker 13. Roll, Pitch, Yaw) is obtained and stored (step S17). At this stage, the CPU 151 is a reference coordinate value specifying means for obtaining a reference coordinate value indicating the position and orientation of the imaging means and a reference posture (reference angle) in the reference coordinate space set based on the image of the reference marker 13. It functions as a reference posture identification means.

ステップS16で求められたカメラ14の基準座標値(X,Y,Z)=ステップS17で求められたカメラ14の参照座標値(U,V,W)である。CPU151は、これに基づき、参照マーカ13の基準座標空間内の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)を求める(ステップS18)。このため、CPU151は、この段階では、参照マーカ13の基準座標空間内の位置と姿勢を特定する位置特定手段及び姿勢特定手段として機能している。 The reference coordinate value (X, Y, Z) of the camera 14 obtained in step S16 = the reference coordinate value (U, V, W) of the camera 14 obtained in step S17. Based on this, the CPU 151 obtains the reference coordinate values (X, Y, Z) and the reference angles (Roll, Pitch, Yaw) in the reference coordinate space of the reference marker 13 (step S18). Therefore, at this stage, the CPU 151 functions as a position specifying means and a posture specifying means for specifying the position and the posture of the reference marker 13 in the reference coordinate space.

次に、CPU151は、他に読み取れる(未処理の)参照マーカ13の画像が残っているかについての処理が終了したか否かを判別する(ステップS19)。処理がすべき参照マーカ13の画像が残っていれば(ステップS19:Yes)、ステップS17にリターンし、未処理の参照マーカ13の画像を1つ選択して、同様の処理を繰り返す。 Next, the CPU 151 determines whether or not the processing for whether or not the image of the reference marker 13 that can be read (unprocessed) remains is completed (step S19). If the image of the reference marker 13 to be processed remains (step S19: Yes), the process returns to step S17, one unprocessed image of the reference marker 13 is selected, and the same process is repeated.

一方、全ての参照マーカ13の画像の処理が終了していれば(ステップS19:No)、ステップS20に進む。 On the other hand, if the processing of the images of all the reference markers 13 is completed (step S19: No), the process proceeds to step S20.

ステップS20において、CPU151は、処理対象の全てのタイミングのフレーム画像についての処理が終了したか否かを判別する(ステップS20)。処理が終了していなければ(ステップS20:No)、T=T+ΔT(ΔT=微小時間)として(ステップS21)、ステップS12にリターンし、同様の処理を繰り返す。全てのタイミングについての処理が終了していれば(ステップS20:Yes)、今回の処理を終了する。 In step S20, the CPU 151 determines whether or not the processing for the frame image at all the timings to be processed is completed (step S20). If the process is not completed (step S20: No), T = T + ΔT (ΔT = minute time) (step S21), the process returns to step S12, and the same process is repeated. If the processing for all timings is completed (step S20: Yes), the current processing is completed.

こうして、記憶装置154には、図8に例示するように、タイミングTD,TD+ΔT,TD+2・ΔT...における、基準マーカユニット12の位置を基準とする、基準座標空間内の、被検者11の各測定点の位置と姿勢の履歴が形成される。 Thus, as illustrated in FIG. 8, the storage device 154 has timings TD, TD + ΔT, TD + 2 · ΔT. .. .. In, a history of the position and posture of each measurement point of the subject 11 in the reference coordinate space with reference to the position of the reference marker unit 12 is formed.

CPU151は、必要に応じて、図8に例示する測定点位置履歴情報を表示装置155に表示し、通信装置157を介して測定点位置履歴情報を他装置に出力する。 The CPU 151 displays the measurement point position history information illustrated in FIG. 8 on the display device 155, and outputs the measurement point position history information to another device via the communication device 157, if necessary.

このようにして、本実施の形態では、被検者11の各測定点の動きを、撮像空間SPに設定された基準座標空間内の基準座標値の履歴で得ることができる。 In this way, in the present embodiment, the movement of each measurement point of the subject 11 can be obtained from the history of the reference coordinate values in the reference coordinate space set in the imaging space SP.

なお、図7Bの処理において、基準マーカユニット12の位置及び向きが固定で、かつ、カメラ14の位置と向きが固定の場合、ステップS13とS14で得られる値に変化はない。従って、フローを最初に通過するとき以外、ステップS13〜S15をスキップしてもよい。即ち、少なくとも1回、カメラ14の基準座標値と基準姿勢を求め、同一の基準座標値及び基準姿勢と個々の参照座標値と参照姿勢とに基づいて、参照マーカ13の基準座標空間内の位置と姿勢を求めればよい。 In the process of FIG. 7B, when the position and orientation of the reference marker unit 12 are fixed and the position and orientation of the camera 14 are fixed, the values obtained in steps S13 and S14 do not change. Therefore, steps S13 to S15 may be skipped except when the flow is first passed. That is, the reference coordinate value and the reference posture of the camera 14 are obtained at least once, and the position of the reference marker 13 in the reference coordinate space based on the same reference coordinate value and the reference posture and each reference coordinate value and the reference posture. You just have to ask for the posture.

また、上記実施の形態においては、カメラ14の位置を固定とする例を示したが、カメラ14の位置は固定でも可変でもよい。ただし、カメラ14の位置と角度を変更したときには、位置変更後の最初の処理では、ステップS13〜S15を実行することが望ましい。即ち、毎回、基準座標値及び基準姿勢と参照座標値及び参照姿勢とを求めることが望ましい。 Further, in the above embodiment, the example in which the position of the camera 14 is fixed is shown, but the position of the camera 14 may be fixed or variable. However, when the position and angle of the camera 14 are changed, it is desirable to execute steps S13 to S15 in the first process after the position change. That is, it is desirable to obtain the reference coordinate value and the reference posture and the reference coordinate value and the reference posture each time.

上記実施の形態においては、ステップS4とS17,S18の処理において、参照マーカ13の画像から、カメラ14の参照座標値(U,V,W)と参照角度(Roll,Pitch,Yaw)を求め、参照座標値(U,V,W)と参照姿勢(角度)(Roll,Pitch,Yaw)に基づいて、参照マーカ13の基準座標値と基準角度とを求めている。この発明はこれに限定されない。 In the above embodiment, in the processing of steps S4, S17, and S18, the reference coordinate values (U, V, W) and the reference angles (Roll, Pitch, Yaw) of the camera 14 are obtained from the image of the reference marker 13. Based on the reference coordinate values (U, V, W) and the reference posture (angle) (Roll, Pitch, Yaw), the reference coordinate values and the reference angles of the reference marker 13 are obtained. The present invention is not limited to this.

図1の構成において、参照マーカ13の画像からカメラ14の位置と姿勢を基準とする参照マーカ13の基準座標空間内の相対参照座標値(相対参照位置)(ΔX,ΔY,ΔZ)と相対参照姿勢(ΔRoll,ΔPitch,ΔYaw)を求め、これらの値から、参照マーカ13の基準座標値と基準姿勢とを求めてもよい。 In the configuration of FIG. 1, relative reference to the relative reference coordinate value (relative reference position) (ΔX, ΔY, ΔZ) in the reference coordinate space of the reference marker 13 based on the position and orientation of the camera 14 from the image of the reference marker 13. The posture (ΔRoll, ΔPitch, ΔYaw) may be obtained, and the reference coordinate value and the reference posture of the reference marker 13 may be obtained from these values.

具体的に説明すると、図1の構成において、CPU151は、まず、カメラ14の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)を図7AのステップS2または図7BのステップS14を求める。 Specifically, in the configuration of FIG. 1, the CPU 151 first sets the reference coordinate values (X, Y, Z) and the reference angles (Roll, Pitch, Yaw) of the camera 14 in step S2 or FIG. 7B of FIG. 7A. Find step S14.

次に、CPU151は、参照マーカ13の画像からカメラ14の位置と姿勢を基準とする参照マーカ13の基準座標空間内の相対参照座標値(ΔX,ΔY,ΔZ)と相対参照姿勢(ΔRoll,ΔPitch,ΔYaw)を求める。相対参照座標値(ΔX,ΔY,ΔZ)と相対参照姿勢(ΔRoll,ΔPitch,ΔYaw)を求める手法は任意である。例えば、参照マーカ13の画像中の4隅の検出基準部23を結んで形成される四角形のサイズを既知の基準サイズと比較することにより、カメラ14から参照マーカ13までの距離を求めることができる。さらに、カメラ14の撮像点から参照マーカ13の中心に向かう仮想線のXYZ各軸への傾きから、参照マーカ13の基準座標中の方向を知ることができ、参照マーカ13までの距離と参照マーカ13に向かう方向から、相対参照座標値を(ΔX,ΔY,ΔZ)求めることができる。また、検出基準部23を結んで形成される四角形の辺の長さの比率から、カメラ14に対する姿勢を求め、これから相対参照姿勢(ΔRoll,ΔPitch,ΔYaw)を求めることができる。この段階では、CPU151は、参照マーカ13の画像に基づいて、基準座標空間内での、撮像手段に対する参照マーカ13の相対的な位置と姿勢を示す相対参照座標値と相対参照姿勢を求める相対参照座標値特定手段及び相対参照姿勢特定手段として機能している。 Next, the CPU 151 determines the relative reference coordinate values (ΔX, ΔY, ΔZ) and the relative reference attitudes (ΔRoll, ΔPitch) in the reference coordinate space of the reference marker 13 based on the position and orientation of the camera 14 from the image of the reference marker 13. , ΔYaw). The method of obtaining the relative reference coordinate values (ΔX, ΔY, ΔZ) and the relative reference attitudes (ΔRoll, ΔPitch, ΔYaw) is arbitrary. For example, the distance from the camera 14 to the reference marker 13 can be obtained by comparing the size of the quadrangle formed by connecting the detection reference portions 23 at the four corners in the image of the reference marker 13 with the known reference size. .. Further, the direction in the reference coordinates of the reference marker 13 can be known from the inclination of the virtual line from the imaging point of the camera 14 toward the center of the reference marker 13 toward each axis of XYZ, and the distance to the reference marker 13 and the reference marker can be known. The relative reference coordinate values (ΔX, ΔY, ΔZ) can be obtained from the direction toward 13. Further, the posture with respect to the camera 14 can be obtained from the ratio of the lengths of the sides of the quadrangle formed by connecting the detection reference units 23, and the relative reference posture (ΔRoll, ΔPitch, ΔYaw) can be obtained from this. At this stage, the CPU 151 obtains a relative reference coordinate value and a relative reference posture indicating the relative position and posture of the reference marker 13 with respect to the imaging means in the reference coordinate space based on the image of the reference marker 13. It functions as a coordinate value specifying means and a relative reference posture specifying means.

次に、CPU151は、カメラ14の基準座標値(X,Y,Z)+相対参照座標値(ΔX,ΔY,ΔZ)=(X+ΔX,Y+ΔY,Z+ΔZ)を求め、これを、参照マーカ13の基準座標値とする。同様に、カメラ14の基準姿勢(Roll,Pitch,Yaw)+相対参照姿勢(ΔRoll,ΔPitch,ΔYaw)=(Roll+ΔRoll,Pitch+ΔPitch,Yaw+ΔYaw)を求め、これを、参照マーカ13の基準角度とする。この段階では、CPU151は、カメラ14の基準座標値及び基準姿勢と参照マーカ13の相対参照座標値及び相対参照姿勢とに基づいて、参照マーカ13の基準座標空間内の位置と姿勢を求める位置特定手段及び姿勢特定手段として機能している。 Next, the CPU 151 obtains the reference coordinate value (X, Y, Z) of the camera 14 + the relative reference coordinate value (ΔX, ΔY, ΔZ) = (X + ΔX, Y + ΔY, Z + ΔZ), and uses this as the reference of the reference marker 13. Let it be a coordinate value. Similarly, the reference posture (Roll, Pitch, Yaw) + relative reference posture (ΔRoll, ΔPitch, ΔYaw) = (Roll + ΔRoll, Pitch + ΔPitch, Yaw + ΔYaw) of the camera 14 is obtained, and this is used as the reference angle of the reference marker 13. At this stage, the CPU 151 determines the position and posture of the reference marker 13 in the reference coordinate space based on the reference coordinate value and the reference posture of the camera 14 and the relative reference coordinate value and the relative reference posture of the reference marker 13. It functions as a means and a posture identification means.

また、上記実施の形態においては、カメラ14を1台とする例を示したが、図9に示すように、カメラ14の台数は複数台でもよい。この場合、各カメラ14は、それぞれ、基準マーカユニット12を画角内に常時捉えていることが望ましい。このようにすれば、2台のカメラ14の基準座標空間での絶対的な位置を、基準マーカユニット12の画像から特定できる。このため、複数のカメラ14で撮影した2つの画像を重ね合わせる場合、2つの画像からステレオ画像を生成する場合、複数の画像から得られた参照マーカ13の位置と姿勢を平均化する場合等に、処理が容易になる。また、1台のカメラ14では撮影できない参照マーカ13を複数台のカメラ14で漏れなく、撮影することも可能となる。 Further, in the above embodiment, an example in which one camera 14 is used is shown, but as shown in FIG. 9, the number of cameras 14 may be a plurality of cameras. In this case, it is desirable that each camera 14 always captures the reference marker unit 12 within the angle of view. In this way, the absolute positions of the two cameras 14 in the reference coordinate space can be specified from the image of the reference marker unit 12. Therefore, when superimposing two images taken by a plurality of cameras 14, generating a stereo image from the two images, averaging the positions and orientations of the reference markers 13 obtained from the plurality of images, and the like. , Easy to process. Further, it is possible to take a picture of the reference marker 13 which cannot be taken by one camera 14 without omission by a plurality of cameras 14.

複数のカメラ14で被検体を撮影し効果的なデータを取得するためには、カメラ14を一定以上の間隔、角度で配置し、被検体を全周方向から撮影することが望ましい。従って、基準マーカユニット12も全方位から複数のマーカを撮影(認識)できることが望ましい。 In order to photograph a subject with a plurality of cameras 14 and acquire effective data, it is desirable to arrange the cameras 14 at a certain interval and angle and to photograph the subject from the entire circumferential direction. Therefore, it is desirable that the reference marker unit 12 can also capture (recognize) a plurality of markers from all directions.

また、複数台のカメラ14を使用する場合に、ステレオ技術を用いて、参照マーカ13の基準座標空間内の基準位置と基準姿勢を特定することも可能である。この場合の処理は以下のようになる。 Further, when a plurality of cameras 14 are used, it is also possible to specify the reference position and the reference posture of the reference marker 13 in the reference coordinate space by using the stereo technique. The processing in this case is as follows.

まず、CPU151は、基準マーカユニット12内のマーカ20の画像に基づいて、各カメラ14の基準座標値(X,Y,Z)と基準姿勢(Roll,Pitch,Yaw)を求める。 First, the CPU 151 obtains the reference coordinate values (X, Y, Z) and the reference posture (Roll, Pitch, Yaw) of each camera 14 based on the image of the marker 20 in the reference marker unit 12.

次に、処理対象の参照マーカ13について、ステレオ視に使用する2つのカメラ14を特定する。2つのカメラ14の基準座標値(X,Y,Z)から、軸方向別に、2つのカメラ14の距離を求める。 Next, with respect to the reference marker 13 to be processed, two cameras 14 used for stereo viewing are specified. From the reference coordinate values (X, Y, Z) of the two cameras 14, the distance between the two cameras 14 is obtained for each axial direction.

次に、各軸方向について、2つのカメラ14の参照マーカ13に対する視差を求め、2つのカメラ14の距離と視差からカメラ14の基準座標値と基準姿勢に対する参照マーカ13の相対参照座標値と相対参照姿勢を求める。 Next, the parallax of the two cameras 14 with respect to the reference marker 13 is obtained for each axial direction, and the reference coordinate value of the camera 14 and the relative reference coordinate value of the reference marker 13 with respect to the reference posture are relative to the reference coordinate value of the camera 14 from the distance and parallax of the two cameras 14. Find the reference posture.

次に、カメラ14の基準座標値と基準姿勢に参照マーカ13の相対参照座標値と相対参照姿勢を加算することにより基準座標空間内での処理対象の参照マーカ13の基準座標値(X,Y,Z)と基準角度(Roll,Pitch,Yaw)を求める。 Next, the reference coordinate value (X, Y) of the reference marker 13 to be processed in the reference coordinate space is added by adding the relative reference coordinate value and the relative reference posture of the reference marker 13 to the reference coordinate value and the reference posture of the camera 14. , Z) and the reference angle (Roll, Pitch, Yaw).

なお、カメラ14と基準マーカユニット12の位置と姿勢が固定の場合に、カメラ14の基準座標値と基準姿勢を求める処理を任意回数のみ行って、同一の値を用いて処理を行えばよいこと等は、これらの変形例でも同様である。 When the positions and orientations of the camera 14 and the reference marker unit 12 are fixed, the processing for obtaining the reference coordinate value and the reference orientation of the camera 14 may be performed only an arbitrary number of times, and the processing may be performed using the same values. Etc. are the same in these modified examples.

この発明は上記実施の形態に限定されず、種々の変形及び応用が可能である。例えば、基準マーカユニット12に代えて、被検者11の陰に隠れにくい位置に設定された1枚のマーカでもよい。精度は落ちるが、これでも測定可能である。 The present invention is not limited to the above embodiment, and various modifications and applications are possible. For example, instead of the reference marker unit 12, one marker may be set at a position where it is difficult to hide behind the subject 11. The accuracy is reduced, but it is still measurable.

参照マーカ13として、特許文献1に記載されているような反射ボール或いは発光ボールを使用することも可能である。ただし、複数のカメラ14を配置し、前述のステレオ技術を使用して、発光ボールの基準座標値を取得する。なお、発光ボールの場合は、角度を求めることはできない。 As the reference marker 13, it is also possible to use a reflective ball or a light emitting ball as described in Patent Document 1. However, a plurality of cameras 14 are arranged, and the reference coordinate value of the light emitting ball is acquired by using the stereo technique described above. In the case of a light emitting ball, the angle cannot be obtained.

基準マーカユニット12は複数あってもよい。位置を固定した複数のマーカユニットを配置することにより、移動する被検体を移動するカメラで撮影し、動作の計測をすることも可能になる。 There may be a plurality of reference marker units 12. By arranging a plurality of marker units whose positions are fixed, it is possible to take a picture of a moving subject with a moving camera and measure its movement.

基準マーカユニットの形状・配置などは任意に変更可能であり、さまざまな形状や配置が可能であり、用途にあわせて選択すればよい。 The shape and arrangement of the reference marker unit can be changed arbitrarily, and various shapes and arrangements are possible, and it may be selected according to the application.

例えば、基準マーカユニット12として、同一の原点を有する座標を定義するマーカ20が配置される面の数は、2面以上であればよく、3面、4面、5面以上、支持体24の面全て(例えば、支持体24の場合は6面)であってもよい。立方体の支持体24の場合、マーカ20は、少なくとも1面が、物体への設置面となることから、マーカ20を検出できる最大の面数は5面である。しかし、支持体24の全面にマーカ20を配置しておくことで、マーカ20が配置されている面か否かを確認することなく、物体への設置を容易に行うことができる。 For example, as the reference marker unit 12, the number of faces on which the markers 20 that define the coordinates having the same origin are arranged may be two or more, and the number of faces of the support 24 is three, four, five or more. All faces (for example, 6 faces in the case of the support 24) may be used. In the case of the cube support 24, since at least one surface of the marker 20 is an installation surface on an object, the maximum number of surfaces on which the marker 20 can be detected is five. However, by arranging the marker 20 on the entire surface of the support 24, it is possible to easily install the marker 20 on an object without confirming whether or not the surface is the surface on which the marker 20 is arranged.

なお、基準マーカユニット12は、参照マーカ13と同様に被検者11に取り付けてもよい。また、参照マーカ13の一部を基準マーカとして代用してもよい。 The reference marker unit 12 may be attached to the subject 11 in the same manner as the reference marker 13. Further, a part of the reference marker 13 may be substituted as a reference marker.

図10(A)〜(D)に、支持体の形状が異なるマーカユニットの例を示す。
図10(A)の基準マーカユニット12Aは、直角三角形の角柱の支持体24Aにおいて、隣り合う2つの面に、マーカ20が配置されている。具体的には、基準マーカユニット12Aは、支持体24Aの直角三角形の上面において、直角の領域に、マーカ20の一隅が位置するように、一つのマーカ20が配置されている。また、これに隣接する他のマーカ20は、例えば、点線で示す領域、すなわち、直角三角形の底辺間の平面、または、直角三角形の斜辺間の平面等の領域に、配置されてもよい。基準マーカユニット12Aは、例えば、図2(B)と同様の隅部に配置でき、具体的には、底面が床部に、直角三角形の斜辺から下方向に伸びる側面が壁部に、それぞれ接触するように配置することができる。この場合、基準マーカユニット12Aは、例えば、頂点V1を原点とすることが好ましい。また、頂点V1以外、すなわち、頂点V2、V3等を原点OPとすることもできる。
10 (A) to 10 (D) show examples of marker units having different support shapes.
In the reference marker unit 12A of FIG. 10A, the markers 20 are arranged on two adjacent surfaces on the support 24A of a right triangle prism. Specifically, in the reference marker unit 12A, one marker 20 is arranged so that one corner of the marker 20 is located in a right-angled region on the upper surface of the right triangle of the support 24A. Further, the other marker 20 adjacent thereto may be arranged in a region indicated by a dotted line, that is, a plane between the bases of the right triangle, a plane between the hypotenuses of the right triangle, and the like. The reference marker unit 12A can be arranged, for example, in the same corner as in FIG. 2B. Specifically, the bottom surface is in contact with the floor, and the side surface extending downward from the hypotenuse of the right triangle is in contact with the wall. Can be arranged to do so. In this case, the reference marker unit 12A preferably has, for example, the apex V1 as the origin. Further, other than the vertex V1, that is, the vertices V2, V3, etc. can be set as the origin OP.

図10(B)の基準マーカユニット12Bは、直角三角形の角柱の支持体24Bにおいて、隣り合う2つの長方形の側面に、それぞれマーカ20が配置されている。基準マーカユニット12Bは、例えば、直角三角形の底辺同士を繋ぐ面が、床部または壁部等に接触するように配置することができる。この場合、基準マーカユニット12Bは、例えば、図10(B)中の円で囲んだ頂点等を原点OPとすることができ、具体的には、例えば、基準マーカユニット12Bを位置合わせする隅に応じて、頂点を原点OPとして選択できる。 In the reference marker unit 12B of FIG. 10B, markers 20 are arranged on the side surfaces of two adjacent rectangles on the support 24B of a right triangle prism. The reference marker unit 12B can be arranged so that, for example, the surfaces connecting the bases of the right triangles are in contact with the floor or the wall. In this case, the reference marker unit 12B can have, for example, the apex surrounded by a circle in FIG. 10B as the origin OP, and specifically, for example, at the corner where the reference marker unit 12B is aligned. Depending on this, the vertex can be selected as the origin OP.

図10(C)の基準マーカユニット12Cは、立方領域と四角錐領域とからなる支持体24Cにおいて、隣り合う2つの面に、それぞれマーカ20が配置されている。基準マーカユニット12Cは、例えば、設置対象となる物体が、四角錐状の凹部を有する場合、マーカユニット2Cの四角錐領域を凹部に挿入して配置することができる。この場合、基準マーカユニット12Cは、例えば、図10(C)中の円で囲んだ頂点を計測原点とすることが好ましい。 In the reference marker unit 12C of FIG. 10C, the markers 20 are arranged on two adjacent surfaces of the support 24C including the cubic region and the quadrangular pyramid region. For example, when the object to be installed has a quadrangular pyramid-shaped recess, the reference marker unit 12C can be arranged by inserting the quadrangular pyramid region of the marker unit 2C into the recess. In this case, the reference marker unit 12C preferably has, for example, the apex surrounded by a circle in FIG. 10C as the measurement origin.

図10(D)の基準マーカユニット12Dは、立方領域と三角柱領域とからなる支持体24Dにおいて、2つの面に、それぞれマーカ20が配置されている。基準マーカユニット12Dは、例えば、設置対象となる物体が、三角柱状の凹部を有する場合、基準マーカユニット12Dの三角柱領域を凹部に挿入して配置することができる。この場合、基準マーカユニット12Dは、例えば、図10(D)中の円で囲んだ頂点を原点とすることができ、例えば、基準マーカユニット12Dを位置合わせする隅に応じて、頂点を原点として選択できる。 In the reference marker unit 12D of FIG. 10D, markers 20 are arranged on two surfaces of the support 24D including a cubic region and a triangular prism region. For example, when the object to be installed has a triangular prismatic recess, the reference marker unit 12D can be arranged by inserting the triangular prism region of the reference marker unit 12D into the recess. In this case, the reference marker unit 12D can have, for example, the apex surrounded by a circle in FIG. 10 (D) as the origin, and for example, the apex can be set as the origin according to the corner where the reference marker unit 12D is aligned. You can choose.

また、撮像空間SPに配置される基準マーカユニットの数は1つに限定されず、任意である。図11(A),(B)に、基準マーカユニット12を複数用いた計測例を示す。 Further, the number of reference marker units arranged in the imaging space SP is not limited to one, and is arbitrary. 11 (A) and 11 (B) show measurement examples using a plurality of reference marker units 12.

図11(A)は、撮像空間に、複数の基準マーカユニット12Bを配置した第1の例を示す。具体的には、撮像空間SPは室内40であり、室内40に四角の物体41が配置されている。室内40の壁401と床402と物体41との間における様々な境界の角(例えば、隅部の角)に頂点が一致するように、基準マーカユニット12が配置されている。この例では、隅部の角と一致する基準マーカユニット12の頂点が、原点であるとする。このような状態において、カメラ14により、ある方向から、複数の基準マーカユニット12を撮影した場合、各基準マーカユニット12の少なくともいずれかの面のマーカ20が写りこむ。そして、1つの基準マーカユニット12に含まれる複数のマーカ20は、共通する同一の原点を有するため、例えば、1つの基準マーカユニット12内において、複数のマーカ20の原点がずれることはなく、マーカ20の間でのズレが抑制された計測結果を得ることができる。さらに、基準マーカユニット12は、その頂点(または辺)を、空間における頂点(または辺)に一致するように配置できる。このため、空間の目的の位置と、基準マーカユニット12の原点とを容易に一致させることができる。これによって、基準マーカユニット12の原点と、計測対象の物体の目的位置とのズレも抑制され、より正確な計測結果を得ることができる。 FIG. 11A shows a first example in which a plurality of reference marker units 12B are arranged in the imaging space. Specifically, the imaging space SP is a room 40, and a square object 41 is arranged in the room 40. The reference marker unit 12 is arranged so that the vertices coincide with the corners (for example, corner corners) of various boundaries between the wall 401, the floor 402, and the object 41 of the room 40. In this example, it is assumed that the apex of the reference marker unit 12 that coincides with the corner corner is the origin. In such a state, when a plurality of reference marker units 12 are photographed by the camera 14 from a certain direction, the markers 20 on at least one surface of each reference marker unit 12 are reflected. Since the plurality of markers 20 included in one reference marker unit 12 have the same origin in common, for example, the origins of the plurality of markers 20 do not shift in one reference marker unit 12, and the markers It is possible to obtain a measurement result in which the deviation between 20 is suppressed. Further, the reference marker unit 12 can arrange its vertices (or sides) so as to coincide with the vertices (or sides) in space. Therefore, the target position in the space and the origin of the reference marker unit 12 can be easily matched. As a result, the deviation between the origin of the reference marker unit 12 and the target position of the object to be measured is suppressed, and a more accurate measurement result can be obtained.

一方、1つの支持体に1つのマーカが配置され、マーカの表面における認識コード部の中心が計測原点となる従来のマーカユニットでは、このようなズレの影響を抑制した計測は困難である。図11(B)に、図11(A)と同じ箇所に、従来のマーカユニット100が配置された状態の模式図を示す。マーカユニット100は、それぞれが、表面における認識コード部の中心を原点としている。このため、計測対象である空間の目的位置を、例えば、隅部の角とした場合、それとマーカユニット100の計測限定にはズレが生じる。また、カメラで撮影した画像において、カメラの位置によっては、カメラに写らないマーカが発生する。そうなると、カメラに写らないマーカは計測ができないため、位置情報を得ることができない。これに対して、基準マーカユニット12は、どの方向からカメラ14で撮影しても少なくともいずれかの面のマーカ20が写り、かつ、1つの基準マーカユニット12が同一の原点の複数のマーカ20を有することで、このような問題を、容易に解消することができる。 On the other hand, with a conventional marker unit in which one marker is arranged on one support and the center of the recognition code portion on the surface of the marker is the measurement origin, it is difficult to perform measurement in which the influence of such deviation is suppressed. FIG. 11B shows a schematic view of a state in which the conventional marker unit 100 is arranged at the same position as in FIG. 11A. Each of the marker units 100 has its origin at the center of the recognition code portion on the surface. Therefore, when the target position of the space to be measured is, for example, the corner of the corner, there is a discrepancy between it and the measurement limitation of the marker unit 100. Further, in the image taken by the camera, a marker that does not appear in the camera may occur depending on the position of the camera. In that case, the marker that does not appear in the camera cannot be measured, so that the position information cannot be obtained. On the other hand, in the reference marker unit 12, at least one of the markers 20 on any surface is captured regardless of the direction in which the camera 14 is photographed, and one reference marker unit 12 captures a plurality of markers 20 having the same origin. By having it, such a problem can be easily solved.

また、従来の1つの支持体に1つのマーカのみを有するマーカユニットは、対象物に対するマーカの配置のさせ方によっては、カメラで撮影した場合に、カメラに写るマーカと写らないマーカが発生することがある。そうすると、カメラに写らないマーカは計測ができないため、位置情報を得ることができない。そこで、実施の形態の基準マーカユニット12は、支持体24の2つ以上の面に、それぞれ、マーカ20を配置することで、少なくともいずれかのマーカ20がカメラに写るため、例えば、カメラ14の配置の自由度を高めることができる。 Further, in the conventional marker unit having only one marker on one support, depending on how the markers are arranged with respect to the object, some markers are captured by the camera and some are not captured by the camera. There is. Then, since the marker that does not appear in the camera cannot be measured, the position information cannot be obtained. Therefore, in the reference marker unit 12 of the embodiment, by arranging the markers 20 on each of the two or more surfaces of the support 24, at least one of the markers 20 is captured by the camera. Therefore, for example, the camera 14 The degree of freedom of placement can be increased.

なお、カメラ14はモーションキャプチャシステム10の必須の構成ではない。静止状態の基準マーカと動きのある参照マーカとを含む取得タイミングの異なる画像が供給されれば、カメラ自体はシステム構成から不要である。 The camera 14 is not an essential configuration of the motion capture system 10. If images with different acquisition timings including a stationary reference marker and a moving reference marker are supplied, the camera itself is unnecessary from the system configuration.

以上、実施形態および実施例を参照して、本発明を説明したが、本発明は、上記発明のスコープ内で当業者が理解し得る様々な変更をすることができる。また、本明細書で引用する特許文献および学術文献等の文献に記載の内容は、全て引用により本明細書に取り込むものとする。 Although the present invention has been described above with reference to the embodiments and examples, the present invention can be modified in various ways that can be understood by those skilled in the art within the scope of the invention. In addition, all the contents described in documents such as patent documents and academic documents cited in this specification shall be incorporated into this specification by citation.

10 モーションキャプチャシステム
11 被検者
12 基準マーカユニット
13 参照マーカ
14 カメラ
15 画像処理装置
20、20A,20B マーカ
24、24A,24B,24C,24D 支持体
21 認識コード部
22 VMP部
23 検出基準部
24、24A,24B,24C,24D 支持体
10 Motion capture system 11 Subject 12 Reference marker unit 13 Reference marker 14 Camera 15 Image processing device 20, 20A, 20B Marker 24, 24A, 24B, 24C, 24D Support 21 Recognition code unit 22 VMP unit 23 Detection reference unit 24 , 24A, 24B, 24C, 24D support

Claims (15)

撮像空間内に配置された基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを含む画像であって、前記画像中の前記基準マーカの画像に基づいて、前記基準マーカに基づいて設定される基準座標空間内の、撮像手段の位置を示す基準座標値を求める基準座標値特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記基準座標空間内での、前記撮像手段に対する前記参照マーカの相対的な位置を示す相対参照座標値を求める相対参照座標値特定手段と、
前記撮像手段の前記基準座標値と前記参照マーカの前記相対参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める位置特定手段と、
を備えるモーションキャプチャシステム。
It is an image including a reference marker arranged in the imaging space and a reference marker arranged in the subject to be motion-captured, and is set based on the reference marker based on the image of the reference marker in the image. A reference coordinate value specifying means for obtaining a reference coordinate value indicating the position of the imaging means in the reference coordinate space to be obtained, and
A relative reference coordinate value specifying means for obtaining a relative reference coordinate value indicating a relative position of the reference marker with respect to the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A position specifying means for obtaining the position of the reference marker in the reference coordinate space based on the reference coordinate value of the imaging means and the relative reference coordinate value of the reference marker.
Motion capture system with.
前記画像中の前記基準マーカの画像に基づいて、前記基準座標空間内の、前記撮像手段の姿勢を示す基準姿勢を求める基準姿勢特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記基準座標空間内での、前記撮像手段に対する前記参照マーカの姿勢を示す相対参照姿勢を求める相対参照姿勢特定手段と、
前記撮像手段の前記基準姿勢と前記参照マーカの前記相対参照姿勢とに基づいて、前記参照マーカの前記基準座標空間内の姿勢を求める姿勢特定手段と、
を備える請求項1に記載のモーションキャプチャシステム。
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A relative reference posture specifying means for obtaining a relative reference posture indicating the posture of the reference marker with respect to the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A posture specifying means for obtaining the posture of the reference marker in the reference coordinate space based on the reference posture of the imaging means and the relative reference posture of the reference marker.
The motion capture system according to claim 1.
撮像空間内に配置された基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを含む画像であって、前記画像中の前記基準マーカの画像に基づいて、前記基準マーカに基づいて設定される基準座標空間内の、撮像手段の位置を示す基準座標値を求める基準座標値特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記参照マーカに基づいて設定される参照座標空間内の、前記撮像手段の位置を示す参照座標値を求める参照座標値特定手段と、
前記撮像手段の前記基準座標値と前記参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める位置特定手段と、
を備えるモーションキャプチャシステム。

It is an image including a reference marker arranged in the imaging space and a reference marker arranged in the subject to be motion-captured, and is set based on the reference marker based on the image of the reference marker in the image. A reference coordinate value specifying means for obtaining a reference coordinate value indicating the position of the imaging means in the reference coordinate space to be obtained, and
Based on the image of the reference marker in the image, the reference coordinate value specifying means for obtaining the reference coordinate value indicating the position of the imaging means in the reference coordinate space set based on the reference marker, and
A position specifying means for obtaining the position of the reference marker in the reference coordinate space based on the reference coordinate value and the reference coordinate value of the imaging means.
Motion capture system with.

前記画像中の前記基準マーカの画像に基づいて、前記基準座標空間内の、前記撮像手段の姿勢を示す基準姿勢を求める基準姿勢特定手段と、
前記画像中の前記参照マーカの画像に基づいて、前記参照座標空間内の、前記撮像手段の姿勢を示す参照姿勢を求める参照姿勢特定手段と、
前記撮像手段の前記基準姿勢と前記参照姿勢とに基づいて、前記参照マーカの前記基準座標空間内の姿勢を求める姿勢特定手段と、
を備える請求項3に記載のモーションキャプチャシステム。
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A reference posture specifying means for obtaining a reference posture indicating the posture of the imaging means in the reference coordinate space based on the image of the reference marker in the image.
A posture specifying means for obtaining the posture of the reference marker in the reference coordinate space based on the reference posture and the reference posture of the imaging means.
The motion capture system according to claim 3.
前記基準マーカは、多面体と、該多面体の複数の面に配置された複数のマーカを備える、
請求項1から4のいずれか1項に記載のモーションキャプチャシステム。
The reference marker includes a polyhedron and a plurality of markers arranged on a plurality of faces of the polyhedron.
The motion capture system according to any one of claims 1 to 4.
前記基準マーカを構成する複数のマーカは、実質的に同一の原点を有する複数の座標空間を定義する、
請求項5に記載のモーションキャプチャシステム。
The plurality of markers constituting the reference marker define a plurality of coordinate spaces having substantially the same origin.
The motion capture system according to claim 5.
前記基準マーカを構成する複数のマーカは、それぞれ異なる識別部を有し、前記撮像手段が撮像した画像により識別可能である、
請求項5または6に記載のモーションキャプチャシステム。
The plurality of markers constituting the reference marker have different identification units, and can be identified by the image captured by the imaging means.
The motion capture system according to claim 5 or 6.
前記基準マーカが前記撮像空間内に複数配置されている、
請求項1から7のいずれか1項に記載のモーションキャプチャシステム。
A plurality of the reference markers are arranged in the imaging space.
The motion capture system according to any one of claims 1 to 7.
前記参照マーカの前記基準座標空間内の異なったタイミングでの位置の履歴を求める手段をさらに備える、
請求項1から8のいずれか1項に記載のモーションキャプチャシステム。
Further provided is a means for obtaining a history of the positions of the reference markers at different timings in the reference coordinate space.
The motion capture system according to any one of claims 1 to 8.
前記撮像手段の位置と姿勢は固定であり、前記基準座標値特定手段は、少なくとも1回、前記基準座標値を求め、前記位置特定手段は、同一の前記基準座標値と個々の前記相対参照座標値または前記参照座標値とに基づいて、前記参照マーカの前記基準座標空間内の位置を求める、
請求項1から9のいずれか1項に記載のモーションキャプチャシステム。
The position and orientation of the imaging means are fixed, the reference coordinate value specifying means obtains the reference coordinate value at least once, and the position specifying means obtains the same reference coordinate value and the individual relative reference coordinates. Find the position of the reference marker in the reference coordinate space based on the value or the reference coordinate value.
The motion capture system according to any one of claims 1 to 9.
前記撮像手段の位置は可変であり、前記基準座標値特定手段と前記相対参照座標値特定手段または前記参照座標値特定手段とは、毎回、前記基準座標値と前記相対参照座標値または前記参照座標値とを求める、
請求項1から9のいずれか1項に記載のモーションキャプチャシステム。
The position of the imaging means is variable, and the reference coordinate value specifying means and the relative reference coordinate value specifying means or the reference coordinate value specifying means each time the reference coordinate value and the relative reference coordinate value or the reference coordinate. Find the value
The motion capture system according to any one of claims 1 to 9.
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得し、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の撮像位置を示す基準座標値を求め、
参照マーカの画像に基づいて、参照マーカの撮像位置に対する相対的位置を示す相対参照座標値を求め、
基準座標値と相対参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める、
モーションキャプチャ方法。
An image obtained by imaging the reference marker and the reference marker placed on the subject to be motion-captured is acquired.
Based on the image of the reference marker, the reference coordinate value indicating the imaging position in the reference coordinate space set based on the reference marker is obtained.
Based on the image of the reference marker, the relative reference coordinate value indicating the relative position of the reference marker with respect to the imaging position is obtained.
Find the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the relative reference coordinate value.
Motion capture method.
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得し、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求め、
参照マーカの画像に基づいて、参照マーカに基づいて設定される参照座標空間内の、撮像位置を示す参照座標値を求め、
基準座標値と参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める、
モーションキャプチャ方法。
An image obtained by imaging the reference marker and the reference marker placed on the subject to be motion-captured is acquired.
Based on the image of the reference marker, the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker is obtained.
Based on the image of the reference marker, the reference coordinate value indicating the imaging position in the reference coordinate space set based on the reference marker is obtained.
Find the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the reference coordinate value.
Motion capture method.
コンピュータに、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得する処理、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求める処理、
参照マーカの画像に基づいて、撮像位置に対する参照マーカの相対的位置を示す相対参照座標値を求める処理、
基準座標値と相対参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める処理、
を実行させるプログラム。
On the computer
A process of acquiring an image obtained by imaging a reference marker and a reference marker placed on a subject to be motion-captured.
A process of obtaining the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
A process of obtaining a relative reference coordinate value indicating the relative position of the reference marker with respect to the imaging position based on the image of the reference marker.
The process of finding the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the relative reference coordinate value,
A program that executes.
コンピュータに、
基準マーカとモーションキャプチャ対象の被検体に配置された参照マーカとを撮像して得た画像を取得する処理、
基準マーカの画像に基づいて、基準マーカに基づいて設定される基準座標空間内の、撮像位置の基準座標値を求める処理、
参照マーカの画像に基づいて、参照マーカに基づいて設定される参照座標空間内の撮像位置の座標を示す参照座標値を求める処理、
基準座標値と参照座標値とに基づいて、参照マーカの基準座標空間内の座標を求める処理、
を実行させるプログラム。
On the computer
A process of acquiring an image obtained by imaging a reference marker and a reference marker placed on a subject to be motion-captured.
A process of obtaining the reference coordinate value of the imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
A process of obtaining a reference coordinate value indicating the coordinates of an imaging position in the reference coordinate space set based on the reference marker based on the image of the reference marker.
The process of finding the coordinates in the reference coordinate space of the reference marker based on the reference coordinate value and the reference coordinate value,
A program that executes.
JP2019226853A 2019-12-16 2019-12-16 Motion capture system, motion capturing method and program Pending JP2021096607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019226853A JP2021096607A (en) 2019-12-16 2019-12-16 Motion capture system, motion capturing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019226853A JP2021096607A (en) 2019-12-16 2019-12-16 Motion capture system, motion capturing method and program

Publications (1)

Publication Number Publication Date
JP2021096607A true JP2021096607A (en) 2021-06-24

Family

ID=76431994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019226853A Pending JP2021096607A (en) 2019-12-16 2019-12-16 Motion capture system, motion capturing method and program

Country Status (1)

Country Link
JP (1) JP2021096607A (en)

Similar Documents

Publication Publication Date Title
JP5746477B2 (en) Model generation device, three-dimensional measurement device, control method thereof, and program
CN106643699B (en) Space positioning device and positioning method in virtual reality system
JP4708752B2 (en) Information processing method and apparatus
EP3067861B1 (en) Determination of a coordinate conversion parameter
JP6011548B2 (en) Camera calibration apparatus, camera calibration method, and camera calibration program
US9161027B2 (en) Method and apparatus for providing camera calibration
JP4976756B2 (en) Information processing method and apparatus
WO2016199605A1 (en) Image processing device, method, and program
JP6503906B2 (en) Image processing apparatus, image processing method and image processing program
CN110910459B (en) Camera device calibration method and device and calibration equipment
JP2013257349A (en) Camera calibration result verification device and method
JP2022097699A (en) Input device, input method of input device, output device and output method of output device
JP2005256232A (en) Method, apparatus and program for displaying 3d data
US11237057B2 (en) Temperature processing apparatus and temperature processing method
JP6922348B2 (en) Information processing equipment, methods, and programs
JP2017151026A (en) Three-dimensional information acquiring device, three-dimensional information acquiring method, and program
JP6640294B1 (en) Mixed reality system, program, portable terminal device, and method
Huttunen et al. A monocular camera gyroscope
WO2021070415A1 (en) Correction parameter calculation method, displacement amount calculation method, correction parameter calculation device, and displacement amount calculation device
JP2005241323A (en) Imaging system and calibration method
JP5726024B2 (en) Information processing method and apparatus
JP6109213B2 (en) Information processing apparatus and method, program
CN106872990B (en) A kind of Three dimensional Targets precise positioning and method for tracing
JP2021096607A (en) Motion capture system, motion capturing method and program
WO2019100216A1 (en) 3d modeling method, electronic device, storage medium and program product