JPH08161501A - Graphic extracting method - Google Patents

Graphic extracting method

Info

Publication number
JPH08161501A
JPH08161501A JP30357694A JP30357694A JPH08161501A JP H08161501 A JPH08161501 A JP H08161501A JP 30357694 A JP30357694 A JP 30357694A JP 30357694 A JP30357694 A JP 30357694A JP H08161501 A JPH08161501 A JP H08161501A
Authority
JP
Japan
Prior art keywords
section
graphic
list
polygonal line
intersection
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.)
Granted
Application number
JP30357694A
Other languages
Japanese (ja)
Other versions
JP3633011B2 (en
Inventor
Kazunori Honjo
一法 本庄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP30357694A priority Critical patent/JP3633011B2/en
Publication of JPH08161501A publication Critical patent/JPH08161501A/en
Application granted granted Critical
Publication of JP3633011B2 publication Critical patent/JP3633011B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To provide the graphic extracting method which can extracts a closed area consisting of constituent elements of graphic in optional combination. CONSTITUTION: This method has a step 1 which displays the graphic and obtains selection information on the constituent element of the graphic which form the closed area, a step 2 which represents the respective selected constituent elements as a polygonal line, a step 3 which calculates the intersections of the constituent elements represented as the polygonal line, a step 4 which calculates sections from the calculated intersections, and a step 5 which structures the extracted closed area by using polygonal line in the sections.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、図形の閉領域を抽出す
る図形抽出方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a figure extracting method for extracting a closed area of a figure.

【0002】[0002]

【従来の技術】従来図形処理機能を備えたワードプロセ
ッサやDTPなどの図形処理装置において、円・矩形・
多角形などの図形の描画が行えるようになっている。し
かしながら、従来図1のように、複数の図形の構成要素
が複雑に交差して形成される閉領域や、図2のように、
単一の図形の構成要素により閉じられた閉領域を認識し
て描画する技術は、ほとんど開示されていない。この
点、特開昭59−60560号公報、特開平2−294
323号公報に関連する記述が認められるが、前者では
矩形のような簡単な図形のみの処理に限られ、後者でも
多角形や円などの基本的な図形の組み合わせのみが扱わ
れているにすぎない。
2. Description of the Related Art In a conventional graphic processing device such as a word processor or DTP having a graphic processing function, circles, rectangles,
You can draw figures such as polygons. However, conventionally, as shown in FIG. 1, a closed region formed by complexly intersecting a plurality of graphic components, or as shown in FIG.
A technique for recognizing and drawing a closed region closed by a single graphic component is hardly disclosed. In this respect, JP-A-59-60560 and JP-A-2-294
Although the description related to Japanese Patent No. 323 is recognized, the former is limited to the processing of only simple figures such as rectangles, and the latter is only the combination of basic figures such as polygons and circles. Absent.

【0003】[0003]

【発明が解決しようとする課題】このように従来技術で
は、円・矩形・多角形以外の楕円、円弧、ベジェ曲線、
スプライン曲線などの図形の構成要素によって形成され
る閉領域を抽出することができない。また。単一の図形
の構成要素の自己交差により形成される閉領域の抽出に
ついても行うことができない。このように、従来技術で
は、閉領域の抽出の自由度が低いという問題点があっ
た。
As described above, in the prior art, ellipses other than circles, rectangles, and polygons, arcs, Bezier curves,
It is not possible to extract a closed region formed by graphic components such as spline curves. Also. Neither can the extraction of closed regions formed by the self-intersection of the components of a single figure. As described above, the conventional technique has a problem that the degree of freedom in extracting a closed region is low.

【0004】そこで本発明は、図形の構成要素の任意の
組み合わせによる閉領域を抽出することができる図形抽
出方法を提供することを目的とする。
Therefore, an object of the present invention is to provide a graphic extraction method capable of extracting a closed region by an arbitrary combination of graphic constituent elements.

【0005】[0005]

【課題を解決するための手段】本発明の図形抽出方法
は、図形を表示して閉領域を形成する図形の構成要素の
選択情報を取得するステップと、選択された各構成要素
を折れ線化するステップと、折れ線化した各構成要素同
士の交点を算出するステップと、算出した交点から区間
を算出し、区間内の折れ線を用いて抽出された閉領域を
構築するステップとを有する。
According to the figure extracting method of the present invention, a step of displaying a figure to obtain selection information of a constituent element of the figure forming a closed region, and converting each selected constituent element into a polygonal line. The method includes a step, a step of calculating an intersection of each of the polygonalized components, and a step of calculating a section from the calculated intersection and constructing a closed region extracted by using the polygonal line in the section.

【0006】[0006]

【作用】上記構成において、図形の構成要素を折れ線近
似して折れ線同士の交点を求めることにより、楕円・円
弧などの2次曲線やベジェ曲線・スプライン曲線などの
曲線、その他様々な曲線の構成要素により形成される閉
領域を、統一的な手法により、抽出することができる。
In the above construction, the constituent elements of the figure are approximated to a polygonal line and the intersections of the polygonal lines are obtained to obtain quadratic curves such as ellipses and arcs, curves such as Bezier curves and spline curves, and various other constituent elements of curves. The closed region formed by can be extracted by a uniform method.

【0007】[0007]

【実施例】次に図面を参照しながら、本発明の実施例を
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】まず本発明の実施例の図形抽出方法の概要
を簡単に説明する。図1のように、表示画面において、
3個の円、楕円が重なっている場合、図形の構成要素同
士の重なり合いにより、7つの閉領域(A,B,C,A
B,BC,CA,ABC)が形成される。たとえば、こ
れらの閉領域のうち、閉領域ABの部分のみを塗りつぶ
すために、この閉領域ABを図形として認識することを
考える。この閉領域ABは、3個の図形の構成要素の交
点である点P1、点P2、点P4を端点とする図形の境
界部分L2(P1〜P4)、L8(P1〜P2)、L1
1(P2〜P4)からなる。本実施例の図形抽出方法
は、これら交点P1,P2,P4を端点とする境界部分
(本明細書において区間という)を接続することによ
り、一つの図形を認識し、新たな図形を抽出するもので
ある。
First, the outline of the figure extracting method according to the embodiment of the present invention will be briefly described. As shown in Fig. 1, on the display screen,
When three circles and ellipses overlap, due to the overlapping of the constituent elements of the figure, seven closed areas (A, B, C, A
B, BC, CA, ABC) are formed. For example, let us consider recognizing the closed area AB as a figure in order to paint only the closed area AB of these closed areas. This closed area AB includes boundary portions L2 (P1 to P4), L8 (P1 to P2), and L1 of a figure whose ends are points P1, P2, and P4, which are the intersections of the components of the three figures.
1 (P2 to P4). The figure extracting method of the present embodiment recognizes one figure and extracts a new figure by connecting boundary portions (referred to as sections in this specification) having these intersections P1, P2 and P4 as end points. Is.

【0009】さて図3は、本発明の一実施例における図
形抽出方法が適用される図形処理装置のブロック図であ
る。図3中、1は全体を制御するCPU(中央処理装
置)、2は対象となる図形や処理状況を表示するCRT
などの表示装置、3は選択に必要な座標などをユーザが
入力するためのマウスなどの入力装置、4は図12のフ
ローチャートに沿いCPU1により実行される制御プロ
グラムなどを記憶しているROM(リードオンリーメモ
リ)、5は後述する各リストなどのための記憶領域が設
けられたRAM(ランダムアクセスメモリ)からなる主
記憶部である。
FIG. 3 is a block diagram of a graphic processing apparatus to which the graphic extraction method according to the embodiment of the present invention is applied. In FIG. 3, 1 is a CPU (central processing unit) that controls the whole, and 2 is a CRT that displays a target graphic and a processing status.
Such as a display device, 3 is an input device such as a mouse for the user to input coordinates necessary for selection, and 4 is a ROM (read-out memory) that stores a control program executed by the CPU 1 according to the flowchart of FIG. Only memory) 5 is a main storage unit including a RAM (random access memory) provided with a storage area for each list described later.

【0010】図4は、本発明の一実施例における図形抽
出方法が適用される図形処理装置の機能ブロック図であ
る。図4中、主記憶部5は、図形データを記憶する図形
リスト7、図形の選択情報を格納する選択リスト8、折
れ線化されたデータを格納する折れ線データリスト9、
交点座標を格納する交点リスト10、算出された区間の
情報を格納する区間リスト11、抽出データリスト12
を含んでいる。
FIG. 4 is a functional block diagram of a graphic processing apparatus to which the graphic extraction method according to one embodiment of the present invention is applied. In FIG. 4, the main storage unit 5 includes a graphic list 7 for storing graphic data, a selection list 8 for storing graphic selection information, a polygonal line data list 9 for storing polygonalized data,
Intersection point list 10 for storing intersection point coordinates, section list 11 for storing information on calculated sections, extracted data list 12
Is included.

【0011】このうち、図形リスト7は、図5に示すよ
うに、図形番号、図形種別、図形座標情報および座標変
換情報を含んでいる。選択リスト8は、図6に示すよう
に、選択リスト番号、選択された図形番号、指示座標を
含んでいる。折れ線データリスト9は、図7に示すよう
に、図形番号、頂点個数、頂点座標を含んでいる。交点
リスト10は、図8に示すように、図形番号、交点個
数、交点座標を含んでいる。区間リスト11は、図9に
示すように、選択リスト番号、区間端点座標1、区間端
点座標2を含んでいる。抽出データリスト12は、図1
0に示すように、頂点個数、頂点座標を含んでいる。
Of these, the graphic list 7 includes graphic numbers, graphic types, graphic coordinate information, and coordinate conversion information, as shown in FIG. As shown in FIG. 6, the selection list 8 includes a selection list number, a selected figure number, and designated coordinates. As shown in FIG. 7, the polygonal line data list 9 includes a figure number, the number of vertices, and vertex coordinates. As shown in FIG. 8, the intersection list 10 includes the figure number, the number of intersections, and the coordinates of the intersections. As shown in FIG. 9, the section list 11 includes a selection list number, section end point coordinates 1 and section end point coordinates 2. The extracted data list 12 is shown in FIG.
As shown in 0, the number of vertices and vertex coordinates are included.

【0012】図形選択手段13は、表示装置2の画面上
に表示される図形が入力装置3により指示されたかどう
かを判定するもので、選択された図形番号及び指示座標
を選択リスト8に格納する。折れ線化手段14は、選択
された図形を細分化すべく、選択リスト8に登録されて
いる図形データを読み込んで、図形の各構成要素を折れ
線近似し、その折れ線データの頂点数と頂点データを図
形番号と共に、折れ線データリスト9に格納する。この
とき、図形に回転などの座標変換などがあれば、折れ線
データを座標変換してから格納しておく。
The figure selection means 13 determines whether or not a figure displayed on the screen of the display device 2 is designated by the input device 3, and stores the selected figure number and designated coordinates in the selection list 8. . The polygonalization means 14 reads the graphic data registered in the selection list 8 in order to subdivide the selected graphic, approximates each component of the graphic with a polygonal line, and calculates the number of vertices of the polygonal data and the vertex data. It is stored in the polygonal line data list 9 together with the number. At this time, if the figure has coordinate conversion such as rotation, the polygonal line data is subjected to coordinate conversion and stored.

【0013】交点計算手段15は、折れ線データリスト
9に格納される図形を選びうる全ての組み合わせにおい
て、2個取り出し、取り出した図形同士の交点を計算
し、求めた交点座標と交点数を図形番号と共に、交点リ
スト10に格納する。区間算出手段16は、選択リスト
8に格納される図形の指示座標を取り出し、その指示座
標の図形番号と同じ図形番号を持つ交点リスト10のど
の交点とどの交点との間に、指示座標が挟まれるかを検
索する。検索した交点座標が見つかったならば、片方の
交点座標を区間端点座標1として、もう一方の交点座標
を区間端点座標2として、選択リスト番号と共に区間リ
スト11に格納する。
The intersection calculation means 15 takes out two intersections of all the combinations of which the shapes stored in the polygonal line data list 9 can be selected, calculates the intersections of the extracted shapes, and calculates the obtained intersection coordinates and the number of intersections as the figure numbers. It is also stored in the intersection list 10. The section calculation means 16 takes out the designated coordinates of the graphic stored in the selection list 8, and the designated coordinates are sandwiched between which intersection in the intersection list 10 having the same graphic number as the designated coordinate. Search for If the searched intersection coordinates are found, one of the intersection coordinates is set as the section end point coordinate 1 and the other intersection point coordinate is set as the section end point coordinate 2 and stored in the section list 11 together with the selection list number.

【0014】区間接続手段17は、区間リスト11に格
納される区間データを取りだし、最初の区間データの区
間端点座標を抽出する図形データの開始点とし、以降こ
の開始点からもう一方の区間端点座標までを同じ図形番
号を持つ折れ線データリスト9に登録される折れ線デー
タを使って補間し、最後の点を区間端点座標とする。次
に、最後の点である区間端点座標と同じ座標を持つ区間
端点座標を区間リスト11から取り出し、同じようにそ
の区間端点座標からもう一方の区間端点座標までを折れ
線データリスト9を使って補間する。これら区間を接続
して得られた折れ線データは抽出データリスト12に格
納される。
The section connecting means 17 takes out the section data stored in the section list 11 and uses it as the starting point of the figure data for extracting the section end point coordinates of the first section data, and thereafter, from this starting point to the other section end point coordinates. Up to are interpolated using the polygonal line data registered in the polygonal line data list 9 having the same figure number, and the last point is set as the segment end point coordinate. Next, the section end point coordinates having the same coordinates as the section end point coordinates, which is the last point, are extracted from the section list 11, and similarly, the section end point coordinates to the other section end point coordinates are interpolated using the polygonal line data list 9. To do. The polygonal line data obtained by connecting these sections is stored in the extracted data list 12.

【0015】また制御部6は、他の要素をコントロール
するものであり、図形選択手段13、折れ線化手段1
4、交点計算手段15、区間算出手段16、区間接続手
段17及び制御部6は、CPU1がROM4内の制御プ
ログラムを実行することにより実現される。
The control section 6 controls other elements, and includes the graphic selection means 13 and the polygonalization means 1.
4, the intersection calculation unit 15, the section calculation unit 16, the section connection unit 17, and the control unit 6 are realized by the CPU 1 executing the control program in the ROM 4.

【0016】次に本実施例の図形抽出方法の、各プロセ
スを図12のフローチャートに沿って説明する。まず、
表示装置2には、図1のように図形F1,F2,F3が
3個互いに重なって表示されているものとする。また図
形F2は、回転した楕円である。そして、入力装置3に
より、点Q1が指示されると、図形選択手段13は、ど
の図形が選択されたのかを検索し、その結果検索された
図形F2が選択リスト8に登録される。同じように点Q
2,Q3が指示された場合も、それぞれ図形F1,F3
が選択リスト8に登録される(ステップ1)。
Next, each process of the figure extracting method of this embodiment will be described with reference to the flowchart of FIG. First,
It is assumed that three figures F1, F2, and F3 are displayed on the display device 2 so as to overlap each other, as shown in FIG. The figure F2 is a rotated ellipse. Then, when the point Q1 is designated by the input device 3, the figure selecting means 13 searches which figure is selected, and the figure F2 searched as a result is registered in the selection list 8. Similarly point Q
Even when 2 and Q3 are instructed, figures F1 and F3, respectively
Is registered in the selection list 8 (step 1).

【0017】この後図示していない閉領域抽出コマンド
が入力されると、まず選択リスト8に登録された図形F
1,F2,F3の各図形データの折れ線化処理が折れ線
化手段14により実施され、折れ線化データが折れ線デ
ータリスト9に格納される(ステップ2)。このとき、
楕円の折れ線化データは図示しない座標変換装置によ
り、回転の座標変換が行われる。次に、折れ線データリ
スト9に登録されたデータを使って交点計算手段15
が、登録された3個の図形データから2つの図形を選び
出しうる組み合わせだけ交点計算を実施し、結果を図形
毎に交点リスト10に格納する(ステップ3)。たとえ
ば図8のように、図形F1の交点は、P1,P4,P
5,P3、図形F2の交点はP1,P2,P5,P6、
図形F3の交点はP6,P4,P2,P3となる。次
に、区間算出手段16が、選択リスト8に格納される図
形の選択座標Q1,Q2,Q3を取りだし、これらの選
択座標Q1,Q2,Q3が同じ図形番号を持つ交点リス
ト10のどの交点とどの交点の間にあるかを検索し、そ
の結果を区間リスト11に格納する(ステップ4)。最
後に区間接続手段17が、区間リスト11に登録される
3つの区間の接続を行い、新たな閉領域を抽出された閉
領域として構築し、抽出データリスト12に格納する
(ステップ5)。ここでは、まず区間接続手段17が区
間リスト11の先頭に格納される区間端点座標1(P
1)を取り出し、この座標を抽出図形の開始点とし、こ
の区間を折れ線補間する(区間L8の折れ線化)。この
とき、折れ線補間するデータは、区間リスト11の先頭
の選択リスト番号1と選択リスト8から図形番号2を選
び出し、図形番号2の折れ線データリスト9が使用され
る。次に、区間の終了座標である区間端点座標2(P
2)と同じ座標を持つ区間端点座標を検索し、その結果
3番目の区間の区間端点座標2(P2)が検索され、1
番目の区間の区間端点座標2(P2)とこの区間の区間
端点座標2(P2)とを接続する。同じようにこの区間
を折れ線補間し(区間L11の折れ線化)、この区間の
終了座標である区間端点座標1(P4)と同じ座標を持
つ区間端点座標を検索し、その結果2番目の区間の区間
端点座標2(P4)が検索され、3番目の区間の区間端
点座標1(P4)とこの区間の区間端点座標2(P4)
とを接続する。同じようにこの区間を折れ線補間し(区
間L2の折れ線化)、この区間の終了座標である区間端
点座標1(P1)と同じ座標を持つ区間端点座標を検索
し、その結果1番目の区間の区間端点座標1(P1)が
検索され、2番目の区間の区間端点座標1(P1)と1
番目の区間の区間端点座標1(P1)とを接続する。1
番目の区間の区間端点座標1は抽出図形の開始点である
のでここで処理を中断する。折れ線化したデータは頂点
数とともに抽出データリスト12に格納される。
When a closed area extraction command (not shown) is input thereafter, first, the figure F registered in the selection list 8 is entered.
The polygonalization processing of each figure data of 1, F2, F3 is performed by the polygonalization means 14, and the polygonalized data is stored in the polygonal line data list 9 (step 2). At this time,
The elliptic polygonalized data is subjected to rotation coordinate conversion by a coordinate conversion device (not shown). Next, using the data registered in the polygonal line data list 9, the intersection calculation means 15
However, intersection calculation is performed only for combinations that can select two figures from the registered three figure data, and the result is stored in the intersection list 10 for each figure (step 3). For example, as shown in FIG. 8, the intersections of the figure F1 are P1, P4, P
5, P3, the intersection of the figure F2 is P1, P2, P5, P6,
The intersections of the figure F3 are P6, P4, P2 and P3. Next, the section calculating means 16 takes out the selection coordinates Q1, Q2, Q3 of the graphic stored in the selection list 8, and these selection coordinates Q1, Q2, Q3 correspond to which intersection of the intersection list 10 having the same graphic number. A search is made between which intersections, and the result is stored in the section list 11 (step 4). Finally, the section connecting means 17 connects the three sections registered in the section list 11, constructs a new closed area as an extracted closed area, and stores it in the extracted data list 12 (step 5). Here, first, the section connecting means 17 stores the section end point coordinates 1 (P
1) is taken out, this coordinate is used as the starting point of the extracted figure, and this section is subjected to polygonal line interpolation (segmentation of section L8). At this time, as the data for the polygonal line interpolation, the graphic number 2 is selected from the selection list number 1 and the selection list 8 at the head of the section list 11, and the polygonal line data list 9 of the graphic number 2 is used. Next, the section end point coordinates 2 (P
The section end point coordinates having the same coordinates as 2) are searched, and as a result, the section end point coordinates 2 (P2) of the third section are searched and 1
The section end point coordinate 2 (P2) of the second section and the section end point coordinate 2 (P2) of this section are connected. Similarly, this section is subjected to polygonal line interpolation (segment L11 is made into a polygonal line), and section end point coordinates having the same coordinates as the section end point coordinate 1 (P4) which is the end coordinate of this section are searched, and as a result, the second section The section end point coordinate 2 (P4) is searched, and the section end point coordinate 1 (P4) of the third section and the section end point coordinate 2 (P4) of this section.
And connect. Similarly, this section is subjected to polygonal line interpolation (segment L2 is made into a polygonal line), and the section end point coordinates having the same coordinates as the section end point coordinate 1 (P1), which is the end coordinate of this section, are searched, and as a result, the first section The section end point coordinate 1 (P1) is searched and the section end point coordinate 1 (P1) and 1 of the second section are searched.
The section end point coordinate 1 (P1) of the second section is connected. 1
Since the section end point coordinate 1 of the second section is the start point of the extracted figure, the processing is interrupted here. The polygonalized data is stored in the extracted data list 12 together with the number of vertices.

【0018】もちろん上記の方法によれば、図1におけ
る別の閉領域(たとえばA,ABCなど)も同様の処理
により抽出することができる。また全ての図形を折れ線
化して閉領域を抽出するため、例えば楕円、円弧などの
2次曲線やベジェ曲線、スプライン曲線などの図形の組
み合わせや回転などがかかった図形で形成される複雑な
形状の閉領域も同様に簡単に抽出することができる。例
えば図11の着色した部分のようなものも抽出可能であ
る。
Of course, according to the above method, another closed region (for example, A, ABC, etc.) in FIG. 1 can be extracted by the same process. Further, since all the figures are broken lines and the closed region is extracted, for example, a complex shape formed by a combination of figures such as a quadratic curve such as an ellipse and an arc, a Bezier curve, and a spline curve, and rotation is applied. The closed region can be easily extracted as well. For example, a colored part in FIG. 11 can also be extracted.

【0019】さらに、図2のように単一の図形の自己交
差による閉領域を抽出する場合には、折れ線化した図形
自身での交点計算を行えば、同様に閉領域を抽出するこ
とができる。
Further, in the case of extracting a closed area by self-intersection of a single figure as shown in FIG. 2, the closed area can be similarly extracted by calculating the intersection point of the polygonalized figure itself. .

【0020】[0020]

【発明の効果】本発明の図形抽出方法は、図形を表示し
て閉領域を形成する図形の構成要素の選択情報を取得す
るステップと、選択された各構成要素を折れ線化するス
テップと、折れ線化した各構成要素同士の交点を算出す
るステップと、算出した交点から区間を算出し、区間内
の折れ線を用いて抽出された閉領域を構築するステップ
とを有するので、任意の形状の図形の構成要素から構成
される閉領域を統一的な手法により柔軟かつ簡単に抽出
することができる。
According to the figure extracting method of the present invention, the step of displaying the figure and acquiring the selection information of the constituent elements of the figure forming the closed region, the step of converting each selected constituent element into a broken line, and the broken line Since it has a step of calculating an intersection of each of the converted constituent elements and a step of calculating a section from the calculated intersection and constructing a closed area extracted using a polygonal line in the section, It is possible to extract a closed region composed of components flexibly and easily by a unified method.

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

【図1】本発明の一実施例における閉領域の例示図FIG. 1 is an exemplary view of a closed region according to an embodiment of the present invention.

【図2】本発明の一実施例における自己交差による閉領
域の例示図
FIG. 2 is an exemplary view of a closed region due to self-intersection in an embodiment of the present invention.

【図3】本発明の一実施例における図形抽出方法が適用
される図形処理装置のブロック図
FIG. 3 is a block diagram of a graphic processing apparatus to which a graphic extraction method according to an embodiment of the present invention is applied.

【図4】本発明の一実施例における図形抽出方法が適用
される図形処理装置の機能ブロック図
FIG. 4 is a functional block diagram of a graphic processing apparatus to which a graphic extraction method according to an embodiment of the present invention is applied.

【図5】本発明の一実施例における図形リストの例示図FIG. 5 is an exemplary diagram of a graphic list according to an embodiment of the present invention.

【図6】本発明の一実施例における選択リストの例示図FIG. 6 is an exemplary diagram of a selection list according to an embodiment of the present invention.

【図7】本発明の一実施例における折れ線データリスト
の例示図
FIG. 7 is an exemplary diagram of a polygonal line data list in one embodiment of the present invention.

【図8】本発明の一実施例における交点リストの例示図FIG. 8 is an exemplary diagram of an intersection list according to an embodiment of the present invention.

【図9】本発明の一実施例における区間リストの例示図FIG. 9 is an exemplary diagram of a section list according to an embodiment of the present invention.

【図10】本発明の一実施例における抽出データリスト
の例示図
FIG. 10 is a view showing an example of an extracted data list according to an embodiment of the present invention.

【図11】本発明の一実施例における閉領域の例示図FIG. 11 is a view showing an example of a closed area according to an embodiment of the present invention.

【図12】本発明の一実施例における図形抽出方法のフ
ローチャート
FIG. 12 is a flowchart of a figure extracting method according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

2 表示装置 3 入力装置 5 主記憶部 6 制御部 7 図形リスト 8 選択リスト 9 折れ線データリスト 10 交点リスト 11 区間リスト 12 抽出データリスト 13 図形選択手段 14 折れ線化手段 15 交点計算手段 16 区間算出手段 17 区間接続手段 2 display device 3 input device 5 main memory unit 6 control unit 7 figure list 8 selection list 9 polygonal line data list 10 intersection point list 11 section list 12 extraction data list 13 figure selecting means 14 polygonal line forming section 15 intersection point calculating section 16 section calculating section 17 Section connection means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】図形を表示して閉領域を形成する図形の構
成要素の選択情報を取得するステップと、選択された各
構成要素を折れ線化するステップと、折れ線化した各構
成要素同士の交点を算出するステップと、算出した交点
から区間を算出し、区間内の折れ線を用いて抽出された
閉領域を構築するステップとを有することを特徴とする
図形抽出方法。
1. A step of displaying selection information of a constituent element of a graphic forming a closed area, a step of converting each selected constituent element into a polygonal line, and an intersection point of each of the polygonalized constituent elements. And a step of calculating a section from the calculated intersection and constructing a closed region extracted by using a polygonal line in the section.
JP30357694A 1994-12-07 1994-12-07 Figure extraction method Expired - Fee Related JP3633011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30357694A JP3633011B2 (en) 1994-12-07 1994-12-07 Figure extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30357694A JP3633011B2 (en) 1994-12-07 1994-12-07 Figure extraction method

Publications (2)

Publication Number Publication Date
JPH08161501A true JPH08161501A (en) 1996-06-21
JP3633011B2 JP3633011B2 (en) 2005-03-30

Family

ID=17922670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30357694A Expired - Fee Related JP3633011B2 (en) 1994-12-07 1994-12-07 Figure extraction method

Country Status (1)

Country Link
JP (1) JP3633011B2 (en)

Also Published As

Publication number Publication date
JP3633011B2 (en) 2005-03-30

Similar Documents

Publication Publication Date Title
JP3574202B2 (en) Graphic I / O device
US5818460A (en) Method for performing polygon set operations on polygonal regions
US6128023A (en) Apparatus and method for editing character train on CAD picture plane and storage medium storing CAD character train editing program
JP2828271B2 (en) Shape generation method in CAD system
JPH08161501A (en) Graphic extracting method
JPH10240790A (en) Method for instructing formation of fillet surface
JP2001357077A (en) Cad system
JP2610828B2 (en) Figure information extraction method
JP2669366B2 (en) Line-symmetric figure input device
JP2536948B2 (en) Three-point specified circular arc detection method and device
JPH06259507A (en) Graphic dividing device
JP2575636B2 (en) Graphic display device
JP2723058B2 (en) Line-symmetric figure input device
JP2879831B2 (en) Graphic element extraction method
JP3234989B2 (en) Paper container design system
JPH04308886A (en) Map information input device
JPH0113581B2 (en)
JPH02130689A (en) Graphic processor
JP2637208B2 (en) Graphic processing system
JPH08138068A (en) Device and method for graphic generation
JPH06215145A (en) Graph preparing device
JPH01134673A (en) Method and device for displaying data of block chart
JPH04139585A (en) Image processor
JPH08171646A (en) Graphic preparation device
JPH02144770A (en) Display device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041029

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20041207

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041220

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090107

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20100107

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20110107

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20120107

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees