JPS6140682A - Pattern input device - Google Patents
Pattern input deviceInfo
- Publication number
- JPS6140682A JPS6140682A JP16306784A JP16306784A JPS6140682A JP S6140682 A JPS6140682 A JP S6140682A JP 16306784 A JP16306784 A JP 16306784A JP 16306784 A JP16306784 A JP 16306784A JP S6140682 A JPS6140682 A JP S6140682A
- Authority
- JP
- Japan
- Prior art keywords
- image
- slice
- slice level
- setting circuit
- 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
Landscapes
- Image Input (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明はCADシステム等基等測ζ使用図形入力装置に
関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a graphic input device using a base isometric ζ such as a CAD system.
(従来技術)
従来の図形入力装置は第1図のごとき構造をとっており
、Teの欠点があった。(Prior Art) A conventional graphic input device has a structure as shown in FIG. 1, and has the drawback of Te.
(イ)画像パターンは画像入力部1で読み取られ、スラ
イス設定回路2に送られる。スライス設定回路2におい
て画像信号はA−D変換され人間がデジタルスイッチで
設定する値と比較されるが、画像情報の白か黒かの境界
を設定する境界値の最適値の設定は、人間の勘に頼らざ
るを得なかった丸め画像処理部4における処理結果に多
大の認識不良が発生していた。(a) The image pattern is read by the image input section 1 and sent to the slice setting circuit 2. In the slice setting circuit 2, the image signal is A-D converted and compared with the value set by a human using a digital switch.However, setting the optimal value of the boundary value that sets the boundary between black and white image information is a human task. A large number of recognition errors occurred in the processing results of the rounded image processing section 4, which had to rely on intuition.
(ロ)従ってこの認識不良数を減らすために、スライス
設定回路2を設定し直して、画像パターンを何度も画像
入力部1で読み直し、画像処理部4で処理し直すため、
多大の工数を要する欠点があった。(b) Therefore, in order to reduce the number of recognition failures, the slice setting circuit 2 is reset, the image pattern is read again and again by the image input unit 1, and the image processing unit 4 processes it again.
This method had the drawback of requiring a large amount of man-hours.
本発明の目的はこのような従来欠点を除いた図形入力装
置を提供することにある。 ・(発明の構成)
本発明によれば画像パターンを読み取る画像入力部と、
この画像入力部により読み取られた画像の2値化レベル
を設定するスライス設定回路と、このスライス設定回路
で2値化され走置像情報を記憶する画像メモリと、この
両押メモリに記憶された画像パターンを加工処理し、形
状識別を行う画像処理部と、この画像処理部の処理結果
に基づいて不良認識数を計数記憶する認識不良計数部と
、この認識不良計数部の内容に基づいて上記スライス設
定回路を制御するスライス・レベル制御部とを有するこ
とを特徴とする図形入力装置が得られる。SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic input device that eliminates such conventional drawbacks. - (Structure of the Invention) According to the present invention, an image input unit that reads an image pattern;
A slice setting circuit sets the binarization level of the image read by the image input unit, an image memory stores the traveling image information binarized by the slice setting circuit, and a slice setting circuit sets the binarization level of the image read by the image input section; An image processing section that processes an image pattern and performs shape identification; a recognition defect counter that counts and stores the number of recognized defects based on the processing results of this image processing section; and a recognition defect counter that counts and stores the number of recognized defects based on the processing results of this image processing section; A graphic input device characterized in that it has a slice level control section that controls a slice setting circuit is obtained.
(実施例) 以下、本発明の一実施例を第2図により説明する。(Example) An embodiment of the present invention will be described below with reference to FIG.
第2図は本発明の構成概念を示すブロック図であり、1
1はハロゲンランプやタングステンランプとランプの照
明を読み取るべき図面上に導く光ファイバー等を使用し
た照明装置と、固体撮像力1 メラまたは光電子増倍管
と、その周辺回路とから構成される画1績入力部である
。12は画像入力部1から出力されるアナログ画像信号
る人−り変換するA−D変換回路とA−D変換された信
号とスライスレベル制御部16が設定した値とを比較す
る比較回路から構成されるスライス設定回路である。1
3はスライス設定回路12によって白または黒に2値化
された情報を記憶する画像メモリ、14は画像メモリ1
3に記憶された2値化画像を、細線化処理し、認識され
た画像が閉ループの場合は内径の縦、横、斜めの比を計
算して、画像形状が0か口かを識別するハードロジック
とメモリとミニコンとソフトウェアで構成された画像処
理部である。5は画像処理部14における形状判別で不
良認識されたパターン数を計数し記憶する計数回路と、
メモリで構成された認識不良計数記憶部である。6は不
良認識されたパターン数が最小となる様に、認識不良計
数記憶部5の記憶内容に基づいて、スライス設定回路1
2を制御するハードロジックとマイコンとソフトウェア
で構成されたスライス・レベル制御部である。以上の各
部により本発明の図形入力装置は構成される。 次
に本発明図形入力装置の動作原理を説明する。FIG. 2 is a block diagram showing the structural concept of the present invention.
1 is an illumination device that uses a halogen lamp or tungsten lamp, an optical fiber, etc. that guides the illumination of the lamp onto the drawing to be read, a solid-state imaging power 1 camera or photomultiplier tube, and its peripheral circuitry. This is the input section. Reference numeral 12 includes an A-D conversion circuit that converts the analog image signal output from the image input section 1, and a comparison circuit that compares the A-D converted signal with the value set by the slice level control section 16. This is a slice setting circuit. 1
3 is an image memory that stores information binarized into white or black by the slice setting circuit 12; 14 is an image memory 1;
Hardware that thins the binarized image stored in 3, and if the recognized image is a closed loop, calculates the vertical, horizontal, and diagonal ratios of the inner diameter and identifies whether the image shape is 0 or mouth. It is an image processing unit consisting of logic, memory, minicomputer, and software. 5 is a counting circuit that counts and stores the number of patterns recognized as defective in the shape discrimination in the image processing unit 14;
This is a recognition failure counting storage unit composed of memory. 6 is a slice setting circuit 1 based on the memory contents of the recognition defect count storage section 5 so that the number of patterns recognized as defective is minimized.
This slice level control unit is composed of hard logic, a microcomputer, and software that controls the 2. The graphic input device of the present invention is constituted by the above-mentioned parts. Next, the principle of operation of the graphic input device of the present invention will be explained.
先ず、読み取るべき画像パターンの形状と数が明確に決
められており、正規の画像パターンと同一の鍼記具、同
一のテンプレート、同−濃さで、同−縁記者によって作
図されたサンプル・パターンを読み取るべき正規の画像
パターンの傍に記載している図面を用意する。なおサン
プル・パターンの形状と数はあらかじめ図形入力装置に
記憶させておく。First, the shape and number of image patterns to be read are clearly determined, and sample patterns drawn by the same reporter using the same acupuncture tool, the same template, and the same density as the regular image patterns are used. Prepare a drawing that describes the regular image pattern to be read. Note that the shape and number of sample patterns are stored in advance in the graphic input device.
次にスライス・レベル制御部6により、スライス設定回
路12を制御することにより、サンプル・パターンを多
種類のスライス・レベルで、順次自動的に画像入力部1
1で読み増り、画像メモリ13に記憶する。画像メモリ
13化記憶さ゛れた2値化画像情報を画像処理部14で
画像処理し、゛画像パターンの形状を識別する。次に画
像処理部14の識別結果に基づいて画像パターン形状U
識の不良数を各種スライス・レベルごとに認識不良計数
記憶部5に計数記憶する。次にスライス・レベル制御部
6が認識不良計数記憶部15の記憶内容に基づいて、認
識不良数が最も少なかったスライス・レベル値にスライ
ス設定回路12を調整する。次に図面上の正規の画像パ
ターンを、上述の方法により設定されたスライス・レベ
ルで読み取ることにより、認識不良の最も少い正規の画
像パターンの読み取りが可能となる。Next, the slice setting circuit 12 is controlled by the slice level control unit 6 to automatically set the sample pattern to the image input unit 1 at various slice levels in sequence.
1 increases reading and stores it in the image memory 13. The binarized image information stored in the image memory 13 is subjected to image processing in the image processing section 14 to identify the shape of the image pattern. Next, based on the identification result of the image processing unit 14, the image pattern shape U is
The number of recognition failures is counted and stored in the recognition failure count storage unit 5 for each slice level. Next, the slice level control unit 6 adjusts the slice setting circuit 12 to the slice level value at which the number of recognition failures is the least, based on the stored contents of the recognition failure count storage unit 15. Next, by reading the regular image pattern on the drawing at the slice level set by the method described above, it is possible to read the regular image pattern with the least number of recognition defects.
々お、上述した動作は全て自動的に行われる。Furthermore, all the operations described above are performed automatically.
(効果) 以上、本発明により次の効果がある。(effect) As described above, the present invention has the following effects.
(1)画像パターン読み取りのスライス・レベルの設定
を人間の勘に頼る必要が無くなり画像パターン形状の認
識率が向上する。(1) There is no need to rely on human intuition for setting the slice level for image pattern reading, and the recognition rate of image pattern shapes is improved.
(II) ij!!識不良数を減らすために何回もス
ライス・レベルを変えて読み直す必要が無くなるので、
読み取り工数が著しく低減する。(II) ij! ! This eliminates the need to change the slice level and reread the data many times in order to reduce the number of errors.
Reading time is significantly reduced.
第1図は従来装置の構成概念を示すブロック図、6一
第2図は本発明の一実施例の構成概念を示すブロック図
である。
1.11・・・・・・画像入力部、2,12・・・・・
・スライス設定回路、3,13・・・・・・画像メモリ
、4,11・・・・・・画像飽理部、5・・・・・・g
織不艮計数記憶部、6・・・・・・スライス・レベル制
御部。
7一FIG. 1 is a block diagram showing the structural concept of a conventional device, and FIG. 2 is a block diagram showing the structural concept of an embodiment of the present invention. 1.11... Image input section, 2,12...
- Slice setting circuit, 3, 13... image memory, 4, 11... image saturation section, 5... g
Orifu Ai count storage unit, 6...slice level control unit. 71
Claims (1)
により読み取られた画像の2値化レベルを設定するスラ
イス設定回路と、前記スライス設定回路で2値化された
画像情報を記憶する画像メモリと、前記画像メモリに記
憶された画像パターンを加工処理し、形状識別を行う画
像処理部と、前記画像処理部の処理結果に基づいて不良
認識数を計数記憶する認識不良計数部と、前記認識不良
計数部の内容に基づいて前記スライス設定回路を制御す
るスライス・レベル制御部とを有することを特徴とする
図形入力装置。an image input unit that reads an image pattern; a slice setting circuit that sets a binarization level of the image read by the image input unit; and an image memory that stores image information binarized by the slice setting circuit; an image processing unit that processes the image pattern stored in the image memory and performs shape identification; a recognition failure counting unit that counts and stores the number of recognized failures based on the processing result of the image processing unit; and the recognition failure count. a slice level control section that controls the slice setting circuit based on the contents of the section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16306784A JPS6140682A (en) | 1984-08-02 | 1984-08-02 | Pattern input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16306784A JPS6140682A (en) | 1984-08-02 | 1984-08-02 | Pattern input device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6140682A true JPS6140682A (en) | 1986-02-26 |
Family
ID=15766550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16306784A Pending JPS6140682A (en) | 1984-08-02 | 1984-08-02 | Pattern input device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6140682A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007522461A (en) * | 2004-02-10 | 2007-08-09 | ティソ エス.エー. | Watch crown protector |
-
1984
- 1984-08-02 JP JP16306784A patent/JPS6140682A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007522461A (en) * | 2004-02-10 | 2007-08-09 | ティソ エス.エー. | Watch crown protector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4538299A (en) | Method and apparatus for locating the boundary of an object | |
JPS6140682A (en) | Pattern input device | |
JPS6037649Y2 (en) | character reading device | |
JPS6155779A (en) | Graphic input device | |
JPS5814281A (en) | Optical character reader | |
SU955126A1 (en) | Mask flaw recognition device | |
JPS62297981A (en) | Binarization system for image | |
JPH01158879A (en) | Binary picture forming device | |
JPH0452505B2 (en) | ||
JPS5834940A (en) | Test of positioning of semiconductor pellet | |
JPS6334678A (en) | Bar code reader | |
JPH0687263B2 (en) | Image binarization method | |
JPS62202292A (en) | Pattern matching method | |
JPH0345444B2 (en) | ||
JPH0552767A (en) | Image inspecting apparatus | |
JPS6095929A (en) | Position recognizing device | |
JPS63174197A (en) | Number plate position detector | |
JPH04184576A (en) | Picture processor | |
JPS60229178A (en) | Position detector of number plate | |
JPH02242388A (en) | Binary code reader | |
JPH0682730B2 (en) | Semiconductor device mark inspection device | |
JPS6244892A (en) | Image processor | |
JPH0526234B2 (en) | ||
JPH10320532A (en) | Defect shape recognition device | |
JPH04268677A (en) | Method and device for picture processing |