JPH1091837A - Device for detecting edge of object to be identified - Google Patents
Device for detecting edge of object to be identifiedInfo
- Publication number
- JPH1091837A JPH1091837A JP26678796A JP26678796A JPH1091837A JP H1091837 A JPH1091837 A JP H1091837A JP 26678796 A JP26678796 A JP 26678796A JP 26678796 A JP26678796 A JP 26678796A JP H1091837 A JPH1091837 A JP H1091837A
- Authority
- JP
- Japan
- Prior art keywords
- coin
- recognition target
- ccd sensor
- row
- recognition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003384 imaging method Methods 0.000 claims description 13
- 238000003708 edge detection Methods 0.000 claims description 8
- 238000007689 inspection Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 claims 1
- 239000011521 glass Substances 0.000 abstract description 7
- 238000006243 chemical reaction Methods 0.000 abstract description 4
- 235000019557 luminance Nutrition 0.000 description 18
- 238000010586 diagram Methods 0.000 description 7
- 238000012935 Averaging Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D5/00—Testing specially adapted to determine the identity or genuineness of coins, e.g. for segregating coins which are unacceptable or alien to a currency
- G07D5/005—Testing the surface pattern, e.g. relief
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Coins (AREA)
- Image Input (AREA)
Abstract
Description
【0001】[0001]
【産業の利用分野】本発明は、所定の方向に移送される
硬貨等の認識対象物をCCDセンサで撮像して、輝度投
影を行った結果から認識対象物のエッジ位置を検出する
ためのエッジ検出装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an edge for detecting an edge position of an object to be recognized from a result obtained by imaging an object to be recognized such as a coin transferred in a predetermined direction by a CCD sensor and performing luminance projection. The present invention relates to a detection device.
【0002】[0002]
【従来の技術】図7は認識対象物のエッジ検出装置にお
ける従来の回路構成である。この回路構成は、スキャナ
部1と制御部10及びモニタ12から成っている。スキ
ャナ部1は図7に示すように、円形物である硬貨2に対
して光源25からの光をレンズ3に通して硬貨2のエッ
ジ部分に向けて照射している。この照射は硬貨2に対し
て浅い角度で暗視野光4を照射し、得られた反射光5を
光学系6に通してCCD部7に送り込む。CCD部7
は、図9に示すように、CCD(電荷結合素子)からな
るCCDセンサ33で構成されている。図10はCCD
センサ33の撮像面を示すもので、撮像面を構成するn
行×m列の多数の四角形状の受光部が二次元的に配置さ
れたピクセル34から形成されている。2. Description of the Related Art FIG. 7 shows a conventional circuit configuration of an edge detection device for an object to be recognized. This circuit configuration includes a scanner unit 1, a control unit 10, and a monitor 12. As shown in FIG. 7, the scanner unit 1 irradiates the coin 2 which is a circular object with the light from the light source 25 through the lens 3 toward the edge of the coin 2. In this irradiation, the coin 2 is irradiated with the dark field light 4 at a shallow angle, and the obtained reflected light 5 is sent to the CCD unit 7 through the optical system 6. CCD unit 7
Is constituted by a CCD sensor 33 composed of a CCD (charge coupled device), as shown in FIG. Figure 10 shows a CCD
Indicates the imaging surface of the sensor 33, and n
A large number of square-shaped light receiving portions of rows × m columns are formed from pixels 34 arranged two-dimensionally.
【0003】このような二次元配列されたピクセル34
に対して水平方向及び垂直方向に走査を行い、遂次電荷
転送を行って入力光に応じたアナログ画像信号を取出す
光電変換を行っている。光電変換されたアナログ画像信
号は増巾器8で増巾され、増巾された画像信号はA/D
変換器9を経てデジタル信号に変換されて出力信号とな
る。前記デジタル信号はフレームメモリ11に取り込
み、制御部10によって特徴抽出の為の一連の画像処理
を行い識別判定を行っている。[0003] Such a two-dimensionally arranged pixel 34
Scans the image in the horizontal and vertical directions, sequentially performs charge transfer, and performs photoelectric conversion for extracting an analog image signal corresponding to input light. The photoelectrically converted analog image signal is amplified by the amplifier 8 and the amplified image signal is A / D
The signal is converted into a digital signal via the converter 9 and becomes an output signal. The digital signal is taken into a frame memory 11, and a series of image processing for feature extraction is performed by a control unit 10 to perform identification determination.
【0004】前記の図7に示す回路において、硬貨等の
円形対象物は、対象物2から受けた反射光に基づき、フ
レームメモリ11に対して水平方向及び垂直方向の輝度
投影により各方向における対象物の境界であるエッジ点
を求め、さらに中心座標の算出を行うものである。輝度
投影は、二次元正方行列(n×m)上の1行(横方向)
又は1列(縦方向)の全画素の輝度を加算して、それぞ
れヒストグラムを求めている。このヒストグラムから水
平方向の輝度投影及び垂直方向の輝度投影が得られる。
次に、各輝度投影に対して、水平方向及び垂直方向の走
査線による走査及び検出を行う。そして、各走査線が輝
度投影のしきい値を越える基準点を選び出し、水平方向
及び垂直方向の各走査線と各々の輝度投影の分布線が交
差する交点を検出して、各方向のエッジ点を求めてい
る。In the circuit shown in FIG. 7, a circular object such as a coin is projected in a horizontal direction and a vertical direction onto a frame memory 11 based on the reflected light received from the object 2 in each direction. An edge point which is a boundary of an object is obtained, and the center coordinates are further calculated. One row (horizontal direction) on a two-dimensional square matrix (n × m)
Alternatively, the luminances of all the pixels in one column (vertical direction) are added to obtain a histogram. From this histogram, a horizontal luminance projection and a vertical luminance projection are obtained.
Next, for each luminance projection, scanning and detection are performed using horizontal and vertical scanning lines. Then, a reference point where each scanning line exceeds the threshold value of the luminance projection is selected, and an intersection point where each scanning line in the horizontal and vertical directions intersects with each distribution line of the luminance projection is detected, and an edge point in each direction is detected. Seeking.
【0005】上記の構成において、従来のエッジ検出装
置は図9に示すように、硬貨2が図示しないベルト又は
ゴムのローラによりガラス24の面上のF方向に移送さ
れる場合に、CCDセンサ33の中心線Rの角度は移送
方向Fに対して平行して配置されている。なお、26は
ケースを示している。In the above-described configuration, the conventional edge detecting device, as shown in FIG. 9, uses the CCD sensor 33 when the coin 2 is transported in the F direction on the surface of the glass 24 by a belt or rubber roller (not shown). Are arranged in parallel with the transport direction F. 26 indicates a case.
【0006】この場合に、ストロボを発光させて硬貨2
をCCDセンサ33に撮像させている。しかしながら、
硬貨2の動きがベルト又はローラの移送速度ムラ等によ
り変化することによって、縦方向の画像ブレが発生して
いた。このため、硬貨の大きさや中心位置に誤差が生じ
ることとなり、硬貨判別の信頼性が低下していた。In this case, the strobe light is emitted and coin 2
Is captured by the CCD sensor 33. However,
When the movement of the coin 2 changes due to uneven transfer speed of the belt or the roller, image blur in the vertical direction has occurred. For this reason, an error occurs in the size and center position of the coin, and the reliability of coin discrimination has been reduced.
【0007】さらに、画像を取込むための、ガラスの面
上に硬貨の移送に伴なうスリ傷が生じると、スリ傷によ
るノイズが画像信号に重畳していた。又、ベルト又はゴ
ムのローラ等の搬送器具が撮像面に写り込んでしまうと
いう問題点が生じていた。Further, when a flaw caused by the transfer of coins on a glass surface for capturing an image occurs, noise due to the flaw is superimposed on the image signal. In addition, there has been a problem that a transfer device such as a belt or a rubber roller is reflected on the imaging surface.
【0008】[0008]
【発明が解決しようとする課題】本発明は上記事情に鑑
みてなされたものであって、所定の方向に移送される硬
貨等の認識対象物の画像ブレを縮小し、画像ブレを縦横
方向に平均化することによって基準画像に対する誤差を
縮小して、硬貨判別の信頼性の向上を図ることを目的と
する。さらに、走行路のスリ傷やローラ等の搬送器具の
写り込みを縮小させることによって、これらのノイズ画
像を縮小させると共に画像の縦横方向に平均化させるこ
とを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and reduces image blur of a recognition object such as a coin transferred in a predetermined direction, and reduces the image blur in the vertical and horizontal directions. An object of the present invention is to reduce the error with respect to the reference image by averaging and improve the reliability of coin discrimination. It is another object of the present invention to reduce these noise images and average them in the vertical and horizontal directions of the image by reducing the scratches on the traveling path and the reflection of the transfer device such as a roller.
【0009】[0009]
【課題を解決するための手段】その目的を解決するため
に、請求項1に記載の発明は、所定の方向に移送される
認識対象物に検査光を照射し、その照射した検査光の上
記認識対象物からの反射光をCCDセンサで撮像し、該
CCDセンサで撮像した1フレーム分の画像信号の輝度
を1列ごと又は1行ごと投影処理し、上記1列ごと又は
1行ごとの輝度投影結果から上記認識対象物のエッジ位
置を検出するようにした認識対象物のエッジ検出装置に
おいて、上記CCDセンサの撮像面を構成する各ピクセ
ルの列ごとの配置方向及び行ごとの配置方向が上記認識
対象物の移送方向に対して傾斜されて設けたことを特徴
とする。In order to solve the object, the invention according to claim 1 irradiates an inspection light to a recognition object transported in a predetermined direction, and irradiates the inspection light with the inspection light. The reflected light from the object to be recognized is picked up by a CCD sensor, and the brightness of the image signal for one frame picked up by the CCD sensor is projected for each column or row, and the brightness for each column or row is calculated. In the recognition object edge detection device configured to detect the edge position of the recognition object from the projection result, the arrangement direction of each pixel and the arrangement direction of each row of each pixel constituting the imaging surface of the CCD sensor are as described above. It is characterized in that it is provided to be inclined with respect to the transfer direction of the recognition target.
【0009】請求項2記載の発明は、上記各ピクセルは
四角形状をしており、該四角形の対角線方向が上記認識
対象物の移送方向とほぼ一致するようにしたことを特徴
とする。According to a second aspect of the present invention, each of the pixels has a quadrangular shape, and a diagonal direction of the quadrangle substantially coincides with a moving direction of the recognition target.
【0010】請求項3記載の発明は、上記CCDセンサ
の撮像面を構成する各ピクセルの列ごとの配置方向及び
行ごとの配置方向が上記認識対象物の移送方向に対して
約45度に設定してなることを特徴とする。According to a third aspect of the present invention, the arrangement direction of each pixel constituting the imaging surface of the CCD sensor in each column and each row is set to about 45 degrees with respect to the transport direction of the recognition object. It is characterized by becoming.
【0011】請求項4記載の発明は、上記CCDセンサ
の撮像面を構成する各ピクセルの列ごとの配置方向及び
行ごとの配置方向は、上記認識対象物の移送方向に対し
て、上記フレ−ム分の画像信号を形成するフレ−ム画面
の対角線方向とほぼ一致するように設定したことを特徴
とする。According to a fourth aspect of the present invention, the arrangement direction of each pixel constituting the imaging surface of the CCD sensor for each column and each row is different from the transfer direction of the object to be recognized. The frame is set so as to substantially coincide with a diagonal direction of a frame screen for forming an image signal for the frame.
【0012】[0012]
【発明の実施の形態】次に、本発明の認識対象物のエッ
ジ検出装置を硬貨認識装置に適用した場合について、図
面に示す実施例に基づいて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a case where the edge detecting device for an object to be recognized according to the present invention is applied to a coin recognizing device will be described with reference to an embodiment shown in the drawings.
【0013】本発明の回路構成は、従来の技術で説明し
た図7と同一のものである。この回路構成は、スキャナ
部1と制御部10及びモニタ12から成っている。スキ
ャナ部1は図2及び図7に示すように、円形物である硬
貨2に対して光源25からの光をレンズ3を通して硬貨
2のエッジ部分に向けて照射している。この照射は硬貨
2に対して浅い角度で暗視野光4を照射することによ
り、得られた反射光5を光学系6に通してCCD部7に
送り込む。CCD部7は、図1に示すようなCCD(電
荷結合素子)からなるCCDセンサ23で構成されてい
る。図8は、CCDセンサ23の撮像面を示すもので、
前記CCD23は撮像面を構成するn行×m列の多数の
四角形状の受光部が二次元的に配置されたピクセル30
から形成されている。The circuit configuration of the present invention is the same as that shown in FIG. This circuit configuration includes a scanner unit 1, a control unit 10, and a monitor 12. As shown in FIGS. 2 and 7, the scanner unit 1 irradiates a coin 2 which is a circular object with light from a light source 25 toward an edge portion of the coin 2 through a lens 3. In this irradiation, the coin 2 is irradiated with the dark field light 4 at a shallow angle, and the obtained reflected light 5 is sent to the CCD unit 7 through the optical system 6. The CCD unit 7 includes a CCD sensor 23 including a CCD (charge coupled device) as shown in FIG. FIG. 8 shows an imaging surface of the CCD sensor 23.
The CCD 23 is a pixel 30 in which a large number of n rows × m columns of square light receiving units constituting an imaging surface are two-dimensionally arranged.
Is formed from.
【0014】このような二次元配列されたピクセル30
に対して、通常のように水平方向及び垂直方向に走査を
行い、遂次電荷転送を行って入力光に応じたアナログ画
像信号を取出す光電変換を行っている。光電変換された
アナログ画像信号は増巾器8で増巾され、増巾された画
像信号はA/D変換器9を経てデジタル信号に変換され
て出力信号となる。前記デジタル信号は認識に必要な部
分のみフレームメモリ11に取り込み、制御部10によ
って特徴抽出の為の一連の画像処理を行い識別判定を行
っている。The two-dimensionally arranged pixels 30
In contrast to this, scanning is performed in the horizontal and vertical directions as usual, and photoelectric conversion is performed in which successive charge transfer is performed to extract an analog image signal corresponding to input light. The analog image signal that has been photoelectrically converted is amplified by the amplifier 8, and the amplified image signal is converted to a digital signal via the A / D converter 9 to become an output signal. The digital signal is fetched into the frame memory 11 only for a part necessary for recognition, and the control unit 10 performs a series of image processing for feature extraction to perform identification determination.
【0015】前記の図7に示す回路において、硬貨等の
円形対象物2から受けた反射光に基づき、フレームメモ
リ11において水平方向及び垂直方向の輝度投影により
各方向のエッジ点を求め、さらに中心座標の算出を行う
ものである。輝度投影は、二次元正方行列(n×m)上
の1行(横方向)又は1列(縦方向)の全画素の輝度を
加算して、それぞれヒストグラムを求めている。このヒ
ストグラムから水平方向の輝度投影及び垂直方向の輝度
投影が得られる。次に、各輝度投影に対して、水平方向
及び垂直方向の走査線による走査及び検出を行う。そし
て、各走査線が輝度投影のしきい値を越える基準点を選
び出し、水平方向及び垂直方向の各走査線と各々の輝度
投影の分布線が交差する交点を検出して、各方向のエッ
ジ点を求めている。In the circuit shown in FIG. 7, based on the reflected light received from the circular object 2 such as a coin, an edge point in each direction is obtained in the frame memory 11 by horizontal and vertical luminance projection. The coordinates are calculated. In the luminance projection, histograms are obtained by adding the luminances of all pixels in one row (horizontal direction) or one column (vertical direction) on a two-dimensional square matrix (n × m). From this histogram, a horizontal luminance projection and a vertical luminance projection are obtained. Next, for each luminance projection, scanning and detection are performed using horizontal and vertical scanning lines. Then, a reference point where each scanning line exceeds the threshold value of the luminance projection is selected, and an intersection point where each scanning line in the horizontal and vertical directions intersects with each distribution line of the luminance projection is detected, and an edge point in each direction is detected. Seeking.
【0016】上記の構成において、本発明に係る実施例
は図1に示すように、硬貨2が図示しないベルト又はゴ
ムのローラにより、ガラス24の面上に移送される場合
に、硬貨2の移送方向Fに対してCCDセンサ23の中
心線Rに対する角度Dを45度に設定する。すなわち、
CCDセンサ23は、硬貨2の移送方向Fに対して傾斜
して配置される。なお、26はケースを示している。In the above configuration, the embodiment according to the present invention, as shown in FIG. 1, transfers the coin 2 when the coin 2 is transferred onto the surface of the glass 24 by a belt or rubber roller (not shown). The angle D with respect to the center line R of the CCD sensor 23 with respect to the direction F is set to 45 degrees. That is,
The CCD sensor 23 is arranged to be inclined with respect to the transfer direction F of the coin 2. 26 indicates a case.
【0017】次に、本発明に係る認識対象物のエッジ検
出装置における作用について図3及び図4に基づいて説
明する。図3は、硬貨2が移送方向Fに移送された場合
における画像ブレを生じた状態を意図的に拡大して表わ
している。そして、硬貨2がストロボ光の発光によって
も、搬送速度ムラ等により移送方向Fに対して平行な位
置2Aから2Bに画像ブレを生じた場合を示している。
なお、図3及び図4において23Aは、本発明のCCD
センサ23の設定位置を示し、24はケース26の上面
に設けられたガラスである。これに対して32は、図3
に示すように、CCDセンサ23の中心線の角度が移送
方向Fに対して平行に配置されている場合で、傾斜しな
い通常位置を示している。Next, the operation of the recognition object edge detecting apparatus according to the present invention will be described with reference to FIGS. FIG. 3 shows an intentionally enlarged state in which the image blur has occurred when the coin 2 is transferred in the transfer direction F. Further, a case is shown in which the coin 2 causes image blurring from the position 2A parallel to the transfer direction F from the position 2A due to unevenness of the conveying speed or the like due to emission of strobe light.
In FIGS. 3 and 4, reference numeral 23A denotes a CCD of the present invention.
The setting position of the sensor 23 is shown, and reference numeral 24 denotes glass provided on the upper surface of the case 26. In contrast, FIG.
As shown in the figure, when the angle of the center line of the CCD sensor 23 is arranged in parallel to the transport direction F, it indicates a normal position where the CCD sensor 23 does not tilt.
【0018】図4は、硬貨2が移送方向Fに対して画像
ブレを生じた場合について、CCDセンサ23の傾斜し
ない通常位置と本発明に係る設定位置との画像領域にお
ける相互比較を拡大して示している。図4において、硬
貨2が中心位置C1の位置2Aに達したところでフラッ
シュ撮影され、この時点で画像ブレによって硬貨2が中
心位置C2の位置2Bに達したものとする。この時硬貨
2は、図4の斜線で示す範囲の領域Bにわたって画像ブ
レが発生することになる。画像ブレの領域Bは、CCD
センサ23が本発明に係る実施例の位置にある場合に
は、図4に実線で示すようなP軸Q軸からなる45度傾
斜した座標系に対して認識される。FIG. 4 is an enlarged view of the comparison between the normal position where the CCD sensor 23 does not tilt and the set position according to the present invention in the case where the coin 2 has image blurring in the transfer direction F. Is shown. In FIG. 4, it is assumed that the flash photography is performed when the coin 2 reaches the position 2A of the center position C1. At this time, the coin 2 reaches the position 2B of the center position C2 due to image blur. At this time, the image blur occurs on the coin 2 over the area B in the range indicated by the diagonal lines in FIG. Image blur area B is CCD
When the sensor 23 is at the position of the embodiment according to the present invention, it is recognized with respect to a coordinate system inclined by 45 degrees composed of the P axis and the Q axis as shown by the solid line in FIG.
【0019】上記のように45度傾斜した座標系として
おくと、CCD23で撮像した1フレーム分の画像信号
の輝度を1列(縦方向)ごとに投影処理すると、画像ブ
レのQ領域はQ11〜Q12の範囲Q1と、Q21〜Q22の範
囲Q2が形成される。また、1行(横方向)ごとに投影
処理すると、P軸に形成される画像ブレのP領域は、P
11〜P12の範囲P1と、P21〜P22の範囲P2となる。一
方、CCDセンサ23が移送方向Fに対して平行で、傾
斜しない通常の位置32に設置されている場合には、二
点鎖線で示すようなX軸Y軸に投影処理することにな
る。この座標系において、1フレーム分の画像信号の輝
度を1行(横方向)ごとに投影処理すると、Y軸に対し
て画像ブレのY領域はY11〜Y12の範囲Y1と、Y21〜
Y22の範囲Y2が形成される。又、1列(縦方向)ごと
に投影処理すると、X軸に形成される画像のX領域は、
X1とX2であって画像ブレは原則として生じない。When the coordinate system is inclined at 45 degrees as described above, when the luminance of the image signal of one frame captured by the CCD 23 is projected for each column (vertical direction), the Q region of the image blur is Q11 to Q11. A range Q1 of Q12 and a range Q2 of Q21 to Q22 are formed. When the projection processing is performed for each row (horizontal direction), the P area of the image blur formed on the P axis is P
There is a range P1 of 11 to P12 and a range P2 of P21 to P22. On the other hand, when the CCD sensor 23 is installed at a normal position 32 that is parallel to the transfer direction F and does not tilt, the projection processing is performed on the X axis and the Y axis as indicated by a two-dot chain line. In this coordinate system, when the luminance of the image signal for one frame is projected for each row (horizontal direction), the Y region of the image blur with respect to the Y axis is in the range Y1 to Y12 and Y21 to Y12.
A range Y2 of Y22 is formed. When the projection processing is performed for each column (vertical direction), the X area of the image formed on the X axis becomes
X1 and X2 do not cause image blurring in principle.
【0020】以上のことから明らかになるように、P軸
に形成される画像ブレのP1及びP2の領域は、Y軸に形
成されていた画像ブレのY1及びY2のそれぞれの領域に
対してP1<Y1,P2<Y2となり、縮小した領域にな
る。このことは、本発明に係る認識対象物のエッジ検出
装置において、硬貨2を撮像したときに、硬貨の移送方
向Fに対して平行な方向に画像ブレを生じた場合に、C
CDセンサ23の画面上で縦方向の画像ブレが縮小され
ることを表わしている。硬貨等の識別を行うためには、
まずその硬貨の大きさを正確に識別しなければならな
い。大きさの識別を間違えると、間違った大きさの硬貨
を基準として識別しようとするからである。このために
は、識別される硬貨のブレの範囲をできるだけ小さくす
る必要がある。As will be apparent from the above description, the areas P1 and P2 of the image blur formed on the P axis correspond to the areas P1 and Y2 of the image blur formed on the Y axis. <Y1, P2 <Y2, resulting in a reduced area. This means that, in the edge detection device for the object to be recognized according to the present invention, when the coin 2 is imaged and image blur occurs in a direction parallel to the coin transfer direction F, C
This indicates that the vertical image blur on the screen of the CD sensor 23 is reduced. In order to identify coins, etc.,
First, the size of the coin must be accurately identified. This is because, if the size is erroneously identified, an attempt is made to identify coins having the wrong size as a reference. For this purpose, it is necessary to minimize the range of the blur of the coin to be identified.
【0021】一方、Q軸に形成される画像ブレのQ1及
びQ2の領域は、X軸に形成されていた画像ブレの生じ
ていないX1及びX2のそれぞれの領域より増加すること
となるが、Y軸に形成される画像ブレのY1及びY2の値
と比較すれば小さな値であり、Y1、Y2による誤認識に
比べれば誤認識の可能性は非常に小さくなる。これによ
り、画像ブレはCCD画面で縦及び横方向に平均化され
ることとなる。従って、硬貨2を撮像した場合の画像ブ
レによる誤差が縮小して、硬貨の大きさや中心位置を求
める等による、硬貨判別の信頼性が向上する。On the other hand, the areas of the image blur Q1 and Q2 formed on the Q axis are larger than the respective areas of the image blur X1 and X2 formed on the X axis where no image blur occurs. The value is small compared to the values of Y1 and Y2 of the image blur formed on the axis, and the possibility of erroneous recognition is very small compared to the erroneous recognition by Y1 and Y2. As a result, the image blur is averaged in the vertical and horizontal directions on the CCD screen. Therefore, the error due to image blurring when the coin 2 is imaged is reduced, and the reliability of coin discrimination, such as obtaining the size and center position of the coin, is improved.
【0022】図5及び図6は、硬貨2の移送に伴ってガ
ラス24の表面に生じたスリ傷12の、CCDセンサ2
3に対する写り込み状態を示している。すなわち上記と
同様に45度傾斜した座標系にして1フレーム分の画像
信号の輝度を1列(縦方向)ごとに投影処理すると、ス
リ傷画像のQ領域はQ1となり、1行(横方向)ごとに
投影処理すると、スリ傷画像のP領域はP1となる。一
方、CCDセンサ23が傾斜しない通常位置32に設置
されている場合にはX軸Y軸が形成され、画像のX領域
にはX1が、Y領域にはY1が形成される。従って本発明
に係るスリ傷画像の領域P1は、従来の傾斜しない位置
32に設定されている場合に対してP1<Y1となり、縮
小することになる。FIGS. 5 and 6 show the CCD sensor 2 of the flaw 12 generated on the surface of the glass 24 as the coin 2 is transported.
3 shows a reflection state. That is, when the luminance of the image signal for one frame is projected for each column (vertical direction) in a coordinate system inclined at 45 degrees in the same manner as described above, the Q area of the pick-scratch image becomes Q1 and one row (horizontal direction). When the projection processing is performed for each image, the P area of the pick-up image becomes P1. On the other hand, when the CCD sensor 23 is set at the normal position 32 where the CCD sensor 23 does not tilt, the X-axis and the Y-axis are formed, and X1 is formed in the X region of the image and Y1 is formed in the Y region. Therefore, the area P1 of the flaw image according to the present invention is reduced as P1 <Y1 as compared with the conventional case where the area 32 is not inclined.
【0023】一方スリ傷領域Q1は傾斜しない通常位置
32に比較して増加するが、領域Y1と比較すれば小さ
い値にすることができる。又、ベルト又はローラ等の搬
送器具が撮像面に写り込んでも、画像の縦方向が縮小す
る。このように、走行路のスリ傷やローラ等の搬送器具
の写り込みが縮小して、CCD画面で縦及び横方向に平
均化されることになる。従って、これらのノイズ画像に
対しても縮小及び平均化の効果が得られる。On the other hand, the scratch area Q1 increases as compared with the normal position 32 which is not inclined, but can be reduced to a smaller value as compared with the area Y1. Further, even if a transfer device such as a belt or a roller appears on the imaging surface, the vertical direction of the image is reduced. In this manner, the reflection of the transporting device such as a flaw on the traveling path and the roller is reduced, and is averaged in the vertical and horizontal directions on the CCD screen. Therefore, the effects of reduction and averaging can be obtained for these noise images.
【0024】以上のように、本発明に係る実施例を具体
的に説明したが、本発明は、上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲内で種々変更可
能である。例えば、上記実施例においてはCCDセンサ
23の配置を硬貨2の移送方向Fに対して45度に設定
したが、45度に限らず図8に示すように、ピクセル3
0の対角線方向が移送方向Fとほぼ一致させるように設
定してもよい。この場合、画像が処理される1フレ−ム
分の画面を基準としてその対角線方向に一致させるのが
よい。このような設定は、CCD画面上のある部分の画
像を特別に設定して認識する場合などに特に有効であ
る。又、硬貨2の移送方向Fに対して傾斜されて設けて
あれば、任意の角度に設定してもよい。又、エリアセン
サを用いて走行方向が決められている場合には、認識対
象物が円形に限らず、四角形であってもよい。As described above, the embodiment according to the present invention has been specifically described. However, the present invention is not limited to the above-described embodiment, and can be variously modified without departing from the gist thereof. . For example, in the above-described embodiment, the arrangement of the CCD sensor 23 is set to 45 degrees with respect to the transport direction F of the coin 2, but the arrangement is not limited to 45 degrees, and as shown in FIG.
The diagonal direction of 0 may be set so as to substantially coincide with the transport direction F. In this case, it is preferable that the image is aligned in the diagonal direction with reference to the screen for one frame on which the image is processed. Such a setting is particularly effective when specially setting and recognizing an image of a certain portion on the CCD screen. Further, the angle may be set to an arbitrary angle as long as the coin 2 is provided to be inclined with respect to the transfer direction F of the coin 2. When the traveling direction is determined using the area sensor, the recognition target object is not limited to a circle, but may be a square.
【0025】[0025]
【発明の効果】以上説明したように、本発明に係る認識
対象物のエッジ検出装置にあっては、CCDセンサの撮
像面を構成する各ピクセルの列(縦方向)ごとの配置方
向及び行(横方向)ごとの配置方向が上記認識対象物の
移送方向に対して、傾斜されて設けたことを特徴として
いる。これによって所定の方向に移送される硬貨等の認
識対象物の画像ブレを縮小し、画像ブレを縦横方向に平
均化することによって、基準画像との誤差を縮小して、
硬貨判別の信頼性の向上を図ることができる。さらに、
走行路のスリ傷やローラ等の搬送器具の写り込みを縮小
させることによって、これらのノイズ画像を縮小させる
と共に画像の縦横方向に平均化させる効果がある。As described above, in the recognition object edge detecting apparatus according to the present invention, the arrangement direction and row (vertical direction) of each pixel constituting the imaging surface of the CCD sensor are provided. The arrangement direction (lateral direction) is inclined with respect to the transfer direction of the recognition target object. Thereby, the image blur of the recognition target object such as a coin transferred in a predetermined direction is reduced, and the error from the reference image is reduced by averaging the image blur in the vertical and horizontal directions.
The reliability of coin discrimination can be improved. further,
By reducing the pick-up scratches on the traveling path and the reflection of the transfer device such as rollers, there is an effect that these noise images are reduced and averaged in the vertical and horizontal directions of the images.
【0026】又、認識画面の対象線方向が上記認識対象
物の移送方向とほぼ一致するようにしたことで、効率よ
く光電変換を行うことができる。さらに、各ピクセルの
列(縦方向)ごとの配置方向及び行(横方向)ごとの配
置方向が上記認識対象物の移送方向に対して約45度に
設定したことにより、CCD画面の縦横比に係わらずに
容易に配置することができる。In addition, since the direction of the target line on the recognition screen is substantially the same as the moving direction of the recognition target, photoelectric conversion can be performed efficiently. Further, since the arrangement direction of each pixel in the column (vertical direction) and the arrangement direction in each row (horizontal direction) are set to about 45 degrees with respect to the transfer direction of the recognition target, the aspect ratio of the CCD screen is reduced. Regardless, it can be easily arranged.
【図1】本発明に係る認識対象物のエッジ検出装置の関
係平面図である。FIG. 1 is a plan view showing a relation between a recognition target object edge detection apparatus according to the present invention;
【図2】図1のA−A線に沿った断面図である。FIG. 2 is a sectional view taken along line AA of FIG.
【図3】本発明に係る硬貨が移送方向Fに移送されて画
像ブレを生じた場合の説明図である。FIG. 3 is an explanatory diagram when a coin according to the present invention is transferred in a transfer direction F and image blur occurs.
【図4】画像ブレを生じた場合において、CCDセンサ
の傾斜しない通常位置と本発明に係る設定位置との画像
領域における相互比較した説明図である。FIG. 4 is an explanatory diagram in which a normal position where the CCD sensor does not tilt and a set position according to the present invention are compared with each other in an image area when an image blur occurs.
【図5】本発明に係るスリ傷画像の説明図である。FIG. 5 is an explanatory diagram of a flaw image according to the present invention.
【図6】本発明に係るスリ傷画像の関係説明図である。FIG. 6 is an explanatory diagram showing a relationship of a flaw image according to the present invention.
【図7】本発明の実施の形態、又は、従来のエッジ検出
装置に係る回路構成図である。FIG. 7 is a circuit configuration diagram according to an embodiment of the present invention or a conventional edge detection device.
【図8】本発明に係るCCDセンサのピクセルの説明図
である。FIG. 8 is an explanatory diagram of a pixel of the CCD sensor according to the present invention.
【図9】従来における認識対象物のエッジ検出装置の平
面図である。FIG. 9 is a plan view of a conventional edge detection device for a recognition target.
【図10】従来のCCDセンサについてのピクセルの説
明図である。FIG. 10 is an explanatory diagram of pixels of a conventional CCD sensor.
1 スキャナ部 2 硬貨 7 CCD部 12 スリ傷 23,33 CCDセンサ 24 ガラス 25 光源 26 ケース 30,34 ピクセル DESCRIPTION OF SYMBOLS 1 Scanner part 2 Coin 7 CCD part 12 Scratch 23,33 CCD sensor 24 Glass 25 Light source 26 Case 30,34 pixels
Claims (4)
査光を照射し、その照射した検査光の上記認識対象物か
らの反射光をCCDセンサで撮像し、該CCDセンサで
撮像した1フレーム分の画像信号の輝度を1列ごと又は
1行ごと投影処理し、上記1列ごと又は1行ごとの輝度
投影結果から上記認識対象物のエッジ位置を検出するよ
うにした認識対象物のエッジ検出装置において、上記C
CDセンサの撮像面を構成する各ピクセルの列ごとの配
置方向及び行ごとの配置方向が上記認識対象物の移送方
向に対して傾斜されて設けたことを特徴とする請求項1
記載の認識対象物のエッジ検出装置。An inspection light is irradiated onto a recognition target transferred in a predetermined direction, and reflected light of the irradiated inspection light from the recognition target is imaged by a CCD sensor. The edge of the recognition target object is obtained by projecting the luminance of the image signal for each frame for each column or each row, and detecting the edge position of the recognition target from the luminance projection result for each column or each row. In the detection device, the above C
2. The arrangement direction of each column and each row of pixels constituting an imaging surface of a CD sensor are inclined with respect to the transport direction of the recognition target.
An edge detection device for the recognition target described in the description.
該四角形の対角線方向が上記認識対象物の移送方向とほ
ぼ一致するようにしたことを特徴とする請求項1記載の
認識対象物のエッジ検出装置。2. Each of the pixels has a square shape,
2. The apparatus according to claim 1, wherein a diagonal direction of the rectangle substantially coincides with a moving direction of the recognition target.
ピクセルの列ごとの配置方向及び行ごとの配置方向が上
記認識対象物の移送方向に対して約45度に設定してな
ることを特徴とする請求項1記載の認識対象物のエッジ
検出装置。3. The method according to claim 1, wherein the arrangement direction of each pixel constituting the imaging surface of the CCD sensor in each column and each row is set to about 45 degrees with respect to the transfer direction of the recognition target. 2. The apparatus for detecting an edge of a recognition target according to claim 1, wherein:
ピクセルの列ごとの配置方向及び行ごとの配置方向は、
上記認識対象物の移送方向に対して、上記フレ−ム分の
画像信号を形成するフレ−ム画面の対角線方向とほぼ一
致するように設定したことを特徴とする請求項1記載の
認識対象物のエッジ検出装置。4. An arrangement direction of each pixel and an arrangement direction of each row of each pixel constituting an imaging surface of the CCD sensor are as follows:
2. A recognition object according to claim 1, wherein said recognition object is set so as to substantially coincide with a diagonal direction of a frame screen for forming an image signal for said frame with respect to a transfer direction of said recognition object. Edge detection device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26678796A JPH1091837A (en) | 1996-09-17 | 1996-09-17 | Device for detecting edge of object to be identified |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26678796A JPH1091837A (en) | 1996-09-17 | 1996-09-17 | Device for detecting edge of object to be identified |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1091837A true JPH1091837A (en) | 1998-04-10 |
Family
ID=17435693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26678796A Pending JPH1091837A (en) | 1996-09-17 | 1996-09-17 | Device for detecting edge of object to be identified |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1091837A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6685000B2 (en) * | 2000-05-19 | 2004-02-03 | Kabushiki Kaisha Nippon Conlux | Coin discrimination method and device |
JP2006059342A (en) * | 2004-07-29 | 2006-03-02 | Mitsutoyo Corp | Strobe illumination method, workpiece image acquisition method, illumination device, and workpiece image acquisition device |
EP2804154A1 (en) * | 2013-05-13 | 2014-11-19 | Asahi Seiko Co. Ltd. | Disk image acquiring device and disk sorting device |
US9947161B2 (en) | 2013-04-18 | 2018-04-17 | Asahi Seiko Co., Ltd. | Disk image acquiring device and disk sorting device |
JP2020030563A (en) * | 2018-08-22 | 2020-02-27 | 東芝テック株式会社 | Coin identification device |
-
1996
- 1996-09-17 JP JP26678796A patent/JPH1091837A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6685000B2 (en) * | 2000-05-19 | 2004-02-03 | Kabushiki Kaisha Nippon Conlux | Coin discrimination method and device |
JP2006059342A (en) * | 2004-07-29 | 2006-03-02 | Mitsutoyo Corp | Strobe illumination method, workpiece image acquisition method, illumination device, and workpiece image acquisition device |
US9947161B2 (en) | 2013-04-18 | 2018-04-17 | Asahi Seiko Co., Ltd. | Disk image acquiring device and disk sorting device |
EP2804154A1 (en) * | 2013-05-13 | 2014-11-19 | Asahi Seiko Co. Ltd. | Disk image acquiring device and disk sorting device |
JP2020030563A (en) * | 2018-08-22 | 2020-02-27 | 東芝テック株式会社 | Coin identification device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3826849B2 (en) | Defect inspection method and defect inspection apparatus | |
JPH06100555B2 (en) | Defect inspection method and device for transparent object | |
CN101464418A (en) | Flaw detection method and apparatus | |
JP7724465B2 (en) | Detection method and detection device | |
JPH11211442A (en) | Method and device for detecting defect of object surface | |
JP2001255275A (en) | Surface defect inspection method and device | |
JPH1091837A (en) | Device for detecting edge of object to be identified | |
JP2002310937A (en) | Defect inspection method and device | |
JPH0739999B2 (en) | Defect detection method | |
JPH0658733A (en) | Inspecting method of nonuniform section of glass bottle | |
JPH09161056A (en) | Circular container inner surface inspection method | |
JP2000105795A (en) | Omnidirectional-dimensional bar code reader | |
JP4097834B2 (en) | Rib missing inspection method for ribbed color filter substrate | |
JPH067171B2 (en) | Moving object detection method | |
JP2004072415A (en) | Intruder detection device | |
JP2947126B2 (en) | Original image capture device | |
JP2931312B2 (en) | Defect inspection method | |
JP3271889B2 (en) | Edge detection method for recognition target | |
JPH06148094A (en) | Method for inspecting mixture of foreign matter of sheetlike product | |
JP2018061138A (en) | Imaging system, processor, common visual field detection method, and common visual field detection program | |
JP2004045228A (en) | Method and apparatus for inspecting stain in print | |
JPH04294260A (en) | Print pattern quality inspection device | |
JPS6211984A (en) | Image binarization method | |
JP4030158B2 (en) | PTP sheet tablet inspection device | |
CN115682925A (en) | Inspection method and inspection apparatus |