JPS61131172A - Polygonal line approximate system of line diagram - Google Patents

Polygonal line approximate system of line diagram

Info

Publication number
JPS61131172A
JPS61131172A JP25292984A JP25292984A JPS61131172A JP S61131172 A JPS61131172 A JP S61131172A JP 25292984 A JP25292984 A JP 25292984A JP 25292984 A JP25292984 A JP 25292984A JP S61131172 A JPS61131172 A JP S61131172A
Authority
JP
Japan
Prior art keywords
line
thinning
approximation
polygonal line
circuit
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
JP25292984A
Other languages
Japanese (ja)
Inventor
Katsuhiko Nishikawa
克彦 西川
Toshio Matsuura
松浦 俊夫
Tomomitsu Murano
朋光 村野
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 JP25292984A priority Critical patent/JPS61131172A/en
Publication of JPS61131172A publication Critical patent/JPS61131172A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the polygonal line approximation for which the fidelity is high and a processing speed is fast by executing the thinning processing and the polygonal line approximation concerning the area for which the thinning processing is necessary, and incorporating the thinning processed area and the polygonal line approximated area. CONSTITUTION:A picture data inputted by a picture input device 1 are accumulated in a picture memory 2, and by an address signal of an address control part 4 controlled by a control part 3, a prescribed area is read. At such a case, in case of a complicated line diagram, the polygonal line approximation is executed by the second polygonal line approximate circuit 7 after the thinning is executed at a thinning circuit 6. At such a case, the intersection of the border between a polygonal line approximated part and the thinning part is stored, and a black picture element sandwiched with a line segment pair used for the broken line approximation is deleted and the thinning processing is executed. Next, inflection point data of the thinning processed diagram by the circuit 7 are obtained, and the border part is incorporated at an incorporating circuit 8 based upon the data concerning the intersection stored beforehand. Thus, the polygonal line approximation of the line diagram can be executed in which the fidelity is high and the processing speed is fast.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像情報処理システムにおける図形処理方式に
係り、特に線図形を細線化せずに折線近似する手法と細
線化して折線近似する手法とを併用させた線図形の折線
近似方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a graphic processing method in an image information processing system, and particularly relates to a method of approximating a line figure to a broken line without thinning it, and a method of approximating a broken line by thinning the line figure. This paper relates to a broken line approximation method for line figures that uses a combination of .

〔従来の技術〕[Conventional technology]

従来、線図形の折線近似方式としては線図形を一度細線
化し、然る後折線近似を行なう方式と、輪郭線における
屈曲点を抽出して統合し、細線化処理を施すことなく折
線近似図形を得る方式とがある。
Conventionally, as methods for approximating line figures for line figures, there are two methods: first thinning the line figure and then performing the line approximation, and two methods that extract and integrate bending points in the outline and create a line approximate figure without performing line thinning processing. There is a way to obtain it.

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

細線化処理は内部境界における端点を縮退させないよう
に走査を繰り返して除去可能点を削除していくものであ
って処理時間が長くなると共に、雑音の影響により折線
近似図形に不要な線分を生じたり図形が途切れたりする
ことがある。一方、輪郭線における屈曲点を抽出して統
合することで折線近似図形を得る方法にあっては複雑な
図形の折線近似処理を充分行なえないという欠点を有す
る。
The thinning process involves repeating scanning to delete removable points so as not to degenerate the end points at the internal boundary. This process takes a long time and also creates unnecessary line segments in the polygonal line approximation figure due to the influence of noise. or the figure may be cut off. On the other hand, the method of obtaining a polygonal line approximation figure by extracting and integrating bending points in the contour line has the disadvantage that polygonal line approximation processing for complex figures cannot be performed satisfactorily.

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

本発明は上述の問題点の解決を図った線図形の折線近似
方式を提供するもので、その手段は、入力された自由作
画線図形に対し細線化処理を施すことなく折線近似を施
行し、その折線近似が困難な線図形領域を検出したとき
その線図形領域に対し細線化処理を施してその折線近似
線図形部分を得、該折線近似線図形部分と細線化処理な
しに得た折線近似線図形部分とを統合して前記自由作画
線図形の折線近似線図形を得るようにしたものである。
The present invention provides a broken line approximation method for line figures that solves the above-mentioned problems. When a line figure area in which the broken line approximation is difficult is detected, a thinning process is applied to the line figure area to obtain the line figure part that is approximated by the broken line, and a line figure part that is approximated by the broken line and a line figure obtained without the line thinning process is obtained. The line figure parts are integrated to obtain a broken line approximate line figure of the free drawn line figure.

〔作用〕[Effect]

本発明方式によれば、切り出された所定領域内の線図形
を折線近似した結果、細線化処理の必要のある領域につ
いて細線化処理及び折線近似を行ない、細線化処理を行
なった領域と細線化しないで折線近似した領域とを統合
することにより線図形の折線近似が行なわれる。
According to the method of the present invention, as a result of performing a broken line approximation of a line figure within a predetermined region that has been cut out, thinning processing and broken line approximation are performed for the region that requires thinning processing, and the region that has been subjected to the thinning processing and the thinning A polygonal line approximation of a line figure is performed by integrating the polygonal line approximation areas without the polygonal line approximation.

従って、忠実性高く、処理速度の速い線図形の折線近似
を行ない得る。
Therefore, it is possible to perform polygonal line approximation of line figures with high fidelity and high processing speed.

〔実施例〕〔Example〕

第1図は本発明の一実施例のプロ・ツク図である。 FIG. 1 is a block diagram of one embodiment of the present invention.

図中1は自由作画された線図形を読み取る例えばファク
シミリ装置等の画像入力装置である。この画像入力装置
1により入力された画像データは画像メモリ2に蓄積さ
れる。その後、制御部3で制御されるアドレス制御部4
のアドレス信号によって所定の領域が読み出される。第
2図はこのようにして切り出された例えば市街地図等の
線図形である。この線図形には第3図で示すように切り
出し部と線図との境界における接点T、〜T6と屈曲点
P、〜P4が含まれるので第一折線近似回路5において
、これ等の各点におけるベクトルから中線Cを求めるこ
とで第4図に示すような折線近     1似図形が得
られる。ところで第5図に示されるような複雑な線図形
の場合、完全にベクトル的に折線近似することはできな
いので第1図に示す細線化回路6で細線化した後第二折
線近似回路7で折線近似する。細線化回路6の選択に際
しては、例えば第3図の屈曲点P、と接点Tsに示され
る線分に対応する対線P278が存在するか否かを平行
度、距離2重なり具合の算出等によって調べる。
In the figure, 1 is an image input device, such as a facsimile machine, which reads freely drawn line figures. Image data input by this image input device 1 is stored in an image memory 2. After that, the address control section 4 controlled by the control section 3
A predetermined area is read out by the address signal. FIG. 2 shows a line figure, such as a city map, cut out in this way. As shown in FIG. 3, this line figure includes contact points T, -T6 and bending points P, -P4 at the boundary between the cutout part and the line figure, so each of these points is By determining the median line C from the vector in , a polygonal line-like figure as shown in FIG. 4 can be obtained. By the way, in the case of a complicated line figure as shown in FIG. 5, it is not possible to completely approximate the broken line in a vector manner, so after thinning the line in the thinning circuit 6 shown in FIG. Approximate. When selecting the thinning circuit 6, for example, it is determined whether or not there is a paired line P278 corresponding to the line segment shown at the bending point P and the contact point Ts in FIG. investigate.

この際、第6図の01.D2で示す折線近似された部分
と細線化する部分との境界の交点を記憶しておく。その
後近似で用いた線分対で挾まれる黒画素を消去し、Dl
、D2で示される区間に対して細線化回路6で細線化処
理を行ない、また、細線化処理された図形の屈曲点デー
タを第2折線近似回路7で求める。更に、予め記憶した
交点D1゜D2に関するデータを基に統合回路8で境界
部分の統合を行ない、第7図に示されるような折線近似
図形9を得る。
At this time, 01 in FIG. The intersection of the boundary between the portion approximated by the broken line and the portion to be thinned, indicated by D2, is memorized. Then, erase the black pixels sandwiched by the pair of line segments used in the approximation, and Dl
, D2 is subjected to line thinning processing by a line thinning circuit 6, and bending point data of the figure subjected to line thinning processing is obtained by a second broken line approximation circuit 7. Furthermore, the boundary portions are integrated in an integrating circuit 8 based on data regarding the intersections D1 and D2 stored in advance, and a broken line approximate figure 9 as shown in FIG. 7 is obtained.

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

本発明によれば、細線化を必要とされる区間に限って細
線化処理が行なわれるので雑音の影響が少なく、原線図
形に忠実な近似図形が得られると共に処理速度の速い線
図形の折線近似方式が提供される。
According to the present invention, line thinning processing is performed only in sections where line thinning is required, so that an approximate figure that is faithful to the original line figure can be obtained with less influence of noise, and a broken line of a line figure that can be processed quickly. An approximation scheme is provided.

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

第1図は本発明の一実施例のブロック図、第2図は切り
出された線図形の一例を示す図、第3図は接点及び屈曲
点と共に示した線図形の一例を示す図、第4図は折線近
似された線図形の一例を示す図、第5図は線図形の他の
例を示す図、第6図は細線化処理される部分と折線近似
された部分とを示す図、第7図は統合された折線近似図
形を示す図である。 ■・・・画像入力装置、5・・・第一折線近似回路、6
・・・細線回路、7・・・第2折線近似回路、8・・・
統合回路。 代理人 弁 理 士  検量  宏四部(、コ’、、1
......i、:)第1図 第2図 第3図 3  T4 第4図 第5図 第6図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a cut-out line figure, FIG. 3 is a diagram showing an example of a line figure shown with contact points and bending points, and FIG. The figure shows an example of a line figure approximated by a broken line, Figure 5 shows another example of a line figure, Figure 6 shows a part to be thinned and a part approximated by a broken line. FIG. 7 is a diagram showing an integrated broken line approximate figure. ■... Image input device, 5... First broken line approximation circuit, 6
...Thin line circuit, 7...Second broken line approximation circuit, 8...
integrated circuit. Agent Patent Attorney Calibration Hiroshibu (, KO',, 1
.. .. .. .. .. .. i, :) Figure 1 Figure 2 Figure 3 Figure 3 T4 Figure 4 Figure 5 Figure 6

Claims (2)

【特許請求の範囲】[Claims] (1)入力された自由作画線図形に対し細線化処理を施
すことなく折線近似を施行し、その折線近似が困難な線
図形領域を検出したときその線図形領域に対し細線化処
理を施してその折線近似線図形部分を得、該折線近似線
図形部分と細線化処理なしに得た折線近似線図形部分と
を統合して前記自由作画線図形の折線近似線図形を得る
ことを特徴とする線図形の折線近似方式。
(1) Performs broken line approximation on the input free-drawing line figure without performing line thinning processing, and when a line figure area for which broken line approximation is difficult is detected, performs line thinning processing on that line figure area. The method is characterized in that the broken line approximate line figure part is obtained, and the broken line approximate line figure part and the broken line approximate line figure part obtained without line thinning processing are integrated to obtain the broken line approximate line figure of the free drawing line figure. Broken line approximation method for line figures.
(2)前記検出は線図形の輪郭から抽出した屈曲点間の
線分と対になる線分の抽出で行ない、前記統合は前記対
になる線分が抽出されない区間に対して細線化処理を行
ない、前記区間における端点のデータを基にして行なう
ことを特徴とする特許請求の範囲第1項記載の線図形の
折線近似方式。
(2) The detection is performed by extracting line segments that are paired with the line segments between bending points extracted from the outline of the line figure, and the integration is performed by thinning processing for sections where the paired line segments are not extracted. 2. The broken line approximation method for a line figure according to claim 1, wherein the method is performed based on data of end points in the section.
JP25292984A 1984-11-30 1984-11-30 Polygonal line approximate system of line diagram Pending JPS61131172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25292984A JPS61131172A (en) 1984-11-30 1984-11-30 Polygonal line approximate system of line diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25292984A JPS61131172A (en) 1984-11-30 1984-11-30 Polygonal line approximate system of line diagram

Publications (1)

Publication Number Publication Date
JPS61131172A true JPS61131172A (en) 1986-06-18

Family

ID=17244130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25292984A Pending JPS61131172A (en) 1984-11-30 1984-11-30 Polygonal line approximate system of line diagram

Country Status (1)

Country Link
JP (1) JPS61131172A (en)

Similar Documents

Publication Publication Date Title
JP3062382B2 (en) Image processing apparatus and method
JPS61131172A (en) Polygonal line approximate system of line diagram
JP2993007B2 (en) Image area identification device
JP2957878B2 (en) Image processing device
JPH0362177A (en) Picture processor
JP2897876B2 (en) Code data expansion processing method
JPS60117374A (en) System for approximating polygonal line of linear graphic form
JPS6151271A (en) Broken line approximation system of line pattern
JP2697860B2 (en) Image processing device
JPS6346875B2 (en)
JPS63172380A (en) Image processing system
JP2001119584A (en) Image processing method and its device
KR930008774B1 (en) Method of data compression of text image
JPH0623095Y2 (en) Image input device
JPH11308438A (en) Image processor
JPS58186874A (en) Figure discriminator
JPH04333179A (en) Device and method for recognizing type name
JPS6068482A (en) Detecting circuit of intersecting point
JPS61175877A (en) Character graphic demarcating device
JPH05276316A (en) Scanner controller
JPH01267784A (en) Noise removing device
JPH11224327A (en) Digital image processor
JPS63280384A (en) Drawing read and recognition device
JPH0271379A (en) Picture processor
KR19980021682A (en) Intersection and Road Extraction Method Using Contrast Level Image Map and Its Apparatus