JPH0520419A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0520419A
JPH0520419A JP17117591A JP17117591A JPH0520419A JP H0520419 A JPH0520419 A JP H0520419A JP 17117591 A JP17117591 A JP 17117591A JP 17117591 A JP17117591 A JP 17117591A JP H0520419 A JPH0520419 A JP H0520419A
Authority
JP
Japan
Prior art keywords
graphic
independent
line segment
processing
grouping
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
JP17117591A
Other languages
Japanese (ja)
Inventor
Michiyo Amano
美智代 天野
Ritsuko Kagami
律子 加賀美
Takeshi Kawaguchi
猛 川口
Katsumi Iida
克己 飯田
Kazuyo Takeuchi
一代 武内
Yoshihisa Kayanaka
良久 茅中
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP17117591A priority Critical patent/JPH0520419A/en
Publication of JPH0520419A publication Critical patent/JPH0520419A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To eliminate wasteful graphic analysis and grouping work and to easily obtain a recognized graphic desired by an operator by recognizing the graphic composed of plural segments as the independent graphic of a prescribed condition and analyzing and grouping it. CONSTITUTION:An input means 1 is composed of a keyboard mouse or the like, and inputs information required for editing the graphic. A processing control means 3 as a recognition means recognizes plural pieces of segment data in graphic data for which the input means 1 designates as the independent graphics which do not have a contact or an intersection. Independent graphic information recognized by the processing control means 3 is stored in a storage means 2, and the processing control means 3 reads a processing procedure from the storage means 2 and executes processing in accordance with the read procedure. Thus, inputted and edited graphic data is displayed and printed by CRT being an output means 4 and a printer with such a processing. Thus, the data can be edited and processed as a graphic group having a unit as the independent graphic.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、図形処理装置に関し、
更に詳細には、図形編集を行う際に、複数線分からなる
図形中から、接点または交点を持つつながった線分(以
下、接続線分と称する)により構成され、他の図形との
間に接点または交点を持たない独立した図形(以下、独
立図形と称する)を認識し、その独立図形に基づいた新
たな図形を処理単位とするような特殊なグループ化を行
う図形処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing device,
More specifically, when a graphic is edited, it is composed of a connected line segment having a contact point or an intersection point (hereinafter referred to as a connection line segment) from a graphic consisting of a plurality of line segments, and a contact point with another graphic. Also, the present invention relates to a graphic processing apparatus that recognizes an independent graphic having no intersection (hereinafter referred to as an independent graphic) and performs special grouping such that a new graphic based on the independent graphic is used as a processing unit.

【0002】[0002]

【従来の技術】従来、図形処理装置は編集機能として分
解、グループ化の機能を持つものが多く、オペレータか
ら認識される図形の単位は、基本図形、即ち構成時に指
定された図形以外に、オペレータの指示によりグループ
化された図形、或は直線分や曲線分に分解された単体図
形などがある。
2. Description of the Related Art Conventionally, many graphic processing devices have a function of disassembling and grouping as an editing function, and the unit of the graphic recognized by the operator is not only the basic graphic, that is, the graphic specified at the time of construction but also the operator. There is a figure grouped by the instruction of, or a single figure decomposed into straight lines and curved lines.

【0003】例えば、図形の認識例を簡単な顔をあらわ
した構成図形について図4乃至図6,図8を用いて説明
する。図4は、構成図形の全体図、図5は、基本図形を
認識単位とした場合の各認識図形、図6は、目的とする
図形認識単位である顔の各部分単位の図形、図8は、顔
の各部分ごとにグループ化する操作の簡単なフローチャ
ートである。
For example, an example of recognizing a graphic will be described with reference to FIGS. 4 to 6 and FIG. 8 about a constituent graphic representing a simple face. FIG. 4 is an overall view of constituent graphics, FIG. 5 is each recognition graphic when a basic graphic is a recognition unit, FIG. 6 is a graphic of each part of a face which is a target graphic recognition unit, and FIG. , Is a simple flowchart of an operation of grouping each part of a face.

【0004】先ず、図4に示される顔の図形は、図5で
示されるような、髪を表す部分の4個の開曲線,2個の
直線、耳を表す部分の2個の開曲線、顔の輪郭を表す部
分の1個の開曲線、首を表す部分の2個の直線、眉毛を
表す部分の2個の開曲線、目を表す部分の12個の直
線,4個の円弧,2個の円、鼻を表す部分の1個の直線
分列(折れ線)、口を表す部分の1個の開曲線、の以上
合計33個の基本図形を入力することにより構成され
る。そして、一般に図4の図形は、前記図5に示される
33個の基本図形として認識され、図形削除、図形移動
等の編集処理においてはその基本図形単位で処理されて
いた。
First, the figure of the face shown in FIG. 4 has four open curves representing hair, two straight lines, two open curves representing ears, as shown in FIG. 1 open curve for the part that represents the contour of the face, 2 straight lines for the part that represents the neck, 2 open curves for the part that represents the eyebrows, 12 straight lines for the part that represents the eyes, 4 arcs, 2 It is configured by inputting a total of 33 basic figures including a circle, a straight line segment (a polygonal line) representing a nose, and an open curve representing a mouth. In general, the figure in FIG. 4 is recognized as the 33 basic figures shown in FIG. 5, and in the editing processing such as figure deletion and figure movement, it is processed in the basic figure unit.

【0005】ここで、顔の各部分ごとに、即ち目,鼻,
口,眉毛の顔の部分単位で移動等の編集処理を行うこと
を目的として、グループ化を行う場合の操作について、
図8のフローチャートに基づいて説明する。まず、右目
の部分を表す6個の直線,2個の円弧、1個の円をグル
ープ化する(ステップS201)。次に、左目の部分に
ついても同様に、6個の直線,2個の円弧、1個の円を
グループ化する(ステップS202)。最後に、顔の外
形部分の髪を表す4個の開曲線,2個の直線,耳の2個
の開曲線,首の2個の直線と顔の輪郭の1個の開曲線を
グループ化する(ステップS203)。以上の操作を経
て、最終的に、33個の基本図形から図6に示すような
7個の図形として認識していた。
Here, for each part of the face, that is, eyes, nose,
Regarding the operation for grouping for the purpose of performing edit processing such as moving in units of parts of the face of the mouth and eyebrows,
This will be described based on the flowchart of FIG. First, 6 straight lines, 2 circular arcs, and 1 circle representing the right eye portion are grouped (step S201). Next, for the left eye portion, similarly, six straight lines, two arcs, and one circle are grouped (step S202). Finally, the four open curves representing the outer hair of the face, the two straight lines, the two open curves of the ears, the two straight lines of the neck and one open curve of the face outline are grouped. (Step S203). Through the above operations, the 33 basic figures were finally recognized as 7 figures as shown in FIG.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、一般に
オペレータが望む図形の編集処理単位と言うのは、人間
の感覚で認識できる、あるまとまりを持った図形である
ことが好ましいが、前記のように基本図形単位から、望
むまとまりを持った図形を得るためには、オペレータが
必要な多数の構成図形を何回か指示してグループ化を行
う必要があった。また、ある図形の一部分だけを構成要
素とする場合には、分解機能ですべてバラバラにした
後、最小限まで細分化された線分群から必要な構成要素
を選んで指示するという操作も必要となり、図形認識単
位を変更するには、煩雑な操作を必要とした。
However, in general, the unit of graphic processing desired by the operator is preferably a graphic having a certain cohesiveness that can be recognized by human senses. In order to obtain a figure having a desired cohesion from the figure units, it is necessary for the operator to instruct a large number of constituent figures several times to perform grouping. In addition, if only a part of a certain figure is to be a constituent element, it is necessary to perform an operation of selecting all the necessary constituent elements from the group of line segments that have been subdivided to the minimum, and then instructing them, after disassembling them all with the decomposition function A complicated operation was required to change the figure recognition unit.

【0007】本発明は、上述した問題点を解決するため
になされたものであり、特殊なグループ化処理として、
接点または交点を持つつながった線分により構成され、
他の図形との間に接点または交点を持たない独立した図
形単位で、図形を認識する機能を設けることにより、無
駄な図形の分解やグループ化の作業を省き、編集処理の
ためにオペレータが希望する認識図形を得易くすること
を目的としている。
The present invention has been made to solve the above-mentioned problems, and as a special grouping process,
Composed of connected line segments with contact points or intersections,
By providing a function for recognizing figures in independent figure units that have no contact points or intersections with other figures, the operator can save unnecessary figure disassembly and grouping work, and the operator wishes for editing processing. The purpose is to make it easier to obtain a recognized figure.

【0008】[0008]

【課題を解決するための手段】この目的を達成するため
に本発明の図形処理装置は、図形を編集するのに必要な
情報を入力する入力手段と、前記入力手段によって指定
された図形データの複数の線分データから、接点または
交点を持つつながった線分により構成され、他図形との
間に接点または交点を持たない独立した図形として認識
する認識手段と、前記認識手段によって認識された独立
図形情報を記憶する記憶手段とを備え、編集処理単位を
認識された独立図形単位に変更する機能を持つ。
In order to achieve this object, a graphic processing apparatus of the present invention has an input means for inputting information necessary for editing a graphic, and graphic data designated by the input means. Recognizing means for recognizing from a plurality of line segment data as an independent figure composed of connected line segments having contact points or intersection points and having no contact points or intersection points with other figures, and independent means recognized by the recognition means It has a storage means for storing graphic information and has a function of changing the unit of editing processing to the recognized independent graphic unit.

【0009】[0009]

【作用】上記の構成を有する本発明の図形処理装置は、
複数線分から構成される図形を、前記した条件の独立図
形として認識する認識手段によって分解,グループ化す
ることにより、独立図形としてのまとまりを持った図形
群として、編集処理を行うことを可能にする。
The graphic processing apparatus of the present invention having the above-mentioned configuration is
By decomposing and grouping a figure composed of a plurality of line segments by a recognition means for recognizing the figure as an independent figure of the above condition, it becomes possible to perform an editing process as a group of figures having a unity as an independent figure. ..

【0010】[0010]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】図1は、本発明の一実施例の全体構成を示
すブロック図である。入力手段1は、図形に関する所定
の処理目的、例えば図形データの入力、構成図形のグル
ープ変更指示等に必要な操作を指示するキーボード、マ
ウス等の手段である。記憶手段2は、前記入力手段1か
ら入力された情報に従って入力された図形データや、構
成図形の分解やグループ化を行うための処理手順や、分
解やグループ化後の新しい認識単位の図形データ等を記
憶するRAM,ROM等の回路である。処理制御手段3
は、前記記憶手段2から処理手順等を読みだしたり、読
みだした手順に従って処理を行うCPU等の回路であ
る。このCPU等の回路によって構成される処理制御手
段3は、独立図形を認識する認識手段でもある。出力手
段4は、前記処理により入力や編集された図形データに
従って表示、印字を行うCRT,プリンタ等である。
FIG. 1 is a block diagram showing the overall construction of an embodiment of the present invention. The input means 1 is a means such as a keyboard and a mouse for instructing operations necessary for a predetermined processing purpose relating to a graphic, for example, input of graphic data, instruction to change a group of constituent graphics. The storage means 2 includes graphic data input according to the information input from the input means 1, a processing procedure for disassembling and grouping constituent graphics, graphic data of a new recognition unit after disassembly and grouping, and the like. Is a circuit such as a RAM or a ROM that stores Processing control means 3
Is a circuit such as a CPU that reads out a processing procedure from the storage means 2 and performs processing according to the read procedure. The processing control means 3 constituted by a circuit such as the CPU is also a recognition means for recognizing an independent figure. The output means 4 is a CRT, a printer or the like that displays and prints according to the graphic data input or edited by the above processing.

【0012】次に図1乃至図7を参照して本実施例の図
形処理装置の動作を説明する。図2は、顔の各部分単位
で移動等の編集処理を行うことを目的とした場合に必要
な操作を示すフローチャート、図3は、独立図形グルー
プ化処理のフローチャート、図4は、本実施例の簡単な
顔を表わす構成図形の全体図、図5は、図4の構成図形
について基本図形を認識単位とした場合の各認識図形、
図6は、目的とする図形認識単位である顔の各部分単位
の図形、図7は、独立図形グループ化処理の説明に用い
られる各独立図形である。
Next, the operation of the graphic processing apparatus of this embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing operations required for the purpose of performing editing processing such as movement of each part of a face, FIG. 3 is a flowchart of independent figure grouping processing, and FIG. 4 is this embodiment. FIG. 5 is an overall view of constituent figures representing a simple face of FIG.
FIG. 6 is a figure of each partial unit of the face which is a target figure recognition unit, and FIG. 7 is each independent figure used for explaining the independent figure grouping process.

【0013】先ず、図4で示される簡単な顔を表わす構
成図形を、図5に示されるような、髪を表す部分の4個
の開曲線,2個の直線、耳を表す部分の2個の開曲線、
顔の輪郭を表す部分の1個の開曲線、首を表す部分の2
個の直線、眉毛を表す部分の2個の開曲線、目を表す部
分の12個の直線,4個の円弧,2個の円、鼻を表す部
分の1個の直線分列(折れ線)、口を表す部分の1個の
開曲線、以上合計33個の基本図形を入力して作成す
る。
First of all, as shown in FIG. 5, four simple open curves, two straight lines, two straight lines and two ears representing the ears are used to represent the simple face as shown in FIG. Open curve of
One open curve for the part that represents the outline of the face, 2 for the part that represents the neck
Individual straight lines, two open curves representing the eyebrows, twelve straight lines representing the eyes, four arcs, two circles, and one straight line segment (polygonal line) representing the nose. One open curve of the portion representing the mouth, and a total of 33 basic figures are input and created.

【0014】次に、前記従来技術の項であげた例(図
8)と比較するために、顔の各部分単位で移動等の編集
処理を行うことを目的とした場合に必要な処理を、図2
に基づいて説明する。前記33個の基本図形すべてを対
象として指定し、独立図形グループ化を行う(ステップ
S101)。この操作により、顔の各部分が独立図形と
して認識され、図6に示すような図形単位で編集が可能
となる。
Next, in order to compare with the example (FIG. 8) given in the section of the prior art, the processing required for the purpose of performing editing processing such as movement of each part of the face will be described. Figure 2
It will be explained based on. All 33 basic figures are designated as targets, and independent figure grouping is performed (step S101). By this operation, each part of the face is recognized as an independent figure, and the figure unit shown in FIG. 6 can be edited.

【0015】この独立図形グループ化処理について以下
に詳しく述べる。先ず、独立図形グループ化では処理対
象となる図形を指定する。この実施例では前記の通り図
4で示す全ての図形を対象とするが、この図形は図5に
示されるように33個の直線分と曲線分から構成されて
いる。次に独立図形グループ化処理内容についての詳細
を図3のフローチャートと図7を参照しながら処理順に
述べる。以下の文中で示す線分の記号は、図7中の線分
に付してある記号である。
The independent graphic grouping process will be described in detail below. First, in the independent graphic grouping, a graphic to be processed is designated. In this embodiment, as described above, all the figures shown in FIG. 4 are targeted, but as shown in FIG. 5, this figure is composed of 33 straight lines and curved lines. Next, the details of the independent figure grouping processing will be described in the order of processing with reference to the flowchart of FIG. 3 and FIG. The line segment symbols shown in the following sentences are the symbols attached to the line segments in FIG. 7.

【0016】最初に、指定図形の構成要素を調べる(ス
テップS301)。次に構成要素でチェックしていない
ものがあるかどうかの検索を行うが(ステップS30
2)、例ではまだ未チェック線分が33個残っているた
め(ステップS303,Y)、1つめの線分、この例で
は顔の輪郭を表わす曲線分A1を、独立図形の1つめの構
成要素とする(ステップS304)。次に、この独立図
形の他の構成要素を検索する(ステップS305)。線
分A1について、未チェックの接続線分を検索すると(ス
テップ311)、先ず、耳の部分を表わす曲線分A2aが
検索されるため(ステップS312,Y)、この曲線分
A2aを独立図形の構成要素に追加する(ステップS31
3)。次に、いま検索された曲線分A2aから他の構成要
素を検索する(ステップS314=S305)。曲線分
A2aについて、未チェック接続線分は存在しないため
(ステップS312,N)、再び、曲線分A1についての
未チェック接続線分検索を行なうと(ステップS31
1)、もう片方の耳の部分を表わす曲線分A2bが検索さ
れる(ステップS312,Y)。この曲線分A2bも、独
立図形の構成要素に追加し(ステップS313)、曲線
分A2a同様に他の構成要素を検索するが(ステップS3
14=S305)、未チェック接続線分が存在しないた
め、曲線分A1について、次の未チェック接続線分を検索
する(ステップS311)。次に、首の部分を表わす直
線分A2cが検索されるため(ステップS312,Y)、
これを独立図形の構成要素に追加し(ステップS31
3)、他の構成要素を検索する(ステップS314=S
305)。ここでは、髪を表わす部分の曲線分A3が検索
され(ステップS311)(ステップS312,Y)、
これも独立図形の構成要素に加え(ステップS31
3)、更に、曲線分A3についての未チェック接続線分で
ある直線分A4を検索し、以降、同様に曲線分A5,直線分
A6,曲線分A7,首の部分を表わす直線分A8を検索し、順
次独立図形の構成要素に加える。直線分A8については他
に未チェック接続線分は無く、前に戻って、曲線分A7,
直線分A6,曲線分A5,直線分A4,曲線分A3,直線分A2c
のどれについても未チェック接続線分は無い。従って、
再度曲線分A1について、未チェックの接続線分を検索す
ると(ステップS311)、曲線分A2dが検索され(ス
テップS312,Y)、これも独立図形構成要素に追加
する(ステップS313)。この曲線分A2dについても
他の構成要素を検索するが(ステップS314=S30
5)、見つからないため、再び曲線分A1についての未チ
ェック接続線分を検索する(ステップS311)。これ
以上検索されないため(ステップS312,N)(ステ
ップS305終了)、現在の独立図形構成要素を、一つ
の独立図形データとして記憶する(ステップS30
6)。以上で、図7のaが確認されたことになる。
First, the constituent elements of the designated figure are examined (step S301). Next, a search is made to see if there are any unchecked components (step S30).
2) In the example, since 33 unchecked line segments still remain (Y in step S303), the first line segment, in this example, the curved line segment A1 representing the contour of the face, is configured as the first independent figure. It is set as an element (step S304). Next, another component of this independent figure is searched (step S305). When an unchecked connecting line segment is searched for the line segment A1 (step 311), first, a curve segment A2a representing the ear portion is searched (step S312, Y).
A2a is added to the components of the independent figure (step S31).
3). Next, other constituent elements are searched for from the currently searched curve segment A2a (step S314 = S305). Curved line
Since no unchecked connecting line segment exists for A2a (step S312, N), an unchecked connecting line segment search for the curve segment A1 is performed again (step S31).
1), the curve segment A2b representing the other ear portion is searched (step S312, Y). This curved line portion A2b is also added to the constituent elements of the independent figure (step S313), and other constituent elements are searched in the same manner as the curved line portion A2a (step S3).
14 = S305), since there is no unchecked connecting line segment, the next unchecked connecting line segment is searched for the curve segment A1 (step S311). Next, since the straight line segment A2c representing the neck portion is searched (step S312, Y),
This is added to the component of the independent figure (step S31
3), other component is searched (step S314 = S)
305). Here, the curved line segment A3 representing the hair is searched (step S311) (step S312, Y),
This is also in addition to the components of the independent figure (step S31
3) Furthermore, a straight line segment A4 which is an unchecked connecting line segment for the curved line segment A3 is searched, and thereafter, the curved line segment A5 and the straight line segment are similarly searched.
A6, a curved line segment A7, and a straight line segment A8 representing the neck portion are searched and sequentially added to the constituent elements of the independent figure. There is no other unchecked connecting line segment for the straight line segment A8.
Straight segment A6, Curve segment A5, Straight segment A4, Curve segment A3, Straight segment A2c
There is no unchecked connecting line segment for any of these. Therefore,
When the unchecked connecting line segment is searched again for the curve segment A1 (step S311), the curve segment A2d is searched (step S312, Y), and this is also added to the independent graphic component (step S313). Other constituent elements are also searched for this curve A2d (step S314 = S30).
5) Since it is not found, the unchecked connecting line segment for the curve segment A1 is searched again (step S311). Since it is not searched any more (step S312, N) (step S305 ends), the current independent graphic component is stored as one independent graphic data (step S30).
6). As described above, a in FIG. 7 has been confirmed.

【0017】続いて、未チェックの線分を検索すると
(ステップS302)、まだ、22個の線分が残ってい
るため(ステップS303,Y)、眉毛を表わす曲線分
B1を新しい独立図形の構成要素とし(ステップS30
4)、その他の構成要素を検索する(ステップS30
5)。しかし、曲線分B1についての接続線分は他にない
ため(ステップS311)(ステップS312,N)、
現在の独立図形構成要素、この場合は曲線分B1のみであ
るが、これを1つの独立図形として記憶する(ステップ
S306)。同様に、もう片方の眉毛を表わす曲線分C
1,鼻を表わす直線分列D1,口を表わす曲線分E1につい
ても接続線分が存在しないため、それぞれ単独で各独立
図形として記憶する。この時点で、未チェック線分は1
8個残っている(ステップS302)(ステップS30
3,Y)。
Subsequently, when an unchecked line segment is searched (step S302), since 22 line segments still remain (step S303, Y), a curved line segment representing the eyebrows is obtained.
B1 is used as a component of a new independent figure (step S30
4) Other components are searched (step S30)
5). However, since there is no other connecting line segment for the curved segment B1 (step S311) (step S312, N),
Only the current independent figure constituent element, in this case the curved line segment B1, is stored as one independent figure (step S306). Similarly, the curved line segment C representing the other eyebrow
Since there is no connecting line segment with respect to 1, the straight line segment D1 representing the nose and the curved line segment E1 representing the mouth, they are individually stored as independent figures. At this point, the unchecked line segment is 1
Eight remains (step S302) (step S30)
3, Y).

【0018】次の新しい独立図形の構成要素を、まつげ
を表わす直線分F1とし(ステップS304)、その他の
構成要素を検索する(ステップS305)。上瞼を表わ
す曲線分(円弧)F2が検索され(ステップS311)
(ステップS312,Y)、それを独立図形構成要素に
加えた後(ステップS313)、曲線分F2から接続線分
を検索すると(ステップS314=S305)、まつげ
を表わす直線分F3a〜F3e,下瞼を表わす曲線分(円弧)
F3f,目玉を表わす曲線分(円)F3gが検索され、同様に
独立図形構成要素に加えられる。曲線分F2についての接
続線分の検索が終了し(ステップS312,N)、直線
分F1について、再度、未チェック接続線分を検索するが
(ステップS311)、他には存在しないため(ステッ
プS312,N)、現在の独立図形構成要素を一つの独
立図形として記憶する(ステップS306)。続いて、
もう一方の目を表わす部分(線分G1〜G3g)について
も、同様の処理を経て、独立図形として記憶する。
The component of the next new independent figure is set as the straight line segment F1 representing the eyelashes (step S304), and other components are searched (step S305). A curved line segment (arc) F2 representing the upper eyelid is searched (step S311).
(Step S312, Y), after adding it to the independent graphic component (step S313), when a connecting line segment is searched from the curved line segment F2 (step S314 = S305), straight line segments F3a to F3e representing the eyelashes and the lower eyelid. Curve segment (arc)
F3f and the curved line segment (circle) F3g representing the eyeball are searched and similarly added to the independent graphic component. The search for the connecting line segment for the curved line segment F2 ends (step S312, N), and the unchecked connecting line segment for the straight line segment F1 is searched again (step S311), but there is no other (step S312). , N), and stores the present independent figure constituent element as one independent figure (step S306). continue,
The part representing the other eye (line segments G1 to G3g) is also stored as an independent figure through similar processing.

【0019】以上によって、全ての線分についてチェッ
ク済みとなり(ステップS302)(ステップS30
3,N)、独立図形グループ化処理を終了する。この処
理によって、図4の構成図形は図6の7つの図形として
認識されることになる。
As a result, all the line segments have been checked (step S302) (step S30).
3, N), the independent figure grouping process ends. By this processing, the constituent graphics of FIG. 4 are recognized as the seven graphics of FIG.

【0020】上記実施例は、「独立図形グループ化機
能」という表現で、複数の図形を指定して、その中で接
続線分を認識し、独立図形単位にまとめるというもので
あるが、これは、グループ化された図形群、即ち複数図
形からなる1つのまとまった図形を指定して、独立図形
単位に分解構成するという、「独立図形分解機能」とし
ても実施することができる。
In the above embodiment, the expression "independent figure grouping function" is used to specify a plurality of figures, recognize the connecting line segments among them, and group them in independent figure units. It can also be implemented as an "independent figure disassembling function" in which a group of figures, that is, a single figure composed of a plurality of figures is designated and disassembled into individual figure units.

【0021】以上述べた本発明に係る図形処理装置は、
コンピュータにより実現することもできる。
The graphic processing apparatus according to the present invention described above is
It can also be realized by a computer.

【0022】[0022]

【発明の効果】以上説明したことから明かなように、本
発明の図形処理装置は、複数線分から構成される図形デ
ータを対象として、その各線分データから、接点または
交点を持つつながった線分により構成され、他の図形と
の間に接点または交点を持たない独立した図形として認
識する認識手段によって分解,グループ化するようにし
たので、独立図形としてのまとまりを持った図形群とし
て、編集処理を行うことが可能となり、無駄な分解及び
グループ化の作業を省き作業の効率化をはかることがで
きる。
As is apparent from the above description, the graphic processing apparatus of the present invention targets graphic data composed of a plurality of line segments, and connects each line segment data to a connected line segment having a contact point or an intersection. It is configured by means of a recognition means that recognizes as an independent figure having no contact points or intersections with other figures, and is divided into groups so that it can be edited as a group of figures having a unity as an independent figure. This makes it possible to eliminate unnecessary disassembly and grouping work and improve work efficiency.

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

【図1】本発明の一実施例の全体構成を示すブロック図
である。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention.

【図2】実施例における図形処理の概略を示すフローチ
ャートである。
FIG. 2 is a flowchart showing an outline of graphic processing in the embodiment.

【図3】独立図形グループ化処理のフローチャートであ
る。
FIG. 3 is a flowchart of an independent graphic grouping process.

【図4】簡単な顔を表わす構成図形の全体図である。FIG. 4 is an overall view of a constituent figure representing a simple face.

【図5】図4の構成図形について基本図形を認識単位と
した場合の各認識図形である。
5 is a diagram showing each recognized figure when a basic figure is used as a recognition unit for the constituent figures shown in FIG. 4;

【図6】操作目的とする顔の各部分単位を図形認識単位
とした場合の各認識図形である。
FIG. 6 is a diagram of each recognition pattern when each partial unit of the face to be operated is a pattern recognition unit.

【図7】独立図形グループ化処理の説明に用いられる各
独立図形である。
FIG. 7 shows each independent graphic used for explaining the independent graphic grouping process.

【図8】従来技術における図形処理の概略を示すフロー
チャートである。
FIG. 8 is a flowchart showing an outline of graphic processing in a conventional technique.

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

1 入力手段 2 記憶手段 3 処理制御手段 1 Input Means 2 Storage Means 3 Processing Control Means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 飯田 克己 名古屋市瑞穂区苗代町15番1号ブラザー工 業株式会社内 (72)発明者 武内 一代 名古屋市瑞穂区苗代町15番1号ブラザー工 業株式会社内 (72)発明者 茅中 良久 名古屋市瑞穂区苗代町15番1号ブラザー工 業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Katsumi Iida, No. 15 Naedai-cho, Mizuho-ku, Nagoya-shi Brother Industry Co., Ltd. Co., Ltd. (72) Inventor Yoshihisa Kanaka, 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi Brother Industrial Co., Ltd.

Claims (1)

【特許請求の範囲】 【請求項1】 図形を編集するのに必要な情報を入力す
る入力手段と、前記入力手段によって指定された図形デ
ータの複数の線分データから、接点または交点を持つつ
ながった線分により構成され、他の図形との間に接点ま
たは交点を持たない独立した図形として、図形を認識す
る認識手段と、前記認識手段によって認識された独立図
形情報を記憶する記憶手段とを備え、編集処理単位を、
認識された独立図形単位に変更することを特徴とする図
形処理装置。
Claim: What is claimed is: 1. An input means for inputting information necessary for editing a graphic, and a plurality of line segment data of graphic data designated by the input means, having a contact point or an intersection. A recognition means for recognizing the figure as an independent figure composed of a line segment and having no contact points or intersections with other figures, and a storage means for storing the independent figure information recognized by the recognition means. Prepare, edit processing unit,
A graphic processing device characterized by changing the recognized individual graphic unit.
JP17117591A 1991-07-11 1991-07-11 Graphic processor Pending JPH0520419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17117591A JPH0520419A (en) 1991-07-11 1991-07-11 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17117591A JPH0520419A (en) 1991-07-11 1991-07-11 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0520419A true JPH0520419A (en) 1993-01-29

Family

ID=15918394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17117591A Pending JPH0520419A (en) 1991-07-11 1991-07-11 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0520419A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012252520A (en) * 2011-06-02 2012-12-20 Gree Inc Vector data conversion output device, vector data conversion output method and vector data conversion output program
JP2014139827A (en) * 2014-03-26 2014-07-31 Gree Inc Vector data conversion output device, vector data conversion output method, and vector data conversion output program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012252520A (en) * 2011-06-02 2012-12-20 Gree Inc Vector data conversion output device, vector data conversion output method and vector data conversion output program
JP2014139827A (en) * 2014-03-26 2014-07-31 Gree Inc Vector data conversion output device, vector data conversion output method, and vector data conversion output program

Similar Documents

Publication Publication Date Title
ES2119211T5 (en) GRADATION SYSTEM FOR DRESSING CLOTHING.
CN1079317A (en) Electronic editing and composing device
JP3839877B2 (en) Handwritten pattern processing apparatus and handwritten pattern processing method
JPS6337478A (en) Designing apparatus utilizing computer
JP2015513924A (en) Online game providing method and system for providing character makeup
JPH11250030A (en) Evolution type algorithm execution system and program recording medium therefor
US5027420A (en) Method and apparatus for generating patterns with a user preference learning function
JPH0520419A (en) Graphic processor
JP2703173B2 (en) Pattern making system
JP2718391B2 (en) Line-symmetric figure shaping device
DeHaemer et al. The effects on decision task performance of computer synthetic voice output
JPH0512389A (en) Graphic processor
JP3341050B2 (en) Face image creation device and face image creation method
JPH07220115A (en) Three-dimensional cad system
JP4015245B2 (en) Method for converting line figure to core
KR20030086675A (en) 3D character generation method based skin template
JPH05334400A (en) Interference check system for shape model
JPS62159280A (en) Sentence input device
JPS60181977A (en) Line drawing processing system
JPS63313224A (en) Rule setting system for fuzzy control
JPH05346757A (en) Training computer system
Filhol et al. Combining constraint-based models for sign language synthesis
JPH0528237A (en) Portrait generation device
JPS61248163A (en) Input message displaying system
JPH0667931A (en) Single chip microcomputer simulator