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
JPH0463435B2 - - Google Patents
[go: Go Back, main page]

JPH0463435B2 - - Google Patents

Info

Publication number
JPH0463435B2
JPH0463435B2 JP61275628A JP27562886A JPH0463435B2 JP H0463435 B2 JPH0463435 B2 JP H0463435B2 JP 61275628 A JP61275628 A JP 61275628A JP 27562886 A JP27562886 A JP 27562886A JP H0463435 B2 JPH0463435 B2 JP H0463435B2
Authority
JP
Japan
Prior art keywords
line segment
character string
character
information
character strings
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
JP61275628A
Other languages
Japanese (ja)
Other versions
JPS63128475A (en
Inventor
Masashige Yamamoto
Yasukazu Ito
Michiko Iwasaki
Hiroaki Harada
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61275628A priority Critical patent/JPS63128475A/en
Publication of JPS63128475A publication Critical patent/JPS63128475A/en
Publication of JPH0463435B2 publication Critical patent/JPH0463435B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

【発明の詳細な説明】 [概要] CADシステムに設計情報を入力する図面自動
入力装置に適用される文字列の結合装置であつ
て、図面に描かれた例えば中心線、寸法線等の線
分によつて個々に分割された文字列に対し、線分
の意味を理解して統合(結合)するか否かを判断
し、必要に応じて分割された文字列を結合するこ
とにより、作図者の意図した正しい文字列データ
を得るようにしたものである。
[Detailed Description of the Invention] [Summary] A character string combination device applied to an automatic drawing input device that inputs design information into a CAD system, which combines line segments such as center lines and dimension lines drawn in drawings. By understanding the meaning of the line segments, determining whether to integrate (combining) or not, and combining the divided character strings as necessary, the plotter can This is to obtain the correct string data as intended.

[産業上の利用分野] 本発明は、設計者が作図した図面を画像として
読み取り、画像データからパターン認識技術を利
用して自動的に設計情報を抽出し、CADシステ
ムに設計情報を入力する図面自動入力装置或いは
図面認識装置に用いられる文字列の統合装置に関
し、更に詳しくは、設計図面に書かれた文字デー
タと線分データとを分類した後、分類された個々
の文字データを必要に応じて統合し、作図者の意
図した文字列データを得るようにした文字列統合
装置に関する。
[Industrial Application Field] The present invention is a drawing that reads a drawing drawn by a designer as an image, automatically extracts design information from the image data using pattern recognition technology, and inputs the design information into a CAD system. Regarding a character string integration device used in an automatic input device or a drawing recognition device, in more detail, after classifying character data and line segment data written on a design drawing, the classified individual character data is classified as necessary. The present invention relates to a character string integration device that integrates character string data to obtain character string data intended by a plotter.

設計者が作図した図面の中には、各種線分の他
に各種の説明文や形状の大きさや形状の種類等を
文字情報で指示する文字列が存在する。そして、
この文字列の中には、線分を境にしてそれぞれ独
立した文字列と、線分を横切つて1つの文章を意
味するような文字列とがある。
In a drawing drawn by a designer, in addition to various line segments, there are various explanatory texts and character strings that indicate the size of a shape, the type of a shape, etc. using character information. and,
Among these character strings, there are character strings that are independent across line segments, and character strings that cross line segments and mean one sentence.

このため、線分を横切つて存在する文字列に対
しては、それが一つの文章である場合には、線分
を境にして両方に存在する文字列を結合し、一つ
の文字列データとす2必要がある。
Therefore, for character strings that exist across a line segment, if it is a single sentence, the character strings that exist on both sides of the line segment are combined, and one character string data is created. and 2 are required.

[従来の技術] 第4図は、図面中から文字列を抽出する従来の
手法を示す原理概念図である。
[Prior Art] FIG. 4 is a conceptual diagram showing the principle of a conventional method for extracting character strings from drawings.

第4図イに示すように、図面中に文字列ABC
と文字列DEとが存在する場合、2つの文字列の
距離lを計り、これが予め決めた所定の閾値Tl
り大きいかどうか判断し、l>Tlの場合、2つの
文字列ABCとDEとはそれぞれ独立した文字列と
し、l<Tlの場合両者を結合し、1つの文字列
ABCDEと認識するようにしている。
As shown in Figure 4 A, the character string ABC is shown in the drawing.
and character string DE, measure the distance l between the two character strings, judge whether this is greater than a predetermined threshold T l , and if l > T l , the distance l between the two character strings ABC and DE is determined. are independent character strings, and if l<T l , they are combined into one character string.
I am trying to recognize it as ABCDE.

これに対して、第4図ロに示すように、例えば
文字列ABCと文字列DEとの間を線分Lが横切る
場合、両文字列は分割され、2つの独立した文字
列ABCとDEとが存在するとして認識する。
On the other hand, as shown in Figure 4B, for example, if the line segment L crosses between the character string ABC and the character string DE, both character strings will be divided and become two independent character strings ABC and DE. recognized as existing.

[発明が解決しようとする問題点] このような従来の図面中から文字列を抽出する
手法は、文字列を横切る線分が存在すると、線分
の種類と関係なしにその線分によつて分けられた
2つの文字列を分割して、2つの文字列としてデ
ータを得るようにしていた。このため、線分が横
切つても文字列は連続していると解する必要のあ
る文字列に関しては、作図者の意図した正しい文
字列データを抽出することはできないという問題
点があつた。
[Problems to be Solved by the Invention] Such a conventional method for extracting a character string from a drawing is such that if there is a line segment that crosses the character string, the line segment is The two separated character strings were divided to obtain data as two character strings. Therefore, for character strings that need to be interpreted as continuous even if a line segment crosses them, there is a problem in that it is not possible to extract the correct character string data intended by the plotter.

本発明は、このような点に鑑みてなされたもの
であつて、線分で個々に分割された文字列に対し
て、それらの文字列を横切る線分の意味を理解し
て、統合(結合)するか否かを判断し、作図者の
意図した正しい文字列データを得るようにした文
字列結合装置を提供することを目的としている。
The present invention has been made in view of these points, and it integrates (combines) character strings that are individually divided by line segments by understanding the meaning of the line segments that cross the character strings. ), and to provide a character string combining device that determines whether or not the character string data is correct and obtains the correct character string data intended by the plotter.

[問題点を解決するための手段] 第1図は、本発明の文字列結合装置の原理ブロ
ツク図である。図において、1はそこに印加され
るベクトル化された画像データの中から線分と文
字列の要素分類を行う要素分類手段、2は要素分
類手段1で分類された文字列情報を格納する格納
部、3は要素分類手段1で分類された線分情報を
入力すると共に、そこに与えられている定義情報
に基づいて線分識別を行う線分識別手段で、ここ
で同じ向きを持つ2個の文字列を横切るような線
分が識別される。
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the character string combining device of the present invention. In the figure, 1 is an element classification means for classifying line segments and character strings from the vectorized image data applied thereto, and 2 is a storage for storing character string information classified by the element classification means 1. Section 3 is a line segment identification means that inputs the line segment information classified by the element classification means 1 and identifies line segments based on the definition information given therein. A line segment that crosses the character string is identified.

4は文字列を横切る線分の種類を判定する線分
種類判定手段で、格納部2からの文字列情報と、
線分識別手段3からの文字列を横切る線分情報を
入力している。5は線分種類判定手段4における
判定結果に基づいて、線分によつて分割されてい
る2個の文字列を統合(結合)する文字列結合手
段で、ここから統合した文字列データを得るよう
にしている。
4 is a line segment type determination means that determines the type of line segment that crosses a character string, and it receives character string information from the storage unit 2;
Line segment information that crosses the character string is input from the line segment identification means 3. Reference numeral 5 denotes a string joining means for integrating (combining) two character strings divided by a line segment based on the judgment result of the line segment type judgment means 4, from which integrated string data is obtained. That's what I do.

[作用] 線分種類判定手段4は、文字列情報と、線分情
報とから、文字列を横切つている線分の種類が何
の属性を有するのか、例えば中心線を意味してい
るのか、或いは寸法補助線を意味しているのかを
判断し、各線分の属性に応じて、例えば線分が中
心線を意味しているものであれば、分割されてい
る2個の文字列を文字列結合手段5で結合する。
[Operation] The line segment type determination means 4 determines, from the character string information and the line segment information, what attributes the type of line segment crossing the character string has, for example, does it mean a center line? , or determines whether it means a dimension extension line, and depending on the attributes of each line segment, for example, if the line segment means a center line, convert the two divided character strings into characters. The columns are combined by column combining means 5.

[実施例] 以下、図面を参照して本発明の実施例を詳細に
説明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第2図は本発明の一実施例を示す構成ブロツク
図である。第1図と同じものは、同一の符号を付
して示す。ここではCADシステムに設計情報を
入力する図面自動入力装置に適用した場合を例示
する。図において、6は図面であり、これには
CADシステムに入力させる線分や文字、文字列
等からなる図形情報が描かれている。7は図面6
に描かれている図形情報を読み取る読取り手段
で、例えば光学的に図形情報を読み取るCCDが
用いられる。8は読取り手段7から2値化された
画像情報を一時記憶する画像フアイルである。9
はベクトル化手段で、画像フアイル8から読み出
された画像情報を細線化し、各画素のつながり、
方向等を考慮したベクトル信号とする。これまで
の信号処理は公知の技術によつて実現される。
FIG. 2 is a block diagram showing an embodiment of the present invention. Components that are the same as in FIG. 1 are designated by the same reference numerals. Here, we will exemplify a case in which the present invention is applied to an automatic drawing input device that inputs design information into a CAD system. In the figure, 6 is a drawing, which includes
Graphic information consisting of line segments, characters, character strings, etc. that is input into the CAD system is drawn. 7 is drawing 6
For example, a CCD that optically reads graphic information is used as a reading means for reading the graphic information drawn on the image. Reference numeral 8 denotes an image file for temporarily storing the binarized image information from the reading means 7. 9
is a vectorization means that thins the image information read out from the image file 8 and creates connections between each pixel,
It is a vector signal that takes into consideration the direction, etc. Conventional signal processing is implemented using known techniques.

線分と文字列の要素分類手段1は、線分と文字
の要素分類手段11と、文字として分類されたも
のの中から文字列となつているものを抽出する文
字列抽出手段12を含んでいる。
The element classification means 1 for line segments and character strings includes an element classification means 11 for line segments and characters, and a character string extraction means 12 for extracting character strings from among those classified as characters. .

13は文字認識処理手段で、文字列結合手段5
で結合された文字列データ及び結合する必要がな
いとされた文字列データを文字列格納部2から読
み出し、各文字データを実際の文字パターンのデ
ータとする。14は合成手段で、文字認識処理手
段13からの文字列パターンデータと、線分識別
処理手段3からの線分データとを入力し、両デー
タを合成してCADシステムに出力するように構
成されている。
13 is a character recognition processing means, and a character string combination means 5
The character string data that has been combined and the character string data that is deemed not to be combined are read from the character string storage section 2, and each character data is used as data of an actual character pattern. Reference numeral 14 denotes a synthesizing means, which inputs the character string pattern data from the character recognition processing means 13 and the line segment data from the line segment identification processing means 3, synthesizes both data, and outputs the synthesized data to the CAD system. ing.

このように構成された装置の動作を説明すれ
ば、以下の通りである。第3図は動作の一例を示
す説明図で、ここでは、図面6に図示するように
線分Lによつて分割された2つの文字列20,2
1が存在するものとする。
The operation of the device configured as described above will be explained as follows. FIG. 3 is an explanatory diagram showing an example of the operation. Here, two character strings 20, 2 divided by a line segment L as shown in FIG.
1 exists.

線分と文字列の要素分類手段1は、ベトル化手
段9によつてベクトル化された画像データの中か
ら線分と文字を分類すると共に分類された文字か
ら文字列になつているものを抽出し、この文字列
データを格納部2に格納する。ここで、文字列の
抽出は各文字間の距離がある定数より長ければ異
なる文字列とし、短ければ同一の文字列とする。
又、文字間に横切る線分が存在する場合は、線分
種類判別手段4による判定結果に従つて、その線
分の両側にある文字列を結合するかどうかが決定
される。
The line segment and character string element classification means 1 classifies line segments and characters from the image data vectorized by the vectorization means 9, and extracts character strings from the classified characters. Then, this character string data is stored in the storage section 2. Here, when extracting character strings, if the distance between each character is longer than a certain constant, the character strings are different, and if it is shorter, the character strings are the same.
If there is a line segment that crosses between characters, it is determined whether or not to combine the character strings on both sides of the line segment, according to the determination result by the line segment type determining means 4.

即ち、線分識別手段3及び線分種類判定手段4
は、予め横切るであろう線分の各属性について定
義した情報を参照しながら、文字列を横切つてい
る線分の種類が何んの属性を有するものか判断
し、線分の種類が例えば中心線を意味していると
判断された場合、第3図イに示すように線分の両
側にある2つの文字列20,21を1つの文字列
に結合する旨の指示を文字列結合手段5に出力す
る。又、例えば線分の種類が寸法補助線を意味し
ていると判断された場合、第3図ロに示すように
線分の両側にある2つの文字列20,21はその
まま(結合なし)とする。文字列結合手段5は線
分種類判定手段4からの指示を受け、2つの文字
列を1つの文字列に結合する。
That is, the line segment identification means 3 and the line segment type determination means 4
refers to the information defined in advance for each attribute of the line segment that will cross the character string, determines what type of line segment that crosses the character string has, and determines the type of line segment, for example. If it is determined that it means the center line, the string combining means sends an instruction to combine the two character strings 20 and 21 on both sides of the line segment into one character string as shown in FIG. 3A. Output to 5. For example, if it is determined that the line segment type means a dimension extension line, the two character strings 20 and 21 on both sides of the line segment are left as they are (no combination), as shown in Figure 3 (b). do. The character string combining means 5 receives an instruction from the line segment type determining means 4 and combines two character strings into one character string.

合成手段14は、1つの文字列に結合された文
字列データや結合しないものとなつた文字列デー
タ、線分が横切つていない文字列データと、線分
識別手段3からの線分データとをCADシステム
が読み込める形式のデータに合成し、出力する。
The synthesizing means 14 combines character string data that has been combined into one character string, character string data that has not been combined, character string data that is not crossed by line segments, and line segment data from the line segment identification means 3. Combine and output data in a format that can be read by a CAD system.

[発明の効果] 以上詳細に説明したように、本発明によれば、
線分で分割された文字列に対して、線分の意味を
理解し、線分の持つ属性に応じて分割された文字
列を結合するか否か判断し、文字列データを得る
ようにしたもので、常に作図者が意図した正しい
文字列データをCADシステムに出力することが
できる。
[Effects of the Invention] As explained in detail above, according to the present invention,
For character strings divided by line segments, it understands the meaning of the line segments, determines whether to combine the divided character strings according to the attributes of the line segments, and obtains character string data. This allows the correct character string data intended by the drafter to be output to the CAD system.

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

第1図は本発明の文字列結合装置の原理ブロツ
ク図、第2図は本発明の一実施例を示す構成ブロ
ツク図、第3図は動作の一例を示す説明図、第4
図は図面中から文字列を抽出する従来手法の原理
概念図である。 第1図,第2図において、1は要素分類手段、
2は格納部、3は線分識別手段、4は線分種類判
定手段、5は文字列結合手段である。
FIG. 1 is a principle block diagram of the character string combination device of the present invention, FIG. 2 is a configuration block diagram showing an embodiment of the present invention, FIG. 3 is an explanatory diagram showing an example of operation, and FIG.
The figure is a conceptual diagram of the principle of a conventional method for extracting character strings from drawings. In FIGS. 1 and 2, 1 is an element classification means;
2 is a storage section, 3 is a line segment identification means, 4 is a line segment type determination means, and 5 is a character string combination means.

Claims (1)

【特許請求の範囲】 1 文字情報を含む図面の認識装置に適用される
文字列結合装置において、 ベクトル化された画像データの中から線分と文
字列の要素分類を行う要素分類手段1と、 この要素分類手段で分類された文字列情報を格
納する格納部2と、 要素分類手段1で分類された線分情報を入力
し、同じ向きを有する2個の文字列を横切るよう
な線分を予め決められた定義情報に基づいて識別
する線分識別手段3と、 格納部2からの文字列情報と線分識別手段3か
らの線分情報とを入力し、文字列を横切る線分の
種類を判定する線分種類判定手段4と、 線分種類判定手段4における判定結果に従つ
て、前記線分によつて分割されている2個の文字
列を結合する文字列結合手段5とを設けたことを
特徴とする文字列の結合装置。
[Scope of Claims] 1. A character string combination device applied to a recognition device for drawings containing character information, comprising: element classification means 1 for classifying elements of line segments and character strings from vectorized image data; The storage unit 2 stores the character string information classified by the element classification means, and the line segment information classified by the element classification means 1 is input, and a line segment that crosses two character strings having the same direction is extracted. A line segment identification means 3 identifies the line segment based on predetermined definition information, inputs the character string information from the storage section 2 and the line segment information from the line segment identification means 3, and identifies the type of line segment that crosses the character string. and a character string combining means 5 that combines two character strings divided by the line segment according to the determination result of the line segment type determining means 4. A string joining device characterized by:
JP61275628A 1986-11-18 1986-11-18 Connecting device for character string Granted JPS63128475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61275628A JPS63128475A (en) 1986-11-18 1986-11-18 Connecting device for character string

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61275628A JPS63128475A (en) 1986-11-18 1986-11-18 Connecting device for character string

Publications (2)

Publication Number Publication Date
JPS63128475A JPS63128475A (en) 1988-06-01
JPH0463435B2 true JPH0463435B2 (en) 1992-10-09

Family

ID=17558102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61275628A Granted JPS63128475A (en) 1986-11-18 1986-11-18 Connecting device for character string

Country Status (1)

Country Link
JP (1) JPS63128475A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0286838A (en) * 1988-09-22 1990-03-27 Terumo Corp Water insoluble hydrogel and production thereof
JP7496715B2 (en) * 2020-05-29 2024-06-07 三菱電機株式会社 Specification information generating device, specification information generating method, and program

Also Published As

Publication number Publication date
JPS63128475A (en) 1988-06-01

Similar Documents

Publication Publication Date Title
US4907285A (en) Image understanding system
KR970049402A (en) Image processing method and apparatus, and storage medium
JPH0463435B2 (en)
JP3197441B2 (en) Character recognition device
JPS6154569A (en) Document image processing method
JPS61193276A (en) Character string extracting system
JP3329528B2 (en) Document reader
JPH04130979A (en) Character picture segmenting method
JP2868533B2 (en) Drawing reading device
JPH01209586A (en) Character recognizing system for sentence mixed with double size/half size characters
JP3060237B2 (en) Japanese character recognition device
JPS62134767A (en) Automatic extracting device for symbol name and segment name
JPH0334081A (en) Drawing reader
JPH04117579A (en) Hatching area extracting method
JPH04156694A (en) Character recognition system
JPH04236678A (en) Method for shaping area
JPH0271379A (en) Picture processor
JPH0343879A (en) Character area separating system for character recognizing device
JPH05740B2 (en)
JP2000029986A (en) Form data reading method, recording medium, and form data reading device
JPH06139406A (en) Character segmenting method
JPH01119864A (en) timing chart input device
JPH07113955B2 (en) Character reader
JPH01237778A (en) Character recognition method
JPH03210688A (en) Line detecting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees