JPS58155483A - Pattern recognizing device - Google Patents

Pattern recognizing device

Info

Publication number
JPS58155483A
JPS58155483A JP57038774A JP3877482A JPS58155483A JP S58155483 A JPS58155483 A JP S58155483A JP 57038774 A JP57038774 A JP 57038774A JP 3877482 A JP3877482 A JP 3877482A JP S58155483 A JPS58155483 A JP S58155483A
Authority
JP
Japan
Prior art keywords
pattern
character
circuit
additional information
thickness
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
JP57038774A
Other languages
Japanese (ja)
Inventor
Akira Maeda
前田 「あ」
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57038774A priority Critical patent/JPS58155483A/en
Publication of JPS58155483A publication Critical patent/JPS58155483A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles

Abstract

PURPOSE:To obtain high-precision pattern data, by recognizing additional information added to a pattern on a drawing to correct the shape, the size, etc. of the pattern. CONSTITUTION:Lines written with a thickness of additional information are detected from a linear pattern on the drawing by a thickness calculating circuit 7 and are taken out. Arrows on the drawing are obtained by an arrow detecting circuit 8. Character information is read by a character recognizing processor 9. Characters are taken out in a character cutting circuit 10 one by one and are recognized in a character recognizing circuit 11. When characters are cut, a character is detected as an isolated region, which is separated from patterns and has a certain size, and is taken out. In respect to an ordinary pattern, coordinates of points of four corners are obtained, and the pattern is encoded as segments between these points. A position of the ordinary pattern to which additional information written with a thickness different from that of the ordinary pattern should be added is obtained on a basis of obtained coordinate information.

Description

【発明の詳細な説明】 この発明は1形の形状、大きさを精度よく入力する1形
認鐵装置に関するものでるる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a type 1 recognition iron device for inputting the shape and size of type 1 with high accuracy.

従来図形を認識する図形認識装置の実用例に少いが一般
的に第1図に示すII&と考えられる。
Although there are few practical examples of conventional figure recognition devices for recognizing figures, it is generally considered to be II& shown in FIG.

第1図において(1)に図面を続版り2値画像テータを
得る1偉人力装置、(2+は2値画像テータを処理して
図面内の図形を認識する図形認識フーロセッサであり画
像メモリ(3)と細線化回路(引と点列データメモリC
5)、コード化回路(61よりl11aさ)7ている。
In Fig. 1, the drawing is continued from (1) to obtain a binary image data. (2+ is a figure recognition processor that processes the binary image data and recognizes the figures in the drawing, and the image memory ( 3) and thinning circuit (drawing and point sequence data memory C
5), encoding circuit (111a from 61) 7.

以下この図形lla!繊装置の動作を第2図の処理デー
タにより説明する。第2図←)は原画を、(b)は2値
画儂データを、又(C)は処理結果のデータを示す図で
ある。112酌(a)の原画が第1図の画像入力装@ 
111に入力されると第2m(”)の2値画像データが
得られこれが画像メモリ01に入力される。細線化回路
(41ijこの2fL画像データを処理して線の中心の
点列を求める。この処理結果が第2図(C)でx印の点
が線の中心の点である。
Below is this figure lla! The operation of the textile device will be explained using the processing data shown in FIG. FIG. 2 (←) is a diagram showing an original image, (b) is a diagram showing binary image data, and (C) is a diagram showing processing result data. The original image of 112 Cup (a) is the image input device shown in Figure 1 @
111, the 2mth ('') binary image data is obtained, and this is input into the image memory 01. A thinning circuit (41ij) processes this 2fL image data to obtain a sequence of points at the center of the line. The result of this processing is shown in FIG. 2(C), where the point marked with an x is the center point of the line.

このデータは点列データメモリ(5)K記憶される。This data is stored in a point sequence data memory (5)K.

この点列データはコード化回路(6)で処理される。This point sequence data is processed by the encoding circuit (6).

この結果第2図(e)のpl、p2.p3の各点が求め
られ、PI、P2間は線分でP2.P3間は円弧である
というコードが求められる。以上の様に図形−織7“ロ
セツサは身で入力された2値画偉テータ中の線分2円弧
の認識を行い1図形の形状、大きさを表わすデータを求
めるのであるが2図面を鉛筆等で書いたときの誤差や、
#の中心を求める時の誤差等により図形の形状。
As a result, pl and p2 in FIG. 2(e). Each point of p3 is found, and the line segment between PI and P2 is P2. A code indicating that the space between P3 is a circular arc is obtained. As mentioned above, the figure-original 7 "rosetsusa recognizes the line segment and 2 arcs in the binary drawing data input by itself and obtains data representing the shape and size of 1 figure. Errors when writing with etc.,
The shape of the figure due to errors when finding the center of #.

寸法等が精度より求まらないことが多い・この発明はこ
の欠点を除去するためになきれたもので鮪面内に形状2
寸法fritわす付加情報を通常の図形と異なる太さの
線や矢印を付した線と文字により書きこみこれを認識し
て図形データを修正することにより、精度のよい図形の
入力を目的とするものである。
In many cases, dimensions etc. cannot be determined due to accuracy. This invention was developed to eliminate this drawback, and it is possible to
The purpose is to input figures with high accuracy by writing additional information on dimensions using lines with a different thickness from those of normal figures, lines with arrows, and characters, and by recognizing this and correcting the figure data. It is.

以下この発明の一実施例を図により詳述する。Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第3図にこの発明による図形認識装置の1実施例の構成
1を示す。図中(11〜(6)は第1図と同様である。
FIG. 3 shows a configuration 1 of an embodiment of a figure recognition device according to the present invention. In the figure (11 to (6)) are the same as in FIG.

+71 ij太さ算出回路、(8)は矢印検出回路、C
9)は文字認識フロセッサで2文字切出し一路頓と文字
認識回路aυより構成される。aSUデータ修正回路で
ある。第4図はこの発明の図形g識装置の入力図面の1
例である。第4図においてαsFi通常の太さで書かれ
た対象とする図形。
+71 ij thickness calculation circuit, (8) is arrow detection circuit, C
9) is a character recognition processor consisting of a two-character extraction circuit and a character recognition circuit aυ. This is an aSU data correction circuit. FIG. 4 is one of the input drawings of the figure g recognition device of this invention.
This is an example. In FIG. 4, αsFi is the target figure drawn in normal thickness.

aa h対象とする図形と異なる太さで書かれた付加情
報、asFi矢印、(2)は文字情報である。
aa hAdditional information written in a thickness different from that of the target figure, asFi arrow, (2) is character information.

まず図面の中の線図よシ太さ算出回路(71で付加情報
の太さで書かれ丸線が検出されとり出される。太さの算
出方法の1例を第5図に示す。
First, in a line diagram in the drawing, a circle thickness calculation circuit (71) detects and extracts a circle drawn with the thickness of additional information. An example of a thickness calculation method is shown in FIG.

図中ff′1liji!iIであシこれに対し垂直、水
平、fJ+めの3方向で1暢を求めこの最小の値をここ
での太さとする。次に図面中の矢印が矢印検出回路(8
)で求められる。これの方法を第@−に示す。
In the figure ff'1liji! For iI, find one line in three directions: vertical, horizontal, and fJ+, and use the minimum value as the thickness here. Next, the arrow in the drawing is the arrow detection circuit (8
). The method for this is shown in section @-.

図中uh矢印であり、asFi矢印の羽根の部分の長さ
より短い半径の円のセンサーである。センサー圓の円上
のデータで矢印(ハ)の線の部分と2本の羽根の部分の
3本の線を検出し各々2線間の角度θが矢印で定義され
た角度になっているとき矢印として検出する。次に文字
認識プロセッサ(9)で文字情@Qsを読取る。これは
文字切出し回路−でまず文字を1字1字と)出し文字認
識回路(IIでim繊する。文字の切出しね図形よ砂分
離された孤立した一定の大きさの領域として文字を検出
し、とプ出すことにより行われる。
The uh arrow in the figure indicates a circular sensor with a radius shorter than the length of the blade of the asFi arrow. When the data on the circle of the sensor circle detects the three lines of the arrow (C) line and the two blades, and the angle θ between each two lines is the angle defined by the arrow. Detected as an arrow. Next, the character information @Qs is read by a character recognition processor (9). This is a character cutting circuit that first extracts the characters one by one, then a character recognition circuit (II) that cuts out the characters and detects the characters as isolated areas of a certain size that are separated from the shapes. This is done by issuing the following.

文字認識については例えに全ての文字のパターンを辞書
としてもちその全てと入力されたものと照合することに
よシー査近いものとに認識する方法で行われる。
Character recognition is performed by using a dictionary containing all character patterns and comparing all of them with the inputted text, thereby recognizing the characters as if they were similar to a dictionary.

又通常の図形Uについては従来の方法と同じ嫌にコード
化される。ここで1j長方形1゛あるため四角の点の紐
標か求められ、この点間の一分としてコード化きれる。
Also, the normal figure U is coded in the same way as in the conventional method. Here, since there is a 1j rectangle 1゛, the string marks of the square points are found and can be coded as one minute between these points.

これらの情報は、データ修正回路■に大力されてデータ
の修正が行われる。連結の図形と異なる太さで書かれた
付加情報が通常の図形のどの部分に付加するものかを求
められた座標情報より求め、又矢印のついている付加情
報C)近くにある文字情報によυ通常の図形の座標情報
を修正する。ここでは長方形tm飲する4点の水平座W
Iを補正する。例えば4点の座m間C)距離が105と
求められたとき1文字情報が110であれば右側の2.
点の水平座@’i+5修正する。
These pieces of information are sent to the data modification circuit (2) to modify the data. Determine to which part of the regular figure the additional information written in a thickness different from that of the connected figure is to be added based on the obtained coordinate information, and add the additional information with an arrow (C) based on nearby text information. υ Correct the coordinate information of a normal figure. Here, the rectangle tm is a four-point horizontal seat W
Correct I. For example, if the distance between 4 points is 105 and the 1-character information is 110, then 2.
Correct the horizontal position of the point @'i+5.

なお以上は付加情報として対象図形と太さの異る様、矢
印の付いた紐8文字情報を用いた例を挙けたが、この他
任意の記号や点線等を用いてもよい。
In the above, an example was given in which information about eight strings with arrows having a different thickness from the target figure was used as the additional information, but any other symbols, dotted lines, etc. may be used.

以上の様にこの発明による図形認識装置では図面中の図
形に付加した付加情報をaI!處することにより図形の
形状、大きさ等を修正しているため、種度のよい図形デ
ータを求めることができる。
As described above, in the figure recognition device according to the present invention, additional information added to figures in a drawing is aI! Since the shape, size, etc. of the figure are corrected by this process, it is possible to obtain figure data with a good degree of variety.

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

第1図#−j従来の図形−識装置の徊取図、第2図6処
理テータの例の一1第3図はこの発明による図形認識[
1Mの一実施例の**a、第4図1ゴこV〕発明による
図形認識装置の入力図面の例の図、第5図は太さを求め
る方法の説明−2第6図は矢印構出の方法の説明治であ
る。図中(1)は画像入力装置、(2)は−形認繊10
七ツサ、(31は画像メモリ、(41は細−化回路、(
5)は点列データメモリ、(61灯コード化回路、17
1t!太さ算出回路、181ii矢印検出回路、(旬ハ
文字g繊プロセッサ、Q!は文字切出し回路、α11は
文字認識回路amにデータ修正回路、u/a対象自形、
 04は付加情報、−は矢印、Qllは文字情報、a?
lは線、舖は円上ンサーである。 なお図中、同一あるいけ相当部分に打同−符号を付しで
ある。 代理人葛野信−
Fig. 1 #-j A cross-sectional diagram of a conventional figure recognition device, Fig. 2 6 Example of processing data 11 Fig.
**a of an embodiment of 1M, Fig. 4 1 Goko V] A diagram of an example of an input drawing of the figure recognition device according to the invention, Fig. 5 is an explanation of the method for determining the thickness - 2 Fig. 6 is an arrow structure This is an explanation of how to get out. In the figure, (1) is an image input device, and (2) is a shape recognition fiber 10.
Nanatsusa, (31 is image memory, (41 is thinning circuit, (
5) is a point sequence data memory, (61 lamp coding circuit, 17
1t! Thickness calculation circuit, 181ii arrow detection circuit, (Shunha character g fiber processor, Q! is character cutting circuit, α11 is character recognition circuit am and data correction circuit, u/a target euhedral,
04 is additional information, - is arrow, Qll is character information, a?
l is a line or a circle. In the figures, the same or corresponding parts are given the same symbols. Agent Makoto Kuzuno

Claims (1)

【特許請求の範囲】[Claims] 図面中の一形f認繊する図形ga’装置において、対象
図形と大吉の異る殊でかかれた付加情報と、矢印をもつ
付加情報及び文字情報を上記対象図形に設けてそれらを
&l#1する手段と、太さの異る線でかかれた付加情報
と矢印をもつ付加情報が示す翻形の位置のデータを文字
情報の示す数値により修正する手段とを備えたことを特
徴とする特許請求の範囲第1JJ記載の図形認識装置。
In a figure ga' device that recognizes one form f in a drawing, additional information written as a special note that is different from the target figure, additional information with an arrow, and character information are provided on the target figure, and these are &l#1 and means for correcting the transliteration position data indicated by the additional information drawn with lines of different thickness and the additional information having an arrow, using numerical values indicated by the character information. The figure recognition device according to No. 1 JJ.
JP57038774A 1982-03-11 1982-03-11 Pattern recognizing device Pending JPS58155483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57038774A JPS58155483A (en) 1982-03-11 1982-03-11 Pattern recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57038774A JPS58155483A (en) 1982-03-11 1982-03-11 Pattern recognizing device

Publications (1)

Publication Number Publication Date
JPS58155483A true JPS58155483A (en) 1983-09-16

Family

ID=12534632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57038774A Pending JPS58155483A (en) 1982-03-11 1982-03-11 Pattern recognizing device

Country Status (1)

Country Link
JP (1) JPS58155483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5653013A (en) * 1994-08-18 1997-08-05 International Business Machines Corporation Two terminal single stripe orthogonal MR head

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5653013A (en) * 1994-08-18 1997-08-05 International Business Machines Corporation Two terminal single stripe orthogonal MR head

Similar Documents

Publication Publication Date Title
JPS60217477A (en) Handwritten character recognizing device
JPS63182793A (en) Character segmenting system
JPS58155483A (en) Pattern recognizing device
JPH0520794B2 (en)
JP2930996B2 (en) Image recognition method and image recognition device
JPS58159106A (en) Processing device
JPH0728935A (en) Document image processor
JPH09274645A (en) Method and device for recognizing character
JPS6172374A (en) Character recognizer
JPS60238986A (en) Pattern matching system of character recognition device
JPS61296484A (en) Reading method for optical character
JP3033554B2 (en) Character recognition device
JPH04335487A (en) Character segmenting method for character recognizing device
JPH06295356A (en) On-line character recognition device
JPH04337890A (en) Device for recognizing on-line handwritten character
JPH01181177A (en) Character detecting/segmenting device
JPS63284691A (en) Pattern recognizing device
JPH024031B2 (en)
JPH01201789A (en) Character reader
JPH01124082A (en) Character recognizing device
JPS58172780A (en) Extracting method of circumscribed quadrilateral of character pattern
JPH01171080A (en) Recognizing device for error automatically correcting character
JPH05114048A (en) Method and device for recognizing character
JPS6174079A (en) Pattern recognizing device
JPH01201786A (en) Character reader