Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5932830B2 - Line shape direction detection eye - Google Patents
[go: Go Back, main page]

JPS5932830B2 - Line shape direction detection eye - Google Patents

Line shape direction detection eye

Info

Publication number
JPS5932830B2
JPS5932830B2 JP51094331A JP9433176A JPS5932830B2 JP S5932830 B2 JPS5932830 B2 JP S5932830B2 JP 51094331 A JP51094331 A JP 51094331A JP 9433176 A JP9433176 A JP 9433176A JP S5932830 B2 JPS5932830 B2 JP S5932830B2
Authority
JP
Japan
Prior art keywords
line
photoelectric conversion
output
present
detection
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
Application number
JP51094331A
Other languages
Japanese (ja)
Other versions
JPS5319727A (en
Inventor
譲二 田島
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP51094331A priority Critical patent/JPS5932830B2/en
Publication of JPS5319727A publication Critical patent/JPS5319727A/en
Publication of JPS5932830B2 publication Critical patent/JPS5932830B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は光学的に線図形の方向を検出する素子に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an element that optically detects the direction of a line pattern.

従来図面に描かれた線図形を電子計算機などで読み取る
処理を行う場合、入力装置として二次元的に光電変換素
子を配列したものを用いて図形の一部分を読み込み、プ
ログラム的に処理をする方法が知られている。
Conventionally, when reading a line figure drawn on a drawing using a computer, etc., there is a method in which a part of the figure is read using a two-dimensional array of photoelectric conversion elements as an input device and processed programmatically. Are known.

実際、複雑な図形の場合にはそのような処理を行わなけ
ればならないが、対象の図形に規則性があり、与えられ
た位置にただどの方向の直線が通過しているかを知れば
よい場合もある。例えば、電子回路の設計図面などは、
方眼紙の上に書かれており、縦・横の二方向の配線の描
画しか許されない場合、その図面を読み取る場合には、
方眼紙の格子点上に、縦・横いずれの方向の線が存在す
るかがわかればよい。このような場合にも上記のように
プログラム的に処理する方法を用いると、従来の計算機
では無視できない時間を要することになる。本発明の目
的は、一方向の線を瞬時に検出する線図形の方向検出眼
を提供することにある。
In fact, such processing must be performed in the case of complex figures, but there are also cases where the target figure has regularity and it is only necessary to know in which direction a straight line passes through a given position. be. For example, design drawings for electronic circuits, etc.
If the drawing is written on graph paper and only allows drawing of wiring in two directions (vertical and horizontal), when reading the drawing,
All you need to know is whether there are vertical or horizontal lines on the grid points of the graph paper. Even in such a case, if the above-mentioned programmatic processing method is used, it will take a non-negligible amount of time on a conventional computer. An object of the present invention is to provide a line pattern direction detecting eye that instantly detects lines in one direction.

本発明の他の目的は、電子計算機などによる線図形の方
向検出処理プロセスを省略することの出来る線図形検出
眼を提供することにある。第1図に本発明の構成を示す
Another object of the present invention is to provide a line figure detection eye that can omit the process of detecting the direction of line figures using a computer or the like. FIG. 1 shows the configuration of the present invention.

方向検出眼10は平面的に構成されている。一群の短冊
形の光電変換素子1の一方の端は接地されており、他方
の端は抵抗2を介して電源に接続されている。各光電変
換素子1と抵抗2の接続点から出力線3が引き出され、
方向検出部4に於いてある方向(第1図の形では縦方向
)の線の検出がされ、検出信号線5に出力がなされる。
このような構成をとることにより、第1図に示すように
光電変換素子1に平行な線図形が、投影されたとき、そ
の線像25が掩つている光電変換素子1に接続された出
力線3と、線像25の掩つていない光電変換素子1に接
続された出力線3の出力電圧値に大きな差が現れる。
The direction detecting eye 10 has a planar configuration. One end of the group of rectangular photoelectric conversion elements 1 is grounded, and the other end is connected to a power source via a resistor 2. An output line 3 is drawn out from the connection point between each photoelectric conversion element 1 and the resistor 2,
A direction detecting section 4 detects a line in a certain direction (vertical direction in the form shown in FIG. 1), and outputs it to a detection signal line 5.
By adopting such a configuration, when a line figure parallel to the photoelectric conversion element 1 is projected as shown in FIG. 1, the output line connected to the photoelectric conversion element 1 covered by the line image 25 is 3 and the output voltage value of the output line 3 connected to the unobscured photoelectric conversion element 1 of the line image 25.

これを利用して光電変換素子1に平行な線図形が存在し
ていることすなわち、線図形の存在とその方向を検出す
ることができる。また、本発明を線図形の方向を判断す
る必要のある図面等の上に走査することにより、線図形
が或る定められた方向に向いているかどうかを判定する
ことができる。更に本発明の光電変換素子1の方向の異
なるものを複数個用意したり、1個の本発明素子1の方
向を回転させたりして走査することにより、図面等に描
かれた線図形の各位置における方向を得ることができる
。次に第1図、第2図を参照して本発明の原理を説明す
る。画面21上に線図形22が描かれており、これが照
明ランプ23によつて照明され、その像25がレンズ系
24によつて面上の方向検出眼10上に投影されている
。この線像25が第1図のように光電変換素子1の斜線
部分に照射される光量を少なくしている。第3図aはこ
のときの(この例では)10個の光電変換素子1のそれ
ぞれを流れる電流値をグラフにしたものであり、同図b
は出力線3の電圧値をグラフにしたものである。このと
き光電変換素子としては光導電体とする。即ち、光が照
射された部分の抵抗値が小さくなるものである。これを
見てわかるように各素子の出力電圧は縦方向の線像が存
在するもののみ特に大きな値を示し、また各素子の出力
間に大きな差異を生ずる。第3図cは検出眼上に横方向
の線の像が投影された場合の出力電圧である。この場合
にはどの素子も同じように線像の部分が投影されるので
、特に大きな値を示している素子はないし、各素子の出
力間にも大きな差はない。以上でわかるように、出力の
大きさは各光電変換素子の線像で占められた面積による
。そのため画面上に存在する線図形の太さより十分に長
く、線図形の太さよりも十分に狭い短冊形の光電変換素
子を用いることによつて、線図形の方向は鋭敏に出力電
圧に反映される。更にこのような素子を用いた場合には
、ノイズに強いという利点がある。一般に図面などには
縦の直線が引かれていても、細かく見ると第5図のよう
に中に隙間や切れ目が存在することが多く、像が上から
下迄隙間なく連続していることを前提として検出を行う
と検出の安定性が乏しくなる。本発明ではそれに対し、
「縦の直線」とは、黒い部分が縦方向に十分な密度で並
んで存在することのみを前提としているため、少々の隙
間や切れ目にはほとんど影響を受けないのである。方向
検出部4は出力線3の信号から「ある方向の線が存在す
ると、特に大きい値の出力電圧が現れる」又11斗ある
方向の線が存在すると、各素子の出力間に大きな差異が
生ずる]という特徴を利用して検出信号を信号線5に出
力するものである。第4図に方向検出部4の実施例を示
す。
Utilizing this, it is possible to detect the existence of a line figure parallel to the photoelectric conversion element 1, that is, the presence of the line figure and its direction. Furthermore, by scanning the present invention over a drawing or the like where it is necessary to determine the direction of a line figure, it is possible to determine whether the line figure is oriented in a certain predetermined direction. Furthermore, by preparing a plurality of photoelectric conversion elements 1 of the present invention with different directions, or by scanning by rotating the direction of one element 1 of the present invention, each of the line figures drawn on a drawing etc. You can get the direction at the position. Next, the principle of the present invention will be explained with reference to FIGS. 1 and 2. A line figure 22 is drawn on a screen 21, which is illuminated by an illumination lamp 23, and whose image 25 is projected by a lens system 24 onto a direction detecting eye 10 on a surface. This line image 25 reduces the amount of light irradiated onto the diagonally shaded portion of the photoelectric conversion element 1 as shown in FIG. Figure 3a is a graph of the current values flowing through each of the ten photoelectric conversion elements 1 (in this example) at this time, and Figure 3b is a graph of the current values flowing through each of the ten photoelectric conversion elements 1 at this time (in this example).
is a graph of the voltage value of the output line 3. At this time, a photoconductor is used as the photoelectric conversion element. That is, the resistance value of the portion irradiated with light decreases. As can be seen, the output voltage of each element exhibits a particularly large value only when a vertical line image exists, and a large difference occurs between the outputs of each element. FIG. 3c shows the output voltage when a horizontal line image is projected onto the detection eye. In this case, since all elements project the line image portion in the same way, no element exhibits a particularly large value, and there is no large difference between the outputs of each element. As can be seen from the above, the magnitude of the output depends on the area occupied by the line image of each photoelectric conversion element. Therefore, by using a rectangular photoelectric conversion element that is sufficiently longer than the thickness of the line figure on the screen and sufficiently narrower than the thickness of the line figure, the direction of the line figure can be sensitively reflected in the output voltage. . Furthermore, when such an element is used, it has the advantage of being resistant to noise. In general, even if vertical straight lines are drawn in drawings, if you look closely, there are often gaps or cuts inside as shown in Figure 5, which shows that the image is continuous from top to bottom without any gaps. If detection is performed as a premise, the stability of detection will be poor. In contrast, in the present invention,
A "vertical straight line" only assumes that the black parts are lined up vertically with sufficient density, so it is hardly affected by small gaps or cuts. The direction detection unit 4 detects from the signal of the output line 3 that ``If a line in a certain direction exists, an output voltage of a particularly large value will appear'' and if a line in a certain direction exists, a large difference will occur between the outputs of each element. ] The detection signal is output to the signal line 5 by utilizing the characteristics. FIG. 4 shows an embodiment of the direction detection section 4.

出力線群3の各々がシユミツト・トリカー41に接続さ
れており、シユミツト・トリカーの出力は第3図B,c
のt以上の電圧が人力に現れるとゞHighiVt以下
であるとゞ10Wtであるように調整されている。する
と第3図bに対応する出力は第3図dのようになる。各
シユミツト・トリカー41の出力は0Rデート42に接
続され、どれか1つでも′High″になれば0Rゲー
トの出力、即ち検出信号はShigh2となつて信号線
5に出力される。このような検出方法は光電変換素子が
ただ1個であつても理論的には成立するがその場合には
実際に図面を検出眼に対して位置あわせする精度が必要
とされる。本発明によれば線像25が、第1,2図の場
合なら左右に多少ずれても安定に検出が行われる。第6
図に方向検出部4の第2の実施例を示す。
Each of the output line groups 3 is connected to a Schmitt trigger 41, and the output of the Schmitt trigger is shown in Fig. 3B and c.
It is adjusted so that when a voltage higher than t appears in human power, when it is lower than HighVt, it is 10Wt. Then, the output corresponding to FIG. 3b becomes as shown in FIG. 3d. The output of each Schmitt trigger 41 is connected to the 0R date 42, and if any one becomes 'High', the output of the 0R gate, that is, the detection signal becomes High2 and is output to the signal line 5. The detection method can theoretically work even if there is only one photoelectric conversion element, but in that case, accuracy is required to actually align the drawing with the detection eye.According to the present invention, the line In the case of the image 25 shown in Figs. 1 and 2, stable detection is performed even if the image 25 is slightly shifted left and right.
A second embodiment of the direction detection section 4 is shown in the figure.

ここで43は排他的論理和回路であつて、隣り合うシユ
ミツト・トリカー41の出力の一方がゞ高電位〃他方が
ゞ低電位2の場合のみゞ高電位2信号を出力する。この
例の場合には、論理和ゲート42の出力は、線像のエツ
ジが検出されたことに対応する。第3図dに対応する排
他的論理和回路43の出力は第3図eのようになる。第
3図bのように左側の出力から見てゞ低電位2からゞ高
電位7となり再びゞ低電位2に変化するようなノぐター
ンのもののみを検出することによつて、本発明のアレイ
1の範囲より大きい。黒色の塗りつぶされた部分をゞ線
2としては、検出しないような方向検出部4も従来技術
によつて容5に構成可能である。また、素子数が増加し
た場合には、上記のように並列にシユミツト・トリカー
を置くことなく、出力信号をマルチプレクサーによりス
キヤンして同様の処理を行なわせることも可能である。
但し、この場合には幾分余分に時間を要する。以上の例
では出力信号はまずシユミツト・トリカーによつてデイ
ジダースされ、後処理は論理回路によつているが第2の
例のように、隣りの素子の出力との差を検出する場合に
は、隣る二出力線の信号をアアナログ的に差動アンプで
受け、その出力を利用することもできる。次に第7図及
び第8図を参照して、本発明を利用して線図形の方向検
出を行い図面を読み取る図面読み取り装置の動作を説明
する。
Here, 43 is an exclusive OR circuit which outputs a high potential 2 signal only when one of the outputs of the adjacent Schmitt triggers 41 is a high potential and the other is a low potential 2. In this example, the output of OR gate 42 corresponds to the detection of an edge of the line image. The output of the exclusive OR circuit 43 corresponding to FIG. 3d is as shown in FIG. 3e. As shown in FIG. 3b, the present invention can be achieved by detecting only the output of a turn from low potential 2 to high potential 7 and back to low potential 2 when viewed from the left output. Greater than array 1 range. The direction detecting section 4 which does not detect the black-filled portion as the red line 2 can also be configured in a simple manner using the prior art. Furthermore, when the number of elements increases, it is also possible to perform similar processing by scanning the output signal with a multiplexer without placing a Schmitt trigger in parallel as described above.
However, in this case, it takes some extra time. In the above example, the output signal is first digitized by a Schmidt trigger, and post-processing is done by a logic circuit, but as in the second example, when detecting the difference between the outputs of adjacent elements, It is also possible to receive the signals from two adjacent output lines analogously with a differential amplifier and use the output. Next, with reference to FIGS. 7 and 8, the operation of a drawing reading apparatus that uses the present invention to detect the direction of line figures and read drawings will be described.

第7図の例では、aの間隔の格子上に線図形6が描かれ
ており、線の方向は縦方向と横方向の2方向のみが許さ
れている。即ち、O印7の格子点を上下方向又は左右方
向に通る線のみで図形が構成されている。第8図に、こ
のような図面を読み取るための本発明の方向検出眼の走
査例を示す。第8図において正方形に横棒を付したマー
ク8は本発明の光電変換素子1の方向を左右方向とした
ものであつて、例えば横方向に走査が行われる位置であ
り、同じく正方形に縦棒を付したマーク9は本発明の光
電変換素子1の方向を上下方向としたものであつて、例
えば横方向に走査が行われる位置である。この場合方向
検出眼の方向をマータ8の位置とマーク9の位置とで交
互に回転させたり、あるいは2個の方向検出眼を互に直
角になるよう配置して、マーク8とマーク9の位置で切
換えあるいは同時走査しても良い。このように本発明に
より各格子点7間の接続を調べることにより、図面上の
線図形が格子点間の接続の集合として読み取られること
になる。読み取られた情報は本発明の性質により、安定
した確度の高いものである。以上述べたように、本発明
を使用することにより、望みの方向の線を瞬時にして検
出することができる。
In the example shown in FIG. 7, a line figure 6 is drawn on a grid with intervals of a, and only two directions of the lines, vertical and horizontal, are allowed. That is, the figure is composed only of lines passing through the lattice points indicated by the O mark 7 in the vertical or horizontal direction. FIG. 8 shows an example of scanning of the direction detecting eye of the present invention for reading such a drawing. In FIG. 8, the mark 8, which is a square with a horizontal bar, indicates the direction of the photoelectric conversion element 1 of the present invention in the left-right direction, and is, for example, a position where scanning is performed in the horizontal direction. Marks 9 marked with ``mark'' indicate that the direction of the photoelectric conversion element 1 of the present invention is the vertical direction, and are, for example, positions where scanning is performed in the lateral direction. In this case, the direction of the direction detecting eye may be rotated alternately between the position of mark 8 and the position of mark 9, or the two direction detecting eyes may be arranged at right angles to each other to determine the position of mark 8 and mark 9. They may be switched or scanned simultaneously. By examining the connections between each grid point 7 according to the present invention in this way, the line figure on the drawing can be read as a set of connections between the grid points. The information read is stable and highly accurate due to the nature of the invention. As described above, by using the present invention, a line in a desired direction can be detected instantaneously.

そして、方向検出のための計算機処理は必要がないので
、安価で高速な線方向の検出器を構成することができる
Since no computer processing is required for direction detection, an inexpensive and high-speed linear direction detector can be constructed.

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

第1図は本発明の構成図、第2図は本発明の使用方法の
説明図、第3図a−eは本発明の各部の信号のグラフ、
第4図は本発明の方向検出部の一実施例、第6図は同じ
く他の実施例、第5図は本発明の説明のための線像の拡
大例である。 第7図及び第8図は、本発明を図面読み取り装置に適用
した場合の動作例の説明図である。なお図において、1
は短冊形の光電変換素子、2は負荷抵抗、3は出力線、
4は方向検出部、5は検出信号線、10は本発明の方向
検出眼である。
Fig. 1 is a configuration diagram of the present invention, Fig. 2 is an explanatory diagram of how to use the present invention, Fig. 3 a to e are graphs of signals of each part of the present invention,
FIG. 4 shows one embodiment of the direction detection section of the present invention, FIG. 6 shows another embodiment, and FIG. 5 shows an enlarged example of a line image for explaining the present invention. FIGS. 7 and 8 are explanatory diagrams of an example of operation when the present invention is applied to a drawing reading device. In the figure, 1
is a rectangular photoelectric conversion element, 2 is a load resistance, 3 is an output line,
4 is a direction detection section, 5 is a detection signal line, and 10 is a direction detection eye of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 短冊形の光電変換素子を平面上に複数個並置した光
電変換手段と、線図形の一部の光学像を前記光電変換手
段の受光面に投影する手段と、前記光電変換手段の光電
変換素子の出力信号を受け方向判断する手段とを含み、
線図形の方向が予め定められた方向にあるか否かを検出
することを特徴とした線図形の方向検出眼。
1. A photoelectric conversion means in which a plurality of rectangular photoelectric conversion elements are arranged side by side on a plane, means for projecting an optical image of a part of a line figure onto a light receiving surface of the photoelectric conversion means, and a photoelectric conversion element of the photoelectric conversion means. means for receiving and determining the direction of the output signal of the
An eye for detecting the direction of a line figure, characterized in that it detects whether the direction of the line figure is in a predetermined direction.
JP51094331A 1976-08-06 1976-08-06 Line shape direction detection eye Expired JPS5932830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51094331A JPS5932830B2 (en) 1976-08-06 1976-08-06 Line shape direction detection eye

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51094331A JPS5932830B2 (en) 1976-08-06 1976-08-06 Line shape direction detection eye

Publications (2)

Publication Number Publication Date
JPS5319727A JPS5319727A (en) 1978-02-23
JPS5932830B2 true JPS5932830B2 (en) 1984-08-11

Family

ID=14107291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51094331A Expired JPS5932830B2 (en) 1976-08-06 1976-08-06 Line shape direction detection eye

Country Status (1)

Country Link
JP (1) JPS5932830B2 (en)

Also Published As

Publication number Publication date
JPS5319727A (en) 1978-02-23

Similar Documents

Publication Publication Date Title
JP2795595B2 (en) Defect detection method for transparent plate
US5159322A (en) Apparatus to digitize graphic and scenic information and to determine the position of a stylus for input into a computer or the like
EP2325625A1 (en) Inspection system
KR930023865A (en) Barcode reader
US3599004A (en) Arrangement of photocells for the determination of the position of an equidistantly divided scale
US4557602A (en) Edge detector in optical measuring instrument
JPS5932830B2 (en) Line shape direction detection eye
JPH0533321B2 (en)
JPS6035709B2 (en) Line figure direction detection eye
JPH03278057A (en) Pattern inspecting device
US3726997A (en) Optical processing system
JPH0949706A (en) Method for measuring moving amount of object to be measured in front/rear direction with using laser light
JPH0481729B2 (en)
JPH05215534A (en) How to adjust the camera mechanism for surface inspection
JPS62237305A (en) Pattern defect inspection method
JPH026108B2 (en)
JPH07128026A (en) Pattern inspection equipment
JP2864163B2 (en) 3D measuring device
JPH03205503A (en) Image position detecting method for sheet light
JPH0146001B2 (en)
JPH07270129A (en) Plate width / meander amount detector
JP3209886B2 (en) Measuring device
JPH0629860B2 (en) Surface condition inspection device
JP2014071078A (en) Fluid behavior visualizing system and fluid behavior visualizing method
JPH08178648A (en) Intervehicle distance detecting device