JP2005021562A - Position detection system, game device, program and information storage medium - Google Patents

Position detection system, game device, program and information storage medium Download PDF

Info

Publication number
JP2005021562A
JP2005021562A JP2003270167A JP2003270167A JP2005021562A JP 2005021562 A JP2005021562 A JP 2005021562A JP 2003270167 A JP2003270167 A JP 2003270167A JP 2003270167 A JP2003270167 A JP 2003270167A JP 2005021562 A JP2005021562 A JP 2005021562A
Authority
JP
Japan
Prior art keywords
irradiation
pattern
light
emission
position detection
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
Application number
JP2003270167A
Other languages
Japanese (ja)
Inventor
Takashi Fukawa
隆志 普川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Namco Ltd
Original Assignee
Namco Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Namco Ltd filed Critical Namco Ltd
Priority to JP2003270167A priority Critical patent/JP2005021562A/en
Priority to US10/877,998 priority patent/US20050026703A1/en
Priority to GB0414714A priority patent/GB2403532B/en
Publication of JP2005021562A publication Critical patent/JP2005021562A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/219Input arrangements for video game devices characterised by their sensors, purposes or types for aiming at specific areas on the display, e.g. light-guns
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Aiming, Guidance, Guns With A Light Source, Armor, Camouflage, And Targets (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a position detection system capable of discriminating the irradiation position of which light beam hitting controller the irradiation position of a light beam is, a game device, a program and an information storage medium. <P>SOLUTION: The position detection system is provided with a position detection part for detecting the irradiation positions of gun type controllers GC1 and GC2 on the basis of photographed images from a photographing device and a judgement part for judging the irradiation position of which one of the GC1 and GC2 each detected irradiation position is. The gun type controller GC1 emits the light beam by a first emitting pattern and the GC2 emits the light beam in a second emitting pattern different from the first emitting pattern. The judgement part judges that it is the irradiation position of the GC1 in the case that an irradiation pattern formed at the irradiation position is a first irradiation pattern over the photographed images of two or more frames and judges that it is the irradiation position of the GC2 in the case that it is a second irradiation pattern. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、位置検出システム、ゲーム装置、プログラム及び情報記憶媒体に関する。   The present invention relates to a position detection system, a game device, a program, and an information storage medium.

従来より、ガン型のコントローラを用いて、プレーヤが擬似的な射撃を楽しむことができる射撃ゲーム装置が知られている。
特開平5−322487号公報
Conventionally, there has been known a shooting game apparatus in which a player can enjoy a pseudo shooting using a gun-type controller.
JP-A-5-322487

このゲーム装置では、画面に映し出されるゲーム画像をカメラにより撮影する。そしてカメラからの撮影画像に基づいて、ガン型コントローラ(広義には光線発射コントローラ)から発射された光線(レーザビーム)の照射位置を検出する。そして照射位置と標的が一致した場合に、プレーヤの弾が標的にヒットしたと判定し、プレーヤのゲーム成績に得点を加算する。   In this game apparatus, a game image displayed on the screen is shot by a camera. And based on the picked-up image from a camera, the irradiation position of the light ray (laser beam) emitted from the gun type controller (light emission controller in a broad sense) is detected. When the irradiation position matches the target, it is determined that the player's bullet has hit the target, and the score is added to the game result of the player.

しかしながら、このゲーム装置を複数のプレーヤがプレイした場合には、撮影画像の照射位置が、どのプレーヤのガン型コントローラからの光線の照射位置なのかを判別できないという課題がある。   However, when a plurality of players play this game apparatus, there is a problem that it is not possible to determine which player's gun-type controller is irradiated with the shot image.

この課題を解決する1つの手法として、第1のプレーヤ(1P)用のガン型コントローラと第2のプレーヤ(2P)用のガン型コントローラとで、ガン型コントローラの銃口(広義には光発射口)の形状を異ならせることで、画面上の投影パターン(点灯投影パターンの形状)を異ならせ、1Pか2Pかを判別する手法が考えられる。即ちこの手法では、1P用ガン型コントローラの銃口を例えば三角形状にし、2P用ガン型コントローラの銃口を例えば四角形状にする。そして投影パターンが三角形状であれば1Pによる投影位置と判定し、四角形上であれば2Pによる投影位置と判定する。   As one method for solving this problem, a gun-type controller for the first player (1P) and a gun-type controller for the second player (2P) are used. ) To be different, the projection pattern on the screen (the shape of the lighting projection pattern) is made different, and a method of discriminating between 1P and 2P can be considered. That is, in this method, the muzzle of the 1P gun-type controller is, for example, triangular, and the muzzle of the 2P-gun type controller is, for example, rectangular. If the projection pattern is triangular, it is determined as a projection position by 1P, and if it is on a quadrangle, it is determined as a projection position by 2P.

しかし、この手法によると、銃口が三角形状のガン型コントローラは1P用にしか使用できず、四角形状のものは2P用にしか使用できなくなる。従って、プレーヤが所持するガン型コントローラが1P用であり、友達が所持するガン型コントローラも1P用である場合に、友達と一緒にマルチプレーヤゲームをプレイすることができず、ユーザの利便性を阻害する。また1P用、2P用のガン型コントローラを別々に製造しなければならなくなるため、ガン型コントローラの製造コストの上昇を招く。   However, according to this method, a gun-type controller having a triangular muzzle can be used only for 1P, and a square-shaped controller can only be used for 2P. Therefore, when the gun-type controller possessed by the player is for 1P and the gun-type controller possessed by the friend is also for 1P, the multiplayer game cannot be played with the friend, and the convenience of the user is improved. Inhibit. Also, since the 1P and 2P gun type controllers must be manufactured separately, the manufacturing cost of the gun type controller is increased.

本発明は、以上のような課題に鑑みてなされたものであり、その目的とするところは、光線の照射位置がどの光線発射コントローラの照射位置なのかを判別できる位置検出システム、ゲーム装置、プログラム及び情報記憶媒体を提供することにある。   The present invention has been made in view of the problems as described above, and an object of the present invention is to provide a position detection system, a game device, and a program capable of determining which light emission controller is an irradiation position of a light beam. And providing an information storage medium.

本発明は、複数の光線発射コントローラにより発射された光線の画面上での照射位置を、画面を撮影する撮影デバイスからの撮影画像に基づいて検出する位置検出システムであって、前記撮影デバイスからの撮影画像に基づいて、複数の光線発射コントローラから発射された光線の画面上での複数の照射位置を検出する位置検出部と、検出された複数の照射位置の各照射位置が、複数の光線発射コントローラのうちのいずれの光線発射コントローラからの光線の照射位置なのかを判定する判定部とを含み、前記複数の光線発射コントローラの第1の光線発射コントローラが、第1の発射パターンで光線を発射し、前記複数の光線発射コントローラの第2の光線発射コントローラが、前記第1の発射パターンとは異なる第2の発射パターンで光線を発射し、前記判定部が、複数フレームの撮影画像に亘って第1の照射位置に形成される照射パターンが、前記第1の発射パターンの光線により形成される第1の照射パターンであった場合には、前記第1の照射位置が、前記第1の光線発射コントローラからの光線の照射位置であると判定し、複数フレームの撮影画像に亘って第2の照射位置に形成される照射パターンが、前記第2の発射パターンの光線により形成される第2の照射パターンであった場合には、前記第2の照射位置が、前記第2の光線発射コントローラからの光線の照射位置であると判定する位置検出システムに関係する。   The present invention is a position detection system that detects an irradiation position on a screen of light beams emitted by a plurality of light beam emission controllers based on a photographed image from a photographing device that photographs the screen, from the photographing device. A position detection unit that detects a plurality of irradiation positions on a screen of light beams emitted from a plurality of light beam emission controllers based on the photographed image, and each irradiation position of the detected plurality of irradiation positions includes a plurality of light beam emissions. And a determination unit that determines which of the light emission controllers from which the light emission controller is irradiated, wherein the first light emission controller of the plurality of light emission controllers emits the light in a first emission pattern. And a second light emission controller of the plurality of light emission controllers emits light in a second emission pattern different from the first emission pattern. The irradiation pattern formed at the first irradiation position over the plurality of frames of captured images is the first irradiation pattern formed by the light beams of the first emission pattern. In this case, it is determined that the first irradiation position is an irradiation position of a light beam from the first light emission controller, and an irradiation pattern formed at a second irradiation position over a plurality of frames of captured images. Is the second irradiation pattern formed by the light beam of the second emission pattern, the second irradiation position is the irradiation position of the light beam from the second light emission controller. Relating to the position detection system to determine.

本発明では、第1、第2の光線発射コントローラが互いに異なる第1、第2の発射パターンで光線を発射する。そして第1、第2の光線発射コントローラからの光線の照射位置が、撮影デバイスからの複数フレームの撮影画像に基づいて検出される。この際に、複数のフレームの撮影画像に亘って第1の照射位置に形成される照射パターン(点灯、消灯パターン)が、第1の発射パターンで形成されるべき第1の照射パターンであった場合には、その第1の照射位置は、第1の光線発射コントローラからの光線の照射位置であると判定される。一方、複数のフレームの撮影画像に亘って第2の照射位置に形成される照射パターン(点灯、消灯パターン)が、第2の発射パターンで形成されるべき第2の照射パターンであった場合には、その第2の照射位置は、第2の光線発射コントローラからの光線の照射位置であると判定される。このようにすれば、第1、第2の光線発射コントローラの光発射口等の形状を互いに異ならせなくても、光線の照射位置がどの光線発射コントローラの照射位置なのかを判別できるようになる。これによりユーザの利便性を向上できる。   In the present invention, the first and second light emission controllers emit light with first and second emission patterns different from each other. And the irradiation position of the light beam from the 1st, 2nd light beam emission controller is detected based on the picked-up image of the several flame | frame from an imaging device. At this time, the irradiation pattern (lighting / extinguishing pattern) formed at the first irradiation position over the captured images of the plurality of frames was the first irradiation pattern to be formed with the first firing pattern. In the case, it is determined that the first irradiation position is the irradiation position of the light beam from the first light beam emission controller. On the other hand, when the irradiation pattern (lighting / extinguishing pattern) formed at the second irradiation position over the captured images of a plurality of frames is the second irradiation pattern to be formed by the second firing pattern The second irradiation position is determined to be the irradiation position of the light beam from the second light beam emission controller. In this way, it is possible to determine which light emission controller is the irradiation position of the light beam without making the shapes of the light emission ports of the first and second light emission controllers different from each other. . Thereby, the convenience of the user can be improved.

また本発明では、前記第1の光線発射コントローラの前記第1の発射パターンが、第1回目に光線を発射した後に、光線の発射、不発射を繰り返すパターンであり、前記第2の光線発射コントローラの前記第2の発射パターンが、第1回目に光線を発射した後に、前記第1の発射パターンとは異なるパターンで光線の発射、不発射を繰り返すパターンであり、前記位置検出部が、前記第1、第2の発射パターンの第1回目に発射される光線により撮影画像に形成される点灯パターンに基づき、前記第1、第2の照射位置の座標を求めるようにしてもよい。   According to the present invention, the first light emission pattern of the first light ray emission controller is a pattern in which light emission and non-emission are repeated after the light ray is emitted for the first time, and the second light ray emission controller. The second firing pattern is a pattern in which light is emitted and non-fired repeatedly in a pattern different from the first launch pattern after the light is emitted for the first time. The coordinates of the first and second irradiation positions may be obtained based on the lighting pattern formed in the captured image by the light beam emitted for the first time of the first and second emission patterns.

このようにすれば、光線の照射位置がどの光線発射コントローラの照射位置なのかを判別する処理に先立って、第1回目の光線により形成される点灯パターンに基づき、第1、第2の照射位置の座標を特定することが可能になる。   According to this configuration, the first and second irradiation positions are based on the lighting pattern formed by the first light beam prior to the process of determining which light beam emission controller is the irradiation position of the light beam. It becomes possible to specify the coordinates of.

また本発明では、前記判定部が、前記第1の照射位置に形成される照射パターンの第2回目以降の点灯、消灯パターンが第1の照射パターンであった場合には、前記第1の照射位置を、前記第1の光線発射コントローラからの光線の照射位置であると判定し、前記第2の照射位置に形成される照射パターンの第2回目以降の点灯、消灯パターンが第2の照射パターンであった場合には、前記第2の照射位置を、前記第2の光線発射コントローラからの光線の照射位置であると判定するようにしてもよい。   Further, in the present invention, when the determination unit is configured to turn on and off the irradiation pattern after the second irradiation pattern formed at the first irradiation position, the first irradiation is performed. The position is determined to be the irradiation position of the light beam from the first light emission controller, and the second and subsequent lighting / extinguishing patterns of the irradiation pattern formed at the second irradiation position are the second irradiation pattern. If so, the second irradiation position may be determined as the irradiation position of the light beam from the second light beam emission controller.

このようにすれば、第1、第2の照射位置の座標が特定された後に、その第1、第2の照射位置での照射パターンを判別するだけで、光線の照射位置がどの光線発射コントローラの照射位置なのかを判別できる。これにより処理の簡素化を図れる。   In this way, after the coordinates of the first and second irradiation positions are specified, it is only necessary to determine the irradiation pattern at the first and second irradiation positions. It is possible to determine whether the irradiation position is. This simplifies the processing.

また本発明では、前記位置検出部、前記判定部が、処理フレーム間隔TPよりも短い時間間隔である撮影フレーム間隔TIで撮影される複数の撮影画像に基づいて、位置検出処理、判定処理を行うようにしてもよい。   In the present invention, the position detection unit and the determination unit perform position detection processing and determination processing based on a plurality of captured images captured at a capturing frame interval TI that is a time interval shorter than the processing frame interval TP. You may do it.

このようにすれば、光線を発射した後、位置検出処理、判定処理が完了するまでの間の遅延時間を短くでき、体感的な遅れの少ない照射位置検出を実現できる。   In this way, it is possible to shorten the delay time until the position detection process and the determination process are completed after the light beam is emitted, and it is possible to realize the irradiation position detection with a little physical delay.

また本発明は、上記のいずれかの位置検出システムと、前記複数の光線発射コントローラと、前記撮影デバイスを含むカメラと、前記位置検出システムにより検出された照射位置に基づいてゲーム処理を行うゲーム処理部と、前記ゲーム処理部の処理結果に基づいて、画面に表示する画像を生成する画像生成部とを含むゲーム装置に関係する。   Further, the present invention provides a game process for performing a game process based on any one of the position detection systems described above, the plurality of light emission controllers, a camera including the imaging device, and an irradiation position detected by the position detection system. And a game device including an image generation unit that generates an image to be displayed on a screen based on a processing result of the game processing unit.

このようなゲーム装置によれば、マルチプレーヤによるプレイに最適なゲームを提供できる。   According to such a game apparatus, it is possible to provide a game that is optimal for play by a multiplayer.

また本発明では、前記第1の光線発射コントローラに前記第1の発射パターンを設定し、前記第2の光線発射コントローラに、前記第1の発射パターンとは異なる前記第2の発射パターンを設定するパターン設定部を含むようにしてもよい。   In the present invention, the first light emission controller is set with the first light emission pattern, and the second light emission controller is set with the second light emission pattern different from the first light emission pattern. A pattern setting unit may be included.

このようにすれば、同一のハードウェア構成の光線発射コントローラを、第1、第2のプレーヤ用の光線発射コントローラとして使用することが可能になる。   In this way, the light emission controller having the same hardware configuration can be used as the light emission controller for the first and second players.

また本発明では、前記位置検出システムの位置検出部と判定部が、前記撮影デバイスを含む前記カメラに設けるようにしてもよい。   In the present invention, the position detection unit and the determination unit of the position detection system may be provided in the camera including the imaging device.

このようにすれば、撮影画像のデータをゲーム処理部側に転送しなくても済むようになり、ゲーム装置の通信の処理負荷等を軽減できる。   In this way, it is not necessary to transfer the captured image data to the game processing unit, and the communication processing load of the game device can be reduced.

また本発明は、複数の光線発射コントローラにより発射された光線の画面上での照射位置を、画面を撮影する撮影デバイスからの撮影画像に基づいて検出する位置検出システムを有するゲーム装置のためのプログラムであって、前記複数の光線発射コントローラの第1の光線発射コントローラに第1の発射パターンを設定し、前記複数の光線発射コントローラの第2の光線発射コントローラに、前記第1の発射パターンとは異なる第2の発射パターンを設定するパターン設定部と、前記位置検出システムにより検出された照射位置に基づいてゲーム処理を行うゲーム処理部と、前記ゲーム処理部の処理結果に基づいて、画面に表示する画像を生成する画像生成部としてコンピューターを機能させ、前記第1の光線発射コントローラが、前記パターン設定部により設定された前記第1の発射パターンで光線を発射し、前記第2の光線発射コントローラが、前記パターン設定部により設定された前記第2の発射パターンで光線を発射し、前記位置検出システムが含む位置検出部が、前記撮影デバイスからの撮影画像に基づいて、複数の光線発射コントローラから発射された光線の画面上での複数の照射位置を検出し、前記位置検出システムが含む判定部が、複数フレームの撮影画像に亘って第1の照射位置に形成される照射パターンが、前記第1の発射パターンの光線により形成される第1の照射パターンであった場合には、前記第1の照射位置が、前記第1の光線発射コントローラからの光線の照射位置であると判定し、複数フレームの撮影画像に亘って第2の照射位置に形成される照射パターンが、前記第2の発射パターンの光線により形成される第2の照射パターンであった場合には、前記第2の照射位置が、前記第2の光線発射コントローラからの光線の照射位置であると判定し、前記ゲーム処理部が、前記位置検出部により検出された照射位置の座標と前記判定部での判定結果に基づいてゲーム処理を行うプログラムに関係する。   The present invention also provides a program for a game apparatus having a position detection system that detects an irradiation position on a screen of light beams emitted by a plurality of light beam emission controllers based on a photographed image from a photographing device that photographs the screen. The first light emission controller of the plurality of light emission controllers is set with a first emission pattern, and the second light emission controller of the plurality of light emission controllers is set with the first emission pattern. A pattern setting unit for setting a different second firing pattern, a game processing unit for performing a game process based on the irradiation position detected by the position detection system, and a display on the screen based on a processing result of the game processing unit A computer functioning as an image generation unit for generating an image to be generated, and the first light emission controller includes A light beam is emitted with the first emission pattern set by the image setting unit, and the second light emission controller emits a light beam with the second emission pattern set by the pattern setting unit, The position detection unit included in the position detection system detects a plurality of irradiation positions on the screen of the light beams emitted from the plurality of light beam emission controllers based on the captured images from the imaging device, and the position detection system includes When the determination unit is the first irradiation pattern formed by the light beam of the first firing pattern, the irradiation pattern formed at the first irradiation position over the plurality of frames of the captured image, The first irradiation position is determined to be the irradiation position of the light beam from the first light beam emission controller, and is formed at the second irradiation position over a plurality of frames of captured images. When the shooting pattern is the second irradiation pattern formed by the light beam of the second emission pattern, the second irradiation position is the irradiation position of the light beam from the second light emission controller. The game processing unit relates to a program that performs game processing based on the coordinates of the irradiation position detected by the position detection unit and the determination result of the determination unit.

また本発明は、コンピュータ読み取り可能な情報記憶媒体であって、上記のプログラムを記憶した情報記憶媒体に関係する。   The present invention also relates to a computer-readable information storage medium that stores the above program.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。   Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. In addition, all the configurations described in the present embodiment are not necessarily essential configuration requirements of the present invention.

1.構成
図1に本実施形態の位置検出システムと位置検出システムを含むゲーム装置(画像生成装置)の例を示す。
1. Configuration FIG. 1 shows an example of a position detection system and a game apparatus (image generation apparatus) including the position detection system of the present embodiment.

図1に示すように第1のプレーヤ(以下、適宜「1P」と略称)は、ガン型コントローラGC1(広義には第1の光線発射コントローラ。他の説明でも同様)を画面10の方に向け、標的TG1を狙ってGC1により光線(レーザ、赤外線)を発射している。そしてGC1からの光線の照射位置(着弾位置)はIP1になっている。一方、第2のプレーヤ(以下、適宜「2P」と略称)は、ガン型コントローラGC2(広義には第2の光線発射コントローラ。他の説明でも同様)を画面10の方に向け、標的TG2を狙ってGC2により光線を発射している。そしてGC2からの光線の照射位置はIP2になっている。   As shown in FIG. 1, the first player (hereinafter abbreviated as “1P” as appropriate) directs the gun-type controller GC1 (first light emission controller in a broad sense; the same applies to other explanations) toward the screen 10. A light beam (laser, infrared ray) is emitted by GC1 aiming at the target TG1. The irradiation position (landing position) of the light beam from GC1 is IP1. On the other hand, the second player (hereinafter abbreviated as “2P” as appropriate) directs the gun-type controller GC2 (second light emission controller in a broad sense; the same applies to other explanations) toward the screen 10 and targets the target TG2. Aiming at the beam by GC2. The irradiation position of the light beam from GC2 is IP2.

CCDなどの撮影デバイスIMDを含むカメラCMは、画像が表示される画面10を撮影する。そしてこのカメラCMの撮影画像に基づいて、照射位置IP1、IP2が検出され、IP1、IP2の座標が求めら、求められたIP1、IP2の座標に基づいてゲーム処理が行われる。即ち、TG1、TG2に光線(弾)がヒットしたか否かをチェックし、ヒットした場合にはそのプレーヤのゲーム成績に得点を加算し、標的のヒット時のモーションを再生する処理などのゲーム処理が行われる。画面10には、このゲーム処理に応じたゲーム画像が表示されることになる。   A camera CM including a photographing device IMD such as a CCD photographs a screen 10 on which an image is displayed. Based on the photographed image of the camera CM, the irradiation positions IP1 and IP2 are detected, the coordinates of IP1 and IP2 are obtained, and the game process is performed based on the obtained coordinates of IP1 and IP2. That is, a game process such as a process of checking whether or not a ray (bullet) hits TG1 and TG2, and if hit, adds a score to the game result of the player and reproduces the motion at the time of the target hit Is done. A game image corresponding to this game process is displayed on the screen 10.

図2にゲーム装置及び位置検出システムの機能ブロック図の例を示す。なお、図2の構成要素の一部を省略する構成としてもよい。   FIG. 2 shows an example of a functional block diagram of the game device and the position detection system. Note that some of the components in FIG. 2 may be omitted.

ガン型コントローラGC1、GC2(光線発射コントローラ)は、レーザやレンズなどの光線発射デバイスRS1、RS2と、プレーヤが光線の発射を指示するためのトリガ14-1、14-2(広義には光線発射指示部)と、ガン型コントローラの制御処理を行う制御部20-1、20-2(狭義には制御回路)を含む。なおこれらの一部を省略する構成としてもよい。   The gun-type controllers GC1 and GC2 (light emission controllers) are light emission devices RS1 and RS2 such as lasers and lenses, and triggers 14-1 and 14-2 (in a broad sense, light emission) for instructing the player to emit light. And control units 20-1 and 20-2 (control circuits in a narrow sense) that perform control processing of the gun-type controller. Note that some of these may be omitted.

プレーヤによりトリガ14-1、14-2が引かれると(光線発射の指示が行われると)、制御部20-1、20-2の制御の下で、光線発射デバイスRS1、RS2が光線(レーザ)を発射する。この場合に、光線の発射パターン(所与の繰り返し回数だけ光線の発射、不発射を繰り返すパターン)は、レジスタ(メモリ)22-1、22-2に設定(記憶)されている。   When the triggers 14-1 and 14-2 are pulled by the player (when the light emission instruction is given), the light emission devices RS1 and RS2 are controlled by the control units 20-1 and 20-2. ). In this case, a light emission pattern (a pattern in which light emission and non-emission are repeated for a given number of repetitions) is set (stored) in the registers (memory) 22-1 and 22-2.

そして本実施形態では、レジスタ22-1、22-2に設定される発射パターンを異ならせることで、ガン型コントローラGC1は、第1の発射パターンで光線を発射し、ガン型コントローラGC2は、第1の発射パターンとは異なる第2の発射パターンで光線を発射する。例えば光線の発射、不発射の繰り返し回数をN回とすると、第1、第2の発射パターンでは、第1のタイミング(第1回目)では共に光線が発射される。一方、第2〜第Nのタイミング(第2〜第N回目)では、どのタイミングで光線を発射し、どのタイミングで光線を不発射にするのかが互いに異なっている。   In the present embodiment, by changing the firing pattern set in the registers 22-1 and 22-2, the gun-type controller GC1 emits light rays in the first launch pattern, and the gun-type controller GC2 The light beam is emitted with a second emission pattern different from the one emission pattern. For example, if the number of repetitions of light emission and non-firing is N, the light rays are emitted at the first timing (first time) in the first and second emission patterns. On the other hand, at the second to Nth timings (second to Nth times), the timing at which the light beam is emitted and the timing at which the light beam is not emitted are different from each other.

カメラCMは、CCDカメラやCMOSカメラなどの撮影デバイスIMDと、制御部40(狭義には制御回路)を含む。このカメラCMは図1に示すように、その撮影範囲に、表示部190の画面10が入る位置に設置される。   The camera CM includes an imaging device IMD such as a CCD camera or a CMOS camera, and a control unit 40 (control circuit in a narrow sense). As shown in FIG. 1, the camera CM is installed at a position where the screen 10 of the display unit 190 enters the shooting range.

撮影デバイスIMDは図1で説明したように、ゲーム画像が表示される画面を撮影するデバイスである。また制御部40は、撮影指示、画像の取り込み処理、照射位置の検出処理、GC1とGC2(1Pと2P)の判別処理、或いはデータの送信処理などの制御処理を行う。この制御部40は、位置検出部42、判定部44を含む。   As described with reference to FIG. 1, the imaging device IMD is a device that captures a screen on which a game image is displayed. In addition, the control unit 40 performs control processing such as an imaging instruction, image capture processing, irradiation position detection processing, GC1 and GC2 (1P and 2P) discrimination processing, or data transmission processing. The control unit 40 includes a position detection unit 42 and a determination unit 44.

ここで位置検出部42は、撮影デバイスIMDからの撮影画像に基づいて、光線発射コントローラGC1、GC2から発射された光線の画面10上での照射位置IP1、IP2を検出する。具体的には、例えば、光線(レーザ光)の帯域及びその近傍の帯域の光を選択的に通過させるフィルタを用いて、画面10の画像に含まれる帯域外の情報を除去し、照射位置IP1、IP2のみが選択的に撮影されるようにする。そして位置検出部42は、検出された照射位置IP1、IP2(着弾位置)の座標(画面の横方向をX軸、縦方向をY軸とした場合のX、Y座標)を求める。これらの照射位置検出処理の詳細については特開平5−322587号公報に開示されている。   Here, the position detection unit 42 detects the irradiation positions IP1 and IP2 on the screen 10 of the light beams emitted from the light beam emission controllers GC1 and GC2 based on the captured image from the imaging device IMD. Specifically, for example, information outside the band included in the image of the screen 10 is removed using a filter that selectively passes light in the light beam (laser light) band and the band in the vicinity thereof, and the irradiation position IP1. , Only IP2 is selectively photographed. The position detection unit 42 obtains coordinates of the detected irradiation positions IP1 and IP2 (landing positions) (X and Y coordinates when the horizontal direction of the screen is the X axis and the vertical direction is the Y axis). Details of these irradiation position detection processes are disclosed in Japanese Patent Laid-Open No. 5-322877.

判定部44は、検出された照射位置IP1、IP2が、GC1、GC2のいずれのガン型コントローラからの光線の照射位置なのかを判定する。   The determination unit 44 determines whether the detected irradiation positions IP1 and IP2 are irradiation positions of rays from the gun-type controller GC1 or GC2.

具体的には、カメラCMにより撮影される複数フレームの撮影画像に亘って(複数フレームの撮影画像において)、照射位置IP1に形成される一連の点灯、消灯の照射パターン(所与の繰り返し回数Nだけ点灯、消灯を繰り返すパターン)が、第1の発射パターン(レジスタ22-1に設定されるパターン)の光線により形成されるべき第1の照射パターンであった場合には、照射位置IP1は、ガン型コントローラGC1からの光線の照射位置であると判定する。一方、複数フレームの撮影画像に亘って(複数フレームの撮影画像において)、照射位置IP2に形成される一連の点灯、消灯の照射パターンが、第2の発射パターン(レジスタ22-2に設定されるパターン)の光線により形成されるべき第2の照射パターンであった場合には、照射位置IP2は、ガン型コントローラGC2からの光線の照射位置であると判定する。なお各フレームの撮影画像における照射パターンの投影パターン形状(例えば丸形状、三角形状、或いは四角形状)は、ガン型コントローラGC1、GC2間で同一形状になっている。   Specifically, over a plurality of frames of captured images captured by the camera CM (in the captured images of a plurality of frames), a series of lighting and extinguishing irradiation patterns (a given number of repetitions N) formed at the irradiation position IP1. When the first irradiation pattern to be formed by the light beam of the first firing pattern (pattern set in the register 22-1) is a pattern that repeatedly turns on and off only, the irradiation position IP1 is: It is determined that the irradiation position of the light beam from the gun-type controller GC1. On the other hand, over a plurality of frames of captured images (in the plurality of frames of captured images), a series of illumination patterns of lighting and extinguishing formed at the irradiation position IP2 is set in the second firing pattern (register 22-2). In the case of the second irradiation pattern to be formed by the (pattern) light beam, the irradiation position IP2 is determined to be the irradiation position of the light beam from the gun-type controller GC2. In addition, the projection pattern shape (for example, round shape, triangular shape, or square shape) of the irradiation pattern in the captured image of each frame is the same shape between the gun type controllers GC1 and GC2.

このようにすることで、照射位置IP1、IP2が、GC1、GC2のどちらのガン型コントローラによる照射位置なのかを簡素に判別できる。そして照射位置の座標データや、GC1、GC2の区別データ(照射位置がGC1、GC2のどちらによるものなのかを区別するためのデータ)は、カメラCMから処理部100(ゲーム装置の本体装置)に送信される。これにより、検出された照射位置IP1、IP2の座標を用いて、ヒットチェックなどのゲーム処理を行うことが可能になる。   By doing in this way, it can be simply discriminate | determined whether irradiation position IP1, IP2 is an irradiation position by which gun type controller of GC1 or GC2. Then, the coordinate data of the irradiation position and the distinction data of GC1 and GC2 (data for distinguishing whether the irradiation position is based on GC1 or GC2) are transferred from the camera CM to the processing unit 100 (main device of the game device). Sent. This makes it possible to perform game processing such as hit check using the coordinates of the detected irradiation positions IP1 and IP2.

なお位置検出部42、判定部44の処理は、ハードウェア回路により実現してもよいし、プロセッサ(CPU)上で動作するプログラムにより実現してもよい。   Note that the processing of the position detection unit 42 and the determination unit 44 may be realized by a hardware circuit or a program operating on a processor (CPU).

記憶部170は、処理部100や通信部196などのワーク領域となるもので、その機能はRAMなどにより実現できる。   The storage unit 170 serves as a work area for the processing unit 100, the communication unit 196, and the like, and its function can be realized by a RAM or the like.

情報記憶媒体180(コンピュータにより読み取り可能な媒体)は、プログラムやデータを格納するものであり、その機能は、光ディスク(CD、DVD)、ハードディスク、或いはメモリ(ROM)などのハードウェアにより実現できる。処理部100は、この情報記憶媒体180に格納されるプログラム(データ)に基づいて本実施形態の種々の処理を行う。即ち情報記憶媒体180には、本実施形態の各部としてコンピュータを機能させるためのプログラム(各部の処理をコンピュータに実行させるためのプログラム)が記憶される。   An information storage medium 180 (a computer-readable medium) stores programs and data, and the function thereof can be realized by hardware such as an optical disk (CD, DVD), hard disk, or memory (ROM). The processing unit 100 performs various processes of this embodiment based on a program (data) stored in the information storage medium 180. That is, the information storage medium 180 stores a program for causing a computer to function as each unit of the present embodiment (a program for causing a computer to execute processing of each unit).

表示部190は本実施形態により生成された画像を出力するものであり、その機能はCRT、投写型ディスプレイ、或いはLCDなどにより実現できる。音出力部192は本実施形態により生成された音を出力するものであり、その機能はスピーカ、或いはヘッドフォンなどにより実現できる。   The display unit 190 outputs an image generated according to the present embodiment, and its function can be realized by a CRT, a projection display, an LCD, or the like. The sound output unit 192 outputs the sound generated by the present embodiment, and its function can be realized by a speaker, headphones, or the like.

携帯型情報記憶装置194(メモリカードや携帯型ゲーム装置)は、プレーヤの個人データやゲームのセーブデータなどを記憶するものである。通信部196は、外部(ホスト装置、他の画像生成システム)との間で通信を行うための各種制御を行うものであり、その機能は、プロセッサ又は通信用ASICなどのハードウェアや、プログラムにより実現できる。   The portable information storage device 194 (memory card or portable game device) stores player personal data, game save data, and the like. The communication unit 196 performs various controls for communicating with the outside (host device, other image generation system), and functions thereof are hardware such as a processor or a communication ASIC, or a program. realizable.

なお本実施形態の各部としてコンピュータを機能させるためのプログラム(データ)は、ホスト装置(サーバー)が有する情報記憶媒体からネットワーク及び通信部196を介して情報記憶媒体180(記憶部170)に配信してもよい。このようなホスト装置(サーバー)の情報記憶媒体の使用も本発明の範囲内に含めることができる。   Note that a program (data) for causing a computer to function as each unit of this embodiment is distributed from the information storage medium of the host device (server) to the information storage medium 180 (storage unit 170) via the network and communication unit 196. May be. Use of the information storage medium of such a host device (server) can also be included in the scope of the present invention.

処理部100(プロセッサ)は、ガン型コントローラGC1、GC2からのデータや、カメラCMからのデータや、プログラムなどに基づいて、ゲーム処理、画像生成処理、或いは音生成処理などを行う。   The processing unit 100 (processor) performs game processing, image generation processing, sound generation processing, and the like based on data from the gun-type controllers GC1 and GC2, data from the camera CM, programs, and the like.

処理部100は、ゲーム処理部110、パターン設定部112、画像生成部120、音生成部130を含む。なおこれらの一部を省略してもよい。また処理部100の機能は、各種プロセッサ(CPU、DSP)やASIC(ゲートアレイ)などのハードウェアや、プログラムにより実現できる。また照射位置の検出処理や判定処理を処理部100において行うようにしてもよい。この場合には処理部100が位置検出部42、判定部44を含むことになる。   The processing unit 100 includes a game processing unit 110, a pattern setting unit 112, an image generation unit 120, and a sound generation unit 130. Some of these may be omitted. The function of the processing unit 100 can be realized by hardware such as various processors (CPU, DSP) and ASIC (gate array), and programs. In addition, the processing unit 100 may perform irradiation position detection processing and determination processing. In this case, the processing unit 100 includes a position detection unit 42 and a determination unit 44.

ゲーム処理部110は、ゲーム開始条件が満たされた場合にゲームを開始する処理、ゲームを進行させる処理、キャラクタやマップなどのオブジェクトを配置する処理、オブジェクトを表示する処理、ゲーム結果を演算する処理、或いはゲーム終了条件が満たされた場合にゲームを終了する処理などのゲーム処理を行う。   The game processing unit 110 is a process for starting a game when a game start condition is satisfied, a process for advancing the game, a process for placing objects such as characters and maps, a process for displaying objects, and a process for calculating game results. Alternatively, a game process such as a process of ending the game when the game end condition is satisfied is performed.

より具体的にはゲーム処理部110は、求められた照射位置の座標に基づいて、ショット(光線)と標的とのヒットチェックを行う。そしてショットが標的にヒットしたと判定すると、そのプレーヤのゲーム成績に得点を加算する。またショットがヒットした標的のヒット時モーションを再生する処理などを行う。なおガン型コントローラGC1、GC2の照射位置が一致した場合には、1P、2Pの両方のプレーヤの成績に得点を加算すればよい。   More specifically, the game processing unit 110 performs a hit check between a shot (light ray) and a target based on the obtained coordinates of the irradiation position. If it is determined that the shot hits the target, the score is added to the game result of the player. In addition, it performs processing such as replaying motion when the target hits the shot. If the irradiation positions of the gun-type controllers GC1 and GC2 match, the score may be added to the results of both the 1P and 2P players.

パターン設定部112は、ガン型コントローラGC1に第1の発射パターンを設定し、ガン型コントローラGC2に、第1の発射パターンとは異なる第2の発射パターンを設定する処理を行う。具体的には、ガン型コントローラGC1が1P(第1のプレーヤ)用の接続端子(本体装置の端子)に接続された場合には、GC1のレジスタ22-1に1P用の第1の発射パターンを設定する。例えば第1の発射パターンのデータをガン型コントローラGC1に送信して、そのレジスタ22-1に書き込む。一方、ガン型コントローラGC2が2P(第2のプレーヤ)用の接続端子に接続された場合には、GC2のレジスタ22-2に2P用の第2の発射パターンを設定する。例えば第2の発射パターンのデータをガン型コントローラGC2に送信して、そのレジスタ22-2に書き込む。   The pattern setting unit 112 performs processing for setting a first firing pattern in the gun-type controller GC1 and setting a second firing pattern different from the first firing pattern in the gun-type controller GC2. Specifically, when the gun-type controller GC1 is connected to a connection terminal (terminal of the main device) for 1P (first player), the first firing pattern for 1P is stored in the register 22-1 of GC1. Set. For example, the first firing pattern data is transmitted to the gun-type controller GC1 and written in the register 22-1. On the other hand, when the gun-type controller GC2 is connected to the connection terminal for 2P (second player), the second firing pattern for 2P is set in the register 22-2 of GC2. For example, the second firing pattern data is transmitted to the gun-type controller GC2 and written to the register 22-2.

画像生成部120は、処理部100で行われる種々の処理(ゲーム処理)の結果に基づいて描画処理を行い、これにより画像を生成し、表示部190に出力する。例えば、いわゆる3次元画像を生成する場合には、まず、座標変換、クリッピング処理、或いは透視変換等のジオメトリ処理が行われ、その処理結果に基づいて、プリミティブ面データが作成される。そして、このプリミティブ面データ(描画データ)に基づいて、ジオメトリ処理後のオブジェクト(1又は複数のプリミティブ面)の画像が、描画バッファ(フレームバッファ)に描画される。これにより、オブジェクト空間内において仮想カメラ(所与の視点)から見える画像が生成されるようになる。   The image generation unit 120 performs drawing processing based on the results of various processes (game processing) performed by the processing unit 100, thereby generating an image and outputting the image to the display unit 190. For example, when generating a so-called three-dimensional image, first, geometric processing such as coordinate conversion, clipping processing, or perspective conversion is performed, and primitive surface data is generated based on the processing result. Based on this primitive surface data (drawing data), an image of the object (one or more primitive surfaces) after the geometry processing is drawn in a drawing buffer (frame buffer). Thereby, an image that can be seen from the virtual camera (given viewpoint) in the object space is generated.

音生成部130は、処理部100で行われる種々の処理の結果に基づいて音処理を行い、BGM、効果音、又は音声などのゲーム音を生成し、音出力部192に出力する。   The sound generation unit 130 performs sound processing based on the results of various processes performed by the processing unit 100, generates game sounds such as BGM, sound effects, or sounds, and outputs the game sounds to the sound output unit 192.

なお図1、図2では、2人のプレーヤがプレイする場合を例にとり説明したが、3人以上のプレーヤがプレイする場合にも本発明は当然に適用できる。また図1、図2では、光線発射コントローラがガン型のコントローラである場合を例にとり説明したが、これとは異なる形状や態様の光線発射コントローラ(例えばライフル型や剣型の光線発射コントローラ)であっても、本発明は適用可能である。   In FIGS. 1 and 2, the case where two players play is described as an example, but the present invention can naturally be applied to the case where three or more players play. In FIGS. 1 and 2, the case where the light emission controller is a gun-type controller has been described as an example. However, a light emission controller having a different shape or form (for example, a rifle-type or sword-type light emission controller) is used. Even if it exists, this invention is applicable.

2.本実施形態の手法
次に本実施形態の手法について図面を用いて説明する。
2. Next, the method of this embodiment will be described with reference to the drawings.

2.1 照射パターン
本実施形態では、照射位置において一定時間毎に繰り返される点灯、消灯の照射パターンの違いに基づいて、どのガン型コントローラ(光線発射デバイス)からの光線による照射位置なのかを判別している。即ち一定単位時間の間の照射パルスによりガン型コントローラGC1、GC2の判別を行う。
2.1 Irradiation Pattern In the present embodiment, it is determined which light source from which gun-type controller (light emitting device) is irradiated based on the difference between the illumination pattern that is repeatedly turned on and off at regular intervals at the irradiation position. is doing. That is, the gun-type controllers GC1 and GC2 are discriminated by the irradiation pulse during a certain unit time.

例えば図3(A)に示すように、3フレーム(広義にはNフレーム。他の説明でも同様)の撮影画像に亘って形成される照射パターンが、点灯、点灯、消灯の第1の照射パターン(110のパターン)であった場合には、1P用のガン型コントローラGC1による照射位置であると判定する。また3フレームの撮影画像に亘って形成される照射パターンが、点灯、消灯、点灯の第2の照射パターン(101のパターン)であった場合には、2P用のガン型コントローラGC2による照射位置であると判定する。   For example, as shown in FIG. 3A, the irradiation pattern formed over a captured image of 3 frames (N frames in a broad sense; the same applies to other explanations) is a first irradiation pattern that is turned on, turned on, and turned off. In the case of (110 pattern), it is determined that the irradiation position is by the 1P gun-type controller GC1. When the irradiation pattern formed over the three frames of the captured image is the second irradiation pattern (101 pattern) that is turned on, turned off, and lit, the irradiation position by the 2P gun type controller GC2 is used. Judge that there is.

なおプレーヤの人数が3人以上の場合は例えば図3(B)に示すようにして判定を行えばよい。即ち、点灯、点灯、消灯、消灯の照射パターン(1100)の場合はGC1(1P)と判定し、点灯、消灯、点灯、点灯の照射パターン(1011)の場合はGC2(2P)と判定し、点灯、消灯、点灯、消灯の照射パターン(1010)の場合はGC3(3P)と判定し、点灯、消灯、消灯、点灯の照射パターン(1001)の場合はGC4(4P)と判定する。   When the number of players is three or more, for example, the determination may be performed as shown in FIG. That is, the irradiation pattern (1100) of lighting, lighting, extinguishing, and extinguishing is determined as GC1 (1P), and the irradiation pattern of lighting, extinguishing, lighting, and lighting (1011) is determined as GC2 (2P). In the case of the irradiation pattern (1010) of lighting, extinguishing, lighting, and extinguishing, it is determined as GC3 (3P), and in the case of the irradiation pattern of lighting, extinguishing, extinguishing, and lighting (1001), it is determined as GC4 (4P).

なお図3(A)(B)に示すように、照射パターンは、1回目は点灯となり、その後に点灯、消灯を繰り返すパターンであることが望ましい。別の言い方をすれば、照射パターンを形成するガン型コントローラの光線の発射パターンは、1回目に光線を発射した後に、光線の発射、不発射を繰り返すパターンであることが望ましい。例えば、GC1の第1の照射パターン(第1の発射パターン)とGC2の第2の照射パターン(第2の発射パターン)は、1回目は共に点灯(発射)であるが、2回目以降において繰り返される点灯、消灯(発射、不発射)のパターンが異なっている。そして本実施形態では、この1回目の点灯の照射パターンに基づいて、照射位置の座標を決定し、2回目以降の照射パターンに基づいて、ガン型コントローラGC1、GC2(プレーヤ1P、2P)の判別を行う。   As shown in FIGS. 3A and 3B, it is desirable that the irradiation pattern is a pattern that is turned on for the first time and then repeatedly turned on and off. In other words, it is desirable that the light emission pattern of the gun-type controller that forms the irradiation pattern is a pattern in which light emission and non-firing are repeated after the light is emitted for the first time. For example, the first irradiation pattern (first launch pattern) of GC1 and the second irradiation pattern (second launch pattern) of GC2 are both turned on (fired) for the first time, but are repeated after the second time. The pattern of lighting and extinguishing (firing, non-firing) is different. In the present embodiment, the coordinates of the irradiation position are determined based on the irradiation pattern of the first lighting, and the gun type controllers GC1 and GC2 (players 1P and 2P) are determined based on the irradiation patterns for the second time and thereafter. I do.

2.2 動作
次に図4(A)〜図6のタイミング波形図を用いて本実施形態の具体的な動作について説明する。
2.2 Operation Next, a specific operation of the present embodiment will be described with reference to timing waveform diagrams of FIGS.

図4(A)〜図5は、処理フレーム間隔TPと同一時間間隔の撮影フレーム間隔TIでカメラCM(IMD)により撮影される撮影画像IM1、IM2、IM3・・・・に基づいて、位置検出処理、判定処理を行う場合のタイミング波形図である。   4A to 5 show position detection based on captured images IM1, IM2, IM3,... Captured by the camera CM (IMD) at a captured frame interval TI that is the same time interval as the processing frame interval TP. It is a timing waveform diagram in the case of performing processing and determination processing.

ここで処理フレーム間隔TPは、1フレームのゲーム画像を生成する処理とそのゲーム画像生成のためのゲーム処理を行う時間間隔(例えば1/30秒、1/60秒)である。この処理フレーム間隔TPは、画面への画像表示の際の垂直同期信号を用いて規定される。また撮影フレーム間隔TIは、カメラCMが1フレームの画像を撮影する時間間隔(スキャンフレーム間隔)である。   Here, the processing frame interval TP is a time interval (for example, 1/30 seconds, 1/60 seconds) for generating a game image for one frame and a game process for generating the game image. The processing frame interval TP is defined using a vertical synchronization signal when an image is displayed on the screen. The shooting frame interval TI is a time interval (scan frame interval) at which the camera CM captures an image of one frame.

図4(A)ではA1、A2のタイミングで1P、2Pのガン型コントローラGC1、GC2のトリガ14-1、14-2が引かれている。そしてA3、A4のタイミングで光発射デバイスRS1、RS2が発光し、光線が発射されている。この時の撮影画像がA5に示すIM1になる。この撮影画像IM1の照射位置IP1、IP2には図7(A)に示すように、図4(A)のA3、A4の光線発射により形成された点灯パターンが形成される。   In FIG. 4A, the triggers 14-1 and 14-2 of the 1P and 2P gun type controllers GC1 and GC2 are pulled at the timings of A1 and A2. The light emitting devices RS1 and RS2 emit light at timings A3 and A4, and light rays are emitted. The captured image at this time is IM1 shown in A5. As shown in FIG. 7A, lighting patterns formed by light emission of A3 and A4 in FIG. 4A are formed at the irradiation positions IP1 and IP2 of the photographed image IM1.

A6に示すように次の処理フレーム(プログラムフレーム)では、撮影画像IM1に形成された照射パターンに基づき図7(A)の照射位置IP1、IP2が検出され、IP1、IP2のX、Y座標が決定される。そしてこの処理フレームでは、図4(A)のA7、A8に示すように、ガン型コントローラGC1からは光線が発射される一方で、GC2からは光線が発射されない。これにより図7(B)に示すように、A9の撮影画像IM2の照射位置IP1には点灯パターンが形成され、照射位置IP2にはGC2による消灯パターンが形成される。   As shown in A6, in the next processing frame (program frame), the irradiation positions IP1 and IP2 in FIG. 7A are detected based on the irradiation pattern formed in the captured image IM1, and the X and Y coordinates of IP1 and IP2 are detected. It is determined. In this processing frame, as indicated by A7 and A8 in FIG. 4A, light is emitted from the gun-type controller GC1, but no light is emitted from GC2. As a result, as shown in FIG. 7B, a lighting pattern is formed at the irradiation position IP1 of the captured image IM2 of A9, and a turn-off pattern by GC2 is formed at the irradiation position IP2.

A10に示すように次の処理フレームでは、撮影画像IM2に形成された照射パターンに基づき、GC1(1P)を判別する判定処理が行われる。即ち図7(B)に示すように、撮影画像IM2では、照射位置IP1には点灯パターンが形成され、照射位置IP2には消灯パターンが形成される。従って照射位置IP1は、1P用のガン型コントローラGC1による照射位置であると判定される。そしてこの処理フレームでは、図4(A)のA11、A12に示すように、ガン型コントローラGC1からは光線が発射されない一方で、GC2からは光線が発射される。これにより図7(C)に示すように、A13の撮影画像IM3の照射位置IP1には消灯パターンが形成され、照射位置IP2には点灯パターンが形成される。   As shown in A10, in the next processing frame, determination processing for determining GC1 (1P) is performed based on the irradiation pattern formed on the captured image IM2. That is, as shown in FIG. 7B, in the photographed image IM2, a lighting pattern is formed at the irradiation position IP1, and a light-off pattern is formed at the irradiation position IP2. Therefore, it is determined that the irradiation position IP1 is an irradiation position by the 1P gun-type controller GC1. In this processing frame, as indicated by A11 and A12 in FIG. 4A, no light beam is emitted from the gun-type controller GC1, but a light beam is emitted from the GC2. As a result, as shown in FIG. 7C, a turn-off pattern is formed at the irradiation position IP1 of the captured image IM3 of A13, and a lighting pattern is formed at the irradiation position IP2.

A14に示すように次の処理フレームでは、撮影画像IM3に形成された照射パターンに基づきGC2(2P)を判別する判定処理が行われる。即ち図7(C)に示すように、撮影画像IM3では、照射位置IP1には消灯パターンが形成され、照射位置IP2に点灯パターンが形成されている。従って照射位置IP2は、2P用のガン型コントローラGC2による照射位置であると判定される。そして、その他の処理である後処理が行われる。   As shown in A14, in the next processing frame, a determination process for determining GC2 (2P) based on the irradiation pattern formed on the captured image IM3 is performed. That is, as shown in FIG. 7C, in the photographed image IM3, a turn-off pattern is formed at the irradiation position IP1, and a lighting pattern is formed at the irradiation position IP2. Therefore, it is determined that the irradiation position IP2 is an irradiation position by the 2P gun type controller GC2. Then, post-processing that is other processing is performed.

図4(B)ではB1、B2に示すように、処理フレームの後半でガン型コントローラGC1、GC2のトリガが入力されている。そしてB3、B4に示すように、次の処理フレームでガン型コントローラGC1、GC2が光線を発射している。この場合にはB5、B6、B7に示すように、図4(A)に比べて1処理フレーム間隔TPの時間間隔だけ、位置検出/位置決定処理、GC1判定処理、GC2判定処理が後ろにずれることになる。   In FIG. 4B, as indicated by B1 and B2, triggers of the gun-type controllers GC1 and GC2 are input in the latter half of the processing frame. As shown in B3 and B4, the gun-type controllers GC1 and GC2 emit light rays in the next processing frame. In this case, as shown in B5, B6, and B7, position detection / position determination processing, GC1 determination processing, and GC2 determination processing are shifted backward by the time interval of one processing frame interval TP as compared with FIG. It will be.

図5ではC1、C2に示すように、ガン型コントローラGC1のトリガ入力とGC2のトリガ入力が同一処理フレーム内になく、GC1のトリガ入力の次の処理フレームでGC2のトリガ入力が行われている。この場合には、ガン型コントローラGC1はC3、C4、C5に示すタイミングで、発射、発射、不発射のパターンの光線を発射する。またガン型コントローラGC2は、C6、C7、C8に示すタイミングで、発射、不発射、発射のパターンで光線を発射する。そしてC9、C10、C11に示すタイミングで、位置検出/位置決定処理、GC1判定処理、GC2判定処理が行われることになる。   In FIG. 5, as indicated by C <b> 1 and C <b> 2, the trigger input of the gun-type controller GC <b> 1 and the trigger input of GC <b> 2 are not in the same processing frame, and the trigger input of GC <b> 2 is performed in the processing frame next to the trigger input of GC <b> 1. . In this case, the gun-type controller GC1 emits light beams with a pattern of firing, firing, and non-firing at the timings indicated by C3, C4, and C5. Further, the gun-type controller GC2 emits light beams in a pattern of firing, non-firing, and firing at the timings indicated by C6, C7, and C8. Then, the position detection / position determination process, the GC1 determination process, and the GC2 determination process are performed at the timings indicated by C9, C10, and C11.

以上のように図4(A)〜図5では、第1の処理フレームで照射位置の検出、決定処理を行い、それに続く第2、第3の処理フレームで、ガン型コントローラGC1、GC2(1P、2P)の判別処理を行っている。このように処理フレーム間隔TPと同一時間間隔の撮影フレーム間隔TIで撮影画像を撮影し、その撮影画像に基づいて位置検出処理、判定処理を行う場合(プログラム処理同期型の場合)には、図2の位置検出部42、判定部44を、ゲーム装置の本体装置側の処理部100に設けることができる。そして、位置検出処理や判定処理をプログラム処理により実現することができる。   As described above, in FIGS. 4A to 5, the irradiation position is detected and determined in the first processing frame, and in the subsequent second and third processing frames, the gun-type controllers GC1 and GC2 (1P 2P). As described above, when a captured image is captured at a captured frame interval TI that is the same time interval as the processing frame interval TP, and position detection processing and determination processing are performed based on the captured image (in the case of a program processing synchronization type), The second position detection unit 42 and the determination unit 44 can be provided in the processing unit 100 on the main device side of the game apparatus. And a position detection process and a determination process are realizable by a program process.

図6は、処理フレーム間隔TPよりも短い時間間隔の撮影フレーム間隔TIで撮影される撮影画像IM1、IM2、IM3・・・・に基づいて、位置検出処理、判定処理を行う場合のタイミング波形図である。図6では処理フレーム間隔TPの例えば1/4の撮影フレーム間隔TIで画像が撮影され、撮影された複数の撮影画像に基づいて位置検出(決定)処理、GC1、GC2の判定処理が行われる。   6 is a timing waveform diagram in the case of performing position detection processing and determination processing based on captured images IM1, IM2, IM3,... Captured at a capturing frame interval TI having a time interval shorter than the processing frame interval TP. It is. In FIG. 6, an image is shot at a shooting frame interval TI that is, for example, ¼ of the processing frame interval TP, and position detection (determination) processing and GC1 and GC2 determination processing are performed based on a plurality of captured images.

より具体的には図6では、D1、D2のタイミングでガン型コントローラGC1、GC2のトリガが入力されている。するとガン型コントローラGC1はD3、D4、D5に示す発射、発射、不発射のパターンで光線を発射する。またガン型コントローラGC2はD6、D7、D8に示す発射、不発射、発射のパターンで光線を発射する。   More specifically, in FIG. 6, the triggers of the gun-type controllers GC1 and GC2 are input at the timings D1 and D2. Then, the gun-type controller GC1 emits a light beam in the firing, firing, and non-firing patterns indicated by D3, D4, and D5. The gun-type controller GC2 emits light rays in the firing, non-firing, and firing patterns indicated by D6, D7, and D8.

すると図6のD9に示すように、D3、D6の発射パターンにより撮影画像IM1に形成された照射位置IP1、IP2の点灯パターンにより、IP1、IP2の位置検出、位置決定処理が行われる。   Then, as shown in D9 of FIG. 6, the position detection and position determination processing of IP1 and IP2 are performed by the lighting pattern of the irradiation positions IP1 and IP2 formed in the captured image IM1 by the firing pattern of D3 and D6.

またD10に示すように、D4、D7の発射パターンにより撮影画像IM2の照射位置IP1、IP2に形成された点灯、消灯パターンにより、ガン型コントローラGC1(1P)を判別する判定処理が行われる。   Further, as shown at D10, a determination process for determining the gun-type controller GC1 (1P) is performed based on the lighting and extinguishing patterns formed at the irradiation positions IP1 and IP2 of the captured image IM2 based on the firing patterns D4 and D7.

またD11に示すように、D5、D8の発射パターンにより撮影画像IM3の照射位置IP1、IP2に形成された消灯、点灯パターンにより、ガン型コントローラGC2(2P)を判別する判定処理が行われる。   Further, as shown in D11, a determination process for determining the gun-type controller GC2 (2P) is performed based on the turn-off / lighting pattern formed at the irradiation positions IP1 and IP2 of the captured image IM3 based on the firing patterns D5 and D8.

以上のように図6では、1つの処理フレーム内で、照射位置の検出、決定処理と、ガン型コントローラGC1、GC2(1P、2P)の判別処理を行っている。このように処理フレーム間隔TPよりも短い時間間隔の撮影フレーム間隔TIで撮影画像を撮影し、その撮影画像に基づいて位置検出処理、判定処理を行う場合(プログラム処理非同期型の場合)には、図2の位置検出部42、判定部44を、カメラCMに内蔵することが望ましい。そしてこの図6の手法によれば、トリガ入力が行われてから、位置検出処理、判定処理が完了するまでの遅延時間を、図4(A)〜図5の手法に比べて短くできる。従って、位置検出処理、判定処理の遅延がプレーヤに気づかれにくくなり、スムーズなゲーム展開を実現できる。   As described above, in FIG. 6, irradiation position detection and determination processing and gun type controller GC1, GC2 (1P, 2P) discrimination processing are performed within one processing frame. In this way, when a captured image is captured at a capturing frame interval TI that is shorter than the processing frame interval TP, and position detection processing and determination processing are performed based on the captured image (in the case of a program processing asynchronous type), It is desirable to incorporate the position detection unit 42 and the determination unit 44 of FIG. 2 in the camera CM. According to the method of FIG. 6, the delay time from the trigger input to the completion of the position detection process and the determination process can be shortened as compared with the methods of FIGS. Accordingly, delays in position detection processing and determination processing are less noticeable by the player, and smooth game development can be realized.

3.本実施形態の処理
次に、本実施形態の詳細な処理例について図8〜図10のフローチャートを用いて説明する。
3. Processing of this Embodiment Next, a detailed processing example of this embodiment will be described using the flowcharts of FIGS.

図8はガン型コントローラ側の処理を示すフローチャートである。   FIG. 8 is a flowchart showing processing on the gun-type controller side.

まずトリガ入力(広義には光線発射指示)があったか否かを判断する(ステップS1)。そしてトリガ入力があった場合には、トリガが入力されたことを示すトリガ入力フラグをレジスタ(メモリ)に記憶する(ステップS2)。以上のようにしてトリガ入力検出処理が終了し、光線発射処理(照射処理)に移行する。   First, it is determined whether or not there is a trigger input (light emission instruction in a broad sense) (step S1). If a trigger is input, a trigger input flag indicating that the trigger has been input is stored in a register (memory) (step S2). As described above, the trigger input detection process ends, and the process proceeds to a light beam emission process (irradiation process).

光線発射処理では、トリガ入力フラグが既に記憶されているか否かを判断する(ステップS3)。そしてトリガ入力フラグが記憶されている場合には、レジスタ(図2の22-1、22-2)に設定されている発射パターンに基づいて光線を発射する処理を行う(ステップS4)。一方、トリガ入力フラグが記憶されていない場合には発射処理を行わない。   In the light emission process, it is determined whether or not a trigger input flag is already stored (step S3). If the trigger input flag is stored, a process of emitting a light beam based on the emission pattern set in the register (22-1 and 22-2 in FIG. 2) is performed (step S4). On the other hand, if the trigger input flag is not stored, the firing process is not performed.

次にN回(Nは2以上の整数)の光線の発射、不発射の繰り返しが終了したか否かを判断する(ステップS5)。そしてN回の繰り返しが終了した場合には、レジスタ(メモリ)に記憶されているトリガ入力フラグをクリアする(ステップS6)。即ち発射パターンが全て終了したか否かを判断し、終了している場合にはトリガ入力フラグをクリアする。例えば図3(A)ではN=3回の発射(点灯)、不発射(消灯)の繰り返しが終了すると、トリガ入力フラグがクリアされる。一方、図3(B)ではN=4回の発射、不発射の繰り返しが終了すると、トリガ入力フラグがクリアされる。このようにして発射パターンで指定される回数の光線の発射・不発射処理を実現できる。   Next, it is determined whether or not N times (N is an integer equal to or greater than 2) the emission and non-emission of the light beam have ended (step S5). When N repetitions are completed, the trigger input flag stored in the register (memory) is cleared (step S6). That is, it is determined whether or not all the firing patterns have been completed, and if they have been completed, the trigger input flag is cleared. For example, in FIG. 3A, the trigger input flag is cleared when the repetition of N = 3 firings (lighting) and non-firing (extinguishing) ends. On the other hand, in FIG. 3B, when the repetition of N = 4 firings and non-firings is completed, the trigger input flag is cleared. In this way, it is possible to realize the light emission / non-firing process for the number of times specified by the emission pattern.

図9はカメラ側の処理のフローチャートである。   FIG. 9 is a flowchart of processing on the camera side.

まず撮影デバイスにより撮影された撮影画像に基づき照射位置の検出処理を行う(ステップS11)。これは前述のフィルタ処理などにより実現できる。   First, irradiation position detection processing is performed based on a photographed image photographed by the photographing device (step S11). This can be realized by the filter processing described above.

次に照射位置が検出されたか否かを判断し(ステップS12)、検出された場合には、その照射位置に対する照射(光線の発射)が1回目の照射か否かを判断する(ステップS13)。そして1回目である場合には、その照射位置の座標を求めてレジスタ(メモリ)に記憶する(ステップS14。図6のD9参照)。そしてカウンタ(制御部40に含まれるカウンタ)のカウント値に初期値をセットする(ステップS15)。次に照射の有無パターン(点灯、消灯パターン)をカウンタのカウント値に対応づけて記憶する(ステップS16)。そしてカウンタのカウント処理(カウント値のデクリメント又はインクリメント)を行う(ステップS17)。なお、ステップS12やS13で照射位置が検出されなかったと判断された場合や1回目の照射でなかったと判断された場合には、ステップS14、S15の処理を行うことなくステップS16の処理に移行する。   Next, it is determined whether or not an irradiation position has been detected (step S12). If it is detected, it is determined whether or not the irradiation to the irradiation position (light emission) is the first irradiation (step S13). . If it is the first time, the coordinates of the irradiation position are obtained and stored in a register (memory) (step S14, see D9 in FIG. 6). Then, an initial value is set to the count value of the counter (a counter included in the control unit 40) (step S15). Next, an irradiation presence / absence pattern (lighting / extinguishing pattern) is stored in association with the count value of the counter (step S16). Then, a counter process (decrement or increment of the count value) is performed (step S17). If it is determined in step S12 or S13 that the irradiation position has not been detected or if it is determined that the irradiation has not been performed for the first time, the process proceeds to step S16 without performing steps S14 and S15. .

次にカウンタのカウント値が0(最終値)になったか否かを判断し(ステップS18)、カウント値が0になると、ガン型コントローラGC1、GC2(プレーヤ1P、2P)を判別する判定処理を行う(ステップS19。図6のD10、D11参照)。例えば図3(A)ではカウント処理が3回行われるとカウント値が0になり、図3(B)では4回行われるとカウント値が0になり、GC1、GC2の判定処理が行われる。そして判定が終了すると、GC1、GC2(1P、2P)の区別データと照射位置データをゲーム装置の本体装置(処理部100)に送信する(ステップS20)。例えばガン型コントローラGC1の照射位置座標が(X1、Y1)であり、GC2の照射位置座標が(X2、Y2)であるというフォーマットのデータが送信される。   Next, it is determined whether or not the count value of the counter has reached 0 (final value) (step S18). When the count value has reached 0, a determination process for determining the gun-type controllers GC1 and GC2 (players 1P and 2P) is performed. This is performed (step S19; see D10 and D11 in FIG. 6). For example, in FIG. 3A, the count value becomes 0 when the count process is performed three times, and in FIG. 3B, the count value becomes 0 when the count process is performed four times, and the determination process of GC1 and GC2 is performed. When the determination is completed, the distinction data of GC1 and GC2 (1P, 2P) and the irradiation position data are transmitted to the main device (processing unit 100) of the game device (step S20). For example, data in a format in which the irradiation position coordinates of the gun-type controller GC1 are (X1, Y1) and the irradiation position coordinates of GC2 are (X2, Y2) is transmitted.

図10は本体装置(図1の98、図2の処理部100)側の処理のフローチャートである。   FIG. 10 is a flowchart of processing on the main device (98 in FIG. 1 and processing unit 100 in FIG. 2).

まず1P側の接続端子(図1のE1)、2P側の接続端子(図1のE2)のいずれにガン型コントローラが接続されたか否かを判断する(ステップS21)。そして1P側の接続端子にガン型コントローラが接続された場合には、1P(GC1)用の発射パターン(図6のD3、D4、D5)のデータを送信し、そのガン型コントローラのレジスタに設定する(ステップS22)。一方、2P側の接続端子にガン型コントローラが接続された場合には、2P(GC2)用の発射パターン(図6のD6、D7、D8)のデータを送信し、そのガン型コントローラのレジスタに設定する(ステップS23)。そしてその他のゲーム処理(ヒットチェック処理、画像生成処理等)に移行する(ステップS24)。   First, it is determined which of the connection terminal on the 1P side (E1 in FIG. 1) and the connection terminal on the 2P side (E2 in FIG. 1) is connected to the gun-type controller (step S21). When a gun-type controller is connected to the 1P side connection terminal, 1P (GC1) firing pattern data (D3, D4, D5 in FIG. 6) is transmitted and set in the register of the gun-type controller. (Step S22). On the other hand, when a gun-type controller is connected to the connection terminal on the 2P side, 2P (GC2) firing pattern data (D6, D7, D8 in FIG. 6) is transmitted, and the gun-type controller registers. Set (step S23). Then, the process proceeds to other game processes (hit check process, image generation process, etc.) (step S24).

なお本発明は、上記実施形態で説明したものに限らず、種々の変形実施が可能である。   The present invention is not limited to that described in the above embodiment, and various modifications can be made.

例えば、明細書又は図面中の記載において広義や同義な用語(光線発射コントローラ、光線発射指示、第1のプレーヤ、第2のプレーヤ等)として引用された用語(ガン型コントローラ、トリガ入力、1P、2P等)は、明細書又は図面中の他の記載においても広義や同義な用語に置き換えることができる。   For example, terms (gun-type controller, trigger input, 1P, etc.) cited as broad or synonymous terms (light emission controller, light emission instruction, first player, second player, etc.) in the description or drawings. 2P etc.) can be replaced with terms having a broad meaning or the same meaning in other descriptions in the specification or the drawings.

また、本発明のうち従属請求項に係る発明においては、従属先の請求項の構成要件の一部を省略する構成とすることもできる。また、本発明の1の独立請求項に係る発明の要部を、他の独立請求項に従属させることもできる。   In the invention according to the dependent claims of the present invention, a part of the constituent features of the dependent claims can be omitted. Moreover, the principal part of the invention according to one independent claim of the present invention can be made dependent on another independent claim.

また、本発明は種々のゲーム(シューティングゲーム、ロボット対戦ゲーム、スポーツゲーム、ロールプレイングゲーム等)に適用できる。   Further, the present invention can be applied to various games (shooting game, robot battle game, sports game, role playing game, etc.).

また本発明は、業務用ゲーム装置、家庭用ゲーム装置、多数のプレーヤが参加する大型アトラクションゲーム装置、シミュレータ、パーソナルコンピュータ等の種々のゲーム装置に適用できる。   Further, the present invention can be applied to various game devices such as a business game device, a home game device, a large attraction game device in which a large number of players participate, a simulator, a personal computer, and the like.

位置検出システム、ゲーム装置の例である。It is an example of a position detection system and a game device. 位置検出システム、ゲーム装置の機能ブロック図の例である。It is an example of a functional block diagram of a position detection system and a game device. 図3(A)(B)は本実施形態の手法の説明図である。3A and 3B are explanatory diagrams of the method of the present embodiment. 図4(A)(B)は本実施形態の動作を説明するタイミング波形図である。4A and 4B are timing waveform diagrams illustrating the operation of this embodiment. 本実施形態の動作を説明するタイミング波形図である。It is a timing waveform diagram explaining the operation of the present embodiment. 本実施形態の動作を説明するタイミング波形図である。It is a timing waveform diagram explaining the operation of the present embodiment. 図7(A)(B)(C)は照射パターンの説明図である。7A, 7B, and 7C are explanatory diagrams of irradiation patterns. 本実施形態の詳細な処理のフローチャートである。It is a flowchart of the detailed process of this embodiment. 本実施形態の詳細な処理のフローチャートである。It is a flowchart of the detailed process of this embodiment. 本実施形態の詳細な処理のフローチャートである。It is a flowchart of the detailed process of this embodiment.

符号の説明Explanation of symbols

1P 第1のプレーヤ、2P 第2のプレーヤ、
CM カメラ、 IMD 撮影デバイス、
GC1、GC2 ガン型コントローラ、RS1、RS2 光線発射デバイス、
10 画面、14-1、14-2 トリガ、20-1、20-2 制御部、
22-1、22-2 レジスタ、40 制御部、42 位置検出部、44 判定部、
100 処理部、110 ゲーム処理部、112 パターン設定部、
120 画像生成部、130 音生成部、記憶部170、
180 情報記憶媒体、190 表示部、
192 音出力部、194 携帯型情報記憶装置、196 通信部
1P first player, 2P second player,
CM camera, IMD shooting device,
GC1, GC2 gun type controller, RS1, RS2 ray emitting device,
10 screen, 14-1, 14-2 trigger, 20-1, 20-2 control unit,
22-1 and 22-2 registers, 40 control unit, 42 position detection unit, 44 determination unit,
100 processing unit, 110 game processing unit, 112 pattern setting unit,
120 image generation unit, 130 sound generation unit, storage unit 170,
180 information storage medium, 190 display unit,
192 sound output unit, 194 portable information storage device, 196 communication unit

Claims (9)

複数の光線発射コントローラにより発射された光線の画面上での照射位置を、画面を撮影する撮影デバイスからの撮影画像に基づいて検出する位置検出システムであって、
前記撮影デバイスからの撮影画像に基づいて、複数の光線発射コントローラから発射された光線の画面上での複数の照射位置を検出する位置検出部と、
検出された複数の照射位置の各照射位置が、複数の光線発射コントローラのうちのいずれの光線発射コントローラからの光線の照射位置なのかを判定する判定部とを含み、
前記複数の光線発射コントローラの第1の光線発射コントローラが、第1の発射パターンで光線を発射し、
前記複数の光線発射コントローラの第2の光線発射コントローラが、前記第1の発射パターンとは異なる第2の発射パターンで光線を発射し、
前記判定部が、
複数フレームの撮影画像に亘って第1の照射位置に形成される照射パターンが、前記第1の発射パターンの光線により形成される第1の照射パターンであった場合には、前記第1の照射位置が、前記第1の光線発射コントローラからの光線の照射位置であると判定し、
複数フレームの撮影画像に亘って第2の照射位置に形成される照射パターンが、前記第2の発射パターンの光線により形成される第2の照射パターンであった場合には、前記第2の照射位置が、前記第2の光線発射コントローラからの光線の照射位置であると判定することを特徴とする位置検出システム。
A position detection system that detects an irradiation position on a screen of light beams emitted by a plurality of light beam emission controllers based on a photographed image from a photographing device that photographs the screen,
A position detection unit that detects a plurality of irradiation positions on a screen of light beams emitted from a plurality of light beam emission controllers, based on a captured image from the imaging device;
A determination unit that determines whether each irradiation position of the detected plurality of irradiation positions is an irradiation position of a light beam from any of the plurality of light emission controllers,
A first light emission controller of the plurality of light emission controllers emits light in a first emission pattern;
A second light emission controller of the plurality of light emission controllers emits light in a second emission pattern different from the first emission pattern;
The determination unit is
When the irradiation pattern formed at the first irradiation position over the captured images of a plurality of frames is the first irradiation pattern formed by the light rays of the first firing pattern, the first irradiation Determining that the position is the irradiation position of the light beam from the first light emission controller;
When the irradiation pattern formed at the second irradiation position over the plurality of frames of captured images is the second irradiation pattern formed by the light beam of the second emission pattern, the second irradiation is performed. A position detection system that determines that the position is an irradiation position of a light beam from the second light beam emission controller.
請求項1において、
前記第1の光線発射コントローラの前記第1の発射パターンが、第1回目に光線を発射した後に、光線の発射、不発射を繰り返すパターンであり、
前記第2の光線発射コントローラの前記第2の発射パターンが、第1回目に光線を発射した後に、前記第1の発射パターンとは異なるパターンで光線の発射、不発射を繰り返すパターンであり、
前記位置検出部が、
前記第1、第2の発射パターンの第1回目に発射される光線により撮影画像に形成される点灯パターンに基づき、前記第1、第2の照射位置の座標を求めることを特徴とする位置検出システム。
In claim 1,
The first light emission pattern of the first light emission controller is a pattern in which light emission and non-firing are repeated after the light is emitted for the first time,
The second emission pattern of the second light emission controller is a pattern in which light emission and non-firing are repeated in a pattern different from the first emission pattern after the light is emitted for the first time.
The position detection unit is
Position detection characterized in that coordinates of the first and second irradiation positions are obtained based on a lighting pattern formed in a photographed image by a light beam emitted for the first time of the first and second emission patterns. system.
請求項2において、
前記判定部が、
前記第1の照射位置に形成される照射パターンの第2回目以降の点灯、消灯パターンが第1の照射パターンであった場合には、前記第1の照射位置を、前記第1の光線発射コントローラからの光線の照射位置であると判定し、
前記第2の照射位置に形成される照射パターンの第2回目以降の点灯、消灯パターンが第2の照射パターンであった場合には、前記第2の照射位置を、前記第2の光線発射コントローラからの光線の照射位置であると判定することを特徴とする位置検出システム。
In claim 2,
The determination unit is
When the second and subsequent turn-on / off patterns of the irradiation pattern formed at the first irradiation position are the first irradiation pattern, the first irradiation position is set to the first light emission controller. Is determined to be the irradiation position of the light from
When the second and subsequent lighting / extinguishing patterns of the irradiation pattern formed at the second irradiation position are the second irradiation pattern, the second irradiation position is set to the second light emission controller. It is determined that the position is the irradiation position of the light beam from the position.
請求項1乃至3のいずれかにおいて、
前記位置検出部、前記判定部が、
処理フレーム間隔TPよりも短い時間間隔である撮影フレーム間隔TIで撮影される複数の撮影画像に基づいて、位置検出処理、判定処理を行うことを特徴とする位置検出システム。
In any one of Claims 1 thru | or 3,
The position detection unit and the determination unit are
A position detection system that performs position detection processing and determination processing based on a plurality of captured images captured at a capturing frame interval TI, which is a time interval shorter than the processing frame interval TP.
請求項1乃至4のいずれかの位置検出システムと、
前記複数の光線発射コントローラと、
前記撮影デバイスを含むカメラと、
前記位置検出システムにより検出された照射位置に基づいてゲーム処理を行うゲーム処理部と、
前記ゲーム処理部の処理結果に基づいて、画面に表示する画像を生成する画像生成部と、
を含むことを特徴とするゲーム装置。
A position detection system according to any one of claims 1 to 4,
The plurality of light emission controllers;
A camera including the photographing device;
A game processing unit for performing game processing based on the irradiation position detected by the position detection system;
An image generation unit that generates an image to be displayed on a screen based on a processing result of the game processing unit;
A game apparatus comprising:
請求項5において、
前記第1の光線発射コントローラに前記第1の発射パターンを設定し、前記第2の光線発射コントローラに、前記第1の発射パターンとは異なる前記第2の発射パターンを設定するパターン設定部を含むことを特徴とするゲーム装置。
In claim 5,
A pattern setting unit configured to set the first emission pattern in the first light emission controller, and to set the second emission pattern different from the first emission pattern in the second light emission controller; A game device characterized by that.
請求項5又は6において、
前記位置検出システムの位置検出部と判定部が、前記撮影デバイスを含む前記カメラに設けられることを特徴とするゲーム装置。
In claim 5 or 6,
A game apparatus, wherein a position detection unit and a determination unit of the position detection system are provided in the camera including the photographing device.
複数の光線発射コントローラにより発射された光線の画面上での照射位置を、画面を撮影する撮影デバイスからの撮影画像に基づいて検出する位置検出システムを有するゲーム装置のためのプログラムであって、
前記複数の光線発射コントローラの第1の光線発射コントローラに第1の発射パターンを設定し、前記複数の光線発射コントローラの第2の光線発射コントローラに、前記第1の発射パターンとは異なる第2の発射パターンを設定するパターン設定部と、
前記位置検出システムにより検出された照射位置に基づいてゲーム処理を行うゲーム処理部と、
前記ゲーム処理部の処理結果に基づいて、画面に表示する画像を生成する画像生成部として、
コンピューターを機能させ、
前記第1の光線発射コントローラが、前記パターン設定部により設定された前記第1の発射パターンで光線を発射し、前記第2の光線発射コントローラが、前記パターン設定部により設定された前記第2の発射パターンで光線を発射し、
前記位置検出システムが含む位置検出部が、
前記撮影デバイスからの撮影画像に基づいて、複数の光線発射コントローラから発射された光線の画面上での複数の照射位置を検出し、
前記位置検出システムが含む判定部が、
複数フレームの撮影画像に亘って第1の照射位置に形成される照射パターンが、前記第1の発射パターンの光線により形成される第1の照射パターンであった場合には、前記第1の照射位置が、前記第1の光線発射コントローラからの光線の照射位置であると判定し、
複数フレームの撮影画像に亘って第2の照射位置に形成される照射パターンが、前記第2の発射パターンの光線により形成される第2の照射パターンであった場合には、前記第2の照射位置が、前記第2の光線発射コントローラからの光線の照射位置であると判定し、
前記ゲーム処理部が、
前記位置検出部により検出された照射位置の座標と前記判定部での判定結果に基づいてゲーム処理を行うことを特徴とするプログラム。
A program for a game apparatus having a position detection system that detects an irradiation position on a screen of light beams emitted by a plurality of light beam emission controllers based on a captured image from a photographing device that captures a screen,
A first light emission controller of the plurality of light emission controllers is set with a first emission pattern, and a second light emission controller of the plurality of light emission controllers is set to a second different from the first emission pattern. A pattern setting section for setting a firing pattern;
A game processing unit for performing game processing based on the irradiation position detected by the position detection system;
As an image generation unit that generates an image to be displayed on the screen based on the processing result of the game processing unit,
Make the computer work,
The first light emission controller emits light with the first emission pattern set by the pattern setting unit, and the second light emission controller sets the second light emission controller set by the pattern setting unit. Fire a ray with a firing pattern,
The position detection unit included in the position detection system,
Detecting a plurality of irradiation positions on a screen of light beams emitted from a plurality of light beam emission controllers based on a captured image from the imaging device;
The determination unit included in the position detection system,
When the irradiation pattern formed at the first irradiation position over the captured images of a plurality of frames is the first irradiation pattern formed by the light rays of the first firing pattern, the first irradiation Determining that the position is the irradiation position of the light beam from the first light emission controller;
When the irradiation pattern formed at the second irradiation position over a plurality of frames of captured images is the second irradiation pattern formed by the light beam of the second emission pattern, the second irradiation Determining that the position is the irradiation position of the light beam from the second light beam emission controller;
The game processing unit
A program for performing a game process based on coordinates of an irradiation position detected by the position detection unit and a determination result by the determination unit.
コンピュータ読み取り可能な情報記憶媒体であって、請求項8のプログラムを記憶したことを特徴とする情報記憶媒体。   A computer-readable information storage medium, wherein the program of claim 8 is stored.
JP2003270167A 2003-07-01 2003-07-01 Position detection system, game device, program and information storage medium Withdrawn JP2005021562A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2003270167A JP2005021562A (en) 2003-07-01 2003-07-01 Position detection system, game device, program and information storage medium
US10/877,998 US20050026703A1 (en) 2003-07-01 2004-06-29 Position detection system, game machine, program, and information storage medium
GB0414714A GB2403532B (en) 2003-07-01 2004-07-01 Position detection system game machine program and information storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003270167A JP2005021562A (en) 2003-07-01 2003-07-01 Position detection system, game device, program and information storage medium

Publications (1)

Publication Number Publication Date
JP2005021562A true JP2005021562A (en) 2005-01-27

Family

ID=32844735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003270167A Withdrawn JP2005021562A (en) 2003-07-01 2003-07-01 Position detection system, game device, program and information storage medium

Country Status (3)

Country Link
US (1) US20050026703A1 (en)
JP (1) JP2005021562A (en)
GB (1) GB2403532B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006207977A (en) * 2005-01-31 2006-08-10 Nomura Research Institute Ltd Shooting training system
JP2010156516A (en) * 2008-12-29 2010-07-15 Junichi Uchida Laser beam incident position display device
WO2017098982A1 (en) * 2015-12-09 2017-06-15 株式会社スクウェア・エニックス Program, computer device, program execution method, and computer system

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100722897B1 (en) * 2002-07-26 2007-05-31 올림푸스 가부시키가이샤 Image processing system
WO2004012461A1 (en) * 2002-07-26 2004-02-05 Olympus Optical Co., Ltd. Image processing system
JP4088313B2 (en) * 2004-01-23 2008-05-21 オリンパス株式会社 Image processing system, hospital processing system
US8043149B2 (en) * 2005-03-03 2011-10-25 Sony Computer Entertainment America Llc In-game shot aiming indicator
TWI281623B (en) * 2005-05-10 2007-05-21 Pixart Imaging Inc Orientation point orientating method of orientation device and device thereof
US7874918B2 (en) * 2005-11-04 2011-01-25 Mattel Inc. Game unit with motion and orientation sensing controller
EP2354896B1 (en) * 2008-11-14 2016-12-21 Sony Interactive Entertainment Inc. Operating device and information processing apparatus
CN102068817B (en) * 2010-12-29 2013-05-29 深圳华强游戏软件有限公司 Multi-screen positioning recognition system and method
JP5425881B2 (en) * 2011-12-22 2014-02-26 株式会社コナミデジタルエンタテインメント GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
CN105247536B (en) * 2013-02-07 2021-11-05 马卡里 Automatic attack device and system for laser shooting game
CN203208661U (en) * 2013-02-07 2013-09-25 马卡里 Intelligent wristwatch for real person RPG
US10518172B2 (en) * 2016-03-07 2019-12-31 Htc Corporation Accessory management of virtual reality system
US20170282057A1 (en) * 2016-03-30 2017-10-05 Le Holdings (Beijing) Co., Ltd. Method and electronic device for determining homing position of game gun on display screen

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4137651A (en) * 1976-09-30 1979-02-06 The United States Of America As Represented By The Secretary Of The Army Moving target practice firing simulator
US5816817A (en) * 1995-04-21 1998-10-06 Fats, Inc. Multiple weapon firearms training method utilizing image shape recognition
AU6612296A (en) * 1996-07-05 1998-02-02 Vlg Virtual Laser Games Gmbh Computerized game system
US5999171A (en) * 1997-06-19 1999-12-07 Vlsi Technology, Inc. Detection of objects on a computer display
JP2002528798A (en) * 1998-10-21 2002-09-03 ファーエルゲー バーチャル レーザー システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Input device for computer
US6929548B2 (en) * 2002-04-23 2005-08-16 Xiaoling Wang Apparatus and a method for more realistic shooting video games on computers or similar devices
US20040266528A1 (en) * 2003-06-27 2004-12-30 Xiaoling Wang Apparatus and a method for more realistic video games on computers or similar devices using visible or invisible light and a light sensing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006207977A (en) * 2005-01-31 2006-08-10 Nomura Research Institute Ltd Shooting training system
JP4614783B2 (en) * 2005-01-31 2011-01-19 株式会社野村総合研究所 Shooting training system
JP2010156516A (en) * 2008-12-29 2010-07-15 Junichi Uchida Laser beam incident position display device
WO2017098982A1 (en) * 2015-12-09 2017-06-15 株式会社スクウェア・エニックス Program, computer device, program execution method, and computer system
JPWO2017098982A1 (en) * 2015-12-09 2018-09-27 株式会社スクウェア・エニックス Program, computer apparatus, program execution method, and computer system

Also Published As

Publication number Publication date
GB0414714D0 (en) 2004-08-04
GB2403532B (en) 2005-07-27
US20050026703A1 (en) 2005-02-03
GB2403532A (en) 2005-01-05

Similar Documents

Publication Publication Date Title
JP2005021562A (en) Position detection system, game device, program and information storage medium
US6379249B1 (en) Image generation device and information storage medium
US20100009734A1 (en) Electronic play device, control method for electronic play device and game program
US6589120B1 (en) Game apparatus
JP5136742B2 (en) Electronic game device, electronic game control method, and game program
JPH10333834A (en) Information storage medium and picture generating device
US6501478B1 (en) Image generation device and information storage medium
US7119817B1 (en) Image generating system and program
JP2008093307A (en) Electronic game device, control method for electronic game and game program
JP2005253724A (en) Shooting game device
JP2006230713A (en) Shooting game machine
JP2008173491A (en) Image generator and information storage medium
JP2001009154A (en) Shooting game device
JP3068487B2 (en) Shooting video game equipment
JP5210570B2 (en) game machine
JP4574695B2 (en) Image generation system and information storage medium
CN104941177A (en) Game device
JP4140058B2 (en) Game control program and recording medium
US6967650B1 (en) Image generating system and program
JP4420933B2 (en) Information storage medium and image generation apparatus
Pinheiro et al. RealShooting: Expanding the experience of point-and-click target shooting games
JP4204059B2 (en) GAME DEVICE AND INFORMATION STORAGE MEDIUM
JPH11250275A (en) Picture generating device and information storage medium
JPH08117449A (en) Shooting sound synthesizer
JP2000102671A (en) Position specifying device and recording medium storing position specifying program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905