JP2998465B2 - Picture data creation device - Google Patents

Picture data creation device

Info

Publication number
JP2998465B2
JP2998465B2 JP30991592A JP30991592A JP2998465B2 JP 2998465 B2 JP2998465 B2 JP 2998465B2 JP 30991592 A JP30991592 A JP 30991592A JP 30991592 A JP30991592 A JP 30991592A JP 2998465 B2 JP2998465 B2 JP 2998465B2
Authority
JP
Japan
Prior art keywords
graphic
data
picture
graphic data
name
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 - Lifetime
Application number
JP30991592A
Other languages
Japanese (ja)
Other versions
JPH05282420A (en
Inventor
秀雄 菊地
宏正 川瀬
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Publication of JPH05282420A publication Critical patent/JPH05282420A/en
Application granted granted Critical
Publication of JP2998465B2 publication Critical patent/JP2998465B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To evade the generation in duplication of a composite graphic and to discriminate the composite graphic hidden in the pattern data of combination of a fundamental graphic when the pattern data is generated. CONSTITUTION:When a desired graphic/pattern is generated by a graphic generating means 1 as displaying the pattern data inputted from an input means 3 or the fundamental graphic stored in a graphic data storage means 2 and the composite graphic on an image display part 14, new graphic data can be generated by associating an existing graphic name relating to the graphic or the pattern data to be generated by an association means 4. extracting the existing graphic data in accordance with the graphic or the pattern data to be generated by a graphic extraction means 5, and combining the existing graphic.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機を用いた絵
柄データ作成装置において、特に,複雑な図形データを
登録し、それらをまとめて処理する絵柄データ作成装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a picture data creating apparatus using an electronic computer, and more particularly to a picture data creating apparatus for registering complicated graphic data and processing them collectively.

【0002】[0002]

【従来の技術】従来、電子計算機による絵柄データ作成
装置は、図12に示すように、図形データ記憶手段2に
記憶した基本図形と複合図形を画像表示部14に表示し
ながら、図形データ作成手段1により配置、移動、消去
しながら図形を組合せて絵柄を作成していた。また、他
のシステムの作成した図形データと絵柄データを自己の
システム仕様に合わせて変換し読み込む絵柄データの入
力手段3も設けていた。
2. Description of the Related Art Conventionally, as shown in FIG. 12, a picture data generating apparatus using a computer displays a basic graphic and a composite graphic stored in a graphic data storage means 2 on an image display unit 14 while displaying the graphic data. 1, a pattern is created by combining figures while arranging, moving, and erasing. Further, there is also provided a picture data input means 3 for converting and reading graphic data and picture data created by another system according to its own system specifications.

【0003】また、基本図形を組合わせて複合図形を構
成し、更にその複合図形を組合せてより高度な複合図形
を構成する階層構造の図形データを作成する場合と、基
本図形のみの組合せの非階層構造で複合図形の図形デー
タを作成する場合があった。
In addition, there is a case where a composite figure is formed by combining basic figures, and a figure data having a hierarchical structure is formed by further combining the composite figures to form a more advanced composite figure. There has been a case where graphic data of a composite graphic is created in a hierarchical structure.

【0004】[0004]

【発明が解決しようとする課題】この従来の絵柄データ
作成装置は、同じ形状の図形データが異なる名称で記述
される場合があり、同一物として扱えずに重複して作成
され、また異なる階層構造の図形データは同じ形を表す
図形データでも同一物として扱えずに重複して作成さ
れ、また同じ階層構造の複合図形でも、それを代表する
点の位置が異なるといった軽妙なちがいがあるだけで同
一物として扱えずに多くの図形データが重複して作成さ
れる問題点があった。
In this conventional picture data creating apparatus, graphic data of the same shape may be described with different names, and cannot be treated as the same thing, but are created in duplicate and have different hierarchical structures. Are duplicated without being treated as the same even if they represent the same shape.Also, the same figure with the same hierarchical structure is the same except that the position of the representative point is different. There is a problem that many graphic data are created redundantly because they cannot be handled as objects.

【0005】また、基本図形のみで記述した絵柄データ
がある場合、その中に複合図形の形状が埋め込まれてい
ても複合図形が判別できず複合図形を新しく作成しなけ
ればならないという問題点があった。
[0005] Further, when there is picture data described only with the basic figure, there is a problem that even if the shape of the composite figure is embedded therein, the composite figure cannot be discriminated and a new composite figure must be created. Was.

【0006】本発明の目的は、これらの問題を解決し、
絵柄データにおける複合図形の重複作成を避け、また絵
柄データ内の複合図形を判定できるようにした絵柄デー
タ作成装置を提供することにある。
[0006] The object of the present invention is to solve these problems,
It is an object of the present invention to provide a picture data creating apparatus which avoids duplicate creation of a complex picture in picture data and can determine a complex picture in the picture data.

【0007】[0007]

【課題を解決するための手段】本発明の構成は、入力手
段から入力した絵柄データまたは図形データ記憶手段に
記憶した基本図形と複合図形とを画像表示手段に表示し
ながら図形データ作成手段により所望の図形・絵柄を作
成する絵柄データ作成装置において、前記作成図形また
は前記絵柄データに関連する既存の図形名を、類似する
図形を連想する手順を記述した連想データとして記憶し
た連想記憶手段と、前記連想データにより連想される第
1の図形データ群を読み出す連想手段と、前記第1の図
形データ群から前記作成図形または前記絵柄データに一
致する第2の図形データを抽出する図形抽出手段とを備
え、前記図形データ作成手段が、前記作成図形または前
記絵柄データを前記第2の図形データと組み合せて第3
の図形データを作成すると共に、前記第2の図形データ
から前記第3の図形データを連想する手順を記述した連
想データを作成し、前記連想記憶手段に記憶させること
を特徴とする。
According to the structure of the present invention, the picture data input from the input means or the basic figure and the composite figure stored in the figure data storage means are displayed on the image display means while the desired figure data is generated by the figure data creating means. In the pattern data creating apparatus for creating the figure / pattern, the existing figure name related to the created figure or the pattern data is similar.
Stores the procedure for associating figures as associative data
Associative storage means, and a
And association means for reading one of the graphic data group, the first drawing
Figure extracting means for extracting, from the shape data group, second figure data matching the created figure or the picture data, wherein the figure data creating means
The picture data is combined with the second graphic data to form a third picture.
And the second graphic data
That describes the procedure for associating the third graphic data with
Create a virtual data, and wherein the Rukoto is stored in the associative memory unit.

【0008】[0008]

【実施例】図1は本発明の第1の実施例の絵柄データ作
成装置のブロック図である。本実施例は、絵柄データの
入力手段3と、連想手段4と、図形抽出手段5と、図形
想起手段7と、連想記憶手段8と、図形短期記憶手段1
2と、図形データ記憶手段2と、画像表示部14と、絵
柄データ記憶手段13と、図形データ作成手段1から構
成される。
FIG. 1 is a block diagram of a picture data creating apparatus according to a first embodiment of the present invention. In this embodiment, the pattern data input means 3, the associative means 4, the graphic extracting means 5, the graphic recall means 7, the associative storage means 8, and the graphic short-term storage means 1
2, a graphic data storage unit 2, an image display unit 14, a picture data storage unit 13, and a graphic data creation unit 1.

【0009】本実施例において、絵柄データの入力手段
3は絵柄データを入力して絵柄データ記憶手段13に記
憶する。また、連想手段4は、絵柄データ記憶手段13
に記憶した絵柄データに関連する既存の図形名を連想
し、図形想起手段7は図形名から図形データを想起し図
形短期記憶手段12に記憶する。
In this embodiment, the picture data input means 3 inputs the picture data and stores it in the picture data storage means 13. The associating means 4 includes a picture data storage means 13.
The graphic recalling means 7 recalls the graphic data from the graphic name and stores the graphic data in the graphic short-term storage means 12.

【0010】図形抽出手段5は、図形短期記憶手段12
の図形データの未確定な要素に特徴が一致する絵柄デー
タを抽出し、その要素を抽出した絵柄データで確定した
新図形データを作成し図形短期記憶手段12に記憶す
る。図形抽出手段5が特定の要素に関して全ての絵柄デ
ータを照合確認したらその図形データを図形短期記憶手
段12から消去する。図形抽出手段5は図形短期記憶手
段12の図形データの全要素が確定した場合にその要素
の絵柄データの集合を個別名称を付加した一つの新絵柄
データに書直す。
The figure extracting means 5 includes a figure short-term storage means 12
The pattern data whose characteristics match the undetermined elements of the figure data is extracted, new figure data determined with the extracted pattern data is created, and stored in the figure short-term storage means 12. When the graphic extracting means 5 checks and confirms all the picture data with respect to a specific element, the graphic data is deleted from the graphic short-term storage means 12. When all the elements of the graphic data of the graphic short-term storage means 12 are determined, the graphic extracting means 5 rewrites the set of the graphic data of the elements into one new graphic data to which an individual name is added.

【0011】図形データ作成手段1は、既存図形を組合
せて新しい図形データを作成し絵柄データ記憶手段13
に記憶し、連想手段4と図形想起手段7と図形抽出手段
5とにより新しい図形データの要素を可能なかぎり図形
データ記憶手段2の既存の図形データで置換えて作成
し、図形データ作成手段1が操作者の指令で命名し、図
形データ記憶手段2に記憶し、また連想データを作成し
連想記憶手段8に記憶する。
The graphic data creating means 1 creates new graphic data by combining existing graphics, and
The graphic data creating means 1 creates the new graphic data by replacing the elements of the new graphic data with the existing graphic data in the graphic data storage means 2 as much as possible by the associating means 4, the graphic recalling means 7 and the graphic extracting means 5. It is named by the command of the operator and stored in the graphic data storage means 2, and associative data is created and stored in the associative storage means 8.

【0012】図形データ記憶手段2の記憶する図形デー
タは、次に表1〜表3に示されるようなプログラムで記
述される。各図形データは、図形を直接的に記述する直
接形状項10と、従属図形を記述する複数の従属形状項
11とからなる。
The graphic data stored in the graphic data storage means 2 is described by a program as shown in Tables 1 to 3. Each figure data includes a direct shape item 10 that directly describes a figure and a plurality of dependent shape items 11 that describe a subordinate figure.

【0013】直接形状項10は、図形名項10aと関係
式記述項10bとからなり、図形名項10aに図形名を
記述し、関係式記述項10bに変数の関係式を記述す
る。従属形状項11は、従属図形の個別名称項11a
と、図形名を記述する図形名項11bと、変数の関係式
を記述する関係式記述項11cとからなる。
The direct shape item 10 includes a graphic name item 10a and a relational expression description item 10b. A graphic name is described in the graphic name item 10a, and a variable relational expression is described in the relational expression description item 10b. The subordinate shape item 11 is an individual name item 11a of the subordinate figure.
And a graphic name item 11b that describes a graphic name, and a relational expression description item 11c that describes a relational expression of a variable.

【0014】基本変数として点の位置座標変数6(X,
Y)と線長変数Lの線方向変数Zを持ち、さらに任意に
定義する変数を持ち、各変数同士の関係を関係式で記述
する。また、従属図形の個別名称は個別名称変数11d
の名称となり、それらを等号で結んで従属図形の同一関
係を記述できる。なお、中かっこで囲った変数は、定義
済み変数を表す。図形データの任意に定義された変数は
そのデータのどの位置の関係式でも同一の変数変数とみ
なされるが、定義済み変数は適用範囲を従属図形項11
内に限定される。
The position coordinate variable 6 (X,
Y) and a line direction variable Z of a line length variable L, and further have arbitrarily defined variables, and the relationship between the variables is described by a relational expression. The individual name of the dependent graphic is an individual name variable 11d.
Can be described by connecting them with an equal sign. Note that variables enclosed in braces indicate defined variables. Variables defined arbitrarily in the graphic data are regarded as the same variable variables in relational expressions at any position in the data, but the defined variables are defined in the dependent graphic item 11.
Within.

【0015】[0015]

【表1】 [Table 1]

【0016】(点の図形データ)点の図形データは、表
1(a)に示すように、図形名変項10aに図形名
「P:点」を記述し.また、点の位置座標変数6(X,
Y)を任意に定義した位置座標変数6(X1,Y1)に
対応させる。
(Point Graphic Data) As shown in Table 1 (a), the graphic data of a point is described in the graphic name variable 10a with the graphic name "P: point". Further, the position coordinate variable 6 (X,
Y) is made to correspond to the position coordinate variable 6 (X1, Y1) arbitrarily defined.

【0017】(線の図形データ)線の図形データは、表
1(b)に示すように、図形名項10aに図形名「L:
線」を記述し、2つの端点を意味する従属図形項11を
持ち、関係式記述項10bに線長変数Lと線方向変数Z
とを位置座標変数6と結びつける関係式を持つ。関係式
記述項10bの位置座標変数6(X1,Y1),(X
2,Y2)は本図形データすなわち線分の両端点を表
す。
(Graph Data of Line) As shown in Table 1 (b), the graphic data of a line has a graphic name "L:
Line ", has a dependent graphic term 11 meaning two end points, and has a line length variable L and a line direction variable Z in a relational expression description item 10b.
Are associated with the position coordinate variable 6. The position coordinate variables 6 (X1, Y1), (X
(2, Y2) represents the main figure data, that is, both end points of the line segment.

【0018】[0018]

【表2】 [Table 2]

【0019】(三角形の図形データ)三角形の図形デー
タは、表2に示すように、図形名項10aに図形名「T
RI:三角形」を記述し、3辺に対応した3つの従属図
形項11を持つ。関係式記述項11cで線の端点同士が
つながる関係を、端点を共有する線はその端点が同一の
任意の個別名称変数11dに等しいとした関係式で記述
する。
(Graphic Data of Triangles) As shown in Table 2, the graphic data of a triangle has a graphic name "T
RI: triangle ", and has three dependent graphic terms 11 corresponding to three sides. In the relational expression description item 11c, the relationship between the end points of the lines is described by a relational expression in which the line sharing the end point is equal to the same arbitrary individual name variable 11d.

【0020】[0020]

【表3】 [Table 3]

【0021】(長方形の図形データ)長方形の図形デー
タは、表3に示すように、図形名項10aに図形名「R
EC:長方形」を記述し、4辺に対応した4つの従属図
形項11を持ち、関係式記述項11cで線の端点同士が
つながる関係を、端点を共有する線はその端点が同一の
任意の個別名称変数11dに等しいとした関係式で記述
する。4辺が互いに直角に交わる関係を各線の配置方向
変数Zの値を90度づつ増加させた関係式により記述す
る。
(Rectangular Graphic Data) As shown in Table 3, rectangular graphic data has a graphic name "R
EC: rectangle ", has four subordinate graphic terms 11 corresponding to four sides, and has a relation where end points of lines are connected by a relational expression description item 11c. A line sharing an end point is an arbitrary one having the same end point. It is described by a relational expression that is equal to the individual name variable 11d. The relationship where the four sides cross each other at right angles is described by a relational expression in which the value of the arrangement direction variable Z of each line is increased by 90 degrees.

【0022】連想記憶手段8の記憶する連想データは、
連想起動項8aと連想項8bとからなり、連想項8bは
連想種項8cと連想図形名項8dとからなり、表4にそ
の連想データを示す。
The associative data stored in the associative storage means 8 is
The associative activation term 8a and the associative term 8b are included. The associative term 8b is composed of the associative seed term 8c and the associative figure name term 8d . Table 4 shows the associative data.

【0023】[0023]

【表4】 [Table 4]

【0024】連想起動項8aと連想種項8cとを矢印で
つなぎ、更に連想図形名項8dを付加した形で記述す
る。連想図形名項8dに記録する図形名はその図形デー
タが連想起動項8aに記録した個別名称あるいは図形名
を含み、その個別名称は連想種項8cに示すものとす
る。表4では、絵柄データの図形名「L:線」から高位
の図形名「TRI:三角形」を連想する連想データ、図
形短期記憶手段12の第2の線の個別名称L_2から高
位の図形名「REC:長方形」を連想する連想データを
示す。
The associative activation term 8a and the associative seed term 8c are connected by an arrow, and the associative figure name term 8d is further described. The graphic name recorded in the associative graphic name item 8d includes the individual name or graphic name whose graphic data is recorded in the associative activation item 8a, and the individual name is shown in the associative type item 8c . In Table 4, the associative data associating the graphic name “TRI: triangle” with the higher graphic name “L: line” from the graphic name “L: line” of the picture data, and the graphic name “higher than the individual name L_2 of the second line of the graphic short-term storage means 12” [REC: rectangle].

【0025】また、連想種項8cを省略して記述した場
合、連想する図形データ内で連想起動項8aが示す図形
名で最初に存在する図形を連想種とする。
When the associative type term 8c is omitted and described, the figure which first exists under the graphic name indicated by the associative activation term 8a in the associated graphic data is set as the associative type.

【0026】絵柄データの入力手段3は、次の表5に示
すような、図形データの個別名称とと図形名と各変数の
定数で記述する非階層構造の絵柄データを入力し、絵柄
データ記憶手段13に記憶する。連想手段4が連想記憶
手段8の連想データに従い絵柄データから図形名を連想
し、図形想起手段7に図形名を渡し図形データを想起さ
せ、図形短期記憶手段12に記憶させる。
The picture data input means 3 inputs picture data having a non-hierarchical structure described by the individual names of the picture data, the picture names and the constants of each variable as shown in Table 5 below, and stores the picture data. It is stored in the means 13. The associating means 4 associates the graphic name with the picture data in accordance with the associative data of the associative storage means 8, passes the graphic name to the graphic recalling means 7, recalls the graphic data, and stores it in the graphic short-term storage means 12.

【0027】[0027]

【表5】 [Table 5]

【0028】図形抽出手段5がこの図形データの未確定
要素に特徴が一致する絵柄データをを抽出し、図形デー
タの未確定要素をその絵柄データで確定した新図形デー
タを作成する。この新図形データにまだ未確定要素が存
在する場合図形短期記憶手段12に記憶し、一方全要素
が確定した場合絵柄データのその図形データの要素に対
応する集合を新図形データの図形名の絵柄データ一つに
書直し単純化する。
The figure extracting means 5 extracts picture data whose characteristics match the undecided elements of the figure data, and creates new figure data in which the undecided elements of the figure data are decided by the picture data. If there are still undetermined elements in the new graphic data, they are stored in the graphic short-term storage means 12. If all the elements are determined, the set of the graphic data corresponding to the graphic data elements is set to the pattern with the graphic name of the new graphic data. Rewrite to one data and simplify.

【0029】[動作1]絵柄データの入力手段3が、図
2に示すような三角形の絵柄データを入力した場合の動
作を述べる。
[Operation 1] The operation when the picture data input means 3 inputs triangular picture data as shown in FIG.

【0030】(手順1)絵柄データの入力手段3は、表
5に示す絵柄データを読込み、読込んだ絵柄データを絵
柄データ記憶手段13に記憶する。
(Procedure 1) The picture data input means 3 reads the picture data shown in Table 5, and stores the read picture data in the picture data storage means 13.

【0031】(手順2)連想手段4が連想記憶手段8の
第1データに従い絵柄データ記憶手段13から図形名
「L:線」を検索し、それが存在する場合図形名「TR
I:三角形」を連想する。図形想起手段7は「TRI:
三角形」の図形データを検索しその辺L_1を抽出した
絵柄データで確定した図形データを作成し、図形短期記
憶手段12に記憶させる。
(Procedure 2) The associating means 4 retrieves the graphic name "L: line" from the picture data storing means 13 in accordance with the first data of the associative storing means 8, and if it exists, the graphic name "TR"
I: triangle. The figure recalling means 7 reads “TRI:
The graphic data of “triangle” is searched, and the graphic data determined by extracting the side L_1 is created, and the graphic data is stored in the graphic short-term storage unit 12.

【0032】(手順3)図形抽出手段5が、絵柄データ
記憶手段13から図形短期記憶手段12に記憶した「T
RI:三角形」の第2辺の図形データL_2と端点P_
2が一致する線の絵柄データを抽出し、「TRI:三角
形」の要素L_2をその絵柄データで確定した新図形デ
ータを作成し、図形短期記憶手段12に記憶させる。
(Procedure 3) The graphic extracting means 5 stores the “T” stored in the graphic short-term storing means 12 from the picture data storing means 13.
RI: Triangle ", graphic data L_2 on the second side and end point P_
The pattern data of the line where 2 coincides is extracted, new graphic data in which the element L_2 of “TRI: triangle” is determined by the pattern data is created, and is stored in the graphic short-term storage means 12.

【0033】(手順4)図形想起手段7が、絵柄データ
記憶手段13から図形短期記憶手段12に記憶した「T
RI:三角形」の第3辺の図形データL_3に一致する
線の絵柄データを抽出する。その線が存在する場合、
「TRI:三角形」の全要素が確定し、この図形データ
を形成する絵柄データの集合をまとめ第1の三角形の個
別名称TRI_1を付加した一つのに置換え、この三角
形の図形データを画像表示部14で強調表示する。
(Procedure 4) The graphic recall means 7 stores the “T” stored in the graphic short-term storage means 12 from the picture data storage means 13.
The pattern data of the line that matches the graphic data L_3 on the third side of “RI: triangle” is extracted. If that line exists,
When all the elements of "TRI: triangle" are determined, a set of pattern data forming the figure data is put together and replaced with one to which the individual name TRI_1 of the first triangle is added, and the figure data of the triangle is displayed on the image display unit 14. To highlight.

【0034】(手順5)図形データ作成手段1は検出し
た個別の三角形TRI_1に関して操作者より三角形名
「TRI−1」を受理し、図形データ記憶手段2に図形
名「TRI−1」の下に3辺の寸法を表す変数Lと配置
方向変数Zが確定した次の表6の図形データを記憶し、
「TRI:三角形」から同位の図形名「TRI−1」を
連想する連想データを作成し連想記憶手段8に記憶する
(表4)。
(Procedure 5) The graphic data creating means 1 receives the triangle name "TRI-1" from the operator for the detected individual triangle TRI_1, and stores it in the graphic data storage means 2 under the graphic name "TRI-1". The graphic data of the following Table 6 in which the variable L indicating the dimension of the three sides and the arrangement direction variable Z are determined are stored,
The associative data which associates the figure name "TRI-1" of the same rank from "TRI: triangle" is created and stored in the associative storage means 8 (Table 4).

【0035】[0035]

【表6】 [Table 6]

【0036】なお本実施例は平面図形を抽出する例を示
したが、立体図形についても同様に抽出できる。
In this embodiment, an example in which a plane figure is extracted is shown, but a three-dimensional figure can be similarly extracted.

【0037】図3は本発明の第2の実施例のブロック図
を示す。本実施例は、第1の実施例に対し、絵柄データ
を整列し等間隔で繰返す図形データ群を抽出する繰り返
し配置抽出手段15を有する図形抽出手段5が設けられ
た点と、絵柄データの入力手段3が複合図形等の図形デ
ータと絵柄データとを合せたデータを入力し、その際に
図形抽出手段5にその図形データに特徴が一致する図形
データを図形データ記憶手段2から抽出させる点が相違
する。
FIG. 3 shows a block diagram of a second embodiment of the present invention. This embodiment is different from the first embodiment in that a graphic extracting means 5 having a repetitive arrangement extracting means 15 for extracting graphic data groups for aligning and repeating graphic data at regular intervals is provided. The means 3 inputs data obtained by combining graphic data such as a composite graphic and picture data, and at this time, causes the graphic extracting means 5 to extract from the graphic data storage means 2 graphic data whose characteristics match the graphic data. Different.

【0038】絵柄データの入力手段3は、複合図形等の
図形データを入力した場合は図形抽出手段5にその図形
データを図形データ記憶手段2の既存の全図形データと
比較させて一致する既存図形データを抽出する。この際
に線と点の図形データにまで遡って比較し、既存の図形
データとデータ構造が違う場合も同じ図形を表すならば
同じ図形データと判定し、絵柄データの新図形データの
図形名を記述した箇所を既存に図形名に置換えて絵柄デ
ータを読込む。
When inputting graphic data such as a composite graphic, the graphic data input means 3 causes the graphic extracting means 5 to compare the graphic data with all the existing graphic data in the graphic data storage means 2 to match the existing graphic data. Extract data. At this time, the comparison is made back to the line and point graphic data, and if the data structure is different from the existing graphic data, the same graphic is determined if the same graphic is represented, and the graphic name of the new graphic data in the pattern data is determined. The pattern data is read by replacing the described location with the existing figure name.

【0039】図形抽出手段5が、この新図形データを図
形データ記憶手段2の既存の図形データと比較照合した
結果一致する既存図形データが無い場合は、絵柄データ
の入力手段3が新図形データを図形データ記憶手段2に
記憶する。
When the figure extracting means 5 compares the new figure data with the existing figure data in the figure data storage means 2 and finds no matching existing figure data, the picture data input means 3 outputs the new figure data. It is stored in the graphic data storage means 2.

【0040】繰り返し配置抽出手段15は、図形を種類
毎に位置座標で整列し、等間隔で並ぶ図形群を抽出し、
次の表7に示すような繰り返し図形データを作成し図形
データ記憶手段2に記憶する。
The repetitive arrangement extracting means 15 arranges the figures by position coordinates for each type, extracts a group of figures arranged at equal intervals,
The repetitive graphic data as shown in the following Table 7 is created and stored in the graphic data storage means 2.

【0041】[0041]

【表7】 [Table 7]

【0042】繰り返し図形データは、この表7に示す
「SOP−1」等の図形名と繰り返し数変換数16
(n,a1)と図形同士の相対関係を表す補助線9の寸
法を表す変数Lと繰り返し個別名称変数11dと配置方
向変数Zとを持つ。
The repetitive graphic data includes a graphic name such as "SOP-1" shown in Table 7 and a repetition number conversion number 16
It has a variable L representing the size of the auxiliary line 9 representing the relative relationship between (n, a1) and the figure, a repeated individual name variable 11d, and a placement direction variable Z.

【0043】連想手段4が「SOP−1」の図形名から
次の表8に示す「SOP2」等のより高度な複合図形名
を連想し、図形想起手段7が図形名から図形データを想
起し図形短期記憶手段12に記憶し、図形抽出手段5が
その図形データと絵柄データとを照合し一致する絵柄デ
ータの集合を複合図形の図形名の一つの絵柄データに置
換え単純化する。
The associating means 4 associates a more advanced compound graphic name such as "SOP2" shown in the following Table 8 with the graphic name of "SOP-1", and the graphic recalling means 7 recalls graphic data from the graphic name. The graphic data is stored in the graphic short-term storage means 12, and the graphic extraction means 5 collates the graphic data with the picture data, and replaces a set of matching picture data with one piece of picture data of the figure name of the complex figure, thereby simplifying it.

【0044】[0044]

【表8】 [Table 8]

【0045】[動作1]絵柄データの入力手段3が、図
4に示すような、点データと線データの組合せで記述さ
れた長方形が2列並ぶ絵柄の基本図形の図形データ(表
9(a))と基本図形の個別データで表される絵柄デー
タ(表9(b))を入力し絵柄データ記憶手段13に記
憶した場合の動作を説明する。
[Operation 1] The picture data input means 3 uses the picture data (see Table 9 (a)) of a basic picture of a picture in which two rectangles described by a combination of point data and line data are arranged in two rows as shown in FIG. )) And the picture data (Table 9 (b)) represented by the individual data of the basic figure, and the operation when the picture data is stored in the picture data storage means 13 will be described.

【0046】[0046]

【表9】 [Table 9]

【0047】(手順1)絵柄データの入力手段3が新図
形データ「REC1」を入力した場合、図形抽出手段5
にこの新図形データを図形データ記憶手段2の全図形デ
ータと比較照合させ、一致する既存の図形データがない
場合は、絵柄データの入力手段3が新図形データ「RE
C1」を図形データ記憶手段2に記憶する。また、一致
する図形データが存在する場合は、絵柄データのその図
形名「REC1」を既存の図形名に置換える。
(Procedure 1) When the picture data input means 3 inputs new graphic data "REC1", the graphic extracting means 5
The new graphic data is compared with all the graphic data in the graphic data storage means 2. If there is no existing graphic data that matches, the input means 3 for the picture data inputs the new graphic data "RE".
C1 ”is stored in the graphic data storage means 2. If there is a matching graphic data, the graphic name “REC1” of the picture data is replaced with an existing graphic name.

【0048】(手順2)絵柄データの入力手段3が繰り
返し配置抽出手段15に、絵柄データ記憶手段13の絵
柄データを座標で整列させ、図形種別「REC1」が等
間隔で並ぶ集合を抽出させる。
(Procedure 2) The picture data input means 3 causes the repetitive arrangement extracting means 15 to arrange the picture data in the picture data storage means 13 by coordinates, and to extract a set in which the picture types "REC1" are arranged at equal intervals.

【0049】図形データ作成手段1がこのように並んだ
4つの図形を結ぶ補助線9を計算し、その繰り返し数変
数16(n)の値を計算しn=3を得、操作者に図形名
を問い合わせて「SOP−1」と命名し繰り返し図形デ
ータ(表7)を作り図形データ記憶手段2に記憶する。
更に、図形データ作成手段1が図形名「REC1」から
高位の図形名「SOP−1」を連想する連想データを作
成し連想記憶手段8に記憶する。
The graphic data creating means 1 calculates the auxiliary line 9 connecting the four figures arranged in this way, calculates the value of the repetition number variable 16 (n), obtains n = 3, and gives the operator a graphic name. And repeatedly named "SOP-1" to generate figure data (Table 7) and store it in the figure data storage means 2.
Further, the graphic data creating means 1 creates associative data associating the higher graphic name “SOP-1” from the graphic name “REC1”, and stores it in the associative storage means 8.

【0050】また、絵柄データの入力手段3が絵柄デー
タ記憶手段13の図形データ「SOP−1」に符合する
絵柄データの集合を図形名「SOP−1」の一つの絵柄
データに置換え単純化する。
Further, the picture data input means 3 replaces the set of picture data corresponding to the graphic data "SOP-1" in the picture data storage means 13 with one piece of graphic data having the graphic name "SOP-1", thereby simplifying it. .

【0051】(手順3)操作者が図形データ作成手段1
により新しく作成した個別図形データ「SOP−1」の
内隣り合う2つを選択しそれらを従属図形と指定し、そ
れらを結ぶ補助線9も従属図形に加え図形名を「SOP
2」と命名した複合図形データ(表8)を作り図形デー
タ記憶手段2に記憶し、図形名「SOP−1」から高位
の図形名「SOP2」を連想する連想データを作成し連
想記憶手段8に記憶する。
(Procedure 3) The operator sets the graphic data creating means 1
Of the newly created individual graphic data "SOP-1", designate them as subordinate figures, and add an auxiliary line 9 connecting them to the subordinate figure, and add the figure name to "SOP-1".
2 is created and stored in the graphic data storage means 2, and associative data for associating the higher graphic name "SOP2" with the graphic name "SOP-1" is created. To memorize.

【0052】[動作2]予め、図形データ記憶手段2が
図形データ「SOP2」を持つ場合に、絵柄データの入
力手段3が、図5に示すような「SOP2」に一致する
図形が数箇所に存在する絵柄データを入力した場合の動
作を述べる。
[Operation 2] If the graphic data storage means 2 has the graphic data "SOP2" in advance, the graphic data input means 3 sets the graphic data matching the "SOP2" as shown in FIG. The operation in the case where existing picture data is input will be described.

【0053】(手順1)動作1の手順1から手順2で絵
柄データから図形データ「SOP−1」に符合する部分
を抽出し、図形データ「SOP−1」の個別図形データ
SOP1_1、SOP−1_2、SOP−1_3、SO
P−1_4の絵柄データに置き換える。
(Procedure 1) A part corresponding to the graphic data "SOP-1" is extracted from the picture data in the procedure 1 to the procedure 2 of the operation 1, and the individual graphic data SOP1_1 and SOP-1_2 of the graphic data "SOP-1" are extracted. , SOP-1_3, SO
Replace with the picture data of P-1_4.

【0054】(手順2)連想手段4が、図形名「SOP
−1」から図形名「SOP2」を連想し、図形想起手段
7がその図形データを読出し、図形抽出手段5がその図
形データ「SOP2」と絵柄データを比較照合し、「S
OP2」と符合する絵柄データのSOP−1_1とSO
P−1_2の組を「SOP2」の個別図形データSOP
2_1に置き換える。同じくSOP−1_3とSOP−
1_4の組もSOP2_2に置き換える(表10)。
(Procedure 2) The associating means 4 sets the graphic name “SOP
-1, the graphic name recalling means 7 reads out the graphic data, the graphic retrieving means 5 compares the graphic data "SOP2" with the picture data,
SOP-1_1 and SO of the picture data corresponding to "OP2"
The set of P-1_2 is the individual graphic data SOP of “SOP2”.
Replace with 2_1. SOP-1_3 and SOP-
The set of 1_4 is also replaced with SOP2_2 (Table 10).

【0055】[0055]

【表10】 [Table 10]

【0056】本実施例は、第1の実施例と同じく非階層
構造の図形データで複数の基本図形よりなる複合図形を
階層構造の図形データに変換することができるが、更に
図形データとそれを用いて記述された絵柄データを既存
の図形データと整合して入力することができる。また、
多数の基本図形の集合の中に埋もれている複合図形の形
状を抽出出来る利点を有する。
In this embodiment, as in the first embodiment, it is possible to convert a composite graphic composed of a plurality of basic figures into graphic data having a hierarchical structure by using graphic data having a non-hierarchical structure. It is possible to input the pattern data described using the pattern data in conformity with the existing graphic data. Also,
This has the advantage that the shape of a composite figure buried in a set of many basic figures can be extracted.

【0057】次に本発明の第3の実施例を説明する。本
実施例は、第2の実施例に対し、繰り返し図形データの
構造が、表11(a)の「SOP−0」に示すように図
形名変数10と繰り返し数変数16(n)と寸法を表す
変数Lと図形の位置座標変数6と配置方向変数Zとを持
ち、繰り返す基本図形名はもたない点が相違する。
Next, a third embodiment of the present invention will be described. This embodiment is different from the second embodiment in that the structure of the repetitive graphic data is such that the graphic name variable 10, the repetition number variable 16 (n) and the size are as shown in "SOP-0" of Table 11 (a). The difference is that it has a variable L to be represented, a position coordinate variable 6 of the figure, and an arrangement direction variable Z, and has no repeated basic figure name.

【0058】[0058]

【表11】 [Table 11]

【0059】[動作1] (手順1)第2の実施例の動作1の手順1の処理を実行
し、表9(a)の図形データ「REC1」を図形データ
記憶手段2に記憶する。
[Operation 1] (Procedure 1) The process of Procedure 1 of Operation 1 of the second embodiment is executed, and the graphic data “REC1” in Table 9 (a) is stored in the graphic data storage means 2.

【0060】(手順2)繰り返し配置抽出手段15が、
表9(b)の絵柄データの個別図形データを座標で整列
し、等間隔で並ぶ図形群を抽出する。ここで図形データ
作成手段1が4つ並んだ図形を3つの補助線9で結び、
その繰り返し数変数16(n)の値を計算しn=3を
得、補助線9のみの繰り返し図形データ(表11(a)
の「SOP−0」)を作成し,操作者に図形名を問い合
せて図形名「SOP−0」を付加し図形データ記憶手段
2に記憶し、また「P:点」から高位の図形名「SOP
−0」を連想する連想データを作成し連想記憶手段8に
記憶する。
(Procedure 2) Iterative arrangement extraction means 15
The individual graphic data of the picture data in Table 9 (b) are aligned by coordinates, and a group of graphics arranged at equal intervals is extracted. Here, the figure data creating means 1 connects the four figures arranged by three auxiliary lines 9,
The value of the repetition number variable 16 (n) is calculated to obtain n = 3, and the repetitive graphic data of only the auxiliary line 9 (Table 11 (a)
"SOP-0"), asks the operator for a graphic name, adds a graphic name "SOP-0", and stores it in the graphic data storage means 2. Also, a graphic name "P: point" higher than "P: point" SOP
The associative data which associates "-0" is created and stored in the associative storage means 8.

【0061】更に、表11(b)のように「SOP−
0」とその基本図形「REC1」を合わせた高位の図形
データを作成し、操作者に図形名を問い合せて「SOP
−1」と命名し図形データ記憶手段2に記憶し、「SO
P−0」から高位の図形名「SOP―1」を連想する連
想データを連想記憶手段8に記憶する。この後、絵柄デ
ータで図形「SOP−1」に一致する部分を図形名「S
OP−1」の絵柄データSOP−1_1とSOP−1_
2で置き換える。
Further, as shown in Table 11 (b), “SOP-
"0" and its basic figure "REC1" to create high-level figure data, inquire the figure name to the operator, and enter "SOP".
-1 "and stored in the graphic data storage means 2 and" SO
The associative data that associates the graphic name “SOP-1” with a higher rank from “P-0” is stored in the associative storage means 8. Thereafter, the part corresponding to the graphic "SOP-1" in the picture data is replaced with the graphic name "S
OP-1 "and the picture data SOP-1_1 and SOP-1_
Replace with 2.

【0062】(手順3)図形データ作成手段1が操作者
からSOP−1_1とSOP−1_2の図形データを選
択する指令を受け、その図形種別「SOP−1」をその
低位の補助線9のみの図形種別「SOP−0」に置き換
える指令を受けそれらの図形名「SOP0」を命名され
その図形データ(表12)を作成し、図形データ記憶手
段2に記憶し、「SOP−0」から高位の図形名「SO
P0」を連想する連想データを作成し連想記憶手段8に
記憶する。
(Procedure 3) The graphic data creating means 1 receives an instruction from the operator to select graphic data of SOP-1_1 and SOP-1_2, and sets the graphic type “SOP-1” to only the lower auxiliary line 9. In response to a command to replace the graphic type "SOP-0", the graphic name "SOP0" is named and the graphic data (Table 12) is created and stored in the graphic data storage means 2, and the graphic data higher than "SOP-0" Graphic name "SO
The associative data which associates "P0" is created and stored in the associative storage means 8.

【0063】[0063]

【表12】 [Table 12]

【0064】更に図形データ作成手段1が操作者の指令
に基づき「SOP0」と基本図形「REC1」を合わせ
た高位の図形データ「SOP1」を作成し図形データ記
憶手段2に記憶する。また「SOP0」から高位の図形
名「SOP1」を連想する連想データを作成し連想記憶
手段8に記憶する。
Further, the graphic data generating means 1 generates high-level graphic data “SOP1” combining “SOP0” and the basic graphic “REC1” based on an instruction from the operator, and stores the data in the graphic data storage means 2. Also, associative data that associates the higher-order graphic name “SOP1” with “SOP0” is created and stored in the associative storage means 8.

【0065】本実施例は、基本図形を任意に置き換える
繰り返し図形データを作成することにより、繰り返し図
形データを基本図形毎に作成する手間を省く利点を有す
る。
The present embodiment has the advantage of eliminating the trouble of creating repeated graphic data for each basic graphic by generating repeated graphic data for arbitrarily replacing the basic graphic.

【0066】図6は本発明の第4の実施例のブロック図
を示す。本実施例は、図形の一部の形状に任意性を残し
た図形データを作成する図形抽象化手段17を有する図
形データ作成手段1が設けられている点と、図形データ
作成手段1が新図形データ作成ごとに図形抽出手段5に
図形データ記憶手段2から新図形の高位あるいは同位の
図形データを全部抽出させる点が相違する。
FIG. 6 is a block diagram showing a fourth embodiment of the present invention. The present embodiment is different from the first embodiment in that the graphic data generating means 1 having the graphic abstracting means 17 for generating graphic data with a part of the graphic remaining arbitrary is provided. The difference is that every time data is created, the figure extracting means 5 extracts all high-order or same-order figure data of the new figure from the figure data storage means 2.

【0067】図形データ作成手段1の図形抽象化手段1
7は、操作者の指示により図形の一部に(1)回転、
(2)反転、(3)拡大縮小、(4)置き換え処理を行
ない、これらの処理で値が変わる変数の値を任意に設定
し融通性を増した図形データを作成し、図形データ記憶
手段2に記憶する。
Graphic abstraction means 1 of graphic data creation means 1
7: (1) rotation of a part of the figure according to the instruction of the operator,
(2) Inversion, (3) Enlargement / reduction, and (4) Replacement processing are performed, and variable values whose values change in these processings are arbitrarily set to create graphic data with increased flexibility, and the graphic data storage means 2 To memorize.

【0068】図形抽出手段5が新図形データごとに図形
データ記憶手段2から新図形に高位あるいは同位の、即
ち各変数の値が新図形に矛盾なく定義されている既存図
形データを全部抽出し、図形データ作成手段1がそれら
を連想する連想データを作成し連想記憶手段8に記憶す
る。
The graphic extracting means 5 extracts all the existing graphic data from the graphic data storage means 2 for each new graphic data which is higher or equal to the new graphic, that is, in which the values of the respective variables are defined consistently with the new graphic, The graphic data creating means 1 creates associative data for associating them and stores it in the associative storage means 8.

【0069】その後、操作者の指令により、連想手段4
によってある図形データから高位あるいは低位の図形名
を連想し図形想起手段7が図形を想起し画像表示部14
がその図形を表示する。
Thereafter, the associating means 4 is operated in accordance with an instruction from the operator.
The graphic recalling unit 7 recalls a graphic by associating a high or low graphic name from certain graphic data, and the image display unit 14
Displays the shape.

【0070】[動作1]予め、図形データ記憶手段2に
表7の図形データ「SOP―1」と表8の図形データ
「SOP2」を持つ場合の動作を述べる。
[Operation 1] The operation in the case where the graphic data “SOP-1” in Table 7 and the graphic data “SOP2” in Table 8 are stored in the graphic data storage means 2 in advance will be described.

【0071】(手順1)図形抽象化手段17が、操作者
の指示により表7に示す図形データ「SOP―1」を読
出し、この「SOP―1」からその従属図形「REC
1」を切離した図形データ「SOP―0」を表11のよ
うに作成する。また、図形データ作成手段1が図形名
「P:点」から高位の図形名「SOP―0」を連想する
連想データを作成し連想記憶手段8に記憶する。
(Procedure 1) The graphic abstraction means 17 reads the graphic data "SOP-1" shown in Table 7 according to the instruction of the operator, and reads the subordinate graphic "REC" from "SOP-1".
The graphic data “SOP-0” from which “1” is separated is created as shown in Table 11. Further, the graphic data creating means 1 creates associative data associating the higher graphic name “SOP-0” from the graphic name “P: point” and stores it in the associative storage means 8.

【0072】(手順2)図形抽出手段5が、図形データ
記憶手段2の図形データから「SOP―0」に同位の
「SOP−1」等の図形データを全部抽出し、図形デー
タ作成手段1がそれらを「SOP―0」から連想する連
想データを作成し連想記憶手段8に記憶する。
(Procedure 2) The graphic extracting means 5 extracts all graphic data such as "SOP-1" at the same level as "SOP-0" from the graphic data in the graphic data storage means 2, and the graphic data creating means 1 The associative data for associating them with "SOP-0" is created and stored in the associative storage means 8.

【0073】(手順3)図形抽象化手段17が「SOP
2」の従属図形を「SOP−1」から「SOP−0」に
置き換えた表12のような図形データ「SOP0」を作
成する。また、図形データ作成手段1が「SOP―0」
から高位の「SOP0」を連想する連想データを作成し
連想記憶手段8に記憶する。
(Procedure 3) When the graphic abstraction means 17
The graphic data “SOP0” as shown in Table 12 in which the dependent graphic of “2” is replaced by “SOP-0” from “SOP-1” is created. Also, the graphic data creating means 1 sets “SOP-0”
, The associative data associated with the higher-order “SOP0” is created and stored in the associative storage means 8.

【0074】(手順4)図形抽出手段5が、図形データ
記憶手段2の図形データから「SOP0」と同位の「S
OP2」等の図形データを全部抽出し、図形データ作成
手段1がそれらを「SOP0」から連想する連想データ
を作成し連想記憶手段8に記憶する。
(Procedure 4) The graphic extracting means 5 reads “S0”, which is the same as “SOP0”, from the graphic data in the graphic data storing means 2.
All graphic data such as "OP2" are extracted, and the graphic data creating means 1 creates associative data for associating them with "SOP0" and stores it in the associative storage means 8.

【0075】[動作2] (手順1)図形データ作成手段1が、操作者の指令によ
り図7に示すような図形を、長方形「REC1」に長方
形「REC2」を重ね、更に「REC2」と「REC
1」を結ぶ補助線9の「L_1」と「L_2」を加え
「MIX1」と名付けた図形データを、表13のように
作成する。
[Operation 2] (Procedure 1) The graphic data creation means 1 superimposes a graphic such as that shown in FIG. 7 on the rectangular “REC1” with the rectangular “REC2” by the instruction of the operator, and further “REC2” and “REC2”. REC
"L_1" and "L_2" of the auxiliary lines 9 connecting "1" are added to create graphic data named "MIX1" as shown in Table 13.

【0076】[0076]

【表13】 [Table 13]

【0077】(手順2)図形抽象化手段17が、操作者
の指令により図形データ「MIX1」の従属図形「RE
C2」と「REC1」をそれぞれ「REC:長方形」に
置き換えた表14に示す図形データを作成し、「SIN
G1」と名付け図形データ記憶手段2に記憶する。
(Procedure 2) The graphic abstraction means 17 sends the subordinate graphic “RE” of the graphic data “MIX1” in response to an instruction from the operator.
The graphic data shown in Table 14 in which “C2” and “REC1” are respectively replaced with “REC: rectangle” are created, and “SIN
G1 ”is stored in the named figure data storage means 2.

【0078】[0078]

【表14】 [Table 14]

【0079】図形データ作成手段1が「P:点」から高
位の図形名「SING1」を「SING1」から同位の
図形名「MIX1」を連想する連想データと、「REC
1」から高位の「MIX1」を、「REC2」から高位
の「MIX1」を連想する連想データを連想する連想デ
ータを作成し、連想記憶手段8に記憶させる。図形デー
タ「SING1」は、任意の2つの長方形の間に補助線
9による寸法差がある関係を示している。この様に図形
抽象化手段17により作成した図形データで図形の間の
関係を表現している。
The graphic data creating means 1 associates the graphic name “SING1” higher than “P: point” with the graphic name “MIX1” higher than “SING1” and “REC”.
The associative data that associates the associative data associating the higher-order “MIX1” from “1” and the higher-order “MIX1” from “REC2” is created and stored in the associative storage means 8. The graphic data “SING1” indicates a relationship in which there is a dimensional difference due to the auxiliary line 9 between any two rectangles. As described above, the relationship between figures is represented by the figure data created by the figure abstraction means 17.

【0080】本実施例は、融通性のある図形形状と図形
の間の関係を定義でき、また登録した図形データを後で
定義した図形データと比較照合して検索できる。
In this embodiment, the relationship between a flexible graphic shape and a graphic can be defined, and registered graphic data can be compared with graphic data defined later and searched.

【0081】次に本発明の第5の実施例を説明する。本
実施例は、第4の実施例と同じ構成となっており、図形
データ記憶手段2の記憶する図形データは、点と線を図
形要素とし、太さを持つ線と円・三角形・長方形を基本
図形とする。これらの図形データは、表15に示す様
に、図形名の下に寸法と図形の位置座標と配置方向等の
各変数名の並びを定義するデータ構造を持つ点と、絵柄
データの図形に基づき図形データ作成手段1が図形デー
タを新規に作成する点が相違する。
Next, a fifth embodiment of the present invention will be described. This embodiment has the same configuration as that of the fourth embodiment. The graphic data stored in the graphic data storage means 2 includes points and lines as graphic elements, and lines having a thickness and circles, triangles, and rectangles. Let it be a basic figure. As shown in Table 15, these graphic data are based on a point having a data structure that defines an array of variable names such as dimensions, positional coordinates of the graphic, and arrangement directions under the graphic name, and a graphic of the graphic data. The difference is that the graphic data generating means 1 newly generates graphic data.

【0082】[0082]

【表15】 [Table 15]

【0083】本実施例は、絵柄データ入力手段3、連想
手段4、図形想起手段7が順次働き図形データを想起
し、図形抽出手段5がその図形データの各要素が記述さ
れている絵柄データを抽出し、絵柄データが図形データ
以上の要素を持つ場合に図形データ作成手段1がその新
図形データを作成する。
In this embodiment, the picture data input means 3, the associating means 4, and the graphic recall means 7 work sequentially to recall the graphic data, and the graphic extracting means 5 converts the picture data in which each element of the graphic data is described. When the pattern data is extracted and has more elements than the graphic data, the graphic data creating means 1 creates the new graphic data.

【0084】絵柄データの入力手段3は、別種の絵柄作
成装置で作成し、図形名の下に定数の並びで表した表1
6(a)に示すような図形データを入力し、連想手段4
が「REC:長方形」に関連する図形名「REC3:長
方形2」を連想し、図形想起手段7がその図形データを
想起し図形短期記憶手段12に記憶する。図形抽出手段
5は図形短期記憶手段12の図形データの各要素が記述
されている絵柄データを抽出し、絵柄データが図形デー
タの変数の並び以上の要素を持つので、図形データ作成
手段1がそれに基づき新図形データ「REC1」(表1
6(b))を作成する。この新図形データに基づき(表
16(a))の絵柄データを表16(c)に示すように
その図形名の絵柄データに置換える。
The pattern data input means 3 is prepared by a different type of pattern forming apparatus, and is a table 1 in which constants are arranged under the figure name.
6 (a) is inputted, and the associating means 4 is inputted.
Associates the graphic name “REC3: rectangle 2” associated with “REC: rectangle”, and the graphic recalling means 7 recalls the graphic data and stores it in the graphic short-term storage means 12. The graphic extracting means 5 extracts picture data in which each element of the graphic data of the graphic short-term storage means 12 is described. Since the picture data has elements equal to or more than the arrangement of the variables of the graphic data, the graphic data creating means 1 Based on the new graphic data “REC1” (Table 1
6 (b)). Based on the new figure data, the picture data of (Table 16 (a)) is replaced with the picture data of the figure name as shown in Table 16 (c).

【0085】[0085]

【表16】 [Table 16]

【0086】本実施例は、図形データの変数の並びを定
義した図形データを用いることにより、図形データを簡
略化でき、また絵柄データから抽出した新図形データを
作成しそれを用いて絵柄データを簡略化できる利点を有
する。
In the present embodiment, graphic data can be simplified by using graphic data defining the arrangement of variables of graphic data, and new graphic data extracted from the graphic data is created, and the graphic data is used by using the new graphic data. It has the advantage that it can be simplified.

【0087】図8は本発明の第6の実施例のブロック図
を示す。本実施例は、前段にビデオカメラあるいは密着
ライセンサー等の画像入力部18を有する絵柄データの
入力手段3が設けられたもので、この場合図形認識装置
となることができる。これは新規な図形データを作成せ
ず、図形認識専用に用いられる。
FIG. 8 is a block diagram showing a sixth embodiment of the present invention. In the present embodiment, a picture data input unit 3 having an image input unit 18 such as a video camera or a contact licensor is provided at the preceding stage. In this case, a graphic recognition device can be provided. This is used only for graphic recognition without creating new graphic data.

【0088】図9に示す様な図形に対して表17に示す
様な「A文字」と名付けた図形データを図形データ記憶
手段2に記憶する。画像入力手段18が、図10に示す
ような画像を読込み絵柄データ入力手段3がそれを点と
線で表される絵柄データに変換し、絵柄データ記憶手段
13に記憶し、この絵柄データに関し連想手段4と図形
想起手段7とで図形データ「A文字」を想起し、図形抽
出手段5が図形データ「A文字」に一致する絵柄データ
の集合を図形名「A文字」の絵柄データに置換え、結局
2つの絵柄データに単純化する。
The graphic data named "A character" as shown in Table 17 is stored in the graphic data storage means 2 for the graphic as shown in FIG. The image input means 18 reads an image as shown in FIG. 10 and the picture data input means 3 converts it into picture data represented by dots and lines, stores the picture data in the picture data storage means 13, and associates the picture data with the picture data. The graphic data "A character" is recalled by the means 4 and the graphic recalling means 7, and the graphic extracting means 5 replaces the set of the pattern data matching the graphic data "A character" with the pattern data of the graphic name "A character". After all, it is simplified to two picture data.

【0089】[0089]

【表17】 [Table 17]

【0090】本実施例によれば、寸法の大小、形の歪み
等がある文字図形を認識できる図形認識装置が得られ
る。
According to the present embodiment, a figure recognizing apparatus capable of recognizing a character figure having a large size, a small shape distortion, or the like can be obtained.

【0091】図11は本発明の第7の実施例のブロック
図を示す。本実施例は、絵柄データの入力手段3と図形
データ作成手段1と連想手段4と図形抽出手段5と図形
想起手段7と図形短期記憶手段12と絵柄データ記憶手
段13とを集積して図形処理集積回路19とした場合を
示し、画像入力手段18と、画像表示部14と、図形デ
ータ記憶手段2と、連想記憶手段8とが付加される。本
実施例は、図形集積回路19を用いたことにより、絵柄
データ作成装置を小形化することができる。
FIG. 11 is a block diagram showing a seventh embodiment of the present invention. In this embodiment, the graphic data input means 3, graphic data creation means 1, association means 4, graphic extraction means 5, graphic recall means 7, graphic short-term storage means 12, and graphic data storage means 13 are integrated to perform graphic processing. The figure shows the case of an integrated circuit 19, in which an image input unit 18, an image display unit 14, a graphic data storage unit 2, and an associative storage unit 8 are added. In this embodiment, the use of the graphic integrated circuit 19 makes it possible to reduce the size of the picture data creating apparatus.

【0092】[0092]

【発明の効果】以上説明したように本発明は、図形を作
成する都度同じ形の図形を検索でき、図形の重複作成を
避けられ、新たに作成した図形によりその特徴を有する
類似の既存の図形を検索でき、さらに多数の基本図形の
中に隠されている複合図形を抽出できるという利点を有
する。
As described above, according to the present invention, it is possible to search for a figure having the same shape each time a figure is created, avoid duplication of figures, and use a newly created figure to create a similar existing figure having its characteristics. Has the advantage that it is possible to retrieve the complex graphic hidden in many basic figures.

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

【図1】本発明の第1の実施例の絵柄データ作成装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a picture data creating apparatus according to a first embodiment of the present invention.

【図2】本実施例が読込む絵柄の一例の座標図。FIG. 2 is a coordinate diagram of an example of a pattern read by the embodiment.

【図3】本発明の第2の実施例の構成を示すブロック図FIG. 3 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図4】図3の実施例が読込む絵柄の一例のデータ図。FIG. 4 is a data diagram of an example of a pattern read by the embodiment of FIG. 3;

【図5】本実施例が読み込む絵柄の一例を示すデータ
図。
FIG. 5 is a data diagram showing an example of a picture read by the embodiment.

【図6】本発明の第4の実施例の構成を示すブロック
図。
FIG. 6 is a block diagram showing a configuration of a fourth embodiment of the present invention.

【図7】図6の実施例が作成する図形データの例を示す
平面図。
FIG. 7 is a plan view showing an example of graphic data created by the embodiment of FIG. 6;

【図8】本発明の第6の実施例の図形認識装置の構成を
示すブロック図。
FIG. 8 is a block diagram showing a configuration of a graphic recognition device according to a sixth embodiment of the present invention.

【図9】図8の実施例が読込む絵柄の平面図。FIG. 9 is a plan view of a pattern read by the embodiment of FIG. 8;

【図10】図8が読込む絵柄と作成する絵柄データの例
を示す平面図。
FIG. 10 is a plan view showing an example of a picture to be read and picture data to be created by FIG. 8;

【図11】本発明の第7の実施例の絵柄データ作成装置
のブロック図。
FIG. 11 is a block diagram of a picture data creating apparatus according to a seventh embodiment of the present invention.

【図12】従来の絵柄データ作成装置の一例のブロック
図。
FIG. 12 is a block diagram of an example of a conventional pattern data creation device.

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

1 図形データ作成手段 2 図形データ記憶手段 3 絵柄データの入力手段 4 連想手段 5 図形抽出手段 6 位置座標変数 7 図形想起手段 8 連想記憶手段 8a 連想起動項 8b 連想種項 8c 連想図形名項 9 補助線 10 直接形状項 10a,11b 図形名項 10b,11c 関係式記述項 11 従属図形項 11a 個別名称項 11d 個別名称変数 12 図形短期記憶手段 13 絵柄データ記憶手段 14 画像表示部 15 繰り返し配置抽出手段 16 繰り返し数変数 17 図形抽象化手段 18 画像入力データ 19 図形処理集積回路 DESCRIPTION OF SYMBOLS 1 Graphic data creation means 2 Graphic data storage means 3 Picture data input means 4 Associative means 5 Graphic extraction means 6 Position coordinate variable 7 Graphic recall means 8 Associative storage means 8a Associative activation terms 8b Associative seed terms 8c Associative graphic name terms 9 Line 10 Direct shape item 10a, 11b Graphic name item 10b, 11c Relational expression description item 11 Dependent graphic item 11a Individual name item 11d Individual name variable 12 Graphic short-term storage unit 13 Picture data storage unit 14 Image display unit 15 Repetition arrangement extraction unit 16 Repetition number variable 17 Graphic abstraction means 18 Image input data 19 Graphic processing integrated circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 11/00 - 11/80 G06F 17/50 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G06T 1/00 G06T 11/00-11/80 G06F 17/50

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力手段から入力した絵柄データまたは
図形データ記憶手段に記憶した基本図形と複合図形とを
画像表示手段に表示しながら図形データ作成手段により
所望の図形・絵柄を作成する絵柄データ作成装置におい
て、前記作成図形または前記絵柄データに関連する既存
の図形名を、類似する図形を連想する手順を記述した連
想データとして記憶した連想記憶手段と、前記連想デー
タにより連想される第1の図形データ群を読み出す連想
手段と、前記第1の図形データ群から前記作成図形また
は前記絵柄データに一致する第2の図形データを抽出す
る図形抽出手段とを備え、前記図形データ作成手段が、
前記作成図形または前記絵柄データを前記第2の図形デ
ータと組み合せて第3の図形データを作成すると共に、
前記第2の図形データから前記第3の図形データを連想
する手順を記述した連想データを作成し、前記連想記憶
手段に記憶させることを特徴とする絵柄データ作成装
置。
1. A pattern data generator for generating a desired figure / pattern by a graphic data generator while displaying the pattern data input from the input means or the basic graphic and the composite graphic stored in the graphic data storage means on the image display means. In the apparatus, an existing graphic name related to the created graphic or the design data is replaced with a series describing a procedure for associating a similar graphic.
Associative storage means for storing associative data;
Associating means for reading a first graphic data group associated with the data, and graphic extracting means for extracting, from the first graphic data group, second graphic data matching the created graphic or the pattern data; The graphic data creating means,
The created figure or the pattern data is stored in the second figure data.
Data together with the data to create third graphic data,
Associating the third graphic data with the second graphic data
Creating associative data describing a procedure for performing
Picture data generating apparatus according to claim Rukoto are stored in the unit.
【請求項2】 図形抽出手段が絵柄データを整列し等間
隔で繰り返す図形データ群を抽出する繰り返し配置抽出
手段を有するものである請求項1記載の絵柄データ作成
装置。
2. The picture data creating apparatus according to claim 1, wherein the picture extracting means has a repetitive arrangement extracting means for extracting picture data groups which arrange picture data and repeat at equal intervals.
【請求項3】 図形データ作成手段が、図形の一部の形
状に任意性を残した図形データを作成する図形抽象化手
段を有し、新規に作成した図形データに図形の構造が一
致する図形データを図形抽出手段が抽出するものである
請求項1記載の絵柄データ作成装置。
3. The graphic data creating means has graphic abstraction means for creating graphic data in which a shape of a part of the graphic is left arbitrarily, and a graphic whose structure matches the newly created graphic data. 2. The picture data creating apparatus according to claim 1, wherein the figure extracting means extracts the data.
【請求項4】 入力手段が、画像を直接入力する画像入
力手段を含むものである請求項1記載の絵柄データ作成
装置。
4. The picture data creating apparatus according to claim 1, wherein said input means includes image input means for directly inputting an image.
JP30991592A 1991-11-20 1992-11-19 Picture data creation device Expired - Lifetime JP2998465B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3-303693 1991-11-20
JP30369391 1991-11-20

Publications (2)

Publication Number Publication Date
JPH05282420A JPH05282420A (en) 1993-10-29
JP2998465B2 true JP2998465B2 (en) 2000-01-11

Family

ID=17924106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30991592A Expired - Lifetime JP2998465B2 (en) 1991-11-20 1992-11-19 Picture data creation device

Country Status (1)

Country Link
JP (1) JP2998465B2 (en)

Also Published As

Publication number Publication date
JPH05282420A (en) 1993-10-29

Similar Documents

Publication Publication Date Title
DE69932768T2 (en) Method and apparatus for collision checking of objects in computer systems
CN111931097B (en) Information display method and device, electronic equipment and storage medium
EP2035978A2 (en) System and method for generating a dynamic electrical wiring diagram including an internal box layout structure
JPH10149432A (en) Three-dimensional form retrieval device
JP3009134B2 (en) Apparatus and method for distributing design and manufacturing information across sheet metal manufacturing equipment
US20090070724A1 (en) Information processing device, method of creating power supply system tree and program of the same
JP2998465B2 (en) Picture data creation device
JP3085922B2 (en) Drawing generation device for assembly group by 3D CAD
May Computer-generated multi-row schematics
JP2000331041A (en) Three-dimensional equipment management system
JP3032225B2 (en) Document editing device using three-dimensional display
JPH06335165A (en) Method and apparatus for constituting data base of power system monitoring control system, method and apparatus for managing data base of power system monitoring control system and power system monitoring control system
Shenoy et al. Data definition and manipulation languages for a CAD database
JPH10232874A (en) Information processing know-how sharing method
JP3415354B2 (en) Minimum operating environment transition device
JP3058388B2 (en) Information presentation device
JPH04333168A (en) Device for retrieving graphic
JPH0128981B2 (en)
JPH05225290A (en) Shape correction system by three dimensional parametric function
JPH09185696A (en) Map information system
JP2843914B2 (en) CAD system
JPH07117967B2 (en) Drawing processing system
Chang From orthogonal projections to symbolic projections
JPH05233764A (en) Solid form modeling system
JP2004280181A (en) Cad system and computer program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991005