JP5297677B2 - Detection apparatus and method, program, recording medium, and simulation system - Google Patents
Detection apparatus and method, program, recording medium, and simulation system Download PDFInfo
- Publication number
- JP5297677B2 JP5297677B2 JP2008099994A JP2008099994A JP5297677B2 JP 5297677 B2 JP5297677 B2 JP 5297677B2 JP 2008099994 A JP2008099994 A JP 2008099994A JP 2008099994 A JP2008099994 A JP 2008099994A JP 5297677 B2 JP5297677 B2 JP 5297677B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- golf ball
- feature points
- feature point
- rotation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
本発明は、検出装置および方法、プログラム、記録媒体、並びにシミュレーションシステムに関し、特に、どのようなボールであっても、正確に回転を検出することができるようにする検出装置および方法、プログラム、記録媒体、並びにシミュレーションシステムに関する。 The present invention relates to a detection apparatus and method, a program, a recording medium, and a simulation system, and in particular, a detection apparatus and method, program, and recording that can accurately detect rotation of any ball. The present invention relates to a medium and a simulation system.
近年、スポーツクラブなどにおいて、ゴルフやテニスなどのレッスンの需要が増加している。なかでもゴルフの練習は、広大な敷地が必要となり、例えば都会でゴルフのレッスンを行うことは困難であった。 In recent years, demand for lessons such as golf and tennis is increasing in sports clubs and the like. In particular, golf practice required a large site, and for example, it was difficult to conduct golf lessons in the city.
そこで、例えば、ゴルフクラブでショットした瞬間のゴルフボールをカメラで撮像し、撮像された画像データから得られたゴルフボールの速度等の各種データを用いてゴルフボールの弾道軌道や飛距離を計算してスクリーンにゴルフボールの弾道を表示するシミュレーションシステムが開発されている。 Therefore, for example, a golf ball shot with a golf club is captured with a camera, and the ballistic trajectory and flight distance of the golf ball are calculated using various data such as the velocity of the golf ball obtained from the captured image data. A simulation system that displays the trajectory of a golf ball on a screen has been developed.
また、空力特性を考慮した弾道、飛距離などを計算するシミュレーション装置も提案されている(例えば、特許文献1参照)。 In addition, a simulation apparatus that calculates a trajectory, a flight distance, and the like considering aerodynamic characteristics has also been proposed (see, for example, Patent Document 1).
さらに、近年、ゴルフクラブでショットした瞬間のゴルフボールの画像からゴルフボールの回転の方向、回転数などを検出し、フックやスライスなどの弾道を計算するシミュレーションシステムも開発されている。 Further, in recent years, a simulation system has been developed that detects the direction and number of rotation of a golf ball from the image of the golf ball shot with a golf club and calculates the trajectory of a hook or slice.
しかしながら、従来の技術によりゴルフボールの回転の方向、回転数などを検出するためには、画像の中でのボールの回転方向、回転した角度など特定するために、予め定められたマークや模様の付されたゴルフボールを用いる必要があった。 However, in order to detect the direction of rotation and the number of rotations of a golf ball by conventional techniques, in order to specify the rotation direction and the angle of rotation of the ball in an image, It was necessary to use the attached golf ball.
このため、例えば、ユーザが気に入っているボールなどを自由に使って、シミュレーションシステムを利用することができないという課題があった。 Therefore, for example, there is a problem that the simulation system cannot be used by freely using a ball that the user likes.
本発明はこのような状況に鑑みてなされたものであり、どのようなボールであっても、正確に回転を検出することができるようにするものである。 The present invention has been made in view of such a situation, and makes it possible to accurately detect the rotation of any ball.
本発明の第1の側面は、移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置であって、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置である。 A first aspect of the present invention is a detection device that detects rotation of the golf ball based on an image obtained by imaging a moving golf ball, the first image obtained by imaging the golf ball at a first time, And a plurality of images constituting part of the image of the surface of the golf ball by detecting pixels that are edges in each of the second images obtained by capturing the golf ball at a second time after the first time. A feature point extracting means for extracting the feature points, a three-dimensional coordinate position of the plurality of feature points extracted in the first image, and a three-dimensional coordinate position of the plurality of feature points extracted in the second image The Euler angle specifying means for specifying the Euler angle representing the positional relationship between the first image and the second image based on the distance to each of the first image, and the first image corresponding to the specified Euler angle. A predetermined feature point of the extracted feature points in the rotated first image, and a predetermined feature point of the extracted feature points in the second image. Correlation calculating means for calculating a correlation value by an image correlation method, and correlation for associating a feature point of the first image with a feature point of the second image based on the calculated correlation value Means for detecting the amount and direction of rotation of the golf ball based on the associated feature points of the first image and the second image.
前記第1の時刻において発光する第1のストロボと、前記第2の時刻において発光する第2のストロボと、前記第1の時刻および第2の時刻において前記ゴルフボールを被写体として撮像する1つのカメラとをさらに備え、前記第1画像に対応する前記ゴルフボールの画像および前記第1画像に対応する前記ゴルフボールの画像が、前記1つのカメラにより撮像されるようにすることができる。 A first strobe that emits light at the first time, a second strobe that emits light at the second time, and one camera that images the golf ball as a subject at the first time and the second time The image of the golf ball corresponding to the first image and the image of the golf ball corresponding to the first image can be captured by the one camera.
前記オイラー角特定手段は、与えられたパラメータに基づいて、前記第1画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれを、前記パラメータに対応するオイラー角の分だけ回転させて前記第2の画像上にプロットする特徴点回転手段と、前記与えられたパラメータのうち、前記回転された前記第1画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれと、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて計算される評価値が最も高くなる前記パラメータを特定するパラメータ特定手段とを備えるようにすることができる。 The Euler angle specifying means rotates each of the three-dimensional coordinate positions of the extracted feature points in the first image by an Euler angle corresponding to the parameter based on a given parameter. Feature point rotation means for plotting on the second image, each of the three-dimensional coordinate positions of the plurality of feature points extracted in the rotated first image among the given parameters, A parameter specifying unit that specifies the parameter having the highest evaluation value calculated based on the distance from each of the three-dimensional coordinate positions of the extracted feature points in the second image; it can.
本発明の第1の側面は、移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置の検出方法であって、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出し、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定し、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算し、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行うステップを含み、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出方法である。 According to a first aspect of the present invention, there is provided a detection method for detecting a rotation of the golf ball based on an image of a moving golf ball, wherein the golf ball is imaged at a first time. In each of one image and a second image obtained by imaging the golf ball at a second time after the first time, a part of the image on the surface of the golf ball is detected by detecting pixels that are edges. A plurality of constituent feature points are extracted, and three-dimensional coordinate positions of the extracted feature points in the first image and three-dimensional coordinate positions of the extracted feature points in the second image, respectively. The Euler angle representing the positional relationship between the first image and the second image is identified based on the distance to the first image, the first image is rotated by the identified Euler angle, and the rotated first 1 stroke A correlation value between a predetermined feature point of the plurality of extracted feature points and a predetermined feature point of the plurality of extracted feature points in the second image is calculated by an image correlation method. And a step of associating a feature point of the first image with a feature point of the second image based on the calculated correlation value, and the feature of the associated first image In this detection method, the amount and direction of rotation of the golf ball are detected based on a point and a feature point of the second image.
本発明の一側面は、コンピュータを、移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置であって、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置として機能させるプログラムである。 One aspect of the present invention is a detection device that detects rotation of the golf ball based on an image obtained by imaging a moving golf ball, and the first image obtained by imaging the golf ball at a first time. , And a second image obtained by imaging the golf ball at a second time after the first time, by detecting a pixel serving as an edge, a part of the image of the surface of the golf ball is formed Feature point extracting means for extracting a plurality of feature points, three-dimensional coordinate positions of the plurality of feature points extracted in the first image, and three-dimensional coordinates of the plurality of feature points extracted in the second image An Euler angle specifying means for specifying an Euler angle representing a positional relationship between the first image and the second image based on a distance from each of the positions; and an amount corresponding to the specified Euler angle. One image is rotated, a predetermined feature point among the plurality of feature points extracted in the rotated first image, and a predetermined one of the plurality of feature points extracted in the second image. Correlation calculation means for calculating a correlation value with a feature point by an image correlation method, and correspondence between the feature point of the first image and the feature point of the second image based on the calculated correlation value A detecting device for detecting the amount of rotation and the direction of rotation of the golf ball based on the feature points of the first image and the feature points of the second image that are associated with each other. It is a program that makes it work.
本発明の第1の側面においては、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点が抽出され、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角が特定され、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値が、画像相関法により演算され、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けけが行われ、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向が検出される。 In the first aspect of the present invention, in each of a first image obtained by imaging the golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. The plurality of feature points constituting a part of the image of the surface of the golf ball are extracted by detecting pixels as edges, and the three-dimensional coordinate positions of the extracted feature points in the first image And an Euler angle representing a positional relationship between the first image and the second image based on a distance from each of the three-dimensional coordinate positions of the plurality of feature points extracted in the second image, The first image is rotated by an amount corresponding to the specified Euler angle, a predetermined feature point among the plurality of extracted feature points in the rotated first image, and the extracted in the second image. The A correlation value with a predetermined feature point among the number of feature points is calculated by an image correlation method, and based on the calculated correlation value, the feature point of the first image and the feature of the second image Association with points is performed, and the amount of rotation and the direction of rotation of the golf ball are detected based on the feature points of the first image and the feature points of the second image that are associated with each other.
本発明の第2の側面は、打撃されたゴルフボールを第1の時刻に撮像した第1画像および前記ゴルフボールを前記第1の時刻より後の第2の時刻に撮像した第2画像に基づいて検出される前記ゴルフボールの速度と前記ゴルフボールの回転とに基づいて、前記打撃された後の前記ゴルフボールの軌跡を計算して前記軌跡に従って飛ぶゴルフボールの画像をスクリーンに表示するシミュレーション装置であって、前記第1画像および前記第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置を有するシミュレーションシステムである。 The second aspect of the present invention is based on a first image obtained by imaging a hit golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. A simulation device for calculating a trajectory of the golf ball after being hit based on the detected velocity of the golf ball and the rotation of the golf ball and displaying an image of the golf ball flying according to the trajectory on the screen A feature point extraction that extracts a plurality of feature points constituting a part of the image of the surface of the golf ball by detecting pixels that are edges in each of the first image and the second image. Means, three-dimensional coordinate positions of the plurality of feature points extracted in the first image, and three-dimensional coordinate positions of the plurality of feature points extracted in the second image. Euler angle specifying means for specifying an Euler angle representing a positional relationship between the first image and the second image based on a distance from each of the first image, and the first image corresponding to the specified Euler angle. A predetermined feature point of the plurality of extracted feature points in the rotated first image and a predetermined feature point of the plurality of extracted feature points in the second image Correlation calculating means for calculating a correlation value by an image correlation method, and correlation for associating a feature point of the first image with a feature point of the second image based on the calculated correlation value A simulation system comprising: a detecting device configured to detect a rotation amount and a rotation direction of the golf ball based on the associated feature point of the first image and the feature point of the second image. is there.
本発明の第2の側面においては、前記第1画像および前記第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置によりゴルフボールの回転が検出される。 In the second aspect of the present invention, a plurality of feature points constituting a part of the image of the surface of the golf ball by detecting pixels serving as edges in each of the first image and the second image. A feature point extracting means for extracting a plurality of feature points extracted from the first image, and a three-dimensional coordinate position of the plurality of feature points extracted from the second image. The Euler angle specifying means for specifying the Euler angle representing the positional relationship between the first image and the second image based on the distance of the first image, and rotating the first image by the specified Euler angle, A correlation value between a predetermined feature point of the plurality of extracted feature points in the rotated first image and a predetermined feature point of the plurality of feature points extracted in the second image, Image correlation Correlation calculating means for calculating by the above, and associating means for associating the feature point of the first image with the feature point of the second image based on the calculated correlation value, Based on the feature point of the attached first image and the feature point of the second image, the rotation of the golf ball is detected by a detection device that detects the amount and direction of rotation of the golf ball.
本発明によれば、どのようなボールであっても、正確に回転を検出することができる。 According to the present invention, rotation can be accurately detected for any ball.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.
本発明の第1の側面の検出装置は、移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置(例えば、図4の回転検出部72を有する図1のセンシングブロック22)であって、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段(例えば、図5の特徴点抽出部91)と、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段(例えば、図5の簡易回転部92)と、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段(例えば、図19のステップS91乃至S94の処理を実行する図5の特徴点対応制御部93)と、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段(例えば、図19のステップS95の処理を実行する図5の特徴点対応制御部93)とを備え、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する。
The detection device according to the first aspect of the present invention is a detection device that detects the rotation of the golf ball based on an image of a moving golf ball (for example, the sensing of FIG. 1 having the
移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置(例えば、図4の回転検出部72を有する図1のセンシングブロック22)の検出方法であって、前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出し(例えば、図16のステップS31の処理)、前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定し(例えば、図16のステップS32の処理)、前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算し(例えば、図19のステップS91乃至S94の処理)、前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う(例えば、図19のステップS95の処理)ステップを含み、前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する。
A detection method of a detection device (for example, the
以下、図面を参照して、本発明の実施の形態について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施の形態に係るシミュレーションシステム10の例を示す図である。シミュレーションシステム10は、例えば、ゴルフの練習に用いられるようになされており、スポーツクラブなどに設置される。 FIG. 1 is a diagram showing an example of a simulation system 10 according to an embodiment of the present invention. The simulation system 10 is used for golf practice, for example, and is installed in a sports club or the like.
シミュレーションシステム10においては、ユーザがゴルフクラブでショットした直後のゴルフボールの画像をセンシングブロック22により撮像して解析し、ゴルフボールの弾道を計算する。そして、例えば、ゴルフコースなどの画像などとともに、計算された弾道で飛ぶゴルフボールの画像をスクリーン21に表示するようになされている。
In the simulation system 10, an image of a golf ball immediately after a user shots with a golf club is captured and analyzed by the
シミュレーションシステム10においては、実際のゴルフのプレイに用いられるゴルフクラブと、ゴルフボールが使用され、ユーザは、実際にゴルフ場でゴルフのプレイをするように、ゴルフクラブでゴルフボールをショットする。すなわち、シミュレーションシステム10を利用することで、例えば、限られた空間であっても、ユーザは、あたかもゴルフ場でプレイしているような体験をすることが可能となる。 In the simulation system 10, a golf club and a golf ball used for actual golf play are used, and the user shots the golf ball with the golf club so as to actually play golf on the golf course. That is, by using the simulation system 10, for example, even in a limited space, the user can experience as if he / she is playing on a golf course.
なお、シミュレーションシステム10において用いられるゴルフボールは、特別なマーク、模様、着色などが付されたボールである必要はなく、広く一般に販売されているゴルフボールなどとされる。 Note that the golf ball used in the simulation system 10 does not need to be a ball with a special mark, pattern, coloring, or the like, and is a golf ball that is widely sold generally.
図2は、センシングブロック22の構成例を示すブロック図である。同図に示されるように、センシングブロック22は、CCDカメラなどを備えたセンサ部41が、データ処理部42に接続されて構成されている。
FIG. 2 is a block diagram illustrating a configuration example of the
センサ部41は、例えば、2台のCCDカメラであって、第1カメラと第2カメラとを有する構成とされ、同図の例では、第1カメラのレンズ51と第2カメラのレンズ52が示されている。第1カメラは、例えば、シミュレーションシステム10の打席に組み込まれたティー(tee)などに接続されたセンサから出力される信号などに基づいて、ゴルフボールがゴルフクラブでショットされた時のゴルフボールの画像を撮像するようになされている。第2カメラは、第1カメラによる撮像がなされた後、所定の時間(例えば、数ミリ秒)だけ後のゴルフボールの画像を撮像するようになされている。
The
センサ部41の第1のカメラで撮像された画像のデータと、第2のカメラで撮像された画像のデータは、データ処理部42に供給されるようになされている。
Data of an image captured by the first camera of the
データ処理部42は、例えば、プロセッサ、メモリなどを有する構成とされた、予め記憶されているプログラムなどのソフトウェアに対応する処理を実行するようになされている。データ処理部42は、第1のカメラで撮像された画像のデータと、第2のカメラで撮像された画像のデータとに基づいて、ゴルフボールの速度、並びに単位時間当たりのゴルフボールの回転数および回転方向を算出し、ゴルフボールの速度、並びに単位時間当たりのゴルフボールの回転数および回転方向に基づいて、弾道を計算してスクリーン21に表示すべき画像データを生成するようになされている。
The
図3は、データ処理部42のプログラムなどのソフトウェアの機能的構成例を示すブロック図である。
FIG. 3 is a block diagram illustrating a functional configuration example of software such as a program of the
同図の撮像制御部61は、センサ部41によるゴルフボールの撮像を制御するようになされており、センサ部41の第1カメラにより、ゴルフクラブでショットされた時のゴルフボールの画像である第1画像を撮像させ、第2カメラにより、第1カメラによる撮像がなされた後、所定の時間だけ後のゴルフボールの画像である第2画像を撮像させる。
The
撮像制御部61は、センサ部41により撮影された第1画像のデータと第2画像のデータを画像解析部62に出力する。
The
画像解析部62は、第1画像のデータと、第2画像のデータとに基づいて、後述するように、ゴルフボールの速度、並びに単位時間当たりのゴルフボールの回転数および回転方向を算出するようになされている。そして、画像解析部62は、ゴルフボールの速度、並びに単位時間当たりのゴルフボールの回転数および回転方向に基づいて、ゴルフボールの動きを特定し、時間の経過に伴うゴルフボールの位置を、例えば、座標値として演算するようになされている。
Based on the data of the first image and the data of the second image, the
シミュレーション画像生成部63は、画像解析部62により演算された時間の経過に伴うゴルフボールの位置に基づいて、弾道を特定し、その弾道に対応するゴルフボールの画像の表示データを生成する。そして、シミュレーション画像生成部63は、ゴルフボールの画像を、ゴルフコースの画像などと合成し、スクリーン21に表示すべき画像データを生成するようになされている。
The simulation
すなわち、画像解析部62により、ショットされた後、実際にゴルフボールが飛んでいく軌跡が予測され、シミュレーション画像生成部63により、その軌跡に従って飛ぶボールの画像が生成されてスクリーンに表示されることになる。
That is, a trajectory in which a golf ball actually flies after being shot is predicted by the
図4は、画像解析部62の詳細な構成例を示すブロック図である。同図に示されるように、画像解析部62は、速度検出部71、回転検出部72、および動き演算部73により構成されている。
FIG. 4 is a block diagram illustrating a detailed configuration example of the
速度検出部71は、例えば、第1画像と第2画像とに基づいて、単位時間当たりのゴルフボールの移動距離を特定し、ゴルフクラブでショットされたゴルフボールの速度を算出(検出)する機能ブロックとされる。なお、速度検出部71は、例えば、従来のゴルフのシミュレーションシステムなどに用いられているものと同様のものを利用することが可能である。
For example, the
回転検出部72は、第1画像と第2画像とに基づいて、単位時間当たりのゴルフボールの回転量と回転方向を特定し、ゴルフクラブでショットされたゴルフボールの単位時間当たりの回転数、および回転方向を表す数値などを含む回転に関する情報を検出するための機能ブロックとされる。なお、回転検出部72の詳細については、図5を参照して後述する。
The
動き演算部73は、速度検出部71により検出されたゴルフボールの速度、および回転検出部72により検出されたゴルフボールの回転に関する情報に基づいて、例えば、ショットされたゴルフボールが飛んでいく軌跡(弾道)を計算する。動き演算部73は、例えば、所定の時刻におけるゴルフボールの位置を座標値として特定するなどして時間の経過に伴うゴルフボールの位置を予測してゴルフボールの弾道を計算するようになされている。なお、動き演算部73は、例えば、従来のゴルフのシミュレーションシステムなどに用いられているものと同様のものを利用することが可能である。
The
図5は、回転検出部72の詳細な構成例を示すブロック図である。同図に示されるように、回転検出部72は、特徴点抽出部91、簡易回転部92、特徴点対応制御部93、および回転数検出制御部94により構成されている。
FIG. 5 is a block diagram illustrating a detailed configuration example of the
特徴点抽出部91は、第1画像および第2画像において、エッジを検出する。ここで、エッジは、例えば、画像の中で画素の輝度値の変化が予め設定された閾値より大きい領域とされる。特徴点抽出部91は、第1画像において検出された複数のエッジを、それぞれ第1画像の特徴点として記憶し、第2画像において検出された複数のエッジを、それぞれ第2画像の特徴点として記憶するようになされている。
The feature
図6は、ゴルフボールの画像の例であり、ゴルフボールの画像から検出される特徴点の例を説明するための図である。同図に示されるゴルフボールには、黒い2つの三角形と黒い1つの四角形により構成されるマークであって、アルファベット「F」の文字を図形化したマーク(以下、単にマークと称する)が付されている。図6の画像を特徴点抽出部91により解析させると、マークの輪郭を構成する画素を含む領域がエッジとして検出され、これらのエッジであって、例えば、図中の小さい矩形で示される領域のそれぞれが特徴点として記憶されることになる。
FIG. 6 is an example of an image of a golf ball, and is a diagram for explaining an example of feature points detected from the image of the golf ball. The golf ball shown in FIG. 1 is a mark composed of two black triangles and one black square, and a mark (hereinafter simply referred to as a mark) in which the letter “F” is made into a graphic. ing. When the image of FIG. 6 is analyzed by the feature
図7は、特徴点が検出された第1画像の例であり、図8は、特徴点が検出された第2画像の例を示している。同図に示されるように、第1画像と第2画像のそれぞれにおいて、マークの輪郭を構成する画素を含む領域(この例では矩形の領域)のそれぞれが特徴点として検出されている。 FIG. 7 shows an example of a first image in which feature points are detected, and FIG. 8 shows an example of a second image in which feature points are detected. As shown in the figure, in each of the first image and the second image, each of the regions (in this example, a rectangular region) including the pixels constituting the outline of the mark is detected as a feature point.
また、図7の第1画像より時間的に後で撮像された図8の第2画像においては、ゴルフクラブでショットされたゴルフボールが回転したことにより、マークの位置が図中右上方向に移動している。 Further, in the second image in FIG. 8 taken after the first image in FIG. 7, the position of the mark moves in the upper right direction in the figure due to the rotation of the golf ball shot with the golf club. doing.
なお、ここでは、説明を簡単にするため、黒い2つの三角形と黒い1つの四角形により構成されるマークの例を各図に示しているが、実際には、広く一般に販売されているゴルフボールに付されたブランド名、メーカ名などを表示する文字列、模様などからなる標章などの輪郭がエッジとして検出され、特徴点となる。また、当然のことながら、本発明では、ゴルフボールの色、ゴルフボールに付された標章の色などの如何により特徴点の検出に不具合が生じることもない。要は、撮像された画像において、エッジとして検出される部分がゴルフボールの表面の一部に存在していればよいのである。 Here, in order to simplify the explanation, examples of marks composed of two black triangles and one black square are shown in each figure. A contour such as a mark including a brand name, a maker name, etc., and a mark made up of a pattern is detected as an edge and becomes a feature point. Further, as a matter of course, in the present invention, there is no problem in detecting the feature points depending on the color of the golf ball, the color of the mark attached to the golf ball, or the like. In short, it is only necessary that a part detected as an edge exists in a part of the surface of the golf ball in the captured image.
すなわち、本発明においては、任意の形状、色彩、模様などにより構成されたゴルフボールの表面の一部分を特徴点として検出することが可能である。 That is, in the present invention, it is possible to detect a part of the surface of the golf ball formed of an arbitrary shape, color, pattern, etc. as a feature point.
簡易回転部92は、第1画像において検出された特徴点のそれぞれを、第2画像において検出された特徴点に近づけるように回転させる。このとき、第1画像において検出された特徴点のそれぞれは、3次元空間において回転させられるようになされている。
The
例えば、図9に示されるように、第1画像において、複数の特徴点からなる特徴点群111が検出されたものとし、図10に示されるように、第2画像において、複数の特徴点からなる特徴点群112が検出されたものとする。なお、図9において特徴点群111は、一点鎖線で示されており、図10において特徴点群112は、点線で示されている。
For example, as illustrated in FIG. 9, it is assumed that a
簡易回転部92は、例えば、特徴点群111の3次元空間内での座標位置を特定し、その特徴点群111の座標位置を所定のオイラー角だけ回転させる。勿論、第1画像と第2画像は、それぞれ2次元の画像であるが、ゴルフボールは、ほぼ真球に近い形状であると考えられるので、2次元の画像の座標位置から、3次元空間内での座標位置を特定することができるのである。
For example, the
簡易回転部92は、例えば、図11に示されるように、ゴルフボールの画像の中心点(cx,cy)と半径rを特定し、図中の点線の矢印で示されるように、与えられたオイラー角に対応する位置に、特徴点群111の3次元空間内での座標位置を移動させる。なお、ここでのオイラー角は、α、β、γの3つのパラメータにより特定されるものとする。例えば、オイラー角が、α=30,β=31,γ=32の場合、z軸周りに30°回転させた後、x軸周りに31°回転させ(このとき回転したz軸をz’軸とする)、さらにz’軸周りに32°回転させることを意味するものとする。なお、ここでは画面に垂直な軸をz軸とし、画面後方から前方向きを正方向とする。
For example, as shown in FIG. 11, the
簡易回転部92は、所定のオイラー角だけ回転させた特徴点群111の3次元空間内での座標位置を、例えば、図12に示されるように、第2画像上にプロットする。そして、第2画像上にプロットされた特徴点群111を構成する特徴点のそれぞれと最も近い位置にある特徴点群112を構成する特徴点との距離を算出する。
The
なお、このとき算出される距離は、それぞれの特徴点の3次元座標位置に基づいて演算されるものとする。 Note that the distance calculated at this time is calculated based on the three-dimensional coordinate position of each feature point.
例えば、第2画像上にプロットされた特徴点群111を構成する特徴点111aと最も近い位置にある特徴点群112を構成する特徴点が、特徴点112aであった場合、特徴点111aと特徴点112aとの距離をd1が算出される。また、第2画像上にプロットされた特徴点群111を構成する特徴点111bと最も近い位置にある特徴点群112を構成する特徴点が、特徴点112cであった場合、特徴点111bと特徴点112cとの距離をd2が算出される。さらに、第2画像上にプロットされた特徴点群111を構成する特徴点111cと最も近い位置にある特徴点群112を構成する特徴点が、特徴点112aであった場合、特徴点111cと特徴点112aとの距離をd3が算出される。
For example, when the feature point constituting the
このように、例えば、特徴点群111を構成する特徴点がn個ある場合、距離d1、d2、d3、・・・dnが算出されることになる。
Thus, for example, when there are n feature points constituting the
そして、簡易回転部92は、算出された距離d1、d2、d3、・・・dnの総和を、さらに算出する。ここで算出される距離d1乃至距離dnの総和を最隣接特徴点間距離と称することにする。
Then, the
簡易回転部92は、与えられたオイラー角に対応する位置に、特徴点群111の3次元空間内での座標位置を移動させて第2画像上にプロットする都度、最隣接特徴点間距離を算出するようになされている。例えば、上述したパラメータα、β、γをそれぞれ、予め設定された所定の範囲内で所定の間隔で変化させて、K通りの位置に特徴点群111を移動(回転)させたものとする。この場合、簡易回転部92は、K個の最隣接特徴点間距離を算出することになる。
The
さらに、簡易回転部92は、算出されたK個の最隣接特徴点間距離のうち、最小となるものを特定するとともに、その最小となった最隣接特徴点間距離に対応するオイラー角を特定する。
Further, the
このようにして、最小の最隣接特徴点間距離のオイラー角を特定し、そのオイラー角に対応する位置に、特徴点群111の3次元空間内での座標位置を移動させて第2画像上にプロットすると、図13に示されるようになる。図13においては、最小の最隣接特徴点間距離のオイラー角の分だけ回転させられた特徴点群111が、図中の小さい矩形で示されている。同図においては、回転させられた特徴点群111が、第2画像のマークとほぼ一致する位置にプロットされている。
In this way, the Euler angle of the minimum distance between nearest feature points is specified, and the coordinate position of the
このように、最小の最隣接特徴点間距離のオイラー角を特定することで、第1画像の時刻から第2画像の時刻に至るまでの、ゴルフボールの回転量を概ね推定することは可能である。しかしながら、この時点では、特徴点群111を構成する特徴点のそれぞれが、特徴点群112を構成する特徴点のうち、どの特徴点に対応するものであるのかが、未だ特定されていない。ゴルフボールの回転量を正確に検出するためには、特徴点群111を構成する特徴点と特徴点群112を構成する特徴点との対応付けが必要となる。この対応付けの処理が、特徴点対応制御部93により、後述するように行われる。
Thus, it is possible to roughly estimate the amount of rotation of the golf ball from the time of the first image to the time of the second image by specifying the Euler angle of the distance between the nearest adjacent feature points. is there. However, at this time, it has not yet been specified which of the feature points constituting the
特徴点対応制御部93は、簡易回転部92により特定された最小の最隣接特徴点間距離のオイラー角の分だけ第1画像を回転させる。簡易回転部92は、第1画像の特徴点群111だけを回転させたのに対して、特徴点対応制御部93は、第1画像そのものを回転させるのである。
The feature point
また、特徴点対応制御部93は、特徴点群111を構成する特徴点のうち、例えば、予め設定された閾値を超える特徴量を有する特徴点を抽出する。この特徴量は、例えば、特徴点の画素の輝度値、特徴点の画素と周辺の画素との輝度値の差分などとされる。
Further, the feature point
特徴点対応制御部93は、閾値を超える特徴量を有する特徴点として抽出された特徴点の中から、互いに距離の離れた特徴点を予め設定された数(例えば、3個)だけさらに抽出する。例えば、特徴点群111を構成する特徴点のうち、閾値を超える特徴量を有する特徴点111a、111f、111m、111r、111tがそれぞれ抽出され、その中で最も特徴量が大きい特徴点111aがさらに抽出され、特徴点111aと最も距離が離れた111mが特定され、特徴点111aおよび特徴点111mのそれぞれから最も距離が離れた特徴点111tが特定されることで、互いに距離の離れた特徴点が3個(今の場合、特徴点111a、特徴点111m、および特徴点111t)さらに抽出されることになる。
The feature point
そして、特徴点対応制御部93は、互いに距離の離れた特徴点として抽出された特徴点群111を構成する(例えば、3個の)特徴点のそれぞれから距離の近い順に、(例えば、3個)特徴点群112を構成する特徴点を抽出する。例えば、特徴点111aと距離の近い特徴点112a、112b、112cが抽出され、特徴点111mと距離の近い特徴点112m、112n、112oが抽出され、特徴点111tと距離の近い特徴点112t、112s、112uが抽出される。なお、このとき特徴点111aと特徴点112aとの距離、特徴点111aと特徴点112aとの距離、・・・特徴点111tと特徴点112uとの距離は、第1画像を最小の最隣接特徴点間距離のオイラー角の分だけ回転させた状態で算出されることになる。
Then, the feature point
さらに、特徴点対応制御部93は、例えば、特徴点111aを中心とする所定大きさの第1画像の領域A1を設定し、特徴点112a、112b、112cを中心とする所定の大きさの第2画像の領域B11、B12、B13を設定する。そして、特徴点対応制御部93は、画像相関法により領域A1と領域B11との相関値、領域A1と領域B12との相関値、領域A1と領域B13との相関値をそれぞれ演算する。このようにして演算された相関値に基づいて、最も高い相関値が得られた第2画像の領域に含まれる特徴点が、特徴点111aに対応する第2画像の特徴点であると推定できる。
Furthermore, the feature point
例えば、上述のように演算した3個の相関値の中で、領域A1と領域B12との相関値が最も高い場合、第1画像の特徴点111aに対応する第2画像の特徴点は、特徴点112bであると推定できる。 For example, when the correlation value between the region A1 and the region B12 is the highest among the three correlation values calculated as described above, the feature point of the second image corresponding to the feature point 111a of the first image is the feature It can be estimated that the point 112b.
同様に、特徴点対応制御部93は、特徴点111mを中心とする所定大きさの第1画像の領域A2を設定し、特徴点112m、112n、112oを中心とする所定の大きさの第2画像の領域B21、B22、B23を設定し、画像相関法により領域A2と領域B21との相関値、領域A2と領域B22との相関値、領域A2と領域B23との相関値をそれぞれ演算する。特徴点対応制御部93は、特徴点111tを中心とする所定大きさの第1画像の領域A3を設定し、特徴点112t、112s、112uを中心とする所定の大きさの第2画像の領域B31、B32、B33を設定し、画像相関法により領域A3と領域B31との相関値、領域A3と領域B32との相関値、領域A3と領域B33との相関値をそれぞれ演算する。このようにして演算された相関値に基づいて、最も高い相関値が得られた第2画像の領域に含まれる特徴点が、特徴点111mまたは特徴点111tに対応する第2画像の特徴点であると推定できる。
Similarly, the feature point
これにより、例えば、図14に示されるように、特徴点群111を構成する3つの特徴点のそれぞれに対応する特徴点群112を構成する3つの特徴点が特定されることになる。同図の例では、図中の矢印により、特徴点群111を構成する3つの特徴点と特徴点群112を構成する3つの特徴点との対応付けが示されている。
Thereby, for example, as shown in FIG. 14, three feature points constituting the
図5の回転数検出制御部94は、特徴点対応制御部93により対応付けられた第1画像の特徴点と第2画像の特徴点に基づいて、単位時間当たりのゴルフボールの回転量と回転方向を特定し、ゴルフクラブでショットされたゴルフボールの単位時間当たりの回転数、および回転方向を表す数値などを含む回転に関する情報を検出する。なお、回転数検出制御部94は、例えば、従来のゴルフのシミュレーションシステムなどに用いられているものと同様のものを利用することが可能である。
The number-of-rotations
次に、図15のフローチャートを参照して、図4の回転検出部72による回転検出処理について説明する。
Next, the rotation detection process by the
ステップS11において、特徴点抽出部91、簡易回転部92、および特徴点対応制御部93は、図16を参照して後述する特徴部分特定処理を実行する。これにより、例えば、第1画像と第2画像において、それぞれの特徴点の対応付けが行われる。
In step S <b> 11, the feature
ステップS12において、回転数検出制御部94は、ステップS11の処理により対応付けられた第1画像の特徴点と第2画像の特徴点に基づいて、第1画像が撮像された時刻から第2画像が撮像された時刻に至るまでの間に、ゴルフボールがどれだけ回転したか(回転量)を特定する。また、このとき、ゴルフボールの回転方向も特定される。
In step S12, the rotation speed
ステップS13において、回転数検出制御部94は、ステップS12の処理で特定された回転量に基づいて、単位時間あたりのゴルフボールの回転数を演算する。
In step S13, the rotation speed
このようにして、回転検出処理が実行される。 In this way, the rotation detection process is executed.
次に、図16のフローチャートを参照して、図15のステップS11の特徴部分特定処理の詳細について説明する。 Next, with reference to the flowchart of FIG. 16, the detail of the characteristic part specific process of step S11 of FIG. 15 is demonstrated.
ステップS31において、特徴点抽出部91は、特徴点検出処理を実行する。ここで、図17のフローチャートを参照して、図16のステップS31の特徴点検出処理の詳細について説明する。
In step S31, the feature
ステップS51において、特徴点抽出部91は、第1画像および第2画像において、エッジを検出する。上述したように、エッジは、例えば、画像の中で画素の輝度値の変化が予め設定された閾値より大きい領域とされる。
In step S51, the feature
ステップS52において、特徴点抽出部91は、ステップS51の処理により、第1画像において検出された複数のエッジを、それぞれ第1画像の特徴点として記憶し、第2画像において検出された複数のエッジを、それぞれ第2画像の特徴点として記憶する。これにより、例えば、図7と図8に示されるような図中の小さい矩形で示される領域(点)のそれぞれが特徴点として記憶されることになる。
In step S52, the feature
このようにして、特徴点検出処理が実行される。このようにすることで、上述したように、任意の形状、色彩、模様などにより構成されたゴルフボールの表面の一部分を特徴点として検出することが可能である。 In this way, the feature point detection process is executed. By doing in this way, as mentioned above, it is possible to detect a part of the surface of the golf ball constituted by an arbitrary shape, color, pattern or the like as a feature point.
図16に戻って、ステップS31の処理の後、ステップS32において、簡易回転部92は、特徴点回転処理を実行する。ここで、図18のフローチャートを参照して、図16のステップS32の特徴点回転処理の詳細について説明する。
Returning to FIG. 16, after the process of step S31, in step S32, the
ステップS71において、簡易回転部92は、所定のオイラー角を設定する。
In step S71, the
ステップS72において、簡易回転部92は、ステップS71の処理で設定されたオイラー角に対応する位置に、ステップS31の処理により第1画像から検出された特徴点で構成される第1画像の特徴点群を回転させる。
In step S72, the
このとき、上述したように、簡易回転部92が、例えば、図11に示されるように、ゴルフボールの画像の中心点(cx,cy)と半径rを特定し、図中の矢印で示されるように、与えられたオイラー角に対応する位置に、特徴点群111の3次元空間内での座標位置を移動させる。
At this time, as described above, the
ステップS73において、簡易回転部92は、ステップS72の処理で回転させた特徴点群の3次元空間内での座標位置を、第2画像上にプロットする。このとき、例えば、図12に示されるように、回転させられた特徴点群111が第2画像上にプロットされる。
In step S73, the
ステップS74において、簡易回転部92は、最隣接特徴点間距離を演算する。上述したように、最隣接特徴点間距離は、第2画像上にプロットされた特徴点群111を構成する特徴点のそれぞれと最も近い位置にある特徴点群112を構成する特徴点との距離の総和とされる。
In step S74, the
ステップS75において、簡易回転部92は、ステップS74で演算された最隣接特徴点間距離の値を、ステップS71の処理で設定されたオイラー角と対応付けて記憶する。
In step S75, the
ステップS76において、簡易回転部92は、未設定のオイラー角があるか否かを判定し、未設定のオイラー角があると判定された場合、処理は、ステップS77に進む。
In step S76, the
ステップS77において、簡易回転部92は、オイラー角を変更する。上述したように、簡易回転部92は、例えば、上述したパラメータα、β、γをそれぞれ、予め設定された所定の範囲内で所定の間隔で変化させて、K通りの位置に特徴点群111を移動(回転)させるようになされている。ステップS76では、例えば、K通りのオイラー角が全て設定されるまで、未設定のオイラー角があると判定され、その都度、ステップS77において、パラメータα、β、γのいずれかが、予め設定された間隔で変化させられていくことになる。
In step S77, the
ステップS77の処理の後、処理は、ステップS72に戻り、それ以後の処理が繰り返し実行される。ただし、今の場合、ステップS72では、ステップS77の処理で設定(変更)されたオイラー角に対応する位置に、第1画像の特徴点群が回転させられ、ステップS75では、ステップS74で演算された最隣接特徴点間距離の値が、ステップS77の処理で設定されたオイラー角と対応付けて記憶されることになる。 After the process of step S77, the process returns to step S72, and the subsequent processes are repeatedly executed. However, in this case, in step S72, the feature point group of the first image is rotated to the position corresponding to the Euler angle set (changed) in the process of step S77, and in step S75, the calculation is performed in step S74. The value of the distance between the nearest feature points is stored in association with the Euler angle set in the process of step S77.
ステップS76において、未設定のオイラー角はないと判定された場合、処理は、ステップS78に進む。 If it is determined in step S76 that there is no unset Euler angle, the process proceeds to step S78.
ステップS78において、ステップS75の処理で記憶された、例えばK個の最隣接特徴点間距離のうち、最小となるものを特定するとともに、その最小となった最隣接特徴点間距離に対応するオイラー角を特定する。 In step S78, among the K nearest neighbor feature point distances stored in step S75, for example, the smallest distance is specified, and the Euler corresponding to the smallest nearest neighbor feature point distance is specified. Identify the corner.
このようにして、特徴点回転処理が実行される。このように、一旦、特徴点のみを回転させて、第1画像が撮像された時刻から第2画像が撮像された時刻に至るまでのゴルフボールの回転量を、概ね推定することが可能となる。このようにすることで、都度、画像を回転させる処理が不要となるので、処理を高速化することが可能となる。また、この後実行される特徴点対応付け処理において画像相関法による演算を行うにあたり、特徴点回転処理によって特定されたオイラー角を利用することで、正確かつ高速な特徴点の対応付けを実現することが可能となる。 In this way, the feature point rotation process is executed. In this way, it is possible to roughly estimate the amount of rotation of the golf ball from the time when the first image is captured until the time when the second image is captured by rotating only the feature points. . By doing so, it is not necessary to rotate the image each time, and the processing can be speeded up. In addition, when performing the calculation by the image correlation method in the feature point association processing to be executed later, the Euler angles specified by the feature point rotation processing are used to realize accurate and high-speed feature point association. It becomes possible.
図16に戻って、ステップS32の処理の後、ステップS33において、特徴点対応制御部93は、特徴点対応付け処理を実行する。ここで、図19のフローチャートを参照して、図16のステップS33の特徴点対応付け処理の詳細について説明する。
Returning to FIG. 16, after the process of step S <b> 32, in step S <b> 33, the feature point
ステップS91において、特徴点対応制御部93は、第1画像の特徴点群111を構成する特徴点のうち、3つの特徴点を抽出する。このとき、上述したように、例えば、特徴点群111の閾値を超える特徴量を有する特徴点として抽出された特徴点の中から、互いに距離の離れた特徴点が3個さらに抽出される。
In step S91, the feature point
ステップS92において特徴点対応制御部93は、ステップS78の処理で特定されたオイラー角の分だけ第1画像を回転させる。
In step S92, the feature point
ステップS93において、特徴点対応制御部93は、ステップS91の処理で抽出された3つの特徴点のそれぞれと、距離が近い第2画像の特徴点を複数抽出する。このとき、上述したように、例えば、特徴点群111を構成する3個の特徴点のそれぞれから距離の近い順に、(例えば、3個)特徴点群112を構成する特徴点が抽出される。例えば、特徴点111aと距離の近い特徴点112a、112b、112cが抽出され、特徴点111mと距離の近い特徴点112m、112n、112oが抽出され、特徴点111tと距離の近い特徴点112t、112s、112uが抽出されることになる。
In step S93, the feature point
ステップS94において、特徴点対応制御部93は、画像相関法により相関値を演算する。このとき、上述したように、特徴点対応制御部93が、例えば、特徴点111aを中心とする所定大きさの第1画像の領域A1を設定し、特徴点112a、112b、112cを中心とする所定の大きさの第2画像の領域B11、B12、B13を設定する。そして、特徴点対応制御部93は、画像相関法により領域A1と領域B11との相関値、領域A1と領域B12との相関値、領域A1と領域B13との相関値をそれぞれ演算する。
In step S94, the feature point
同様に、特徴点対応制御部93は、特徴点111mを中心とする所定大きさの第1画像の領域A2を設定し、特徴点112m、112n、112oを中心とする所定の大きさの第2画像の領域B21、B22、B23を設定し、画像相関法により領域A2と領域B21との相関値、領域A2と領域B22との相関値、領域A2と領域B23との相関値をそれぞれ演算する。特徴点対応制御部93は、特徴点111tを中心とする所定大きさの第1画像の領域A3を設定し、特徴点112t、112s、112uを中心とする所定の大きさの第2画像の領域B31、B32、B33を設定し、画像相関法により領域A3と領域B31との相関値、領域A3と領域B32との相関値、領域A3と領域B33との相関値をそれぞれ演算する。
Similarly, the feature point
ステップS95において、特徴点対応制御部93は、ステップS94の処理で得られた相関値のうち、最も高いもの第1画像の3つの特徴点に対応する第2画像の特徴点として特定する。これにより、例えば、図14に示されるように、特徴点群111を構成する3つの特徴点のそれぞれに対応する特徴点群112を構成する3つの特徴点が特定されることになる。
In step S95, the feature point
このようにして、特徴点対応付け処理が実行される。特徴点対応付け処理は、例えば、特徴点回転処理によって回転された第1画像の特徴点のみの画像などに基づいて行われるものではなく、特徴点回転処理によって特定されたオイラー角を利用して、第1画像を回転させて画像相関法による演算を行うこととされている。このようにすることで、より正確かつ高速な特徴点の対応付けを実現することが可能となる。その結果、ゴルフボールの回転方向、回転数などを正確に検出することが可能となる。 In this way, the feature point association process is executed. The feature point association process is not performed based on, for example, an image of only the feature point of the first image rotated by the feature point rotation process, but uses the Euler angle specified by the feature point rotation process. The first image is rotated and the calculation by the image correlation method is performed. By doing in this way, it becomes possible to implement | achieve the matching of a more accurate and high-speed feature point. As a result, it is possible to accurately detect the rotation direction and the rotation speed of the golf ball.
従来の技術によりゴルフボールの回転の方向、回転数などを検出するためには、画像の中でのボールの回転方向、回転した角度など特定するために、予め定められたマークや模様の付されたゴルフボールを用いる必要があった。このため、例えば、ユーザが気に入っているボールなどを自由に使って、シミュレーションシステムを利用することができないという課題があった。 In order to detect the direction and number of rotations of a golf ball using conventional techniques, a predetermined mark or pattern is added to identify the rotation direction and angle of rotation of the ball in the image. It was necessary to use a golf ball. Therefore, for example, there is a problem that the simulation system cannot be used by freely using a ball that the user likes.
これに対して、本発明では、上述したように画像のエッジが検出されて、特徴点とされる。本発明では、特徴点の検出と、第1画像と第2画像の特徴点の対応付けが、ゴルフボールがショットされた後で行われるようにしたので、任意のボールを用いることが可能となる。 On the other hand, in the present invention, as described above, the edge of the image is detected and used as a feature point. In the present invention, since the detection of the feature points and the association of the feature points of the first image and the second image are performed after the golf ball is shot, any ball can be used. .
また、上述したように、特徴点はエッジとして検出されるものであればよいので、本発明のシミュレーションシステム10において使用されるゴルフボールには、必ずしも鮮明な標章などが付されている必要はない。従って、本発明では、例えば、いわゆるロストボールなども利用することが可能となる。 Further, as described above, since the feature point may be detected as an edge, the golf ball used in the simulation system 10 of the present invention is not necessarily provided with a clear mark or the like. Absent. Therefore, in the present invention, for example, a so-called lost ball can be used.
さらに、以上においては、シミュレーションシステム10に本発明を適用する例について説明したが、本発明は、必ずしもシミュレーションシステムに適用されるものとは限られない。例えば、ゴルフクラブの製造や微調整を行う場合など、ゴルフクラブでショットされたゴルフボールの回転方向、回転数などを検出する必要があるものには、やはり本発明を適用することができる。 Furthermore, although the example which applies this invention to the simulation system 10 was demonstrated above, this invention is not necessarily applied to a simulation system. For example, the present invention can also be applied to a device that needs to detect the rotation direction and the number of rotations of a golf ball shot with a golf club, such as when a golf club is manufactured or finely adjusted.
あるいはまた、本発明をゴルフボール以外の球体の回転方向、回転数などを検出に用いることも勿論可能である。 Alternatively, it is of course possible to use the present invention for detecting the rotational direction, rotational speed, etc. of a sphere other than the golf ball.
ところで、図2を参照して上述した例においては、センシングブロック22のセンサ部41が、第1カメラと第2カメラの2台のカメラを有すると説明したが、センサ部41が1台のカメラを有する構成とされてもよい。
Incidentally, in the example described above with reference to FIG. 2, it has been described that the
図20は、1台(1つ)のカメラを有するセンサ部41の構成を示すブロック図である。同図において、ゴルフボールは、ティー160上にセットされ、ゴルフクラブによりショットされるものとする。なお、ショットされたゴルフボールは、図中の右側から左側へ飛ぶことになる。
FIG. 20 is a block diagram illustrating a configuration of the
センサ155−1およびセンサ155−2は、それぞれ前方(図中上側)に存在する物体を検知するようになされている。ティー160上にセットされたゴルフボールをショットするために、ゴルフクラブのヘッドがセンサ155−1およびセンサ155−2の前方を通過したとき、センサ155−1およびセンサ155−2のそれぞれは、ゴルフクラブのヘッドを検知したタイミングで、検知信号を出力するようになされている。
The sensor 155-1 and the sensor 155-2 are each configured to detect an object existing in front (upper side in the drawing). When the golf club head passes in front of sensor 155-1 and sensor 155-2 to shot a golf ball set on
制御部156は、センサ155−1およびセンサ155−2からの検知信号に基づいて、カメラ151のシャッタ信号、並びにストロボ161およびストロボ162を発光させる発光信号を出力するようになされている。
The
ストロボ161およびストロボ162は、例えば、棒状のストロボとして構成される。
The
制御部156は、センサ155−1およびセンサ155−2のうち、ティー160に近いセンサ(いまの場合、センサ155−1)が検知信号を検出した後、予め設定された時間だけ後に、カメラ151のシャッタ信号における第1のパルス(電子シャッタ)を出力するとともに、ストロボ161を発光させる発光信号を出力するようになされている。
The
また、制御部156は、カメラ151のシャッタ信号における第1のパルスを出力してから、所定の時間だけ後に、カメラ151のシャッタ信号における第2のパルス(電子シャッタ)を出力するとともに、ストロボ162を発光させる発光信号を出力するようになされている。ここで、所定の時間は、例えば、センサ155−2が検知信号を出力してからセンサ155−1が検知信号を出力するまでの時間などに基づいて求められるものとする。
Further, the
図21は、制御部156が出力する信号のタイミングチャートの例である。同図の例では、シャッタ信号181、ストロボ161の発光信号182、ストロボ162の発光信号183、および読み出し信号184の波形が示されている。なお、同図の横軸は時間とされ、縦軸は電圧値とされ、シャッタ信号181、および読み出し信号184は、図中下方向の凸型のパルスを形成する信号とされ、ストロボ161の発光信号182、およびストロボ162の発光信号183は、図中上方向の凸型のパルスを形成する信号とされている。
FIG. 21 is an example of a timing chart of signals output from the
シャッタ信号181のパルス幅であって時間T1の間、カメラ151の撮像素子であって、CCDなどの光電変換素子に電荷が蓄積されるようになされている。すなわち、シャッタ信号181のパルス幅であって時間T1の間、カメラ151のレンズにより集光された光が、撮像素子に入射して、撮像素子のそれぞれによってその光が電荷に変換されて蓄積されることになる。そして、読み出し信号184のパルスが供給されることで、1フレーム分の画像データを構成する信号として、各撮像素子に蓄積された電荷に対応する信号が出力されるようになされている。これによって、例えば、各撮像素子から出力された信号に基づいて画素値が設定されて、それらの画素により構成される1枚の画像が生成されることになる。
Charges are accumulated in a photoelectric conversion element such as a CCD, which is the imaging element of the
また、ストロボ161の発光信号182、およびストロボ162の発光信号183においてパルスが出力されたタイミングで、それぞれストロボ161およびストロボ162が発光するようになされている。
In addition, the
上述したように、シャッタ信号181における第1のパルス(図中左側のパルス)と同じタイミングで、ストロボ161を発光させる発光信号のパルスが生成されている。また、シャッタ信号181における第1のパルスが生成されてから、所定の時間だけ後に、シャッタ信号181における第2のパルス(図中右側のパルス)が生成され、それと同じタイミングでストロボ162を発光させる発光信号のパルスが生成されている。
As described above, the pulse of the light emission signal that causes the
そして、シャッタ信号181における第2のパルスが生成されてから、予め設定された時間だけ後に、読み出し信号184におけるパルスが生成されている。
Then, after the second pulse in the
カメラ151に、このように、シャッタ信号181、ストロボ161の発光信号182、ストロボ162の発光信号183、および読み出し信号184を供給することにより、1フレームの画像の中に、シャッタ信号181における第1のパルスに対応する時刻のゴルフボールの画像と、シャッタ信号181における第2のパルスに対応する時刻のゴルフボールの画像とが写しだされることになる。
Thus, by supplying the
このようにすることで、1フレームの画像(1枚の画像)として、上述した第1画像に対応するゴルフボールの画像と、第2画像に対応するゴルフボールの画像とを得ることが可能となる。すなわち、センサ部41を図20に示されるように構成すれば、1台のカメラ151で、第1画像と第2画像に対応する1枚の画像を撮像することが可能となる。
By doing in this way, it is possible to obtain a golf ball image corresponding to the first image and a golf ball image corresponding to the second image as one frame image (one image). Become. That is, if the
2台のカメラで第1画像と第2画像をそれぞれ撮像するのではなく、1台のカメラのみで、第1画像と第2画像に対応する画像を撮像する構成とすることで、例えば、装置をより小型化したり、装置の製造コストを抑制することが可能となる。 Instead of capturing the first image and the second image with two cameras, the configuration corresponding to the first image and the second image is captured with only one camera. It is possible to reduce the size of the device and to reduce the manufacturing cost of the device.
図22は、カメラ151により撮像されたゴルフボールの画像200の例を示す図である。同図の画像200には、シャッタ信号181における第1のパルスに対応する時刻のゴルフボールの画像201と、シャッタ信号181における第2のパルスに対応する時刻のゴルフボールの画像202とが含まれている。
FIG. 22 is a diagram illustrating an example of a
例えば、ゴルフボールの画像201を第1画像とし、ゴルフボールの画像202を第2画像として、上述した15乃至19の処理を実行することにより、ゴルフボールの画像201とゴルフボールの画像202との間で特徴点の対応付けがなされ、ゴルフボールの回転方向、回転数などを正確に検出することが可能となる。
For example, the
本発明においては、図21のタイミングチャートに示されるように、シャッタ信号181のパルス幅(時間T1)を充分に短くし、シャッタ信号181のパルスのパルスと同じタイミングでストロボを発光させるようにしたことで、ゴルフボールの画像201とゴルフボールの画像202をそれぞれ鮮明に撮像することが可能となる。
In the present invention, as shown in the timing chart of FIG. 21, the pulse width (time T1) of the
理論的には、例えば、シャッタ信号のパルス幅長く設定し、シャッタ信号においてパルスが形成されている間に、2回ストロボを発光させるようにすれば、1枚の画像として、上述した第1画像に対応するゴルフボールの画像と、第2画像に対応するゴルフボールの画像とを得ることが可能となる。しかし、このようにすると、カメラの露光時間が長く設定された画像と同様の画像が撮像されることになり、その結果、ゴルフボールの画像201とゴルフボールの画像202との間に残像などが写り、ゴルフボールの画像201とゴルフボールの画像202をそれぞれ鮮明に撮像することはできない。
Theoretically, for example, if the pulse width of the shutter signal is set longer and the strobe is caused to emit light twice while the pulse is formed in the shutter signal, the first image described above is obtained as one image. It is possible to obtain a golf ball image corresponding to, and a golf ball image corresponding to the second image. However, in this case, an image similar to an image in which the exposure time of the camera is set to be long is captured. As a result, an afterimage or the like is generated between the
これに対して、本発明では、シャッタ信号181のパルス幅を充分に短くし、同じタイミングでストロボを発光させるようにしたので、ゴルフボールの画像201とゴルフボールの画像202との間に残像などが写ることが抑止され、かつ、ゴルフボールの画像201とゴルフボールの画像202をそれぞれ鮮明に撮像することが可能となる。
In contrast, in the present invention, the pulse width of the
なお、上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。上述した一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば図23に示されるような汎用のパーソナルコンピュータ700などに、ネットワークや記録媒体からインストールされる。
The series of processes described above can be executed by hardware, or can be executed by software. When the above-described series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, a general-purpose
図23において、CPU(Central Processing Unit)701は、ROM(Read Only Memory)702に記憶されているプログラム、または記憶部708からRAM(Random Access Memory)703にロードされたプログラムに従って各種の処理を実行する。RAM703にはまた、CPU701が各種の処理を実行する上において必要なデータなども適宜記憶される。
In FIG. 23, a CPU (Central Processing Unit) 701 executes various processes according to a program stored in a ROM (Read Only Memory) 702 or a program loaded from a
CPU701、ROM702、およびRAM703は、バス704を介して相互に接続されている。このバス704にはまた、入出力インタフェース705も接続されている。
The
入出力インタフェース705には、キーボード、マウスなどよりなる入力部706、CRT(Cathode Ray Tube)、LCD(Liquid Crystal display)などよりなるディスプレイ、並びにスピーカなどよりなる出力部707、ハードディスクなどより構成される記憶部708、モデム、LANカードなどのネットワークインタフェースカードなどより構成される通信部709が接続されている。通信部709は、インターネットを含むネットワークを介しての通信処理を行う。
The input /
入出力インタフェース705にはまた、必要に応じてドライブ710が接続され、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア711が適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部708にインストールされる。
A
上述した一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、インターネットなどのネットワークや、リムーバブルメディア711などからなる記録媒体からインストールされる。
When the above-described series of processing is executed by software, a program constituting the software is installed from a network such as the Internet or a recording medium such as a
なお、この記録媒体は、図23に示される、装置本体とは別に、ユーザにプログラムを配信するために配布される、プログラムが記録されている磁気ディスク(フロッピディスク(登録商標)を含む)、光ディスク(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク(MD(Mini-Disk)(登録商標)を含む)、もしくは半導体メモリなどよりなるリムーバブルメディア711により構成されるものだけでなく、装置本体に予め組み込まれた状態でユーザに配信される、プログラムが記録されているROM702や、記憶部708に含まれるハードディスクなどで構成されるものも含む。
This recording medium is a magnetic disk (including a floppy disk (registered trademark)) on which the program is recorded, which is distributed to distribute the program to the user, separately from the apparatus main body, shown in FIG. Removable media consisting of optical disks (including CD-ROM (compact disk-read only memory), DVD (digital versatile disk)), magneto-optical disks (including MD (mini-disk) (registered trademark)), or semiconductor memory It includes not only those configured by 711 but also those configured by a
なお、本明細書において上述した一連の処理を実行するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 Note that the steps of executing the series of processes described above in this specification are performed in parallel or individually even if they are not necessarily processed in time series, as well as processes performed in time series in the order described. The processing to be performed is also included.
10 シミュレーションシステム, 21 スクリーン, 22 センシングブロック, 41 センサ部, 42 データ処理部, 61 撮像制御部, 62 画像解析部, 63 シミュレーション画像生成部, 71 速度検出部, 72 回転検出部, 73 動き演算部, 91 特徴点抽出部, 92 簡易回転部, 93 特徴点対応制御部, 94 回転数検出制御部, 151 カメラ, 156 制御部, 161 ストロボ, 162 ストロボ DESCRIPTION OF SYMBOLS 10 Simulation system, 21 Screen, 22 Sensing block, 41 Sensor part, 42 Data processing part, 61 Imaging control part, 62 Image analysis part, 63 Simulation image generation part, 71 Speed detection part, 72 Rotation detection part, 73 Motion calculation part , 91 feature point extraction unit, 92 simple rotation unit, 93 feature point correspondence control unit, 94 rotation speed detection control unit, 151 camera, 156 control unit, 161 strobe, 162 strobe
Claims (7)
前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、
前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、
前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、
前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、
前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する
検出装置。 A detection device for detecting rotation of the golf ball based on an image of a moving golf ball,
By detecting pixels that are edges in each of a first image obtained by imaging the golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. A feature point extracting means for extracting a plurality of feature points constituting a part of the image of the surface of the golf ball;
Based on the distances between the three-dimensional coordinate positions of the plurality of feature points extracted in the first image and the three-dimensional coordinate positions of the plurality of feature points extracted in the second image. Euler angle specifying means for specifying an Euler angle representing a positional relationship between an image and the second image;
The first image is rotated by the specified Euler angle, a predetermined feature point among the plurality of extracted feature points in the rotated first image, and the extraction in the second image. Correlation calculating means for calculating a correlation value with a predetermined feature point of the plurality of feature points by an image correlation method;
Association means for associating the feature points of the first image and the feature points of the second image based on the calculated correlation value;
A detection device that detects a rotation amount and a rotation direction of the golf ball based on the feature point of the first image and the feature point of the second image that are associated with each other.
前記第2の時刻において発光する第2のストロボと、
前記第1の時刻および第2の時刻において前記ゴルフボールを被写体として撮像する1つのカメラとをさらに備え、
前記第1画像に対応する前記ゴルフボールの画像および前記第1画像に対応する前記ゴルフボールの画像が、前記1つのカメラにより撮像される
請求項1に記載の検出装置。 A first strobe that emits light at the first time;
A second strobe that emits light at the second time;
A camera that images the golf ball as a subject at the first time and the second time;
The detection device according to claim 1, wherein an image of the golf ball corresponding to the first image and an image of the golf ball corresponding to the first image are captured by the one camera.
与えられたパラメータに基づいて、前記第1画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれを、前記パラメータに対応するオイラー角の分だけ回転させて前記第2の画像上にプロットする特徴点回転手段と、
前記与えられたパラメータのうち、前記回転された前記第1画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれと、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて計算される評価値が最も高くなる前記パラメータを特定するパラメータ特定手段と
を備える請求項2に記載の検出装置。 The Euler angle specifying means is:
Based on the given parameter, the three-dimensional coordinate positions of the extracted feature points in the first image are rotated by the Euler angle corresponding to the parameter to be displayed on the second image. A feature point rotation means for plotting;
Among the given parameters, each of the three-dimensional coordinate positions of the plurality of feature points extracted in the rotated first image and the three-dimensional of the plurality of feature points extracted in the second image The detection device according to claim 2, further comprising: a parameter specifying unit that specifies the parameter having the highest evaluation value calculated based on a distance from each of the coordinate positions.
前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出し、
前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定し、
前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算し、
前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行うステップを含み、
前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する
検出方法。 A detection method of a detection device for detecting rotation of the golf ball based on an image obtained by imaging a moving golf ball,
By detecting pixels that are edges in each of a first image obtained by imaging the golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. Extracting a plurality of feature points constituting part of the image of the surface of the golf ball;
Based on the distances between the three-dimensional coordinate positions of the plurality of feature points extracted in the first image and the three-dimensional coordinate positions of the plurality of feature points extracted in the second image. Identify an Euler angle representing the positional relationship between the image and the second image;
The first image is rotated by the specified Euler angle, a predetermined feature point among the plurality of extracted feature points in the rotated first image, and the extraction in the second image. A correlation value with a predetermined one of the plurality of feature points is calculated by an image correlation method,
Correlating the feature points of the first image with the feature points of the second image based on the calculated correlation value;
A detection method for detecting a rotation amount and a rotation direction of the golf ball based on the feature point of the first image and the feature point of the second image that are associated with each other.
移動するゴルフボールを撮像した画像に基づいて、前記ゴルフボールの回転を検出する検出装置であって、
前記ゴルフボールを第1の時刻に撮像した第1画像、および前記ゴルフボールを前記第1の時刻より後の第2時刻に撮像した第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、
前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、
前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、
前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、
前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置として機能させる
プログラム。 Computer
A detection device for detecting rotation of the golf ball based on an image of a moving golf ball,
By detecting pixels that are edges in each of a first image obtained by imaging the golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. A feature point extracting means for extracting a plurality of feature points constituting a part of the image of the surface of the golf ball;
Based on the distances between the three-dimensional coordinate positions of the plurality of feature points extracted in the first image and the three-dimensional coordinate positions of the plurality of feature points extracted in the second image. Euler angle specifying means for specifying an Euler angle representing a positional relationship between an image and the second image;
The first image is rotated by the specified Euler angle, a predetermined feature point among the plurality of extracted feature points in the rotated first image, and the extraction in the second image. Correlation calculating means for calculating a correlation value with a predetermined feature point of the plurality of feature points by an image correlation method;
Association means for associating the feature points of the first image and the feature points of the second image based on the calculated correlation value;
A program that functions as a detection device that detects a rotation amount and a rotation direction of the golf ball based on the associated feature points of the first image and the second image.
前記第1画像および前記第2画像のそれぞれにおいて、エッジとなる画素を検出することで、前記ゴルフボールの表面の画像の一部を構成する複数の特徴点を抽出する特徴点抽出手段と、
前記第1画像において前記抽出された複数の特徴点の3次元座標位置と、前記第2画像において前記抽出された複数の特徴点の3次元座標位置のそれぞれとの距離に基づいて、前記第1画像と前記第2画像の位置関係を表すオイラー角を特定するオイラー角特定手段と、
前記特定されたオイラー角の分だけ前記第1の画像を回転させ、前記回転された第1画像において前記抽出された複数の特徴点のうちの所定の特徴点と、前記第2画像において前記抽出された複数の特徴点のうちの所定の特徴点との相関値を、画像相関法により演算する相関演算手段と、
前記演算された相関値に基づいて、前記第1の画像の特徴点と前記第2の画像の特徴点との対応付けを行う対応付け手段とを備え、
前記対応付けられた前記第1の画像の特徴点と前記第2の画像の特徴点に基づいて、前記ゴルフボールの回転量と回転方向を検出する検出装置を有する
シミュレーションシステム。 The velocity of the golf ball detected based on a first image obtained by imaging the hit golf ball at a first time and a second image obtained by imaging the golf ball at a second time after the first time. And a simulation device for displaying an image of the golf ball flying according to the trajectory on the screen by calculating a trajectory of the golf ball after being hit based on the rotation of the golf ball,
A feature point extracting means for extracting a plurality of feature points constituting a part of the image of the surface of the golf ball by detecting pixels serving as edges in each of the first image and the second image;
Based on the distances between the three-dimensional coordinate positions of the plurality of feature points extracted in the first image and the three-dimensional coordinate positions of the plurality of feature points extracted in the second image. Euler angle specifying means for specifying an Euler angle representing a positional relationship between an image and the second image;
The first image is rotated by the specified Euler angle, a predetermined feature point among the plurality of extracted feature points in the rotated first image, and the extraction in the second image. Correlation calculating means for calculating a correlation value with a predetermined feature point of the plurality of feature points by an image correlation method;
Association means for associating the feature points of the first image and the feature points of the second image based on the calculated correlation value;
A simulation system comprising: a detection device that detects a rotation amount and a rotation direction of the golf ball based on the associated feature points of the first image and the second image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008099994A JP5297677B2 (en) | 2008-04-08 | 2008-04-08 | Detection apparatus and method, program, recording medium, and simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008099994A JP5297677B2 (en) | 2008-04-08 | 2008-04-08 | Detection apparatus and method, program, recording medium, and simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009247642A JP2009247642A (en) | 2009-10-29 |
JP5297677B2 true JP5297677B2 (en) | 2013-09-25 |
Family
ID=41308875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008099994A Expired - Fee Related JP5297677B2 (en) | 2008-04-08 | 2008-04-08 | Detection apparatus and method, program, recording medium, and simulation system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5297677B2 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110299729A1 (en) * | 2010-03-05 | 2011-12-08 | Interactive Sports Technologies Inc. | Apparatus and method for measuring golf club shaft flex and golf simulation system incorporating the same |
KR101733116B1 (en) | 2010-12-10 | 2017-05-08 | 한국전자통신연구원 | System and method for measuring flight information of a spheric object with a high-speed stereo camera |
KR101048091B1 (en) * | 2011-03-22 | 2011-07-08 | (주) 골프존 | Virtual golf simulation apparatus and method, sensing device and sensing method used therein |
KR101048089B1 (en) | 2011-03-22 | 2011-07-08 | (주) 골프존 | Virtual golf simulation device, sensing device and sensing method used therein |
JP5671135B2 (en) * | 2011-05-26 | 2015-02-18 | 富士通テレコムネットワークス株式会社 | Position detecting device and visual inspection device equipped with the same |
JP5842807B2 (en) * | 2012-12-28 | 2016-01-13 | カシオ計算機株式会社 | Image analysis device, information notification device, image analysis method, information notification method, and program |
KR101394271B1 (en) | 2013-01-08 | 2014-05-13 | (주) 골프존 | Device for sensing moving ball and method for the same |
JP6500598B2 (en) * | 2015-05-26 | 2019-04-17 | 横浜ゴム株式会社 | Flying body measuring device, flying body measuring method, and program |
KR101723432B1 (en) * | 2015-06-12 | 2017-04-18 | 주식회사 골프존 | Device for sensing moving ball and method for the same |
JP6168127B2 (en) * | 2015-11-11 | 2017-07-26 | カシオ計算機株式会社 | Image analysis apparatus, image analysis method, and program |
CN107341827B (en) * | 2017-07-27 | 2023-01-24 | 腾讯科技(深圳)有限公司 | Video processing method, device and storage medium |
CN109684919B (en) * | 2018-11-15 | 2021-08-17 | 重庆邮电大学 | A machine vision-based badminton serve violation discrimination method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3629935B2 (en) * | 1998-01-27 | 2005-03-16 | オムロン株式会社 | Speed measurement method for moving body and speed measurement device using the method |
JP3630582B2 (en) * | 1999-03-11 | 2005-03-16 | 株式会社東芝 | Image processing apparatus and method |
JP3535476B2 (en) * | 2001-05-09 | 2004-06-07 | 住友ゴム工業株式会社 | Method for measuring three-dimensional attitude of sphere and method for measuring rotation amount and rotation axis direction of sphere using the method |
AU2003274430A1 (en) * | 2002-06-06 | 2003-12-22 | Wintriss Engineering Corporation | Flight parameter measurement system |
JP4109075B2 (en) * | 2002-10-10 | 2008-06-25 | Sriスポーツ株式会社 | Method for measuring the rotation characteristics and flight characteristics of a sphere, and a device for measuring the rotation characteristics and flight characteristics of a sphere |
JP2005291824A (en) * | 2004-03-31 | 2005-10-20 | Yokohama National Univ | Flying object flight behavior measuring device and flying object flight behavior measuring method |
JP4723876B2 (en) * | 2005-02-23 | 2011-07-13 | 株式会社ジャパーナ | Method for measuring rotation direction and rotation amount of sphere moving in space, and sphere suitable for measurement of rotation direction and rotation amount when moving in space |
JP2007025966A (en) * | 2005-07-14 | 2007-02-01 | Konica Minolta Photo Imaging Inc | Image processing method, image processor and image processing program |
JP2007078358A (en) * | 2005-09-09 | 2007-03-29 | Sumitomo Electric Ind Ltd | MOBILE BODY MEASUREMENT DEVICE, SIGNAL CONTROL SYSTEM, MOBILE BODY MEASUREMENT METHOD, AND COMPUTER PROGRAM |
-
2008
- 2008-04-08 JP JP2008099994A patent/JP5297677B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009247642A (en) | 2009-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5297677B2 (en) | Detection apparatus and method, program, recording medium, and simulation system | |
US11064107B2 (en) | Objects trail-based analysis and control of video | |
US11033826B2 (en) | Methods and systems for sports simulation | |
JP3749072B2 (en) | Golf club selection method and selection system | |
JP3778427B2 (en) | Hitting ball diagnostic system | |
JP2005291824A (en) | Flying object flight behavior measuring device and flying object flight behavior measuring method | |
JP2004135908A (en) | Golf club performance measuring apparatus and measuring method | |
US20200346091A1 (en) | Device for calculating flight information of ball, method of calculating flight information of ball, and computing-device-readable recording medium having the method recorded therein | |
JP4271615B2 (en) | Golf club head behavior measuring device | |
CN101894374A (en) | The method and apparatus that is used for target following | |
JP4028771B2 (en) | Method for measuring impact state of golf swing | |
JP4109094B2 (en) | Method for measuring the rotational and flight characteristics of a sphere | |
JP4109075B2 (en) | Method for measuring the rotation characteristics and flight characteristics of a sphere, and a device for measuring the rotation characteristics and flight characteristics of a sphere | |
US11229824B2 (en) | Determining golf club head location in an image using line detection and contour separation | |
KR102531041B1 (en) | Method of recognizing motion of golf ball and club in fast camera image and apparatus of analyzing golf motion using the same | |
CN110298864B (en) | Visual sensing method and device for golf push rod equipment | |
CN111738093B (en) | An automatic speed measurement method for curling balls based on gradient features | |
CN103223226A (en) | Measuring apparatus for golf club | |
KR101019829B1 (en) | Sensing processing device, sensing processing method and virtual golf simulation device using the same | |
KR20180087748A (en) | Sensing device for calculating information on position of moving object and sensing method using the same | |
JP2004226134A (en) | Ball trajectory measuring instrument | |
JP4533037B2 (en) | Offside line detection device and program thereof | |
JP7161609B2 (en) | Method, system and non-transitory computer readable recording medium for measuring physical quantities associated with golf clubs | |
JP6710961B2 (en) | Golf swing analysis method | |
CN113439196B (en) | Method, system and non-transitory computer readable recording medium for determining physical quantity related to golf club |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110221 |
|
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: 20130604 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130617 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5297677 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |