JPS63311109A - Method for discriminating crest shape of key by image processing - Google Patents
Method for discriminating crest shape of key by image processingInfo
- Publication number
- JPS63311109A JPS63311109A JP14720887A JP14720887A JPS63311109A JP S63311109 A JPS63311109 A JP S63311109A JP 14720887 A JP14720887 A JP 14720887A JP 14720887 A JP14720887 A JP 14720887A JP S63311109 A JPS63311109 A JP S63311109A
- Authority
- JP
- Japan
- Prior art keywords
- key
- image processing
- valley
- crest
- peaks
- 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
- 238000000034 method Methods 0.000 title claims description 12
- 238000005259 measurement Methods 0.000 claims description 5
- 238000007689 inspection Methods 0.000 abstract description 2
- 230000000903 blocking effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は莫大な種類と数のキー(#)を管理する必要の
ある自動車工業等における、明確なキー識別方法を提供
するものである。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention provides a clear key identification method in the automobile industry and the like where it is necessary to manage a huge number and types of keys.
〈従来の技術〉
個々のキーを識別するために、従来、次のような方法が
採用されていた。<Prior Art> Conventionally, the following method has been adopted to identify individual keys.
■キーの山谷部の片側に投光器で光を当て、その影をレ
ンズによって拡大し受光器上に投影する。■A projector shines light onto one side of the key's peaks and valleys, and the shadow is magnified by a lens and projected onto a receiver.
■受光器上には多数の受光素子が等間隔に配置されてい
る。■A large number of light receiving elements are arranged at equal intervals on the light receiver.
■これらの受光素子が受光するか受光しないかによって
キーの山部あるいは谷部の高さが判別される。(2) The height of the peak or valley of the key is determined depending on whether these light-receiving elements receive light or not.
したがって、キーの山部あるいは谷部の幅を測定するも
のではなく、それらがある寸法範囲内にあるか否かを判
別するに過ぎなかった。また、判別がキーの片側のみを
対象としているため、キー取付治具及びその送り装置等
の遊隙によってその判別精度が左右されるという不具合
があった。Therefore, the method does not measure the width of the peaks or valleys of the key, but merely determines whether or not they fall within a certain size range. Further, since the discrimination is performed only on one side of the key, there is a problem in that the discrimination accuracy is affected by the play in the key mounting jig, its feeding device, etc.
〈発明が解決しようとする問題点〉
そこで、キーの総ての山部及び谷部の幅寸法を同時に計
測することができるようにすること、しかも、それが簡
易な装置で可能な方法の検討が課題となっていたのであ
る。<Problems to be Solved by the Invention> Therefore, it is desirable to be able to measure the width dimensions of all the peaks and valleys of a key at the same time, and to consider a method that can do this using a simple device. had become an issue.
〈問題点を解決するための手段〉
このような課題に関して種々検討した結果、キー(1)
の山部(10)及び谷部(9)をセンサカメラ(3)で
撮影する際、総ての測定対象領域にウィンド(7)をソ
フトウェア−により影像部(8)上に設定して、画像処
理することによりキー山の形状を識別することを特徴と
する画像処理を利用したキー山形状識別方法を開発した
のである。′
ここにいうウィンド(7)を ソフトウェアにより影像
部(8)上に設定するとは、影像部(8)上に目には見
えないが、スリット状の長い枠をコンピュータソフト的
に設定することであり設定された状態はモニタ(5)に
表示される。画像処理するとは、ウィンド(7)内の明
暗の存在を光量変化として捕えて処理することである。<Means to solve the problem> As a result of various studies regarding these problems, key (1)
When photographing the peaks (10) and valleys (9) of They developed a method for identifying the shape of a key peak using image processing, which is characterized by identifying the shape of a key peak through processing. ' Setting the window (7) above the image area (8) using software means setting a long slit-like frame on the image area (8) using computer software, although it is invisible to the naked eye. The set state is displayed on the monitor (5). Image processing means capturing and processing the presence of brightness and darkness within the window (7) as a change in light amount.
ウィンド(7)の具体例としては、キー山及び谷の位
置にその僅かな平行部に相当する厚さを持ち、キー山の
最大幅より大きい幅を持つものをプログラム化したもの
である。As a specific example of the window (7), it is programmed to have a thickness corresponding to a slight parallel portion at the positions of the key peaks and valleys, and a width larger than the maximum width of the key peaks.
〈作用〉
この方法においては、センサカメラ(3)に至る光がキ
ーの測定範囲全域に同時照射されるので、キー(1)は
その移動の必要がなく、 キーの山部あるいは谷部の幅
について同時計測ができ、しかも、それが高精度で可能
となる。<Operation> In this method, the light reaching the sensor camera (3) is simultaneously irradiated over the entire measurement range of the key, so there is no need to move the key (1), and the width of the peak or valley of the key can be measured simultaneously and with high precision.
〈実施例〉 以下図面によって本発明の実施例を詳細に説明する。<Example> Embodiments of the present invention will be described in detail below with reference to the drawings.
第1図は本発明のキー山形状識別方法を実施可能にする
計測装置の斜視図であり、第2図は画像処理における影
像部の様子を示す図である。FIG. 1 is a perspective view of a measuring device that makes it possible to implement the key mountain shape identification method of the present invention, and FIG. 2 is a diagram showing the state of an image portion in image processing.
本装置はキー(1)がその背後から照明装置(6)を当
てて山谷部の全景を撮影できるような治具(2)に取付
けられており、その上部にセンサカメラ(3)が取付け
られている。 このセンサカメラ(3)は撮像素子群で
構成された影像部を持ち、キーの山谷部を撮影する。In this device, a key (1) is attached to a jig (2) that allows you to photograph a panoramic view of the mountains and valleys by shining a lighting device (6) from behind, and a sensor camera (3) is attached to the top of the jig (2). ing. This sensor camera (3) has an image section made up of a group of image pickup elements, and photographs the peaks and troughs of the key.
撮影結果はコントローラ(4)に送られる。 コントロ
ーラ内にはコンピュータのソフトウェア、すなわちプロ
グラムによって、第2図に示したような、画像処理にお
番ツる影像部(8)の測定対象位置、すなわちキーのす
べての山部(10)及び谷部(9)の位置に、その僅か
な平行部に相当する厚さを持ちキー山の最大幅より大き
い幅を持つスリット状のウィンド(7)を設定している
。The photographic results are sent to the controller (4). In the controller, a computer software, that is, a program, is used to determine the measurement target position of the image part (8) suitable for image processing, that is, all the peaks (10) and valleys of the key, as shown in FIG. A slit-shaped window (7) having a thickness corresponding to the slightly parallel portion and a width larger than the maximum width of the key crest is set at the position of the portion (9).
このような装置で、すべてのスリット状のラインド(7
)内の山部あるいは谷部によって遮られた影が、光量変
化として捕えられて画像処理されたうえ、キーの山部あ
るいは谷部の幅に対する信号として取出される。With such a device, all slit-like lines (7
The shadows blocked by the peaks or valleys within ) are captured as changes in light intensity, subjected to image processing, and then extracted as a signal for the width of the peaks or valleys of the key.
一般にキーにおいては、その最も重要な要素である山部
及び谷部が長手方向の一定距離ごとに配列されている。In general, the most important elements of a key, crests and troughs, are arranged at regular distances in the longitudinal direction.
これらの山部あるいは谷部はキー中心に対して対称に配
置され、それぞれ異なった高さ、すなわち、異なった幅
をもち、その頂部あるいは底部には僅かな平行部が残さ
れている。These peaks or valleys are arranged symmetrically about the key center and have different heights, ie different widths, leaving a slight parallel section at the top or bottom.
キーはこの僅かに残された平行部の幅寸法とその長手方
向の位置の組合せによって識別される。これらの平行部
を結ぶ山部あるいは谷部の斜面の形状はキーの機能には
関係しない。キーがキーとしての機能を発揮するには厳
しい寸法精度が要求されるのはいうまでもない。ちなみ
に、ある基準位置から山部あるいは谷部の僅かな平行部
までの距離に対して1/100mm、 また、山部ある
いは谷部の全幅に対して1/100neという精度が要
求されるようになった。したがって、キー山形状の識別
にあたってはこれらの精度を考慮に入れなければならな
い。The key is identified by a combination of the width dimension of this slightly remaining parallel portion and its longitudinal position. The shape of the slope of the peak or valley connecting these parallel parts is not related to the function of the key. Needless to say, strict dimensional accuracy is required for the key to function as a key. Incidentally, an accuracy of 1/100 mm is now required for the distance from a certain reference position to a slightly parallel part of a peak or valley, and an accuracy of 1/100 ne for the entire width of the peak or valley. Ta. Therefore, these precisions must be taken into consideration when identifying the shape of the key mountain.
そこで、本発明では取出された信号によってコントロー
ラ内で次のことが行われる。Therefore, in the present invention, the following is performed within the controller using the extracted signal.
■記憶装置に記憶されているキーのパターン、すなわち
、キーの山部あるいは谷部の幅と、その長手方向の組合
せとを照合することによってキーNαを検索する。(2) Search for the key Nα by comparing the key pattern stored in the storage device, that is, the width of the peak or valley of the key and the combination of the longitudinal direction.
■演算処理によってすべての山部及び谷部の幅寸法を算
出する。■Calculate the width dimensions of all peaks and valleys through arithmetic processing.
■山部及び谷部の幅寸法を前記検索されたキーNaのも
のと比較して良否の判定をする。(2) Compare the width dimensions of the peaks and valleys with those of the searched key Na to determine quality.
そして、 それらの結果はすべてモニタ(5)に表示さ
れる。All the results are then displayed on the monitor (5).
〈発明の効果〉
本発明は以上のようなキー山形状識別方法であるから、
■従来の方法で困難であったキーの山部あるいは谷部の
幅を高精度で計測することができ、すなわち、高精度の
寸法検査を可能としており、■測定によって得られたデ
ータは他の工程、例えばキー山の切削あるいはシリンダ
の組立等に効果的に利用できる。<Effects of the Invention> Since the present invention is a key peak shape identification method as described above, it is possible to measure the width of the peak or valley of a key with high precision, which was difficult with conventional methods; , enables high-precision dimensional inspection, and (2) the data obtained through measurement can be effectively used in other processes, such as cutting key ridges or assembling cylinders.
■撮影時にキーを移動する必要がないため装置が簡単に
なる。また、すべての点について同時測定が可能なので
効率的である。■The device is simpler because there is no need to move the keys during shooting. In addition, it is efficient because simultaneous measurements can be made at all points.
第1図は本発明のキー山形状識別方法を実施可能にする
計測装置の斜視図であり、第2図は画像処理における影
像部の様子を示す図である。
(1)キー (2)治具
(3)センサカメラ (4)コントローラ(5)モ
ニタ (6)照明装置(7)ウィンド
(8)影像部(9)キーの谷部 (10)キ
ーの山部以上FIG. 1 is a perspective view of a measuring device that makes it possible to implement the key mountain shape identification method of the present invention, and FIG. 2 is a diagram showing the state of an image portion in image processing. (1) Key (2) Jig (3) Sensor camera (4) Controller (5) Monitor (6) Lighting device (7) Window
(8) Image area (9) Valley of the key (10) Above the peak of the key
Claims (1)
カメラ(3)で撮影する際、総ての測定対象領域にウイ
ンド(7)をソフトウェアーにより影像部(8)上に設
定して画像処理することを特徴とする画像処理によるキ
ー山形状識別方法。1. When photographing the peaks (10) and valleys (9) of the key (1) with the sensor camera (3), a window (7) is placed on the image area (8) by software in all measurement target areas. A method for identifying the shape of a key mountain by image processing, which is characterized by setting and performing image processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14720887A JPS63311109A (en) | 1987-06-13 | 1987-06-13 | Method for discriminating crest shape of key by image processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14720887A JPS63311109A (en) | 1987-06-13 | 1987-06-13 | Method for discriminating crest shape of key by image processing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63311109A true JPS63311109A (en) | 1988-12-19 |
Family
ID=15425010
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14720887A Pending JPS63311109A (en) | 1987-06-13 | 1987-06-13 | Method for discriminating crest shape of key by image processing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63311109A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001057472A1 (en) * | 2000-02-01 | 2001-08-09 | Machine Magic Llc | Key measurement apparatus and method |
| US6406227B1 (en) * | 1997-07-31 | 2002-06-18 | Machine Magic Llc | Key measurement apparatus and method |
| US7891919B2 (en) | 2006-01-23 | 2011-02-22 | Hy-Ko Products Company | Key duplication machine |
| US8128322B2 (en) | 2006-01-23 | 2012-03-06 | Hy-Ko Products Company | Key duplication machine |
| US9101990B2 (en) | 2006-01-23 | 2015-08-11 | Hy-Ko Products | Key duplication machine |
| US9308590B2 (en) | 2006-01-23 | 2016-04-12 | Hy-Ko Products Company | Key duplication machine |
| US9514385B2 (en) | 2009-05-01 | 2016-12-06 | Hy-Ko Products Company | Key blank identification system with groove scanning |
-
1987
- 1987-06-13 JP JP14720887A patent/JPS63311109A/en active Pending
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6406227B1 (en) * | 1997-07-31 | 2002-06-18 | Machine Magic Llc | Key measurement apparatus and method |
| WO2001057472A1 (en) * | 2000-02-01 | 2001-08-09 | Machine Magic Llc | Key measurement apparatus and method |
| US9656332B2 (en) | 2006-01-23 | 2017-05-23 | Hy-Ko Products Company | Key duplication machine |
| US9682432B2 (en) | 2006-01-23 | 2017-06-20 | Hy-Ko Products Company | Key duplication machine |
| US8985918B2 (en) | 2006-01-23 | 2015-03-24 | Hy-Ko Products | Key duplication machine |
| US9101990B2 (en) | 2006-01-23 | 2015-08-11 | Hy-Ko Products | Key duplication machine |
| US9308590B2 (en) | 2006-01-23 | 2016-04-12 | Hy-Ko Products Company | Key duplication machine |
| US10421133B2 (en) | 2006-01-23 | 2019-09-24 | Hy-Ko Products Company | Key duplication machine |
| US7891919B2 (en) | 2006-01-23 | 2011-02-22 | Hy-Ko Products Company | Key duplication machine |
| US8128322B2 (en) | 2006-01-23 | 2012-03-06 | Hy-Ko Products Company | Key duplication machine |
| US9687920B2 (en) | 2006-01-23 | 2017-06-27 | Hy-Ko Products Company | Key duplication machine |
| US9815126B2 (en) | 2006-01-23 | 2017-11-14 | Hy-Ko Products Company | Key duplication machine |
| US9925601B2 (en) | 2006-01-23 | 2018-03-27 | Hy-Ko Products Company | Key duplication machine |
| US9934448B2 (en) | 2009-05-01 | 2018-04-03 | Hy-Ko Products Company | Key blank identification system with groove scanning |
| US9514385B2 (en) | 2009-05-01 | 2016-12-06 | Hy-Ko Products Company | Key blank identification system with groove scanning |
| US11227181B2 (en) | 2009-05-01 | 2022-01-18 | Hy-Ko Products Company Llc | Key blank identification system with groove scanning |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4842411A (en) | Method of automatically measuring the shape of a continuous surface | |
| US6549288B1 (en) | Structured-light, triangulation-based three-dimensional digitizer | |
| JPH10311779A (en) | Equipment for measuring characteristics of lens | |
| JPS63311109A (en) | Method for discriminating crest shape of key by image processing | |
| JPH01274007A (en) | 3D measurement device | |
| JP5995600B2 (en) | Play board inspection device and inspection method | |
| JPH06281593A (en) | Surface inspection method and apparatus | |
| RU2368869C2 (en) | Method for control of surface relief | |
| JP2557650B2 (en) | Sample shape measuring device | |
| JPS61193007A (en) | Inspection method for rod-shaped objects | |
| JPH0629705B2 (en) | Plate inspection method | |
| KR102484353B1 (en) | Mass component recognition method | |
| JPH0615236A (en) | Appearance quality evaluation device for melon | |
| JPH0794971B2 (en) | Cross-section shape detection method | |
| JP3100330B2 (en) | Automatic material defect inspection equipment | |
| JPH061177B2 (en) | Method of measuring smoothness of coated surface | |
| RU2031617C1 (en) | Method of contactless measurement of foot | |
| JP2996063B2 (en) | Automatic inspection system for painted surface clarity | |
| KR0181993B1 (en) | Apparatus and method for measuring visual size of material | |
| JPS6034699B2 (en) | hardness tester | |
| JP2709959B2 (en) | Image sensor element sensitivity correction method | |
| JPH05256773A (en) | Painted surface property inspection device | |
| JP2001264031A (en) | Shape measuring method and device | |
| JPH06241741A (en) | Lead inspection device | |
| JPH05256775A (en) | Device for inspecting properties of coating surface |