JP2000076513A - Stamp reader - Google Patents

Stamp reader

Info

Publication number
JP2000076513A
JP2000076513A JP10247450A JP24745098A JP2000076513A JP 2000076513 A JP2000076513 A JP 2000076513A JP 10247450 A JP10247450 A JP 10247450A JP 24745098 A JP24745098 A JP 24745098A JP 2000076513 A JP2000076513 A JP 2000076513A
Authority
JP
Japan
Prior art keywords
coin
image
threshold value
unit
target
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
Application number
JP10247450A
Other languages
Japanese (ja)
Inventor
Mitsuaki Usami
光陽 宇佐美
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.)
Nidec Copal Corp
Original Assignee
Nidec Copal Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nidec Copal Corp filed Critical Nidec Copal Corp
Priority to JP10247450A priority Critical patent/JP2000076513A/en
Publication of JP2000076513A publication Critical patent/JP2000076513A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Of Coins (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a stamp reader which is small-sized and has high read accuracy. SOLUTION: This stamp reader 10 is provided with an image inputting part 12 which inputs an image D1 including a coin and its background image D2, an image smoothing processing part 14 which smoothes the images D1 and D2, a threshold deciding part 16 for coin extraction which decides threshold D5 for coin extraction based on the smoothed background image D4, an image binarization processing part 18 which binarizes the smoothed image D3 including the coin based on the threshold D5 for coin extraction, a coin part image extracting part 20 that extracts a coin part from the image D1 based on the binarized image D6, a coin specifying part 22 that specifies a coin class D8 based on the image D6, a threshold deciding part 24 for characteristic extraction which decides threshold D9 for characteristic extraction based on the class D8 and a coin part characteristic extracting part 26 which extracts the characteristic of a coin part image D7 based on the threshold D9.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コインの表面に刻
まれた刻印を読み取る刻印読み取り装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a marking reading device for reading a marking formed on a coin surface.

【0002】[0002]

【従来の技術】硬貨、遊戯用コインなどのコインの表面
に刻まれた刻印を読み取る刻印読み取り装置としては、
例えば特開平9−231432号公報に開示されている
ようなコイン識別装置が知られている。かかるコイン識
別装置は、ライン型光センサと磁気センサとからなりコ
インの外径、材質、通貨位置を検出する第1の識別部
と、エリアセンサからなりコインの表面に刻まれた刻印
を読み取る第2の識別部とから主に構成されている。こ
のコイン識別装置は、第1の識別部で検知したコインの
外径、材質に基づいてコインの種類を識別し、第2の識
別部ではコインの種類に応じたしきい値を用いてコイン
の表面に刻まれた刻印を読み取るため、対象となるコイ
ンの種類によらず、コインの表面に刻まれた刻印を正確
に読み取ることが可能となる。
2. Description of the Related Art As a stamp reading device for reading a stamp inscribed on the surface of coins such as coins and game coins,
For example, a coin identification device as disclosed in Japanese Patent Application Laid-Open No. 9-231432 is known. Such a coin identification device includes a line type optical sensor and a magnetic sensor, a first identification unit for detecting the outer diameter, material, and currency position of the coin, and an area sensor for reading an engraved mark on the surface of the coin. And two identification units. This coin identification device identifies the type of coin based on the outer diameter and the material of the coin detected by the first identification unit, and the second identification unit uses a threshold value according to the type of coin to identify the coin. Since the engraved mark on the surface is read, it is possible to accurately read the engraved mark on the surface of the coin regardless of the type of the target coin.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記刻印読み
取り装置(コイン識別装置)には以下のような問題点が
ある。すなわち、第1に、上記刻印読み取り装置は、コ
インの表面に刻まれた刻印を読み取るエリアセンサの他
に、コインの種類を識別するための前処理装置(上記ラ
イン型光センサ、磁気センサ等)を設ける必要があるた
め、装置が大型化してしまう。
However, the above-described stamp reading device (coin identification device) has the following problems. That is, first, in addition to the area sensor for reading the inscription imprinted on the surface of the coin, the engraving reading device includes a pre-processing device for identifying the type of the coin (the line type optical sensor, the magnetic sensor, etc.) It is necessary to provide the device, so that the device becomes large.

【0004】第2に、第1の識別部においてコインの通
過位置を検出したとしても、コインが第2の識別部に搬
送される際に位置ずれを起こすこともあり、第2の識別
部におけるコインの正確な位置を特定することができ
ず、コインの表面に刻まれた刻印を正確に読み取ること
が困難となる場合もある。
[0004] Second, even if the passing position of the coin is detected in the first discriminating section, the coin may be misaligned when being conveyed to the second discriminating section. In some cases, the exact position of the coin cannot be specified, and it may be difficult to accurately read the inscription imprinted on the surface of the coin.

【0005】本発明は上記問題点を解決し、小型に構成
することができるとともにコインの表面に刻まれた刻印
を正確に読み取ることが可能な刻印読み取り装置を提供
することを課題とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide a stamp reading device which can be formed in a small size and can accurately read a stamp inscribed on the surface of a coin.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明の刻印読み取り装置は、コインを含む対象画
像とコインを含まない背景画像とのそれぞれを入力する
入力手段と、入力手段によって入力された対象画像と背
景画像とのそれぞれを平滑化する平滑化手段と、平滑化
手段によって平滑化された背景画像に基づいて、第1の
しきい値を決定する第1のしきい値決定手段と、第1の
しきい値決定手段によって決定された第1のしきい値に
基づいて、平滑化手段によって平滑化された対象画像を
2値化する2値化手段と、2値化手段によって2値化さ
れた対象画像に基づいて、入力手段によって入力された
対象画像のうちコインの部分を抽出する対象抽出手段
と、2値化手段によって2値化された対象画像に基づい
て、コインの種別を特定する対象特定手段と、対象特定
手段によって特定されたコインの種別に基づいて、第2
のしきい値を決定する第2のしきい値決定手段と、第2
のしきい値決定手段によって決定された第2のしきい値
に基づいて、対象抽出手段によって抽出されたコインの
部分に形成される特徴画像を抽出する特徴抽出手段とを
備えたことを特徴としている。
In order to solve the above-mentioned problems, an engraving reading apparatus according to the present invention comprises: input means for inputting a target image including coins and a background image not including coins; Smoothing means for smoothing each of the input target image and background image, and a first threshold value determination for determining a first threshold value based on the background image smoothed by the smoothing means Means, binarizing means for binarizing the target image smoothed by the smoothing means based on the first threshold value determined by the first threshold value determining means, and binarizing means A coin extraction unit that extracts a coin portion from the target image input by the input unit based on the target image binarized by the input unit; and a coin based on the target image binarized by the binarization unit. Type A target specifying means for constant, based on the type of the coin identified by the object specifying means, second
Second threshold value determining means for determining a threshold value of
Characteristic extracting means for extracting a characteristic image formed on a coin portion extracted by the target extracting means based on the second threshold value determined by the threshold value determining means. I have.

【0007】背景画像に基づいて所定のしきい値を決定
し、このしきい値に基づいて対象画像を2値化すること
で、対象画像におけるコインの部分と背景部分とを効率
よく分離できる。従って、上記2値化された対象画像に
基づいて読み取り対象であるコインの部分を抽出するこ
とができ、前処理装置を設けることなく、コインの位置
を特定することが可能となる。また、上記の如く、平滑
化された背景画像を用いて第1のしきい値を決定するこ
とで、背景画像における局所的なノイズの影響が緩和さ
れる。さらに、2値化された対象画像に基づいてコイン
の種別を特定するため、前処理装置を設けることなくコ
インの種別を特定することができる。また、特定された
コインの種別に基づいて所定のしきい値を決定し、この
しきい値に基づいてコインの部分に形成される特徴画像
を抽出することで、コインの種類に関わらず、コインの
表面に刻まれた刻印を正確に読み取ることが可能とな
る。
[0007] By determining a predetermined threshold value based on the background image and binarizing the target image based on the threshold value, the coin portion and the background portion in the target image can be efficiently separated. Therefore, the coin portion to be read can be extracted based on the binarized target image, and the position of the coin can be specified without providing a preprocessing device. Further, as described above, by determining the first threshold using the smoothed background image, the influence of local noise on the background image is reduced. Furthermore, since the type of coin is specified based on the binarized target image, the type of coin can be specified without providing a preprocessing device. In addition, a predetermined threshold value is determined based on the specified coin type, and a characteristic image formed in the coin portion is extracted based on the threshold value. It is possible to accurately read the engraved mark on the surface of the.

【0008】本発明の刻印読み取り装置は、対象特定手
段が、2値化手段によって2値化された対象画像におい
て、特定の直線方向に連続して配列される0値又は1値
の数に基づいてコインの種別を特定することを特徴とし
ても良い。
In the marking reading apparatus according to the present invention, the object specifying means is based on the number of 0 values or 1 values continuously arranged in a specific linear direction in the target image binarized by the binarizing means. It may be characterized in that the type of coin is specified by using

【0009】上記のように、特定の直線方向に連続して
配列される0値又は1値の数に基づいてコインの種別を
特定することによって、直径の異なる複数種のコインを
容易に識別することが可能となる。
As described above, by specifying the type of coin based on the number of 0 values or 1 values continuously arranged in a specific linear direction, a plurality of types of coins having different diameters can be easily identified. It becomes possible.

【0010】本発明の刻印読み取り装置は、対象特定手
段が、2値化手段によって2値化された対象画像におい
て、0値又は1値の総数に基づいてコインの種別を特定
することを特徴としても良い。
[0010] The marking reading apparatus of the present invention is characterized in that the target specifying means specifies the type of coin based on the total number of 0 values or 1 values in the target image binarized by the binarizing means. Is also good.

【0011】上記のように、0値又は1値の総数に基づ
いてコインの種別を特定することによって、外径がそれ
ぞれほぼ同一であり、内部に中空部分を有するコインと
内部に中空部分を有しないコイン(例えば五円玉と百円
玉)とを効率よく識別することが可能となる。
As described above, by specifying the type of a coin based on the total number of 0 values or 1 values, the coins having substantially the same outer diameter and having a hollow portion inside and a coin having a hollow portion inside are provided. It is possible to efficiently discriminate between coins that do not (for example, a five-yen coin and a hundred-yen coin).

【0012】本発明の刻印読み取り装置は、第1のしき
い値決定手段が、平滑化手段によって平滑化された背景
画像の各画素値のうち最大である画素値を第1のしきい
値として決定することを特徴としても良い。
In the marking reading apparatus according to the present invention, the first threshold value determining means sets a maximum pixel value among the pixel values of the background image smoothed by the smoothing means as the first threshold value. The determination may be a feature.

【0013】平滑化手段によって平滑化された背景画像
の各画素値のうち最大である画素値を第1のしきい値と
して決定することで、上記2値化手段によって背景画像
部分がさらに効率よく除去される。
The maximum pixel value among the pixel values of the background image smoothed by the smoothing means is determined as the first threshold value, so that the background image portion can be more efficiently processed by the binarization means. Removed.

【0014】[0014]

【発明の実施の形態】本発明の実施形態にかかる刻印読
み取り装置を、図面を参照して説明する。まず本実施形
態にかかる刻印読み取り装置の構成について説明する。
図1は、本実施形態にかかる刻印読み取り装置の構成図
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A stamp reading device according to an embodiment of the present invention will be described with reference to the drawings. First, the configuration of the stamp reading device according to the present embodiment will be described.
FIG. 1 is a configuration diagram of the stamp reading device according to the present embodiment.

【0015】刻印読み取り装置10は、入力手段である
画像入力部12、平滑化手段である画像平滑化処理部1
4、第1のしきい値決定手段である硬貨抽出用しきい値
決定部16、2値化手段である画像2値化処理部18、
対象抽出手段である硬貨部分画像抽出部20、対象特定
手段である硬貨特定部22、第2のしきい値決定手段で
ある特徴抽出用しきい値決定部24、及び、特徴抽出手
段である硬貨部分画像特徴抽出部26とを備えて構成さ
れる。以下各構成要素について詳述する。
The marking reading device 10 includes an image input unit 12 as input means and an image smoothing processing unit 1 as smoothing means.
4. a coin extraction threshold determining unit 16 as a first threshold determining unit; an image binarization processing unit 18 as a binarizing unit;
A coin partial image extracting unit 20 as a target extracting unit, a coin specifying unit 22 as a target specifying unit, a threshold extracting unit 24 for feature extraction as a second threshold determining unit, and a coin as a characteristic extracting unit And a partial image feature extraction unit 26. Hereinafter, each component will be described in detail.

【0016】画像入力部12は、撮像手段であるエリア
センサを備えて構成され(詳細は後述)、読み取り対象
である硬貨を含む対象画像(以下、含硬貨画像という)
と、硬貨を含まない背景画像とをそれぞれ撮像し、メモ
リに格納することができるようになっている。また、画
像入力部12は、撮像した含硬貨画像D1及び背景画像
D2をそれぞれ画像平滑化処理部14に対して出力する
とともに、含硬貨画像D1を硬貨部分画像抽出部20に
対して出力する。
The image input section 12 is provided with an area sensor as an image pickup means (details will be described later), and a target image including a coin to be read (hereinafter referred to as a coin containing image).
And a background image that does not include coins, respectively, and can be stored in the memory. The image input unit 12 outputs the captured coin-containing image D1 and the background image D2 to the image smoothing processing unit 14, and outputs the coin-containing image D1 to the coin partial image extracting unit 20.

【0017】画像平滑化処理部14は、画像入力部12
から出力された含硬貨画像D1及び背景画像D2のそれ
ぞれを平滑化する。この平滑化処理は、例えば、原画像
(含硬貨画像D1、背景画像D2)内の隣接する9画素
(縦3画素×横3画素)の画素値の平均を当該9画素の
中央画素の画素値とし、この処理を原画像全体について
行う。画像平滑化処理部14は、平滑化された含硬貨画
像D3を画像2値化処理部18に対して出力するととも
に、平滑化された背景画像D4を硬貨抽出用しきい値決
定部16に対して出力する。
The image smoothing processing section 14 includes an image input section 12
And smoothing each of the coin-containing image D1 and the background image D2 output from. In this smoothing process, for example, the average of the pixel values of 9 adjacent pixels (3 vertical pixels × 3 horizontal pixels) in the original image (coin image D1 and background image D2) is calculated as the pixel value of the central pixel of the 9 pixels. This process is performed for the entire original image. The image smoothing processing unit 14 outputs the smoothed coin-containing image D3 to the image binarization processing unit 18, and outputs the smoothed background image D4 to the coin extraction threshold determining unit 16. Output.

【0018】硬貨抽出用しきい値決定部16は、平滑化
処理部14から出力された平滑化された背景画像D4に
基づいて、硬貨抽出用しきい値D5(第1のしきい値)
を決定し、この硬貨抽出用しきい値D5を画像2値化処
理部18に対して出力する。具体的には、平滑化処理部
14から出力された平滑化された背景画像D4の各画素
値のうち最大である画素値を、硬貨抽出用しきい値D5
として決定する。
The coin extraction threshold value determination unit 16 determines a coin extraction threshold value D5 (first threshold value) based on the smoothed background image D4 output from the smoothing processing unit 14.
Is determined, and this coin extraction threshold value D5 is output to the image binarization processing unit 18. Specifically, the maximum pixel value among the pixel values of the smoothed background image D4 output from the smoothing processing unit 14 is set to a coin extraction threshold D5.
To be determined.

【0019】画像2値化処理部18は、硬貨抽出用しき
い値決定部16から出力された硬貨抽出用しきい値D5
に基づいて、画像平滑化処理部14から出力された平滑
化された含硬貨画像D3を2値化する。具体的には、平
滑化された含硬貨画像D3の各画素について、当該画素
の画素値が硬貨抽出用しきい値D5より大きい場合は、
当該画素値を1とし、当該画素の画素値が硬貨抽出用し
きい値D5以下の場合は、当該画素値を0とする2値化
画像D6を形成する。画像2値化処理部18は、また、
上記2値化画像D6を硬貨部分画像抽出部22及び硬貨
特定部22に対して出力する。
The image binarization processing unit 18 generates a coin extraction threshold value D5 output from the coin extraction threshold value determination unit 16.
, The smoothed coin-containing image D3 output from the image smoothing processing unit 14 is binarized. Specifically, for each pixel of the smoothed coin-containing coin image D3, when the pixel value of the pixel is larger than the coin extraction threshold D5,
When the pixel value is set to 1 and the pixel value of the pixel is equal to or smaller than the coin extraction threshold value D5, a binarized image D6 having the pixel value set to 0 is formed. The image binarization processing unit 18 also
The binarized image D6 is output to the coin partial image extracting unit 22 and the coin specifying unit 22.

【0020】硬貨部分画像抽出部20は、画像2値化処
理部18から出力された2値化画像D6に基づいて、画
像入力部12から出力された含硬貨画像D1中の硬貨部
分を抽出する。具体的には、各画素について、含硬貨画
像D1の画素値と、2値化画像D6の画素値との積を求
め、当該画素の画素値とし、硬貨部分画像D7を形成す
る。硬貨部分画像抽出部20は、また、上記硬貨部分画
像D7を硬貨部分画像特徴抽出部26に対して出力す
る。
The coin portion image extracting section 20 extracts a coin portion in the coin containing image D1 output from the image input section 12, based on the binarized image D6 output from the image binarization processing section 18. . Specifically, for each pixel, a product of the pixel value of the coin-containing image D1 and the pixel value of the binarized image D6 is obtained, and the pixel value of the pixel is used to form a coin partial image D7. The coin partial image extracting unit 20 also outputs the coin partial image D7 to the coin partial image feature extracting unit 26.

【0021】硬貨特定部22は、画像2値化処理部18
から出力された2値化画像D6に基づいて、硬貨の種別
を特定する。具体的には、上記2値化画像の画素値を各
行毎に横方向に走査する。この際、各行について横方向
に連続して配列される1値の数を計数する。この走査を
2値化画像D6の全ての行について行い、連続する1値
の数の最大値を硬貨の外径とする。上記のように求めら
れた硬貨の外径を、あらかじめ入力された複数種の硬貨
の外径と比較することで、硬貨の種別を特定する。硬貨
特定部22は、また、特定した硬貨種別D8を特徴抽出
用しきい値決定部24に対して出力する。
The coin specifying section 22 is provided with an image binarization processing section 18.
The type of coin is specified based on the binarized image D6 output from. Specifically, the pixel values of the binary image are scanned in the horizontal direction for each row. At this time, the number of one values continuously arranged in the horizontal direction for each row is counted. This scanning is performed for all rows of the binarized image D6, and the maximum value of the number of continuous one-valued data is set as the outer diameter of the coin. The type of the coin is specified by comparing the outer diameter of the coin obtained as described above with the outer diameters of a plurality of types of coins input in advance. The coin specifying unit 22 also outputs the specified coin type D8 to the feature extraction threshold value determining unit 24.

【0022】特徴抽出用しきい値決定部24は、硬貨特
定部22から出力された硬貨種別D8に基づいて、特徴
抽出用しきい値D9(第2のしきい値)を決定する。具
体的には、硬貨種別D8に基づいて、あらかじめ定めら
れた硬貨毎のしきい値を記述した特徴抽出用しきい値テ
ーブルを参照することによって特徴抽出用しきい値D9
を決定する。特徴抽出用しきい値テーブルの一例を表1
に示す。
The feature extraction threshold value determination section 24 determines a feature extraction threshold value D9 (second threshold value) based on the coin type D8 output from the coin identification section 22. Specifically, based on the coin type D8, a threshold value for feature extraction D9 is referred to by referring to a threshold table for feature extraction describing a predetermined threshold value for each coin.
To determine. Table 1 shows an example of a threshold table for feature extraction.
Shown in

【0023】[0023]

【表1】 尚、表1におけるしきい値は、各画素値を256階調で
表現する場合の例である。特徴抽出用しきい値決定部2
4は、また、特徴抽出用しきい値D9を硬貨部分画像特
徴抽出部26に対して出力する。
[Table 1] The threshold values in Table 1 are examples in the case where each pixel value is expressed in 256 gradations. Feature extraction threshold determination unit 2
4 also outputs the feature extraction threshold value D9 to the coin partial image feature extraction unit 26.

【0024】硬貨部分画像特徴抽出部26は、特徴抽出
用しきい値決定部24から出力された特徴抽出用しきい
値D9に基づいて、硬貨部分画像抽出部20から出力さ
れた硬貨部分画像D7の特徴を抽出する。具体的には、
硬貨部分画像D7の各画素について、当該画素の画素値
が特徴抽出用しきい値D9より大きい場合は、当該画素
値を1とし、当該画素の画素値が特徴抽出用しきい値D
9以下の場合は、当該画素値を0とする特徴画像を形成
する。当該特徴画像は、硬貨の表面に刻まれた図形、模
様、数字、又は文字などの刻印に対応する特徴画像とな
る。硬貨部分画像特徴抽出部26はまた、上記の様に形
成された特徴画像を外部に対して出力する。
The coin partial image feature extracting section 26 outputs a coin partial image D7 output from the coin partial image extracting section 20 based on the feature extracting threshold value D9 output from the feature extracting threshold value determining section 24. Is extracted. In particular,
When the pixel value of the pixel of the coin partial image D7 is larger than the feature extraction threshold value D9, the pixel value is set to 1 and the pixel value of the pixel is set to the feature extraction threshold value D9.
In the case of 9 or less, a characteristic image having the pixel value of 0 is formed. The feature image is a feature image corresponding to a mark, such as a figure, a pattern, a number, or a character, carved on the surface of the coin. The coin partial image feature extraction unit 26 also outputs the feature image formed as described above to the outside.

【0025】続いて、本実施形態に係る刻印読み取り装
置10の画像入力部12として好適に用いられるものの
一例を示す。図2は、画像入力部12の構成を示す斜視
図である。画像入力部12は、直方体形状の撮像ユニッ
ト28と、撮像ユニット28上面の対向する2辺にそれ
ぞれ取り付けられた平面板30、32と、撮像ユニット
28及び平面板30、32の上方に配設されたベルトコ
ンベヤ34とを備えて構成される。撮像ユニット28の
上面と平面板30、32の上面の高さとは一致してお
り、全体で一平面が形成され、硬貨Aを搬送させる搬送
路Bとなっている。この搬送路Bとベルトコンベヤ34
の下面とは硬貨Aの厚さとほぼ同一の隙間が設けられ、
ベルトコンベヤ34の駆動によって、この隙間を硬貨A
が搬送される。
Next, an example of a device suitably used as the image input unit 12 of the stamp reading apparatus 10 according to the present embodiment will be described. FIG. 2 is a perspective view showing the configuration of the image input unit 12. The image input unit 12 is provided above the imaging unit 28 having a rectangular parallelepiped shape, the plane plates 30 and 32 attached to two opposing sides of the upper surface of the imaging unit 28, and the imaging unit 28 and the plane plates 30 and 32, respectively. And a belt conveyor 34. The height of the upper surface of the imaging unit 28 and the height of the upper surfaces of the flat plates 30 and 32 coincide with each other, and a single plane is formed as a whole, forming a transport path B for transporting coins A. The transport path B and the belt conveyor 34
The lower surface of the coin is provided with a gap substantially equal to the thickness of the coin A,
By driving the belt conveyor 34, this gap is
Is transported.

【0026】図3に示すように、撮像ユニット28は、
上面が開口した立方体形状の筐体36と、この上面開口
を覆うガラス製の上面板38とから構成され、筐体36
内部には、撮像手段であるエリアセンサ40と、硬貨A
の通過を検出するためのLED42と、照明手段である
LED44とが配設されている。エリアセンサ40は筐
体36内部中央の固定台46に取り付けられ、上面板3
8の撮像領域Cを通過する硬貨Aの表面を撮像する。
As shown in FIG. 3, the imaging unit 28
A cubic case 36 having an open upper surface and a glass upper plate 38 covering the upper surface opening are provided.
Inside, an area sensor 40 serving as an imaging unit and a coin A
LED 42 for detecting the passage of the light, and LED 44 as illumination means are provided. The area sensor 40 is attached to a fixed base 46 in the center of the housing 36,
The surface of the coin A passing through the imaging region C of No. 8 is imaged.

【0027】また、LED42は筐体36の内部側面か
ら突出した固定板48に取り付けられ、上面板38に向
けて光を照射する。更にLED44は上面板38の内面
に沿ってリング形に配設され、上面板38上を通過する
硬貨Aに光を短時間照射する。
The LED 42 is attached to a fixed plate 48 protruding from the inner side surface of the housing 36 and irradiates the upper plate 38 with light. Further, the LEDs 44 are arranged in a ring shape along the inner surface of the upper plate 38, and irradiate the coin A passing on the upper plate 38 with light for a short time.

【0028】図2に示すベルトコンベヤ34のベルト
は、搬送路Bの中央に設けられており、当該ベルトの両
側に配置された一対のLED42から照射された光は上
面板38及びベルトコンベヤ34のベルトの両側を通過
して上方に向けて進行する。ベルトコンベヤ34上方の
照射光の光路上には一対のPD50が配設されており、
ベルトコンベヤ34のベルトの両側を通過した光はそれ
ぞれ対向するPD50に入射する。かかるPD50の検
出信号により、硬貨Aが撮像領域Cに到達したか否かが
検出される。
The belt of the belt conveyor 34 shown in FIG. 2 is provided at the center of the conveying path B, and light emitted from a pair of LEDs 42 disposed on both sides of the belt is transmitted to the upper plate 38 and the belt conveyor 34. It travels upwards past both sides of the belt. A pair of PDs 50 is disposed on the optical path of the irradiation light above the belt conveyor 34,
Light that has passed through both sides of the belt of the belt conveyor 34 enters the PDs 50 facing each other. Based on the detection signal of the PD 50, it is detected whether or not the coin A has reached the imaging area C.

【0029】続いて、本実施形態にかかる刻印読み取り
装置の作用について説明する。図4は、本実施形態にか
かる刻印読み取り装置10を用いて硬貨の表面に刻まれ
た刻印を読み取る場合の処理の流れを示すフローチャー
トである。以下順を追って説明する。
Next, the operation of the stamp reading device according to this embodiment will be described. FIG. 4 is a flowchart illustrating a flow of a process when reading a stamp engraved on the surface of a coin using the stamp reading device 10 according to the present embodiment. The description will be made in the following order.

【0030】本実施形態にかかる刻印読み取り装置10
を用いて硬貨の表面に刻まれた刻印を読み取る場合は、
まず、画像入力部12によって背景画像を入力する(S
1)。入力された背景画像D2は、図5に示すように、
低輝度でランダムな背景光の画像となる。尚、入力ある
いは処理される画像は2次元画像であるが、図5及びこ
れ以降の図においては、説明の便宜上、1次元画像で表
す。
The marking reading device 10 according to the present embodiment
When reading the engraved mark on the surface of the coin using
First, a background image is input by the image input unit 12 (S
1). The input background image D2 is, as shown in FIG.
A low-luminance, random background light image is obtained. Note that the input or processed image is a two-dimensional image, but in FIG. 5 and subsequent figures, it is represented by a one-dimensional image for convenience of explanation.

【0031】画像入力部12によって入力された背景画
像D2は、画像平滑化処理部14によって平滑化され
(S2)、平滑化された背景画像D4は、図6に示すよ
うになる。
The background image D2 input by the image input unit 12 is smoothed by the image smoothing processing unit 14 (S2), and the smoothed background image D4 is as shown in FIG.

【0032】その後、硬貨特定用しきい値抽出部16に
より硬貨特定用しきい値D5が決定される(S3)。具
体的には、平滑化された背景画像D4の各画素値のうち
最大である画素値(図6のM点)が、硬貨抽出用しきい
値D5として決定される。
Thereafter, the coin identifying threshold value extracting section 16 determines a coin identifying threshold value D5 (S3). Specifically, the largest pixel value (point M in FIG. 6) among the pixel values of the smoothed background image D4 is determined as the coin extraction threshold D5.

【0033】上記の如く平滑化された背景画像D4の各
画素値のうち最大である画素値を、硬貨抽出用しきい値
D5として決定することで、背景画像の影響を有効に除
去することが可能となる。特に、硬貨抽出用しきい値D
5の決定に際し、入力された背景画像D2ではなく、平
滑化された背景画像D4を用いることで、硬貨抽出用し
きい値D5の決定における局所的なノイズの影響を除去
することができる。具体的には、例えば、画像入力部1
2を構成するエリアセンサの特定の1画素への入力が不
能となり、当該画素の出力値が常にハイレベル(256
値/256階調)となってしまうような場合は、入力さ
れた背景画像D2に基づいて硬貨抽出用しきい値D5を
決定すると、しきい値が256値/256階調となり、
読み取り対象である硬貨部分を抽出することが不可能と
なる。これに対して、平滑化された背景画像D4に基づ
いて硬貨抽出用しきい値D5を決定するとすれば、局所
的なノイズの影響が隣接した画素間での平均化処理によ
って緩和され、適切なしきい値決定が可能となる。
By determining the maximum pixel value among the pixel values of the background image D4 smoothed as described above as the coin extraction threshold value D5, the influence of the background image can be effectively removed. It becomes possible. In particular, coin extraction threshold D
By using the smoothed background image D4 instead of the input background image D2 when determining 5, it is possible to remove the influence of local noise in determining the coin extraction threshold D5. Specifically, for example, the image input unit 1
2 cannot be input to a particular pixel of the area sensor, and the output value of that pixel is always at a high level (256
In this case, when the threshold value D5 for coin extraction is determined based on the input background image D2, the threshold value becomes 256 values / 256 gradations.
It becomes impossible to extract the coin portion to be read. On the other hand, if the coin extraction threshold value D5 is determined based on the smoothed background image D4, the influence of local noise is reduced by the averaging process between adjacent pixels, and the The threshold can be determined.

【0034】続いて、画像入力部12によって含硬貨画
像を入力する(S4)。入力された含硬貨画像D1は、
図7に示すように、硬貨部分に高い輝度分布を有する画
像となる。
Subsequently, a coin-containing image is input by the image input section 12 (S4). The input coin image D1 is
As shown in FIG. 7, the image has a high luminance distribution in the coin portion.

【0035】画像入力部12によって入力された含硬貨
画像D1は、画像平滑化処理部14によって平滑化され
(S5)、平滑化された含硬貨画像D3は、図8に示す
ようになる。
The coin containing image D1 input by the image input unit 12 is smoothed by the image smoothing processing unit 14 (S5), and the smoothed coin containing image D3 is as shown in FIG.

【0036】続いて、画像2値化処理部18によって、
画像平滑化処理部14から出力された平滑化された含硬
貨画像D3が2値化される(S6)。具体的には、図8
及び図9に示すように、平滑化された含硬貨画像D3の
各画素について、当該画素の画素値が硬貨抽出用しきい
値D5より大きい場合は、当該画素値を1とし、当該画
素の画素値が硬貨抽出用しきい値D5以下の場合は、当
該画素値を0とする2値化画像D6が形成される。上記
2値化画像D6は、含硬貨画像D1内における読み取り
対象である硬貨の位置を示すものであり、かかる2値化
画像D6を形成することにより、別段の前処理装置を設
けることなく、読み取り対象である硬貨の位置を特定す
ることが可能となる。
Subsequently, the image binarization processing unit 18
The smoothed coin-containing image D3 output from the image smoothing processing unit 14 is binarized (S6). Specifically, FIG.
As shown in FIG. 9 and FIG. 9, when the pixel value of the pixel of the smoothed coin-containing image D3 is larger than the coin extraction threshold D5, the pixel value is set to 1 and the pixel of the pixel is If the value is equal to or smaller than the coin extraction threshold D5, a binarized image D6 with the pixel value set to 0 is formed. The binarized image D6 indicates the position of the coin to be read in the coin-containing image D1. By forming the binarized image D6, the binarized image D6 can be read without providing a separate preprocessing device. It is possible to specify the position of the coin to be processed.

【0037】その後、硬貨部分画像抽出部20によっ
て、画像2値化処理部18から出力された2値化画像D
6に基づいて、画像入力部12から出力された含硬貨画
像D1中の硬貨部分が抽出される。具体的には、各画素
について、含硬貨画像D1の画素値と、2値化画像D6
の画素値との積が求められ、この積を当該画素の画素値
として、硬貨部分画像D7が形成される。すなわち、硬
貨部分画像D7は、図10に示すように、硬貨部分の画
素については、画像入力部12によって入力された含硬
貨画像D1の画素値を有し、硬貨部分以外の画素につい
ては0値を有する画像となる。ここで、硬貨部分以外の
画素の画素値を0値とすることで、以降の処理について
硬貨部分以外の画素についての処理を省略することが可
能となり、読み取り時間を短縮することが可能となる。
After that, the binarized image D output from the image binarizing section 18 is output by the coin partial image extracting section 20.
6, a coin portion in the coin-containing image D1 output from the image input unit 12 is extracted. Specifically, for each pixel, the pixel value of the coin-containing image D1 and the binarized image D6
Is calculated, and the product is used as the pixel value of the pixel to form a coin partial image D7. That is, as shown in FIG. 10, the coin part image D7 has the pixel value of the coin containing image D1 input by the image input unit 12 for the pixel of the coin part, and the zero value for the pixels other than the coin part. Is obtained. Here, by setting the pixel values of the pixels other than the coin part to 0 values, it is possible to omit the processing for the pixels other than the coin part in the subsequent processing, and it is possible to shorten the reading time.

【0038】続いて、硬貨特定部22によって、硬貨種
別D8が特定される(S8)。具体的には、上記2値化
画像の画素値が各行毎に横方向に走査され、各行につい
て横方向に連続して配列される1値の数が計数される。
この走査が2値化画像D6の全ての行について行われ、
連続する1値の数の最大値が硬貨の外径とされる。この
外径を、あらかじめ入力された硬貨の外径と比較するこ
とで、硬貨種別D8が特定される。
Subsequently, the coin type D8 is specified by the coin specifying unit 22 (S8). Specifically, the pixel values of the binarized image are scanned in the horizontal direction for each row, and the number of one values continuously arranged in the horizontal direction for each row is counted.
This scanning is performed for all rows of the binarized image D6,
The maximum value of the number of consecutive one-values is the outer diameter of the coin. The coin type D8 is specified by comparing this outer diameter with the outer diameter of the coin input in advance.

【0039】硬貨種別D8が特定されると、特徴抽出用
しきい値決定部24によって、特徴抽出用しきい値D9
が決定される(S9)。具体的には、すでに示したよう
に、硬貨種別D8に基づいて、あらかじめ定められた硬
貨毎のしきい値を記述した特徴抽出用しきい値テーブル
を参照することによって特徴抽出用しきい値D9が決定
される。
When the coin type D8 is specified, the feature extraction threshold value determining section 24 determines the feature extraction threshold value D9.
Is determined (S9). More specifically, as described above, the feature extraction threshold value D9 is referred to by referring to a feature extraction threshold value table describing a predetermined threshold value for each coin based on the coin type D8. Is determined.

【0040】続いて、硬貨部分画像特徴抽出部26によ
って、特徴抽出用しきい値決定部24から出力された特
徴抽出用しきい値D9に基づいて、硬貨部分画像抽出部
20から出力された硬貨部分画像D7の特徴が抽出され
る(S10)。具体的には、図10及び図11に示すよ
うに、硬貨部分画像D7の各画素について、当該画素の
画素値が特徴抽出用しきい値D9より大きい場合は、当
該画素値を1とし、当該画素の画素値が特徴抽出用しき
い値D9以下の場合は、当該画素値を0とする特徴画像
O1が形成される。かかる特徴画像O1は、硬貨の表面
に刻まれた刻印に対応するものである。ここで、特徴抽
出用しきい値D9が読み取り対象である硬貨毎に決定さ
れることで、硬貨の種類に関わらず、硬貨の表面に刻ま
れた刻印を正確に読み取ることが可能となる。
Subsequently, based on the feature extraction threshold value D9 output from the feature extraction threshold value determination unit 24, the coin output from the coin partial image extraction unit 20 is performed by the coin partial image feature extraction unit 26. The feature of the partial image D7 is extracted (S10). Specifically, as shown in FIGS. 10 and 11, for each pixel of the coin partial image D7, when the pixel value of the pixel is larger than the feature extraction threshold D9, the pixel value is set to 1, and When the pixel value of the pixel is equal to or smaller than the feature extraction threshold value D9, a feature image O1 having the pixel value of 0 is formed. Such a characteristic image O1 corresponds to an inscription engraved on the surface of a coin. Here, since the feature extraction threshold value D9 is determined for each coin to be read, it is possible to accurately read the inscription imprinted on the surface of the coin regardless of the type of coin.

【0041】さらに、別の硬貨を対象として、表面に刻
まれた刻印を読み取る場合は、上記の処理を繰り返せば
よい。この場合、同一の読み取り環境で上記処理を行う
場合は、背景画像の入力(S1)、背景画像の平滑化
(S2)、硬貨抽出用しきい値の決定(S3)のそれぞ
れの処理は省略することができる。すなわち、含硬貨画
像の2値化(S6)の際に用いられる硬貨抽出用しきい
値として、すでに求められている硬貨抽出用しきい値D
5を用いれば良い。
Further, in the case of reading an engraved mark on the surface of another coin, the above processing may be repeated. In this case, when the above processing is performed in the same reading environment, the processing of inputting the background image (S1), smoothing the background image (S2), and determining the threshold value for coin extraction (S3) are omitted. be able to. That is, as the coin extraction threshold value used in binarizing the coin-containing image (S6), the coin extraction threshold value D which has already been obtained is used.
5 may be used.

【0042】続いて、本実施形態にかかる刻印読み取り
装置の効果について説明する。本実施形態にかかる刻印
読み取り装置10は、画像2値化処理部18によって2
値化された2値化画像D6に基づいて硬貨部分を抽出す
ることで、前処理装置を用いることなく、読み取り対象
である硬貨の位置を特定することが可能となる。また、
2値化画像D6に基づいて硬貨種別D8を特定するた
め、前処置装置を用いることなく硬貨種別を特定するこ
とが可能となる。その結果、硬貨位置の特定、硬貨種別
の特定のための前処理装置を設ける必要がなくなり、刻
印読み取り装置10の小型化が実現する。
Next, the effect of the stamp reading device according to the present embodiment will be described. The marking reading device 10 according to the present embodiment is
By extracting the coin portion based on the binarized image D6, the position of the coin to be read can be specified without using a preprocessing device. Also,
Since the coin type D8 is specified based on the binarized image D6, the coin type can be specified without using a pretreatment device. As a result, it is not necessary to provide a preprocessing device for specifying the coin position and the coin type, and the size of the stamp reading device 10 can be reduced.

【0043】また、本実施形態にかかる刻印読み取り装
置10は、前処理装置で硬貨の位置を特定し、その後エ
リアセンサの設けられた部分に硬貨を搬送してから当該
硬貨を含む対象画像を撮像するのではなく、硬貨部分画
像抽出部20によって含硬貨画像D1内における硬貨部
分を抽出するため、読み取り対象である硬貨の位置ずれ
の問題が発生しなくなる。その結果、読み取り対象であ
る硬貨の表面に刻まれた刻印を極めて正確に読み取るこ
とが可能となる。
Further, the stamp reading apparatus 10 according to the present embodiment specifies the position of the coin by the pre-processing device, and thereafter conveys the coin to the area provided with the area sensor, and then captures the target image including the coin. Instead, the coin portion in the coin-containing image D1 is extracted by the coin portion image extracting unit 20, so that the problem of the displacement of the coin to be read does not occur. As a result, it is possible to read the mark imprinted on the surface of the coin to be read very accurately.

【0044】さらに、本実施形態にかかる刻印読み取り
装置10は、画像平滑化処理部14によって平滑化され
た背景画像D4を用いて硬貨抽出用しきい値D5を決定
しているため、背景画像における局所的なノイズの影響
が緩和される。その結果、背景画像の局所的なノイズに
影響されず、読み取り対象である硬貨の表面に刻まれた
刻印を正確に読み取ることが可能となる。
Further, the stamp reading apparatus 10 according to the present embodiment determines the coin extraction threshold value D5 using the background image D4 smoothed by the image smoothing processing unit 14, so that the coin reading threshold value D5 in the background image is determined. The effect of local noise is reduced. As a result, it is possible to accurately read the engraved mark on the surface of the coin to be read without being affected by local noise of the background image.

【0045】また、本実施形態にかかる刻印読み取り装
置10は、特徴抽出用しきい値決定部24によって決定
された特徴抽出用しきい値D9に基づいて特徴画像O1
を形成することで、硬貨の種類に関わらず、硬貨の表面
に刻まれた刻印を正確に読み取ることが可能となる。
In addition, the marking reading apparatus 10 according to the present embodiment uses the feature image O1 based on the feature extraction threshold value D9 determined by the feature extraction threshold value determination unit 24.
Is formed, it is possible to accurately read the engraved mark on the surface of the coin regardless of the type of the coin.

【0046】また、本実施形態にかかる刻印読み取り装
置10は、画像平滑化処理部14によって平滑化された
背景画像D4の各画素値のうち最大である画素値を硬貨
抽出用しきい値D5として決定することで、画像2値化
処理部18により背景画像部分が効率よく除去される。
その結果、背景光に起因する誤検出等が防止され、読み
取り精度が向上する。
The engraving reading apparatus 10 according to the present embodiment sets the maximum pixel value among the pixel values of the background image D4 smoothed by the image smoothing processing unit 14 as a coin extraction threshold value D5. With the determination, the background image portion is efficiently removed by the image binarization processing unit 18.
As a result, erroneous detection or the like due to background light is prevented, and reading accuracy is improved.

【0047】さらに、本実施形態にかかる刻印読み取り
装置10は、硬貨特定部22において、横方向に連続し
て配列される1値の数に基づき、硬貨種別D8を特定す
る。その結果、直径の異なる複数種の硬貨を容易に識別
することが可能となり、読み取り速度が向上する。
Further, in the stamp reading device 10 according to the present embodiment, the coin specifying unit 22 specifies the coin type D8 based on the number of one values continuously arranged in the horizontal direction. As a result, a plurality of types of coins having different diameters can be easily identified, and the reading speed is improved.

【0048】上記実施形態にかかる刻印読み取り装置1
0において、硬貨特定部22は、横方向に連続して配列
される1値の数に基づき、硬貨種別D8を特定していた
が、これは連続して配列される0値の数に基づき、硬貨
種別D8を特定してもよい。また、走査の方向は縦方向
でも良い。
The marking reading device 1 according to the above embodiment
At 0, the coin specifying unit 22 specifies the coin type D8 based on the number of 1 values arranged continuously in the horizontal direction, but this is based on the number of 0 values arranged continuously. The coin type D8 may be specified. The scanning direction may be a vertical direction.

【0049】さらに、上記実施形態にかかる刻印読み取
り装置10において、硬貨特定部22は、横方向に連続
して配列される1値の数に基づき、硬貨種別D8を特定
していたが、これは、画像2値化処理部18によって2
値化された2値化画像D6内の0値又は1値の総数に基
づいて硬貨種別D8を特定してもよい。
Furthermore, in the stamp reading apparatus 10 according to the above embodiment, the coin specifying unit 22 specifies the coin type D8 based on the number of one values arranged continuously in the horizontal direction. , By the image binarization processing unit 18
The coin type D8 may be specified based on the total number of 0 values or 1 values in the binarized image D6.

【0050】上記のように、0値又は1値の総数に基づ
いて硬貨種別D8を特定することによって、直径がほぼ
同一であり、内部に中空部分を有する硬貨と内部に中空
部分を有しない硬貨、例えば五円玉と百円玉とを効率よ
く識別することが可能となる。
As described above, by specifying the coin type D8 based on the total number of 0 values or 1 values, a coin having substantially the same diameter and having a hollow portion inside and a coin having no hollow portion inside is provided. For example, a five-yen coin and a hundred-yen coin can be efficiently distinguished.

【0051】また、上記実施形態にかかる刻印読み取り
装置10においては、硬貨を読み取り対象としていた
が、これは、遊戯用コインなど他の種類のコインであっ
ても良い。
In the stamp reading apparatus 10 according to the above-described embodiment, coins are read, but other types of coins such as game coins may be used.

【0052】[0052]

【発明の効果】本発明の刻印読み取り装置は、2値化手
段によって2値化された対象画像に基づいてコイン部分
を抽出することで、前処理装置を用いることなく、読み
取り対象であるコインの位置を特定することが可能とな
る。また、2値化された対象画像に基づいてコインの種
別を特定するため、前処置装置を用いることなくコイン
の種別を特定することが可能となる。その結果、コイン
の位置の特定、コインの種別の特定のための前処理装置
を設ける必要がなくなり、刻印読み取り装置の小型化が
実現する。
According to the stamp reading apparatus of the present invention, the coin portion is extracted based on the target image binarized by the binarizing means, so that the coin to be read can be read without using a preprocessing apparatus. The position can be specified. Further, since the type of the coin is specified based on the binarized target image, the type of the coin can be specified without using the pretreatment device. As a result, it is not necessary to provide a preprocessing device for specifying the position of the coin and for specifying the type of the coin, and the size of the stamp reading device can be reduced.

【0053】また、本発明の刻印読み取り装置は、前処
理装置でコインの位置を特定し、その後、入力手段の設
けられた部分にコインを搬送してから当該コインを含む
対象画像を撮像するのではなく、対象抽出手段によって
対象画像からコイン部分を抽出するため、読み取り対象
であるコインの位置ずれの問題が発生しなくなる。その
結果、読み取り対象であるコインの表面に刻まれた刻印
を極めて正確に読み取ることが可能となる。
Further, in the stamp reading device of the present invention, the position of the coin is specified by the pre-processing device, and then the coin is conveyed to the portion provided with the input means, and then the target image including the coin is captured. Instead, since the coin portion is extracted from the target image by the target extracting means, the problem of the positional deviation of the coin to be read does not occur. As a result, it is possible to read the inscription imprinted on the surface of the coin to be read extremely accurately.

【0054】さらに、本発明の刻印読み取り装置は、平
滑化手段によって平滑化された背景画像を用いて第1の
しきい値を決定しているため、背景画像における局所的
なノイズの影響が緩和される。その結果、背景画像の局
所的なノイズに影響されず、読み取り対象であるコイン
の表面に刻まれた刻印を正確に読み取ることが可能とな
る。
Further, in the marking reading device of the present invention, the first threshold value is determined using the background image smoothed by the smoothing means, so that the influence of local noise on the background image is reduced. Is done. As a result, it is possible to accurately read the engraved mark on the surface of the coin to be read without being affected by local noise of the background image.

【0055】また、本発明の刻印読み取り装置は、第2
のしきい値決定手段によって決定された第2のしきい値
に基づいて特徴画像を抽出することで、コインの種類に
関わらず、コインの表面に刻まれた刻印を正確に読み取
ることが可能となる。
Further, the stamp reading device of the present invention has a
By extracting the characteristic image based on the second threshold value determined by the threshold value determining means, it is possible to accurately read the inscription imprinted on the coin surface regardless of the type of the coin. Become.

【0056】さらに、本発明の刻印読み取り装置は、対
象特定手段において、横方向に連続して配列される1値
の数に基づき、コインの種別を特定する。その結果、直
径の異なる複数種のコインを容易に識別することが可能
となり、読み取り速度が向上する。
Further, in the marking reading apparatus of the present invention, the target specifying means specifies the type of coin based on the number of one values continuously arranged in the horizontal direction. As a result, a plurality of types of coins having different diameters can be easily identified, and the reading speed is improved.

【0057】また、本発明の刻印読み取り装置は、0値
又は1値の総数に基づいてコインの種別を特定すること
によって、直径がほぼ同一であり、内部に中空部分を有
するコインと内部に中空部分を有しないコインとを効率
良く識別することが可能となる。
Further, the stamp reading apparatus of the present invention specifies the type of coin based on the total number of 0 values or 1 values, so that a coin having substantially the same diameter and having a hollow portion inside and a hollow portion inside is used. It is possible to efficiently identify a coin having no portion.

【0058】また、本発明の刻印読み取り装置は、平滑
化手段によって平滑化された背景画像の各画素値のうち
最大である画素値を第1のしきい値として決定すること
で、2値化手段により背景画像部分が効率よく除去され
る。その結果、背景光に起因する誤検出等が防止され、
読み取り精度が向上する。
Further, the marking reading device of the present invention determines the maximum pixel value among the pixel values of the background image smoothed by the smoothing means as the first threshold value, thereby performing the binarization. By this means, the background image portion is efficiently removed. As a result, erroneous detection or the like due to background light is prevented,
The reading accuracy is improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態にかかる刻印読み取り装置の
構成図である。
FIG. 1 is a configuration diagram of a stamp reading device according to an embodiment of the present invention.

【図2】画像入力部の斜視図である。FIG. 2 is a perspective view of an image input unit.

【図3】撮像ユニットの斜視図である。FIG. 3 is a perspective view of an imaging unit.

【図4】本発明の実施形態にかかる刻印読み取り装置を
用いて硬貨の表面を読み取る場合の処理の流れを示すフ
ローチャートである。
FIG. 4 is a flowchart showing a flow of processing when reading the surface of a coin using the stamp reading device according to the embodiment of the present invention.

【図5】背景画像D2を示す図である。FIG. 5 is a diagram showing a background image D2.

【図6】平滑化された背景画像D4及び硬貨抽出用しき
い値D5を示す図である。
FIG. 6 is a diagram showing a smoothed background image D4 and a coin extraction threshold D5.

【図7】含硬貨画像D1を示す図である。FIG. 7 is a diagram showing a coin containing image D1.

【図8】平滑化された含硬貨画像D3及び硬貨抽出用し
きい値D5を示す図である。
FIG. 8 is a diagram showing a smoothed coin-containing coin image D3 and a coin extraction threshold D5.

【図9】2値化画像D6を示す図である。FIG. 9 is a diagram showing a binarized image D6.

【図10】硬貨部分画像D7及び特徴抽出用しきい値D
9を示す図である。
FIG. 10 shows a coin partial image D7 and a threshold value D for feature extraction.
FIG.

【図11】特徴画像O1を示す図である。FIG. 11 is a diagram showing a characteristic image O1.

【符号の説明】[Explanation of symbols]

10…刻印読み取り装置、12…画像入力部、14…画
像平滑化処理部、16…硬貨抽出用しきい値決定部、1
8…画像2値化処理部、20…硬貨部分画像抽出部、2
2…硬貨特定部、24…特徴抽出用しきい値決定部、2
6…硬貨部分画像特徴抽出部
DESCRIPTION OF SYMBOLS 10 ... Engraving reading device, 12 ... Image input part, 14 ... Image smoothing processing part, 16 ... Threshold determination part for coin extraction, 1
8 image binarization processing unit, 20 coin part image extraction unit, 2
2 ... Coin identification unit, 24 ... Threshold extraction unit for feature extraction, 2
6 ... Coin partial image feature extraction unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 コインの表面に刻まれた刻印を読み取る
刻印読み取り装置において、 前記コインを含む対象画像と前記コインを含まない背景
画像とのそれぞれを入力する入力手段と、 前記入力手段によって入力された前記対象画像と前記背
景画像とのそれぞれを平滑化する平滑化手段と、 前記平滑化手段によって平滑化された前記背景画像に基
づいて、第1のしきい値を決定する第1のしきい値決定
手段と、 前記第1のしきい値決定手段によって決定された第1の
しきい値に基づいて、前記平滑化手段によって平滑化さ
れた対象画像を2値化する2値化手段と、 前記2値化手段によって2値化された対象画像に基づい
て、前記入力手段によって入力された対象画像のうち前
記コインの部分を抽出する対象抽出手段と、 前記2値化手段によって2値化された対象画像に基づい
て、前記コインの種別を特定する対象特定手段と、 前記対象特定手段によって特定された前記コインの種別
に基づいて、第2のしきい値を決定する第2のしきい値
決定手段と、 前記第2のしきい値決定手段によって決定された第2の
しきい値に基づいて、前記対象抽出手段によって抽出さ
れた前記コインの部分に形成される特徴画像を抽出する
特徴抽出手段とを備えたことを特徴とする刻印読み取り
装置。
1. A stamp reading device for reading a stamp inscribed on a surface of a coin, comprising: an input unit for inputting a target image including the coin and a background image not including the coin; A smoothing means for smoothing each of the target image and the background image, and a first threshold for determining a first threshold value based on the background image smoothed by the smoothing means. Value determination means, and binarization means for binarizing the target image smoothed by the smoothing means based on the first threshold value determined by the first threshold value determination means; A target extraction unit that extracts the coin portion from the target image input by the input unit based on the target image binarized by the binarization unit; A target specifying unit that specifies the type of the coin based on the binarized target image, and a second threshold value that determines a second threshold based on the type of the coin specified by the target specifying unit. And a characteristic image formed on a portion of the coin extracted by the target extracting means based on a second threshold value determining means and a second threshold value determined by the second threshold value determining means. And a feature extracting means for extracting a mark.
【請求項2】 前記対象特定手段は、 前記2値化手段によって2値化された対象画像におい
て、特定の直線方向に連続して配列される0値又は1値
の数に基づいて前記コインの種別を特定することを特徴
とする請求項1に記載の刻印読み取り装置。
2. The method according to claim 1, wherein the target specifying unit is configured to determine the value of the coin based on the number of 0 values or 1 values continuously arranged in a specific linear direction in the target image binarized by the binarizing unit. The stamp reading device according to claim 1, wherein the type is specified.
【請求項3】 前記対象特定手段は、 前記2値化手段によって2値化された対象画像におい
て、0値又は1値の総数に基づいて前記コインの種別を
特定することを特徴とする請求項1または2に記載の刻
印読み取り装置。
3. The coin identification method according to claim 2, wherein the target identification unit identifies the type of the coin based on the total number of 0 values or 1 values in the target image binarized by the binarization unit. 3. The marking reading device according to 1 or 2.
【請求項4】 前記第1のしきい値決定手段は、前記平
滑化手段によって平滑化された前記背景画像の各画素値
のうち最大である画素値を前記第1のしきい値として決
定することを特徴とする請求項1〜3のうちいずれか1
項に記載の刻印読み取り装置。
4. The first threshold value determining means determines a maximum pixel value among pixel values of the background image smoothed by the smoothing means as the first threshold value. 4. The method according to claim 1, wherein
An engraving reading device according to the item.
JP10247450A 1998-09-01 1998-09-01 Stamp reader Pending JP2000076513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10247450A JP2000076513A (en) 1998-09-01 1998-09-01 Stamp reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10247450A JP2000076513A (en) 1998-09-01 1998-09-01 Stamp reader

Publications (1)

Publication Number Publication Date
JP2000076513A true JP2000076513A (en) 2000-03-14

Family

ID=17163634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10247450A Pending JP2000076513A (en) 1998-09-01 1998-09-01 Stamp reader

Country Status (1)

Country Link
JP (1) JP2000076513A (en)

Similar Documents

Publication Publication Date Title
US6394256B2 (en) Paper discriminating apparatus
JPS62184908A (en) Automatic discriminating method of tire
JPH0896059A (en) Bar code reader
JPS59106079A (en) Binary-coding device of pattern collating device
US7835540B2 (en) Method of detecting bunched-together poster items by analyzing images of their edges
WO2011071035A1 (en) Appearance inspection device
US20060177093A1 (en) Sheet identifying device and method
JP3018949B2 (en) Character reading apparatus and method
WO2019048824A1 (en) Optically Readable Markers
KR20120109547A (en) Appearance inspection device
US4596038A (en) Method and apparatus for character recognition
KR100498763B1 (en) The bar code reader and high-speed extraction system of bar code locating, the control method of this system
JP2000076513A (en) Stamp reader
JP2007241701A (en) Coin image discrimination device
JP3022459B2 (en) Form identification registration device
JP3230371B2 (en) Character recognition device and character recognition method
JPH07334617A (en) Embossed character recognizing method
JP4176611B2 (en) Coin discrimination method and apparatus
JPH10302107A (en) Image reader for circular object
JP2015225462A (en) Determination device, determination program, and determination method
JPH06266890A (en) Embossed character recognizing device
JP2000187706A (en) Paper sheets reader
JPH07325882A (en) Character recognizing device and character recognizing method
JP2005284918A (en) Coin identification device
JP2868249B2 (en) Card engraved character inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071113

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080318