JP6711556B2 - Amusement machine - Google Patents

Amusement machine Download PDF

Info

Publication number
JP6711556B2
JP6711556B2 JP2015007626A JP2015007626A JP6711556B2 JP 6711556 B2 JP6711556 B2 JP 6711556B2 JP 2015007626 A JP2015007626 A JP 2015007626A JP 2015007626 A JP2015007626 A JP 2015007626A JP 6711556 B2 JP6711556 B2 JP 6711556B2
Authority
JP
Japan
Prior art keywords
medal
image
area
unit
information
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.)
Active
Application number
JP2015007626A
Other languages
Japanese (ja)
Other versions
JP2016131676A (en
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.)
Universal Entertainment Corp
Sammy Corp
Original Assignee
Universal Entertainment Corp
Sammy Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Universal Entertainment Corp, Sammy Corp filed Critical Universal Entertainment Corp
Priority to JP2015007626A priority Critical patent/JP6711556B2/en
Publication of JP2016131676A publication Critical patent/JP2016131676A/en
Application granted granted Critical
Publication of JP6711556B2 publication Critical patent/JP6711556B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、遊技機に関する。 The present invention relates to a gaming machine.

従来、複数の図柄がそれぞれの表面に配された複数のリールと、スタートスイッチと、ストップスイッチと、各リールに対応して設けられたステッピングモータと、制御部とを備えた、パチスロと呼ばれる遊技機が知られている。スタートスイッチは、メダルなどの遊技媒体が遊技機に投入された後、スタートレバーが遊技者により操作されたこと(以下、「開始操作」ともいう)を検出し、全てのリールの回転の開始を要求する信号を出力する。ストップスイッチは、各リールに対応して設けられたストップボタンが遊技者により押されたこと(以下、「停止操作」ともいう)を検出し、該当するリールの回転の停止を要求する信号を出力する。ステッピングモータは、その駆動力を対応するリールに伝達する。また、制御部は、スタートスイッチ及びストップスイッチにより出力された信号に基づいて、ステッピングモータの動作を制御し、各リールの回転動作及び停止動作を行う。 Conventionally, a game called a pachi-slot provided with a plurality of reels on each surface of which a plurality of symbols are arranged, a start switch, a stop switch, a stepping motor provided corresponding to each reel, and a control unit. The machine is known. The start switch detects that the start lever has been operated by the player (hereinafter, also referred to as "start operation") after a game medium such as a medal has been inserted into the game machine, and starts the rotation of all reels. Output the requested signal. The stop switch detects that the stop button provided corresponding to each reel is pressed by the player (hereinafter, also referred to as "stop operation"), and outputs a signal requesting stop of rotation of the corresponding reel. To do. The stepping motor transmits the driving force to the corresponding reel. In addition, the control unit controls the operation of the stepping motor based on the signals output by the start switch and the stop switch, and performs the rotation operation and the stop operation of each reel.

このような遊技機では、開始操作が検出されると、プログラム上で乱数を用いた抽籤処理(以下、「内部抽籤処理」という)が行われ、その抽籤の結果(以下、「内部当籤役」という)と停止操作のタイミングとに基づいてリールの回転の停止を行う。そして、全てのリールの回転が停止され、入賞の成立に係る図柄の組合せが表示されると、その図柄の組合せに対応する特典が遊技者に付与される。 In such a gaming machine, when a start operation is detected, a lottery process using random numbers on the program (hereinafter referred to as “internal lottery process”) is performed, and the result of the lottery (hereinafter referred to as “internal winning combination”). ") and the timing of the stop operation, the rotation of the reel is stopped. Then, when the rotation of all reels is stopped and the combination of symbols relating to the establishment of the winning is displayed, the privilege corresponding to the combination of symbols is awarded to the player.

また、このような遊技機には、メダル投入口の先に投入されたメダルを検知するためのメダルセレクタが設けられている。また、このメダルセレクタに対しては、メダル投入口に適正なメダル(正規メダル)でないメダル(不正メダル)を投入したり、器具をメダル投入口に挿入したりして、遊技機に正規メダルが投入されたと誤認させて遊技が行われる不正行為に対する対策がとられている。 In addition, such a gaming machine is provided with a medal selector for detecting a medal inserted at the tip of the medal insertion slot. In addition, for this medal selector, a medal (illegal medal) that is not a proper medal (regular medal) is inserted into the medal insertion slot, or a device is inserted into the medal insertion slot, and the regular medal appears Measures have been taken against fraudulent activity in which a game is played by misidentifying that it has been thrown.

例えば、特許文献1には、メダル通路に2個のメダル検知用の近接センサを設け、各近接センサの出力に基づいてメダル通路を遊技用のメダルが通過したかどうかを判断することで、板状体のような器具が用いられた不正行為を検知するスロットマシンが記載されている。 For example, in Patent Document 1, two medal detection proximity sensors are provided in the medal passage, and it is determined whether or not a gaming medal has passed through the medal passage based on the output of each proximity sensor. A slot machine for detecting fraudulent activity using a device such as a shape is described.

特開2002−342814号公報JP 2002-342814 A

しかしながら、特許文献1に記載されたスロットマシンでは、板状体以外の様々な形状の不正行為用器具をメダル投入口に挿入してメダルセレクタの計数機能を不正に動作させることで、メダルを投入しているように見せかけて多数のクレジットを得る不正行為や、不正メダルを用いて行われる不正行為を検知することができない。 However, in the slot machine described in Patent Document 1, various types of fraudulent devices other than the plate-shaped body are inserted into the medal insertion slot to illegally operate the counting function of the medal selector to insert a medal. It is not possible to detect fraudulent acts that appear to be doing and obtain a large number of credits, or fraudulent acts performed using fraudulent medals.

例えば、このスロットマシンが設置されるホールで貸し出される貸出単価が1枚20円のメダルと1枚5円のメダルとが同径で色や刻印(模様)のみ異なる場合、このスロットマシンでは、これらを判別することができず、低賭け遊技機(いわゆる、5スロ)で取得したメダルを通常の遊技機(いわゆる、20スロ)で使用するといった不正遊技を行う者がいるために、遊技店で被害が発生している。 For example, if a medal with a unit price of 20 yen and a medal with a cost of 5 yen that are rented out in the hall where this slot machine is installed have the same diameter but differ only in color and marking (pattern), There is a person who can not discriminate and uses an illegal game such as using a medal acquired with a low bet gaming machine (so-called 5 slot) with an ordinary gaming machine (so-called 20 slot), so Damage is occurring.

また、特許文献1に記載されたスロットマシンでは、遊技機が設置されているホールで貸し出されたメダルと、別のホールで貸し出されたメダルや中古機販売店で購入した遊技機に附属しているメダル、または、偽造メダル(メダルに見せかけた器具を含む)等とが同径で色や刻印(模様)のみ異なる場合、これらを判別することができない。このため、正規メダル以外のメダル(不正メダル)を用いて遊技を行う不正行為を検知(検出)することが困難だった。 In addition, in the slot machine described in Patent Document 1, a medal lent out in a hall in which a gaming machine is installed, a medal lent out in another hall, and a gaming machine purchased at a used machine store are attached. If a medal that is present or a counterfeit medal (including a device that looks like a medal) and the like has the same diameter but only the color or the marking (pattern), these cannot be distinguished. Therefore, it is difficult to detect (detect) an illegal act of playing a game using a medal (illegal medal) other than the regular medal.

したがって、特許文献1に記載されたスロットマシンのような、通常のセンサを用いた従来技術での不正判定では、上述した様々な不正行為に対応できず、その効果は限定的なものとなっている。 Therefore, the fraud determination according to the conventional technique using a normal sensor such as the slot machine described in Patent Document 1 cannot deal with the various fraudulent acts described above, and the effect thereof is limited. There is.

本発明は、上記課題を解決するためになされたものであり、本発明の目的は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為を検知することができる遊技機を提供することにある。 The present invention has been made to solve the above problems, and an object of the present invention is to make it possible to detect a fraudulent act of playing a game by misidentifying that a legitimate game medium is used in a gaming machine. Providing a gaming machine.

本発明の第1の実施態様に係る発明は、下記の構成を有する。
遊技媒体(例えば、メダル)を投入する投入口(例えば、メダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、カメラユニット209を含むメダルセレクタ201)と、
前記遊技媒体検出手段による前記遊技媒体の検出に基づいて、遊技者による開始操作を検出する開始操作検出手段(例えば、スタートレバー23の操作を検出するスタートスイッチ79)と、
前記開始操作検出手段による開始操作の検出に基づいて、予め定められた確率で内部当籤役を決定する内部当籤役決定手段(例えば、内部抽籤処理を行う主制御回路91)と、
前記開始操作検出手段による開始操作の検出に基づいて、遊技に必要な図柄を、複数の表示列(例えば、リール表示窓4に表示されるリール3L、3C、3R)によって構成される表示手段において変動表示するよう制御する変動表示制御手段(例えば、各リールに対応して設けられたステッピングモータ)と、
前記遊技者による停止操作の検出を行う停止操作検出手段(例えば、各ストップボタン19L、19C、19Rが遊技者により押されたことを検出するストップスイッチ)と、
前記内部当籤役決定手段の決定結果と前記停止操作検出手段による停止操作の検出とに基づいて、前記図柄の変動表示を停止させる停止制御手段(例えば、リール停止制御を行う主制御回路91)と、
前記複数の表示列における前記変動表示の停止により、前記複数の表示列に亘って延びる入賞判定ラインに沿って表示された図柄組合せに基づいて、所定の特典(例えば、メダルの払い出し)を付与する特典付与手段(例えば、主制御回路91)と、を備える遊技機であって、
前記遊技媒体検出手段は、
前記遊技媒体が通過する通路となる遊技媒体通過部(例えば、メダルレール210)と、
前記通路を通過する通過物体の、光が照射された表面を撮像する撮像手段(例えば、CMOSイメージセンサ232を含む手段)と、
前記撮像手段を介して得られた画像データ(例えば、変換部263によって変換された画像データ)に基づいた画像処理を行うことにより、前記遊技媒体が正規のものであるか否かを判定する判定処理を実行する遊技媒体判定手段(例えば、制御LSI234)と、を含み、
前記遊技媒体判定手段は、
画像処理制御専用のLSIとして構成され、
当該遊技媒体判定手段の稼働状況に応じて、所定の遊技媒体についての前記判定処理の少なくとも一部を行わないよう制御する構成となっている。
The invention according to the first embodiment of the present invention has the following configuration.
An insertion slot (for example, a medal insertion slot 21) for inserting a game medium (for example, a medal),
A game medium detecting means (for example, a medal selector 201 including a camera unit 209) for detecting the game medium inserted from the slot,
Start operation detecting means (for example, a start switch 79 for detecting operation of the start lever 23) for detecting a start operation by the player based on the detection of the game medium by the game medium detecting means,
Based on the detection of the start operation by the start operation detection means, an internal winning combination determination means for determining an internal winning combination with a predetermined probability (for example, a main control circuit 91 for performing an internal lottery process),
Based on the detection of the start operation by the start operation detection means, the symbols required for the game are displayed on the display means constituted by a plurality of display columns (for example, reels 3L, 3C, 3R displayed in the reel display window 4). A variable display control means (for example, a stepping motor provided corresponding to each reel) for controlling to display a variable display,
Stop operation detecting means for detecting the stop operation by the player (for example, a stop switch for detecting that each stop button 19L, 19C, 19R is pressed by the player),
Based on the determination result of the internal winning combination determination means and the detection of the stop operation by the stop operation detection means, a stop control means for stopping the variable display of the symbols (for example, a main control circuit 91 for performing reel stop control), ,
By stopping the variable display in the plurality of display columns, a predetermined privilege (for example, payout of medals) is given based on the symbol combination displayed along the winning determination line extending over the plurality of display columns. A gaming machine including a privilege granting means (for example, a main control circuit 91),
The game medium detection means,
A game medium passing portion (for example, a medal rail 210) which is a passage through which the game medium passes,
An image pickup means (for example, a means including a CMOS image sensor 232) for picking up an image of a surface of the passing object passing through the passage, the surface being irradiated with light;
Determination of whether or not the game medium is a proper one by performing image processing based on image data (for example, image data converted by the conversion unit 263) obtained via the image pickup means. And a game medium determining means (for example, control LSI 234) that executes a process ,
The game medium determination means,
Configured as an LSI dedicated to image processing control,
According to the operating status of the game medium determination means, at least a part of the determination process for a predetermined game medium is controlled not to be performed.

本発明のこのような構成によって、撮像手段において取得された画像データを利用して、正規メダル判別処理を実行することができる。撮像画像に基づいて行われる画像変換や画像認識の各処理により、メダル等の判定が可能となるため、メダル等の模様の相違を判定することができる。また、遊技媒体判定手段は、画像処理制御専用のLSIとして構成されるため、製造コストを効果的に抑制することができる。さらに、遊技媒体判定手段が、ASIC等のようなパッケージ化された状態で提供されるため、外部からの不正行為(例えば、正規メダル判別処理を無効化させたり、正規メダル判別処理の処理ロジックを窃取しようとしたりする行為)を阻止することができ、セキュリティー面でも顕著な利点を有している。 With such a configuration of the present invention, it is possible to execute the regular medal determination process using the image data acquired by the image pickup means. Since it is possible to determine a medal or the like by each processing of image conversion and image recognition performed based on the captured image, it is possible to determine the difference in the pattern of the medal or the like. Further, since the game medium determining means is configured as an LSI dedicated to image processing control, the manufacturing cost can be effectively suppressed. Furthermore, since the game medium determination means is provided in a packaged state such as an ASIC, a fraudulent act from the outside (for example, invalidating the regular medal discrimination process or a process logic of the regular medal discrimination process is executed). or trying to steal act) it is possible to prevent, even in the security aspects that have a significant advantage.

本発明によれば、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為を検知することができる。 According to the present invention, it is possible to misidentify that a legitimate game medium is used in a gaming machine and detect a fraudulent act of playing a game.

本発明の第1実施形態の遊技機における機能フローを説明する説明図である。It is explanatory drawing explaining the function flow in the game machine of 1st Embodiment of this invention. 本発明の第1実施形態の遊技機における外観構成例を示す斜視図である。It is a perspective view showing an example of appearance composition in a game machine of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機における内部構造を示すものであり、ミドルドアを閉じた状態の斜視図である。FIG. 3 is a perspective view showing an internal structure of the gaming machine of the first embodiment of the present invention, with a middle door closed. 本発明の第1実施形態の遊技機における内部構造を示すものであり、ミドルドアを開けた状態の斜視図である。It is a perspective view showing an internal structure in the game machine of a 1st embodiment of the present invention, and showing the state where the middle door was opened. 本発明の第1実施形態の遊技機におけるキャビネットの内部を示す説明図である。It is explanatory drawing which shows the inside of the cabinet in the game machine of 1st Embodiment of this invention. 本発明の第1実施形態の遊技機におけるフロントドアの裏面側を示す説明図である。It is explanatory drawing which shows the back surface side of the front door in the game machine of 1st Embodiment of this invention. 本発明の第1実施形態の遊技機におけるメダルセレクタを遊技機の斜め後方から見た斜視図である。It is the perspective view which looked at the medal selector in the game machine of a 1st embodiment of the present invention from the slanting back of the game machine. 本発明の第1実施形態の遊技機におけるメダルセレクタの分解図である。It is an exploded view of a medal selector in the gaming machine of the first embodiment of the present invention. 本発明の第1実施形態の遊技機におけるメダルセレクタを遊技機の斜め前方から見た斜視図である。It is the perspective view which looked at the medal selector in the game machine of a 1st embodiment of the present invention from the slanting front of a game machine. 本発明の第1実施形態の遊技機におけるメダルセレクタのセレクトプレートの斜視図である。It is a perspective view of a select plate of the medal selector in the gaming machine of the first embodiment of the present invention. 発明の第1実施形態の遊技機におけるメダルセレクタがメダルをホッパー装置へ案内する場合のメダルの経路を示す図である。It is a figure which shows the path|route of the medal when the medal selector in the game machine of 1st Embodiment of invention invention guides a medal to a hopper apparatus. 発明の第1実施形態の遊技機におけるメダルセレクタがメダルをメダルシュートに案内する場合のメダルの経路を示す図である。It is a figure which shows the path|route of the medal when the medal selector in the game machine of 1st Embodiment of this invention guides a medal to a medal shoot. 本発明の第1実施形態の遊技機における制御系を示すブロック図である。It is a block diagram showing a control system in the game machine of the first embodiment of the present invention. 本発明の第1実施形態の遊技機における主制御回路の構成例を示すブロック図である。It is a block diagram showing an example of composition of a main control circuit in a game machine of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機における副制御回路の構成例を示すブロック図である。It is a block diagram showing an example of composition of a sub control circuit in a game machine of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram showing a circuit configuration example of a medal selector in the gaming machine of the first embodiment of the present invention. 本発明の第1実施形態の遊技機における制御LSIの回路構成例を示すブロック図である。It is a block diagram showing an example of circuit composition of control LSI in a game machine of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機におけるカメラユニットの機能ブロック図である。It is a functional block diagram of a camera unit in the game machine of the first embodiment of the present invention. 本発明の第1実施形態の遊技機に用いられる正規メダルの一例を示す図であり、Aは正規メダルの一方の面を示し、Bは正規メダルの画像データを示す図である。It is a figure showing an example of a regular medal used for a game machine of a 1st embodiment of the present invention, A shows one side of a regular medal, and B is a figure showing image data of a regular medal. 本発明の第1実施形態の遊技機に用いられる正規メダルに関する勾配平均画像データの生成(合成)について説明するための図である。FIG. 9 is a diagram for explaining generation (combination) of gradient average image data regarding regular medals used in the gaming machine of the first embodiment of the present invention. 本発明の第1実施形態の遊技機における制御LSIの正規メダル判別処理を説明するための図である。It is a diagram for explaining a regular medal determination process of the control LSI in the gaming machine of the first embodiment of the present invention. 不正メダルの一方の面と不正メダルの画像データの例を示す図である。It is a figure which shows the one side of an illegal medal, and the example of the image data of an illegal medal. 不正メダル一方の面、不正メダルの画像データ、及び不正メダルの勾配平均画像データの例を示す図である。It is a figure which shows the one side of an illegal medal, the image data of an illegal medal, and the gradient average image data of an illegal medal. 本発明の第2実施形態の遊技機におけるカメラユニットの機能ブロック図である。It is a functional block diagram of a camera unit in the game machine of the second embodiment of the present invention. 本発明の第2実施形態の遊技機における撮像画像の一例を模式的に示す図である。It is a figure which shows typically an example of the captured image in the game machine of 2nd Embodiment of this invention. 特徴画像生成部の構成をより詳細に示す機能ブロック図である。It is a functional block diagram which shows the structure of a characteristic image generation part in more detail. メダル領域の一例を模式的に示す図である。It is a figure which shows an example of a medal area typically. 背景画像の一例を模式的に示す図である。It is a figure which shows an example of a background image typically. 背景差分画像の一例を模式的に示す図である。It is a figure which shows an example of a background difference image typically. 外形テンプレートの一例を模式的に示す図である。It is a figure which shows an example of an outline template typically. テンプレートマッチングを説明するための図である。It is a figure for demonstrating template matching. メダル領域の抽出処理を説明するための図である。It is a figure for explaining the extraction processing of the medal area. エッジ画像の一例を模式的に示す図である。It is a figure which shows an example of an edge image typically. 回転合成画像の生成方法を説明するための図である。It is a figure for explaining a generating method of a rotation synthetic picture. テンプレート特徴画像の生成方法を説明するための図である。It is a figure for demonstrating the generation method of a template characteristic image. 特徴画像の生成方法を説明するための図である。It is a figure for explaining a generating method of a feature image. 特徴画像の生成方法を説明するための図である。It is a figure for explaining a generating method of a feature image. 特徴画像の生成方法を説明するための図である。It is a figure for explaining a generating method of a feature image. 特徴画像の生成方法を説明するための図である。It is a figure for explaining a generating method of a feature image. 本発明の第3実施形態の遊技機におけるカメラユニットの機能ブロック図である。It is a functional block diagram of a camera unit in a game machine of a third embodiment of the present invention. 本発明の第3実施形態の遊技機における撮像画像の一例を模式的に示す図である。It is a figure which shows typically an example of the captured image in the game machine of 3rd Embodiment of this invention. メダル領域の一例を模式的に示す図である。It is a figure which shows an example of a medal area typically. 背景画像の一例を模式的に示す図である。It is a figure which shows an example of a background image typically. 背景差分画像の一例を模式的に示す図である。It is a figure which shows an example of a background difference image typically. 外形テンプレートの一例を模式的に示す図である。It is a figure which shows an example of an outline template typically. テンプレートマッチングを説明するための図である。It is a figure for demonstrating template matching. メダル領域の抽出処理を説明するための図である。It is a figure for explaining the extraction processing of the medal area. メダル領域において特定される局所領域の一例を模式的に示す図である。It is a figure which shows typically an example of the local area|region specified in the medal area|region. 局所領域に対してフィッティングされる楕円の一例を示す図である。It is a figure which shows an example of an ellipse fitted with respect to a local region. 回転楕円の一例を示す図である。It is a figure which shows an example of a spheroid. 判定部の動作を示すフローチャートである。It is a flow chart which shows operation of a judgment part. 回転楕円と標準楕円とが類似する様子を示す図である。It is a figure which shows a mode that a rotation ellipse and a standard ellipse are similar. 回転楕円の位置を取得する方法を説明するための図である。It is a figure for demonstrating the method of acquiring the position of a spheroid. 局所領域にフィッティングされる標準楕円の一例を示す図である。It is a figure which shows an example of the standard ellipse fitted to a local region. 局所領域にフィッティングされる対象楕円の一例を示す図である。It is a figure which shows an example of the target ellipse fitted to a local region. メダル領域が同心円状に分割される様子を示す図である。It is a figure which shows a mode that a medal area|region is concentrically divided. 局所領域が複数の分割領域に分割される様子を示す図である。It is a figure which shows a mode that a local area|region is divided|segmented into a some division area. 局所領域が複数の分割領域に分割される様子を示す図である。It is a figure which shows a mode that a local area|region is divided|segmented into a some division area. 局所領域の複数の分割領域に対して複数の楕円がそれぞれフィッティングされる様子を示す図である。It is a figure which shows a mode that a some ellipse is each fitted with respect to the some division area of a local area. 局所領域の複数の分割領域に対して複数の楕円がそれぞれフィッティングされる様子を示す図である。It is a figure which shows a mode that a some ellipse is each fitted with respect to the some division area of a local area. 本発明の第4実施形態の遊技機におけるカメラユニットの機能ブロック図である。It is a functional block diagram of a camera unit in a game machine of a fourth embodiment of the present invention. 本発明の第4実施形態の遊技機における撮像画像の一例を模式的に示す図である。It is a figure which shows typically an example of the captured image in the game machine of 4th Embodiment of this invention. メダル領域の一例を模式的に示す図である。It is a figure which shows an example of a medal area typically. 背景画像の一例を模式的に示す図である。It is a figure which shows an example of a background image typically. 背景差分画像の一例を模式的に示す図である。It is a figure which shows an example of a background difference image typically. 外形テンプレートの一例を模式的に示す図である。It is a figure which shows an example of an outline template typically. テンプレートマッチングを説明するための図である。It is a figure for demonstrating template matching. メダル領域の抽出処理を説明するための図である。It is a figure for explaining the extraction processing of the medal area. 領域分割部の動作を示すフローチャートである。It is a flowchart which shows operation|movement of a area|region division part. メダル領域での輝度ヒストグラムの一例と輝度ヒストグラムのエントロピーを求める式を示す図である。It is a figure which shows an example which calculates|requires an example of the brightness|luminance histogram in a medal area, and the entropy of a brightness|luminance histogram. メダル領域が分割される様子を示す図である。It is a figure which shows a mode that a medal area|region is divided. 分割領域がさらに分割される様子と輝度ヒストグラムのエントロピーを求める式を示す図である。It is a figure which shows a mode that a division area is further divided, and a formula which calculates entropy of a brightness histogram. 領域分割部で生成される複数の一様分割領域の一例を示す図である。It is a figure which shows an example of the some uniform division area produced|generated by the area division part. 大きさ情報及び距離情報の2次元ヒストグラムの一例を示す図である。It is a figure which shows an example of the two-dimensional histogram of size information and distance information. 大きさ情報の1次元ヒストグラムの一例を示す図である。It is a figure which shows an example of the one-dimensional histogram of size information. メダルの回転角度が互いに異なる複数のメダル領域を示す図である。It is a figure which shows the some medal area|region from which the rotation angle of a medal differs mutually. メダル領域の中心と、当該メダル領域に映るメダルの中心とがずれている様子を示す図である。It is a figure which shows a mode that the center of the medal area and the center of the medal reflected in the medal area have shifted. 標準特徴量が取得されるメダル領域を示す図である。It is a figure which shows the medal area|region where a standard feature-value is acquired. 第1判定評価値と第2判定評価値の関係を示す図である。It is a figure which shows the relationship of a 1st judgment evaluation value and a 2nd judgment evaluation value.

<<第1実施形態>>
以下、本発明の第1実施形態に係る遊技機であるパチスロについて、図1〜図23を参照しながら説明する。
<<First Embodiment>>
Hereinafter, the pachi-slot which is the gaming machine according to the first embodiment of the present invention will be described with reference to FIGS. 1 to 23.

<機能フロー>
まず、図1を参照して、パチスロの機能フローについて説明する。本実施の形態のパチスロでは、遊技を行うための遊技媒体としてメダルを用いる。なお、本発明のすべての実施形態は、パチスロ機に限定して適用されるものではなく、パチスロ以外の他の遊技機(例えば、パチンコ機等)に適用することができる。また、遊技媒体としては、メダル以外にも、コイン、遊技球、遊技用のポイントデータまたはトークン等を対象とすることもできる。
<Function flow>
First, the functional flow of the pachi-slot will be described with reference to FIG. In the pachi-slot of the present embodiment, medals are used as a game medium for playing a game. It should be noted that all the embodiments of the present invention are not limited to pachi-slot machines, but can be applied to other gaming machines other than pachi-slot machines (for example, pachinko machines). In addition to medals, coins, game balls, game point data, tokens, etc. can be used as the game medium.

遊技の開始時において、遊技者によりメダルが投入され、スタートレバーが操作されると、予め定められた数値の範囲(例えば、0〜65535)の乱数から1つの値(以下、乱数値)が抽出される。 At the start of the game, when the player inserts a medal and operates the start lever, one value (hereinafter, a random number value) is extracted from a random number in a predetermined numerical value range (for example, 0 to 65535). To be done.

内部抽籤手段は、抽出された乱数値に基づいて抽籤を行い、内部当籤役を決定する。この内部抽籤手段は、後述する主制御回路が担う。内部当籤役の決定により、後述の入賞判定ラインに沿って表示を行うことを許可する図柄の組合せが決定される。なお、図柄の組合せの種別としては、メダルの払い出し、再遊技の作動、ボーナスの作動等といった特典が遊技者に与えられる「入賞」に係るものと、それ以外のいわゆる「ハズレ」に係るものとが設けられている。 The internal lottery means performs lottery based on the extracted random number value and determines an internal winning combination. This internal lottery means is carried out by the main control circuit described later. By the determination of the internal winning combination, the combination of symbols that is allowed to be displayed along the winning determination line described below is determined. The types of symbol combinations include those related to "winning", in which benefits such as payout of medals, operation of re-game, operation of bonus, etc. are given to the player, and those related to other so-called "miss". Is provided.

また、スタートレバーが操作されると、複数のリールの回転が行われる。その後、遊技者により所定のリールに対応するストップボタンが押されると、リール停止制御手段は、内部当籤役とストップボタンが押されたタイミングとに基づいて、該当するリールの回転を停止する制御を行う。このリール停止制御手段は、後述する主制御回路が担う。 Further, when the start lever is operated, the plurality of reels are rotated. After that, when the player presses the stop button corresponding to the predetermined reel, the reel stop control means controls the rotation of the corresponding reel based on the internal winning combination and the timing at which the stop button is pressed. To do. The reel stop control means is carried out by a main control circuit described later.

パチスロでは、基本的に、ストップボタンが押されたときから規定時間(190msecまたは75msec)内に、該当するリールの回転を停止する制御が行われる。本実施形態では、この規定時間内にリールの回転に伴って移動する図柄の数を「滑り駒数」と呼ぶ。規定期間が190msecである場合には、滑り駒数の最大数を図柄4個分に定め、規定期間が75msecである場合には、滑り駒数の最大数を図柄1個分に定める。 In the pachi-slot, basically, control is performed to stop the rotation of the corresponding reel within a specified time (190 msec or 75 msec) from when the stop button is pressed. In the present embodiment, the number of symbols that move with the rotation of the reel within this specified time is referred to as the “number of sliding pieces”. When the specified period is 190 msec, the maximum number of sliding pieces is set to 4 symbols, and when the specified period is 75 msec, the maximum number of sliding pieces is set to 1 symbol.

リール停止制御手段は、入賞に係る図柄の組合せ表示を許可する内部当籤役が決定されているときは、通常、190msec(図柄4コマ分)の規定時間内に、その図柄の組合せが入賞判定ラインに沿って極力表示されるようにリールの回転を停止させる。また、リール停止制御手段は、例えば、第2種特別役物であるチャレンジボーナス(CB)及びCBを連続して作動させるミドルボーナス(MB)の動作時には、1つ以上のリールに対して、規定時間75msec(図柄1コマ分)内に、その図柄の組合せが入賞判定ラインに沿って極力表示されるようにリールの回転を停止させる。さらに、リール停止制御手段は、遊技状態に対応する各種規定時間を利用して、内部当籤役によってその表示が許可されていない図柄の組合せが入賞判定ラインに沿って表示されないようにリールの回転を停止させる。 The reel stop control means, when the internal winning combination permitting the combination display of the symbols relating to the winning is determined, the combination of the symbols is usually within the prescribed time of 190 msec (4 symbols), and the winning combination is the winning determination line. Stop the rotation of the reel so that it is displayed along with as much as possible. Further, the reel stop control means defines, for example, one or more reels at the time of the operation of the challenge bonus (CB) and the middle bonus (MB) of continuously operating the second type special accessory. Within 75 msec (one frame of the symbol), the rotation of the reel is stopped so that the symbol combination is displayed as much as possible along the winning determination line. Furthermore, the reel stop control means uses various prescribed times corresponding to the gaming state to rotate the reels so that a combination of symbols not allowed to be displayed by the internal winning combination is not displayed along the winning determination line. Stop.

こうして、複数のリールの回転がすべて停止されると、入賞判定手段は、入賞判定ラインに沿って表示された図柄の組合せが、入賞に係るものであるか否かの判定を行う。この入賞判定手段は、後述する主制御回路が担う。入賞判定手段により入賞に係るものであるとの判定が行われると、メダルの払い出し等の特典が遊技者に与えられる。パチスロでは、以上のような一連の流れが1回の遊技として行われる。 In this way, when the rotation of the plurality of reels is all stopped, the winning determination means determines whether or not the symbol combination displayed along the winning determination line is related to winning. This winning determination means is carried out by the main control circuit described later. When it is determined by the prize determination means that the game is related to a prize, a bonus such as payout of medals is given to the player. In the pachi-slot, the above-described series of flows is performed as one game.

また、パチスロでは、前述した一連の流れの中で、液晶表示装置などの表示装置により行う映像の表示、各種ランプにより行う光の出力、スピーカにより行う音の出力、或いはこれらの組合せを利用して様々な演出が行われる。 Further, in the pachi-slot, in the above-described series of flows, the image display performed by the display device such as a liquid crystal display device, the light output performed by various lamps, the sound output performed by the speaker, or a combination thereof is used. Various performances are performed.

スタートレバーが操作されると、上述した内部当籤役の決定に用いられた乱数値とは別に、演出用の乱数値(以下、演出用乱数値)が抽出される。演出用乱数値が抽出されると、演出内容決定手段は、内部当籤役に対応づけられた複数種類の演出内容の中から今回実行するものを抽籤により決定する。この演出内容決定手段は、後述する副制御回路が担う。 When the start lever is operated, a random number value for rendering (hereinafter, a random number value for rendering) is extracted in addition to the random number value used for determining the internal winning combination described above. When the random number value for effect is extracted, the effect content determination means randomly determines the effect content to be executed this time from the plurality of types of effect content associated with the internal winning combination. The sub-control circuit described later plays a role of this effect content determination means.

演出内容が決定されると、演出実行手段は、リールの回転開始時、各リールの回転停止時、入賞の有無の判定時等の各契機に連動させて対応する演出を実行する。このように、パチスロでは、内部当籤役に対応づけられた演出内容を実行することによって、決定された内部当籤役(言い換えると、狙うべき図柄の組合せ)を知る機会または予想する機会が遊技者に提供され、遊技者の興味の向上を図ることができる。 When the content of the effect is determined, the effect executing means executes the corresponding effect in association with each trigger such as the start of the rotation of the reel, the stop of the rotation of each reel, the determination of the presence or absence of the winning. In this way, in the pachi-slot, the player has the opportunity to know or predict the determined internal winning combination (in other words, the combination of the symbols to be aimed) by executing the effect contents associated with the internal winning combination. It is provided, and the interest of the player can be improved.

<パチスロの構造>
次に、図2〜図6を参照して、一実施形態におけるパチスロ1の構造について説明する。
<Structure of pachi-slot>
Next, the structure of the pachi-slot 1 according to the embodiment will be described with reference to FIGS.

[外観構造]
図2は、パチスロ1の外部構造を示す斜視図である。
[Appearance structure]
FIG. 2 is a perspective view showing an external structure of the pachi-slot 1.

図2に示すように、パチスロ1は、外装体2を備えている。外装体2は、後述するホッパー装置51やメダル補助収納庫52等(図5参照)を収容するキャビネット2aと、キャビネット2aに対して開閉可能に取り付けられるフロントドア2bとを有している。キャビネット2aの両側面には、把手7が設けられている(図2では一側面の把手7のみを示す)。この把手7は、パチスロ1を運搬するときに手をかける凹部である。 As shown in FIG. 2, the pachi-slot 1 includes an exterior body 2. The exterior body 2 has a cabinet 2a that houses a hopper device 51, a medal auxiliary storage 52, and the like (see FIG. 5) described later, and a front door 2b that is openably and closably attached to the cabinet 2a. Handles 7 are provided on both sides of the cabinet 2a (only one handle 7 is shown in FIG. 2). The handle 7 is a recess for holding the pachi-slot 1 when carrying it.

外装体2の内部には、3つのリール3L、3C、3Rが横並びに設けられている。以下、各リール3L、3C、3Rを、それぞれ左リール3L、中リール3C、右リール3Rという。各リール3L、3C、3Rは、円筒状に形成されたリール本体と、リール本体の周面に装着された透光性のシート材を有している。シート材の表面には、複数(例えば20個)の図柄が周方向に沿って所定の間隔をあけて描かれている。 Inside the exterior body 2, three reels 3L, 3C, 3R are provided side by side. Hereinafter, the reels 3L, 3C, and 3R are referred to as the left reel 3L, the middle reel 3C, and the right reel 3R, respectively. Each of the reels 3L, 3C, and 3R has a reel main body formed in a cylindrical shape, and a translucent sheet material mounted on the peripheral surface of the reel main body. On the surface of the sheet material, a plurality of (for example, 20) patterns are drawn at predetermined intervals along the circumferential direction.

フロントドア2bは、ドア本体9と、フロントパネル10と、表示装置の一具体例を示す液晶表示装置11とを備えている。 The front door 2b includes a door body 9, a front panel 10, and a liquid crystal display device 11 showing a specific example of a display device.

ドア本体9は、ヒンジ(不図示)を用いてキャビネット2aに取り付けられており、キャビネット2aの開口部を開閉する。ヒンジは、パチスロ1の前方からドア本体9を見た場合に、ドア本体9における左側の端部に設けられている。液晶表示装置11は、ドア本体9の上部に取り付けられている。この液晶表示装置11は、表示部(表示画面)11aを備えており、液晶表示装置11を用いて映像の表示による演出が実行される。 The door body 9 is attached to the cabinet 2a using a hinge (not shown), and opens and closes the opening of the cabinet 2a. The hinge is provided at the left end of the door body 9 when the door body 9 is viewed from the front of the pachi-slot 1. The liquid crystal display device 11 is attached to the upper part of the door body 9. The liquid crystal display device 11 includes a display unit (display screen) 11 a, and the liquid crystal display device 11 is used to perform an effect by displaying an image.

フロントパネル10は、液晶表示装置11の表示部11a側に重畳して配置され、液晶表示装置11の表示部11aを露出させるパネル開口10aを有する枠状に形成されている。フロントパネル10には、ランプ群18が設けられている。ランプ群18は、LED(Light Emitting Diode)等で構成され、演出内容に対応するパターンで、光を点灯及び消灯する。 The front panel 10 is arranged so as to overlap the display portion 11a side of the liquid crystal display device 11, and is formed in a frame shape having a panel opening 10a that exposes the display portion 11a of the liquid crystal display device 11. A lamp group 18 is provided on the front panel 10. The lamp group 18 includes LEDs (Light Emitting Diodes) and the like, and turns on and off the light in a pattern corresponding to the effect contents.

フロントドア2bの中央には、台座部12が形成されている。この台座部12には、図柄表示領域4と、遊技者による操作の対象となる各種装置が設けられている。 A pedestal portion 12 is formed at the center of the front door 2b. The pedestal portion 12 is provided with the symbol display area 4 and various devices to be operated by the player.

図柄表示領域4は、正面から見て3つのリール3L、3C、3Rに重畳する手前側に配置されており、3つのリール3L、3C、3Rに対応して設けられている。この図柄表示領域4は、表示窓としての機能を果たすものであり、その背後に設けられた各リール3L、3C、3Rを透過することが可能な構成になっている。以下、図柄表示領域4を、リール表示窓4という。 The symbol display area 4 is arranged on the front side overlapping with the three reels 3L, 3C, 3R when viewed from the front, and is provided corresponding to the three reels 3L, 3C, 3R. The symbol display area 4 functions as a display window and is configured to allow the reels 3L, 3C, 3R provided behind it to pass through. Hereinafter, the symbol display area 4 is referred to as a reel display window 4.

リール表示窓4は、その背後に設けられたリール3L、3C、3Rの回転が停止されたとき、各リール3L、3C、3Rの複数種類の図柄のうち、その枠内における上段、中段及び下段の各領域にそれぞれ1個の図柄(合計で3個)を表示する。本実施の形態では、リール表示窓4の上段、中段及び下段からなる3つの領域のうち予め定められたいずれかを組み合わせて構成される擬似的なラインを、入賞か否かの判定を行う対象となるライン(入賞判定ライン)として定義する。 The reel display window 4, when the rotation of the reels 3L, 3C, 3R provided behind it is stopped, among the plurality of types of symbols of each reel 3L, 3C, 3R, the upper, middle and lower stages in the frame One symbol is displayed in each area (3 in total). In the present embodiment, a pseudo line formed by combining any one of the three areas, which are the upper, middle, and lower rows of the reel display window 4, is a target for determining whether or not to win. Is defined as a line (winning determination line).

リール表示窓4は、台座部12に設けられた枠部材13により形成されている。この枠部材13は、リール表示窓4と、情報表示窓14と、ストップボタン取付部15を有している。 The reel display window 4 is formed by a frame member 13 provided on the pedestal portion 12. The frame member 13 has a reel display window 4, an information display window 14, and a stop button mounting portion 15.

情報表示窓14は、リール表示窓4の下部に連続して設けられており、上方に向かって開口している。すなわち、リール表示窓4と情報表示窓14は、連続する1つの開口部として形成されている。この情報表示窓14及びリール表示窓4は、透明の窓カバー16によって覆われている。 The information display window 14 is provided continuously to the lower portion of the reel display window 4 and opens upward. That is, the reel display window 4 and the information display window 14 are formed as one continuous opening. The information display window 14 and the reel display window 4 are covered with a transparent window cover 16.

窓カバー16は、枠部材13の内面側に配置されており、フロントドア2bの前面側から取り外し不可能になっている。また、枠部材13は、窓カバー16を挟んで情報表示窓14の開口に対向するシート載置部17を有している。そして、シート載置部17と窓カバー16との間には、遊技に関する情報が記載されたシート部材(情報シート)が配置されている。したがって、情報シートは、凹凸や隙間の無い滑らかな表面を有する窓カバー16により覆われている。 The window cover 16 is arranged on the inner surface side of the frame member 13 and cannot be removed from the front surface side of the front door 2b. Further, the frame member 13 has a sheet placing portion 17 that faces the opening of the information display window 14 with the window cover 16 interposed therebetween. Then, a sheet member (information sheet) in which information regarding a game is written is arranged between the sheet placing portion 17 and the window cover 16. Therefore, the information sheet is covered with the window cover 16 having a smooth surface without irregularities or gaps.

情報シートの取付部を構成する窓カバー16は、フロントドア2bの前面側から取り外し不可能であり、凹凸や隙間の無い滑らかな表面であるため、情報シートの取付部を利用して、パチスロ1の内部にアクセスする不正行為を防ぐことができる。 Since the window cover 16 constituting the mounting portion of the information sheet cannot be removed from the front side of the front door 2b and has a smooth surface without irregularities or gaps, the pachi-slot 1 can be used by using the mounting portion of the information sheet. You can prevent fraudulent activities that access the inside of the.

ストップボタン取付部15は、情報表示窓14の下方に設けられており、正面を向いた平面に形成されている。このストップボタン取付部15には、ストップボタン19L、19C、19Rが貫通する貫通孔が設けられている。ストップボタン19L、19C、19Rは、3つのリール3L、3C、3Rのそれぞれに対応づけられ、対応するリールの回転整を停止するために設けられる。以下、ストップボタン19L、19C、19Rを、それぞれ左ストップボタン19L、中ストップボタン19C、右ストップボタン19Rという。 The stop button mounting portion 15 is provided below the information display window 14 and is formed in a plane facing the front. The stop button mounting portion 15 is provided with a through hole through which the stop buttons 19L, 19C, 19R penetrate. The stop buttons 19L, 19C, 19R are associated with each of the three reels 3L, 3C, 3R, and are provided to stop the rotation adjustment of the corresponding reels. Hereinafter, the stop buttons 19L, 19C, and 19R are referred to as the left stop button 19L, the middle stop button 19C, and the right stop button 19R, respectively.

ストップボタン19L、19C、19Rは、遊技者による操作の対象となる各種装置の一例を示す。また、台座部12には、遊技者による操作の対象となる各種装置として、メダル投入口21、BETボタン22、スタートレバー23が設けられている。 The stop buttons 19L, 19C, 19R are examples of various devices that are targets of operations by the player. In addition, the pedestal portion 12 is provided with a medal insertion slot 21, a BET button 22, and a start lever 23 as various devices to be operated by the player.

メダル投入口21は、遊技者によって外部から投下されるメダルを受け入れるために設けられる。メダル投入口21に受け入れられたメダルは、予め定められた規定数(例えば、3枚)を上限として1回の遊技に投入されることとなり、規定数を超えた分はパチスロ1の内部に預けることが可能となる(いわゆるクレジット機能)。 The medal insertion slot 21 is provided for receiving medals dropped from the outside by the player. The medals received in the medal insertion slot 21 will be inserted into one game with a predetermined prescribed number (for example, 3) as an upper limit, and the amount exceeding the prescribed number will be deposited inside the pachi-slot 1. It becomes possible (a so-called credit function).

BETボタン22は、パチスロ1の内部に預けられているメダルから1回の遊技に投入する枚数を決定するために設けられる。スタートレバー23は、全てのリール(3L、3C、3R)の回転を開始するために設けられる。 The BET button 22 is provided to determine the number of medals deposited in the pachi-slot 1 for one game. The start lever 23 is provided to start rotation of all reels (3L, 3C, 3R).

また、フロントドア2bを正面から見てリール表示窓4の左側方には、7セグメントLED(Light Emitting Diode)からなる7セグ表示器24が設けられている。この7セグ表示器24は、特典として遊技者に対して払い出すメダルの枚数(以下、払出枚数)、パチスロ内部に預けられているメダルの枚数(以下、クレジット枚数)等の情報をデジタル表示する。 A 7-segment display 24 including a 7-segment LED (Light Emitting Diode) is provided on the left side of the reel display window 4 when the front door 2b is viewed from the front. The 7-segment display 24 digitally displays information such as the number of medals to be paid out to the player as a privilege (hereinafter, the number of payouts) and the number of medals stored in the pachi-slot (hereinafter, the number of credits). ..

フロントドア2bを正面から見て台座部12の左側には、精算ボタン27が設けられている。この精算ボタン27は、パチスロ1の内部に預けられている外部に引き出す(排出する)ために設けられる。台座部12の下方には、腰部パネルユニット31が設けられている。腰部パネルユニット31は、任意の画像が描かれた装飾パネルと、この装飾パネルを背面側から照明するための光を出射する光源を有している。 A settlement button 27 is provided on the left side of the pedestal portion 12 when the front door 2b is viewed from the front. The settlement button 27 is provided for pulling out (discharging) to the outside stored in the pachi-slot 1. A waist panel unit 31 is provided below the pedestal portion 12. The waist panel unit 31 has a decorative panel on which an arbitrary image is drawn and a light source that emits light for illuminating the decorative panel from the back side.

腰部パネルユニット31の下方には、メダル払出口32と、スピーカ用孔33L、33Rと、メダルトレイユニット34が設けられている。メダル払出口32は、後述のメダルセレクタ201から排出されるメダルや後述のホッパー装置51の駆動により排出されるメダルを外部に導く。メダル払出口32から排出されたメダルは、メダルトレイユニット34に貯められる。スピーカ用孔33L、33Rは、演出内容に応じた効果音や楽曲等の音を出力するために設けられている。 Below the waist panel unit 31, a medal payout opening 32, speaker holes 33L and 33R, and a medal tray unit 34 are provided. The medal payout port 32 guides the medals discharged from the medal selector 201 described later and the medals discharged by driving the hopper device 51 described later to the outside. The medals discharged from the medal payout opening 32 are stored in the medal tray unit 34. The speaker holes 33L and 33R are provided to output a sound effect such as a sound effect and a music according to the effect contents.

[内部構造]
図3及び図4は、パチスロ1の内部構造を示す斜視図である。この図3では、フロントドア2bが開放され、フロントドア2bの裏面側に設けられたミドルドア41がフロントドア2bに対して閉じた状態を示している。また、図4では、フロントドア2bが開放され、ミドルドア41がフロントドア2bに対して開いた状態を示している。また、図5は、キャビネット2aの内部を示す説明図である。図6は、フロントドア2bの裏面側を示す説明図である。
[Internal structure]
3 and 4 are perspective views showing the internal structure of the pachi-slot 1. In FIG. 3, the front door 2b is opened, and the middle door 41 provided on the back side of the front door 2b is shown closed to the front door 2b. Further, FIG. 4 shows a state in which the front door 2b is opened and the middle door 41 is opened with respect to the front door 2b. Further, FIG. 5 is an explanatory diagram showing the inside of the cabinet 2a. FIG. 6 is an explanatory diagram showing the back surface side of the front door 2b.

キャビネット2aは、上面板20aと、底面板20bと、左右の側面板20c、20dと、背面板20eを有している(図5参照)。キャビネット2a内部の上側には、キャビネット側スピーカ42が配設されている。このキャビネット側スピーカ42は、取付ブラケット43L、43Rを介してキャビネット2aの背面板20eに取り付けられている。キャビネット側スピーカ42は、例えば、効果音を出力するためのスピーカである。 The cabinet 2a has a top plate 20a, a bottom plate 20b, left and right side plates 20c and 20d, and a back plate 20e (see FIG. 5). A cabinet-side speaker 42 is arranged on the upper side inside the cabinet 2a. The cabinet-side speaker 42 is attached to the back plate 20e of the cabinet 2a via mounting brackets 43L and 43R. The cabinet side speaker 42 is, for example, a speaker for outputting a sound effect.

キャビネット2a内部を正面から見て、キャビネット側スピーカ42の左側方には、キャビネット側中継基板44が配設されている。このキャビネット側中継基板44は、キャビネット2aの左側面板20cに取り付けられている。キャビネット側中継基板44は、ミドルドア41(図3及び図4参照)に取り付けられた後述する主制御基板71(図13参照)と、ホッパー装置51、メダル補助収納庫スイッチ(不図示)、メダル払出カウントスイッチ(不図示)とを接続する配線の中継を行う。 A cabinet-side relay board 44 is arranged on the left side of the cabinet-side speaker 42 when the inside of the cabinet 2a is viewed from the front. The cabinet-side relay board 44 is attached to the left side plate 20c of the cabinet 2a. The cabinet side relay board 44 includes a main control board 71 (see FIG. 13), which will be described later, attached to the middle door 41 (see FIGS. 3 and 4), a hopper device 51, a medal auxiliary storage switch (not shown), and a medal payout. The wiring for connecting with a count switch (not shown) is relayed.

キャビネット2a内部の中央部には、キャビネット側スピーカ42による音の出力を制御するアンプ基板45が配設されている。このアンプ基板45は、左右の側面板20c、20dに固定された取付棚46に取り付けられている。 An amplifier board 45 that controls the output of sound from the cabinet-side speaker 42 is arranged in the center of the cabinet 2a. The amplifier board 45 is attached to a mounting shelf 46 fixed to the left and right side plates 20c and 20d.

また、キャビネット2a内部を正面から見て、アンプ基板45の右側には、外部集中端子板47が配設されている(図5参照)。この外部集中端子板47は、キャビネット2aの右側面板20dに取り付けられている。外部集中端子板47は、メダル投入信号、メダル払出信号及びセキュリティー信号などの信号をパチスロ1の外部へ出力するために設けられている。 Further, when the inside of the cabinet 2a is viewed from the front, an external concentrated terminal board 47 is arranged on the right side of the amplifier board 45 (see FIG. 5). The external centralized terminal board 47 is attached to the right side surface board 20d of the cabinet 2a. The external centralized terminal board 47 is provided to output signals such as a medal insertion signal, a medal payout signal, and a security signal to the outside of the pachi-slot 1.

キャビネット2a内部を正面から見て、アンプ基板45の左側には、サブ電源装置48が配設されている。このサブ電源装置48は、キャビネット2aの左側面板20cに取り付けられている。サブ電源装置48は、交流電圧100Vの電力を後述する電源装置53に供給する。また、交流電圧100Vの電力を直流電圧の電力に変換して、アンプ基板45に供給する。 A sub power supply device 48 is disposed on the left side of the amplifier board 45 when the inside of the cabinet 2a is viewed from the front. The sub power supply device 48 is attached to the left side plate 20c of the cabinet 2a. The sub power supply device 48 supplies electric power with an AC voltage of 100 V to the power supply device 53 described later. Further, the AC voltage of 100 V is converted into the DC voltage and supplied to the amplifier board 45.

キャビネット2aの内部の下側には、メダル払出装置(以下、ホッパー装置)51と、メダル補助収納庫52と、電源装置53が配設されている。 A medal payout device (hereinafter referred to as a hopper device) 51, a medal auxiliary storage 52, and a power supply device 53 are arranged below the inside of the cabinet 2a.

ホッパー装置51は、キャビネット2aにおける底面板20bの中央部に取り付けられている。このホッパー装置51は、多量のメダルを収容可能であり、それらを1枚ずつ排出可能な構造を有する。ホッパー装置51は、例えば、精算ボタン27(図2参照)が押圧されてパチスロ内部に預けられているメダルの精算を行うときに、収容したメダルをクレジット枚数分排出する。ホッパー装置51によって払い出されたメダルは、メダル払出口32(図2参照)から排出される。 The hopper device 51 is attached to the central portion of the bottom plate 20b of the cabinet 2a. The hopper device 51 has a structure capable of accommodating a large amount of medals and discharging them one by one. For example, when the settlement button 27 (see FIG. 2) is pressed and the medals stored in the pachi-slot are settled, the hopper device 51 discharges the stored medals by the number of credits. The medals paid out by the hopper device 51 are discharged from the medal payout opening 32 (see FIG. 2).

メダル補助収納庫52は、ホッパー装置51から溢れ出たメダルを収納する。このメダル補助収納庫52は、キャビネット2a内部を正面から見て、ホッパー装置51の右側に配置されている。メダル補助収納庫52は、キャビネット2aの底面板20bに係合されており、底面板20bに対して着脱可能に構成されている。 The medal auxiliary storage 52 stores the medals overflowing from the hopper device 51. The medal auxiliary storage 52 is arranged on the right side of the hopper device 51 when the inside of the cabinet 2a is viewed from the front. The medal auxiliary storage 52 is engaged with the bottom plate 20b of the cabinet 2a and is configured to be detachable from the bottom plate 20b.

電源装置53は、キャビネット2a内部を正面から見て、ホッパー装置51の左側に配置されており、左側面板20cに取り付けられている。この電源装置53は、電源スイッチ53aと、電源基板53bを有している(図13参照)。電源装置53は、サブ電源装置48から供給された交流電圧100Vの電力を各部で必要な直流電圧の電力に変換して、変換した電力を各部へ供給する。 The power supply device 53 is arranged on the left side of the hopper device 51 when the inside of the cabinet 2a is viewed from the front, and is attached to the left side face plate 20c. The power supply device 53 has a power switch 53a and a power board 53b (see FIG. 13). The power supply device 53 converts the power of the AC voltage 100V supplied from the sub power supply device 48 into the power of the DC voltage required by each unit, and supplies the converted power to each unit.

図3、図4及び図6に示すように、ミドルドア41は、フロントドア2bの裏面における中央部に配置され、リール表示窓4(図4参照)を裏側から開閉可能に構成されている。ミドルドア41の上部と下部には、ドアストッパ41a、41b、41cが設けられている。このドアストッパ41a、41b、41cは、リール表示窓4を裏側から閉じた状態のミドルドア41の開動作を固定(禁止)する。すなわち、ミドルドア41を開くには、ドアストッパ41a、41b、41cを回転させてミドルドア41の固定を解除する必要がある。 As shown in FIGS. 3, 4 and 6, the middle door 41 is arranged at the center of the back surface of the front door 2b, and is configured to open and close the reel display window 4 (see FIG. 4) from the back side. Door stoppers 41a, 41b, 41c are provided on the upper and lower portions of the middle door 41. The door stoppers 41a, 41b, 41c fix (prohibit) the opening operation of the middle door 41 with the reel display window 4 closed from the back side. That is, in order to open the middle door 41, it is necessary to rotate the door stoppers 41a, 41b, 41c to release the fixation of the middle door 41.

ミドルドア41には、主制御基板71(図13参照)を収納した主制御基板ケース55と、3つのリール3L、3C、3Rが取り付けられている。3つのリール3L、3C、3Rには、所定の減速比をもったギアを介してステッピングモータが接続されている。 A main control board case 55 accommodating a main control board 71 (see FIG. 13) and three reels 3L, 3C, 3R are attached to the middle door 41. A stepping motor is connected to the three reels 3L, 3C, and 3R via a gear having a predetermined reduction ratio.

図6に示すように、主制御基板ケース55には、設定用鍵型スイッチ56が設けられている。この設定用鍵型スイッチ56は、パチスロ1の設定を変更もしくはパチスロ1の設定の確認を行うときに使用する。本実施の形態では、主制御基板ケース55と、この主制御基板ケース55に収納された主制御基板71により、主制御基板ユニットが構成されている。 As shown in FIG. 6, the main control board case 55 is provided with a setting key type switch 56. The setting key type switch 56 is used when changing the setting of the pachi-slot 1 or confirming the setting of the pachi-slot 1. In this embodiment, the main control board case 55 and the main control board 71 housed in the main control board case 55 constitute a main control board unit.

主制御基板ケース55に収納された主制御基板71は、後述する主制御回路91(図14参照)を構成する。主制御回路91は、内部当籤役の決定、リール3L、3C、3Rの回転及び停止、入賞の有無の判定といった、パチスロ1における遊技の主な流れを制御する回路である。主制御回路91の具体的な構成は後述する。 The main control board 71 housed in the main control board case 55 constitutes a main control circuit 91 (see FIG. 14) described later. The main control circuit 91 is a circuit that controls the main flow of the game in the pachi-slot 1, such as determination of an internal winning combination, rotation and stop of the reels 3L, 3C, and 3R, and determination of presence or absence of a prize. The specific configuration of the main control circuit 91 will be described later.

ミドルドア41の上方には、副制御基板72(図13参照)を収容する副制御基板ケース57が配設されおり、副制御基板ケース57の上方には、センタースピーカ58が配設されている。副制御基板ケース57に収納された副制御基板72は、副制御回路101(図15参照)を構成する。この副制御回路101は、映像の表示等による演出の実行を制御する回路である。副制御回路101の具体的な構成は後述する。 A sub control board case 57 that accommodates the sub control board 72 (see FIG. 13) is provided above the middle door 41, and a center speaker 58 is provided above the sub control board case 57. The sub-control board 72 housed in the sub-control board case 57 constitutes a sub-control circuit 101 (see FIG. 15). The sub-control circuit 101 is a circuit that controls execution of effects such as video display. The specific configuration of the sub control circuit 101 will be described later.

フロントドア2bを裏面側から見て、副制御基板ケース57の右側方には、副中継基板61が配設されている。この副中継基板61は、副制御基板72と主制御基板71とを接続する配線を中継する。また、副制御基板72と副制御基板72の周辺に配設された基板とを接続する配線を中継する基板である。なお、副制御基板72の周辺に配設される基板としては、後述するLED基板62A、62B、62Cが挙げられる。 A sub relay board 61 is disposed on the right side of the sub control board case 57 when the front door 2b is viewed from the back side. The sub relay board 61 relays the wiring connecting the sub control board 72 and the main control board 71. The sub-control board 72 is a board that relays the wiring that connects the sub-control board 72 and the board arranged around the sub-control board 72. It should be noted that LED boards 62A, 62B, and 62C, which will be described later, can be given as the boards arranged around the sub-control board 72.

LED基板62A、62B、62Cは、フロントドア2bの裏面側から見て、副制御基板ケース57の両側に配設されている。これらLED基板62A、62B、62Cは、副制御回路101(図15参照)の制御により実行される演出に応じて、光源の一具体例を示す複数のLED(Light Emitting Diode)85(図13参照)を発光させて、点滅パターンを表示する。なお、本実施の形態のパチスロ1には、LED基板62A、62B、62C以外に複数のLED基板を備えている。 The LED boards 62A, 62B, and 62C are arranged on both sides of the sub control board case 57 when viewed from the back surface side of the front door 2b. These LED boards 62A, 62B, and 62C have a plurality of LEDs (Light Emitting Diodes) 85 (see FIG. 13) showing a specific example of a light source according to the effect executed by the control of the sub control circuit 101 (see FIG. 15). ) Is lit to display the blinking pattern. The pachi-slot 1 of the present embodiment includes a plurality of LED boards in addition to the LED boards 62A, 62B, and 62C.

副中継基板61の下方には、24hドア開閉監視ユニット63が配設されている。この24hドア開閉監視ユニット63は、ミドルドア41の開閉の履歴を保存する。また、ミドルドア41を開放したときに、液晶表示装置11にエラー表示を行うための信号を副制御基板72(副制御回路101)に出力する。 Below the sub relay board 61, a 24h door opening/closing monitoring unit 63 is arranged. The 24h door opening/closing monitoring unit 63 stores a history of opening/closing of the middle door 41. Also, when the middle door 41 is opened, a signal for displaying an error on the liquid crystal display device 11 is output to the sub control board 72 (sub control circuit 101).

ミドルドア41の下方には、ボードスピーカ64と、下部スピーカ65L、65Rが配設されている。ボードスピーカ64は、腰部パネルユニット31(図2参照)に対向しており、下部スピーカ65L、65Rは、それぞれスピーカ用孔33L、33R(図2参照)に対向している。 A board speaker 64 and lower speakers 65L and 65R are disposed below the middle door 41. The board speaker 64 faces the waist panel unit 31 (see FIG. 2), and the lower speakers 65L and 65R face the speaker holes 33L and 33R (see FIG. 2), respectively.

下部スピーカ65Lの上方には、メダルセレクタ201と、メダルシュート202と、ドア開閉監視スイッチ67と、が配設されている。メダルセレクタ201は、メダルの材質や形状等が適正であるか否かを判別する装置であり、メダル投入口21に投入されたメダルを、スロープ203を介してホッパー装置51へ案内し、またはメダルシュート202へ案内する。メダルセレクタ201の具体的な構成については後述する。 A medal selector 201, a medal chute 202, and a door opening/closing monitoring switch 67 are arranged above the lower speaker 65L. The medal selector 201 is a device that determines whether or not the material, shape, etc. of the medal are appropriate, and guides the medal inserted into the medal insertion slot 21 to the hopper device 51 via the slope 203, or Guide to the chute 202. The specific configuration of the medal selector 201 will be described later.

メダルシュート202は、略Y字状の筒状の部材であり、メダルセレクタ201によって案内されたメダルやホッパー装置51から排出されたメダルをメダル払出口32(図2参照)に案内する。 The medal chute 202 is a substantially Y-shaped tubular member, and guides the medals guided by the medal selector 201 and the medals discharged from the hopper device 51 to the medal payout outlet 32 (see FIG. 2).

ドア開閉監視スイッチ67は、フロントドア2bを裏面側から見て、メダルセレクタ201の左側方に配置されている。このドア開閉監視スイッチ67は、パチスロ1の外部へ、フロントドア2bの開閉を報知するためのセキュリティー信号を出力する。 The door open/close monitor switch 67 is arranged on the left side of the medal selector 201 when the front door 2b is viewed from the back side. The door open/close monitor switch 67 outputs a security signal for notifying the opening/closing of the front door 2b to the outside of the pachi-slot 1.

また、リール表示窓4の下方であってミドルドア41により開閉される領域には、ドア中継端子板68が配設されている(図4参照)。このドア中継端子板68は、主制御基板ケース55内の主制御基板71(図13参照)と、各種のボタンやスイッチ、副制御基板72(図13参照)、メダルセレクタ201及び遊技動作表示基板81(図13参照)との配線を中継する基板である。なお、各種のボタン及びスイッチとしては、例えば、BETボタン22、精算ボタン27、ドア開閉監視スイッチ67、後述するBETスイッチ77、スタートスイッチ79等を挙げることができる。 Further, a door relay terminal plate 68 is arranged in a region below the reel display window 4 and opened/closed by the middle door 41 (see FIG. 4). The door relay terminal board 68 includes a main control board 71 (see FIG. 13) in the main control board case 55, various buttons and switches, a sub-control board 72 (see FIG. 13), a medal selector 201, and a game operation display board. 81 is a substrate that relays the wiring with 81 (see FIG. 13). The various buttons and switches include, for example, the BET button 22, the settlement button 27, the door opening/closing monitoring switch 67, the BET switch 77 and the start switch 79, which will be described later.

<メダルセレクタの構成>
次に、図7〜図12を参照して、メダルセレクタ201の具体的な構成について説明する。図7は、メダルセレクタ201をパチスロ1の斜め後方から見た斜視図である。図8は、メダルセレクタ201の分解図である。図9は、メダルセレクタ201をパチスロ1の斜め前方から見た斜視図である。図10は、メダルセレクタ201の後述するセレクトプレート207の斜視図である。図11は、メダルセレクタ201がメダルをホッパー装置51へ案内する場合のメダルの経路を示す図である。図12は、メダルセレクタ201がメダルをメダルシュート202に案内する場合のメダルの経路を示す図である。なお、図7〜図12に示す矢印Xはパチスロ1の左右方向を示し、矢印Yはパチスロ1の前後方向を示し、矢印Zは上下方向を示す。
<Medal selector configuration>
Next, a specific configuration of the medal selector 201 will be described with reference to FIGS. FIG. 7 is a perspective view of the medal selector 201 seen from diagonally behind the pachi-slot 1. FIG. 8 is an exploded view of the medal selector 201. FIG. 9 is a perspective view of the medal selector 201 as seen obliquely from the front of the pachi-slot 1. FIG. 10 is a perspective view of a later-described select plate 207 of the medal selector 201. FIG. 11 is a diagram showing a route of medals when the medal selector 201 guides the medals to the hopper device 51. FIG. 12 is a diagram showing a route of medals when the medal selector 201 guides the medals to the medal shoot 202. In addition, arrow X shown in FIGS. 7-12 shows the left-right direction of the pachi-slot 1, arrow Y shows the front-back direction of the pachi-slot 1, and arrow Z shows the up-down direction.

図7〜図9に示すように、メダルセレクタ201は、ベース板部204と、サブプレート205と、キャンセルシュータ206と、セレクトプレート207と、メダルソレノイド208(図9参照)、カメラユニット209と、を備えている。 As shown in FIGS. 7 to 9, the medal selector 201 includes a base plate portion 204, a sub plate 205, a cancel shooter 206, a select plate 207, a medal solenoid 208 (see FIG. 9 ), a camera unit 209, Is equipped with.

ベース板部204は、メダルセレクタ201の外枠筐体を構成する略板状の部材であり、パチスロ1の左右方向の両端部がパチスロ1の後方に折曲するように成型されている。ベース板部204は、パチスロ1の前後方向に直交する一方の平面である後面204bと他方の平面である前面204a(図9参照)を有している。後面204bには、メダルレール210が、パチスロ1の前方へ凹むように、且つ、略L字状に形成されている。メダルレール210の表面には、複数の突条部が形成されている。 The base plate portion 204 is a substantially plate-shaped member that forms the outer frame housing of the medal selector 201, and is formed such that both left and right ends of the pachi-slot 1 are bent rearward of the pachi-slot 1. The base plate portion 204 has a rear surface 204b, which is one plane orthogonal to the front-back direction of the pachi-slot 1, and a front surface 204a (see FIG. 9), which is the other plane. A medal rail 210 is formed on the rear surface 204b so as to be recessed forward of the pachi-slot 1 and in a substantially L-shape. A plurality of ridges are formed on the surface of the medal rail 210.

ベース板部204の上端部には、メダル投入口21(図2参照)から投入されるメダルを受け入れるメダル入口部211が設けられている。メダル入口部211からメダルセレクタ201内に投入されたメダルは、メダルレール210に沿って上方から下方へ移動する。ベース板部204の下部には、メダル出口部204c(図8参照)が設けられている。メダルセレクタ201内を移動したメダルは、メダル出口部204cから排出され、スロープ203(図4参照)を介してホッパー装置51に収容される。 A medal entrance 211 for receiving medals inserted from the medal insertion slot 21 (see FIG. 2) is provided at the upper end of the base plate portion 204. The medals inserted into the medal selector 201 from the medal entrance portion 211 move from the upper side to the lower side along the medal rail 210. A medal exit portion 204c (see FIG. 8) is provided below the base plate portion 204. The medals that have moved inside the medal selector 201 are discharged from the medal exit portion 204c and are housed in the hopper device 51 via the slope 203 (see FIG. 4).

メダルレール210の略中間位置には前後方向に貫通する中央孔212が形成されており、この中央孔212からはメダルプレッシャ213(図8参照)の端部が露出している。図9に示すように、メダルプレッシャ213は、ベース板部204の前面204aに設けられた軸部214に回動可能に支持されている。この軸部214には、コイルばね215が取り付けられており、メダルプレッシャ213は、コイルばね215により、メダルプレッシャ213が中央孔212から突出するように付勢されている。 A center hole 212 penetrating in the front-rear direction is formed at a substantially middle position of the medal rail 210, and an end portion of the medal pressure 213 (see FIG. 8) is exposed from the center hole 212. As shown in FIG. 9, the medal pressure 213 is rotatably supported by a shaft portion 214 provided on the front surface 204 a of the base plate portion 204. A coil spring 215 is attached to the shaft portion 214, and the medal pressure 213 is biased by the coil spring 215 so that the medal pressure 213 projects from the central hole 212.

図9に示すように、ベース板部204の前面204aには、磁石217が設けられている。磁石217は、メダルレール210上を移動するメダルの内、適正な材質でない不正メダルを吸着(着磁)する。 As shown in FIG. 9, a magnet 217 is provided on the front surface 204 a of the base plate portion 204. The magnet 217 attracts (magnetizes) illegal medals that are not made of an appropriate material among the medals moving on the medal rail 210.

また、図8に示すように、メダルレール210の下流領域の略中央部には、前後方向に貫通し、後述するアフタメダルプレッシャ218の後端部が露出する上露出孔219が形成されている。また、メダルレール210の下流領域の下部には、前後方向に貫通し、セレクトプレート207の後述するメダルストッパ部227が露出する下露出孔220が形成されている。 Further, as shown in FIG. 8, an upper exposure hole 219 is formed in a substantially central portion of a downstream region of the medal rail 210, the upper exposure hole 219 penetrating in the front-rear direction and exposing a rear end portion of an after medal pressure 218 described later. .. Further, a lower exposure hole 220 is formed in the lower portion of the downstream region of the medal rail 210 so as to penetrate in the front-rear direction and expose a later-described medal stopper portion 227 of the select plate 207.

図9に示すように、アフタメダルプレッシャ218は、ベース板部204の前面204aに回動可能に軸支されている。アフタメダルプレッシャ218の前端部がメダルソレノイド208によってパチスロ1の後方へ押圧されると、アフタメダルプレッシャ218は回動し、アフタメダルプレッシャ218の後端部が上露出孔219(図8参照)から露出する。 As shown in FIG. 9, the after medal pressure 218 is rotatably supported by the front surface 204 a of the base plate portion 204. When the front end of the after medal pressure 218 is pressed to the rear of the pachi-slot 1 by the medal solenoid 208, the after medal pressure 218 rotates, and the rear end of the after medal pressure 218 comes out from the upper exposure hole 219 (see FIG. 8). Exposed.

図7及び図8に示すように、キャンセルシュータ206は、略板状の部材であり、パチスロ1の左右方向の両端部がパチスロ1の前方に折曲するように成型されている。キャンセルシュータ206は、ベース板部204に着脱可能に固定され、ベース板部204の下部を後方から覆っている。キャンセルシュータ206は、メダル出口部204cを介することなく排出されるメダルをメダルシュート202(図4参照)に案内する。キャンセルシュータ206の左右方向の略中央部の上部には、下方に略矩形状に切り欠いた切欠き部206aが形成されている。 As shown in FIGS. 7 and 8, the cancel shooter 206 is a substantially plate-shaped member, and is formed such that the left and right ends of the pachi-slot 1 are bent forward of the pachi-slot 1. The cancel shooter 206 is detachably fixed to the base plate portion 204 and covers the lower portion of the base plate portion 204 from the rear side. The cancel shooter 206 guides the medals discharged without passing through the medal exit portion 204c to the medal chute 202 (see FIG. 4). A notch portion 206a, which is cut out in a substantially rectangular shape downward, is formed at an upper portion of a substantially central portion in the left-right direction of the cancel shooter 206.

図7に示すように、サブプレート205は、メダルレール210を後方から覆う板状の部材である。サブプレート205は、平板状の本体部221と、この本体部221の上部に設けた軸部222と、を有している。本体部221の略中央部には、前後方向に貫通する貫通孔221aが設けられており、貫通孔221aからはメダルレール210の略中央部から下流領域が露出している。 As shown in FIG. 7, the sub plate 205 is a plate-shaped member that covers the medal rail 210 from the rear side. The sub-plate 205 has a flat plate-shaped main body portion 221 and a shaft portion 222 provided on the upper portion of the main body portion 221. A through hole 221a penetrating in the front-rear direction is provided at a substantially central portion of the main body portion 221, and a downstream region is exposed from the substantially central portion of the medal rail 210 through the through hole 221a.

軸部222は、ベース板部204に支持されており、サブプレート205は、軸部222を中心に回動可能にベース板部204に取り付けられている。軸部222には、コイルばね223が取り付けられている。通常時、サブプレート205は、コイルばね223の付勢力により、ベース板部204側に押し付けられている。このとき、サブプレート205と、サブプレート205に覆われたメダルレール210の上部との間には、メダルが通過可能な空間が形成されている。すなわち、サブプレート205は、メダルを通過させるガイド板として機能する。 The shaft portion 222 is supported by the base plate portion 204, and the sub-plate 205 is attached to the base plate portion 204 so as to be rotatable around the shaft portion 222. A coil spring 223 is attached to the shaft portion 222. Normally, the sub-plate 205 is pressed against the base plate portion 204 side by the biasing force of the coil spring 223. At this time, a space through which medals can pass is formed between the sub plate 205 and the upper portion of the medal rail 210 covered by the sub plate 205. That is, the sub plate 205 functions as a guide plate that allows medals to pass through.

ここで、例えば、メダルセレクタ201内にメダル詰まりが生じた場合、サブプレート205をコイルばね223の付勢力に抗して回動させて、メダル詰まりを解消することができる。 Here, for example, when a medal jam occurs in the medal selector 201, the sub plate 205 can be rotated against the biasing force of the coil spring 223 to eliminate the medal jam.

図8に示すように、セレクトプレート207は、サブプレート205に覆われていないメダルレール210の略中央部を移動するメダルをガイドする部材である。図10に示すように、セレクトプレート207は、略台形板状のプレート本体224と、プレート本体224の左右方向の両端部がパチスロ1の前方へ折曲することで形成されている一対の軸受部225と、を有している。また、プレート本体224の上部には、パチスロ1の前方へ折曲し、後端部が上方へ折曲することで形成されているフランジ部226が形成されている。また、一方の軸受部225には、下方へ延びるメダルストッパ部227が形成されている。 As shown in FIG. 8, the select plate 207 is a member that guides medals that move in a substantially central portion of the medal rail 210 that is not covered by the sub-plate 205. As shown in FIG. 10, the select plate 207 includes a plate body 224 having a substantially trapezoidal plate shape, and a pair of bearing portions formed by bending the left and right ends of the plate body 224 toward the front of the pachi-slot 1. 225 and. Further, a flange portion 226 formed by bending the pachi-slot 1 forward and bending the rear end portion upward is formed on the upper portion of the plate body 224. Further, a medal stopper portion 227 extending downward is formed on one bearing portion 225.

図8に示すように、プレート本体224は、サブプレート205に覆われていないメダルレール210の略中央部とパチスロ1の前後方向に対向している。 As shown in FIG. 8, the plate body 224 faces the substantially central portion of the medal rail 210 not covered by the sub-plate 205 in the front-back direction of the pachi-slot 1.

図9に示すように、セレクトプレート207は、ベース板部204の前面204aに設けられた軸部228に回動可能に支持されている。軸部228にはコイルばね229が設けられており、フランジ部226をパチスロ1の前方へ付勢する。フランジ部226は、メダルソレノイド208の一端部と接触している。メダルソレノイド208がON状態にあるとき、フランジ部226はメダルソレノイド208の一端部に押圧され、コイルばね229の付勢力に抗してパチスロ1の後方へ移動する。このときの、セレクトプレート207の回動位置を「ガイド位置」と称する。ガイド位置にあるセレクトプレート207のプレート本体224とメダルレール210との距離は、メダルをキャンセルシュータ206側に排出することなくホッパー装置51へガイド可能な所定の距離に設定されている。また、このときメダルストッパ部227は、下露出孔220(図8参照)から突出しない。 As shown in FIG. 9, the select plate 207 is rotatably supported by a shaft portion 228 provided on the front surface 204 a of the base plate portion 204. The shaft portion 228 is provided with a coil spring 229 and biases the flange portion 226 toward the front of the pachi-slot 1. The flange portion 226 is in contact with one end of the medal solenoid 208. When the medal solenoid 208 is in the ON state, the flange portion 226 is pressed by one end of the medal solenoid 208 and moves rearward of the pachi-slot 1 against the biasing force of the coil spring 229. The rotation position of the select plate 207 at this time is referred to as a “guide position”. The distance between the plate body 224 of the select plate 207 at the guide position and the medal rail 210 is set to a predetermined distance that can guide the medal to the hopper device 51 without discharging the medal to the cancel shooter 206 side. Further, at this time, the medal stopper portion 227 does not protrude from the lower exposed hole 220 (see FIG. 8).

また、メダルソレノイド208がOFF状態にあるとき、フランジ部226はメダルソレノイド208の押圧から解放され、コイルばね229の付勢力によってパチスロ1の前方へ移動する。このときの、セレクトプレート207の回動位置を「排出位置」と称する。排出位置にあるセレクトプレート207のプレート本体224とメダルレール210との距離は、所定の距離よりも長い距離に設定されている。このとき、パチスロ1の前方へ移動するフランジ部226に押圧され、メダルソレノイド208の一端部はパチスロ1の前方へ移動する。これに伴ってメダルソレノイド208の他端部がパチスロ1の後方へ移動し、アフタメダルプレッシャ218の前端部を押圧する。これによってアフタメダルプレッシャ218は回動し、アフタメダルプレッシャ218の後端部が上露出孔219(図8参照)から露出する。 Further, when the medal solenoid 208 is in the OFF state, the flange portion 226 is released from the pressure of the medal solenoid 208 and moves to the front of the pachi-slot 1 by the biasing force of the coil spring 229. The rotation position of the select plate 207 at this time is referred to as a “discharge position”. The distance between the plate body 224 of the select plate 207 at the ejection position and the medal rail 210 is set to be longer than a predetermined distance. At this time, the flange portion 226 moving to the front of the pachi-slot 1 is pressed, and one end of the medal solenoid 208 moves to the front of the pachi-slot 1. Along with this, the other end of the medal solenoid 208 moves to the rear of the pachi-slot 1 and presses the front end of the after medal pressure 218. As a result, the after medal pressure 218 rotates, and the rear end of the after medal pressure 218 is exposed from the upper exposure hole 219 (see FIG. 8).

メダルストッパ部227は、セレクトプレート207がガイド位置にあるときは下露出孔220(図8参照)から突出せず、排出位置にあるときは下露出孔220から突出する。 The medal stopper portion 227 does not protrude from the lower exposure hole 220 (see FIG. 8) when the select plate 207 is at the guide position, and protrudes from the lower exposure hole 220 when it is at the ejection position.

図11に示すように、ガイド位置にあるセレクトプレート207は、メダルレール210上を移動するメダルが規格寸法を満たす場合、移動するメダルの上部と接触し、メダルをメダル出口部204c(図8参照)へ案内する。メダルは、セレクトプレート207に案内されているとき、メダルプレッシャ213をパチスロ1の前方へ押圧する。なお、図11では、メダルセレクタ201のサブプレート205やキャンセルシュータ206の図示を省略している。 As shown in FIG. 11, when the medal moving on the medal rail 210 meets the standard size, the select plate 207 in the guide position contacts the upper part of the moving medal and moves the medal to the medal exit portion 204c (see FIG. 8). ) To. The medal pushes the medal pressure 213 toward the front of the pachi-slot 1 when being guided by the select plate 207. In FIG. 11, the sub-plate 205 of the medal selector 201 and the cancel shooter 206 are not shown.

一方、図12に示すように、排出位置にあるセレクトプレート207は、メダルレール210上を移動するメダルが規格寸法を満たす場合であっても、プレート本体224とメダルレール210との距離が離れているため、メダルをメダル出口部204c(図8参照)へ案内することができない。また、メダルは、メダルプレッシャ213、上露出孔219から突出するアフタメダルプレッシャ218、または、下露出孔220から突出するメダルストッパ部227に押し出され、キャンセルシュータ206に向けて排出される。なお、図12では、図11と同様に、メダルセレクタ201のサブプレート205やキャンセルシュータ206の図示を省略している。 On the other hand, as shown in FIG. 12, even if the medals moving on the medal rails 210 satisfy the standard size, the select plate 207 in the ejection position has a large distance between the plate body 224 and the medal rails 210. Therefore, the medal cannot be guided to the medal exit portion 204c (see FIG. 8). Further, the medal is pushed out to the medal pressure 213, the after medal pressure 218 protruding from the upper exposure hole 219, or the medal stopper portion 227 protruding from the lower exposure hole 220, and is ejected toward the cancel shooter 206. 12, the sub-plate 205 and the cancel shooter 206 of the medal selector 201 are omitted as in FIG.

また、本実施形態においてセレクトプレート207は、通常、ガイド位置に位置付けされているが、所定の条件下(例えば、規定枚数のメダル投入時、エラー発生時、遊技開始時など)では、排出位置に位置付けされている。 In addition, in the present embodiment, the select plate 207 is normally positioned at the guide position, but under a predetermined condition (for example, when a specified number of medals are inserted, when an error occurs, when a game is started, etc.), the select plate 207 is placed at the discharge position. It is positioned.

また、メダルレール210上を移動するメダルが規格寸法よりも小径の場合、セレクトプレート207がガイド位置にあっても、メダルはセレクトプレート207に案内されず、メダルプレッシャ213に押し出され、キャンセルシュータ206に向けて排出される。 Further, when the medal moving on the medal rail 210 has a diameter smaller than the standard size, even if the select plate 207 is at the guide position, the medal is not guided to the select plate 207 but pushed out to the medal pressure 213 and the cancel shooter 206. Is discharged toward.

図7及び図8に示すように、カメラユニット209は、第1の基板230と第2の基板231で構成されており、メダルレール210上を移動する物体が正規メダルか否かを判別するユニットである。第1の基板230には、CMOSイメージセンサ232(図16参照)及びLED233(図16参照)が設けられている。第2の基板231には、CMOSイメージセンサ232及びLED233と通信可能、及び、制御可能に接続されている制御LSI234(図16参照)が設けられている。第1の基板230と第2の基板231は、BtoB(Board-to-Board)形式のコネクタ(不図示)で接続され、また、各基板230、231の角部に設けられた脚部235によって固定されている。なお、カメラユニット209の回路の具体的な構成については後述する。また、本実施形態では、カメラユニット209を2つの基板230、231で構成する態様を説明したが、これに代えて、CMOSイメージセンサ232、LED233及び制御LSI234を設けた1つの基板で、カメラユニットを構成してもよい。 As shown in FIGS. 7 and 8, the camera unit 209 includes a first substrate 230 and a second substrate 231, and is a unit that determines whether an object moving on the medal rail 210 is a regular medal. Is. A CMOS image sensor 232 (see FIG. 16) and an LED 233 (see FIG. 16) are provided on the first substrate 230. The second substrate 231 is provided with a control LSI 234 (see FIG. 16) communicatively and controllably connected to the CMOS image sensor 232 and the LED 233. The first substrate 230 and the second substrate 231 are connected by a BtoB (Board-to-Board) type connector (not shown), and the leg portions 235 provided at the corners of the respective substrates 230 and 231 are used. It is fixed. The specific configuration of the circuit of the camera unit 209 will be described later. Further, in the present embodiment, the mode in which the camera unit 209 is configured with the two substrates 230 and 231 has been described, but instead of this, one substrate provided with the CMOS image sensor 232, the LED 233, and the control LSI 234 may be used. May be configured.

カメラユニット209は、キャンセルシュータ206の上部の切欠き部206aの周囲に設けられたビス穴206bに、第1の基板230がビス止めされることで、固定されている。CMOSイメージセンサ232(図16参照)は、第1の基板230の略中央部分に設けられている。CMOSイメージセンサ232は、メダルレール210上を移動するメダルを撮像し、撮像したメダルの画像データを制御LSI234(図16参照)に出力する。LED233(図16参照)は、CMOSイメージセンサ232の周囲で面発光し、メダルレール210上を移動するメダルに光を照射する。制御LSI234(図16参照)は、CMOSイメージセンサ232から出力された画像データに基づいて、メダルレール210上を移動する物体が正規メダルか否かを判別し、判別結果を出力する。なお、本実施形態では、切欠き部206aの周囲に形成したビス穴206bにビス止めすることでカメラユニット209をキャンセルシュータ206に固定する態様を説明したが、カメラユニットの固定態様はこれに限定されない。例えば、第1の基板230と第2の基板231の間に取り付けレールを設け、また、キャンセルシュータ206の上部に凹部を設け、この凹部に取り付けレールを嵌めた上で、取り付けレールとキャンセルシュータ206をビス止めまたは接着剤で固定するようにしてもよい。 The camera unit 209 is fixed by screwing the first substrate 230 into a screw hole 206b provided around the notch 206a in the upper portion of the cancel shooter 206. The CMOS image sensor 232 (see FIG. 16) is provided in a substantially central portion of the first substrate 230. The CMOS image sensor 232 images a medal moving on the medal rail 210, and outputs image data of the imaged medal to the control LSI 234 (see FIG. 16). The LED 233 (see FIG. 16) emits surface light around the CMOS image sensor 232, and illuminates the medal moving on the medal rail 210. The control LSI 234 (see FIG. 16) determines whether the object moving on the medal rail 210 is a regular medal based on the image data output from the CMOS image sensor 232, and outputs the determination result. In the present embodiment, the mode in which the camera unit 209 is fixed to the cancel shooter 206 by screwing in the screw hole 206b formed around the notch 206a has been described, but the mode in which the camera unit is fixed is not limited to this. Not done. For example, a mounting rail is provided between the first substrate 230 and the second substrate 231, a recess is provided in the upper portion of the cancel shooter 206, and the mounting rail is fitted into this recess, and then the mounting rail and the cancel shooter 206 are provided. May be fixed with screws or an adhesive.

<パチスロの回路構成>
次に、パチスロ1が備える回路の構成について、図13〜図20を参照して説明する。まず、図13を参照してパチスロ1が備える回路全体の概要について説明する。図13は、パチスロ1が備える回路全体のブロック構成図である。
<Pachislot circuit configuration>
Next, the configuration of the circuit included in the pachi-slot 1 will be described with reference to FIGS. First, an overview of the entire circuit of the pachi-slot 1 will be described with reference to FIG. FIG. 13 is a block configuration diagram of the entire circuit included in the pachi-slot 1.

パチスロ1は、ミドルドア41に配設された主制御基板71と、フロントドア2bに配設された副制御基板72を有している。主制御基板71には、リール中継端子板74と、設定用鍵型スイッチ56と、外部集中端子板47と、ホッパー装置51と、メダル補助収納庫スイッチ75と、電源装置53の電源基板53bが接続されている。設定用鍵型スイッチ56、外部集中端子板47、ホッパー装置51及びメダル補助収納庫スイッチ75は、キャビネット側中継基板44を介して主制御基板71に接続されている。外部集中端子板47及びホッパー装置51については、上述したため、説明を省略する。 The pachi-slot 1 has a main control board 71 arranged on the middle door 41 and a sub-control board 72 arranged on the front door 2b. On the main control board 71, there are a reel relay terminal board 74, a setting key type switch 56, an external centralized terminal board 47, a hopper device 51, a medal auxiliary storage switch 75, and a power supply board 53b of the power supply device 53. It is connected. The setting key type switch 56, the external centralized terminal plate 47, the hopper device 51, and the medal auxiliary storage switch 75 are connected to the main control board 71 via the cabinet side relay board 44. Since the external centralized terminal board 47 and the hopper device 51 have been described above, the description thereof will be omitted.

リール中継端子板74は、各リール3L、3C、3Rのリール本体の内側に配設されている。このリール中継端子板74は、各リール3L、3C、3Rのステッピングモータ(不図示)に電気的に接続されており、主制御基板71からステッピングモータに出力される信号を中継する。 The reel relay terminal plate 74 is arranged inside the reel bodies of the reels 3L, 3C, 3R. The reel relay terminal plate 74 is electrically connected to a stepping motor (not shown) of each reel 3L, 3C, 3R and relays a signal output from the main control board 71 to the stepping motor.

メダル補助収納庫スイッチ75は、メダル補助収納庫52のスイッチ貫通孔(非表示)を貫通している。このメダル補助収納庫スイッチ75は、メダル補助収納庫52がメダルで満杯になっているか否かを検出する。 The medal auxiliary storage case switch 75 penetrates a switch through hole (not shown) of the medal auxiliary storage case 52. The medal auxiliary storage switch 75 detects whether or not the medal auxiliary storage 52 is full of medals.

電源装置53の電源基板53bには、電源スイッチ53aが接続されている。この電源スイッチ53aは、パチスロ1に必要な電源を供給するときにONにする。 A power switch 53a is connected to a power board 53b of the power supply device 53. The power switch 53a is turned on when the pachi-slot 1 is supplied with necessary power.

また、主制御基板71には、ドア中継端子板68を介して、メダルセレクタ201、ドア開閉監視スイッチ67、BETスイッチ77、精算スイッチ78、スタートスイッチ79、ストップスイッチ基板80、遊技動作表示基板81及び副中継基板61が接続されている。ドア開閉監視スイッチ67及び副中継基板61については、上述したため、説明を省略する。メダルセレクタ201の回路構成については後述する。 Further, on the main control board 71, via the door relay terminal board 68, the medal selector 201, the door opening/closing monitoring switch 67, the BET switch 77, the settlement switch 78, the start switch 79, the stop switch board 80, the game operation display board 81. And the sub relay board 61 is connected. Since the door open/close monitor switch 67 and the sub relay board 61 have been described above, the description thereof will be omitted. The circuit configuration of the medal selector 201 will be described later.

BETスイッチ77は、BETボタン22が遊技者により押されたことを検出する。精算スイッチ78は、精算ボタン27が遊技者により押されたことを検出する。スタートスイッチ79は、スタートレバー23が遊技者により操作されたこと(開始操作)を検出する。 The BET switch 77 detects that the BET button 22 has been pressed by the player. The settlement switch 78 detects that the settlement button 27 has been pressed by the player. The start switch 79 detects that the start lever 23 has been operated by the player (start operation).

ストップスイッチ基板80は、回転しているリールを停止させるための回路と、停止可能なリールをLEDなどにより表示するための回路を構成する基板である。このストップスイッチ基板80には、ストップスイッチが設けられている。ストップスイッチは、各ストップボタン19L、19C、19Rが遊技者により押されたこと(停止操作)を検出する。 The stop switch board 80 is a board that constitutes a circuit for stopping a rotating reel and a circuit for displaying a stoppable reel by means of an LED or the like. The stop switch board 80 is provided with a stop switch. The stop switch detects that the stop buttons 19L, 19C, 19R are pressed by the player (stop operation).

遊技動作表示基板81は、メダルの投入を受け付けるとき、3つのリール3L、3C、3Rが回動可能なとき及び再遊技を行うときに、投入されたメダルの枚数を7セグ表示器24に表示させるための基板である。この遊技動作表示基板81には、7セグ表示器24とLED82が接続されている。LED82は、例えば、遊技の開始を表示するマークや再遊技を行うマークなどを点灯させる。 The game operation display board 81 displays the number of inserted medals on the 7-segment display 24 when receiving the insertion of medals, when the three reels 3L, 3C, and 3R are rotatable and when replaying. It is a substrate for making. The 7-segment display 24 and the LED 82 are connected to the game operation display board 81. The LED 82 lights, for example, a mark indicating the start of a game or a mark for performing a re-game.

副制御基板72は、ドア中継端子板68と副中継基板61を介して主制御基板71に接続されている。この副制御基板72には、副中継基板61を介して、サウンドI/O基板84、LED基板62A、62B、62C、24hドア開閉監視ユニット63が接続されている。これらLED基板62A、62B、62C及び24hドア開閉監視ユニット63については、上述したため、説明を省略する。 The sub control board 72 is connected to the main control board 71 via the door relay terminal board 68 and the sub relay board 61. A sound I/O board 84, LED boards 62A, 62B, 62C, and a 24h door opening/closing monitoring unit 63 are connected to the sub control board 72 via a sub relay board 61. The LED boards 62A, 62B, 62C and the 24h door opening/closing monitoring unit 63 have been described above, and thus the description thereof will be omitted.

サウンドI/O基板84は、センタースピーカ58、ボードスピーカ64、下部スピーカ65L、65R及びフロントドア2bに設けられた不図示のスピーカへの音声の出力を行う。 The sound I/O board 84 outputs sound to a center speaker 58, a board speaker 64, lower speakers 65L and 65R, and speakers (not shown) provided on the front door 2b.

また、副制御基板72には、ロムカートリッジ基板86と、液晶中継基板87が接続されている。これらロムカートリッジ基板86及び液晶中継基板87は、副制御基板72と共に副制御基板ケース57に収納されている。ロムカートリッジ基板86は、演出用の画像(映像)、音声、LED基板62A、62B及びその他のLED基板(不図示)、通信のデータを管理するための基板である。液晶中継基板87は、副制御基板72と液晶表示装置11とを接続する配線を中継する基板である。 A ROM cartridge substrate 86 and a liquid crystal relay substrate 87 are connected to the sub control substrate 72. The ROM cartridge board 86 and the liquid crystal relay board 87 are housed in the sub control board case 57 together with the sub control board 72. The ROM cartridge board 86 is a board for managing images for production (video), sound, LED boards 62A and 62B, other LED boards (not shown), and communication data. The liquid crystal relay board 87 is a board that relays the wiring that connects the sub-control board 72 and the liquid crystal display device 11.

[主制御回路]
次に、主制御基板71により構成される主制御回路91について、図14を参照して説明する。図14は、パチスロ1の主制御回路91の構成例を示すブロック図である。
[Main control circuit]
Next, the main control circuit 91 configured by the main control board 71 will be described with reference to FIG. FIG. 14 is a block diagram showing a configuration example of the main control circuit 91 of the pachi-slot 1.

主制御回路91は、主制御基板71上に設置されたマイクロコンピュータ92を主たる構成要素としている。マイクロコンピュータ92は、メインCPU93、メインROM94及びメインRAM95により構成される。メインCPU93と前述のホッパー装置51は、本発明の遊技媒体払出装置を構成している。 The main control circuit 91 has a microcomputer 92 installed on the main control board 71 as a main component. The microcomputer 92 includes a main CPU 93, a main ROM 94 and a main RAM 95. The main CPU 93 and the above-mentioned hopper device 51 constitute the game medium payout device of the present invention.

メインROM94には、メインCPU93により実行される制御プログラム(例えば、上述した内部抽籤処理の実行のためのプログラム)、データテーブル、副制御回路101に対して各種制御指令(コマンド)を送信するためのデータ等が記憶されている。メインRAM95には、制御プログラムの実行により決定された内部当籤役等の各種データを格納する格納領域が設けられる。 In the main ROM 94, a control program executed by the main CPU 93 (for example, a program for executing the above-mentioned internal lottery process), a data table, and various control commands (commands) to the sub-control circuit 101 are transmitted. Data and the like are stored. The main RAM 95 is provided with a storage area for storing various data such as an internal winning combination determined by executing the control program.

メインCPU93には、クロックパルス発生回路96、分周器97、乱数発生器98及びサンプリング回路99が接続されている。クロックパルス発生回路96及び分周器97は、クロックパルスを発生する。メインCPU93は、発生されたクロックパルスに基づいて、制御プログラムを実行する。乱数発生器98は、予め定められた範囲の乱数(例えば、0〜65535)を発生する。サンプリング回路99は、発生された乱数の中から1つの値を抽出する。 A clock pulse generation circuit 96, a frequency divider 97, a random number generator 98, and a sampling circuit 99 are connected to the main CPU 93. The clock pulse generation circuit 96 and the frequency divider 97 generate clock pulses. The main CPU 93 executes the control program based on the generated clock pulse. The random number generator 98 generates a random number in a predetermined range (for example, 0 to 65535). The sampling circuit 99 extracts one value from the generated random numbers.

メインCPU93は、リールインデックスを検出してから各リール3L、3C、3Rのステッピングモータに対してパルスを出力した回数をカウントする。これにより、メインCPU93は、各リール3L、3C、3Rの回転角度(主に、リールが図柄何個分だけ回転したか)を管理する。なお、リールインデックスとは、リールが一回転したことを示す情報である。このリールインデックスは、例えば、発光部及び受光部を有する光センサと、各リール3L、3C、3Rの所定の位置に設けられ、各リール3L、3C、3Rの回転により発光部と受光部との間に介在される検知片を備えたリール位置検出部(不図示)により検出する。 After detecting the reel index, the main CPU 93 counts the number of times pulses are output to the stepping motors of the reels 3L, 3C, 3R. Thereby, the main CPU 93 manages the rotation angle of each reel 3L, 3C, 3R (mainly, how many symbols the reel has rotated). The reel index is information indicating that the reel has rotated once. The reel index is provided, for example, at a predetermined position of each reel 3L, 3C, 3R with an optical sensor having a light emitting unit and a light receiving unit, and the rotation of each reel 3L, 3C, 3R makes the light emitting unit and the light receiving unit. It is detected by a reel position detection unit (not shown) having a detection piece interposed therebetween.

ここで、各リール3L、3C、3Rの回転角度の管理について、具体的に説明する。ステッピングモータに対して出力されたパルスの数は、メインRAM95に設けられたパルスカウンタによって計数される。そして、図柄1つ分の回転に必要な所定回数(例えば16回)のパルスの出力がパルスカウンタで計数される毎に、メインRAM95に設けられた図柄カウンタが1ずつ加算される。図柄カウンタは、各リール3L、3C、3Rに応じて設けられている。図柄カウンタの値は、リール位置検出部(不図示)によってリールインデックスが検出されるとクリアされる。 Here, the management of the rotation angle of each reel 3L, 3C, 3R will be specifically described. The number of pulses output to the stepping motor is counted by a pulse counter provided in the main RAM 95. Then, each time the pulse counter counts a predetermined number of times (for example, 16 times) of pulse output required to rotate one symbol, the symbol counter provided in the main RAM 95 is incremented by one. The symbol counter is provided for each reel 3L, 3C, 3R. The value of the symbol counter is cleared when the reel index is detected by the reel position detector (not shown).

つまり、本実施の形態では、図柄カウンタを管理することにより、リールインデックスが検出されてから図柄何個分の回転が行われたのかを管理するようになっている。したがって、各リール3L、3C、3Rの各図柄の位置は、リールインデックスが検出される位置を基準として検出される。 That is, in the present embodiment, by managing the symbol counter, the number of symbols rotated after the reel index is detected is managed. Therefore, the position of each symbol on each reel 3L, 3C, 3R is detected with reference to the position at which the reel index is detected.

上述したように、滑り駒数の最大数を図柄4個分に定めた場合は、左ストップボタン19Lが押されたときにリール表示窓4の中段にある左リール3Lの図柄と、その4個先の図柄までの範囲内にある各図柄が、リール表示窓4の中段に停止可能な図柄となる。 As described above, when the maximum number of sliding pieces is set to 4 symbols, the symbol of the left reel 3L in the middle stage of the reel display window 4 when the left stop button 19L is pressed, and the 4 symbols Each symbol within the range up to the previous symbol is a symbol that can be stopped in the middle stage of the reel display window 4.

[副制御回路]
次に、副制御基板72により構成される副制御回路101について、図15を参照して説明する。図15は、パチスロ1の副制御回路101の構成例を示すブロック図である。
[Sub control circuit]
Next, the sub control circuit 101 configured by the sub control board 72 will be described with reference to FIG. FIG. 15 is a block diagram showing a configuration example of the sub control circuit 101 of the pachi-slot 1.

副制御回路101は、主制御回路91と電気的に接続されており、主制御回路91から送信されるコマンドに基づいて演出内容の決定や実行等の処理を行う。副制御回路101は、基本的に、サブCPU102、サブRAM103、レンダリングプロセッサ104、描画用RAM105、ドライバ106を含んで構成されている。 The sub control circuit 101 is electrically connected to the main control circuit 91, and performs processing such as determination and execution of effect contents based on a command transmitted from the main control circuit 91. The sub control circuit 101 basically includes a sub CPU 102, a sub RAM 103, a rendering processor 104, a drawing RAM 105, and a driver 106.

サブCPU102は、主制御回路91から送信されたコマンドに応じて、ロムカートリッジ基板86に記憶されている制御プログラムに従い、映像、音、光の出力の制御を行う。ロムカートリッジ基板86は、基本的に、プログラム記憶領域とデータ記憶領域によって構成される。 The sub CPU 102 controls the output of video, sound, and light according to the control program stored in the ROM cartridge substrate 86 in response to the command transmitted from the main control circuit 91. The ROM cartridge board 86 basically includes a program storage area and a data storage area.

プログラム記憶領域には、サブCPU102が実行する制御プログラムが記憶されている。例えば、制御プログラムには、主制御回路91との通信を制御するための主基板通信タスクや、演出用乱数値を抽出し、演出内容(演出データ)の決定及び登録を行うための演出登録タスクが含まれる。また、決定した演出内容に基づいて液晶表示装置11(図2参照)による映像の表示を制御する描画制御タスク、LED85等の光源による光の出力を制御するランプ制御タスク、スピーカ58、64、65L、65R等のスピーカによる音の出力を制御する音声制御タスク等が含まれる。 A control program executed by the sub CPU 102 is stored in the program storage area. For example, in the control program, a main board communication task for controlling communication with the main control circuit 91, and a performance registration task for extracting a random number value for performance and determining and registering the performance content (performance data). Is included. In addition, a drawing control task that controls the display of an image by the liquid crystal display device 11 (see FIG. 2) based on the determined effect contents, a lamp control task that controls the output of light by a light source such as the LED 85, and speakers 58, 64, 65L. , 65R, and the like, including a voice control task for controlling the output of sound by a speaker.

データ記憶領域は、各種データテーブルを記憶する記憶領域、各演出内容を構成する演出データを記憶する記憶領域、映像の作成に関するアニメーションデータを記憶する記憶領域が含まれている。また、BGMや効果音に関するサウンドデータを記憶する記憶領域、光の点消灯のパターンに関するランプデータを記憶する記憶領域等が含まれている。 The data storage area includes a storage area for storing various data tables, a storage area for storing effect data constituting each effect content, and a storage area for storing animation data related to image creation. In addition, a storage area for storing sound data regarding BGM and sound effects, a storage area for storing lamp data regarding a pattern of turning on/off light, and the like are included.

サブRAM103は、決定された演出内容や演出データを登録する格納領域や、主制御回路91から送信される内部当籤役等の各種データを格納する格納領域が設けられている。 The sub RAM 103 is provided with a storage area for registering the determined effect contents and effect data, and a storage area for storing various data such as an internal winning combination transmitted from the main control circuit 91.

サブCPU102、レンダリングプロセッサ104、描画用RAM(フレームバッファを含む)105及びドライバ106は、演出内容により指定されたアニメーションデータに従って映像を作成し、作成した映像を液晶表示装置11に表示させる。 The sub CPU 102, the rendering processor 104, the drawing RAM (including a frame buffer) 105, and the driver 106 create an image according to the animation data specified by the effect contents, and display the created image on the liquid crystal display device 11.

また、サブCPU102は、演出内容により指定されたサウンドデータに従ってBGMなどの音をスピーカ58、64、65L、65R等のスピーカにより出力させる。また、サブCPU102は、演出内容により指定されたランプデータに従ってLED85等の光源の点灯及び消灯を制御する。 Further, the sub CPU 102 causes the speakers 58, 64, 65L, 65R and the like to output sounds such as BGM according to the sound data specified by the effect contents. Further, the sub CPU 102 controls turning on and off of the light source such as the LED 85 according to the lamp data designated by the contents of the effect.

<メダルセレクタの回路構成>
次に、メダルセレクタ201の回路構成について、図16を参照して説明する。図16は、メダルセレクタ201の回路構成例を示すブロック図である。
<Circuit configuration of medal selector>
Next, the circuit configuration of the medal selector 201 will be described with reference to FIG. FIG. 16 is a block diagram showing a circuit configuration example of the medal selector 201.

図16に示すように、メダルセレクタ201は、カメラユニット209とメダルソレノイド208を備えている。また、メダルセレクタ201は、ドア中継端子板68を介して、主制御基板71に接続されている。すなわちメダルセレクタ201は、主制御回路91と電気的に接続されている。したがって、主制御回路91は、メダルセレクタ201のメダルソレノイド208をON状態またはOFF状態に設定することができる。 As shown in FIG. 16, the medal selector 201 includes a camera unit 209 and a medal solenoid 208. Further, the medal selector 201 is connected to the main control board 71 via the door relay terminal plate 68. That is, the medal selector 201 is electrically connected to the main control circuit 91. Therefore, the main control circuit 91 can set the medal solenoid 208 of the medal selector 201 to the ON state or the OFF state.

カメラユニット209は、制御LSI234、CMOSイメージセンサ232及びLED233で構成されている。カメラユニット209の制御LSI234は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field-programmable Gate Array)等の、画像処理制御専用のLSIとして構成され、CMOSイメージセンサ232及びLED233と電気的に接続されている。制御LSI234は、LED233の発光を制御する。また、制御LSI234は、CMOSイメージセンサ232から出力された画像データに基づいて、投入が正規メダルか否かを判別し、判別結果を、ドア中継端子板68を介して主制御基板71に出力する。なお、本実施形態において、採用されているCMOSイメージセンサ232は、解像度が648×488ピクセルであり、フレームレートが240fps(Frames Per Second)のCMOSイメージセンサであるが、このようなイメージセンサに限定される必要はない(CMOS以外の撮像装置も用いられ得る)。また、LED以外の発光装置を用いることもできる。 The camera unit 209 includes a control LSI 234, a CMOS image sensor 232, and an LED 233. The control LSI 234 of the camera unit 209 is configured as an LSI dedicated to image processing control, such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-programmable Gate Array), and is electrically connected to the CMOS image sensor 232 and the LED 233. Has been done. The control LSI 234 controls the light emission of the LED 233. Further, the control LSI 234 determines whether or not the insertion is a regular medal based on the image data output from the CMOS image sensor 232, and outputs the determination result to the main control board 71 via the door relay terminal board 68. .. The CMOS image sensor 232 used in the present embodiment is a CMOS image sensor having a resolution of 648×488 pixels and a frame rate of 240 fps (Frames Per Second), but is not limited to such an image sensor. It need not be done (an imager other than CMOS could also be used). A light emitting device other than the LED can also be used.

[制御LSIの回路構成]
次に、制御LSI234の回路構成について、図17〜図20を参照して説明する。図17は、制御LSI234の回路構成例を示すブロック図である。図18は、制御LSI234を含むカメラユニット209の機能ブロック図であり、図19は、正規メダルを説明するための図であり、図19Aは正規メダルの一面を示し、図19Bは正規メダルの画像データを示している。また、図20は正規メダルに係る勾配平均画像データの生成(合成)を説明するための図である。なお、カメラユニット209は、LED等からなる発光部を備えるが、図18では図示を省略する。
[Circuit configuration of control LSI]
Next, the circuit configuration of the control LSI 234 will be described with reference to FIGS. FIG. 17 is a block diagram showing a circuit configuration example of the control LSI 234. FIG. 18 is a functional block diagram of the camera unit 209 including the control LSI 234, FIG. 19 is a diagram for explaining a regular medal, FIG. 19A shows one side of the regular medal, and FIG. 19B is an image of the regular medal. Shows the data. In addition, FIG. 20 is a diagram for explaining generation (combination) of gradient average image data for regular medals. Note that the camera unit 209 includes a light emitting unit including an LED or the like, but the illustration thereof is omitted in FIG. 18.

制御LSI234は、ホストコントローラ241、画像認識DSP(digital signal processor)回路242、SRAM(Static Random Access Memory)243、フラッシュメモリ244、ISP(Image Signal Processing)回路245及びメダルカウント回路246を備えている。また、制御LSI234は、カラー認識回路247、魚眼補正スケーラ回路248、画像認識アクセラレータ回路249、及びGPIO(General Purpose Input/Output)250を備えている。これら制御LSI234を構成するデバイスは、バスを介して相互に接続されおり、本実施形態の制御LSI234では、バスのプロトコルとしてAXI(Advanced eXtensible Interface)が採用されている。 The control LSI 234 includes a host controller 241, an image recognition DSP (digital signal processor) circuit 242, an SRAM (Static Random Access Memory) 243, a flash memory 244, an ISP (Image Signal Processing) circuit 245, and a medal count circuit 246. The control LSI 234 also includes a color recognition circuit 247, a fisheye correction scaler circuit 248, an image recognition accelerator circuit 249, and a GPIO (General Purpose Input/Output) 250. The devices forming the control LSI 234 are connected to each other via a bus, and the control LSI 234 of the present embodiment employs AXI (Advanced eXtensible Interface) as a bus protocol.

また、制御LSI234は、ISI(Image Sensor Interface)回路251を備えている。ISI回路251は、CMOSイメージセンサ232とISP回路に電気的に接続されている。ISI回路251は、CMOSイメージセンサ232からLVDS(Low voltage differential signaling)方式で出力された画像データをRGBベイヤ画像に変換して、ISP回路245に出力する。 Further, the control LSI 234 includes an ISI (Image Sensor Interface) circuit 251. The ISI circuit 251 is electrically connected to the CMOS image sensor 232 and the ISP circuit. The ISI circuit 251 converts the image data output from the CMOS image sensor 232 by the LVDS (Low voltage differential signaling) method into an RGB Bayer image and outputs the RGB Bayer image to the ISP circuit 245.

ここで、CMOSイメージセンサ232とISI回路251(及びISI回路251を制御するホストコントローラ241)は、図18に示す撮像部261に対応する。撮像部261から後述する変換部263に、撮像画像262が送出される(撮像画像262は、この例では、ISI回路251から出力されるRGBベイヤ画像である)。 Here, the CMOS image sensor 232 and the ISI circuit 251 (and the host controller 241 that controls the ISI circuit 251) correspond to the imaging unit 261 shown in FIG. A captured image 262 is sent from the image capturing unit 261 to a conversion unit 263 described later (the captured image 262 is an RGB Bayer image output from the ISI circuit 251 in this example).

ISP回路245は、ISI回路251からRGBベイヤ画像を受信すると、VSYNC(Vertical Synchronization)割込信号を、ホストコントローラ241に出力する。また、ISP回路245は、ISI回路251から出力されたRGBベイヤ画像を各種フォーマットに変換する変換処理を行う。変換処理において、ISP回路245は、RGBベイヤ画像をY(各ピクセルの輝度)に変換し、変換した画像データをSRAM243に記憶させる。また、ISP回路245は、RGBベイヤ画像を、YUV色空間に対応する画像データ(YUV画像データ)に変換し、このYUV画像データにおける輝度に係るデータをメダルカウント回路246に出力する。また、ISP回路245は、RGBベイヤ画像を、HSV色空間に対応する画像データ(HSV画像データ)に変換し、このHSV画像データにおける色相と彩度に係るデータをカラー認識回路247に出力する。 Upon receiving the RGB Bayer image from the ISI circuit 251, the ISP circuit 245 outputs a VSYNC (Vertical Synchronization) interrupt signal to the host controller 241. The ISP circuit 245 also performs conversion processing for converting the RGB Bayer image output from the ISI circuit 251 into various formats. In the conversion process, the ISP circuit 245 converts the RGB Bayer image into Y (luminance of each pixel), and stores the converted image data in the SRAM 243. Further, the ISP circuit 245 converts the RGB Bayer image into image data (YUV image data) corresponding to the YUV color space, and outputs the data relating to the luminance in this YUV image data to the medal count circuit 246. Further, the ISP circuit 245 converts the RGB Bayer image into image data (HSV image data) corresponding to the HSV color space, and outputs the data relating to the hue and the saturation in this HSV image data to the color recognition circuit 247.

ここで、ISP回路245の一部(少なくとも、RGBベイヤ画像を、YUV色空間に対応する画像データ(YUV画像データ)に変換する処理機能部)、及びこれを制御するホストコントローラ241は、図18の変換部263に対応する。 Here, a part of the ISP circuit 245 (at least a processing function unit that converts an RGB Bayer image into image data (YUV image data) corresponding to the YUV color space) and the host controller 241 that controls the image data are shown in FIG. Of the conversion unit 263.

メダルカウント回路246は、ISP回路245から出力された輝度に係るデータに基づいてカウント処理を行う。カウント処理において、メダルカウント回路246は、画像における所定の領域であるカウント領域の輝度に係るデータと、カウントしきい値とを比較し、背景差分法によってメダルが通過したか否かを判定する。カウントしきい値とは、正規メダルの画像におけるカウント領域の輝度に係るデータに基づいて予め定められているしきい値である。メダルカウント回路246は、差分が小さければメダルが通過したと判定し、差分が大きければメダルが通過していない(メダル以外のものが通過した)と判定する。そして、メダルカウント回路246は、判定結果をSRAM243に記憶させる。なお、カウント領域は、パチスロ1が正規メダルとして用いるメダルに応じて任意に設定可能であるが、メダルの回転角度が輝度の差分に大きな影響を与えないに領域に設定するのが好ましい。例えば、図19Aに示すような、両面に同じ刻印(模様)が施されている正規メダル280を用いる場合、この正規メダル280の画像データ282(図19B参照)では、領域内における正規メダルの一方の面に施された刻印(模様)がメダルの回転角度によって変化しない、すなわち、メダルの回転角度が輝度の差分に大きな影響を与えないに場所(図19Bの領域283)をカウント領域として設定するのが好ましい。また、カウント領域の範囲が狭いほど、カウント処理を高速化させることができる。 The medal counting circuit 246 performs a counting process based on the brightness-related data output from the ISP circuit 245. In the counting process, the medal counting circuit 246 compares the data relating to the luminance of the count area, which is a predetermined area in the image, with the count threshold value, and determines whether or not the medal has passed by the background difference method. The count threshold value is a threshold value that is predetermined based on the data relating to the brightness of the count area in the image of the regular medal. The medal counting circuit 246 determines that the medal has passed if the difference is small, and determines that the medal has not passed (if something other than the medal has passed) if the difference is large. Then, the medal counting circuit 246 stores the determination result in the SRAM 243. The count area can be arbitrarily set according to the medals used by the pachi-slot 1 as a regular medal, but it is preferable to set the count area so that the rotation angle of the medals does not significantly affect the brightness difference. For example, when a regular medal 280 having the same markings (patterns) on both sides as shown in FIG. 19A is used, one of the regular medals in the area is shown in the image data 282 of the regular medal 280 (see FIG. 19B). The place (area 283 in FIG. 19B) is set as the count area so that the markings (patterns) on the surface do not change depending on the rotation angle of the medal, that is, the rotation angle of the medal does not significantly affect the difference in brightness. Is preferred. Also, the narrower the range of the count area, the faster the counting process can be.

カラー認識回路247は、ISP回路245から出力された色相と彩度に係るデータに基づいて色判定処理を行う。色判定処理において、カラー認識回路247は、まず、画像データの中心付近の色相と彩度に係るデータの積算値をベクトルで表現し(ベクトル変換し)、3次元空間上でベクトルの角度を計算する。次に、カラー認識回路247は、計算したベクトルの角度と、所定の色しきい値とを比較して、正規メダルの色と一致するか否かを判定する。所定のしきい値は、正規メダルに係る画像データについて上述した処理と同様の方法で計算したベクトルの角度に基づいて予め定められているしきい値(例えば、比較対象となる正規メダルに係る3次元空間上のベクトルの個々の座標(XYZ)上の角度の±10度以内)である。そして、カラー認識回路247は、判定結果をSRAM243に記憶させる。 The color recognition circuit 247 performs color determination processing based on the hue and saturation data output from the ISP circuit 245. In the color determination process, the color recognition circuit 247 first expresses the integrated value of the data relating to the hue and saturation near the center of the image data as a vector (vector conversion) and calculates the angle of the vector in the three-dimensional space. To do. Next, the color recognition circuit 247 compares the calculated angle of the vector with a predetermined color threshold value and determines whether or not the color matches the color of the regular medal. The predetermined threshold value is a predetermined threshold value based on the angle of the vector calculated by the same method as the above-described process for the image data of the regular medals (for example, 3 for the regular medals to be compared). It is within ±10 degrees of the angle on each coordinate (XYZ) of the vector in the dimensional space). Then, the color recognition circuit 247 stores the determination result in the SRAM 243.

魚眼補正スケーラ回路248は、SRAM243からRGBベイヤ画像をY(各ピクセルの輝度)変換した画像データを取得し、魚眼補正処理を行う。魚眼補正処理において、魚眼補正スケーラ回路248は、取得した画像データを魚眼補正し、1/2、1/4、1/8に縮小した縮小画像データを作成する。そして、魚眼補正スケーラ回路248は、作成した縮小画像データをSRAM243に記憶させる。 The fisheye correction scaler circuit 248 acquires image data obtained by Y (luminance of each pixel) conversion of the RGB Bayer image from the SRAM 243 and performs fisheye correction processing. In the fisheye correction process, the fisheye correction scaler circuit 248 performs fisheye correction on the acquired image data and creates reduced image data reduced to 1/2, 1/4, and 1/8. Then, the fish-eye correction scaler circuit 248 stores the created reduced image data in the SRAM 243.

魚眼補正スケーラ回路248、及びこれを制御するホストコントローラ241は、図18の変換部263に含まれる。 The fisheye correction scaler circuit 248 and the host controller 241 that controls the scaler circuit 248 are included in the conversion unit 263 in FIG. 18.

画像認識DSP回路242は、SRAM243から縮小画像データ(本実施形態では、1/4に縮小した縮小画像データ)を取得し、前処理を行う。前処理において、画像認識DSP回路242は、取得した縮小画像データを、非線形拡散フィルタを通してエッジ画像データに変換し、エッジ画像データをSRAM243に記憶させる。 The image recognition DSP circuit 242 acquires reduced image data (in the present embodiment, reduced image data reduced to 1/4) from the SRAM 243 and performs preprocessing. In the pre-processing, the image recognition DSP circuit 242 converts the acquired reduced image data into edge image data through a non-linear diffusion filter and stores the edge image data in the SRAM 243.

ここで、画像認識DSP回路242の一部(上述の、取得した縮小画像データを、非線形拡散フィルタを通してエッジ画像データに変換する処理機能部)、及びこれを制御するホストコントローラ241は、図18の変換部263に含まれる。 Here, a part of the image recognition DSP circuit 242 (the above-mentioned processing function unit for converting the acquired reduced image data into edge image data through a non-linear diffusion filter) and the host controller 241 for controlling the same are shown in FIG. It is included in the conversion unit 263.

画像認識アクセラレータ回路249は、勾配平均画像データを作成する回転積算処理を行う。回転積算処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像データを取得し、取得したエッジ画像データ(例えば、図19Bに示す画像データ282)を、例えば、1度単位で回転させて生成した360度分の画像データを積算させて(重ね合わせて)勾配平均画像データを生成する。画像認識アクセラレータ回路249によって生成された勾配平均画像データは、SRAM243に記憶される。勾配平均画像データが生成(合成)される例として、図19Aに示す正規メダル280の勾配平均画像データ285を図20に示す。勾配平均画像データ285は、「A」の形状のエッジ画像データが、例えば360度回転しながら積算される(すなわち、360回積算される)画像データとなるが、ここではこれを、簡略化して示すものとする。なお、画像認識アクセラレータ回路249の、勾配平均画像データを生成する処理機能部、及びこれを制御するホストコントローラ241は、図18の特徴画像生成部264に対応する。 The image recognition accelerator circuit 249 performs rotation integration processing to create gradient average image data. In the rotation integration processing, the image recognition accelerator circuit 249 acquires the edge image data from the SRAM 243, and generates the acquired edge image data (for example, the image data 282 shown in FIG. 19B) by rotating it once, for example. Image data for 360 degrees is integrated (superposed) to generate gradient average image data. The gradient average image data generated by the image recognition accelerator circuit 249 is stored in the SRAM 243. As an example of generating (combining) the gradient average image data, FIG. 20 shows the gradient average image data 285 of the regular medal 280 shown in FIG. 19A. The gradient average image data 285 is image data in which the edge image data in the shape of “A” is integrated while rotating, for example, 360 degrees (that is, integrated 360 times). Here, this is simplified. Shall be shown. The processing function unit of the image recognition accelerator circuit 249 that generates the gradient average image data and the host controller 241 that controls the processing function unit correspond to the characteristic image generation unit 264 of FIG. 18.

また、画像認識DSP回路242は、メダルの刻印(模様)が正規メダルの刻印と一致するか否かを判定する刻印判定処理を行う。刻印判定処理において、画像認識DSP回路242は、画像認識アクセラレータ回路249が回転積算処理で作成した勾配平均画像データをSRAM243から取得する。次に、画像認識DSP回路242は、取得した勾配平均画像データと、刻印判定処理用のテンプレートデータ(例えば、予め用意したSRAM243またはフラッシュメモリ244に記憶されている正規メダルの勾配平均画像データ)との差分を算出する。そして、画像認識DSP回路242は、算出した差分値と刻印判定用のしきい値とに基づいてメダルの刻印が正規メダルの刻印と一致するか否かを判定し、判定結果をSRAM243に記憶させる。例えば、画像認識DSP回路242は、取得した勾配平均画像データとテンプレートデータとの各画素における輝度を比較し、一致するか否か(多諧調の場合は差分が所定の範囲以内か)を判定し、一致する(差分が所定範囲内)画素が一定数以上ある場合は、メダルの刻印(模様)が正規メダルの刻印と一致すると判定し、一致する画素が一定数に満たない場合はメダルの刻印(模様)が正規メダルの刻印と一致しないと判定する。なお、このような、画像認識DSP回路242の、刻印判定処理に係る処理機能部、及びこれを制御するホストコントローラ241は、図18に示す判定部265に対応し、テンプレートデータは、テンプレートデータ267に対応する。 Further, the image recognition DSP circuit 242 performs marking determination processing for determining whether the marking (pattern) of the medal matches the marking of the regular medal. In the marking determination process, the image recognition DSP circuit 242 acquires from the SRAM 243 the gradient average image data created by the image recognition accelerator circuit 249 in the rotation integration process. Next, the image recognition DSP circuit 242 stores the acquired gradient average image data and the template data for the marking determination process (for example, the gradient average image data of regular medals stored in the SRAM 243 or the flash memory 244 prepared in advance). To calculate the difference. Then, the image recognition DSP circuit 242 determines whether the marking of the medal matches the marking of the regular medal based on the calculated difference value and the threshold value for marking determination, and stores the determination result in the SRAM 243. .. For example, the image recognition DSP circuit 242 compares the brightness of each pixel of the acquired gradient average image data and the template data, and determines whether they match (in the case of multi-tone, the difference is within a predetermined range). , If the number of matching pixels (the difference is within a predetermined range) is a certain number or more, it is determined that the marking (pattern) of the medal matches the marking of the regular medal, and if the number of matching pixels is less than the certain number, the marking of the medal is performed. It is determined that the (pattern) does not match the marking of the regular medal. Note that the processing function unit related to the marking determination process of the image recognition DSP circuit 242 and the host controller 241 that controls the processing function unit correspond to the determination unit 265 shown in FIG. 18, and the template data is the template data 267. Corresponding to.

上述の刻印判定処理等を行う画像認識DSP回路242やホストコントローラ241は、プログラム(シーケンスプログラム)によって動作し、これらのプログラムは、例えば、SRAM243やフラッシュメモリ244に記憶される。また、テンプレートデータは、例えば、SRAM243に記憶される。 The image recognition DSP circuit 242 and the host controller 241 that perform the above-described marking determination processing operate by programs (sequence programs), and these programs are stored in, for example, the SRAM 243 or the flash memory 244. The template data is stored in the SRAM 243, for example.

ホストコントローラ241は、各デバイスすなわちメダルカウント回路246、カラー認識回路247、魚眼補正スケーラ回路248、画像認識DSP回路242、画像認識アクセラレータ回路249、GPIO250の制御を行う。また、ホストコントローラ241は、GPIO250を介して、LED233へ点灯指示や消灯指示に係る信号を出力する。また、ホストコントローラ241は、GPIO250を介して、SRAM243に記憶されているカウント処理に係る判定結果、色判定処理に係る判定結果、刻印判定処理に係る判定結果を出力する。なお、上述の、色判定処理または刻印判定処理に係る判定結果を出力するGPIO250とこれを制御するホストコントローラ241は、図18に示す入出力部266に対応し、判定結果は、図18の判定結果268に対応する。 The host controller 241 controls each device, that is, the medal count circuit 246, the color recognition circuit 247, the fisheye correction scaler circuit 248, the image recognition DSP circuit 242, the image recognition accelerator circuit 249, and the GPIO 250. Further, the host controller 241 outputs a signal related to a lighting instruction or a light extinguishing instruction to the LED 233 via the GPIO 250. Further, the host controller 241 outputs the determination result regarding the count process, the determination result regarding the color determination process, and the determination result regarding the marking determination process stored in the SRAM 243 via the GPIO 250. The GPIO 250 that outputs the determination result of the color determination process or the marking determination process and the host controller 241 that controls the GPIO 250 described above correspond to the input/output unit 266 illustrated in FIG. 18, and the determination result is the determination of FIG. Corresponds to result 268.

フラッシュメモリ244には、ホストコントローラ241、画像認識DSP回路242、魚眼補正スケーラ回路248、画像認識アクセラレータ回路249が各種処理に用いるパラメータやデータ(上述のテンプレートデータを含む)が記憶されている。 The flash memory 244 stores parameters and data (including the above template data) used by the host controller 241, the image recognition DSP circuit 242, the fisheye correction scaler circuit 248, and the image recognition accelerator circuit 249 for various processes.

次に、図21を参照して、制御LSI234が行う、メダルレール210上を移動する物体が正規メダルか否かを判別するための処理(以下、「正規メダル判別処理」と称する場合がある)について説明する。 Next, with reference to FIG. 21, a process performed by the control LSI 234 to determine whether or not the object moving on the medal rail 210 is a regular medal (hereinafter, may be referred to as “regular medal determination process”). Will be described.

図21は、制御LSI234の正規メダル判別処理を説明するための図である。図21は、制御LSI234を構成する各デバイスにおける処理の関係を時系列的に示しており、各デバイス名の下方に延在する垂直線における比較的太線の部分は、そのデバイスが上述した各種処理を行っている状態であることを示している。また、各デバイスに対応する線からホストコントローラにおける「IN」の下方に延在する垂直線に向かって延びる破線矢印は、各デバイスからホストコントローラ241へ出力される割込信号を示している。また、ホストコントローラにおける「OUT」の下方に延在する垂直線から各デバイスに対応する線に向かって延びる破線矢印は、ホストコントローラ241から各デバイスに出力される信号を示している。また、ホストコントローラにおける「IN」の下方に延在する垂直線と「OUT」の下方に延在する垂直線との間の実線矢印は、ホストコントローラ241が検知した割込信号とホストコントローラ241から出力される信号との対応関係を示している。なお、図21は、メダル投入口21(図2参照)に6枚のメダルが連続して投入された場合の正規メダル判別処理を示している。また、何枚目のメダルに係る信号なのかが明確になるように、各信号に付した符号の先頭には、メダルの投入順を表す数字を付している。例えば、1枚目のメダルに係る後述するISP回路245からホストコントローラ241に出力されるVSYNC割込信号には、「1IH」という符号を付し、2枚目のメダルに係る同様のVSYNC割込信号には、「2IH」という符号を付した。 FIG. 21 is a diagram for explaining the regular medal determination process of the control LSI 234. FIG. 21 shows a time-series relationship of processing in each device that constitutes the control LSI 234. The comparatively thick line portion of the vertical line extending below each device name indicates the various processing described by the device. It shows that it is performing the. Further, a dashed arrow extending from a line corresponding to each device to a vertical line extending below “IN” in the host controller indicates an interrupt signal output from each device to the host controller 241. In addition, a dashed arrow extending from a vertical line extending below “OUT” in the host controller toward a line corresponding to each device indicates a signal output from the host controller 241 to each device. In addition, a solid line arrow between a vertical line extending below “IN” and a vertical line extending below “OUT” in the host controller indicates from the interrupt signal detected by the host controller 241 and the host controller 241. The correspondence with the output signal is shown. Note that FIG. 21 shows a regular medal determination process when six medals are continuously inserted into the medal insertion slot 21 (see FIG. 2). In addition, in order to clarify what number of medals is related to the signal, a number indicating the order of inserting the medals is added to the head of the code attached to each signal. For example, a VSYNC interrupt signal output to the host controller 241 from the ISP circuit 245, which will be described later, for the first medal is denoted by "1IH", and the same VSYNC interrupt for the second medal is added. The signal is labeled with "2IH".

まず、CMOSイメージセンサ232(図17参照)がメダルレール210上を移動する物体(本例では1枚目のメダル)を撮像し、画像データを制御LSI234に出力すると、ISP回路245は、ISI回路251を介して画像データを取得(受信)し、VSYNC(Vertical Synchronization)割込信号を、ホストコントローラ241に出力する(1IH)。また、ISP回路245は、RGBベイヤ画像を各種フォーマットに変換する変換処理を行う。そして、変換後の画像データ及び画像データに係る色相及び彩度や輝度のデータをSRAM243、メダルカウント回路246、カラー認識回路247に出力する。なお、変換処理の詳細な説明については上述したため省略する。 First, when the CMOS image sensor 232 (see FIG. 17) images an object (the first medal in this example) moving on the medal rail 210 and outputs the image data to the control LSI 234, the ISP circuit 245 causes the ISI circuit to operate. Image data is acquired (received) via 251 and a VSYNC (Vertical Synchronization) interrupt signal is output to the host controller 241 (1IH). The ISP circuit 245 also performs conversion processing for converting the RGB Bayer image into various formats. Then, the converted image data and the hue, saturation, and luminance data related to the image data are output to the SRAM 243, the medal count circuit 246, and the color recognition circuit 247. The detailed description of the conversion process has been described above, and will be omitted.

カラー認識回路247は、ISP回路245からデータを受信すると色判定処理を行い、判定結果をSRAM243に記憶させ、また、ホストコントローラ241に色判定割込信号を出力する(1CH)。なお、色判定処理の詳細な説明については上述したため省略する。 Upon receiving data from the ISP circuit 245, the color recognition circuit 247 performs color determination processing, stores the determination result in the SRAM 243, and outputs a color determination interrupt signal to the host controller 241 (1CH). The detailed description of the color determination process has been described above, and will be omitted.

メダルカウント回路246は、ISP回路245からデータを受信するとカウント処理を行い、判定結果をSRAM243に記憶させ、また、ホストコントローラ241にメダルカウント割込信号を出力する(1MH)。なお、カウント処理の詳細な説明については上述したため省略する。 Upon receiving the data from the ISP circuit 245, the medal count circuit 246 performs a count process, stores the determination result in the SRAM 243, and outputs a medal count interrupt signal to the host controller 241 (1 MH). The detailed description of the counting process is omitted because it has been described above.

ホストコントローラ241は、色判定割込信号を検知すると、SRAM243から色判定処理の判定結果を取得し、GPIO250の割り付けPORTに出力する(1HG1)。すなわちホストコントローラ241は、色判定処理の判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する。 When detecting the color determination interrupt signal, the host controller 241 acquires the determination result of the color determination processing from the SRAM 243 and outputs it to the allocation PORT of the GPIO 250 (1HG1). That is, the host controller 241 outputs the determination result of the color determination process to the main control board 71 (main control circuit 91) via the GPIO 250.

ホストコントローラ241は、カウント割込信号を検知すると、SRAM243からカウント処理の判定結果を取得し、GPIO250の割り付けPORTに出力する(1HG2)。すなわちホストコントローラ241は、カウント処理の判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する。なお、カウント処理の判定結果が「メダルが通過した」である場合、主制御回路91は、投入されたメダルの枚数をメインCPU93が計数するために設けられたカウンタである投入枚数カウンタの値に1加算する。なお、投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をメインCPU93が計数するために設けられたカウンタであるクレジットカウンタの値に1加算する。クレジットカウンタが最大値(例えば、50)の場合は、主制御回路91は、メダルセレクタ201のメダルソレノイド208をOFF状態に設定する。これによって、セレクトプレート207が「排出位置」に位置付けされ、クレジットカウンタが最大値となった後で投入されたメダルをメダルシュート202に案内してメダル払出口32からメダルトレイユニット34に排出する。本実施形態では、投入枚数カウンタの値が規定値(例えば、2または3)のときに、スタートレバーが操作されると、メインCPU93は上述の内部抽籤処理を行う。 When detecting the count interrupt signal, the host controller 241 acquires the determination result of the count processing from the SRAM 243 and outputs it to the allocation PORT of the GPIO 250 (1HG2). That is, the host controller 241 outputs the determination result of the count process to the main control board 71 (main control circuit 91) via the GPIO 250. When the determination result of the counting process is “a medal has passed”, the main control circuit 91 sets the value of the inserted number counter, which is a counter provided for the main CPU 93 to count the number of inserted medals. Add one. When the value of the inserted number counter is the maximum value (for example, 3), 1 is added to the value of the credit counter which is a counter provided for the main CPU 93 to count the number of credited medals. When the credit counter has the maximum value (for example, 50), the main control circuit 91 sets the medal solenoid 208 of the medal selector 201 to the OFF state. As a result, the select plate 207 is positioned at the “discharging position” and the medals inserted after the credit counter reaches the maximum value are guided to the medal chute 202 and ejected from the medal payout opening 32 to the medal tray unit 34. In the present embodiment, when the start lever is operated when the value of the thrown-in number counter is a prescribed value (for example, 2 or 3), the main CPU 93 performs the above-mentioned internal lottery process.

魚眼補正スケーラ回路248は、ISP回路245が変換した画像データがSRAM243に記憶されると魚眼補正処理を行い、作成した縮小画像データをSRAM243に記憶させ、また、ホストコントローラ241に縮小終了割込信号を送信する(1SH)。なお、魚眼補正処理の詳細な説明については上述したため省略する。 The fish-eye correction scaler circuit 248 performs fish-eye correction processing when the image data converted by the ISP circuit 245 is stored in the SRAM 243, stores the reduced image data created in the SRAM 243, and also causes the host controller 241 to perform the reduction end allocation. Sending an embedded signal (1SH). The detailed description of the fish-eye correction process is omitted because it has been described above.

ホストコントローラ241によるカウント処理の判定結果のGPIO250への出(1HG2)と、魚眼補正スケーラ回路248による縮小終了割込信号を送信(1SH)との間には、ISP回路245による2枚目のメダルに係るVSYNC割込信号の出力(2IH)が発生している。しかし、各メダルに係る各種処理(カウント処理、色判定処理、刻印判定処理など)の判定結果などを記憶するためSRAM243の記憶領域は個別に設定されているため、データの上書きなどは発生しない。 Between the output of the determination result of the count processing by the host controller 241 to the GPIO 250 (1HG2) and the transmission of the reduction end interrupt signal by the fisheye correction scaler circuit 248 (1SH), the second image by the ISP circuit 245 is output. The VSYNC interrupt signal output (2IH) related to the medal is generated. However, since the storage area of the SRAM 243 is set individually for storing the determination results of various processes (count process, color determination process, marking determination process, etc.) related to each medal, data overwriting does not occur.

ホストコントローラ241は、縮小終了信号を検知すると、SRAM243を参照し、カウント処理の判定結果が「メダルが通過した」であり、また、色判定処理の判定結果が「正規メダルの色と一致する」であることを条件に、画像認識DSP回路242に前処理の開始を指示する(1HD)。 Upon detecting the reduction end signal, the host controller 241 refers to the SRAM 243, the determination result of the count processing is “a medal has passed”, and the determination result of the color determination processing is “matches with the color of the regular medal”. On condition that the above condition is satisfied, the image recognition DSP circuit 242 is instructed to start the preprocessing (1HD).

画像認識DSP回路242は、ホストコントローラ241からの指示に応じて前処理を行い、エッジ画像データをSRAM243に記憶させ、ホストコントローラ241に前処理終了割込信号を出力する(1DH1)。なお、前処理の詳細な説明については上述したため省略する。 The image recognition DSP circuit 242 performs preprocessing according to an instruction from the host controller 241, stores the edge image data in the SRAM 243, and outputs a preprocessing end interrupt signal to the host controller 241 (1DH1). The detailed description of the preprocessing is omitted because it has been described above.

ホストコントローラ241は、前処理完了割込信号を検知すると、画像認識アクセラレータ回路249に、回転積算処理の開始を指示する(1HA)。 Upon detecting the preprocessing completion interrupt signal, the host controller 241 instructs the image recognition accelerator circuit 249 to start the rotation integration processing (1HA).

画像認識アクセラレータ回路249は、ホストコントローラ241の指示に応じて回転積算処理を行い、勾配平均画像データをSRAM243に記憶させ、画像認識DSP回路242に積算終了割込信号を出力する(1AD)。なお、回転積算処理の詳細な説明については上述したため省略する。 The image recognition accelerator circuit 249 performs rotation integration processing according to an instruction from the host controller 241, stores the gradient average image data in the SRAM 243, and outputs an integration end interrupt signal to the image recognition DSP circuit 242 (1AD). The detailed description of the rotation integration processing is omitted because it has been described above.

画像認識DSP回路242は、積算終了割込信号を検知すると、SRAM243に記憶されている勾配平均画像データを取得し、刻印判定処理を行い、判定結果をSRAM243に記憶させる。そして、画像認識DSP回路242は、刻印判定終了割込信号をホストコントローラ241に出力する(1DH2)。 When the image recognition DSP circuit 242 detects the integration end interrupt signal, the image recognition DSP circuit 242 acquires the gradient average image data stored in the SRAM 243, performs marking determination processing, and stores the determination result in the SRAM 243. Then, the image recognition DSP circuit 242 outputs a marking determination end interrupt signal to the host controller 241 (1DH2).

ホストコントローラ241は、刻印判定終了割込信号を検知すると、SRAM243に記憶されている刻印判定処理の判定結果を取得し、GPIOの割り付けPORTに出力する(1HG3)。すなわちホストコントローラ241は、刻印判定処理の判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する。 When the host controller 241 detects the marking determination end interrupt signal, the host controller 241 acquires the determination result of the marking determination processing stored in the SRAM 243 and outputs it to the GPIO allocation PORT (1HG3). That is, the host controller 241 outputs the determination result of the marking determination process to the main control board 71 (main control circuit 91) via the GPIO 250.

図21に示すように、本実施形態においては、画像認識DSP回路242による前処理及び刻印判定処理、並びに画像認識アクセラレータ回路249による回転積算処理は、比較的時間がかかる。このため、メダルが連続して投入された場合、ホストコントローラ241は、縮小終了信号を検知すると、画像認識DSP回路242または画像認識アクセラレータ回路249が処理中(ビジー状態)か否かを確認し、いずれも処理中でない場合に、画像認識DSP回路242による前処理及び刻印判定処理並びに画像認識アクセラレータ回路249による回転積算処理の開始の指示を行う。 As shown in FIG. 21, in the present embodiment, the preprocessing and marking determination processing by the image recognition DSP circuit 242 and the rotation integration processing by the image recognition accelerator circuit 249 take a relatively long time. Therefore, when medals are continuously inserted, the host controller 241 confirms whether the image recognition DSP circuit 242 or the image recognition accelerator circuit 249 is in processing (busy state) when detecting the reduction end signal, If neither is being processed, the image recognition DSP circuit 242 gives an instruction to start preprocessing and marking determination processing, and the image recognition accelerator circuit 249 to start rotation integration processing.

したがって、本実施形態では、図21に示すように、2枚目及び3枚目のメダルに係る縮小終了信号(2SH及び3SH)をホストコントローラ241が検知する時、画像認識DSP回路242または画像認識アクセラレータ回路249が処理中(ビジー状態)であるため、ホストコントローラ241は、上記開始の指示を行わない。したがって、2枚目及び3枚目のメダルについては、カウント処理及び色判定処理は行われるが、刻印判定処理は、行われない。一方、4枚目のメダルに係る縮小信号(4SH)をホストコントローラ241が検知する時、画像認識DSP回路242及び画像認識アクセラレータ回路249は処理中(ビジー状態)ではない。したがって、4枚目のメダルについては、カウント処理、色判定処理及び刻印判定処理が行われる。 Therefore, in the present embodiment, as shown in FIG. 21, when the host controller 241 detects the reduction end signals (2SH and 3SH) for the second and third medals, the image recognition DSP circuit 242 or the image recognition Since the accelerator circuit 249 is in process (busy state), the host controller 241 does not give the start instruction. Therefore, for the second and third medals, the count processing and the color determination processing are performed, but the marking determination processing is not performed. On the other hand, when the host controller 241 detects the reduced signal (4SH) for the fourth medal, the image recognition DSP circuit 242 and the image recognition accelerator circuit 249 are not in process (busy state). Therefore, the count process, the color determination process, and the marking determination process are performed on the fourth medal.

なお、画像認識DSP回路242による前処理及び刻印判定処理並びに画像認識アクセラレータ回路249による回転積算処理を高速化することで、投入される全てのメダルについて、カウント処理、色判定処理及び刻印判定処理が行われるようにしてもよい。 It should be noted that by speeding up the preprocessing and the marking determination processing by the image recognition DSP circuit 242 and the rotation integration processing by the image recognition accelerator circuit 249, the counting processing, the color determination processing, and the marking determination processing can be performed for all the inserted medals. It may be performed.

図21に示す2枚目、3枚目、4枚目、5枚目及び6枚目のメダルに係る各種信号(符号の先頭が「2」、「3」、「4」、「5」、「6」の各信号)については、先頭の数字のみが異なる上述した1枚目のメダルに係る各種信号(符号の先頭が「1」)と同様のため、詳細な説明を省略する。なお、図21に示した、制御LSI234の正規メダル判別処理における各デバイスの処理タイミングは、例示に過ぎない。各デバイスの処理能力や処理内容・処理手順に応じて、様々な処理タイミングで正規メダル判別処理が行われうる。 Various signals relating to the second, third, fourth, fifth, and sixth medals shown in FIG. 21 (the reference numerals are "2", "3", "4", "5", The respective signals "6") are the same as the above-mentioned various signals (the reference numeral is "1") related to the first medal, which differ only in the numbers at the beginning, and therefore detailed description thereof will be omitted. Note that the processing timing of each device in the regular medal discrimination processing of the control LSI 234 shown in FIG. 21 is merely an example. The regular medal determination process may be performed at various processing timings depending on the processing capability of each device, the processing content, and the processing procedure.

<作用>
本実施形態のパチスロ1では、メダルセレクタ201の制御LSI234が色判定処理、カウント処理及び刻印判定処理を含む正規メダル判別処理を行う。メダルレール210上をメダルでない不正器具が移動した場合、色判定処理において「正規メダルの色と一致しない」と判定され、また、カウント処理において「メダルが通過していない」と判定される。したがって、パチスロ1に正規メダルが用いられていると誤認させて遊技を行う不正行為を検知することができる。
<Action>
In the pachi-slot 1 of the present embodiment, the control LSI 234 of the medal selector 201 performs the regular medal determination process including the color determination process, the count process, and the marking determination process. When an unauthorized device that is not a medal moves on the medal rail 210, it is determined that the color does not match the color of the regular medal in the color determination process, and that the medal has not passed in the counting process. Therefore, it is possible to misidentify that a regular medal is used for the pachi-slot 1 and detect an illegal act of playing a game.

また、メダルレール210上を、図22Aに示す不正メダル290(正規メダル280(図19A参照)と同径及び同色で、メダルの表面に施されている刻印(模様)のみ異なるメダル)が移動した場合、色判定処理においては、「正規メダルの色と一致する」と判定される。しかし、カウント処理においては、図22Bに示す不正メダルの画像データ292のカウント領域(点線で囲まれている領域293)における刻印(模様)と正規メダルの画像データのカウント領域(図19Bにおいて点線で囲まれている領域283)における刻印(模様)とが著しく異なることから、「メダルが通過していない」と判定される。したがって、パチスロ1に正規メダルが用いられていると誤認させて遊技を行う不正行為を検知することができる。 In addition, an illegal medal 290 shown in FIG. 22A (a medal having the same diameter and the same color as the regular medal 280 (see FIG. 19A) but having a different engraved mark (pattern) on the surface of the medal) moved on the medal rail 210. In this case, in the color determination process, it is determined that the color matches the color of the regular medal. However, in the counting process, the stamp (pattern) in the count area (the area 293 surrounded by the dotted line) of the image data 292 of the illegal medal shown in FIG. 22B and the count area of the image data of the regular medal (the dotted line in FIG. 19B). Since the engraved mark (pattern) in the enclosed area 283 is significantly different, it is determined that "the medal has not passed". Therefore, it is possible to misidentify that a regular medal is used for the pachi-slot 1 and detect an illegal act of playing a game.

また、メダルレール210上を、図23Aに示す不正メダル295(正規メダル280(図19A参照)と同径及び同色で、メダルの表面に施されている刻印(模様)のみ異なる他のメダル)が移動した場合、色判定処理においては、「正規メダルの色と一致する」と判定される。また、カウント処理においては、図23Bに示す不正メダルの画像データ297のカウント領域(点線で囲まれている領域298)における刻印(模様)と正規メダルの画像データのカウント領域(図19Bにおいて点線で囲まれている領域283)における刻印(模様)との差分が小さいことから「メダルが通過した」と判定される。しかし、刻印判定処理において、図23Cに示すこの不正メダルの勾配平均画像データ299と正規メダル280の勾配平均画像データ285(図20参照)とは大きく異なるので、「メダルの刻印(模様)が正規メダルの刻印と一致しない」と判定される。したがって、パチスロ1に正規メダルが用いられていると誤認させて遊技を行う不正行為を検知することができる。 Further, on the medal rail 210, an illegal medal 295 shown in FIG. 23A (another medal having the same diameter and the same color as the regular medal 280 (see FIG. 19A), but different only in the marking (pattern) on the surface of the medal) is displayed. When moved, it is determined in the color determination process that the color matches the color of the regular medal. Further, in the counting process, the marking (pattern) in the count area (area 298 surrounded by the dotted line) of the illegal medal image data 297 shown in FIG. 23B and the count area of the regular medal image data (the dotted line in FIG. 19B). Since the difference between the engraved mark (pattern) in the enclosed area 283) is small, it is determined that the medal has passed. However, in the marking determination process, since the gradient average image data 299 of the illegal medals shown in FIG. 23C and the gradient average image data 285 of the regular medals 280 (see FIG. 20) are significantly different, “the stamp (pattern) of the medals is regular. It does not match the stamp of the medal”. Therefore, it is possible to misidentify that a regular medal is used for the pachi-slot 1 and detect an illegal act of playing a game.

また、メダルレール210上を、正規メダル280(図19A参照)と異径(正規メダルの径よりもわずかに小さくまたは大きく、且つ、セレクトプレート207によって案内可能な径)及び同色のメダルが移動した場合、色判定処理においては、「正規メダルの色と一致する」と判定される。しかし、このメダルの画像データにおいて、このメダルが正規メダルの径よりもわずかに小さく、カウント領域にメダルの外縁と背景の境界があるような場合はカウント処理において、「メダルが通過していない」と判定される。また、たとえカウント処理において「メダルが通過した」と判定されたとしても、このメダルと正規メダル280の径の差から、このメダルの勾配平均画像データと正規メダル280の勾配平均画像データ285(図20参照)とは大きく異なることになる。このため、刻印判定処理では、「メダルの刻印(模様)が正規メダルの刻印と一致しない」と判定される。したがって、パチスロ1に正規メダルが用いられていると誤認させて遊技を行う不正行為を検知することができる。 Further, on the medal rail 210, a regular medal 280 (see FIG. 19A), a different diameter (a diameter slightly smaller or larger than the regular medal diameter, and a diameter that can be guided by the select plate 207) and a medal of the same color have moved. In this case, in the color determination process, it is determined that the color matches the color of the regular medal. However, in the image data of this medal, if this medal is slightly smaller than the diameter of the regular medal and there is a boundary between the outer edge of the medal and the background in the count area, "the medal has not passed" in the counting process. Is determined. Even if it is determined in the counting process that the medal has passed, the gradient average image data of this medal and the gradient average image data 285 of the regular medal 280 (Fig. 20)). Therefore, in the marking determination process, it is determined that "the marking (pattern) of the medal does not match the marking of the regular medal". Therefore, it is possible to misidentify that a regular medal is used for the pachi-slot 1 and detect an illegal act of playing a game.

また、メダルレール210上を、正規メダル280(図19A参照)と同径及び異色のメダルが移動した場合、色判定処理において、「正規メダルの色と一致しない」と判定される。したがって、パチスロ1に正規メダルが用いられていると誤認させて遊技を行う不正行為を検知することができる。 Further, when a medal having the same diameter and different color as the regular medal 280 (see FIG. 19A) moves on the medal rail 210, it is determined in the color determination process that the color does not match the regular medal. Therefore, it is possible to misidentify that a regular medal is used for the pachi-slot 1 and detect an illegal act of playing a game.

また、制御LSI234は、色判定処理、カウント処理及び刻印判定処理の判定結果にGPIOを介して主制御基板71からなる主制御回路91に出力する。したがって、主制御回路91に不正行為があった場合の種々の処理を行わせることができる。ここで、不正行為があった場合の種々の処理とは、例えば、主制御回路91が遊技を強制的に中断させ、副制御回路101を介して、不正行為があった旨を報知する(例えば、液晶表示装置11に不正行為が発生した旨を表示する)処理である。 Further, the control LSI 234 outputs the determination results of the color determination processing, the count processing, and the marking determination processing to the main control circuit 91 composed of the main control board 71 via GPIO. Therefore, it is possible to cause the main control circuit 91 to perform various kinds of processing when there is an illegal act. Here, the various processes in the case of the illegal activity include, for example, forcibly interrupting the game by the main control circuit 91 and notifying that the illegal activity has been performed via the sub control circuit 101 (for example, , Processing for displaying that the fraudulent activity has occurred on the liquid crystal display device 11).

また、色判定処理及びカウント処理の判定結果によって不正行為を検知した場合、主制御回路91は、メダルセレクタ201のメダルソレノイド208をOFF状態に設定してもよい。これによって、セレクトプレート207が「排出位置」に位置付けされるので、この不正メダルをメダルシュート202に案内してメダル払出口32から排出することができる。なお、主制御回路91は、色判定処理及びカウント処理による不正行為の検知によってOFF状態に設定したメダルソレノイド208を、この不正行為に係る不正メダルをメダルシュート202に案内後に、ON状態に設定してもよい。 Further, when the misconduct is detected by the determination result of the color determination process and the count process, the main control circuit 91 may set the medal solenoid 208 of the medal selector 201 to the OFF state. As a result, the select plate 207 is positioned at the "discharging position", so that the illegal medal can be guided to the medal chute 202 and ejected from the medal payout opening 32. Note that the main control circuit 91 sets the medal solenoid 208, which has been set to the OFF state by detecting the fraudulent activity by the color determination processing and the count processing, to the ON state after guiding the fraudulent medal related to this fraudulent activity to the medal chute 202. May be.

また、刻印判定処理によって不正行為を検知した場合も、主制御回路91は、メダルセレクタ201のメダルソレノイド208をOFF状態に設定してもよい。本実施形態では、図21に示すように、ISP回路245から主制御回路91へ4枚目のメダルに係るVSYNC割込信号(4IH)が出力されてから5枚目のメダルに係るVSYNC割込信号(5IH)が出力されるまでの間に1枚目のメダルに係る刻印判定処理の判定結果が主制御回路へ出力される(1HG3)。したがって、不正なメダルが連続して投入される場合は、5枚目以降に投入された不正メダルをメダルシュート202に案内してメダル払出口32から排出することができる。これによって、不正行為による被害の拡大を抑えることができる。なお、刻印判定処理を高速化することで、カメラユニット209で撮像されたメダルがアフタメダルプレッシャ218またはメダルストッパ部227上を通過するまでに、刻印判定処理によって不正行為を検知可能な場合は、主制御回路91が即座にメダルソレノイド208をOFF状態に設定することで、不正行為による被害の発生を防止できる。また、主制御回路91は、刻印判定処理による不正行為の検知によってOFF状態に設定したメダルソレノイド208を、次の刻印判定処理の判定結果が「メダルの刻印(模様)が正規メダルの刻印と一致する」である場合、ON状態に設定してもよい。これによって、不正メダルが偶然に混入していたため、遊技者が不正行為を意図せずに不正メダルを投入し、メダルソレノイド208がOFF状態に設定され遊技不能になった場合、遊技者は、正規メダルを投入すれば、遊技を再開することができる。 Further, even when an improper act is detected by the marking determination process, the main control circuit 91 may set the medal solenoid 208 of the medal selector 201 to the OFF state. In this embodiment, as shown in FIG. 21, after the VSYNC interrupt signal (4IH) for the fourth medal is output from the ISP circuit 245 to the main control circuit 91, the VSYNC interrupt for the fifth medal is output. The determination result of the marking determination process for the first medal is output to the main control circuit until the signal (5IH) is output (1HG3). Therefore, when illegal medals are continuously inserted, the illegal medals inserted after the fifth coin can be guided to the medal chute 202 and ejected from the medal payout opening 32. As a result, it is possible to suppress the spread of damage caused by fraudulent acts. By increasing the speed of the marking determination processing, if the fraudulent activity can be detected by the marking determination processing before the medal imaged by the camera unit 209 passes over the after-medal pressure 218 or the medal stopper 227, The main control circuit 91 immediately sets the medal solenoid 208 to the OFF state, so that it is possible to prevent the damage caused by the fraudulent act. Further, the main control circuit 91 sets the medal solenoid 208, which has been set to the OFF state by detecting fraudulent activity by the marking determination processing, to the following determination result of the marking determination processing, "the marking of the medal (pattern) matches the marking of the regular medal." If “Yes”, it may be set to the ON state. As a result, since the illegal medals were accidentally mixed in, when the player unintentionally inserts the illegal medals and the medal solenoid 208 is set to the OFF state and becomes unplayable, the player is authorized. If you insert a medal, you can restart the game.

<第1実施形態の変形例>
以上、本発明の第1実施形態に係る遊技機について、その作用効果も含めて説明した。しかし、本発明の遊技機は、上述の実施の形態に限定されるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限り、種々の変形実施が可能である。
<Modification of First Embodiment>
Heretofore, the gaming machine according to the first embodiment of the present invention has been described, including its effects. However, the game machine of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention described in the claims.

例えば、上記説明においては、遊技媒体として両面に同一の刻印(模様)が施されているメダルを用いる例を説明したが、これに代えて、メダルの一方の面と他方の面で異なる刻印が施されているメダルを用いてもよい。この場合、カウント処理、色判定処理、刻印判定処理におけるしきい値に係るデータとして、メダルのそれぞれの面に係るデータを予め用意すればよい。 For example, in the above description, an example in which medals having the same marking (pattern) on both sides are used as the game medium has been described, but instead of this, different markings may be provided on one side and the other side of the medal. A given medal may be used. In this case, data relating to each side of the medal may be prepared in advance as data relating to the threshold value in the counting process, the color determining process, and the marking determining process.

また、しきい値に係るデータの設定方法としては、一定の単位遊技期間(例えば、100ゲーム)の間をしきい値に係るデータの収集期間とし、この単位遊技期間中にカメラユニット209で撮像したメダルの画像データに基づいて設定する方法を採用してもよい。 Further, as a method of setting the data related to the threshold value, a fixed unit game period (for example, 100 games) is set as a collection period of the data related to the threshold value, and an image is taken by the camera unit 209 during this unit game period. It is also possible to adopt a method of setting based on the image data of the medals.

上述した第1実施形態に係る遊技機は、CMOSイメージセンサ232等を含む撮像部261によって取得された撮像画像に基づいて行われる画像変換や画像認識の各処理により、メダル等の判定が可能となるため、メダル等の模様の相違を判定することができる。また、カメラユニット209の制御LSI234は、ASIC等として構成されるため、製造コストを効果的に抑制することができる。さらに、制御LSI234が、ASIC等のようなパッケージ化された状態で提供されるため、外部からの不正行為(例えば、正規メダル判別処理を無効化させたり、正規メダル判別処理の処理ロジックを窃取しようとしたりする行為)を阻止することができ、セキュリティー面でも顕著な利点を有している。 The gaming machine according to the first embodiment described above can determine a medal or the like by performing image conversion or image recognition processing performed based on a captured image acquired by the imaging unit 261 including the CMOS image sensor 232. Therefore, it is possible to determine the difference in patterns of medals and the like. Moreover, since the control LSI 234 of the camera unit 209 is configured as an ASIC or the like, the manufacturing cost can be effectively suppressed. Furthermore, since the control LSI 234 is provided in a packaged state such as an ASIC, an illegal act from the outside (for example, invalidate the regular medal discrimination process or steal the processing logic of the regular medal discrimination process). It has a significant advantage in terms of security.

<<第2実施形態>>
以下、本発明の第2実施形態に係る遊技機であるパチスロについて、図24〜図39を参照しながら説明する。なお、本発明の第2実施形態に係る遊技機であるパチスロ300は、機能フロー、パチスロの構造、メダルセレクタの構成、パチスロの回路構成、及びメダルセレクタの回路構成に関して、上述した第1実施形態に係る遊技機であるパチスロ1と同様である。以下では、第1実施形態に係る遊技機であるパチスロ1で実行される正規メダル判別処理をさらに具体的に説明するとともに、新たな正規メダル判別処理の方法について説明する。
<<Second Embodiment>>
Hereinafter, a pachi-slot which is a gaming machine according to the second embodiment of the present invention will be described with reference to FIGS. 24 to 39. The pachi-slot 300, which is the gaming machine according to the second embodiment of the present invention, has a functional flow, a pachi-slot structure, a medal selector configuration, a pachi-slot circuit configuration, and a medal selector circuit configuration described above in the first embodiment. It is the same as the pachi-slot 1 which is the gaming machine according to. In the following, the regular medal determination process executed by the pachi-slot 1 which is the gaming machine according to the first embodiment will be described more specifically, and a new regular medal determination process method will be described.

上述のように、第2実施形態に係る遊技機であるパチスロ300は、第1実施形態に係る遊技機と同様に、制御LSI334(第1実施形態に係る遊技機の制御LSI234に対応)を含むカメラユニット309(第1実施形態に係る遊技機のカメラユニット209に対応)を備え、さらに、カメラユニット309を含むメダルセレクタ301(第1実施形態に係る遊技機のメダルセレクタ201に対応)を備える。図24は、このようなカメラユニット309の機能ブロック図であり、実質的には、図18に示した第1実施形態に係る遊技機に関する機能ブロック図に示したものと同様の構成である。 As described above, the pachi-slot 300 that is the gaming machine according to the second embodiment includes the control LSI 334 (corresponding to the control LSI 234 of the gaming machine according to the first embodiment), like the gaming machine according to the first embodiment. A camera unit 309 (corresponding to the camera unit 209 of the gaming machine according to the first embodiment) is provided, and further a medal selector 301 (corresponding to the medal selector 201 of the gaming machine according to the first embodiment) including the camera unit 309 is provided. .. FIG. 24 is a functional block diagram of such a camera unit 309, and has substantially the same configuration as that shown in the functional block diagram of the gaming machine according to the first embodiment shown in FIG.

図24に示されるように、本実施形態に係るカメラユニット309は、撮像部361、変換部363、特徴画像生成部364、判定部365、及び入出力部366を備えている。なお、カメラユニット309は、LED等からなる発光部を備えるが、図24では図示を省略する。 As shown in FIG. 24, the camera unit 309 according to this embodiment includes an imaging unit 361, a conversion unit 363, a characteristic image generation unit 364, a determination unit 365, and an input/output unit 366. Although the camera unit 309 includes a light emitting unit including an LED and the like, the illustration thereof is omitted in FIG.

撮像部361は、CMOSイメージセンサ332(例えば、第1実施形態に係る遊技機のCMOSイメージセンサ232に対応)を含み、このCMOSイメージセンサ332により撮像された画像データを(必要に応じて所定の変換を行って)、撮像画像362Aとして出力する。 The imaging unit 361 includes a CMOS image sensor 332 (for example, corresponding to the CMOS image sensor 232 of the gaming machine according to the first embodiment), and the image data imaged by the CMOS image sensor 332 (predetermined as necessary). (Converted) and output as a captured image 362A.

変換部363(例えば、第1実施形態に係る遊技機のISP回路245に対応)は、撮像部361から入力される撮像画像362Aをカラー画像からグレースケール画像に変換し、変換後の撮像画像を撮像画像362Bとして出力する。 The conversion unit 363 (for example, corresponding to the ISP circuit 245 of the gaming machine according to the first embodiment) converts the captured image 362A input from the imaging unit 361 from a color image to a grayscale image, and converts the captured image after conversion. The captured image 362B is output.

特徴画像生成部364(例えば、第1実施形態に係る遊技機の画像認識アクセラレータ回路249等に対応)は、メダル310が撮像されている撮像画像362Bに基づいて、メダル310の特徴を示す特徴画像362Cを生成する。判定部365は、特徴画像生成部364で生成された特徴画像362Cに基づいて、撮像画像362Bに映るメダル310(すなわち、撮像画像362Cに含まれるメダル310の画像に対応するメダル310)が正規のものか否かを判定し、その判定結果368を、入出力部366(例えば、第1実施形態に係る遊技機のGPIO250に対応)を介して出力する。 The characteristic image generation unit 364 (for example, corresponding to the image recognition accelerator circuit 249 of the gaming machine according to the first embodiment) is a characteristic image indicating the characteristics of the medal 310 based on the captured image 362B in which the medal 310 is captured. 362C is generated. The determination unit 365 determines that the medal 310 (that is, the medal 310 corresponding to the image of the medal 310 included in the captured image 362C) in the captured image 362B is valid based on the characteristic image 362C generated by the characteristic image generation unit 364. It is determined whether or not it is one, and the determination result 368 is output via the input/output unit 366 (for example, corresponding to the GPIO 250 of the gaming machine according to the first embodiment).

判定部365(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、特徴画像生成部364が撮像画像362Bから生成した特徴画像362Cと、正規メダルの特徴を示すテンプレートデータ(テンプレート特徴画像)367とを比較し、その比較結果に基づいて、撮像画像362Bに係るメダル310が正規のものか否かを判定する。 The determination unit 365 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) has a characteristic image 362C generated by the characteristic image generation unit 364 from the captured image 362B and a template indicating the characteristics of the regular medal. The data (template characteristic image) 367 is compared, and based on the comparison result, it is determined whether or not the medal 310 related to the captured image 362B is authentic.

図25は、撮像部361で得られる撮像画像362Aの一例を模式的に示す図である。図25に示される撮像画像362Aには、撮像されたメダル310の画像が含まれている。また、背景であるメダルレール311が撮像され、その画像が撮像画像362Aに含まれている。なお、メダルレール311は、上述の第1実施形態のメダルレール210に対応するものであるが、ここでは、レールの形状を簡略化して示している。 FIG. 25 is a diagram schematically showing an example of a captured image 362A obtained by the image capturing section 361. The captured image 362A shown in FIG. 25 includes an image of the captured medal 310. Further, the medal rail 311 that is the background is captured, and the image is included in the captured image 362A. Note that the medal rail 311 corresponds to the medal rail 210 of the above-described first embodiment, but here, the shape of the rail is simplified and shown.

メダル310の一方主面310aには、例えばアルファベット「A」の模様が示されている。これは、正規メダルの模様を示すものであるが、これ以外の模様であってもよい。また、正規メダルの両主面に模様が付されていてもよい。 On one main surface 310a of the medal 310, for example, a pattern of the alphabet "A" is shown. This shows the pattern of the regular medal, but other patterns may be used. Further, patterns may be provided on both main surfaces of the regular medal.

本実施形態では、メダル310は、その両主面の中心を通る、厚み方向に沿った回転軸の周りに回転しながらメダルレール311上を移動する。そして、撮像部361は、メダル310の一方主面310a側からメダル310を撮像する。したがって、撮像画像362Aには、メダル310の一方主面310aの画像が含まれることになる。また、本実施形態では、撮像部361で生成される撮像画像362Aはカラー画像であるが、グレースケール画像であってもよい。 In the present embodiment, the medal 310 moves on the medal rail 311 while rotating around a rotation axis passing through the centers of both main surfaces thereof and extending in the thickness direction. Then, the imaging unit 361 images the medal 310 from the one main surface 310a side of the medal 310. Therefore, the captured image 362A includes the image of the one main surface 310a of the medal 310. Further, in the present embodiment, the captured image 362A generated by the image capturing unit 361 is a color image, but it may be a grayscale image.

図26は、特徴画像生成部364の構成を示す図である。図26に示されるように、特徴画像生成部364は、第1画像生成部370、及び第2画像生成部380を備えている。第1画像生成部370は、撮像画像362Bに基づいて、メダル310を示す第1画像374を生成する。第2画像生成部380は、第1画像生成部370で生成された第1画像374を回転して得られる複数の回転画像を合成した回転合成画像の少なくとも一部を特徴画像362C(第2画像)として生成する。 FIG. 26 is a diagram showing the configuration of the characteristic image generation unit 364. As shown in FIG. 26, the characteristic image generation unit 364 includes a first image generation unit 370 and a second image generation unit 380. The first image generation unit 370 generates a first image 374 showing the medal 310 based on the captured image 362B. The second image generation unit 380 uses at least a part of the rotation combined image obtained by combining the plurality of rotation images obtained by rotating the first image 374 generated by the first image generation unit 370 as the characteristic image 362C (second image). ).

第1画像生成部370は、抽出部371、及びエッジ画像生成部372を備えている。抽出部371は、撮像画像362Bからメダル310が示されるメダル領域373を抽出する。エッジ画像生成部372は、抽出部371で抽出されたメダル領域373に対してエッジ検出を行って、エッジ画像(第1画像374)を生成する。 The first image generation unit 370 includes an extraction unit 371 and an edge image generation unit 372. The extraction unit 371 extracts the medal area 373 in which the medal 310 is shown from the captured image 362B. The edge image generation unit 372 performs edge detection on the medal area 373 extracted by the extraction unit 371 to generate an edge image (first image 374).

<正規メダル判別処理のフロー>
次に、本実施形態におけるカメラユニット309で実施される正規メダル判別処理の一連の動作について説明する。
<Regular medal discrimination process flow>
Next, a series of operations of the regular medal determination process performed by the camera unit 309 in the present embodiment will be described.

最初に、撮像部361から撮像画像362Aが入力されると、変換部363において撮像画像362Aをカラー画像からグレースケール画像に変換し、それよって得られた撮像画像362Bを処理対象とする。 First, when the captured image 362A is input from the image capturing unit 361, the conversion unit 363 converts the captured image 362A from a color image into a grayscale image, and the captured image 362B thus obtained is processed.

次に、抽出部371は、処理対象である撮像画像362Bから、メダル310が映るメダル領域373を抽出する。その後、エッジ画像生成部372は、抽出部371で抽出されたメダル領域373に対してエッジ検出を行って、メダル310を示す第1画像374としてのエッジ画像を生成する。次に、第2画像生成部380は、エッジ画像生成部372で生成されたエッジ画像(第1画像374)を回転して得られる複数の回転画像を合成した回転合成画像の少なくとも一部を特徴画像362Cとして生成する。 Next, the extraction unit 371 extracts the medal area 373 in which the medal 310 appears from the captured image 362B that is the processing target. After that, the edge image generation unit 372 performs edge detection on the medal area 373 extracted by the extraction unit 371 to generate an edge image as the first image 374 showing the medal 310. Next, the second image generation unit 380 features at least a part of a rotation combined image obtained by combining a plurality of rotation images obtained by rotating the edge image (first image 374) generated by the edge image generation unit 372. Generate as an image 362C.

次に、判定部365は、第2画像生成部380で生成された特徴画像362Cと、テンプレートデータ367に含まれる特徴画像とを比較し、その比較結果に基づいて、処理対象の撮像画像362Bに示されるメダル310が正規のものであるか否かを判定する。言い換えれば、判定部365は、特徴画像362Cとテンプレートデータ367に含まれる特徴画像との比較結果に基づいて、撮像部261で生成された撮像画像362Aに示されるメダル310が正規のものであるか否かを判定する。そして、判定部365は、判定結果368を、入出力部366(第1実施形態のGPIO250に対応)を介して、主制御回路(第1実施形態の遊技機における主制御回路91に対応)に出力する。このようにして、主制御回路は、撮像画像362Aに示されるメダル310が正規のものでない場合、第1実施形態の遊技機と同様に、遊技を強制的に中断させ、副制御回路(第1実施形態の遊技機における副制御回路101に対応)を介して、不正行為があった旨を報知することができる。例えば、スピーカから警告音を出力したり、液晶表示装置であるディプレイに警告情報を表示したりするなどして、外部に警告を発することができる。 Next, the determination unit 365 compares the characteristic image 362C generated by the second image generation unit 380 with the characteristic image included in the template data 367, and based on the comparison result, the captured image 362B to be processed is selected. It is determined whether or not the indicated medal 310 is a legitimate one. In other words, based on the comparison result between the characteristic image 362C and the characteristic image included in the template data 367, the determination unit 365 determines whether the medal 310 shown in the captured image 362A generated by the image pickup unit 261 is a regular medal. Determine whether or not. Then, the determination unit 365 sends the determination result 368 to the main control circuit (corresponding to the main control circuit 91 in the gaming machine of the first embodiment) via the input/output unit 366 (corresponding to the GPIO 250 of the first embodiment). Output. In this way, when the medal 310 shown in the captured image 362A is not a proper one, the main control circuit forcibly interrupts the game, similarly to the gaming machine of the first embodiment, and the sub control circuit (first Through the sub-control circuit 101 in the gaming machine according to the embodiment), it is possible to notify that there has been an illegal act. For example, it is possible to output a warning to the outside by outputting a warning sound from a speaker or displaying warning information on a display which is a liquid crystal display device.

その後、判定部365は、新たな撮像画像362Aが入力されると、その撮像画像362Aから得られる撮像画像362Bを新たな処理対象として、上述した正規メダル判別処理を実行する。以後、判定部365は、撮像画像362Aが入力されるたびに、同様の動作を行う。 After that, when a new captured image 362A is input, the determination unit 365 executes the above-described regular medal determination process with the captured image 362B obtained from the captured image 362A as a new processing target. After that, the determination unit 365 performs the same operation each time the captured image 362A is input.

<各構成要素の詳細説明>
次に、第1画像生成部370の抽出部371とエッジ画像生成部372、第2画像生成部380、及び判定部365の動作についてさらに詳細に説明する。
<Detailed description of each component>
Next, operations of the extraction unit 371, the edge image generation unit 372, the second image generation unit 380, and the determination unit 365 of the first image generation unit 370 will be described in more detail.

[抽出部]
図27は、抽出部371が撮像画像362Bから抽出するメダル領域373の一例を模式的に示す図である。撮像画像362Bからメダル領域373を抽出する方法としては様々な方法がある。
[Extractor]
FIG. 27 is a diagram schematically illustrating an example of the medal area 373 extracted by the extraction unit 371 from the captured image 362B. There are various methods for extracting the medal area 373 from the captured image 362B.

例えば、メダル310の外形が円形であることを利用した第1の抽出方法がある。この第1の抽出方法では、まず、撮像画像362Bに対してエッジ検出が行われてエッジ画像が生成される。エッジ画像の生成方法としては、例えば、Sobel法、Laplacian法、Canny法などが使用される。次に、生成されたエッジ画像から円形領域が抽出される。円形領域の抽出方法としては、例えばハフ変換が使用される。そして、エッジ画像における当該円形領域の位置と同じ位置に存在する撮像画像362Bでの円形領域が、メダル領域373とされる。 For example, there is a first extraction method that utilizes the outer shape of the medal 310. In the first extraction method, first, edge detection is performed on the captured image 362B to generate an edge image. As a method of generating an edge image, for example, the Sobel method, Laplacian method, Canny method or the like is used. Next, a circular area is extracted from the generated edge image. As a method of extracting the circular area, for example, Hough transform is used. Then, the circular area in the captured image 362B existing at the same position as the position of the circular area in the edge image is set as the medal area 373.

別の方法としては、背景差分法とラベリングを用いて撮像画像362Bからメダル領域373を抽出する第2の抽出方法がある。この第2の抽出方法では、まず、撮像画像362Bと背景画像(撮像画像362Bの背景だけが映る画像)との差分を示す背景差分画像が生成され、生成された背景差分画像が2値化される。そして、2値の背景差分画像に対して4連結等のラベリングが行われる。そして、2値の背景差分画像における、ラベリングの結果得られた連結領域(独立領域)の位置と同じ位置に存在する撮像画像362Bでの部分領域が、メダル領域373とされる。 As another method, there is a second extraction method for extracting the medal area 373 from the captured image 362B using the background subtraction method and labeling. In the second extraction method, first, a background difference image indicating a difference between the captured image 362B and a background image (an image showing only the background of the captured image 362B) is generated, and the generated background difference image is binarized. It Then, labeling such as 4-connection is performed on the binary background difference image. The partial area in the captured image 362B existing at the same position as the position of the connected area (independent area) obtained as a result of labeling in the binary background difference image is set as the medal area 373.

本実施形態では、抽出部371は、上記の2つの方法とは異なる方法で、撮像画像362Bからメダル領域373を抽出する。以下に本実施形態に係る抽出部371の動作について説明する。なお、抽出部371は、上記の2つの方法のどちらか一方を用いて撮像画像362Bからメダル領域373を抽出してもよい。 In the present embodiment, the extraction unit 371 extracts the medal area 373 from the captured image 362B by a method different from the above two methods. The operation of the extraction unit 371 according to this embodiment will be described below. The extraction unit 371 may extract the medal area 373 from the captured image 362B using either one of the above two methods.

まず、抽出部371は、撮像画像362Bと背景画像375(撮像画像362Bの背景だけが映る画像)との差分を示す背景差分画像を生成し、生成した背景差分画像を2値化する。図28は、背景画像375を模式的に示す図であって、図29は、2値の背景差分画像376を模式的に示す図である。なお、図29、及び本実施形態における後述の図において模式的に示される2値の画像では、画素値が「1」の領域(高輝度領域)は黒色で示され、画素値が「0」の領域(低輝度領域)は白色で示される。また、背景画像375は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 First, the extraction unit 371 generates a background difference image indicating a difference between the captured image 362B and the background image 375 (an image in which only the background of the captured image 362B appears), and binarizes the generated background difference image. 28 is a diagram schematically showing the background image 375, and FIG. 29 is a diagram schematically showing a binary background difference image 376. Note that in the binary image schematically shown in FIG. 29 and the later-described drawings of this embodiment, a region (high-luminance region) having a pixel value of “1” is shown in black, and a pixel value of “0”. The area (low brightness area) is shown in white. The background image 375 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

次に、抽出部371は、2値の背景差分画像376に対して、メダル310の外形を示す2値の外形テンプレート377を用いたテンプレートマッチングを行う。つまり、抽出部371は、背景差分画像376において、外形テンプレート377と類似する領域がどこに存在するかを特定する。言い換えると、抽出部371は、背景差分画像376において、外形テンプレート377が示すメダル310の外形と一致する領域がどこに存在するかを特定する。図30は、外形テンプレート377を模式的に示す図である。外形テンプレート377は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 Next, the extraction unit 371 performs template matching on the binary background difference image 376 using the binary outline template 377 indicating the outline of the medal 310. That is, the extraction unit 371 specifies where in the background difference image 376, a region similar to the outer shape template 377 exists. In other words, the extraction unit 371 identifies where, in the background difference image 376, a region that matches the outer shape of the medal 310 indicated by the outer shape template 377 exists. FIG. 30 is a diagram schematically showing the outline template 377. The outer shape template 377 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

テンプレートマッチングでは、抽出部371は、図31に示されるように、背景差分画像376上で外形テンプレート377をラスタスキャン方向に少しずつ(例えば、1画素(ピクセル)ずつ)移動させる。言い換えれば、抽出部371は、背景差分画像376上で外形テンプレート377をラスタスキャンさせる。このとき、抽出部371は、外形テンプレート377の各位置において、外形テンプレート377と、それに重なる、背景差分画像376の部分領域とのAND画像を生成する。これにより、複数の2値のAND画像が生成される。そして、抽出部371は、生成した複数のAND画像のうち、画素値が「1」の画素(高輝度画素)の数が最も多いAND画像の生成で使用された外形テンプレート377の背景差分画像376上の位置を特定する。この位置は、背景差分画像376において、外形テンプレート377と類似した領域が存在する位置である。 In template matching, the extraction unit 371 moves the outline template 377 little by little (for example, by one pixel (pixel)) in the raster scan direction on the background difference image 376 as shown in FIG. In other words, the extraction unit 371 raster-scans the outer shape template 377 on the background difference image 376. At this time, the extraction unit 371 generates an AND image of the outer shape template 377 and the partial area of the background difference image 376 that overlaps with the outer shape template 377 at each position of the outer shape template 377. As a result, a plurality of binary AND images are generated. Then, the extraction unit 371 causes the background difference image 376 of the outer shape template 377 used in the generation of the AND image having the largest number of pixels (high-luminance pixels) having the pixel value “1” among the generated AND images. Identify the top position. This position is a position where a region similar to the outer shape template 377 exists in the background difference image 376.

そして、抽出部371は、図32に示されるように、特定した位置と同じ位置に存在する撮像画像362Bでの部分領域378を、メダル領域373として抽出する。言い換えれば、抽出部371は、特定した位置と同じ位置に外形テンプレート377を撮像画像362Bに配置した際に、外形テンプレート377と重なる、撮像画像362Bでの部分領域378を、メダル領域373として抽出する。このとき、部分領域378において、その上の外形テンプレート377が示す円形よりも外側の各画素の画素値を零としたものをメダル領域373としてもよい。抽出部371で抽出されるメダル領域373はグレースケール画像である。本実施形態では、メダル領域373の外形は四角形であるが、円形等の他の形状であってもよい。 Then, as shown in FIG. 32, the extraction unit 371 extracts, as the medal area 373, the partial area 378 in the captured image 362B existing at the same position as the specified position. In other words, the extraction unit 371 extracts, as the medal area 373, the partial area 378 in the captured image 362B that overlaps with the outline template 377 when the outline template 377 is arranged in the captured image 362B at the same position as the specified position. .. At this time, in the partial area 378, a medal area 373 may be one in which the pixel value of each pixel outside the circle indicated by the outer shape template 377 above it is zero. The medal area 373 extracted by the extraction unit 371 is a grayscale image. In the present embodiment, the outer shape of the medal area 373 is a quadrangle, but it may be another shape such as a circle.

[エッジ画像生成部]
エッジ画像生成部372は、例えば、Sobel法、Laplacian法、Canny法などを使用して、抽出部371で抽出されたメダル領域373に対してエッジ検出を行ってエッジ画像(第1画像374)を生成する。本実施形態では、エッジ画像生成部372は、例えば、処理が軽いSobel法を使用する。エッジ画像は2値の画像である。図33は、エッジ画像を模式的に示す図である。
[Edge image generator]
The edge image generation unit 372 performs edge detection on the medal area 373 extracted by the extraction unit 371 by using, for example, the Sobel method, the Laplacian method, the Canny method, etc., and outputs the edge image (first image 374). To generate. In the present embodiment, the edge image generation unit 372 uses, for example, the Sobel method which is light in processing. The edge image is a binary image. FIG. 33 is a diagram schematically showing an edge image.

[第2画像生成部]
第2画像生成部380は、エッジ画像生成部372で生成された第1画像(エッジ画像)374を回転して得られる複数の回転画像を合成した回転合成画像の少なくとも一部を特徴画像362Cとして生成する。本実施形態では、第2画像生成部380は、例えば、第1画像(エッジ画像)374を回転して得られる複数の回転画像を合成した回転合成画像を特徴画像362Cとして生成する。ここで、第1画像(エッジ画像)374の回転には、回転角度が0°の場合も含むものとする。以下に、当該回転合成画像の生成方法について説明する。
[Second image generator]
The second image generation unit 380 uses, as the characteristic image 362C, at least a part of the rotation combined image obtained by combining the plurality of rotation images obtained by rotating the first image (edge image) 374 generated by the edge image generation unit 372. To generate. In the present embodiment, for example, the second image generation unit 380 generates, as the characteristic image 362C, a rotation combined image obtained by combining a plurality of rotation images obtained by rotating the first image (edge image) 374. Here, the rotation of the first image (edge image) 374 includes the case where the rotation angle is 0°. The method of generating the rotation composite image will be described below.

図34は、第2画像生成部380が回転合成画像379を生成する方法を説明するための図である。第2画像生成部380は、第1画像(エッジ画像)374を所定の角度αずつ回転させて、図34に示されるように、複数個の回転画像374aを生成する。ここで、第2画像生成部380は、トータルの回転角度が(360°−α)となるまで第1画像(エッジ画像)374を所定の角度αずつ回転させる。本実施形態では、第2画像生成部380は、第1画像(エッジ画像)374を例えば2°ずつ回転させて(α=2°)、180個の回転画像374aを生成する。なお、上述の角度αは、例えば、1°や4°など、様々な角度に調整することができる。 FIG. 34 is a diagram for explaining a method in which the second image generation unit 380 generates the rotation composite image 379. The second image generation unit 380 rotates the first image (edge image) 374 by a predetermined angle α to generate a plurality of rotated images 374a as shown in FIG. Here, the second image generation unit 380 rotates the first image (edge image) 374 by a predetermined angle α until the total rotation angle becomes (360°−α). In the present embodiment, the second image generation unit 380 rotates the first image (edge image) 374 by 2° (α=2°), for example, and generates 180 rotated images 374a. The above-mentioned angle α can be adjusted to various angles such as 1° and 4°.

そして、第2画像生成部380は、生成した複数個の回転画像374aを合成して回転合成画像381を生成する。具体的には、第2画像生成部380は、複数個の回転画像374aを、それらの中心を一致させて加算平均し、それによって得られる加算平均画像を回転合成画像381とする。第2画像生成部380は、生成した回転合成画像381を、撮像画像362Bに示されるメダル310の特徴を示す特徴画像362Cとして使用する。 Then, the second image generation unit 380 generates a rotation combined image 381 by combining the generated plurality of rotated images 374a. Specifically, the second image generation unit 380 averages a plurality of rotated images 374a with their centers coincident with each other, and adds and averages the resulting rotated average image 381. The second image generation unit 380 uses the generated rotation composite image 381 as a characteristic image 362C showing the characteristic of the medal 310 shown in the captured image 362B.

なお、第2画像生成部380は、複数個の回転画像374aを合成する際に、各回転画像374aにおいて、トータルの回転角度が0°の回転画像374a(つまり、回転していない第1画像(エッジ画像)374)の外形からはみ出る領域を使用しない。したがって、回転合成画像381は、第1画像(エッジ画像)374と同じ大きさのグレースケール画像となる。 When the plurality of rotated images 374a are combined, the second image generation unit 380 rotates the rotated images 374a having a total rotation angle of 0° in each of the rotated images 374a (that is, the first image that is not rotated ( The area protruding from the outer shape of the edge image) 374) is not used. Therefore, the rotated composite image 381 is a grayscale image having the same size as the first image (edge image) 374.

上述のように、撮像部361は、回転するメダル310を撮像し、メダル310が映る撮像画像362Aを生成する。したがって、変換部363が生成する撮像画像362Bのメダル310の回転角度(メダル310に付された模様の回転角度)が常に同じであるとは限らない。一方で、回転合成画像381は、撮像画像362Bのメダル310を示す第1画像(エッジ画像)374を回転して得られる複数の回転画像374aを合成したものであることから、撮像画像362Bのメダル310の回転角度にばらつきがあるとしても、メダル310が正規のものであれば、撮像画像362Bから得られる回転合成画像381はほとんど変化しない。よって、回転合成画像381は、撮像画像362Bのメダル310の回転角度の影響を受けにくい、メダル310の特徴を示す特徴画像362Cであると言える。 As described above, the imaging unit 361 images the rotating medal 310 and generates a captured image 362A in which the medal 310 is reflected. Therefore, the rotation angle (the rotation angle of the pattern attached to the medal 310) of the medal 310 of the captured image 362B generated by the conversion unit 363 is not always the same. On the other hand, since the rotation composite image 381 is a combination of a plurality of rotation images 374a obtained by rotating the first image (edge image) 374 showing the medal 310 of the captured image 362B, the medal of the captured image 362B is combined. Even if there are variations in the rotation angle of 310, if the medal 310 is legitimate, the rotation composite image 381 obtained from the captured image 362B hardly changes. Therefore, it can be said that the rotation composite image 381 is the characteristic image 362C showing the characteristics of the medal 310, which is hardly influenced by the rotation angle of the medal 310 of the captured image 362B.

[判定部]
判定部365は、第2画像生成部380で生成された回転合成画像381(特徴画像362C)と、正規のメダル310の特徴を示すテンプレートデータ267の特徴画像とを比較し、その比較結果に基づいて、当該撮像画像362Bに含まれるメダル310が正規のものか否かを判定する。テンプレートデータ267の特徴画像としては、正規のメダル310の画像が含まれる撮像画像362Bから上記と同様にして特徴画像生成部364で生成された、正規のメダル310の特徴を示す特徴画像362C(回転合成画像381)が使用される。
[Judgment part]
The determination unit 365 compares the rotation composite image 381 (feature image 362C) generated by the second image generation unit 380 with the feature image of the template data 267 indicating the feature of the regular medal 310, and based on the comparison result. Then, it is determined whether or not the medal 310 included in the captured image 362B is authentic. As the characteristic image of the template data 267, the characteristic image 362C (rotation image) showing the characteristic of the regular medal 310 generated by the characteristic image generation unit 364 from the captured image 362B including the image of the regular medal 310 in the same manner as described above. The composite image 381) is used.

遊技機にメダル310を投入して、テンプレートデータ367の特徴画像を得るようにすることができる。例えば、投入された正規のメダル310が撮像された撮像画像362Bが生成され、この撮像画像362Bを「標準画像391」と呼ぶ。次に、特徴画像生成部364が、標準画像391に基づいて、標準画像391に含まれる正規のメダル310の特徴を示す特徴画像362C(回転合成画像381)を生成する。この特徴画像362Cを「標準特徴画像392」と呼ぶ。本実施形態では、標準特徴画像392がテンプレートデータ367の特徴画像となる。このようなテンプレートデータ367は、上述のように、カメラユニット309のSRAM等に記憶される。以後、遊技機が実稼働中に生成する特徴画像362C(正規メダルを判別するために生成された特徴画像362C)を、標準特徴画像392と区別するために、「対象特徴画像362C」と呼ぶことがある。 It is possible to insert the medal 310 into the gaming machine and obtain the characteristic image of the template data 367. For example, a captured image 362B in which the inserted regular medal 310 is captured is generated, and this captured image 362B is referred to as a "standard image 391". Next, the characteristic image generation unit 364 generates, based on the standard image 391, a characteristic image 362C (rotational combined image 381) indicating the characteristics of the regular medal 310 included in the standard image 391. This characteristic image 362C is called a "standard characteristic image 392". In this embodiment, the standard feature image 392 is the feature image of the template data 367. Such template data 367 is stored in the SRAM or the like of the camera unit 309 as described above. Hereinafter, in order to distinguish the characteristic image 362C (the characteristic image 362C generated for discriminating the regular medal) from the standard characteristic image 392, which the characteristic image 362C is generated during the actual operation of the gaming machine, it will be referred to as a "target characteristic image 362C". There is.

判定部365は、例えば、回転合成画像381(対象特徴画像362C)とテンプレートデータ367の特徴画像との間の類似度(相違度)を求めることによって、両者を比較する。本実施形態では、判定部365は、例えば、類似度を示す値として、SAD(Sum of Absolute Difference)を使用する。SADが大きいことは類似度が低いことを意味し、SADが小さいことは類似度が高いことを意味する。類似度を示す値として、SSD(Sum of Squared Difference)あるいはNCC(Normalized Correlation Coffiecient)などの他の値を使用してもよい。 The determination unit 365 compares the rotation combined image 381 (target feature image 362C) and the feature image of the template data 367 by calculating the degree of similarity (difference) between them, for example. In the present embodiment, the determination unit 365 uses, for example, SAD (Sum of Absolute Difference) as a value indicating the degree of similarity. A large SAD means a low degree of similarity, and a small SAD means a high degree of similarity. Other values such as SSD (Sum of Squared Difference) or NCC (Normalized Correlation Coffiecient) may be used as the value indicating the degree of similarity.

判定部365は、回転合成画像381とテンプレートデータ367の特徴画像との間の類似度が高い場合には、撮像画像362Bに含まれるメダル310が正規のものであると判定し、当該類似度が低い場合には、撮像画像362Bに含まれるメダル310が正規のものではないと判定する。具体的には、判定部365は、回転合成画像381とテンプレートデータ367の特徴画像との間のSADがしきい値以下の場合には、撮像画像362Bのメダル310が正規のものであると判定し、当該SADが当該しきい値よりも大きい場合には、撮像画像362Bのメダル310が正規のものではないと判定する。そして、判定部365は判定結果368を出力する。 When the degree of similarity between the rotated combined image 381 and the characteristic image of the template data 367 is high, the determination unit 365 determines that the medal 310 included in the captured image 362B is a valid one, and the degree of similarity is If it is low, it is determined that the medal 310 included in the captured image 362B is not a legitimate one. Specifically, the determination unit 365 determines that the medal 310 of the captured image 362B is a regular one when the SAD between the rotation combined image 381 and the characteristic image of the template data 367 is less than or equal to the threshold value. However, if the SAD is larger than the threshold, it is determined that the medal 310 of the captured image 362B is not an authorized one. Then, the determination unit 365 outputs the determination result 368.

判定部365で使用されるしきい値は、例えば、複数のメダル310が使用されて決定される。具体的には、遊技機が実稼働していないときに、遊技機に対して複数の正規メダルが順次投入される。そして、投入された複数の正規メダルがそれぞれ撮像された複数の撮像画像362Bが生成される。判定部365は、生成された複数の撮像画像362Bのそれぞれについて、撮像画像362Bから特徴画像生成部364で生成された回転合成画像381と、テンプレートデータ367の特徴画像との間のSADを求める。そして、判定部365が求めた複数のSADのうちの最大値がしきい値に決定される。決定されたしきい値は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶される。 The threshold value used in the determination unit 365 is determined, for example, by using a plurality of medals 310. Specifically, when the gaming machine is not in actual operation, a plurality of regular medals are sequentially inserted into the gaming machine. Then, a plurality of captured images 362B in which the plurality of inserted regular medals are captured are generated. For each of the plurality of generated captured images 362B, the determination unit 365 obtains the SAD between the rotation combined image 381 generated by the characteristic image generation unit 364 from the captured image 362B and the characteristic image of the template data 367. Then, the maximum value of the plurality of SADs determined by the determination unit 365 is determined as the threshold value. The determined threshold value is stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

なお、このような遊技機によるしきい値の決定は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前にしきい値を決定し、各遊技機のSRAM等に記憶させるようにしてもよい。 Note that such determination of the threshold value by the gaming machine can be performed when a predetermined mode is selected in the gaming machine. Further, the threshold value may be determined in advance by the gaming machine or another device and stored in the SRAM or the like of each gaming machine.

判定部365で使用されるしきい値がこのように決定されることにより、正規のメダル310の種類が変更された場合には、変更後のメダル310が、実稼働していない遊技機に投入されることによって、変更後のメダル310に応じたしきい値が決定される。よって、メダル310の種類が変更された場合であっても、遊技機に投入されたメダル310が正規のものであるか否かを適切に判定することができる。 When the type of the regular medal 310 is changed by determining the threshold value used in the determination unit 365 in this way, the changed medal 310 is inserted into the gaming machine that is not in actual operation. By doing so, the threshold value corresponding to the changed medal 310 is determined. Therefore, even when the type of the medal 310 is changed, it is possible to appropriately determine whether or not the medal 310 inserted in the gaming machine is a valid one.

なお、上記の例では、2値の第1画像(エッジ画像)374が、撮像画像362Bのメダル310を示す第1画像374として第2画像生成部380に入力されたが、グレースケール画像のメダル領域373を示す画像が第1画像として第2画像生成部380に入力されるようにしてもよい。この場合には、メダル領域373を回転して得られる複数の回転画像を合成した回転合成画像が特徴画像362Cとされる。 In the above example, the binary first image (edge image) 374 is input to the second image generation unit 380 as the first image 374 showing the medal 310 of the captured image 362B. The image showing the region 373 may be input to the second image generation unit 380 as the first image. In this case, a rotation combined image obtained by combining a plurality of rotated images obtained by rotating the medal area 373 is the characteristic image 362C.

以上のように、第2実施形態に係る遊技機であるパチスロ300では、メダル310を示す第1画像(エッジ画像)374を回転して得られる複数の回転画像を合成した回転合成画像381の少なくとも一部を第2画像(特徴画像362C)として生成している。この特徴画像362Cは、撮像画像362Bに含まれるメダル310の回転角度の影響を受けにくい。したがって、撮像画像362Bに含まれるメダル310の回転角度(回転姿勢)がばらつく場合であっても、特徴画像362C(対象特徴画像362C、標準特徴画像392)を用いて撮像画像362Bに含まれるメダル310が正規のものであるか否かをより正確に判定することができ、判定精度が向上する。 As described above, in the pachi-slot 300, which is the gaming machine according to the second embodiment, at least the rotated combined image 381 obtained by combining a plurality of rotated images obtained by rotating the first image (edge image) 374 showing the medal 310. A part is generated as the second image (feature image 362C). The characteristic image 362C is not easily influenced by the rotation angle of the medal 310 included in the captured image 362B. Therefore, even when the rotation angle (rotational posture) of the medal 310 included in the captured image 362B varies, the medal 310 included in the captured image 362B using the characteristic image 362C (target characteristic image 362C, standard characteristic image 392). Can be more accurately determined, and the determination accuracy is improved.

また、本実施形態では、2値のエッジ画像を第1画像374としているため、グレースケール画像のメダル領域373を第1画像374とする場合と比較して、撮像部361での撮像領域の明るさの変化の影響を第1画像374が受けることを抑制することができる。よって、特徴画像362Cが、メダル310が撮像される撮像領域の明るさの変化の影響を受けることを抑制することができ、その結果、正規メダルの判別精度が向上する。 Further, in the present embodiment, since the binary edge image is the first image 374, the brightness of the image pickup area in the image pickup unit 361 is higher than that in the case where the medal area 373 of the grayscale image is the first image 374. It is possible to prevent the first image 374 from being affected by the change in the height. Therefore, it is possible to suppress the characteristic image 362C from being affected by the change in the brightness of the imaging region where the medal 310 is imaged, and as a result, the accuracy of discriminating the regular medal is improved.

また、本実施形態では、抽出部371は、テンプレートマッチングを用いて、撮像画像362Bからメダル領域373を抽出しているため、ハフ変換が使用される上述の第1の抽出方法や、ラベリングが使用される第2の抽出方法と比較して、抽出処理が簡素化される。 In addition, in the present embodiment, the extraction unit 371 extracts the medal region 373 from the captured image 362B by using template matching, so that the above-described first extraction method using Hough conversion and labeling are used. The extraction process is simplified as compared with the second extraction method that is performed.

また、本実施形態では、判定部365は、撮像画像362Bから生成された特徴画像362Cと、テンプレートデータ367の特徴画像とをSAD等を用いて比較し、その比較結果に基づいて当該撮像画像362Bに係るメダル310が正規のものか否かを判定しているため、判定処理が簡素化される。 Further, in the present embodiment, the determination unit 365 compares the characteristic image 362C generated from the captured image 362B with the characteristic image of the template data 367 using SAD or the like, and based on the comparison result, the captured image 362B. Since it is determined whether or not the medal 310 according to is valid, the determination process is simplified.

<第2実施形態の変形例>
以下に各種変形例について説明する。
<Modification of Second Embodiment>
Various modifications will be described below.

[変形例1]
上記の例では、対象特徴画像362Cと比較されるテンプレートデータ367の特徴画像として標準特徴画像392が採用されているが、互いに異なる複数の正規のメダル310がそれぞれ撮像された複数の撮像画像362Aからそれぞれ生成される複数の標準特徴画像392を合成して得られる合成画像をテンプレートデータ367の特徴画像としてもよい。
[Modification 1]
In the above example, the standard feature image 392 is adopted as the feature image of the template data 367 to be compared with the target feature image 362C, but from the plurality of captured images 362A in which the different regular medals 310 are respectively captured. A composite image obtained by combining a plurality of standard feature images 392 generated respectively may be used as the feature image of the template data 367.

図35は、本変形例に係るテンプレートデータ367の特徴画像の生成方法を説明するための図である。図35の例では、テンプレートデータ367の生成に、互いに異なる4つの正規のメダル310がそれぞれ撮像された撮像画像362Bからそれぞれ生成された4つの標準特徴画像392が使用されている。なお、ここでは、1つのメダル310の両主面のそれぞれが互いに異なる模様を有する場合、これらは個別に、標準特徴画像392として、テンプレートデータ367の生成に用いられうる。 FIG. 35 is a diagram for explaining a method of generating a characteristic image of template data 367 according to this modification. In the example of FIG. 35, the four standard feature images 392 generated from the captured images 362B in which four different regular medals 310 are captured are used to generate the template data 367. Here, when both main surfaces of one medal 310 have different patterns, these can be individually used as the standard feature image 392 to generate the template data 367.

本変形例では、テンプレートデータ367が生成される際には、遊技機が実稼働していないときに、遊技機に対して複数の正規のメダル310が順次投入される。そして、遊技機に投入された複数の正規のメダル310がそれぞれ撮像された複数の撮像画像362Aが生成される。特徴画像生成部364は、生成された複数の撮像画像362Aのそれぞれについて、撮像画像362Aに基づいた標準特徴画像392を生成する。次に、特徴画像生成部364は、生成した複数の標準特徴画像392を合成し、それによって得られた合成画像382(図35参照)をテンプレートデータ367の特徴画像とする。例えば、特徴画像生成部364は、複数の標準特徴画像392を加算平均し、それよって得られた加算平均画像(合成画像382)をテンプレートデータ367の特徴画像とする。 In this modification, when the template data 367 is generated, a plurality of regular medals 310 are sequentially inserted into the gaming machine when the gaming machine is not in actual operation. Then, a plurality of captured images 362A in which the plurality of regular medals 310 inserted into the gaming machine are captured are generated. The characteristic image generation unit 364 generates a standard characteristic image 392 based on the captured image 362A for each of the generated plurality of captured images 362A. Next, the characteristic image generating unit 364 synthesizes the plurality of generated standard characteristic images 392, and sets the synthesized image 382 (see FIG. 35) thus obtained as the characteristic image of the template data 367. For example, the characteristic image generation unit 364 adds and averages a plurality of standard characteristic images 392, and sets the added and averaged image (composite image 382) thus obtained as the characteristic image of the template data 367.

なお、このような遊技機によるテンプレートデータ367の生成は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前にテンプレートデータ367を生成し、各遊技機のSRAM等に記憶させるようにしてもよい。 The generation of the template data 367 by such a gaming machine can be performed when a predetermined mode is selected in the gaming machine. Further, the template data 367 may be generated in advance by a gaming machine or another device and stored in the SRAM or the like of each gaming machine.

このように、互いに異なる正規のメダル310の特徴をそれぞれ示す複数の標準特徴画像392を合成した合成画像382をテンプレートデータ367の特徴画像とすることによって、標準特徴画像392をそのままテンプレートデータ367とする場合と比較して、正規のメダル310の個体差が、正規メダル判別処理に与える影響を抑制することができる。また、撮像部361がメダル310を撮像する際に、メダル310と撮像部361の撮像装置(例えば、CMOSイメージセンサ)との距離がばらつく場合であっても、これが正規メダル判別処理に与える影響を抑制することができ、正規メダル判別処理の精度が向上する。 In this way, the standard feature image 392 is directly used as the template data 367 by using the composite image 382 obtained by synthesizing the plurality of standard feature images 392 respectively showing the features of the different regular medals 310 as the feature image of the template data 367. Compared to the case, it is possible to suppress the influence of the individual difference of the regular medals 310 on the regular medal determination processing. Further, when the image capturing unit 361 captures an image of the medal 310, even if the distance between the medal 310 and the image capturing device (for example, CMOS image sensor) of the image capturing unit 361 varies, this has an influence on the regular medal determination process. It can be suppressed, and the accuracy of the regular medal discrimination process is improved.

また、本例とは異なり、正規のメダル310を示す第1画像374をそのまま標準特徴画像392として使用した場合には、複数の標準特徴画像392を合成する際に、当該複数の標準特徴画像392にそれぞれ含まれる複数の正規のメダル310の回転角度(回転姿勢)が一致するように、当該複数の標準特徴画像392の向きを合わせる必要がある。 Further, unlike the present example, when the first image 374 showing the regular medal 310 is used as it is as the standard feature image 392, when the plurality of standard feature images 392 are combined, the plurality of standard feature images 392 are combined. It is necessary to match the orientations of the standard feature images 392 so that the rotation angles (rotational postures) of the regular medals 310 included in each of the above-mentioned regular coins match.

これに対して、本変形例では、標準特徴画像392として、正規のメダル310を示す第1画像374を回転して得られる複数の回転画像を合成した回転合成画像381を使用しているため、複数の標準特徴画像392を合成する際に、当該複数の標準特徴画像392の向きを合わせる必要がない。よって、テンプレートデータ367の特徴画像の生成処理が簡素化される。 On the other hand, in this modified example, since the standard feature image 392 uses the rotation composite image 381 that is a combination of a plurality of rotation images obtained by rotating the first image 374 showing the regular medal 310, When synthesizing the plurality of standard feature images 392, it is not necessary to match the orientations of the plurality of standard feature images 392. Therefore, the generation process of the characteristic image of the template data 367 is simplified.

なお、テンプレートデータ367の特徴画像の生成で使用される正規のメダル310に大きな傷がある場合には、複数の標準特徴画像392を合成してテンプレートデータ367を生成したとしても、その傷の影響がテンプレートデータ367に現れ、正規メダル判別処理の精度が劣化する可能がある。 When the regular medal 310 used for generating the characteristic image of the template data 367 has a large scratch, even if the template data 367 is generated by combining a plurality of standard characteristic images 392, the influence of the scratch. Appears in the template data 367, and the accuracy of the regular medal determination process may deteriorate.

そこで、複数の正規のメダル310の特徴をそれぞれ示す複数の標準特徴画像392にそれぞれ含まれる、互いに同じ位置の複数の画素の画素値において、他の画素値と極端に異なる画素値が存在する場合には、その極端に異なる画素値を有する画素を含む標準特徴画像392を使用せずにテンプレートデータ367の特徴画像を生成してもよい。これにより、大きな傷を有する正規のメダル310に関する特徴を示す標準特徴画像392が、テンプレートデータ367の特徴画像の生成に使用されることを抑制することができる。よって、正規メダル判別処理の精度が劣化することを抑制できる。 Therefore, when the pixel values of the plurality of pixels at the same position included in the plurality of standard characteristic images 392 respectively showing the characteristics of the plurality of regular medals 310 have extremely different pixel values from other pixel values. In addition, the characteristic image of the template data 367 may be generated without using the standard characteristic image 392 including pixels having extremely different pixel values. As a result, it is possible to prevent the standard feature image 392 showing the feature relating to the regular medal 310 having a large scratch from being used for generating the feature image of the template data 367. Therefore, it is possible to prevent the accuracy of the regular medal determination process from deteriorating.

[変形例2]
上記の例では、第2画像生成部380は、メダル310を示す第1画像374を回転して得られる複数の回転画像を合成した回転合成画像381を特徴画像362Cとしていたが、回転合成画像381の一部を特徴画像362Cとしてもよい。以後、特徴画像362Cとなる、回転合成画像381の一部を「特徴部分領域383」と呼ぶ。
[Modification 2]
In the above example, the second image generation unit 380 uses, as the characteristic image 362C, the rotation combined image 381 obtained by combining a plurality of rotation images obtained by rotating the first image 374 showing the medal 310, but the rotation combined image 381. May be part of the feature image 362C. Hereinafter, a part of the rotation composite image 381 that becomes the characteristic image 362C will be referred to as a "characteristic region 383".

図36は、回転合成画像381の一部である特徴部分領域383を特徴画像362Cとした例を示す図である。図36に示される例では、四角形の回転合成画像381において、中心381cから上側の一辺381Bまで達する長方形の部分領域が特徴部分領域383とされている。図36に示される特徴部分領域383の例では、縦方向及び横方向のそれぞれにおいて複数の画素が含まれている。特徴部分領域383の形状は長方形以外であってもよい。 FIG. 36 is a diagram showing an example in which the characteristic part region 383 which is a part of the rotation composite image 381 is used as the characteristic image 362C. In the example shown in FIG. 36, a rectangular partial area extending from the center 381c to one side 381B on the upper side in the quadrangular rotated composite image 381 is set as a characteristic partial area 383. In the example of the characteristic portion region 383 shown in FIG. 36, a plurality of pixels are included in each of the vertical direction and the horizontal direction. The shape of the characteristic portion region 383 may be other than a rectangle.

第2画像生成部380は、例えば、メダル310を示す第1画像374に基づいて回転合成画像381を生成し、その後、回転合成画像381から特徴部分領域383を抽出することによって、特徴画像362Cを生成する。 For example, the second image generation unit 380 generates the rotation combined image 381 based on the first image 374 showing the medal 310, and then extracts the characteristic portion area 383 from the rotation combined image 381 to thereby extract the characteristic image 362C. To generate.

また、第2画像生成部380は、回転合成画像381を生成せずに特徴画像362Cを生成することも可能である。図37は、その方法を説明するための図である。図37に示されるように、第2画像生成部380は、第1画像生成部370で生成された第1画像374に対して抽出窓384を設定し、抽出窓384内の部分領域385(第1画像374の部分領域)を抽出する。抽出窓384は、例えば、図36に示した特徴部分領域383と同じ大きさである。また、抽出窓384は、第1画像374において、生成する特徴部分領域383の回転合成画像381での位置(図36参照)と同じ位置に設定される。ここで抽出された部分領域385を「基準部分領域385A」と呼ぶ。 In addition, the second image generation unit 380 can also generate the characteristic image 362C without generating the rotation combined image 381. FIG. 37 is a diagram for explaining the method. As shown in FIG. 37, the second image generation unit 380 sets the extraction window 384 for the first image 374 generated by the first image generation unit 370, and the partial area 385 (the first A partial area of one image 374) is extracted. The extraction window 384 has, for example, the same size as the characteristic portion area 383 shown in FIG. Further, the extraction window 384 is set at the same position as the position (see FIG. 36) in the rotation combined image 381 of the generated characteristic portion region 383 in the first image 374. The partial area 385 extracted here is referred to as a “reference partial area 385A”.

次に、第2画像生成部380は、第1画像374の中心374cを中心に抽出窓384を所定の角度βずつ回転させ、各回転角度において抽出窓384内の部分領域385を抽出する。ここで、第2画像生成部380は、トータルの回転角度が(360°−β)になるまで、第1画像374の中心374cを中心に抽出窓384を所定の角度βずつ回転させる。βは、様々な角度に設定されうるが、この例では、2°である。そして、第2画像生成部380は、得られた複数の部分領域385を合成して合成画像を生成する。このとき、第2画像生成部380は、得られた複数の部分領域385において、基準部分領域385A以外の部分領域385を、基準部分領域385Aの外形と一致するように回転させた上で、当該複数の部分領域385を合成する。第2画像生成部380は、例えば、得られた複数の部分領域385を加算平均して加算平均画像を生成することによって、当該複数の部分領域385の合成画像を生成する。この加算平均画像(合成画像)が、図36に示す特徴部分領域383に対応するものとなる。 Next, the second image generation unit 380 rotates the extraction window 384 by a predetermined angle β around the center 374c of the first image 374, and extracts the partial region 385 inside the extraction window 384 at each rotation angle. Here, the second image generation unit 380 rotates the extraction window 384 by a predetermined angle β around the center 374c of the first image 374 until the total rotation angle becomes (360°-β). β can be set to various angles, but in this example is 2°. Then, the second image generation unit 380 generates a combined image by combining the obtained plurality of partial areas 385. At this time, the second image generation unit 380 rotates the partial areas 385 other than the reference partial area 385A in the obtained plurality of partial areas 385 so as to match the outer shape of the reference partial area 385A, and then, A plurality of partial areas 385 are combined. The second image generation unit 380 generates a composite image of the plurality of partial regions 385 by, for example, performing arithmetic mean of the obtained plurality of partial regions 385 to generate an arithmetic mean image. This arithmetic mean image (composite image) corresponds to the characteristic portion area 383 shown in FIG.

このように、回転合成画像381の一部を特徴画像362Cとすることによって、特徴画像362Cの画素数が低減する。したがって、特徴画像362Cを使用する判定部365での処理が簡素化される。 In this way, the number of pixels of the characteristic image 362C is reduced by using a part of the rotation combined image 381 as the characteristic image 362C. Therefore, the processing in the determination unit 365 that uses the characteristic image 362C is simplified.

また、第2画像生成部380が、抽出窓384を所定の角度ずつ回転させ、各回転角度において抽出窓384内の部分領域385を抽出し、得られた複数の部分領域385を合成することによって特徴画像362Cを生成する場合には、特徴画像362Cを生成する際に取り扱う画像の画素数が低減するため、特徴画像362Cの生成処理が簡素化される。 In addition, the second image generation unit 380 rotates the extraction window 384 by a predetermined angle, extracts the partial region 385 in the extraction window 384 at each rotation angle, and synthesizes the obtained plurality of partial regions 385. When the characteristic image 362C is generated, the number of pixels of the image handled when generating the characteristic image 362C is reduced, so that the generation process of the characteristic image 362C is simplified.

なお、回転合成画像381のどの部分を特徴部分領域383とするかについては、正規のメダル310に示される模様の位置等に基づいて決定される。つまり、特徴部分領域383においてメダル310の特徴が十分に表れるように、回転合成画像381の一部を特徴部分領域383に設定することが好ましい。 It should be noted that which part of the rotation composite image 381 is to be the characteristic part region 383 is determined based on the position of the pattern shown on the regular medal 310 and the like. That is, it is preferable to set a part of the rotation composite image 381 in the characteristic portion area 383 so that the characteristic of the medal 310 can be sufficiently expressed in the characteristic portion area 383.

例えば、図25に示されるように、正規のメダル310の模様がメダル310の一方主面310aのほぼ全面に亘って存在する場合には、本例のように、回転合成画像381において、中心381cから一辺381B(図36参照)まで達するように特徴部分領域383が設定されることが望ましい。 For example, as shown in FIG. 25, when the pattern of the regular medal 310 exists over substantially the entire one main surface 310a of the medal 310, the center 381c of the rotation composite image 381 is displayed as in this example. It is desirable that the characteristic portion area 383 is set so as to reach the side 381B (see FIG. 36).

また、メダル310の模様がメダル310の一方主面310aの周端部だけにしか存在しない場合には、図38に示されるように、回転合成画像381の端部だけを特徴部分領域383としてもよい。 Further, when the pattern of the medal 310 exists only on the peripheral end portion of the one main surface 310a of the medal 310, as shown in FIG. 38, only the end portion of the rotation composite image 381 may be set as the characteristic portion region 383. Good.

また、メダル310の模様がメダル310の一方主面310aのほぼ全面に渡って存在する場合には、図39に示されるように線状の特徴部分領域383としてもよい。図39に示される特徴部分領域383においては、縦方向では複数の画素が含まれているが、横方向では1つの画素だけしか含まれていない。 Further, when the pattern of the medal 310 exists over almost the entire one main surface 310a of the medal 310, the linear characteristic portion area 383 may be formed as shown in FIG. In the characteristic portion region 383 shown in FIG. 39, a plurality of pixels are included in the vertical direction, but only one pixel is included in the horizontal direction.

<<第3実施形態>>
以下、本発明の第3実施形態に係る遊技機であるパチスロについて、図40〜図60を参照しながら説明する。なお、本発明の第3実施形態に係る遊技機であるパチスロ400は、機能フロー、パチスロの構造、メダルセレクタの構成、パチスロの回路構成、及びメダルセレクタの回路構成に関して、上述した第1実施形態に係る遊技機であるパチスロ1と同様である。以下では、第3実施形態に係る遊技機であるパチスロ400で実行される正規メダル判別処理について説明する。
<<Third Embodiment>>
Hereinafter, a pachi-slot which is a gaming machine according to the third embodiment of the present invention will be described with reference to FIGS. 40 to 60. The pachi-slot 400, which is the gaming machine according to the third embodiment of the present invention, has the functional flow, the structure of the pachi-slot, the medal selector configuration, the pachi-slot circuit configuration, and the medal selector circuit configuration described above in the first embodiment. It is the same as the pachi-slot 1 which is the gaming machine according to. Hereinafter, the regular medal determination process executed by the pachi-slot 400, which is the gaming machine according to the third embodiment, will be described.

上述のように、第3実施形態に係る遊技機であるパチスロ400は、第1実施形態に係る遊技機と同様に、制御LSI434(第1実施形態に係る遊技機の制御LSI234に対応)を含むカメラユニット409(第1実施形態に係る遊技機のカメラユニット209に対応)を備え、さらに、カメラユニット409を含むメダルセレクタ401(第1実施形態に係る遊技機のメダルセレクタ201に対応)を備える。図40は、このようなカメラユニット409の機能ブロック図である。 As described above, the pachi-slot 400 that is the gaming machine according to the third embodiment includes the control LSI 434 (corresponding to the control LSI 234 of the gaming machine according to the first embodiment), like the gaming machine according to the first embodiment. A camera unit 409 (corresponding to the camera unit 209 of the gaming machine according to the first embodiment) is provided, and further a medal selector 401 (corresponding to the medal selector 201 of the gaming machine according to the first embodiment) including the camera unit 409 is provided. .. FIG. 40 is a functional block diagram of such a camera unit 409.

図40に示されるように、本実施形態に係るカメラユニット409は、撮像部461、変換部463、抽出部464、特定部465、フィッティング部466、判定部467、及び入出力部468を備えている。なお、カメラユニット409は、LED等からなる発光部を備えるが、図40では図示を省略する。 As shown in FIG. 40, the camera unit 409 according to the present embodiment includes an imaging unit 461, a conversion unit 463, an extraction unit 464, a specification unit 465, a fitting unit 466, a determination unit 467, and an input/output unit 468. There is. Note that the camera unit 409 includes a light emitting unit such as an LED, but the illustration thereof is omitted in FIG. 40.

撮像部461は、CMOSイメージセンサ432(例えば、第1実施形態に係る遊技機のCMOSイメージセンサ232に対応)を含み、このCMOSイメージセンサ432により撮像された画像データを(必要に応じて所定の変換を行って)、撮像画像462Aとして出力する。 The image capturing unit 461 includes a CMOS image sensor 432 (for example, corresponding to the CMOS image sensor 232 of the gaming machine according to the first embodiment), and the image data captured by the CMOS image sensor 432 (predetermined as necessary). (Converted) and output as a captured image 462A.

変換部463(例えば、第1実施形態に係る遊技機のISP回路245に対応)は、撮像部461から入力される撮像画像462Aをカラー画像からグレースケール画像に変換し、変換後の撮像画像を撮像画像462Bとして出力する。 The conversion unit 463 (for example, corresponding to the ISP circuit 245 of the gaming machine according to the first embodiment) converts the captured image 462A input from the imaging unit 461 from a color image to a grayscale image, and converts the captured image after conversion. The captured image 462B is output.

抽出部464(例えば、第1実施形態に係る遊技機の画像認識アクセラレータ回路249等に対応)は、撮像画像462Bから、メダル410が撮像されているメダル領域(対象物領域)473を抽出する。 The extraction unit 464 (for example, corresponding to the image recognition accelerator circuit 249 of the gaming machine according to the first embodiment) extracts the medal area (target area) 473 in which the medal 410 is imaged from the captured image 462B.

特定部465(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、メダル領域473において特徴的な局所領域(部分領域)を特定する。言い換えれば、特定部465は、メダル領域473において意味のある局所領域を特定する。この特定部465での処理は「セグメンテーション」と呼ばれる。以後、単に「局所領域」と言えば、特定部465がメダル領域473において特定する特徴的な局所領域を意味する。 The specifying unit 465 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) specifies a characteristic local area (partial area) in the medal area 473. In other words, the identifying unit 465 identifies a meaningful local area in the medal area 473. The process performed by the identifying unit 465 is called “segmentation”. Hereinafter, the term “local area” simply means a characteristic local area specified by the specifying unit 465 in the medal area 473.

フィッティング部466(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、特定部465で特定された局所領域に対して楕円をフィッティングする。なお、本明細書において「楕円」とは、円(真円)を含む概念である。 The fitting unit 466 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) fits an ellipse to the local region specified by the specifying unit 465. In addition, in this specification, an “oval” is a concept including a circle (a perfect circle).

判定部467(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、フィッティング部466で得られた楕円に関する楕円情報を、撮像画像462Bに含まれるメダル410の特徴を示す特徴量とする。本実施形態では、楕円に関する楕円情報として、例えば、当該楕円の位置情報と形状情報が採用される。ただし、このような楕円情報は一例に過ぎず、このような情報に限定されるものではない。そして、判定部467は、このような特徴量に基づいて、撮像画像462Bに含まれるメダル410が正規のものであるか否かを判定し、その判定結果469を、入出力部468(例えば、第1実施形態に係る遊技機のGPIO250に対応)を介して出力する。本実施形態では、判定部467は、撮像画像462Bから求められた特徴量と、正規のメダル410の特徴を示す標準特徴量(基準特徴量)467Aとを比較し、その比較結果に基づいて、撮像画像462Bに係るメダル410が正規のものであるか否かを判定する。標準特徴量467Aは、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 The determination unit 467 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) uses the ellipse information regarding the ellipse obtained by the fitting unit 466 as the characteristics of the medal 410 included in the captured image 462B. Let it be the feature quantity shown. In the present embodiment, for example, position information and shape information of the ellipse are used as the ellipse information regarding the ellipse. However, such ellipse information is merely an example, and the present invention is not limited to such information. Then, the determination unit 467 determines whether or not the medal 410 included in the captured image 462B is a legitimate one based on such a feature amount, and outputs the determination result 469 to the input/output unit 468 (for example, (Corresponding to GPIO250 of the gaming machine according to the first embodiment). In the present embodiment, the determination unit 467 compares the feature amount obtained from the captured image 462B with the standard feature amount (reference feature amount) 467A indicating the feature of the regular medal 410, and based on the comparison result, It is determined whether or not the medal 410 related to the captured image 462B is a legitimate one. The standard feature amount 467A can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

図41は、撮像部461で得られる撮像画像462Aの一例を模式的に示す図である。図41に示される撮像画像462Aには、撮像されたメダル410の画像が含まれている。また、撮像画像462Aには、背景であるメダルレール411が撮像されている。なお、メダルレール411は、上述の第1実施形態のメダルレール210に対応するものであるが、ここでは、レールの形状を簡略化して示している。 FIG. 41 is a diagram schematically showing an example of a captured image 462A obtained by the image capturing section 461. The captured image 462A shown in FIG. 41 includes an image of the captured medal 410. In addition, the medal rail 411 that is the background is captured in the captured image 462A. The medal rail 411 corresponds to the medal rail 210 of the first embodiment described above, but the shape of the rail is shown in a simplified form here.

メダル410の一方主面410aには、例えば、アルファベット「A」の模様とアルファベット「B」の模様が示されている。これは、正規メダルの模様を示すものであるが、これ以外の模様であってもよい。また、正規メダルの両主面に模様が付されていてもよい。 On one main surface 410a of the medal 410, for example, a pattern of the alphabet "A" and a pattern of the alphabet "B" are shown. This shows the pattern of the regular medal, but other patterns may be used. Further, patterns may be provided on both main surfaces of the regular medal.

本実施形態では、メダル410は、その両主面の中心を通る、厚み方向に沿った回転軸の周りに回転しながらメダルレール411上を移動する。そして、撮像部461は、メダル410の一方主面410a側からメダル410を撮像する。したがって、撮像画像462Aには、メダル410の一方主面410aの画像が含まれることになる。また、本実施形態では、撮像部461で生成される撮像画像462Aはカラー画像であるが、グレースケール画像であってもよい。 In this embodiment, the medal 410 moves on the medal rail 411 while rotating around a rotation axis along the thickness direction passing through the centers of both main surfaces thereof. Then, the imaging unit 461 images the medal 410 from the one main surface 410a side of the medal 410. Therefore, the captured image 462A includes the image of the one main surface 410a of the medal 410. Further, in the present embodiment, the captured image 462A generated by the image capturing unit 461 is a color image, but it may be a grayscale image.

<正規メダル判別処理のフロー>
次に、本実施形態におけるカメラユニット409で実施される正規メダル判別処理の一連の動作について説明する。
<Regular medal discrimination process flow>
Next, a series of operations of the regular medal determination process performed by the camera unit 409 in the present embodiment will be described.

最初に、撮像部461から撮像画像462Aが入力されると、変換部463において撮像画像462Aをカラー画像からグレースケール画像に変換し、それよって得られた撮像画像462Bを処理対象とする。 First, when the captured image 462A is input from the image capturing unit 461, the conversion unit 463 converts the captured image 462A from a color image into a grayscale image, and the captured image 462B thus obtained is processed.

次に、抽出部471は、処理対象である撮像画像462Bから、メダル410が映るメダル領域473を抽出する。その後、特定部465において、抽出部471で抽出されたメダル領域473において局所領域が特定される。次に、フィッティング部466において、特定部465で特定された局所領域に対して楕円がフィッティングされる。 Next, the extraction unit 471 extracts the medal area 473 in which the medal 410 is shown from the captured image 462B that is the processing target. After that, the identifying unit 465 identifies the local region in the medal region 473 extracted by the extracting unit 471. Next, the fitting unit 466 fits an ellipse to the local area identified by the identifying unit 465.

次に、判定部467は、フィッティング部466で得られた楕円に関する楕円情報を特徴量とする。そして判定部467は、当該特徴量と標準特徴量467Aとを比較し、その比較結果に基づいて、撮像画像462Bのメダル410が正規のものであるか否かを判定する。そして、判定部467は、判定結果469を、入出力部468(第1実施形態のGPIO250に対応)を介して、主制御回路(第1実施形態の遊技機における主制御回路91に対応)に出力する。このようにして、主制御回路は、撮像画像462Aに示されるメダル410が正規のものでない場合、第1実施形態の遊技機と同様に、遊技を強制的に中断させ、副制御回路(第1実施形態の遊技機における副制御回路101に対応)を介して、不正行為があった旨を報知することができる。例えば、スピーカから警告音を出力したり、液晶表示装置であるディプレイに警告情報を表示したりするなどして、外部に警告を発することができる。 Next, the determination unit 467 uses the ellipse information regarding the ellipse obtained by the fitting unit 466 as the feature amount. Then, the determination unit 467 compares the feature amount with the standard feature amount 467A, and based on the comparison result, determines whether or not the medal 410 of the captured image 462B is a valid one. Then, the determination unit 467 sends the determination result 469 to the main control circuit (corresponding to the main control circuit 91 in the gaming machine of the first embodiment) via the input/output unit 468 (corresponding to the GPIO 250 of the first embodiment). Output. In this way, when the medal 410 shown in the captured image 462A is not a proper one, the main control circuit forcibly interrupts the game, similarly to the gaming machine of the first embodiment, and the sub control circuit (first control circuit). Through the sub-control circuit 101 in the gaming machine according to the embodiment), it is possible to notify that there has been an illegal act. For example, it is possible to output a warning to the outside by outputting a warning sound from a speaker or displaying warning information on a display which is a liquid crystal display device.

その後、判定部467は、新たな撮像画像462Aが入力されると、その撮像画像462Aから得られる撮像画像462Bを新たな処理対象として、上述した正規メダル判別処理を実行する。以後、判定部467は、撮像画像462Aが入力されるたびに、同様の動作を行う。 After that, when the new captured image 462A is input, the determination unit 467 executes the above-described regular medal determination process with the captured image 462B obtained from the captured image 462A as a new processing target. After that, the determination unit 467 performs the same operation each time the captured image 462A is input.

<各構成要素の詳細説明>
以下に、抽出部464、特定部465、フィッティング部466、及び判定部467の動作についてさらに詳細に説明する。
<Detailed description of each component>
The operations of the extraction unit 464, the identification unit 465, the fitting unit 466, and the determination unit 467 will be described in more detail below.

[抽出部]
図42は、抽出部464が撮像画像462Bから抽出するメダル領域473の一例を模式的に示す図である。撮像画像462Bからメダル領域473を抽出する方法としては様々な方法がある。
[Extractor]
FIG. 42 is a diagram schematically illustrating an example of the medal area 473 extracted by the extraction unit 464 from the captured image 462B. There are various methods for extracting the medal area 473 from the captured image 462B.

例えば、メダル410の外形が円形であることを利用した第1の抽出方法がある。この第1の抽出方法では、まず、撮像画像462Bに対してエッジ検出が行われてエッジ画像が生成される。エッジ画像の生成方法としては、例えば、Sobel法、Laplacian法、Canny法などが使用される。次に、生成されたエッジ画像から円形領域が抽出される。円形領域の抽出方法としては、例えばハフ変換が使用される。そして、エッジ画像における当該円形領域の位置と同じ位置に存在する撮像画像462Bでの円形領域が、メダル領域473とされる。 For example, there is a first extraction method that utilizes the outer shape of the medal 410. In the first extraction method, first, edge detection is performed on the captured image 462B to generate an edge image. As a method of generating an edge image, for example, the Sobel method, Laplacian method, Canny method or the like is used. Next, a circular area is extracted from the generated edge image. As a method of extracting the circular area, for example, Hough transform is used. Then, the circular area in the captured image 462B existing at the same position as the circular area in the edge image is set as the medal area 473.

別の方法としては、背景差分法とラベリングを用いて撮像画像462Bからメダル領域473を抽出する第2の抽出方法がある。この第2の抽出方法では、まず、撮像画像462Bと背景画像(撮像画像462Bの背景だけが映る画像)との差分を示す背景差分画像が生成され、生成された背景差分画像が2値化される。そして、2値の背景差分画像に対して4連結等のラベリングが行われる。そして、2値の背景差分画像における、ラベリングの結果得られた連結領域(独立領域)の位置と同じ位置に存在する撮像画像462Bでの部分領域が、メダル領域473とされる。 As another method, there is a second extraction method that extracts the medal area 473 from the captured image 462B using the background subtraction method and labeling. In the second extraction method, first, a background difference image indicating a difference between the captured image 462B and the background image (an image showing only the background of the captured image 462B) is generated, and the generated background difference image is binarized. It Then, labeling such as 4-connection is performed on the binary background difference image. Then, the partial area in the captured image 462B existing at the same position as the position of the connected area (independent area) obtained as a result of labeling in the binary background difference image is set as the medal area 473.

本実施形態では、抽出部464は、上記の2つの方法とは異なる方法で、撮像画像462Bからメダル領域473を抽出する。以下に本実施形態に係る抽出部464の動作について説明する。なお、抽出部464は、上記の2つの方法のどちらか一方を用いて撮像画像462Bからメダル領域473を抽出してもよい。 In the present embodiment, the extraction unit 464 extracts the medal area 473 from the captured image 462B by a method different from the above two methods. The operation of the extraction unit 464 according to this embodiment will be described below. The extraction unit 464 may extract the medal area 473 from the captured image 462B using either one of the above two methods.

まず、抽出部464は、撮像画像462Bと背景画像475(撮像画像462Bの背景だけが映る画像)との差分を示す背景差分画像を生成し、生成した背景差分画像を2値化する。図43は、背景画像475を模式的に示す図であって、図44は、2値の背景差分画像476を模式的に示す図である。なお、図44、及び本実施形態における後述の図において模式的に示される2値の画像では、画素値が「1」の領域(高輝度領域)は黒色で示され、画素値が「0」の領域(低輝度領域)は白色で示される。また、背景画像475は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 First, the extraction unit 464 generates a background difference image indicating a difference between the captured image 462B and the background image 475 (an image in which only the background of the captured image 462B appears), and binarizes the generated background difference image. 43 is a diagram schematically showing the background image 475, and FIG. 44 is a diagram schematically showing a binary background difference image 476. In the binary image schematically shown in FIG. 44 and the drawings described later in this embodiment, a region (high-luminance region) having a pixel value “1” is shown in black, and a pixel value “0”. The area (low brightness area) is shown in white. The background image 475 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

次に、抽出部464は、2値の背景差分画像476に対して、メダル410の外形を示す2値の外形テンプレート477を用いたテンプレートマッチングを行う。つまり、抽出部464は、背景差分画像476において、外形テンプレート477と類似する領域がどこに存在するかを特定する。言い換えると、抽出部464は、背景差分画像476において、外形テンプレート477が示すメダル410の外形と一致する領域がどこに存在するかを特定する。図45は、外形テンプレート477を模式的に示す図である。外形テンプレート477は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 Next, the extraction unit 464 performs template matching on the binary background difference image 476 using the binary outline template 477 indicating the outline of the medal 410. That is, the extraction unit 464 specifies where in the background difference image 476, a region similar to the outer shape template 477 exists. In other words, the extraction unit 464 specifies where, in the background difference image 476, there is a region that matches the outer shape of the medal 410 indicated by the outer shape template 477. FIG. 45 is a diagram schematically showing the outer shape template 477. The outer shape template 477 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

テンプレートマッチングでは、抽出部464は、図46に示されるように、背景差分画像476上で外形テンプレート477をラスタスキャン方向に少しずつ(例えば、1画素(ピクセル)ずつ)移動させる。言い換えれば、抽出部464は、背景差分画像476上で外形テンプレート477をラスタスキャンさせる。このとき、抽出部464は、外形テンプレート477の各位置において、外形テンプレート477と、それに重なる、背景差分画像476の部分領域とのAND画像を生成する。これにより、複数の2値のAND画像が生成される。そして、抽出部464は、生成した複数のAND画像のうち、画素値が「1」の画素(高輝度画素)の数が最も多いAND画像の生成で使用された外形テンプレート477の背景差分画像476上の位置を特定する。この位置は、背景差分画像476において、外形テンプレート477と類似した領域が存在する位置である。 In template matching, as shown in FIG. 46, the extraction unit 464 moves the outline template 477 on the background difference image 476 little by little (for example, by one pixel (pixel)) in the raster scan direction. In other words, the extraction unit 464 raster-scans the outer shape template 477 on the background difference image 476. At this time, the extraction unit 464 generates an AND image of the outer shape template 477 and the partial area of the background difference image 476 overlapping with the outer shape template 477 at each position of the outer shape template 477. As a result, a plurality of binary AND images are generated. Then, the extraction unit 464, among the generated AND images, the background difference image 476 of the outer shape template 477 used in the generation of the AND image having the largest number of pixels (pixels with high brightness) having the pixel value “1”. Identify the top position. This position is a position where a region similar to the outer shape template 477 exists in the background difference image 476.

そして、抽出部464は、図47に示されるように、特定した位置と同じ位置に存在する撮像画像462Bでの部分領域478を、メダル領域473として抽出する。言い換えれば、抽出部464は、特定した位置と同じ位置に外形テンプレート477を撮像画像462Bに配置した際に、外形テンプレート477と重なる、撮像画像462Bでの部分領域478を、メダル領域473として抽出する。このとき、部分領域478において、その上の外形テンプレート477が示す円形よりも外側の各画素の画素値を零としたものをメダル領域473としてもよい。抽出部464で抽出されるメダル領域473はグレースケール画像である。本実施形態では、メダル領域473の外形は四角形であるが、円形等の他の形状であってもよい。 Then, as shown in FIG. 47, the extraction unit 464 extracts, as the medal area 473, the partial area 478 in the captured image 462B existing at the same position as the specified position. In other words, the extraction unit 464 extracts, as the medal area 473, the partial area 478 in the captured image 462B that overlaps with the outer shape template 477 when the outer shape template 477 is arranged in the captured image 462B at the same position as the specified position. .. At this time, in the partial area 478, the one in which the pixel value of each pixel outside the circle indicated by the outer shape template 477 on the partial area 478 is zero may be set as the medal area 473. The medal area 473 extracted by the extraction unit 464 is a grayscale image. In the present embodiment, the outer shape of the medal area 473 is a quadrangle, but it may be another shape such as a circle.

[特定部]
特定部465は、例えばMSER(Maximally Stable Extremal Regions)を使用して、抽出部464で抽出されたメダル領域473において局所領域を特定する。特定部465は、MSER以外の方法で局所領域を特定してもよい。
[Specification part]
The specifying unit 465 specifies a local region in the medal region 473 extracted by the extracting unit 464, for example, using MSER (Maximally Stable Extremal Regions). The identifying unit 465 may identify the local region by a method other than MSER.

特定部465は、MSERを使用して局所領域を特定する場合には、まずメダル領域473を2値化する。このとき、特定部465は、2値化に使用するしきい値を変化させながらメダル領域473を2値化する。これにより、互いに異なるしきい値が使用されて2値化された複数の2値化画像が得られる。次に、特定部465は、得られた複数の2値化画像において、当該複数の2値化画像の間で画素値が変化しない部分領域(複数の画素の塊)を特定する。言い換えれば、特定部465は、得られた複数の2値化画像において、当該複数の2値化画像の間で画素値が安定している部分領域を特定する。そして、特定部465は、特定した部分領域の2値化画像での位置と同じ位置に存在するメダル領域473での部分領域を局所領域とする。これにより、特定部465では、メダル領域473における、画素値が一様な部分領域が、意味のある領域として特定される。 When identifying the local area using MSER, the identifying unit 465 first binarizes the medal area 473. At this time, the identifying unit 465 binarizes the medal area 473 while changing the threshold value used for binarization. As a result, a plurality of binarized images binarized by using different threshold values are obtained. Next, the identifying unit 465 identifies, in the obtained plurality of binarized images, a partial area (a group of a plurality of pixels) in which the pixel value does not change between the plurality of binarized images. In other words, the identifying unit 465 identifies, in the obtained plurality of binarized images, a partial region in which the pixel value is stable among the plurality of binarized images. Then, the specifying unit 465 sets the partial area in the medal area 473 existing at the same position in the binarized image of the specified partial area as the local area. As a result, the specifying unit 465 specifies a partial area in the medal area 473 having a uniform pixel value as a meaningful area.

本実施形態では、メダル410が含まれるメダル領域473において、メダル410に付された模様が映る領域が局所領域として特定される。図48は、メダル410が含まれるメダル領域473において特定される局所領域473a、473bを模式的に示す図である。局所領域473aは、メダル領域473において、正規のメダル410に付された「A」の模様が映る領域である。局所領域473bは、メダル領域473において、正規のメダル410に付された「B」の模様が映る領域である。正規のメダル410が映るメダル領域473では、正規のメダル410に付された「A」の模様が映る領域と、正規のメダル410に付された「B」の模様が映る領域とが、別々に局所領域として特定される。 In the present embodiment, in the medal area 473 including the medal 410, the area in which the pattern attached to the medal 410 appears is specified as the local area. FIG. 48 is a diagram schematically showing local areas 473a and 473b specified in the medal area 473 including the medal 410. The local area 473a is an area in the medal area 473 in which the pattern of “A” attached to the regular medal 410 appears. The local area 473b is an area in the medal area 473 in which the pattern of "B" attached to the regular medal 410 is reflected. In the medal area 473 in which the regular medal 410 appears, the area in which the pattern of “A” attached to the regular medal 410 appears and the area in which the pattern of “B” attached to the regular medal 410 appears separately. Identified as a local area.

このように、メダル領域473において、互いに独立した複数の特徴的部分が存在する場合には、当該複数の特徴的部分はそれぞれ別の局所領域として特定される。 In this way, in the medal area 473, when a plurality of characteristic portions independent of each other are present, the plurality of characteristic portions are specified as different local areas.

[フィッティング部]
フィッティング部466は、特定部465で特定された局所領域に対して楕円をフィッティングする。特定部465で複数の局所領域が特定された場合、フィッティング部466は、当該複数の局所領域に対して複数の楕円をそれぞれフィッティングする。図49は、図48に示される局所領域473a、473bに対して楕円481a、481bがそれぞれフィッティングされた様子を示す図である。以下に、局所領域に対して楕円をフィッティングする方法の一例について説明する。
[Fitting part]
The fitting unit 466 fits an ellipse to the local area specified by the specifying unit 465. When the specifying unit 465 specifies a plurality of local regions, the fitting unit 466 fits a plurality of ellipses to the plurality of local regions. FIG. 49 is a diagram showing a state in which ellipses 481a and 481b are fitted to the local regions 473a and 473b shown in FIG. 48, respectively. An example of a method of fitting an ellipse to a local area will be described below.

フィッティング部466は、メダル領域473に含まれる局所領域を構成する複数の画素の位置に基づいて、当該局所領域にフィッティングする楕円の位置情報及び形状情報を生成する。本実施形態では、フィッティング部466は、局所領域にフィッティングする楕円の中心位置を、当該楕円の位置情報として求める。またフィッティング部466は、当該楕円の長軸及び短軸の長さを、当該楕円の形状情報として求める。 The fitting unit 466 generates position information and shape information of an ellipse fitting to the local area based on the positions of a plurality of pixels that form the local area included in the medal area 473. In the present embodiment, the fitting unit 466 obtains the center position of the ellipse fitting the local area as the position information of the ellipse. In addition, the fitting unit 466 obtains the lengths of the major axis and the minor axis of the ellipse as shape information of the ellipse.

フィッティング部466は、局所領域を構成する複数の画素の位置の平均値を算出し、当該平均値を、当該局所領域にフィッティングする楕円の中心位置とする。つまり、フィッティング部466は、局所領域を構成する複数の画素のx座標、及びy座標の平均値を算出し、当該平均値を、当該局所領域にフィッティングする楕円の中心のx座標、及びy座標とする。またフィッティング部466は、局所領域を構成する複数の画素のx座標、及びy座標を使用して、当該局所領域での画素のx座標、及びy座標についての共分散行列を求める。そして、フィッティング部466は、求めた共分散行列についての2つの固有値を求める。フィッティング部466は、局所領域にフィッティングする楕円の長軸及び短軸の長さを、この2つの固有値から求める。これにより、局所領域にフィッティングする楕円の位置及び形状が定まり、局所領域に対して楕円がフィッティングされる。なお、フィッティング部466が求める2つの固有値が同じ値である場合には、局所領域にフィッティングする楕円は真円となる。 The fitting unit 466 calculates an average value of the positions of a plurality of pixels forming the local area, and sets the average value as the center position of the ellipse fitting to the local area. That is, the fitting unit 466 calculates the average value of the x-coordinates and the y-coordinates of a plurality of pixels forming the local area, and the average value is the x-coordinate and the y-coordinate of the center of the ellipse fitting the local area. And Further, the fitting unit 466 uses the x-coordinates and the y-coordinates of a plurality of pixels forming the local area to obtain the covariance matrix for the x-coordinates and the y-coordinates of the pixels in the local area. Then, the fitting unit 466 obtains two eigenvalues of the obtained covariance matrix. The fitting unit 466 obtains the lengths of the major axis and the minor axis of the ellipse fitting to the local area from these two eigenvalues. As a result, the position and shape of the ellipse to be fitted to the local area are determined, and the ellipse is fitted to the local area. When the two eigenvalues obtained by the fitting unit 466 have the same value, the ellipse fitted to the local area is a perfect circle.

[判定部]
判定部467は、フィッティング部466で求められた楕円の位置情報及び形状情報を特徴量とし、当該特徴量と標準特徴量567Aとを比較する。具体的には、判定部467は、フィッティング部466で求められた楕円の中心位置、長軸の長さ及び短軸の長さを特徴量とし、当該特徴量と標準特徴量467Aとを比較する。そして、判定部467は、その比較結果に基づいて、撮像画像462Bに含まれるメダル410が正規のものであるか否かを判定する。
[Judgment part]
The determination unit 467 uses the position information and shape information of the ellipse obtained by the fitting unit 466 as a feature amount and compares the feature amount with the standard feature amount 567A. Specifically, the determination unit 467 uses the center position of the ellipse, the length of the long axis, and the length of the short axis obtained by the fitting unit 466 as the feature amount, and compares the feature amount with the standard feature amount 467A. .. Then, the determination unit 467 determines whether or not the medal 410 included in the captured image 462B is a legitimate one based on the comparison result.

標準特徴量467Aには標準楕円情報が含まれている。標準特徴量467Aの生成には、正規のメダル410が撮像されている撮像画像462Bが使用される。以下に標準特徴量467Aの生成方法について説明する。 The standard feature amount 467A includes standard ellipse information. The captured image 462B in which the regular medal 410 is captured is used to generate the standard feature amount 467A. The method of generating the standard feature amount 467A will be described below.

遊技機(パチスロ400)が実稼働していないときには、標準特徴量467Aを得るために、遊技機に対して正規のメダル410が投入される。本実施形態に係る遊技機のカメラユニット409における撮像部461、及び変換部463により、投入された正規のメダル410が撮像された撮像画像462Bが生成される。そして、抽出部464が、上記と同様にして、撮像画像462Bからメダル領域473を抽出し、特定部465が、当該メダル領域473において局所領域を特定する。本実施形態では、上述の図49に示されるように、正規のメダル410が映るメダル領域473において2つの局所領域473a、473bが特定される。フィッティング部466は、特定部465で特定された複数の局所領域473a、473bに対して複数の楕円をそれぞれフィッティングする。このように、正規のメダル410が映る撮像画像462Bから得られた楕円を「標準楕円」と呼ぶ。本実施形態では、標準楕円に関する楕円情報が標準楕円情報となる。標準楕円情報には、標準楕円の位置情報及び形状情報が含まれている。具体的には、標準楕円情報には、標準楕円の中心位置、長軸の長さ及び短軸の長さが含まれている。本実施形態では、正規のメダル410の撮像画像が含まれる撮像画像462Bから複数の標準楕円が得られることから、標準特徴量467Aには、当該複数の標準楕円にそれぞれ対応する複数の標準楕円情報が含まれる。遊技機が実稼働していないときに生成された標準特徴量467Aは、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 When the gaming machine (pachi-slot 400) is not in actual operation, a regular medal 410 is inserted into the gaming machine in order to obtain the standard feature amount 467A. The image capturing unit 461 and the converting unit 463 in the camera unit 409 of the gaming machine according to the present embodiment generate a captured image 462B in which the inserted regular medal 410 is captured. Then, the extracting unit 464 extracts the medal area 473 from the captured image 462B in the same manner as described above, and the specifying unit 465 specifies the local area in the medal area 473. In the present embodiment, as shown in FIG. 49 described above, two local areas 473a and 473b are specified in the medal area 473 in which the regular medal 410 is shown. The fitting unit 466 fits a plurality of ellipses to the plurality of local regions 473a and 473b identified by the identifying unit 465, respectively. The ellipse obtained from the captured image 462B showing the regular medal 410 in this manner is called a "standard ellipse". In this embodiment, the ellipse information about the standard ellipse is the standard ellipse information. The standard ellipse information includes position information and shape information of the standard ellipse. Specifically, the standard ellipse information includes the center position of the standard ellipse, the major axis length, and the minor axis length. In the present embodiment, since a plurality of standard ellipses are obtained from the captured image 462B including the captured image of the regular medal 410, the standard feature quantity 467A includes a plurality of standard ellipse information corresponding to the plurality of standard ellipses. Is included. The standard feature amount 467A generated when the gaming machine is not actually operating can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

なお、このような遊技機による標準特徴量467Aの取得は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前に標準特徴量467Aを取得し、各遊技機のSRAM等に記憶させるようにしてもよい。 Note that such acquisition of the standard feature amount 467A by the gaming machine can be performed when a predetermined mode is selected in the gaming machine. Further, the standard feature amount 467A may be acquired in advance by a gaming machine or another device and stored in the SRAM or the like of each gaming machine.

以後、遊技機が実稼働している場合にフィッティング部466で得られる楕円(判別処理の対象となるメダル410が撮像されている撮像画像462Bから得られる楕円)を、標準楕円と区別するために「対象楕円」と呼ぶことがある。 After that, in order to distinguish the ellipse obtained by the fitting unit 466 (the ellipse obtained from the captured image 462B in which the medal 410 to be subjected to the discrimination process is captured) from the standard ellipse when the gaming machine is actually operating. Sometimes referred to as the "target ellipse".

ここで、対象楕円に関する楕円情報から成る特徴量と標準特徴量467Aとが類似する場合には、撮像画像462Bに映るメダル410の特徴と、正規のメダル410の特徴とが類似すると考えることができる。したがって、この場合には、撮像画像462Bに係るメダル410が正規のものであると判定することができる。 Here, when the feature amount including the ellipse information regarding the target ellipse and the standard feature amount 467A are similar, it can be considered that the feature of the medal 410 shown in the captured image 462B and the feature of the regular medal 410 are similar. .. Therefore, in this case, it is possible to determine that the medal 410 related to the captured image 462B is a genuine medal.

一方で、対象楕円に関する楕円情報から成る特徴量と標準特徴量467Aとが類似しない場合には、撮像画像462Bに映るメダル410の特徴と、正規のメダル410の特徴とが類似しないと考えることができることから、この場合に、撮像画像462Bに映るメダル410が正規のものではないと判定しても問題が無いように思える。しかしながら、対象楕円に関する楕円情報から成る特徴量と標準特徴量467Aとが類似しない場合に、この条件だけで、撮像画像462Bに映るメダル410が正規のものではないと判定する場合には、撮像画像462Bに映る正規のメダル410を、正規のものではないと誤って判定する可能性がある。以下にこの点について説明する。 On the other hand, when the feature amount including the ellipse information about the target ellipse and the standard feature amount 467A are not similar, it may be considered that the feature of the medal 410 shown in the captured image 462B is not similar to the feature of the regular medal 410. Therefore, in this case, it seems that there is no problem even if it is determined that the medal 410 shown in the captured image 462B is not a legitimate one. However, when the feature amount including the ellipse information about the target ellipse and the standard feature amount 467A are not similar to each other, if it is determined that the medal 410 shown in the captured image 462B is not a proper one based on this condition, the captured image The regular medal 410 shown in 462B may be erroneously determined not to be a regular one. This point will be described below.

本実施形態では、撮像部461は、回転するメダル410を撮像し、メダル410が映る撮像画像462Aを生成する。そのため、変換部463が生成する撮像画像462Bに映るメダル410の回転角度(メダル410に付された模様の回転角度)が常に同じであるとは限らない。したがって、正規のメダル410が映る撮像画像462Bから得られた対象楕円に関する楕円情報が常に同じであるとは限らない。これにより、撮像画像462Bに正規のメダル410が映っていたとしても、当該撮像画像462Bから得られた対象楕円に関する楕円情報から成る特徴量が標準特徴量467Aと類似しないことがある。よって、対象楕円に関する楕円情報から成る特徴量と標準特徴量467Aとが類似しない場合に、撮像画像462Bに映るメダル410が正規のものではないと判定した場合には、撮像画像462Bに映る正規のメダル410を、正規のものではないと誤って判定する可能性がある。 In the present embodiment, the image capturing unit 461 captures an image of the rotating medal 410 and generates a captured image 462A showing the medal 410. Therefore, the rotation angle of the medal 410 (the rotation angle of the pattern attached to the medal 410) shown in the captured image 462B generated by the conversion unit 463 is not always the same. Therefore, the ellipse information regarding the target ellipse obtained from the captured image 462B showing the regular medal 410 is not always the same. As a result, even if the regular medal 410 appears in the captured image 462B, the feature amount including the ellipse information about the target ellipse obtained from the captured image 462B may not be similar to the standard feature amount 467A. Therefore, when the feature amount including the ellipse information about the target ellipse and the standard feature amount 467A are not similar, and it is determined that the medal 410 shown in the captured image 462B is not a regular one, the regular image shown in the captured image 462B is obtained. There is a possibility that the medal 410 is erroneously determined not to be an authentic one.

そこで、本実施形態において、判定部467は、メダル領域473に含まれる局所領域にフィッティングされた対象楕円が、当該メダル領域473の中心の周りに回転させられることによって得られる複数の回転楕円に関する複数の回転楕円情報を取得する。そして、判定部467は、取得した複数の回転楕円情報を特徴量とし、当該特徴量と標準特徴量とを比較する。メダル領域473において複数の局所領域が特定される場合には、当該複数の局所領域のそれぞれについて複数の回転楕円情報が生成され、各回転楕円情報が特徴量とされる。 Therefore, in the present embodiment, the determination unit 467 determines a plurality of rotation ellipses obtained by rotating the target ellipse fitted to the local area included in the medal area 473 around the center of the medal area 473. Get the spheroid information of. Then, the determination unit 467 sets the acquired plurality of pieces of spheroidal information as the feature amount and compares the feature amount with the standard feature amount. When a plurality of local areas are specified in the medal area 473, a plurality of pieces of spheroidal information are generated for each of the plurality of local areas, and each piece of spheroidal information is used as a feature amount.

ここで、複数の回転楕円には、回転角度が0°の対象楕円も含むものとする。つまり、複数の回転楕円には、局所領域にフィッティングされた楕円そのものも含むものとする。したがって、複数の回転楕円情報には対象楕円に関する楕円情報が含まれる。回転角度が0°の対象楕円は、回転角度が360°の対象楕円であるとも言える。 Here, it is assumed that the plurality of spheroids include a target ellipse having a rotation angle of 0°. That is, it is assumed that the plurality of spheroids include the ellipse itself fitted to the local area. Therefore, the plurality of pieces of rotation ellipse information include ellipse information about the target ellipse. It can be said that the target ellipse whose rotation angle is 0° is the target ellipse whose rotation angle is 360°.

図50は、対象楕円482がメダル領域473の中心473cの周りに回転させられることによって得られる複数の回転楕円483の一部を例示する図である。図50には、対象楕円482を含む3つの回転楕円483が示されている(この例では、対象楕円482も、回転楕円483の1つとして示されている)。図50には、対象楕円482の中心482cと、各回転楕円483の中心483cとが示されている。 FIG. 50 is a diagram illustrating a part of a plurality of rotation ellipses 483 obtained by rotating the target ellipse 482 around the center 473c of the medal area 473. FIG. 50 shows three spheroids 483 including the target ellipse 482 (in this example, the target ellipse 482 is also shown as one of the spheroids 483). FIG. 50 shows the center 482c of the target ellipse 482 and the center 483c of each rotation ellipse 483.

このように、対象楕円がメダル領域473の中心473cの周りに回転させられることによって得られる、対象楕円を含む複数の回転楕円に関する複数の回転楕円情報が特徴量とされることによって、回転するメダル410が撮像される場合であっても、撮像画像462Bに映るメダル410が正規のものであるか否かを適切に判定することができる。以下に判定部467の動作について詳細に説明する。以後、遊技機が実稼働している場合に判定部467で使用される特徴量を、標準特徴量と区別するために「対象特徴量」と呼ぶことがある。 In this way, by rotating the target ellipse around the center 473c of the medal area 473, the plurality of spheroidal information regarding the plurality of spheroids including the target ellipse is used as the feature amount, and thus the rotating medals. Even when 410 is captured, it is possible to appropriately determine whether or not the medal 410 shown in the captured image 462B is legitimate. The operation of the determination unit 467 will be described in detail below. Hereinafter, the feature amount used by the determination unit 467 when the gaming machine is actually operating may be referred to as a “target feature amount” to distinguish it from the standard feature amount.

図51は、判定部467の動作を示すフローチャートである。フィッティング部466がメダル領域473に含まれる局所領域に対して楕円をフィッティングすると、図51に示されるように、ステップS21において、判定部467は回転楕円情報を取得する。ここで取得される回転楕円情報は、回転角度が0°の対象楕円に関する楕円情報、つまり、フィッティング部466で取得された楕円そのものの楕円情報である。フィッティング部466において複数の対象楕円が得られる場合には、当該複数の対象楕円にそれぞれ対応する複数の回転楕円情報が取得される。ステップS21では、少なくとも1つの回転楕円情報が取得される。なお、この例では、正規のメダル410が映る撮像画像462Bからは2つの楕円が得られることから、ステップS21では2つの回転楕円情報が得られる。 FIG. 51 is a flowchart showing the operation of the determination unit 467. When the fitting unit 466 fits an ellipse to the local area included in the medal area 473, the determination unit 467 acquires the rotation ellipse information in step S21, as shown in FIG. The rotation ellipse information acquired here is ellipse information regarding the target ellipse whose rotation angle is 0°, that is, the ellipse information of the ellipse itself acquired by the fitting unit 466. When the fitting unit 466 obtains a plurality of target ellipses, a plurality of pieces of spheroidal information respectively corresponding to the plurality of target ellipses are acquired. In step S21, at least one spheroidal piece of information is acquired. In this example, since two ellipses are obtained from the captured image 462B showing the regular medal 410, two rotation ellipse information is obtained in step S21.

次にステップS22において、判定部467は、ステップS21で取得した少なくとも1つの回転楕円情報を対象特徴量とし、対象特徴量と標準特徴量とが類似する度合いを示す評価値を求める。具体的には、判定部467は、対象特徴量を構成する少なくとも1つの回転楕円情報と類似する標準楕円情報が、標準特徴量に含まれているか否かを判定する。そして、判定部467は、類似する情報が標準特徴量に含まれると判定した回転楕円情報の数に応じた評価値を求める。具体的には判定部467は以下の式1を用いて評価値αを求める。 Next, in step S22, the determination unit 467 sets the at least one spheroidal information acquired in step S21 as the target feature amount, and obtains an evaluation value indicating the degree of similarity between the target feature amount and the standard feature amount. Specifically, the determination unit 467 determines whether or not the standard feature amount includes standard ellipse information similar to at least one spheroidal ellipse information forming the target feature amount. Then, the determination unit 467 obtains an evaluation value according to the number of pieces of spheroidal information determined to have similar information included in the standard feature amount. Specifically, the determination unit 467 obtains the evaluation value α using the following Expression 1.

α=N1/N2・・・(式1)
ここで、N1は、類似する情報が標準特徴量に含まれると判定された、対象特徴量に含まれる回転楕円情報の数を示す。N2は、標準特徴量に含まれる標準楕円情報の総数を示す。本実施形態では、N2=2となる。
α=N1/N2 (Equation 1)
Here, N1 indicates the number of pieces of spheroidal information included in the target feature amount for which it is determined that similar information is included in the standard feature amount. N2 indicates the total number of standard ellipse information included in the standard feature amount. In this embodiment, N2=2.

本実施形態では、対象特徴量に含まれる回転楕円情報には、回転楕円の中心位置、長軸の長さ及び短軸の長さが含まれている。判定部467は、例えば、回転楕円情報に含まれる回転楕円の中心位置と、標準楕円情報に含まれる標準楕円の中心位置との距離が所定値以下であり、かつ当該回転楕円の長軸の長さと、当該標準楕円の長軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円の短軸の長さと、当該標準楕円の短軸の長さとの差の絶対値が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。回転楕円情報と標準楕円情報とが類似する場合には、図52に示されるように、当該回転楕円情報に対応する回転楕円483と、当該標準楕円情報に対応する標準楕円484とが位置及び形状において類似する。 In the present embodiment, the spheroidal information included in the target feature amount includes the center position of the spheroid, the length of the major axis, and the length of the minor axis. The determining unit 467, for example, the distance between the center position of the spheroid included in the spheroidal information and the center position of the standard ellipse included in the standard ellipse information is equal to or less than a predetermined value, and the length of the long axis of the spheroid. And the absolute value of the difference between the length of the long axis of the standard ellipse is less than or equal to a predetermined value, and the absolute value of the difference between the length of the short axis of the spheroid and the length of the short axis of the standard ellipse is predetermined. When the value is less than or equal to the value, it is determined that the rotation ellipse information and the standard ellipse information are similar. When the spheroidal information and the standard ellipse information are similar to each other, as shown in FIG. 52, the spheroid 483 corresponding to the spheroidal information and the standard ellipse 484 corresponding to the standard ellipse information are positioned and shaped. Are similar in.

判定部467は、式1を用いて評価値αを求めると、ステップS23において、直近のステップS21での回転楕円(ステップS21で取得した回転楕円情報に対応する回転楕円)が、(360°−β)回転した対象楕円であるか否かを判定する。判定部467は、ステップS21での回転楕円が(360°−β)回転した対象楕円ではないと判定すると、再度ステップS21を実行して回転楕円情報を取得する。ここでは、判定部467は、前回のステップS21において取得した回転楕円情報に対応する回転楕円が、メダル領域473の中心473cの周りに所定の角度βだけ回転させられることによって得られる回転楕円に関する回転楕円情報を取得する。前回のステップS21での回転楕円が、例えば、βだけ回転した対象楕円である場合には、今回のステップS21では、対象楕円がメダル領域473の中心473cの周りに2βだけ回転させられることによって得られる回転楕円に関する回転楕円情報が取得される。βは、例えば1°あるいは2°である。 When the determination unit 467 obtains the evaluation value α using Expression 1, in step S23, the rotation ellipse in the latest step S21 (the rotation ellipse corresponding to the rotation ellipse information acquired in step S21) is (360°− β) Determine whether or not the target ellipse has been rotated. When the determining unit 467 determines that the spheroid in step S21 is not the target ellipse rotated by (360°-β), the determining unit 467 executes step S21 again to acquire spheroid information. Here, the determination unit 467 rotates the rotation ellipse corresponding to the rotation ellipse information acquired in the previous step S21 about the rotation ellipse obtained by rotating the rotation ellipse about the center 473c of the medal area 473 by a predetermined angle β. Get ellipse information. If the rotation ellipse in the previous step S21 is, for example, the target ellipse rotated by β, the current ellipse is obtained by rotating the target ellipse by 2β around the center 473c of the medal area 473. Spherical ellipse information about the spheroid that is to be obtained is obtained. β is, for example, 1° or 2°.

なお、前回のステップS21において複数の回転楕円情報が取得された場合には、判定部467は、当該複数の回転楕円情報にそれぞれ対応する複数の回転楕円が、メダル領域473の中心473cの周りに所定の角度βだけ回転させられることによって得られる複数の回転楕円に関する複数の回転楕円情報を取得する。 In addition, when a plurality of spheroidal information is acquired in the previous step S21, the determination unit 467 determines that a plurality of spheroids respectively corresponding to the plurality of spheroidal information is around the center 473c of the medal area 473. A plurality of pieces of spheroidal information regarding a plurality of spheroids obtained by rotating the spheroid by a predetermined angle β are acquired.

ステップS22において少なくとも1つの回転楕円情報が取得されると、判定部467は、再度ステップS23を実行して、当該少なくとも1つの回転楕円情報から成る対象特徴量と標準特徴量とが類似する度合いを示す評価値αを式1を用いて求める。その後、ステップS23が再度実行される。 When at least one spheroidal information is acquired in step S22, the determination unit 467 executes step S23 again to determine the degree of similarity between the target feature quantity including the at least one spheroidal information and the standard feature quantity. The evaluation value α shown is obtained by using Expression 1. Then, step S23 is executed again.

判定部467は、ステップS23において、直近のステップS21での回転楕円が(360°−β)回転した対象楕円であると判定すると、ステップS24を実行する。ステップS24において、判定部467は、求めた複数の評価値αのうちの最大値がしきい値以上か否かを判定する。判定部467は、当該最大値がしきい値以上である場合には、つまり、当該最大値を求める際に使用した対象特徴量及び標準特徴量が互いに類似する場合には、撮像画像462Bに映るメダル410が正規のものであると判定する。一方で、判定部467は、当該最大値がしきい値未満である場合には、つまり、複数の評価値αを求める際にそれぞれ使用した複数の対象特徴量のすべてが標準特徴量に類似しない場合には、撮像画像462Bに映るメダル410が正規のものではないと判定する。ステップS24で使用されるしきい値は、例えば「1」に設定される。 When the determining unit 467 determines in step S23 that the rotation ellipse in the latest step S21 is the target ellipse rotated by (360°−β), it executes step S24. In step S24, the determination unit 467 determines whether or not the maximum value of the obtained plurality of evaluation values α is greater than or equal to the threshold value. When the maximum value is equal to or larger than the threshold value, that is, when the target feature amount and the standard feature amount used when obtaining the maximum value are similar to each other, the determination unit 467 appears in the captured image 462B. It is determined that the medal 410 is a valid one. On the other hand, when the maximum value is less than the threshold value, that is, all of the plurality of target feature amounts used when obtaining the plurality of evaluation values α are not similar to the standard feature amount. In this case, it is determined that the medal 410 shown in the captured image 462B is not an authorized one. The threshold value used in step S24 is set to "1", for example.

なお上記の例では、判定部467は、求めた複数の評価値αのうちの最大値がしきい値以上である場合に、撮像画像462Bに映るメダル410が正規のものであると判定しているが、しきい値以上の評価値αが所定数以上存在する場合に、撮像画像462Bに映るメダル410が正規のものであると判定してもよい。しきい値以上の評価値αが所定数以上存在しないときには、撮像画像462Bに映るメダル410が正規のものではないと判定される。 In the above example, the determination unit 467 determines that the medal 410 shown in the captured image 462B is a valid one if the maximum value of the obtained plurality of evaluation values α is equal to or more than the threshold value. However, if there are a predetermined number or more of evaluation values α equal to or larger than the threshold value, it may be determined that the medal 410 shown in the captured image 462B is a valid one. When there are not a predetermined number or more of evaluation values α equal to or more than the threshold value, it is determined that the medal 410 shown in the captured image 462B is not a genuine medal.

また、評価値α=N1としてもよい。この場合には、ステップS24で使用されるしきい値は、例えば「2」に設定される。 Alternatively, the evaluation value α may be N1. In this case, the threshold value used in step S24 is set to, for example, "2".

<回転楕円情報の取得方法>
ステップS21での回転楕円情報の取得方法としては例えば2つの方法が考えられる。第1の方法では、判定部467は、上述の図50に示されるように、メダル領域473において、対象楕円482をメダル領域473の中心473cの周りに所定の角度だけ実際に回転させて回転楕円483を生成する。そして、判定部467は、生成した回転楕円483の中心483cの位置、長軸の長さ及び短軸の長さを求めて、それらを回転楕円483に関する回転楕円情報とする。判定部467は、所定の角度を変化させることによって、複数の回転楕円情報を生成する。
<How to obtain spheroidal information>
There are two possible methods for obtaining the spheroidal information in step S21. In the first method, the determining unit 467 actually rotates the target ellipse 482 around the center 473c of the medal region 473 by a predetermined angle in the medal region 473 as shown in FIG. 483 is generated. Then, the determination unit 467 obtains the position of the center 483c of the generated rotation ellipse 483, the length of the long axis, and the length of the short axis, and sets them as rotation ellipse information regarding the rotation ellipse 483. The determination unit 467 generates a plurality of pieces of spheroidal information by changing the predetermined angle.

第2の方法では、判定部467は、対象楕円を実際に回転させずに回転楕円情報を取得する。具体的には、判定部467は、対象楕円482が所定の角度(β、2β、3β等)だけメダル領域473の中心473cの周りに回転させられることによって得られる回転楕円の回転楕円情報を求める際には、図53に示されるように、対象楕円482に関する楕円情報に含まれる、対象楕円482の中心482cの位置に存在する仮想点Pを、メダル領域473の中心473cの周りに当該所定の角度だけ回転させる。そして、判定部467は、回転後の仮想点P’の位置を、当該回転楕円情報に含まれる、回転楕円の中心の位置とする。判定部467は、当該所定の角度を変化させることによって、対象楕円がメダル領域473の中心473cの周りに回転させられることによって得られる複数の回転楕円の中心の位置を求める。 In the second method, the determination unit 467 acquires the rotation ellipse information without actually rotating the target ellipse. Specifically, the determination unit 467 obtains rotation ellipse information of the rotation ellipse obtained by rotating the target ellipse 482 around the center 473c of the medal area 473 by a predetermined angle (β, 2β, 3β, etc.). At this time, as shown in FIG. 53, the virtual point P existing at the position of the center 482c of the target ellipse 482, which is included in the ellipse information about the target ellipse 482, is set around the center 473c of the medal area 473. Rotate by an angle. Then, the determination unit 467 sets the position of the virtual point P′ after rotation as the position of the center of the rotation ellipse included in the rotation ellipse information. The determination unit 467 obtains the positions of the centers of the plurality of rotation ellipses obtained by rotating the target ellipse around the center 473c of the medal area 473 by changing the predetermined angle.

また、第2の方法では、判定部467は、対象楕円に関する楕円情報に含まれる対象楕円の長軸及び短軸の長さを、対象楕円がメダル領域473の中心473cの周りに回転させられることによって得られる複数の回転楕円のそれぞれの長軸及び短軸の長さとする。 Further, in the second method, the determination unit 467 allows the length of the major axis and the minor axis of the target ellipse included in the ellipse information about the target ellipse to be rotated around the center 473c of the medal area 473. The major axis and the minor axis of each of the plurality of spheroids obtained by

このように、第2の方法では、対象楕円482の位置情報が示す位置に存在する仮想点Pがメダル領域473の中心473cの周りに回転させられる。そして、それによって得られる、回転後の仮想点P’についての複数の位置が、それぞれ、複数の回転楕円の位置とされることによって、複数の回転楕円の位置情報が取得される。また、対象楕円の長軸及び短軸の長さがそのまま複数の回転楕円のそれぞれの長軸及び短軸の長さとされることによって、当該複数の回転楕円の形状情報が取得される。したがって、対象楕円を実際に回転させることによって複数の回転楕円情報を取得する第1の方法と比較して、第2の方法では、複数の回転楕円情報を簡単に取得することができる。 As described above, in the second method, the virtual point P existing at the position indicated by the position information of the target ellipse 482 is rotated around the center 473c of the medal area 473. Then, the plurality of positions of the virtual point P′ after the rotation obtained thereby are respectively set to the positions of the plurality of spheroids, and thus the position information of the plurality of spheroids is acquired. Also, the lengths of the major axis and the minor axis of the target ellipse are set as the lengths of the major axis and the minor axis of the plurality of spheroids, respectively, so that the shape information of the plurality of spheroids is acquired. Therefore, as compared with the first method in which the target ellipse is actually rotated to acquire a plurality of pieces of spheroidal information, the second method can easily acquire a plurality of pieces of spheroidal information.

なお、上記の例では、特徴量となる楕円情報に含まれる楕円の形状情報として、当該楕円の長軸の長さ及び短軸の長さが採用されているが、これらの代わりに、当該楕円の長短軸比が採用されてもよい。 Note that, in the above example, the length of the major axis and the length of the minor axis of the ellipse are adopted as the shape information of the ellipse included in the ellipse information that is the feature amount. The long/short axis ratio of may be adopted.

以上のように、本実施形態では、メダル領域473における特徴的な局所領域に対してフィッティングされた楕円に関する楕円情報が、撮像画像462Bに映るメダル410の特徴を示す特徴量とされている。したがって、メダル領域473における、楕円内の部分画像から、SIFT(Scale Invariant Feature Transformation)、SURF(Speeded Up Robust Features)等の特徴量が取得される場合と比較して、特徴量を簡単に取得することができる。よって、撮像画像462Bに映るメダル410が正規のものであるか否かを簡単に判定することができる。 As described above, in the present embodiment, the ellipse information about the ellipse fitted to the characteristic local area in the medal area 473 is used as the characteristic amount indicating the characteristic of the medal 410 shown in the captured image 462B. Therefore, the feature amount is easily obtained compared with the case where the feature amount such as SIFT (Scale Invariant Feature Transformation) and SURF (Speeded Up Robust Features) is obtained from the partial image in the ellipse in the medal area 473. be able to. Therefore, it is possible to easily determine whether or not the medal 410 shown in the captured image 462B is a legitimate one.

また、本実施形態では、対象楕円482がメダル領域473の中心473cの周りに回転させられることによって得られる、対象楕円を含む複数の回転楕円に関する複数の回転楕円情報が特徴量とされている。したがって、回転するメダル410が撮像される場合であっても、撮像画像462Bに映るメダル410が正規のものであるか否かを適切に判定することができる。 Further, in the present embodiment, a plurality of spheroidal pieces of information about a plurality of spheroids including the target ellipse, which are obtained by rotating the target ellipse 482 around the center 473c of the medal area 473, are used as the feature amount. Therefore, even when the rotating medal 410 is imaged, it is possible to appropriately determine whether or not the medal 410 shown in the captured image 462B is a legitimate one.

<第3実施形態の変形例>
以下に本実施形態の各種変形例について説明する。
<Modification of Third Embodiment>
Various modifications of the present embodiment will be described below.

[変形例1]
正規のメダル410と正規でないメダル410のそれぞれに対して、大柄な連続する模様が1つだけ付されている場合、撮像画像462Bに映るメダル410が正規のものであるのか否かを正しく判定できない可能性がある。以下、この点について説明する。
[Modification 1]
When only one large continuous pattern is attached to each of the regular medal 410 and the non-regular medal 410, it cannot be correctly determined whether the medal 410 shown in the captured image 462B is a regular medal. there is a possibility. Hereinafter, this point will be described.

図54は、正規のメダル410が映る撮像画像462Bから得られたメダル領域473Aにおいて特定された局所領域491Aに対して設定された標準楕円482Aの一例を示す図である。図55は、正規でないメダル410が映る撮像画像462Bから得られたメダル領域473Bおいて特定された局所領域491Bに対して設定された対象楕円482Bの一例を示す図である。 FIG. 54 is a diagram showing an example of the standard ellipse 482A set for the local area 491A specified in the medal area 473A obtained from the captured image 462B showing the regular medal 410. FIG. 55 is a diagram showing an example of the target ellipse 482B set for the local area 491B specified in the medal area 473B obtained from the captured image 462B in which the non-genuine medal 410 is shown.

図54、図55の例では、正規のメダル410と正規でないメダル410のそれぞれに対して、大柄な連続する模様が1つだけ付されている。具体的には、正規のメダル410には、大柄なアルファベット「A」の模様が付されており、正規でないメダル410には、大柄なアルファベット「S」の模様が付されている。 In the example of FIGS. 54 and 55, only one large continuous pattern is attached to each of the regular medal 410 and the non-regular medal 410. Specifically, the regular medal 410 is marked with a large-sized alphabet "A", and the non-genuine medal 410 is marked with a large-sized alphabet "S".

図54に示されるように、大柄な連続する模様が1つだけ付された正しいメダル410が映る撮像画像462Bからは1つの標準楕円482Aが得られる。また、図55に示されるように、大柄な連続する模様が1つだけ付された、正規でないメダル410が映る撮像画像462Bからは1つの対象楕円482Bが得られる。 As shown in FIG. 54, one standard ellipse 482A is obtained from the captured image 462B in which the correct medal 410 with only one large continuous pattern is shown. Further, as shown in FIG. 55, one target ellipse 482B is obtained from the captured image 462B in which only one large continuous pattern is attached and which shows the non-regular medal 410.

図54に示されるように、正規のメダル410に対して、大柄な連続する模様が1つだけ付されている場合には、標準楕円482Aの中心位置はメダル領域473Aの中心位置に近くなり、標準楕円482Aの形は真円に近くなる。また、図55に示されるように、大柄な連続する模様が1つだけ付された正規でないメダル410が映る撮像画像462Bから取得された対象楕円482Bについては、その中心位置はメダル領域473Aの中心位置に近くなり、その形は真円に近くなる。したがって、正規でないメダル410が映る撮像画像462Bから取得された対象楕円482Bが、メダル領域473Bの中心の周りに回転させられることによって得られる、対象楕円482Bを含む複数の回転楕円に関する複数の回転楕円情報には、標準楕円482Aに関する標準楕円情報と類似する情報が含まれる可能性が高くなる。よって、判定部467は、撮像画像462Bに映るメダル410が正規のものであるのか否かを正しく判定できない可能性が高くなる。 As shown in FIG. 54, when only one large continuous pattern is attached to the regular medal 410, the center position of the standard ellipse 482A is close to the center position of the medal area 473A. The shape of the standard ellipse 482A is close to a perfect circle. Further, as shown in FIG. 55, the center position of the target ellipse 482B obtained from the captured image 462B showing the non-regular medal 410 with only one large continuous pattern is the center of the medal area 473A. It is closer to the position and its shape is closer to a perfect circle. Therefore, a plurality of rotation ellipses related to a plurality of rotation ellipses including the target ellipse 482B obtained by rotating the target ellipse 482B acquired from the captured image 462B showing the non-genuine medal 410 around the center of the medal area 473B. The information is likely to include information similar to the standard ellipse information regarding the standard ellipse 482A. Therefore, it is highly possible that the determination unit 467 cannot correctly determine whether or not the medal 410 shown in the captured image 462B is a legitimate one.

そこで、本変形例では、正規のメダル410と正規でないメダル410のそれぞれに対して、大柄な連続する模様が1つだけ付されている場合であっても、メダル410の真偽判定の精度を向上させることを可能とする。 Therefore, in the present modification, even if only one large continuous pattern is attached to each of the regular medal 410 and the non-regular medal 410, the accuracy of the authenticity determination of the medal 410 is improved. It is possible to improve.

本変形例に係るフィッティング部466は、メダル領域473を同心円状に分割することによって、メダル領域473に含まれる局所領域を互いに独立した複数の分割領域に分割する。そして、フィッティング部466は、得られた複数の分割領域に対して複数の楕円をそれぞれフィッティングする。なお、メダル領域473において複数の局所領域が特定された場合には、当該複数の局所領域のそれぞれが複数の分割領域に分割され、各分割領域に対して楕円がフィッティングされる。 The fitting unit 466 according to the present modification divides the medal area 473 into concentric circles, thereby dividing the local area included in the medal area 473 into a plurality of divided areas independent of each other. Then, the fitting unit 466 fits a plurality of ellipses to each of the obtained divided areas. When a plurality of local areas are specified in the medal area 473, each of the plurality of local areas is divided into a plurality of divided areas, and an ellipse is fitted to each divided area.

図56は、メダル領域473がフィッティング部466によって同心円状に分割される様子を示す図である。図56に示されるメダル領域473では、説明の便宜上、メダル410の外形だけが示されている。 FIG. 56 is a diagram showing how the medal area 473 is concentrically divided by the fitting portion 466. In the medal area 473 shown in FIG. 56, only the outer shape of the medal 410 is shown for convenience of explanation.

図56に示される例では、メダル領域473が、同心円492を構成する、互いに半径が異なる2つの円492a、492bによって、同心円状に分割される。これにより、メダル領域473は、3つの部分領域493a〜493cに分割される。部分領域493aは、メダル領域473における、円492aの内側の領域である。部分領域493bは、メダル領域473における、円492aの外側、かつ円492bの内側の領域である。そして、部分領域493cは、メダル領域473における、円492bの外側、かつ円492cの内側の領域である。 In the example shown in FIG. 56, the medal area 473 is concentrically divided by two circles 492a and 492b that form a concentric circle 492 and have different radii. As a result, the medal area 473 is divided into three partial areas 493a to 493c. The partial area 493a is an area inside the circle 492a in the medal area 473. The partial area 493b is an area outside the circle 492a and inside the circle 492b in the medal area 473. The partial area 493c is an area in the medal area 473 outside the circle 492b and inside the circle 492c.

ここで、メダル領域473に映るメダル410の外形を円492cとすると、円492a、492b、492cの半径は、この順で大きくなっている。そして、円492a、492b、492cの半径の比は、1:2:3となっている。本実施形態では、フィッティング部466は、複数の円492a、492b、492cの半径の比が常に1:2:3となるようにメダル領域473を同心円状に分割する。つまり、本実施形態では、フィッティング部466は、抽出部464が複数の撮像画像462Bからそれぞれ抽出した複数のメダル領域473の間で、メダル領域473に映るメダル410の外形を含む複数の円492a、492b、492cの半径の比が一定(1:2:3)となるように、当該複数のメダル領域473のそれぞれを同心円状に分割する。なお、複数の円492a、492b、492cの半径の比は、1:2:3以外であってもよい。また、上述の第1の抽出方法あるいは第2の抽出方法でメダル領域473が抽出される場合には、メダル領域473の外形が、メダル領域473に映るメダル410の外形となる。 Here, when the outer shape of the medal 410 shown in the medal area 473 is a circle 492c, the radii of the circles 492a, 492b, 492c increase in this order. The ratio of the radii of the circles 492a, 492b, 492c is 1:2:3. In the present embodiment, the fitting portion 466 divides the medal area 473 into concentric circles so that the ratio of the radii of the plurality of circles 492a, 492b, 492c is always 1:2:3. That is, in the present embodiment, the fitting unit 466 includes a plurality of circles 492a including the outer shape of the medal 410 shown in the medal region 473 among the plurality of medal regions 473 extracted by the extraction unit 464 from the plurality of captured images 462B, Each of the plurality of medal areas 473 is concentrically divided so that the ratio of the radii of 492b and 492c is constant (1:2:3). The ratio of the radii of the plurality of circles 492a, 492b, 492c may be other than 1:2:3. Further, when the medal area 473 is extracted by the above-mentioned first extraction method or second extraction method, the outer shape of the medal area 473 becomes the outer shape of the medal 410 shown in the medal area 473.

図57は、図54に示されるメダル領域473Aが、同心円状に分割される様子を示す図である。図58は、図55に示されるメダル領域473Bが、同心円状に分割される様子を示す図である。図57に示されるように、メダル領域473Aが同心円状に分割されることによって、メダル領域473Aに含まれる局所領域491Aが、互いに独立した複数の分割領域491A1、491A2、491A3、491A4に分割される。また、図58に示されるように、メダル領域473Bが同心円状に分割されることによって、メダル領域473Bに含まれる局所領域491Bが、互いに独立した複数の分割領域491B1、491B2、491B3に分割される。 FIG. 57 is a diagram showing how the medal area 473A shown in FIG. 54 is divided into concentric circles. FIG. 58 is a diagram showing how the medal area 473B shown in FIG. 55 is divided into concentric circles. As shown in FIG. 57, the medal area 473A is concentrically divided, so that the local area 491A included in the medal area 473A is divided into a plurality of divided areas 491A1, 491A2, 491A3, and 491A4 that are independent of each other. .. Further, as shown in FIG. 58, the medal area 473B is concentrically divided, so that the local area 491B included in the medal area 473B is divided into a plurality of divided areas 491B1, 491B2, 491B3 which are independent of each other. ..

なお、図57では、局所領域491Aが複数の分割領域491A1、491A2、491A3、491A4に分割される様子が理解され易いように、便宜上、分割領域491A1、491A2、491A3、491A4内には斜線ハッチングが示されている。同様に、図58では、局所領域491Bが複数の分割領域491B1、491B2、491B3に分割される様子が理解され易いように、便宜上、分割領域491B1、491B2、491B3内には斜線ハッチングが示されている。 Note that, in FIG. 57, in order to facilitate understanding of how the local region 491A is divided into a plurality of divided regions 491A1, 491A2, 491A3, 491A4, hatched hatching is provided in the divided regions 491A1, 491A2, 491A3, 491A4 for convenience. It is shown. Similarly, in FIG. 58, hatched hatching is shown in the divided regions 491B1, 491B2, and 491B3 for convenience, so that it is easy to understand how the local region 491B is divided into a plurality of divided regions 491B1, 491B2, and 491B3. There is.

フィッティング部466は、メダル領域473に含まれる局所領域を複数の分割領域に分割すると、当該複数の分割領域に対して複数の楕円をそれぞれフィッティングする。図59は、図57に示される複数の分割領域491A1、491A2、491A3、491A4に対して、複数の楕円494A1、494A2、494A3、494A4がそれぞれフィッティングされる様子を示す図である。図60は、図58に示される複数の分割領域491B1、491B2、491B3に対して、複数の楕円494B1、494B2、494B3がそれぞれフィッティングされる様子を示す図である。複数の楕円494A1、494A2、494A3、494A4のそれぞれは標準楕円である。 When the fitting area 466 divides the local area included in the medal area 473 into a plurality of divided areas, each of the plurality of divided areas is fitted with a plurality of ellipses. FIG. 59 is a diagram showing how a plurality of ellipses 494A1, 494A2, 494A3, 494A4 are fitted to the plurality of divided areas 491A1, 491A2, 491A3, 491A4 shown in FIG. 57, respectively. FIG. 60 is a diagram showing how a plurality of ellipses 494B1, 494B2, 494B3 are fitted to the plurality of divided areas 491B1, 491B2, 491B3 shown in FIG. Each of the plurality of ellipses 494A1, 494A2, 494A3, 494A4 is a standard ellipse.

図59、図60に示されるように、正規のメダル410が映るメダル領域473Aから得られる複数の楕円494A1〜494A4から成る楕円群と、正規でないメダル410が映るメダル領域473Bから得られた複数の楕円494B1〜494B3から成る楕円群とは、楕円の数、位置及び形において、大きく異なる。したがって、撮像画像462Bから抽出されたメダル領域473から、本変形例にようにして得られた複数の対象楕円に関する複数の楕円情報を特徴量とすることによって、当該撮像画像462Bに映るメダル410が正規のものであるか否かをより正確に判定することができる。 As shown in FIGS. 59 and 60, a plurality of ellipses 494A1 to 494A4 obtained from a medal region 473A in which a regular medal 410 is reflected and a plurality of ellipses obtained from a medal region 473B in which an unauthorized medal 410 is reflected. It differs greatly from the group of ellipses 494B1 to 494B3 in the number, position, and shape of ellipses. Therefore, from the medal area 473 extracted from the captured image 462B, by using a plurality of pieces of ellipse information regarding a plurality of target ellipses obtained as in the present modification as the feature amount, the medal 410 shown in the captured image 462B is obtained. It is possible to more accurately determine whether it is a legitimate one.

なお、メダル領域473において複数の局所領域が特定される場合には、当該複数の局所領域のそれぞれが複数の分割領域に分割される。したがって、当該複数の局所領域のそれぞれについて、複数の楕円が求められる。本変形例では、メダル領域473において特定される局所領域の数にかかわらず、フィッティング部466では複数の楕円が得られる。 When a plurality of local areas are specified in the medal area 473, each of the plurality of local areas is divided into a plurality of divided areas. Therefore, a plurality of ellipses are obtained for each of the plurality of local regions. In this modification, the fitting unit 466 obtains a plurality of ellipses regardless of the number of local regions specified in the medal region 473.

本変形例に係る判定部467は、上記と同様にして、撮像画像462Bに映るメダル410が正規のものであるか否かを判定する。以下に図51のフローチャートを再度参照して、本変形例に係る判定部467の動作について説明する。 The determination unit 467 according to the present modification determines whether or not the medal 410 shown in the captured image 462B is a regular one in the same manner as described above. The operation of the determination unit 467 according to this modification will be described below with reference to the flowchart in FIG. 51 again.

フィッティング部466において複数の対象楕円が得られると、図51に示されるように、ステップS21において、判定部467は当該複数の対象楕円にそれぞれ対応する複数の回転楕円情報を取得する。ここで取得される複数の回転楕円情報は、回転角度が0°の複数の対象楕円に関する複数の楕円情報、つまり、フィッティング部466で取得された複数の対象楕円そのものに関する複数の楕円情報である。なお、図59に示されるように、正規のメダル410が映るメダル領域473(図59に示されるメダル領域473A)からは4つの楕円が得られることから、この場合にはステップS21では4つの回転楕円情報が得られる。 When a plurality of target ellipses are obtained by the fitting unit 466, as illustrated in FIG. 51, the determination unit 467 acquires a plurality of spheroidal information pieces corresponding to the plurality of target ellipses in step S21. The plurality of spheroidal pieces of information acquired here are a plurality of pieces of ellipse information about a plurality of target ellipses with a rotation angle of 0°, that is, a plurality of pieces of ellipse information about the plurality of target ellipses themselves acquired by the fitting unit 466. As shown in FIG. 59, four ellipses are obtained from the medal area 473 (the medal area 473A shown in FIG. 59) in which the regular medal 410 is shown. In this case, therefore, four rotations are performed in step S21. Ellipse information is obtained.

次にステップS22において、判定部467は、ステップS21で取得した複数の回転楕円情報を対象特徴量とし、対象特徴量と標準特徴量とが類似する度合いを示す評価値αを、上記の式1を使用して求める。本変形例では、式1におけるN2は「4」となる。 Next, in step S22, the determination unit 467 sets the plurality of spheroidal information pieces acquired in step S21 as the target feature amount, and sets the evaluation value α indicating the degree of similarity between the target feature amount and the standard feature amount to the above-described expression 1 Ask using. In this modification, N2 in Expression 1 is “4”.

判定部467は、式1を用いて評価値αを求めると、ステップS23において、直近のステップS21での複数の回転楕円がそれぞれ(360°−β)回転した複数の対象楕円であるか否かを判定する。判定部467は、ステップS23での判定がNoであれば、再度ステップS21を実行して複数の回転楕円情報を取得する。ここでは、判定部467は、前回のステップS21において取得した複数の回転楕円情報に対応する複数の回転楕円が、メダル領域473の中心473cの周りに所定の角度βだけ回転させられることによって得られる複数の回転楕円に関する複数の回転楕円情報を取得する。前回のステップS21での複数の回転楕円が、例えば、βだけ回転した複数の対象楕円である場合には、今回のステップS21では、複数の対象楕円がメダル領域473の中心473cの周りに2βだけ回転させられることによって得られる複数の回転楕円に関する複数の回転楕円情報が取得される。 When the determination unit 467 obtains the evaluation value α using Expression 1, in step S23, it is determined whether or not the plurality of rotation ellipses in the latest step S21 are each (360°−β) rotated target ellipses. To judge. If the determination in step S23 is No, the determination unit 467 executes step S21 again and acquires a plurality of pieces of spheroidal information. Here, the determination unit 467 is obtained by rotating the plurality of spheroids corresponding to the plurality of spheroidal information pieces acquired in the previous step S21 by the predetermined angle β around the center 473c of the medal area 473. Obtain a plurality of spheroidal information about a plurality of spheroids. If the plurality of spheroids in the previous step S21 are, for example, a plurality of target ellipses rotated by β, in the present step S21, the plurality of target ellipses are 2β around the center 473c of the medal area 473. A plurality of spheroidal information items regarding a plurality of spheroids obtained by being rotated are acquired.

ステップS22において複数の回転楕円情報が取得されると、判定部467は、再度ステップS23を実行して、当該複数の回転楕円情報から成る対象特徴量と標準特徴量とが類似する度合いを示す評価値αを、式1を用いて求める。その後、ステップS23が再度実行される。 When a plurality of pieces of spheroidal information are acquired in step S22, the determination unit 467 executes step S23 again to evaluate the degree of similarity between the target feature amount including the plurality of pieces of spheroidal information and the standard feature amount. The value α is obtained by using the equation 1. Then, step S23 is executed again.

判定部467は、ステップS23での判定がYesであれば、ステップS24において、求めた複数の評価値のうちの最大値がしきい値以上か否かを判定する。判定部467は、当該最大値がしきい値以上である場合には、つまり、当該最大値を求める際に使用した対象特徴量及び標準特徴量が互いに類似する場合には、撮像画像462Bに映るメダル410が正規のものであると判定する。一方で、判定部467は、当該最大値がしきい値未満である場合には、つまり、複数の評価値αを求める際にそれぞれ使用した複数の対象特徴量のすべてが標準特徴量に類似しない場合には、撮像画像462Bに映るメダル410が正しいものではないと判定する。本変形例では、ステップS24で使用されるしきい値は、例えば、「0.75」あるいは「1」に設定される。 If the determination in step S23 is Yes, the determination unit 467 determines in step S24 whether or not the maximum value of the obtained plurality of evaluation values is greater than or equal to the threshold value. When the maximum value is equal to or larger than the threshold value, that is, when the target feature amount and the standard feature amount used when obtaining the maximum value are similar to each other, the determination unit 467 appears in the captured image 462B. It is determined that the medal 410 is a valid one. On the other hand, when the maximum value is less than the threshold value, that is, all of the plurality of target feature amounts used when obtaining the plurality of evaluation values α are not similar to the standard feature amount. In this case, it is determined that the medal 410 shown in the captured image 462B is not correct. In this modification, the threshold value used in step S24 is set to, for example, "0.75" or "1".

以上のように、本変形例では、メダル領域473が同心円状に分割されることによって、メダル領域473に含まれる局所領域が複数の分割領域に分割され、当該複数の分割領域に対して複数の楕円がそれぞれフィッティングされる。そして、当該複数の楕円に関する複数の楕円情報が特徴量とされる。したがって上述の図54、図55等に示されるように、正規のメダル410と正規でないメダル410のそれぞれに対して、大柄な連続する模様が1つだけ付されている場合であっても、正規でないメダル410が映る撮像画像462Bから取得された特徴量と標準特徴量とが類似することを抑制することができる。よって、メダル410の真偽判定の精度を向上させることができる。 As described above, in the present modification, the medal area 473 is concentrically divided, whereby the local area included in the medal area 473 is divided into a plurality of divided areas, and a plurality of divided areas are divided into a plurality of divided areas. Each ellipse is fitted. Then, a plurality of pieces of ellipse information regarding the plurality of ellipses are set as feature amounts. Therefore, as shown in FIG. 54, FIG. 55, etc., even if only one large continuous pattern is attached to each of the regular medal 410 and the non-regular medal 410, It is possible to prevent the feature amount acquired from the captured image 462B showing the non-medal 410 from being similar to the standard feature amount. Therefore, the accuracy of the authenticity determination of the medal 410 can be improved.

また、撮像部461が、メダル410を撮像する際に、メダル410とCMOSイメージセンサ(第1実施形態のカメラユニット209のCMOSイメージセンサ232に対応)との距離がばらつく場合等には、撮像画像462Bにおいてメダル410が大きく映ったり、小さく映ったりして、撮像画像462Bに映るメダル410の大きさがばらつく。その結果、正規のメダル410が映るメダル領域473での局所領域の大きさがばらつく。このような場合に、メダル領域473に映るメダル410の外形の大きさにかかわらず、メダル領域473に設定される円492a、492b(図56参照)の半径が一定とされると、メダル領域473に映る正規のメダル410の外形の大きさに応じて(正規のメダル410が映るメダル領域473での局所領域の大きさに応じて)、メダル領域473に含まれる局所領域の分割態様がばらつく。したがって、正規のメダル410が映るメダル領域473から取得される複数の楕円の位置及び形がばらつき、その結果、正規のメダル410が映るメダル領域473から取得される特徴量がばらつき、撮像画像462Bに映るメダル410の真偽判定を正しく行えないことがある。 Further, when the image capturing unit 461 captures an image of the medal 410, if the distance between the medal 410 and the CMOS image sensor (corresponding to the CMOS image sensor 232 of the camera unit 209 of the first embodiment) varies, the captured image The medal 410 appears large or small in 462B, and the size of the medal 410 in the captured image 462B varies. As a result, the size of the local area in the medal area 473 in which the regular medal 410 is reflected varies. In such a case, if the radii of the circles 492a and 492b (see FIG. 56) set in the medal area 473 are constant regardless of the size of the outer shape of the medal 410 reflected in the medal area 473, the medal area 473 is formed. The division mode of the local area included in the medal area 473 varies according to the size of the outer shape of the regular medal 410 shown in (in accordance with the size of the local area in the medal area 473 in which the regular medal 410 appears). Therefore, the positions and shapes of the plurality of ellipses acquired from the medal area 473 in which the regular medal 410 is reflected vary, and as a result, the feature amounts acquired from the medal area 473 in which the regular medal 410 is reflected vary, and the captured image 462B is displayed. The authenticity of the displayed medal 410 may not be correctly determined.

これに対して、本変形例では、抽出部464が、複数の撮像画像462Bからそれぞれ抽出した複数のメダル領域473の間で、メダル領域473が示すメダル410の外形を含む複数の円492a、492b、492cの半径の比が一定となるように、当該複数のメダル領域473のそれぞれが同心円状に分割される。したがって、撮像画像462Bに含まれるメダル410の外形の大きさがばらつく場合であっても(メダル410が映るメダル領域473での局所領域の大きさがばらつく場合であっても)、メダル410が映るメダル領域473に含まれる局所領域の分割態様がばらつくことを抑制することができる。よって、メダル410が映るメダル領域473から取得される複数の楕円の位置及び形がばらつくことを抑制することができる。その結果、メダル410が映るメダル領域473から取得される特徴量がばらつくことが抑制され、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。 On the other hand, in the present modification, the extraction unit 464 has a plurality of circles 492a and 492b including the outer shape of the medal 410 indicated by the medal area 473 among the plurality of medal areas 473 extracted from the plurality of captured images 462B. , 492c have a constant radius ratio, each of the plurality of medal areas 473 is concentrically divided. Therefore, even when the outer size of the medal 410 included in the captured image 462B varies (even when the local area in the medal area 473 in which the medal 410 appears varies), the medal 410 appears. It is possible to suppress variations in the division mode of the local area included in the medal area 473. Therefore, it is possible to prevent the positions and shapes of the plurality of ellipses acquired from the medal area 473 in which the medal 410 is reflected from varying. As a result, it is possible to prevent the characteristic amount acquired from the medal area 473 in which the medal 410 is reflected from varying, and further improve the accuracy of the authenticity determination of the medal 410 in the captured image 462B.

[変形例2]
本変形例は、上述の変形例1と比較して、評価値αの求め方が異なっている。つまり、本変形例では、上述のステップS22での動作が変形例1と異なっている。本変形例における判定部467は、評価値αを求める際に、類似する標準楕円情報が標準特徴量に含まれると判定した(対象特徴量に含まれる)回転楕円情報に対応する回転楕円の位置に応じて重み付けを行う。以下に本変形例について詳細に説明する。
[Modification 2]
This modified example is different from the modified example 1 described above in how to obtain the evaluation value α. That is, in this modification, the operation in step S22 described above is different from that in modification 1. When determining the evaluation value α, the determination unit 467 in the present modified example determines that similar standard ellipse information is included in the standard feature amount (position of the rotation ellipse corresponding to the rotation ellipse information (included in the target feature amount)). Weighting according to This modification will be described below in detail.

本変形例では、判定部467は、変形例1と同様に、上述のステップS22において、対象特徴量を構成する複数の回転楕円情報のそれぞれについて、当該回転楕円情報と類似する標準楕円情報が、標準特徴量に含まれているか否かを判定する。そして、判定部467は、類似する標準楕円情報が標準特徴量に含まれると判定した回転楕円情報(以後、「類似回転楕円情報」と呼ぶことがある)に対して部分評価値を与える。ここで、判定部467は、類似回転楕円情報に対応する回転楕円の位置に応じて、当該類似回転楕円情報に与える部分評価値を重み付けする。 In this modified example, the determination unit 467, in the same manner as in the modified example 1, in step S22 described above, for each of the plurality of spheroidal pieces of information forming the target feature amount, the standard ellipse information similar to the spheroidal piece of information is: It is determined whether or not it is included in the standard feature amount. Then, the determination unit 467 gives a partial evaluation value to the spheroidal information (hereinafter, also referred to as “similar spheroidal information”) that is determined to include similar standard ellipse information in the standard feature amount. Here, the determination unit 467 weights the partial evaluation value given to the similar spheroidal information in accordance with the position of the spheroid corresponding to the similar spheroidal information.

類似回転楕円情報に対応する回転楕円の位置に応じて部分評価値を具体的にどのように重み付けするかについては、正規のメダル410での模様の特徴的部分の位置に応じて決定される。上述の図54に示されるように、アルファベット「A」の模様の中心が、正規のメダル410の一方主面410aの中心付近に位置するように、当該模様が当該一方主面410aに付されている場合には、当該一方主面410aの中心付近に、当該模様の特徴的部分が位置する。このような場合には、判定部467は、類似回転楕円情報に対応する回転楕円の位置がメダル領域473の中心473cに近いほど、当該類似回転楕円情報に与える部分評価値を大きくする。例えば、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の最も内側の部分領域493a(図56参照)に存在する場合には、その類似回転楕円情報には部分評価値「1.5」を付与する。また、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の部分領域493bに存在する場合には、その類似回転楕円情報には部分評価値「1」を付与する。そして、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の最も外側の部分領域493cに存在する場合には、その類似回転楕円情報には部分評価値「0.5」を付与する。 How to specifically weight the partial evaluation value according to the position of the spheroid corresponding to the similar spheroidal information is determined according to the position of the characteristic part of the pattern on the regular medal 410. As shown in FIG. 54, the pattern of the alphabet “A” is attached to the one main surface 410a so that the center of the pattern is located near the center of the one main surface 410a of the regular medal 410. When it exists, the characteristic portion of the pattern is located near the center of the one main surface 410a. In such a case, the determination unit 467 increases the partial evaluation value given to the similar spheroidal information as the position of the spheroid corresponding to the similar spheroidal information is closer to the center 473c of the medal area 473. For example, when the center position of the spheroid corresponding to the similar spheroidal information is located in the innermost partial area 493a (see FIG. 56) of the medal area 473, the determination unit 467 indicates that the similar spheroidal information includes partial information. The evaluation value "1.5" is given. Further, when the center position of the spheroid corresponding to the similar spheroidal information is present in the partial area 493b of the medal area 473, the determination unit 467 gives a partial evaluation value “1” to the similar spheroidal information. .. Then, when the center position of the spheroid corresponding to the similar spheroidal information exists in the outermost partial area 493c of the medal area 473, the determination unit 467 determines that the partial evaluation value “0. 5” is given.

判定部467は、対象特徴量に含まれる各類似回転楕円情報に対して部分評価値を与えると、与えた部分評価値の総和N11を求める。そして、判定部467は、以下の式2を使用して評価値αを求める。 When the determination unit 467 gives a partial evaluation value to each piece of similar spheroidal information included in the target feature amount, the determination unit 467 obtains the total sum N11 of the given partial evaluation values. Then, the determination unit 467 obtains the evaluation value α using the following Expression 2.

α=N11/N12 ・・・(式2)
ここで、N12は、標準特徴量を構成する複数の標準楕円情報のそれぞれに対して、上記と同様にして部分評価値を与えた際の、それらの部分評価値の総和を示している。例えば、図59の例では、N12=1.5+3×1=4.5となる。
α=N11/N12 (Equation 2)
Here, N12 indicates the sum of partial evaluation values when a partial evaluation value is given to each of the plurality of pieces of standard ellipse information forming the standard feature amount in the same manner as described above. For example, in the example of FIG. 59, N12=1.5+3×1=4.5.

なお、正規のメダル410の一方主面410aの周端部に、当該一方主面410aに付された模様の特徴的部分が位置する場合には、判定部467は、類似回転楕円情報に対応する回転楕円の位置がメダル領域473の中心473cから遠いほど、当該類似回転楕円情報に与える部分評価値を大きくしてもよい。例えば、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の最も外側の部分領域493cに存在する場合には、その類似回転楕円情報には部分評価値「1.5」を付与する。また、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の部分領域493bに存在する場合には、その類似回転楕円情報には部分評価値「1」を付与する。そして、判定部467は、類似回転楕円情報に対応する回転楕円の中心位置がメダル領域473の最も内側の部分領域493aに存在する場合には、その類似回転楕円情報には部分評価値「0.5」を付与する。部分評価値の重み付け方法についてはこの限りではない。 When the characteristic portion of the pattern attached to the one main surface 410a is located at the peripheral end portion of the one main surface 410a of the regular medal 410, the determination unit 467 corresponds to the similar rotation ellipse information. As the position of the spheroid is farther from the center 473c of the medal area 473, the partial evaluation value given to the similar spheroidal information may be increased. For example, when the center position of the spheroid corresponding to the similar spheroidal information exists in the outermost partial area 493c of the medal area 473, the determination unit 467 determines that the partial evaluation value “1. 5” is given. Further, when the center position of the spheroid corresponding to the similar spheroidal information is present in the partial area 493b of the medal area 473, the determination unit 467 gives a partial evaluation value “1” to the similar spheroidal information. . Then, when the center position of the spheroid corresponding to the similar spheroidal information exists in the innermost partial area 493a of the medal area 473, the determination unit 467 determines that the similar spheroidal information includes the partial evaluation value “0. 5” is given. The weighting method of the partial evaluation value is not limited to this.

このように、判定部467が、評価値αを求める際に、類似回転楕円情報に対応する回転楕円の位置に応じて重み付けを行うことによって、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。例えば、上記のように、正規のメダル410での模様の特徴的部分の位置に基づいて、類似回転楕円情報に対応する回転楕円の位置に応じた重み付けを行う場合には、メダル領域473において、正規のメダル410での模様の特徴的部分の位置に対応する位置に存在する回転楕円に関する回転楕円情報が標準楕円情報と類似する際に、評価値αを大きくすることができる。つまり、メダル領域473の局所領域において、正規のメダル410での模様の特徴的部分と類似する部分が含まれている場合には、評価値αを大きくすることができる。メダル領域473の局所領域において、正規のメダル410での模様の特徴的部分と類似する部分が含まれている場合には、撮像画像462Bに映るメダル410が正規のものである可能性が高いことから、この場合に評価値αを大きくすることによって、撮像画像462Bに映るメダル410が正しいものであることをより正確に判定することができる。よって、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。 As described above, when the determination unit 467 obtains the evaluation value α, by weighting according to the position of the spheroid corresponding to the similar spheroidal information, the accuracy of the authenticity determination of the medal 410 shown in the captured image 462B. Is further improved. For example, as described above, when performing weighting according to the position of the spheroid corresponding to the similar spheroidal information based on the position of the characteristic portion of the pattern on the regular medal 410, in the medal area 473, The evaluation value α can be increased when the spheroidal information about the spheroid existing at the position corresponding to the characteristic portion of the pattern on the regular medal 410 is similar to the standard ellipse information. That is, when the local area of the medal area 473 includes a portion similar to the characteristic portion of the pattern of the regular medal 410, the evaluation value α can be increased. When the local area of the medal area 473 includes a portion similar to the characteristic portion of the pattern of the regular medal 410, the medal 410 shown in the captured image 462B is highly likely to be the regular one. Therefore, in this case, by increasing the evaluation value α, it is possible to more accurately determine that the medal 410 shown in the captured image 462B is correct. Therefore, the accuracy of the authenticity determination of the medal 410 shown in the captured image 462B is further improved.

なお判定部467は、評価値αを求める際に、類似回転楕円情報に対応する回転楕円の大きさに応じて重み付けを行ってもよい。例えば、図59に示されるように、正規のメダル410が映るメダル領域473Aの局所領域491Aに設定された複数の標準楕円494A1〜494A4のうち、正規のメダル410での模様の特徴的部分の位置に対応する位置に存在する標準楕円494A1が他の標準楕円494A2〜494A4よりも大きい場合には、判定部467は、類似回転楕円情報に対応する回転楕円が大きいほど、当該類似回転楕円情報に与える部分評価値を大きくする。一例としては、判定部467は、類似回転楕円情報に対応する回転楕円の大きさが基準サイズよりも大きければ、その類似回転楕円情報には部分評価値「1.5」を付与する。そして、判定部467は、類似回転楕円情報に対応する回転楕円の大きさが基準サイズ以下であれば、その類似回転楕円情報には部分評価値「0.5」を付与する。 When determining the evaluation value α, the determination unit 467 may perform weighting according to the size of the spheroid corresponding to the similar spheroid information. For example, as shown in FIG. 59, among the plurality of standard ellipses 494A1 to 494A4 set in the local area 491A of the medal area 473A in which the regular medal 410 is shown, the position of the characteristic portion of the pattern on the regular medal 410 is located. When the standard ellipse 494A1 existing at the position corresponding to is larger than the other standard ellipses 494A2-494A4, the determination unit 467 gives the similar rotation ellipse information as the rotation ellipse corresponding to the similar rotation ellipse information is larger. Increase the partial evaluation value. As an example, if the size of the spheroid corresponding to the similar spheroidal information is larger than the reference size, the determination unit 467 gives a partial evaluation value “1.5” to the similar spheroidal information. Then, if the size of the spheroid corresponding to the similar spheroidal information is equal to or smaller than the reference size, the determination unit 467 assigns the partial evaluation value “0.5” to the similar spheroidal information.

なお、回転楕円の大きさが基準サイズより大きいか否かについては、当該回転楕円の長軸及び短軸の長さに基づいて判定することができる。例えば、回転楕円の長軸及び短軸の長さを掛け合わせて得られる値が基準値よりも大きければ、当該回転楕円の大きさが基準サイズより大きいと判定される。一方で、回転楕円の長軸及び短軸の長さを掛け合わせて得られる値が基準値以下であれば、当該回転楕円の大きさが基準サイズ以下であると判定される。 Whether or not the size of the spheroid is larger than the reference size can be determined based on the lengths of the major axis and the minor axis of the spheroid. For example, if the value obtained by multiplying the lengths of the long axis and the short axis of the spheroid is larger than the reference value, it is determined that the size of the spheroid is larger than the reference size. On the other hand, if the value obtained by multiplying the major axis and the minor axis of the spheroid is equal to or smaller than the reference value, it is determined that the size of the spheroid is equal to or smaller than the reference size.

このように、判定部467が、評価値αを求める際に、類似回転楕円情報に対応する回転楕円の大きさに応じて重み付けを行う場合にも、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。例えば、上記のように、正規のメダル410が映るメダル領域473から得られた複数の標準楕円のうち、正規のメダル410での模様の特徴的部分の位置に対応する位置に存在する標準楕円の大きさに基づいて、類似回転楕円情報に対応する回転楕円の大きさに応じた重み付けを行う場合には、メダル領域473の局所領域において、正規のメダル410での模様の特徴的部分と類似する部分が含まれている際には、評価値αを大きくすることができる。したがって、撮像画像462Bに映るメダル410が正規のものであることをより正確に判定することができる。よって、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。 As described above, even when the determination unit 467 performs weighting according to the size of the spheroid corresponding to the similar spheroidal information when obtaining the evaluation value α, the authenticity determination of the medal 410 shown in the captured image 462B is performed. The accuracy of is further improved. For example, as described above, among the plurality of standard ellipses obtained from the medal area 473 in which the regular medal 410 is reflected, the standard ellipse existing at the position corresponding to the position of the characteristic portion of the pattern on the regular medal 410 is displayed. When weighting is performed based on the size according to the size of the spheroid corresponding to the similar spheroidal information, the local region of the medal region 473 is similar to the characteristic portion of the pattern of the regular medal 410. When the part is included, the evaluation value α can be increased. Therefore, it is possible to more accurately determine that the medal 410 shown in the captured image 462B is a legitimate one. Therefore, the accuracy of the authenticity determination of the medal 410 shown in the captured image 462B is further improved.

また、部分評価値を具体的にどのように重み付けするかについては、学習によって決定してもよい。つまり、正規のメダル410が映るメダル領域473の局所領域を構成する複数の分割領域に対する楕円のフィッティングの結果(正規のメダル410についての楕円フィッティング結果)と、正規でないメダル410が映るメダル領域473の局所領域を構成する複数の分割領域に対する楕円のフィッティングの結果(正規でないメダル410についての楕円フィッティング結果)とに基づいて、重み付けの方法を決定してもよい。 Further, how to specifically weight the partial evaluation value may be determined by learning. That is, the result of elliptic fitting with respect to a plurality of divided areas forming the local area of the medal area 473 in which the regular medal 410 is displayed (ellipse fitting result for the regular medal 410) and the medal area 473 in which the non-regular medal 410 is reflected. The weighting method may be determined based on the result of elliptic fitting with respect to the plurality of divided areas forming the local area (result of elliptic fitting with respect to the non-regular medal 410).

例えば、正規でないメダル410についての楕円フィッティング結果では、メダル領域473の周端部に位置する楕円が得られたものの、正規のメダル410についての楕円フィッティング結果では、メダル領域473の周端部に位置する楕円が得られなかった場合を考える。この場合には、判定部467は、類似回転楕円情報に対応する回転楕円の位置がメダル領域473の周端部に存在する場合には、他の部分に存在する場合と比較して、当該類似回転楕円情報に与える部分評価値を小さくする。 For example, although the elliptic fitting result for the non-genuine medal 410 yields an ellipse located at the peripheral edge of the medal area 473, the elliptic fitting result for the regular medal 410 results in the elliptical position located at the peripheral edge of the medal area 473. Consider the case where an ellipse that does is not obtained. In this case, when the position of the spheroid corresponding to the similar spheroidal information is present at the peripheral edge of the medal area 473, the determination unit 467 compares the position of the spheroid with the similar spheroidal information in other parts. The partial evaluation value given to the spheroidal information is reduced.

また、例えば、正規でないメダル410についての楕円フィッティング結果では、大きな楕円が得られたものの、正規のメダル410についての楕円フィッティング結果では、大きな楕円が得られなかった場合を考える。この場合には、判定部467は、類似回転楕円情報に対応する回転楕円の大きさが基準サイズよりも大きい場合には、基準サイズ以下の場合と比較して、当該類似回転楕円情報に与える部分評価値を小さくする。 Further, for example, consider a case where a large ellipse is obtained in the elliptic fitting result for the non-regular medal 410, but a large ellipse is not obtained in the elliptic fitting result for the regular medal 410. In this case, when the size of the spheroid corresponding to the similar spheroidal information is larger than the reference size, the determination unit 467 compares the spheroidal size with the reference size or less to give the similar spheroidal information. Decrease the evaluation value.

このように、学習によって重み付け方法が決定されることによって、撮像画像462Bに映るメダル410の真偽判定の精度がさらに向上する。 By thus determining the weighting method by learning, the accuracy of the authenticity determination of the medal 410 shown in the captured image 462B is further improved.

[変形例3]
上記の例では、判定部467が使用する楕円情報(回転楕円情報)には、楕円(回転楕円)の位置情報及び形状情報が含まれていたが、楕円の位置情報及び形状情報のどちらか一方だけが含まれていてもよい。また楕円情報には、楕円の傾き情報が含まれていてもよい。つまり、判定部467が使用する楕円情報には、楕円の位置情報、形状情報及び傾き情報の少なくとも1つが含まれていてもよい。
[Modification 3]
In the above example, the ellipse information (spheroidal information) used by the determination unit 467 includes position information and shape information of the ellipse (spheroid), but either one of the position information and the shape information of the ellipse is included. Only may be included. The ellipse information may include ellipse tilt information. That is, the ellipse information used by the determination unit 467 may include at least one of ellipse position information, shape information, and inclination information.

フィッティング部466は、メダル領域473に含まれる局所領域を構成する複数の画素の位置に基づいて、当該局所領域にフィッティングする楕円の傾き情報を生成することができる。具体的には、フィッティング部466は、局所領域を構成する複数の画素のx座標、及びy座標を使用して、当該局所領域での画素のx座標、及びy座標についての共分散行列を求める。そして、フィッティング部466は、求めた共分散行列についての2つの固有ベクトルを求める。この2つの固有ベクトルの一方は、楕円の長軸が延びる方向を示し、当該2つの固有ベクトルの他方は、楕円の短軸が延びる方向を示す。したがって、当該2つの固有ベクトルのそれぞれは、楕円の傾きを示していると言える。フィッティング部466は、共分散行列についての2つの固有ベクトルのうちの一方を、局所領域にフィッティングする楕円の傾き情報とする。 The fitting unit 466 can generate, based on the positions of a plurality of pixels included in the local area included in the medal area 473, inclination information of an ellipse fitted to the local area. Specifically, the fitting unit 466 uses the x-coordinates and the y-coordinates of a plurality of pixels forming the local area to obtain the covariance matrix for the x-coordinates and the y-coordinates of the pixels in the local area. .. Then, the fitting unit 466 obtains two eigenvectors of the obtained covariance matrix. One of the two eigenvectors indicates the direction in which the major axis of the ellipse extends, and the other of the two eigenvectors indicates the direction in which the minor axis of the ellipse extends. Therefore, it can be said that each of the two eigenvectors indicates the inclination of the ellipse. The fitting unit 466 sets one of the two eigenvectors of the covariance matrix as the inclination information of the ellipse that is fitted to the local region.

判定部467は、回転楕円情報に回転楕円の中心位置だけが含まれている場合には、上述のステップS22において、回転楕円情報に含まれる回転楕円の中心位置と、標準楕円情報に含まれる標準楕円の中心位置との距離が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。 When only the center position of the rotation ellipse is included in the rotation ellipse information, the determination unit 467 determines the center position of the rotation ellipse included in the rotation ellipse information and the standard included in the standard ellipse information in step S22 described above. When the distance from the center position of the ellipse is equal to or less than the predetermined value, it is determined that the rotation ellipse information and the standard ellipse information are similar.

判定部467は、回転楕円情報に回転楕円の長軸の長さ及び短軸の長さだけが含まれている場合には、上述のステップS22において、回転楕円情報に含まれる回転楕円の長軸の長さと、標準楕円情報に含まれる標準楕円の長軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円の短軸の長さと、当該標準楕円の短軸の長さとの差の絶対値が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。 When the spheroidal information includes only the length of the major axis and the length of the minor axis of the spheroid, the determining unit 467 determines the major axis of the spheroid included in the spheroidal information in step S22 described above. And the absolute value of the difference between the length of the major axis of the standard ellipse included in the standard ellipse is less than or equal to a predetermined value, and the length of the minor axis of the spheroid, and the length of the minor axis of the standard ellipse. When the absolute value of the difference is less than or equal to the predetermined value, it is determined that the spheroidal information and the standard ellipse information are similar.

判定部467は、回転楕円情報に回転楕円の中心位置と固有ベクトルだけが含まれている場合には、上述のステップS22において、回転楕円情報に含まれる回転楕円の中心位置と、標準楕円情報に含まれる標準楕円の中心位置との距離が所定値以下であり、かつ当該回転楕円情報に含まれる固有ベクトルと、当該標準楕円情報に含まれる固有ベクトルとが成す角度が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。 When the spheroid information includes only the center position of the spheroid and the eigenvector, the determination unit 467 includes the center position of the spheroid included in the spheroid information and the standard ellipse information in step S22 described above. If the distance from the center position of the standard ellipse is less than or equal to a predetermined value and the angle formed by the eigenvector included in the rotation ellipse information and the eigenvector included in the standard ellipse information is less than or equal to the predetermined value, the rotation It is determined that the ellipse information and the standard ellipse information are similar.

判定部467は、回転楕円情報に回転楕円の長軸の長さ、短軸の長さ及び固有ベクトルだけが含まれている場合には、上述のステップS22において、回転楕円情報に含まれる回転楕円の長軸の長さと、標準楕円情報に含まれる標準楕円の長軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円の短軸の長さと、当該標準楕円の短軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円情報に含まれる固有ベクトルと、当該標準楕円情報に含まれる固有ベクトルとが成す角度が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。 When the spheroid information includes only the major axis length, the minor axis length, and the eigenvector of the spheroid, the determination unit 467 determines in step S22 described above the spheroid information included in the spheroid information. The absolute value of the difference between the length of the long axis and the length of the long axis of the standard ellipse included in the standard ellipse information is equal to or less than a predetermined value, and the length of the short axis of the rotating ellipse and the short axis of the standard ellipse. If the absolute value of the difference with the length is less than or equal to a predetermined value and the angle formed by the eigenvector included in the spheroidal information and the eigenvector included in the standard ellipse information is less than or equal to the predetermined value, the spheroidal information And the standard ellipse information are similar.

そして、判定部467は、回転楕円情報に回転楕円の中心位置、長軸の長さ、短軸の長さ及び固有ベクトルが含まれている場合には、上述のステップS22において、回転楕円情報に含まれる回転楕円の中心位置と、標準楕円情報に含まれる標準楕円の中心位置との距離が所定値以下であり、かつ当該回転楕円の長軸の長さと、当該標準楕円の長軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円の短軸の長さと、当該標準楕円の短軸の長さとの差の絶対値が所定値以下であり、かつ当該回転楕円情報に含まれる固有ベクトルと、当該標準楕円情報に含まれる固有ベクトルが成す角度が所定値以下である場合に、当該回転楕円情報と当該標準楕円情報とが類似すると判定する。 Then, when the spheroidal information includes the center position of the spheroid, the length of the major axis, the length of the minor axis, and the eigenvector, the determination unit 467 includes the spheroidal information in step S22 described above. The distance between the center position of the rotation ellipse and the center position of the standard ellipse included in the standard ellipse information is less than or equal to a predetermined value, and the length of the long axis of the rotation ellipse and the length of the long axis of the standard ellipse. The absolute value of the difference is less than or equal to a predetermined value, and the absolute value of the difference between the length of the minor axis of the spheroid and the length of the minor axis of the standard ellipse is less than or equal to the predetermined value, and included in the spheroid information. When the angle formed by the eigenvector and the eigenvector included in the standard ellipse information is equal to or smaller than a predetermined value, it is determined that the rotation ellipse information and the standard ellipse information are similar.

<<第4実施形態>>
以下、本発明の第4実施形態に係る遊技機であるパチスロについて、図61〜図79を参照しながら説明する。なお、本発明の第4実施形態に係る遊技機であるパチスロ500は、機能フロー、パチスロの構造、メダルセレクタの構成、パチスロの回路構成、及びメダルセレクタの回路構成に関して、上述した第1実施形態に係る遊技機であるパチスロ1と同様である。以下では、第4実施形態に係る遊技機であるパチスロ500で実行される正規メダル判別処理について説明する。
<<Fourth Embodiment>>
Hereinafter, a pachi-slot which is a gaming machine according to the fourth embodiment of the present invention will be described with reference to FIGS. 61 to 79. The pachi-slot 500, which is the gaming machine according to the fourth embodiment of the present invention, has a functional flow, a pachi-slot structure, a medal selector configuration, a pachi-slot circuit configuration, and a medal selector circuit configuration described above in the first embodiment. It is the same as the pachi-slot 1 which is the gaming machine according to. Hereinafter, the regular medal determination process executed by the pachi-slot 500, which is the gaming machine according to the fourth embodiment, will be described.

上述のように、第4実施形態に係る遊技機であるパチスロ500は、第1実施形態に係る遊技機と同様に、制御LSI534(第1実施形態に係る遊技機の制御LSI234に対応)を含むカメラユニット509(第1実施形態に係る遊技機のカメラユニット209に対応)を備え、さらに、カメラユニット509を含むメダルセレクタ501(第1実施形態に係る遊技機のメダルセレクタ201に対応)を備える。図61は、このようなカメラユニット509の機能ブロック図である。 As described above, the pachi-slot 500, which is the gaming machine according to the fourth embodiment, includes the control LSI 534 (corresponding to the control LSI 234 of the gaming machine according to the first embodiment), like the gaming machine according to the first embodiment. A camera unit 509 (corresponding to the camera unit 209 of the gaming machine according to the first embodiment) is provided, and further a medal selector 501 (corresponding to the medal selector 201 of the gaming machine according to the first embodiment) including the camera unit 509 is provided. .. FIG. 61 is a functional block diagram of such a camera unit 509.

図61に示されるように、本実施形態に係るカメラユニット509は、撮像部561、変換部563、抽出部564、領域分割部565、特徴量取得部566、判定部567、及び入出力部568を備えている。なお、カメラユニット509は、LED等からなる発光部を備えるが、図61では図示を省略する。 As shown in FIG. 61, the camera unit 509 according to the present embodiment has an imaging unit 561, a conversion unit 563, an extraction unit 564, a region division unit 565, a feature amount acquisition unit 566, a determination unit 567, and an input/output unit 568. Is equipped with. Although the camera unit 509 includes a light emitting unit including an LED and the like, the illustration thereof is omitted in FIG. 61.

撮像部561は、CMOSイメージセンサ532(例えば、第1実施形態に係る遊技機のCMOSイメージセンサ232に対応)を含み、このCMOSイメージセンサ532により撮像された画像データを(必要に応じて所定の変換を行って)、撮像画像562Aとして出力する。 The imaging unit 561 includes a CMOS image sensor 532 (corresponding to, for example, the CMOS image sensor 232 of the gaming machine according to the first embodiment), and the image data imaged by the CMOS image sensor 532 (predetermined as necessary). (Converted) and output as a captured image 562A.

変換部563(例えば、第1実施形態に係る遊技機のISP回路245に対応)は、撮像部561から入力される撮像画像562Aをカラー画像からグレースケール画像に変換し、変換後の撮像画像を撮像画像562Bとして出力する。 The conversion unit 563 (for example, corresponding to the ISP circuit 245 of the gaming machine according to the first embodiment) converts the captured image 562A input from the imaging unit 561 from a color image to a grayscale image, and converts the captured image after conversion. The captured image 562B is output.

抽出部564(例えば、第1実施形態に係る遊技機の画像認識アクセラレータ回路249等に対応)は、撮像画像562Bから、メダル510が撮像されているメダル領域(対象物領域)573を抽出する。 The extraction unit 564 (corresponding to, for example, the image recognition accelerator circuit 249 of the gaming machine according to the first embodiment) extracts the medal area (target area) 573 in which the medal 510 is imaged from the captured image 562B.

領域分割部565(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、抽出部564で抽出されたメダル領域573に対して領域分割を行う。ここで、領域分割とは、メダル領域573を、それぞれにおいて輝度が一様な複数の分割領域に分割する処理である。言い換えれば、領域分割とは、メダル領域573を、それぞれにおいて特徴が一様な複数の分割領域に分割する処理である。 The area division unit 565 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) performs area division on the medal area 573 extracted by the extraction unit 564. Here, the area division is a process of dividing the medal area 573 into a plurality of divided areas having uniform brightness. In other words, the region division is a process of dividing the medal region 573 into a plurality of divided regions each having a uniform feature.

特徴量取得部566(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、領域分割部565で生成された複数の分割領域に基づいて、撮像画像562Bに含まれるメダル510の画像の特徴を示す特徴量を取得する。 The feature amount acquisition unit 566 (corresponding to, for example, the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) is included in the captured image 562B based on the plurality of divided areas generated by the area dividing unit 565. A feature amount indicating the feature of the image of the medal 510 is acquired.

判定部567(例えば、第1実施形態に係る遊技機の画像認識DSP回路242等に対応)は、特徴量取得部566で取得された特徴量に基づいて、撮像画像562Bに映るメダル510が正規のものか否かを判定し、その判定結果569を、入出力部568(例えば、第1実施形態に係る遊技機のGPIO250に対応)を介して出力する。言い換えれば、判定部567は、特徴量取得部566で取得された特徴量に基づいて、撮像画像562Aに映るメダル510が正規のものか否かを判定し、その判定結果569を出力する。本実施形態では、判定部567は、撮像画像562Bから求められた特徴量と、正規のメダル510の特徴を示す標準特徴量(基準特徴量)567Aとを比較し、その比較結果に基づいて、当該撮像画像562Bに映るメダル510が正規のものか否かを判定する。標準特徴量567Aは、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 The determination unit 567 (for example, corresponding to the image recognition DSP circuit 242 of the gaming machine according to the first embodiment) is based on the feature amount acquired by the feature amount acquisition unit 566, and the medal 510 shown in the captured image 562B is authorized. It is determined whether or not it is, and the determination result 569 is output via the input/output unit 568 (for example, corresponding to the GPIO 250 of the gaming machine according to the first embodiment). In other words, the determination unit 567 determines whether or not the medal 510 shown in the captured image 562A is authentic based on the characteristic amount acquired by the characteristic amount acquisition unit 566, and outputs the determination result 569. In the present embodiment, the determination unit 567 compares the characteristic amount obtained from the captured image 562B with the standard characteristic amount (reference characteristic amount) 567A indicating the characteristic of the regular medal 510, and based on the comparison result, It is determined whether the medal 510 shown in the captured image 562B is a genuine medal. The standard feature amount 567A can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

図62は、撮像部561で得られる撮像画像562Aの一例を模式的に示す図である。図62に示される撮像画像562Aには、撮像されたメダル510の画像が含まれている。また、撮像画像562Aには、背景であるメダルレール511が撮像されている。なお、メダルレール511は、上述の第1実施形態のメダルレール210に対応するものであるが、ここでは、レールの形状を簡略化して示している。 FIG. 62 is a diagram schematically showing an example of a captured image 562A obtained by the image capturing section 561. The captured image 562A shown in FIG. 62 includes an image of the captured medal 510. Further, in the captured image 562A, the medal rail 511 which is the background is captured. The medal rail 511 corresponds to the medal rail 210 of the above-described first embodiment, but here, the shape of the rail is simplified and shown.

メダル510の一方主面510aには、例えば、アルファベット「A」の模様が示されている。これは、正規メダルの模様を示すものであるが、これ以外の模様であってもよい。また、正規メダルの両主面に模様が付されていてもよい。 On one main surface 510a of the medal 510, for example, a pattern of the alphabet "A" is shown. This shows the pattern of the regular medal, but other patterns may be used. Further, patterns may be provided on both main surfaces of the regular medal.

本実施形態では、メダル510は、その両主面の中心を通る、厚み方向に沿った回転軸の周りに回転しながらメダルレール511上を移動する。そして、撮像部561は、メダル510の一方主面510a側からメダル510を撮像する。したがって、撮像画像562Aには、メダル510の一方主面510aの画像が含まれることになる。また、本実施形態では、撮像部561で生成される撮像画像562Aはカラー画像であるが、グレースケール画像であってもよい。 In the present embodiment, the medal 510 moves on the medal rail 511 while rotating around a rotation axis along the thickness direction passing through the centers of both main surfaces thereof. Then, the image capturing section 561 captures an image of the medal 510 from the one main surface 510a side of the medal 510. Therefore, the captured image 562A includes the image of the one main surface 510a of the medal 510. Further, in the present embodiment, the captured image 562A generated by the image capturing unit 561 is a color image, but may be a grayscale image.

<正規メダル判別処理のフロー>
次に、本実施形態におけるカメラユニット509で実施される正規メダル判別処理の一連の動作について説明する。
<Regular medal discrimination process flow>
Next, a series of operations of the regular medal determination process performed by the camera unit 509 in the present embodiment will be described.

最初に、撮像部561から撮像画像562Aが入力されると、変換部563において撮像画像562Aをカラー画像からグレースケール画像に変換し、それよって得られた撮像画像562Bを処理対象とする。 First, when the captured image 562A is input from the imaging unit 561, the conversion unit 563 converts the captured image 562A from a color image to a grayscale image, and the captured image 562B obtained thereby is processed.

次に、抽出部564は、処理対象である撮像画像562Bから、メダル510が映るメダル領域573を抽出する。その後、領域分割部565において、抽出部564で抽出されたメダル領域573に対して領域分割が行われる。次に、特徴量取得部566は、領域分割部565で生成された複数の分割領域に基づいて、撮像画像562Bに映るメダル510の特徴を示す特徴量を取得する。 Next, the extraction unit 564 extracts the medal area 573 in which the medal 510 appears from the captured image 562B that is the processing target. After that, the area division unit 565 performs area division on the medal area 573 extracted by the extraction unit 564. Next, the feature amount acquisition unit 566 acquires the feature amount indicating the feature of the medal 510 shown in the captured image 562B based on the plurality of divided areas generated by the area dividing unit 565.

次に、判定部567は、特徴量取得部566で取得された特徴量に基づいて、撮像画像562Bに映るメダル510が正規のものか否かを判定する。そして、判定部567は、判定結果569を、入出力部568(第1実施形態のGPIO250に対応)を介して、主制御回路(第1実施形態の遊技機における主制御回路91に対応)に出力する。このようにして、主制御回路は、撮像画像462Aに示されるメダル410が正規のものでない場合、第1実施形態の遊技機と同様に、遊技を強制的に中断させ、副制御回路(第1実施形態の遊技機における副制御回路101に対応)を介して、不正行為があった旨を報知することができる。例えば、スピーカから警告音を出力したり、液晶表示装置であるディプレイに警告情報を表示したりするなどして、外部に警告を発することができる。 Next, the determination unit 567 determines whether or not the medal 510 shown in the captured image 562B is a regular one, based on the characteristic amount acquired by the characteristic amount acquisition unit 566. Then, the determination unit 567 sends the determination result 569 to the main control circuit (corresponding to the main control circuit 91 in the gaming machine of the first embodiment) via the input/output unit 568 (corresponding to the GPIO 250 of the first embodiment). Output. In this way, when the medal 410 shown in the captured image 462A is not a proper one, the main control circuit forcibly interrupts the game, similarly to the gaming machine of the first embodiment, and the sub control circuit (first control circuit). Through the sub-control circuit 101 in the gaming machine according to the embodiment), it is possible to notify that there has been an illegal act. For example, it is possible to output a warning to the outside by outputting a warning sound from a speaker or displaying warning information on a display which is a liquid crystal display device.

その後、判定部567は、新たな撮像画像562Aが入力されると、その撮像画像562Aから得られる撮像画像562Bを新たな処理対象として、上述した正規メダル藩閥処理を実行する。以後、判定部567は、撮像画像562Aが入力されるたびに、同様の動作を行う。 After that, when a new captured image 562A is input, the determination unit 567 executes the above-mentioned regular medal clan process with the captured image 562B obtained from the captured image 562A as a new processing target. After that, the determination unit 567 performs the same operation each time the captured image 562A is input.

<各構成要素の詳細説明>
以下に、抽出部564、領域分割部565、特徴量取得部566、及び判定部567の動作についてさらに詳細に説明する。
<Detailed description of each component>
The operations of the extraction unit 564, the region division unit 565, the feature amount acquisition unit 566, and the determination unit 567 will be described in more detail below.

[抽出部]
図63は、抽出部564が撮像画像562Bから抽出するメダル領域573の一例を模式的に示す図である。撮像画像562Bからメダル領域573を抽出する方法としては様々な方法がある。
[Extractor]
FIG. 63 is a diagram schematically showing an example of the medal area 573 extracted by the extraction unit 564 from the captured image 562B. There are various methods for extracting the medal area 573 from the captured image 562B.

例えば、メダル510の外形が円形であることを利用した第1の抽出方法がある。この第1の抽出方法では、まず、撮像画像562Bに対してエッジ検出が行われてエッジ画像が生成される。エッジ画像の生成方法としては、例えば、Sobel法、Laplacian法、Canny法などが使用される。次に、生成されたエッジ画像から円形領域が抽出される。円形領域の抽出方法としては、例えばハフ変換が使用される。そして、エッジ画像における当該円形領域の位置と同じ位置に存在する撮像画像562Bでの円形領域が、メダル領域573とされる。 For example, there is a first extraction method that utilizes the outer shape of the medal 510. In the first extraction method, first, edge detection is performed on the captured image 562B to generate an edge image. As a method of generating an edge image, for example, the Sobel method, Laplacian method, Canny method or the like is used. Next, a circular area is extracted from the generated edge image. As a method of extracting the circular area, for example, Hough transform is used. Then, the circular area in the captured image 562B existing at the same position as the position of the circular area in the edge image is set as the medal area 573.

別の方法としては、背景差分法とラベリングを用いて撮像画像562Bからメダル領域573を抽出する第2の抽出方法がある。この第2の抽出方法では、まず、撮像画像562Bと背景画像(撮像画像562Bの背景だけが映る画像)との差分を示す背景差分画像が生成され、生成された背景差分画像が2値化される。そして、2値の背景差分画像に対して4連結等のラベリングが行われる。そして、2値の背景差分画像における、ラベリングの結果得られた連結領域(独立領域)の位置と同じ位置に存在する撮像画像562Bでの部分領域が、メダル領域573とされる。 As another method, there is a second extraction method for extracting the medal area 573 from the captured image 562B using the background subtraction method and labeling. In the second extraction method, first, a background difference image indicating a difference between the captured image 562B and the background image (an image showing only the background of the captured image 562B) is generated, and the generated background difference image is binarized. It Then, labeling such as 4-connection is performed on the binary background difference image. Then, a partial region in the captured image 562B existing at the same position as the position of the connected region (independent region) obtained as a result of labeling in the binary background difference image is set as the medal region 573.

本実施形態では、抽出部564は、上記の2つの方法とは異なる方法で、撮像画像562Bからメダル領域573を抽出する。以下に本実施形態に係る抽出部564の動作について説明する。なお、抽出部564は、上記の2つの方法のどちらか一方を用いて撮像画像562Bからメダル領域573を抽出してもよい。 In the present embodiment, the extraction unit 564 extracts the medal area 573 from the captured image 562B by a method different from the above two methods. The operation of the extraction unit 564 according to this embodiment will be described below. The extraction unit 564 may extract the medal area 573 from the captured image 562B by using one of the above two methods.

まず、抽出部564は、撮像画像562Bと背景画像575(撮像画像562Bの背景だけが映る画像)との差分を示す背景差分画像を生成し、生成した背景差分画像を2値化する。図64は、背景画像575を模式的に示す図であって、図65は、2値の背景差分画像576を模式的に示す図である。なお、図65、及び本実施形態における後述の図において模式的に示される2値の画像では、画素値が「1」の領域(高輝度領域)は黒色で示され、画素値が「0」の領域(低輝度領域)は白色で示される。また、背景画像575は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 First, the extraction unit 564 generates a background difference image indicating a difference between the captured image 562B and the background image 575 (an image in which only the background of the captured image 562B appears), and binarizes the generated background difference image. FIG. 64 is a diagram schematically showing the background image 575, and FIG. 65 is a diagram schematically showing a binary background difference image 576. In the binary image schematically shown in FIG. 65 and the later-described drawings of the present embodiment, a region having a pixel value of “1” (high brightness region) is shown in black, and a pixel value of “0”. The area (low brightness area) is shown in white. The background image 575 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

次に、抽出部564は、2値の背景差分画像576に対して、メダル510の外形を示す2値の外形テンプレート577を用いたテンプレートマッチングを行う。つまり、抽出部564は、背景差分画像576において、外形テンプレート577と類似する領域がどこに存在するかを特定する。言い換えると、抽出部564は、背景差分画像576において、外形テンプレート577が示すメダル510の外形と一致する領域がどこに存在するかを特定する。図66は、外形テンプレート577を模式的に示す図である。外形テンプレート577は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。外形テンプレート577の外形は、例えば正方形である。 Next, the extraction unit 564 performs template matching on the binary background difference image 576 using the binary outline template 577 indicating the outline of the medal 510. That is, the extraction unit 564 specifies where in the background difference image 576, a region similar to the outer shape template 577 exists. In other words, the extraction unit 564 specifies where, in the background difference image 576, a region that matches the outer shape of the medal 510 indicated by the outer shape template 577 exists. FIG. 66 is a diagram schematically showing the outer shape template 577. The outer shape template 577 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like. The outer shape of the outer shape template 577 is, for example, a square.

テンプレートマッチングでは、抽出部564は、図67に示されるように、背景差分画像576上で外形テンプレート577をラスタスキャン方向に少しずつ(例えば、1画素(ピクセル)ずつ)移動させる。言い換えれば、抽出部564は、背景差分画像576上で外形テンプレート577をラスタスキャンさせる。このとき、抽出部564は、外形テンプレート577の各位置において、外形テンプレート577と、それに重なる、背景差分画像576の部分領域とのAND画像を生成する。これにより、複数の2値のAND画像が生成される。そして、抽出部564は、生成した複数のAND画像のうち、画素値が「1」の画素(高輝度画素)の数が最も多いAND画像の生成で使用された外形テンプレート577の背景差分画像576上の位置を特定する。この位置は、背景差分画像576において、外形テンプレート577と類似した領域が存在する位置である。 In the template matching, as shown in FIG. 67, the extraction unit 564 moves the outline template 577 on the background difference image 576 little by little (for example, by one pixel (pixel)) in the raster scan direction. In other words, the extraction unit 564 raster-scans the outer shape template 577 on the background difference image 576. At this time, the extraction unit 564 generates an AND image of the outer shape template 577 and the partial area of the background difference image 576 that overlaps with the outer shape template 577 at each position of the outer shape template 577. As a result, a plurality of binary AND images are generated. Then, the extraction unit 564 selects the background difference image 576 of the outer shape template 577 used in the generation of the AND image having the largest number of pixels (high-luminance pixels) having the pixel value “1” among the generated AND images. Identify the top position. This position is a position where a region similar to the outer shape template 577 exists in the background difference image 576.

そして、抽出部564は、図68に示されるように、特定した位置と同じ位置に存在する撮像画像562Bでの部分領域578を、メダル領域573として抽出する。言い換えれば、抽出部564は、特定した位置と同じ位置に外形テンプレート577を撮像画像562Bに配置した際に、外形テンプレート577と重なる、撮像画像562Bでの部分領域578を、メダル領域573として抽出する。このとき、部分領域578において、その上の外形テンプレート577が示す円形よりも外側の各画素の画素値を零としたものをメダル領域573としてもよい。抽出部564で抽出されるメダル領域573はグレースケール画像である。本実施形態では、メダル領域573の外形は四角形であるが、円形等の他の形状であってもよい。 Then, as shown in FIG. 68, the extraction unit 564 extracts, as the medal area 573, the partial area 578 in the captured image 562B existing at the same position as the specified position. In other words, the extraction unit 564 extracts, as the medal area 573, the partial area 578 in the captured image 562B that overlaps the external shape template 577 when the external shape template 577 is arranged in the captured image 562B at the same position as the specified position. .. At this time, in the partial area 578, the medal area 573 may be one in which the pixel value of each pixel outside the circle indicated by the outer shape template 577 above it is zero. The medal area 573 extracted by the extraction unit 564 is a grayscale image. In the present embodiment, the medal area 573 has a quadrangular outer shape, but may have another shape such as a circular shape.

[領域分割部]
本実施形態では、領域分割部565は、輝度ヒストグラムのエントロピーを用いて、メダル領域573に対する領域分割を行う。領域分割部565は、メダル領域573の分割領域での輝度ヒストグラムのエントロピーがしきい値以上の場合に、当該分割領域を複数の分割領域にさらに分割する処理を繰り返し行う。
[Area division part]
In the present embodiment, the area dividing unit 565 performs area division on the medal area 573 using the entropy of the brightness histogram. When the entropy of the luminance histogram in the divided area of the medal area 573 is equal to or more than the threshold value, the area dividing unit 565 repeatedly performs the process of further dividing the divided area into a plurality of divided areas.

図69は、領域分割部565の動作を示すフローチャートである。図69に示されるように、ステップS31において、領域分割部565は、領域分割で使用するしきい値を決定する。具体的には、領域分割部565は、メダル領域573全体での輝度ヒストグラムを求める。そして、領域分割部565は、求めた輝度ヒストグラムのエントロピーを求める。そして、領域分割部565は、求めたエントロピーに基づいてしきい値を決定する。 FIG. 69 is a flowchart showing the operation of the area dividing unit 565. As shown in FIG. 69, in step S31, the area dividing unit 565 determines a threshold value used for area division. Specifically, the area dividing unit 565 obtains a luminance histogram for the entire medal area 573. Then, the area dividing unit 565 finds the entropy of the obtained luminance histogram. Then, the area dividing unit 565 determines the threshold value based on the obtained entropy.

図70Aは、メダル領域573全体での輝度ヒストグラム590の一例を示す図である。輝度ヒストグラム590は、メダル領域573を構成する複数の画素の輝度の分布を示している。図70Aの横軸は輝度を示している。図70Aの縦軸は、メダル領域573において、横軸に示される輝度を有する画素の数、つまり頻度を示している。本実施形態では、画素の輝度は、例えば8ビットで表現されており、十進数表現で「0」から「255」の値をとる。 FIG. 70A is a diagram showing an example of a luminance histogram 590 for the entire medal area 573. The brightness histogram 590 shows the distribution of brightness of a plurality of pixels forming the medal area 573. The horizontal axis of FIG. 70A represents luminance. The vertical axis of FIG. 70A indicates the number of pixels having the brightness shown on the horizontal axis, that is, the frequency, in the medal area 573. In the present embodiment, the brightness of a pixel is represented by, for example, 8 bits, and takes a value from “0” to “255” in decimal notation.

領域分割部565は、図70Bに示す式3を使用して、輝度ヒストグラム590のエントロピーEAを求める。 The area dividing unit 565 obtains the entropy EA of the luminance histogram 590 using Expression 3 shown in FIG. 70B.

ここで、式3中のPAiは、メダル領域573での輝度「i」の出現確率を示している。出現確率PAiは、メダル領域573において輝度が「i」である画素の数KAiと、メダル領域573の画素の総数KAtotalを用いて、以下の式4で表される。
PAi=KAi/KAtotal ・・・(式4)
Here, PAi in Expression 3 represents the appearance probability of the luminance “i” in the medal area 573. The appearance probability PAi is represented by the following Expression 4 using the number KAi of pixels having a luminance of “i” in the medal area 573 and the total number KAtotal of pixels in the medal area 573.
PAi=KAi/KAtotal... (Formula 4)

例えば、KAtotal=1000とし、メダル領域573において、輝度が「255」である画素の数KA255=10であるとすると、PA255=10/1000となる。 For example, if KAtotal=1000 and the number of pixels with luminance “255” in the medal area 573 is KA255=10, PA255=10/1000.

エントロピーEAは、輝度ヒストグラム590の分布のばらつきの度合いを示している。エントロピーEAが大きい場合には、輝度ヒストグラム590の分布がばらついていると言える。つまり、メダル領域573での輝度のばらつきが大きいと言える。一方で、エントロピーEAが小さい場合には、輝度ヒストグラム590の分布が偏っていると言える。つまり、メダル領域573での輝度のばらつきが小さいと言える。 The entropy EA indicates the degree of variation in the distribution of the luminance histogram 590. When the entropy EA is large, it can be said that the distribution of the luminance histogram 590 varies. That is, it can be said that there is a large variation in luminance in the medal area 573. On the other hand, when the entropy EA is small, it can be said that the distribution of the luminance histogram 590 is biased. That is, it can be said that the variation in luminance in the medal area 573 is small.

領域分割部565は、エントロピーEAを求めると、以下の式5を使用して、領域分割で使用するしきい値Tを求める。
T=EA×α ・・・(式5)
When the area dividing unit 565 finds the entropy EA, the area dividing unit 565 obtains the threshold value T used in the area division using the following Expression 5.
T=EA×α (Equation 5)

ここで、式5のαは、メダル領域573の分割態様を調整するための調整パラメータであって、0<α<1である。αが小さくなると、しきい値Tが小さくなることから、領域分割においてメダル領域573は分割され易くなる。また、αの値は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。本実施形態では、αの値は、メダル510の真偽判定を適切に行えるように、実験等によって前もって決定されている。 Here, α in Expression 5 is an adjustment parameter for adjusting the division mode of the medal area 573, and 0<α<1. As α decreases, the threshold value T decreases, so that the medal area 573 is likely to be divided in the area division. The value of α can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like. In the present embodiment, the value of α is determined in advance by experiments or the like so that the authenticity of the medal 510 can be appropriately determined.

領域分割部565は、ステップS31においてしきい値Tを決定すると、ステップS32においてメダル領域573を初期分割する。ここでは、メダル領域573は、例えば、図71に示されるように4分割される。本実施形態では、図71に示されるように、メダル領域573は、行列状に正方形の4つの分割領域580に均等に分割される。領域分割部565は、メダル領域573を初期分割する場合には、輝度ヒストグラムのエントロピーを使用しない。 When the threshold T is determined in step S31, the area dividing unit 565 initially divides the medal area 573 in step S32. Here, the medal area 573 is divided into four as shown in FIG. 71, for example. In the present embodiment, as shown in FIG. 71, the medal area 573 is evenly divided into four square divided areas 580 in a matrix. The area dividing unit 565 does not use the entropy of the luminance histogram when initially dividing the medal area 573.

次にステップS33において、領域分割部565は、処理対象の分割領域580を決定する。ステップS32の直後のステップS33では、ステップS32で得られたそれぞれの分割領域580が処理対象とされる。 Next, in step S33, the area dividing unit 565 determines the divided area 580 to be processed. In step S33 immediately after step S32, the respective divided areas 580 obtained in step S32 are processed.

次に、ステップS34において、領域分割部565は、ステップS33で決定した処理対象の分割領域580のそれぞれについて、輝度ヒストグラムのエントロピーを求める。具体的には、領域分割部565は、まず、処理対象の分割領域580の輝度ヒストグラムを求める。分割領域580の輝度ヒストグラムは、例えば、図72Aに示す分割領域580を構成する複数の画素の輝度の分布を示している。そして、領域分割部565は、処理対象の分割領域580の輝度ヒストグラムのエントロピーEBを、図72Bに示す式6を用いて求める。 Next, in step S34, the area dividing unit 565 obtains the entropy of the luminance histogram for each of the processing target divided areas 580 determined in step S33. Specifically, the area dividing unit 565 first obtains a luminance histogram of the divided area 580 to be processed. The luminance histogram of the divided area 580 shows, for example, the luminance distribution of a plurality of pixels forming the divided area 580 shown in FIG. 72A. Then, the area dividing unit 565 obtains the entropy EB of the luminance histogram of the divided area 580 to be processed using Expression 6 shown in FIG. 72B.

ここで、式6のPBiは、分割領域580での輝度「i」の出現確率を示している。出現確率PBiは、分割領域580において輝度が「i」である画素の数KBiと、その分割領域580の画素の総数KBtotalを用いて、以下の式7で表される。
PBi=KBi/KBtotal ・・・(式7)
Here, PBi in Expression 6 represents the appearance probability of the luminance “i” in the divided region 580. The appearance probability PBi is represented by the following Expression 7 using the number KBi of pixels whose brightness is “i” in the divided area 580 and the total number KBtotal of pixels in the divided area 580.
PBi=KBi/KBtotal (Equation 7)

分割領域580についてのエントロピーEBが大きい場合には、分割領域580での輝度のばらつきが大きいと言える。一方で、分割領域580についてのエントロピーEBが小さい場合には、分割領域580での輝度のばらつきが小さいと言える。 When the entropy EB for the divided area 580 is large, it can be said that the variation in luminance in the divided area 580 is large. On the other hand, when the entropy EB for the divided area 580 is small, it can be said that the variation in luminance in the divided area 580 is small.

ステップS34が実行されると、領域分割部565は、ステップS35において、ステップS33で決定された処理対象の分割領域580において、エントロピーEBがしきい値T以上の処理対象の分割領域580が存在するか否かを判定する。領域分割部565は、ステップS35において、エントロピーEBがしきい値T以上の処理対象の分割領域580が存在すると判定すると、ステップS36において、エントロピーEBがしきい値T以上の処理対象の分割領域580をさらに分割する。上記のように、分割領域580についてのエントロピーEBが大きい場合には、その分割領域580での輝度のばらつきが大きいと言えることから、領域分割部565は、輝度のばらつきが大きい処理対象の分割領域580をさらに分割すると言える。言い換えれば、領域分割部565は、特徴が一様でない処理対象の分割領域580をさらに分割する。ステップS36では、ステップS32と同様に、エントロピーEBがしきい値T以上の処理対象の分割領域580は、行列状に正方形の4つの分割領域581にさらに均等に分割される。図72Aは、ステップS32での初期分割によって得られた4つの分割領域580のうちの左上の分割領域580が、さらに4つの分割領域581に分割される様子を示す図である。 When step S34 is executed, the area dividing unit 565 in step S35 has a processing object divided area 580 whose entropy EB is equal to or larger than the threshold value T in the processing object divided area 580 determined in step S33. Or not. When the area dividing unit 565 determines in step S35 that there is a processing target divided area 580 having an entropy EB equal to or greater than the threshold value T, in step S36, the processing target divided area 580 having an entropy EB equal to or greater than the threshold value T. Is further divided. As described above, when the entropy EB of the divided area 580 is large, it can be said that the luminance variation in the divided area 580 is large. Therefore, the area division unit 565 causes the divided area to be processed in which the luminance variation is large. It can be said that 580 is further divided. In other words, the area dividing unit 565 further divides the divided area 580 to be processed, which has non-uniform characteristics. In step S36, as in step S32, the divided area 580 to be processed whose entropy EB is equal to or larger than the threshold T is evenly divided into four square divided areas 581 in a matrix. FIG. 72A is a diagram showing how the upper left divided area 580 of the four divided areas 580 obtained by the initial division in step S32 is further divided into four divided areas 581.

ステップS36が実行されると、領域分割部565は再度ステップS33を実行して、処理対象の分割領域581をあらたに決定する。ステップS36の直後のステップS33では、ステップS36で得られた新たな分割領域581であって、所定の大きさよりも大きい分割領域581が処理対象とされる。その後、領域分割部565は、同様にステップS34以降を実行する。 When step S36 is executed, the area dividing unit 565 executes step S33 again, and newly determines the divided area 581 to be processed. In step S33 immediately after step S36, the new divided area 581 obtained in step S36, which is larger than a predetermined size, is targeted for processing. After that, the area dividing unit 565 similarly executes step S34 and the subsequent steps.

ステップS35において、領域分割部565は、エントロピーEBがしきい値T以上の処理対象の分割領域581が存在しないと判定すると、メダル領域573に対する領域分割を終了する。 In step S35, when the area dividing unit 565 determines that there is no divided area 581 to be processed whose entropy EB is equal to or larger than the threshold value T, the area division for the medal area 573 ends.

このように、本実施形態では、領域分割部565は、分割領域(例えば、分割領域580や分割領域581)での輝度ヒストグラムのエントロピーEBがしきい値以上の場合に、分割領域をさらに複数の分割領域に分割する処理を繰り返し行うため、メダル領域573が、それぞれにおいてエントロピーEBが小さい複数の分割領域に分割される(例えば、図71の例では、メダル領域573が4つの分割領域580に分割され、図72Aの例では、分割領域580が4つの分割領域581に分割される)。つまり、メダル領域573は、それぞれにおいて輝度が一様な複数の分割領域に分割される。 As described above, in the present embodiment, the area dividing unit 565 further divides a plurality of divided areas when the entropy EB of the luminance histogram in the divided areas (for example, the divided area 580 and the divided area 581) is equal to or more than the threshold value. Since the process of dividing into the divided regions is repeated, the medal region 573 is divided into a plurality of divided regions each having a small entropy EB (for example, in the example of FIG. 71, the medal region 573 is divided into four divided regions 580. 72A, the divided area 580 is divided into four divided areas 581). That is, the medal area 573 is divided into a plurality of divided areas having uniform brightness.

図73は、メダル領域573に対して領域分割が行われて、メダル領域573が、それぞれにおいて輝度が一様な複数の分割領域582に分割された様子の概要を示す図である。なお、図73では、分割された領域を、その大きさに関わらず(すなわち、何回領域分割が行われたものであるかに関わらず)、分割領域582として示すものとする。メダル領域573において、メダル510の模様の輪郭を含む領域では、輝度がばらつくことから、図73に示されるように、メダル領域573では、メダル510の模様の輪郭付近が細かく分割される。同様に、メダル領域573において、メダル510の外形を含む領域では、輝度がばらつくことから、図73に示されるように、メダル領域573では、メダル510の外形付近が細かく分割される。 FIG. 73 is a diagram showing an outline of how the medal area 573 is divided into areas, and the medal area 573 is divided into a plurality of divided areas 582 having uniform brightness. In FIG. 73, the divided area is shown as a divided area 582 regardless of its size (that is, regardless of how many times the area is divided). In the medal area 573, since the brightness varies in the area including the contour of the pattern of the medal 510, as shown in FIG. 73, the vicinity of the contour of the pattern of the medal 510 is finely divided in the medal area 573. Similarly, in the area including the outer shape of the medal 510 in the medal area 573, the brightness varies. Therefore, as shown in FIG. 73, in the medal area 573, the vicinity of the outer shape of the medal 510 is finely divided.

このように、分割領域での輝度ヒストグラムのエントロピーEBがしきい値以上の場合に、当該分割領域が複数の分割領域にさらに分割される処理が繰り返し行われることによって、メダル領域573では、メダル510の模様の輪郭付近が細かく分割される。したがって、メダル領域573に対して領域分割が行われることによって生成される複数の分割領域582はメダル510の特徴を示していると言える。以後、分割領域582を「一様分割領域582」と呼ぶことがある。 In this way, when the entropy EB of the luminance histogram in the divided areas is equal to or more than the threshold value, the processing of further dividing the divided area into a plurality of divided areas is repeatedly performed, so that the medal 510 in the medal area 573. The area near the outline of the pattern is finely divided. Therefore, it can be said that the plurality of divided areas 582 generated by performing the area division on the medal area 573 show the characteristics of the medal 510. Hereinafter, the divided area 582 may be referred to as a “uniform divided area 582”.

なお、上記の例では、分割領域での輝度ヒストグラムのエントロピーEBがしきい値以上の場合に、当該分割領域が複数の分割領域にさらに分割されていたが、分割領域での輝度ヒストグラムのエントロピーEBがしきい値よりも大きい場合に、当該分割領域が、さらに複数の分割領域に分割されてもよい。また上記の例では、分割領域が4分割されていたが、分割領域の分割数はこれ以外であってもよい。 In the above example, when the entropy EB of the luminance histogram in the divided area is equal to or more than the threshold value, the divided area is further divided into a plurality of divided areas. However, the entropy EB of the luminance histogram in the divided area is When is larger than the threshold value, the divided area may be further divided into a plurality of divided areas. Further, in the above example, the divided area is divided into four, but the number of divided areas may be other than this.

[特徴量取得部]
本実施形態では、特徴量取得部566は、領域分割部565で生成された複数の一様分割領域582のそれぞれについて、一様分割領域582の大きさを示す大きさ情報と、メダル領域573の中心から一様分割領域582までの距離を示す距離情報とを取得する。そして、特徴量取得部566は、それぞれの一様分割領域582についての大きさ情報及び距離情報に基づいてメダル特徴量を取得する。本実施形態では、特徴量取得部566は、一様分割領域582についての大きさ情報及び距離情報の2次元ヒストグラムを生成し、当該2次元ヒストグラムをメダル特徴量とする。
[Feature acquisition unit]
In the present embodiment, the feature amount acquisition unit 566, for each of the plurality of uniform divided areas 582 generated by the area dividing unit 565, size information indicating the size of the uniform divided area 582 and the medal area 573. Distance information indicating the distance from the center to the uniform divided area 582 is acquired. Then, the feature amount acquisition unit 566 acquires the medal feature amount based on the size information and the distance information for each uniformly divided area 582. In the present embodiment, the feature amount acquisition unit 566 generates a two-dimensional histogram of the size information and the distance information of the uniformly divided area 582, and sets the two-dimensional histogram as the medal feature amount.

一様分割領域582の大きさ情報としては、例えば、一様分割領域582の横方向あるいは縦方向の長さが採用される。本実施形態では、一様分割領域582は正方形であることから、一様分割領域582の横方向、及び縦方向の長さは同じである。また、一様分割領域582についての距離情報としては、例えば、メダル領域573の中心から一様分割領域582の中心までの距離が採用される。なお、一様分割領域582の大きさ情報として、一様分割領域582の対角線の長さが採用されてもよい。 As the size information of the uniform divided area 582, for example, the horizontal or vertical length of the uniform divided area 582 is adopted. In the present embodiment, since the uniform divided area 582 is a square, the horizontal and vertical lengths of the uniform divided area 582 are the same. As the distance information about the uniform divided area 582, for example, the distance from the center of the medal area 573 to the center of the uniform divided area 582 is adopted. The length of the diagonal line of the uniform divided area 582 may be adopted as the size information of the uniform divided area 582.

特徴量取得部566は、それぞれの一様分割領域582について、その一様分割領域582の大きさ情報と距離情報とを一組の情報ペアとして、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶する。そして、特徴量取得部566は、領域分割部565で生成された複数の一様分割領域582にそれぞれ対応する複数組の情報ペアに基づいて、大きさ情報と距離情報との組み合わせについての頻度分布を示す2次元ヒストグラムを生成する。以後、当該2次元ヒストグラムを「2次元評価値ヒストグラム591」と呼ぶことがある。 The feature amount acquisition unit 566 sets, for each uniform division area 582, the size information and the distance information of the uniform division area 582 as one set of information pairs, for example, SRAM (the camera unit according to the first embodiment). 209 (corresponding to the SRAM 243) or the like. Then, the feature amount acquisition unit 566, based on the plurality of information pairs respectively corresponding to the plurality of uniformly divided regions 582 generated by the region division unit 565, the frequency distribution of the combination of the size information and the distance information. 2D histogram is generated. Hereinafter, the two-dimensional histogram may be referred to as “two-dimensional evaluation value histogram 591”.

図74は、2次元評価値ヒストグラム591の一例を示す図である。図74のx軸方向に沿った第1軸は大きさ情報を示し、図74のy軸方向に沿った第2軸は距離情報を示している。そして、図74のz軸方向に沿った第3軸は、複数組の情報ペアにおける、第1軸に示された値を有する大きさ情報と、第2軸に示された値を有する距離情報との組み合わせの頻度を示している。つまり、図74の第3軸は、複数組の情報ペアにおいて、第1軸に示された値を有する大きさ情報と、第2軸に示された値を有する距離情報との組み合わせが何組存在しているかを示している。 FIG. 74 is a diagram showing an example of the two-dimensional evaluation value histogram 591. The first axis along the x-axis direction in FIG. 74 indicates size information, and the second axis along the y-axis direction in FIG. 74 indicates distance information. The third axis along the z-axis direction in FIG. 74 is the size information having the value shown on the first axis and the distance information having the value shown on the second axis in the plurality of information pairs. It shows the frequency of combination with. In other words, the third axis of FIG. 74 shows how many combinations of the size information having the value shown on the first axis and the distance information having the value shown on the second axis in a plurality of information pairs. Indicates whether it exists.

例えば、複数組の情報ペアにおいて、大きさ情報a1と距離情報b1との組み合わせが8個存在する場合には、第1軸に示される大きさ情報a1及び第2軸に示される距離情報b1に対応するビンでの頻度が「8」となる。また、複数組の情報ペアにおいて、大きさ情報a5と距離情報b3との組み合わせが3個存在する場合には、第1軸に示される大きさ情報a5及び第2軸に示される距離情報b3に対応するビンでの頻度が「3」となる。 For example, when there are eight combinations of the size information a1 and the distance information b1 in a plurality of information pairs, the size information a1 shown on the first axis and the distance information b1 shown on the second axis are included. The frequency in the corresponding bin is "8". In addition, when there are three combinations of the size information a5 and the distance information b3 in a plurality of information pairs, the size information a5 shown on the first axis and the distance information b3 shown on the second axis are included. The frequency in the corresponding bin is “3”.

このように、本実施形態では、メダル領域573での、一様分割領域582の大きさ情報及び距離情報の2次元評価値ヒストグラム591がメダル特徴量とされる。 As described above, in the present embodiment, the two-dimensional evaluation value histogram 591 of the size information and the distance information of the uniformly divided area 582 in the medal area 573 is set as the medal feature amount.

[判定部]
判定部567は、特徴量取得部566で取得されたメダル特徴量と、正規のメダル510の特徴を示す標準特徴量とを比較し、その比較結果に基づいて、撮像画像562Bに映るメダル510が正規のものか否かを判定する。標準特徴量として、正規のメダル510が映る撮像画像562Bから上記と同様にして2次元評価値ヒストグラム591が使用される。以後、正規のメダル510が映る撮像画像562Bから生成された2次元評価値ヒストグラム591を「標準2次元評価値ヒストグラム591A」と呼ぶ。
[Judgment part]
The determination unit 567 compares the medal feature amount acquired by the feature amount acquisition unit 566 with the standard feature amount indicating the feature of the regular medal 510, and based on the comparison result, the medal 510 shown in the captured image 562B is determined. It is determined whether it is legitimate. As the standard feature amount, the two-dimensional evaluation value histogram 591 is used from the captured image 562B showing the regular medal 510 in the same manner as described above. Hereinafter, the two-dimensional evaluation value histogram 591 generated from the captured image 562B showing the regular medal 510 is referred to as a “standard two-dimensional evaluation value histogram 591A”.

遊技機が実稼働していないときには、標準2次元評価値ヒストグラム591A(標準特徴量)を得るために、遊技機に対して正規のメダル510が投入される。変換部563では、投入された正規のメダル510が映る撮像画像562Bが生成される。この撮像画像562Bを「標準撮像画像562C」と呼ぶ。抽出部564は、この標準撮像画像562Cから、正規のメダル510が映るメダル領域573を生成し、領域分割部565がメダル領域573に対して領域分割を行う。そして、特徴量取得部566が、領域分割部565で生成された複数の一様分割領域582に基づいて標準2次元評価値ヒストグラム591A(標準特徴量)を生成する。このように生成された標準2次元評価値ヒストグラム591Aは、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 When the gaming machine is not in actual operation, a regular medal 510 is inserted into the gaming machine to obtain the standard two-dimensional evaluation value histogram 591A (standard feature amount). The conversion unit 563 generates a captured image 562B showing the inserted regular medal 510. This captured image 562B is called a "standard captured image 562C". The extraction unit 564 generates a medal area 573 in which the regular medal 510 is shown from the standard captured image 562C, and the area division unit 565 divides the medal area 573 into areas. Then, the feature amount acquisition unit 566 generates a standard two-dimensional evaluation value histogram 591A (standard feature amount) based on the plurality of uniformly divided regions 582 generated by the region dividing unit 565. The standard two-dimensional evaluation value histogram 591A thus generated can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

なお、このような遊技機による標準2次元評価値ヒストグラム591Aの取得は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前に標準2次元評価値ヒストグラム591Aを取得し、各遊技機のSRAM等に記憶させるようにしてもよい。 It should be noted that the acquisition of the standard two-dimensional evaluation value histogram 591A by such a gaming machine can be performed when a predetermined mode is selected in the gaming machine. Further, the standard two-dimensional evaluation value histogram 591A may be acquired in advance by a gaming machine or another device and stored in the SRAM or the like of each gaming machine.

一方、実稼働中の遊技機では、判定部567が、特徴量取得部566で生成された2次元評価値ヒストグラム591と、SRAM等に記憶された標準2次元評価値ヒストグラム591Aとを比較し、その比較結果に基づいて、撮像画像562Bに映るメダル510が正規のものか否かを判定する。本実施形態では、判定部567は、特徴量取得部566で生成される2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとの間の類似度を求めることによって、両者を比較する。当該類似度を示す値としては、例えば、Bhattacharyya距離が使用される。Bhattacharyya距離が大きいことは類似度が低いことを意味し、Bhattacharyya距離が小さいことは類似度が高いことを意味する。類似度を示す値として他の値を使用してもよい。 On the other hand, in the game machine in actual operation, the determination unit 567 compares the two-dimensional evaluation value histogram 591 generated by the feature amount acquisition unit 566 with the standard two-dimensional evaluation value histogram 591A stored in SRAM or the like, Based on the comparison result, it is determined whether or not the medal 510 shown in the captured image 562B is a legitimate one. In the present embodiment, the determination unit 567 compares the two-dimensional evaluation value histogram 591 generated by the feature amount acquisition unit 566 and the standard two-dimensional evaluation value histogram 591A by comparing the two. For example, the Bhattacharyya distance is used as the value indicating the degree of similarity. A large Bhattacharyya distance means low similarity, and a small Bhattacharyya distance means high similarity. Other values may be used as the value indicating the similarity.

ここで、撮像画像562Bから生成された2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとの間の類似度が高い場合には、撮像画像562Bに映るメダル510は正規のメダルである可能性が高い。したがって、Bhattacharyya距離のように、撮像画像562Bから生成された2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとの間の類似度を示す値は、撮像画像562Bに映るメダル510が正規のものである確からしさを示す評価値であると言える。言い換えれば、当該類似度を示す値は、撮像画像562Bに映るメダル510が正規のものである可能性を示す評価値であると言える。以後、当該評価値を「判定評価値」と呼ぶ。 Here, when the similarity between the two-dimensional evaluation value histogram 591 generated from the captured image 562B and the standard two-dimensional evaluation value histogram 591A is high, the medal 510 shown in the captured image 562B is a regular medal. Probability is high. Therefore, like the Bhattacharyya distance, the value indicating the similarity between the two-dimensional evaluation value histogram 591 generated from the captured image 562B and the standard two-dimensional evaluation value histogram 591A is the medal 510 in the captured image 562B. It can be said that this is an evaluation value indicating the certainty of the thing. In other words, it can be said that the value indicating the degree of similarity is an evaluation value indicating the possibility that the medal 510 shown in the captured image 562B is a legitimate one. Hereinafter, the evaluation value will be referred to as a “determination evaluation value”.

本実施形態では、判定部567は、特徴量取得部566で生成された2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとの間の類似度が高い場合には、撮像画像562Bに映るメダル510が正規のものであると判定し、当該類似度が低い場合には、撮像画像562Bに映るメダル510が正規のものではないと判定する。具体的には、判定部567は、特徴量取得部566で生成された2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとの間のBhattacharyya距離が、しきい値以下の場合には、撮像画像562Bに映るメダル510が正規のものであると判定し、当該しきい値よりも大きい場合には、撮像画像562Bに映るメダル510が正規のものではないと判定する。言い換えれば、判定部567は、撮像画像562Bから得られた2次元評価値ヒストグラム591と、標準2次元評価値ヒストグラム591Aとに基づいて生成された判定評価値が、しきい値以下の場合には、撮像画像562Bに映るメダル510が正規のものであると判定し、当該しきい値よりも大きい場合には、撮像画像562Bに映るメダル510が正規のものではないと判定する。そして、判定部567は、判定結果569を出力する。 In the present embodiment, when the similarity between the two-dimensional evaluation value histogram 591 generated by the feature amount acquisition unit 566 and the standard two-dimensional evaluation value histogram 591A is high, the determination unit 567 selects the captured image 562B. It is determined that the medal 510 that appears is a legitimate one, and if the similarity is low, it is determined that the medal 510 that appears in the captured image 562B is not a legitimate one. Specifically, the determination unit 567 determines that the Bhattacharyya distance between the two-dimensional evaluation value histogram 591 generated by the feature amount acquisition unit 566 and the standard two-dimensional evaluation value histogram 591A is equal to or less than the threshold value. It is determined that the medal 510 shown in the captured image 562B is authentic, and if it is larger than the threshold value, it is determined that the medal 510 shown in the captured image 562B is not genuine. In other words, the determination unit 567 determines that the determination evaluation value generated based on the two-dimensional evaluation value histogram 591 obtained from the captured image 562B and the standard two-dimensional evaluation value histogram 591A is less than or equal to the threshold value. It is determined that the medal 510 shown in the captured image 562B is authentic, and if it is larger than the threshold value, it is determined that the medal 510 shown in the captured image 562B is not genuine. Then, the determination unit 567 outputs the determination result 569.

以上のように、本実施形態では、メダル領域573に対する領域分割の際に使用されるしきい値Tが、そのメダル領域573に基づいて決定される。したがって、メダル510が映るメダル領域573を、そのメダル510に応じて適切に複数の一様分割領域582に分割することができる。よって、しきい値Tが予め決定されている場合と比較して、メダル領域573に映るメダル510の特徴を適切に示すメダル特徴量を取得することができる。その結果、メダル510が正規のものか否かを判定する際の判定精度が向上する。 As described above, in the present embodiment, the threshold value T used when dividing the medal area 573 is determined based on the medal area 573. Therefore, the medal area 573 in which the medal 510 is reflected can be appropriately divided into a plurality of uniform divided areas 582 according to the medal 510. Therefore, compared to the case where the threshold value T is determined in advance, it is possible to acquire the medal feature amount that appropriately indicates the feature of the medal 510 shown in the medal area 573. As a result, the determination accuracy in determining whether or not the medal 510 is a genuine one is improved.

また、本実施形態では、複数の一様分割領域582に基づいてメダル特徴量が取得される際には、一様分割領域582についての大きさ情報、及び距離情報が使用される。したがって、一様分割領域582の各画素の画素値が使用されてメダル特徴量が取得される場合と比較して、メダル特徴量を簡単に取得することができる。よって、撮像画像562Bに映るメダル510が正規のものであるか否かを簡単に判定することができる。 Further, in the present embodiment, when the medal feature amount is acquired based on the plurality of uniform divided areas 582, the size information and the distance information about the uniform divided areas 582 are used. Therefore, it is possible to easily acquire the medal feature amount as compared with the case where the pixel value of each pixel of the uniform divided area 582 is used to obtain the medal feature amount. Therefore, it is possible to easily determine whether or not the medal 510 shown in the captured image 562B is a legitimate one.

また、本実施形態では、撮像画像562Bは、回転するメダル510が撮像されることによって得られた撮像画像であることから、撮像画像562Bに映るメダル510の回転姿勢(回転角度)が常に同じであるとは限らない。したがって、メダル領域573に映るメダル510の回転姿勢も常に同じであるとは限らない。一方で、メダル領域573から得られる一様分割領域582の大きさ情報、及び距離情報は、一様分割領域582がメダル領域573の中心の周りに回転したとしても変化しない情報である。したがって、メダル領域573に映るメダル510の回転姿勢にばらつきがあるとしても、メダル510が正規のものであれば、メダル領域573から得られる一様分割領域582の大きさ情報、及び距離情報はばらつきにくい。よって、一様分割領域582の大きさ情報、及び距離情報のそれぞれは、撮像画像562Bに映るメダル510の回転姿勢の影響を受けにくい情報であると言える。本実施形態では、撮像画像562Bに映るメダル510の回転姿勢の影響を受けにくい情報に基づいてメダル特徴量が取得されることから、撮像画像562Bが、回転するメダル510が撮像されることによって得られた撮像画像である場合であっても、撮像画像562Bに映る正規のメダル510が、正規のものではないと誤って判定されることを抑制することができる。 Further, in the present embodiment, since the captured image 562B is a captured image obtained by capturing the rotating medal 510, the rotational attitude (rotation angle) of the medal 510 shown in the captured image 562B is always the same. Not necessarily. Therefore, the rotational attitude of the medal 510 shown in the medal area 573 is not always the same. On the other hand, the size information and the distance information of the uniformly divided area 582 obtained from the medal area 573 are information that does not change even if the uniformly divided area 582 is rotated around the center of the medal area 573. Therefore, even if the rotational attitude of the medal 510 shown in the medal area 573 varies, the size information and the distance information of the uniformly divided area 582 obtained from the medal area 573 vary if the medal 510 is a regular one. Hateful. Therefore, it can be said that each of the size information and the distance information of the uniformly divided area 582 is information that is not easily influenced by the rotational posture of the medal 510 shown in the captured image 562B. In the present embodiment, since the medal feature amount is acquired based on the information that is less likely to be influenced by the rotation posture of the medal 510 shown in the captured image 562B, the captured image 562B is obtained by capturing the rotating medal 510. Even if the captured image is a captured image, it is possible to prevent the regular medal 510 shown in the captured image 562B from being erroneously determined to be not a regular one.

<第4実施形態の変形例>
以下に本実施形態の各種変形例について説明する。
<Modification of Fourth Embodiment>
Various modifications of the present embodiment will be described below.

[変形例1(メダル特徴量取得方法)]
上記の例では、特徴量取得部566は、一様分割領域582の大きさ情報、及び距離情報の両方に基づいてメダル特徴量を取得していたが、一様分割領域582の大きさ情報、及び距離情報のどちらか一方に基づいてメダル特徴量を取得してもよい。例えば、特徴量取得部566は、領域分割部565で生成された複数の一様分割領域582の大きさ情報に基づいてメダル特徴量を取得してもよい。この場合、特徴量取得部566は、例えば、領域分割部565で生成された複数の一様分割領域582の大きさ情報の分布を示す1次元ヒストグラム592を生成し、この1次元ヒストグラム592をメダル特徴量とする。図75は、一様分割領域582の大きさ情報の分布を示す1次元ヒストグラム592の一例を示す図である。図75の横軸は大きさ情報を示している。図75の縦軸は、領域分割部565で生成された複数の一様分割領域582において、横軸に示される大きさ情報を有する一様分割領域582の数、つまり頻度を示している。
[Modification 1 (Medal feature amount acquisition method)]
In the above example, the feature amount acquisition unit 566 acquires the medal feature amount based on both the size information of the uniform divided area 582 and the distance information. However, the size information of the uniform divided area 582, Alternatively, the medal feature amount may be acquired based on either one of the distance information and the distance information. For example, the characteristic amount acquisition unit 566 may acquire the medal characteristic amount based on the size information of the plurality of uniformly divided areas 582 generated by the area dividing unit 565. In this case, the feature amount acquisition unit 566 generates, for example, a one-dimensional histogram 592 showing the distribution of the size information of the plurality of uniform divided areas 582 generated by the area dividing unit 565, and uses the one-dimensional histogram 592 as a medal. Let it be a feature amount. FIG. 75: is a figure which shows an example of the one-dimensional histogram 592 which shows the distribution of the size information of the uniform division area 582. As shown in FIG. The horizontal axis of FIG. 75 indicates size information. The vertical axis of FIG. 75 indicates the number of uniform divided areas 582 having the size information shown on the horizontal axis, that is, the frequency, among the plurality of uniform divided areas 582 generated by the area dividing unit 565.

一様分割領域582の大きさ情報の分布を示す1次元ヒストグラム592がメダル特徴量とされる場合には、遊技機が実稼働していないときに、特徴量取得部566が、正規のメダル510が映る撮像画像562Bから同様にして生成する、一様分割領域582の大きさ情報の1次元ヒストグラム(標準1次元ヒストグラム592A)が標準特徴量とされる。そして、判定部567は、2次元評価値ヒストグラム591が使用される場合と同様に、特徴量取得部566で生成された1次元ヒストグラム592と、標準1次元ヒストグラム592Aとを比較し、その比較結果に基づいて、撮像画像562Bに映るメダル510が正規のものであるか否かを判定する。 When the one-dimensional histogram 592 indicating the distribution of the size information of the uniformly divided areas 582 is used as the medal feature amount, the feature amount acquisition unit 566 causes the regular medal 510 to be displayed when the gaming machine is not actually operating. The one-dimensional histogram (standard one-dimensional histogram 592A) of the size information of the uniform divided area 582, which is generated in the same manner from the captured image 562B in which is shown, is set as the standard feature amount. Then, the determination unit 567 compares the one-dimensional histogram 592 generated by the feature amount acquisition unit 566 with the standard one-dimensional histogram 592A, as in the case where the two-dimensional evaluation value histogram 591 is used, and the comparison result. Based on the above, it is determined whether or not the medal 510 shown in the captured image 562B is authentic.

なお、このような遊技機による標準1次元ヒストグラム592Aの生成は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前に標準1次元ヒストグラム592Aを生成し、各遊技機のSRAM等に記憶させるようにしてもよい。 The standard one-dimensional histogram 592A generated by such a gaming machine can be generated when a predetermined mode is selected in the gaming machine. Further, the standard one-dimensional histogram 592A may be generated in advance by a gaming machine or another device and stored in the SRAM or the like of each gaming machine.

また、特徴量取得部566は、領域分割部565で生成された複数の一様分割領域582の距離情報に基づいてメダル特徴量を取得する場合には、当該複数の一様分割領域582の距離情報の分布を示す1次元ヒストグラム592を生成し、1次元ヒストグラム592をメダル特徴量とする。 Further, when the feature amount acquisition unit 566 acquires the medal feature amount based on the distance information of the plurality of uniform divided regions 582 generated by the region dividing unit 565, the distance between the plurality of uniform divided regions 582 is calculated. A one-dimensional histogram 592 indicating the distribution of information is generated and the one-dimensional histogram 592 is used as a medal feature amount.

このように、一様分割領域582の大きさ情報、及び距離情報のうち、どちらか一方に基づいてメダル特徴量が取得される場合であっても、一様分割領域582の各画素の画素値に基づいてメダル特徴量が取得される場合と比較して、メダル特徴量を簡単に取得することができる。よって、撮像画像562Bに映るメダル510が正規のものであるか否かを簡単に判定することができる。 As described above, even when the medal feature amount is acquired based on one of the size information and the distance information of the uniform divided area 582, the pixel value of each pixel of the uniform divided area 582 is obtained. It is possible to easily acquire the medal feature amount as compared with the case where the medal feature amount is acquired based on. Therefore, it is possible to easily determine whether or not the medal 510 shown in the captured image 562B is a legitimate one.

また、一様分割領域582の大きさ情報、及び距離情報のそれぞれは、撮像画像562Bに映るメダル510の回転姿勢の影響を受けにくい情報であることから、本変形例においても、撮像画像562Bに映る正規のメダル510が正規のものではないと誤って判定されることを抑制することができる。 In addition, since the size information and the distance information of the uniform divided area 582 are information that is not easily influenced by the rotational attitude of the medal 510 shown in the captured image 562B, the captured image 562B is also displayed in this modified example. It is possible to prevent an erroneous determination that the regular medal 510 shown is not a regular medal.

[変形例2(複数種類の標準特徴量を使用した真偽判定)]
上記のように、一様分割領域582の大きさ情報、及び距離情報は、メダル領域573に映るメダル510の回転姿勢の影響を受けにくい情報であるものの、メダル領域573に映るメダル510の回転姿勢の影響を受けて多少ばらつく。以下にこの点について詳細に説明する。
[Modification 2 (authenticity determination using multiple types of standard feature amounts)]
As described above, the size information and the distance information of the uniformly divided area 582 are information that is not easily influenced by the rotational attitude of the medal 510 shown in the medal area 573, but the rotational attitude of the medal 510 shown in the medal area 573. There is some variation under the influence of. This point will be described in detail below.

例えば、図76に示されるような、正規のメダル510が映る4つのメダル領域573A〜573Dを考える。以下の説明では、メダル領域573Aから得られたメダル特徴量が標準特徴量としてSRAM等に記憶されているものとする。以後、メダル領域573Aから得られた複数の一様分割領域582を「複数の標準一様分割領域582A」と呼ぶことがある。 For example, consider four medal areas 573A to 573D in which a regular medal 510 is shown, as shown in FIG. In the following description, it is assumed that the medal feature amount obtained from the medal area 573A is stored in the SRAM or the like as the standard feature amount. Hereinafter, the plurality of uniform divided areas 582 obtained from the medal area 573A may be referred to as “a plurality of standard uniform divided areas 582A”.

メダル領域573Bに映るメダル510Bの回転角度は、メダル領域573Aに映るメダル510Aをその中心の周りに90°反時計周りに回転させた際のメダル510Aの回転角度と同じである。メダル領域573Cに映るメダル510Cの回転角度は、メダル領域573Aに映るメダル510Aをその中心の周りに180°反時計周りに回転させた際のメダル510Aの回転角度と同じである。メダル領域573Dに映るメダル510Dの回転角度は、メダル領域573Aに映るメダル510Aをその中心の周りに270°反時計周りに回転させた際のメダル510Aの回転角度と同じである。 The rotation angle of the medal 510B shown in the medal area 573B is the same as the rotation angle of the medal 510A when the medal 510A shown in the medal area 573A is rotated 90° counterclockwise around its center. The rotation angle of the medal 510C shown in the medal area 573C is the same as the rotation angle of the medal 510A when the medal 510A shown in the medal area 573A is rotated 180° counterclockwise around its center. The rotation angle of the medal 510D shown in the medal area 573D is the same as the rotation angle of the medal 510A when the medal 510A shown in the medal area 573A is rotated 270° counterclockwise around its center.

上記の例では、メダル領域573の分割領域がさらに分割される際には、行列状に正方形の4つの分割領域に均等に分割される。そのため、メダル領域573Bから得られる複数の一様分割領域582は、メダル領域573Aから得られる複数の標準一様分割領域582Aを、メダル領域573Aの中心の周りに90°反時計りに回転させたものと一致する。同様に、メダル領域573Cから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aを、メダル領域573Aの中心の周りに180°反時計周りに回転させたものと一致する。そして、メダル領域573Dから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aを、メダル領域573Aの中心の周りに270°反時計周りに回転させたものと一致する。したがって、複数の標準一様分割領域582Aの大きさ情報、及び距離情報と、メダル領域573Bから得られる複数の一様分割領域582の大きさ情報、及び距離情報と、メダル領域573Cから得られる複数の一様分割領域582の大きさ情報、及び距離情報と、メダル領域573Dから得られる複数の一様分割領域582の大きさ情報、及び距離情報とは互いに一致する。よって、メダル領域573Bから得られたメダル特徴量と、メダル領域573Cから得られたメダル特徴量と、メダル領域573Dから得られたメダル特徴量とは、メダル領域573Aから得られたメダル特徴量、つまり標準特徴量と一致する。 In the above example, when the divided area of the medal area 573 is further divided, it is evenly divided into four square divided areas in a matrix. Therefore, the plurality of uniform divided areas 582 obtained from the medal area 573B are obtained by rotating the plurality of standard uniform divided areas 582A obtained from the medal area 573A counterclockwise by 90° around the center of the medal area 573A. Match the ones. Similarly, the plurality of uniform divided areas 582 obtained from the medal area 573C coincide with those obtained by rotating the plurality of standard uniform divided areas 582A by 180° counterclockwise around the center of the medal area 573A. Then, the plurality of uniform divided areas 582 obtained from the medal area 573D coincide with those obtained by rotating the plurality of standard uniform divided areas 582A counterclockwise by 270° around the center of the medal area 573A. Therefore, the size information and the distance information of the plurality of standard uniform divided areas 582A, the size information of the plurality of uniform divided areas 582 obtained from the medal area 573B, and the distance information, and the plurality of pieces obtained from the medal area 573C. The size information and the distance information of the uniform divided area 582 of the same, and the size information and the distance information of the plurality of uniform divided areas 582 obtained from the medal area 573D match each other. Therefore, the medal feature amount obtained from the medal region 573B, the medal feature amount obtained from the medal region 573C, and the medal feature amount obtained from the medal region 573D are the medal feature amount obtained from the medal region 573A, That is, it matches the standard feature amount.

このように、あるメダル領域573Xに映る正規のメダル510の回転角度が、標準特徴量が取得されたメダル領域573Aに映る正規のメダル510Aをその中心の周りに(90×N)°(Nは0以上の整数)反時計回りに回転させた際の正規のメダル510Aの回転角度と一致する場合には、そのメダル領域573Xから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aをメダル領域573Aの中心の周りに(90×N)°反時計回りに回転させたものと一致する。したがって、メダル領域573Xから得られるメダル特徴量は、メダル領域573Aから得られるメダル特徴量に一致する。つまり、メダル領域573Xから得られるメダル特徴量は、SRAM等に記憶された標準特徴量と一致する。よって、そのメダル領域573Xに映るメダル510が、正規のものであると適切に判定することができる。 In this way, the rotation angle of the regular medal 510 appearing in a certain medal area 573X is (90×N)° (where N is equal to 90°N) around the center of the regular medal 510A appearing in the medal area 573A for which the standard feature amount is acquired. (Integer of 0 or more) When the rotation angle of the regular medal 510A when rotated counterclockwise matches, the plurality of uniform division areas 582 obtained from the medal area 573X are the plurality of standard uniform divisions. This matches the area 582A rotated by (90×N)° counterclockwise around the center of the medal area 573A. Therefore, the medal feature amount obtained from the medal region 573X matches the medal feature amount obtained from the medal region 573A. That is, the medal feature amount obtained from the medal area 573X matches the standard feature amount stored in the SRAM or the like. Therefore, it is possible to appropriately determine that the medal 510 shown in the medal area 573X is a genuine medal.

一方で、あるメダル領域573Xに映る正規のメダル510の回転角度が、メダル領域573Aに映る正規のメダル510Aをその中心の周りに(90×N)°反時計周りに回転させた際の正規のメダル510の回転角度と一致しない場合には、そのメダル領域573Xから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aをメダル領域573Aの中心の周りにどのような回転角度で回転させたとしても、当該複数の標準一様分割領域582Aと一致しないことがある。言い換えれば、正規のメダル510Aをその中心の周りにγ°(γ≠90×N、つまりγは「90」の倍数以外の値)反時計周りに回転させた際の正規のメダル510Aの回転角度と一致する場合には、メダル領域573Xから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aをメダル領域573Aの中心の周りにどのような回転角度で回転させたとしても、当該複数の標準一様分割領域582Aと一致しないことがある。したがって、メダル領域573Xから得られる複数の一様分割領域582の大きさ情報、及び距離情報は、複数の標準一様分割領域582Aの大きさ情報、及び距離情報と一致しないことがある。よって、メダル領域573Xから得られるメダル特徴量は、メダル領域573Aから得られるメダル特徴量に一致しないことがある。つまり、メダル領域573Xから得られるメダル特徴量は、SRAM等に記憶された標準特徴量に一致しないことがある。その結果、そのメダル領域573Xに映るメダル510が正規のものであると適切に判定されないことがある。特に、メダル領域573Xに映る正規のメダル510の回転角度が、メダル領域573Aに映る正規のメダル510Aをその中心の周りに(90×N+45)°反時計周りに回転させた際の正規のメダル510Aの回転角度と一致する場合には、メダル領域573Xから得られるメダル特徴量が、標準特徴量と大きく異なることがある。そのため、この場合には、そのメダル領域573に映るメダル510が正規のものであると適切に判定されない可能性が高い。 On the other hand, the rotation angle of the regular medal 510 reflected in a certain medal area 573X is the normal angle when the regular medal 510A reflected in the medal area 573A is rotated counterclockwise (90×N)° around its center. When the rotation angle of the medal 510 does not match, the plurality of uniform divided areas 582 obtained from the medal area 573X are the same as the standard uniform divided areas 582A. Even if it is rotated by, it may not coincide with the plurality of standard uniform divided areas 582A. In other words, the rotation angle of the regular medal 510A when the regular medal 510A is rotated counterclockwise by γ° (γ≠90×N, that is, γ is a value other than a multiple of “90”) about its center. , The plurality of uniform divided areas 582 obtained from the medal area 573X are the same as the standard uniform divided areas 582A regardless of the rotation angle of the standard uniform divided areas 582A about the center of the medal area 573A. , The standard uniform divided areas 582A may not match. Therefore, the size information and the distance information of the plurality of uniform divided areas 582 obtained from the medal area 573X may not match the size information and the distance information of the plurality of standard uniform divided areas 582A. Therefore, the medal feature amount obtained from the medal region 573X may not match the medal feature amount obtained from the medal region 573A. That is, the medal feature amount obtained from the medal area 573X may not match the standard feature amount stored in the SRAM or the like. As a result, the medal 510 shown in the medal area 573X may not be properly determined to be a legal medal. Particularly, the rotation angle of the regular medal 510 shown in the medal area 573X is the regular medal 510A when the regular medal 510A shown in the medal area 573A is rotated counterclockwise (90×N+45)° around its center. If it matches the rotation angle of, the medal feature amount obtained from the medal region 573X may be significantly different from the standard feature amount. Therefore, in this case, it is highly likely that the medal 510 shown in the medal area 573 is not properly determined to be a proper medal.

なお、あるメダル領域573Xに映る正規のメダル510の回転角度が、メダル領域573Aに映る正規のメダル510Aをその中心の周りに(90×N)°反時計周りに回転させた際の正規のメダル510Aの回転角度と一致しない場合に、そのメダル領域573Xから得られるメダル特徴量が、メダル領域573Aから得られるメダル特徴量に対してどの程度ずれるかについては、メダル領域573Xに対する領域分割においてどれだけ細かくメダル領域573Xが分割されるかに依存する。領域分割においてメダル領域573Xが細かく分割される場合には、そのメダル領域573Xから得られるメダル特徴量は、メダル領域573Aから得られるメダル特徴量に対して大きくずれることになる。 The rotation angle of the regular medal 510 shown in a certain medal area 573X is a regular medal when the regular medal 510A shown in the medal area 573A is rotated counterclockwise (90×N)° around its center. How much the medal feature amount obtained from the medal region 573X deviates from the medal feature amount obtained from the medal region 573A when the rotation angle of 510A does not match is determined in the region division for the medal region 573X. It depends on whether the medal area 573X is finely divided. When the medal area 573X is finely divided in the area division, the medal characteristic amount obtained from the medal area 573X largely deviates from the medal characteristic amount obtained from the medal area 573A.

このように、あるメダル領域573Xに映る正規のメダル510の回転角度が、標準特徴量が取得されたメダル領域573Aに映る正規のメダル510をその中心の周りに(90×N)°反時計周りに回転させた際の当該正規のメダル510の回転角度と一致しない場合には、そのメダル領域573Xから得られるメダル特徴量が標準特徴量と異なる可能性がある。そのため、メダル領域573Xに映るメダル510が正規のものであると適切に判定されないことがある。したがって、メダル判定処理の際には、正規のメダル510が映るメダル領域573Xから取得された1種類の標準特徴量だけではなく、そのメダル領域573Xに映る正規のメダル510をその中心の周りに(90×N)°反時計周りに回転させた際の当該正規のメダル510の回転角度と一致しない回転角度を有する正規のメダル510が映るメダル領域573から取得された標準特徴量も使用されることが望ましい。 In this way, the rotation angle of the regular medal 510 reflected in a certain medal area 573X is (90×N)° counterclockwise around the center of the regular medal 510 reflected in the medal area 573A for which the standard feature amount is acquired. When it does not match the rotation angle of the regular medal 510 when the medal area 573X is rotated, the medal characteristic amount obtained from the medal area 573X may be different from the standard characteristic amount. Therefore, the medal 510 displayed in the medal area 573X may not be properly determined to be a legal medal. Therefore, in the medal determination process, not only one type of standard feature amount acquired from the medal area 573X in which the regular medal 510 appears, but the regular medal 510 in the medal area 573X is displayed around the center ( 90×N)° The standard feature amount acquired from the medal area 573 in which the regular medal 510 having a rotation angle that does not match the rotation angle of the regular medal 510 when rotated counterclockwise is also used. Is desirable.

また、図76を用いたこれまでの説明は、メダル領域573の中心と、メダル領域573に映る正規のメダル510の中心とが一致することが前提の説明である。しかしながら、抽出部564でのメダル領域573の抽出精度によっては、メダル領域573の中心と、メダル領域573に映る正規のメダル510の中心とが一致しない可能性がある。図77は、メダル領域573の中心573cと、メダル領域573に映る正規のメダル510の中心510cとが一致しない様子の一例を示す図である。 Further, the description so far made using FIG. 76 is based on the premise that the center of the medal area 573 and the center of the regular medal 510 shown in the medal area 573 coincide. However, depending on the extraction accuracy of the medal area 573 in the extraction unit 564, the center of the medal area 573 may not coincide with the center of the regular medal 510 shown in the medal area 573. FIG. 77 is a diagram showing an example of a state in which the center 573c of the medal area 573 and the center 510c of the regular medal 510 shown in the medal area 573 do not match.

抽出部564で抽出されたメダル領域573の中心573cと、メダル領域573に映る正規のメダル510の中心510cとが一致しない場合には、あるメダル領域573Xに映る正規のメダル510の回転角度が、標準特徴量が取得されたメダル領域573Aに映る正規のメダル510の回転角度と異なれば、メダル領域573Xに映る正規のメダル510の回転角度がどのような回転角度であっても、メダル領域573Xから得られる複数の一様分割領域582は、複数の標準一様分割領域582Aをメダル領域573Aの中心の周りにどのような回転角度で回転させたとしても、当該複数の標準一様分割領域582Aと一致しないことがある。したがって、この場合には、メダル領域573Xに映る正規のメダル510の回転角度が、メダル領域573Aに映る正規のメダル510をその中心の周りに(90×N)°反時計回り回転させた際の当該正規のメダル510の回転角度と一致する場合であっても、メダル領域573Xから得られる複数の一様分割領域582が、複数の標準一様分割領域582Aをメダル領域573Aの中心の周りに(90×N)°反時計回り回転させたものと一致しない可能性がある。したがって、メダル領域573Xから得られる複数の一様分割領域582の大きさ情報、及び距離情報は、複数の標準一様分割領域582Aの大きさ情報、及び距離情報と一致しないことがある。よって、メダル領域573Xから得られるメダル特徴量は、メダル領域573Aから得られるメダル特徴量、つまり標準特徴量と一致しないことがある。 When the center 573c of the medal area 573 extracted by the extraction unit 564 and the center 510c of the regular medal 510 appearing in the medal area 573 do not match, the rotation angle of the regular medal 510 appearing in a certain medal area 573X is If the rotation angle of the regular medal 510 shown in the medal area 573A for which the standard feature amount is acquired is different, no matter what the rotation angle of the regular medal 510 shown in the medal area 573X is, The obtained plurality of uniform divided areas 582 are the same as the plurality of standard uniform divided areas 582A regardless of the rotation angle of the plurality of standard uniform divided areas 582A about the center of the medal area 573A. May not match. Therefore, in this case, the rotation angle of the regular medal 510 shown in the medal area 573X is 90°N when the regular medal 510 shown in the medal area 573A is rotated counterclockwise around its center. Even when the rotation angle of the regular medal 510 coincides, the plurality of uniform divided areas 582 obtained from the medal area 573X form the plurality of standard uniform divided areas 582A around the center of the medal area 573A. It may not match the one rotated 90×N)° counterclockwise. Therefore, the size information and the distance information of the plurality of uniform divided areas 582 obtained from the medal area 573X may not match the size information and the distance information of the plurality of standard uniform divided areas 582A. Therefore, the medal feature amount obtained from the medal region 573X may not match the medal feature amount obtained from the medal region 573A, that is, the standard feature amount.

このように、抽出部564で抽出されたメダル領域573の中心573cと、メダル領域573Xに映る正規のメダル510の中心510cとが一致しない場合には、メダル領域573Xに映る正規のメダル510の回転角度が、標準特徴量が取得されたメダル領域573Aに映る正規のメダル510の回転角度と異なれば、メダル領域573Xに映る正規のメダル510の回転角度がどのような回転角度であっても、メダル領域573Xから得られるメダル特徴量が標準特徴量と異なる可能性がある。そのため、メダル領域573Xに映るメダル510が正規のものであると適切に判定されないことがある。したがって、メダル判定処理の際には、正規のメダル510が映るメダル領域573から取得された1種類の標準特徴量だけではなく、メダル領域573に映る正規のメダル510の回転角度とは異なる回転角度を有する正規のメダル510が映るメダル領域573から取得された標準特徴量も使用されることが望ましい。 As described above, when the center 573c of the medal area 573 extracted by the extraction unit 564 does not match the center 510c of the regular medal 510 shown in the medal area 573X, the rotation of the regular medal 510 shown in the medal area 573X is performed. If the angle is different from the rotation angle of the regular medal 510 shown in the medal area 573A in which the standard feature amount is acquired, no matter what the rotation angle of the regular medal 510 shown in the medal area 573X is, The medal feature amount obtained from the area 573X may be different from the standard feature amount. Therefore, the medal 510 displayed in the medal area 573X may not be properly determined to be a legal medal. Therefore, in the medal determination process, not only one type of standard feature amount acquired from the medal area 573 in which the regular medal 510 appears but also a rotation angle different from the rotation angle of the regular medal 510 in the medal area 573. It is desirable to use the standard feature amount acquired from the medal area 573 in which the regular medal 510 having “” is displayed.

以上の点に鑑みて、本変形例では、メダル判定処理の際に、一種類の標準特徴量を使用するのではなく、それらに映る正規のメダル510の回転角度が互いに異なる複数のメダル領域573に基づいてそれぞれ生成された複数種類の標準特徴量を使用する。判定部567は、撮像画像562Bから得られたメダル特徴量と、SRAM等に記憶された複数種類の標準特徴量のそれぞれと比較し、その比較結果に基づいて、撮像画像562Bに映るメダル510が正規のものであるか否かを判定する。 In view of the above points, in the present modification, in the medal determination process, instead of using one type of standard feature amount, a plurality of medal regions 573 in which the regular medals 510 shown in them have different rotation angles from each other are used. A plurality of types of standard feature values generated based on the above are used. The determination unit 567 compares the medal feature amount obtained from the captured image 562B with each of a plurality of types of standard feature amounts stored in SRAM and the like, and based on the comparison result, the medal 510 shown in the captured image 562B is determined. It is determined whether it is legitimate.

本変形例では、4種類の標準特徴量が使用される。4種類の標準特徴量は、それらに映る正規のメダル510の回転角度が互いに異なる4つメダル領域573R、573α、573β、573γに基づいてそれぞれ生成される。図78は、メダル領域573R、573α、573β、573γの一例を示す図である。メダル領域573αに映る正規のメダル510の回転角度は、メダル領域573Rに映る正規のメダル510がその中心の周りに45°反時計周り回転した際のメダル領域573Rに映る正規のメダル510の回転角度と一致する。メダル領域573βに映る正規のメダル510の回転角度は、メダル領域573Rに映る正規のメダル510がその中心の周りに90°反時計周り回転した際のメダル領域573Rに映る正規のメダル510の回転角度と一致する。そして、メダル領域573γに映る正規のメダル510の回転角度は、メダル領域573Rに映る正規のメダル510がその中心の周りに135°反時計周り回転した際のメダル領域573Rに映る正規のメダル510の回転角度と一致する。 In this modification, four types of standard feature quantities are used. The four types of standard feature amounts are respectively generated based on four medal regions 573R, 573α, 573β, 573γ in which the regular medals 510 appearing in them have different rotation angles. FIG. 78 is a diagram showing an example of the medal areas 573R, 573α, 573β, 573γ. The rotation angle of the regular medal 510 shown in the medal area 573α is the rotation angle of the regular medal 510 shown in the medal area 573R when the regular medal 510 shown in the medal area 573R rotates 45° counterclockwise around its center. Matches The rotation angle of the regular medal 510 shown in the medal area 573β is the rotation angle of the regular medal 510 shown in the medal area 573R when the regular medal 510 shown in the medal area 573R rotates 90° counterclockwise around its center. Matches The rotation angle of the regular medal 510 shown in the medal area 573γ is the rotation angle of the regular medal 510 shown in the medal area 573R when the regular medal 510 shown in the medal area 573R rotates 135° counterclockwise around its center. Match the rotation angle.

本変形例では、メダル領域573α、573β、573γは、メダル領域573Rに基づいて生成される。以後、メダル領域573Rを「基準メダル領域573R」と呼ぶ。メダル領域573αは、基準メダル領域573Rにおいて、それに映る正規のメダル510の画像584Rが、基準メダル領域573Rの中心573Rcの周りに45°反時計周り回転させられた画像である。メダル領域573βは、基準メダル領域573Rにおいて、それに映る正規のメダル510の画像584Rが、基準メダル領域573Rの中心573Rcの周りに90°反時計周り回転させられた画像である。そして、メダル領域573γは、基準メダル領域573Rにおいて、それに映る正規のメダル510の画像584Rが、基準メダル領域573Rの中心573Rcの周りに135°反時計周り回転させられた画像である。 In this modification, the medal areas 573α, 573β, 573γ are generated based on the medal area 573R. Hereinafter, the medal area 573R will be referred to as a “reference medal area 573R”. The medal area 573α is an image obtained by rotating the image 584R of the regular medal 510 reflected in the reference medal area 573R by 45° counterclockwise around the center 573Rc of the reference medal area 573R. The medal area 573β is an image obtained by rotating the image 584R of the regular medal 510 shown in the reference medal area 573R by 90° counterclockwise around the center 573Rc of the reference medal area 573R. The medal area 573γ is an image obtained by rotating the image 584R of the regular medal 510 reflected in the reference medal area 573R by 135° counterclockwise around the center 573Rc of the reference medal area 573R.

複数種類の標準特徴量を生成するため、遊技機が実稼働していないときに、遊技機に対して正規のメダル510が投入される。変換部563によって、投入された正規のメダル510が映る標準撮像画像562Cが生成される。抽出部564は、標準撮像画像562Cから、正規のメダル510が映る基準メダル領域573Rを抽出し、領域分割部565が基準メダル領域573Rに対して領域分割を行う。そして、特徴量取得部566が領域分割部565で生成された複数の一様分割領域582に基づいて標準2次元評価値ヒストグラム591Aを生成する。これにより、基準メダル領域573Rに基づいて、1種類の標準特徴量、つまり1種類の標準2次元評価値ヒストグラム591Aが生成される。 Since a plurality of types of standard feature quantities are generated, a regular medal 510 is thrown into the gaming machine when the gaming machine is not in actual operation. The conversion unit 563 generates a standard captured image 562C showing the inserted regular medal 510. The extraction unit 564 extracts the reference medal area 573R in which the regular medal 510 is reflected from the standard captured image 562C, and the area division unit 565 divides the reference medal area 573R into areas. Then, the feature amount acquisition unit 566 generates a standard two-dimensional evaluation value histogram 591A based on the plurality of uniform divided regions 582 generated by the region dividing unit 565. As a result, one type of standard feature amount, that is, one type of standard two-dimensional evaluation value histogram 591A is generated based on the reference medal area 573R.

なお、このような遊技機による標準特徴量の生成は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前に標準特徴量を生成し、各遊技機のSRAM等に記憶させるようにしてもよい。 The generation of the standard feature amount by such a gaming machine can be performed when a predetermined mode is selected in the gaming machine. Further, the standard feature amount may be generated in advance by the gaming machine or another device and stored in the SRAM or the like of each gaming machine.

抽出部564では、基準メダル領域573Rに基づいてメダル領域573α、23β、23γが生成される。抽出部564は、基準メダル領域573Rにおいて、正規のメダル510の画像584Rを基準メダル領域573Rの中心573Rcの周りに45°反時計周りに回転させることによって得られる画像を、メダル領域573αとする。また、抽出部564は、基準メダル領域573Rにおいて、正規のメダル510の画像584Rを基準メダル領域573Rの中心573Rcの周りに90°反時計周りに回転させることによって得られる画像を、メダル領域573βとする。そして、抽出部564は、基準メダル領域573Rにおいて、正規のメダル510の画像584Rを基準メダル領域573Rの中心573Rcの周りに135°反時計周りに回転させることによって得られる画像を、メダル領域573γとする。 The extraction unit 564 generates medal areas 573α, 23β, and 23γ based on the reference medal area 573R. The extracting unit 564 sets the image obtained by rotating the image 584R of the regular medal 510 in the reference medal area 573R by 45° counterclockwise around the center 573Rc of the reference medal area 573R as the medal area 573α. Further, the extraction unit 564 sets the image obtained by rotating the image 584R of the regular medal 510 in the reference medal area 573R counterclockwise about the center 573Rc of the reference medal area 573R as the medal area 573β. To do. Then, in the reference medal area 573R, the extraction unit 564 rotates an image obtained by rotating the image 584R of the regular medal 510 around the center 573Rc of the reference medal area 573R by 135° counterclockwise as a medal area 573γ. To do.

抽出部564において、メダル領域573α、573β、573γが生成されると、領域分割部565は、メダル領域573α、573β、573γに対して領域分割を行う。特徴量取得部566は、領域分割部565においてメダル領域573αに対する領域分割によって生成された複数の一様分割領域582に基づいて標準2次元評価値ヒストグラム591Aを生成する。また特徴量取得部566は、領域分割部565においてメダル領域573βに対する領域分割によって生成された複数の一様分割領域582に基づいて標準2次元評価値ヒストグラム591Aを生成する。そして特徴量取得部566は、領域分割部565においてメダル領域573γに対する領域分割によって生成された複数の一様分割領域582に基づいて標準2次元評価値ヒストグラム591Aを生成する。これにより、メダル領域573α、573β、573γに基づいて、3種類の標準特徴量、つまり3種類の標準2次元評価値ヒストグラム591Aが生成される。 When the extracting unit 564 generates the medal regions 573α, 573β, 573γ, the region dividing unit 565 divides the medal regions 573α, 573β, 573γ. The feature amount acquisition unit 566 generates a standard two-dimensional evaluation value histogram 591A based on the plurality of uniform divided regions 582 generated by the region dividing unit 565 by dividing the medal region 573α. The feature amount acquisition unit 566 also generates a standard two-dimensional evaluation value histogram 591A based on the plurality of uniformly divided regions 582 generated by the region dividing unit 565 by dividing the medal region 573β. Then, the feature amount acquisition unit 566 generates a standard two-dimensional evaluation value histogram 591A based on the plurality of uniform divided areas 582 generated by the area dividing unit 565 by dividing the medal area 573γ. As a result, three types of standard feature amounts, that is, three types of standard two-dimensional evaluation value histograms 591A are generated based on the medal areas 573α, 573β, and 573γ.

以上のようにして生成された複数種類の標準特徴量(標準2次元評価値ヒストグラム591A)は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 The plurality of types of standard feature amounts (standard two-dimensional evaluation value histogram 591A) generated as described above are stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment). You can

実稼働中の遊技機では、判定部567が、撮像画像562Bから生成された2次元評価値ヒストグラム591と、SRAM等に記憶された複数種類の標準2次元評価値ヒストグラム591Aのそれぞれとを比較する。具体的には、判定部567は、SRAM等に記憶された複数種類の標準2次元評価値ヒストグラム591Aのそれぞれについて、その標準2次元評価値ヒストグラム591Aと、撮像画像562Bから生成された2次元評価値ヒストグラム591との間のBhattacharyya距離を求める。そして、判定部567は、得られた複数のBhattacharyya距離のうちの最小値を判定評価値とする。そして、判定部567は、判定評価値が、しきい値以下の場合には、撮像画像562Bに映るメダル510が正規のものであると判定し、当該しきい値よりも大きい場合には、撮像画像562Bに映るメダル510が正規のものではないと判定する。 In the game machine in actual operation, the determination unit 567 compares the two-dimensional evaluation value histogram 591 generated from the captured image 562B with each of the plurality of types of standard two-dimensional evaluation value histograms 591A stored in the SRAM or the like. .. Specifically, the determination unit 567, for each of the plurality of types of standard two-dimensional evaluation value histograms 591A stored in the SRAM or the like, the standard two-dimensional evaluation value histogram 591A and the two-dimensional evaluation generated from the captured image 562B. The Bhattacharyya distance from the value histogram 591 is calculated. Then, the determination unit 567 sets the minimum value of the obtained plurality of Bhattacharyya distances as the determination evaluation value. Then, the determination unit 567 determines that the medal 510 shown in the captured image 562B is authentic when the determination evaluation value is equal to or less than the threshold value, and when the determination evaluation value is greater than the threshold value, the image capturing is performed. It is determined that the medal 510 shown in the image 562B is not a genuine medal.

このように、本変形例に係るメダル判定処理では、それらに映る正規のメダル510の回転角度が互いに異なる複数の画像に基づいて、それぞれ生成された複数種類の標準特徴量が使用されることから、撮像画像562Bに映るメダル510の回転角度にかかわらず、そのメダル510が正規のものであるか否かを適切に判定することができる。よって、判定精度が向上する。 As described above, in the medal determination process according to the present modification, a plurality of types of standard feature amounts generated respectively are used based on a plurality of images in which the regular medals 510 shown in them have different rotation angles from each other. It is possible to appropriately determine whether or not the medal 510 is a legitimate one, regardless of the rotation angle of the medal 510 shown in the captured image 562B. Therefore, the determination accuracy is improved.

なお、上記の例では、4種類の標準特徴量が使用されたが、標準特徴量の種類の数はこの限りではない。また、複数種類の標準特徴量が生成される複数の画像(複数のメダル領域573)のそれぞれに映る正規のメダル510の回転角度は上記の回転角度には限られない。 In the above example, four types of standard feature amount are used, but the number of types of standard feature amount is not limited to this. Further, the rotation angle of the regular medal 510 shown in each of the plurality of images (the plurality of medal areas 573) in which the plurality of types of standard feature amounts are generated is not limited to the above rotation angle.

[変形例3(複数種類の判定方法を使用した真偽判定)]
メダル判定処理においては、上述した判定方法と、それ以外の判定方法とが併用されて、撮像画像562Bに映るメダル510が正規のものである否かが判定されてもよい。撮像画像562Bに映るメダル510が正規のものであるか否かの別の判定方法としては、例えば、正規のメダルの画像をテンプレート画像として使用するテンプレートマッチング法が考えられる。このテンプレートマッチング法では、撮像画像562Bにおいてテンプレート画像と類似する画像が存在するか否かを特定することによって、撮像画像562Bに映るメダル510が正規のものであるか否かが判定される。以下では、メダル判定処理において、上述の判定方法と、テンプレートマッチング法とが併用される場合について説明する。なお、テンプレートマッチング法以外のマッチング方法が用いられてもよい。
[Modification 3 (authenticity determination using a plurality of types of determination methods)]
In the medal determination process, the above-described determination method and other determination methods may be used in combination to determine whether or not the medal 510 shown in the captured image 562B is authentic. As another determination method for determining whether or not the medal 510 shown in the captured image 562B is a legitimate one, for example, a template matching method using an image of a legitimate medal as a template image is conceivable. In this template matching method, it is determined whether or not the medal 510 shown in the captured image 562B is a regular one by specifying whether or not an image similar to the template image exists in the captured image 562B. In the following, a case will be described in which the above determination method and the template matching method are used in combination in the medal determination process. A matching method other than the template matching method may be used.

テンプレートマッチング法においても、上述した判定方法と同様に、撮像画像562Bに映るメダル510が正規のものである確からしさを示す判定評価値(「出力値」とも呼ばれる)が生成される。テンプレートマッチング法では、メダル510が映る撮像画像562Bにおいて、テンプレート画像と最も類似する領域が特定され、当該領域とテンプレート画像との間の類似度を示す値が判定評価値として使用される。以後、図61の機能ブロック図に関連して説明した処理で得られる判定評価値を「第1判定評価値EV1」と呼び、テンプレートマッチング方法で得られる判定評価値を「第2判定評価値EV2」と呼ぶ。ここでは、第2判定評価値EV2の値が小さいほど、撮像画像562Bに映るメダル510が正しいものである可能性が高いものする。 Also in the template matching method, similarly to the above-described determination method, a determination evaluation value (also referred to as an “output value”) indicating the probability that the medal 510 shown in the captured image 562B is a legitimate one is generated. In the template matching method, in the captured image 562B in which the medal 510 is shown, the region most similar to the template image is specified, and the value indicating the degree of similarity between the region and the template image is used as the determination evaluation value. Hereinafter, the judgment evaluation value obtained by the processing described with reference to the functional block diagram of FIG. 61 will be referred to as “first judgment evaluation value EV1”, and the judgment evaluation value obtained by the template matching method will be referred to as “second judgment evaluation value EV2”. ". Here, it is assumed that the smaller the value of the second determination evaluation value EV2, the higher the possibility that the medal 510 shown in the captured image 562B is correct.

撮像画像562Bについて、第1判定評価値EV1が求められ、さらに(テンプレートマッチング法を用いて)第2判定評価値EV2が求められると、判定部567が、以下の式8を用いて総合評価値EV0を求める。
EV0=z1×EV1+z2×EV2 ・・・(式8)
When the first determination evaluation value EV1 is obtained for the captured image 562B and the second determination evaluation value EV2 is further obtained (using the template matching method), the determination unit 567 uses the following evaluation formula 8 to calculate the overall evaluation value. Determine EV0.
EV0=z1×EV1+z2×EV2 (Equation 8)

式8のz1及びz2は定数である。式8に示されるように、総合評価値EV0は、第1判定評価値EV1及び第2判定評価値EV2の両方が小さいときに小さい値となる。 Z1 and z2 in Equation 8 are constants. As shown in Expression 8, the total evaluation value EV0 becomes a small value when both the first judgment evaluation value EV1 and the second judgment evaluation value EV2 are small.

判定部567は、総合評価値EV0がしきい値th0以下であるときには、撮像画像562Bに映るメダル510が正規のものであると判定する。一方で、判定部567は、総合評価値EV0がしきい値th0よりも大きい場合には、撮像画像562Bに映るメダル510が正規のものではないと判定する。しきい値th0及び定数z1、z2は、例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)等に記憶しておくことができる。 When the total evaluation value EV0 is equal to or less than the threshold value th0, the determination unit 567 determines that the medal 510 shown in the captured image 562B is a valid one. On the other hand, when the total evaluation value EV0 is larger than the threshold value th0, the determination unit 567 determines that the medal 510 shown in the captured image 562B is not a genuine medal. The threshold value th0 and the constants z1 and z2 can be stored in, for example, an SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) or the like.

ここで、正規のメダル510が映る撮像画像562Bを「ポジティブ撮像画像562B1」と呼び、偽のメダル510(正規でないメダル510)が映る撮像画像562B「ネガティブ撮像画像562B2」と呼ぶ。しきい値th0及び定数z1、z2は、複数のポジティブ撮像画像562B1についての第1判定評価値EV1及び第2判定評価値EV2と、複数のネガティブ撮像画像562B2についての第1判定評価値EV1及び第2判定評価値EV2とに基づいて決定することができる。以下に、しきい値th0及び定数z1、z2の決定方法について説明する。 Here, the captured image 562B in which the regular medal 510 is reflected is referred to as a “positive captured image 562B1”, and the captured image 562B in which the false medal 510 (non-regular medal 510) is reflected is referred to as a “negative captured image 562B2”. The threshold value th0 and the constants z1 and z2 are the first determination evaluation value EV1 and the second determination evaluation value EV2 for the plurality of positive captured images 562B1, and the first determination evaluation value EV1 and the first determination evaluation value EV1 for the plurality of negative captured images 562B2. 2 can be determined based on the evaluation value EV2. The method of determining the threshold th0 and the constants z1 and z2 will be described below.

図79は、複数のポジティブ撮像画像562B1、及び複数のネガティブ撮像画像562B2のそれぞれについて求められた第1判定評価値EV1及び第2判定評価値EV2の関係を例示する図である。図79に示されるx軸は第2判定評価値EV2を示している。図79に示されるy軸は、x軸に示される第2判定評価値EV2が求められた撮像画像562Bの第1判定評価値EV1を示している。また、図79の黒三角は、ポジティブ撮像画像562B1についての第1判定評価値EV1及び第2判定評価値EV2を示し、図79の白丸は、ネガティブ撮像画像562B2についての第1判定評価値EV1及び第2判定評価値EV2を示している。以後、撮像画像562Bについて求められた第1判定評価値EV1及び第2判定評価値EV2のペアを「評価値ペア」と呼ぶことがある。図79には、複数の撮像画像562Bの評価値ペアの分布を示す評価値散布図593が示されている。 FIG. 79 is a diagram illustrating a relationship between the first determination evaluation value EV1 and the second determination evaluation value EV2 obtained for each of the plurality of positive captured images 562B1 and the plurality of negative captured images 562B2. The x-axis shown in FIG. 79 indicates the second determination evaluation value EV2. The y-axis shown in FIG. 79 shows the first determination evaluation value EV1 of the captured image 562B for which the second determination evaluation value EV2 shown on the x-axis is obtained. Further, the black triangles in FIG. 79 indicate the first determination evaluation value EV1 and the second determination evaluation value EV2 for the positive captured image 562B1, and the white circles in FIG. 79 indicate the first determination evaluation value EV1 for the negative captured image 562B2. The second judgment evaluation value EV2 is shown. Hereinafter, the pair of the first determination evaluation value EV1 and the second determination evaluation value EV2 obtained for the captured image 562B may be referred to as an “evaluation value pair”. FIG. 79 shows an evaluation value scatter diagram 593 showing the distribution of evaluation value pairs of the plurality of captured images 562B.

本例では、第1判定評価値EV1が小さい場合には、撮像画像562Bに映るメダル510が正規のものである可能性が高い。そして、第2判定評価値EV2が小さい場合には、撮像画像562Bに映るメダル510が正規のものである可能性が高い。したがって、図79に示される評価値散布図593では、ポジティブ撮像画像562B1の評価値ペアを示す黒三角は、第1判定評価値EV1及び第2判定評価値EV2がともに小さい領域、つまり左下隅に集中する。 In this example, when the first determination evaluation value EV1 is small, it is highly possible that the medal 510 shown in the captured image 562B is a legitimate one. When the second determination evaluation value EV2 is small, it is highly possible that the medal 510 shown in the captured image 562B is a legitimate one. Therefore, in the evaluation value scatter diagram 593 shown in FIG. 79, the black triangles indicating the evaluation value pairs of the positive captured image 562B1 are located in a region where both the first determination evaluation value EV1 and the second determination evaluation value EV2 are small, that is, in the lower left corner. concentrate.

上記の例のように、第1判定評価値EV1がしきい値th1以下か否かを判定するだけでメダル510の真偽判定が行われる場合には、第1判定評価値EV1は小さくなるものの第2判定評価値EV2が大きくなるようなネガティブ撮像画像562B2については、それに映るメダル510が正規のものであると誤って判定されてしまう。図79に示される評価値散布図593においては、しきい値th1を示す、x軸に沿った直線595の線上、及びそれよりも下側の白丸が示す評価値ペアが求められたネガティブ撮像画像562B2に映るメダル510が、正規のものであると誤って判定される。評価値散布図593において、x軸方向に沿った直線594では、ポジティブ撮像画像562B1の評価値ペア(黒三角)の分布と、ネガティブ撮像画像562B2の評価値ペア(白丸)の分布とを適切に分離することが難しい。 When the authenticity determination of the medal 510 is performed only by determining whether or not the first determination evaluation value EV1 is equal to or less than the threshold value th1 as in the above example, the first determination evaluation value EV1 becomes small. With respect to the negative captured image 562B2 in which the second determination evaluation value EV2 is large, the medal 510 reflected in the negative captured image 562B2 is erroneously determined to be a valid one. In the evaluation value scatter diagram 593 shown in FIG. 79, a negative captured image in which an evaluation value pair indicated by white circles on the line of the straight line 595 along the x axis and below the same indicating the threshold value th1 is obtained. The medal 510 shown in 562B2 is erroneously determined to be a legitimate one. In the evaluation value scatter diagram 593, in the straight line 594 along the x-axis direction, the distribution of the evaluation value pairs (black triangles) of the positive captured image 562B1 and the distribution of the evaluation value pairs (white circles) of the negative captured image 562B2 are appropriately set. Difficult to separate.

また、第2判定評価値EV2がしきい値th2以下か否かを判定するだけでメダル510の真偽判定が行われる場合には、第2判定評価値EV2は小さくなるものの第1判定評価値EV1が大きくなるようなネガティブ撮像画像562B2については、それに映るメダル510が正規のものであると誤って判定されてしまう。図79に示される評価値散布図593においては、しきい値th2を示す、y軸に沿った直線595の線上、及びそれよりも左側の白丸が示す評価値ペアが求められたネガティブ撮像画像562B2に映るメダル510が正規のものであると誤って判定される。評価値散布図593において、y軸方向に沿った直線595では、ポジティブ撮像画像562B1の評価値ペアの分布と、ネガティブ撮像画像562B2の評価値ペアの分布とを適切に分離することが難しい。 Further, when the authenticity determination of the medal 510 is performed only by determining whether or not the second determination evaluation value EV2 is equal to or less than the threshold value th2, the second determination evaluation value EV2 becomes smaller but the first determination evaluation value EV2 becomes smaller. With respect to the negative captured image 562B2 in which the EV1 is large, the medal 510 reflected in the negative captured image 562B2 is erroneously determined to be a valid one. In the evaluation value scatter diagram 593 shown in FIG. 79, the negative captured image 562B2 in which the evaluation value pair indicated by the white circle on the line 595 along the y-axis showing the threshold value th2 and on the left side thereof is obtained. It is erroneously determined that the medal 510 shown in FIG. In the evaluation value scatter diagram 593, it is difficult to appropriately separate the distribution of the evaluation value pairs of the positive captured image 562B1 and the distribution of the evaluation value pairs of the negative captured image 562B2 on the straight line 595 along the y-axis direction.

本変形例では、遊技機が実稼働していないときに、複数の正規のメダル510及び複数の不正メダルであるメダル510が遊技機に投入され、複数のポジティブ撮像画像562B1、及び複数のネガティブ撮像画像562B2のそれぞれについての評価値ペアが求められる。そして、複数の評価値ペアが示される評価値散布図593において、ポジティブ撮像画像562B1の評価値ペアの分布とネガティブ撮像画像562B2の評価値ペアの分布とが分離される分離直線596(図79参照)を表す式が求められる。分離直線596は、以下の式9で表すことができる。なお、式9のA1、A2、Bは定数である。
y=−(A1/A2)x+B ・・・(式9)
In this modification, when the gaming machine is not in actual operation, a plurality of regular medals 510 and a plurality of illegal medals 510 are thrown into the gaming machine, a plurality of positive captured images 562B1 and a plurality of negative captured images. An evaluation value pair is obtained for each of the images 562B2. Then, in an evaluation value scatter diagram 593 showing a plurality of evaluation value pairs, a distribution line 596 that separates the distribution of the evaluation value pairs of the positive captured image 562B1 and the distribution of the evaluation value pairs of the negative captured image 562B2 (see FIG. 79). ) Is required. Separation line 596 can be expressed by Equation 9 below. In addition, A1, A2, and B of Formula 9 are constants.
y=-(A1/A2)x+B (Formula 9)

なお、このような遊技機による評価値ペアの取得は、遊技機において所定のモードが選択された場合に行うようにすることができる。また、遊技機または他の装置によって事前に評価値ペアを取得し、各遊技機のSRAM等に記憶させるようにしてもよい。 It should be noted that such acquisition of the evaluation value pair by the gaming machine can be performed when a predetermined mode is selected in the gaming machine. Alternatively, the evaluation value pair may be acquired in advance by the gaming machine or another device and stored in the SRAM or the like of each gaming machine.

評価値散布図593において、分離直線596の線上、及びそれよりも下側の領域は、第1判定評価値EV1及び第2判定評価値EV2ともに小さい領域である。したがって、撮像画像562Bについて求めた評価値ペアが評価値散布図593に示された場合において、当該評価値ペアの位置が、分離直線596の線上、あるいはそれよりも下側に存在するときには、撮像画像562Bに映るメダル510が正規のものであると考えることができる。 In the evaluation value scatter diagram 593, the area on the line of the separation line 596 and on the lower side thereof is an area where both the first determination evaluation value EV1 and the second determination evaluation value EV2 are small. Therefore, in the case where the evaluation value pair obtained for the captured image 562B is shown in the evaluation value scatter diagram 593, when the position of the evaluation value pair is on the line of the separation line 596 or below the separation line 596, the imaging is performed. It can be considered that the medal 510 shown in the image 562B is legitimate.

評価値散布図593において、分離直線596の線上、及びそれよりも下側の領域は、以下の式10で表される。
y≦−(A1/A2)x+B ・・・(式10)
In the evaluation value scattergram 593, the area on the line of the separation line 596 and the area below it is represented by Expression 10 below.
y≦−(A1/A2)x+B (Formula 10)

また、式10は、以下の式11に変形できる。
A1x+A2y≦A2×B ・・・(式11)
Further, the equation 10 can be transformed into the following equation 11.
A1x+A2y≦A2×B (Formula 11)

撮像画像562Bについて求められた第1判定評価値EV1及び第2判定評価値EV2が式11のx及びyにそれぞれ代入された場合に、式11が満足される場合には、撮像画像562Bに映るメダル510は正規のものであると考えることができる。 When the first judgment evaluation value EV1 and the second judgment evaluation value EV2 obtained for the captured image 562B are substituted into x and y of the equation 11, respectively, and when the equation 11 is satisfied, it appears in the captured image 562B. The medal 510 can be considered to be legitimate.

例えば、SRAM(第1実施形態に係るカメラユニット209のSRAM243に対応)には、式9の定数A1、A2、式8の定数z1、z2が記憶される。式9の定数A1、A2を、式8の定数z1、z2としてそれぞれ記憶するようにしてもよい。また、「A2×B」がしきい値th0として記憶されうる。 For example, the SRAM (corresponding to the SRAM 243 of the camera unit 209 according to the first embodiment) stores constants A1 and A2 of Expression 9 and constants z1 and z2 of Expression 8. The constants A1 and A2 in Expression 9 may be stored as the constants z1 and z2 in Expression 8, respectively. Further, “A2×B” can be stored as the threshold th0.

判定部567は、撮像画像562Bについての第1判定評価値EV1及び第2判定評価値EV2と、SRAM等に記憶された定数z1、z2とを用いて、撮像画像562Bについての総合評価値EV0を求める。そして、判定部567は、求めた総合評価値EV0が、しきい値th0以下であれば、撮像画像562Bに映るメダル510は正規のものであると判定し、しきい値th0よりも大きければ、撮像画像562Bに映るメダル510は正規のものではないと判定する。これにより、メダル510の真偽判定をより正しく行うことができる。 The determination unit 567 uses the first determination evaluation value EV1 and the second determination evaluation value EV2 for the captured image 562B and the constants z1 and z2 stored in the SRAM or the like to determine the comprehensive evaluation value EV0 for the captured image 562B. Ask. Then, if the obtained comprehensive evaluation value EV0 is equal to or less than the threshold value th0, the determination unit 567 determines that the medal 510 shown in the captured image 562B is a regular token, and if it is larger than the threshold value th0, It is determined that the medal 510 shown in the captured image 562B is not a genuine medal. As a result, the authenticity of the medal 510 can be more accurately determined.

なお、式9については、評価値散布図593を見た人が手計算で求めてもよいし、所定のコンピュータ装置により、第1判定評価値EV1及び第2判定評価値EV2に基づいてサポートベクターマシン等の機械学習機能を用いて求めてもよい。後者の場合には、機械学習機能が実装された遊技機が、式9を求めるようにしてもよい。 The expression 9 may be calculated manually by a person who looks at the evaluation value distribution chart 593, or may be calculated by a predetermined computer device based on the first determination evaluation value EV1 and the second determination evaluation value EV2. It may be obtained using a machine learning function such as a machine. In the latter case, a gaming machine equipped with a machine learning function may calculate Equation 9.

このように、本変形例では、互いに異なる判定方式で求められた複数の判定評価値に基づいて撮像画像562Bに映るメダル510が正規のものであるか否かが判定されるため、判定精度を向上することができる。 As described above, in the present modification, it is determined whether or not the medal 510 shown in the captured image 562B is a legitimate one based on a plurality of determination evaluation values obtained by different determination methods. Can be improved.

1,300,400,500 パチスロ
3L 左リール
3C 中リール
3R 右リール
4 リール表示窓
21 メダル投入口
23 スタートレバー
32 メダル払出口
51 ホッパー装置
71 主制御基板
72 副制御基板
79 スタートスイッチ
80 ストップスイッチ基板
91 主制御回路
101 副制御回路
201 メダルセレクタ
202 メダルシュート
203 スロープ
204 ベース板部
205 サブプレート
206 キャンセルシュータ
207 セレクトプレート
208 メダルソレノイド
209 カメラユニット
210 メダルレール
211 メダル入口部
212 中央孔
213 メダルプレッシャ
217 磁石
218 アフタメダルプレッシャ
227 メダルストッパ部
230 第1の基板
231 第2の基板
232 CMOSイメージセンサ
233 LED
234 制御LSI
235 脚部
241 ホストコントローラ
242 画像認識DSP回路
243 SRAM
244 フラッシュメモリ
245 ISP回路
246 メダルカウント回路
247 カラー認識回路
248 魚眼補正スケーラ回路
249 画像認識アクセラレータ回路
250 GPIO
251 ISI回路
266 入出力部
268 判定結果
310,410,510 メダル
361 撮像部
362A,362B 撮像画像
362C 特徴画像
363 変換部
364 特徴画像生成部
365 判定部
366 入出力部
367 テンプレートデータ
368 判定結果
371 抽出部
372 エッジ画像生成部
374 第1画像
380 第2画像生成部
461 撮像部
462A,462B 撮像画像
463 変換部
464 抽出部
465 特定部
466 フィッティング部
467 判定部
467A 標準特徴量
468 入出力部
469 判定結果
561 撮像部
562A,562B 撮像画像
563 変換部
564 抽出部
565 領域分割部
566 特徴量取得部
567 判定部
567A 標準特徴量
568 入出力部
569 判定結果
1,300,400,500 Pachislot 3L Left reel 3C Middle reel 3R Right reel 4 Reel display window 21 Medal slot 23 Start lever 32 Medal payout outlet 51 Hopper device 71 Main control board 72 Sub control board 79 Start switch 80 Stop switch board 91 Main control circuit 101 Sub control circuit 201 Medal selector 202 Medal shoot 203 Slope 204 Base plate part 205 Sub-plate 206 Cancel shooter 207 Select plate 208 Medal solenoid 209 Camera unit 210 Medal rail 211 Medal entrance part 212 Central hole 213 Medal pressure 217 Magnet 218 After Medal Pressure 227 Medal Stopper 230 First Substrate 231 Second Substrate 232 CMOS Image Sensor 233 LED
234 Control LSI
235 Legs 241 Host controller 242 Image recognition DSP circuit 243 SRAM
244 Flash memory 245 ISP circuit 246 Medal counting circuit 247 Color recognition circuit 248 Fisheye correction scaler circuit 249 Image recognition accelerator circuit 250 GPIO
251 ISI circuit 266 Input/output unit 268 Determination result 310, 410, 510 Medal 361 Imaging unit 362A, 362B Captured image 362C Characteristic image 363 Conversion unit 364 Characteristic image generation unit 365 Determination unit 366 Input/output unit 367 Template data 368 Determination result 371 Extraction Section 372 edge image generation section 374 first image 380 second image generation section 461 imaging section 462A, 462B captured image 463 conversion section 464 extraction section 465 identification section 466 fitting section 467 determination section 467A standard feature amount 468 input/output section 469 determination result 561 imaging unit 562A, 562B captured image 563 conversion unit 564 extraction unit 565 region division unit 566 feature amount acquisition unit 567 determination unit 567A standard feature amount 568 input/output unit 569 determination result

Claims (1)

遊技媒体を投入する投入口と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段と、
前記遊技媒体検出手段による前記遊技媒体の検出に基づいて、遊技者による開始操作を検出する開始操作検出手段と、
前記開始操作検出手段による開始操作の検出に基づいて、予め定められた確率で内部当籤役を決定する内部当籤役決定手段と、
前記開始操作検出手段による開始操作の検出に基づいて、遊技に必要な図柄を、複数の表示列によって構成される表示手段において変動表示するよう制御する変動表示制御手段と、
前記遊技者による停止操作の検出を行う停止操作検出手段と、
前記内部当籤役決定手段の決定結果と前記停止操作検出手段による停止操作の検出とに基づいて、前記図柄の変動表示を停止させる停止制御手段と、
前記複数の表示列における前記変動表示の停止により、前記複数の表示列に亘って延びる入賞判定ラインに沿って表示された図柄組合せに基づいて、所定の特典を付与する特典付与手段と、を備え、
前記遊技媒体検出手段は、
前記遊技媒体が通過する通路となる遊技媒体通過部と、
前記通路を通過する通過物体の、光が照射された表面を撮像する撮像手段と、
前記撮像手段を介して得られた画像データに基づいた画像処理を行うことにより、前記遊技媒体が正規のものであるか否かを判定する判定処理を実行する遊技媒体判定手段と、を含み、
前記遊技媒体判定手段は、
画像処理制御専用のLSIとして構成され、
当該遊技媒体判定手段の稼働状況に応じて、所定の遊技媒体についての前記判定処理の少なくとも一部を行わないよう制御することを特徴とする遊技機。
An input port for inputting game media,
A game medium detecting means for detecting the game medium inserted through the slot,
Start operation detecting means for detecting a start operation by the player based on the detection of the game medium by the game medium detecting means,
Based on the detection of the start operation by the start operation detection means, an internal winning combination determination means for determining an internal winning combination with a predetermined probability,
Based on the detection of the start operation by the start operation detection means, a variable display control means for controlling the symbols necessary for the game to be variably displayed on the display means composed of a plurality of display rows,
A stop operation detecting means for detecting a stop operation by the player,
Based on the determination result of the internal winning combination determination means and the detection of the stop operation by the stop operation detection means, stop control means for stopping the variable display of the symbol,
And a privilege granting unit that grants a predetermined privilege based on the symbol combination displayed along the winning determination line extending across the plurality of display columns by stopping the variable display in the plurality of display columns. ,
The game medium detection means,
A game medium passing portion which is a passage through which the game medium passes,
An image pickup means for picking up an image of a surface of the passing object passing through the passage, the surface being irradiated with light;
A game medium determining unit that performs a determination process of determining whether or not the game medium is a regular one by performing image processing based on the image data obtained through the image capturing unit,
The game medium determination means,
Configured as an LSI dedicated to image processing control,
A gaming machine characterized by controlling not to perform at least a part of the determination processing for a predetermined game medium according to the operating status of the game medium determining means .
JP2015007626A 2015-01-19 2015-01-19 Amusement machine Active JP6711556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015007626A JP6711556B2 (en) 2015-01-19 2015-01-19 Amusement machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015007626A JP6711556B2 (en) 2015-01-19 2015-01-19 Amusement machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019069730A Division JP6675694B2 (en) 2019-04-01 2019-04-01 Gaming machines and game media discriminating devices

Publications (2)

Publication Number Publication Date
JP2016131676A JP2016131676A (en) 2016-07-25
JP6711556B2 true JP6711556B2 (en) 2020-06-17

Family

ID=56434839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015007626A Active JP6711556B2 (en) 2015-01-19 2015-01-19 Amusement machine

Country Status (1)

Country Link
JP (1) JP6711556B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6964701B2 (en) * 2016-05-31 2021-11-10 株式会社ユニバーサルエンターテインメント Pachinko machine
JP6916923B2 (en) * 2016-05-31 2021-08-11 株式会社ユニバーサルエンターテインメント Pachinko machine
JP6823969B2 (en) * 2016-08-31 2021-02-03 株式会社ユニバーサルエンターテインメント Game machine
JP6823967B2 (en) * 2016-08-31 2021-02-03 株式会社ユニバーサルエンターテインメント Game machine
JP6823970B2 (en) * 2016-08-31 2021-02-03 株式会社ユニバーサルエンターテインメント Game machine
JP6678944B2 (en) * 2016-11-09 2020-04-15 株式会社ユニバーサルエンターテインメント Amusement machine and game machine
JP6902909B2 (en) * 2017-04-03 2021-07-14 株式会社ユニバーサルエンターテインメント Gaming machines and gaming devices
JP6902907B2 (en) * 2017-04-03 2021-07-14 株式会社ユニバーサルエンターテインメント Gaming machines and gaming devices
JP6902908B2 (en) * 2017-04-03 2021-07-14 株式会社ユニバーサルエンターテインメント Gaming machines and gaming devices
JP2020099741A (en) * 2020-03-18 2020-07-02 株式会社ユニバーサルエンターテインメント Game machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007296122A (en) * 2006-04-28 2007-11-15 Aruze Corp Game machine
JP6003240B2 (en) * 2012-03-12 2016-10-05 富士電機株式会社 Medal identification device and medal identification system

Also Published As

Publication number Publication date
JP2016131676A (en) 2016-07-25

Similar Documents

Publication Publication Date Title
JP6711556B2 (en) Amusement machine
JP6432360B2 (en) Game machine
JP6104294B2 (en) Game machine
JP6374542B2 (en) Gaming machine and game medium discrimination device
JP6757842B2 (en) Game machine and game medium discrimination device
JP2017087067A (en) Game machine and game medium discrimination device
JP6267376B2 (en) Gaming machine and game medium discrimination device
JP6374541B2 (en) Gaming machine and game medium discrimination device
JP6088556B2 (en) Game machine
JP6401064B2 (en) Game machine
JP6088554B2 (en) Game machine
JP6088557B2 (en) Game machine
JP6104290B2 (en) Game machine
JP6104291B2 (en) Game machine
JP6678949B2 (en) Gaming machine and gaming medium discriminating device
JP6733005B2 (en) Gaming machine and gaming medium discrimination device
JP6768914B2 (en) Game machine and game medium discrimination device
JP6773839B2 (en) Game machine and game medium discrimination device
JP6675694B2 (en) Gaming machines and game media discriminating devices
JP6675602B2 (en) Gaming machines and game media discriminating devices
JP6632689B2 (en) Gaming machines and game media discriminating devices
JP6626558B2 (en) Gaming machines and game media discriminating devices
JP6626556B2 (en) Gaming machines and game media discriminating devices
JP6438561B2 (en) Gaming machine and game medium discrimination device
JP6267377B2 (en) Gaming machine and game medium discrimination device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20160328

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181107

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190401

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190403

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20190621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200528

R150 Certificate of patent or registration of utility model

Ref document number: 6711556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250