JP5572450B2 - Deformed coin discrimination method and coin processing apparatus - Google Patents

Deformed coin discrimination method and coin processing apparatus Download PDF

Info

Publication number
JP5572450B2
JP5572450B2 JP2010128245A JP2010128245A JP5572450B2 JP 5572450 B2 JP5572450 B2 JP 5572450B2 JP 2010128245 A JP2010128245 A JP 2010128245A JP 2010128245 A JP2010128245 A JP 2010128245A JP 5572450 B2 JP5572450 B2 JP 5572450B2
Authority
JP
Japan
Prior art keywords
coin
deformed
image
center
unit
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
JP2010128245A
Other languages
Japanese (ja)
Other versions
JP2011253463A (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.)
Glory Ltd
Original Assignee
Glory Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glory Ltd filed Critical Glory Ltd
Priority to JP2010128245A priority Critical patent/JP5572450B2/en
Publication of JP2011253463A publication Critical patent/JP2011253463A/en
Application granted granted Critical
Publication of JP5572450B2 publication Critical patent/JP5572450B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Coins (AREA)

Description

この発明は、変形硬貨を検出する変形硬貨判別方法および硬貨処理装置に関し、特に、硬貨処理装置にかかる製造コストを削減するとともに、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出することができる変形硬貨判別方法および硬貨処理装置に関するものである。   The present invention relates to a deformed coin discriminating method and a coin processing device that detect a deformed coin, and in particular, reduces the manufacturing cost of the coin processing device, and downsizes a coin identifying portion that performs coin recognition and a coin processing device housing. The present invention relates to a deformed coin discriminating method and a coin processing device that can detect deformed coins with high accuracy.

従来、硬貨の画像をカメラで撮像し、撮像された画像に基づいて硬貨の変形レベルを判定し、判定した変形レベルによって変形硬貨であるか否かを判別する変形硬貨判別手法が知られている。   2. Description of the Related Art Conventionally, there is known a deformed coin discriminating method in which an image of a coin is captured by a camera, a deformation level of the coin is determined based on the captured image, and whether or not the coin is a deformed coin is determined based on the determined deformation level. .

たとえば、特許文献1には、カメラで撮像された画像に基づいて長径と短径との比率によって変形硬貨であるか否かを判別する変形硬貨判別手法が開示されている。また、特許文献1には、光学式の厚みセンサによって硬貨の高さを検出し、検出された高さに基づいて変形硬貨であるか否かを判別する変形硬貨判別手法も開示されている。   For example, Patent Document 1 discloses a deformed coin discriminating method for discriminating whether or not a coin is a deformed coin based on a ratio between a major axis and a minor axis based on an image captured by a camera. Patent Document 1 also discloses a deformed coin discriminating method that detects the height of a coin with an optical thickness sensor and discriminates whether or not the coin is a deformed coin based on the detected height.

かかる変形硬貨判別手法では、長径および短径の比率が所定の閾値以上である場合や、検出された硬貨の高さが所定の閾値以上である場合に変形硬貨であると判別する。また、かかる変形硬貨判別手法は、カメラで撮像された画像に基づいて偽の硬貨であるか否か、すなわち「正貨」または「偽貨」の判別も行う。   In such a deformed coin discrimination method, when the ratio of the major axis and the minor axis is equal to or greater than a predetermined threshold, or when the detected coin height is equal to or greater than the predetermined threshold, it is determined that the coin is a deformed coin. The deformed coin discrimination method also determines whether or not the coin is a fake coin, that is, “true coin” or “fake coin” based on an image captured by the camera.

特開2000−251109号公報JP 2000-251109 A

しかしながら、従来の変形硬貨判別手法を適用した硬貨処理装置には、硬貨識別を行う硬貨識別部分の大きさを小型化することができないという問題があった。具体的には、従来の硬貨処理装置は、金種を識別するための磁気センサと光学式の厚みセンサとを備える必要があるので、必然的に硬貨識別部分が大きくなってしまう。   However, the coin processing device to which the conventional deformed coin discriminating method is applied has a problem that the size of the coin discriminating portion for discriminating the coin cannot be reduced. Specifically, since the conventional coin processing apparatus needs to include a magnetic sensor for identifying the denomination and an optical thickness sensor, the coin identifying portion inevitably becomes large.

また、従来の変形硬貨判別手法を適用した硬貨処理装置は、硬貨識別部分が大きくなるとともに、硬貨処理装置の筐体も大きくなる。これにより、装置にかかる製造コストも膨らんでしまう。また、従来の硬貨処理装置は、磁気センサと厚みセンサとを備えるためのコストもかかることとなる。   Moreover, the coin processing apparatus to which the conventional deformed coin discrimination method is applied has a large coin identification portion and a large casing of the coin processing apparatus. Thereby, the manufacturing cost concerning an apparatus will also swell. Moreover, the conventional coin processing apparatus will also cost for providing a magnetic sensor and a thickness sensor.

さらに、従来の硬貨処理装置では、長径および短径の比率のみによる変形硬貨の判別手法であるため精度が悪いという問題があった。   Furthermore, the conventional coin processing apparatus has a problem that accuracy is poor because it is a technique for discriminating deformed coins based only on the ratio of the major axis and the minor axis.

これらのことから、硬貨処理装置にかかる製造コストを削減するとともに、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出することができる変形硬貨判別方法および硬貨処理装置をいかにして実現するかが大きな課題となっている。   From these things, while reducing the manufacturing cost concerning a coin processing apparatus, the deformation | transformation coin discriminating method which can detect a deformation | transformation coin with high precision, reducing the coin identification part which performs a coin identification, and the housing | casing of a coin processing apparatus, and How to realize a coin processing device is a big issue.

本発明は、上述した従来技術による問題点を解消するためになされたものであって、硬貨処理装置にかかる製造コストを削減するとともに、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出することができる変形硬貨判別方法および硬貨処理装置を提供することを目的とする。   The present invention has been made in order to solve the above-described problems caused by the prior art, and reduces the manufacturing cost of the coin processing device and provides a coin identifying portion for performing coin identification and a housing for the coin processing device. An object of the present invention is to provide a deformed coin discriminating method and a coin processing device capable of detecting a deformed coin with high accuracy while being downsized.

上述した課題を解決し、目的を達成するため、本発明は、変形した硬貨を検出する硬貨処理装置に適用される変形硬貨判別方法であって、前記硬貨の画像を取得する画像取得工程と、前記画像取得工程によって取得された前記画像の特徴に基づいて前記硬貨の中心を設定する中心設定工程と、前記中心設定工程によって設定された前記硬貨の中心について極座標変換した画像を取得する極座標画像取得工程と、前記極座標画像取得工程によって取得された画像の特徴に基づいて前記硬貨の金種を識別する識別工程と、前記極座標画像取得工程によって取得された画像に基づいて前記硬貨における外周部の軌道の欠損量を検出する欠損量検出工程と、前記欠損量検出工程によって検出された前記欠損量と前記識別工程によって識別された前記硬貨の金種ごとに予め記憶されている閾値とに基づいて前記硬貨が変形しているか否かを判別する判別工程とを含んだことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is a deformed coin discrimination method applied to a coin processing device that detects a deformed coin, and an image acquisition step of acquiring an image of the coin; A center setting step for setting the center of the coin based on the characteristics of the image acquired by the image acquisition step, and a polar coordinate image acquisition for acquiring a polar coordinate transformed image for the center of the coin set by the center setting step A step of identifying the denomination of the coin based on the characteristics of the image acquired by the polar coordinate image acquisition step, and a trajectory of the outer periphery of the coin based on the image acquired by the polar coordinate image acquisition step of the deficiency amount detection step of detecting a defect amount, the hardness identified the deficiency amount detected by the deficiency detecting step and by the identification step Characterized in that it includes a determination step of determining whether the coin is deformed based on each of the denomination and the threshold stored in advance.

また、本発明は、上記の発明において、前記中心設定工程は、前記画像取得工程によって取得された前記画像の特徴に基づいて設定された仮の中心について極座標変換した画像から検出される前記外周部の軌道に基づき、前記仮の中心を真の中心へ補正することを特徴とする。   Further, in the present invention according to the above invention, in the above-described invention, in the center setting step, the outer peripheral portion detected from an image obtained by performing polar coordinate conversion on a temporary center set based on the feature of the image acquired by the image acquisition step Based on the trajectory, the temporary center is corrected to a true center.

また、本発明は、上記の発明において、前記欠損量検出工程は、前記外周部の軌道の欠損量として、前記硬貨における外周部の軌道の欠損長を使用することを特徴とする。 Further, the present invention is characterized in that, in the above-mentioned invention, the defect amount detecting step uses a defect length of an outer periphery orbit in the coin as the defect amount of the outer periphery orbit.

また、本発明は、上記の発明において、前記欠損量検出工程は、前記外周部の軌道の欠損量として、前記硬貨における外周部の軌道の欠損部分を円弧とする内角で示される欠損角を使用することを特徴とする。 Further, the present invention is used in the above invention, the deficiency detecting step, a deficiency of the trajectory of the outer peripheral portion, a defect angle indicated the lost portion of the trajectory of the outer peripheral portion of the coin in the inner angle of a circular arc characterized in that it.

また、本発明は、変形した硬貨を検出する硬貨処理装置であって、搬送路上に前記硬貨を順次搬送させ、ベルト状の押さえ機構で前記硬貨を押さえつけつつ搬送する硬貨搬送手段と、前記硬貨の画像を取得する画像取得手段と、前記画像取得手段によって取得された前記画像の特徴に基づいて前記硬貨の中心を設定する中心設定手段と、前記中心設定手段によって設定された前記硬貨の中心について極座標変換した画像を取得する極座標画像取得手段と、前記極座標画像取得手段によって取得された前記画像の特徴に基づいて前記硬貨の種類を識別する識別手段と、硬貨の金種毎に定められた変形していると判定するための閾値を記憶する記憶手段と、前記極座標画像取得手段によって取得された前記画像に基づいて前記硬貨における外周部の軌道の欠損量を検出する欠損量検出手段と、前記識別手段によって識別された前記硬貨の金種に対応する閾値を前記記憶手段から読み出すとともに、読み出した閾値と前記欠損量検出手段によって検出された前記欠損量とに基づいて前記硬貨が変形しているか否かを判別する判別手段と、前記識別手段によって識別された識別結果および前記判別手段によって判別された判別結果に基づいて前記硬貨を収納部または返却口へ分別する分別手段とを備えたことを特徴とする。 Further, the present invention is a coin processing device that detects a deformed coin, and sequentially conveys the coins on a conveyance path, and conveys the coins while pressing the coins with a belt-like pressing mechanism; Polar coordinates for the center of the coin set by the center setting means, image setting means for acquiring an image, center setting means for setting the center of the coin based on the characteristics of the image acquired by the image acquiring means Polar coordinate image acquisition means for acquiring the converted image, identification means for identifying the type of the coin based on the characteristics of the image acquired by the polar coordinate image acquisition means, and deformation determined for each denomination of the coin storage means for storing a threshold value for determining that the outer peripheral portion of the coin based on the image acquired by the polar coordinate image acquisition unit A defect detecting means for detecting the amount of missing track, reads a threshold value corresponding to the denomination of the coins identified from said storage means by said identification means, which is detected by the read-out threshold and the deficiency amount detecting means discriminating means for discriminating whether or not the coin is deformed on the basis of said vacancies, said housing part the coin based on the determination result determined by the identified identification result and the determination means by the identification means Alternatively, a sorting means for sorting into the return port is provided.

本発明によれば、変形した硬貨を検出する硬貨処理装置に適用される変形硬貨判別方法であって、硬貨の画像を取得し、取得された画像の特徴に基づいて硬貨の中心を設定し、設定された硬貨の中心について極座標変換した画像を取得し、取得された画像の特徴に基づいて前記硬貨の金種を識別するとともに、取得された画像に基づいて硬貨における外周部の軌道の欠損量を検出し、検出された欠損量と識別された硬貨の金種ごとに予め記憶されている閾値とに基づいて硬貨が変形しているか否かを判別することとしたので、変形硬貨判別手法を適用した硬貨処理装置にかかる製造コストを削減するとともに、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出することができるという効果を奏する。特に、硬貨の金種ごとの特徴による変形率の違いを包含することが可能となり、より高精度に変形部分を検出することができるという効果を奏する。 According to the present invention, a deformed coin discrimination method applied to a coin processing device that detects a deformed coin, acquiring an image of a coin, setting the center of the coin based on the characteristics of the acquired image, An image obtained by converting polar coordinates about the set center of the coin is acquired, and the denomination of the coin is identified based on the characteristics of the acquired image, and the missing amount of the trajectory of the outer peripheral portion of the coin based on the acquired image And determining whether or not the coin is deformed based on the detected amount of loss and the threshold value stored in advance for each of the identified coin denominations. In addition to reducing the manufacturing cost of the applied coin processing apparatus, it is possible to detect a deformed coin with high accuracy while reducing the size of the coin identifying portion for performing coin identification and the housing of the coin processing apparatus. In particular, it is possible to include a difference in deformation rate depending on the characteristics of each denomination of coins, and it is possible to detect a deformed portion with higher accuracy.

また、本発明によれば、取得された画像の特徴に基づいて設定された仮の中心について極座標変換した画像から検出される外周部の軌道に基づき、仮の中心を真の中心へ補正することとしたので、変形部分を検出する際に、補正した中心に基づいて検出された外周部は直線となり、精度良く変形部分を検出することができるという効果を奏する。   According to the present invention, the temporary center is corrected to the true center based on the trajectory of the outer peripheral portion detected from the image obtained by polar-coordinate conversion with respect to the temporary center set based on the characteristics of the acquired image. Therefore, when detecting the deformed portion, the outer peripheral portion detected based on the corrected center becomes a straight line, and there is an effect that the deformed portion can be detected with high accuracy.

また、本発明によれば、外周部の軌道の欠損量として、硬貨における外周部の軌道の欠損長を使用することとしたので、精度良く変形部分を検出することができるという効果を奏する。 In addition, according to the present invention, since the defect length of the outer peripheral track in the coin is used as the defect amount of the outer peripheral track, it is possible to detect the deformed portion with high accuracy.

また、本発明によれば、外周部の軌道の欠損量として、硬貨における外周部の軌道の欠損部分を円弧とする内角で示される欠損角を使用することとしたので、精度良く変形部分を検出することができるという効果を奏する。 Further, according to the present invention, as the amount of missing raceway of the outer peripheral portion, so it was decided to use a deficiency angle indicated by the internal angle of the lost portion of the trajectory of the outer peripheral portion and the arc of the coin, accurately detected deformations There is an effect that can be done.

また、本発明によれば、変形した硬貨を検出する硬貨処理装置であって、搬送路上に硬貨を順次搬送させ、ベルト状の押さえ機構で硬貨を押さえつけつつ搬送し、硬貨の画像を取得し、取得された画像の特徴に基づいて硬貨の中心を設定し、設定された硬貨の中心について極座標変換した画像を取得し、取得された画像の特徴に基づいて硬貨の種類を識別し、取得された画像に基づいて硬貨における外周部の軌道の欠損量を検出し、識別された硬貨に対応する閾値を読み出すとともに、読み出した閾値と検出された欠損量とに基づいて硬貨が変形しているか否かを判別し、さらに、識別された識別結果および/または判別手段によって判別された判別結果に基づいて硬貨を収納部または返却口へ分別することとしたので、挿入された硬貨を搬送路上に1枚ずつ搬送することができるとともに硬貨の浮きを防止することができるという効果を奏する。また、このようにすることによって、変形硬貨が誤って払出しされることがないだけでなく、硬貨処理装置の硬貨詰まり等による障害の発生を低減することによって硬貨処理装置の利用客に対して不利益を負わせることがないという効果を奏する。 Moreover, according to the present invention, a coin processing device that detects a deformed coin, sequentially conveys coins on a conveyance path, conveys the coins while pressing the coins with a belt-like pressing mechanism, and acquires an image of the coins. The center of the coin is set based on the acquired feature of the image, the image obtained by polar coordinate conversion is acquired about the set center of the coin, the type of the coin is identified based on the acquired feature of the image, and the acquired Based on the image, the missing amount of the orbit of the outer periphery of the coin is detected, the threshold corresponding to the identified coin is read, and whether the coin is deformed based on the read threshold and the detected missing amount And the coins are sorted into the storage unit or the return port based on the identified identification result and / or the discrimination result discriminated by the discriminating means. It is possible to transport one by one on the road is an effect that it is possible to prevent the floating of the coin. In addition to this, not only the deformed coins are not accidentally paid out, but also the occurrence of troubles due to coin clogging or the like of the coin processing device is reduced, so that it is not inconvenienced for users of the coin processing device. There is an effect of not incurring profits.

図1は、本発明に係る変形硬貨判別手法の概要を示す図である。FIG. 1 is a diagram showing an outline of a deformed coin discrimination method according to the present invention. 図2は、本実施例に係る硬貨処理装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating the configuration of the coin processing device according to the present embodiment. 図3は、閾値情報の一例を示す図である。FIG. 3 is a diagram illustrating an example of threshold information. 図4は、硬貨処理装置の側面図である。FIG. 4 is a side view of the coin processing device. 図5は、仮の中心の設定手法について説明する図である。FIG. 5 is a diagram for explaining a temporary center setting method. 図6は、部分画像の切り出しの一例を示す図である。FIG. 6 is a diagram illustrating an example of cutting out a partial image. 図7は、部分画像の極座標変換処理について説明する図である。FIG. 7 is a diagram for explaining polar coordinate conversion processing of a partial image. 図8は、中心位置の補正手法について説明する図である。FIG. 8 is a diagram for explaining a center position correction method. 図9は、仮の中心の補正手法の一例を示す図である。FIG. 9 is a diagram illustrating an example of a temporary center correction method. 図10は、硬貨処理装置が実行する変形硬貨判別処理手順を示すフローチャートである。FIG. 10 is a flowchart showing a modified coin discrimination processing procedure executed by the coin processing device.

以下に添付図面を参照して、本発明に係る変形硬貨判別方法および硬貨処理装置の実施例を詳細に説明する。まず、実施例の詳細な説明に先立って、本発明に係る変形硬貨判別手法の概要について図1を用いて説明する。   Exemplary embodiments of a deformed coin discrimination method and a coin processing device according to the present invention will be described below in detail with reference to the accompanying drawings. First, prior to detailed description of the embodiment, an outline of the modified coin discrimination method according to the present invention will be described with reference to FIG.

本発明に係る変形硬貨判別手法では、硬貨が変形している場合に、外周部の画像に含まれる変形部分の長さ(以下、「欠損長」と記載する)または欠損角によって変形硬貨であるかを判別することに主たる特徴がある。なお、欠損角とは、変形部分の両端と硬貨の中心とを結んでできる円弧の内角のことである。   In the deformed coin discriminating method according to the present invention, when a coin is deformed, it is a deformed coin depending on the length of the deformed portion (hereinafter referred to as “defect length”) or the defect angle included in the image of the outer periphery. The main feature is in determining whether or not. The missing angle is an inner angle of an arc formed by connecting both ends of the deformed portion and the center of the coin.

本発明に係る変形硬貨判別手法を適用した硬貨処理装置は、欠損長と硬貨の外周長との比率または欠損角を算出し、算出された比率によって変形硬貨であるかを判別する。ここでは、欠損長を用いた場合について説明するが、欠損角を用いた場合についても同様に適用することができる。以下では、図1を用いて、本発明に係る変形硬貨判別手法について概要について説明する。   The coin processing apparatus to which the deformed coin discriminating method according to the present invention is applied calculates the ratio between the missing length and the outer peripheral length of the coin or the missing angle, and discriminates whether the coin is a deformed coin based on the calculated ratio. Here, the case where the defect length is used will be described, but the same applies to the case where the defect angle is used. Below, the outline | summary is demonstrated about the deformation | transformation coin discrimination | determination method based on this invention using FIG.

図1は、本発明に係る変形硬貨判別手法の概要を示す図である。図1の(A)に示したように、まず、本発明に係る変形硬貨判別手法を適用した硬貨処理装置は、硬貨の画像を撮像し(図1の(1)参照)、撮像された画像の特徴に基づいて金種等を識別する(図1の(2)参照)。   FIG. 1 is a diagram showing an outline of a deformed coin discrimination method according to the present invention. As shown in FIG. 1A, first, the coin processing device to which the modified coin discrimination method according to the present invention is applied picks up an image of a coin (see (1) in FIG. 1), and the picked-up image. The denomination and the like are identified based on the characteristics (see (2) in FIG. 1).

具体的には、硬貨処理装置は、画像に映る硬貨の大きさや模様等によって金種や表裏を識別し、また、予め用意されている金種ごとの標準画像と比較する等の識別処理によって正貨または偽貨であるかの識別も行う。   Specifically, the coin processing device identifies the denomination and front and back according to the size and pattern of the coins shown in the image, and corrects by the identification process such as comparing with a standard image prepared for each denomination. It also identifies whether it is a currency or counterfeit.

ここで、硬貨が歪みや欠損により変形していた場合には、硬貨は、外周部の一部が欠損した画像が撮像される。たとえば、図1の(A)に示したように、右下の欠損部が変形部分の画像となる。   Here, when the coin is deformed due to distortion or loss, an image in which a part of the outer peripheral portion is lost is captured. For example, as shown in FIG. 1A, the lower right missing portion is an image of the deformed portion.

つづいて、硬貨処理装置は、図1の(B)の破線に示したように、2つの同心円に囲まれた部分の硬貨の画像を切り出す(図1の(3)参照)。なお、切り出される部分画像には少なくとも硬貨の外周部が含まれるように、2つの同心円の径を調整するものとする。   Subsequently, the coin processing device cuts out an image of the coin surrounded by two concentric circles as shown by the broken line in FIG. 1B (see (3) in FIG. 1). Note that the diameters of the two concentric circles are adjusted so that the cut out partial image includes at least the outer peripheral portion of the coin.

そして、硬貨処理装置は、図1の(C)に示したように、切り出しされた部分画像を極座標変換し、極座標で表される形式から2次元の直交座標平面上へ変換された画像から欠損長を検出する。なお、図1の(C)には、極座標変換された画像とともに、硬貨の中心方向を示す矢印を示している。   Then, as shown in FIG. 1C, the coin processing device performs polar coordinate conversion on the cut-out partial image, and deletes the image from the image converted from the polar coordinate format onto the two-dimensional orthogonal coordinate plane. Detect the length. In FIG. 1C, an arrow indicating the center direction of the coin is shown together with the image subjected to polar coordinate conversion.

その後、硬貨処理装置は、検出された欠損長と予め用意してある金種ごとの外周長とに基づいて変形硬貨であるか否かを判別する(図1の(4)参照)。具体的には、硬貨処理装置では、欠損長を外周長で除算した値(以下、「欠損長比率」と記載する)が、所定の閾値を超えた場合に、変形硬貨であると判別する。   Thereafter, the coin processing device determines whether or not the coin is a deformed coin based on the detected defect length and the peripheral length for each denomination prepared in advance (see (4) in FIG. 1). Specifically, in the coin processing device, when the value obtained by dividing the defect length by the outer peripheral length (hereinafter referred to as “defect length ratio”) exceeds a predetermined threshold, it is determined as a deformed coin.

このように、本発明に係る変形硬貨判別手法を適用した硬貨処理装置では、撮像された硬貨の変形部分を示す欠損長と金種ごとの外周長とによって変形硬貨であるか否かを精度よく判別することができる。   As described above, in the coin processing device to which the deformed coin discrimination method according to the present invention is applied, it is accurately determined whether or not the coin is a deformed coin by the defect length indicating the deformed portion of the imaged coin and the outer peripheral length for each denomination. Can be determined.

以下では、図1を用いて説明した変形硬貨判別手法を適用した硬貨処理装置についての実施例を詳細に説明する。まず、本実施例に係る硬貨処理装置10の構成について図2を用いて説明する。   Below, the Example about the coin processing apparatus to which the deformation | transformation coin discrimination | determination method demonstrated using FIG. 1 is applied is described in detail. First, the structure of the coin processing apparatus 10 according to the present embodiment will be described with reference to FIG.

図2は、本実施例に係る硬貨処理装置の構成を示すブロック図である。なお、図2では、硬貨処理装置10の特徴点を説明するために必要な構成要素のみを抜粋して示している。   FIG. 2 is a block diagram illustrating the configuration of the coin processing device according to the present embodiment. In FIG. 2, only constituent elements necessary for explaining the characteristic points of the coin processing apparatus 10 are extracted and shown.

硬貨処理装置10は、撮像部11と、リジェクト部12と、収納部13と、記憶部14と、制御部15とを備えている。また、記憶部14は、画像情報14aと、標準画像情報14bと、閾値情報14cとを記憶し、制御部15は、画像取得部15aと、外周部切り出し部15bと、金種識別部15cと、欠損長検出部15dと、変形硬貨判別部15eとをさらに備えている。   The coin processing device 10 includes an imaging unit 11, a reject unit 12, a storage unit 13, a storage unit 14, and a control unit 15. The storage unit 14 stores image information 14a, standard image information 14b, and threshold information 14c, and the control unit 15 includes an image acquisition unit 15a, an outer periphery cutout unit 15b, and a denomination identification unit 15c. The defect length detecting unit 15d and the deformed coin discriminating unit 15e are further provided.

撮像部11は、硬貨に対して緑光等の可視光や赤外光のうち1光源または複数の光源を照射する光照射装置と光照射装置から照射した光が硬貨に反射した反射光を受光するCCD(Charge Coupled Device)カメラ/CMOS(Complementary Metal Oxide Semiconductor)カメラとを備えている。そして、撮像部11は、硬貨の画像を撮像し、撮像された画像データを画像取得部15aへ渡す。   The imaging unit 11 receives a light irradiation device that irradiates one or a plurality of light sources among visible light and infrared light such as green light, and reflected light reflected from the light irradiation device on the coin. It includes a CCD (Charge Coupled Device) camera / CMOS (Complementary Metal Oxide Semiconductor) camera. And the imaging part 11 images the image of a coin, and passes the imaged image data to the image acquisition part 15a.

リジェクト部12は、変形硬貨判別部15eによって変形硬貨であると判別された硬貨や金種識別部15cや図示しない識別部によって正常な硬貨ではないと識別された硬貨の返却口である。   The reject unit 12 is a coin return port that has been identified as a deformed coin by the deformed coin discriminating unit 15e, a coin denominated by the denomination identifying unit 15c, or a discriminating unit (not shown) that is not a normal coin.

収納部13は、制御部15によって正常な硬貨であると判別された硬貨を収納する収納部である。また、収納部13は、複数備えることとしてもよく、金種別の収納部13へ硬貨が金種ごとに収納されてもよい。   The storage unit 13 is a storage unit that stores coins that are determined to be normal coins by the control unit 15. A plurality of storage units 13 may be provided, and coins may be stored for each denomination in the denomination storage unit 13.

記憶部14は、RAM(Random Access Memory)や不揮発性メモリといった記憶デバイスであり、画像情報14a、標準画像情報14b、および、閾値情報14cを記憶する。画像情報14aは、撮像部11で撮像された硬貨の画像データである。   The storage unit 14 is a storage device such as a random access memory (RAM) or a nonvolatile memory, and stores image information 14a, standard image information 14b, and threshold information 14c. The image information 14 a is image data of coins imaged by the imaging unit 11.

標準画像情報14bは、金種ごとの硬貨の外周長である。変形硬貨判別部15eでは、欠損長検出部15dで検出された欠損長と金種識別部15cで識別された金種に対応する標準画像情報14bとに基づいて変形硬貨であるか否かを判別する。   The standard image information 14b is the outer peripheral length of the coin for each denomination. The deformed coin discriminating unit 15e discriminates whether or not the coin is a deformed coin based on the defect length detected by the defect length detecting unit 15d and the standard image information 14b corresponding to the denomination identified by the denomination identifying unit 15c. To do.

閾値情報14cは、変形硬貨の判別の際に使用する閾値データである。変形硬貨判別部15eでは、算出した欠損長比率が閾値情報14cの閾値を超えた場合に変形硬貨であると判別する。ここで、閾値情報14cの詳細について図3を用いて説明しておく。   The threshold value information 14c is threshold value data used in the determination of a deformed coin. The deformed coin discriminating unit 15e discriminates that the coin is a deformed coin when the calculated loss length ratio exceeds the threshold value of the threshold information 14c. Here, details of the threshold information 14c will be described with reference to FIG.

図3は、閾値情報14cの一例を示す図である。図3に示すように、閾値情報14cは、「金種」項目と、「閾値」項目とを含んでいる。   FIG. 3 is a diagram illustrating an example of the threshold information 14c. As illustrated in FIG. 3, the threshold information 14 c includes a “denomination” item and a “threshold” item.

「金種」ごとに、「閾値」を設定しておき、算出された欠損長比率と閾値とを比較する際、硬貨の金種によってかかる金種に対応する閾値を用いる。たとえば、1円硬貨は材質が柔らかく変形しやすいので、ある程度の欠損長であっても想定内とし、変形硬貨と判別しないとするならば、閾値を他の硬貨より高めに設定することとしてもよい。   For each “denomination”, a “threshold value” is set, and when the calculated loss length ratio is compared with the threshold value, a threshold value corresponding to the denomination of the coin is used. For example, since a 1-yen coin is soft and easily deformed, even if it has a certain amount of defect length, if it is not assumed to be a deformed coin, the threshold value may be set higher than other coins. .

また、サイズの大きい硬貨は、サイズの小さい硬貨と比べて、欠損長比率が同じであっても欠損長が長い。したがって、いずれの硬貨についても同一の欠損長を変形硬貨とする場合には、閾値はサイズの大きい硬貨ほど高く(長く)設定することとなる。   In addition, a coin having a larger size has a longer defect length than a coin having a smaller size even if the defect length ratio is the same. Therefore, when the same loss length is used as a deformed coin for any coin, the threshold value is set higher (longer) as the coin has a larger size.

これにより、硬貨処理装置10では、硬貨の金種ごとの特徴による変形率の違いを包含することが可能となり、より高精度に変形部分を検出することができる。なお、閾値情報14cの閾値は、金種ごとではなく、1種類のみでもよい。   Thereby, in the coin processing apparatus 10, it becomes possible to include the difference of the deformation rate by the characteristic for every denomination of a coin, and it can detect a deformation | transformation part with higher precision. Note that the threshold value of the threshold information 14c may be only one type, not for each denomination.

図2の説明に戻り、硬貨処理装置10についての説明をつづける。制御部15は、硬貨処理装置10の全体制御を行う制御部である。画像取得部15aは、撮像部11で撮像された硬貨の画像データを取得し、記憶部14の画像情報14aへ渡す処理を行う処理部である。   Returning to the description of FIG. 2, the description of the coin processing device 10 will be continued. The control unit 15 is a control unit that performs overall control of the coin processing device 10. The image acquisition unit 15 a is a processing unit that performs processing for acquiring image data of a coin imaged by the imaging unit 11 and passing it to the image information 14 a of the storage unit 14.

外周部切り出し部15bは、外周部を含む部分画像を切り出す処理を行う処理部である。また、外周部切り出し部15bは、切り出した部分画像を、画像情報14aから設定された中心に基づいて極座標変換する処理を併せて行う。   The outer periphery cutout unit 15b is a processing unit that performs a process of cutting out a partial image including the outer periphery. Further, the outer peripheral cutout unit 15b performs a process of converting the cut partial image into polar coordinates based on the center set from the image information 14a.

具体的には、外周部切り出し部15bは、画像情報14aに映る硬貨の仮の中心を設定し、画像情報14aの外周部を含む部分画像を切り出し、外周部を検出する。その後、外周部切り出し部15bは、検出された外周部の軌道に基づいて硬貨の中心位置を補正し、補正した中心位置によって極座標変換を行う。ここで、極座標変換とは横軸に偏角θを、縦軸に半径をとって、各要素には画素の輝度を表わすように変換する。なお、外周部の切り出し手法の詳細については後述することとする。   Specifically, the outer periphery cutout unit 15b sets a temporary center of a coin shown in the image information 14a, cuts out a partial image including the outer periphery of the image information 14a, and detects the outer periphery. Thereafter, the outer periphery cutout unit 15b corrects the center position of the coin based on the detected outer track of the outer periphery, and performs polar coordinate conversion based on the corrected center position. Here, the polar coordinate conversion is performed so that the horizontal axis represents the declination θ and the vertical axis represents the radius, and each element represents the luminance of the pixel. The details of the outer peripheral cutting method will be described later.

金種識別部15cは、外周部切り出し部15bによって補正された中心位置および画像情報14aに映る硬貨の大きさや模様等によって金種、硬貨の表裏を識別する処理を行う処理部である。また、金種識別部15cは、記憶部14に予め記憶される金種ごとの標準画像との比較によって正貨であるか否かを識別する処理を併せて行う。なお、金種識別部15cは、金種を識別する際、硬貨の重さや厚み等によって識別することとしてもよい。   The denomination identifying unit 15c is a processing unit that performs a process of identifying the denomination and the front and back of the coins based on the center position corrected by the outer peripheral cutout unit 15b and the size and pattern of the coins reflected in the image information 14a. The denomination identifying unit 15c also performs a process of identifying whether or not it is a genuine coin by comparing with a standard image for each denomination stored in the storage unit 14 in advance. The denomination identifying unit 15c may identify the denomination based on the weight or thickness of the coin.

欠損長検出部15dは、外周部切り出し部15bによって極座標変換された画像から外周部を検出し、検出された外周部の欠損長を検出する処理を行う処理部である。   The missing length detection unit 15d is a processing unit that performs processing to detect the outer peripheral portion from the image that has been subjected to polar coordinate conversion by the outer peripheral portion cutout portion 15b, and to detect the detected defective length of the outer peripheral portion.

具体的には、欠損長検出部15dは、外周部切り出し部15bによって極座標変換された画素を所定の方向に検索し、画素の輝度が2画素連続で所定の閾値を超えた場合に外周部と判定し、検出する。そして、欠損長検出部15dは、検出された外周部から変形部分を示す欠損部分の長さ、すなわち欠損長を検出する。   Specifically, the missing length detection unit 15d searches for a pixel that has undergone polar coordinate conversion by the outer periphery cutout unit 15b in a predetermined direction, and when the pixel brightness exceeds a predetermined threshold for two consecutive pixels, Determine and detect. Then, the defect length detection unit 15d detects the length of the defect part indicating the deformed part from the detected outer peripheral part, that is, the defect length.

変形硬貨判別部15eは、金種識別部15cで識別された金種に対応する標準画像情報14bの外周長と欠損長検出部15dで検出された欠損長に基づいて欠損長比率を算出する処理を行う処理部である。具体的には、欠損長比率は、欠損長を外周長で除算した値で、式(1)のようになる。   The deformed coin discriminating unit 15e calculates a defect length ratio based on the outer peripheral length of the standard image information 14b corresponding to the denomination identified by the denomination identifying unit 15c and the defect length detected by the defect length detecting unit 15d. Is a processing unit. Specifically, the defect length ratio is a value obtained by dividing the defect length by the outer peripheral length, and is represented by Expression (1).

欠損長比率=欠損長/外周長 …(1)   Defect length ratio = Defect length / Outer circumference length (1)

そして、変形硬貨判別部15eは、算出された欠損長比率が閾値情報14cの閾値を超えた場合に変形硬貨であると判別する。また、変形硬貨であると判別された硬貨は、リジェクト部12へと排出される。一方、変形硬貨ではないと判別された硬貨は、収納部13へ収納される。なお、変形硬貨であると判別された硬貨は、リジェクト部12へ排出されることとしたが、リサイクル使用しないこととして、収納部13へ収納されてもよい。また、リジェクト用の収納部を硬貨処理装置10内に別に設け、変形硬貨であると判別された硬貨はリジェクト用の収納部へ分別されて収納されてもよい。   And the deformation | transformation coin discrimination | determination part 15e discriminate | determines that it is a deformation | transformation coin, when the calculated defect | deletion length ratio exceeds the threshold value of the threshold value information 14c. Moreover, the coin determined to be a deformed coin is discharged to the reject unit 12. On the other hand, the coin determined not to be a deformed coin is stored in the storage unit 13. The coins determined to be deformed coins are discharged to the reject unit 12, but may be stored in the storage unit 13 as not being recycled. In addition, a reject storage unit may be separately provided in the coin processing apparatus 10, and coins determined to be deformed coins may be sorted and stored in the reject storage unit.

つぎに、硬貨処理装置10の概要構成を説明するために、図4を用いて硬貨処理装置10の内部構造について説明する。図4は、硬貨処理装置の側面図である。   Next, in order to explain the schematic configuration of the coin processing device 10, the internal structure of the coin processing device 10 will be described with reference to FIG. FIG. 4 is a side view of the coin processing device.

図4に示すように、硬貨処理装置10は、略直方体形状の筐体20と、筐体20の外部から内部に硬貨を投入するための投入口21と、投入口21に投入された硬貨を後述する硬貨繰出ユニット24へ供給するための供給部22とを備えている。さらに、硬貨処理装置10に備える筐体20内部には、制御部15が設けられ、各構成要素を制御する。   As shown in FIG. 4, the coin processing device 10 includes a substantially rectangular parallelepiped housing 20, a slot 21 for throwing coins into the inside from the outside of the casing 20, and coins thrown into the slot 21. And a supply unit 22 for supplying to a coin feeding unit 24 described later. Furthermore, the control part 15 is provided in the housing | casing 20 with which the coin processing apparatus 10 is provided, and controls each component.

また、硬貨処理装置10は、供給部22から供給された硬貨を貯留するとともに硬貨を繰出す硬貨繰出ユニット24をさらに備える。硬貨繰出ユニット24には、繰出された硬貨を筐体20の内部で搬送する搬送部25が接続されている。   The coin processing device 10 further includes a coin feeding unit 24 that stores the coins supplied from the supply unit 22 and feeds the coins. The coin feeding unit 24 is connected to a transport unit 25 that transports the fed coins inside the housing 20.

搬送部25には、略水平方向に延びる搬送路26が設けられ、硬貨繰出ユニット24から繰出された硬貨が搬送路26に沿って1枚ずつ搬送される。搬送路26の上方には図示しないベルト状の硬貨押さえ機構が設けられ、搬送路26上で搬送される硬貨の浮きを防止する。   The conveyance unit 25 is provided with a conveyance path 26 extending in a substantially horizontal direction, and coins fed from the coin feeding unit 24 are conveyed one by one along the conveyance path 26. A belt-shaped coin pressing mechanism (not shown) is provided above the conveyance path 26 to prevent the coins conveyed on the conveyance path 26 from floating.

また、搬送部25の上流側には、撮像部11が設けられ、撮像部11を通過する硬貨の画像が撮像される。一方、搬送部25の下流側には、選別部27が設けられ、搬送部25から搬送路26経由で搬送された硬貨が、金種識別部15cによって識別された識別結果等に基づいて選別され、各開口部28a,28b,28c,28dへ送られる。   An imaging unit 11 is provided on the upstream side of the transport unit 25, and an image of a coin passing through the imaging unit 11 is captured. On the other hand, a sorting unit 27 is provided on the downstream side of the transport unit 25, and coins transported from the transport unit 25 via the transport path 26 are sorted based on the identification result identified by the denomination identifying unit 15c. Are sent to the openings 28a, 28b, 28c, 28d.

具体的には、変形硬貨判別部15eによって変形硬貨であると判別された硬貨、金種識別部15cによって識別することができない硬貨、または、正貨でないと識別された硬貨は、リジェクト硬貨としてリジェクト部12へ排出される。   Specifically, a coin that has been identified as a modified coin by the deformed coin discriminating unit 15e, a coin that cannot be identified by the denomination identifying unit 15c, or a coin that has been identified as not being a genuine coin is rejected as a reject coin. It is discharged to the section 12.

その際、リジェクト硬貨は、選別部27の下方に設けられるリジェクト硬貨開口部28aおよびリジェクト硬貨シュート31を介して筐体20の外部からアクセス可能なリジェクト部12へ排出されることとなる。   At that time, the reject coins are discharged to the reject unit 12 accessible from the outside of the housing 20 through the reject coin opening 28 a and the reject coin chute 31 provided below the sorting unit 27.

また、金種識別部15cによって識別された金種ごとに、硬貨は、選別部27の下方に設けられる開口部28b、28c、28dおよびシュート29を介して金種別の収納部13へ収納される。   Further, for each denomination identified by the denomination identifying unit 15 c, coins are stored in the denomination storing unit 13 through the openings 28 b, 28 c, 28 d provided below the sorting unit 27 and the chute 29. .

なお、金種ごとに選別されて収納部13へ収納されることとしたが、複数金種が混合状態で収納されてもよい。収納部13に収納された硬貨は、筐体20の扉23を開けることにより、現金の回収業務を行う銀行の行員等によって回収されることとなる。   It should be noted that although each denomination is selected and stored in the storage unit 13, a plurality of denominations may be stored in a mixed state. The coins stored in the storage unit 13 are collected by a bank clerk or the like who performs a cash collection operation by opening the door 23 of the housing 20.

また、硬貨繰出ユニット24の下方には、異物排出シュート30が設けられており、硬貨繰出ユニット24から異物排出シュート30へ送られた異物等は、リジェクト硬貨シュート31を介してリジェクト部12へ排出される。   Further, a foreign matter discharge chute 30 is provided below the coin feeding unit 24, and foreign matters sent from the coin feeding unit 24 to the foreign matter discharge chute 30 are discharged to the reject unit 12 via the reject coin chute 31. Is done.

ここで、開口部28b,28c,28dと収納部13との間に、図示しない一時貯留部を設けてもよく、一時貯留部に貯留された硬貨を、所定時に収納部13へ収納することとしてもよい。   Here, a temporary storage unit (not shown) may be provided between the openings 28b, 28c, 28d and the storage unit 13, and the coins stored in the temporary storage unit are stored in the storage unit 13 at a predetermined time. Also good.

このように、硬貨処理装置10では、投入口21に投入された硬貨は、硬貨繰出ユニット24へ送られ、硬貨繰出ユニット24から繰出された硬貨は、搬送路26上に備える撮像部11を通過後、選別部27によって選別される。   Thus, in the coin processing device 10, the coins inserted into the insertion slot 21 are sent to the coin feeding unit 24, and the coins fed from the coin feeding unit 24 pass through the imaging unit 11 provided on the transport path 26. After that, the sorting unit 27 sorts.

具体的には、制御部15によって変形硬貨であると判別された場合、リジェクト硬貨としてリジェクト部12へ返却され、正常な硬貨は収納部13へ収納される。   Specifically, when the control unit 15 determines that the coin is a deformed coin, it is returned to the reject unit 12 as a reject coin, and normal coins are stored in the storage unit 13.

つぎに、外周部切り出し部15bが実行する外周部切り出し手法の詳細について図5〜図10を用いて説明する。まず、仮の中心の設定手法について、つづいて、外周部の切り出し手法、中心位置の補正手法について説明する。   Next, details of the outer periphery cutting method performed by the outer periphery cutting portion 15b will be described with reference to FIGS. First, a provisional center setting method will be described, followed by a method for cutting out an outer peripheral portion and a center position correction method.

まず、硬貨処理装置10が実行する仮の中心の設定手法の詳細について、図5を用いて説明する。図5は、仮の中心の設定手法について説明する図である。図5に示すように、搬送路26上では、矢印で示した搬送方向に硬貨が搬送されるとする。   First, details of the provisional center setting method executed by the coin processing apparatus 10 will be described with reference to FIG. FIG. 5 is a diagram for explaining a temporary center setting method. As shown in FIG. 5, it is assumed that coins are transported in the transport direction indicated by the arrows on the transport path 26.

まず、図5の右下に示すように、外周部切り出し部15bは、撮像された硬貨の画像を構成する各画素の輝度を搬送方向と平行な方向に加算した水平ヒストグラムを作成する。そして、外周部切り出し部15bは、図5に示した水平ヒストグラムの左右両端から検索し、水平ヒストグラムの値が所定の閾値(ここでは閾値A)を越えた場合に、かかる画素を左右それぞれの外周部とする。   First, as shown in the lower right of FIG. 5, the outer periphery cutout unit 15b creates a horizontal histogram in which the luminance of each pixel constituting the captured coin image is added in a direction parallel to the transport direction. Then, the outer periphery cutout unit 15b searches from the left and right ends of the horizontal histogram shown in FIG. 5, and when the value of the horizontal histogram exceeds a predetermined threshold (here, the threshold A), the outer periphery cutout unit 15b Part.

このように、右方向から左にむかって検索した際に検出された外周部を右外周部、左方向から右にむかって検索した際に検出された外周部を左外周部とし、図5では、それぞれ「三角」印で示した。   In this way, the outer periphery detected when searching from the right to the left is the right outer periphery, and the outer periphery detected when searching from the left to the right is the left outer periphery. These are indicated by “triangles”.

つぎに、外周部切り出し部15bは、撮像された硬貨の画像を構成する各画素の輝度を搬送方向と垂直な方向に加算した垂直ヒストグラムを作成する。ここで、搬送路上には連続して硬貨が搬送されるので、硬貨の搬送方向の先端部または末端部に別の硬貨が重なって搬送される場合がある。   Next, the outer periphery cutout unit 15b creates a vertical histogram in which the luminance of each pixel constituting the captured coin image is added in a direction perpendicular to the transport direction. Here, since coins are continuously transported on the transport path, another coin may be transported by being overlapped with the front end portion or the end portion in the coin transport direction.

このような重複部分を含む画素の輝度では正確な外周部を検出することはできない。したがって、硬貨の重複部分の値を除くため、搬送方向の先端部から末端部の最大幅よりも少ない幅で外周部を検出する必要がある。   An accurate outer periphery cannot be detected with the luminance of the pixels including such overlapping portions. Therefore, in order to exclude the value of the overlapping portion of coins, it is necessary to detect the outer peripheral portion with a width smaller than the maximum width of the end portion from the front end portion in the transport direction.

また、処理時間を短縮するため、および、ベルトの映り込みを除外することにより正確に中心を得るために、外周部を検出する部分の加算する画素数を少なくする。上記したことを考慮して、外周部切り出し部15bは、図5の直方体で示した窓領域内の各画素について垂直ヒストグラムを作成する。   Further, in order to shorten the processing time and to accurately obtain the center by excluding the reflection of the belt, the number of pixels to be added in the portion for detecting the outer peripheral portion is reduced. In consideration of the above, the outer peripheral cutout unit 15b creates a vertical histogram for each pixel in the window region shown by the rectangular parallelepiped in FIG.

外周部切り出し部15bは、図5に示した垂直ヒストグラムの上下両端から検索し、垂直ヒストグラムの値が所定の閾値(ここでは閾値B)を越えた場合に、かかる画素を上下それぞれの外周部とする。なお、図5では、それぞれ「丸」印で示した。   The outer periphery cutout unit 15b searches from the upper and lower ends of the vertical histogram shown in FIG. 5 and, when the value of the vertical histogram exceeds a predetermined threshold value (here, the threshold value B), the pixel is defined as the upper and lower outer periphery portions. To do. In FIG. 5, each is indicated by a “circle”.

そして、外周部切り出し部15bは、右外周部と左外周部との中点を仮の中心の搬送方向に垂直な軸の座標とし、上外周部と下外周部との中点を仮の中心の搬送方向と平行な軸の座標と設定する。   Then, the outer peripheral cutout portion 15b uses the midpoint between the right outer peripheral portion and the left outer peripheral portion as the coordinate of the axis perpendicular to the temporary center conveyance direction, and the midpoint between the upper outer peripheral portion and the lower outer peripheral portion as the temporary center. Set the coordinates of the axis parallel to the transport direction.

つづいて、硬貨処理装置10が実行する外周部の切り出し手法の詳細について、図6および図7を用いて説明する。図6は、部分画像の切り出しの一例を示す図であり、図7は、部分画像の極座標変換処理について説明する図である。   Next, the details of the outer periphery cutting method performed by the coin processing device 10 will be described with reference to FIGS. 6 and 7. FIG. 6 is a diagram illustrating an example of cutting out a partial image, and FIG. 7 is a diagram illustrating polar coordinate conversion processing of the partial image.

まず、部分画像の切り出し処理について説明する。外周部切り出し部15bは、撮像部11で撮像された画像情報14aから仮の中心を中心とする2つの同心円に囲まれ、かつ、外周部を含む部分画像を切り出す。   First, the partial image cut-out process will be described. The outer peripheral cutout unit 15b cuts out a partial image that is surrounded by two concentric circles centered on the temporary center and includes the outer peripheral part from the image information 14a captured by the imaging unit 11.

たとえば、図6の(A)に示すように、切り出される部分画像には、金種のなかで最大の500円玉の外周部を含み、また、図6の(B)に示すように、切り出される部分画像には、金種のなかで最小の1円玉の外周部が含まれる。このように、金種によって大きさの違う硬貨のいずれの外周部を含む画像を切り出すことができるように同心円の半径を設定しておく。   For example, as shown in FIG. 6A, the cut out partial image includes the outer periphery of the largest 500 yen coin among the denominations, and as shown in FIG. The partial image to be included includes the smallest outer peripheral portion of a 1-yen coin among the denominations. In this way, the radius of the concentric circle is set so that an image including any outer peripheral portion of coins having different sizes depending on the denominations can be cut out.

ここでは、図6の(A)の破線に示すように、外周部切り出し部15bは、仮の中心を円の中心として、半径が50画素の円と半径が120画素(50画素+70画素=120画素)の円とに囲まれる部分画像を切り出す。   Here, as shown by the broken line in FIG. 6A, the outer periphery cutout portion 15b has a provisional center as the center of the circle and a circle with a radius of 50 pixels and a radius of 120 pixels (50 pixels + 70 pixels = 120). A partial image surrounded by a circle of pixels is cut out.

なお、半径が50画素の円と半径が120画素の円とに囲まれる部分画像を切り出すこととしたが、通貨によって硬貨の大きさの最大値と最小値とが異なるので、硬貨処理装置10を使用する国の通貨に合わせて同心円の半径を変化させることとしてもよい。   Although the partial image surrounded by the circle having a radius of 50 pixels and the circle having a radius of 120 pixels is cut out, the maximum value and the minimum value of the coin size differ depending on the currency. It is good also as changing the radius of a concentric circle according to the currency of the country to use.

つづいて、部分画像の極座標変換処理について図7を用いて説明する。図7の(A)は切り出す部分画像を、図7の(B)および(C)は、極座標変換を行った画像であり、以下では同図右に示すような座標軸を適宜用いて説明を行うこととする。   Next, polar coordinate conversion processing of the partial image will be described with reference to FIG. 7A is a partial image to be cut out, and FIGS. 7B and 7C are images that have undergone polar coordinate conversion. The following description will be made by appropriately using coordinate axes as shown on the right side of FIG. I will do it.

外周部切り出し部15bは、切り出した部分画像(図7の(A)参照)を仮の中心に基づいて極座標で表される形式から2次元の直交座標平面上へ変換(以下、「極座標変換」と記載する)を行う(図7の(B)参照)。具体的には、所定の半径と偏角θで表わされる極座標から直行座標のX軸は偏角θが対応し、Y軸は半径が対応して変換されるものとする。   The outer periphery cutout unit 15b converts the cutout partial image (see FIG. 7A) from a format expressed in polar coordinates based on a temporary center to a two-dimensional orthogonal coordinate plane (hereinafter referred to as “polar coordinate conversion”). (Refer to FIG. 7B). Specifically, it is assumed that the X-axis of the orthogonal coordinates from the polar coordinates represented by a predetermined radius and the argument θ corresponds to the argument θ, and the Y-axis corresponds to the radius and is converted.

ここでは、図7の(B)に示すように、Y軸の負方向が円の中心側であり、Y軸の負方向から正方向にむかって同一径上の50画素目から120画素目までの画像データが変換され、X軸方向には同一半径の円周を構成する画素が変換される。また、所定の半径の円周を構成する画素数が512画素であるとすると、偏角は0.703度(360÷512=0.703)間隔で変換されることとなる。なお、撮像部11の精度等によって、かかる画素数は変化するものとする。   Here, as shown in FIG. 7B, the negative direction of the Y-axis is the center side of the circle, and from the 50th pixel to the 120th pixel on the same diameter from the negative direction of the Y-axis to the positive direction. Image data is converted, and pixels constituting the circumference of the same radius are converted in the X-axis direction. Also, assuming that the number of pixels constituting the circumference of a predetermined radius is 512 pixels, the declination is converted at an interval of 0.703 degrees (360 ÷ 512 = 0.703). Note that the number of pixels varies depending on the accuracy of the imaging unit 11 and the like.

ここで、X軸方向に512画素およびY軸方向に71画素の配列に変換されたすべての画素値を使用すると、硬貨処理装置10が行う中心位置を補正する処理に時間がかかってしまう。   Here, if all the pixel values converted into an array of 512 pixels in the X-axis direction and 71 pixels in the Y-axis direction are used, it takes time to correct the center position performed by the coin processing device 10.

したがって、外周部切り出し部15bでは、補正処理時間を短縮するために、X軸については所定間隔で画素を抽出して処理の対象とすることとした。ここでは、X軸方向について32等分した位置の円周を構成する画素値を抽出する場合について説明するが、所定の数で等分、たとえば、64等分した位置を利用することとしてもよい。   Therefore, in order to shorten the correction processing time, the outer peripheral cutout unit 15b extracts pixels at predetermined intervals for the X axis and sets them as processing targets. Here, a case will be described in which pixel values constituting the circumference of a position divided into 32 equal parts in the X-axis direction are described. However, a position that is equally divided by a predetermined number, for example, 64 equal parts may be used. .

この場合、角度が11.25°間隔(360÷32=11.25)で半径方向の画素値を抽出することとなる。X軸の負方向の端を0度として、図7の(B)の黒い部分は、抽出対象とするn番目の角度(11.25*n°)の画素を示す。   In this case, pixel values in the radial direction are extracted at intervals of 11.25 ° (360 ÷ 32 = 11.25). The black part in FIG. 7B indicates the pixel of the nth angle (11.25 * n °) to be extracted, where the negative end of the X axis is 0 degree.

外周部切り出し部15bは、32等分の画素値を抽出する際、硬貨の画像とともに映ってしまったゴミ等による画素値のぶれ(以下、「ノイズ」と記載する)を補正するために、X軸方向に配列される画素について以下の処理を行う。   When extracting the pixel values of 32 equal parts, the outer periphery cutout unit 15b corrects pixel value fluctuations (hereinafter referred to as “noise”) due to dust or the like reflected together with the coin image. The following processing is performed on the pixels arranged in the axial direction.

外周部切り出し部15bは、角度11.25*n°である画素とX軸正方向に隣接する2画素およびX軸負方向に隣接する2画素(図7の(B)の斜線部分参照)の合計5画素分の画素値を加算した値を抽出する画素値とする。   The outer peripheral cutout portion 15b includes two pixels adjacent to the pixel having an angle of 11.25 * n ° in the X-axis positive direction and two pixels adjacent to the X-axis negative direction (see the hatched portion in FIG. 7B). A value obtained by adding pixel values for a total of five pixels is set as a pixel value to be extracted.

このように、外周部切り出し部15bは、極座標変換を行った画素値(512画素×71画素)から、X軸方向に32画素およびY軸方向に71画素の配列で表現される画素値を抽出する(図7の(C)参照)。   As described above, the outer peripheral cutout unit 15b extracts pixel values expressed by an array of 32 pixels in the X-axis direction and 71 pixels in the Y-axis direction from the pixel values (512 pixels × 71 pixels) subjected to the polar coordinate conversion. (Refer to FIG. 7C).

そして、外周部切り出し部15bは、縦方向、すなわちY軸方向の1列71画素について、Y軸の正方向から負方向にむかって各画素の輝度を検索し、画像データの輝度が2箇所連続で所定の閾値を超えた場合に外周部と判定することとした。   Then, the outer peripheral cutout unit 15b searches for the luminance of each pixel from the positive direction of the Y axis toward the negative direction for one column of 71 pixels in the vertical direction, that is, the Y-axis direction, and the luminance of the image data continues at two locations. When the predetermined threshold value is exceeded, the outer peripheral portion is determined.

外周部切り出し部15bは、上述した判定処理を、X軸幅の32箇所分の画像データについてそれぞれ行うことによって外周部を検出する。なお、外周部切り出し部15bは、画像データの輝度が2箇所連続で所定の閾値を超えた場合に外周部と判定することとしたが、1回または所定回数連続で超えた場合に、外周部と判定することとしてもよい。   The outer peripheral cutout unit 15b detects the outer peripheral part by performing the above-described determination processing on the image data for 32 locations of the X-axis width. The outer periphery cutout unit 15b determines the outer periphery when the luminance of the image data exceeds a predetermined threshold value continuously at two locations. It is good also as determining.

つぎに、硬貨処理装置10が実行する中心位置の補正手法の詳細について、図8および図9を用いて説明する。図8は、中心位置の補正手法について説明する図であり、図9は、仮の中心の補正手法の一例を示す図である。   Next, details of the center position correction method executed by the coin processing apparatus 10 will be described with reference to FIGS. 8 and 9. FIG. 8 is a diagram illustrating a center position correction method, and FIG. 9 is a diagram illustrating an example of a temporary center correction method.

まず、外周部切り出し部15bは、図8の(A)に示したような変形部分が含まれる画像情報14aに基づいて外周部を検出した場合、かつ、仮の中心が真の中心位置とは異なる場合には、検出された外周部は、図8の(B)に示すような軌道となる。   First, the outer periphery cutout unit 15b detects the outer periphery based on the image information 14a including the deformed portion as shown in FIG. 8A, and the temporary center is the true center position. If they are different, the detected outer peripheral portion has a trajectory as shown in FIG.

そこで、外周部切り出し部15bは、外周部の軌道は所定の周期関数で表わされることから、外周部の軌道上の値を周期関数へ代入することによって中心位置を補正する。その後、外周部切り出し部15bは、補正された中心位置によって再度外周部を切り出す。   Therefore, the outer periphery cutout portion 15b corrects the center position by substituting the value on the outer periphery orbit into the periodic function because the outer periphery orbit is represented by a predetermined periodic function. After that, the outer periphery cutout unit 15b cuts out the outer periphery again with the corrected center position.

具体的には、外周部切り出し部15bでは、以下に示す処理を行う。先に説明したように、外周部切り出し部15bで検出された外周部は、図8の(B)に示すような軌道となる。   Specifically, the outer periphery cutout unit 15b performs the following processing. As described above, the outer peripheral portion detected by the outer peripheral cutout portion 15b has a trajectory as shown in FIG.

しかし、変形部分がある硬貨の場合には、外周部切り出し部15bでは、図8の(B)に示した破線で囲まれた部分のように、変形部分の外周について誤った位置を外周部と判定してしまうことがある。なお、図8の(B)に示した丸印は、外周部切り出し部15bで判定した32箇所分の外周部を示す。   However, in the case of a coin having a deformed portion, the outer peripheral portion cutout portion 15b sets an erroneous position on the outer periphery of the deformed portion as the outer peripheral portion, as in the portion surrounded by the broken line shown in FIG. It may be judged. Note that the circles shown in FIG. 8B indicate the outer peripheral portions of 32 locations determined by the outer peripheral cutout portion 15b.

そこで、外周部切り出し部15bは、基準となる直径(以下、「基準径」と記載する)を求めて、基準径によって表わされる所定の周期関数に基づいて外周部の軌道を平滑化して補間処理をすることとした(図8の(C)参照)。   Therefore, the outer periphery cutout portion 15b obtains a reference diameter (hereinafter referred to as “reference diameter”), smoothes the outer periphery trajectory based on a predetermined periodic function represented by the reference diameter, and performs interpolation processing. (Refer to FIG. 8C).

ここで、基準径の算出手法について、以下に説明する。外周部切り出し部15bは、検出した32箇所の外周部について、所定の外周部と角度差が180°となる外周部(以下、「対角」と記載する)とに基づいて直径(以下、「対角径」と記載する)を求める。   Here, a method for calculating the reference diameter will be described below. The outer periphery cutout portion 15b has a diameter (hereinafter referred to as “diagonal”) based on an outer periphery (hereinafter referred to as “diagonal”) having an angular difference of 180 ° with respect to the detected outer periphery. "Diagonal diameter").

そして、外周部切り出し部15bは、求められた16本分の対角径を径長でソートし、中央の4本の径長の平均を算出して基準径長とする。ここでは、中央の4本の平均を算出することとしたが、中央の所定本数、たとえば中央の2本の平均を算出して基準径長とすることとしてもよい。   And the outer peripheral part cutout part 15b sorts the obtained 16 diagonal diameters by diameter length, calculates the average of the four center lengths, and sets it as the reference diameter length. Here, the average of the central four is calculated, but a predetermined number in the center, for example, the average of the two central may be calculated and used as the reference diameter length.

このようにして、外周部切り出し部15bによって算出された基準径長と16本の対角径長との差分をそれぞれ算出して、差分によって外周部の軌道を平滑化する。具体的には、外周部切り出し部15bは、差分が所定の値以上であったならば、対角径の半径長をチェックし、長さに異状があれば前後のデータから推定して求めることによって、外周部の軌道が平滑になるよう補正する。   In this way, the difference between the reference radial length calculated by the outer peripheral cutout portion 15b and the 16 diagonal radial lengths is calculated, respectively, and the trajectory of the outer peripheral portion is smoothed by the difference. Specifically, if the difference is greater than or equal to a predetermined value, the outer peripheral cutout unit 15b checks the radial length of the diagonal diameter, and if there is an abnormality in the length, estimates it from the preceding and subsequent data. Thus, the outer periphery is corrected so as to be smooth.

さらに、外周部切り出し部15bは、対角径の両端部分の外周部について算出される2つの半径と基準径長/2と比較することによって、2つの半径をそれぞれ補正する。また、所定の周期関数を積分した値を外周部の値と比較してゴミ等の異物部分を補正することとしてもよい。このように、外周部に含まれる変形部分を補正することによって、後述する中心位置の補正を高精度に行うことができる。   Further, the outer peripheral cutout portion 15b corrects the two radii by comparing the two radii calculated for the outer peripheral portions of the opposite end portions of the diagonal diameter with the reference radial length / 2. Further, a foreign matter portion such as dust may be corrected by comparing a value obtained by integrating a predetermined periodic function with a value at the outer peripheral portion. As described above, by correcting the deformed portion included in the outer peripheral portion, the center position described later can be corrected with high accuracy.

そして、外周部切り出し部15bは、補正された外周部について以下の処理を行い、仮の中心を補正する。外周部切り出し部15bは、16本分の対角径について対角径の両端部分の外周部に基づいて算出される2つの半径と基準径長/2との差分をそれぞれ算出し、差分の絶対値を加算する(以下、この値を「振幅和」と記載する)。   And the outer peripheral part cutout part 15b performs the following processes about the corrected outer peripheral part, and correct | amends a temporary center. The outer peripheral cutout portion 15b calculates the difference between the two radii calculated based on the outer peripheral portions of the opposite end portions of the diagonal diameter and the reference radial length / 2 for each of the 16 diagonal diameters. The values are added (hereinafter, this value is referred to as “amplitude sum”).

ここで、外周部切り出し部15bは、算出した振幅和の最大値が所定値より小さい場合は、中心位置の補正を必要としないと判断する。また、外周部切り出し部15bは、算出した振幅和の最大値が所定値より大きい場合は、仮の中心を補正する。   Here, if the maximum value of the calculated amplitude sum is smaller than the predetermined value, the outer periphery cutout unit 15b determines that the correction of the center position is not necessary. Further, when the calculated maximum value of the amplitude sum is larger than the predetermined value, the outer periphery cutout unit 15b corrects the temporary center.

ここで、仮の中心の補正手法の詳細について、図9を用いて説明する。図9は、仮の中心の補正手法の一例を示す図である。   Details of the temporary center correction method will be described with reference to FIG. FIG. 9 is a diagram illustrating an example of a temporary center correction method.

図9に示すように、外周部切り出し部15bは、設定された仮の中心を点A(x,y)として、算出された振幅和の最大となる2箇所の外周部が点Bおよび点Cであったとする。ここで、仮の中心Aから外周部の点Bおよび点Cへの長さが長い方(線分AB)をrmax、短い方(線分AC)をrminとし、線分ABとX軸とのなす偏角をθmax、線分ACとX軸とのなす偏角をθminとする。   As shown in FIG. 9, the outer periphery cutout portion 15b uses the set temporary center as a point A (x, y), and the two outer periphery portions where the calculated amplitude sum is maximum are points B and C. Suppose that Here, the longer length (line segment AB) from the temporary center A to the outer peripheral points B and C is rmax, and the shorter length (line AC) is rmin, and the line AB and the X axis are The argument formed is θmax, and the argument formed between the line segment AC and the X axis is θmin.

この場合、補正後の中心を(X,Y)とした場合に、補正後の中心座標(X,Y)は式(2)および式(3)のようになる。
X=x+(rmax−rmin)/2*cos(θmax)…(2)
Y=y+(rmax−rmin)/2*sin(θmin)…(3)
In this case, when the corrected center is (X, Y), the corrected center coordinates (X, Y) are as shown in equations (2) and (3).
X = x + (rmax−rmin) / 2 * cos (θmax) (2)
Y = y + (rmax−rmin) / 2 * sin (θmin) (3)

このように、外周部切り出し部15bでは、仮の中心を補正する。図8の説明に戻り、中心位置の補正手法についての説明をつづける。   In this way, the outer periphery cutout portion 15b corrects the temporary center. Returning to the description of FIG. 8, the description of the center position correction method will be continued.

外周部切り出し部15bでは、中心位置を補正した後、再度外周部を含む部分画像を切り出し、切り出された画像データから外周部を検出すると、図8の(D)に示すように、直線で描かれる外周部が検出され、直線で描かれる外周部に基づいて高精度に欠損長を求めることができる。   In the outer periphery cutout unit 15b, after correcting the center position, a partial image including the outer periphery is cut out again, and when the outer periphery is detected from the cut out image data, a straight line is drawn as shown in FIG. The outer peripheral portion to be detected is detected, and the defect length can be obtained with high accuracy based on the outer peripheral portion drawn in a straight line.

なお、外周部切り出し部15bで設定された仮の中心が真の中心位置とは異なる場合について説明したが、仮の中心が真の中心位置と一致する場合は、検出される外周部は図8の(D)に示すような直線で描かれるので、中心位置の補正は不要となる。   In addition, although the case where the temporary center set in the outer periphery cutout part 15b is different from the true center position has been described, when the temporary center matches the true center position, the detected outer periphery is shown in FIG. Since it is drawn with a straight line as shown in (D), correction of the center position becomes unnecessary.

つぎに、上記した硬貨処理装置10が実行する変形硬貨判別処理手順について図10を用いて説明する。図10は、硬貨処理装置が実行する変形硬貨判別処理手順を示すフローチャートである。   Next, a modified coin discrimination processing procedure executed by the above-described coin processing device 10 will be described with reference to FIG. FIG. 10 is a flowchart showing a modified coin discrimination processing procedure executed by the coin processing device.

図10に示すように、画像取得部15aは、撮像部11で撮像された硬貨の画像を取得し(ステップS101)、記憶部14の画像情報14aへ渡す。   As illustrated in FIG. 10, the image acquisition unit 15 a acquires an image of a coin imaged by the imaging unit 11 (step S <b> 101) and passes it to the image information 14 a of the storage unit 14.

その後、外周部切り出し部15bは、画像情報14aに基づいて硬貨の仮の中心を設定し(ステップS102)、仮の中心によって硬貨の外周部の切り出しを行う(ステップS103)。   Thereafter, the outer periphery cutout unit 15b sets a temporary center of the coin based on the image information 14a (step S102), and cuts out the outer periphery of the coin using the temporary center (step S103).

そして、外周部切り出し部15bは、ステップS103で切り出した外周部によって中心位置を補正し(ステップS104)、補正した中心によって再度外周部の切り出しを行う(ステップS105)。   Then, the outer periphery cutout unit 15b corrects the center position with the outer periphery cut out at step S103 (step S104), and cuts out the outer periphery again with the corrected center (step S105).

つづいて、金種識別部15cは、ステップS104で補正された中心位置および画像情報14aに映る硬貨の大きさや模様等によって金種、硬貨の表裏を識別する(ステップS106)。   Subsequently, the denomination identifying unit 15c identifies the denomination and the front and back of the coin based on the center position corrected in step S104 and the size and pattern of the coin shown in the image information 14a (step S106).

また、欠損長検出部15dは、外周部切り出し部15bによって切り出された外周部の連続性がない部分の長さ、すなわち欠損長を検出する(ステップS107)。   Further, the missing length detection unit 15d detects the length of the portion of the outer peripheral portion that is cut out by the outer peripheral portion cutout portion 15b, that is, the defective length (step S107).

そして、変形硬貨判別部15eは、ステップS107で検出した欠損長とステップS106で識別した金種に対応する標準画像情報14bの外周長とに基づいて欠損長比率を算出する(ステップS108)。   Then, the deformed coin discriminating unit 15e calculates a defect length ratio based on the defect length detected in step S107 and the outer peripheral length of the standard image information 14b corresponding to the denomination identified in step S106 (step S108).

変形硬貨判別部15eは、ステップS108で算出した欠損長比率と金種に対応する閾値情報14cとに基づいて変形硬貨であるか否かの判別を行う(ステップS109)。変形硬貨判別部15eは、変形硬貨であると判別した場合(ステップS109,Yes)、かかる硬貨をリジェクト部12へ排出し(ステップS110)、硬貨処理装置10が実行する変形硬貨判別処理を終了する。   The deformed coin discriminating unit 15e determines whether or not the coin is a deformed coin based on the missing length ratio calculated in step S108 and the threshold information 14c corresponding to the denomination (step S109). When it is determined that the deformed coin is a deformed coin (step S109, Yes), the deformed coin discriminating unit 15e discharges the coin to the reject unit 12 (step S110), and ends the deformed coin discriminating process executed by the coin processing device 10. .

一方、変形硬貨判別部15eは、変形硬貨ではなく正常な硬貨であると判別した場合(ステップS109,No)、かかる硬貨を収納部13へ収納し(ステップS111)、硬貨処理装置10が実行する変形硬貨判別処理を終了する。   On the other hand, when the deformed coin discriminating unit 15e discriminates that it is not a deformed coin but a normal coin (No at Step S109), the coin is stored in the storage unit 13 (Step S111), and the coin processing device 10 executes. The deformed coin discrimination process is terminated.

上述してきたように、本実施例では、変形硬貨を検出する変形硬貨判別方法および硬貨処理装置であって、硬貨の画像を取得し、取得した画像に基づいて外周部を切り出し、さらに切り出された外周部から欠損長を検出し、検出された欠損長と硬貨の外周長と比率に基づいて変形硬貨であるか否かを判別することとした。   As described above, in the present embodiment, a deformed coin discriminating method and a coin processing device for detecting a deformed coin, an image of a coin is acquired, an outer peripheral portion is cut out based on the acquired image, and further cut out. The defect length is detected from the outer periphery, and it is determined whether the coin is a deformed coin based on the detected defect length, the outer periphery length of the coin, and the ratio.

したがって、本発明に係る変形硬貨判別方法では、別途センサを設けることなく金種判定用の画像処理によって変形硬貨であるか否かを判別することができる。これにより、本発明に係る変形硬貨判別方法では、硬貨処理装置にかかる製造コストを削減するとともに、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出することができる。   Therefore, in the deformed coin discriminating method according to the present invention, it is possible to discriminate whether or not the coin is a deformed coin by image processing for denomination determination without providing a separate sensor. Thereby, in the deformed coin discriminating method according to the present invention, the manufacturing cost for the coin processing device is reduced, and the deformed coin is accurately detected while reducing the coin discriminating portion for performing coin discrimination and the housing of the coin processing device. be able to.

なお、上述した実施例では、欠損長を用いて変形硬貨を判別する場合について説明したが、欠損角を用いた場合についても同様に適用することができる。たとえば、変形硬貨判別部15eは、外周部切り出し部15bによって32分割、若しくは、64分割に極座標変換された画像に基づいて変形部分の始端および終端の偏角の差より欠損角を算出する。そして、変形硬貨判別部15eは、算出された欠損角が所定角度を超えた場合に変形硬貨であると判別する。   In the above-described embodiment, the case where the deformed coin is discriminated using the defect length has been described. However, the present invention can be similarly applied to the case where the defect angle is used. For example, the deformed coin discriminating unit 15e calculates the missing angle from the difference between the deflection angles at the start and end of the deformed portion based on the image that has been subjected to polar coordinate conversion into 32 divisions or 64 divisions by the outer periphery cutout unit 15b. And the deformation | transformation coin discrimination | determination part 15e discriminate | determines that it is a deformation | transformation coin when the calculated defect | deletion angle exceeds a predetermined angle.

また、偏角の差によって算出した欠損角によって変形硬貨であるか否かを判別することとしたが、外周部切り出し部15bによって分割して極座標変換された画像の変形部分の分割数によって判別することとしてもよい。具体的には、変形硬貨判別部15eは、64分割に極座標変換された画像のうち、変形部分が4分割分以上あった場合に、変形硬貨であると判別する。   Further, although it is determined whether or not the coin is a deformed coin based on the defect angle calculated based on the difference in the declination, the determination is performed based on the number of divisions of the deformed portion of the image that is divided by the outer peripheral cutout unit 15b and converted into polar coordinates. It is good as well. Specifically, the deformed coin discriminating unit 15e discriminates that it is a deformed coin when there are four or more deformed parts in the image that has been subjected to polar coordinate conversion into 64 divisions.

また、上述した実施例では、硬貨処理装置に適用した変形硬貨判別方法の例を説明したが、円形状に加工される部品、たとえば、ねじ山やワッシャー等の円形部品の形成精度を検査する装置、または、偏芯度を検査する装置等にも同様に適用することができる。   In the above-described embodiment, an example of the deformed coin discriminating method applied to the coin processing apparatus has been described. However, an apparatus for inspecting the formation accuracy of a circular machined part, for example, a circular part such as a screw thread or a washer. Alternatively, the present invention can be similarly applied to an apparatus for inspecting eccentricity.

以上のように、本発明に係る変形硬貨判別方法および硬貨処理装置は、硬貨識別を行う硬貨識別部分や硬貨処理装置の筐体を小型化しつつ精度良く変形硬貨を検出する場合に有用である。   As described above, the deformed coin discriminating method and the coin processing device according to the present invention are useful when detecting a deformed coin with high accuracy while downsizing the coin discriminating portion for performing coin discrimination and the housing of the coin processing device.

10 硬貨処理装置
11 撮像部
12 リジェクト部
13 収納部
14 記憶部
14a 画像情報
14b 標準画像情報
14c 閾値情報
15 制御部
15a 画像取得部
15b 外周部切り出し部
15c 金種識別部
15d 欠損長検出部
15e 変形硬貨判別部
20 筐体
21 投入口
22 供給部
23 扉
24 硬貨繰出ユニット
25 搬送部
26 搬送路
27 選別部
28a 開口部
28b 開口部
28c 開口部
28d 開口部
29 シュート
30 異物排出シュート
31 リジェクト硬貨シュート
DESCRIPTION OF SYMBOLS 10 Coin processing apparatus 11 Imaging part 12 Reject part 13 Storage part 14 Storage part 14a Image information 14b Standard image information 14c Threshold information 15 Control part 15a Image acquisition part 15b Outer peripheral part cutout part 15c Denomination identification part 15d Defect length detection part 15e Deformation Coin discriminating unit 20 Housing 21 Inserting port 22 Supply unit 23 Door 24 Coin feeding unit 25 Conveying unit 26 Conveying path 27 Sorting unit 28a Opening portion 28b Opening portion 28c Opening portion 28d Opening portion 29 Chute 30 Foreign matter discharge chute 31 Reject coin chute

Claims (5)

変形した硬貨を検出する硬貨処理装置に適用される変形硬貨判別方法であって、
前記硬貨の画像を取得する画像取得工程と、
前記画像取得工程によって取得された前記画像の特徴に基づいて前記硬貨の中心を設定する中心設定工程と、
前記中心設定工程によって設定された前記硬貨の中心について極座標変換した画像を取得する極座標画像取得工程と、
前記極座標画像取得工程によって取得された画像の特徴に基づいて前記硬貨の金種を識別する識別工程と、
前記極座標画像取得工程によって取得された画像に基づいて前記硬貨における外周部の軌道の欠損量を検出する欠損量検出工程と、
前記欠損量検出工程によって検出された前記欠損量と前記識別工程によって識別された前記硬貨の金種ごとに予め記憶されている閾値とに基づいて前記硬貨が変形しているか否かを判別する判別工程と
を含んだことを特徴とする変形硬貨判別方法。
A deformed coin discriminating method applied to a coin processing device for detecting a deformed coin,
An image acquisition step of acquiring an image of the coin;
A center setting step of setting the center of the coin based on the characteristics of the image acquired by the image acquisition step;
A polar coordinate image obtaining step for obtaining an image obtained by performing polar coordinate conversion on the center of the coin set by the center setting step;
An identification step of identifying the denomination of the coin based on the characteristics of the image acquired by the polar coordinate image acquisition step;
A defect amount detection step of detecting a defect amount of the outer periphery of the coin based on the image acquired by the polar image acquisition step;
Discrimination that determines whether or not the coin is deformed based on the loss amount detected by the loss amount detection step and a threshold value stored in advance for each denomination of the coin identified by the identification step. A method for discriminating deformed coins, comprising: a process.
前記中心設定工程は、
前記画像取得工程によって取得された前記画像の特徴に基づいて設定された仮の中心について極座標変換した画像から検出される前記外周部の軌道に基づき、前記仮の中心を真の中心へ補正することを特徴とする請求項1に記載の変形硬貨判別方法。
The center setting step includes
Correcting the temporary center to a true center based on the trajectory of the outer peripheral portion detected from an image obtained by performing polar coordinate conversion on the temporary center set based on the characteristics of the image acquired by the image acquiring step; The deformed coin discrimination method according to claim 1.
前記欠損量検出工程は、
前記外周部の軌道の欠損量として、前記硬貨における外周部の軌道の欠損長を使用することを特徴とする請求項1または2に記載の変形硬貨判別方法。
The deficiency detection step includes
The deformed coin discrimination method according to claim 1 or 2 , wherein a defect length of an outer periphery orbit of the coin is used as a defect amount of the outer periphery orbit.
前記欠損量検出工程は、
前記外周部の軌道の欠損量として、前記硬貨における外周部の軌道の欠損部分を円弧とする内角で示される欠損角を使用することを特徴とする請求項1または2に記載の変形硬貨判別方法。
The deficiency detection step includes
As missing amount of trajectory of the outer peripheral portion, deformation coin discriminating method according to claim 1 or 2, characterized by using a defect angle indicated by the internal angle of the lost portion of the trajectory of the outer peripheral portion of the coin arc .
変形した硬貨を検出する硬貨処理装置であって、
搬送路上に前記硬貨を順次搬送させ、ベルト状の押さえ機構で前記硬貨を押さえつけつつ搬送する硬貨搬送手段と、
前記硬貨の画像を取得する画像取得手段と、
前記画像取得手段によって取得された前記画像の特徴に基づいて前記硬貨の中心を設定する中心設定手段と、
前記中心設定手段によって設定された前記硬貨の中心について極座標変換した画像を取得する極座標画像取得手段と、
前記極座標画像取得手段によって取得された前記画像の特徴に基づいて前記硬貨の種類を識別する識別手段と、
硬貨の金種毎に定められた変形していると判定するための閾値を記憶する記憶手段と、
前記極座標画像取得手段によって取得された前記画像に基づいて前記硬貨における外周部の軌道の欠損量を検出する欠損量検出手段と、
前記識別手段によって識別された前記硬貨の金種に対応する閾値を前記記憶手段から読み出すとともに、読み出した閾値と前記欠損量検出手段によって検出された前記欠損量とに基づいて前記硬貨が変形しているか否かを判別する判別手段と、
前記識別手段によって識別された識別結果および前記判別手段によって判別された判別結果に基づいて前記硬貨を収納部または返却口へ分別する分別手段と
を備えたことを特徴とする硬貨処理装置。
A coin processing device for detecting a deformed coin,
A coin transport means for transporting the coins sequentially on a transport path and transporting the coins while pressing the coins with a belt-like pressing mechanism;
Image acquisition means for acquiring an image of the coin;
Center setting means for setting the center of the coin based on the characteristics of the image acquired by the image acquisition means;
Polar coordinate image acquisition means for acquiring an image obtained by performing polar coordinate conversion on the center of the coin set by the center setting means;
Identification means for identifying the type of the coin based on the characteristics of the image acquired by the polar coordinate image acquisition means;
Storage means for storing a threshold value for determining that the coin is deformed and determined for each denomination of coins;
A defect amount detection means for detecting a defect amount of the outer periphery of the coin based on the image acquired by the polar coordinate image acquisition means;
The threshold corresponding to the denomination of the coin identified by the identifying means is read from the storage means, and the coin is deformed based on the read threshold and the missing amount detected by the missing amount detecting means. Determining means for determining whether or not,
The identified identified by the identification means result and the coin processing apparatus being characterized in that a separating means for separating the housing section or return opening the coin based on the determination result determined by the determining means.
JP2010128245A 2010-06-03 2010-06-03 Deformed coin discrimination method and coin processing apparatus Active JP5572450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010128245A JP5572450B2 (en) 2010-06-03 2010-06-03 Deformed coin discrimination method and coin processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010128245A JP5572450B2 (en) 2010-06-03 2010-06-03 Deformed coin discrimination method and coin processing apparatus

Publications (2)

Publication Number Publication Date
JP2011253463A JP2011253463A (en) 2011-12-15
JP5572450B2 true JP5572450B2 (en) 2014-08-13

Family

ID=45417325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010128245A Active JP5572450B2 (en) 2010-06-03 2010-06-03 Deformed coin discrimination method and coin processing apparatus

Country Status (1)

Country Link
JP (1) JP5572450B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5238774B2 (en) * 2010-08-24 2013-07-17 東芝テック株式会社 Coin deposit / withdrawal apparatus and control program therefor
JP2019071011A (en) * 2017-10-11 2019-05-09 東芝テック株式会社 Money processing apparatus and program
CN107742355B (en) * 2017-11-13 2023-08-18 江苏海洋大学 Automatic device of conveying letter sorting coin
JP7066494B2 (en) * 2018-04-17 2022-05-13 グローリー株式会社 Coin wear or deformation detection device, coin processor, and coin wear or deformation detection method
JP7050572B2 (en) * 2018-05-18 2022-04-08 グローリー株式会社 Coin processing equipment and coin processing system
JP7371380B2 (en) * 2019-07-26 2023-10-31 沖電気工業株式会社 Coin recognition device and coin handling device using the coin recognition device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS644888A (en) * 1987-06-29 1989-01-10 Toshiba Corp Shape defect detector for circular object
JP2003281538A (en) * 2002-03-26 2003-10-03 Toshiba Corp Image processor, image inspecting method and printing failure detecting method
DE102005006018B4 (en) * 2005-02-04 2008-03-27 Walter Hanke Mechanische Werkstätten GmbH & Co. KG A method of determining the exact center of a coin entered in a coin validator

Also Published As

Publication number Publication date
JP2011253463A (en) 2011-12-15

Similar Documents

Publication Publication Date Title
JP5572450B2 (en) Deformed coin discrimination method and coin processing apparatus
US20050244046A1 (en) Sheet media identification method and sheet media identification apparatus
US9690841B2 (en) Method and apparatus for determining a class reference data record for the classification of value documents
EP1111551A2 (en) Coin discriminating apparatus
EP1808824A2 (en) Sheet processing method and sheet processing apparatus
KR101620693B1 (en) Apparatus and method for recognizing media, financial device
EP2267665B1 (en) Coin recognizing device and coin recognizing method
WO2010035314A1 (en) Usable coin judgment device and method
US11127120B2 (en) Coin identification apparatus, coin processing apparatus, and coin identification method
US9852568B2 (en) Apparatus and method for checking value documents, in particular bank notes, and value-document processing system
JP2005031901A (en) Coin identifying device and method
JPH11219460A (en) Method for processing inclined image
JP5602467B2 (en) Center position determination method and center position determination apparatus
JP5301560B2 (en) Coin identification method and coin identification device
JP5216301B2 (en) Media identification device
JPWO2009118842A1 (en) Coin center detection device and coin center detection method
JP2001175911A (en) Method and device for discriminating true/false coin from picture image
JPH11259715A (en) Method for detecting inclined angle of image pickup medium
JP3394984B2 (en) Coin recognition device
JP2024068503A (en) Deformed coin determination device, coin discriminator, coin processor, and deformed coin determination method
JP3167540B2 (en) Coin recognition device
JPH1083471A (en) Coin identification device
JP4454397B2 (en) Paper sheet identification device
JPH0612548A (en) Coin discriminating device
JP2005031843A (en) Coin identifying device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140320

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140529

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140617

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140630

R150 Certificate of patent or registration of utility model

Ref document number: 5572450

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150