JPH0215910B2 - - Google Patents
Info
- Publication number
- JPH0215910B2 JPH0215910B2 JP56212658A JP21265881A JPH0215910B2 JP H0215910 B2 JPH0215910 B2 JP H0215910B2 JP 56212658 A JP56212658 A JP 56212658A JP 21265881 A JP21265881 A JP 21265881A JP H0215910 B2 JPH0215910 B2 JP H0215910B2
- Authority
- JP
- Japan
- Prior art keywords
- graphic data
- area
- search
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明は、デイスプレイ画面上に表示された図
形の内のある指定領域の図形データを検索処理す
る方式に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a method for searching and processing graphic data in a specified area of a graphic displayed on a display screen.
(b) 従来技術とその問題点
従来の図形処理方式には、全図形データについ
て逐次その内容を詳細に条件検索する方式と、各
図形の占有領域を矩形で近似した検索キー情報を
活用し、検索キーで粗い条件検索を行ない、条件
に合うものについて、図形データの内容を詳細に
条件検索する方式とがあるが、前者は検索時間が
非常に長い欠点がある。後者は前者の欠点を改善
したものだが、総ての検索キーについて逐次条件
検索しなければならない欠点がある。更に改善す
るには、指定領域に含まれる図形の候補を一層絞
り込むような検索キーの工夫が必要である。(b) Prior art and its problems Conventional graphic processing methods include a method in which the contents of all graphic data are sequentially searched under conditions in detail, and search key information that approximates the occupied area of each graphic by a rectangle. There is a method in which a rough conditional search is performed using a search key, and then a detailed conditional search is performed on the contents of the graphic data for items that meet the conditions, but the former method has the disadvantage that the search time is extremely long. The latter is an improvement over the drawbacks of the former, but it has the drawback of requiring successive conditional searches for all search keys. For further improvement, it is necessary to devise a search key that further narrows down the graphic candidates included in the designated area.
(c) 発明の目的
本発明は、このような問題を解消し、検索した
い図形データが存在する領域のみを検索可能とす
ることにより、無効な検索処理を削減し、高速な
検索方式を実現することを目的とする。(c) Purpose of the Invention The present invention eliminates such problems and enables searching only the area where the graphical data to be searched exists, thereby reducing invalid search processing and realizing a high-speed search method. The purpose is to
(d) 発明の構成
この目的を達成するために本発明は、二次元図
形を扱う図形処理システムの図形データ検索系
は、二次元座標系に配置された各種図形データを
格納しておく図形データ記憶部と、その中からあ
る条件を満たす図形データのみを取り出す図形デ
ータ検索部で構成されており、前記図形データ記
憶部に図形が存在する有効座標領域を区分するこ
とによりデータの検索範囲を限定する検索キー情
報を設け、更にその検索キー情報に基づいて指定
領域内に全てまたは一部が含まれる図形データの
全体を検索を可能とする図形データ検索部を設け
た構成を採つている。(d) Structure of the Invention In order to achieve this object, the present invention provides a graphic data retrieval system of a graphic processing system that handles two-dimensional figures, which uses graphic data that stores various graphic data arranged in a two-dimensional coordinate system. It is composed of a storage section and a graphic data search section that retrieves only graphic data that satisfies certain conditions from the storage section, and limits the data search range by dividing the effective coordinate area in which graphics exist in the graphic data storage section. The present invention employs a configuration in which search key information is provided for searching, and a graphic data search section is further provided that makes it possible to search all or a portion of graphic data contained within a specified area based on the search key information.
(e) 発明の実施例
次に本発明による図形処理における図形データ
検索方式の実施例を説明する。第1図は本発明方
式の第1実施例を示すブロツク図である。1は図
形データ記憶部、2は図形データ検索部、3はデ
イスプレイである。図形データ記憶部1には、第
2図ロに示すような区分領域データと、ハに示す
ような図形データアドレスと、ニに示すような図
形データとが夫々格納されている。即ち、図形会
話処理の図形データ検索系は、第2図イの図形デ
ータが同図ロ,ハ,ニの形式で格納される図形デ
ータ記憶部1、図形検索条件である指定検索領域
情報に基づいて、その領域内の図形データを検索
し出力する図形データ検索部2、および図形デー
タの表示と図形検索の指示を受け付けるデイスプ
レイ3で構成される。(e) Embodiments of the Invention Next, an embodiment of a graphic data retrieval method in graphic processing according to the present invention will be described. FIG. 1 is a block diagram showing a first embodiment of the system of the present invention. 1 is a graphic data storage section, 2 is a graphic data search section, and 3 is a display. The graphic data storage section 1 stores segmented area data as shown in FIG. 2B, graphic data addresses as shown in C, and graphic data as shown in D. That is, the graphic data retrieval system of the graphic conversation process is based on the graphic data storage unit 1 in which the graphic data in FIG. It is comprised of a graphic data search section 2 that searches for and outputs graphic data within the area, and a display 3 that accepts instructions for displaying graphic data and graphic search.
第2図イはデイスプレイ3の画面表示を例示し
たもので、全図形が配置されている有効座標領域
が、メモリ上において格子状に例えば6つの領域
に区分されている。そしてその各区分毎にロのよ
うに、ポインタI1〜I6を設定し、図形データ記憶
部1に登録しておく。例えば画面の座標値(1、
1)と(2、2)で囲まれた領域は、ポインタ
I1、座標値(2、2)と(3、3)で囲まれた領
域はポインタI5というように設定され、或るポイ
ンタによつて、対応する領域が代表されている。 FIG. 2A shows an example of the screen display of the display 3, in which the effective coordinate area in which all the figures are arranged is divided into, for example, six areas in a grid pattern on the memory. Then, pointers I 1 to I 6 are set for each division as shown in (b) and registered in the graphic data storage unit 1. For example, the screen coordinate values (1,
The area surrounded by 1) and (2, 2) is a pointer
The area surrounded by I 1 and the coordinate values (2, 2) and (3, 3) is set as a pointer I 5 , and the corresponding area is represented by a certain pointer.
そして、デイスプレイに表示されている各図形
ごとにハのように図形データアドレスJ1〜J6が設
定され、図形データ記憶部1に登録される。例え
ば区分(1)、(2)、(6)には図形が1つしかないので、
図形データアドレスも1つしかないが、区分(3)、
(4)、(5)のように2つの図形が存在しているとき
は、夫々の図形ごとにアドレスも用意される。そ
してこれらの各図形データアドレスごとに、ニの
ように、対応する図形のデータが図形データ記憶
部1に登録されている。 Then, graphic data addresses J 1 to J 6 are set for each graphic displayed on the display as shown in C, and registered in the graphic data storage section 1. For example, there is only one figure in categories (1), (2), and (6), so
There is only one figure data address, but category (3),
When two figures exist as in (4) and (5), an address is also prepared for each figure. For each of these graphic data addresses, corresponding graphic data is registered in the graphic data storage section 1 as shown in (D).
このように本発明は、図形が二次元的な拡がり
を有する特性と全図形が配置された有効座標領域
を格子状に区分すると、各図形はいずれかの区分
された領域に全体又は一部が属するという特性を
利用し、指定領域内の図形検索処理に対し、図形
データ検索の範囲を限定する手段として、前記の
区分領域毎に、その区分に属する図形データのア
ドレスなどの検索キー情報を集合化して図形デー
タ記憶部1に登録し、検索時に指定領域条件に合
う区分領域の検索をするだけで、指定領域条件を
満たす可能性の高い図形データのみに着目して詳
細な条件検索を行わせようとしたものである。 In this way, the present invention has the characteristic that a figure has a two-dimensional spread and divides the effective coordinate area in which all the figures are arranged into a lattice shape, so that each figure is entirely or partially located in one of the divided areas. As a means of limiting the range of graphic data search in a graphic search process within a specified area by utilizing the property of belonging to the specified area, search key information such as the address of graphic data belonging to that division is collected for each segmented area. By simply registering the data into the graphic data storage unit 1 and searching for segmented areas that match the specified area conditions at the time of search, detailed conditional searches can be performed focusing only on graphic data that are likely to satisfy the specified area conditions. This is what I tried to do.
図形データ検索部2には、区分領域決定部4、
図形データアドレス抽出部5および図形データ詳
細検索部6を備えている。次にデイスプレイにお
いて、ライトペンで検索領域が指定された場合に
ついて説明する。デイスプレイ部からの図形検索
の指示は、指定検索領域としての座標値Sl、Sh
の形で与えられる。すると、検索処理部2におけ
る区分領域決定部4で各区分領域を示す座標
PAl、PAhと検索領域(Sl、Sh)を照合し、検索
領域の全体または一部を含む区分領域を逐次決定
する。1つの区分領域が決められるとその区分領
域データから領域内の図形データアドレスJ1〜J6
を図形データアドレス抽出部5で取り出し、その
アドレスをもとに図形データ詳細検索部6が図形
データニの内容を取り出して、図形データの一部
または全部が検索領域(Sl、Sh)に存在してい
るか否かを調べ、この条件を満たす図形データの
み出力する。第3図は以上の処理動作の詳細を示
すフローチヤートである。 The graphic data search unit 2 includes a segmented area determination unit 4,
It includes a graphic data address extraction section 5 and a graphic data detailed search section 6. Next, a case will be described in which a search area is specified with a light pen on the display. The figure search instruction from the display section is based on the coordinate values Sl and Sh as the specified search area.
It is given in the form of Then, the segmented area determination unit 4 in the search processing unit 2 determines the coordinates indicating each segmented area.
PAl and PAh are compared with the search area (Sl, Sh), and a segmented area that includes the entire or part of the search area is sequentially determined. When one segmented area is determined, the graphic data addresses J 1 to J 6 within the area are determined from the segmented area data.
The graphic data address extractor 5 extracts the graphic data, and based on the address, the graphic data detailed search unit 6 extracts the contents of the graphic data and determines whether part or all of the graphic data exists in the search area (Sl, Sh). Only the graphic data that satisfies this condition is output. FIG. 3 is a flowchart showing details of the above processing operation.
このように本発明によれば、図形データの所在
を示すアドレスなどを集合化した検索キー情報を
図形データ記憶部1に登録しておき、指定領域条
件を満たす区分単位の検索キーに着目し、図形デ
ータの詳細検索を行なうことにより、検索範囲が
限定され、無効な検索処理が減少し、図形データ
の検索処理が高速に行なわれる。 As described above, according to the present invention, search key information that is a collection of addresses indicating the location of graphic data, etc. is registered in the graphic data storage unit 1, and by focusing on search keys for each category that satisfy the designated area condition, By performing a detailed search for graphic data, the search range is limited, invalid search processing is reduced, and graphic data search processing is performed at high speed.
第4図は本発明の他の実施例を示すもので、第
1図と異なるのは、第1に第5図ロのように、区
分領域データ内の図形データアドレスデータを指
すポインタを除いたことである。第2に区分領域
毎に図形データアドレスを登録することを止め、
第5図ハのように、図形データアドレスと区分領
域数分のビツト列を組み合せた図形データ検索キ
ーデータを設けると共に、各ビツト位置は区分領
域に対応して、図形データアドレスで示す図形が
属する区分領域の対応ビツトが“1”、他は“0”
をセツトするようにしてある。 FIG. 4 shows another embodiment of the present invention. The difference from FIG. 1 is that, as shown in FIG. That's true. Second, stop registering graphic data addresses for each segmented area,
As shown in Fig. 5C, graphic data search key data is provided which is a combination of a graphic data address and bit strings for the number of segmented areas, and each bit position corresponds to a segmented area to indicate to which the figure indicated by the graphic data address belongs. The corresponding bit of the segmented area is “1”, the others are “0”
is set.
この場合の検索手順は、区分領域決定部4で指
定検索領域がどの区分に属するかを決定し、図形
データアドレス抽出部5では、既に決定された区
分領域に対応する図形データ検索キーデータのビ
ツト位置のみを調べ、“1”の場合のみ、図形デ
ータアドレスを抽出し、図形データ詳細検索部6
で最終的な検索をする。 In this case, the search procedure is such that the segmented area determination unit 4 determines which segment the specified search area belongs to, and the graphic data address extraction unit 5 extracts the bits of the graphic data search key data corresponding to the already determined segmented area. Only the position is checked, and only if it is "1", the figure data address is extracted and the figure data detailed search unit 6
to do the final search.
この実施例では、検索速度が第1実施例より若
干劣るが検索キー情報の更新などの処理が簡単に
なるため、別の意味で処理時間の短縮の効果があ
る。 In this embodiment, although the search speed is slightly lower than that in the first embodiment, processing such as updating search key information is simplified, so that there is an effect of shortening the processing time in another sense.
(g) 発明の効果
以上のように本発明によれば、二次元図形を扱
う図形処理システムの図形データ検索系は、二次
元座標系に配置された各種図形データを格納して
おく図形データ記憶部と、その中からある条件を
満たす図形データのみを取り出す図形データ検索
部で構成されており、前記図形データ記憶部に図
形が存在する有効座標領域を区分することにより
データの検索範囲を限定する検索キー情報を設
け、更にその検索キー情報に基づいて指定領域内
に全てまたは一部が含まれる図形データの全体を
検索を可能とする図形データ検索部を設けた構成
を採つている。そのため或る限定された領域のみ
を検索処理すればよいので、検索速度が向上す
る。(g) Effects of the Invention As described above, according to the present invention, the figure data retrieval system of a figure processing system that handles two-dimensional figures uses a figure data storage that stores various figure data arranged in a two-dimensional coordinate system. and a figure data search unit that extracts only figure data that satisfies a certain condition from the figure data search unit, and limits the data search range by dividing the effective coordinate area in which figures exist in the figure data storage unit. The present invention has a configuration in which search key information is provided and a graphic data search section is further provided that allows searching for all or a portion of graphic data contained within a designated area based on the search key information. Therefore, it is necessary to search only a certain limited area, so the search speed is improved.
第1図は本発明による図形データ検索方式の第
1実施例を示すブロツク図、第2図は第1図の図
形データ記憶部に格納するデータの形式を説明す
る図、第3図は第1図における検索処理部の手続
を説明するフローチヤート、第4図は本発明の他
の実施例を説明する図、第5図は第4図の図形デ
ータ記憶部に格納するデータの形式を説明する図
である。
図において、1は図形データ記憶部、2は図形
データ検索部、3はデイスプレイ、4は区分領域
決定部、5は図形データアドレス抽出部、6は図
形データ詳細検索部、ロは区分領域データ、ハは
図形データアドレス、ニは図形データを夫々示
す。
FIG. 1 is a block diagram showing a first embodiment of the graphic data retrieval method according to the present invention, FIG. 2 is a diagram explaining the format of data stored in the graphic data storage section of FIG. 1, and FIG. 4 is a flowchart explaining the procedure of the search processing unit in the figure, FIG. 4 is a diagram explaining another embodiment of the present invention, and FIG. 5 is a diagram explaining the format of data stored in the graphic data storage unit in FIG. 4. It is a diagram. In the figure, 1 is a graphic data storage unit, 2 is a graphic data search unit, 3 is a display, 4 is a segmented area determination unit, 5 is a graphic data address extraction unit, 6 is a graphic data detailed search unit, B is segmented area data, C indicates a graphic data address, and D indicates graphic data.
Claims (1)
て、 デイスプレイ画面表示の有効座標領域を区分し
た区分域領域データと、区分域領域内に表示され
る各図形ごとに、図形データが記憶された記憶部
の、図形データアドレスと、実際の図形データと
が記憶された、図形データ記憶部1と、 デイスプレイ画面上の指定検索領域を指示する
手段と、 該指定検索領域の指示情報に基づいて、区域領
域を決定する手段と、該区域領域決定後、該当す
る区域領域内に存する図形データのアドレスを抽
出する手段と、該アドレスに基づいて図形データ
の一部または全部が、検索領域内に存在している
か否かを調べ、この条件を満たす図形データのみ
を、図形データ記憶部から検索する図形データ詳
細検索部とを具備した図形データ検索部2から構
成されていることを特徴とする図形処理における
図形データ検索方式。[Scope of Claims] 1. In a graphic processing system that handles two-dimensional figures, graphic data is stored for segmented area area data that divides the effective coordinate area displayed on a display screen and for each figure displayed within the segmented area. a graphic data storage section 1 in which graphic data addresses of the designated storage section and actual graphic data are stored; means for designating a designated search area on a display screen; and means for designating a designated search area on the display screen; means for determining an area; after determining the area; means for extracting the address of the graphic data existing within the area; The graphic data retrieval unit 2 includes a graphic data detailed search unit that checks whether the graphic data exists in the graphic data storage unit and retrieves only graphic data that satisfies this condition from the graphic data storage unit. A graphic data retrieval method in graphic processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56212658A JPS58117077A (en) | 1981-12-31 | 1981-12-31 | Diagram data retrieval system in diagram processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56212658A JPS58117077A (en) | 1981-12-31 | 1981-12-31 | Diagram data retrieval system in diagram processing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58117077A JPS58117077A (en) | 1983-07-12 |
| JPH0215910B2 true JPH0215910B2 (en) | 1990-04-13 |
Family
ID=16626259
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56212658A Granted JPS58117077A (en) | 1981-12-31 | 1981-12-31 | Diagram data retrieval system in diagram processing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58117077A (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60196856A (en) * | 1984-03-20 | 1985-10-05 | Olympus Optical Co Ltd | Picture retrieval registering system |
| JPS60241175A (en) * | 1984-05-16 | 1985-11-30 | Mitsubishi Electric Corp | Graphic processor |
| JPS61283969A (en) * | 1985-06-11 | 1986-12-13 | Fujitsu Ltd | Gragphic processing system |
| JPS62135975A (en) * | 1985-12-09 | 1987-06-18 | Chiyuushiyou Kigyo Jigyodan | Graphic information extracting method |
| JPS62145369A (en) * | 1985-12-20 | 1987-06-29 | Hitachi Ltd | Graphic data retrieving method |
| JP2656473B2 (en) * | 1986-06-27 | 1997-09-24 | 株式会社日立製作所 | Graphic data retrieval device |
| US5144679A (en) * | 1987-06-29 | 1992-09-01 | Hitachi, Ltd | Graphic data searching and storage method |
| JPH02188883A (en) * | 1989-01-17 | 1990-07-24 | Mitsubishi Electric Corp | Graphic display method |
| JP2543425B2 (en) * | 1990-03-12 | 1996-10-16 | 三菱電機株式会社 | Figure display method |
-
1981
- 1981-12-31 JP JP56212658A patent/JPS58117077A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58117077A (en) | 1983-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5278946A (en) | Method of presenting multimedia data in a desired form by comparing and replacing a user template model with analogous portions of a system | |
| JPH07160827A (en) | Handwriting stroke editing apparatus and method | |
| JPH01161481A (en) | Display | |
| JPH0128980B2 (en) | ||
| JPH0215910B2 (en) | ||
| JPS6037945B2 (en) | How to display hierarchical tree-structured text in an ordered structure | |
| JP2686758B2 (en) | Graphic editing device | |
| JPH0821057B2 (en) | Document image analysis method | |
| JP2792270B2 (en) | Search device | |
| JP2571032B2 (en) | Map image creation device | |
| JPH09230784A (en) | Map display method | |
| JP2590327B2 (en) | How to manage drawing information | |
| JPH0756671B2 (en) | Graphic data retrieval device | |
| JP2777628B2 (en) | Graphic processing method and apparatus | |
| JP3423775B2 (en) | Figure editing and drawing device | |
| JPS62210583A (en) | Shape editing device | |
| JPH0282355A (en) | Document search support system | |
| JPH05334378A (en) | Graphic processing apparatus and graphic element processing method | |
| JPH09185696A (en) | Map information system | |
| JPH0334098B2 (en) | ||
| CN118035321A (en) | Visualization method and system for visualization database | |
| AU2003246033B2 (en) | Relating a Point of Selection to One of a Hierarchy of Graphical Objects | |
| JPH08221588A (en) | Illustration creation method | |
| JPH0612555B2 (en) | Drawing search display device | |
| JPH0525139B2 (en) |