JPH0756671B2 - Graphic data retrieval device - Google Patents
Graphic data retrieval deviceInfo
- Publication number
- JPH0756671B2 JPH0756671B2 JP60220370A JP22037085A JPH0756671B2 JP H0756671 B2 JPH0756671 B2 JP H0756671B2 JP 60220370 A JP60220370 A JP 60220370A JP 22037085 A JP22037085 A JP 22037085A JP H0756671 B2 JPH0756671 B2 JP H0756671B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- graphic data
- divided
- graphic
- data
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は、図形データ検索装置に関し、更に詳細にはCA
D/CAMシステムにおける図形データ中より任意の領域内
に存在する図形データを検索する装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic data search device, and more specifically, a CA.
The present invention relates to an apparatus for retrieving graphic data existing in an arbitrary area from graphic data in a D / CAM system.
(従来の技術) 一般に、図形データは主として座標値により構成し、か
つ画素に分解されて大量のデータとして記憶装置の所定
の位置に格納される。そして、このような図形データは
以下のようなシステムにより任意の領域内で検索され
る。(Prior Art) Generally, graphic data is mainly composed of coordinate values, and is decomposed into pixels and stored as a large amount of data at a predetermined position in a storage device. Then, such graphic data is searched in an arbitrary area by the following system.
第8図は図形処理システムを示すブロック図である。同
図において、41は座標入出力装置、42はキーボード、43
は図形操作部、44は図形データ登録部、45は図形データ
記憶部、46は図形データ抽出部、47は表示制御装置、48
は表示データ記憶装置、49は表示装置である。図形デー
タは座標入出力装置41を介して座標値データとして図形
操作部43に供給される。そして、図形操作部43はキーボ
ード42から入力された付加データと前記図形データとを
図形データ登録部44に供給する。図形データ登録部44で
はそれらを画素に分解して図形データ記憶部45に格納す
る。また、座標入出力装置41及びキーボード42により操
作指示及び操作領域の指定等が図形操作部43に与えられ
ることにより、図形データ記憶部45に格納されていた図
形データは図形抽出部46により抽出され、図形操作部43
において、拡大、縮小等の図形操作が施される。その
後、図形操作された図形データは表示制御装置47を介し
て表示データ記憶装置48の所定の位置に表示データとし
て格納される。そして、格納された表示データは再び表
示制御装置47を介して表示装置49に電気信号として供給
されて表示される。以上のような図形操作において最も
処理時間のかかる操作部分は、画素に分解したことによ
る大量のデータを抽出する図形データ抽出部46における
操作であり、すなわち指定された任意領域内に存在する
図形データを検索するという操作である。FIG. 8 is a block diagram showing a graphic processing system. In the figure, 41 is a coordinate input / output device, 42 is a keyboard, and 43.
Is a graphic operation unit, 44 is a graphic data registration unit, 45 is a graphic data storage unit, 46 is a graphic data extraction unit, 47 is a display control device, and 48 is a display control device.
Is a display data storage device, and 49 is a display device. The graphic data is supplied to the graphic operation unit 43 as coordinate value data via the coordinate input / output device 41. Then, the graphic operation unit 43 supplies the additional data input from the keyboard 42 and the graphic data to the graphic data registration unit 44. The graphic data registration unit 44 decomposes them into pixels and stores them in the graphic data storage unit 45. Further, the graphic data stored in the graphic data storage unit 45 is extracted by the graphic extraction unit 46 by giving an operation instruction, an operation area designation, and the like to the graphic operation unit 43 by the coordinate input / output device 41 and the keyboard 42. , Graphic operation unit 43
At, graphic operations such as enlargement and reduction are performed. Thereafter, the graphic data that has been graphic-operated is stored as display data in a predetermined position of the display data storage device 48 via the display control device 47. Then, the stored display data is again supplied to the display device 49 via the display control device 47 as an electric signal and displayed. The operation part that takes the longest processing time in the above graphic operation is the operation in the graphic data extraction unit 46 that extracts a large amount of data due to the decomposition into pixels, that is, the graphic data existing in the designated arbitrary area. Is the operation of searching.
従来、上記のような検索処理では第9図に示すように図
形データを予め定めた分割領域(領域a,b,c)に分割
し、表1に示す格納図形データとして第8図における図
形データ記憶部45の所定の位置に格納する構成となって
いる。ここで、このように図形データを分割した分割領
域とはワールド座標系における概念によるものであり、
矩形で表現されて実際にはその矩形の2点又は4点等の
頂点座標で構成されている。Conventionally, in the above-described search processing, the graphic data is divided into predetermined divided areas (areas a, b, c) as shown in FIG. 9, and the graphic data in FIG. 8 is stored as the stored graphic data shown in Table 1. It is configured to be stored in a predetermined position of the storage unit 45. Here, the divided area obtained by dividing the graphic data in this way is based on the concept in the world coordinate system,
It is represented by a rectangle and is actually composed of vertex coordinates such as 2 points or 4 points of the rectangle.
次に、検索処理としては任意に設定された検索領域(第
9図に一点鎖線で示す)と分割領域との重なりをその座
標値より求め、重なりの存在する分割領域に格納されて
いる図形データを抽出することによって行われ、処理対
象となる図形データの抽出操作を軽減して高速化を図っ
ていた。 Next, as the search processing, the overlap between the arbitrarily set search area (shown by the alternate long and short dash line in FIG. 9) and the divided area is calculated from the coordinate values, and the graphic data stored in the divided area where the overlap exists. Was performed by reducing the number of operations for extracting the graphic data to be processed, thereby increasing the speed.
(発明が解決しようとする問題点) しかしながら、上記のような方法では第9図に示すよう
に線分56が各分割領域にまたがっているような図形デー
タを処理する場合、重なる全ての分割領域にそれぞれ登
録する等の処理がなされて複雑となり、さらに領域に分
割する割合の細分化が必要となって分割領域が増加する
に従い記憶容量、処理速度等において技術的に満足でき
るものでなかった。(Problems to be Solved by the Invention) However, in the above method, when processing graphic data in which a line segment 56 extends over each divided area as shown in FIG. However, the storage capacity, the processing speed, and the like are not technically satisfactory as the number of divided areas increases and the division becomes more complicated.
本発明はこれらの問題点を解決するためのもので、記憶
容量の減少と処理速度の向上を図ることができる図形デ
ータ検索装置を提供することを目的とする。The present invention has been made to solve these problems, and an object of the present invention is to provide a graphic data search device capable of reducing the storage capacity and improving the processing speed.
(問題点を解決するための手段) 本発明は前記問題点を解決するために図形データを包含
する作業領域を分割して複数の分割領域を設定し、所望
の図形データを包含する検索領域と分割領域との重なる
領域内に包含する図形データを検索する図形データ検索
装置において、作業領域における図形データの複雑さや
存在密度などの分布状態に応じて作業領域を階層的に分
割する階層化領域分割手段と、該階層化領域分割手段に
より作成された階層化の分割領域に包含する図形データ
を登録する図形データ登録手段と、複数の各分割領域と
検索領域との重なりを判定して検索領域を含む分割領域
を求める領域重なり判定手段と、該領域重なり判定手段
により求めた分割領域内に包まれる全ての図形データを
図形データ登録手段から抽出する図形データ抽出手段
と、該図形データ抽出手段により抽出した全図形データ
から検索領域と重なる図形データを求める図形データ重
なり判定手段とを具備することに特徴がある。(Means for Solving Problems) In order to solve the above problems, the present invention divides a work area including graphic data and sets a plurality of divided areas, and a search area including desired graphic data. In a graphic data search device for searching graphic data included in an area overlapping a divided area, a hierarchical area division for hierarchically dividing a work area according to a distribution state such as complexity of the graphic data or existence density in the work area Means, graphic data registration means for registering graphic data contained in the hierarchical divided area created by the hierarchical area dividing means, and determining the search area by determining the overlap between each of the plurality of divided areas and the search area. A region overlap determining means for obtaining a divided region containing the graphic region and a graphic data extracting device for extracting from the graphic data registering device all graphic data enclosed in the divided region obtained by the region overlapping determining means. The present invention is characterized by including a data extraction unit and a graphic data overlap determination unit that obtains graphic data that overlaps the search area from all the graphic data extracted by the graphic data extraction unit.
(作用) 以上のような構成を有する本発明によれば、作業領域を
階層化領域分割手段により階層的に分割されて各階層化
分割領域が作成される。さらに、図形データ登録手段に
より、データについてその図形データが包含される最小
の上記階層化分割領域に登録される。所望の図形データ
を検索する時は当該所望の図形データを含む検索領域が
重なる分割領域を領域重なり判定手段により求める。そ
して求めた分割領域に含まれる全ての図形データを図形
データ抽出手段により抽出する。図形データ重なり判定
手段が当該全図形データから検索領域と重なる図形デー
タを求めて所望の図形データを抽出する。(Operation) According to the present invention having the above-described configuration, the work area is hierarchically divided by the hierarchized area dividing means to create each hierarchized divided area. Further, the graphic data registration means registers the data in the smallest hierarchical divided area in which the graphic data is included. When searching for the desired graphic data, the area overlap determination means determines a divided area in which the search areas including the desired graphic data overlap. Then, all the graphic data included in the obtained divided area is extracted by the graphic data extracting means. The graphic data overlap determination means obtains graphic data that overlaps the search area from all the graphic data, and extracts desired graphic data.
したがって、本発明は前記問題点を解決することがで
き、分割領域間にまたがる図形データの検索が容易とな
ると共に記憶容量の減少及び処理速度の向上を図ること
ができる図形データ検索装置を提供できる。Therefore, the present invention can solve the above-mentioned problems, and can provide a graphic data search device capable of facilitating the search for graphic data extending over divided areas and reducing the storage capacity and improving the processing speed. .
(実施例) 以下、本発明の一実施例を図面に基づいて説明する。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.
第1図、第2図は本発明の一実施例を示すブロック図で
ある。第1図は第8図に示した図形データ登録部44の一
部の機能を示すもので、すなわち図形データを階層化領
域に分割して登録する操作を示している。また第2図は
第8図に示した図形データ抽出部46の一部の機能を示す
もので、すなわち階層化された分割領域に基づいて図形
データを検索して抽出する操作を示している。また第3
図は作業領域から初期領域及び分割対象領域を設定する
様子を示す図である。更に第4図は初期領域及び分割対
象領域を記憶する一例を示す図である。1 and 2 are block diagrams showing an embodiment of the present invention. FIG. 1 shows a part of the functions of the graphic data registration unit 44 shown in FIG. 8, that is, an operation of dividing the graphic data into hierarchical areas and registering them. Further, FIG. 2 shows a part of the function of the graphic data extracting unit 46 shown in FIG. 8, that is, an operation of searching and extracting graphic data based on the hierarchical divided areas. Also the third
The figure is a diagram showing how an initial area and a division target area are set from a work area. Further, FIG. 4 is a diagram showing an example of storing the initial area and the division target area.
第1図において、10は作業領域、11は初期領域設定部、
12は分割対象領域決定部、13は階層化領域分割部、14は
図形データ登録部、15は図形データ、16は図形データ記
憶部、17は分割領域記憶部である。次に、第2図におい
て、20は領域重なり判定部、21は分割領域内図形データ
抽出部、22は図形データ重なり判定部、23は検索領域設
定部、24は検索データ記憶部、25は図形操作部である。In FIG. 1, 10 is a work area, 11 is an initial area setting unit,
Reference numeral 12 is a division target area determination unit, 13 is a hierarchical area division unit, 14 is graphic data registration unit, 15 is graphic data, 16 is graphic data storage unit, and 17 is a divided area storage unit. Next, in FIG. 2, 20 is a region overlap determination unit, 21 is a divided region graphic data extraction unit, 22 is a graphic data overlap determination unit, 23 is a search region setting unit, 24 is a search data storage unit, and 25 is a graphic. It is an operation unit.
次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.
はじめに、第1図に基づいて分割処理動作を説明する。First, the division processing operation will be described with reference to FIG.
まず、初期領域設定部11では図示されていないキーボー
ド等より指示された作業領域10に基づいて初期領域を設
定し、その初期領域を座標値として分割領域記憶部17に
格納する。なおこの初期領域の領域は作業領域10と同じ
広さとなるわけであるが当該初期領域内にある図形デー
タは検索する際に登録した図形データであり、作業領域
の持つ領域の概念が異なる。また当該初期領域は階層化
した第1階層目に相当し後述する分割領域の階層化分割
領域と同じ概念をもつ領域である。分割領域記憶部17に
格納する座標値とは例えば第3図に示す1階層目におい
て初期領域に相当する領域の座標値(0,0)(48,32)で
あり、第4図に示すように分割領域記憶部17に記憶番地
101として領域番号1と階層1に対応させて格納する。
そして2階層目において、1階層目を2分割して1階層
目の初期領域を第3図のように2つの分割領域にし、各
々の分割領域に領域番号2,3を付して各分割領域の座標
値を第4図に示すように格納する。以下階層毎に分割し
た分割領域の座標値を格納する。この際分割した領域が
直上位の階層の分割領域の関係を合わせて当該直上位階
層の分割領域の記憶番地を格納する。即ち、領域番号2
の分割領域の直ぐ上、重なる分割領域の記憶番地101を
格納しておく。なお、上記の例は2分割という予め定め
た割合の例を示したが、これに限定するものでなく、階
層化領域分割部13により図形データの領域内に存在する
分布状態、例えば領域のある部分に図形データが集中し
て存在しているとか図形データの量の偏り等に応じて分
割する。以上により初期領域と分割領域からなる管理領
域の初期設定が完了する。First, the initial area setting unit 11 sets an initial area based on the work area 10 designated by a keyboard (not shown) or the like, and stores the initial area in the divided area storage unit 17 as coordinate values. The area of the initial area is the same as the work area 10, but the graphic data in the initial area is the graphic data registered at the time of retrieval, and the concept of the area of the work area is different. The initial area corresponds to the first hierarchical layer and is an area having the same concept as a hierarchical divided area of a divided area described later. The coordinate value stored in the divided area storage unit 17 is, for example, the coordinate value (0,0) (48,32) of the area corresponding to the initial area in the first layer shown in FIG. 3, and as shown in FIG. Storage area in the divided area storage unit 17
The area number 1 is stored as 101 in association with the layer number 1.
Then, in the second layer, the first layer is divided into two, and the initial region of the first layer is divided into two divided regions as shown in FIG. 3, and the divided regions are assigned region numbers 2 and 3, respectively. The coordinate values of are stored as shown in FIG. The coordinate values of the divided areas divided for each hierarchy are stored below. At this time, the divided area stores the storage address of the divided area of the immediate upper hierarchy by matching the relationship of the divided areas of the immediate upper hierarchy. That is, area number 2
The storage address 101 of the overlapping divided area is stored immediately above the divided area. Note that the above example shows an example of a predetermined ratio of two divisions, but the present invention is not limited to this, and there is a distribution state existing in the area of the graphic data by the hierarchical area division unit 13, for example, there is an area. The figure data is divided depending on the fact that the figure data is concentrated in the portion or the amount of the figure data is uneven. As described above, the initial setting of the management area including the initial area and the divided areas is completed.
次に、図示されていない座標入力装置によって入力され
た図形データ15は図形データ登録部14により分割領域記
憶部17に格納された領域の最も下位に属する領域から順
次座標値における包含関係を判定し、図形データを包含
する初期領域及び分割領域に該図形データを登録する。
尚、分割領域作成時該図形データが存在する時は階層化
領域分割部13において図形データの登録を行っても良
い。Next, the figure data 15 input by the coordinate input device (not shown) is sequentially determined by the figure data registration unit 14 from the lowest area of the areas stored in the divided area storage unit 17 to the inclusion relation in the coordinate values. , The graphic data is registered in the initial area and the divided area including the graphic data.
When the divided area is created and the figure data exists, the layered area dividing unit 13 may register the figure data.
次に、図形データの登録を具体的に以下説明する。第5
図は図形データの一例を示す。なお便宜的に直線などに
図形名として〜を付する。第6図は第3図に示す例
に合わせて階層化した分割領域を立体的に表し、第5図
の図形データの包含関係を示す図である。第7図は第1
図の図形データ記憶部の格納状態を示す図である。Next, the registration of the graphic data will be specifically described below. Fifth
The figure shows an example of graphic data. For convenience, a straight line or the like is marked with ~ as a graphic name. FIG. 6 is a diagram showing the inclusion relation of the graphic data of FIG. 5 by three-dimensionally representing the divided areas hierarchically adapted to the example shown in FIG. Figure 7 shows the first
It is a figure which shows the storage state of the figure data storage part of a figure.
はじめに、最も下位の層である、第3図の階層番号5に
示す16個の分割領域と図形データを参照して、図形デー
タを包含する分割領域を判定する。領域番号28の分割領
域には図形名Iが、そして領域番号27の分割領域には図
形名,,が包含する。よって、第7図のように、
領域番号28の記憶番地128には、図形名Iが図形データ
登録部14に格納されている記憶番地209を記憶させる。
また図形データ登録部14にも包含する分割領域の領域番
号を記憶させる。領域番号27の記憶番号127には、図形
名,,が図形データ登録部14に格納されている記
憶番地を記憶させるわけであるがそのうちの1つの記憶
番地201を記憶させる。そして図形データ登録部14にお
ける記憶番地201における同一領域に属する図形の記憶
番地202を、記憶番地202における同一領域に属する図形
の記憶番地203をそれぞれ記憶させて、図形名,,
の各々互いの接続関係がわかるようにしておく。1つ
の分割領域に1つの図形データのみ包含する場合又は同
一の分割領域において下位の記憶番地に図形データがな
い場合は−1とする。このようにして、各階層の各分割
領域に参照して包含する図形データを全て記憶する。First, the lowermost layer, that is, the 16 divided areas shown in hierarchy number 5 in FIG. 3 and the graphic data is referred to, and the divided area containing the graphic data is determined. The divided area with the area number 28 includes the figure name I, and the divided area with the area number 27 includes the figure name. Therefore, as shown in FIG.
In the memory address 128 of the area number 28, the memory address 209 in which the graphic name I is stored in the graphic data registration unit 14 is stored.
The area number of the divided area included in the graphic data registration unit 14 is also stored. In the storage number 127 of the area number 27, the storage addresses of the graphic names, ... Are stored in the graphic data registration unit 14, but one of the storage addresses 201 is stored. Then, the storage addresses 202 of the graphics belonging to the same area in the storage address 201 in the graphics data registration unit 14 and the storage addresses 203 of the graphics belonging to the same area in the storage address 202 are stored respectively, and the graphics name ,,
Of each of the above, so that the mutual connection relationship can be understood. When only one figure data is included in one divided area, or when there is no figure data in the lower storage address in the same divided area, -1 is set. In this way, all the graphic data included by referring to each divided area of each layer is stored.
次に、第2図に基づいて検索処理動作を説明する。先
ず、検索領域設定部23は拡大,縮小,転写等の図形操作
を行う図形操作部25より与えられる座標値に基づいて検
索領域を設定する。次に、領域重なり判定部20では分割
領域記憶部17より抽出した複数の各分割領域の内、前記
検索領域を含む分割領域を求める。求められた分割領域
はその識別子、一般に領域番号を分割領域内図形データ
抽出部21に渡し、その分割領域内に登録されている図形
データを図形データ記憶部16より取り出すために使用さ
れる。分割領域内図形データの抽出は、領域番号別に接
続されたアドレスを順次たどることにより該アドレス内
に格納された図形データを抽出することで可能である。Next, the search processing operation will be described with reference to FIG. First, the search area setting unit 23 sets the search area based on the coordinate values given by the graphic operation unit 25 that performs graphic operations such as enlargement, reduction, and transfer. Next, the area overlap determination unit 20 obtains a divided area including the search area from among the plurality of divided areas extracted from the divided area storage unit 17. The obtained divided area is passed its identifier, generally an area number, to the in-divided-area graphic data extracting unit 21, and is used to retrieve the graphic data registered in the divided area from the graphic data storage unit 16. The extraction of the graphic data in the divided area can be performed by sequentially tracing the addresses connected for each area number to extract the graphic data stored in the address.
次に、検索領域を含む分割領域内から抽出された図形デ
ータは図形データ重なり判定部22により検索領域との重
なり判定を行なう。この時の重なり判定は図形操作の内
容により異なり、包含、一部重なり等に考えられる。そ
の結果図形操作の対象となる図形データを検索データ記
憶部24へ格納する。格納されたデータは図形操作部25に
より拡大、縮小などの図形操作を行なうのに使用され
る。Next, the figure data overlap determination unit 22 determines whether or not the figure data extracted from the divided area including the search area overlaps the search area. The overlap determination at this time depends on the content of the graphic operation, and is considered to be inclusion, partial overlap, or the like. As a result, the graphic data that is the target of the graphic operation is stored in the search data storage unit 24. The stored data is used by the graphic operation unit 25 to perform graphic operations such as enlargement and reduction.
ここで、検索処理動作の具体例を上述の図形データに基
づいて説明する。なおこの例における検索領域は第5図
の図形名と接続する図形名の一部を含む領域、すな
わち第5図の一点鎖線で囲まれた領域である。Here, a specific example of the search processing operation will be described based on the above-mentioned graphic data. The search area in this example is an area including a part of the graphic name connected to the graphic name in FIG. 5, that is, an area surrounded by a dashed line in FIG.
先ず、操作者は第2図の図形操作部22を介して(実際は
検索領域設定部23)第5図の一点鎖線で示す検索領域を
設定する。設定された検索領域と重なる階層化された、
領域番号1,2,4,5,8,9,10,11,17,19,20,22の分割領域を
領域重なり判定部20により求める。そして、分割領域内
図形データ抽出部21は求められた分割領域が対応する、
第7図に示す管理テーブルに格納されている図形データ
の格納番地を求める。さらに、当該各格納番地に基づい
て同一領域に属する図形が格納されている格納番地を順
次たどる。例えば、領域番号1の分割領域内の図形デー
タが格納されている格納番地は205であるので、格納番
地205の図形名を抽出する。そして、当該格納番地205
の分割領域に属している他の図形は記憶しておいた格納
番地207に基づいての図形データが抽出される。ま
た、領域番号4の分割領域内には図形データが格納され
ている格納番地が記憶されてはおらず、図形名は抽出さ
れない。このように、領域重なり判定部20により求めた
分割領域の全てに対し順次たどった結果、格納番地205,
207,211,206,212が求められ、この求めた格納番地に記
憶されている図形データである、第5図における図形名
,,,,が抽出される。最後に、図形データ
重なり判定部部22は例えば検索領域の対角座標とこれら
の図形データの座標とから重なる図形部分を判定し、検
索領域内の図形データを求める。結果、第5図で図形名
の図形データ全部と図形名の検索領域にかかる部分
の図形データが求められる。First, the operator sets the search area shown by the alternate long and short dash line in FIG. 5 via the graphic operation section 22 in FIG. 2 (actually the search area setting section 23). Layered, which overlaps with the set search area,
The area overlap determination unit 20 obtains the divided areas of the area numbers 1, 2, 4, 5, 8, 9, 10, 10, 11, 17, 19, 20, 22. Then, the divided area graphic data extraction unit 21 corresponds to the obtained divided area,
The storage address of the graphic data stored in the management table shown in FIG. 7 is obtained. Further, the storage addresses in which the figures belonging to the same area are stored are sequentially traced based on the respective storage addresses. For example, since the storage address where the graphic data in the divided area of area number 1 is stored is 205, the graphic name of the storage address 205 is extracted. Then, the storage address 205
For other figures belonging to the divided area, the figure data based on the stored storage address 207 is extracted. Further, the storage address where the graphic data is stored is not stored in the divided area of the area number 4, and the graphic name is not extracted. In this way, as a result of sequentially tracing all the divided areas obtained by the area overlap determination unit 20, the storage address 205,
207, 211, 206, 212 are obtained, and the figure names in FIG. 5, which are the figure data stored in the obtained storage addresses, are extracted. Finally, the graphic data overlap determination unit 22 determines a graphic portion that overlaps, for example, from the diagonal coordinates of the search area and the coordinates of these graphic data, and obtains the graphic data in the search area. As a result, in FIG. 5, all the figure data of the figure name and the figure data of the part related to the search area of the figure name are obtained.
(発明の効果) 以上説明したように、本発明によれば、全図形データが
存在する領域の分割を階層的に行ない、階層化された分
割領域に基づいて図形データを検索することにより、分
割領域間にまたがるような図形データを領域内に納まる
図形データと同等に扱えられ、記憶容量の減少と処理速
度の向上を図ることができる図形データ検索装置を提供
できる。(Effects of the Invention) As described above, according to the present invention, an area in which all graphic data exists is hierarchically divided, and the graphic data is searched based on the hierarchical divided areas. It is possible to provide a graphic data search device that can handle graphic data that extends between areas in the same manner as graphic data that fits in the area, and can reduce the storage capacity and improve the processing speed.
第1図は本発明の一実施例における分割処理動作を示す
ブロック図、第2図は本実施例における検索処理動作を
示すブロック図、第3図は作業領域から初期領域及び分
割対象領域を設定する様子を示す図、第4図は初期領域
及び分解対象領域を記憶する一例を示す図、第5図の図
形データの一例を示す図、第6図は第3図の階層化した
分割領域を立体的に表す図、第7図は第1図の図形デー
タ記憶部の格納状態を示す図、第8図は図形処理システ
ムを示すブロック図、第9図は従来の分割処理を施され
た図形データの一例を示す図である。 10……作業領域、11……初期領域設定部、12……分割対
象領域決定部、13……階層化領域分割部、14……図形デ
ータ登録部、15……図形データ、16……図形データ記憶
部、17……分割領域記憶部、20……領域重なり判定部、
21……分割領域内図形データ抽出部、22……図形データ
重なり判定部、23……検索領域設定部、24……検索デー
タ記憶部、25……図形操作部。FIG. 1 is a block diagram showing a division processing operation in one embodiment of the present invention, FIG. 2 is a block diagram showing a search processing operation in this embodiment, and FIG. 3 is an initial area and a division target area set from a work area. FIG. 4 is a diagram showing an example of storing the initial region and the decomposition target region, FIG. 5 is a diagram showing an example of the graphic data of FIG. 5, and FIG. 6 is a diagram showing the hierarchical divided regions of FIG. FIG. 7 is a three-dimensional view, FIG. 7 is a diagram showing a storage state of the graphic data storage unit of FIG. 1, FIG. 8 is a block diagram showing a graphic processing system, and FIG. 9 is a graphic subjected to conventional division processing. It is a figure which shows an example of data. 10 …… Work area, 11 …… Initial area setting section, 12 …… Division target area determination section, 13 …… Hierarchical area division section, 14 …… Figure data registration section, 15 …… Figure data, 16 …… Figure Data storage unit, 17 ... divided area storage unit, 20 ... area overlap determination unit,
21 …… Figure data extraction section in divided area, 22 …… Figure data overlap judgment section, 23 …… Search area setting section, 24 …… Search data storage section, 25 …… Figure operation section.
Claims (1)
複数の分割領域を設定し、所望の図形データを包含する
検索領域と前記分割領域との重なる領域内に包含する図
形データを検索する図形データ検索装置において、 前記作業領域における図形データの複雑さや存在密度な
どの分布状態に応じて前記作業領域を階層的に分割する
階層化領域分割手段と、 該階層化領域分割手段により作成された階層化の分割領
域に包含する図形データを登録する図形データ登録手段
と、 複数の前記各分割領域と前記検索領域との重なりを判定
して前記検索領域を含む前記分割領域を求める領域重な
り判定手段と、 該領域重なり判定手段により求めた分割領域内に包まれ
る全ての図形データを前記図形データ登録手段から抽出
する図形データ抽出手段と、 該図形データ抽出手段により抽出した全図形データから
前記検索領域と重なり図形データを求める図形データ重
なり判定手段と を具備することを特徴とする図形データ検索装置。1. A work area including graphic data is divided to set a plurality of divided areas, and graphic data included in an area where a search area including desired graphic data and the divided area overlap is searched. In the figure data retrieval device, the hierarchical area dividing means for hierarchically dividing the work area in accordance with the distribution state of the figure data in the work area, such as complexity and existence density, and the hierarchical area dividing means Graphic data registration means for registering graphic data included in hierarchical divided areas, and area overlap determining means for determining the overlap between each of the plurality of divided areas and the search area to obtain the divided area including the search area And graphic data extraction means for extracting from the graphic data registration means all graphic data enclosed in the divided areas obtained by the area overlap determination means, Graphic data retrieval apparatus characterized by comprising a graphic data overlap judging means for obtaining the graphic data overlap and the search area from the entire graphic data extracted by the graphic data extracting means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60220370A JPH0756671B2 (en) | 1985-10-04 | 1985-10-04 | Graphic data retrieval device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60220370A JPH0756671B2 (en) | 1985-10-04 | 1985-10-04 | Graphic data retrieval device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6280766A JPS6280766A (en) | 1987-04-14 |
| JPH0756671B2 true JPH0756671B2 (en) | 1995-06-14 |
Family
ID=16750059
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60220370A Expired - Lifetime JPH0756671B2 (en) | 1985-10-04 | 1985-10-04 | Graphic data retrieval device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0756671B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62145369A (en) * | 1985-12-20 | 1987-06-29 | Hitachi Ltd | Graphic data retrieving method |
| JP2590327B2 (en) * | 1986-12-02 | 1997-03-12 | 株式会社日立製作所 | How to manage drawing information |
| JPS6436377A (en) * | 1987-07-31 | 1989-02-07 | Pfu Ltd | Graphic data storing system |
| JP2501148Y2 (en) * | 1991-07-03 | 1996-06-12 | ミサワホーム株式会社 | Nose cover mounting structure with ventilation shutter |
| JP4495503B2 (en) * | 2004-04-12 | 2010-07-07 | パナソニック株式会社 | Content receiving method and content distributing method |
-
1985
- 1985-10-04 JP JP60220370A patent/JPH0756671B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6280766A (en) | 1987-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0128980B2 (en) | ||
| JPH0756671B2 (en) | Graphic data retrieval device | |
| JPH0215910B2 (en) | ||
| JPH06119032A (en) | Tool arrangement interference checking method for working graphic data | |
| JPS635795B2 (en) | ||
| JP2699321B2 (en) | File processing device | |
| JP2777628B2 (en) | Graphic processing method and apparatus | |
| JPH0434193B2 (en) | ||
| JP2941278B2 (en) | Drawing management device | |
| JP2667454B2 (en) | Plotting device | |
| JP3423775B2 (en) | Figure editing and drawing device | |
| JP2675410B2 (en) | Graphic processing method | |
| JP2610828B2 (en) | Figure information extraction method | |
| JPS63229568A (en) | How to move the display screen | |
| JPS6155728A (en) | coordinate input device | |
| JPH09230784A (en) | Map display method | |
| JP2614356B2 (en) | Closed figure extraction method | |
| JPH10105738A (en) | Graphic processing apparatus and graphic processing method | |
| JPS63226771A (en) | Circuit diagram forming device | |
| JPH0589106A (en) | Device and method for editing document | |
| JPH05334378A (en) | Graphic processing apparatus and graphic element processing method | |
| JPH07114587A (en) | Design graphic processing method for building or the like | |
| JPH02280279A (en) | Cad/cam device | |
| JPS63247818A (en) | Tablet menu input method | |
| JPH01277933A (en) | Information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |