JP2001162049A - Apparatus for shooting game, apparatus for position detection, and information storage medium - Google Patents
Apparatus for shooting game, apparatus for position detection, and information storage mediumInfo
- Publication number
- JP2001162049A JP2001162049A JP34680599A JP34680599A JP2001162049A JP 2001162049 A JP2001162049 A JP 2001162049A JP 34680599 A JP34680599 A JP 34680599A JP 34680599 A JP34680599 A JP 34680599A JP 2001162049 A JP2001162049 A JP 2001162049A
- Authority
- JP
- Japan
- Prior art keywords
- spot light
- area
- image
- average value
- luminance
- 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.)
- Withdrawn
Links
Abstract
(57)【要約】
【課題】 ビデオカメラの撮像信号に基づき、スポット
光の位置検出を正確に行うことを可能とするシューティ
ングゲーム装置を提供することにある。
【解決手段】このシューティングゲーム装置は、着弾位
置特定用のスポット光が投射されるシューティングエリ
アを撮像するビデオカメラの撮像画像を水平方向及び垂
直方向の少なくとも一方向に走査し、前記シューティン
グエリアに投射されるスポット光26の位置検出処理を
行う。前記位置検出処理は、前記撮像画像の各走査ライ
ン毎に、n点前から現在走査位置までの輝度に基づき、
輝度の局所的変化を識別するための現在走査位置におけ
る擬似平均値を求め、前記現在走査位置の輝度と前記擬
似平均値との差と、所与の基準値とを比較し前記スポッ
ト光の位置を検出することにより行う。
(57) [Problem] To provide a shooting game device capable of accurately detecting the position of a spotlight based on an image pickup signal of a video camera. The shooting game apparatus scans, in at least one of a horizontal direction and a vertical direction, an image captured by a video camera that captures an image of a shooting area on which a spot light for landing position is projected, and projects the image on the shooting area. Of the spot light 26 to be detected. The position detection process, for each scan line of the captured image, based on the brightness from the point before n to the current scan position,
A pseudo-average value at a current scanning position for identifying a local change in luminance is obtained, a difference between the luminance at the current scanning position and the pseudo-average value is compared with a given reference value, and the position of the spot light is compared. This is performed by detecting
Description
【0001】[0001]
【発明の属する技術分野】本発明は、シューティングゲ
ーム用の装置、位置検出用の装置及び情報記憶媒体に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shooting game device, a position detecting device, and an information storage medium.
【0002】[0002]
【背景技術及び発明が解決しようとする課題】従来、所
定の標的が登場するゲーム画面を、プレーヤが光線銃等
を用いて射撃するシューティングゲーム装置が知られて
いる。このような従来技術は、ゲーム画面をビデオカメ
ラで撮像し、このビデオカメラから出力される映像信号
に基づき光線銃の着弾位置を検出し、命中、はずれの判
定を行う。2. Description of the Related Art Conventionally, there has been known a shooting game apparatus in which a player uses a light gun or the like to shoot a game screen on which a predetermined target appears. In such a conventional technique, a game screen is imaged by a video camera, the hit position of the light gun is detected based on a video signal output from the video camera, and a hit or miss is determined.
【0003】しかし、単純に映像信号の輝度動を所定の
基準値と比較し、スポット光を検出すると、ゲーム画面
上にグラデーションがかかっている場合に、前記スポッ
ト光の位置検出を正確にできないという問題が発生され
る。However, simply detecting the luminance change of the video signal with a predetermined reference value and detecting the spot light means that when the gradation is applied on the game screen, the position of the spot light cannot be accurately detected. Problems occur.
【0004】特に、業務用のゲーム装置や、家庭用のゲ
ーム機等のように、各種の環境下で使用されるものにあ
っては、ゲーム画面上に周囲の光の影響が反映しやす
く、従来のように、単にカメラから出力される映像信号
を基準値と比較しただけでは、周囲の外乱等の影響を排
除して、スポット光を正確に検出することはできないと
いう問題があった。[0004] In particular, in the case of devices used in various environments, such as arcade game machines and home game machines, the influence of ambient light is easily reflected on the game screen. As in the related art, there is a problem in that the spot light cannot be accurately detected by simply comparing the video signal output from the camera with the reference value, eliminating the influence of ambient disturbance and the like.
【0005】本発明は、このような課題に鑑みがなされ
たものであり、その目的は、撮像手段が撮像する検出対
象エリア、例えばシューティングエリア等に、外光及び
その他のノイズの混入があった場合でも、撮像手段の撮
像画像からスポット光の位置検出を正確に行うことがで
きるシューティングゲーム用の装置、位置検出用の装置
及び情報記憶媒体を提供することにある。The present invention has been made in view of such a problem, and has as its object to mix outside light and other noises into a detection target area, for example, a shooting area, which is picked up by an image pickup means. Even in such a case, an object of the present invention is to provide a device for a shooting game, a device for position detection, and an information storage medium that can accurately detect the position of a spotlight from an image captured by an imaging unit.
【0006】[0006]
【課題を解決するための手段】(1)前記目的を達成す
るため、本発明は、着弾位置特定用のスポット光が投射
されるシューティングエリア又は前記シューティングエ
リアを通過又は反射したスポット光が投射されるスポッ
ト光形成エリアを撮像する撮像手段の撮像画像を、水平
方向及び垂直方向の少なくとも一方向に走査し、前記シ
ューティングエリアに投射されるスポット光の位置検出
処理を行うシューティングゲーム用の装置であって、前
記撮像画像の各走査ライン毎に、n点前から現在走査位
置までの輝度に基づき、輝度の局所的変化を識別するた
めの現在走査位置における擬似平均値を求め、前記現在
走査位置の輝度と前記擬似平均値との差と、所与の基準
値とを比較し前記スポット光の位置を検出する位置検出
処理を行う位置検出手段を含むことを特徴とする。(1) In order to achieve the above object, according to the present invention, there is provided a shooting area on which a spot light for specifying an impact position is projected, or a spot light which passes or is reflected by the shooting area. A shooting game device that scans a captured image of an imaging unit that captures an image of a spot light forming area in at least one of a horizontal direction and a vertical direction, and performs a position detection process of the spot light projected on the shooting area. For each scan line of the captured image, a pseudo-average value at a current scanning position for identifying a local change in luminance is calculated based on the luminance from the point n to the current scanning position, Position detection for performing position detection processing for comparing the difference between luminance and the pseudo average value with a given reference value and detecting the position of the spot light. Characterized in that it comprises a means.
【0007】また、本発明は、スポット光が投射される
検出対象エリア又は前記検出対象エリアを通過又は反射
したスポット光が投射されるスポット光形成エリアを撮
像する撮像手段の撮像画像を、水平方向及び垂直方向の
少なくとも一方向に走査し、前記検出対象エリアに投射
されるスポット光の位置検出処理を行う装置であって、
前記撮像画像の各走査ライン毎に、n点前から現在走査
位置までの輝度に基づき、輝度の局所的変化を識別する
ための現在走査位置における擬似平均値を求め、前記現
在走査位置の輝度と前記擬似平均値との差と、所与の基
準値とを比較し前記スポット光の位置を検出する位置検
出処理を行う位置検出手段を含むことを特徴とする。[0007] The present invention is also directed to an image pickup apparatus for picking up an image of a detection target area on which a spotlight is projected or a spotlight forming area on which a spotlight passing or reflected by the detection target area is projected. Scanning in at least one direction of the vertical direction, and a device for performing position detection processing of the spot light projected on the detection target area,
For each scan line of the captured image, based on the luminance from the point before n to the current scan position, determine a pseudo average value at the current scan position to identify a local change in luminance, The image processing apparatus further includes a position detection unit that performs a position detection process of comparing a difference from the pseudo average value with a given reference value to detect a position of the spot light.
【0008】また、本発明に係るコンピュータ読み取り
可能またはコンピュータ利用可能な情報記憶媒体に記憶
される情報は、着弾位置特定用のスポット光が投射され
る位置検出エリア又は前記位置検出エリアを通過又は反
射したスポット光が投射されるスポット光形成エリアを
撮像する撮像手段の撮像画像を、水平方向及び垂直方向
の少なくとも一方向に走査し、前記位置検出エリアに投
射されるスポット光の位置検出処理を行うシューティン
グゲーム用の情報であって、前記撮像画像の各走査ライ
ン毎に、n点前から現在走査位置までの輝度に基づき、
輝度の局所的変化を識別するための現在走査位置におけ
る擬似平均値を求め、前記現在走査位置の輝度と前記擬
似平均値との差と、所与の基準値とを比較し前記スポッ
ト光の位置を検出する位置検出処理を行う位置検出手段
を実現するための情報であることを特徴とする。The information stored in the computer-readable or computer-usable information storage medium according to the present invention may include a position detection area where a spot light for specifying a landing position is projected, or a light passing or reflecting through the position detection area. An image picked up by an image pickup means for picking up an image of the spot light forming area on which the spot light is projected is scanned in at least one of a horizontal direction and a vertical direction, and a position detection process of the spot light projected on the position detection area is performed. It is information for a shooting game, and for each scanning line of the captured image, based on the luminance from the point before n to the current scanning position,
A pseudo-average value at a current scanning position for identifying a local change in luminance is obtained, a difference between the luminance at the current scanning position and the pseudo-average value is compared with a given reference value, and the position of the spot light is compared. Characterized in that the information is information for realizing a position detecting means for performing a position detecting process for detecting a position.
【0009】さらに、本発明に係るコンピュータ読み取
り可能、または利用可能な情報記憶媒体に記憶される情
報は、スポット光が投射される検出対象エリア又は前記
検出対象エリアを通過又は反射したスポット光が投射さ
れるスポット光形成エリアを撮像する撮像手段の撮像画
像を、水平方向及び垂直方向の少なくとも一方向に走査
し、前記検出対象エリアに投射されるスポット光の位置
検出処理を行うための情報であって、前記撮像画像の各
走査ライン毎に、n点前から現在走査位置までの輝度に
基づき、輝度の局所的変化を識別するための現在走査位
置における擬似平均値を求め、前記現在走査位置の輝度
と前記擬似平均値との差と、所与の基準値とを比較し前
記スポット光の位置を検出する位置検出処理を行う位置
検出手段を実現するための情報であることを特徴とす
る。Further, the information stored in the computer readable or usable information storage medium according to the present invention may be a detection target area on which a spot light is projected or a spot light passing or reflected through the detection target area. Information for performing a position detection process of a spot light projected on the detection target area by scanning an image captured by an imaging unit that captures the spot light formation area to be scanned in at least one of a horizontal direction and a vertical direction. For each scan line of the captured image, a pseudo-average value at a current scanning position for identifying a local change in luminance is calculated based on the luminance from the point n to the current scanning position, A position detection unit that performs a position detection process of comparing a difference between luminance and the pseudo average value with a given reference value and detecting a position of the spot light is realized. It is information for.
【0010】ここにおいて、前記検出対象エリアは、例
えばシューティングゲームを行う場合には、標的等のタ
ーゲットが画像表示されるシューティングエリアであっ
てもよく、また実際のターゲット等が設置されるシュー
ティングエリアであってもよい。また、プレゼンテーシ
ョンなどを行う場合、前記検出対象エリアは、例えばプ
レゼンテーション用の画面の表示エリアとすればよい。
用途に応じて、各種エリアがこの検出対象エリアとなり
うる。Here, the detection target area may be, for example, a shooting area where a target such as a target is displayed as an image when a shooting game is played, or a shooting area where an actual target or the like is installed. There may be. When a presentation or the like is performed, the detection target area may be, for example, a display area of a screen for presentation.
Various areas can be the detection target area depending on the application.
【0011】本発明によれば、撮像画像を水平方向及び
垂直方向の少なくとも一方向に走査し、前記検出対象エ
リアに投射されるスポット光の位置検出処理を行う。According to the present invention, the captured image is scanned in at least one of the horizontal direction and the vertical direction, and the position detection processing of the spot light projected on the detection target area is performed.
【0012】このとき、前記撮像画像の各走査ライン毎
に、n点前から現在走査位置までの輝度に基づき、輝度
の局所的変化を識別するための現在走査位置における擬
似平均値を求め、前記現在走査位置の輝度と前記擬似平
均値との差と、所与の基準値とを比較することによりス
ポット光の位置検出を行う。At this time, a pseudo-average value at a current scanning position for identifying a local change in luminance is obtained for each scanning line of the captured image on the basis of the luminance from the point n to the current scanning position. The position of the spot light is detected by comparing the difference between the luminance at the current scanning position and the pseudo average value with a given reference value.
【0013】このように、本発明によれば、輝度の局所
的な変化を識別するための擬似平均値、換言すればグラ
デーション等を考慮した擬似平均値という概念を導入
し、スポット光の位置検出を行う。As described above, according to the present invention, the concept of a pseudo-average value for identifying a local change in luminance, in other words, a pseudo-average value in consideration of gradation or the like, is introduced to detect the position of a spotlight. I do.
【0014】これにより、検出対象となるエリア、例え
ばシューティングエリアや、その他のエリアに、例え
ば、外光の影響やノイズの混入によるグラデーションが
かかっているような場合でも、スポット光の位置を正確
に検出することができる。Thus, even when the area to be detected, for example, a shooting area or other areas is affected by external light or gradation caused by noise, for example, the position of the spot light can be accurately determined. Can be detected.
【0015】(2)本発明において、前記位置検出手段
は、前記撮像画像を水平方向に走査し、前記現在走査位
置の輝度と前記擬似平均値との差と、所与の基準値とを
比較することにより撮像画像内の前記スポット光の領域
を特定するとともに、前記撮像画像を垂直方向に走査
し、前記現在走査位置の輝度と前記擬似平均値との差
と、所与の基準値とを比較することにより撮像画像内の
前記スポット光の領域を特定し、前記水平及び垂直方向
の双方の走査により特定された撮像画像内のスポット光
の領域に基づき、スポット光の位置検出を行うことが好
ましい。(2) In the present invention, the position detecting means scans the captured image in a horizontal direction, and compares a difference between the luminance at the current scanning position and the pseudo average value with a given reference value. By specifying the area of the spot light in the captured image by scanning the captured image in the vertical direction, the difference between the luminance of the current scanning position and the pseudo average value, and a given reference value Specifying the area of the spot light in the captured image by comparing, and performing position detection of the spot light based on the area of the spot light in the captured image specified by both the horizontal and vertical scanning. preferable.
【0016】以上の構成を採用することにより、検出対
象エリアに前記グラデーションがかかっているような場
合や、ノイズが混入している場合でも、スポット光の位
置をより正確に検出することができる。By employing the above configuration, the position of the spot light can be detected more accurately even when the gradation is applied to the detection target area or when noise is mixed.
【0017】(3)本発明において、前記撮像画像の走
査ライン上におけるt番目の画素の擬似平均値Iave
(t)は、その手前の(t−1)番目の画素の輝度I
(t−1)と、擬似平均値をIave(t−1)に基づき
求めることが好ましい。(3) In the present invention, the pseudo average value Iave of the t-th pixel on the scan line of the captured image is
(T) is the luminance I of the preceding (t-1) th pixel.
It is preferable to obtain (t-1) and the pseudo average value based on Iave (t-1).
【0018】ここにおいて、前記擬似平均値Iave
(t)は、 Iave(t) =(n−1/n)Iave(t−1)+(1/n)I(t
−1) の式に基づき求めることがより好ましい。Here, the pseudo average value Iave
(T) is Iave (t) = (n-1 / n) Iave (t-1) + (1 / n) I (t
It is more preferable to obtain the value based on the formula of -1).
【0019】これにより、前記撮像画像の輝度の局所的
変化を識別するための現在走査位置における擬似平均値
を効果的に求め、スポット光の位置をより正確に検出す
ることができる。Thus, the pseudo average value at the current scanning position for identifying the local change in the brightness of the captured image can be effectively obtained, and the position of the spot light can be detected more accurately.
【0020】(4)また、本発明において、前記検出手
段は、前記撮像画像の1走査ライン毎にスポット光検出
候補画素を検出し、同一ライン、隣接ラインの近接エリ
アに前記検出候補群が存在するとき、前記検出候補群を
前記撮像画像内のスポット光の領域と特定し、スポット
光の位置検出を行うことが好ましい。(4) In the present invention, the detection means detects a spot light detection candidate pixel for each scanning line of the picked-up image, and the detection candidate group exists in an area near the same line and an adjacent line. In this case, it is preferable that the detection candidate group is specified as a spot light area in the captured image, and the position of the spot light is detected.
【0021】以上の構成とすることにより、スポット光
を光の集合体として、他のノイズと区別して検出するこ
とができるため、ノイズの影響をさらに効果的に排除
し、より正確なスポット光の位置検出が可能となる。With the above configuration, the spot light can be detected as an aggregate of light and distinguished from other noises, so that the influence of the noise can be more effectively eliminated and the spot light can be more accurately detected. Position detection becomes possible.
【0022】例えば、スポット光をあるレベル以上の輝
度を持った光の集合体として検出するという重み付けデ
ータを用いることにより、スポット光とノイズとをより
明確に区別し、スポット光の位置検出を行うことが可能
となる。For example, by using weighting data for detecting a spot light as an aggregate of lights having a certain level of brightness or more, spot light and noise are more clearly distinguished, and the position of the spot light is detected. It becomes possible.
【0023】(5)また、前記基準値は、前記擬似平均
値と所定の相関を持って変化することが好ましい。(5) Preferably, the reference value changes with a predetermined correlation with the pseudo average value.
【0024】ここにおいて、前記基準値は、前記擬似平
均値が小さいときには大きな値に、擬似平均値が大きな
ときには小さな値に設定されるように形成することが好
ましい。Here, it is preferable that the reference value is set so as to be set to a large value when the pseudo average value is small and to a small value when the pseudo average value is large.
【0025】このようにすることにより、検出対象エリ
アが明るいときには基準値を小さくしてスポット光を検
出でき、回りが暗い場合には、スポット光は周囲と識別
できる輝度を持って表示されるので、前記基準値を高く
して周囲のノイズに影響される可能性がないようにその
位置検出を行うことができる。In this manner, when the area to be detected is bright, the reference value can be reduced and the spot light can be detected. When the surrounding area is dark, the spot light is displayed with a luminance that can be distinguished from the surroundings. The position can be detected by increasing the reference value so as not to be affected by ambient noise.
【0026】このようにすることによって、周囲のノイ
ズの影響を受けにくい、より正確なスポット光の位置検
出が可能となる。This makes it possible to more accurately detect the position of the spot light, which is less affected by ambient noise.
【0027】(6)本発明において、前記スポット光と
しては、通常の可視光を用いてもよく、また表示画像と
分離可能な波長帯域の光、例えば赤外光を用いてもよ
い。通常の画像と分離可能な帯域の光をスポット光とし
て用いた場合には、前記撮像手段は、前記スポット光の
帯域の光のみを選択的に撮像する撮像手段として形成す
ることが好ましく、例えばスポット光として赤外光を用
いた場合には、赤外光の撮像手段を用いることが好まし
い。これにより、表示画像からスポット光のみを分離し
て撮像し、その位置検出を行うことが可能となる。(6) In the present invention, as the spot light, ordinary visible light may be used, or light in a wavelength band that can be separated from a display image, for example, infrared light may be used. When light in a band that can be separated from a normal image is used as spot light, the imaging unit is preferably formed as an imaging unit that selectively captures only light in the band of the spot light. When infrared light is used as the light, it is preferable to use an infrared light imaging unit. This makes it possible to capture only the spotlight from the display image and capture the image, and detect the position.
【0028】例えば、前記位置検出エリアには、画像が
表示され、前記スポット光としては、前記画像と識別可
能な波長帯域の光が用いられ、前記撮像手段は、上記ス
ポット光の波長帯域の光を前記画像と分離して撮像する
ものであり、前記位置検出エリアを撮像するものとすれ
ばよい。For example, an image is displayed in the position detection area, and light having a wavelength band that can be distinguished from the image is used as the spot light. May be imaged separately from the image, and the position detection area may be imaged.
【0029】シューティングゲーム用の装置を例にとる
と、前記シューティングエリアには、シューティング画
像が表示され、前記スポット光としては、前記シューテ
ィングエリア画像と識別可能な波長帯域の光が用いら
れ、前記撮像手段は、上記スポット光の波長帯域の光を
シューティング画像と分離して撮像するものであり、前
記シューティングエリアを撮像するように形成すればよ
い。Taking a device for a shooting game as an example, a shooting image is displayed in the shooting area, and light having a wavelength band that can be distinguished from the shooting area image is used as the spot light. The means captures light in the wavelength band of the spot light separately from the shooting image, and may be formed so as to capture the shooting area.
【0030】(7)本発明において、前記検出対象エリ
アは、実際の表示画像エリアに含まれるシューティング
エリアとして設定してもよい。(7) In the present invention, the detection target area may be set as a shooting area included in an actual display image area.
【0031】また、本発明において、前記情報記憶媒体
には、シューティング用ゲームに代え、シューティング
用のシミュレーションを行うための情報を記憶するよう
に形成してもよい。In the present invention, the information storage medium may be formed so as to store information for performing a simulation for shooting instead of a shooting game.
【0032】また本発明において、情報記憶媒体に記憶
される情報としては、前記各手段を実現するためのプロ
グラムであってもよく、またプログラムのデータの組合
せであってもよい。また、前記各手段を実行するための
情報(例えばプログラム)は、コンピュータにより使用
可能な情報(例えばプログラム等)であって、上記手段
を実現(実行)するための処理ルーチンを含むものであ
ってもよい。In the present invention, the information stored in the information storage medium may be a program for realizing each of the above means, or may be a combination of program data. The information (for example, a program) for executing each of the means is information (for example, a program or the like) usable by a computer, and includes a processing routine for realizing (executing) the above means. Is also good.
【0033】[0033]
【発明の実施の形態】次に、本発明の実施の形態を図面
に基づき詳細に説明する。Next, embodiments of the present invention will be described in detail with reference to the drawings.
【0034】(1)全体説明 図1には、本発明が適用されたシューティング用シミュ
レータの第1の実施の形態の概略構成が示されている。(1) Overall Description FIG. 1 shows a schematic configuration of a first embodiment of a shooting simulator to which the present invention is applied.
【0035】本発明のシミュレータ10は、シューティ
ングゲームを行うゲーム装置として形成されており、照
準方向に赤外線ビームを発射するシューティングディバ
イスとしての光線銃20と、シューティング用のゲーム
画面を表示するディスプレイ30と、前記ゲーム画面を
撮像する赤外線ビデオカメラ40と、ゲーム装置本体5
0とを有する。The simulator 10 of the present invention is formed as a game device for performing a shooting game, and includes a light gun 20 as a shooting device that emits an infrared beam in an aiming direction, a display 30 for displaying a shooting game screen. , An infrared video camera 40 for imaging the game screen, and a game device body 5
0.
【0036】前記ディスプレイ30に表示されるシュー
ティング用ゲーム画面には、標的画像、背景画像、命中
演出画像等の種々の画像が含まれる。The shooting game screen displayed on the display 30 includes various images such as a target image, a background image, and a hit effect image.
【0037】光線銃20は、ゲーム装置本体50に接続
され、光線銃20の先端に設けられた赤外線投射部(例
えば赤外線LED)22からその照準方向に赤外線ビー
ムが投射され、ディスプレイ30上に赤外線のスポット
光26を投影する。The light gun 20 is connected to the game apparatus main body 50, and an infrared beam is projected in an aiming direction from an infrared projection unit (for example, an infrared LED) 22 provided at the tip of the light gun 20, and the infrared ray is projected on the display 30. Is projected.
【0038】ビデオカメラ40は、赤外線撮像手段に相
当し、ディスプレイ30上に表示される画像、特にその
検出対象エリアであるシューティングエリアを撮像す
る。ここでは、ディスプレイ30を、その下側から所定
のあおり角をもって撮像するように、赤外線ビデオカメ
ラ40が設置されている。The video camera 40 corresponds to an infrared image pickup means, and picks up an image displayed on the display 30, in particular, a shooting area which is an area to be detected. Here, an infrared video camera 40 is installed so as to image the display 30 from below at a predetermined tilt angle.
【0039】ゲーム装置本体50は、シミュレータ10
の各種の制御及び処理を行う。The game apparatus main body 50 includes the simulator 10
Various controls and processes are performed.
【0040】図2には、このゲーム装置本体の機能を実
現するための概略構成を示すブロック図が示されてい
る。FIG. 2 is a block diagram showing a schematic configuration for realizing the functions of the game device main body.
【0041】ゲーム装置本体50は、処理部100と、
RAM140と、ROM150と、画像生成部160
と、音生成部170と、音出力部180と、コントロー
ル部200を有する。The game device main body 50 includes a processing unit 100,
RAM 140, ROM 150, image generation unit 160
, A sound generation unit 170, a sound output unit 180, and a control unit 200.
【0042】処理部100は、装置全体の制御、装置内
の各ブロックへの命令の指示、ゲーム演算の各種の処理
を行うものであり、その機能は、CPU(CISC型、
RISC型)、DSP、ASIC(ゲートアレイ等)等
のハードウエアや所与のプログラム(ゲームプログラ
ム)により実現できる。The processing section 100 controls the entire apparatus, gives instructions to each block in the apparatus, and performs various processing of game calculation. Its functions are performed by a CPU (CISC type,
(RISC type), DSP, ASIC (gate array or the like), or a given program (game program).
【0043】RAM140は、処理部100、画像生成
部160、音生成部170、コントロール部200のワ
ーク領域となるものである。The RAM 140 serves as a work area for the processing section 100, the image generation section 160, the sound generation section 170, and the control section 200.
【0044】コンピュータにより情報の読み取り可能、
コンピュータが利用可能な情報記憶媒体であるROM1
50は、各種のプログラム、データ等の情報を記憶する
ものである。本実施の形態においては、シューティング
ゲームを行うための情報が格納されている。このシュー
ティングゲームを行うための情報には、少なくとも、処
理部100をゲーム演算部110として機能させ、コン
トロール部200を位置検出部210、銃制御部220
として機能させるための情報が記憶されている。シュー
ティングゲーム用画像データ、シューティングゲーム用
音声データ、前述以外に必要となるシューティングゲー
ム実行プログラム、命中判定プログラム、演算プログラ
ム等も、シューティングゲームを行うための情報として
ROM150に記憶されている。Information can be read by a computer,
ROM1, which is an information storage medium usable by a computer
Reference numeral 50 stores information such as various programs and data. In the present embodiment, information for playing a shooting game is stored. The information for playing this shooting game includes at least the processing section 100 functioning as the game calculation section 110 and the control section 200 as the position detection section 210 and the gun control section 220.
The information for functioning as is stored. The shooting game image data, the shooting game audio data, the shooting game execution program, the hit determination program, the calculation program, and the like other than those described above are also stored in the ROM 150 as information for performing the shooting game.
【0045】画像生成部160は、処理部100からの
指示等に従って、各種の画像、例えばシューティング用
のゲーム画像を生成してディスプレイ30に表示させる
ためのものであり、その機能は、画像生成用ASIC、
CPU、DSP等のハードウエアや、所与のプログラム
(画像生成プログラム)、画像データにより実現でき
る。画像生成部160で生成された画像は、ディスプレ
イ30上に表示される。The image generating section 160 is for generating various images, for example, a game image for shooting according to an instruction from the processing section 100 and displaying the same on the display 30. The function thereof is as follows. ASIC,
It can be realized by hardware such as a CPU and a DSP, a given program (image generation program), and image data. The image generated by the image generation unit 160 is displayed on the display 30.
【0046】音生成部170は、処理部100からの指
示等に従って、各種の音を生成し音出力部180に出力
するものであり、その機能は、音生成ASIC、CP
U、DSP等のハードウエアや、所与のプログラム(音
生成プログラム)、音声データ(波形データ)により実
現できる。The sound generation section 170 generates various sounds in accordance with instructions from the processing section 100 and outputs the generated sounds to the sound output section 180. The function of the sound generation section 170 is as follows.
It can be realized by hardware such as U and DSP, a given program (sound generation program), and audio data (waveform data).
【0047】前記コントロール部200は、前記カメラ
40、光線銃20の制御や、これらとの間の情報の授受
を行うものであり、さらに、位置検出部210、銃制御
部220としても機能するように構成されており、その
機能は、例えばCPU、ROM、RAM及び所与のプロ
グラム、データなどにより実現できる。The control section 200 controls the camera 40 and the light gun 20 and exchanges information between them, and further functions as a position detection section 210 and a gun control section 220. The functions can be realized by, for example, a CPU, a ROM, a RAM, and given programs and data.
【0048】銃制御部220は、光線銃20を制御する
ものであり、光線銃20の赤外光投射部22から赤外線
ビームを照準方向へ向け常時発光させ、さらにプレーヤ
が光線銃20のトリガー24を引いたときに、そのトリ
ガー走査信号を受信し、このトリガー信号を受信するこ
とにより、光線銃20から弾丸が赤外線ビームとして発
射されたと認識するように構成されている。The gun control section 220 controls the light gun 20 and constantly emits an infrared beam from the infrared light projecting section 22 of the light gun 20 in the aiming direction. Is received, the trigger scanning signal is received, and by receiving this trigger signal, it is configured to recognize that the bullet is emitted from the light gun 20 as an infrared beam.
【0049】(2)次に、光線銃20からディスプレイ
30上に投射されるスポット光26の位置検出を行うた
めの構成を詳細に説明する。(2) Next, a configuration for detecting the position of the spot light 26 projected from the light gun 20 onto the display 30 will be described in detail.
【0050】前記位置検出部210は、ビデオカメラ4
0から出力される撮像画像を図示しないRAM内に一旦
記憶する。そして、この撮像画像を水平方向及び垂直方
向の少なくとも一方向に走査し、ディスプレイ30上に
表示されるスポット光26の位置検出処理を行う。撮像
画像に対する位置検出用の走査は、水平または垂直のい
ずれか一方向のみでもよいが、本実施の形態では、検出
精度をより高いめるために、水平及び垂直の双方に位置
検出用の走査を行っている。The position detecting section 210 is a video camera 4
The captured image output from 0 is temporarily stored in a RAM (not shown). Then, the captured image is scanned in at least one of the horizontal direction and the vertical direction, and the position of the spot light 26 displayed on the display 30 is detected. Scanning for position detection with respect to the captured image may be performed in only one of the horizontal and vertical directions, but in the present embodiment, in order to further increase the detection accuracy, scanning for position detection is performed in both the horizontal and vertical directions. It is carried out.
【0051】本実施の形態において、位置検出部210
は、擬似平均値演算部212、閾値データ記憶部21
4、位置検出処理部216として機能する。In this embodiment, the position detector 210
Are the pseudo average value calculation unit 212 and the threshold data storage unit 21
4. It functions as the position detection processing unit 216.
【0052】図3には、位置検出処理の概略フローチャ
ートが示されている。FIG. 3 shows a schematic flowchart of the position detecting process.
【0053】ここでは、ディスプレイ30の撮像画像と
して、図5(A)に示す画像が得られた場合を想定す
る。ここにおいて26は、撮像画像に含まれるスポット
光を表し、27はノイズを表し、28はディスプレイ3
0に外からの光がノイズとして照射された輝度の高い外
光照射エリアを表す。Here, it is assumed that the image shown in FIG. 5A is obtained as a captured image of the display 30. Here, 26 represents a spot light included in the captured image, 27 represents noise, and 28 represents the display 3.
A value of 0 indicates an external light irradiation area having a high luminance irradiated with external light as noise.
【0054】この撮像画像に対して、まずステップS1
0に示すように位置検出用の水平走査処理を行う。この
処理は、RAM内に書き込まれた1画面分の撮像画像
を、通常の水平走査と同じように、画面上方から下方へ
1ラインずつ走査することにより行う。First, at step S 1,
As shown at 0, a horizontal scanning process for position detection is performed. This processing is performed by scanning the captured image for one screen written in the RAM line by line from the upper part to the lower part of the screen, similarly to the normal horizontal scanning.
【0055】図5(B)は、スポット光26と交叉する
水平走査ライン上の輝度を表す。同図に示すよう、この
画像にはグラデーションがかかっており、画像の左から
右にかけて、次第に輝度が増加し、外光照射エリア28
ではその増加が急激となる。FIG. 5B shows the luminance on a horizontal scanning line intersecting with the spot light 26. As shown in the figure, the image has gradation, and the brightness gradually increases from left to right of the image, and the external light irradiation area 28
Then the increase becomes sharp.
【0056】本実施の形態では、後述するように、輝度
の局所的変化を識別するために、現在の走査位置(現在
の走査画素の位置)における擬似平均値という概念を導
入する。そして、現在走査位置の画素の輝度と前記擬似
平均値との差を、所与の基準値と比較することによっ
て、水平走査される各画素毎に、当該画素がスポット光
26を構成する検出候補画素となるか否かを判定する。In the present embodiment, as will be described later, a concept of a pseudo average value at a current scanning position (current scanning pixel position) is introduced to identify a local change in luminance. Then, by comparing the difference between the luminance of the pixel at the current scanning position and the pseudo average value with a given reference value, a detection candidate in which the pixel constitutes the spotlight 26 is obtained for each pixel that is horizontally scanned. It is determined whether or not it is a pixel.
【0057】このような処理を、撮像画像を構成する水
平走査ライン毎に行い、図5(C)に示すように、ディ
スプレイ30内に含まれる検出候補画素(スポット光と
して認識される可能性のある画素)を抽出し特定する処
理を行う。Such processing is performed for each horizontal scanning line constituting the captured image, and as shown in FIG. 5C, detection candidate pixels (possibility of being recognized as spot light) included in the display 30 are displayed. A process of extracting and specifying a certain pixel is performed.
【0058】次に、ステップS20において、RAM内
に記憶された前記撮像画像を、図6(A)で示すよう
に、位置検出用に垂直方向に走査する垂直走査処理を行
う。ここでは、撮像画像の左側の垂直走査ラインから、
右方向に順次走査を行う。図6(B)は、スポット光2
6と交叉する垂直する垂直走査ラインの輝度を表す。そ
して、水平走査処理と同様な手法により、図6(C)に
示すように、この撮像画像中に含まれるスポット光26
の検出候補となる画素を抽出し特定する処理を行う。Next, in step S20, a vertical scanning process for scanning the captured image stored in the RAM in the vertical direction for position detection as shown in FIG. 6A is performed. Here, from the vertical scanning line on the left side of the captured image,
Scan sequentially in the right direction. FIG. 6B shows a spot light 2.
6 represents the luminance of a vertical scanning line that intersects with the vertical scanning line 6. Then, according to the same method as the horizontal scanning process, as shown in FIG.
A process of extracting and specifying a pixel as a detection candidate of is performed.
【0059】ここでは、位置検出用の水平、垂直走査処
理により、図5(C)、図6(C)に示すように、スポ
ット光26に対応する画素と、ノイズ27に対応する画
素が検出候補画素として抽出されている。Here, as shown in FIGS. 5C and 6C, a pixel corresponding to the spot light 26 and a pixel corresponding to the noise 27 are detected by horizontal and vertical scanning processing for position detection. It has been extracted as a candidate pixel.
【0060】次にステップS30において、水平走査処
理及び垂直走査処理の双方によって特定された共通の検
出候補画素を特定し、ここで特定された画素が、スポッ
ト光26に対応する画素と認識される。水平走査処理で
は、図5(C)に示すように画面右下にノイズが含まれ
た抽出画像が得られ、垂直走査では図6(C)に示すよ
うに画面上方にノイズが含まれた抽出画像が得られる。
従って、図5(C)及び図6(C)の双方に共通の検出
候補画素を求めることにより、これら抽出画像に含まれ
るノイズ27の成分は良好に除去され、スポット光26
に対応する画素のみが抽出されることになる。Next, in step S30, a common detection candidate pixel specified by both the horizontal scanning process and the vertical scanning process is specified, and the specified pixel is recognized as a pixel corresponding to the spot light 26. . In the horizontal scanning process, an extracted image containing noise is obtained at the lower right of the screen as shown in FIG. 5C, and in the vertical scanning, an extracted image containing noise is obtained at the upper portion of the screen as shown in FIG. 6C. An image is obtained.
Therefore, by finding a detection candidate pixel common to both FIG. 5 (C) and FIG. 6 (C), the components of the noise 27 contained in these extracted images are satisfactorily removed, and the spot light 26
Will be extracted.
【0061】特に、ディスプレイ30上には外からの光
等の影響により、さらにはディスプレイ30上に表示さ
れる画像の種類等により、ディスプレイに表示される画
像には一様にグラデーションがかかる場合や、一部の領
域のみが明るく表示される場合があり、さらに局所的に
ノイズが混入する場合等も多い。これに対し、本発明に
よれば後述する擬似平均値という概念を導入し、スポッ
ト光を抽出することにより、前述したグラデーションや
ノイズの影響を効果的に排除することができ、しかもス
テップS10、S20に示すように水平及び垂直方向の
双方に撮像画像を走査しスポット光26となるべき検出
対象を特定するという処理を行うことにより、撮像画像
に含まれる局所的なノイズをより良好に排除し、スポッ
ト光26のみをより確実に特定することができる。In particular, when the image displayed on the display 30 is uniformly shaded by the influence of external light or the like on the display 30 and further depending on the type of the image displayed on the display 30, In some cases, only a part of the area is displayed brightly, and in many cases, noise is locally mixed. On the other hand, according to the present invention, by introducing the concept of a pseudo average value described later and extracting the spot light, it is possible to effectively eliminate the influence of the above-mentioned gradation and noise. By performing the process of scanning the captured image in both the horizontal and vertical directions and specifying the detection target to be the spot light 26 as shown in, the local noise included in the captured image is more properly eliminated, Only the spot light 26 can be specified more reliably.
【0062】そして、次のステップS40において、位
置検出処理部216は、撮像画像中において特定された
スポット光26を構成する画素のデータに基づき、ディ
スプレイ30上におけるスポット光26の位置座標を求
め、この検出位置データを、ゲーム演算部110へ向け
送信する。Then, in the next step S40, the position detection processing section 216 obtains the position coordinates of the spot light 26 on the display 30 based on the data of the pixels constituting the spot light 26 specified in the captured image. The detected position data is transmitted to the game calculation unit 110.
【0063】本実施の形態では、このようなステップS
10〜S40の一連の処理を、ビデオカメラ40が画像
を撮像する毎に繰り返して行う。In the present embodiment, such a step S
A series of processes from 10 to S40 is repeated each time the video camera 40 captures an image.
【0064】ゲーム演算部110は、この検出データに
基づき、ゲーム画面上に光線銃20の照準方向を示す照
準表示マークを表示させる処理を行う。さらに光線銃2
0のトリガー24が操作された信号が、銃制御部220
から送信されてくると、命中判定部116は、スポット
光の検出位置と、ディスプレイ上に表示される標的の表
示位置とを照合し、その命中判定を行い、各種のゲーム
演出処理を行うように構成されている。The game calculation section 110 performs a process of displaying an aiming display mark indicating the aiming direction of the light gun 20 on the game screen based on the detected data. And ray gun 2
The signal that the zero trigger 24 is operated is transmitted to the gun control unit 220.
The hit determination unit 116 compares the detected position of the spotlight with the display position of the target displayed on the display, performs the hit determination, and performs various game effect processing. It is configured.
【0065】図4には、前記位置検出用の水平走査処理
S10及び位置検出用の垂直走査処理S20のフローチ
ャートが示されている。水平及び垂直方向の走査処理は
いずれも同一の手法で行われるので、ここでは、図5
(A)に示すような撮像画像に対し、位置検出用の水平
走査処理を行う場合を例にとり説明する。FIG. 4 shows a flowchart of the horizontal scanning processing S10 for position detection and the vertical scanning processing S20 for position detection. Since both the horizontal and vertical scanning processes are performed by the same method, FIG.
An example in which a horizontal scanning process for position detection is performed on a captured image as shown in FIG.
【0066】まず、ステップS100において、k=1
に設定する。ここでkは、撮像画像を構成する水平走査
線が、上から数えて何本目の水平走査ラインであるかを
表すものである。First, in step S100, k = 1
Set to. Here, k represents the number of horizontal scanning lines counted from above, which form the captured image.
【0067】次に、ステップS110において、k番目
のラインの水平走査を開始する。ここでは前述したよう
にk=1であるので、1番目の水平走査ラインの走査を
開始する。Next, in step S110, the horizontal scanning of the k-th line is started. Here, since k = 1 as described above, scanning of the first horizontal scanning line is started.
【0068】次に、ステップS120〜S140の処理
を行い、S150においてkラインの走査が終了したと
判断されると、次のステップS160でk=k+1と、
走査ラインを1つインクリメントする処理を行う。Next, the processing of steps S120 to S140 is performed. If it is determined in step S150 that the scanning of the k-th line has been completed, then in the next step S160, k = k + 1,
A process for incrementing the scanning line by one is performed.
【0069】このようなステップS110〜S160の
処理を、ステップS170において全ラインの走査が終
了したと判断されるまで繰り返して行う。The processing in steps S110 to S160 is repeated until it is determined in step S170 that the scanning of all the lines has been completed.
【0070】前述したように、位置検出部210は、擬
似平均値を演算する擬似平均値演算部212と、図8に
示すよう擬似平均値に対応した閾値(基準値)のテーブ
ルデータを記憶する閾値データ記憶部214と、スポッ
ト光の位置検出処理を行う市検出処理部216として機
能し、前記ステップS120〜140の処理を行うよう
に構成されている。As described above, the position detecting section 210 stores the pseudo average value calculating section 212 for calculating the pseudo average value and the table data of the threshold value (reference value) corresponding to the pseudo average value as shown in FIG. It functions as a threshold data storage unit 214 and a city detection processing unit 216 that performs a spot light position detection process, and is configured to perform the processes of steps S120 to S140.
【0071】次に、前記ステップS120〜S140の
処理を、例えば図5(A)に示すように、スポット光2
6が存在する水平走査ラインに対して行っている場合に
注目して説明する。Next, the processing of steps S120 to S140 is performed, for example, as shown in FIG.
The following description focuses on the case where the operation is performed on a horizontal scanning line in which 6 exists.
【0072】図7は、1つの走査ラインを模擬的に表し
た説明図であり、同図に示すように、各ラインは、画像
を構成する複数の画素が隣接配置されている。このライ
ンに対する水平走査は、1番目の画素から、図中右方向
に向けて順番に行われる。t番目の画素の輝度をI
(t)とし、t番目の画素を含めた手前n個の輝度の平
均をIn(t)とすると、In(t)の値は次式で求めら
れる。 In(t) ={I(t−1)+I(t−2)+…+I(t−n)}/n …(1) 同様に、(t−1)番目の画素の平均In(t−1)
は、次式で与えられる。 In(t−1) ={I(t−2)+I(t−3)+…+I(t−1−n)}/n …(2) 前記(1)式から(2)式の値を引くと、次式が得られ
る。 In(t)−In(t−1) ={I(t−1)−I(t−1−n)}/n …(3)とすると、 ここで、 I(t−1−n)/n≒In(t−1)/n とすると、 In(t)≒In(t−1)+{I(t−1)/n−In(t−1)/n} =In(t−1)*(n−1)/n+I(t−1)/n …(4) となる。この近似を用いた平均をIave(t)とする
と、 Iave(t)=Iave(t−1)*(n−1)/n+I(t−1)/n …(5) となる。FIG. 7 is an explanatory diagram schematically showing one scanning line. As shown in FIG. 7, in each line, a plurality of pixels constituting an image are arranged adjacently. Horizontal scanning of this line is performed in order from the first pixel toward the right in the figure. Let the luminance of the t-th pixel be I
Assuming that (t), and the average of the n luminances before the pixel including the t-th pixel is I n (t), the value of I n (t) is obtained by the following equation. I n (t) = {I (t−1) + I (t−2) +... + I (t−n)} / n (1) Similarly, the average I n of the (t−1) -th pixel t-1)
Is given by the following equation. I n (t-1) = {I (t-2) + I (t-3) + ... + I (t-1-n)} / n ... (2) (1) from equation (2) values Subtracting gives the following equation: When I n (t) -I n ( t-1) = {I (t-1) -I (t-1-n)} / n ... (3), where, I (t-1-n ) / n ≒ I n (t -1) When / n, I n (t) ≒ I n (t-1) + {I (t-1) / n-I n (t-1) / n} = I n (t-1) * (n-1) / n + I (t-1) / n ... is (4). Assuming that the average using this approximation is Iave (t), Iave (t) = Iave (t-1) * (n-1) / n + I (t-1) / n (5)
【0073】擬似平均Iave(t)は、n点の平均の近
似を意味する。The pseudo average Iave (t) means approximation of the average of n points.
【0074】実際のビデオ画像は、360×248の画
像であり、スポット光26の大きさは4〜10画素程度
であるので、この場合には、計算のしやすさも考慮し
て、n=4とすることが好ましい。画像の大きさ、スポ
ットの大きさにより、nの値は、変更する必要がある。The actual video image is a 360 × 248 image, and the size of the spotlight 26 is about 4 to 10 pixels. In this case, n = 4 in consideration of the easiness of calculation. It is preferable that The value of n needs to be changed depending on the size of the image and the size of the spot.
【0075】そして、擬似平均値演算部212は、前記
(5)式に基づき、t番目の画素(現在の走査位置の画
素)の擬似平均値Iave(t)を演算する。このような
擬似平均値の演算を、水平走査が1画素進む毎に行う。Then, the pseudo average value calculating section 212 calculates the pseudo average value Iave (t) of the t-th pixel (the pixel at the current scanning position) based on the above equation (5). Such calculation of the pseudo average value is performed every time the horizontal scanning advances by one pixel.
【0076】このようにして求めた擬似平均値Iave
(t)は、n点前から現在走査位置までの輝度に基づ
き、輝度の局所的な変化を識別するための擬似的な平均
値であり、従来にはない全く新しい概念である。具体的
には、1つ手前の(t−1)番目の画素における擬似平
均値と実際の輝度とを考慮して、現在の位置tにおける
輝度の擬似平均値を求める。すなわち、(5)式に従っ
て演算することで、グラデーションを考慮した擬似的な
平均値を求めることができる。The pseudo average value Iave thus obtained is
(T) is a pseudo average value for identifying a local change in the luminance based on the luminance from the point n points before to the current scanning position, and is a completely new concept that has not existed in the past. Specifically, the pseudo average value of the luminance at the current position t is determined in consideration of the pseudo average value of the immediately preceding (t−1) -th pixel and the actual luminance. That is, by calculating according to the equation (5), a pseudo average value in consideration of gradation can be obtained.
【0077】本実施の形態では、擬似的な平均値と実際
の輝度との差を、次式に示される所定の基準値Sと比較
する。そして、t番目の画素における輝度と擬似平均値
との差が、所定の基準値を上回る場合に、当該画素を、
検出候補画素として特定する。 I(t)−Iave(t)>S(Iave(t)) …(6) 前記(6)式の条件を満足する画素は、検出対象となる
局所的な明るさである、スポット光を構成する可能性の
ある検出候補画素であると認定する。In this embodiment, the difference between the pseudo average value and the actual luminance is compared with a predetermined reference value S represented by the following equation. When the difference between the luminance and the pseudo average value at the t-th pixel exceeds a predetermined reference value,
It is specified as a detection candidate pixel. I (t) -Iave (t)> S (Iave (t)) (6) Pixels satisfying the condition of the above expression (6) constitute a spot light which is a local brightness to be detected. It is determined that the pixel is a detection candidate pixel that may be detected.
【0078】このようにすることによって、実像の画面
にグラデーションがかかっている場合でも、撮像画像か
らスポット光の領域を正確に抽出することができる。In this way, even if the real image screen has gradation, the spotlight area can be accurately extracted from the captured image.
【0079】本実施の形態において、前記(6)式の基
準値Sは、擬似平均値と所定の相関をもって変化する閾
値として、閾値データ記憶部214に記憶されている。
図8は、この閾値データの説明図であり、閾値Sの値
は、擬似平均値Iaveが大きくなるに従い小さくなるよ
うに設定されている。In the present embodiment, the reference value S in the above equation (6) is stored in the threshold data storage unit 214 as a threshold value that changes with a predetermined correlation with the pseudo average value.
FIG. 8 is an explanatory diagram of the threshold data, and the value of the threshold S is set so as to decrease as the pseudo average value Iave increases.
【0080】位置検出処理部216は、前記(5)式で
求めた擬似平均値の値に対応した閾値Sを図8のデータ
を参照してその都度選定し、選定した値を前記(6)式
に示す閾値Sとして用い、前記(6)式の認定処理を行
う。そして、(6)式を満足する画素を、スポット光2
6の検出候補画素として選定する。The position detection processing unit 216 selects a threshold value S corresponding to the value of the pseudo average value obtained by the above equation (5) each time with reference to the data of FIG. Using the threshold value S shown in the equation, the authorization processing of the equation (6) is performed. Then, the pixels satisfying the expression (6) are identified as spot light 2
6 are selected as detection candidate pixels.
【0081】以上の構成とすることにより、周囲が明る
いとき、すなわち擬似平均値が高いときには閾値が低く
設定され、擬似平均値が低い場合には、閾値が高く設定
される。このようにすることによって、回りが明るい場
合には閾値が低くなって、スポット光を抽出でき、また
回りが暗い場合には、閾値を高くして、ノイズが含まれ
ないようにスポット光を抽出できる。With the above configuration, when the surroundings are bright, that is, when the pseudo average value is high, the threshold value is set low, and when the pseudo average value is low, the threshold value is set high. In this way, when the surroundings are bright, the threshold value becomes low, and the spotlight can be extracted. When the surroundings are dark, the threshold value is made high, and the spotlight is extracted so as not to include noise. it can.
【0082】このようにすることによって、周囲のノイ
ズの影響を受けにくく、正確にスポット光26を構成す
る画素を検出することができる。In this manner, the pixels constituting the spot light 26 can be accurately detected without being affected by the surrounding noise.
【0083】図5(B)には、スポット光26と交叉す
る水平走査ライン上における輝度の変化が示されてい
る。ここでは、画面の左方向から右方向に輝度が高くな
るようにグラデーションがかかっており、さらに走査位
置が外光照射エリア28に差しかかると輝度が急激に上
昇している。このような場合でも、本実施の形態によれ
ば、前記(5)式で検出候補画素における、輝度の局所
的変化を識別するための擬似平均値を求め、しかもこの
ようにして求めた擬似平均値と対応する閾値を図8から
選定し、前記(6)式に基づき、当該画素が検出候補画
素か否かの判定を行っているため、グラデーションやノ
イズの影響を効果的に排除し、撮像画像がスポット光2
6を構成する画素の抽出を良好に行うことができる。FIG. 5B shows a change in luminance on a horizontal scanning line intersecting with the spot light 26. Here, gradation is applied so that the luminance increases from the left direction to the right direction of the screen, and when the scanning position approaches the external light irradiation area 28, the luminance sharply increases. Even in such a case, according to the present embodiment, the pseudo average value for identifying a local change in luminance in the detection candidate pixel is obtained by the above equation (5), and the pseudo average value thus obtained is obtained. The threshold value corresponding to the value is selected from FIG. 8 and whether or not the pixel is a detection candidate pixel is determined based on the above equation (6). Image is spotlight 2
6 can be satisfactorily extracted.
【0084】また、本実施の形態の位置検出部210
は、ステップS20において、撮像画像に対する、位置
検出用の垂直走査処理を行う。この処理も基本的には図
4に示すフローチャートに従って行われる。ここでk
は、図6(A)に示す撮像画像の左から数えてk番目の
垂直走査ラインを意味する。The position detecting section 210 of the present embodiment
Performs vertical scanning processing for position detection on the captured image in step S20. This processing is also basically performed according to the flowchart shown in FIG. Where k
Means the k-th vertical scanning line counted from the left of the captured image shown in FIG.
【0085】図6(B)は、スポット光26と交叉する
垂直走査ラインの輝度の変化を表している。FIG. 6B shows a change in luminance of a vertical scanning line intersecting with the spot light 26.
【0086】図6(A)に示す撮像画像に、図4に示す
フローチャートに従った位置検出用の垂直走査処理を行
うことにより、図6(C)に示すように、スポット光2
6の検出候補画素を抽出し特定することができる。By performing vertical scanning processing for position detection in accordance with the flowchart shown in FIG. 4 on the captured image shown in FIG. 6A, the spot light 2 shown in FIG.
Six detection candidate pixels can be extracted and specified.
【0087】そして、本実施の形態では、前記ステップ
S30の処理で説明したように、水平及び垂直走査によ
って得られた検出候補画素の共通部分を求めることによ
り、ノイズ27成分を確実に除去し、スポット光26を
構成する検出候補画素のみを正確に抽出することができ
る。即ち、グラデーションのかかっている方向によっ
て、一方の走査で除去できないノイズも、他方の走査に
よって除去できる。このようにして、ステップS10、
S20の処理によって得られた画素のアンド成分を抽出
することにより、ノイズを効果的に除去し、スポット光
26のみを正確に抽出することができる。In the present embodiment, as described in the processing in step S30, the common portion of the detection candidate pixels obtained by the horizontal and vertical scanning is obtained, so that the noise 27 component is reliably removed. Only the detection candidate pixels constituting the spot light 26 can be accurately extracted. That is, noise that cannot be removed by one scan depending on the direction in which gradation is applied can also be removed by the other scan. Thus, step S10,
By extracting the AND component of the pixel obtained by the processing in S20, noise can be effectively removed, and only the spot light 26 can be accurately extracted.
【0088】これに加え、実施例の位置検出処理部21
6は、撮像画像の一走査ライン毎にスポット光検出候補
画素を検出し、同一ライン、隣接ラインの近接エリアに
前記検出候補画素が群として存在するときに、当該検出
候補画素群を撮像画像のスポット光領域として特定する
処理を行う。このように、スポット光を光りの集まりと
して認識することにより、より確実にスポット光26を
他のノイズと区別して検出することができる。In addition, the position detection processing unit 21 of the embodiment
6 detects a spot light detection candidate pixel for each scanning line of the captured image, and when the detection candidate pixels are present as a group in an adjacent area of the same line and an adjacent line, the detection candidate pixel group A process for specifying a spot light area is performed. In this way, by recognizing the spot light as a group of lights, the spot light 26 can be more reliably distinguished from other noises and detected.
【0089】図9には、水平及び垂直走査によってスポ
ット光として特定された画素の一例が示されている。図
中○印で示された画素は、スポット光を構成する候補と
認定された画素である。同図で示すように、同一ライン
及び隣接ラインに、検出候補画素が近接又は隣接して所
定の広がりを持ったエリアとして存在する場合には、こ
れをスポット光として認識することができる。そして、
これら検出候補画素群の中心位置を、スポット光の位置
として求める。FIG. 9 shows an example of a pixel specified as a spot light by horizontal and vertical scanning. Pixels indicated by a circle in the figure are pixels that have been identified as candidates for forming a spotlight. As shown in the drawing, when the detection candidate pixels exist in the same line and the adjacent line as an area having a predetermined spread adjacent to or adjacent to each other, this can be recognized as a spot light. And
The center position of these detection candidate pixel groups is determined as the position of the spot light.
【0090】以上の構成とすることにより、ディスプレ
イ30の撮像画像から、スポット光の位置検出をノイズ
等の影響を受けることなく正確に行うことが可能とな
る。With the above arrangement, it is possible to accurately detect the position of the spot light from the captured image on the display 30 without being affected by noise or the like.
【0091】(3)他の実施の形態 なお、図1に示した構成に変えて図10に示すような構
成を採用することも可能である。図10は、本発明に係
るシミュレータの他の例を示す概略説明図である。な
お、前記実施の形態と対応する部材には同一符号を付し
てその説明は省略する。(3) Other Embodiments A configuration as shown in FIG. 10 may be employed instead of the configuration shown in FIG. FIG. 10 is a schematic explanatory view showing another example of the simulator according to the present invention. Members corresponding to those of the above-described embodiment are denoted by the same reference numerals, and description thereof is omitted.
【0092】ゲーム装置本体30は、筐体351と、こ
の筐体における光線銃20側の面に設けられたディスプ
レイ316と、ディスプレイ316と対応する位置にお
いて筐体351の内部に形成されたスポット光形成エリ
ア312と、このスポット光形成エリア312及びディ
スプレイ316の間に配置されたハーフミラー314
と、このハーフミラー314の下方において表示画面を
上方に向けて設置されたCRT32と、前記スポット光
形成エリア312を撮像する赤外線ビデオカメラ40と
を含む。また、ゲーム装置本体の内部には図示しない回
路基板が組み込まれ、図2のブロック図に示された機能
と同様な機能を実現するように構成されている。The game apparatus body 30 includes a housing 351, a display 316 provided on the surface of the housing on the light gun 20 side, and a spotlight formed inside the housing 351 at a position corresponding to the display 316. Forming area 312 and a half mirror 314 disposed between the spot light forming area 312 and the display 316
And a CRT 32 installed below the half mirror 314 with the display screen facing upward, and an infrared video camera 40 for imaging the spot light forming area 312. In addition, a circuit board (not shown) is incorporated inside the game apparatus main body, and is configured to realize the same function as the function shown in the block diagram of FIG.
【0093】ディスプレイ316は、ガラス板やプラス
チック板等の透明部材で形成されており、ハーフミラー
314で映し出された画像を外部から見られるようにな
っている。[0093] The display 316 is formed of a transparent member such as a glass plate or a plastic plate so that the image projected by the half mirror 314 can be viewed from the outside.
【0094】ハーフミラー314が、入射される光の一
部を透過し他を反射するものであり、分離手段に相当す
る。ハーフミラー314は、光線銃20の方向に対して
所定角度、ここでは45度傾けて設置されている。スポ
ット光形成エリア312は、光線銃20の方向から入射
した光をハーフミラー314が透過する方向に形成さ
れ、CRT32は、光線銃20の方向から入射した光を
ハーフミラー314が反射する方向に設置される。これ
により、下方に設置されたCRT32の画像をプレーヤ
の方向に反射表示して、光線銃20を手にしたプレーヤ
に画像を見せることが可能となる。また、光線銃20か
ら発射された赤外線ビームはハーフミラー314を透過
し、スポット光形成領域312にスポット光として形成
されることになる。The half mirror 314 transmits a part of the incident light and reflects the other part, and corresponds to a separating means. The half mirror 314 is installed at a predetermined angle with respect to the direction of the light gun 20, here 45 °. The spot light forming area 312 is formed in a direction in which light incident from the direction of the light gun 20 is transmitted by the half mirror 314, and the CRT 32 is installed in a direction in which light incident from the direction of the light gun 20 is reflected by the half mirror 314. Is done. As a result, the image of the CRT 32 installed below can be reflected and displayed in the direction of the player, and the image can be shown to the player holding the light gun 20. In addition, the infrared beam emitted from the light gun 20 passes through the half mirror 314 and is formed as spot light in the spot light forming area 312.
【0095】ビデオカメラ40は、前記実施の形態と同
様の機能を有し、このビデオカメラ40で取り込まれた
画像データに基づき、スポット光の着弾位置検出、命中
判定が行われることになる。なお、ハーフミラー314
に対するスポット光形成領域312とCRT32との位
置関係は、図10に示す場合と逆にすることも可能とな
る。The video camera 40 has the same functions as those of the above-described embodiment. Based on the image data captured by the video camera 40, the impact position detection of the spotlight and the hit determination are performed. The half mirror 314
, The positional relationship between the spot light forming region 312 and the CRT 32 can be reversed.
【0096】また、本発明は、単なるスポット光位置検
出システムとしても形成することができる。本発明の装
置は、例えばディスプレイ30上に表示される所定の画
像に光を照射することで、例えばその画像を指し示す光
ポインティングディバイス用の位置検出システムとして
も使用することができる。Further, the present invention can be formed as a simple spot light position detecting system. By irradiating a predetermined image displayed on the display 30 with light, for example, the device of the present invention can also be used as a position detection system for an optical pointing device pointing to the image, for example.
【0097】また、本発明は前記実施例に限定されるも
のではなく、シューティングゲーム以外に、例えばシュ
ーティング用のシミュレータ、具体的には軍事訓練や武
器等の着弾シミュレータ用の装置としても用いることが
できる。Further, the present invention is not limited to the above-described embodiment, and may be used as a simulator for shooting, for example, a device for a landing simulator for military training or weapons, in addition to a shooting game. it can.
【0098】また、前記実施の形態では、ビデオカメラ
40として、赤外線の波長領域の画像のみを撮像する赤
外線撮像手段を用いた場合を例にとり説明したが、画像
信号からスポット光が検出することができるれば、通常
のビデオカメラを用いてもよい。例えばレーザビームの
照射によるスポット光の位置検出を行う場合には、その
光の輝度が極めて強いため、通常のビデオカメラを用い
てもこのスポット光位置検出を、前記実施の形態と同様
にして行うことができる。In the above-described embodiment, an example has been described in which the video camera 40 employs an infrared imaging means for capturing only an image in the infrared wavelength region. However, spot light may be detected from an image signal. If possible, a normal video camera may be used. For example, when the position of a spot light is detected by irradiation with a laser beam, since the brightness of the light is extremely strong, the position of the spot light is detected in the same manner as in the above-described embodiment even with a normal video camera. be able to.
【0099】また、前記実施の形態では、赤外線スポッ
ト光を用いる場合を例にとり説明したが、これ以外に他
の波長帯域、例えばプレーヤの目に見えない他の波長帯
域の光線銃20のポインティングディバイスから発射し
ディスプレイ上に照射するようにしてもよい。この場合
には、当該波長帯域の光のみを透過するフィルタを介し
て、ディスプレイ30またはスポット光形成エリアにお
ける画像を撮像するように形成すればよく、このように
しても前記実施の形態と同様な作用効果を奏することが
できる。Further, in the above-described embodiment, the case where the infrared spot light is used has been described as an example. However, in addition to this, the pointing device of the light gun 20 in another wavelength band, for example, another wavelength band invisible to the player. And irradiate it on the display. In this case, it may be formed so as to capture an image in the display 30 or the spot light forming area via a filter that transmits only light in the wavelength band. Action and effect can be obtained.
【図1】本発明を適用したシミュレータの第1の実施の
形態の概略説明図である。FIG. 1 is a schematic explanatory diagram of a first embodiment of a simulator to which the present invention has been applied.
【図2】ゲーム装置本体の機能を実現するための概略構
成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration for realizing the functions of the game device main body.
【図3】本実施の形態の動作の一例を示すフローチャー
ト図である。FIG. 3 is a flowchart illustrating an example of an operation according to the exemplary embodiment;
【図4】位置検出用の水平、垂直走査処理の一例を示す
フローチャート図である。FIG. 4 is a flowchart illustrating an example of horizontal and vertical scanning processing for position detection.
【図5】位置検出用の水平走査処理の説明図であり、同
図(A)は水平走査所定の説明図、同図(B)は水平走
査ライン上における輝度の変化の説明図、同図(C)は
水平走査処理により特定された検出候補画素の説明図で
ある。5A and 5B are explanatory diagrams of a horizontal scanning process for position detection, in which FIG. 5A is a diagram for explaining predetermined horizontal scanning, and FIG. 5B is a diagram for explaining a change in luminance on a horizontal scanning line; (C) is an explanatory diagram of detection candidate pixels specified by the horizontal scanning process.
【図6】位置検出用の垂直走査処理の説明図であり、同
図(A)は垂直走査処理の説明図であり、同図(B)は
垂直走査線上における輝度の変化の説明図であり、同図
(C)は垂直走査処理により特定された対象候補画素の
説明図である。6A and 6B are explanatory diagrams of a vertical scanning process for position detection, FIG. 6A is an explanatory diagram of a vertical scanning process, and FIG. 6B is an explanatory diagram of a change in luminance on a vertical scanning line. FIG. 4C is an explanatory diagram of the target candidate pixel specified by the vertical scanning process.
【図7】走査ライン上におけるt番目の対象画素の擬似
平均値を求めるための処理の説明図である。FIG. 7 is an explanatory diagram of a process for obtaining a pseudo average value of a t-th target pixel on a scanning line.
【図8】擬似平均値と閾値との対応関係を示す説明図で
ある。FIG. 8 is an explanatory diagram showing a correspondence between a pseudo average value and a threshold.
【図9】位置検出用の走査処理により特定されたスポッ
ト光の検出候補画素群の説明図である。FIG. 9 is an explanatory diagram of a spotlight detection candidate pixel group specified by the position detection scanning process.
【図10】本実施の形態の他の一例を示す説明図であ
る。FIG. 10 is an explanatory diagram showing another example of the present embodiment.
10 シミュレータ 20 光線銃 22 赤外線発光部 26 スポット光 30 ディスプレイ 40 ビデオカメラ 50 ゲーム装置本体 100 処理部 110 ゲーム演算部 116 命令判定部 150 ROM 160 画像生成部 200 コントロール部 210 位置検出部 212 擬似平均値演算部 214 閾値データ記憶部 216 位置検出処理部 DESCRIPTION OF SYMBOLS 10 Simulator 20 Ray gun 22 Infrared light emitting part 26 Spot light 30 Display 40 Video camera 50 Game device main body 100 Processing part 110 Game calculating part 116 Command judging part 150 ROM 160 Image generating part 200 Control part 210 Position detecting part 212 Pseudo average value calculation Section 214 threshold data storage section 216 position detection processing section
─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成11年12月9日(1999.12.
9)[Submission date] December 9, 1999 (1999.12.
9)
【手続補正1】[Procedure amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Correction target item name] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【特許請求の範囲】[Claims]
【手続補正2】[Procedure amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0018[Correction target item name] 0018
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【0018】ここにおいて、前記擬似平均値Iave
(t)は、Iave(t)=Iave(t−1)*(n−1)/n+I
(t−1)/n の式に基づき求めることがより好ましい。Here, the pseudo average value Iave
(T) is: Iave (t) = Iave (t-1) * (n-1) / n + I
More preferably, it is determined based on the equation (t-1) / n .
Claims (19)
るシューティングエリア又は前記シューティングエリア
を通過又は反射したスポット光が投射されるスポット光
形成エリアを撮像する撮像手段の撮像画像を、水平方向
及び垂直方向の少なくとも一方向に走査し、前記シュー
ティングエリアに投射されるスポット光の位置検出処理
を行うシューティングゲーム用の装置であって、 前記撮像画像の各走査ライン毎に、n点前から現在走査
位置までの輝度に基づき、輝度の局所的変化を識別する
ための現在走査位置における擬似平均値を求め、前記現
在走査位置の輝度と前記擬似平均値との差と、所与の基
準値とを比較し前記スポット光の位置を検出する位置検
出処理を行う位置検出手段を含むことを特徴とするシュ
ーティングゲーム用の装置。1. An image pickup means for picking up an image of a shooting area on which a spot light for projecting a landing position is projected or a spot light forming area on which a spot light passing or reflected by the shooting area is projected, is taken in a horizontal direction and An apparatus for a shooting game that scans in at least one direction in a vertical direction and performs a position detection process of a spot light projected on the shooting area, wherein each scan line of the captured image is currently scanned from n points before. Based on the luminance up to the position, a pseudo average value at the current scanning position for identifying a local change in luminance is obtained, and a difference between the luminance at the current scanning position and the pseudo average value and a given reference value are calculated. And a position detecting means for performing a position detecting process for comparing and detecting the position of the spot light. .
輝度と前記擬似平均値との差と、所与の基準値とを比較
することにより撮像画像内の前記スポット光の領域を特
定するとともに、 前記撮像画像を垂直方向に走査し、前記現在走査位置の
輝度と前記擬似平均値との差と、所与の基準値とを比較
することにより撮像画像内の前記スポット光の領域を特
定し、 前記水平及び垂直方向の双方の走査により特定された撮
像画像内のスポット光の領域に基づき、スポット光の位
置検出を行うことを特徴とするシューティングゲーム用
の装置。2. The method according to claim 1, wherein the position detection unit scans the captured image in a horizontal direction, and compares a difference between the luminance at the current scanning position and the pseudo average value with a given reference value. By specifying the area of the spot light in the captured image by scanning the captured image in the vertical direction, the difference between the luminance of the current scanning position and the pseudo average value, and a given reference value By specifying the area of the spot light in the captured image by comparing, based on the area of the spot light in the captured image specified by both the horizontal and vertical scanning, to perform position detection of the spot light Characteristic shooting game device.
似平均値Iave(t)は、その手前の(t−1)番目の
画素の輝度I(t−1)と、擬似平均値をIave(t−
1)に基づき求めることを特徴とするシューティングゲ
ーム用の装置。3. The method according to claim 1, wherein the pseudo average value Iave (t) of the t-th pixel on the scan line of the captured image is the luminance of the (t−1) -th pixel before the pixel. I (t-1) and the pseudo average value Iave (t-
An apparatus for a shooting game, which is obtained based on 1).
−1) の式に基づき求めることを特徴とするシューティングゲ
ーム用の装置。4. The method according to claim 3, wherein the pseudo average value Iave (t) is: Iave (t) = (n−1 / n) Iave (t−1) + (1 / n) I (t
-1) An apparatus for a shooting game, which is obtained based on the following equation:
化することを特徴とするシューティングゲーム用の装
置。5. The shooting game device according to claim 1, wherein the reference value changes with a predetermined correlation with the pseudo average value.
値に、擬似平均値が大きなときには小さな値に設定され
る特徴とするシューティングゲーム用の装置。6. The shooting game device according to claim 5, wherein the reference value is set to a large value when the pseudo average value is small, and is set to a small value when the pseudo average value is large.
素を検出し、同一ライン、隣接ラインの近接エリアに前
記検出候補群が存在するとき、前記検出候補群を前記撮
像画像内のスポット光の領域と特定し、スポット光の位
置検出を行うことを特徴とするシューティングゲーム用
の装置。7. The method according to claim 1, wherein the detecting unit detects a spot light detection candidate pixel for each scan line of the captured image, and detects the detection candidate pixel in an adjacent area of the same line and an adjacent line. An apparatus for a shooting game, wherein when a group exists, the detection candidate group is specified as a spotlight area in the captured image, and the position of the spotlight is detected.
表示され、 前記スポット光としては、前記シューティングエリア画
像と識別可能な波長帯域の光が用いられ、 前記撮像手段は、上記スポット光の波長帯域の光をシュ
ーティング画像と分離して撮像するものであり、前記シ
ューティングエリアを撮像することを特徴とするシュー
ティングゲーム用の装置。8. The shooting area according to any one of claims 1 to 6, wherein a shooting image is displayed in the shooting area, and light having a wavelength band that can be distinguished from the shooting area image is used as the spot light. An image pickup means for picking up an image of the light in the wavelength band of the spot light separately from a shooting image, and picking up an image of the shooting area.
又は前記検出対象エリアを通過又は反射したスポット光
が投射されるスポット光形成エリアを撮像する撮像手段
の撮像画像を、水平方向及び垂直方向の少なくとも一方
向に走査し、前記検出対象エリアに投射されるスポット
光の位置検出処理を行う装置であって、 前記撮像画像の各走査ライン毎に、n点前から現在走査
位置までの輝度に基づき、輝度の局所的変化を識別する
ための現在走査位置における擬似平均値を求め、前記現
在走査位置の輝度と前記擬似平均値との差と、所与の基
準値とを比較し前記スポット光の位置を検出する位置検
出処理を行う位置検出手段を含むことを特徴とする位置
検出用の装置。9. The method according to claim 1, wherein an image of the detection target area on which the spot light is projected or a spot light forming area on which the spot light passing or reflected by the detection target area is projected is taken by the imaging means in the horizontal direction and the vertical direction. An apparatus that scans in at least one direction and performs a position detection process of spot light projected on the detection target area, for each scanning line of the captured image, based on luminance from a point n points before to a current scanning position. Calculating a pseudo average value at the current scanning position for identifying a local change in luminance, comparing a difference between the luminance at the current scanning position and the pseudo average value with a given reference value, An apparatus for position detection, comprising: a position detecting means for performing a position detecting process for detecting a position.
れる位置検出エリア又は前記位置検出エリアを通過又は
反射したスポット光が投射されるスポット光形成エリア
を撮像する撮像手段の撮像画像を、水平方向及び垂直方
向の少なくとも一方向に走査し、前記位置検出エリアに
投射されるスポット光の位置検出処理を行うシューティ
ングゲーム用の情報であって、 前記撮像画像の各走査ライン毎に、n点前から現在走査
位置までの輝度に基づき、輝度の局所的変化を識別する
ための現在走査位置における擬似平均値を求め、前記現
在走査位置の輝度と前記擬似平均値との差と、所与の基
準値とを比較し前記スポット光の位置を検出する位置検
出処理を行う位置検出手段を実現するための情報が記憶
されたことを特徴とするコンピュータ読み取り可能な情
報記憶媒体。10. An image picked up by an image pickup means for picking up an image of a position detection area on which a spot light for landing position identification is projected or a spot light forming area on which a spot light passing or reflected by the position detection area is projected. Information for a shooting game that scans in at least one of a direction and a vertical direction, and performs a position detection process of a spotlight projected on the position detection area, and for each scanning line of the captured image, n points before A pseudo average value at the current scanning position for identifying a local change in luminance based on the luminance from the current scanning position to the current scanning position, and calculating a difference between the luminance at the current scanning position and the pseudo average value and a given reference. Computer-readable information for realizing a position detecting means for performing a position detecting process of comparing the value with a spot value and detecting a position of the spot light. Ri possible information storage medium.
ア又は前記検出対象エリアを通過又は反射したスポット
光が投射されるスポット光形成エリアを撮像する撮像手
段の撮像画像を、水平方向及び垂直方向の少なくとも一
方向に走査し、前記検出対象エリアに投射されるスポッ
ト光の位置検出処理を行うための情報であって、 前記撮像画像の各走査ライン毎に、n点前から現在走査
位置までの輝度に基づき、輝度の局所的変化を識別する
ための現在走査位置における擬似平均値を求め、前記現
在走査位置の輝度と前記擬似平均値との差と、所与の基
準値とを比較し前記スポット光の位置を検出する位置検
出処理を行う位置検出手段を実現するための情報が記憶
されたことを特徴とするコンピュータ読み取り可能な情
報記憶媒体。11. An image pickup means for picking up an image of a detection target area onto which a spot light is projected or a spot light forming area onto which a spot light passing or reflected by the detection target area is projected, in a horizontal direction and a vertical direction. The information for performing position detection processing of spot light that scans in at least one direction and is projected on the detection target area, and for each scanning line of the captured image, the luminance from the point n points before to the current scanning position A pseudo-average value at a current scanning position for identifying a local change in luminance is calculated based on the difference between the luminance at the current scanning position and the pseudo-average value, and a given reference value. An information storage medium readable by a computer, wherein information for realizing position detection means for performing position detection processing for detecting a position of light is stored.
て、 前記位置検出手段は、 前記撮像画像を水平方向に走査し、前記現在走査位置の
輝度と前記擬似平均値との差と、所与の基準値とを比較
することにより撮像画像内の前記スポット光の領域を特
定するとともに、 前記撮像画像を垂直方向に走査し、前記現在走査位置の
輝度と前記擬似平均値との差と、所与の基準値とを比較
することにより撮像画像内の前記スポット光の領域を特
定し、 前記水平及び垂直方向の双方の走査により特定された撮
像画像内のスポット光の領域に基づき、スポット光の位
置検出を行うことを特徴とする情報記憶媒体。12. The method according to claim 10, wherein the position detecting unit scans the captured image in a horizontal direction, and calculates a difference between a luminance of the current scanning position and the pseudo average value, and a given value. While identifying the area of the spot light in the captured image by comparing with a reference value, scanning the captured image in the vertical direction, the difference between the luminance of the current scanning position and the pseudo average value, given Identifying the area of the spot light in the captured image by comparing with the reference value of the position of the spot light based on the area of the spot light in the captured image specified by both the horizontal and vertical scanning An information storage medium for performing detection.
て、 前記撮像画像の走査ライン上におけるt番目の画素の擬
似平均値Iave(t)は、その手前の(t−1)番目の
画素の輝度I(t−1)と、擬似平均値をIave(t−
1)に基づき求めることを特徴とする情報記憶媒体。13. The method according to claim 10, wherein the pseudo average value Iave (t) of the t-th pixel on the scan line of the captured image is the luminance of the (t−1) -th pixel before the pixel. I (t-1) and the pseudo average value Iave (t-
An information storage medium characterized by being obtained based on 1).
−1) の式に基づき求めることを特徴とする情報記憶媒体。14. The pseudo average value Iave (t) according to claim 13, wherein Iave (t) = (n−1 / n) Iave (t−1) + (1 / n) I (t)
-1) An information storage medium which is obtained based on the following formula:
て、 前記基準値は、前記擬似平均値と所定の相関を持って変
化することを特徴とする情報記憶媒体。15. The information storage medium according to claim 11, wherein the reference value changes with a predetermined correlation with the pseudo average value.
値に、擬似平均値が大きなときには小さな値に設定され
る特徴とする情報記憶媒体。16. The information storage medium according to claim 15, wherein the reference value is set to a large value when the pseudo average value is small, and is set to a small value when the pseudo average value is large.
て、 前記検出手段は、 前記撮像画像の1走査ライン毎にスポット光検出候補画
素を検出し、同一ライン、隣接ラインの近接エリアに前
記検出候補群が存在するとき、前記検出候補群を前記撮
像画像内のスポット光の領域と特定し、スポット光の位
置検出を行うことを特徴とする情報記憶媒体。17. The apparatus according to claim 11, wherein the detecting unit detects a spot light detection candidate pixel for each scanning line of the captured image, and detects the detection candidate pixel in an adjacent area of the same line and an adjacent line. An information storage medium characterized in that when a group exists, the detection candidate group is specified as a spotlight area in the captured image, and the position of the spotlight is detected.
て、 前記位置検出エリアには、画像が表示され、 前記スポット光としては、前記画像と識別可能な波長帯
域の光が用いられ、 前記撮像手段は、上記スポット光の波長帯域の光を前記
画像と分離して撮像するものであり、前記位置検出エリ
アを撮像することを特徴とする情報記憶媒体。18. The imaging device according to claim 11, wherein an image is displayed in the position detection area, and light having a wavelength band that can be distinguished from the image is used as the spot light. An information storage medium for capturing light in the wavelength band of the spot light separately from the image, and capturing the position detection area.
て、 前記シューティング用ゲームに代え、シューティング用
のシミュレーションを行うための情報を記憶することを
特徴とする情報記憶媒体。19. The information storage medium according to claim 10, wherein information for performing a simulation for shooting is stored in place of the shooting game.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34680599A JP2001162049A (en) | 1999-12-06 | 1999-12-06 | Apparatus for shooting game, apparatus for position detection, and information storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34680599A JP2001162049A (en) | 1999-12-06 | 1999-12-06 | Apparatus for shooting game, apparatus for position detection, and information storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001162049A true JP2001162049A (en) | 2001-06-19 |
Family
ID=18385937
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34680599A Withdrawn JP2001162049A (en) | 1999-12-06 | 1999-12-06 | Apparatus for shooting game, apparatus for position detection, and information storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001162049A (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8439733B2 (en) | 2007-06-14 | 2013-05-14 | Harmonix Music Systems, Inc. | Systems and methods for reinstating a player within a rhythm-action game |
| US8444464B2 (en) | 2010-06-11 | 2013-05-21 | Harmonix Music Systems, Inc. | Prompting a player of a dance game |
| US8449360B2 (en) | 2009-05-29 | 2013-05-28 | Harmonix Music Systems, Inc. | Displaying song lyrics and vocal cues |
| US8465366B2 (en) | 2009-05-29 | 2013-06-18 | Harmonix Music Systems, Inc. | Biasing a musical performance input to a part |
| US8568234B2 (en) | 2010-03-16 | 2013-10-29 | Harmonix Music Systems, Inc. | Simulating musical instruments |
| US8678896B2 (en) | 2007-06-14 | 2014-03-25 | Harmonix Music Systems, Inc. | Systems and methods for asynchronous band interaction in a rhythm action game |
| US8702485B2 (en) | 2010-06-11 | 2014-04-22 | Harmonix Music Systems, Inc. | Dance game and tutorial |
| US9024166B2 (en) | 2010-09-09 | 2015-05-05 | Harmonix Music Systems, Inc. | Preventing subtractive track separation |
| US9358456B1 (en) | 2010-06-11 | 2016-06-07 | Harmonix Music Systems, Inc. | Dance competition game |
| US9981193B2 (en) | 2009-10-27 | 2018-05-29 | Harmonix Music Systems, Inc. | Movement based recognition and evaluation |
| US10357714B2 (en) | 2009-10-27 | 2019-07-23 | Harmonix Music Systems, Inc. | Gesture-based user interface for navigating a menu |
-
1999
- 1999-12-06 JP JP34680599A patent/JP2001162049A/en not_active Withdrawn
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8678895B2 (en) | 2007-06-14 | 2014-03-25 | Harmonix Music Systems, Inc. | Systems and methods for online band matching in a rhythm action game |
| US8444486B2 (en) | 2007-06-14 | 2013-05-21 | Harmonix Music Systems, Inc. | Systems and methods for indicating input actions in a rhythm-action game |
| US8690670B2 (en) | 2007-06-14 | 2014-04-08 | Harmonix Music Systems, Inc. | Systems and methods for simulating a rock band experience |
| US8678896B2 (en) | 2007-06-14 | 2014-03-25 | Harmonix Music Systems, Inc. | Systems and methods for asynchronous band interaction in a rhythm action game |
| US8439733B2 (en) | 2007-06-14 | 2013-05-14 | Harmonix Music Systems, Inc. | Systems and methods for reinstating a player within a rhythm-action game |
| US8465366B2 (en) | 2009-05-29 | 2013-06-18 | Harmonix Music Systems, Inc. | Biasing a musical performance input to a part |
| US8449360B2 (en) | 2009-05-29 | 2013-05-28 | Harmonix Music Systems, Inc. | Displaying song lyrics and vocal cues |
| US9981193B2 (en) | 2009-10-27 | 2018-05-29 | Harmonix Music Systems, Inc. | Movement based recognition and evaluation |
| US10357714B2 (en) | 2009-10-27 | 2019-07-23 | Harmonix Music Systems, Inc. | Gesture-based user interface for navigating a menu |
| US10421013B2 (en) | 2009-10-27 | 2019-09-24 | Harmonix Music Systems, Inc. | Gesture-based user interface |
| US8568234B2 (en) | 2010-03-16 | 2013-10-29 | Harmonix Music Systems, Inc. | Simulating musical instruments |
| US8874243B2 (en) | 2010-03-16 | 2014-10-28 | Harmonix Music Systems, Inc. | Simulating musical instruments |
| US9278286B2 (en) | 2010-03-16 | 2016-03-08 | Harmonix Music Systems, Inc. | Simulating musical instruments |
| US8562403B2 (en) | 2010-06-11 | 2013-10-22 | Harmonix Music Systems, Inc. | Prompting a player of a dance game |
| US8444464B2 (en) | 2010-06-11 | 2013-05-21 | Harmonix Music Systems, Inc. | Prompting a player of a dance game |
| US8702485B2 (en) | 2010-06-11 | 2014-04-22 | Harmonix Music Systems, Inc. | Dance game and tutorial |
| US9358456B1 (en) | 2010-06-11 | 2016-06-07 | Harmonix Music Systems, Inc. | Dance competition game |
| US9024166B2 (en) | 2010-09-09 | 2015-05-05 | Harmonix Music Systems, Inc. | Preventing subtractive track separation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3748271B2 (en) | Shooting game equipment | |
| EP0728503B1 (en) | A shooting game machine | |
| JP3934658B2 (en) | Position detection system | |
| US7687751B2 (en) | Enhancement of aimpoint in simulated training systems | |
| JP2001162049A (en) | Apparatus for shooting game, apparatus for position detection, and information storage medium | |
| JP2012208926A (en) | Detection device, input device, projector and electronic apparatus | |
| US20100233660A1 (en) | Pulsed Laser-Based Firearm Training System, and Method for Facilitating Firearm Training Using Detection of Laser Pulse Impingement of Projected Target Images | |
| JP3057004B2 (en) | Tracking device | |
| US6663391B1 (en) | Spotlighted position detection system and simulator | |
| JP2961097B2 (en) | Shooting video game device | |
| US6832954B2 (en) | Photographing game machine, photographing game processing method and information storage medium | |
| JP4131097B2 (en) | Image processing method, image processing apparatus, and image processing program | |
| CN114928728B (en) | Projection apparatus and foreign matter detection method | |
| JP5018652B2 (en) | Object presence determination device | |
| US6964607B2 (en) | Game system and game method | |
| JP2001273484A (en) | Pointed position detection system, presentation system, and information storage medium | |
| JP2000189671A (en) | Shooting game equipment | |
| JP2007215738A (en) | Game system, detection program and detection method | |
| KR101915197B1 (en) | Apparatus and method for analyzing aiming accuracy | |
| JPS6232987A (en) | Laser gun game apparatus and detection of hit in said game apparatus | |
| JP4194718B2 (en) | Spot light position detection system, simulator, and information storage medium | |
| RU2804155C1 (en) | Method for determining whether target is hit (variants) | |
| JP2001227900A (en) | Spot light position detection system, shooting simulator and information storage medium | |
| JP2001340636A (en) | Shooting game device, shooting game processing method, and information storage medium | |
| JP2001005608A (en) | Spot light position detection system, simulator |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070206 |