JPS6151271A - Broken line approximation system of line pattern - Google Patents

Broken line approximation system of line pattern

Info

Publication number
JPS6151271A
JPS6151271A JP17176284A JP17176284A JPS6151271A JP S6151271 A JPS6151271 A JP S6151271A JP 17176284 A JP17176284 A JP 17176284A JP 17176284 A JP17176284 A JP 17176284A JP S6151271 A JPS6151271 A JP S6151271A
Authority
JP
Japan
Prior art keywords
line
pattern
line pattern
inflection point
point
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
JP17176284A
Other languages
Japanese (ja)
Inventor
Katsuhiko Nishikawa
克彦 西川
Akira Inoue
彰 井上
Shigemi Osada
茂美 長田
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 JP17176284A priority Critical patent/JPS6151271A/en
Publication of JPS6151271A publication Critical patent/JPS6151271A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an approximate line pattern loyal to an original line pattern by incorporating an inflection point which exists on a fine-line line pattern, creating a characteristic point and making a line pattern approximate to a broken line based upon the characteristic point. CONSTITUTION:A free picture making drawing is read by a picture input device 1 under a control of an address control part 8 and fetched into a picture memory 2 as a binary output signal. In part of the line pattern, ain inflection point is extracted by an inflection point extracting part 3 and simultaneously, a linked line pattern is created at a fine line part 4. The inflection point is shifted onto the fine-line pattern by an inflection point shifting part 5 and a prescribed processing is executed. A distance between obtained inflection points is calculated at an inflection point incorporating part 6, and when the value is a threshold or below, a true center of gravity is obtained by incorporating them and a broken line approximately pattern can be made.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は線図形の折線近似方式の改良に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an improvement in a broken line approximation method for line figures.

地図等の線図形処理において、線図形の折線近似を行な
って線図形の処理を進める技法がある。
In processing line figures such as maps, there is a technique that performs a broken-line approximation of the line figure to proceed with the processing of the line figure.

その折線近似は当然のことながら、原線図形の特徴を可
能な限り保存して為されることが望ましい。
Naturally, it is desirable that the broken line approximation be performed while preserving the characteristics of the original line figure as much as possible.

又、その処理中の不所望な要素の混入を排除し得て上記
要求を満たし得ることも重要なこととなる。
It is also important that the above requirements can be met by eliminating the contamination of undesirable elements during the processing.

〔従来の技術〕[Conventional technology]

従来の線図形の折線近似方式は先ず線図形を細線化し、
その細線化された線図形の変曲点1分岐点を抽出しこれ
らの点を基に線図形の折線近似による近似図形を得ると
いうものである。
The conventional broken line approximation method for line figures first thins the line figure,
One inflection point or one branching point of the thinned line figure is extracted, and based on these points, an approximate figure is obtained by the broken line approximation of the line figure.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この方式には、線図形の細線化においてその変曲点1分
岐点にヒゲ等が発生し易く、そのため、得られる近似図
形は原線図形の特徴を十分に保存した忠実な近似図形が
得られない場合が生ずるという欠点がある。
In this method, whiskers are likely to occur at the inflection point and one branch point when the line figure is thinned, and therefore, the obtained approximate figure is a faithful approximate figure that sufficiently preserves the characteristics of the original line figure. The disadvantage is that there are cases where this is not possible.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点を解決し得る線図形の折線近似方式
を提供するもので、その手段は線図形の2値化された線
図形パターンを出力する手段と、該線図形パターンの屈
曲点を抽出する手段と、前記線図形パターンを細線化す
る手段と、細線化された線図形パターン上に前記屈曲点
を移動させる手段と、細線化された線図形パターン上に
存在する屈曲点を統合して特徴点を生成する手段とを備
え、前記線図形パターン上の特徴点を基にして線図形を
折線近似するようにしたものである。
The present invention provides a broken line approximation method for line figures that can solve the above-mentioned problems. means for extracting, means for thinning the line figure pattern, means for moving the bending point on the thinned line figure pattern, and integrating the bending points existing on the thinned line figure pattern. and means for generating feature points based on the feature points on the line figure pattern, and the line figure is approximated by broken lines based on the feature points on the line figure pattern.

〔作用〕[Effect]

本発明方式によれば、線図形パターンから抽出された屈
曲点を細線化された線図形パターン上に移動し、移動さ
れた屈曲点を統合して特徴点を生成し、それぞれの特徴
点を基にして線図形の折線近似を得るようにしているか
ら、原線図形の特徴を失うことなく受は継いでいる原線
図形に忠実な近似線図形を得ることができる。
According to the method of the present invention, the bending points extracted from the line figure pattern are moved onto the thinned line figure pattern, the moved bending points are integrated to generate feature points, and each feature point is used as the basis. Since the broken-line approximation of the line figure is obtained by using this method, it is possible to obtain an approximate line figure that is faithful to the original line figure to which the receiver continues without losing the characteristics of the original line figure.

〔実施例〕 以下、添付図面を参照しながら、本発明の詳細な説明す
る。
[Example] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の一実施例を示す。この図において、■
は自由作画された被撮像体から線図形信号を発生するF
AX等の画像入力装置で、2は画像入力装置1からの2
値化画像(線図形)出力信号を格納する画像メモリであ
る。3は画像メモリ2から成る大きさで線図形パターン
を切り出しその線図形パターンから屈曲点を抽出する屈
曲点抽出部である。4は線図形パターンを細線化する細
線化部である。5は細線化された線図形パターンに屈曲
点を移動させる屈曲点移動部である。6は細線化された
線図形パターン上の屈曲点を統合して特徴点を生成する
屈曲点統合部である。7は制御部で、屈曲点抽出部3、
細線化部4、屈曲点移動部5、屈曲点統合部6及びアド
レス制御部8は制御部7の制御の下におかれ、アドレス
制御部8は画像メモリ2への書込み制御及びそこからの
読み出し制御を行なう。
FIG. 1 shows an embodiment of the invention. In this figure, ■
is an F that generates a line figure signal from a freely drawn imaged object.
In an image input device such as AX, 2 is the 2 from image input device 1.
This is an image memory that stores digitized image (line figure) output signals. Reference numeral 3 denotes an inflection point extracting section which cuts out a line figure pattern in the size of the image memory 2 and extracts inflection points from the line figure pattern. Reference numeral 4 denotes a thinning section that thins the line figure pattern. Reference numeral 5 denotes a bending point moving unit that moves the bending point in the thinned line figure pattern. Reference numeral 6 denotes a bending point integrating unit that integrates bending points on the thinned line figure pattern to generate feature points. 7 is a control unit, which includes a bending point extraction unit 3;
The thinning section 4, bending point moving section 5, bending point integrating section 6, and address control section 8 are placed under the control of a control section 7, and the address control section 8 controls writing to the image memory 2 and reading from it. control.

上述構成の下における線図形の折線近似処理過程を以下
に説明する。
The process of polygonal line approximation of a line figure under the above configuration will be described below.

自由作画図面が画像入力装置1にて読み取られ、その線
図形データがアドレス制御部8の制御の下に画像メモリ
2に取り込まれ、その線図形パターンの一部が屈曲点抽
出部3にて切り出され(第2図参照)、そこから屈曲点
が抽出される(第3図参照)。この屈曲点抽出技法は特
願昭  −号に開示される「線図形の屈曲点抽出方式」
を用いる。この抽出処理を行なうことにより、線図形パ
ターンの輪郭上の各点に0乃至24の値をとる傾きコー
ドが付与される(第5図及び第6図参照)。
A free drawing drawing is read by the image input device 1, its line figure data is taken into the image memory 2 under the control of the address control section 8, and a part of the line figure pattern is extracted by the bending point extraction section 3. (see Fig. 2), and the bending point is extracted therefrom (see Fig. 3). This bending point extraction technique is the “line figure bending point extraction method” disclosed in the patent application No.
Use. By performing this extraction process, a slope code having a value of 0 to 24 is assigned to each point on the contour of the line graphic pattern (see FIGS. 5 and 6).

この処理と共に第2図の線図形パターンを細線化部4に
て細線化して第4図に示すような4連結線幅1の細線化
された線図形パターンを生成する。
Along with this process, the line figure pattern shown in FIG. 2 is thinned by the line thinning section 4 to generate a thin line figure pattern with a four-connected line width of 1 as shown in FIG.

そして、屈曲点移動部5にて上述した屈曲点を細線化さ
れた線図形パターン上に移動する。
Then, the bending point moving unit 5 moves the above-mentioned bending point onto the thinned line figure pattern.

この移動は第6図に示すように屈曲点の傾きコードに従
って生ぜしめられる。傾きコードは上述の屈曲点抽出処
理にて線図形の輪郭上の各点に付与されるものであり、
それが第5図に示されている。第5図において、白丸(
0)は輪郭上の点、二重丸(◎)は屈曲点であり、これ
ら丸の中の数字が傾きコードである。又、Xは細線化さ
れた線図形パターンを示す。この第5図牽用いて屈曲点
の線図化された線図形パターン上への移動を説明すると
、次のようになる。例えば、屈曲点のはその傾きコード
が1であるので、上方に移動させられて細線化された線
図形パターン上の点V、となる。屈曲点■は傾きコード
がOであるので、その前後の傾きコードが調べられる。
This movement is caused according to the inclination code of the inflection point, as shown in FIG. The slope code is given to each point on the outline of the line figure in the above-mentioned bending point extraction process,
This is shown in FIG. In Figure 5, the white circle (
0) is a point on the contour, a double circle (◎) is a bending point, and the numbers inside these circles are inclination codes. Further, X indicates a thin line pattern. The movement of the bending point onto the diagrammatic line pattern will be explained as follows with reference to FIG. For example, since the inclination code of the inflection point is 1, it becomes point V on the line figure pattern that has been moved upward and thinned. Since the inclination code of the inflection point ■ is O, the inclination codes before and after it can be checked.

この屈曲点■については4と10であるからその移動方
向はそれぞれ左上、左下となるが、その全体としての移
動方向は左となり、点v3となる。同様にして、点v2
.v4も決定される。
Since the bending points (3) are 4 and 10, their moving directions are upper left and lower left, respectively, but their overall moving direction is left, which is point v3. Similarly, point v2
.. v4 is also determined.

上述のようにして移動された屈曲点例えば点V。An inflection point, such as point V, moved as described above.

乃至74間の距離が屈曲点統合部6において計算され、
その値が成る閾値以下であるならばそれらを統合して求
められる重心を真の特徴点とする。
The distance between 74 is calculated in the bending point integration unit 6,
If the value is less than or equal to the threshold, the center of gravity obtained by integrating them is taken as the true feature point.

上述の一連の処理を第1図の線図形パターンに対して施
して得られた結果が第7図に示すような折線近似図形で
ある。
The result obtained by applying the above series of processes to the line figure pattern of FIG. 1 is a broken line approximate figure as shown in FIG.

上述の一連の処理が切り出される線図形パターン毎に対
して行なわれることにより、撮像されて取り込まれた線
図形パターン全体についての折線近似図形を得ることが
できる。−1 なお、上記実施例においては、切り出された線図形パタ
ーンに対する屈曲点抽出処理と同パターンに対する細線
化処理とが直列的に行なわれる場合について説明したが
、これら処理を並列的に行なうように構成してよいこと
は云うまでもない。
By performing the above-described series of processes for each cut-out line figure pattern, it is possible to obtain a broken line approximation figure for the entire imaged and captured line figure pattern. -1 In the above embodiment, a case has been described in which the bending point extraction process for the cut out line figure pattern and the line thinning process for the same pattern are performed in series, but it is also possible to perform these processes in parallel. Needless to say, it may be configured.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、■細線化時に生
ずるヒゲ等の影響を排除し、■しかもデータの圧縮化が
達成され、 ■原線図形の特徴を十分に受は継いでいる原綿図形に忠
実な折線近似図形を得ることができる、等の効果が得ら
れる。
As explained above, according to the present invention, it is possible to 1) eliminate the effects of whiskers, etc. that occur during thinning, 2) achieve data compression, and 2) make raw cotton that fully retains the characteristics of the original line figure. Effects such as being able to obtain a polygonal line approximation figure that is faithful to the figure can be obtained.

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

第1図は本発明の一実施例を示す図、第2図は切り出さ
れた線図形パターンを示す図、第3図は、(第2図パタ
ーンからの屈曲点の抽出を示す図、第4図は第2図パタ
ーンの細線化された線図形パターンを示す図、第5図は
屈曲点の移動を説明するための第1図パターンの拡大図
、第6図は傾きコードとその移動方向との関係を示す図
、第7図は本発明処理を受けた第2図パターンの折線近
似図形を示す図である。 図中、1は画像入力装置、2は画像メモリ、・3は屈曲
点抽出部、4は細線化部、5は屈曲点移動部、6は屈曲
点統合部、7は制御部、8はアドレス制御部である。 第1図 第2図 第 3図 第4図 第5図 wE6図 傾きコード  材動力向 24.1,2     ↑ 3.4,5      \ 6.7.8      + 9.10,11     i 12.13,14    番 15、16,17    \ 18.19,20     → 21.22,23    / 第7図
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a cut out line figure pattern, FIG. The figure shows a thin line figure pattern of the pattern in Figure 2, Figure 5 is an enlarged view of the pattern in Figure 1 to explain the movement of the bending point, and Figure 6 shows the inclination code and its movement direction. FIG. 7 is a diagram showing a broken line approximate figure of the pattern in FIG. 2 that has been processed according to the present invention. In the figure, 1 is an image input device, 2 is an image memory, and 3 is a bending point extraction 4 is a thinning section, 5 is a bending point moving section, 6 is a bending point integrating section, 7 is a control section, and 8 is an address control section. wE6 diagram inclination code Material force direction 24.1,2 ↑ 3.4,5 \6.7.8 + 9.10,11 i 12.13,14 No. 15, 16, 17 \18.19,20 → 21 .22,23 / Figure 7

Claims (2)

【特許請求の範囲】[Claims] (1)線図形の2値化された線図形パターンを出力する
手段と、該線図形パターンの屈曲点を抽出する手段と、
前記線図形パターンを細線化する手段と、細線化された
線図形パターン上に前記屈曲点を移動させる手段と、細
線化された線図形パターン上に存在する屈曲点を統合し
て特徴点を生成する手段とを備え、前記線図形パターン
上の特徴点を基にして線図形を折線近似するように構成
したことを特徴とする線図形の折線近似方式。
(1) means for outputting a binarized line figure pattern of a line figure; means for extracting bending points of the line figure pattern;
A means for thinning the line figure pattern, a means for moving the bending point on the thinned line figure pattern, and a feature point is generated by integrating the bending points existing on the thinned line figure pattern. A broken line approximation method for a line figure, characterized in that the line figure is configured to be approximated by a broken line based on feature points on the line figure pattern.
(2)前記屈曲点抽出手段は前記線図形パターンから切
り出された領域内の屈曲点を抽出するものであることを
特徴とする特許請求の範囲第1項記載の線図形の折線近
似方式。
(2) The broken line approximation method for a line figure according to claim 1, wherein the bending point extracting means extracts a bending point within a region cut out from the line figure pattern.
JP17176284A 1984-08-18 1984-08-18 Broken line approximation system of line pattern Pending JPS6151271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17176284A JPS6151271A (en) 1984-08-18 1984-08-18 Broken line approximation system of line pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17176284A JPS6151271A (en) 1984-08-18 1984-08-18 Broken line approximation system of line pattern

Publications (1)

Publication Number Publication Date
JPS6151271A true JPS6151271A (en) 1986-03-13

Family

ID=15929206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17176284A Pending JPS6151271A (en) 1984-08-18 1984-08-18 Broken line approximation system of line pattern

Country Status (1)

Country Link
JP (1) JPS6151271A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293829A (en) * 2006-03-31 2007-11-08 Canon Inc Image processing method and image processing apparatus
JP2012507067A (en) * 2008-10-28 2012-03-22 クオリティー ヴィジョン インターナショナル インコーポレイテッド Join feature boundaries

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293829A (en) * 2006-03-31 2007-11-08 Canon Inc Image processing method and image processing apparatus
JP2012507067A (en) * 2008-10-28 2012-03-22 クオリティー ヴィジョン インターナショナル インコーポレイテッド Join feature boundaries

Similar Documents

Publication Publication Date Title
US5048107A (en) Table region identification method
EP0389044B1 (en) Processing picture signals
JP2004502262A (en) Scene division without instruction intervention
JPS6151271A (en) Broken line approximation system of line pattern
JP2653386B2 (en) Drawing processing equipment
JPH0122953B2 (en)
JP3126462B2 (en) Boundary extraction method and apparatus
JPS63280384A (en) Drawing read and recognition device
JPH069062B2 (en) Area extraction device
JPS60117374A (en) System for approximating polygonal line of linear graphic form
JP2690491B2 (en) Image processing device
JP3051936B2 (en) Image analysis method
JPS61131172A (en) Polygonal line approximate system of line diagram
JP2940419B2 (en) Image processing device
JPS63120379A (en) Noise eliminating circuit
JPH0221629B2 (en)
JPS617988A (en) Pattern restoring system
JPH0343879A (en) Character area separating system for character recognizing device
JPS6232583A (en) Processing method for variable density picture
JP2874362B2 (en) Character extraction device
JPH04142684A (en) Character recognition processor
JPS60201484A (en) Picture data processing unit
JPS61122789A (en) Character reader
JPH056461A (en) Noise eliminating system
JP2003044843A (en) Automatic vectorizing method using pixel principal component analysis