JP6214036B2 - Coin identification device and coin identification method - Google Patents

Coin identification device and coin identification method Download PDF

Info

Publication number
JP6214036B2
JP6214036B2 JP2013196060A JP2013196060A JP6214036B2 JP 6214036 B2 JP6214036 B2 JP 6214036B2 JP 2013196060 A JP2013196060 A JP 2013196060A JP 2013196060 A JP2013196060 A JP 2013196060A JP 6214036 B2 JP6214036 B2 JP 6214036B2
Authority
JP
Japan
Prior art keywords
image
coin
distance
unit
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013196060A
Other languages
Japanese (ja)
Other versions
JP2015060564A (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 JP2013196060A priority Critical patent/JP6214036B2/en
Publication of JP2015060564A publication Critical patent/JP2015060564A/en
Application granted granted Critical
Publication of JP6214036B2 publication Critical patent/JP6214036B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、硬貨の種類を識別する硬貨識別装置及び硬貨識別方法に関し、特に、温度変化等による影響を受けずに安定して硬貨を識別することができる硬貨識別装置及び硬貨識別方法に関する。   The present invention relates to a coin identifying device and a coin identifying method for identifying the type of a coin, and more particularly to a coin identifying device and a coin identifying method capable of stably identifying a coin without being affected by a temperature change or the like.

従来、搬送路上を搬送される硬貨に向けて光を照射して、反射された光をCCD等の撮像素子へ受光することにより硬貨画像を撮像し、該硬貨画像に基づいて硬貨の金種や真偽等を識別する硬貨識別装置が知られている。硬貨からの反射光を撮像素子へと導くために、複数のレンズを組み合わせたレンズユニットが利用される。レンズユニットにはアクリル樹脂(PMMA)製レンズやポリカーボネート樹脂(PC)製レンズといった安価なプラスチックレンズが用いられることが多いが、これらの樹脂製レンズでは温度変化に起因する屈折率変化や体積変化によってレンズ特性が変化しやすいという問題がある。例えば、レンズ特性の変化により硬貨画像の像倍率が変わってしまうと、硬貨画像から求める硬貨径が変化して、識別処理の精度が低下する。このため、レンズ特性の変化による画像への影響を補正してから硬貨径等の特徴量を求めて識別処理を行う必要がある。   Conventionally, a coin image is imaged by irradiating light toward a coin conveyed on a conveyance path and receiving the reflected light on an image pickup device such as a CCD, and based on the coin image, A coin identifying device for identifying authenticity is known. In order to guide the reflected light from the coin to the image sensor, a lens unit in which a plurality of lenses are combined is used. In many cases, inexpensive plastic lenses such as acrylic resin (PMMA) lenses and polycarbonate resin (PC) lenses are used for the lens unit. However, these resin lenses have a refractive index change or volume change caused by a temperature change. There is a problem that the lens characteristics are easily changed. For example, if the image magnification of the coin image changes due to a change in lens characteristics, the coin diameter obtained from the coin image changes, and the accuracy of the identification process decreases. For this reason, it is necessary to correct the influence on the image due to the change in the lens characteristics and then perform the identification process by obtaining a feature amount such as a coin diameter.

例えば、特許文献1には、基準媒体を利用して画像を補正する媒体識別装置が開示されている。この装置では、媒体処理の開始前に所定条件下で取得した基準媒体画像を記憶しておく。そして、媒体処理を開始する際に再び基準媒体を撮像して、得られた基準媒体画像と予め記憶しておいた基準媒体画像とに基づいて画像の補正内容を設定する。   For example, Patent Document 1 discloses a medium identification device that corrects an image using a reference medium. In this apparatus, a reference medium image acquired under a predetermined condition is stored before the start of medium processing. Then, when the medium processing is started, the reference medium is imaged again, and the correction contents of the image are set based on the obtained reference medium image and the reference medium image stored in advance.

また、例えば、特許文献2には、内部に温度センサを備える硬貨識別装置が開示されている。この装置では、温度センサによって硬貨画像撮像時の温度を測定して、測定温度に基づいて硬貨画像の像倍率を補正する。これにより、硬貨処理時の温度が変化した場合でも、一定の像倍率で硬貨画像を取得して、硬貨の識別精度に対する温度変化の影響を抑えることができる。   Moreover, for example, Patent Literature 2 discloses a coin identifying device including a temperature sensor therein. In this apparatus, the temperature at the time of coin image capturing is measured by a temperature sensor, and the image magnification of the coin image is corrected based on the measured temperature. Thereby, even when the temperature at the time of coin processing changes, a coin image can be acquired with a fixed image magnification, and the influence of the temperature change on the coin identification accuracy can be suppressed.

特開2009−110325号公報JP 2009-110325 A 特開2010−26992号公報JP 2010-26992 A

しかしながら、上記従来技術1では、装置とは別に基準媒体を準備して管理する必要があり、処理開始前に基準媒体を装置に投入して画像を撮像する必要があるため手間がかかる。また、処理の実行中に温度が変化する場合があるが、これを補正したい場合には、基準媒体を装置に投入して画像を撮像するために、実行中の処理を停止しなければならない。   However, in the above prior art 1, it is necessary to prepare and manage a reference medium separately from the apparatus, and it is necessary to insert the reference medium into the apparatus and capture an image before starting the process. In addition, the temperature may change during the execution of the process. If it is desired to correct this, the process being executed must be stopped in order to input the reference medium into the apparatus and capture an image.

また、上記従来技術2では、予め温度変化による像倍率の変化を測定して、温度と補正量の関係を示す情報を取得する必要がある。具体的には、画像取得時の測定温度に応じて像倍率を補正するために、基準温度として設定された所定温度で撮像した画像の像倍率に対して、温度が変化した際の像倍率の変化を調べて、得られたデータをメモリ等に保存しておく必要があるが、これらの作業は手間のかかるものであった。   Further, in the above-described prior art 2, it is necessary to measure the change in the image magnification due to the temperature change in advance and acquire information indicating the relationship between the temperature and the correction amount. Specifically, in order to correct the image magnification in accordance with the measured temperature at the time of image acquisition, the image magnification when the temperature changes with respect to the image magnification of the image captured at a predetermined temperature set as the reference temperature. It is necessary to investigate changes and save the obtained data in a memory or the like, but these operations are time-consuming.

また、硬貨識別装置では、温度変化に起因する像倍率の変化の他にも硬貨の識別精度を低下させる要因がある。例えば、硬貨識別装置では、搬送路上の所定位置を通過する硬貨を撮像するが、撮像された画像に、搬送路上に堆積した硬貨粉等が写り込む場合がある。このような場合には、硬貨が無い状態の画像を背景画像として撮像しておいて、硬貨を撮像した硬貨画像から背景画像を差し引くことにより、背景画像に含まれる硬貨粉等の画像をノイズとして除去することができる。ところが、衝撃や振動によってレンズに位置ずれが生じて、背景画像と硬貨画像との間でノイズの位置がずれてしまうと、硬貨画像から背景画像を差し引いてもノイズを除去することができなくなる。そして、硬貨画像にノイズが含まれていると硬貨識別を正確に行えない可能性がある。   In addition, in the coin identification device, there is a factor that lowers the coin identification accuracy in addition to the change in the image magnification caused by the temperature change. For example, in the coin identification device, coins passing through a predetermined position on the conveyance path are imaged, and there are cases where coin powder or the like deposited on the conveyance path is reflected in the captured image. In such a case, an image with no coins is taken as a background image, and by subtracting the background image from the coin image obtained by picking up the coins, an image such as coin dust contained in the background image is used as noise. Can be removed. However, if the lens is displaced due to impact or vibration and the position of the noise is shifted between the background image and the coin image, the noise cannot be removed even if the background image is subtracted from the coin image. And, if noise is included in the coin image, there is a possibility that coin identification cannot be performed accurately.

本発明は、上記従来技術の課題を解消するためになされたもので、温度変化や衝撃等が生じた場合でも、高精度な硬貨画像を安定して取得することができる硬貨識別装置及び硬貨識別方法を提供することを目的とする。   The present invention has been made to solve the above-described problems of the prior art, and even when a temperature change, an impact, or the like occurs, a coin identification device and a coin identification that can stably acquire a highly accurate coin image. It aims to provide a method.

上述した課題を解決し、目的を達成するため、本発明は、光源から硬貨に向けて光を照射して前記硬貨を撮像した画像に基づいて識別処理を行う硬貨識別装置であって、識別対象の硬貨が通過する硬貨通過領域及び該硬貨通過領域の外側に固定して配置された複数の基準部材が含まれる撮像範囲をレンズユニットにより撮像素子上に結像して撮像する画像センサと、画像上の前記基準部材の間の距離を示す距離基準値を記憶する記憶部と、前記画像センサにより撮像された画像を、該画像上で算出した前記基準部材の間の距離が前記距離基準値と一致するように補正する画像補正部とを備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is a coin identifying apparatus that performs identification processing based on an image obtained by irradiating light from a light source toward a coin and imaging the coin, an image sensor for imaging by the imaging an imaging range by the lens unit on the image sensor coin includes a plurality of reference members which are arranged fixedly on the outside of the coin passage region and the coin passage region through the image A storage unit that stores a distance reference value indicating a distance between the reference members above, and an image captured by the image sensor, and the distance between the reference members calculated on the image is the distance reference value And an image correction unit that corrects the images to match.

また、本発明は、上記発明において、前記距離基準値は基準温度下での前記基準部材の間の距離を示し、前記画像補正部は、前記距離基準値と、前記画像センサにより前記基準温度と異なる温度下で撮像された画像上での前記基準部材の間の距離とに基づいて、温度変化に起因する像倍率の変化を補正することを特徴とする。   Further, the present invention is the above invention, wherein the distance reference value indicates a distance between the reference members under a reference temperature, and the image correction unit detects the distance reference value and the reference temperature by the image sensor. A change in image magnification caused by a temperature change is corrected based on a distance between the reference members on images taken at different temperatures.

また、本発明は、上記発明において、前記基準部材の画像の輝度値を示す輝度基準値と前記画像センサにより撮像された画像に含まれる前記基準部材の画像の輝度値との比を光量比として算出する輝度算出部と、前記輝度算出部により算出された前記光量比に基づいて前記光源の発光量を制御する光源制御部をさらに備えることを特徴とする。   In the invention described above, the light intensity ratio may be a ratio between a luminance reference value indicating a luminance value of the image of the reference member and a luminance value of the image of the reference member included in the image captured by the image sensor. A luminance calculation unit to calculate, and a light source control unit to control the light emission amount of the light source based on the light amount ratio calculated by the luminance calculation unit are further provided.

また、本発明は、上記発明において、前記基準部材の位置を示す画像上の基準位置と前記画像センサにより撮像された画像に含まれる前記基準部材の位置とのずれ量を算出して、前記画像から部分領域画像を切り出す位置を規定した切出基準を前記ずれ量に基づいて補正し、補正後の切出基準で前記部分領域画像の切り出しを行う画像切出部をさらに備えることを特徴とする。 Further, the present invention provides the image processing apparatus according to the above invention, wherein a deviation amount between a reference position on an image indicating the position of the reference member and a position of the reference member included in an image captured by the image sensor is calculated, and the image And further comprising an image cutout unit that corrects a cutout reference that defines a position for cutting out the partial area image from the image based on the shift amount, and cuts out the partial area image using the corrected cutout reference. .

また、本発明は、上記発明において、画像上で算出される距離及びずれ量は一画素単位で算出されることを特徴とする。   Further, the present invention is characterized in that, in the above invention, the distance and the shift amount calculated on the image are calculated in units of one pixel.

また、本発明は、上記発明において、前記基準部材は、前記画像センサを構成するセンサケース内に固定されていることを特徴とする。   Moreover, the present invention is characterized in that, in the above invention, the reference member is fixed in a sensor case constituting the image sensor.

また、本発明は、上記発明において、前記センサケース及び前記基準部材は、前記レンズユニットを形成する材質より線膨張係数の小さい材質で形成されており、前記基準部材は、前記センサケースより反射率の高い材質で形成されていることを特徴とする。   Further, the present invention is the above invention, wherein the sensor case and the reference member are made of a material having a smaller linear expansion coefficient than the material forming the lens unit, and the reference member is more reflective than the sensor case. It is made of a high material.

また、本発明は、光源から硬貨に向けて光を照射して前記硬貨を撮像した画像に基づいて識別処理を行う硬貨識別方法であって、画像上の基準部材の間の距離を示す距離基準値を記憶する記憶工程と、識別対象の硬貨が通過する硬貨通過領域及び該硬貨通過領域の外側に固定された複数の基準部材が含まれる撮像範囲をレンズユニットにより撮像素子上に結像して撮像する画像撮像工程と、前記画像撮像工程で撮像された画像を、該画像上で算出した前記基準部材の間の距離が前記距離基準値と一致するように補正する画像補正工程とを含んだことを特徴とする。 Further, the present invention is a coin identification method for performing identification processing based on an image obtained by irradiating light from a light source toward a coin and capturing the coin, and indicating a distance between reference members on the image A storage step for storing values, a coin passing region through which a coin to be identified passes, and an imaging range including a plurality of reference members fixed outside the coin passing region are imaged on an image sensor by a lens unit. An image capturing step for capturing an image, and an image correcting step for correcting the image captured in the image capturing step so that a distance between the reference members calculated on the image matches the distance reference value. It is characterized by that.

本発明によれば、画像センサによる撮像範囲内に固定して配置された基準部材を所定条件下で撮像した基準画像上で基準部材間の距離を求めて距離基準値として記憶部に記憶しておいて、異なる条件下で撮像した画像上で基準部材間の距離が変化している場合には、この距離が距離基準値と一致するように画像を補正することができるので、温度変化や衝撃等により像倍率の変化や撮像画像内での切出対象領域のずれが生じた場合でも、高精度な硬貨画像を取得することができる。そして、取得した硬貨画像を利用して正確に硬貨を識別することができる。   According to the present invention, a distance between reference members is obtained on a reference image obtained by imaging a reference member fixedly arranged within an imaging range by an image sensor under a predetermined condition, and stored as a distance reference value in a storage unit. If the distance between the reference members changes on images taken under different conditions, the image can be corrected so that this distance matches the distance reference value. Even when a change in image magnification or a shift of a region to be cut out in a captured image occurs due to the above, a highly accurate coin image can be acquired. And a coin can be correctly identified using the acquired coin image.

また、本発明によれば、温度変化に伴って、例えば、画像センサを構成するレンズユニットの屈折率が変化して、基準画像に対する像倍率が変わってしまった場合でも、基準部材間の距離に基づいて像倍率の変化を補正できるので、温度変化と像倍率変化の関係を事前に調べて補正量を設定しておかなくても、高精度な硬貨画像を取得することができる。   Further, according to the present invention, for example, even when the refractive index of the lens unit constituting the image sensor changes and the image magnification with respect to the reference image changes as the temperature changes, the distance between the reference members is increased. Since the change in the image magnification can be corrected based on this, a highly accurate coin image can be acquired without investigating the relationship between the temperature change and the image magnification change in advance and setting the correction amount.

また、本発明によれば、明瞭な硬貨画像を取得できるように光源の発光量を調整して撮像した基準画像上での基準部材の画像の輝度値を輝度基準値として、硬貨識別処理を行う際に撮像した画像上での基準部材の画像の輝度値が輝度基準値と一致するように光源の発光量を制御することができるので、明瞭な硬貨画像を取得することができる。   Further, according to the present invention, the coin identification process is performed using the luminance value of the image of the reference member on the reference image taken by adjusting the light emission amount of the light source so that a clear coin image can be acquired as the luminance reference value. Since the light emission amount of the light source can be controlled so that the luminance value of the image of the reference member on the captured image matches the luminance reference value, a clear coin image can be acquired.

また、本発明によれば、例えばレンズユニットを構成するレンズの位置ずれによって、基準画像上で設定された部分領域画像の切出範囲と、硬貨識別処理を行う際に撮像した画像上での切出範囲との位置がずれてしまった場合でも、両画像における基準部材の位置関係からずれ量を算出して、基準画像上で切出範囲を規定した切出基準の位置を補正することができる。温度変化、衝撃、振動等が生じた場合でも、補正後の切出基準に基づいて、常に同じ部分領域を切り出すことができるので、硬貨を撮像した画像からノイズを撮像した背景画像を差し引いてノイズを除去することができる。   Further, according to the present invention, for example, due to the positional deviation of the lenses constituting the lens unit, the cut-out range of the partial region image set on the reference image and the cut-out on the image captured when performing the coin identification process Even when the position of the extraction range is deviated, the amount of deviation can be calculated from the positional relationship of the reference members in both images, and the position of the extraction reference that defines the extraction range on the reference image can be corrected. . Even if temperature changes, shocks, vibrations, etc. occur, the same partial area can always be cut out based on the cut-out criteria after correction, so the noise is obtained by subtracting the background image that picked up noise from the image picked up from coins. Can be removed.

また、本発明によれば、基準部材の距離やずれ量を一画素単位で算出して、画像の像倍率の変化や部分領域画像の切出位置を画素単位で正確に補正することができる。   Further, according to the present invention, the distance and displacement amount of the reference member can be calculated in units of pixels, and the change in the image magnification of the image and the cut-out position of the partial area image can be accurately corrected in units of pixels.

また、本発明によれば、基準部材が、画像センサのセンサケース内に固定して配置されているので、基準媒体や基準チャート等を別途用意して撮像する必要がなく、像倍率や位置ずれを容易に補正することができる。   Further, according to the present invention, since the reference member is fixedly arranged in the sensor case of the image sensor, it is not necessary to separately prepare a reference medium, a reference chart, etc., and image magnification or positional deviation is required. Can be easily corrected.

また、本発明によれば、線膨張係数の小さい材料で形成されたセンサケースに、同じく線膨張係数が小さくかつ光の反射率が高い材料で形成された基準部材を固定して配置することにより、温度変化に伴ってレンズユニットの屈折率が変化するような環境下でも基準部材の位置が変化することがないので、基準部材を利用した画像補正を行うことができる。   Further, according to the present invention, by fixing and arranging a reference member formed of a material having a low linear expansion coefficient and a high light reflectance on a sensor case formed of a material having a low linear expansion coefficient. Since the position of the reference member does not change even in an environment in which the refractive index of the lens unit changes with a temperature change, image correction using the reference member can be performed.

図1は、本実施形態に係る硬貨識別装置の構成例を示す模式図である。FIG. 1 is a schematic diagram illustrating a configuration example of a coin identifying device according to the present embodiment. 図2は、硬貨識別装置に含まれる画像センサで撮像される画像と画像センサの構成を示す図である。FIG. 2 is a diagram illustrating an image captured by an image sensor included in the coin identification device and a configuration of the image sensor. 図3は、硬貨識別装置の構成概略を示すブロック図である。FIG. 3 is a block diagram showing a schematic configuration of the coin identifying device. 図4は、基準プレートを利用して画像を補正する方法を説明するための図である。FIG. 4 is a diagram for explaining a method of correcting an image using a reference plate. 図5は、背景画像を利用してノイズ成分を除去する方法を説明する図である。FIG. 5 is a diagram for explaining a method of removing a noise component using a background image. 図6は、画像補正の基準となる情報を取得する処理を説明するフローチャートである。FIG. 6 is a flowchart for describing processing for acquiring information serving as a reference for image correction. 図7は、画像補正を行いながら硬貨を識別する処理方法を説明するフローチャートである。FIG. 7 is a flowchart for explaining a processing method for identifying coins while performing image correction. 図8は、画像補正を行いながら硬貨を識別する別の処理方法を説明するフローチャートである。FIG. 8 is a flowchart for explaining another processing method for identifying coins while performing image correction.

本実施形態に係る硬貨識別装置では、温度変化に起因するレンズの屈折率変化等により、該レンズを利用して硬貨を撮像した画像に像倍率の変化や歪が生じた場合に、これを補正すると共に、撮像した画像から、硬貨全体の画像を含む所定の部分領域画像を切り出すことができる。以下に、添付図面を参照して、本発明に係る硬貨識別装置及び硬貨識別方法の好適な実施形態を詳細に説明する。   In the coin discriminating apparatus according to the present embodiment, when a change in image magnification or distortion occurs in an image obtained by picking up a coin using the lens due to a change in the refractive index of the lens caused by a temperature change, the correction is made. In addition, a predetermined partial region image including the entire coin image can be cut out from the captured image. Hereinafter, preferred embodiments of a coin identifying device and a coin identifying method according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、本実施形態に係る硬貨識別装置の構成例を示す模式図である。図1に示すように、硬貨識別装置では、搬送路25上を矢印で示す方向へ搬送される硬貨100が、磁気センサ20を通過する際に仮金種判定がなされる。そして、搬送路25の上面側に設けられた画像センサ10Aと搬送路25の下面側に設けられた画像センサ10Bとを通過する際に、硬貨100の表面及び裏面の画像が取得される。磁気センサ20による仮金種判定の結果から、硬貨100の金種を絞り込んだ後、画像センサ10A、10Bによって取得された硬貨100の表面画像及び裏面画像を利用して、硬貨100の金種、真偽、正損等が決定される。画像センサ10Aと画像センサ10Bは同一の構造を有するため、以下では、画像センサ10として説明する。   FIG. 1 is a schematic diagram illustrating a configuration example of a coin identifying device according to the present embodiment. As shown in FIG. 1, in the coin discriminating apparatus, when the coin 100 transported in the direction indicated by the arrow on the transport path 25 passes through the magnetic sensor 20, a temporary denomination is determined. Then, when passing through the image sensor 10 </ b> A provided on the upper surface side of the transport path 25 and the image sensor 10 </ b> B provided on the lower surface side of the transport path 25, images of the front and back surfaces of the coin 100 are acquired. From the result of the temporary denomination determination by the magnetic sensor 20, after narrowing down the denomination of the coin 100, the denomination of the coin 100 is obtained using the front and back images of the coin 100 acquired by the image sensors 10 </ b> A and 10 </ b> B. Authenticity, damage, etc. are determined. Since the image sensor 10A and the image sensor 10B have the same structure, the image sensor 10 will be described below.

画像センサ10は、搬送路25側に透明なガラス板等から成る測定窓14を有しており、硬貨100が搬送路25上の撮像位置に到達すると、光源13から硬貨100へ向けて光を照射する。硬貨100で反射された光は、測定窓14を経てレンズユニット12に入射する。そして、レンズユニット12で集光された光が撮像素子11上に結像され、撮像素子11により硬貨100の画像が取得される。   The image sensor 10 has a measurement window 14 made of a transparent glass plate or the like on the conveyance path 25 side. When the coin 100 reaches the imaging position on the conveyance path 25, light is emitted from the light source 13 toward the coin 100. Irradiate. The light reflected by the coin 100 enters the lens unit 12 through the measurement window 14. Then, the light condensed by the lens unit 12 is imaged on the image sensor 11, and the image of the coin 100 is acquired by the image sensor 11.

磁気センサ20は、硬貨100の材質や厚み、おおまかな外径といった硬貨の特徴を検出するためのセンサであり、検出した信号を、後述する制御部30の金種仮判定部31へ出力する(図3参照)。   The magnetic sensor 20 is a sensor for detecting the characteristics of the coin such as the material and thickness of the coin 100 and the rough outer diameter, and outputs the detected signal to the denomination provisional determination unit 31 of the control unit 30 described later ( (See FIG. 3).

次に、画像センサ10の詳細な構成について説明する。図2は、画像センサ10で撮像される画像と画像センサ10の構成を説明するための図である。図2下側に画像センサ10の断面模式図を示し、上側に画像センサ10により撮像される画像の一例を示している。   Next, a detailed configuration of the image sensor 10 will be described. FIG. 2 is a diagram for explaining an image captured by the image sensor 10 and a configuration of the image sensor 10. A schematic cross-sectional view of the image sensor 10 is shown on the lower side of FIG. 2, and an example of an image captured by the image sensor 10 is shown on the upper side.

図2下図に示したように、画像センサ10は、光を遮断する樹脂製の上部ケース18及び下部ケース19の内部に、基板17上に配置されたCCD等の撮像素子11と、撮像素子11に画像を結像するためのレンズユニット12と、基板16上に配置された複数のLED等から成る光源13と、光源13からの光を反射して硬貨100へ向けて照射するミラー15とを有している。また、上部ケース18には、測定窓14が、測定窓上面とケース上面とが同一平面を成すように取り付けられている。   As shown in the lower diagram of FIG. 2, the image sensor 10 includes an imaging element 11 such as a CCD disposed on a substrate 17 inside an upper case 18 and a lower case 19 made of resin that block light, and the imaging element 11. A lens unit 12 for forming an image on the substrate, a light source 13 composed of a plurality of LEDs and the like disposed on the substrate 16, and a mirror 15 that reflects the light from the light source 13 and irradiates it toward the coin 100. Have. Further, the measurement window 14 is attached to the upper case 18 so that the upper surface of the measurement window and the upper surface of the case are on the same plane.

なお、図2下図には示していないが、撮像素子11が配置された基板17には、撮像素子11を駆動する駆動回路、硬貨100が撮像位置へ到達したことを検知して画像を取得するタイミングを決定するためのタイミングセンサ、光源13の制御回路、後述する制御部30(図3参照)と通信するためのインターフェイス等が実装されている。タイミングセンサによる検出結果は、撮像素子11による撮像タイミング等を制御するために用いられる。   Although not shown in the lower diagram of FIG. 2, on the substrate 17 on which the image sensor 11 is arranged, a drive circuit that drives the image sensor 11, detects that the coin 100 has reached the imaging position, and acquires an image. A timing sensor for determining timing, a control circuit for the light source 13, an interface for communicating with a control unit 30 (see FIG. 3), which will be described later, and the like are mounted. The detection result by the timing sensor is used for controlling the imaging timing by the imaging device 11 and the like.

図2下図に示したように、レンズユニット12は、複数のレンズを組み合わせて構成されている。このレンズユニット12を利用することにより、撮像素子11では、測定窓14と上部ケース18の一部領域とを含む範囲が撮像される(図中「画像撮像範囲」)。画像撮像範囲のうち、測定窓14に対応する領域(図中「硬貨通過領域」)で、硬貨100が撮像される。また、上部ケース18内には、硬貨通過領域の外側かつ画像撮像範囲の内側に、像倍率や輝度の補正に利用する基準部材として、2つの基準プレート51、52が固定されている。   2, the lens unit 12 is configured by combining a plurality of lenses. By using the lens unit 12, the imaging element 11 captures an image of a range including the measurement window 14 and a partial region of the upper case 18 (“image imaging range” in the figure). The coin 100 is imaged in an area (“coin passage area” in the figure) corresponding to the measurement window 14 in the image capturing range. In the upper case 18, two reference plates 51 and 52 are fixed outside the coin passage area and inside the image capturing range as reference members used for correcting image magnification and brightness.

この結果、図2上図に示したように、撮像素子11により画像撮像範囲を撮像して取得した画像60には、測定窓14に対応する硬貨通過領域70と、基準プレート51、52のそれぞれに対応する基準プレート画像151、152とが含まれることになる。上部ケース18に固定された2つの基準プレート51、52は、画像60上で、画像中央に対して対角かつ等距離となるように位置を調整して上部ケース18に固定されている。なお、基準プレート51、52の配置位置の調整は、測定窓14にゴミ等が付着した場合に、これを画像上でノイズとして除去する処理を行うためのもので、ノイズ除去処理を行わない場合には、画像中央に対して対称とする配置位置の調整を行う必要はない。ノイズ除去処理の詳細については後述する。   As a result, as shown in the upper diagram of FIG. 2, the image 60 acquired by capturing the image capturing range by the image sensor 11 includes the coin passing region 70 corresponding to the measurement window 14 and the reference plates 51 and 52. The reference plate images 151 and 152 corresponding to are included. The two reference plates 51 and 52 fixed to the upper case 18 are fixed to the upper case 18 by adjusting their positions on the image 60 so as to be diagonal and equidistant from the center of the image. The adjustment of the arrangement positions of the reference plates 51 and 52 is for performing a process of removing dust or the like on the measurement window 14 as noise on the image, and not performing the noise removal process. It is not necessary to adjust the arrangement position that is symmetric with respect to the center of the image. Details of the noise removal processing will be described later.

上部ケース18は線膨張係数が小さくかつ加工しやすい樹脂等の材質を利用して形成され、基準プレート51、52は線膨張係数が小さくかつ光の反射率が高い材質を利用して形成される。例えば、基準プレート51、52は、上部ケース18よりも反射率が高い所定の反射率を有するグレーのシート状部材で、金属等を利用して形成される。硬貨識別装置1が利用される環境下で、レンズユニット12を形成する樹脂製レンズの屈折率や体積が変化した場合でも、上部ケース18及び基準プレート51、52の位置、大きさ及び形状は変化しないため、画像60に含まれる基準プレート51、52の画像に基づいて、像倍率の変化や画像の歪を検出して、これを補正することができる。また、例えば、衝撃や振動によってレンズユニット12内のレンズが位置ずれを起こして、画像60内で硬貨通過領域70の位置がずれた場合でも、画像60上での基準プレート画像151、152の位置に基づいてずれ量を算出して補正し、硬貨通過領域70の画像を正しく切り出すことができる。また、明瞭な硬貨画像を撮像できるように光源13を調整した後に画像60を取得して、基準プレート画像151、152の輝度値(画素値)を輝度基準値として記録しておけば、硬貨処理を行う際に、光源13の発光量を制御して、基準プレート画像151、152の輝度値が輝度基準値と一致するように補正することができる。各処理の詳細については後述する。   The upper case 18 is formed using a material such as a resin having a small linear expansion coefficient and easy to process, and the reference plates 51 and 52 are formed using a material having a small linear expansion coefficient and high light reflectance. . For example, the reference plates 51 and 52 are gray sheet-like members having a predetermined reflectance that is higher than that of the upper case 18 and are formed using metal or the like. Even when the refractive index or volume of the resin lens forming the lens unit 12 changes in an environment where the coin identification device 1 is used, the positions, sizes, and shapes of the upper case 18 and the reference plates 51 and 52 change. Therefore, based on the images of the reference plates 51 and 52 included in the image 60, a change in image magnification and image distortion can be detected and corrected. Further, for example, even when the lens in the lens unit 12 is displaced due to impact or vibration and the position of the coin passage region 70 is displaced in the image 60, the positions of the reference plate images 151 and 152 on the image 60 Thus, the amount of deviation can be calculated and corrected, and the image of the coin passage area 70 can be cut out correctly. Moreover, if the image 60 is acquired after adjusting the light source 13 so that a clear coin image can be imaged, and the brightness values (pixel values) of the reference plate images 151 and 152 are recorded as the brightness reference values, coin processing is performed. When performing the above, it is possible to correct the luminance value of the reference plate images 151 and 152 so as to match the luminance reference value by controlling the light emission amount of the light source 13. Details of each process will be described later.

図3は、硬貨識別装置1の構成概略を示すブロック図である。図3に示したように、硬貨識別装置1は、図1及び図2に示した画像センサ10及び磁気センサ20の他に、制御部30と、記憶部40とを備えている。制御部30は、金種仮判定部31、画像取得部32、輝度算出部33、光源制御部34、画像切出部35、画像補正部36及び硬貨識別部37を有している。また、記憶部40には、像倍率や輝度等を補正するための情報である補正基準情報41と、硬貨100の金種や真偽を識別するためのテンプレート42とが保存されている。   FIG. 3 is a block diagram showing a schematic configuration of the coin identifying device 1. As illustrated in FIG. 3, the coin identifying device 1 includes a control unit 30 and a storage unit 40 in addition to the image sensor 10 and the magnetic sensor 20 illustrated in FIGS. 1 and 2. The control unit 30 includes a denomination temporary determination unit 31, an image acquisition unit 32, a luminance calculation unit 33, a light source control unit 34, an image cutout unit 35, an image correction unit 36, and a coin identification unit 37. The storage unit 40 also stores correction reference information 41 that is information for correcting image magnification, brightness, and the like, and a template 42 for identifying the denomination and authenticity of the coin 100.

金種仮判定部31は、磁気センサ20によって硬貨100を検出した際の検出信号を受けて硬貨100の金種の仮判定を行い、得られた仮判定結果を硬貨識別部37へ出力する機能を有する。   The denomination temporary determination unit 31 receives a detection signal when the coin 100 is detected by the magnetic sensor 20, performs a temporary determination of the denomination of the coin 100, and outputs the obtained temporary determination result to the coin identification unit 37. Have

画像取得部32は、画像センサ10を制御して、硬貨100の表面画像及び裏面画像を取得する機能を有する。具体的には、搬送路25を通過する硬貨100に向けて光源13から光を照射すると共に、硬貨100が撮像位置に到達するタイミングを検出して、撮像素子11により硬貨100を撮像する。   The image acquisition unit 32 has a function of controlling the image sensor 10 and acquiring the front and back images of the coin 100. Specifically, light is emitted from the light source 13 toward the coin 100 passing through the transport path 25, and the timing at which the coin 100 reaches the imaging position is detected, and the coin 100 is imaged by the imaging element 11.

輝度算出部33は、画像取得部32によって取得された画像に含まれる基準プレート51、52の画像の輝度値が、予め設定された輝度基準値と一致するように、輝度値を補正するための補正量を算出する機能を有する。具体的には、予め補正基準情報41として記憶部40に保存されている輝度基準値と、取得した画像上での基準プレート51、52の輝度値との比を光量比として算出する。算出した光量比に基づいて光源制御部34による光源13の制御が行われて画像の輝度値が調整される。すなわち、本実施形態では、画像処理により輝度値(画素値)を変更するのではなく、輝度算出部33及び光源制御部34の機能により、光源13の発光量を調整することによって、画像上での輝度値が補正される。   The luminance calculation unit 33 corrects the luminance value so that the luminance value of the image of the reference plates 51 and 52 included in the image acquired by the image acquisition unit 32 matches a predetermined luminance reference value. It has a function of calculating the correction amount. Specifically, the ratio between the luminance reference value stored in advance in the storage unit 40 as the correction reference information 41 and the luminance value of the reference plates 51 and 52 on the acquired image is calculated as the light amount ratio. Based on the calculated light amount ratio, the light source controller 34 controls the light source 13 to adjust the luminance value of the image. That is, in the present embodiment, the luminance value (pixel value) is not changed by image processing, but by adjusting the light emission amount of the light source 13 by the functions of the luminance calculation unit 33 and the light source control unit 34, Is corrected.

光源制御部34は、輝度算出部33によって算出された光量比に基づいて、光源13の発光量を調整する機能を有する。具体的には、光源制御部34が、初期値として設定された所定の発光量で光源13を発光させると、画像取得部32によって画像が取得される。取得した画像と輝度基準値とに基づいて輝度算出部33によって算出された光量比が光源制御部34に入力されると、光源制御部34は、画像取得部32によって取得される画像上で基準プレート51、52の画像の輝度値が輝度基準値と一致するように、光源13の発光量を調整する。輝度基準値は、予め、硬貨表面の模様が硬貨画像上に明瞭に表れるように設定されているので、輝度基準値に基づいて光源13を制御することにより、安定した輝度で、硬貨100の模様が明瞭に表れる硬貨画像を取得することができる。   The light source control unit 34 has a function of adjusting the light emission amount of the light source 13 based on the light amount ratio calculated by the luminance calculation unit 33. Specifically, when the light source control unit 34 causes the light source 13 to emit light with a predetermined light emission amount set as an initial value, an image is acquired by the image acquisition unit 32. When the light quantity ratio calculated by the luminance calculation unit 33 based on the acquired image and the luminance reference value is input to the light source control unit 34, the light source control unit 34 performs a reference on the image acquired by the image acquisition unit 32. The light emission amount of the light source 13 is adjusted so that the luminance values of the images of the plates 51 and 52 coincide with the luminance reference value. Since the brightness reference value is set in advance so that the pattern on the coin surface clearly appears on the coin image, the pattern of the coin 100 can be obtained with stable brightness by controlling the light source 13 based on the brightness reference value. It is possible to acquire a coin image that clearly shows.

この他、光量を調整する方法として、例えば、光源13を発光させるための発光電流を調整する方法、発光時間を調整する方法がある。また、それぞれが異なる波長で発光する複数のLEDによって光源13を構成し、硬貨の色や反射特性等に応じて、発光するLEDを変更して光源13の色周波数を変更することにより、光量を調整する方法もある。また、光源13の光量変更に代えて又は加えて、受光側の撮像素子11のゲインを調整する方法もある。また、撮像した基準プレート画像151、152の画素値から補正量(例えば、取得した画素値を輝度基準値に合わせるために必要な掛け算値)を算出して、硬貨100を撮像した画像を形成する各画素の画素値を補正してから硬貨識別処理を行うようにしてもよい。また、これらの技術を複数組み合わせて光量調整する態様であっても構わない。光源13の発光電流調整及び点灯時間調整は、硬貨識別処理を開始する前に行う。例えば、硬貨100の到来していない状態で撮像した画像上の基準プレート画像151、152の画素値と輝度基準値との光量比を算出した後、この光量比と発光電流及び点灯時間との関係を予め規定しておいたテーブルを参照したり、計算式により発光電流及び発光時間の補正量を求めたりしながら、複数回の撮像を行って、所望の条件を満たすように調整し、その後に、硬貨識別処理を開始する。ただし、硬貨識別処理を開始した後も、硬貨100を撮像した画像から基準プレート画像151、152の画素値を得ることができるので、搬送路25を流れてくる各硬貨100を撮像する毎に、光源13の光量を調整することも可能である。例えば、受光側のゲインを変更する場合は、各硬貨100の撮像時に、基準プレート画像151、152の画素値を取得して補正量を算出し、この補正量に基づいて、硬貨100を撮像した画像を補正して、識別用画像を作成するようにしてもよい。   In addition, as a method for adjusting the light amount, for example, there are a method for adjusting a light emission current for causing the light source 13 to emit light, and a method for adjusting a light emission time. In addition, the light source 13 is configured by a plurality of LEDs that emit light at different wavelengths, and the light frequency is changed by changing the color frequency of the light source 13 by changing the LED that emits light according to the color, reflection characteristics, etc. of the coin. There is also a way to adjust. There is also a method of adjusting the gain of the image sensor 11 on the light receiving side instead of or in addition to changing the light amount of the light source 13. Further, a correction amount (for example, a multiplication value necessary for matching the acquired pixel value with the luminance reference value) is calculated from the pixel values of the captured reference plate images 151 and 152, and an image in which the coin 100 is captured is formed. The coin identifying process may be performed after correcting the pixel value of each pixel. Further, a mode in which the light amount is adjusted by combining a plurality of these techniques may be used. The light emission current adjustment and the lighting time adjustment of the light source 13 are performed before the coin identification process is started. For example, after calculating the light amount ratio between the pixel value of the reference plate images 151 and 152 on the image captured in the state where no coin 100 has arrived and the luminance reference value, the relationship between the light amount ratio, the light emission current, and the lighting time. Referring to a table that prescribes in advance or obtaining the correction amount of the light emission current and the light emission time by a calculation formula, perform multiple imaging and adjust to meet the desired condition, and then The coin identification process is started. However, since the pixel values of the reference plate images 151 and 152 can be obtained from the image obtained by imaging the coin 100 even after the coin identification process is started, each time the coin 100 flowing through the transport path 25 is imaged, It is also possible to adjust the light quantity of the light source 13. For example, when changing the gain on the light receiving side, the pixel values of the reference plate images 151 and 152 are acquired and the correction amount is calculated when each coin 100 is imaged, and the coin 100 is imaged based on the correction amount. An image for identification may be created by correcting the image.

画像切出部35は、図2に示したように、画像センサ10によって画像撮像範囲を撮像した画像60から、硬貨通過領域70の部分領域画像を切り出す機能を有する。例えば、レンズユニット12内のレンズが位置ずれを起こしたために、画像60上で硬貨通過領域70の位置がずれて撮像された場合でも、画像切出部35は、画像60に含まれる基準プレート画像151、152の基準位置に基づいてずれ量を算出して、このずれ量に基づいて位置ずれを補正してから硬貨通過領域70の部分領域画像を切り出す。   As illustrated in FIG. 2, the image cutout unit 35 has a function of cutting out a partial region image of the coin passage region 70 from the image 60 obtained by picking up the image pickup range by the image sensor 10. For example, even when the position of the coin passage region 70 is shifted on the image 60 because the lens in the lens unit 12 has been displaced, the image cutout unit 35 includes the reference plate image included in the image 60. The shift amount is calculated based on the reference positions 151 and 152, and the partial shift image of the coin passage region 70 is cut out after correcting the shift based on the shift amount.

画像補正部36は、画像60に含まれる2つの基準プレート画像151、152の位置関係から、像倍率の変化や歪を算出して、これを画像処理によって補正する機能を有する。例えば、所定温度の環境下で取得された画像60上での2つの基準プレート画像151、152の間の距離を距離基準値とする。そして、硬貨識別処理を行う際に取得された画像60上で2つの基準プレート画像151、152の間の距離が、距離基準値に対して短くなったり長くなったりしていた場合に、画像補正部36は、変化した距離が距離基準値と一致するように画像を補正する。このとき、画像補正部36は、2つの基準プレート画像151、152の間のX軸方向の変化率とY軸方向の変化率とに基づいて、画像の歪を補正することもできる。また、本実施形態では2つの基準プレート51、52を示しているが、例えば、画像撮像範囲内に3つ以上の基準プレートを配置して、これらを撮像した画像上でのモーメント特徴を利用することにより画像の傾きを補正することもできる。   The image correction unit 36 has a function of calculating a change or distortion of the image magnification from the positional relationship between the two reference plate images 151 and 152 included in the image 60 and correcting this by image processing. For example, the distance between the two reference plate images 151 and 152 on the image 60 acquired in an environment of a predetermined temperature is set as the distance reference value. Then, when the distance between the two reference plate images 151 and 152 on the image 60 acquired when performing the coin identification process is shorter or longer than the distance reference value, image correction is performed. The unit 36 corrects the image so that the changed distance matches the distance reference value. At this time, the image correction unit 36 can also correct image distortion based on the change rate in the X-axis direction and the change rate in the Y-axis direction between the two reference plate images 151 and 152. In the present embodiment, the two reference plates 51 and 52 are shown. For example, three or more reference plates are arranged in the image capturing range, and the moment feature on the image obtained by capturing these is used. Thus, the inclination of the image can be corrected.

このように、画像補正部36は、画像の像倍率の変化、歪、傾き等を補正する機能を有するが、以下では、像倍率を補正する場合を例に説明することとし、詳細については後述する。   As described above, the image correction unit 36 has a function of correcting a change, distortion, inclination, and the like of the image magnification of the image. Hereinafter, a case where the image magnification is corrected will be described as an example, and details will be described later. To do.

硬貨識別部37は、画像取得部32によって硬貨100を撮像した画像が画像補正部36及び画像切出部35によって処理された後、得られた硬貨画像を利用して、硬貨100の金種や真偽等を識別する機能を有する。   After the image obtained by capturing the coin 100 by the image acquisition unit 32 is processed by the image correction unit 36 and the image cutout unit 35, the coin identification unit 37 uses the obtained coin image to determine the denomination of the coin 100. It has a function of identifying authenticity.

具体的には、輝度算出部33及び光源制御部34によって光源13の発光量が調整された後、搬送路25を搬送される硬貨100が、画像取得部32によって撮像される。そして、撮像された画像から、画像切出部35によって切り出された硬貨通過領域70の画像の像倍率が、画像補正部36によって補正される。硬貨識別部37は、こうして得られた画像を利用して、硬貨100の硬貨径を算出する。また、硬貨識別部37は、金種仮判定部31による仮判定結果に基づいて、記憶部40から、対応するテンプレート42を参照して、テンプレート42に含まれる硬貨径と画像から算出した硬貨径とを比較する。そして、硬貨100の径がテンプレート42に含まれる硬貨径と所定の誤差範囲内で一致した場合、すなわち硬貨100が仮判定結果による金種の硬貨であると判定した場合には、さらに、硬貨画像を利用して硬貨100の金種等を詳細に判定する処理を行う。例えば、硬貨画像とテンプレート42に含まれる硬貨画像とを比較して、画像マッチング技術により両画像の一致度を評価して、硬貨100の金種等を判定する。そして、硬貨径に基づく判定結果と、画像比較による判定結果とに基づいて、硬貨100の金種等の識別結果を最終決定する。   Specifically, after the light emission amount of the light source 13 is adjusted by the luminance calculation unit 33 and the light source control unit 34, the coin 100 conveyed through the conveyance path 25 is imaged by the image acquisition unit 32. The image correction unit 36 corrects the image magnification of the image of the coin passage area 70 cut out by the image cutout unit 35 from the captured image. The coin identifying unit 37 calculates the coin diameter of the coin 100 using the image thus obtained. Further, the coin identifying unit 37 refers to the corresponding template 42 from the storage unit 40 based on the temporary determination result by the denomination temporary determining unit 31, and the coin diameter calculated from the coin diameter and the image included in the template 42. And compare. When the diameter of the coin 100 matches the coin diameter included in the template 42 within a predetermined error range, that is, when it is determined that the coin 100 is a denomination coin according to the provisional determination result, a coin image is further added. Is used to determine the denomination and the like of the coin 100 in detail. For example, the coin image and the coin image included in the template 42 are compared, the degree of coincidence between the two images is evaluated by an image matching technique, and the denomination or the like of the coin 100 is determined. And based on the determination result based on a coin diameter, and the determination result by image comparison, the identification results, such as a money type of the coin 100, are finally determined.

硬貨画像を極座標変換して硬貨径を判定する処理や硬貨画像とテンプレート画像とを比較する処理については、例えば、特開2010−26992号公報に開示された従来技術を利用することができるので詳細な説明は省略する。以下では、本実施形態に係る特徴の1つである輝度算出部33、画像切出部35及び画像補正部36による処理内容について説明を続ける。   Regarding the processing for determining the coin diameter by converting the coin image into polar coordinates and the processing for comparing the coin image and the template image, for example, the conventional technique disclosed in Japanese Patent Application Laid-Open No. 2010-26992 can be used, and thus details are described. The detailed explanation is omitted. In the following, description of the processing contents by the luminance calculation unit 33, the image cutout unit 35, and the image correction unit 36, which is one of the features according to the present embodiment, will be continued.

図4は、輝度算出部33及び光源制御部34による輝度補正、画像切出部35による画像切出及び画像補正部36による画像補正の処理内容を説明するための図である。図4(a)及び(b)は、基準温度の環境下で、記憶部40に保存する補正基準情報41を取得するために画像取得部32によって取得された基準画像61、62である。図4(c)は、硬貨識別装置1が設置された環境下で、硬貨識別処理を開始する際に、輝度、切出位置及び像倍率の補正量を算出するために、画像取得部32によって取得された補正用画像63である。図4(d)は、左側から、硬貨識別処理時に取得した画像64と、この画像64から位置ずれを補正して硬貨通過領域72を切り出した切出画像73と、この切出画像73の像倍率を補正した識別用画像74とを示している。   FIG. 4 is a diagram for explaining processing contents of luminance correction by the luminance calculation unit 33 and the light source control unit 34, image extraction by the image extraction unit 35, and image correction by the image correction unit 36. 4A and 4B are reference images 61 and 62 acquired by the image acquisition unit 32 in order to acquire the correction reference information 41 stored in the storage unit 40 under the environment of the reference temperature. FIG. 4C shows an image acquisition unit 32 for calculating the correction amount of the brightness, the cutout position, and the image magnification when the coin identification process is started in the environment where the coin identification device 1 is installed. It is the acquired image 63 for correction. FIG. 4D shows, from the left side, an image 64 acquired at the time of the coin identification process, a cutout image 73 obtained by cutting out the coin passage area 72 by correcting the positional deviation from the image 64, and an image of the cutout image 73. An identification image 74 with the magnification corrected is shown.

まず、基準温度の環境下で、図2に示す画像センサ10のレンズユニット12及び撮像素子11の設置位置が調整される。これにより、撮像素子11によって、基準プレート51、52を含む撮像範囲が、合焦した状態で撮像されるようになる。また、図4(a)に示すように、矩形の画像61上では、画像61の中央画素と硬貨通過領域71の中央画素とが一致し、画像61の四辺と対応する硬貨通過領域71の四辺とが平行になる。また、画像61に含まれる2つの基準プレート画像151、152は、画像61の中央画素に対して対角かつ等距離な位置関係となる。ただし、撮像画像内で硬貨通過領域70の位置ずれを補正する必要がない場合には、基準プレート画像151、152が対角かつ等距離である必要はなく、基準プレート画像151、152が撮像範囲内に含まれていればよい。   First, the installation positions of the lens unit 12 and the image sensor 11 of the image sensor 10 shown in FIG. 2 are adjusted under the environment of the reference temperature. As a result, the image pickup range including the reference plates 51 and 52 is picked up by the image pickup device 11 in a focused state. 4A, on the rectangular image 61, the central pixel of the image 61 and the central pixel of the coin passage area 71 coincide, and the four sides of the coin passage area 71 corresponding to the four sides of the image 61 are matched. And become parallel. In addition, the two reference plate images 151 and 152 included in the image 61 have a diagonal and equidistant positional relationship with respect to the central pixel of the image 61. However, when it is not necessary to correct the positional deviation of the coin passage area 70 in the captured image, the reference plate images 151 and 152 do not have to be diagonal and equidistant, and the reference plate images 151 and 152 are in the imaging range. As long as it is included.

図2に示す画像センサ10の測定窓14に、所定の反射率を有するグレーカード等の治具を置いて撮像した画像が、図4(a)に示す基準画像61である。基準画像61は、グレーカードを利用して光源13の発光量を調整した後に撮像される。この基準画像61の左上端を原点、画素数を座標値として、硬貨通過領域71の位置を規定する左右のX座標(X1及びX2)を特定する。基準画像61から得られたこれらの情報は、補正基準情報41として記憶部40に保存される。   An image obtained by placing a jig such as a gray card having a predetermined reflectance on the measurement window 14 of the image sensor 10 shown in FIG. 2 is a reference image 61 shown in FIG. The reference image 61 is picked up after adjusting the light emission amount of the light source 13 using a gray card. The left and right X coordinates (X1 and X2) that define the position of the coin passage area 71 are specified with the upper left corner of the reference image 61 as the origin and the number of pixels as the coordinate value. These pieces of information obtained from the reference image 61 are stored in the storage unit 40 as correction reference information 41.

続いて、測定窓14の上面から治具を取り去った状態で撮像した画像が、図4(b)に示す基準画像62である。この基準画像62では、左上端を原点として、基準プレート画像151の左上端151a(a1,b1)及び右下端151b(a2,b2)と、基準プレート画像152の左上端152a(a3,b3)及び右下端152b(a4,b4)とを特定する。そして、特定した座標値を利用して、図4(b)に示す距離基準値L0を算出する。また、2つの基準プレート画像151、152のそれぞれの中央位置の輝度値を取得して、これらを輝度基準値C1、C2とする。基準画像62から得られたこれらの情報は、補正基準情報41として記憶部40に保存される。   Subsequently, an image captured with the jig removed from the upper surface of the measurement window 14 is a reference image 62 shown in FIG. In this reference image 62, with the upper left corner as the origin, the upper left corner 151a (a1, b1) and lower right edge 151b (a2, b2) of the reference plate image 151, the upper left edge 152a (a3, b3) of the reference plate image 152, and The right lower end 152b (a4, b4) is specified. Then, a distance reference value L0 shown in FIG. 4B is calculated using the identified coordinate values. In addition, the luminance values at the center positions of the two reference plate images 151 and 152 are acquired, and these are set as the luminance reference values C1 and C2. These pieces of information obtained from the reference image 62 are stored in the storage unit 40 as correction reference information 41.

図4(a)及び(b)に示す、基準画像61、62を利用して行う補正基準情報41の記憶部40への保存は、例えば、硬貨識別装置1の製造時に行われる。そして、硬貨識別装置1のユーザが、硬貨識別処理を行う際に、記憶部40に保存された補正基準情報41を利用した輝度、切出位置及び像倍率の補正が行われる。   The storage of the correction reference information 41 in the storage unit 40 using the reference images 61 and 62 shown in FIGS. 4A and 4B is performed, for example, when the coin identifying device 1 is manufactured. Then, when the user of the coin identifying device 1 performs the coin identifying process, the correction of the luminance, the cutout position, and the image magnification using the correction reference information 41 stored in the storage unit 40 is performed.

図4(c)は、硬貨識別処理を開始してから硬貨100が搬送路25上を搬送されてくる前段階で撮像された補正用画像63である。補正用画像63は、図4(a)及び(b)に示す基準画像61、62を撮像した際の基準温度とは異なる温度で撮像された画像であるため、レンズユニット12の屈折率の変化等により、基準画像61、62とは異なる像倍率の画像となっている。また、レンズユニット12を構成するレンズの位置ずれ等があると、補正用画像63上で硬貨通過領域72の位置がずれて、補正用画像63上で中央画素と硬貨通過領域72の中央画素とが一致しない状態となる。   FIG. 4C is a correction image 63 that is captured in the previous stage after the coin 100 is conveyed on the conveyance path 25 after the coin identification process is started. Since the correction image 63 is an image captured at a temperature different from the reference temperature when the reference images 61 and 62 illustrated in FIGS. 4A and 4B are captured, a change in the refractive index of the lens unit 12 is performed. Thus, the image has an image magnification different from that of the reference images 61 and 62. Further, if there is a displacement of the lens constituting the lens unit 12, the position of the coin passage area 72 is displaced on the correction image 63, and the center pixel and the center pixel of the coin passage area 72 on the correction image 63 are shifted. Will not match.

なお、図2下図に示す画像センサ10は、レンズユニット12の中心と、上部ケース18の画像撮像範囲の中心及び撮像素子11の中心とが一致する構成となっている。このため、温度変化によりレンズユニット12を構成するレンズの屈折率が変化した状態で得られた図4(c)の補正用画像63は、図4(a)に示す基準画像61の画像中心を基準として全体が拡大又は縮小された画像となる。   2 has a configuration in which the center of the lens unit 12 coincides with the center of the image capturing range of the upper case 18 and the center of the image sensor 11. For this reason, the correction image 63 in FIG. 4C obtained in a state where the refractive index of the lens constituting the lens unit 12 is changed due to the temperature change is the image center of the reference image 61 shown in FIG. As a reference, the entire image is enlarged or reduced.

図4(c)では、説明を簡単にするため、補正用画像63内で、硬貨通過領域72がX軸方向にずれている場合の位置ずれの補正方法を説明する。すなわち、図4(c)は、同図(a)に示す切出基準X1、X2が、それぞれ同図(c)に示すX3、X4にずれた状態を示している。   In FIG. 4C, for the sake of simplicity of explanation, a description will be given of a method for correcting misalignment when the coin passage area 72 is deviated in the X-axis direction in the correction image 63. That is, FIG. 4C shows a state where the cutting references X1 and X2 shown in FIG. 4A are shifted to X3 and X4 shown in FIG.

まず、光源13の発光量を調整して行う画像の輝度補正について説明する。輝度算出部33が、図4(c)に示す補正用画像63上で、基準プレート画像251、252の中央画素の輝度値C11、C12を取得する。そして、輝度算出部33は、補正基準情報41に含まれる輝度基準値C1、C2との光量比K={(C1+C2)/(C11+C12)}を算出する。硬貨識別処理の処理対象となる硬貨100を撮像する際には、光源制御部34が、輝度算出部33から入力された光量比Kに基づいて、光源13の発光量を制御する。なお、輝度値C11、C12については、基準プレート画像251、252の中央画素及び/又は中央画素周辺の複数画素の輝度値の平均値を求めて利用する態様であってもよい。   First, image brightness correction performed by adjusting the light emission amount of the light source 13 will be described. The luminance calculation unit 33 acquires the luminance values C11 and C12 of the center pixel of the reference plate images 251 and 252 on the correction image 63 shown in FIG. Then, the luminance calculation unit 33 calculates a light amount ratio K = {(C1 + C2) / (C11 + C12)} with the luminance reference values C1 and C2 included in the correction reference information 41. When imaging the coin 100 to be processed in the coin identification process, the light source control unit 34 controls the light emission amount of the light source 13 based on the light amount ratio K input from the luminance calculation unit 33. In addition, about the luminance values C11 and C12, the aspect which calculates | requires and utilizes the average value of the luminance value of the center pixel of the reference | standard plate image 251,252 and / or the several pixel periphery of a center pixel may be sufficient.

次に、硬貨通過領域72の切出位置の補正について説明する。画像切出部35は、図4(b)に示す基準画像62上での距離基準値L0と、同図(c)に示す補正用画像63上での距離L1とに基づいて、像倍率S=L1/L0を算出する。続いて、画像切出部35は、図4(b)に示す基準画像62上での基準プレート画像151、152の座標151a、152bである基準位置と、同図(c)に示す補正用画像63上の対応する座標252a、252bとに基づいて、同図(a)に示す切出基準X1、X2と、同図(c)に示す切出基準X3、X4の間のずれ量Dxを算出する。X軸方向のずれ量Dxは、Dx={(a11+a14)−(a1+a4)}/2として算出される。また、画像切出部35は、図4(a)に示す切出基準X1、X2の間の距離Lxと、同図(c)に示す補正用画像63の中心線のX座標(Xc)とを取得する。そして、画像切出部35は、これらの値に基づいて、補正用画像63上での切出基準X3、X4の座標値を算出する。具体的には、図4(c)に示すように、位置ずれした後の切出基準X3、X4の座標値は、それぞれ、X3=Xc−(Lx/2)S+Dx、X4=Xc+(Lx/2)S+Dxとして算出される。   Next, correction of the cutting position of the coin passage area 72 will be described. Based on the distance reference value L0 on the reference image 62 shown in FIG. 4B and the distance L1 on the correction image 63 shown in FIG. = L1 / L0 is calculated. Subsequently, the image cutout unit 35 uses the reference positions which are the coordinates 151a and 152b of the reference plate images 151 and 152 on the reference image 62 shown in FIG. 4B, and the correction image shown in FIG. 63. Based on the corresponding coordinates 252a and 252b on 63, a deviation amount Dx between the cutting references X1 and X2 shown in FIG. 5A and the cutting references X3 and X4 shown in FIG. To do. The deviation amount Dx in the X-axis direction is calculated as Dx = {(a11 + a14) − (a1 + a4)} / 2. Further, the image cutout unit 35 includes a distance Lx between the cutout references X1 and X2 shown in FIG. 4A and the X coordinate (Xc) of the center line of the correction image 63 shown in FIG. To get. Then, based on these values, the image cutout unit 35 calculates the coordinate values of the cutout references X3 and X4 on the correction image 63. Specifically, as shown in FIG. 4C, the coordinate values of the cutting references X3 and X4 after the positional shift are X3 = Xc− (Lx / 2) S + Dx and X4 = Xc + (Lx / 2) Calculated as S + Dx.

こうして、光量比K、像倍率S及びX軸方向のずれ量Dxを算出して、硬貨識別処理の処理対象となる硬貨100が搬送路25を搬送され始めると、輝度算出部33から入力された光量比Kに基づいて、光源制御部34によって光源13の発光量が制御される。そして、搬送路25を搬送される硬貨100が画像センサ10による撮像位置に達したタイミングで、画像取得部32によって、図4(d)に示すように、硬貨画像101が含まれる画像64が取得される。続いて、画像切出部35が、位置ずれを補正した切出基準X3、X4に基づいて、取得した画像64から、硬貨画像101が含まれる硬貨通過領域の部分領域画像、すなわち図4(c)の硬貨通過領域72に対応する部分領域画像を切り出す。図4(d)に示すように、こうして切り出された切出画像73は像倍率補正を行う前の状態であるため、同図(a)に示す硬貨通過領域71の横幅Lxとは、異なる横幅(Lx×S)を有している。続いて、画像補正部36が、画像切出部35によって切り出された切出画像73から、像倍率Sに基づいて拡大又は縮小した識別用画像74を生成する。これにより、識別用画像74は、その横幅が基準画像61の硬貨通過領域71の横幅と一致する画像となり、硬貨画像102も像倍率が補正された正確な画像となる。   In this way, the light quantity ratio K, the image magnification S, and the deviation amount Dx in the X-axis direction are calculated, and when the coin 100 to be processed in the coin identification process begins to be transported through the transport path 25, the brightness calculation unit 33 inputs it. Based on the light quantity ratio K, the light source controller 34 controls the light emission amount of the light source 13. Then, at the timing when the coin 100 conveyed through the conveyance path 25 reaches the imaging position by the image sensor 10, the image acquisition unit 32 acquires an image 64 including the coin image 101 as shown in FIG. Is done. Subsequently, the image cutout unit 35 obtains a partial region image of the coin passage region including the coin image 101 from the acquired image 64 based on the cutout references X3 and X4 in which the positional deviation is corrected, that is, FIG. ) Of the partial region image corresponding to the coin passage region 72. As shown in FIG. 4D, the cut-out image 73 cut out in this way is in a state before image magnification correction is performed, and therefore a different width from the width Lx of the coin passage region 71 shown in FIG. (Lx × S). Subsequently, the image correcting unit 36 generates an identification image 74 enlarged or reduced based on the image magnification S from the cut image 73 cut out by the image cutout unit 35. As a result, the identification image 74 is an image whose horizontal width matches the horizontal width of the coin passage region 71 of the reference image 61, and the coin image 102 is also an accurate image with the image magnification corrected.

画像補正部36による補正後の識別用画像74は、硬貨識別部37へ入力される。そして、硬貨識別部37では、この識別用画像74に含まれる硬貨画像102を利用して、硬貨径を判定する処理やテンプレート画像と比較する硬貨識別処理が行われる。   The identification image 74 corrected by the image correcting unit 36 is input to the coin identifying unit 37. And in the coin identification part 37, the coin identification process compared with the process which determines a coin diameter, and a template image is performed using the coin image 102 contained in this image 74 for identification.

像倍率の補正は、予め記憶部40に保存されているテンプレート42のデータと比較可能な硬貨画像102を得るために行われる。これに対して、硬貨通過領域の切出位置の補正は、識別用画像からノイズ成分を除去するノイズ除去処理を目的として行われる。ノイズ成分を除去するために、切出位置の補正が必要であることを、図5を参照しながら説明する。   The correction of the image magnification is performed in order to obtain a coin image 102 that can be compared with the data of the template 42 stored in the storage unit 40 in advance. On the other hand, the correction of the cut-out position of the coin passage area is performed for the purpose of noise removal processing for removing noise components from the identification image. The fact that the cutout position needs to be corrected in order to remove the noise component will be described with reference to FIG.

図5は、識別用画像で行われるノイズ成分の除去について説明する図である。なお、説明を簡単にするため、図5(a)には像倍率及び位置ずれを補正済みの画像65を示し、同図(b)及び(c)には像倍率の補正及びX軸方向の位置ずれの補正を行う前の画像66を示している。   FIG. 5 is a diagram for explaining the removal of noise components performed in the identification image. For ease of explanation, FIG. 5A shows an image 65 in which the image magnification and the positional deviation have been corrected, and FIGS. 5B and 5C show the correction of the image magnification and the X-axis direction. An image 66 before the position shift is corrected is shown.

図5(a)は、硬貨識別処理時に、硬貨100が無い状態で取得された画像65と、この画像65から硬貨通過領域75を切り出した背景画像75を示している。例えば、図2に示す画像センサ10の測定窓14上に、硬貨粉等のゴミが付着していると、図5(a)に示すように、取得した画像65では、測定窓14に対応する硬貨通過領域75内に、ゴミ80が写り込む。   FIG. 5A shows an image 65 acquired without the coin 100 during the coin identification process, and a background image 75 obtained by cutting out the coin passage area 75 from the image 65. For example, if dust such as coin powder adheres on the measurement window 14 of the image sensor 10 shown in FIG. 2, the acquired image 65 corresponds to the measurement window 14 as shown in FIG. The dust 80 is reflected in the coin passage area 75.

なお、図5(a)に示す画像65は、像倍率及び位置ずれを補正済みであるため、基準画像上に、ノイズ80を示した図とみなすことができる。よって、画像65の左上端を原点とする基準プレート画像251、252の座標251a(5,5)、252b(250,250)から求めた値が、距離基準値L0=346.5画素となる。また、切出基準X10(20,0)、X11(220,0)のX座標は、硬貨通過領域75が中心線を境として左右100画素の幅を有することを示している。   Note that the image 65 shown in FIG. 5A has been corrected for image magnification and positional deviation, and thus can be regarded as a diagram showing noise 80 on the reference image. Therefore, the value obtained from the coordinates 251a (5, 5), 252b (250, 250) of the reference plate images 251 and 252 with the upper left corner of the image 65 as the origin is the distance reference value L0 = 346.5 pixels. In addition, the X coordinates of the cutting reference X10 (20, 0) and X11 (220, 0) indicate that the coin passing area 75 has a width of 100 pixels on the left and right with the center line as a boundary.

硬貨識別処理時に、画像取得部32によって、識別処理の対象となる硬貨100が撮像された図5(b)に示す画像66では、温度変化に起因する像倍率の変化と、レンズユニット12を構成するレンズの位置ずれに起因する硬貨通過領域76の位置ずれが生じている。このため、画像切出部35及び画像補正部36により、これらを補正する処理が行われる。   In the image 66 shown in FIG. 5B in which the image 100 is picked up by the image acquisition unit 32 during the coin identification process, a change in image magnification due to a temperature change and the lens unit 12 are configured. Misalignment of the coin passage area 76 caused by the misalignment of the lens is generated. For this reason, the image cutout unit 35 and the image correction unit 36 perform a process of correcting them.

具体的には、図5(b)に示すように、基準プレート画像251、252の座標251a(4,2)、252b(255,253)から求めた距離(355画素)と、距離基準値(346.5画素)とに基づいて、像倍率S=1.024(=355/346.5)が算出される。これは、基準画像では画像の中心線から左右100画素の範囲で画像が切り出される所、画像66では、この距離が102.4(=100×S)画素になっていることを示している。切出基準を両外側へ2.4画素移動させる必要があるが、画像の切り出しは1画素単位で行われるため、画像切出部35は、切出基準を両外側へ3画素ずつ拡大する。   Specifically, as shown in FIG. 5B, the distance (355 pixels) obtained from the coordinates 251a (4, 2) and 252b (255, 253) of the reference plate images 251 and 252 and the distance reference value ( The image magnification S = 1.024 (= 355 / 346.5) is calculated based on (346.5 pixels). This indicates that in the reference image, the image is cut out in the range of 100 pixels left and right from the center line of the image, and in the image 66, this distance is 102.4 (= 100 × S) pixels. Although it is necessary to move the extraction reference to the outside by 2.4 pixels, the image extraction unit 35 enlarges the extraction reference to the outside by 3 pixels because the image extraction is performed in units of one pixel.

このとき、位置ずれを考慮することなく像倍率のみを補正して画像を切り出すと、図5(b)に示すように、同図(a)の切出基準X10(20,0)、X11(220,0)を像倍率Sに基づいて左右に3画素ずつ拡大した切出基準X20(17,0)、X21(223,0)の間で、硬貨通過領域76の部分領域画像が切り出される。そして、画像補正部36により、像倍率Sに基づく補正が行われて、図5(b)に示す補正画像77が得られる。ところが、この補正画像77では、硬貨通過領域の位置ずれが考慮されていないため、この補正画像77に含まれるノイズ81の位置は、図5(a)に示す背景画像75に含まれるノイズ80の位置とずれてしまう。この結果、補正画像77から背景画像75を差し引いた差分画像を識別用画像78とした場合に、図5(b)に示したように、識別用画像78は、ノイズ81の一部が残った画像となる。このようにノイズ81が含まれた画像を識別用画像78として硬貨識別部37に入力しても、硬貨100を正しく識別できない可能性がある。   At this time, when the image is cut out by correcting only the image magnification without taking the positional deviation into consideration, as shown in FIG. 5B, the cutting references X10 (20, 0), X11 ( The partial region image of the coin passage region 76 is cut out between the cutting references X20 (17, 0) and X21 (223, 0) obtained by enlarging 220,0) three pixels to the left and right based on the image magnification S. Then, the image correction unit 36 performs correction based on the image magnification S, and a corrected image 77 shown in FIG. 5B is obtained. However, in this corrected image 77, since the positional deviation of the coin passage area is not taken into consideration, the position of the noise 81 included in this corrected image 77 is the position of the noise 80 included in the background image 75 shown in FIG. It will be out of position. As a result, when the difference image obtained by subtracting the background image 75 from the corrected image 77 is used as the identification image 78, as shown in FIG. 5B, a part of the noise 81 remains in the identification image 78. It becomes an image. Thus, even if an image including the noise 81 is input to the coin identifying unit 37 as the identification image 78, the coin 100 may not be correctly identified.

硬貨識別装置1では、画像切出部35が、基準画像の基準プレート画像251、252の座標251a(5,5)、252b(250,250)を基準位置として、この基準位置の座標と硬貨を撮像した画像66の基準プレート画像251、252の座標251a(4,2)、252b(255,253)から、位置ずれのずれ量Dxを算出する。この場合、ずれ量Dxは2画素(={(4+255)−(5+250)}/2)となる。このため、画像切出部35は、像倍率Sに基づいて補正した図5(b)の切出基準X20(17,0)、X21(223,0)から、さらにずれ量Dx=2画素を補正して、同図(c)に示すように、X軸正方向に2画素移動したX30(19,0)、X31(225,0)を切出基準とする。すなわち、切出基準を、図5(b)に示すように画像66の中心線Xcから左右均等に103画素に設定するのではなく、同図(c)に示すように中心線Xcから左へ101画素、右へ105画素の位置に設定する。   In the coin discriminating apparatus 1, the image cutout unit 35 uses the coordinates 251a (5, 5) and 252b (250, 250) of the reference plate images 251 and 252 of the reference image as reference positions, and uses the coordinates and coins of the reference positions. From the coordinates 251a (4, 2) and 252b (255, 253) of the reference plate images 251 and 252 of the captured image 66, the displacement amount Dx of the positional displacement is calculated. In this case, the shift amount Dx is 2 pixels (= {(4 + 255) − (5 + 250)} / 2). For this reason, the image cutout unit 35 further calculates the shift amount Dx = 2 pixels from the cutout references X20 (17,0) and X21 (223,0) in FIG. 5B corrected based on the image magnification S. As shown in FIG. 6C, X30 (19, 0) and X31 (225, 0) shifted by two pixels in the positive direction of the X axis are used as the extraction reference. That is, the cutting reference is not set to 103 pixels equally from the center line Xc of the image 66 as shown in FIG. 5B, but left from the center line Xc as shown in FIG. 5C. 101 pixels and 105 pixels to the right are set.

こうして、図5(c)に示すように、像倍率S及び位置ずれのずれ量Dxを補正した切出基準X30、X31の間で画像176を切り出して、像倍率Sの補正を行うことにより、補正画像177が得られる。この補正画像177では、像倍率に加えて位置ずれが考慮されているため、図5(a)に示す背景画像75に含まれるノイズ80の位置と、同図(c)に示す補正画像177のノイズ81の位置とが一致する。画像補正部36が補正画像177から背景画像75を差し引くことにより、補正画像177からノイズ81が除去されて、図5(c)に示す識別用画像178を得ることができる。こうして、ノイズ81を除去した画像を識別用画像178として硬貨識別部37に入力することにより、硬貨を正しく識別することが可能となる。   Thus, as shown in FIG. 5C, the image magnification S is corrected by cutting out the image 176 between the extraction references X30 and X31 in which the image magnification S and the positional deviation amount Dx are corrected. A corrected image 177 is obtained. In this corrected image 177, since the positional deviation is taken into consideration in addition to the image magnification, the position of the noise 80 included in the background image 75 shown in FIG. 5A and the corrected image 177 shown in FIG. The position of the noise 81 matches. When the image correction unit 36 subtracts the background image 75 from the correction image 177, the noise 81 is removed from the correction image 177, and an identification image 178 shown in FIG. 5C can be obtained. In this way, by inputting the image from which the noise 81 is removed to the coin identifying unit 37 as the identification image 178, it is possible to correctly identify the coin.

次に、上述した各処理の処理手順について図6〜図8のフローチャートを参照しながら説明する。図6は、硬貨識別装置1で、記憶部40に補正基準情報41として保存する情報を取得するための処理を説明するフローチャートである。図6(a)は図4(a)に示す切出基準X1、X2に関する情報を取得する処理を示し、図6(b)は図4(b)に示す輝度基準値C1、C2及び距離基準値L0に関する情報を取得する処理を示している。   Next, the processing procedure of each process described above will be described with reference to the flowcharts of FIGS. FIG. 6 is a flowchart illustrating a process for acquiring information to be stored as the correction reference information 41 in the storage unit 40 in the coin identification device 1. FIG. 6A shows a process of acquiring information related to the cutting references X1 and X2 shown in FIG. 4A, and FIG. 6B shows the luminance reference values C1 and C2 and the distance reference shown in FIG. The process which acquires the information regarding the value L0 is shown.

まず、基準温度の環境下で、画像センサ10の測定窓14にグレーチャートから成る治具を置いて、画像取得部32により、図4(a)に示した基準画像61が取得される(ステップS1)。そして、この基準画像61を利用して、図4(a)を参照しながら説明したように、硬貨通過領域71の画像の切出基準X1、X2の位置を決定する(ステップS2)。切出基準X1、X2に関する情報は、補正基準情報41として、記憶部40に保存される。   First, under a reference temperature environment, a jig made of a gray chart is placed in the measurement window 14 of the image sensor 10, and the reference image 61 shown in FIG. S1). Then, using the reference image 61, as described with reference to FIG. 4A, the positions of the cutting references X1 and X2 of the image of the coin passage area 71 are determined (step S2). Information relating to the cutting standards X1 and X2 is stored in the storage unit 40 as correction standard information 41.

また、基準温度の環境下で、測定窓14に治具が無い状態で、画像取得部32により、図4(b)に示した基準画像62が取得される(ステップS11)。そして、この基準画像62を利用して、図4(b)を参照しながら説明したように、基準プレート画像151、152の中央における輝度値を取得して、これを輝度基準値C1、C2とする(ステップS12)。また、基準プレート画像151、152の間の距離を取得して、これを距離基準値L0とする(ステップS13)。輝度基準値C1、C2及び距離基準値L0に関する情報は、補正基準情報41として記憶部40に保存される。   Moreover, the reference image 62 shown in FIG.4 (b) is acquired by the image acquisition part 32 in the state of a reference temperature, without the jig | tool in the measurement window 14 (step S11). Then, using the reference image 62, as described with reference to FIG. 4B, the luminance value at the center of the reference plate images 151 and 152 is acquired, and this is used as the luminance reference values C1 and C2. (Step S12). Further, the distance between the reference plate images 151 and 152 is acquired, and this is set as the distance reference value L0 (step S13). Information regarding the luminance reference values C1 and C2 and the distance reference value L0 is stored in the storage unit 40 as correction reference information 41.

こうして、記憶部40に補正基準情報41を保存した状態で、硬貨識別処理が開始される。図7は、位置ずれや像倍率等を補正して行う硬貨識別処理を説明するためのフローチャートである。   Thus, the coin identifying process is started with the correction reference information 41 stored in the storage unit 40. FIG. 7 is a flowchart for explaining a coin identifying process performed by correcting misalignment, image magnification, and the like.

まず、画像センサ10では、光源制御部34により、初期値として設定された発光量で光源13が点灯される。そして、硬貨100が無い状態で、画像取得部32により図4(c)に示した補正用画像63が取得される(ステップS21)。   First, in the image sensor 10, the light source 13 is turned on by the light source control unit 34 with the light emission amount set as the initial value. And the image 63 for correction shown in FIG.4 (c) is acquired by the image acquisition part 32 in the state without the coin 100 (step S21).

取得した補正用画像63を利用して、図4(c)を参照しながら説明したように、輝度算出部33が、基準プレート画像251、252の中央画素の輝度値C11、C12を取得して(ステップS22)、これらの輝度値C11、C12と、輝度基準値C1、C2から光量比Kを算出する(ステップS23)。   Using the acquired correction image 63, as described with reference to FIG. 4C, the luminance calculation unit 33 acquires the luminance values C11 and C12 of the central pixels of the reference plate images 251 and 252. (Step S22), the light amount ratio K is calculated from the luminance values C11 and C12 and the luminance reference values C1 and C2 (Step S23).

次に、画像切出部35が、基準プレート画像251、252の間の距離L1を算出して(ステップS24)、この距離L1と距離基準値L0から像倍率Sを算出する(ステップS25)。また、画像切出部35は、基準画像61の切出基準X1、X2からのずれ量Dxを算出して(ステップS26)、補正用画像63から硬貨通過領域72の部分領域画像を切り出すための切出基準X3、X4の座標を決定する(ステップS27)。   Next, the image cutout unit 35 calculates the distance L1 between the reference plate images 251 and 252 (step S24), and calculates the image magnification S from the distance L1 and the distance reference value L0 (step S25). The image cutout unit 35 calculates a deviation amount Dx of the reference image 61 from the cutout references X1 and X2 (step S26), and cuts out the partial area image of the coin passage area 72 from the correction image 63. The coordinates of the cutting references X3 and X4 are determined (step S27).

次に、光源制御部34が、輝度算出部33から入力された光量比Kに基づいて、光源13の発光量を制御する(ステップS28)。そして、画像取得部32が、硬貨識別処理の処理対象となる硬貨100が搬送路25を搬送されてきたタイミングに合わせて、硬貨100を撮像して画像を取得する(ステップS29)。そして、図4(d)を参照しながら説明したように、画像切出部35が、取得した画像64から、ずれ量Dxに基づいて位置ずれを補正した切出基準X3、X4の間で、硬貨通過領域に対応する部分領域画像73を切り出す(ステップS30)。そして、画像補正部36が、算出した像倍率Sに基づいて、切り出した部分領域画像73の像倍率を補正する(ステップS31)。こうして、図4(d)に示す識別用画像74を得ることができる。   Next, the light source control unit 34 controls the light emission amount of the light source 13 based on the light amount ratio K input from the luminance calculation unit 33 (step S28). And the image acquisition part 32 images the coin 100 and acquires an image according to the timing at which the coin 100 to be processed in the coin identification process has been transported through the transport path 25 (step S29). Then, as described with reference to FIG. 4D, the image cutout unit 35 determines from the acquired image 64 between the cutout references X3 and X4 that have corrected the position shift based on the shift amount Dx. A partial area image 73 corresponding to the coin passage area is cut out (step S30). Then, the image correction unit 36 corrects the image magnification of the cut-out partial area image 73 based on the calculated image magnification S (step S31). In this way, an identification image 74 shown in FIG. 4D can be obtained.

先にステップS21で取得した補正用画像に、硬貨粉によるゴミ等が写り込んだノイズが含まれている場合には、このノイズを除去する処理が行われる(ステップS32)。具体的には、図5を参照しながら説明したように、画像補正部36が、同図(a)に示すように基準画像上でノイズ80を示した背景画像75を、硬貨100を撮像して位置ずれ及び像倍率を補正した同図(c)に示す補正画像177から差し引いて、得られた画像を識別用画像178とする。   If the correction image previously acquired in step S21 includes noise in which dust or the like due to coin dust is reflected, processing for removing this noise is performed (step S32). Specifically, as described with reference to FIG. 5, the image correction unit 36 captures the coin 100 with the background image 75 showing the noise 80 on the reference image as shown in FIG. Then, the image obtained by subtracting from the corrected image 177 shown in FIG.

こうして得られた識別用画像が画像補正部36から硬貨識別部37に入力される。そして、硬貨識別部37が、入力された識別用画像を利用して、硬貨100の金種等を識別する識別処理を行う(ステップS33)。   The identification image thus obtained is input from the image correction unit 36 to the coin identification unit 37. And the coin identification part 37 performs the identification process which identifies the money type etc. of the coin 100 using the input image for identification (step S33).

硬貨識別処理の処理対象となる硬貨100が存在する間(ステップS34;No)、像倍率及び位置ずれを補正してノイズを除去した各硬貨100の画像を取得して、この画像に基づいて硬貨100の金種等を識別するステップS29〜S33の処理が繰り返される。そして、処理対象とする全ての硬貨100の処理が完了すると(ステップS34;Yes)、硬貨識別処理を完了する。   While there is a coin 100 to be processed in the coin identification process (step S34; No), an image of each coin 100 from which noise is removed by correcting the image magnification and displacement is acquired, and the coin is based on this image. The processes of steps S29 to S33 for identifying 100 denominations and the like are repeated. And if the process of all the coins 100 made into a process target is completed (step S34; Yes), a coin identification process will be completed.

図7では、位置ずれ及び像倍率の補正量を先に求めてから(ステップS24〜S27)、その後に、これらの補正量を利用して、処理対象とする複数の硬貨100の識別処理を行う態様を示したが、処理順序がこれに限定されるものではない。例えば、処理対象とするそれぞれの硬貨100で位置ずれ及び像倍率の補正量を求める態様であっても構わない。図8は、処理対象とするそれぞれの硬貨100で位置ずれ及び像倍率の補正量を求めて行う硬貨識別処理を説明するためのフローチャートである。   In FIG. 7, the correction amounts for the positional deviation and the image magnification are obtained first (steps S24 to S27), and thereafter, using these correction amounts, a plurality of coins 100 to be processed are identified. Although an embodiment has been shown, the processing order is not limited to this. For example, it may be a mode in which the correction amount of the positional deviation and the image magnification is obtained for each coin 100 to be processed. FIG. 8 is a flowchart for explaining a coin identifying process performed by obtaining a correction amount of the positional deviation and the image magnification in each coin 100 to be processed.

なお、図8に示すフローチャートでは、図7との差違を示すため、対応するステップに図7と同じステップ番号を付しているが、各ステップはフローチャートに矢印で示した順で行われる。また、図8に示す各ステップの処理内容は図7で示した内容と同様であるため詳細な説明は省略する。   In the flowchart shown in FIG. 8, the same step numbers as in FIG. 7 are assigned to the corresponding steps in order to show the difference from FIG. 7, but each step is performed in the order indicated by the arrows in the flowchart. Further, the processing contents of each step shown in FIG. 8 are the same as the contents shown in FIG.

図8に示す硬貨識別処理では、処理開始後に、硬貨100が無い状態で画像を取得して(ステップS21)、この画像から輝度値C11、C12を取得して(ステップS22)、光量比Kを算出し(ステップS23)、算出した光量比Kに基づいて光源13を制御する(ステップS28)。そして、各硬貨100の画像を取得して(ステップS29)、位置ずれDx及び像倍率Sを求める処理を行い(ステップS24〜27)、求めた補正量に基づいて、位置ずれを補正した画像の切出処理(ステップS30)及び像倍率の補正処理(ステップS31)を行う。   In the coin identification process shown in FIG. 8, after the process is started, an image is acquired without the coin 100 (step S21), and brightness values C11 and C12 are acquired from the image (step S22). The light source 13 is calculated (step S23), and the light source 13 is controlled based on the calculated light quantity ratio K (step S28). And the image of each coin 100 is acquired (step S29), the process which calculates | requires the position shift Dx and the image magnification S is performed (steps S24-27), and based on the calculated | required correction amount, the image of which the position shift was corrected is performed. Cutout processing (step S30) and image magnification correction processing (step S31) are performed.

また、画像にノイズが含まれている場合には、これを除去する処理が行われ(ステップS32)、得られた画像を利用して硬貨100の金種等を識別する処理が行われる(ステップS33)。そして、処理対象となる硬貨100が存在する間(ステップS34;No)、これらの処理(ステップS29、S24〜S27、S30〜33)が繰り返される。そして、処理対象とする全ての硬貨100の処理が完了すると(ステップS34;Yes)、硬貨識別処理を完了する。   If the image contains noise, a process for removing the noise is performed (step S32), and a process for identifying the denomination of the coin 100 using the obtained image is performed (step S32). S33). And while the coin 100 used as a process target exists (step S34; No), these processes (step S29, S24-S27, S30-33) are repeated. And if the process of all the coins 100 made into a process target is completed (step S34; Yes), a coin identification process will be completed.

図7に示す処理では位置ずれ及び像倍率の補正量を先に求めてから各硬貨100の識別処理を行うのに対して、図8に示す処理では各硬貨100の識別処理時に位置ずれ及び像倍率の補正量を求めるため、処理中に位置ずれや像倍率の変化が生じた場合でも、これを補正することができる。   In the process shown in FIG. 7, the identification processing of each coin 100 is performed after the correction amount of the positional deviation and the image magnification is obtained first, whereas in the processing shown in FIG. Since the magnification correction amount is obtained, it can be corrected even when a positional deviation or a change in image magnification occurs during processing.

なお、硬貨識別装置1が図7に示す処理及び図8に示す処理のいずれか一方の処理順でのみ処理を行う態様に限らず、両方の処理順からいずれか一方を選択して実行する態様であっても構わない。また、図7及び図8では、光源13の発光量を調整して画像上の輝度を補正する処理、撮像した画像上での部分領域画像の位置ずれを補正する処理、像倍率の変化を補正する処理及びノイズを除去する処理の全ての処理を示しているが、それぞれの処理は必要とされる場合にのみ実行されることは言うまでもない。   In addition, the aspect which the coin identification device 1 selects and performs not only the aspect which performs a process only in any one processing order of the process shown in FIG. 7, and the process shown in FIG. It does not matter. 7 and 8, the process of correcting the luminance on the image by adjusting the light emission amount of the light source 13, the process of correcting the positional deviation of the partial area image on the captured image, and the change of the image magnification are corrected. Although all the processes of the process to remove and the process to remove noise are shown, it goes without saying that each process is executed only when necessary.

また、本実施形態では、X軸方向の位置ずれを補正する例を示したが、硬貨識別装置1では、同様の方法により、Y軸方向等、他の方向の位置ずれについても補正することができる。また、本実施形態では、位置ずれを補正して切り出した画像で像倍率を補正する例を示したが、像倍率を補正した後に、位置ずれを補正する態様であっても構わない。また、基準プレート51、52の形状は三角形や五角形等の多角形や円形であっても構わないし、基準プレート51、52の数についても3つ以上であっても構わない。上述した距離基準値及び輝度基準値の算出、これらの値を利用した像倍率や位置ずれの補正を上述した内容で実行可能であれば、基準プレート51、52が、本実施形態に示した例に限定されるものではない。   Moreover, although the example which correct | amends the position shift of a X-axis direction was shown in this embodiment, in the coin identification device 1, it can correct also about the position shift of other directions, such as a Y-axis direction, with the same method. it can. In the present embodiment, an example in which the image magnification is corrected using an image cut out by correcting the positional deviation has been described. However, the positional deviation may be corrected after the image magnification is corrected. The shape of the reference plates 51 and 52 may be a polygon such as a triangle or a pentagon or a circle, and the number of the reference plates 51 and 52 may be three or more. If the above-described calculation of the distance reference value and the luminance reference value and the correction of the image magnification and the positional deviation using these values can be executed with the above-described contents, the reference plates 51 and 52 are examples shown in the present embodiment. It is not limited to.

また、本実施形態では、距離基準値、輝度基準値等を基準画像上で求める方法を説明したが、これらの値については、例えば、製造時に、全て又は一部の硬貨識別装置1で基準温度等の所定条件下で実際に基準画像を撮像して求めた値を用いてもよいし、設計値、理論値等を用いてもよい。   Further, in the present embodiment, the method of obtaining the distance reference value, the luminance reference value, etc. on the reference image has been described, but for these values, for example, at the time of manufacture, all or some of the coin identification devices 1 use the reference temperature. A value obtained by actually capturing a reference image under a predetermined condition such as the above may be used, or a design value, a theoretical value, or the like may be used.

上述してきたように、本実施形態によれば、温度変化に起因するレンズユニット12の屈折率の変化により像倍率が変化した場合や、レンズユニット12又は該レンズユニットを構成する個々のレンズが衝撃や振動によって位置ずれを起こした場合でも、硬貨100を撮像した画像を、補正基準情報41を利用して補正して、予め準備されたテンプレート42と比較可能な画像を取得することができる。このため、温度変化、衝撃、振動等による影響を受けることなく、硬貨100の金種等を正確に識別することができる。   As described above, according to the present embodiment, when the image magnification changes due to a change in the refractive index of the lens unit 12 caused by a temperature change, or when the lens unit 12 or individual lenses constituting the lens unit are shocked. Even when a position shift occurs due to vibration or vibration, the image obtained by capturing the coin 100 can be corrected using the correction reference information 41 to obtain an image that can be compared with the template 42 prepared in advance. For this reason, the denomination etc. of the coin 100 can be accurately identified without being affected by temperature change, impact, vibration, or the like.

また、像倍率や位置ずれの補正は、基準プレート51、52を撮像した画像を利用して行うため、画像補正用の基準媒体を準備したり、画像センサ10内に温度センサを設けたりする必要がない。また、計測温度に基づいて補正量を決定するために、事前に、温度と補正量の関係を示すデータを準備する必要がない。   Further, since the image magnification and the positional deviation are corrected using images obtained by imaging the reference plates 51 and 52, it is necessary to prepare a reference medium for image correction or to provide a temperature sensor in the image sensor 10. There is no. In addition, since the correction amount is determined based on the measured temperature, it is not necessary to prepare data indicating the relationship between the temperature and the correction amount in advance.

以上のように、本発明に係る硬貨識別装置及び硬貨識別方法は、温度変化等に起因する像倍率の変化やレンズの位置ずれによる影響を補正した硬貨画像を取得して、硬貨の金種や真偽を正確に識別するために有用である。   As described above, the coin discriminating apparatus and the coin discriminating method according to the present invention acquire a coin image in which the influence of a change in image magnification caused by a temperature change or the like and a lens position shift is corrected, Useful for accurately identifying authenticity.

1 硬貨識別装置
10、10A、10B 画像センサ
11 撮像素子
12 レンズユニット
13 光源
14 測定窓
15 ミラー
16、17 基板
18 上部ケース
19 下部ケース
20 磁気センサ
25 搬送路
30 制御部
31 金種仮判定部
32 画像取得部
33 輝度算出部
34 光源制御部
35 画像切出部
36 画像補正部
37 硬貨識別部
40 記憶部
DESCRIPTION OF SYMBOLS 1 Coin identification apparatus 10, 10A, 10B Image sensor 11 Image pick-up element 12 Lens unit 13 Light source 14 Measurement window 15 Mirror 16, 17 Board | substrate 18 Upper case 19 Lower case 20 Magnetic sensor 25 Transport path 30 Control part 31 Denomination provisional determination part 32 Image acquisition unit 33 Luminance calculation unit 34 Light source control unit 35 Image cutout unit 36 Image correction unit 37 Coin identification unit 40 Storage unit

Claims (8)

光源から硬貨に向けて光を照射して前記硬貨を撮像した画像に基づいて識別処理を行う硬貨識別装置であって、
識別対象の硬貨が通過する硬貨通過領域及び該硬貨通過領域の外側に固定して配置された複数の基準部材が含まれる撮像範囲をレンズユニットにより撮像素子上に結像して撮像する画像センサと、
画像上の前記基準部材の間の距離を示す距離基準値を記憶する記憶部と、
前記画像センサにより撮像された画像を、該画像上で算出した前記基準部材の間の距離が前記距離基準値と一致するように補正する画像補正部と
を備えることを特徴とする硬貨識別装置。
A coin identification device that performs identification processing based on an image obtained by irradiating light from a light source toward a coin and imaging the coin,
An image sensor for imaging an imaging range including a coin passing area through which a coin to be identified passes and a plurality of reference members fixedly arranged outside the coin passing area on an imaging element by a lens unit; ,
A storage unit for storing a distance reference value indicating a distance between the reference members on the image;
An coin corrector comprising: an image correcting unit that corrects an image captured by the image sensor so that a distance between the reference members calculated on the image matches the distance reference value.
前記距離基準値は基準温度下での前記基準部材の間の距離を示し、
前記画像補正部は、
前記距離基準値と、前記画像センサにより前記基準温度と異なる温度下で撮像された画像上での前記基準部材の間の距離とに基づいて、温度変化に起因する像倍率の変化を補正する
ことを特徴とする請求項1に記載の硬貨識別装置。
The distance reference value indicates a distance between the reference members under a reference temperature,
The image correction unit
Correcting a change in image magnification caused by a temperature change based on the distance reference value and a distance between the reference members on an image captured by the image sensor at a temperature different from the reference temperature. The coin identification device according to claim 1, wherein:
前記基準部材の画像の輝度値を示す輝度基準値と前記画像センサにより撮像された画像に含まれる前記基準部材の画像の輝度値との比を光量比として算出する輝度算出部と、
前記輝度算出部により算出された前記光量比に基づいて前記光源の発光量を制御する光源制御部
をさらに備えることを特徴とする請求項1又は2に記載の硬貨識別装置。
A luminance calculating unit that calculates a ratio between a luminance reference value indicating a luminance value of the image of the reference member and a luminance value of the image of the reference member included in the image captured by the image sensor as a light amount ratio;
The coin identifying apparatus according to claim 1, further comprising a light source control unit that controls a light emission amount of the light source based on the light amount ratio calculated by the luminance calculation unit.
前記基準部材の位置を示す画像上の基準位置と前記画像センサにより撮像された画像に含まれる前記基準部材の位置とのずれ量を算出して、前記画像から部分領域画像を切り出す位置を規定した切出基準を前記ずれ量に基づいて補正し、補正後の切出基準で前記部分領域画像の切り出しを行う画像切出部
をさらに備えることを特徴とする請求項1、2又は3に記載の硬貨識別装置。
The amount of deviation between the reference position on the image indicating the position of the reference member and the position of the reference member included in the image captured by the image sensor is calculated, and the position where the partial region image is cut out from the image is defined. 4. The image cutting unit according to claim 1, further comprising an image cutout unit that corrects a cutout reference based on the shift amount, and cuts out the partial region image using the cutout reference after correction. Coin identification device.
画像上で算出される距離及びずれ量は一画素単位で算出されることを特徴とする請求項請求項に記載の硬貨識別装置。 5. The coin identifying apparatus according to claim 4 , wherein the distance and the shift amount calculated on the image are calculated in units of one pixel. 前記基準部材は、前記画像センサを構成するセンサケース内に固定されていることを特徴とする請求項1〜5のいずれか1項に記載の硬貨識別装置。   The coin identifying apparatus according to any one of claims 1 to 5, wherein the reference member is fixed in a sensor case constituting the image sensor. 前記センサケース及び前記基準部材は、前記レンズユニットを形成する材質より線膨張係数の小さい材質で形成されており、
前記基準部材は、前記センサケースより反射率の高い材質で形成されていることを特徴とする請求項6に記載の硬貨識別装置。
The sensor case and the reference member are made of a material having a smaller linear expansion coefficient than the material forming the lens unit,
The coin identifying device according to claim 6, wherein the reference member is made of a material having a higher reflectance than the sensor case.
光源から硬貨に向けて光を照射して前記硬貨を撮像した画像に基づいて識別処理を行う硬貨識別方法であって、
画像上の基準部材の間の距離を示す距離基準値を記憶する記憶工程と、
識別対象の硬貨が通過する硬貨通過領域及び該硬貨通過領域の外側に固定された複数の基準部材が含まれる撮像範囲をレンズユニットにより撮像素子上に結像して撮像する画像撮像工程と、
前記画像撮像工程で撮像された画像を、該画像上で算出した前記基準部材の間の距離が前記距離基準値と一致するように補正する画像補正工程と
を含んだことを特徴とする硬貨識別方法。
A coin identification method for performing identification processing based on an image obtained by irradiating light from a light source toward a coin and imaging the coin,
Storing a distance reference value indicating a distance between reference members on the image;
An image imaging step of imaging an imaging range including a coin passing area through which a coin to be identified passes and a plurality of reference members fixed outside the coin passing area on the imaging element by a lens unit; and
An image correction step of correcting the image captured in the image capturing step so that a distance between the reference members calculated on the image coincides with the distance reference value. Method.
JP2013196060A 2013-09-20 2013-09-20 Coin identification device and coin identification method Expired - Fee Related JP6214036B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013196060A JP6214036B2 (en) 2013-09-20 2013-09-20 Coin identification device and coin identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013196060A JP6214036B2 (en) 2013-09-20 2013-09-20 Coin identification device and coin identification method

Publications (2)

Publication Number Publication Date
JP2015060564A JP2015060564A (en) 2015-03-30
JP6214036B2 true JP6214036B2 (en) 2017-10-18

Family

ID=52817991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013196060A Expired - Fee Related JP6214036B2 (en) 2013-09-20 2013-09-20 Coin identification device and coin identification method

Country Status (1)

Country Link
JP (1) JP6214036B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6531038B2 (en) * 2015-12-18 2019-06-12 日立オムロンターミナルソリューションズ株式会社 Medium identification device and medium identification method
JP6794027B2 (en) * 2016-08-22 2020-12-02 株式会社ユニバーサルエンターテインメント Game machine
JP6826712B2 (en) * 2018-03-29 2021-02-10 旭精工株式会社 Disk image acquisition device and disk discrimination device
JP7066494B2 (en) * 2018-04-17 2022-05-13 グローリー株式会社 Coin wear or deformation detection device, coin processor, and coin wear or deformation detection method
JP7233272B2 (en) * 2019-03-25 2023-03-06 グローリー株式会社 COIN HANDLING APPARATUS, COIN HANDLING SYSTEM AND COIN HANDLING METHOD
JP7371380B2 (en) * 2019-07-26 2023-10-31 沖電気工業株式会社 Coin recognition device and coin handling device using the coin recognition device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3493095B2 (en) * 1996-03-11 2004-02-03 グローリー工業株式会社 Image extraction method
JP3945379B2 (en) * 2002-11-06 2007-07-18 松下電器産業株式会社 Pattern recognition device
JP4321344B2 (en) * 2004-04-27 2009-08-26 パナソニック株式会社 Pattern recognition device
JP5230327B2 (en) * 2008-09-30 2013-07-10 日本電産コパル株式会社 Stamp reader

Also Published As

Publication number Publication date
JP2015060564A (en) 2015-03-30

Similar Documents

Publication Publication Date Title
JP6214036B2 (en) Coin identification device and coin identification method
EP1946376B1 (en) Apparatus for and method of measuring image
KR101036066B1 (en) Wafer containing cassette inspection device and method
WO2013061976A1 (en) Shape inspection method and device
JP2013020540A (en) Paper sheet identification device and paper sheet identification method
US9235947B2 (en) Subject discriminating apparatus and coin discriminating apparatus
JP6581293B2 (en) Measurement of rotational position of lenticular lens sheet
JP5264343B2 (en) Coin identification method and coin identification device
JP2002511142A (en) Focusing method for imaging structured surfaces of disk-shaped objects
WO2006006525A1 (en) Image processing device and method
TWI607253B (en) Auto-focus system, method and optical imaging inspection apparatus
WO2022050279A1 (en) Three-dimensional measurement device
JP2012220479A (en) Device and method for detecting boundary of imaging-object
US8625879B2 (en) Apparatus and method for mounting an inclined component with respect to a substrate
TW201736832A (en) Inspection method, inspection system, production method
WO2010137637A1 (en) Shape measuring device, shape measuring method, and production method
CN114071133B (en) Semiconductor chip detection image imaging method
TW201809592A (en) Automated 3-D measurement
JP2009192358A (en) Defect inspection device
TWI435059B (en) Optical distance detection system
JP6939501B2 (en) Image processing system, image processing program, and image processing method
JP2010025803A (en) Inspection device having positioning function, program therefor, inspection method of inspection device having positioning function
JP5981353B2 (en) 3D measuring device
JP2019028004A (en) Three-dimensional measuring device and method for detecting abnormality in three-dimensional measuring device
JP2018009977A (en) Pattern irradiation device, imaging system, and handling system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170822

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: 20170905

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170914

R150 Certificate of patent or registration of utility model

Ref document number: 6214036

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees