JP3136549U - Slot machine - Google Patents

Slot machine Download PDF

Info

Publication number
JP3136549U
JP3136549U JP2007005908U JP2007005908U JP3136549U JP 3136549 U JP3136549 U JP 3136549U JP 2007005908 U JP2007005908 U JP 2007005908U JP 2007005908 U JP2007005908 U JP 2007005908U JP 3136549 U JP3136549 U JP 3136549U
Authority
JP
Japan
Prior art keywords
image
multimedia processor
subject
pseudo
cursor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007005908U
Other languages
Japanese (ja)
Inventor
拓 上島
恵一 安村
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.)
SSD Co Ltd
Original Assignee
SSD Co 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 SSD Co Ltd filed Critical SSD Co Ltd
Priority to JP2007005908U priority Critical patent/JP3136549U/en
Application granted granted Critical
Publication of JP3136549U publication Critical patent/JP3136549U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

【課題】非接触で制御可能なスロットマシーンを提供する。
【解決手段】実ドラム、実レバー及び実ボタンをそれぞれドラム画像36L,36C及び36R、レバー画像32並びに停止ボタン34L,34C及び34Rとして映像で提供し、それらの操作は、手の平を開いたり閉じたりすることにより、入力装置を赤外線フィルタの背後に配置されたイメージセンサに向けたり隠したりすることにより行う。
【選択図】図5
A non-contact controllable slot machine is provided.
Real drums, real levers and real buttons are provided as images as drum images 36L, 36C and 36R, lever images 32 and stop buttons 34L, 34C and 34R, respectively. By doing so, the input device is directed or concealed to the image sensor disposed behind the infrared filter.
[Selection] Figure 5

Description

本考案は、表示装置に図柄を表示するスロットマシーン及びその関連技術に関する。   The present invention relates to a slot machine for displaying a symbol on a display device and related technology.

特許文献1には、コインゲーム装置が開示されている。このコインゲーム装置では、テレビジョンモニタに、3つのドラム画像が表示される。プレイヤが、コインを投入し、決定ボタンを押下すると、ドラム画像が回転する。そして、プレイヤが、ハンドルを操作して、ドラム画像を選択し、決定ボタンを押下すると、選択したドラム画像が停止する。このようにして、3つのドラム画像を停止させ、同じ図柄が3つ揃えば、投入したコインの枚数に応じた枚数のコインが払い出される。   Patent Document 1 discloses a coin game device. In this coin game apparatus, three drum images are displayed on the television monitor. When the player inserts coins and presses the enter button, the drum image rotates. When the player operates the handle to select a drum image and presses the enter button, the selected drum image is stopped. In this way, when three drum images are stopped and three identical symbols are arranged, coins corresponding to the number of inserted coins are paid out.

特開2005−21654JP 2005-21654

以上のように、従来では、コインを入れることでドラム画像を回転し、決定ボタンを押すことでドラム画像を停止する。また、一般的なスロットマシーンでは、コインを投入し、レバーを引いて、ドラムを回転し、ボタンを押してドラムを停止する。   As described above, conventionally, the drum image is rotated by inserting coins, and the drum image is stopped by pressing the enter button. In a typical slot machine, a coin is inserted, a lever is pulled, the drum is rotated, and a button is pressed to stop the drum.

そこで、本考案の目的は、非接触で制御可能なスロットマシーン及びその関連技術を提供することである。   Accordingly, an object of the present invention is to provide a slot machine that can be controlled in a non-contact manner and a related technique.

本考案の観点によれば、スロットマシーンは、プレイヤの手の平に装着される被写体と、前記被写体を撮像する撮像手段と、前記撮像手段が撮像した前記被写体の像に基づいて、前記被写体の動きを検出し、検出された前記被写体の動きに連動するカーソル、前記カーソルに基づいて操作される第1の被操作オブジェクト及び第2の被操作オブジェクト、並びに、前記第1の被操作オブジェクト及び前記第2の被操作オブジェクトに基づいて動きが制御される擬似回転画像を表示装置に表示するプロセッサと、を備え、前記プロセッサは、前記カーソルが前記第1の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、停止した前記擬似回転画像に変化を与え、前記カーソルが前記第2の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、変化中の前記擬似回転画像を停止し、停止した前記擬似回転画像に含まれる図柄に応じて、擬似的な褒賞の供与を行う。   According to an aspect of the present invention, the slot machine is configured to detect the movement of the subject based on a subject worn on the palm of the player, an imaging unit that captures the subject, and an image of the subject captured by the imaging unit. A cursor that is detected and linked to the detected movement of the subject, a first operated object and a second operated object that are operated based on the cursor, and the first operated object and the second And a processor that displays on the display device a pseudo-rotation image whose movement is controlled based on the operated object of the object, the processor immediately after the cursor overlaps the first operated object. If an image is not obtained, the stopped pseudo-rotation image is changed, and the cursor overlaps the second operated object. If the image of the subject is not obtained immediately after, the pseudo-rotation image being changed is stopped, and a pseudo reward is given according to the pattern included in the stopped pseudo-rotation image .

この構成によれば、実ドラム、実レバー及び実ボタンをそれぞれ擬似回転画像、第1の被操作オブジェクト及び第2の被操作オブジェクト(以下、第1及び第2の被操作オブジェクトを総称して「ターゲット」と呼ぶこともある。)として映像で提供し、それらの操作は、手の平を開いたり閉じたりすることにより、被写体を撮像手段に向けたり隠したりすることにより行うので、実ドラム、実レバー及び実ボタン並びにそれらを駆動する機構が不要になり、故障し難い、省スペース、簡易かつ低コストでスロットマシーンを構成できる。また、非接触で操作が可能なスロットマシーンを提供できる。   According to this configuration, the real drum, the real lever, and the real button are respectively referred to as a pseudo rotation image, a first operated object, and a second operated object (hereinafter, the first and second operated objects are collectively referred to as “ It is also provided as an image as a “target”.) These operations are performed by opening or closing the palm to direct or hide the subject toward the imaging means. In addition, the actual buttons and the mechanism for driving them are not required, and it is difficult to break down, and a slot machine can be configured with space saving, simple and low cost. In addition, a slot machine that can be operated without contact can be provided.

また、プレイヤは、手の平を開いた状態でカーソルを移動し、ターゲットに重ね、そして、手を握り締めて、被写体を隠すことにより、ターゲットを操作ないしは変化を与えることができる。従って、プレイヤは、あたかもターゲットを握るかのような操作によって入力を与えることができる。その結果、プレイヤにとって、手の運動にもなるし、また、リハビリテーションのために利用することもできる。   In addition, the player can operate or change the target by moving the cursor with the palm open, overlaying the target, and clenching the hand to hide the subject. Therefore, the player can give an input by an operation as if holding the target. As a result, it becomes a hand exercise for the player, and can also be used for rehabilitation.

さらに、手の平を開いたり閉じたりするだけでスロットマシーンを駆動できるので、幼児、高齢者、及び身体の不自由な人などでも、簡易にスロットマシーンを楽しむことができる。   Furthermore, since the slot machine can be driven simply by opening or closing the palm, even an infant, an elderly person, a physically handicapped person or the like can easily enjoy the slot machine.

上記スロットマシーンにおいて、前記擬似回転画像は、各々独立して変化する複数の独立擬似回転画像を含み、前記第2の被操作オブジェクトは、前記複数の独立擬似回転画像に対応する複数の被操作部を含み、前記プロセッサは、前記カーソルが前記第1の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、停止した全ての前記独立擬似回転画像に変化を与え、前記カーソルが前記被操作部に重なった直後に、前記被写体の像が得られなかった場合に、当該被操作部に対応する変化中の前記独立擬似回転画像を停止し、変化中の全ての前記独立擬似回転画像が停止した場合に、全ての前記独立擬似回転画像に含まれる図柄の順番及び組合せに応じて、擬似的な褒賞の供与を行う。   In the slot machine, the pseudo-rotation image includes a plurality of independent pseudo-rotation images that change independently, and the second operated object includes a plurality of operated parts corresponding to the plurality of independent pseudo-rotation images. The processor gives a change to all the independent pseudo-rotated images that have been stopped when the image of the subject is not obtained immediately after the cursor has overlapped the first operated object, If an image of the subject cannot be obtained immediately after the cursor overlaps the operated portion, the changing independent pseudo-rotating image corresponding to the operated portion is stopped, and all the independent independent changes are made. When the pseudo-rotation image is stopped, a pseudo reward is given according to the order and combination of symbols included in all the independent pseudo-rotation images.

上記スロットマシーンにおいて、前記擬似的な褒賞は、擬似的なコインである。   In the slot machine, the pseudo reward is a pseudo coin.

上記スロットマシーンは、前記被写体に光を照射する発光手段をさらに備え、前記被写体は再帰反射部材を含む。   The slot machine further includes light emitting means for irradiating the subject with light, and the subject includes a retroreflective member.

この構成によれば、再帰反射部材が照射された光を再帰反射するので、撮像画像によりはっきりと再帰反射部材の像が写り込み、再帰反射部材の検出が容易になる。   According to this configuration, since the light irradiated by the retroreflective member is retroreflected, the image of the retroreflective member is clearly reflected in the captured image, and the retroreflective member can be easily detected.

このスロットマシーンにおいて、前記発光手段は、点灯と消灯とを繰り返し、前記プロセッサは、前記発光手段の点灯時に前記撮像手段により得られた撮像画像と、前記発光手段の消灯時に前記撮像手段により得られた撮像画像と、の差分画像に基づいて、前記被写体の動きを検出する。   In this slot machine, the light emitting means is repeatedly turned on and off, and the processor obtains a captured image obtained by the imaging means when the light emitting means is turned on and obtained by the imaging means when the light emitting means is turned off. The movement of the subject is detected based on the difference image between the captured image and the captured image.

この構成によれば、点灯時及び消灯時の差分を求めるので、再帰反射部材からの反射光以外の光によるノイズを極力除去でき、精度良く再帰反射部材を検出できる。   According to this configuration, since a difference between lighting and extinguishing is obtained, noise due to light other than the reflected light from the retroreflective member can be removed as much as possible, and the retroreflective member can be detected with high accuracy.

このスロットマシーンにおいて、前記発光手段が発光する光は赤外光であり、前記撮像手段は赤外光にのみ応答する。   In this slot machine, the light emitted from the light emitting means is infrared light, and the imaging means responds only to infrared light.

この構成によれば、発光手段は赤外光を発光し、撮像手段は赤外光にのみ応答する。このように、撮像手段は赤外光以外の光には応答せず、赤外光以外の光を含む移動光源および点滅光源(蛍光灯など)等のノイズ光源を除去することが可能となる。   According to this configuration, the light emitting means emits infrared light, and the imaging means responds only to the infrared light. In this way, the imaging means does not respond to light other than infrared light, and it is possible to remove noise light sources such as moving light sources and blinking light sources (such as fluorescent lamps) that contain light other than infrared light.

上記スロットマシーンにおいて、前記被写体は、プレイヤの右手の平に装着される第1被写部及び左手の平に装着される第2被写部を含み、前記カーソルは、前記第1被写部の動きに連動する第1応答画像及び前記第2被写部の動きに連動する第2応答画像を含む。   In the slot machine, the subject includes a first object portion that is attached to the palm of the right hand of the player and a second object portion that is attached to the palm of the left hand, and the cursor moves to the movement of the first object portion. A first response image that is interlocked and a second response image that is interlocked with the movement of the second object portion are included.

この構成によれば、プレイヤは両手を使用することになるので、利き手だけでなく、もう一方の手も均等に動かすことになる。その結果、バランス良く両手の運動ないしはリハビリテーションを行うことができる。   According to this configuration, since the player uses both hands, not only the dominant hand but also the other hand moves equally. As a result, exercise or rehabilitation of both hands can be performed in a well-balanced manner.

以下、本考案の実施の形態について、図面を参照しながら説明する。なお、図中、同一または相当部分については同一の参照符号を付してその説明を援用する。   Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof is incorporated.

図1は、本考案の実施の形態によるスロットマシーンの全体構成を示すブロック図である。図1に示すように、このスロットマシーンは、情報処理装置1、入力装置3L及び3R、並びにテレビジョンモニタ5を備える。ここで、入力装置3L及び3Rを区別する必要がないときは、入力装置3と表記する。   FIG. 1 is a block diagram showing an overall configuration of a slot machine according to an embodiment of the present invention. As shown in FIG. 1, the slot machine includes an information processing device 1, input devices 3L and 3R, and a television monitor 5. Here, when it is not necessary to distinguish between the input devices 3L and 3R, they are referred to as the input device 3.

図2は、図1の入力装置3の斜視図である。図2に示すように、入力装置3は、透明体17の底面側にベルト19を通して、そのベルト19を透明体17の内部で固定してなる。透明体17の内面全体にわたって(底面側を除く)、再帰反射シート15が取り付けられる。   FIG. 2 is a perspective view of the input device 3 of FIG. As shown in FIG. 2, the input device 3 is formed by passing a belt 19 on the bottom surface side of the transparent body 17 and fixing the belt 19 inside the transparent body 17. The retroreflective sheet 15 is attached over the entire inner surface of the transparent body 17 (excluding the bottom surface side).

ここで、入力装置3L及び3Rを区別する必要があるときは、入力装置3Lの透明体17および再帰反射シート15を、それぞれ、透明体17Lおよび再帰反射シート15Lと表記し、入力装置3Rの透明体17および再帰反射シート15を、それぞれ、透明体17Rおよび再帰反射シート15Rと表記する。   Here, when it is necessary to distinguish between the input devices 3L and 3R, the transparent body 17 and the retroreflective sheet 15 of the input device 3L are referred to as the transparent body 17L and the retroreflective sheet 15L, respectively, and the input device 3R is transparent. The body 17 and the retroreflective sheet 15 are referred to as a transparent body 17R and a retroreflective sheet 15R, respectively.

図1に戻って、情報処理装置1は、AVケーブル7により、テレビジョンモニタ5に接続される。さらに、情報処理装置1には、図示していないが、ACアダプタあるいは電池により電源電圧が供給される。情報処理装置1の背面には、電源スイッチ(図示せず)が設けられる。   Returning to FIG. 1, the information processing apparatus 1 is connected to the television monitor 5 by the AV cable 7. Further, although not shown, the information processing apparatus 1 is supplied with a power supply voltage by an AC adapter or a battery. A power switch (not shown) is provided on the back surface of the information processing apparatus 1.

情報処理装置1は、その前面側に、赤外光のみを透過する赤外線フィルタ20が設けられ、さらに、赤外線フィルタ20を囲むように、赤外光を発生する4つの赤外発光ダイオード9が露出している。赤外線フィルタ20の背面側には、後述のイメージセンサ54が配置される。   The information processing apparatus 1 is provided with an infrared filter 20 that transmits only infrared light on the front side thereof, and further, four infrared light emitting diodes 9 that generate infrared light are exposed so as to surround the infrared filter 20. is doing. An image sensor 54 described later is disposed on the back side of the infrared filter 20.

4つの赤外発光ダイオード9は、間欠的に赤外光を発光する。そして、赤外発光ダイオード9からの赤外光は、入力装置3に取り付けられた再帰反射シート15により反射され、赤外線フィルタ20の背面側に設けられたイメージセンサ54に入力される。このようにして、イメージセンサ54により、入力装置3が撮影される。   The four infrared light emitting diodes 9 emit infrared light intermittently. The infrared light from the infrared light emitting diode 9 is reflected by the retroreflective sheet 15 attached to the input device 3 and input to the image sensor 54 provided on the back side of the infrared filter 20. In this way, the input device 3 is photographed by the image sensor 54.

赤外光は間欠的に照射されるところ、赤外光の非照射時においても、イメージセンサ54による撮影処理は行われている。従って、情報処理装置1は、赤外光照射時の画像信号と非照射時の画像信号との差分を求めて、この差分信号DI(差分画像DI)を基に、入力装置3(つまり再帰反射シート15)の位置等を算出する。   When infrared light is irradiated intermittently, photographing processing by the image sensor 54 is performed even when infrared light is not irradiated. Therefore, the information processing apparatus 1 obtains the difference between the image signal at the time of infrared light irradiation and the image signal at the time of non-irradiation, and based on the difference signal DI (difference image DI), the input device 3 (that is, retroreflection). The position of the sheet 15) is calculated.

このように、差分を求めることで、再帰反射シート15からの反射光以外の光によるノイズを極力除去でき、精度良く再帰反射シート15を検出できる。   Thus, by obtaining the difference, noise due to light other than the reflected light from the retroreflective sheet 15 can be removed as much as possible, and the retroreflective sheet 15 can be detected with high accuracy.

図3は、図1の入力装置3L及び3Rの使用状態の一例を示す説明図である。図1及び図3に示すように、プレイヤは、中指を図2のベルト19に通して、入力装置3を装着する。この場合、透明体17及び再帰反射シート15が、手の平の側にくるようにする。図1のように、プレイヤが、情報処理装置1に向けて、つまり、イメージセンサ54に向けて、手を開くと、透明体17、つまり、再帰反射シート15が現れ、この再帰反射シート15が撮影される。一方、透明体17を握り締めると、透明体17、つまり、再帰反射シート15は、手の中に隠れてしまい、イメージセンサ54に撮影されない。従って、プレイヤは、手を開いたり閉じたりする動作によって、再帰反射シート15を撮影させたり撮影させなかったりすることにより、情報処理装置1に対する入力の制御を行うことができる。本実施の形態では、再帰反射シート15が撮影された場合を撮影状態、撮影されない状態を非撮影状態と呼ぶ。   FIG. 3 is an explanatory diagram showing an example of a usage state of the input devices 3L and 3R in FIG. As shown in FIGS. 1 and 3, the player puts the input device 3 by passing the middle finger through the belt 19 in FIG. 2. In this case, the transparent body 17 and the retroreflective sheet 15 are placed on the palm side. As shown in FIG. 1, when the player opens his hand toward the information processing apparatus 1, that is, toward the image sensor 54, the transparent body 17, that is, the retroreflective sheet 15 appears. Taken. On the other hand, when the transparent body 17 is clamped, the transparent body 17, that is, the retroreflective sheet 15 is hidden in the hand and is not photographed by the image sensor 54. Therefore, the player can control the input to the information processing apparatus 1 by causing the retroreflective sheet 15 to be photographed or not photographed by opening and closing the hand. In the present embodiment, a case where the retroreflective sheet 15 is photographed is referred to as an imaging state, and a state where the retroreflective sheet 15 is not photographed is referred to as a non-imaging state.

図4は、図1の情報処理装置1の電気的構成を示す図である。図4に示すように、情報処理装置1は、マルチメディアプロセッサ50、イメージセンサ54、赤外発光ダイオード9、外部メモリ52、及びバス56を含む。外部メモリ52は、ROM、RAM、及び/又はフラッシュメモリなど、システムの仕様に応じて必要なものを備える。   FIG. 4 is a diagram showing an electrical configuration of the information processing apparatus 1 of FIG. As illustrated in FIG. 4, the information processing apparatus 1 includes a multimedia processor 50, an image sensor 54, an infrared light emitting diode 9, an external memory 52, and a bus 56. The external memory 52 includes a ROM, a RAM, and / or a flash memory that is necessary according to the system specifications.

マルチメディアプロセッサ50は、バス56を通じて、外部メモリ52にアクセスできる。従って、マルチメディアプロセッサ50は、外部メモリ52に格納されたプログラムを実行でき、また、外部メモリ52に格納されたデータをリードして処理することができる。この外部メモリ52に、画面の制御、再帰反射シート15L及び15Rの位置検出、並びに入力判定等の各処理を行うアプリケーションプログラム(図8参照)、画像データ、及び音声データ等が予め格納される。   The multimedia processor 50 can access the external memory 52 through the bus 56. Therefore, the multimedia processor 50 can execute the program stored in the external memory 52 and can read and process the data stored in the external memory 52. The external memory 52 stores in advance an application program (see FIG. 8) for performing various processes such as screen control, position detection of the retroreflective sheets 15L and 15R, and input determination, image data, audio data, and the like.

このマルチメディアプロセッサは、図示しないが、中央演算処理装置(以下、「CPU」と呼ぶ。)、グラフィックスプロセシングユニット(以下、「GPU」と呼ぶ。)、サウンドプロセシングユニット(以下、「SPU」と呼ぶ。)、ジオメトリエンジン(以下、「GE」と呼ぶ。)、外部インタフェースブロック、メインRAM、及びA/Dコンバータ(以下、「ADC」と呼ぶ。)などを具備する。   Although not shown, the multimedia processor includes a central processing unit (hereinafter referred to as “CPU”), a graphics processing unit (hereinafter referred to as “GPU”), and a sound processing unit (hereinafter referred to as “SPU”). ), A geometry engine (hereinafter referred to as “GE”), an external interface block, a main RAM, an A / D converter (hereinafter referred to as “ADC”), and the like.

CPUは、外部メモリ52に格納されたプログラムを実行して、各種演算やシステム全体の制御を行う。グラフィックス処理に関するCPUの処理として、外部メモリ52に格納されたプログラムを実行して、各オブジェクトの拡大・縮小、回転、及び/又は平行移動のパラメータ、視点座標(カメラ座標)、並びに視線ベクトルの算出等を行う。ここで、1または複数のポリゴン又はスプライトから構成され、同じ拡大・縮小、回転、及び平行移動の変換が適用される単位を「オブジェクト」と呼ぶ。   The CPU executes programs stored in the external memory 52 to perform various calculations and control of the entire system. As processing of the CPU related to graphics processing, a program stored in the external memory 52 is executed, and parameters for enlargement / reduction, rotation, and / or translation of each object, viewpoint coordinates (camera coordinates), and line-of-sight vector are calculated. Perform calculations. Here, a unit composed of one or a plurality of polygons or sprites and applied with the same transformation of enlargement / reduction, rotation, and translation is referred to as an “object”.

GPUは、ポリゴン及びスプライトから構成される三次元イメージをリアルタイムに生成し、アナログのコンポジットビデオ信号に変換する。SPUは、PCM(pulse code modulation)波形データ、アンプリチュードデータ、及びメインボリュームデータを生成し、これらをアナログ乗算して、アナログオーディオ信号を生成する。GEは、三次元イメージを表示するための幾何演算を実行する。具体的には、GEは、行列積、ベクトルアフィン変換、ベクトル直交変換、透視投影変換、頂点明度/ポリゴン明度計算(ベクトル内積)、及びポリゴン裏面カリング処理(ベクトル外積)などの演算を実行する。   The GPU generates a three-dimensional image composed of polygons and sprites in real time and converts it into an analog composite video signal. The SPU generates PCM (pulse code modulation) waveform data, amplitude data, and main volume data, and analog-multiplies them to generate an analog audio signal. The GE performs a geometric operation for displaying a three-dimensional image. Specifically, the GE performs operations such as matrix product, vector affine transformation, vector orthogonal transformation, perspective projection transformation, vertex brightness / polygon brightness calculation (vector inner product), and polygon back surface culling processing (vector outer product).

外部インタフェースブロックは、周辺装置(本実施の形態ではイメージセンサ54及び赤外発光ダイオード9)とのインタフェースであり、24チャンネルのプログラマブルなデジタル入出力(I/O)ポートを含む。ADCは、4チャンネルのアナログ入力ポートに接続され、これらを介して、アナログ入力装置(本実施の形態ではイメージセンサ54)から入力されたアナログ信号をデジタル信号に変換する。メインRAMは、CPUのワーク領域、変数格納領域、および仮想記憶機構管理領域等として利用される。   The external interface block is an interface with peripheral devices (in this embodiment, the image sensor 54 and the infrared light emitting diode 9), and includes a 24-channel programmable digital input / output (I / O) port. The ADC is connected to four-channel analog input ports, and converts analog signals input from the analog input device (in this embodiment, the image sensor 54) into digital signals through these ADCs. The main RAM is used as a CPU work area, a variable storage area, a virtual storage mechanism management area, and the like.

入力装置3L及び3Rは、赤外発光ダイオード9の赤外光に照射され、その赤外光を再帰反射シート15L及び15Rで反射する。この再帰反射シート15L及び15Rからの反射光がイメージセンサ54によって撮影され、したがって、イメージセンサ54からは再帰反射シート15L及び15Rを含む画像信号が出力される。上記のように、マルチメディアプロセッサ50は、ストロボ撮影のために、赤外発光ダイオード9を間欠的に点滅するので、赤外光消灯時の画像信号も出力される。イメージセンサ54からのこれらのアナログ画像信号はマルチメディアプロセッサ50に内蔵されたADCによってデジタルデータに変換される。   The input devices 3L and 3R are irradiated with the infrared light of the infrared light emitting diode 9, and the infrared light is reflected by the retroreflective sheets 15L and 15R. The reflected light from the retroreflective sheets 15L and 15R is photographed by the image sensor 54. Therefore, the image sensor 54 outputs image signals including the retroreflective sheets 15L and 15R. As described above, the multimedia processor 50 intermittently blinks the infrared light-emitting diode 9 for strobe photography, so that an image signal when the infrared light is extinguished is also output. These analog image signals from the image sensor 54 are converted into digital data by an ADC built in the multimedia processor 50.

マルチメディアプロセッサ50は、イメージセンサ54からADCを介して入力されるデジタル画像信号から上記の差分信号DI(差分画像DI)を生成して、これに基づき、入力装置3L及び3Rによる入力判定、さらに入力装置3L及び3Rの位置等を検出して、演算、グラフィック処理、及びサウンド処理等を実行し、ビデオ信号およびオーディオ信号を出力する。ビデオ信号およびオーディオ信号は、AVケーブル7によりテレビジョンモニタ5に与えられ、応じて、テレビジョンモニタ5に映像が表示され、そのスピーカ(図示せず)から音声が出力される。   The multimedia processor 50 generates the difference signal DI (difference image DI) from the digital image signal input from the image sensor 54 via the ADC, and based on this, the input determination by the input devices 3L and 3R, The positions of the input devices 3L and 3R are detected, calculation, graphic processing, sound processing, etc. are executed, and a video signal and an audio signal are output. The video signal and the audio signal are given to the television monitor 5 through the AV cable 7, and accordingly, an image is displayed on the television monitor 5, and sound is output from a speaker (not shown).

後述するが、マルチメディアプロセッサ50は、検出した入力装置3L及び3Rの位置に応じて、カーソル70L及び70Rの移動を制御する。つまり、マルチメディアプロセッサ50は、差分画像DIから再帰反射シート15L及び15Rの像を抽出して、それぞれの注目点の差分画像DI上の座標を算出する。そして、マルチメディアプロセッサ50は、2つの注目点の差分画像DI上の座標を、スクリーン座標に変換することによって、2つの注目点のテレビジョンモニタ5の画面上の位置を求める。マルチメディアプロセッサ50は、この2つの注目点(再帰反射シート15L及び15Rに相当)の画面上の位置に、カーソル70L及び70Rを表示する。なお、スクリーン座標系は、テレビジョンモニタ5に映像を表示する際に用いられる座標系である。   As will be described later, the multimedia processor 50 controls the movement of the cursors 70L and 70R according to the detected positions of the input devices 3L and 3R. That is, the multimedia processor 50 extracts the images of the retroreflective sheets 15L and 15R from the difference image DI, and calculates the coordinates of the respective points of interest on the difference image DI. Then, the multimedia processor 50 obtains the positions of the two points of interest on the screen of the television monitor 5 by converting the coordinates on the difference image DI of the two points of interest into screen coordinates. The multimedia processor 50 displays the cursors 70L and 70R at the positions on the screen of these two attention points (corresponding to the retroreflective sheets 15L and 15R). The screen coordinate system is a coordinate system used when displaying an image on the television monitor 5.

図5は、図1のテレビジョンモニタ5に表示されるプレイ画面の例示図である。図5を参照して、プレイ画面は、ドラム画像(リール画像)36L,36C及び36R、ドラム画像36L,36C及び36Rを回転させるためのレバー画像32、回転中のドラム画像36Lを停止するための停止ボタン34L、回転中のドラム画像36Cを停止するための停止ボタン34C、回転中のドラム画像36Rを停止するための停止ボタン34R、プレイの残り時間を表示する残り時間表示部38、並びにプレイヤのコイン保持枚数を表示するコイン枚数表示部40を含む。さらに、プレイ画面は、入力装置3L及び3Rにそれぞれ連動するカーソル30L及び30Rを含む。   FIG. 5 is a view showing an example of a play screen displayed on the television monitor 5 of FIG. Referring to FIG. 5, the play screen is a drum image (reel image) 36L, 36C and 36R, a lever image 32 for rotating the drum images 36L, 36C and 36R, and a drum image 36L for rotating. A stop button 34L, a stop button 34C for stopping the rotating drum image 36C, a stop button 34R for stopping the rotating drum image 36R, a remaining time display unit 38 for displaying the remaining time of play, and the player's A coin number display unit 40 for displaying the number of coins held is included. Further, the play screen includes cursors 30L and 30R that are linked to the input devices 3L and 3R, respectively.

ここで、カーソル30L及び30Rを区別する必要がない場合は、カーソル30と表記する。ドラム画像36L,36C及び36Rを区別する必要がない場合は、ドラム画像36と表記する。停止ボタン34L,34C及び34Rを区別する必要がない場合は、停止ボタン34と表記する。また、ドラム画像36をドラム36と呼ぶこともあるし、レバー画像32をレバー32と呼ぶこともある。   Here, when it is not necessary to distinguish the cursors 30L and 30R, they are represented as a cursor 30. When it is not necessary to distinguish the drum images 36L, 36C, and 36R, they are expressed as a drum image 36. When it is not necessary to distinguish the stop buttons 34L, 34C, and 34R, they are expressed as stop buttons 34. Further, the drum image 36 may be referred to as a drum 36, and the lever image 32 may be referred to as a lever 32.

入力装置3が撮影状態にある場合は、対応するカーソル30の形態は、手の平を開いた形状をとる。入力装置3が撮影状態から非撮影状態になった場合は、対応するカーソル30の形態は、一定時間(例えば1秒)、手を握り締めた形状(握りこぶし)をとる。ただし、一定時間の経過後は、再び入力装置3が撮影状態になるまで、対応するカーソル30は消滅する。なお、奥が透けて見えるように、カーソル30の全部又は一部の色彩は半透明である。また、カーソル30の一部が完全透明でもよい。   When the input device 3 is in the shooting state, the corresponding cursor 30 is in the shape of an open palm. When the input device 3 is changed from the photographing state to the non-photographing state, the corresponding cursor 30 has a shape (fist fist) in which the hand is clamped for a certain time (for example, 1 second). However, after the lapse of a certain time, the corresponding cursor 30 disappears until the input device 3 is again in the shooting state. Note that all or part of the color of the cursor 30 is translucent so that the back can be seen through. Further, a part of the cursor 30 may be completely transparent.

プレイヤは、入力装置3を撮影状態(手の平を開いた状態)にしてカーソル30を移動し、レバー画像32に重ね、そして、入力装置3を非撮影状態(手握り締めた状態)にして、再帰反射シート15を隠す。これにより、マルチメディアプロセッサ50は、レバー32が操作されたとみなし、ドラム36L,36C及び36Rを回転させる。このような操作を「レバーを握る。」と呼ぶこともある。なお、本実施の形態では、ドラム36L,36C及び36Rの回転とは、現実の物体としてのドラムが存在するわけではないので、ドラムが回転している映像を表示することを意味する。   The player moves the cursor 30 with the input device 3 in the shooting state (with the palm open), overlaps the lever image 32, and puts the input device 3 into the non-photographing state (the hand gripped state) to perform retroreflection. The sheet 15 is hidden. Thereby, the multimedia processor 50 assumes that the lever 32 has been operated, and rotates the drums 36L, 36C, and 36R. Such an operation is sometimes referred to as “holding the lever”. In the present embodiment, the rotation of the drums 36L, 36C, and 36R means that an image as the drum is rotating is displayed because a drum as an actual object does not exist.

また、プレイヤは、入力装置3を撮影状態にしてカーソル30を移動し、停止ボタン34に重ね、そして、入力装置3を非撮影状態にして、再帰反射シート15を隠す。これにより、マルチメディアプロセッサ50は、当該停止ボタン34が押されたとみなし、その停止ボタン34に対応するドラム画像36を停止させる。このような操作を「停止ボタンを握る。」と呼ぶこともある。   In addition, the player moves the cursor 30 with the input device 3 in the shooting state, overlaps the stop button 34, and puts the input device 3 into the non-shooting state to hide the retroreflective sheet 15. Accordingly, the multimedia processor 50 considers that the stop button 34 has been pressed, and stops the drum image 36 corresponding to the stop button 34. Such an operation may be referred to as “holding a stop button”.

ここで、プレイヤは、カーソル30L及び30Rのうち、任意のカーソルを使用して、レバー32並びに停止ボタン34L,34C及び34Rを握ることができる。また、プレイヤは、停止ボタン34L,34C及び34Rを任意の順番で握ることができる。   Here, the player can hold the lever 32 and the stop buttons 34L, 34C, and 34R using any of the cursors 30L and 30R. The player can hold the stop buttons 34L, 34C, and 34R in any order.

プレイヤが、レバー32を握ってドラム36L,36C及び36Rを回転させると、コイン枚数表示部40のコイン枚数が1つ減る。そして、プレイヤが、停止ボタン34L,34C及び34Rを握って全てのドラム36L,36C及び36Rを停止させた場合、3つのドラム36L,36C及び36Rの中央に付されている3つの図柄の順番及び組合せに応じて、擬似的にコインが払い出され、払い出された分だけコイン枚数表示部40のコイン枚数が増加する。もちろん、3つの図柄の順番及び組合せによってはコインの払い出しが無い場合もある。なお、擬似的なコインの払い出しは、コイン画像が飛び散るような映像で行われる。   When the player holds the lever 32 and rotates the drums 36L, 36C, and 36R, the number of coins on the coin number display unit 40 is decreased by one. When the player holds the stop buttons 34L, 34C and 34R and stops all the drums 36L, 36C and 36R, the order of the three symbols attached to the center of the three drums 36L, 36C and 36R and According to the combination, coins are paid out in a pseudo manner, and the number of coins on the coin number display unit 40 is increased by the amount paid out. Of course, coins may not be paid out depending on the order and combination of the three symbols. It should be noted that the pseudo coins are paid out in a video in which coin images are scattered.

さて、次に、再帰反射シート15L及び15Rの検出処理及び左右決定処理を図面を用いて説明する。   Next, detection processing and left / right determination processing of the retroreflective sheets 15L and 15R will be described with reference to the drawings.

図6は、再帰反射シート15L及び15Rの検出処理の説明図である。図6には、赤外光発光時及び消灯時の画像データから生成した差分画像データに基づく差分画像(32×32ピクセル)が図示されている。図中、小さい正方形は1ピクセルを示す。また、左上角をXY座標軸の原点とする。   FIG. 6 is an explanatory diagram of detection processing of the retroreflective sheets 15L and 15R. FIG. 6 shows a difference image (32 × 32 pixels) based on difference image data generated from image data when infrared light is emitted and when the light is turned off. In the figure, a small square represents one pixel. The upper left corner is the origin of the XY coordinate axes.

この画像には、輝度値が大きい2つの領域251及び253が含まれる。領域251及び253は、再帰反射シート15L及び15Rである。ただし、この時点では、どの領域がどの再帰反射シートに対応するかは判別できない。   This image includes two regions 251 and 253 having large luminance values. Regions 251 and 253 are retroreflective sheets 15L and 15R. However, at this time, it cannot be determined which region corresponds to which retroreflective sheet.

まず、マルチメディアプロセッサ50は、Y=0を出発点として、X=0からX=31まで、差分画像データをスキャンし、次に、Yをインクリメントし、X=0からX=31まで、差分画像データをスキャンする。このような処理をY=31まで行い、32×32ピクセルの差分画像データをスキャンして、閾値ThLより大きいピクセルデータの上端位置minY、下端位置maxY、左端位置minX、及び右端位置maxXを求める。   First, the multimedia processor 50 scans the difference image data from X = 0 to X = 31 with Y = 0 as the starting point, and then increments Y to make the difference from X = 0 to X = 31. Scan image data. Such processing is performed up to Y = 31, and the difference image data of 32 × 32 pixels is scanned to obtain the upper end position minY, lower end position maxY, left end position minX, and right end position maxX of the pixel data larger than the threshold ThL.

次に、マルチメディアプロセッサ50は、座標(minX,minY)を出発点として、X軸の正方向にスキャンを実行して、最初に閾値ThLを超えるピクセルまでの距離LTを算出する。また、マルチメディアプロセッサ50は、座標(maxX,minY)を出発点として、X軸の負方向にスキャンを実行して、最初に閾値ThLを超えるピクセルまでの距離RTを算出する。さらに、マルチメディアプロセッサ50は、座標(minX,maxY)を出発点として、X軸の正方向にスキャンを実行して、最初に閾値ThLを超えるピクセルまでの距離LBを算出する。さらに、マルチメディアプロセッサ50は、座標(maxX,maxY)を出発点として、X軸の負方向にスキャンを実行して、最初に閾値ThLを超えるピクセルまでの距離RBを算出する。   Next, the multimedia processor 50 executes a scan in the positive direction of the X axis with the coordinates (minX, minY) as a starting point, and first calculates a distance LT to a pixel exceeding the threshold ThL. Further, the multimedia processor 50 executes a scan in the negative direction of the X axis starting from the coordinates (maxX, minY), and first calculates a distance RT to a pixel exceeding the threshold ThL. Further, the multimedia processor 50 performs a scan in the positive direction of the X axis with the coordinates (minX, maxY) as a starting point, and first calculates a distance LB to a pixel exceeding the threshold ThL. Further, the multimedia processor 50 executes a scan in the negative direction of the X axis starting from the coordinates (maxX, maxY), and first calculates a distance RB to a pixel exceeding the threshold ThL.

マルチメディアプロセッサ50は、距離LT>RTのときは、座標(maxX,minY)を第1抽出点とし、距離LT≦RTのときは、座標(minX,minY)を第1抽出点とする。また、マルチメディアプロセッサ50は、距離LB>RBのときは、座標(maxX,maxY)を第2抽出点とし、距離LB≦RBのときは、座標(minX,maxY)を第2抽出点とする。   The multimedia processor 50 sets the coordinates (maxX, minY) as the first extraction point when the distance LT> RT, and sets the coordinates (minX, minY) as the first extraction point when the distance LT ≦ RT. In addition, when the distance LB> RB, the multimedia processor 50 sets the coordinates (maxX, maxY) as the second extraction point, and when the distance LB ≦ RB, sets the coordinates (minX, maxY) as the second extraction point. .

図7は、左右決定処理の説明図である。図7には、前回(1ビデオフレーム前)の再帰反射シート15Lの位置TPL2及び前々回(2ビデオフレーム前)の位置TPL1、並びに、前回(1ビデオフレーム前)の再帰反射シート15Rの位置TPR2及び前々回(1ビデオフレーム前)の位置TPR1が図示されている。位置TPL1,TPL2,TPR1及びTPR2は、差分画像データに基づく差分画像上の位置である。   FIG. 7 is an explanatory diagram of the left / right determination process. In FIG. 7, the position TPL2 of the retroreflective sheet 15L of the previous time (one video frame before) and the position TPL1 of the previous time (two video frames before), the position TPR2 of the retroreflective sheet 15R of the previous time (one video frame before), and A position TPR1 two times before (one video frame before) is shown. Positions TPL1, TPL2, TPR1, and TPR2 are positions on the difference image based on the difference image data.

マルチメディアプロセッサ50は、位置TPL1を始点、位置TPL2を終点とする速度ベクトルVLを算出する。そして、位置TPL2を始点とする速度ベクトルVLの終点を、再帰反射シート15Lの予測位置TPLpとする。一方、マルチメディアプロセッサ50は、位置TPR1を始点、位置TPR2を終点とする速度ベクトルVRを算出する。そして、位置TPR2を始点とする速度ベクトルVRの終点を、再帰反射シート15Rの予測位置TPRpとする。   The multimedia processor 50 calculates a velocity vector VL starting from the position TPL1 and ending at the position TPL2. Then, the end point of the velocity vector VL starting from the position TPL2 is set as the predicted position TPLp of the retroreflective sheet 15L. On the other hand, the multimedia processor 50 calculates a velocity vector VR starting from the position TPR1 and ending at the position TPR2. Then, the end point of the velocity vector VR starting from the position TPR2 is set as the predicted position TPRp of the retroreflective sheet 15R.

マルチメディアプロセッサ50は、第1抽出点TPN1と予測位置TPLpとの距離LD1、第1抽出点TPN1と予測位置TPRpとの距離RD1、第2抽出点TPN2と予測位置TPLpとの距離LD2、及び、第2抽出点TPN2と予測位置TPRpとの距離RD2を求める。   The multimedia processor 50 includes a distance LD1 between the first extraction point TPN1 and the predicted position TPLp, a distance RD1 between the first extraction point TPN1 and the predicted position TPRp, a distance LD2 between the second extraction point TPN2 and the predicted position TPLp, and A distance RD2 between the second extraction point TPN2 and the predicted position TPRp is obtained.

マルチメディアプロセッサ50は、距離LD1>RD1ならば、第1抽出点TPN1を再帰反射シート15Rの今回の位置とし、距離LD1≦RD1ならば、第1抽出点TPN1を再帰反射シート15Lの今回の位置とする。また、マルチメディアプロセッサ50は、距離LD2>RD2ならば、第2抽出点TPN2を再帰反射シート15Rの今回の位置とし、距離LD2≦RD2ならば、第2抽出点TPN2を再帰反射シート15Lの今回の位置とする。   If the distance LD1> RD1, the multimedia processor 50 sets the first extraction point TPN1 as the current position of the retroreflective sheet 15R. If the distance LD1 ≦ RD1, the multimedia processor 50 sets the first extraction point TPN1 as the current position of the retroreflective sheet 15L. And Further, if the distance LD2> RD2, the multimedia processor 50 sets the second extraction point TPN2 as the current position of the retroreflective sheet 15R, and if the distance LD2 ≦ RD2, sets the second extraction point TPN2 as the current position of the retroreflective sheet 15L. The position of

このように、左右の予測位置TPLp及びTPRpに基づいて、第1抽出点TPN1及び第2抽出点TPN2に左右を割り当てているため、再帰反射シート15Lと再帰反射シート15Rとの左右が入れ替わった場合でも(クロスした場合でも)、マルチメディアプロセッサ50は、差分画像データに基づく差分画像上において、再帰反射シート15L及び15Rの各々を的確に認識できる。   Thus, since the left and right are assigned to the first extraction point TPN1 and the second extraction point TPN2 based on the left and right predicted positions TPLp and TPRp, the left and right of the retroreflective sheet 15L and the retroreflective sheet 15R are switched. However (even if crossed), the multimedia processor 50 can accurately recognize each of the retroreflective sheets 15L and 15R on the difference image based on the difference image data.

さて、次に、マルチメディアプロセッサ50による処理の流れをフローチャートを用いて説明する。   Next, the flow of processing by the multimedia processor 50 will be described using a flowchart.

図8は、図4のマルチメディアプロセッサ50による全体処理の流れの一例を示すフローチャートである。図8を参照して、ステップS1にて、マルチメディアプロセッサ50は、各種変数の初期化等、システムの初期設定を実行する。ステップS3にて、マルチメディアプロセッサ50は、外部メモリ52に格納されたアプリケーションプログラムに従った処理を実行する。ステップS5にて、マルチメディアプロセッサ50は、ビデオ同期信号による割り込みが発生するまで待機する。つまり、マルチメディアプロセッサ50は、ビデオ同期信号による割り込みが発生していない場合は、同じステップS5に戻り、ビデオ同期信号による割り込みが発生した場合は、ステップS7に進む。例えば、ビデオ同期信号による割り込みは、1/60秒ごとに発生する。この割り込みに同期して、ステップS7及びステップS9にて、マルチメディアプロセッサ50は、テレビジョンモニタ5に表示する画像を更新すると共に、音声の再生を行う。そして、マルチメディアプロセッサ50は、ステップS3に戻る。   FIG. 8 is a flowchart showing an example of the overall processing flow by the multimedia processor 50 of FIG. With reference to FIG. 8, in step S1, the multimedia processor 50 performs initial setting of the system such as initialization of various variables. In step S <b> 3, the multimedia processor 50 executes processing according to the application program stored in the external memory 52. In step S5, the multimedia processor 50 stands by until an interrupt due to the video synchronization signal occurs. That is, the multimedia processor 50 returns to the same step S5 when the interrupt due to the video synchronization signal has not occurred, and proceeds to step S7 when the interrupt due to the video synchronization signal has occurred. For example, the interruption by the video synchronization signal occurs every 1/60 seconds. In synchronization with this interruption, in steps S7 and S9, the multimedia processor 50 updates the image displayed on the television monitor 5 and reproduces the sound. Then, the multimedia processor 50 returns to step S3.

ステップS3の処理を制御するアプリケーションプログラムは、複数のプログラムを含む。この複数のプログラムに、下記するフローチャートが示す処理を実行するプログラムが含まれる。   The application program that controls the processing in step S3 includes a plurality of programs. The plurality of programs include a program that executes processing shown in the flowchart below.

図9は、図8のステップS3におけるアプリケーションプログラムによる処理の主要部分の流れの一例を示すフローチャートである。図9を参照して、ステップS21にて、マルチメディアプロセッサ50は、再帰反射シート15L及び15Rの撮影処理を実行する。ステップS23にて、マルチメディアプロセッサ50は、ステップS21で得られた画像に基づいて、再帰反射シート15L及び15Rの像を検出する。ステップS25にて、マルチメディアプロセッサ50は、プレイヤがターゲットを握る操作を行った否かを判定する。ここで、ターゲットとは、プレイヤが握る対象のことを意味し、上記例では、レバー画像32並びに停止ボタン34L,34C及び34Rである。ステップS26にて、マルチメディアプロセッサ50は、停止した3つのドラム画像36L,36C及び36Rの中央に付されている3つの図柄に基づいて、コインの払い出し枚数を決定する。ステップS27にて、マルチメディアプロセッサ50は、テレビジョンモニタ5に表示する映像の制御や、その他の必要な演算を実行する。   FIG. 9 is a flowchart showing an example of the flow of the main part of the processing by the application program in step S3 of FIG. With reference to FIG. 9, in step S21, the multimedia processor 50 executes the photographing process of the retroreflective sheets 15L and 15R. In step S23, the multimedia processor 50 detects the images of the retroreflective sheets 15L and 15R based on the image obtained in step S21. In step S25, the multimedia processor 50 determines whether or not the player has performed an operation of grasping the target. Here, the target means an object to be gripped by the player, and in the above example, is the lever image 32 and the stop buttons 34L, 34C, and 34R. In step S26, the multimedia processor 50 determines the number of coins to be paid out based on the three symbols attached to the center of the three stopped drum images 36L, 36C and 36R. In step S27, the multimedia processor 50 executes control of video displayed on the television monitor 5 and other necessary calculations.

図10は、図9のステップS21における撮影処理の流れの一例を示すフローチャートである。図10に示すように、ステップS41において、マルチメディアプロセッサ50は、赤外発光ダイオード9を点灯する。ステップS43で、マルチメディアプロセッサ50は、イメージセンサ54から、赤外光点灯時の画像データを取得して、メインRAMに格納する。   FIG. 10 is a flowchart illustrating an example of the flow of the photographing process in step S21 of FIG. As shown in FIG. 10, in step S41, the multimedia processor 50 turns on the infrared light emitting diode 9. In step S43, the multimedia processor 50 acquires image data when the infrared light is turned on from the image sensor 54, and stores it in the main RAM.

ここで、本実施の形態では、イメージセンサ54の例として、32ピクセル×32ピクセルのCMOSイメージセンサを使用する。従って、イメージセンサ54からは、画像データとして、32ピクセル×32ピクセルのピクセルデータが出力される。このピクセルデータは、A/Dコンバータにより、デジタルデータに変換されて、メインRAM上の二次元配列P1[X][Y]の要素として格納される。   Here, in this embodiment, a CMOS image sensor of 32 pixels × 32 pixels is used as an example of the image sensor 54. Therefore, pixel data of 32 pixels × 32 pixels is output from the image sensor 54 as image data. This pixel data is converted into digital data by an A / D converter and stored as elements of a two-dimensional array P1 [X] [Y] on the main RAM.

ステップS45で、マルチメディアプロセッサ50は、赤外発光ダイオード9を消灯する。ステップS47にて、マルチメディアプロセッサ50は、イメージセンサ54から、赤外光消灯時の画像データ(32ピクセル×32ピクセルのピクセルデータ)を取得して、メインRAMに格納する。この場合、このピクセルデータは、メインRAM上の二次元配列P2[X][Y]の要素として格納される。   In step S45, the multimedia processor 50 turns off the infrared light emitting diode 9. In step S47, the multimedia processor 50 acquires image data (32 pixel × 32 pixel pixel data) when the infrared light is extinguished from the image sensor 54, and stores it in the main RAM. In this case, the pixel data is stored as an element of a two-dimensional array P2 [X] [Y] on the main RAM.

以上のようにして、ストロボ撮影が行われる。ここで、イメージセンサ54による画像を構成する各ピクセルの位置を表す二次元座標系では、水平方向をX軸、垂直方向をY軸とする。また、原点Oを画像の左上角とする。本実施の形態では、32ピクセル×32ピクセルのイメージセンサ54を用いているため、X=0〜31、Y=0〜31である。この点、差分画像DIについても同じである。また、ピクセルデータは輝度値である。   The flash photography is performed as described above. Here, in the two-dimensional coordinate system representing the position of each pixel constituting the image by the image sensor 54, the horizontal direction is the X axis and the vertical direction is the Y axis. The origin O is the upper left corner of the image. In this embodiment, since the image sensor 54 of 32 pixels × 32 pixels is used, X = 0 to 31 and Y = 0 to 31. This also applies to the difference image DI. The pixel data is a luminance value.

図11は、図9のステップS23におけるシート検出処理の流れの一例を示すフローチャートである。図11に示すように、ステップS61にて、マルチメディアプロセッサ50は、赤外光発光時のピクセルデータP1[X][Y]と、赤外光消灯時のピクセルデータP2[X][Y]と、の差分を算出して、配列Dif[X][Y]に代入する。ステップS63にて、マルチメディアプロセッサ50は、32×32ピクセル分の差分を算出した場合は、ステップS65に進み、そうでなければ、ステップS61に進む。このように、マルチメディアプロセッサ50は、ステップS61の処理を繰り返して、赤外光発光時の画像データと、赤外光消灯時の画像データと、の差分画像データを生成する。このように、差分画像データ(差分画像)を求めることで、再帰反射シート15L及び15Rからの反射光以外の光によるノイズを極力除去でき、再帰反射シート15L及び15Rを精度良く検出できる。   FIG. 11 is a flowchart showing an example of the flow of the sheet detection process in step S23 of FIG. As shown in FIG. 11, in step S61, the multimedia processor 50 determines pixel data P1 [X] [Y] when emitting infrared light and pixel data P2 [X] [Y] when turning off infrared light. And is substituted into the array Dif [X] [Y]. In step S63, the multimedia processor 50 proceeds to step S65 when the difference of 32 × 32 pixels is calculated, and proceeds to step S61 otherwise. As described above, the multimedia processor 50 repeats the process of step S61 to generate difference image data between the image data when the infrared light is emitted and the image data when the infrared light is turned off. Thus, by obtaining the difference image data (difference image), noise due to light other than the reflected light from the retroreflective sheets 15L and 15R can be removed as much as possible, and the retroreflective sheets 15L and 15R can be detected with high accuracy.

ステップS65にて、マルチメディアプロセッサ50は、図6で説明した左右上下端(minX、maxX、minY、maxY)検出処理を実行する。   In step S65, the multimedia processor 50 executes the left / right upper / lower end (minX, maxX, minY, maxY) detection processing described in FIG.

図12は、図11のステップS65における左右上下端検出処理の流れの一例を示すフローチャートである。図12に示すように、ステップS91にて、マルチメディアプロセッサ50は、「X」、「Y」、「maxX」、「maxY」、「k」、及び「SN」に「0」を代入する。また、マルチメディアプロセッサ50は、「minX」及び「minY」に「31」を代入する。   FIG. 12 is a flowchart illustrating an example of the left / right upper / lower end detection process in step S65 of FIG. As shown in FIG. 12, in step S91, the multimedia processor 50 substitutes “0” for “X”, “Y”, “maxX”, “maxY”, “k”, and “SN”. Also, the multimedia processor 50 substitutes “31” for “minX” and “minY”.

ステップS93にて、マルチメディアプロセッサ50は、配列Dif[X][Y]の要素を所定の閾値ThLと比較する。ステップS95にて、マルチメディアプロセッサ50は、配列Dif[X][Y]の要素が所定の閾値ThLより大きい場合は、ステップS97に進み、所定の閾値ThL以下の場合は、ステップS121に進む。   In step S93, the multimedia processor 50 compares the elements of the array Dif [X] [Y] with a predetermined threshold ThL. In step S95, the multimedia processor 50 proceeds to step S97 if the element of the array Dif [X] [Y] is greater than the predetermined threshold ThL, and proceeds to step S121 if it is less than or equal to the predetermined threshold ThL.

ステップS93,S95の処理は、再帰反射シート15L,15Rが撮影されたか否かを検出するための処理である。再帰反射シート15L,15Rが撮影されると、差分画像上では、再帰反射シート15L,15Rに相当するピクセルの輝度値が大きくなる。このため、閾値ThLにより、輝度値の大小を峻別して、閾値ThLより大きい輝度値を持つピクセルを、撮影された再帰反射シート15L,15Rの一部であると認識する。   The processes in steps S93 and S95 are processes for detecting whether or not the retroreflective sheets 15L and 15R are photographed. When the retroreflective sheets 15L and 15R are photographed, the luminance values of pixels corresponding to the retroreflective sheets 15L and 15R increase on the difference image. For this reason, the brightness value is distinguished by the threshold value ThL, and a pixel having a brightness value larger than the threshold value ThL is recognized as part of the photographed retroreflective sheets 15L and 15R.

ステップS97にて、マルチメディアプロセッサ50は、カウント値kを1つインクリメントする。ステップS99にて、マルチメディアプロセッサ50は、カウント値kが「1」か否かを判断し、k=1であれば、ステップS101に進み、それ以外では、ステップS103に進む。   In step S97, the multimedia processor 50 increments the count value k by one. In step S99, the multimedia processor 50 determines whether or not the count value k is “1”. If k = 1, the process proceeds to step S101. Otherwise, the process proceeds to step S103.

ステップS101では、マルチメディアプロセッサ50は、最小Y座標minYに、現在のY座標を代入する。つまり、スキャンは、(X,Y)=(0,0)から開始して、X=0〜31まで行い、Yをインクリメントして、再び、X=0〜31まで行う、という処理を繰り返すので(後述のステップS121〜S129参照)、最初に閾値ThLを超えた要素(つまりピクセル)を持つ配列Dif[X][Y]の「Y」が最小Y座標minYとなる。   In step S101, the multimedia processor 50 substitutes the current Y coordinate for the minimum Y coordinate minY. In other words, the scan repeats the process of starting from (X, Y) = (0, 0), performing X = 0 to 31, incrementing Y, and again performing X = 0 to 31. (Refer to Steps S121 to S129 described later) “Y” of the array Dif [X] [Y] having an element (that is, a pixel) that first exceeds the threshold ThL is the minimum Y coordinate minY.

ステップS103では、マルチメディアプロセッサ50は、現在の最大Y座標maxYと現在のY座標とを比較する。ステップS105にて、マルチメディアプロセッサ50は、現在の最大Y座標maxYより現在のY座標が大きい場合は、ステップS107に進み、それ以外はステップS109に進む。ステップS107では、マルチメディアプロセッサ50は、最大Y座標maxYに、現在のY座標を代入する。   In step S103, the multimedia processor 50 compares the current maximum Y coordinate maxY with the current Y coordinate. In step S105, the multimedia processor 50 proceeds to step S107 when the current Y coordinate is larger than the current maximum Y coordinate maxY, and proceeds to step S109 otherwise. In step S107, the multimedia processor 50 substitutes the current Y coordinate for the maximum Y coordinate maxY.

ステップS109では、マルチメディアプロセッサ50は、現在の最小X座標minXと現在のX座標とを比較する。ステップS111にて、マルチメディアプロセッサ50は、現在の最小X座標minXより現在のX座標が小さい場合は、ステップS113に進み、それ以外はステップS115に進む。ステップS113では、マルチメディアプロセッサ50は、最小X座標minXに、現在のX座標を代入する。   In step S109, the multimedia processor 50 compares the current minimum X coordinate minX with the current X coordinate. In step S111, the multimedia processor 50 proceeds to step S113 if the current X coordinate is smaller than the current minimum X coordinate minX, and proceeds to step S115 otherwise. In step S113, the multimedia processor 50 substitutes the current X coordinate for the minimum X coordinate minX.

ステップS115では、マルチメディアプロセッサ50は、現在の最大X座標maxXと現在のX座標とを比較する。ステップS117にて、マルチメディアプロセッサ50は、現在の最大X座標maxXより現在のX座標が大きい場合は、ステップS119に進み、それ以外はステップS121に進む。ステップS119では、マルチメディアプロセッサ50は、最大X座標maxXに、現在のX座標を代入する。   In step S115, the multimedia processor 50 compares the current maximum X coordinate maxX with the current X coordinate. In step S117, the multimedia processor 50 proceeds to step S119 if the current X coordinate is larger than the current maximum X coordinate maxX, and proceeds to step S121 otherwise. In step S119, the multimedia processor 50 substitutes the current X coordinate for the maximum X coordinate maxX.

ステップS121では、マルチメディアプロセッサ50は、「X」を1つインクリメントする。ステップS123にて、マルチメディアプロセッサ50は、X=32のときは(つまり、差分画像のピクセル1行分の処理が終了したときは)ステップS125に進み、それ以外はステップS93に進む。   In step S121, the multimedia processor 50 increments “X” by one. In step S123, the multimedia processor 50 proceeds to step S125 when X = 32 (that is, when the processing for one row of pixels of the difference image is completed), and proceeds to step S93 otherwise.

ステップS125では、マルチメディアプロセッサ50は、「X」に「0」を代入する。ステップS127にて、マルチメディアプロセッサ50は、「Y」を1つインクリメントする。ステップS125,S127の処理は、差分画像の1行分の処理が終了したため、次の1行分の処理を進めるために実行される。   In step S125, the multimedia processor 50 substitutes “0” for “X”. In step S127, the multimedia processor 50 increments “Y” by one. The processes in steps S125 and S127 are executed to advance the process for the next line because the process for one line of the difference image has been completed.

ステップS129にて、マルチメディアプロセッサ50は、Y=32のときは(つまり、差分画像の32×32ピクセル分の処理が終了したときは)、ステップS131に進み、それ以外はステップS93に進む。   In step S129, the multimedia processor 50 proceeds to step S131 when Y = 32 (that is, when processing of 32 × 32 pixels of the difference image is completed), and proceeds to step S93 otherwise.

上記ステップS93〜S129を繰り返すことにより、Y=32となった時点で、最小X座標minX、最大X座標maxX、最小Y座標minY、及び最大Y座標maxYが全て確定する。   By repeating the above steps S93 to S129, when Y = 32, the minimum X coordinate minX, the maximum X coordinate maxX, the minimum Y coordinate minY, and the maximum Y coordinate maxY are all determined.

ステップS131では、「maxX」、「maxY」、「minX」及び「minY」が初期値のままであるか否かを判断し、初期値の場合はステップS133に進み、それ以外はリターンする。「maxX」、「maxY」、「minX」及び「minY」の全てが初期値ということは、差分画像の全ピクセルが閾値ThL以下であり、再帰反射シート15L及び15Rが撮影されなかったことを意味する。従って、ステップS133では、マルチメディアプロセッサ50は、撮影された再帰反射シートの数を示すシート数フラグSNに「01」(撮影された再帰反射シートの数が0であることを示す。)を代入する。そして、ステップS135にて、マルチメディアプロセッサ50は、左オープンフラグOL及び右オープンフラグORをオフにして、図11のステップS77に進む。左オープンフラグOL及び右オープンフラグORは、それぞれ、再帰反射シート15L及び15Rが撮影されたことを示すフラグである。   In step S131, it is determined whether or not “maxX”, “maxY”, “minX”, and “minY” remain the initial values. If they are the initial values, the process proceeds to step S133, and otherwise returns. The fact that “maxX”, “maxY”, “minX”, and “minY” are all initial values means that all pixels of the difference image are equal to or less than the threshold ThL, and the retroreflective sheets 15L and 15R are not photographed. To do. Accordingly, in step S133, the multimedia processor 50 substitutes “01” (indicating that the number of photographed retroreflective sheets is zero) in the sheet number flag SN indicating the number of photographed retroreflective sheets. To do. In step S135, the multimedia processor 50 turns off the left open flag OL and the right open flag OR, and proceeds to step S77 in FIG. The left open flag OL and the right open flag OR are flags indicating that the retroreflective sheets 15L and 15R are photographed, respectively.

図11に戻って、ステップS67にて、マルチメディアプロセッサ50は、図6で説明した2点位置(第1抽出点(Xtp[0],Ytp[0])、第2抽出点(Xtp[1],Ytp[1]))の決定処理を実行する。   Returning to FIG. 11, in step S67, the multimedia processor 50 determines the two point positions (first extraction point (Xtp [0], Ytp [0]) and second extraction point (Xtp [1]) described in FIG. ], Ytp [1])) are executed.

図13は、図11のステップS67における2点位置決定処理の流れの一例を示すフローチャートである。図13に示すように、マルチメディアプロセッサ50は、ステップS151にて、「M」に「0」を代入して、ステップS153からステップS185までの処理を繰り返す。ここで、ステップS153に示すように、一回目のループのときは、Ytb=minY、二回目のループのときは、Ytb=maxY、である。ステップS155にて、マルチメディアプロセッサ50は、座標(minX,Ytb)を始点としてスキャンを開始する。   FIG. 13 is a flowchart showing an example of the flow of the two-point position determination process in step S67 of FIG. As shown in FIG. 13, the multimedia processor 50 substitutes “0” for “M” in step S151, and repeats the processing from step S153 to step S185. Here, as shown in step S153, Ytb = minY in the first loop, and Ytb = maxY in the second loop. In step S155, the multimedia processor 50 starts scanning with the coordinates (minX, Ytb) as a starting point.

ステップS157にて、マルチメディアプロセッサ50は、カウント値Clに「0」を代入する。ステップS159にて、マルチメディアプロセッサ50は、差分データDif[X][Y]と閾値ThLとを比較して、差分データが閾値より大きい場合は、ステップS165に進み、それ以外は、ステップS161に進む。ステップS161では、マルチメディアプロセッサ50は、カウント値Clを1つインクリメントする。ステップS163にて、マルチメディアプロセッサ50は、座標Xを1つインクリメントして、ステップS159に進む。   In step S157, the multimedia processor 50 substitutes “0” for the count value Cl. In step S159, the multimedia processor 50 compares the difference data Dif [X] [Y] with the threshold value ThL. If the difference data is larger than the threshold value, the multimedia processor 50 proceeds to step S165. Otherwise, the multimedia processor 50 proceeds to step S161. move on. In step S161, the multimedia processor 50 increments the count value Cl by one. In step S163, the multimedia processor 50 increments the coordinate X by one, and proceeds to step S159.

ステップS159で、Dif[X][Y]>ThLと判断された時点のカウント値Clは、図6の距離LTあるいはLBに相当する。ステップS155で、Ytb=minYのときは、Cl=LTであり、Ytb=maxYのときは、Cl=LBである。   The count value Cl when it is determined in step S159 that Dif [X] [Y]> ThL corresponds to the distance LT or LB in FIG. In step S155, when Ytb = minY, Cl = LT, and when Ytb = maxY, Cl = LB.

ステップS165にて、マルチメディアプロセッサ50は、座標(maxX,Ytb)を始点としてスキャンを開始する。ステップS167にて、マルチメディアプロセッサ50は、カウント値Crに「0」を代入する。ステップS169にて、マルチメディアプロセッサ50は、差分データDif[X][Y]と閾値ThLとを比較して、差分データが閾値より大きい場合は、ステップS175に進み、それ以外は、ステップS171に進む。ステップS171では、マルチメディアプロセッサ50は、カウント値Crを1つインクリメントする。ステップS173にて、マルチメディアプロセッサ50は、座標Xを1つデクリメントして、ステップS169に進む。   In step S165, the multimedia processor 50 starts scanning using the coordinates (maxX, Ytb) as a starting point. In step S167, the multimedia processor 50 substitutes “0” for the count value Cr. In step S169, the multimedia processor 50 compares the difference data Dif [X] [Y] with the threshold value ThL. If the difference data is larger than the threshold value, the multimedia processor 50 proceeds to step S175. Otherwise, the multimedia processor 50 proceeds to step S171. move on. In step S171, the multimedia processor 50 increments the count value Cr by one. In step S173, the multimedia processor 50 decrements the coordinate X by one, and proceeds to step S169.

ステップS169で、Dif[X][Y]>ThLと判断された時点のカウント値Crは、図6の距離RTあるいはRBに相当する。ステップS165で、Ytb=minYのときは、Cr=RTであり、Ytb=maxYのときは、Cr=RBである。   The count value Cr at the time when Dif [X] [Y]> ThL is determined in step S169 corresponds to the distance RT or RB in FIG. In step S165, when Ytb = minY, Cr = RT, and when Ytb = maxY, Cr = RB.

ステップ175では、マルチメディアプロセッサ50は、距離ClとCrとを比較する。ステップS177にて、距離Clが距離Crより大きい場合は、ステップS179に進み、それ以外は、ステップS181に進む。   In step 175, the multimedia processor 50 compares the distances Cl and Cr. If the distance Cl is greater than the distance Cr in step S177, the process proceeds to step S179, and otherwise, the process proceeds to step S181.

ステップS181では、「Xtp[M]」に「minX」を代入するとともに、「Ytp[M]」に「Ytb」を代入する。一方、ステップS179では、「Xtp[M]」に「maxX」を代入するとともに、「Ytp[M]」に「Ytb」を代入する。   In step S181, “minX” is substituted for “Xtp [M]” and “Ytb” is substituted for “Ytp [M]”. On the other hand, in step S179, “maxX” is substituted for “Xtp [M]” and “Ytb” is substituted for “Ytp [M]”.

ここで、座標(Xtp[0],Ytp[0])は、図6で説明した第1抽出点の座標であり、座標(Xtp[1],Ytp[1])は、第2抽出点の座標である。   Here, the coordinates (Xtp [0], Ytp [0]) are the coordinates of the first extraction point described in FIG. 6, and the coordinates (Xtp [1], Ytp [1]) are the coordinates of the second extraction point. Coordinates.

ステップS183では、マルチメディアプロセッサ50は、「M」を1つインクリメントして、ステップS185へ進む。ステップS153からステップS185までのループが終了するとリターンする。   In step S183, the multimedia processor 50 increments “M” by one, and proceeds to step S185. When the loop from step S153 to step S185 ends, the process returns.

図11に戻って、ステップS69にて、マルチメディアプロセッサ50は、第1抽出点及び第2抽出点に左右を割り当てる処理を実行する。   Returning to FIG. 11, in step S69, the multimedia processor 50 executes a process of assigning left and right to the first extraction point and the second extraction point.

図14は、図11のステップS69における左右決定処理の流れの一例を示すフローチャートである。なお、再帰反射シート15Lの位置を左抽出点、再帰反射シート15Rの位置を右抽出点と呼ぶ。   FIG. 14 is a flowchart showing an example of the left / right determination process in step S69 of FIG. The position of the retroreflective sheet 15L is called a left extraction point, and the position of the retroreflective sheet 15R is called a right extraction point.

図14に示すように、ステップS201にて、マルチメディアプロセッサ50は、過去(前回及び前々回)の左抽出点の位置(XL,YL)からの今回の左抽出点の位置(Xnl,Ynl)を予測する。ステップS203にて、マルチメディアプロセッサ50は、過去(前回及び前々回)の右抽出点の位置(XR,YR)からの今回の右抽出点の位置(Xnr,Ynr)を予測する。ここで、左抽出点(Xnl,Ynl)は、図7の予測位置TPLpに相当し、右抽出点の位置(Xnr,Ynr)は、予測位置TPRpに相当する。   As shown in FIG. 14, in step S201, the multimedia processor 50 determines the position (Xnl, Ynl) of the current left extracted point from the position (XL, YL) of the left extracted point in the past (previous and previous). Predict. In step S203, the multimedia processor 50 predicts the position (Xnr, Ynr) of the current right extraction point from the past (previous and previous) right extraction point positions (XR, YR). Here, the left extracted point (Xnl, Ynl) corresponds to the predicted position TPLp in FIG. 7, and the position (Xnr, Ynr) of the right extracted point corresponds to the predicted position TPRp.

ステップS205にて、マルチメディアプロセッサ50は、「M」に「0」を代入する。ステップS207にて、マルチメディアプロセッサ50は、予測位置(Xnl,Ynl)と抽出点(Xtp[M],Ytp[M])との間の距離Dlを算出する。ステップS209にて、マルチメディアプロセッサ50は、予測位置(Xnr,Ynr)と抽出点(Xtp[M],Ytp[M])との間の距離Drを算出する。   In step S205, the multimedia processor 50 substitutes “0” for “M”. In step S207, the multimedia processor 50 calculates a distance Dl between the predicted position (Xnl, Ynl) and the extraction point (Xtp [M], Ytp [M]). In step S209, the multimedia processor 50 calculates a distance Dr between the predicted position (Xnr, Ynr) and the extraction point (Xtp [M], Ytp [M]).

ここで、抽出点(Xtp[0],Ytp[0])は、図13のルーチンで求めた第1抽出点であり、抽出点(Xtp[1],Ytp[1])は、図13のルーチンで求めた第2抽出点である。M=0のときは、距離Dlは、図7の距離LD1に相当し、距離Drは、距離RD1に相当する。M=1のときは、距離Dlは、図7の距離LD2に相当し、距離Drは、距離RD2に相当する。   Here, the extraction points (Xtp [0], Ytp [0]) are the first extraction points obtained by the routine of FIG. 13, and the extraction points (Xtp [1], Ytp [1]) are the same as those in FIG. This is the second extraction point obtained by the routine. When M = 0, the distance Dl corresponds to the distance LD1 in FIG. 7, and the distance Dr corresponds to the distance RD1. When M = 1, the distance Dl corresponds to the distance LD2 in FIG. 7, and the distance Dr corresponds to the distance RD2.

ステップS211にて、マルチメディアプロセッサ50は、距離Dlと距離Drとを比較する。ステップS213にて、マルチメディアプロセッサ50は、Dl>DrならばステップS215に進み、それ以外はステップS217に進む。   In step S211, the multimedia processor 50 compares the distance Dl with the distance Dr. In step S213, the multimedia processor 50 proceeds to step S215 if Dl> Dr, otherwise proceeds to step S217.

ステップS217では、マルチメディアプロセッサ50は、今回の左抽出点の位置(XL,YL)を、座標(Xtp[M],Ytp[M])とする。   In step S217, the multimedia processor 50 sets the position (XL, YL) of the current left extraction point as coordinates (Xtp [M], Ytp [M]).

一方、ステップS215では、マルチメディアプロセッサ50は、今回の右抽出点の位置(XR,YR)を、座標(Xtp[M],Ytp[M])とする。   On the other hand, in step S215, the multimedia processor 50 sets the position (XR, YR) of the current right extraction point as coordinates (Xtp [M], Ytp [M]).

ステップS219では、マルチメディアプロセッサ50は、「M」を1つインクリメントする。ステップS221にて、マルチメディアプロセッサ50は、M=2か否かを判断し、M=2であればリターンし、それ以外はステップS207に進む。   In step S219, the multimedia processor 50 increments “M” by one. In step S221, the multimedia processor 50 determines whether or not M = 2. If M = 2, the process returns, otherwise the process proceeds to step S207.

図11に戻って、ステップS71にて、マルチメディアプロセッサ50は、左抽出点(XL,YL)と右抽出点(XR,YR)との中点(XM,YM)を算出する。   Returning to FIG. 11, in step S71, the multimedia processor 50 calculates the midpoint (XM, YM) between the left extraction point (XL, YL) and the right extraction point (XR, YR).

そして、ステップS73にて、マルチメディアプロセッサ50は、検出した再帰反射シートの数を決定する処理を実行する。   In step S73, the multimedia processor 50 executes processing for determining the number of detected retroreflective sheets.

図15は、図11のステップS73における検出シート数決定処理の流れの一例を示すフローチャートである。図15を参照して、ステップS241にて、マルチメディアプロセッサ50は、左抽出点のY座標YLと右抽出点のY座標YRとを比較する。ステップS243にて、マルチメディアプロセッサ50は、Y座標YLが大きい場合は、ステップS251に進み、それ以外はステップS247に進む。   FIG. 15 is a flowchart showing an example of the detection sheet number determination process in step S73 of FIG. Referring to FIG. 15, in step S241, multimedia processor 50 compares Y coordinate YL of the left extracted point with Y coordinate YR of the right extracted point. In step S243, the multimedia processor 50 proceeds to step S251 if the Y coordinate YL is large, otherwise proceeds to step S247.

ステップS251では、マルチメディアプロセッサ50は、差分画像を、その右上がりの対角線に沿ってスキャンする。一方、ステップS247では、マルチメディアプロセッサ50は、差分画像を、その右下がりの対角線に沿ってスキャンする。   In step S251, the multimedia processor 50 scans the difference image along the diagonal line that rises to the right. On the other hand, in step S247, the multimedia processor 50 scans the difference image along the diagonal line descending to the right.

ステップS253では、マルチメディアプロセッサ50は、ステップS247又はS251でのスキャンの結果、閾値ThL以下のピクセルを検出した場合は、2つの再帰反射シート15L及び15Rが撮影されたとみなして、ステップS255に進み、閾値ThL以下のピクセルを検出しなかった場合は、再帰反射シート15L及び15Rのうちのいずれか一方のみが検出されたとみなして、ステップS259に進む。   In step S253, when the multimedia processor 50 detects a pixel having a threshold value ThL or less as a result of the scan in step S247 or S251, the multimedia processor 50 considers that the two retroreflective sheets 15L and 15R have been photographed, and proceeds to step S255. If no pixel equal to or less than the threshold ThL is detected, it is considered that only one of the retroreflective sheets 15L and 15R has been detected, and the process proceeds to step S259.

ステップS255では、マルチメディアプロセッサ50は、シート数フラグSNに「11」(2つの再帰反射シート15L及び15Rが撮影されたことを示す。)をセットする。そして、ステップS257にて、マルチメディアプロセッサ50は、左オープンフラグOL及び右オープンフラグORをオンする。一方、ステップS259では、マルチメディアプロセッサ50は、シート数フラグSNに「10」(再帰反射シート15L及び15Rのうちのいずれか一方のみが撮影されたことを示す。)をセットする。   In step S255, the multimedia processor 50 sets “11” (indicating that the two retroreflective sheets 15L and 15R have been photographed) to the sheet number flag SN. In step S257, the multimedia processor 50 turns on the left open flag OL and the right open flag OR. On the other hand, in step S259, the multimedia processor 50 sets “10” (indicating that only one of the retroreflective sheets 15L and 15R has been captured) to the sheet number flag SN.

図11に戻って、ステップS75にて、マルチメディアプロセッサ50は、再帰反射シート15L及び15Rのうちのいずれか一方のみが撮影された場合に、どちらが撮影されたかを特定する処理(1点特定処理)を実行する。   Returning to FIG. 11, in step S75, when only one of the retroreflective sheets 15L and 15R is photographed, the multimedia processor 50 identifies which one is photographed (one-point identifying process). ).

図16は、図11のステップS75における一点特定処理の流れの一例を示すフローチャートである。図16を参照して、ステップS271にて、マルチメディアプロセッサ50は、シート数フラグSNが「10」か否か、つまり、再帰反射シート15L及び15Rのうちのいずれか一方のみが撮影されたか否かを判断して、YESの場合、左右どちらの再帰反射シートかを特定するためにステップS273に進み、それ以外はリターンする。   FIG. 16 is a flowchart showing an example of the flow of the one-point specifying process in step S75 of FIG. Referring to FIG. 16, in step S271, the multimedia processor 50 determines whether or not the sheet number flag SN is “10”, that is, only one of the retroreflective sheets 15L and 15R has been photographed. If YES, the process proceeds to step S273 to identify the left or right retroreflective sheet. Otherwise, the process returns.

ステップS273にて、マルチメディアプロセッサ50は、予測位置(Xnl,Ynl)と中点(XM,YM)との間の距離Dlmを算出する。ステップS275にて、マルチメディアプロセッサ50は、予測位置(Xnr,Ynr)と中点(XM,YM)との間の距離Drmを算出する。なお、中点(XM,YM)は、図11のステップS71で求めたものである。また、予測位置(Xnl,Ynl)は、図14のステップS201で求めたものである。予測位置(Xnr,Ynr)は、図14のステップS203で求めたものである。   In step S273, the multimedia processor 50 calculates the distance Dlm between the predicted position (Xnl, Ynl) and the midpoint (XM, YM). In step S275, the multimedia processor 50 calculates a distance Drm between the predicted position (Xnr, Ynr) and the midpoint (XM, YM). The midpoint (XM, YM) is obtained in step S71 of FIG. The predicted position (Xnl, Ynl) is obtained in step S201 in FIG. The predicted position (Xnr, Ynr) is obtained in step S203 in FIG.

ステップS277にて、マルチメディアプロセッサ50は、距離Dlmと距離Drmとを比較する。ステップS279にて、マルチメディアプロセッサ50は、Dlm>DrmならばステップS281に進み、それ以外はステップS285に進む。   In step S277, the multimedia processor 50 compares the distance Dlm with the distance Drm. In step S279, the multimedia processor 50 proceeds to step S281 if Dlm> Drm, otherwise proceeds to step S285.

ステップS281では、マルチメディアプロセッサ50は、今回の左抽出点の位置(XL,YL)を、座標(0,0)とし、今回の右抽出点の位置(XR,YR)を、座標(XM,YM)とする。そして、ステップS283にて、マルチメディアプロセッサ50は、左オープンフラグOLをオフにし、右オープンフラグORをオンにして、リターンする。   In step S281, the multimedia processor 50 sets the position (XL, YL) of the current left extraction point as coordinates (0, 0), and sets the position (XR, YR) of the current right extraction point as coordinates (XM, YM). In step S283, the multimedia processor 50 turns off the left open flag OL, turns on the right open flag OR, and returns.

一方、ステップS285では、マルチメディアプロセッサ50は、今回の左抽出点の位置(XL,YL)を、座標(XM,YM)とし、今回の右抽出点の位置(XR,YR)を、座標(0,0)とする。そして、ステップS287にて、マルチメディアプロセッサ50は、左オープンフラグOLをオンにし、右オープンフラグORをオフにして、リターンする。   On the other hand, in step S285, the multimedia processor 50 sets the current position of the left extracted point (XL, YL) as coordinates (XM, YM) and the current position of the right extracted point (XR, YR) as coordinates (X 0,0). In step S287, the multimedia processor 50 turns on the left open flag OL, turns off the right open flag OR, and returns.

図11に戻って、ステップS77にて、マルチメディアプロセッサ50は、左抽出点(XL,YL)及び右抽出点(XR,YR)をスクリーン座標に変換してリターンする。なお、図12のステップS135に続く場合は、マルチメディアプロセッサ50は、左抽出点(XL,YL)及び右抽出点(XR,YR)をそれぞれ(0,0)として、スクリーン座標に変換する。   Returning to FIG. 11, in step S77, the multimedia processor 50 converts the left extracted point (XL, YL) and the right extracted point (XR, YR) into screen coordinates and returns. In the case of continuing to step S135 in FIG. 12, the multimedia processor 50 converts the left extraction point (XL, YL) and the right extraction point (XR, YR) to (0, 0), respectively, and converts them into screen coordinates.

図17は、図9のステップS25における入力判定処理の流れの一例を示すフローチャートである。図17を参照して、ステップS301にて、マルチメディアプロセッサ50は、レバートリガ及びドラム停止トリガをオフにする。レバートリガは、3つのドラム画像36L,36C及び36Rの全てが停止しており、かつ、レバー画像32が握られた場合にオンになるフラグであり、次のビデオフレームでオフにされる。別の言い方をすれば、レバートリガは、3つのドラム画像36L,36C及び36Rの回転開始を指示するトリガである。ドラム停止トリガは、ドラム画像36L,36C及び36Rの回転中に停止ボタン34L,34C及び34Rが押されて、全てのドラム画像36L,36C及び36Rが停止したことを示すフラグであり、次のビデオフレームでオフにされる。別の言い方をすれば、ドラム停止トリガは、3つのドラム画像36L,36C及び36Rの回転停止を通知するトリガである。なお、ステップS1において、レバートリガ及びドラム停止トリガはオフに初期化される。   FIG. 17 is a flowchart illustrating an example of the flow of the input determination process in step S25 of FIG. Referring to FIG. 17, in step S301, the multimedia processor 50 turns off the lever trigger and the drum stop trigger. The lever trigger is a flag that is turned on when all of the three drum images 36L, 36C, and 36R are stopped and the lever image 32 is grasped, and is turned off in the next video frame. In other words, the lever trigger is a trigger that instructs the start of rotation of the three drum images 36L, 36C, and 36R. The drum stop trigger is a flag indicating that all the drum images 36L, 36C, and 36R are stopped by pressing the stop buttons 34L, 34C, and 34R while the drum images 36L, 36C, and 36R are rotating. Turned off by frame. In other words, the drum stop trigger is a trigger for notifying the rotation stop of the three drum images 36L, 36C, and 36R. In step S1, the lever trigger and drum stop trigger are initialized to off.

ステップS303にて、マルチメディアプロセッサ50は、カーソル30Lに基づいてどのような握り操作が行われたかを判定する。詳細は次の通りである。   In step S303, the multimedia processor 50 determines what kind of gripping operation has been performed based on the cursor 30L. Details are as follows.

ステップS310にて、マルチメディアプロセッサ50は、左オープンフラグOLがオンからオフへ遷移したか否かを判断し、遷移した場合は、プレイヤが左手を握り締めたとみなしてステップS312に進み、それ以外はステップS305に進む。ステップS312では、マルチメディアプロセッサ50は、直前の左抽出点がレバー画像32に重なったか否かを判断し、重なった場合、レバー画像32が握られたとみなしてステップS314に進み、それ以外はステップS318に進む。ステップS314にて、マルチメディアプロセッサ50は、停止中フラグを参照して、全てのドラム画像36L,36C及び36Rが停止中か否かを判断して、全てが停止中の場合ステップS316に進み、それ以外はステップS305に進む。停止中フラグは、3つのドラム画像36L,36C及び36Rの全てが停止している間中オンになるフラグであり、1つでも回転しているときはオフである。なお、停止中フラグはステップS1でオンに初期化される。   In step S310, the multimedia processor 50 determines whether or not the left open flag OL has transitioned from on to off, and if so, proceeds to step S312 on the assumption that the player has clasped the left hand, otherwise Proceed to step S305. In step S312, the multimedia processor 50 determines whether or not the immediately preceding left extracted point overlaps the lever image 32. If it overlaps, the multimedia processor 50 considers that the lever image 32 has been grasped and proceeds to step S314. The process proceeds to S318. In step S314, the multimedia processor 50 refers to the stopped flag to determine whether all the drum images 36L, 36C, and 36R are stopped. If all are stopped, the multimedia processor 50 proceeds to step S316. Otherwise, the process proceeds to step S305. The in-stop flag is a flag that is turned on while all three drum images 36L, 36C, and 36R are stopped, and is off when even one of the drum images 36L, 36R is rotating. Note that the stopping flag is initialized to ON in step S1.

ステップS314で「YES」が判断された後、ステップS316にて、マルチメディアプロセッサ50は、レバートリガをオンにする。そして、ステップS317にて、左停止フラグ、中央停止フラグ、及び右停止フラグをオフにすると共に、停止中フラグをオフにする。左停止フラグ、中央停止フラグ、及び右停止フラグは、それぞれ、左ドラム画像36Lが停止している間中オンになるフラグであり、中央ドラム画像36Cが停止している間中オンになるフラグであり、右ドラム画像36Rが停止している間中オンになるフラグである。これらのフラグは、ステップS1でオンに初期化される。   After “YES” is determined in step S314, in step S316, the multimedia processor 50 turns on the lever trigger. In step S317, the left stop flag, the central stop flag, and the right stop flag are turned off, and the stopped flag is turned off. The left stop flag, the center stop flag, and the right stop flag are flags that are turned on while the left drum image 36L is stopped, and flags that are turned on while the center drum image 36C is stopped. Yes, this flag is turned on while the right drum image 36R is stopped. These flags are initialized to ON in step S1.

ステップS312で「NO」が判断された後、ステップS318では、マルチメディアプロセッサ50は、直前の左抽出点が左停止ボタン34Lに重なったか否かを判断し、重なった場合、左停止ボタン34Lが握られたとみなしてステップS320に進み、それ以外はステップS324に進む。ステップS320にて、マルチメディアプロセッサ50は、左停止フラグを参照して、ドラム画像36Lが回転中か否かを判断して、回転中の場合ステップS322に進み、それ以外はステップS305に進む。ステップS322では、マルチメディアプロセッサ50は、左停止フラグをオンにする。   After “NO” is determined in step S312, in step S318, the multimedia processor 50 determines whether or not the previous left extracted point overlaps the left stop button 34L. If they overlap, the left stop button 34L is The process proceeds to step S320 assuming that the object has been grasped, and the process proceeds to step S324 otherwise. In step S320, the multimedia processor 50 refers to the left stop flag to determine whether or not the drum image 36L is rotating. If it is rotating, the multimedia processor 50 proceeds to step S322. Otherwise, the multimedia processor 50 proceeds to step S305. In step S322, the multimedia processor 50 turns on the left stop flag.

ステップS318で「NO」が判断された後、ステップS324では、マルチメディアプロセッサ50は、直前の左抽出点が中央停止ボタン34Cに重なったか否かを判断し、重なった場合、中央停止ボタン34Cが握られたとみなしてステップS326に進み、それ以外はステップS330に進む。ステップS326にて、マルチメディアプロセッサ50は、中央停止フラグを参照して、ドラム画像36Cが回転中か否かを判断して、回転中の場合ステップS328に進み、それ以外はステップS305に進む。ステップS328では、マルチメディアプロセッサ50は、中央停止フラグをオンにする。   After “NO” is determined in step S318, in step S324, the multimedia processor 50 determines whether or not the immediately preceding left extraction point overlaps the central stop button 34C. The process proceeds to step S326 on the assumption that it has been grasped, and the process proceeds to step S330 otherwise. In step S326, the multimedia processor 50 refers to the central stop flag to determine whether or not the drum image 36C is rotating. If it is rotating, the multimedia processor 50 proceeds to step S328. Otherwise, the multimedia processor 50 proceeds to step S305. In step S328, the multimedia processor 50 turns on the central stop flag.

ステップS324で「NO」が判断された後、ステップS330では、マルチメディアプロセッサ50は、直前の左抽出点が右停止ボタン34Rに重なったか否かを判断し、重なった場合、右停止ボタン34Rが握られたとみなしてステップS332に進み、それ以外はステップS305に進む。ステップS332にて、マルチメディアプロセッサ50は、右停止フラグを参照して、ドラム画像36Rが回転中か否かを判断して、回転中の場合ステップS334に進み、それ以外はステップS305に進む。ステップS334では、マルチメディアプロセッサ50は、右停止フラグをオンにする。   After “NO” is determined in step S324, in step S330, the multimedia processor 50 determines whether or not the previous left extraction point overlaps the right stop button 34R. If they overlap, the right stop button 34R is The process proceeds to step S332 assuming that the object has been grasped, and the process proceeds to step S305 otherwise. In step S332, the multimedia processor 50 refers to the right stop flag, determines whether or not the drum image 36R is rotating, proceeds to step S334 if it is rotating, otherwise proceeds to step S305. In step S334, the multimedia processor 50 turns on the right stop flag.

ステップS317,S322,S328若しくはS334の後、又は、ステップS330若しくはS332で「NO」と判断された後、ステップS305では、マルチメディアプロセッサ50は、カーソル30Rに基づいてどのような握り操作が行われたかを判定する。詳細はステップS303と同様である。ただし、ステップS310では、「左オープンフラグOL」を「右オープンフラグOR」と読み替え、ステップS312,S318,S324及びS330では、「左抽出点」を「右抽出点」と読み替える。   After step S317, S322, S328, or S334, or after “NO” is determined in step S330 or S332, in step S305, the multimedia processor 50 performs any gripping operation based on the cursor 30R. It is determined. Details are the same as in step S303. However, in step S310, “left open flag OL” is read as “right open flag OR”, and in steps S312, S318, S324, and S330, “left extracted point” is read as “right extracted point”.

ステップS341では、マルチメディアプロセッサ50は、停止中フラグがオンか否かを判断し、オンの場合リターンし、オフの場合ステップS342に進む。ステップS342では、マルチメディアプロセッサ50は、左停止フラグ、中央停止フラグ及び右停止フラグの全てがオンか否かを判断し、全てがオンの場合ステップS343に進み、それ以外はリターンする。ステップS343にて、マルチメディアプロセッサ50は、ドラム停止トリガをオンにする。そして、ステップS345にて、マルチメディアプロセッサ50は、停止中フラグをオンにしてリターンする。   In step S341, the multimedia processor 50 determines whether or not the stopping flag is on. If it is on, the multimedia processor 50 returns. If off, the multimedia processor 50 proceeds to step S342. In step S342, the multimedia processor 50 determines whether all of the left stop flag, the center stop flag, and the right stop flag are on. If all are on, the multimedia processor 50 proceeds to step S343, and otherwise returns. In step S343, the multimedia processor 50 turns on the drum stop trigger. In step S345, the multimedia processor 50 turns on the stopping flag and returns.

図18は、図9のステップS26における当り判定処理の流れの一例を示すフローチャートである。図18を参照して、マルチメディアプロセッサ50は、ドラム停止トリガがオンか否かを判断し、オンの場合ステップS352に進み、それ以外はリターンする。ステップS352にて、マルチメディアプロセッサ50は、停止した3つのドラム画像36L,36C及び36Rの中央の3つの図柄の順番及び組合せが、当りに該当するか否かを判定する。ステップS354にて、マルチメディアプロセッサ50は、ステップS352の結果に応じて、当りフラグに値をセットする。当りフラグは当りの種類(はずれを含む。)を示すフラグである。   FIG. 18 is a flowchart showing an example of the flow of the hit determination process in step S26 of FIG. Referring to FIG. 18, multimedia processor 50 determines whether or not the drum stop trigger is on. If it is on, the multimedia processor 50 proceeds to step S352, and otherwise returns. In step S352, the multimedia processor 50 determines whether or not the order and combination of the three symbols at the center of the stopped three drum images 36L, 36C, and 36R are true. In step S354, the multimedia processor 50 sets a value in the hit flag according to the result of step S352. The hit flag is a flag indicating the type of hit (including a gap).

図19は、図9のステップS27における映像制御処理の流れの一例を示すフローチャートである。図19を参照して、ステップS370にて、マルチメディアプロセッサ50は、スクリーン座標に変換された左抽出点(XL,YL)に対応する位置にカーソル30Lの座標を設定し、スクリーン座標に変換された右抽出点(XR,YR)に対応する位置にカーソル30Rの座標を設定する。また、マルチメディアプロセッサ50は、左オープンフラグOLがオンの場合は、手の平を開いた形態のカーソル30Lの画像データを設定し、左オープンフラグOLがオフの場合は、手を握り締めた形態のカーソル30Lの画像データを設定する。さらに、マルチメディアプロセッサ50は、右オープンフラグORがオンの場合は、手の平を開いた形態のカーソル30Rの画像データを設定し、右オープンフラグORがオフの場合は、手を握り締めた形態のカーソル30Rの画像データを設定する。   FIG. 19 is a flowchart illustrating an example of the flow of the video control process in step S27 of FIG. Referring to FIG. 19, in step S370, multimedia processor 50 sets the coordinates of cursor 30L at a position corresponding to the left extracted point (XL, YL) converted to screen coordinates, and is converted to screen coordinates. The coordinates of the cursor 30R are set at a position corresponding to the right extraction point (XR, YR). The multimedia processor 50 sets the image data of the cursor 30L with the palm open when the left open flag OL is on, and the cursor with the hand clasped when the left open flag OL is off. 30L image data is set. Further, the multimedia processor 50 sets the image data of the cursor 30R with the palm open when the right open flag OR is on, and the cursor with the hand clasped when the right open flag OR is off. 30R image data is set.

ステップS372にて、マルチメディアプロセッサ50は、ドラム画像36L,36C及び36Rの回転を制御する。つまり、マルチメディアプロセッサ50は、レバートリガがオンの場合、全てのドラム画像36L,36C及び36Rの回転アニメーションを設定する。また、マルチメディアプロセッサ50は、左停止フラグがオフの場合左ドラム画像36Lを停止する設定を行う。マルチメディアプロセッサ50は、中央停止フラグがオフの場合中央ドラム画像36Cを停止する設定を行う。マルチメディアプロセッサ50は、右停止フラグがオフの場合右ドラム画像36Rを停止する設定を行う。   In step S372, the multimedia processor 50 controls the rotation of the drum images 36L, 36C, and 36R. That is, the multimedia processor 50 sets the rotation animation of all the drum images 36L, 36C, and 36R when the lever trigger is on. In addition, the multimedia processor 50 performs setting to stop the left drum image 36L when the left stop flag is off. The multimedia processor 50 performs setting to stop the central drum image 36C when the central stop flag is off. The multimedia processor 50 performs setting to stop the right drum image 36R when the right stop flag is off.

ステップS374にて、マルチメディアプロセッサ50は、当りフラグ(S354)に設定された値に基づいて、エフェクト画像のアニメーションの設定を行う(例えばコインが飛び散るアニメーション)。そして、ステップS376にて、マルチメディアプロセッサ50は、上記以外の画像を制御(座標や画像データの設定等)する。例えば、この制御の対象となる画像は、背景画像並びに画像38,40等である。   In step S374, the multimedia processor 50 sets an effect image animation based on the value set in the hit flag (S354) (for example, an animation in which coins are scattered). In step S376, the multimedia processor 50 controls images other than those described above (such as setting coordinates and image data). For example, the images to be controlled are the background image and the images 38 and 40.

さて、以上のように、本実施の形態によれば、実ドラム、実レバー及び実ボタンをそれぞれドラム画像36L,36C及び36R、レバー画像32及び停止ボタン34L,34C及び34Rとして映像で提供し、それらの操作は、手の平を開いたり閉じたりすることにより、入力装置3をイメージセンサ54に向けたりイメージセンサ54から隠したりすることにより行うので、実ドラム、実レバー及び実ボタン並びにそれらを駆動する機構が不要になり、故障し難い、省スペース、簡易かつ低コストでスロットマシーンを構成できる。また、非接触で操作が可能なスロットマシーンを提供できる。   As described above, according to the present embodiment, the actual drum, the actual lever, and the actual button are provided as the drum images 36L, 36C, and 36R, the lever image 32, and the stop buttons 34L, 34C, and 34R, respectively. Since these operations are performed by opening or closing the palm to direct the input device 3 to the image sensor 54 or to hide it from the image sensor 54, the actual drum, the actual lever, the actual button, and them are driven. No mechanism is required, it is difficult to break down, and a slot machine can be configured with space saving, simple and low cost. In addition, a slot machine that can be operated without contact can be provided.

また、プレイヤは、手の平を開いた状態でカーソル30を移動し、ターゲットに重ね、そして、手を握り締めて、入力装置3を隠すことにより、ターゲットを操作ないしは変化を与えることができる。従って、プレイヤは、あたかもターゲットを握るかのような操作によって入力を与えることができる。その結果、プレイヤにとって、手の運動にもなるし、また、リハビリテーションのために利用することもできる。   Further, the player can operate or change the target by moving the cursor 30 with the palm open, overlapping the target, and clenching the hand to hide the input device 3. Therefore, the player can give an input by an operation as if holding the target. As a result, it becomes a hand exercise for the player, and can also be used for rehabilitation.

さらに、手の平を開いたり閉じたりするだけでスロットマシーンを駆動できるので、幼児、高齢者、及び身体の不自由な人などでも、簡易にスロットマシーンを楽しむことができる。   Furthermore, since the slot machine can be driven simply by opening or closing the palm, even an infant, an elderly person, a physically handicapped person or the like can easily enjoy the slot machine.

また、本実施の形態では、プレイヤは両手を使用するので、利き手だけでなく、もう一方の手も均等に動かすことになる。その結果、バランス良く両手の運動ないしはリハビリテーションを行うことができる。   In the present embodiment, since the player uses both hands, not only the dominant hand but also the other hand is moved equally. As a result, exercise or rehabilitation of both hands can be performed in a well-balanced manner.

さらに、本実施の形態では、入力装置3の再帰反射シート15が照射された赤外光を再帰反射するので、撮像画像によりはっきりと再帰反射シート15の像が写り込み、再帰反射シート15の検出が容易になる。また、点灯時及び消灯時の差分画像に基づき再帰反射シート15を検出するので、再帰反射シート15からの反射光以外の光によるノイズを極力除去でき、精度良く再帰反射シート15を検出できる。   Further, in the present embodiment, since the infrared light irradiated by the retroreflective sheet 15 of the input device 3 is retroreflected, the image of the retroreflective sheet 15 is clearly reflected in the captured image, and the retroreflective sheet 15 is detected. Becomes easier. Moreover, since the retroreflective sheet 15 is detected based on the difference image at the time of lighting and extinguishing, noise due to light other than the reflected light from the retroreflective sheet 15 can be removed as much as possible, and the retroreflective sheet 15 can be detected with high accuracy.

さらに、本実施の形態では、発光手段として赤外発光ダイオード9を設け、さらに、イメージセンサ54は赤外線フィルタ20を介して赤外光のみに応答する。このように、イメージセンサ54は、赤外光以外の光には応答せず、赤外光以外の光を含む移動光源および点滅光源(蛍光灯など)等のノイズ光源を除去することが可能となる。   Further, in the present embodiment, an infrared light emitting diode 9 is provided as a light emitting means, and the image sensor 54 responds only to infrared light through the infrared filter 20. Thus, the image sensor 54 does not respond to light other than infrared light, and can remove noise light sources such as moving light sources and blinking light sources (fluorescent lamps, etc.) including light other than infrared light. Become.

なお、本考案は、上記の実施の形態に限られるものではなく、その要旨を逸脱しない範囲で種々の態様において実施することが可能であり、例えば、以下のような変形も可能である。   The present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

(1)透明体17の透明には、半透明や有色透明が含まれる。   (1) Transparency of the transparent body 17 includes translucency and colored transparency.

(2)上記では、入力装置3に、中指を通す例を挙げたが、挿入する指及びその数はこれに限定されない。   (2) In the above, an example in which the middle finger is passed through the input device 3 has been described. However, the number of fingers to be inserted and the number thereof are not limited thereto.

(3)入力装置の形状は、上記した入力装置3の形状に限定されない。また、プレイヤが負荷状態で手を動かすことができるように、入力装置の内部に、所定重量の重りを内蔵することもできる。   (3) The shape of the input device is not limited to the shape of the input device 3 described above. Further, a weight having a predetermined weight can be incorporated in the input device so that the player can move his / her hand in a loaded state.

(4)入力装置3に、再帰反射シート15のような反射部材を取り付ける代わりに、赤外発光ダイオードのような自発光装置を取り付けることもできる。この場合は、情報処理装置1には、赤外発光ダイオード9は不要である。また、入力装置を使用せずに、イメージセンサやCCDなどの撮像装置により、被写体(例えば手そのもの)を撮影し、画像解析して、動きを検出することもできる。   (4) Instead of attaching a reflecting member such as the retroreflective sheet 15 to the input device 3, a self-luminous device such as an infrared light emitting diode can be attached. In this case, the information processing apparatus 1 does not require the infrared light emitting diode 9. Further, without using an input device, a subject (for example, a hand itself) can be photographed by an imaging device such as an image sensor or a CCD, and the motion can be detected by analyzing the image.

(5)上記では、撮影状態でカーソル30をターゲットに重ね、さらに、非撮影状態にすることにより、「握る」動作をプレイヤに行わせたが、単に、カーソルをターゲットに重ねるだけの操作を行わせることもできる。   (5) In the above description, the player has performed the “gripping” operation by placing the cursor 30 on the target in the shooting state and then switching to the non-shooting state. However, the player simply performs an operation of placing the cursor on the target. It can also be made.

(6)上記では、両手を使ってプレイを行わせたが、片手ずつプレイを行わせることもできる。   (6) In the above description, play is performed using both hands, but it is also possible to play one hand at a time.

本考案の実施の形態によるスロットマシーンの全体構成を示す図である。It is a figure which shows the whole structure of the slot machine by embodiment of this invention. 図1の入力装置3L及び3Rの斜視図である。It is a perspective view of the input devices 3L and 3R of FIG. 図1の入力装置3L及び3Rの使用状態の一例を示す説明図である。It is explanatory drawing which shows an example of the use condition of the input devices 3L and 3R of FIG. 図1の情報処理装置1の電気的構成を示す図である。It is a figure which shows the electrical constitution of the information processing apparatus 1 of FIG. 図1のテレビジョンモニタ5に表示されるプレイ画面の例示図である。It is an illustration figure of the play screen displayed on the television monitor 5 of FIG. 再帰反射シート15L及び15Rの検出処理の説明図である。It is explanatory drawing of the detection process of the retroreflection sheets 15L and 15R. 左右決定処理の説明図である。It is explanatory drawing of a left-right determination process. 図4のマルチメディアプロセッサ50による全体処理の流れの一例を示すフローチャートである。5 is a flowchart showing an example of the overall processing flow by the multimedia processor 50 of FIG. 4. 図8のステップS3におけるアプリケーションプログラムによる処理の主要部分の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the principal part of the process by the application program in step S3 of FIG. 図9のステップS21における撮影処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the imaging | photography process in FIG.9 S21. 図9のステップS23におけるシート検出処理の流れの一例を示すフローチャートである。10 is a flowchart illustrating an example of a flow of sheet detection processing in step S23 of FIG. 図11のステップS65における左右上下端検出処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a right-and-left upper / lower end detection process in FIG.11 S65. 図11のステップS67における2点位置決定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of 2 point | piece position determination processing in step S67 of FIG. 図11のステップS69における左右決定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the left-right determination process in step S69 of FIG. 図11のステップS73における検出シート数決定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the detection sheet number determination process in step S73 of FIG. 図11のステップS75における一点特定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the one point specific process in step S75 of FIG. 図9のステップS25における操作判定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the operation determination process in FIG.9 S25. 図9のステップS26における当り判定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the hit determination processing in step S26 of FIG. 図9のステップS27における映像制御処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the image | video control process in step S27 of FIG.

符号の説明Explanation of symbols

1…情報処理装置、3,3L,3R…入力装置、5…テレビジョンモニタ、7…AVケーブル、9…赤外発光ダイオード、15,15L,15R…再帰反射シート、50…マルチメディアプロセッサ、52…外部メモリ、54…イメージセンサ、56…バス。 DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 3, 3L, 3R ... Input device, 5 ... Television monitor, 7 ... AV cable, 9 ... Infrared light emitting diode, 15, 15L, 15R ... Retroreflective sheet, 50 ... Multimedia processor, 52 ... external memory, 54 ... image sensor, 56 ... bus.

Claims (7)

プレイヤの手の平に装着される被写体と、
前記被写体を撮像する撮像手段と、
前記撮像手段が撮像した前記被写体の像に基づいて、前記被写体の動きを検出し、検出された前記被写体の動きに連動するカーソル、前記カーソルに基づいて操作される第1の被操作オブジェクト及び第2の被操作オブジェクト、並びに、前記第1の被操作オブジェクト及び前記第2の被操作オブジェクトに基づいて動きが制御される擬似回転画像を表示装置に表示するプロセッサと、を備え、
前記プロセッサは、前記カーソルが前記第1の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、停止した前記擬似回転画像に変化を与え、前記カーソルが前記第2の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、変化中の前記擬似回転画像を停止し、停止した前記擬似回転画像に含まれる図柄に応じて、擬似的な褒賞の供与を行う、スロットマシーン。
A subject worn on the palm of the player,
Imaging means for imaging the subject;
Based on the image of the subject imaged by the imaging means, the movement of the subject is detected, a cursor that is linked to the detected movement of the subject, a first operated object that is operated based on the cursor, and a first Two manipulated objects, and a processor that displays a pseudo-rotation image whose movement is controlled based on the first manipulated object and the second manipulated object on a display device,
The processor gives a change to the stopped pseudo-rotation image when the image of the subject is not obtained immediately after the cursor is overlapped with the first operated object, and the cursor is changed to the second object. If the image of the subject is not obtained immediately after being overlapped with the operated object, the pseudo-rotation image that is being changed is stopped, and a pseudo reward is obtained according to the pattern included in the stopped pseudo-rotation image. Slot machines that donate.
前記擬似回転画像は、各々独立して変化する複数の独立擬似回転画像を含み、前記第2の被操作オブジェクトは、前記複数の独立擬似回転画像に対応する複数の被操作部を含み、
前記プロセッサは、前記カーソルが前記第1の被操作オブジェクトに重なった直後に、前記被写体の像が得られなかった場合に、停止した全ての前記独立擬似回転画像に変化を与え、前記カーソルが前記被操作部に重なった直後に、前記被写体の像が得られなかった場合に、当該被操作部に対応する変化中の前記独立擬似回転画像を停止し、変化中の全ての前記独立擬似回転画像が停止した場合に、全ての前記独立擬似回転画像に含まれる図柄の順番及び組合せに応じて、擬似的な褒賞の供与を行う、請求項1記載のスロットマシーン。
The pseudo-rotation image includes a plurality of independent pseudo-rotation images that change independently, and the second operated object includes a plurality of operated portions corresponding to the plurality of independent pseudo-rotation images,
The processor, when the image of the subject is not obtained immediately after the cursor overlaps the first operated object, gives a change to all the stopped independent pseudo-rotation images, and the cursor is When the image of the subject is not obtained immediately after being overlapped with the operated portion, the changing independent pseudo-rotating image corresponding to the operated portion is stopped, and all the independent pseudo-rotating images being changed are stopped. 2. The slot machine according to claim 1, wherein, in a case where the game stops, a pseudo reward is given according to the order and combination of symbols included in all the independent pseudo-rotation images.
前記擬似的な褒賞は、擬似的なコインである、請求項1又は2記載のスロットマシーン。   The slot machine according to claim 1, wherein the pseudo reward is a pseudo coin. 前記被写体に光を照射する発光手段をさらに備え、
前記被写体は再帰反射部材を含む、請求項1から3のいずれかに記載のスロットマシーン。
A light emitting means for irradiating the subject with light;
The slot machine according to claim 1, wherein the subject includes a retroreflective member.
前記発光手段は、点灯と消灯とを繰り返し、
前記プロセッサは、前記発光手段の点灯時に前記撮像手段により得られた撮像画像と、前記発光手段の消灯時に前記撮像手段により得られた撮像画像と、の差分画像に基づいて、前記被写体の動きを検出する、請求項4記載のスロットマシーン。
The light emitting means repeats turning on and off,
The processor performs movement of the subject based on a difference image between a captured image obtained by the imaging unit when the light emitting unit is turned on and a captured image obtained by the imaging unit when the light emitting unit is turned off. The slot machine according to claim 4, wherein the slot machine is detected.
前記発光手段が発光する光は赤外光であり、
前記撮像手段は赤外光にのみ応答する、請求項4又は5記載のスロットマシーン。
The light emitted by the light emitting means is infrared light,
The slot machine according to claim 4 or 5, wherein the imaging means responds only to infrared light.
前記被写体は、プレイヤの右手の平に装着される第1被写部及び左手の平に装着される第2被写部を含み、
前記カーソルは、前記第1被写部の動きに連動する第1応答画像及び前記第2被写部の動きに連動する第2応答画像を含む、請求項1から6のいずれかに記載のスロットマシーン。
The subject includes a first subject portion mounted on the player's right palm and a second subject portion mounted on the left palm,
The slot according to any one of claims 1 to 6, wherein the cursor includes a first response image that is interlocked with the movement of the first subject portion and a second response image that is interlocked with the motion of the second subject portion. machine.
JP2007005908U 2007-08-01 2007-08-01 Slot machine Expired - Fee Related JP3136549U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007005908U JP3136549U (en) 2007-08-01 2007-08-01 Slot machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007005908U JP3136549U (en) 2007-08-01 2007-08-01 Slot machine

Publications (1)

Publication Number Publication Date
JP3136549U true JP3136549U (en) 2007-11-01

Family

ID=43286975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007005908U Expired - Fee Related JP3136549U (en) 2007-08-01 2007-08-01 Slot machine

Country Status (1)

Country Link
JP (1) JP3136549U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010172418A (en) * 2009-01-28 2010-08-12 Sankyo Co Ltd Game machine
JP2012179418A (en) * 2012-05-25 2012-09-20 Fujishoji Co Ltd Game machine
JP2012183338A (en) * 2012-05-25 2012-09-27 Fujishoji Co Ltd Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010172418A (en) * 2009-01-28 2010-08-12 Sankyo Co Ltd Game machine
JP2012179418A (en) * 2012-05-25 2012-09-20 Fujishoji Co Ltd Game machine
JP2012183338A (en) * 2012-05-25 2012-09-27 Fujishoji Co Ltd Game machine

Similar Documents

Publication Publication Date Title
KR102445364B1 (en) visual aura around the field of view
JP6598617B2 (en) Information processing apparatus, information processing method, and program
JP5522902B2 (en) Information processing program and information processing apparatus
CN107132917B (en) For the hand-type display methods and device in virtual reality scenario
EP1516654A1 (en) Information processor having input system using stroboscope
CN108885533A (en) Combine virtual reality and augmented reality
CN113826058A (en) Artificial reality system with self-tactile virtual keyboard
CN109690447A (en) Information processing method, for making computer execute the program and computer of the information processing method
JP6834614B2 (en) Information processing equipment, information processing methods, and programs
JP2022534639A (en) Artificial Reality System with Finger Mapping Self-Tactile Input Method
TW202105129A (en) Artificial reality systems with personal assistant element for gating user interface elements
KR20160132683A (en) Realistic game content providing system using motion recognition and special effect control technique
JP2016148901A (en) Information processing apparatus, information processing program, information processing system, and information processing method
JP3136549U (en) Slot machine
JP6684746B2 (en) Information processing method, computer and program
JP3138145U (en) Brain training equipment
JP2016148897A (en) Information processing apparatus, information processing program, information processing system, and information processing method
JP5520698B2 (en) GAME DEVICE, GAME PROGRAM, AND GAME SYSTEM
JP6561400B2 (en) Information processing apparatus, information processing program, information processing system, and information processing method
JP2017086542A (en) Image change system, method, and program
JP6603024B2 (en) Information processing program, information processing apparatus, information processing system, and information processing method
JP3138822U (en) Bingo game machine
CN109144598A (en) Electronics mask man-machine interaction method and system based on gesture
JP7116220B2 (en) Application control program, application control method and application control system
JP3132391U (en) Input device

Legal Events

Date Code Title Description
R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101010

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101010

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111010

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees