JPS6336380A - Recognizing device for drilling position - Google Patents

Recognizing device for drilling position

Info

Publication number
JPS6336380A
JPS6336380A JP61177701A JP17770186A JPS6336380A JP S6336380 A JPS6336380 A JP S6336380A JP 61177701 A JP61177701 A JP 61177701A JP 17770186 A JP17770186 A JP 17770186A JP S6336380 A JPS6336380 A JP S6336380A
Authority
JP
Japan
Prior art keywords
drilling
image data
processing means
size
patterns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61177701A
Other languages
Japanese (ja)
Inventor
Koichi Hikuma
日隈 耕一
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP61177701A priority Critical patent/JPS6336380A/en
Publication of JPS6336380A publication Critical patent/JPS6336380A/en
Pending legal-status Critical Current

Links

Landscapes

  • Drilling And Boring (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To automatically recognize a drilling pattern out of a drawing where many patterns are drawn by recognizing the pattern of a circular shape and of a size smaller than a prescribed size as a final drilling pattern and outputting it. CONSTITUTION:An inputted picture is converted into a binary picture data by a drawing inputting part 1 and an address control hardware 4. Not only the drilling patterns but also characters, general patterns, line segments and other elements are contained in the inputted picture, and the picture data of an isolated pattern to be a candidate for the drilling pattern is extracted by a picture processor 3 and the address control hardware 4. Only the patterns of circular shapes and of smaller size than the prescribed size among the extracted patterns, are recognized as the drilling patterns by a drilling pattern recognizing device 6, and an NC tape preparing data for drilling according to a hole size and to a hole position is outputted to an NC tape preparing device 7.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は多数の穴明は位置が描かれた穴明は図面より、
穴明は寸法と穴明は位置のデータを高速にかつ正確に抽
出し得るようにした穴明は位置認識装置に関するもので
ある。
[Detailed Description of the Invention] [Purpose of the Invention (Industrial Field of Application) The present invention is based on the drawings in which the positions of a large number of holes are drawn.
The present invention relates to a position recognition device that can extract dimension and position data quickly and accurately.

(従来の技術) 従来から、基板穴明は用のNCテープをNCテープ作成
装置により作成するに際しては、多数の穴明は図形が描
かれた穴明は図面を作業員が読取り、この穴明は図面よ
り基板穴明は用NCテープを作成するためのデータを、
CADシステムを用いてNCテープ作成装置へ入力する
ことが行なわれている。しかしながら、このような方法
では穴明は図面を作業員が読取っていることから。
(Prior art) Conventionally, when creating NC tape for drilling holes in a board using an NC tape making device, a worker reads a drawing of a hole with a figure drawn on it, and the operator reads the drawing. The data for making the NC tape for board holes is from the drawing.
A CAD system is used to input data into an NC tape production device. However, with this method, the holes are drawn because the workers are reading the drawings.

NCテープの作成に非常に時間がかかるばかりでなく、
データの入力を人手を介して行なっていることから、入
力ミス等が発生してNCテープの作成を正確に行なうこ
とができないという問題がある。
Not only does it take a lot of time to create NC tape,
Since the data is entered manually, there is a problem in that input errors occur and the NC tape cannot be created accurately.

(発明が解決しようとする問題点) 以上のように従来では、基板穴明は用のNCテープを作
成する際に、作成に非常に時間がかかり、また入力ミス
等によって作成を正確に行なうことができないという問
題があった。
(Problems to be Solved by the Invention) As described above, in the past, when creating NC tape for substrate hole drilling, it took a very long time to create, and it was difficult to create accurately due to input errors etc. The problem was that it was not possible.

そこで本発明では、多数の穴明は図形が描かれた穴明は
図面中の任意の位置に描かれた穴明は図形を自動的に認
識し、NCテープ等の作成用データを高速にかつ正確に
しかも簡単に抽出することが可能な穴明は位置認識装置
を提供することを目的とするものである。
Therefore, in the present invention, a large number of holes, holes with figures drawn, and holes drawn at any position in the drawing are automatically recognized, and data for creating NC tape etc. can be processed at high speed. Holes that can be extracted accurately and easily are intended to provide a position recognition device.

〔発明の構成] (問題点を解決するための手段) 上記の目的を達成するために本発明の穴明は位置認識装
置は、穴明は図形の画像を2値化した画像データとして
入力処理する画像データ入力処理手段と、この画像デー
タ入力処理手段により入力処理された画像データを予め
画像パターンを記憶した辞書と照合して所定の穴明は図
形を判定し。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the position recognition device of the present invention inputs and processes an image of a figure as binarized image data. image data input processing means, and the image data inputted by the image data input processing means is checked against a dictionary in which image patterns are stored in advance to determine whether a predetermined hole pattern is a figure.

さらに上記画像データの任意の位置の所定の小領域内の
孤立した穴明は図形に大きさと位置情報を付加して抽出
する穴明は図形認識・抽出処理手段と、この穴明は図形
認識・抽出処理手段により大きさと位置情報を付加して
抽出された穴明は図形のうち2円形でかつ一定の大きさ
以下のもののみを穴明は寸法、穴明は位置を持った最終
穴明は図形として認識し出力する穴明は位置検出処理手
段とを備えて構成するようにしたことを特徴とする。
Furthermore, isolated holes in a predetermined small area at an arbitrary position of the image data are extracted by adding size and position information to the figure. The hole holes extracted by adding size and position information by the extraction processing means are only those that are two circular shapes and smaller than a certain size among the figures, and the hole holes are the dimensions and the hole holes have the position.The final hole hole is A feature of the present invention is that the perforation that is recognized and output as a figure is configured to include a position detection processing means.

(作用) 上述の穴明は位置認識vR置においては、穴明は図形の
画像が画像データ入力処理手段により2値化した画像デ
ータとして入力処理され、この入力処理された画像デー
タは穴明は図形01・抽出処理手段により、予め画像パ
ターンを記憶した辞書と照合して所定の穴明は図形が判
定され、さらに上記画像データの任意の位置の所定の小
領域内の孤立した穴明は図形に大きさと位置情報を付加
して抽出され、穴明は位置検出処理手段により上記抽出
された穴明は図形のうち2円形でかつ一定の大きさ以下
のもののみが穴明は寸法、穴明は位置を持った最終穴明
は図形として認識し出力されることになる。
(Function) In the above-mentioned position recognition vR system, the image of the figure is inputted as binarized image data by the image data input processing means, and this input-processed image data is The figure 01 extraction processing means determines that a predetermined hole is a figure by comparing it with a dictionary that stores image patterns in advance, and furthermore, an isolated hole in a predetermined small area at an arbitrary position of the image data is determined to be a figure. The holes are extracted by adding size and position information to the holes, and the hole holes are extracted by the position detection processing means.Of the shapes, only those that are two circular shapes and are smaller than a certain size are determined by the hole size and the hole hole size. The final hole with position will be recognized as a figure and output.

(実施例) 以下、本発明を図面に示す一実施例を参照して説明する
(Example) The present invention will be described below with reference to an example shown in the drawings.

第1図は、本発明による穴明は位置認識装置のハードウ
ェアの主要構成例を示すものである。第1図において、
1はCODスキャナ等からなる図面(画像データ)入力
部、2は2値化された画像データを記憶するための画像
用メモリ、3は画像処理プロセッサ、4は任意画面の切
り出しを制罪するアドレスコントロールハードウェア、
5は共有メモリ、6は本発明の詳細な説明は図形認識装
置、7はNCテープ作成装置を示すものである。
FIG. 1 shows an example of the main hardware configuration of a position recognition device according to the present invention. In Figure 1,
1 is a drawing (image data) input unit consisting of a COD scanner, etc., 2 is an image memory for storing binarized image data, 3 is an image processing processor, and 4 is an address for preventing arbitrary screen cutting. control hardware,
5 is a shared memory, 6 is a graphic recognition device for detailed explanation of the present invention, and 7 is an NC tape creation device.

第2図は、本発明による穴明は位置認識装置の礪能ブロ
ック図を示すものである。第2図において穴明は位置認
識装置は、穴明は図形の画像を21直化した画像データ
として入力処理する画像データ入力処理手段8と、この
画像データ入力処理手段8により入力処理された画像デ
ータを記憶するための画像データ記憶手段つと、上記画
像データ入力処理手段8により入力処理された画像デー
タを予め画像パターンを記憶した辞書と照合して所定の
穴明は図形を判定し、さらに上記側(象データの任意の
位置の所定の小領域内の孤立した穴明は図形に大きさと
位置情報を付加して抽出する小領域連結画像データ抽出
処理手段10および穴明は図形認識処理手段11からな
る穴明は図形認識・抽出処理手段と、この穴明は図形認
識・抽出処理手段により大きさと位置情報を付加して抽
出された穴明は図形のうち9円形でかつ一定の大きさ以
下のもののみを穴明は寸法、穴明は位置を持った最終穴
明は図形として認識する穴大きざ、穴明は位置検出処理
手段12と、この穴大きさ、穴明は位置検出処理手段1
2により認識された穴明は寸法、穴明は位置データを前
述のNCテープ作成装置7へ出力する認識結果出力処理
手段13とから構成している。
FIG. 2 shows a functional block diagram of a position recognition device according to the present invention. In FIG. 2, Akira indicates a position recognition device, an image data input processing means 8 that inputs and processes an image of a figure as image data converted into 21 scale, and an image input processed by this image data input processing means 8. Image data storage means for storing data and the image data inputted by the image data input processing means 8 are compared with a dictionary storing image patterns in advance to determine whether a predetermined hole is a figure, and furthermore, the above-mentioned side (small region connected image data extraction processing means 10 for extracting isolated holes in a predetermined small region at an arbitrary position of the elephant data by adding size and position information to the shape, and figure recognition processing means 11 for hole holes) The holes are extracted by adding size and position information by the figure recognition/extraction processing means. The hole size and hole size are recognized as figures, and the hole size and hole size are recognized as position detection processing means 12. 1
2, the recognition result output processing means 13 outputs the dimensions and the position data of the holes recognized by the above-mentioned NC tape producing device 7.

次に、かかる如く構成した穴明は位置認識装置の作用に
ついて具体的に述べる。
Next, the operation of the position recognition device constructed as described above will be described in detail.

ます画像データ入力処理手段8は、穴明は図形の入力画
像を1図面入力部1とアドレスコントロールハードウェ
ア4により2値化した画像データに変換する。例えば、
A3サイズの穴明は図面の入力画像データを、約800
万(2000X4000)画素の2値化した画像データ
に変換する。そして、これらの画像データは画像用メモ
リ2等の画像データ記憶手段9に格納される。この場合
、入力画像としては穴明は図形に限らず、文字、一般図
形、線分、その他の要素が含まれており、これらの中か
ら穴明は図形の候補となる孤立図形の画像データを、画
像処理プロセッサ3およびアドレスコントロールハード
ウェア4による小領域連結画像データ抽出処理手段10
により抽出する。
The image data input processing means 8 converts an input image of a figure into binary image data using the drawing input section 1 and the address control hardware 4. for example,
An A3 size hole can store approximately 800 input image data for drawings.
It is converted into binary image data of 10,000 (2000x4000) pixels. Then, these image data are stored in the image data storage means 9 such as the image memory 2. In this case, the input image is not limited to figures, but also includes characters, general figures, line segments, and other elements, and from among these, Anaki selects image data of isolated figures that are candidate figures. , small area connected image data extraction processing means 10 by image processing processor 3 and address control hardware 4
Extract by.

すなわち、例えば第3図に示すような入力画像の場合に
は、■〜■に示す小規模孤立図形の画像データを要素と
して抽出し、■〜■に示す画像データは抽出しない。ま
たこの抽出の際に、第1表に示す如く穴明は図形に外接
する四角形とその対角線の交点の座標を付加する。この
抽出された要素は、穴明は図形が円形でありかつ一定の
大きさ以下のもののみが、穴明は図形として穴明は図形
認識処理手段11により認識される(■〜■)。
That is, for example, in the case of an input image as shown in FIG. 3, the image data of small-scale isolated figures shown in ■ to ■ are extracted as elements, and the image data shown in ■ to ■ are not extracted. In addition, during this extraction, as shown in Table 1, the operator adds the coordinates of the intersection of the quadrangle circumscribing the figure and its diagonal. The extracted elements are recognized by the figure recognition processing means 11 as only those whose figures are circular and smaller than a certain size, and which are recognized as figures by the figure recognition processing means 11 (■ to ■).

第 1 表 max:N犬穴明は大きさ 次に、第4図のような認識された要素は、穴大きさ、穴
明けci検出処理手段12により1を穴明は大きさ、P
 (x、y)を穴明は位置として認識結果出力処理手段
13へ渡す。そして認識結果出力処理手段13では、こ
の1.P(x、y)に基づいて穴明は用NCテープの作
成用データを、第2表に示す如く最終結果としてNCテ
ープ作成装置7へ出力することになる。
Table 1 max: N Inu hole light is size Next, the recognized elements as shown in FIG.
Anaki passes (x, y) as a position to the recognition result output processing means 13. Then, in the recognition result output processing means 13, this 1. Based on P(x, y), Anaki outputs the NC tape creation data to the NC tape creation device 7 as the final result as shown in Table 2.

第  2  表 上述したように本実施例の穴明は位置認識装置において
は、多数の穴明は図形を描いた穴明は図面を作成するだ
けで、穴明は図面中の任意の位置に描かれた穴明は図形
の穴明は位置、大きさを自動的に認識して出力すること
が可能である。従って、基板穴明は用のNCテープを作
成する場合に、穴明は図面に描かれた穴明は図形を作業
員が読取ることなく自動的に認識できることから、基板
穴明は用NCテープを作成するためのデータをNCテー
プ作成装置へ短時間で入力し、NCテープの作成に要す
る時間を短くすることができる。また、NCテープを作
成するためのデータの入力を人手を介さず自動的に行な
っていることから、データの入力ミス等の発生が無くな
り、NCテープの作成を正確に行なうことができる。以
上のように本穴明は位置認識装置によれば、NCテープ
等の作成用データを高速にかつ正確にしかも簡単に抽出
することが可能となる。
Table 2 As mentioned above, in the position recognition device for the hole markings of this embodiment, for the hole markings in which a large number of hole drawings are drawn, only the drawing is created, and the hole markings can be drawn at any position in the drawing. It is possible to automatically recognize the position and size of holes in figures and output them. Therefore, when creating NC tape for board drilling, the holes drawn on the drawing can be automatically recognized without the operator having to read the figures, so the board drilling is suitable for NC tape. The data for creating the NC tape can be input to the NC tape creating device in a short time, and the time required to create the NC tape can be shortened. Further, since the data input for creating the NC tape is automatically performed without human intervention, data input errors and the like are eliminated, and the NC tape can be created accurately. As described above, according to the position recognition device, it is possible to extract data for creating NC tapes, etc., quickly, accurately, and easily.

尚、上記実施例において原点の指定1倍率の指定を行な
うことにより、様々な大きさのものに本発明を適用する
ことができるものである。
In the above embodiment, by specifying the origin and specifying the magnification, the present invention can be applied to objects of various sizes.

その他、本発明はその要旨を変更しない範囲で、種々に
変形して実施することができるものである。
In addition, the present invention can be modified and implemented in various ways without changing the gist thereof.

[発明の効果] 以上説明したように本発明によれば、穴明は図形の画像
を2値化した画像データとして入力処理する画像データ
入力処理手段と、この画像データ入力処理手段により入
力処理された画像データを予め画像パターンを記憶した
辞書と照合して所定の穴明は図形を判定し、さらに上記
画像データの任意の位置の所定の小領域内の孤立した穴
明は図形に大きさと位置情報を付加して抽出する穴明は
図形認識・抽出処理手段と、この穴明は図形認識・抽出
処理手段により大きざと位置情報を付加して抽出された
穴明は図形のうち1円形でかつ一定の大きさ以下のもの
のみを穴明は寸法、穴明は位置を持った最終穴明は図形
として認識し出力する穴明は位置検出処理手段とを漏え
て構成するようにしたので、多数の穴明は図形が描かれ
た穴明は図面中の任意の位置に描かれた穴明は図形を自
動的に認識し、NCテープ等の作成用データを高速にか
つ正確にしかも簡単に抽出することが可能な穴明は位置
認識装置が提供できる。
[Effects of the Invention] As explained above, according to the present invention, the perforation includes an image data input processing means that inputs and processes an image of a figure as binarized image data, and an input process that is performed by the image data input processing means. The image data is compared with a dictionary that stores image patterns in advance to determine the shape of a predetermined hole, and furthermore, the size and position of an isolated hole in a predetermined small area at an arbitrary position of the image data is determined. The holes to which information is added and extracted are extracted by the figure recognition/extraction processing means, and the holes to which positional information is roughly added and extracted by the figure recognition/extraction processing means are circular and Only the holes of a certain size or less are recognized as dimensions, and the final holes are recognized as figures, and the holes are output.Since the holes are configured without the position detection processing means, there are many A hole mark with a figure drawn on it automatically recognizes the figure drawn at any position in the drawing, and extracts data for creating NC tape etc. quickly, accurately, and easily. A position recognition device can provide a hole that can be used.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明による穴明は位置認識装置の一実施例を
示すハードウェア構成図、第2図は同実施例における穴
明は位置認識装置の機能ブロック図、第3図および第4
図は同実施例における作用を説明するための図である。 1・・・図面(画像データ)入力部、2・・・画像用メ
モリ、3・・・画像処理プロセッサ、4・・・アドレス
コントロールハードウェア、5・・・共有メモリ、6・
・・穴明は図形認識装置、7・・・NCテープ作成装置
、8・・・画像データ入力処理手段、9・・・画像デー
タ記憶手段、10・・・小領域連結画像データ抽出処理
手段、11・・・穴明は図形認識処理手段、12・・・
穴大きさ、穴明は位置検出処理手段、13・・・認識結
果出力処理手段、14・・・穴明は図形、15・・外接
四角形。 出願人代理人 弁理士 鈴江武彦 第1図 第2図
FIG. 1 is a hardware configuration diagram showing an embodiment of the position recognition device according to the present invention, FIG. 2 is a functional block diagram of the position recognition device in the same embodiment, and FIGS.
The figure is a diagram for explaining the operation in the same embodiment. DESCRIPTION OF SYMBOLS 1... Drawing (image data) input part, 2... Image memory, 3... Image processing processor, 4... Address control hardware, 5... Shared memory, 6...
... Anaki is a figure recognition device, 7... NC tape creation device, 8... image data input processing means, 9... image data storage means, 10... small area connected image data extraction processing means, 11... Anaki is a figure recognition processing means, 12...
Hole size and hole markings are position detection processing means, 13... recognition result output processing means, 14... hole markings are figures, and 15... circumscribing rectangle. Applicant's agent Patent attorney Takehiko Suzue Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims]  穴明け図形の画像を2値化した画像データとして入力
処理する画像データ入力処理手段と、この画像データ入
力処理手段により入力処理された画像データを予め画像
パターンを記憶した辞書と照合して所定の穴明け図形を
判定し、さらに前記画像データの任意の位置の所定の小
領域内の孤立した穴明け図形に大きさと位置情報を付加
して抽出する穴明け図形認識・抽出処理手段と、この穴
明け図形認識・抽出処理手段により大きさと位置情報を
付加して抽出された穴明け図形のうち、円形でかつ一定
の大きさ以下のもののみを穴明け寸法、穴明け位置を持
った最終穴明け図形として認識し出力する穴明け位置検
出処理手段とを備えて構成するようにしたことを特徴と
する穴明け位置認識装置。
An image data input processing means inputs and processes an image of a perforation figure as binarized image data, and the image data inputted by this image data input processing means is compared with a dictionary storing image patterns in advance to obtain a predetermined value. a perforation figure recognition/extraction processing means for determining a perforation figure and further adding size and position information to an isolated perforation figure in a predetermined small area at an arbitrary position of the image data and extracting the perforation figure; Among the drilling shapes extracted by adding size and position information by the drilling shape recognition/extraction processing means, only those that are circular and smaller than a certain size are subjected to final drilling with drilling dimensions and drilling position. 1. A drilling position recognition device comprising a drilling position detection processing means that recognizes and outputs the drilling position as a figure.
JP61177701A 1986-07-30 1986-07-30 Recognizing device for drilling position Pending JPS6336380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61177701A JPS6336380A (en) 1986-07-30 1986-07-30 Recognizing device for drilling position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61177701A JPS6336380A (en) 1986-07-30 1986-07-30 Recognizing device for drilling position

Publications (1)

Publication Number Publication Date
JPS6336380A true JPS6336380A (en) 1988-02-17

Family

ID=16035591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61177701A Pending JPS6336380A (en) 1986-07-30 1986-07-30 Recognizing device for drilling position

Country Status (1)

Country Link
JP (1) JPS6336380A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5850408A (en) * 1981-09-22 1983-03-24 Nippon Tekutoron Kk Detecting method of diameter and position of hole
JPS6029878A (en) * 1983-07-28 1985-02-15 Fuji Electric Co Ltd Detector for circular body

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5850408A (en) * 1981-09-22 1983-03-24 Nippon Tekutoron Kk Detecting method of diameter and position of hole
JPS6029878A (en) * 1983-07-28 1985-02-15 Fuji Electric Co Ltd Detector for circular body

Similar Documents

Publication Publication Date Title
JP2812982B2 (en) Table recognition method
JPS6336380A (en) Recognizing device for drilling position
JPH06208625A (en) Method and device for processing image
JP2503208B2 (en) Business card image processing method
JP2890306B2 (en) Table space separation apparatus and table space separation method
JPH04311283A (en) Line direction discriminating device
JP2957774B2 (en) Line direction determination device
JP2803736B2 (en) Character recognition method
JP3052438B2 (en) Table recognition device
JPS61239384A (en) Method for improving recognition rate in graphic recognition
JPS62134767A (en) Automatic extracting device for symbol name and segment name
JPS6327752B2 (en)
JP2890307B2 (en) Table space separation device
CN116958975A (en) Text information processing method, device, equipment and readable storage medium
JP2762476B2 (en) Copy-writing device
JPH0266681A (en) Drawing processor
JPS62260269A (en) Drawing reader
JPH0532787B2 (en)
JPS61249179A (en) Character frame automatic extracting system
JPH0833924B2 (en) Drawing reading method
JPS60239884A (en) Recognizing device
JPH03222073A (en) Drawings input method
JPH04360294A (en) Device and method for recognizing table
JPH02126382A (en) Character segmenting device
JPH0721816B2 (en) Character image extraction processor