JPH0218755B2 - - Google Patents
Info
- Publication number
- JPH0218755B2 JPH0218755B2 JP58029006A JP2900683A JPH0218755B2 JP H0218755 B2 JPH0218755 B2 JP H0218755B2 JP 58029006 A JP58029006 A JP 58029006A JP 2900683 A JP2900683 A JP 2900683A JP H0218755 B2 JPH0218755 B2 JP H0218755B2
- Authority
- JP
- Japan
- Prior art keywords
- sensor
- sensors
- output
- line
- computer
- 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 - Lifetime
Links
Landscapes
- Image Input (AREA)
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、コンピユータに図面を読み取らせ、
記憶させておくことのできる図面読み取り方法に
関するものである。[Detailed Description of the Invention] (Industrial Application Field) The present invention allows a computer to read drawings,
This relates to a drawing reading method that can be memorized.
(従来の技術)
文章をコンピユータに記憶させておくことは一
般的に行なわれているが、図面を機械的に読み取
らせて記憶させることはほとんど行なわれていな
い。パターン認識等図形を機械的に読み取るため
の研究が行なわれているが、いまだ図面をそのま
まの形状で読み取るものは出現していないためで
ある。(Prior Art) Although text is generally stored in a computer, drawings are rarely read and stored mechanically. Although research is being conducted to mechanically read figures, such as pattern recognition, nothing has yet appeared that can read drawings as they are.
従つて、従来図面をコンピユータに記憶させる
ためには、図形線の形、寸法、他の線との相関関
係などのデータを供給しなければならないので、
図面が大きくなると、データ量は膨大となり、こ
の膨大なデータを供給することは実質上不可能で
あつた。 Therefore, in order to store a conventional drawing in a computer, it is necessary to supply data such as the shape, dimensions, and correlation with other lines of the figure lines.
As the drawings become larger, the amount of data becomes enormous, and it has been virtually impossible to supply this enormous amount of data.
(発明が解決しようとする課題)
本発明はこのような点を考慮してなされたもの
で、機械的に図面を読み取る図面読み取り方法を
提供することを目的とするものである。(Problems to be Solved by the Invention) The present invention has been made in consideration of the above points, and an object of the present invention is to provide a drawing reading method for mechanically reading drawings.
(課題を解決するための手段)
上記目的を達成させるため、本発明は多数の光
感応素子を直線上に並べ、図面の大きさに比し小
である第一及び第二センサーとを所定の角度で交
差させたセンサーを図面に対して相対的に一定方
向に移動させ、図面に描かれた線上を走行時に第
一及び第二センサーともその線を検出したそれぞ
れの直線上の多数の光感応素子の中央のもとから
出力を出し、双方のセンサーのその出力を重畳さ
せて位置情報とともにコンピユータに記録し、次
いで前記センサーの移動方向と直角方向にセンサ
ーの幅に相当する長さだけセンサーの端部を一部
オーバーラツプさせてずらして前記と同一方向に
移動させ、その移動中前記と同様にセンサーの出
力を位置情報とともに記憶させ、以下同様にセン
サーをずらして検出してコンピユータに記憶させ
てゆくことを特徴とするものである。(Means for Solving the Problem) In order to achieve the above object, the present invention arranges a large number of photosensitive elements in a straight line, and arranges the first and second sensors, which are small compared to the size of the drawing, at a predetermined position. Sensors crossed at an angle are moved in a fixed direction relative to the drawing, and when running on a line drawn on the drawing, both the first and second sensors detect the line, and a large number of light sensors on each straight line detect the line. An output is output from the center of the element, the outputs of both sensors are superimposed and recorded in a computer along with position information, and then the sensor is moved by a length corresponding to the width of the sensor in the direction perpendicular to the direction of movement of the sensor. The ends are partially overlapped and shifted and moved in the same direction as above, and during the movement, the output of the sensor is stored along with the position information as before, and the sensor is similarly shifted and detected and stored in the computer. It is characterized by going.
(実施例)
実施例はセンサーを図面の上を一定方向に移動
させながら走査し、図面と相対する部分に設けた
後述の光感応素子によつて図面を読み取り、コン
ピユータに記憶させるようにしたものである。(Example) In this example, a sensor is scanned while moving in a fixed direction over a drawing, and the drawing is read by a photosensitive element (to be described later) provided in a portion facing the drawing, and the drawing is stored in a computer. It is.
第1図、第2図において、センサー1は、第一
センサー2と第二センサー3とを互いに直交させ
て形成している。そして、第一、第二センサー
2,3は共に同一構造からなるものであり、その
裏面には第2図に示すように、複数個の光感応素
子4,4…が一直線上に設けられている。この光
感応素子4,4…は通常0.5mm程度である図面上
の線の太さのなかに10〜12個の素子が入るように
極微小のものを数多く並べている。本実施例にお
ては、3cmの長さの中に2048個の素子4,4…が
並べられている。 In FIGS. 1 and 2, the sensor 1 is formed by making a first sensor 2 and a second sensor 3 orthogonal to each other. Both the first and second sensors 2 and 3 have the same structure, and a plurality of photosensitive elements 4, 4, . There is. These photosensitive elements 4, 4, . . . are arranged in large numbers so that 10 to 12 elements can fit within the thickness of the line on the drawing, which is usually about 0.5 mm. In this embodiment, 2048 elements 4, 4, . . . are arranged within a length of 3 cm.
第3図は他の実施例装置のセンサーであり、図
示のように、第一センサー5及び第二センサー6
を夫々の端部で互いに直角になるように交差させ
ている。そして裏面に光感応素子4,4…を有す
るのは前述の通りである。 FIG. 3 shows sensors of another embodiment device, and as shown, a first sensor 5 and a second sensor 6.
are crossed at right angles to each other at each end. As described above, the photosensitive elements 4, 4, . . . are provided on the back surface.
これらのセンサー1を第4図に示すように、図
面7の上を一定方向に移動しながら順々に走査す
る。センサー1を固定させ、図面7を移動するよ
うにしても同じである。各素子4は、図面上が白
のとき「1」、黒のとき「0」を出力するように
電気的に接続されており、コンピユータへは、図
面に描いた線上を通過する全光感応素子(検出
部)の中央の素子の出力とセンサー1の位置とを
入力させるようになつている。素子からの出力
は、第一、第二センサー2,3双方から取り出
す。 As shown in FIG. 4, these sensors 1 are sequentially scanned while moving in a fixed direction on the drawing 7. The same effect can be obtained even if the sensor 1 is fixed and the drawing 7 is moved. Each element 4 is electrically connected so that it outputs "1" when the drawing is white and "0" when it is black. The output of the central element (detection section) and the position of the sensor 1 are inputted. The output from the element is taken out from both the first and second sensors 2 and 3.
例えば、第5図に示すように、第二センサーの
素子が線8の上を通つた際には、4a内の素子が
検出部を構成し、線8の中央にきた素子4bの出
力のみが、その位置情報とともにコンピユータに
入力される。位置情報は、センサーを一定方向に
移動させるときのセンサーの移動量、又は、紙を
移動させたときの紙の移動量、若しくは他の手段
により入力させてもよい。 For example, as shown in FIG. 5, when the element of the second sensor passes over line 8, the element in 4a constitutes the detection section, and only the output of element 4b located in the center of line 8 is output. , along with its location information, is input into the computer. The position information may be input by the amount of movement of the sensor when the sensor is moved in a certain direction, the amount of movement of the paper when the paper is moved, or other means.
上記センサー1による走査によつて図面に描か
れた図形像をコンピユータに正しく認識させるこ
とができることについて以下に説明する。縦及び
横の直線は第一及び第二センサーとも直線のパタ
ーンが得られることは容易に理解できるであろ
う。次に曲線、線と線との交点等図形線を正しく
識別し、コンピユータに記憶させるために必要な
部分の本実施例によつて得られるパターンについ
て述べる。 The following will explain how a computer can correctly recognize a graphic image drawn on a drawing by scanning with the sensor 1. It will be easily understood that a pattern of vertical and horizontal straight lines can be obtained for both the first and second sensors. Next, we will describe patterns obtained by this embodiment that are necessary for correctly identifying graphic lines such as curves and intersections between lines and storing them in a computer.
第6図は代表的な部分のパターンであり、第7
図は円の場合のパターンである。第6図Aは第一
センサーによつて得られるパターンであり、第6
図Bは第二センサーによつて得られるパターンで
ある。また第6図Cは第6図A,Bを重ねた、す
なわちコンピユータに入力されるパターン図であ
つて、図示において太い直線は双方共通に現われ
る部分である。図においては、第一センサー2で
得られるパターンを黒丸、第二センサー3で得ら
れるパターンを白丸で表わしてある。 Figure 6 shows the pattern of a typical part, and Figure 7 shows the pattern of a typical part.
The figure shows a pattern for a circle. FIG. 6A is the pattern obtained by the first sensor;
Figure B is the pattern obtained by the second sensor. Further, FIG. 6C is a pattern diagram that is a superimposition of FIGS. 6A and B, that is, a pattern diagram input to a computer, and the thick straight lines in the diagram are the parts that appear in common in both. In the figure, the pattern obtained by the first sensor 2 is shown by a black circle, and the pattern obtained by the second sensor 3 is shown by a white circle.
このように各部分によつて極めて特徴のあるパ
ターンを得ることができる。この特徴あるパター
ンをあらかじめコンピユータに記憶させておけ
ば、センサー1の走査によつて得られたパターン
と比較させることにより図面を再現することがで
きる。 In this way, a very distinctive pattern can be obtained depending on each part. If this characteristic pattern is stored in the computer in advance, the drawing can be reproduced by comparing it with the pattern obtained by scanning the sensor 1.
ところで、センサー1で図面に描かれた図形等
をコンピユータに入力させ記憶させるわけである
が、センサーは前述のように3cmと図面に比し著
しく小さいものであるため、図面をセンサーの巾
に小さく分割し、分割された部分(以下レーンと
いう)を、図面の一方の端部から他方へ各レーン
を走査しながらコンピユータで入力し、データを
合成しなければならない。そのため、新たな問題
が生じる。すなわちコンピユータはデジタル演算
機であり、人間のように適当につなぎあわせると
いうようなことができないのに対して、図面が伸
縮して図形線がゆがんだり、読み取り誤差が発生
したり、位置検出がばらついたりすることがある
ので、本来つながつていなければならない線がた
つた一つの信号差によつてつながらなくなること
がある。 By the way, the figures drawn on the drawing by sensor 1 are input into the computer and stored, but as mentioned above, the sensor is extremely small at 3 cm compared to the drawing, so the drawing is reduced to the width of the sensor. It is necessary to divide the drawing, input the divided parts (hereinafter referred to as lanes) into a computer while scanning each lane from one end of the drawing to the other, and synthesize the data. Therefore, new problems arise. In other words, a computer is a digital computing machine, and unlike humans, it is not possible to connect them appropriately, but drawings can expand and contract, causing distortion of figure lines, reading errors, and position detection variations. Therefore, lines that should be connected may become disconnected due to a single signal difference.
本発明はこのような点をも考慮に入れてなされ
たもので、同一線を読み取るときに、線にくい違
いなどが発生しないようにしたものである。 The present invention has been made taking these points into consideration, and is designed to prevent differences in line quality from occurring when reading the same line.
そのため、本発明は前記センサー1または図面
7の移動に際して、1つのレーンから次のレーン
に移る際にセンサー1の端部の一部をオーバーラ
ツプさせるようにしたことを特徴とするものであ
る。 Therefore, the present invention is characterized in that when moving the sensor 1 or FIG. 7 from one lane to the next, the ends of the sensor 1 are partially overlapped.
例えば、第8図に示すように図面を読み取るも
のとすると、レーンA、レーンB、レーンCの三
つのレーンによつて読み取らねばならない。その
際、第9図にレーンBの例で示しているように、
両端のRPで示した部分をオーバーラツプさせて
移動させるようにしてある。 For example, if a drawing is to be read as shown in FIG. 8, three lanes, lane A, lane B, and lane C, must be used to read the drawing. At that time, as shown in the example of lane B in Figure 9,
The parts indicated by RP at both ends are overlapped and moved.
このように、一部をオーバーラツプさせて読み
取るようにすれば、隣り合うレーンに読み取り中
のレーンの線がどのようにかかわつているかを検
出しながら行なうので、レーン間のデータのつな
がりを再構成するときに有効に利用することがで
きる。従つて、方向側の誤差をも修正することが
でき同一線を読むときに線のくい違いが発生しな
いことになる。 In this way, by overlapping a part of the data and reading it, it is possible to detect how the lines of the lane being read are related to the adjacent lanes, thereby reconfiguring the data connections between the lanes. It can sometimes be used effectively. Therefore, errors in the direction can also be corrected, and line discrepancies will not occur when reading the same line.
以上詳細に説明したように、本発明によれば、
第一、第二センサーとも多数の光感応素子を直線
上に配列し、出力はともに検出した複数の光感応
素子の中央にあるものから取り出し、双方の出力
を重畳させてコンピユータに記憶させる構成とし
ているので、その出力は直線、曲線、交差線、線
の終点など線の種類によつて特徴あるパターンと
なり、その特徴を位置情報とともに記憶させるこ
とになるので、その記憶情報を取り出すときにあ
らかじめ知られているパターンの特徴と比較する
ことによつて図面を再現することができる。 As explained in detail above, according to the present invention,
Both the first and second sensors have a configuration in which a large number of photosensitive elements are arranged in a straight line, the output is taken from the center of the plurality of photosensitive elements detected, and the outputs of both are superimposed and stored in the computer. Therefore, the output will be a characteristic pattern depending on the type of line, such as straight line, curved line, intersecting line, or end point of the line, and this characteristic will be stored together with the position information, so when retrieving the stored information, it will be necessary to know in advance. The drawing can be reproduced by comparing the features of the pattern shown.
しかも、上記のように各センサーは直列に並べ
られた複数の光感応素子が検出し、その検出した
素子群の中央部分にあるものから出力を取り出す
ようになつているので、線の太さには無関係とな
り、どのように描かれた図面でも記憶させること
ができる。すなわち簡単にコンピユータに図面を
読み取らせることが可能となる。 Moreover, as mentioned above, each sensor is configured to detect multiple photosensitive elements arranged in series, and output from the one in the center of the detected elements, so the thickness of the line is irrelevant, and any drawing drawn can be memorized. In other words, it becomes possible to easily have a computer read the drawings.
又、図面を細分化して読み取る際にも、センサ
ーの端部の一部をオーバーラツプさせて読み取る
ので線のくい違いが生じることがない。 Furthermore, even when a drawing is read in sections, the ends of the sensors are read while partially overlapping, so there is no possibility of misalignment of lines.
第1図は本発明実施例のセンサーの斜視図、第
2図はセンサーの裏面の拡大平面図、第3図は他
の実施例のセンサーの斜視図、第4図は図面上で
のセンサーの移動状態を示す平面図、第5図は図
面の描かれた線と光感応素子との関係を示す平面
図、第6図、第7図は本実施例センサーで走査し
た際の線の形状によるパターンの違いを示す平面
図で、Aは第一センサーにより、Bは第二センサ
ーにより、CはA,B双方のセンサーによつて得
られるパターンを各々示している。第8図は読み
取るべき図面の平面図、第9図はその一部のみを
示した平面図。
1…センサー、2…第一センサー、3…第二セ
ンサー、4…光感応素子、7…図面、8…線。
Fig. 1 is a perspective view of a sensor according to an embodiment of the present invention, Fig. 2 is an enlarged plan view of the back side of the sensor, Fig. 3 is a perspective view of a sensor according to another embodiment, and Fig. 4 is a diagram showing the sensor in the drawing. FIG. 5 is a plan view showing the relationship between the drawn line and the photosensitive element, and FIGS. 6 and 7 are based on the shape of the line when scanned by the sensor of this embodiment. In the plan views showing the differences in patterns, A shows the pattern obtained by the first sensor, B shows the pattern obtained by the second sensor, and C shows the pattern obtained by both the sensors A and B. FIG. 8 is a plan view of the drawing to be read, and FIG. 9 is a plan view showing only a portion thereof. DESCRIPTION OF SYMBOLS 1...Sensor, 2...First sensor, 3...Second sensor, 4...Photosensitive element, 7...Drawing, 8...Line.
Claims (1)
きさに比し小である第一及び第二センサーとを所
定の角度で交差させたセンサーを図面に対して相
対的に一定方向に移動させ、図面に描かれた線上
を走行時に第一及び第二センサーともその線を検
出したそれぞれの直線上の多数の光感応素子の中
央のものから出力を出し、双方のセンサーのその
出力を重畳させて位置情報とともにコンピユータ
に記録し、次いで前記センサーの移動方向と直角
方向にセンサーの幅に相当する長さだけセンサー
の端部を一部オーバーラツプさせてずらして前記
と同一方向に移動させ、その移動中前記と同様に
センサーの出力を位置情報とともに記憶させ、以
下同様にセンサーをずらして検出してコンピユー
タに記憶させてゆくことを特徴とする図面読み取
り方法。 2 前記センサーの角度が直角であることを特徴
とする特許請求の範囲第1項記載の図面読み取り
方法。[Scope of Claims] 1. A sensor in which a large number of photosensitive elements are arranged in a straight line and the first and second sensors, which are small compared to the size of the drawing, intersect at a predetermined angle is arranged relative to the drawing. The first and second sensors both detect the line while moving in a certain direction on the drawing and output an output from the central one of the many photosensitive elements on each straight line. The outputs of the sensors are superimposed and recorded in a computer along with the position information, and then the ends of the sensors are partially overlapped and shifted by a length corresponding to the width of the sensor in the direction perpendicular to the direction of movement of the sensor. A method for reading a drawing characterized in that the output of the sensor is stored along with the position information in the same manner as described above during the movement, and thereafter the output of the sensor is similarly shifted and detected and stored in a computer. 2. The drawing reading method according to claim 1, wherein the angle of the sensor is a right angle.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58029006A JPS59154568A (en) | 1983-02-23 | 1983-02-23 | Drawing reading method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58029006A JPS59154568A (en) | 1983-02-23 | 1983-02-23 | Drawing reading method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59154568A JPS59154568A (en) | 1984-09-03 |
| JPH0218755B2 true JPH0218755B2 (en) | 1990-04-26 |
Family
ID=12264312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58029006A Granted JPS59154568A (en) | 1983-02-23 | 1983-02-23 | Drawing reading method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59154568A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6035709B2 (en) * | 1977-11-08 | 1985-08-16 | 日本電気株式会社 | Line figure direction detection eye |
| JPS54117638A (en) * | 1978-03-06 | 1979-09-12 | Nec Corp | Optical character reader |
| JPS54165142U (en) * | 1978-05-10 | 1979-11-20 |
-
1983
- 1983-02-23 JP JP58029006A patent/JPS59154568A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59154568A (en) | 1984-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5343031A (en) | Method of decoding a two-dimensional code symbol mark | |
| KR900007434B1 (en) | Pattern checker | |
| KR930023865A (en) | Barcode reader | |
| US6148118A (en) | Image processing apparatus capable of reproducing large-sized document | |
| JPH0259525B2 (en) | ||
| JPH0737892B2 (en) | Pattern defect inspection method | |
| JPH09114951A (en) | Information recording medium | |
| JPH0218755B2 (en) | ||
| JP2734638B2 (en) | Data reading method and device | |
| JPS6121671A (en) | Original reader | |
| JPH0218515B2 (en) | ||
| JP2575848B2 (en) | Image processing method | |
| US7391441B2 (en) | Electronic image sensor and evaluation method | |
| JP3116438B2 (en) | Inspection apparatus and inspection method for printed wiring board | |
| JPS6172371A (en) | information reading device | |
| JPS61120572A (en) | reading device | |
| JP2653998B2 (en) | Optical data recording card | |
| JPS6057108B2 (en) | Mark sheet reading method by facsimile | |
| JPH0741251Y2 (en) | Image reader | |
| JP2929710B2 (en) | Character reading method | |
| JPH0461395B2 (en) | ||
| JPS63284964A (en) | Reduced reading optical system | |
| JP2002183660A (en) | Document reading device and document reading method | |
| JP2535253B2 (en) | Digital data recording paper | |
| JPH0378563B2 (en) |