JP2006293651A - Coin discriminating device, coin discriminating method, and storage medium - Google Patents
Coin discriminating device, coin discriminating method, and storage medium Download PDFInfo
- Publication number
- JP2006293651A JP2006293651A JP2005112882A JP2005112882A JP2006293651A JP 2006293651 A JP2006293651 A JP 2006293651A JP 2005112882 A JP2005112882 A JP 2005112882A JP 2005112882 A JP2005112882 A JP 2005112882A JP 2006293651 A JP2006293651 A JP 2006293651A
- Authority
- JP
- Japan
- Prior art keywords
- coin
- image
- feature amount
- master
- histogram
- 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.)
- Pending
Links
Images
Landscapes
- Testing Of Coins (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、コインの真偽等を画像に基づいて判別するためのコイン判別装置及びコイン判別方法に関する。また、当該コイン判別方法を実施するための処理プロセスを記憶させた記憶媒体に関する。 The present invention relates to a coin discriminating apparatus and a coin discriminating method for discriminating whether a coin is true or false based on an image. The present invention also relates to a storage medium that stores a processing process for executing the coin discrimination method.
ゲーム機や自動販売機、券売機などに内蔵され、投入されたコイン(通貨、ゲーム機用コインなど)の真偽や他店コイン(他店で使用されているゲーム機用コイン)などを判別するために、コイン判別装置が用いられている。このようなコイン判別装置には、磁気センサを用いてコインを判別するものがあった。しかし、このようなコイン判別装置では、コイン判別の精度が非常に低かった。 Built-in in game consoles, vending machines, ticket machines, etc., and discriminating the authenticity of inserted coins (currency, coins for game consoles, etc.) and other store coins (coin for game consoles used in other stores) For this purpose, a coin discriminating device is used. Some of these coin discriminating devices discriminate coins using a magnetic sensor. However, in such a coin discrimination device, the accuracy of coin discrimination is very low.
そこで、撮影したコイン画像をデジタル多値画像データに変換し、このデジタル多値画像データから濃度ヒストグラムを生成し、その濃度ヒストグラムのパターンに基づいてコインの判別を行なうコイン判別装置が提案されている。このコイン判別装置では、コイン画像の濃度ヒストグラムのパターンと予め登録されているマスターコインの登録パターンとを比較することにより、コインの真偽を判別していた。 Therefore, a coin discriminating apparatus has been proposed that converts a photographed coin image into digital multilevel image data, generates a density histogram from the digital multilevel image data, and discriminates coins based on the density histogram pattern. . In this coin discriminating apparatus, the authenticity of a coin is discriminated by comparing a density histogram pattern of a coin image with a master coin registration pattern registered in advance.
しかしながら、最近500円硬貨などで社会問題となったように精巧な偽造硬貨が使用されることが多くなっているため、このようなコイン判別装置では、通貨の判別精度が十分でなかった。また、通貨以外のコインであって、換金性を有するゲーム機用コインの場合には、コインに付されている模様はそれぞれ異なっているが、コインの大きさや模様は紛らわしいものが多い。そのため、このようなゲーム機用コインにも対応させるためには、コイン判別精度の高いコイン判別装置が必要とされている。 However, since sophisticated coins such as 500 yen coins have become a social problem in recent years, such coin discriminating devices have not been sufficiently accurate in discriminating currencies. Further, in the case of a coin for a gaming machine that is a currency other than a currency, the pattern attached to the coin is different, but the size and pattern of the coin are often confusing. Therefore, in order to deal with such a game machine coin, a coin discrimination device with high coin discrimination accuracy is required.
本発明は上記のような技術的課題に鑑みてなされたものであり、その目的とするところは、コイン画像から得た濃度ヒストグラムに基づいてコインを判別するコイン判別装置において、そのコイン判別精度を向上させることにある。 The present invention has been made in view of the technical problems as described above, and an object of the present invention is to provide a coin discriminating apparatus for discriminating coins based on a density histogram obtained from a coin image, and to improve the coin discriminating accuracy. It is to improve.
本発明の請求項1にかかるコイン判別装置は、対象コインの真偽を画像に基づいて判別するためのコイン判別装置であって、マスターコインの濃度ヒストグラムから得た特徴量を保存した記憶手段と、対象コインの画像を取得するための撮像手段と、前記画像から濃度ヒストグラムを生成するヒストグラム生成手段と、前記ヒストグラム生成手段によって生成された濃度ヒストグラムから、対象コインの特徴量を抽出する特徴量抽出手段と、前記記憶手段に保存されたマスターコインの特徴量と、前記特徴量抽出手段により抽出された対象コインの特徴量とを比較することによって対象コインの真偽を判定する手段とを備えたものである。
A coin discriminating apparatus according to
本発明の請求項1にかかるコイン判別装置は、濃度ヒストグラムから抽出した特徴量を用いてマスターコインと対象コインとを照合しているので、対象コインの判別精度を向上させることができ、対象コインの真偽をより正確に判別することが可能になる。
In the coin discriminating apparatus according to
本発明の請求項2にかかる実施態様は、請求項1のコイン判別装置において、前記撮像手段により取得された対象コインの画像を複数の円環状又は円形の領域に分割する画像分割処理手段を備え、前記ヒストグラム生成手段は、前記画像分割処理手段により分割された各分割画像毎の濃度ヒストグラムを生成し、前記特徴量抽出手段は、各分割画像毎の濃度ヒストグラムから各々の特徴量を抽出し、前記判定手段は、対象コインの各分割画像の濃度ヒストグラムから抽出された各特徴量と、マスターコインの対応する特徴量とを比較することを特徴としている。この実施態様のように、コインの画像を複数の円環状又は円形の領域に分割し、分割された各分割画像毎の濃度ヒストグラムから特徴量を抽出してマスターコインと比較することにより、対象コインの判別精度を向上させることができ、対象コインの真偽をより正確に判別することが可能になる。 According to a second aspect of the present invention, in the coin discriminating apparatus according to the first aspect, an image division processing unit that divides the image of the target coin acquired by the imaging unit into a plurality of annular or circular regions. The histogram generation means generates a density histogram for each divided image divided by the image division processing means, and the feature quantity extraction means extracts each feature quantity from the density histogram for each divided image, The determination unit compares each feature amount extracted from the density histogram of each divided image of the target coin with a corresponding feature amount of the master coin. As in this embodiment, the coin image is divided into a plurality of circular or circular regions, and the feature amount is extracted from the density histogram for each divided image and compared with the master coin, thereby obtaining the target coin. Can be improved, and the true / false of the target coin can be more accurately determined.
本発明の請求項3にかかる実施態様は、請求項2に記載のコイン判別装置において、前記画像分割処理手段が、各分割画像間に隙間をあけて対象コインの画像を複数の円環状又は円形の領域に分割することを特徴としている。この実施態様のように、コイン画像を分割画像間に隙間をあけて分割すれば、コインの判別精度をより向上させることができ、紛らわしいコインの判別もより正確に行なえるようになる。 According to a third aspect of the present invention, in the coin discriminating apparatus according to the second aspect, the image division processing unit displays an image of the target coin with a plurality of annular or circular shapes with a gap between the divided images. It is characterized by being divided into regions. If the coin image is divided with a gap between the divided images as in this embodiment, the coin discrimination accuracy can be further improved, and misleading coin discrimination can be performed more accurately.
本発明の請求項4にかかる実施態様は、請求項1に記載のコイン判別装置における前記マスターコインの特徴量及び前記対象コインの特徴量が、前記各コインの濃度ヒストグラムにおける画素数が極大のときの階調度の値であることを特徴としている。
According to an embodiment of the present invention, the feature amount of the master coin and the feature amount of the target coin in the coin discriminating device according to
また、本発明の請求項5にかかる実施態様は、請求項1に記載のコイン判別装置における前記マスターコインの特徴量及び前記対象コインの特徴量が、前記各コインの濃度ヒストグラムにおける画素数が極大のときの階調度の値と、画素数が所定レベルであるときの階調度の値との差であることを特徴としている。
In the embodiment according to
本発明の請求項6にかかる実施態様における前記マスターコインの特徴量及び前記対象コインの特徴量は、分割された画像のそれぞれのヒストグラムどうしのピーク位置の偏差であることを特徴としている。
In the embodiment according to
本発明の請求項7にかかる実施態様における前記マスターコインの特徴量及び前記対象コインの特徴量は、分割された画像のそれぞれのヒストグラムにおいて、画素数が所定値となる階調度どうしの偏差であることを特徴としている。
In the embodiment according to
濃度ヒストグラムの特徴量としては、請求項4〜請求項7のようなものを用いることができ、あるいは、これらを組み合わせて用いることができ、それによって、対象コインの判別精度を向上させることができ、対象コインの真偽をより正確に判別することが可能になる。
As the feature amount of the density histogram, the features as in
本発明の請求項8にかかるコイン判別方法は、マスターコインの濃度ヒストグラムから得た特徴量を予め記憶手段に記憶させておき、撮像手段を用いて対象コインの画像を取得するステップと、前記画像から濃度ヒストグラムを生成するステップと、濃度ヒストグラムから、対象コインの特徴量を抽出するステップと、前記記憶手段に保存されたマスターコインの特徴量と、前記対象コインの特徴量とを比較するステップとにより対象コインの真偽を判定することを特徴としている。 According to an eighth aspect of the present invention, there is provided a coin discriminating method in which a feature amount obtained from a density histogram of a master coin is stored in a storage unit in advance, and an image of a target coin is obtained using an imaging unit; Generating a density histogram from the steps, extracting a feature amount of the target coin from the density histogram, comparing a feature amount of the master coin stored in the storage means with a feature amount of the target coin, It is characterized by determining the authenticity of the target coin.
本発明の請求項8にかかるコイン判別方法は、濃度ヒストグラムから抽出した特徴量を用いてマスターコインと対象コインとを照合しているので、対象コインの判別精度を向上させることができ、対象コインの真偽をより正確に判別することが可能になる。
In the coin discriminating method according to
本発明の請求項9にかかる記憶媒体は、マスターコインの濃度ヒストグラムから得た特徴量を記憶させるステップと、撮像手段を用いて対象コインの画像を取得するステップと、前記画像から濃度ヒストグラムを生成するステップと、濃度ヒストグラムから、対象コインの特徴量を抽出するステップと、前記記憶手段に保存されたマスターコインの特徴量と、前記対象コインの特徴量とを比較するステップとを記録されたものである。かかる記憶媒体をコンピュータにより実行させることにより、対象コインの真偽をより正確に判別することが可能になる。 A storage medium according to a ninth aspect of the present invention stores a feature amount obtained from a density histogram of a master coin, a step of acquiring an image of a target coin using an imaging unit, and a density histogram is generated from the image Recorded are a step of extracting the feature amount of the target coin from the density histogram, and a step of comparing the feature amount of the master coin stored in the storage unit with the feature amount of the target coin. It is. By executing such a storage medium by a computer, it is possible to more accurately determine the authenticity of the target coin.
以下、本発明の実施例を図面に従って詳細に説明する。ただし、本発明は以下の実施例に限定されるものでないのは、勿論である。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, it is needless to say that the present invention is not limited to the following examples.
まず、本発明の実施例1によるコイン判別装置を図1〜図16により説明する。図1はゲーム機や自動販売機、券売機などの内部に設けられたコイン通路1の一部を示す斜視図である。コイン通路1は、幅の狭い転動路1aとその上方に位置する側壁面1bとを有している。転動路1aはコイン通過方向に沿って傾斜しており、投入されたコイン2は、転動路1aの上を転がっていく。また、側壁面1bは、垂直面よりも少し傾いており、変形していないコイン2は転動路1aから脱落することなく転がっていくが、変形したコイン2は転動路1aから脱落して返却口へ排出される。
First, a coin discriminating apparatus according to
図2はコイン通路1に対向させて配置されたコイン判別装置の照明装置3及び撮像装置4を示す側面図である。また、図3は照明装置3及び撮像装置4を示す斜視図、図4はその断面図である。照明装置3は、筒体5の外周面に複数個の光源6を設けた構造となっている。筒体5の外周面には、均等な間隔をあけて複数の通孔7が開口されている。光源6は、白色LED(発光素子)等によって構成されており、通孔7内に挿入して固定されている。各光源6は、筒体5の内側に向けて光を出射するように配置されており、主光線の出射方向は、筒体5の開口面と平行な方向に対して斜めに傾いている。しかして、各光源6から出射された光Bは、コイン2の通過面(側壁面1b)で重なり合うようにして均一に照射される。
FIG. 2 is a side view showing the
撮像装置4は、筒体5の端面に固定された基板9に設けられている。基板9の中央部には窓11が開口されており、窓11の縁から筒体5側へ向けて延出された鏡筒部12の先端部には結像レンズ10が保持されている。窓11に対向する位置には、CCDカメラ等の撮像素子8が固定されている。
The
また、基板9には、コイン検知用のLEDやLD(レーザー素子)等の投光素子14が設けられている。投光素子14は、撮像素子8よりもコイン通過方向に位置している。図5に示すように、コイン通路1には、投光素子14に対向させて空洞15が開口され、空洞15内には、投光素子14から出射された検知光Dを受光するための受光素子13が配置されている。
The
しかして、このコイン判別装置においては、図5に表わすようにして、通過するコイン2の画像を撮影する。コイン2が通過していない状態においては、光源6は消灯している。一方、投光素子14は点灯していて、投光素子14から出射された検知光Dは、受光素子13で受光されており、受光素子13はオン(受光状態)となっている。
Therefore, in this coin discriminating apparatus, an image of the
このとき、転動路1aに沿って転がってきたコイン2が撮像素子8と対向する位置に達すると、コイン2の縁によって投光素子14から出射された検知光Dが遮られ、受光素子13がオフ(非受光状態)となる。受光素子13がオフになると同時に、全ての光源6が瞬間的に閃光Bを発してコイン2を照明し、撮像素子8が通過中のコイン2の静止画像を取得する。こうして撮像素子8により撮影されたコイン2の画像は、画像データ(デジタルデータ)として撮像素子8からコイン判別処理部へ送り出される。
At this time, when the
なお、上記実施例とは異なる方式でコインの画像を取り込むようにしてもよい。異なる方式においては、照明装置3を常時点灯したままにしておくと共に、撮像素子8からコイン判別処理部へ画像データが送られないように遮断(マスキング)しておく。そして、受光素子13がオフになってコイン2が検出されると、その瞬間に撮像装置4で取得された画像の画像データが撮像素子8からコイン判別処理部へ送られ、後述のようにしてコインの真偽を判定される。瞬間の画像データをコイン判別処理部に送り終えると、撮像素子8はからコイン判別処理部へのデータ伝送は再び遮断される。かかる方式によれば、電気信号によって撮像装置4のシャッターを構成することができるので、シャッタースピードを高速化でき、容易にコインの静止画像を得ることができる。
Note that a coin image may be captured by a method different from the above embodiment. In a different method, the
図6はコイン判別処理部16の構成を示すブロック図である。コイン判別処理部16は、マイクロコンピュータや電子回路、コンピュータ及びソフトウエアなどによって構成されている。コイン判別処理部16は、撮像素子8から受け取ったデジタル多値画像データをコイン画像と背景画像とに分離しコイン形状を抽出するコイン形状抽出部17と、抽出されたコイン形状からその中心を検出するコイン中心検出部18と、コイン形状の中心が画面の中心にくるようにコイン画像を画面の中心へ移動させる画像シフト部19と、コイン画像を円形及び同心円環状の部分画像に分割する画像分割処理部20と、各部分画像毎の濃度ヒストグラムを生成するヒストグラム生成部21と、各ヒストグラムの特徴量を抽出する特徴量抽出部22と、マスターコインの両面又は片面の特徴量を予め記憶させておくマスターコインデータ記憶部23と、対象コインの特徴量とマスターコインデータ記憶部23に保存されているマスターコインの特徴量とを比較して対象コインの真偽を判定する判定処理部24と、判定結果を出力する出力部25とからなる。
FIG. 6 is a block diagram showing a configuration of the coin
図7、図8及び図9は上記コイン判別処理部により対象コインの真偽を判別するための手順を表したフローチャートである。図10〜図13はその説明図である。以下、図7〜図13に従ってコイン判別方法を具体的に説明する。ただし、以下の処理はデータとして処理されるものであり、図10〜図13はその処理内容を分かり易くするために原理を図示したものである。前記のようにして撮像装置4によりコイン2の画像が撮影されると、コイン判別処理部16は、そのデジタル多値画像データ(例えば、256階調の画像データ)を読み込む(図7のステップS1)。こうして読み込まれたコイン画像は、画面(画像を切り分けるための画面)の中央にあることが望ましい。しかし、図10(a)に示すように、通過するコイン2を撮影するタイミングのずれにより、コイン画像26は必ずしも画面27の中央に位置せず、通常は画面27の中心から偏っている。
7, 8 and 9 are flowcharts showing a procedure for determining the authenticity of the target coin by the coin determination processing unit. 10 to 13 are explanatory diagrams thereof. Hereinafter, the coin discrimination method will be described in detail with reference to FIGS. However, the following processing is processed as data, and FIGS. 10 to 13 illustrate the principle for easy understanding of the processing contents. When the image of the
そこで、コイン画像26を画面27の中央へ移動させるため、まずコイン形状の中心の検出を行う(ステップS2)。すなわち、コイン形状抽出部17により、読み込んだ画像データ内のコイン画像26と背景画像28とを分別することによってコイン画像26を抽出する。ついで、コイン中心検出部18により、抽出したコイン画像26の中心を検出する。コイン形状の中心を検出する方法には、種々の方法があるが、例えば、図10(a)に示すように、コイン画像26の幅方向の中央を通る垂線と高さ方向の中央を通る水平線との交点として求めることができる。
Therefore, in order to move the
こうしてコイン画像26の中心が検出されたら、画像シフト部19により、図10(b)に示すように、コイン画像26の中心が画面27の中心と一致するように画面27内でコイン画像26を移動させる(ステップS3)。
When the center of the
コイン画像26が画面27の中心に移動し終わったら、画像分割処理部20によりコイン画像26を複数の領域に切り分け(ステップS4)、切り分けられた各分割画像をメモリに記憶させる(ステップS5)。コイン画像26の切り分け方としては色々あるが、コイン画像26と中心が一致する円形の領域と円環状の領域とに分割するのが望ましい。図11では、円形をした第1領域29と円環状をした第2及び第3領域30、31とに切り分けている。
When the
ついで、メモリから第1領域29の部分画像をメモリから読み出し(ステップS6)、ヒストグラム生成部21により、第1領域29の部分画像にヒストグラム化処理を行って濃度ヒストグラムを生成し、その濃度ヒストグラムをメモリに保存する(ステップS7)。
Next, the partial image of the
なお、第1〜第3領域29〜31をコイン画像26の中心と一致する円形領域と円環状領域とに分割していると、各部分画像から濃度ヒストグラムを作成したとき、各領域の濃度ヒストグラムがコイン画像26の回転角度(コイン2を撮影した時のコイン2の回転角度)によらず原理上同じになるので、画像を所定の角度に回転させる処理が不要になる。。
When the first to
また、図12はコイン画像26を各部分画像に分割し、ヒストグラム化処理する実際の方法を説明する図である。画面27は、図12(a)に示すように、1辺が例えば26=64に分割されていて4096個の画素に分割されており、各画素にナンバーが付与されている。図12(a)では、画素ナンバー”1”、”2”、”3”、”0”が付与されているが、同一の画素ナンバーを付された領域は、図12(b)のような円形の第1領域29A(”1”)、円環状の第2領域30A(”2”)、円環状の第3領域31A(”3”)、背景領域(”0”)に対応している。従って、コイン画像26における各画素の濃度(階調度)を各画素ナンバーに関連付けてグループ化しておき、各グループ毎の画素階調度に統計処理を施せば、図11のように切り分けられた各領域29、30、31の濃度ヒストグラムが一度に得られる。こうして作成された各領域の濃度ヒストグラムは、メモリに一時的に保存される。
FIG. 12 is a diagram for explaining an actual method of dividing the
この後、図9のフローチャートに従って特徴量抽出部22により当該濃度ヒストグラムの特徴量を抽出する(ステップS8)。例えば、部分画像の濃度ヒストグラム32が図13(a)に破線で示すような曲線であるとする。図13(a)(b)において、横軸は256階調(0〜255)で表した各画素の濃度(階調度)であり、縦軸は各階調度の画素数を表している。濃度ヒストグラム32は、まずピーク値が一定値(例えば、100(任意単位))となるように縦軸方向に縮小又は拡大され、あるいは縦軸方向に平行移動され、図13(a)に実線で示すように正規化される(図9のステップS21)。
Thereafter, the feature
ついで、画素数が所定の閾値Nsよりも小さな領域の濃度ヒストグラム32を切り捨てる(ステップS22)。例えば、閾値Nsとしては、濃度ヒストグラムの画素数が、ピーク値の70%のときの値とし、閾値以下の領域を切り捨てて図13(b)のような濃度ヒストグラム32を得る。この閾値Nsの大きさは、あらかじめ適切なレベルに設定されている。
Next, the
この後、濃度ヒストグラム32のピーク位置における階調度の値(以下、ピーク位置という。)Kpを検出する(ステップS23)と共に、ピーク位置の右側における濃度ヒストグラム32の幅(以下、高階調幅という。)WRと、ピーク位置の左側における濃度ヒストグラム32の幅(以下、低階調幅という。)WLを求め(ステップS24、S25)、ピーク位置Kp、高階調幅WR、低階調幅WLを特徴量としてメモリに記憶させる。
Thereafter, the gradation value at the peak position of the density histogram 32 (hereinafter referred to as peak position) Kp is detected (step S23), and the width of the
マスターコインデータ記憶部23には、マスターコインの両面又は片面における第1〜第3領域毎のピーク位置と高階調幅と低階調幅が格納されている。ここで、マスターコインデータ記憶部23にマスターコインの両面の特徴量が保存されている場合には、その一方の面を第1の面といい、他方の面を第2の面という。あるいは、マスターコインの片面の特徴量しか保存されていない場合には、その面を第1の面という。
The master coin
照合時には、はじめにコイン2の第1領域29における濃度ヒストグラム32のピーク位置Kpと、マスターコインの第1の面の第1領域における濃度ヒストグラムのピーク位置とを照合し(ステップS9)、コイン2のピーク位置Kpとマスターコインのピーク位置が一致するか否か判定する(ステップS10)。ここで、コイン2のピーク位置Kpとマスターコインのピーク位置が一致するとは、完全に一致することを意味するものではなく、コイン2のピーク位置Kpが、マスターコインのピーク位置を中心とする所定の範囲内に納まっていればよい。照明装置3の経時的な照度の変化などを考慮する必要があるからである。
At the time of collation, first, the peak position Kp of the
第1領域29におけるピーク位置Kpがマスターコインの第1の面のピーク位置と一致しない場合には、マスターコインデータ記憶部23にマスターコインのデータが2面について存在しているか否かを調べ(ステップS14)、2面のデータが存在していなければ(ステップS14でNOの場合)、コイン2はマスターコインと不一致であると判断し、コイン2を返却口に排出する(ステップS17)。
When the peak position Kp in the
また、マスターコインのデータが2面について存在している場合(ステップS14でYESの場合)には、第2の面についても照合する。すなわち、コイン2の第1領域29におけるピーク位置Kpと、マスターコインデータ記憶部23に記憶されているマスターコインの第2の面における第1領域でのピーク位置とを照合し(ステップS15)、コイン2のピーク位置Kpとマスターコインのピーク位置が一致するか否か判定する(ステップS16)。ここでも、コイン2のピーク位置Kpとマスターコインのピーク位置が一致するとは、コイン2のピーク位置Kpが、マスターコインのピーク位置を中心とする所定の範囲内に納まっていればよい。
Further, when master coin data exists for two sides (YES in step S14), the second side is also checked. That is, the peak position Kp in the
第1領域29のピーク位置Kpがマスターコインの第2の面の第1領域でのピーク位置と一致しない場合(ステップS16においてNOの場合)には、コイン2は真正のコインでないと判断し、コイン2を返却口に排出する(ステップS17)。
If the peak position Kp of the
これに対し、ステップS10又はS16において、コイン2のピーク位置Kpがマスターコインの第1又は第2の面のピーク位置と一致した場合には、さらにコイン2の第1領域29における低階調幅WL、高階調幅WRと、マスターコインデータ記憶部23に記憶されているマスターコインの第1領域における低階調幅及び高階調幅とを照合する(ステップS11)。ただし、ステップS10でコイン2のピーク位置がマスターコインの第1の面のピーク位置と一致した場合には、ステップS11で照合するマスターコインの低階調幅及び高階調幅も第1の面におけるものである。また、ステップS16でコイン2のピーク位置がマスターコインの第2の面のピーク位置と一致した場合には、ステップS11で照合するマスターコインの低階調幅及び高階調幅も第2の面におけるものである。また、ここでも、コイン2の階調幅WL、WRがマスターコインの各階調幅を中心とするある範囲に含まれていれば、一致しているものとする。
On the other hand, when the peak position Kp of the
ステップS11における照合の結果、低階調幅か高階調幅が一致しない場合(ステップS12でNOの場合)には、コイン2はマスターコインと一致せず、真正のコインでないと判断されて返却口から排出される(ステップS17)。
As a result of the collation in step S11, if the low gradation width or the high gradation width does not match (NO in step S12), it is determined that the
一方、ステップS11における照合の結果、低階調幅及び高階調幅が一致した場合(ステップS12でYESの場合)には、コイン2の第1領域29の照合を終了し、コイン2の第2領域30の照合を行なう(ステップS13)。即ち、第2領域30の部分画像をメモリから読み出し、第2領域30の部分画像に対して、第1領域29の場合と同様にステップS6〜S17の処理を行なう。よって、第2領域30の濃度ヒストグラム32から得た特徴量がマスターコインの第2領域における特徴量と一致しない場合には、コイン2は返却口に排出される。
On the other hand, as a result of the collation in step S11, when the low gradation width and the high gradation width match (in the case of YES in step S12), the collation of the
また、第2領域30の濃度ヒストグラム32から得たピーク位置、低階調幅及び高階調幅がマスターコインの第1又は第2の面の特徴量と一致した場合には、第3領域31の部分画像をメモリから読み出し、第3領域31の部分画像に対して、第1領域29の場合と同様にステップS6〜S17の処理を行なう。よって、第3領域31の濃度ヒストグラム32から得た特徴量がマスターコインの第3領域における特徴量と一致しない場合には、コイン2は返却口に排出される。
Further, when the peak position, the low gradation width, and the high gradation width obtained from the
こうして全ての領域29〜31についてコイン2の特徴量がマスターコインと一致し、コイン2の照合が成功した場合(ステップS13、18)には、当該コイン2は真正のコインであると判定し、出力部25から真正のコインであることを伝える信号を出力する。
In this way, when the feature amount of the
しかして、本発明のコイン判別装置によれば、濃度ヒストグラムから抽出した対象コインの特徴量を用いてマスターコインと比較しているので、コインの真偽を高い精度で判定することができる。さらに、コイン画像を複数の部分画像に分割し、各部分画像毎にコインの特徴量を抽出し、マスタコインと比較しているので、コイン比較のための情報量が増加し、コインの真偽をより高い精度で判定することが可能になる。 Therefore, according to the coin discriminating apparatus of the present invention, since the comparison is made with the master coin using the feature amount of the target coin extracted from the density histogram, the authenticity of the coin can be determined with high accuracy. Furthermore, since the coin image is divided into a plurality of partial images, the feature amount of the coin is extracted for each partial image, and compared with the master coin, the amount of information for coin comparison increases, and the authenticity of the coin Can be determined with higher accuracy.
上記の説明においては、マスターコインの特徴量は予めマスターコインデータ記憶部23に記憶させられていたが、マスターコインの特徴量は、図14のフローチャートに従って予め登録される。コイン判別装置をマスターコイン登録モードに設定し、コイン投入口にマスターコイン(真正のコイン)を投入すると、照明装置3及び撮像装置4によってマスターコインの画像が撮像される(ステップS31)。この後のステップS32〜S38の処理は、図7及び図8のステップS2〜S8と同じものであり、ステップS38の処理内容は図9に示されたとおりである。よって、投入されたマスターコインのコイン画像は、円形又は円環状をした複数の部分画像に分割された後、各部分画像が濃度ヒストグラムに変換され、各濃度ヒストグラムの特徴量が抽出される。そして、第1の面の各部分画像毎に、抽出された特徴量は、マスターコインデータ記憶部23に記憶させられる(ステップS39、S40)。
In the above description, the feature amount of the master coin is stored in the master coin
また、マスターコインの両面に模様がある場合には、マスターコインを裏向けにしてコイン投入口に投入し、裏面(第2の面)の特徴量もマスターコインデータ記憶部23に記憶させる。
If there are patterns on both sides of the master coin, the master coin is placed face down and inserted into the coin slot, and the feature amount on the back side (second side) is also stored in the master coin
なお、コインの特徴量としては、ピーク位置Kpと低階調幅WL、高階調幅WRを用いたが、この一部の特徴量を用いてもよい。 As the feature amount of the coin, the peak position Kp, the low gradation width WL, and the high gradation width WR are used, but some of these feature amounts may be used.
また、コイン(マスターコイン)の部分画像の濃度ヒストグラムが図15に示すように複数のピークを有する場合には、閾値Nsの設定の仕方により、図15(a)のように一組の特徴量を抽出することもでき、図15(b)のように複数組の特徴量を抽出することもできる。もちろん、図15(b)のように複数組の特徴量を抽出すれば、コイン照合のための情報が増加するので、コインの判別制度が向上する。 Further, when the density histogram of a partial image of a coin (master coin) has a plurality of peaks as shown in FIG. 15, a set of feature amounts as shown in FIG. 15A depending on how the threshold value Ns is set. Can be extracted, and a plurality of sets of feature quantities can be extracted as shown in FIG. Of course, if a plurality of sets of feature quantities are extracted as shown in FIG. 15B, information for coin verification increases, and the coin discrimination system is improved.
また、コイン画像を複数の部分画像に分割する際、上記実施例においては、図11に示したように隙間無く部分画像に分割した。しかし、図16に示すように、隙間をあけてコイン画像を複数の部分画像に分割するようにすれば、コインの真偽判別の精度がさらに高くなる。すなわち、図16において影を付けた領域αの画像を捨て、部分画像である第1領域29、第2領域30、第3領域31間に隙間を設けると、第1領域29、第2領域30及び第3領域31の画像が不連続になり、各領域29〜31の濃度ヒストグラムどうしのパターンの違いが顕著になる。その結果、各流域の特徴量も違いが大きくなり、コインの判別精度が向上する。
Further, when the coin image is divided into a plurality of partial images, in the above-described embodiment, as shown in FIG. However, as shown in FIG. 16, if the coin image is divided into a plurality of partial images with a gap, the accuracy of coin authenticity determination is further increased. That is, if the image of the shaded region α in FIG. 16 is discarded and a gap is provided between the
図17及び図18は、部分画像の間に隙間を設けない場合と、隙間を設ける場合との濃度ヒストグラムの違いを示す図である。図17(a)(c)は隙間をあけることなく分割された円形状の部分画像(第1領域29)と円環状の部分画像(第2領域30)を表わしている。このように画像を分割した場合には、図17(a)のような円形状の部分画像から得られる濃度ヒストグラムは図17(b)のようになり、図17(c)のような円環状の部分画像から得られる濃度ヒストグラムは図17(d)のようになる。 FIGS. 17 and 18 are diagrams showing the difference in density histogram between the case where no gap is provided between partial images and the case where a gap is provided. FIGS. 17A and 17C show a circular partial image (first region 29) and an annular partial image (second region 30) which are divided without a gap. When the image is divided in this way, the density histogram obtained from the circular partial image as shown in FIG. 17A is as shown in FIG. 17B, and the annular shape as shown in FIG. The density histogram obtained from the partial image is as shown in FIG.
また、図18(a)(c)は隙間をあけて分割された円形状の部分画像(第1領域29)と円環状の部分画像(第2領域30)を表わしている。このように画像を分割した場合には、図18(a)のような円形状の部分画像から得られる濃度ヒストグラムは図18(b)のようになり、図18(c)のような円環状の部分画像から得られる濃度ヒストグラムは図18(d)のようになる。 18A and 18C show a circular partial image (first region 29) and an annular partial image (second region 30) divided with a gap. When the image is divided in this way, the density histogram obtained from the circular partial image as shown in FIG. 18A is as shown in FIG. 18B, and the annular shape as shown in FIG. The density histogram obtained from the partial image is as shown in FIG.
図17(b)(d)の2つの濃度ヒストグラムの違いと、図18(b)(d)の2つの濃度ヒストグラムの違いとを比較すると分かるように、部分画像間に隙間をあけた場合には2つの濃度ヒストグラムの違いがより顕著になる。よって、部分画像の間に隙間をあけることにより、各部分画像のそれぞれの特徴量を抽出して対象コインとマスターコインとを比較する場合、コインの照合精度がより向上することになる。 When the difference between the two density histograms in FIGS. 17B and 17D is compared with the difference between the two density histograms in FIGS. 18B and 18D, when a gap is formed between the partial images. The difference between the two density histograms becomes more remarkable. Therefore, by making a gap between the partial images, when comparing the target coin and the master coin by extracting the respective feature amounts of the partial images, the coin collation accuracy is further improved.
つぎに、本発明の実施例2によるコイン判別装置を説明する。これは、特徴量として高階調幅WR及び低階調幅WLに代えて、ヒストグラムのピーク値よりも小さなある画素数(たとえば、ピーク値の1/2倍)となるときの階調度を用いたものである。実施例2のコイン判別装置における、コイン通路1や照明装置3、撮像装置4などの構造は実施例1と同じである。また、コイン判別処理部16の構成も、特徴量抽出部22における処理と、判定処理部24において照合する特徴量が異なる点とを除けば、実施例1と同様である。従って、以下の実施例2の説明においては、実施例1と同一構成部分については、実施例1と同一の符号を用いることによって詳細は省略し、実施例1と異なる点のみについて説明する。
Next, a coin discrimination device according to
図19、図20及び図21は、実施例2における対象コインの真偽を判別するための手順を表したフローチャートである。また、図22はその説明図である。実施例2のコイン判別装置においても、照明装置3によりコイン2を照明して撮像装置4によりコイン2の画像が撮影され、その画像データは撮像素子8からコイン判別処理部16に送信される。コイン2の多値画像データは、コイン判別処理部16に読み込まれる(ステップS1)。読み込まれたコイン2のデジタル多値画像データは、コイン形状抽出部17によってコイン画像26と背景画像28とを分別され、コイン画像26を抽出される。ついで、コイン中心検出部18により、抽出したコイン画像26の中心が検出される(ステップS2)。コイン画像26の中心が検出されたら、画像シフト部19により、コイン画像26の中心が画面27の中心と一致するように画面27内でコイン画像26が移動させられる(ステップS3)。
19, 20 and 21 are flowcharts showing a procedure for determining the authenticity of the target coin in the second embodiment. FIG. 22 is an explanatory diagram thereof. Also in the coin discrimination device according to the second embodiment, the
コイン画像26が画面27の中心に移動したら、画像分割処理部20によりコイン画像26は円形又は円環状をした複数の領域に分割される(ステップS4〜S6)。ついで、分割された各領域毎の部分画像は、それぞれヒストグラム生成部21によってヒストグラム化処理され、各部分画像の濃度ヒストグラムが生成される(ステップS7)。ここまでの処理は、実施例1の場合と同様である。
When the
しかし、次の特徴量抽出部22による特徴量の抽出(ステップS41)の仕方は、実施例2では実施例1の場合と異なっている。図21は実施例2の場合における特徴量抽出の過程を説明するフローチャートであり、図22はその説明図である。実施例2の場合には、ヒストグラムの正規化は行なわず、部分画像から得た濃度ヒストグラム32をそのまま用いる。そして、図22に示すように、濃度ヒストグラム32のピーク値Npを決定し、対応する画素の濃度(階調度)の値Kpを求める(ステップS42)。さらに、図22に示すように、ピーク値Npの1/2の値(半値)Np/2となるときの右側の画素の濃度Krと左側の画素の濃度Klとを求める(ステップS43、S44)。
However, the feature amount extraction (step S41) by the next feature
マスターコインデータ記憶部23には、マスターコインの両面又は片面における各領域毎の部分画像の特徴量Kp、Kr、Klが予め格納されている。そして、上記のようにしてコイン2の特徴量Kp、Kr、Klを求めた後は、実施例1とほぼ同様である。すなわち、図20のステップS9、S10、S45、S46、S13〜S18の手順に従って対象となるコイン2とマスターコインとの特徴量Kp、Kr、Klを比較照合することによりコイン2の真偽が判定される。実施例1と異なっている点は、ステップS45、S46において、特徴量の違いに応じて対象コインの各部分画像のヒストグラムにおける左右の半値の階調度Kr、Klとマスターコインの特徴量Kr、Klとを比較照合し(ステップS45)、いずれかの特徴量が一致しない場合(ステップS46でNOの場合)には、真正のコインでないと判断してコインを排出し(ステップS17)、全ての特徴量が一致した場合(ステップS46、S13でYESの場合)には、照合が成功したと判断して真正のコインであると判断する(ステップS18)点だけである。
In the master coin
なお、実施例2の場合にも、コイン画像を複数の部分画像に分割する際には、各領域の間に隙間を設けるようにすると、コインの判別精度が向上する。 In the second embodiment as well, when a coin image is divided into a plurality of partial images, if a gap is provided between each region, the coin discrimination accuracy is improved.
つぎに、本発明の実施例3によるコイン判別装置を説明する。これは、部分画像のヒストグラムにおけるピーク位置での階調度どうしの偏差と、ピーク値のα倍(α<1)の位置での階調度どうしの偏差を特徴量として用いたものである。実施例3のコイン判別装置における、コイン通路1や照明装置3、撮像装置4などの構造は実施例1と同じである。従って、以下の実施例3の説明においては、実施例1と同一構成部分については、実施例1と同一の符号を用いることによって詳細は省略し、実施例1と異なる点のみについて説明する。
Next, a coin discrimination device according to
図23〜図26は、実施例3における対象コインの真偽を判別するための手順を表したフローチャートである。また、図27〜図29はその説明図である。実施例3のコイン判別装置においても、照明装置3によりコイン2を照明して撮像装置4によりコイン2の画像が撮影され、その画像データは撮像素子8からコイン判別処理部16に送信される。コイン2の多値画像データは、コイン判別処理部16に読み込まれる(ステップS1)。読み込まれたコイン2のデジタル多値画像データは、コイン形状抽出部17によってコイン画像26と背景画像28とを分別され、コイン画像26を抽出される(ステップS1)。ついで、コイン中心検出部18により、抽出したコイン画像26の中心を検出される(ステップS2)。コイン画像26の中心が検出されたら、画像シフト部19により、コイン画像26の中心が画面27の中心と一致するように画面27内でコイン画像26が移動させられる(ステップS3)。
23 to 26 are flowcharts showing a procedure for determining whether the target coin is true or false in the third embodiment. FIGS. 27 to 29 are explanatory diagrams thereof. Also in the coin discriminating apparatus of the third embodiment, the
コイン画像26が画面27の中心に移動したら、画像分割処理部20によりコイン画像26は円形又は円環状をした複数の領域に分割される(ステップS4〜S6)。例えば図27では、コイン画像26を1つの円形の部分画像41と5つの円環状をした部分画像42〜46に分割している。ついで、分割された部分画像41〜46は、ヒストグラム生成部21によってヒストグラム化処理され、各部分画像41〜46の濃度ヒストグラムが生成される(ステップS7)。こうしてヒストグラム化された各部分画像41〜46のヒストグラムは、例えば図28に示すヒストグラム41A〜46Aのようになる。ここまでの処理は、実施例1の場合と同様である。
When the
次に、特徴量抽出部22により特徴量が抽出される(ステップS51)。図26は実施例3の場合における特徴量抽出の過程を説明するフローチャートである。実施例3の場合には、まず各ヒストグラム41A〜46Aの正規化を行なう(ステップS52)。そして、正規化されたヒストグラムのうちいずれか一つのヒストグラムを基準ヒストグラムとする。図29は正規化されたヒストグラムのうち2つのヒストグラム41A、42Aだけを表わしており、中央の円環状をした部分画像41から得たヒストグラム41Aを基準ヒストグラムとしている。
Next, feature amounts are extracted by the feature amount extraction unit 22 (step S51). FIG. 26 is a flowchart for explaining the feature extraction process in the third embodiment. In the case of the third embodiment, the
ついで、ヒストグラム41Aについて、ピーク位置の階調度Kpを検出し(ステップS53)、ピーク値Npのα倍の高さ(画素数)となる右側の位置の階調度Krと左側の位置の階調度Klとを求める(ステップS54、S55)。同様にして、他のヒストグラム42A〜46Aについても、ピーク位置の階調度Kp´、…を検出し(ステップS53)、ピーク値Npのα倍の高さとなる右側の位置の階調度Kr´、…と左側の位置の階調度Kl´、…とを求める(ステップS54、S55)。
Next, with respect to the
こうしてすべてのヒストグラム41A〜46Aについて、ピーク位置の階調度Kp、Kp´、…と高さがα×Np(以下、閾値と呼ぶ。)の位置における右側と左側の階調度Kr、Kr´、…;Kl、Kl´、…とを求め終わったら(ステップS56でYESの場合)、図29に示すように、ヒストグラム41Aを基準として、基準ヒストグラム41Aのピーク位置Kpから他のヒストグラム42Aのピーク位置Kp´までの偏差Gp=Kp´−Kpを求め(ステップS57)、ついで基準ヒストグラム41Aの閾値における右側の階調度Krから他のヒストグラム42Aの閾値における右側の階調度Kr´までの偏差Gr=Kr´−Krを求め(ステップS58)、さらに基準ヒストグラム41Aの閾値における左側の階調度Klから他のヒストグラム42Aの閾値における右側の階調度Kl´までの偏差Gl=Kl´−Klを求める(ステップS59)。
Thus, for all the
こうして基準ヒストグラム41A以外のすべてのヒストグラム42A〜46Aについて、それぞれのピーク位置の偏差と閾値における右側の階調度と左側の階調度の各偏差を求め終わったら(ステップS60)、特徴量の抽出処理を終了する。
In this way, for all the
特徴量の抽出が終了したら、基準ヒストグラム41Aのピーク位置Kpをマスターコインデータ記憶部23に記憶されているマスターコインの基準ヒストグラムのピーク位置と比較照合する(ステップS61)。そして、この照合の結果、基準ヒストグラム41Aのピーク位置Kpがマスターコインの基準ヒストグラムのピーク位置と一致しない場合(ステップS62でNOの場合)には、マスターコインデータ記憶部23にマスターコインのデータが2面について存在しているか否かを調べ(ステップS63)、2面のデータが存在していなければ(ステップS63でNOの場合)、コイン2はマスターコインと不一致であると判断し、コイン2を返却口に排出する(ステップS78)。
When the feature amount extraction is completed, the peak position Kp of the
また、マスターコインのデータが2面について存在している場合(ステップS63でYESの場合)には、第2の面についても照合する。すなわち、基準ヒストグラム41Aのピーク位置Kpと、マスターコインデータ記憶部23に記憶されているマスターコインの第2の面における基準ヒストグラムのピーク位置とを照合し(ステップS64)、コイン2のピーク位置Kpとマスターコインのピーク位置が一致するか否か判定する(ステップS65)。
Further, when master coin data exists for two sides (YES in step S63), the second side is also checked. That is, the peak position Kp of the
基準ヒストグラム41Aのピーク位置Kpがマスターコインの第2の面における基準ヒストグラムのピーク位置と一致しない場合(ステップS65においてNOの場合)には、コイン2は真正のコインでないと判断し、コイン2を返却口に排出する(ステップS78)。
If the peak position Kp of the
これに対し、ステップS62又はS65において、基準ヒストグラム41Aのピーク位置Kpがマスターコインの第1又は第2の面における基準ヒストグラムのピーク位置と一致した場合には、さらに基準ヒストグラム41Aの閾値における右側での階調度Krとマスターコインデータ記憶部23に記憶されているマスターコインの基準ヒストグラムの閾値における右側での階調度とを照合する(ステップS66)。また、基準ヒストグラム41Aの閾値における左側での階調度Klとマスターコインデータ記憶部23に記憶されているマスターコインの基準ヒストグラムの閾値における左側での階調度とを照合する(ステップS68)。ただし、ステップS62で基準ヒストグラム41Aのピーク位置がマスターコインの第1の面のピーク位置と一致した場合には、ステップS66及びS68で照合するマスターコインの閾値における右側及び左側での階調度も第1の面におけるものである。また、ステップS65で基準ヒストグラム41Aのピーク位置がマスターコインの第2の面のピーク位置と一致した場合には、ステップS66及びS68で照合するマスターコインの閾値における右側及び左側での階調度も第2の面におけるものである。
On the other hand, in step S62 or S65, when the peak position Kp of the
ステップS66における照合の結果、閾値における右側での階調度Krが一致しない場合(ステップS67でNOの場合)、あるいはステップS68における照合の結果、閾値における左側での階調度Klが一致しない場合(ステップS69でNOの場合)には、コイン2はマスターコインと一致せず、真正のコインでないと判断されて返却口から排出される(ステップS78)。
As a result of the collation in step S66, the gradation degree Kr on the right side of the threshold value does not match (in the case of NO in step S67), or as a result of the collation in step S68, the gradation degree Kl on the left side of the threshold value does not match (step In the case of NO in S69, the
一方、ステップS66及びS68における照合の結果、閾値における右側での階調度と左側での階調度とがそれぞれ一致した場合(ステップS67及びS69でYESの場合)には、ヒストグラム41Aを基準とするピーク位置等の偏差とマスターコインにおける基準ヒストグラムを基準とするピーク位置等の偏差とを比較照合する(ステップS70〜S76)。すなわち、ステップS51で求めたヒストグラム42Aと基準ヒストグラム41Aとのピーク位置の偏差Gp(以下、ピーク位置偏差という。)をマスターコインにおけるヒストグラム42Aのピーク位置偏差と比較照合する(ステップS70)。また、ステップS51で求めたヒストグラム42Aと基準ヒストグラム41Aとの閾値における左側の階調度の偏差Gr(以下、左側偏差という。)をマスターコインにおけるヒストグラム42Aの左側偏差と比較照合する(ステップS72)。さらに、ステップS51で求めたヒストグラム42Aと基準ヒストグラム41Aとの閾値における右側の階調度の偏差Gl(以下、右側偏差という。)をマスターコインにおけるヒストグラム42Aの右側偏差と比較照合する(ステップS74)。
On the other hand, as a result of the collation in steps S66 and S68, when the gradient on the right side and the gradient on the left side match in the threshold value (YES in steps S67 and S69), the peak based on the
同様に、他のヒストグラム43A〜46Aについても、ピーク位置偏差、右側偏差及び左側偏差をそれぞれマスターコインのピーク位置偏差、右側偏差及び左側偏差と比較照合する(ステップS70、S72、S74)。
Similarly, with respect to the
こうして基準ヒストグラム41Aを基準とするヒストグラム42A〜46Aのピーク位置偏差、右側偏差及び左側偏差をそれぞれステップS70、S72及びS74でマスターコインのものと比較照合した結果、これらの特徴量のいずれかがマスターコインの特徴量と一致しない場合(ステップS71、S73又はS75のいずれかでNOの場合)には、コイン2は返却口に排出される(ステップS78)。
Thus, as a result of comparing and comparing the peak position deviation, right side deviation, and left side deviation of the
また、すべてのヒストグラム42A〜46Aについて比較照合を行った結果(ステップS76でYESとなった後)、いずれのヒストグラム42A〜46Aについてもその特徴量がマスターコインの特徴量と一致した場合(ステップS71、S73及びS75のいずれでもYESの場合)には、当該コイン2は真正のコインであると判定し、出力部25から真正のコインであることを伝える信号を出力する。
In addition, as a result of comparison and collation for all the
なお、ステップS62、S66、S68、S70、S72、S74における比較照合でピーク位置や偏差等の特徴量が一致するとは、完全に一致することを意味するものではなく、コイン2の特徴量が、マスターコインの特徴量を中心とする所定の範囲内に納まっていればよい。照明装置3の経時的な照度の変化などを考慮する必要があるからである。また、マスターコインデータ記憶部23に格納されているマスターコインの特徴量は、複数枚のマスターコインから取得された特徴量から生成したものであってもよい。例えば、複数枚のマスターコインから得た右側偏差や左側偏差の平均値をマスターコインの右側偏差や左側偏差としてもよく、あるいは、複数枚のマスターコインから得た右側偏差や左側偏差のうち最大値、または最小値をマスターコインの右側偏差や左側偏差としてもよい。
It should be noted that the fact that the feature values such as the peak position and the deviation match in the comparison and collation in steps S62, S66, S68, S70, S72, and S74 does not mean that the feature values of the
実施例3のような特徴量を用いれば、コイン判別装置によるコインの真偽判別精度をより高くすることができた。また、この実施例でも、各部分画像間に隙間をあけることにより、判別精度をより向上させることができる。 If the feature amount as in the third embodiment is used, it is possible to further improve the accuracy of coin authenticity by the coin discriminating apparatus. Also in this embodiment, the discrimination accuracy can be further improved by providing a gap between the partial images.
また、実施例1〜3に記載したコイン判別方法を組み合わせれば、よりコイン判別精度を高くすることができる。 Further, by combining the coin discrimination methods described in the first to third embodiments, the coin discrimination accuracy can be further increased.
1 コイン通路転動路
2 コイン
3 照明装置
4 撮像装置
6 光源
8 撮像素子
10 結像レンズ
13 受光素子
14 投光素子
16 コイン判別処理部
17 コイン形状抽出部
18 コイン中心検出部
19 画像シフト部
20 画像分割処理部
21 ヒストグラム生成部
22 特徴量抽出部
23 マスターコインデータ記憶部
24 判定処理部
25 出力部
26 コイン画像
27 画面
28 背景画像
DESCRIPTION OF
Claims (9)
マスターコインの濃度ヒストグラムから得た特徴量を保存した記憶手段と、
対象コインの画像を取得するための撮像手段と、
前記画像から濃度ヒストグラムを生成するヒストグラム生成手段と、
前記ヒストグラム生成手段によって生成された濃度ヒストグラムから、対象コインの特徴量を抽出する特徴量抽出手段と、
前記記憶手段に保存されたマスターコインの特徴量と、前記特徴量抽出手段により抽出された対象コインの特徴量とを比較することによって対象コインの真偽を判定する手段と、
を備えたコイン判別装置。 A coin discriminating device for discriminating the authenticity of a target coin based on an image,
Storage means for storing feature values obtained from the density histogram of the master coin;
Imaging means for acquiring an image of the target coin;
Histogram generating means for generating a density histogram from the image;
Feature amount extraction means for extracting the feature amount of the target coin from the density histogram generated by the histogram generation means;
Means for determining the authenticity of the target coin by comparing the feature quantity of the master coin stored in the storage means with the feature quantity of the target coin extracted by the feature quantity extraction means;
A coin discrimination device.
前記ヒストグラム生成手段は、前記画像分割処理手段により分割された各分割画像毎の濃度ヒストグラムを生成し、
前記特徴量抽出手段は、各分割画像毎の濃度ヒストグラムから各々の特徴量を抽出し、
前記判定手段は、対象コインの各分割画像の濃度ヒストグラムから抽出された各特徴量と、マスターコインの対応する特徴量とを比較することを特徴とする、請求項1に記載のコイン判別装置。 Image division processing means for dividing the image of the target coin acquired by the imaging means into a plurality of annular or circular regions;
The histogram generation means generates a density histogram for each divided image divided by the image division processing means,
The feature amount extraction means extracts each feature amount from a density histogram for each divided image,
The coin determination apparatus according to claim 1, wherein the determination unit compares each feature amount extracted from the density histogram of each divided image of the target coin with a corresponding feature amount of the master coin.
撮像手段を用いて対象コインの画像を取得するステップと、
前記画像から濃度ヒストグラムを生成するステップと、
濃度ヒストグラムから、対象コインの特徴量を抽出するステップと、
前記記憶手段に保存されたマスターコインの特徴量と、前記対象コインの特徴量とを比較するステップと、
により対象コインの真偽を判定することを特徴とするコイン判別方法。 The feature value obtained from the density histogram of the master coin is stored in advance in the storage means,
Acquiring an image of the target coin using an imaging means;
Generating a density histogram from the image;
Extracting a feature amount of the target coin from the density histogram;
Comparing the feature amount of the master coin stored in the storage means with the feature amount of the target coin;
A coin discriminating method comprising: determining whether the target coin is true or false.
撮像手段を用いて対象コインの画像を取得するステップと、
前記画像から濃度ヒストグラムを生成するステップと、
濃度ヒストグラムから、対象コインの特徴量を抽出するステップと、
前記記憶手段に保存されたマスターコインの特徴量と、前記対象コインの特徴量とを比較するステップと、
を記録された記憶媒体。 Storing feature values obtained from the density histogram of the master coin;
Acquiring an image of the target coin using an imaging means;
Generating a density histogram from the image;
Extracting a feature amount of the target coin from the density histogram;
Comparing the feature amount of the master coin stored in the storage means with the feature amount of the target coin;
The recorded storage medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005112882A JP2006293651A (en) | 2005-04-08 | 2005-04-08 | Coin discriminating device, coin discriminating method, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005112882A JP2006293651A (en) | 2005-04-08 | 2005-04-08 | Coin discriminating device, coin discriminating method, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006293651A true JP2006293651A (en) | 2006-10-26 |
Family
ID=37414170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005112882A Pending JP2006293651A (en) | 2005-04-08 | 2005-04-08 | Coin discriminating device, coin discriminating method, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006293651A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016131685A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016131686A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016133949A (en) * | 2015-01-19 | 2016-07-25 | 株式会社メガチップス | Determination device, control program and determination method |
JP2016131684A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016131687A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2017094193A (en) * | 2017-02-03 | 2017-06-01 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2017119145A (en) * | 2017-02-03 | 2017-07-06 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2018043069A (en) * | 2017-12-21 | 2018-03-22 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2018043070A (en) * | 2017-12-21 | 2018-03-22 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
WO2023037955A1 (en) * | 2021-09-08 | 2023-03-16 | グローリー株式会社 | Coin identification device, coin processing device, and coin identification method |
-
2005
- 2005-04-08 JP JP2005112882A patent/JP2006293651A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016131685A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016131686A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016133949A (en) * | 2015-01-19 | 2016-07-25 | 株式会社メガチップス | Determination device, control program and determination method |
JP2016131684A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2016131687A (en) * | 2015-01-19 | 2016-07-25 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2017094193A (en) * | 2017-02-03 | 2017-06-01 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2017119145A (en) * | 2017-02-03 | 2017-07-06 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2018043069A (en) * | 2017-12-21 | 2018-03-22 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
JP2018043070A (en) * | 2017-12-21 | 2018-03-22 | 株式会社ユニバーサルエンターテインメント | Game machine and game medium discrimination device |
WO2023037955A1 (en) * | 2021-09-08 | 2023-03-16 | グローリー株式会社 | Coin identification device, coin processing device, and coin identification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006293651A (en) | Coin discriminating device, coin discriminating method, and storage medium | |
JP3525360B2 (en) | Coin discriminator | |
JP5838469B2 (en) | Disc discrimination method, disc discrimination device, and disc sorting device | |
US7010154B2 (en) | Money identifying method and device | |
US7044285B2 (en) | Coin discriminating apparatus and coin discriminating method | |
JP5174917B2 (en) | Coin damage determination apparatus and damage determination method | |
US7185750B2 (en) | Coin distinguishing method and device | |
JP2000149019A (en) | Circular object discriminating device | |
CN111462392A (en) | Method and device for identifying paper money based on multispectral image similarity algorithm | |
CN106934914B (en) | Method and device for anti-counterfeiting detection of paper money | |
CN108074321B (en) | Image boundary extraction method and device for paper money | |
JP2005031901A (en) | Coin identifying device and method | |
JP5953553B2 (en) | Disc discrimination method, disc discrimination device, and disc sorting device | |
US20040124065A1 (en) | Coin distinguishing method and device | |
CN108073921B (en) | Method and device for identifying banknote information | |
JP4431690B2 (en) | Disc-shaped object recognition system, apparatus and method | |
JP2002259977A (en) | Reader | |
JP5953614B2 (en) | Disc discrimination method, disc discrimination device, and disc sorting device | |
JP2003281593A (en) | Coin discrimination device, coin registration device, coin determination device and coin determination method | |
KR20230119999A (en) | System for banknote identifying based on YOLO algorithm and method thereof | |
JP2001331837A (en) | Method and device for discriminating coin | |
JP2002358551A (en) | Coin identification method and device | |
JPH08180235A (en) | Coin identifying device | |
JP2003123114A (en) | Coin discrimination device | |
CN113255641A (en) | Image identification method and device, electronic equipment and storage medium |