JPH06168223A - Pipe network analyzing device, data display device for the same and graphic generating method - Google Patents

Pipe network analyzing device, data display device for the same and graphic generating method

Info

Publication number
JPH06168223A
JPH06168223A JP21424693A JP21424693A JPH06168223A JP H06168223 A JPH06168223 A JP H06168223A JP 21424693 A JP21424693 A JP 21424693A JP 21424693 A JP21424693 A JP 21424693A JP H06168223 A JPH06168223 A JP H06168223A
Authority
JP
Japan
Prior art keywords
data
pipe network
network
display
detailed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21424693A
Other languages
Japanese (ja)
Inventor
Tomomi Fukuda
智美 福田
Yorio Sawada
順夫 澤田
Kazushige Takahashi
一重 高橋
Osamu Hori
修 堀
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP21424693A priority Critical patent/JPH06168223A/en
Publication of JPH06168223A publication Critical patent/JPH06168223A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the pipe network analyzing device capable of calculating the result of analyzing a detailed pipe network at high speed. CONSTITUTION:Hierarchical pipe network data 1 provided with coarse pipe network data 11 and detailed pipe network data 12 concerning an objective area and demand data 2 are prepared, the analysis of the coarse pipe network is executed by a gloval pipe network analysis part 7 corresponding to these pipe network data 1 and demand data 2, the detailed pipe network data corresponding to a small block designated by an MMI/F 3 for designating the small block of the pipe network inside the objective area are selected from the detailed pipe network data 12 of the pipe network data 1 by a pipe network data selection part 5, these selected detailed pipe network data are worked by a gloval result work part 6 while using the analyzed result of the gloval pipe network analysis part 7, and pipe network calculation concerning yhe detailed pipe network is executed by these worked detailed pipe network data and the demand data 2 concerning the detailed pipe network selected by a demand data selection part 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、上水道などの管網解析
に用いられる管網解析装置およびそのデータ表示装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pipe network analysis device used for pipe network analysis of waterworks and the like and a data display device thereof.

【0002】[0002]

【従来の技術】最近、コンピュータでの処理の高速化に
より、水の需要量に基づいて水道のネットワ―クにおけ
る水の流量と水頭値を計算して、これらの傾向をシミュ
レーションするための上水道の管網解析計算が実用化さ
れている。
2. Description of the Related Art Recently, due to speeding up of computer processing, the flow rate and head value of water in a water supply network are calculated based on the demand amount of water, and the water supply system for simulating these trends is calculated. Pipe network analysis calculation has been put to practical use.

【0003】このような管網解析は、水道のネットワ―
クのサイズが大きくなるとその計算量がかなり多くなる
もので、さらに、この管網解析計算を対話制御やリアル
タイム表示など短時間で計算する必要のある場合は、一
層の高速化が必要になる。
Such a network analysis is carried out by a water supply network.
If the size of the network becomes large, the amount of calculation becomes considerably large, and further, when it is necessary to calculate this pipe network analysis calculation in a short time such as interactive control or real-time display, further speedup is required.

【0004】ところで、このような管網解析は管路網が
閉じた系をなす対象地域全体で行なうことが望ましい
が、特に都市部などでは、そのような地域は非常に広
く、ネットワ―クのサイズも大きくなる。そこで、この
ような広域に亘る計算の場合は、管網を縮約して粗いネ
ットワ―クに変更して管網解析を行うようにしている。
By the way, it is desirable that such a network analysis be conducted over the entire target area where the pipeline network is closed, but especially in urban areas, such an area is very large and the network The size also increases. Therefore, in the case of calculation over such a wide area, the network is contracted and changed to a coarse network to analyze the network.

【0005】ところが、従来の管網解析によると、一部
の地域での詳細な解析結果を知りたいような場合にも、
管網の閉じた系全体で管網解析をおこなうことから、対
象地域全体において詳細な管網による計算をしなければ
ならなかった。
However, according to the conventional pipe network analysis, even when it is desired to know the detailed analysis result in some areas,
Since the network analysis is performed for the entire system with the closed network, detailed network calculations had to be performed for the entire target area.

【0006】このため、例えば、一部の小地域につい
て、そこでの詳細な管網での解析結果を素早く知りたい
ような場合には、従来の方法では、詳細な管網で計算す
れば、詳細な管網での解析結果が得られるが計算時間が
かかりすぎ、一方、粗い管網で解析をすれば、高速計算
できるが、これにより得られる結果自身は粗い管網に対
するものであることから、結果として詳細な管網での解
析結果を短時間で得られないという問題点があった。
For this reason, for example, when it is desired to quickly know the detailed analysis result of a small network in some small areas, the conventional method can be used to calculate the detailed network. Although an analysis result with a pipe network is obtained, it takes too much calculation time.On the other hand, if a coarse pipe network is used for analysis, high-speed calculation is possible, but the result itself is for a coarse pipe network. As a result, there is a problem that detailed analysis results cannot be obtained in a short time.

【0007】また、従来、このような管網解析の結果デ
ータを表示するデータ表示装置として、粗い管網に対す
る表示と詳細な管網に対する表示とを適宜に切替えるよ
うにしたものがある。しかし、これら表示は単に切り換
えて表示するだけであり、これら表示の切替えとともに
視点や表示方法の変更までを効果的に切替えできるもの
は現状では見当たらない。また、現状では対象地域の地
図などの図形表示と同時に管網解析の結果を効果的に表
示するようなものも見当たらない。
Conventionally, as a data display device for displaying the result data of such a pipe network analysis, there is one that appropriately switches between a display for a coarse pipe network and a display for a detailed pipe network. However, these displays are simply switched and displayed, and at present, there is no one that can effectively switch the viewpoints and the display methods together with the switching of these displays. In addition, at present, there is no one that effectively displays the results of pipe network analysis at the same time as displaying the map of the target area.

【0008】[0008]

【発明が解決しようとする課題】このように、従来で
は、詳細な管網での局所的な解析結果を素早く知りたい
ような場合に、詳細な管網で計算すると計算時間がかか
りすぎ、一方、粗い管網で解析をすると高速計算できる
が、この結果は粗い管網に対するものになってしまうこ
とから、結果として詳細な管網の結果を短時間で得られ
ない欠点があった、また、粗い管網に対する結果と詳細
な管網に対する結果の表示切替えにともなう視点や表示
方法の変更などについて効果的に切替えでき、しかも対
象地域の地図などの図形表示とともに管網解析結果を表
示するようなものは、現状では見当たらない。
As described above, in the related art, when it is desired to quickly know the local analysis result in a detailed network, the calculation with the detailed network takes too much time, while High-speed calculation is possible if analysis is performed with a coarse network, but since this result is for a coarse network, there was a drawback that detailed network results could not be obtained in a short time. It is possible to effectively switch the view point and display method associated with the switching of the display of the results for the pipeline network and the detailed results for the pipeline network, and also to display the pipeline network analysis results together with the graphic display of the target area. Is currently not found.

【0009】本発明は、上記事情に鑑みてなされたもの
で、詳細な管網に対する局所的な解析結果を高速に計算
することができる管網解析装置を提供することを目的と
する。また、本発明は、対象地域の地図などの図形表示
とともに表示データを効果的に表示することができるデ
ータ表示装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a pipe network analysis apparatus capable of calculating a local analysis result for a detailed pipe network at high speed. It is another object of the present invention to provide a data display device capable of effectively displaying display data together with a graphic display of a map of a target area.

【0010】[0010]

【課題を解決するための手段】本発明は、対象地域に対
する粗い管網データと詳細な管網データを有する階層的
管網データと需要データを用意した手段と、前記階層的
管網データと需要データにより粗い管網に対する解析を
実行する手段と、前記対象地域内で管網の小区域を指定
する手段と、この手段で指定された小区域に対応する詳
細な管網データを前記階層的管網データの詳細な管網デ
ータより選択する手段と、詳細な管網に関する需要デ―
タを選択する手段と、前記小区域に対応して選択された
詳細な管網データを前記粗い管網に対する解析結果によ
り加工する手段と、前記詳細な管網に関する需要デ―タ
と前記加工された詳細な管網データにより詳細管網に関
する管網計算を実行する手段により構成されている。
Means for Solving the Problems The present invention provides a means for preparing hierarchical network data and demand data having coarse network data and detailed network data for a target area, and the hierarchical network data and demand. Means for performing an analysis on a coarse network by means of data; means for designating a small area of the network within the target area; and detailed network data corresponding to the small area designated by this means for the hierarchical management. Means to select from detailed network data of network data and demand data for detailed network
Means for selecting data, means for processing the detailed network data selected corresponding to the small area according to the analysis result for the rough network, demand data for the detailed network and the processed data. It is configured by means for executing a pipe network calculation for the detailed pipe network based on the detailed pipe network data.

【0011】また、本発明は、図形データと属性データ
を記憶した手段と、この手段に記憶された図形データと
属性データに対する表示方法を登録した手段と、前記記
憶された図形データと属性データに対して表示対象領域
と表示対象を選択する手段と、この手段により選択され
た表示対象領域に対して表示対象に最適な表示方法を検
索しデ―タ表示を行う手段により構成されている。
The present invention further includes means for storing graphic data and attribute data, means for registering a display method for the graphic data and attribute data stored in this means, and the stored graphic data and attribute data. On the other hand, it comprises a display target area and a means for selecting a display target, and means for searching the display target area selected by this means for a display method most suitable for the display target and performing data display.

【0012】一方、第3の発明は、外側の輪郭線から構
成される外図形、および当該外図形に包含され、内側の
輪郭線から構成される少なくとも1つの内図形からなる
図形のデータから各図形の輪郭線を抽出する第1のステ
ップと、この抽出した各輪郭線を基に、前記外図形およ
び前記内図形の各々の形状情報、ならびに各図形間の包
含関係を構造化する第2のステップと、この構造化され
た形状情報および包含関係を基に、前記内図形および前
記外図形、または前記内図形およびこれを包含している
同一の外図形に包含される他の内図形を連結するための
疑似連結線を生成する第3のステップと、前記疑似連結
線を用いて各図形の輪郭線を連結することによって、一
つの閉じた図形を生成する第4のステップとを有するこ
とを特徴とする。
On the other hand, a third aspect of the present invention is based on each of the data of an external figure composed of an outer contour line and data of at least one inner figure composed of an inner contour line included in the outer figure. A first step of extracting the contour line of a figure, and a second step of structuring the shape information of each of the outer figure and the inner figure and the inclusion relation between each figure based on each of the extracted contour lines. Based on the step and the structured shape information and inclusion relation, the inner figure and the outer figure, or the inner figure and another inner figure included in the same outer figure including the inner figure are connected. And a fourth step of generating one closed figure by connecting the outlines of the figures using the pseudo-connection line. Characterize.

【0013】[0013]

【作用】この結果、本発明は、対象地域における階層的
管網情報と需要情報が与えられ、粗い管網に対する管網
解析を実行し、この粗い管網での管網解析結果を用いて
小区域に対応する詳細な管網データを加工し、この加工
された詳細な管網データと詳細な管網に関する需要デ―
タにより詳細管網に関する管網計算を実行するようにな
っている。これにより、対象地域の一部の区域を指定さ
れたような場合に、そこでの詳細な管網での解析結果を
高速に計算することができるようになり、管網の局所的
解析の表示に迅速な応答が得られるようになる。
As a result, according to the present invention, the hierarchical network information and the demand information in the target area are given, the network analysis for the coarse network is executed, and the network analysis result in the coarse network is used to perform the small scale analysis. Detailed pipe network data corresponding to the area is processed, and the processed detailed pipe network data and the demand data for the detailed pipe network are processed.
It is designed to execute the network calculation for the detailed network. This makes it possible to calculate the detailed analysis results of the pipe network at a high speed when a part of the target area is specified, and to display the local analysis of the pipe network. You will get a quick response.

【0014】また、本発明は、図形データと属性データ
に対してこれらの表示方法を登録しておき、図形データ
と属性データに対し表示対象領域と表示対象が選択され
ると、この選択された表示対象領域に対して表示対象に
最適な表示方法を検索しデ―タ表示を行うようになって
いる。これにより、対象地域の地図などの図形表示とと
もに表示データを、適切な視点設定により効果的に表示
することができるようになる。
Further, according to the present invention, these display methods are registered for the graphic data and the attribute data, and when the display target area and the display target are selected for the graphic data and the attribute data, the selection is made. The optimum display method for the display target is searched for in the display target area and the data is displayed. As a result, it becomes possible to effectively display the display data as well as the graphic display of the map of the target area by setting the appropriate viewpoint.

【0015】一方、上記第3の発明では、1つの外図形
および少なくとも1つの内図形からなる図形のデータか
らこれら外図形・内図形の輪郭線を抽出し、この抽出し
た各輪郭線を基に、外図形・内図形の各々の形状情報、
各図形間の包含関係を構造化し、そして、求めた形状情
報および包含関係を基に、内図形および外図形、前記内
図形同士をそれぞれ連結するための疑似連結線を生成
し、この疑似連結線を用いて各図形の輪郭線を連結する
ことによって、一つの閉じた図形を生成するようになっ
ている。これによって、外図形・内図形からなる穴あき
図形を一つの図形として扱うことができるようになる。
従って、例えばコンピュータ・グラフィクスでは、生成
された図形の輪郭形状の凹凸のみを考慮するだけで塗り
つぶしのためのパッチ生成を行なうことができる、とい
った利点がある。
On the other hand, according to the third aspect of the invention, the contour lines of the outer figure and the inner figure are extracted from the data of the figure consisting of one outer figure and at least one inner figure, and based on each extracted contour line. , Shape information of each outer and inner figure,
The inclusion relation between each figure is structured, and based on the obtained shape information and the inclusion relation, a pseudo connecting line for connecting each of the inner figure, the outer figure, and the inner figure is generated, and this pseudo connecting line is generated. Is used to connect the contour lines of each figure to generate one closed figure. This makes it possible to handle a perforated figure consisting of an outer figure and an inner figure as one figure.
Therefore, for example, in computer graphics, there is an advantage that a patch for filling can be generated only by considering only the unevenness of the contour shape of the generated figure.

【0016】[0016]

【実施例】まず、本発明で取り扱う管網計算の具体例で
ある上水道管網解析の定式化について説明する。この場
合、管網を構成するネットワ―クをノ―ドからなるグラ
フ構造で表すものとする。ここで、管網解析とは、各ノ
―ドにおける水頭(水圧と高度の和)と各ア―クにおけ
る流量を計算することである。そして、管網計算に必要
なデ―タは、管網デ―タ、配水場デ―タおよび水需要デ
―タである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the formulation of a water supply network analysis, which is a concrete example of the network calculation handled in the present invention, will be described. In this case, the networks that make up the network are represented by a graph structure consisting of nodes. Here, the pipe network analysis is to calculate the head of water (sum of water pressure and altitude) at each node and the flow rate at each arc. The data necessary for the calculation of the pipe network are the pipe network data, the water distribution site data, and the water demand data.

【0017】ここで、管網データには、幾何情報のグラ
フ構造と、ノ―ドとア―クの属性情報を使用する。ノ―
ドの属性とは、供給点か消費点かの分類である。供給点
は配水場であり水を供給する地点を表し、消費点は水を
消費する地点を表す。ア―クの属性として、抵抗にあた
るパラメタ(R)がある。このパラメタは、ア――クの
流量(Q)と両端のノ―ドの水頭の差である水頭損失
(H)との間で、管網解析でよく用いられる次のヘ―ゼ
ン・ウィリアムス式に用いられる。
Here, for the network data, the graph structure of geometric information and the attribute information of nodes and arcs are used. No
The attribute of the code is a classification of supply point and consumption point. A supply point is a water distribution site and represents a point of supplying water, and a consumption point represents a point of consuming water. A parameter (R) corresponding to resistance is an attribute of the arc. This parameter is the following Hazen-Williams equation, which is often used in pipe network analysis, between the flow rate of the arc (Q) and the head loss (H) which is the difference between the heads of the nodes at both ends. Used for.

【0018】H=R・Q 1.85 …(1) 以後、このパラメタRを抵抗と呼ぶ。即ち、管網デ―タ
はア―ク属性としてこの抵抗値を持つ。この関係式を用
いることによって、流量と損失水頭は相互に計算可能で
ある。
H = R · Q 1.85 (1) Hereinafter, this parameter R is referred to as resistance. That is, the pipe network data has this resistance value as an arc attribute. By using this relation, the flow rate and head loss can be calculated mutually.

【0019】水の需要デ―タは、地域毎の水の消費デ―
タである。このデ―タは、給水事業者(地方自治体)で
把握されている。また、このデ―タが与えられていない
場合には、建築用途毎の需要と延床面積を用いて近似的
に計算できる。管網解析用の水の需要デ―タとしては、
管網デ―タのすべての消費ノ―ドに水の消費量を割り当
てたものを用いる。また、配水場デ―タは、供給ノ―ド
に対応する配水場での水頭値のデ―タである。
Water demand data is water consumption data for each region.
It is This data is known to the water supply company (local government). If this data is not given, it can be approximately calculated using the demand and the total floor area for each building application. Water demand data for pipe network analysis
All the consumption nodes of pipe network data shall be assigned the consumption of water. Moreover, the water distribution site data is the data of the water head value at the water distribution site corresponding to the supply node.

【0020】こうして、管網モデルにおいて基本的に成
立する式は、各ノ―ドにおける流入と流出の差が、その
ノ―ドにおける需要量に等しいことと、損失水頭に関す
るヘ―ゼン・ウィリアムス式の2種類のみである。管網
解析は、これらの関係式を成立させる水頭と流量を求め
る計算手法である。
Thus, the equations basically established in the pipe network model are that the difference between the inflow and outflow in each node is equal to the demand amount in that node, and that the Hazen-Williams equation for the head loss is There are only two types. Pipe network analysis is a calculation method for obtaining the head and flow rate that satisfy these relational expressions.

【0021】(第1実施例)図1は、このことを考慮し
た管網解析装置の概略構成を示している。この場合、管
網デ―タ1と需要デ―タ2はあらかじめ用意されてい
る。また、同実施例での管網デ―タ1は、対象地域にお
ける粗い管網データ11と詳細な管網データ12の2種
類からなっている。ここでは、粗い管網のすべてのノ―
ドに対して詳細な管網のノ―ドが対応付けられ、階層構
造からなるデ―タ構造を持つようになっている。これ
は、大規模なネットワ―ク構造を効率的に管理する一般
的な手法である。また、需要デ―タ2は、地域毎の水の
消費デ―タである。
(First Embodiment) FIG. 1 shows a schematic construction of a pipe network analyzing apparatus in consideration of this fact. In this case, the pipe network data 1 and the demand data 2 are prepared in advance. Further, the pipe network data 1 in the embodiment is made up of two types, that is, coarse pipe network data 11 and detailed pipe network data 12 in the target area. Here, all of the coarse tube network
A detailed network node is associated with each node, and has a hierarchical data structure. This is a common technique for efficiently managing large-scale network structures. Demand data 2 is water consumption data for each region.

【0022】そして、MMI/F(マンマシンインタ―
フェ―ス)3、需要デ―タ選択部4、管網デ―タ選択部
5、グロ―バル結果加工部6、グローバル管網解析部
7、ロ―カル管網解析部8、表示部9により構成されて
いる。
Then, the MMI / F (man-machine interface)
Face) 3, demand data selection unit 4, pipe network data selection unit 5, global result processing unit 6, global pipe network analysis unit 7, local pipe network analysis unit 8, display unit 9 It is composed by.

【0023】このような構成から、いま対象地域におけ
る一部である小区域をMMI/F3で指定すると、管網
デ―タ1のうちの詳細な管網データ12を用いて、その
小区域での管網解析結果が計算される。
With such a configuration, if a small area which is now a part of the target area is designated by MMI / F3, the detailed network data 12 of the network data 1 is used to create a small area in that area. The pipe network analysis result of is calculated.

【0024】この場合、需要デ―タ選択部4では、詳細
な管網に関する需要デ―タ2を生成する。また、管網デ
―タ選択部5では、この小区域でのロ―カルな管網を詳
細な管網デ―タ12から選択する。グロ―バル結果加工
部6では、グロ―バル管網解析部7の計算したグロ―バ
ルの結果から、MMI/F3で指定した小区域のロ―カ
ルな情報を選択する。そして、ロ―カル管網解析部8で
は、このロ―カル情報を用いてロ―カルな詳細管網にお
ける管網計算を行い、その結果を表示部9に表示するよ
うになる。
In this case, the demand data selecting section 4 generates the demand data 2 relating to the detailed pipe network. Further, the pipe network data selecting section 5 selects a local pipe network in this small area from the detailed pipe network data 12. The global result processing unit 6 selects the local information of the small area designated by the MMI / F3 from the global result calculated by the global pipe network analysis unit 7. Then, the local pipe network analysis unit 8 uses this local information to perform the pipe network calculation in the local detailed pipe network, and displays the result on the display unit 9.

【0025】この場合、同実施例では、MMI/F3に
おいて指定区域を始め、需要デ―タ2、管網デ―タ1の
変更の操作を行なうことで、対話的にリアルタイムにシ
ミュレ―ションを実行できることになる。
In this case, in this embodiment, the simulation is performed in real time interactively by changing the demand data 2 and the network data 1 in the designated area in the MMI / F3. You can do it.

【0026】さらに、同実施例を詳述すると、管網デ―
タ1である階層管網デ―タは、図2に示すようになって
いる。図において、粗い管網のノ―ドは1、2、3、4
と番号づけられた4つのノ―ドで、そのうち、1番目の
ノ―ドはたとえば配水場であったとする。この4つのノ
―ドが共通するノ―ドである。また、ア―クとして、1
−2(ノ―ド1とノ―ド2を結ぶア―ク)、1−3、2
−3、3−4の4つがある。一方、詳細な管網のノ―ド
は、1、2、3、4、5、6、7、8と番号付けられた
ノ―ドで、ア―クは1−2、1−3、2−3、2−5、
3−5、3−6、4−6、4−7、7−8である。この
場合、ア―ク1−2、1−3、2−3の3つのア―クの
みが粗い管網と共通するア―クである。
Further, the embodiment will be described in detail.
The hierarchical network data which is the data 1 is as shown in FIG. In the figure, the nodes of the coarse network are 1, 2, 3, 4
Of the four nodes numbered, the first node is, for example, a water distribution plant. These four nodes are common nodes. Also, as an arc, 1
-2 (ark connecting node 1 and node 2), 1-3, 2
There are four, -3 and 3-4. On the other hand, the detailed network nodes are numbered 1, 2, 3, 4, 5, 6, 7, 8 and the arcs are 1-2, 1-3, 2 -3, 2-5,
3-5, 3-6, 4-6, 4-7, 7-8. In this case, only the three arcs 1-2, 1-3, and 2-3 are common to the coarse pipe network.

【0027】そして、図3、図4に、図2に示す詳細な
管網の各ノ―ドデ―タとア―クデ―タの一例を示し、図
5、図6に、図2に示す粗い管網のノ―ドデ―タとア―
クデ―タの一例を示している。
FIGS. 3 and 4 show an example of each node data and arc data of the detailed pipe network shown in FIG. 2, and FIGS. Node data and aer of coarse pipe network shown
An example of data is shown.

【0028】ここで、図3、図4に示す各ノ―ドデータ
の座標値は、地図座標平面での座標を表している。ま
た、各ノ―ドの属性である供給の欄には、配水場等の供
給点には1とその水頭値を記載し、消費する点ならば0
を記載している。また、図3に示す詳細な管網のノ―ド
デ―タの粗い管網の対応ノードの欄および図5に示す粗
い管網のノ―ドデ―タの詳細な管網の対応ノードの欄に
は、各ノ―ドに対応する(座標値は等しい)ノ―ドが粗
い(詳細な)ノ―ドデ―タにある場合のみ、そのノ―ド
番号を記載し対応点がない場合は0を記載している。ま
た、図4、図6に示す各ア―クデ―タは、その始点、終
点のノ―ド番号と抵抗値を記載している。さらに図7
は、需要デ―タ2の例であり、それぞれの座標値(x
i ,yi )(i=1,2,…,I)に対応する地点で、
それぞれの需要量を持つことを表している。
The coordinate values of the node data shown in FIGS. 3 and 4 represent coordinates on the map coordinate plane. Also, in the supply column, which is the attribute of each node, write 1 and its head value at the supply point of the water distribution plant, etc.
Is described. Also, in the column of the corresponding node of the coarse network of the node data of the detailed network shown in FIG. 3 and the corresponding node of the detailed network of the node of the coarse network shown in FIG. In the column, enter the node number only when there is a corresponding (coordinate value is equal) node in the coarse (detailed) node data and there is no corresponding point. Indicates 0. In addition, each arc data shown in FIGS. 4 and 6 describes the node number and the resistance value of the starting point and the ending point thereof. Furthermore, FIG.
Is an example of the demand data 2, and each coordinate value (x
i , y i ) (i = 1, 2, ..., I),
It indicates that each has its own demand.

【0029】そして、このような管網デ―タ1に対し
て、図1に示すグロ―バル管網解析部7において、需要
デ―タ2を粗い管網の各ノ―ドに割り当て管網計算を行
なうようになる。この場合、図5に示すように与えられ
る粗い管網のすべてのノ―ドにおける水頭と、図6に示
すように与えられるすべてのア―クにおける流量を計算
し、グロ―バルの結果を得ようになる。この計算は、デ
―タ量が少ないから、高速に計算することができる。
With respect to such network data 1, the global network analysis unit 7 shown in FIG. 1 allocates the demand data 2 to each node of the coarse network. Start to calculate. In this case, the heads at all nodes of the rough network provided as shown in Fig. 5 and the flow rates at all arcs given as shown in Fig. 6 were calculated to obtain global results. Like This calculation can be performed at high speed because the amount of data is small.

【0030】そして、MMI/F3により、対象地域に
おける一部である小区域を指定することになるが、この
指定は、図8に示すように枠Aで示した地域を指定する
ようになる。これにより、グロ―バル管網解析部7で得
られたグロ―バルの結果を用いて、需要デ―タ選択部
4、管網デ―タ選択部5、グロ―バル結果加工部6、ロ
―カル管網解析部8により、上述したように詳細な管網
でのロ―カルな解析結果を得るようになる。
Then, the small area which is a part of the target area is designated by the MMI / F3, and the designation is made to designate the area indicated by the frame A as shown in FIG. As a result, using the global results obtained by the global pipe network analysis unit 7, the demand data selection unit 4, the pipe network data selection unit 5, the global result processing unit 6, and the The local network analysis unit 8 obtains a detailed local analysis result in the network as described above.

【0031】この場合、管網デ―タ選択部5ではMMI
/F3により指定された枠内のロ―カル詳細管網と境界
詳細管網を抽出する。ここでのロ―カル詳細管網は、詳
細な管網からア―クの両端点の双方が指定枠内にはいる
ア―クを集めたネットワ―ク、境界詳細管網は、ア―ク
の片方のみが枠内に入るア―クの集合であり、枠内には
いるノ―ドを内部ノ―ドと呼ぶ。
In this case, the pipe network data selection unit 5 uses the MMI.
Extract the local detail network and boundary detail network within the frame specified by / F3. The local detailed network here is a network that collects the arcs from both the detailed network and both ends of the arc within the specified frame. The boundary detailed network is the network. Only one of the two is a set of arcs that enter the frame, and the nodes that enter the frame are called internal nodes.

【0032】これら2種の管網デ―タの生成は、詳細な
全管網のア―クについて、その両端点の座標値を用いて
判定することができる。次に、需要デ―タ選択部4では
局所詳細管網デ―タのすべての消費ノ―ドに需要量を割
り当てる。図7に示すような需要デ―タの場合は、各需
要点の座標値が判明しているので、各需要点に対し、そ
の位置から一番近い(座標値から計算)消費するノ―ド
を割り当てることができる。そして、管網の各消費ノ―
ドについて、割り当てられる需要量の総和をとることに
よって算出する。
The generation of these two types of network data can be judged for the detailed arcs of the entire network by using the coordinate values of the endpoints thereof. Next, the demand data selection unit 4 allocates demand amounts to all the consumption nodes of the local detailed pipeline network data. In the case of demand data as shown in FIG. 7, since the coordinate value of each demand point is known, the node that is closest to that demand point (calculated from the coordinate value) is consumed for each demand point. Can be assigned. And each consumption of the pipe network
It is calculated by taking the sum of the demand demands assigned to each.

【0033】一方、グロ―バル結果加工部6では、ロ―
カル詳細管網のすべてのノ―ドでの水頭を以下のように
算出する。この場合、あらかじめ詳細管網の全ノ―ドの
水頭値を粗い管網の値で近似する補間を行なう。例え
ば、一次近似する場合の式の各係数は、詳細な管網にお
いて種々の需要デ―タに対する管網計算結果の水頭値に
対する最小2乗法で決定しておく。この一次補間式によ
り、詳細管網の各ノ―ドの水頭値が決定されるようにな
る。
On the other hand, in the global result processing section 6,
The heads at all nodes in the Kal detail network are calculated as follows. In this case, the head values of all nodes of the detailed network are approximated in advance by the values of the coarse network. For example, each coefficient of the equation in the case of first-order approximation is determined in advance by the least-squares method with respect to the head value of the network calculation result for various demand data in the detailed network. This linear interpolation formula allows the water head value of each node of the detailed pipe network to be determined.

【0034】そして、ロ―カル管網解析部8によりグロ
―バル結果加工部6で生成したデ―タを用いてロ―カル
詳細管網の流量と水頭をすべて決定する。ここでは簡便
な方式として、グロ―バル結果加工部6で決定した水頭
の値を用いて損失水頭と流量の(ヘ―ゼン・ウィリアム
ス式等の)関係式からすべての流量を決定するようにな
る。さらに、グロ―バル結果加工部6で決定した水頭
や、ここでで決定した流量を初期値として、管網解析プ
ログラムを実行させることにより、ロ―カル詳細管網で
の解析を行なうことができる。
Then, the local pipe network analysis unit 8 uses the data generated by the global result processing unit 6 to determine all the flow rate and head of the local detailed pipe network. Here, as a simple method, the head value determined in the global result processing section 6 is used to determine all the flow rates from the relational expressions (such as the Hazen-Williams equation) between the head loss and the flow rate. . Furthermore, by using the hydraulic head determined by the global result processing unit 6 or the flow rate determined here as an initial value, the pipeline network analysis program can be executed to perform analysis in the local detailed pipeline network. .

【0035】そして、ロ―カル管網解析部8より出力さ
れるローカルの結果は、表示部9に表示されることにな
る。従って、このようにすれば対象地域の一部の区域を
指定された場合に、そこでの詳細な管網での解析結果を
高速に計算することができるようになり、管網の局所解
析の表示に迅速な応答が得られるようになる。
The local result output from the local network analysis unit 8 is displayed on the display unit 9. Therefore, in this way, when a part of the target area is specified, it is possible to calculate the detailed analysis results of the pipe network at high speed, and display the local analysis of the pipe network. You will get a quick response.

【0036】(第2実施例)次に、このようにして得ら
れた管網解析の結果をシミュレ―ションデ―タとして表
示するデータ表示装置について説明する。
(Second Embodiment) Next, a data display device for displaying the results of the pipe network analysis thus obtained as simulation data will be described.

【0037】図9は、このようなデータ表示装置の概略
構成を示すものである。この場合、21はCPUで、こ
のCPU21には、データベース(DB)22、知識ベ
ース(KB)23、CRT24が接続されている。そし
て、MMI/F25によりDB22のデ―タを指定する
と、そのデ―タからデ―タのカテゴリを参照して、後述
するKB23から表示方法を検索し、その表示方法に従
ってCRT24に管網解析の結果を表示するようになっ
ている。ここで、CPU21は装置全体の制御を司るも
のである。また、DB22は、図10(a)(b)
(c)に示すように町丁界図形デ―タや街区図形データ
を有する行政界図形DB、家屋図形DB、ノ―ドデ―タ
やア―クデ―タを有するネットワ―クDBを関連付けて
持っているとともに、上述したシミュレ―ションデ―タ
の水流、水圧デ―タをネットワ―クの属性デ―タとして
持っている。
FIG. 9 shows a schematic structure of such a data display device. In this case, 21 is a CPU, and a database (DB) 22, a knowledge base (KB) 23, and a CRT 24 are connected to this CPU 21. Then, when the data of the DB 22 is designated by the MMI / F 25, the display method is searched from the KB 23 described later by referring to the data category from the data, and the network analysis is performed on the CRT 24 according to the display method. It is designed to display the results. Here, the CPU 21 controls the entire apparatus. Further, the DB 22 is shown in FIGS.
As shown in (c), the town block boundary graphic data and the administrative boundary graphic DB having the block graphic data, the house graphic DB, and the network DB having the node data and the arc data are associated with each other. In addition to the above, it also has the above-mentioned simulation data water flow and hydraulic pressure data as network attribute data.

【0038】しかして、このような構成において、図1
1に示すように、まず、MMI/F25においてDB2
2の行政界図形DBを選択し(ステップ111)、続け
て、表示対象領域と表示対象のカテゴリを選択する(ス
テップ112)。すると、行政界図形DBから表示対象
領域の町丁界図形デ―タまたは街区図形デ―タととも
に、シミュレ―ションデ―タである水流、水圧デ―タが
ネットワ―クの属性デ―タとして読み出され、これらデ
ータによりKB23から選択されるカテゴリの視点設定
方法が検索され(ステップ113)、データ表示に最適
な視点座標が求められて(ステップ114)、視点設定
が行われ(ステップ115)、デ―タ表示が行われるよ
うになる(ステップ116)。
However, in such a configuration, as shown in FIG.
As shown in FIG. 1, first, DB2 in the MMI / F25
The second administrative boundary figure DB is selected (step 111), and then the display target area and the display target category are selected (step 112). Then, the water flow and hydraulic pressure data, which are the simulation data, are read from the administrative boundary graphic DB as the attribute data of the network together with the town pattern data or the block graphic data of the display area. Then, the viewpoint setting method of the category selected from the KB 23 is searched by these data (step 113), the optimum viewpoint coordinates for data display are obtained (step 114), and the viewpoint setting is performed (step 115). The data is displayed (step 116).

【0039】この場合、KB23は、例えば図12に示
すように、あらかじめ表示に用いる行政界図形、家屋図
形や、シミュレ―ションデ―タに対するカテゴリを設定
するとともに、これらのカテゴリに対する視点設定方法
を登録している。例えば水圧のノ―ドデ―タを表示する
場合は、地図と共に表示するが、地図を把握できるよう
に地図は北を上方にし、水圧のノ―ドデ―タは地図を斜
め上方から見下ろすような視点設定方法を登録してい
る。また、水圧の面デ―タ表示と水流表示の場合は、地
図の対象領域を真上から見下ろすような視点設定方法を
登録している。そして、デ―タを表示する際は、これら
登録された設定方法を用いて、視点座標を求め、その視
点座標を基にシステムが視点設定を自動的に行なうよう
になる。
In this case, the KB 23 sets the categories for the administrative boundary figure, the house figure, and the simulation data used for the display in advance, as shown in FIG. 12, and also registers the viewpoint setting method for these categories. is doing. For example, when displaying water pressure node data, it is displayed together with the map, but in order to understand the map, the map should be oriented northward upward, and water pressure node data should be viewed diagonally from above. Registers various viewpoint setting methods. In addition, in the case of water pressure surface data display and water flow display, a viewpoint setting method for looking down the target area of the map from directly above is registered. Then, when displaying data, the viewpoint coordinates are obtained using these registered setting methods, and the system automatically sets the viewpoint based on the viewpoint coordinates.

【0040】なお、KB23は、表示対象物の表示上の
バランス、表示対象物の画面における面積を最大にす
る、表示対象物を構成する面数を最大にするなどの表示
方法を登録するようにもできる。また、これらの視点設
定方法は、原則としてKB23に登録してあるが、処理
を少なくするために簡易的には、具体的な視点座標の候
補はユ―ザが与えるようにしてもよい。この場合、その
候補の視点座標から最適な視点座標を求める処理は、シ
ステムが自動的に行なうようになるが、視点座標の候補
は、KB23に登録されている方法に基づくため、制限
された範囲内にて候補座標を与えることになる。
It should be noted that the KB 23 registers the display method such as the balance of the display of the display object, the maximum area of the display object on the screen, and the maximum number of faces constituting the display object. You can also Although these viewpoint setting methods are registered in the KB 23 in principle, the user may give specific candidates for the viewpoint coordinates in order to reduce the processing. In this case, the system automatically performs the process of obtaining the optimum viewpoint coordinates from the viewpoint coordinates of the candidate, but since the viewpoint coordinate candidates are based on the method registered in KB23, the range is limited. The candidate coordinates will be given in.

【0041】次に、視点座標の求め方として、具体的な
視点の数値を決定する方法を説明する。2次元表示の場
合は、表示の対象領域の中心の真上から見下ろす位置に
設定するようになる。
Next, as a method of obtaining the viewpoint coordinates, a method of determining a specific numerical value of the viewpoint will be described. In the case of two-dimensional display, the position is set so as to look down from directly above the center of the display target area.

【0042】一方、3次元表示の場合、視点設定例を図
12に示す[1](2)について説明すると、指定され
た領域を表示する際の視点の位置を決定するのに、ま
ず、図13に示すように地図の表示対象領域131の中
心から、その領域におけるノ―ドの水圧を示すシリンダ
がすべて表示されるような距離に視点132を設定す
る。この場合、地図は、北を上向きにして見るのが一般
的であるので、図14(a)〜(c)に示すような数点
の視点の高さについての画像を生成し、シリンダの占め
るピクセル数が最大となるような視点の位置を求める。
ここで、ピクセル数のカウント方法は、図15に示す塗
りつぶされた部分のピクセル数をカウントする。
On the other hand, in the case of three-dimensional display, the viewpoint setting example [1] (2) shown in FIG. 12 will be described. First, in order to determine the position of the viewpoint when displaying the designated area, As shown in FIG. 13, the viewpoint 132 is set at a distance from the center of the map display target area 131 so that all the cylinders indicating the water pressure of the nodes in that area are displayed. In this case, since the map is generally viewed with the north facing upward, images of several points of view height as shown in FIGS. 14A to 14C are generated and occupied by the cylinders. Find the position of the viewpoint that maximizes the number of pixels.
Here, in the method of counting the number of pixels, the number of pixels in the filled portion shown in FIG. 15 is counted.

【0043】ここで、対象物が同じで、同じ大きさの地
図領域ならば参照点(地図領域の中心)に対して、同じ
ように求められた視点座標が自動的に設定されるが、視
点の位置の調整は、図16(a)(b)に示すようにマ
ウスにより、表示対象物の参照点161を中心として回
転させてユ―ザの要求する視点の位置を決定することも
できる。複数のカテゴリのデ―タを表示する際、表示す
るオブジェクトの優先度が同じ場合、シミュレ―ション
デ―タに対する視点を優先的に考慮する。複数のカテゴ
リのシミュレ―ションデ―タの場合は、視点に関して優
先順位を考慮した重みつき平均で視点座標を決定する。
Here, if the object is the same and the map area has the same size, the same viewpoint coordinates are automatically set for the reference point (center of the map area). 16A and 16B, the position of the viewpoint requested by the user can be determined by rotating the display object around the reference point 161 of the display object as shown in FIGS. When displaying multiple categories of data, if the displayed objects have the same priority, the viewpoint for the simulation data is given priority. In the case of simulation data of a plurality of categories, the viewpoint coordinates are determined by a weighted average considering the priorities of the viewpoints.

【0044】次に、このようにして決定された視点座標
による表示例を説明する。この場合、選択するデ―タと
して、水圧と水流の場合について述べると、まず、水圧
表示は、シミュレ―ションデ―タをノ―ド上にそのまま
表示する場合、図12に示すKB23より([1]
(1),(2))とそのノ―ドが関係する地域が選び出
され、図17(a)に示す表示が行われ、また、面デ―
タとして表示する場合([1](3),(4))が選び
出され、図17(b)に示す表示が行われるようにな
る。また、水流表示は、表示領域のネットワ―ク上に表
示する場合、図12に示すKB23より(KB[2]
(1),(2))が選び出され、図17(c)に示す表
示が行われるようになる。さらに、水流表示で、流速の
数値情報を表示する場合は、図12に示すKB23より
([2](1))が選び出され、図18に示すように、
そのア―クの近傍に数値が表示されるようになる。
Next, a display example based on the viewpoint coordinates thus determined will be described. In this case, the case of water pressure and water flow as the data to be selected will be described. First, when displaying the simulation data as it is on the node, the water pressure display will be from KB23 shown in FIG. ]
Areas related to (1) and (2)) and their nodes are selected and displayed as shown in FIG. 17 (a).
The display ([1] (3), (4)) is selected, and the display shown in FIG. 17 (b) is performed. In addition, when displaying the water flow on the network in the display area, the water flow is displayed from KB23 shown in FIG. 12 (KB [2]
(1) and (2)) are selected, and the display shown in FIG. 17C is performed. Further, in the case of displaying the numerical information of the flow velocity in the water flow display, ([2] (1)) is selected from KB23 shown in FIG. 12, and as shown in FIG.
Numerical values will be displayed near the arc.

【0045】なお、再表示する場合は、表示対象領域の
大きさ、表示カテゴリが同じであれば、最適な視点座標
を求める処理は行なわず、表示対象領域の中央に対して
同じ位置関係の視点座標が自動的に設定され、表示が行
われるようになる。
In the case of re-display, if the size and the display category of the display target area are the same, the process of obtaining the optimum viewpoint coordinates is not performed, and the viewpoint having the same positional relationship with the center of the display target area is not performed. The coordinates are automatically set and the display is started.

【0046】また、図19(a)に示すように表示対象
領域に対し真上に視点を置いた同図(b)に示す水流デ
―タ表示と、図20(a)に示すように表示対象領域に
対し所定角度傾けて視点を置いた同図(b)に示す水圧
デ―タ表示のように、表示対象のカテゴリが異なるもの
を同時表示するような場合は、図21(a)に示すよう
に表示対象領域に対し視点を設定して同図(b)に示す
ような表示を行うようにすればよい。
Further, as shown in FIG. 19 (a), the water flow data display shown in FIG. 20 (b) with the viewpoint directly above the display target area and the display as shown in FIG. 20 (a). In the case of simultaneously displaying objects of different categories to be displayed, such as the water pressure data display shown in FIG. 21B in which the viewpoint is tilted at a predetermined angle with respect to the target area, FIG. As shown, the viewpoint may be set for the display target area and the display as shown in FIG.

【0047】従って、このようにすれば、表示対象に対
する表示方法をKBに登録することにより、対象地域の
地図などの図形表示とともに表示データを、適切な視点
設定により効果的に表示するできることになる。
Therefore, in this way, by registering the display method for the display target in the KB, it is possible to effectively display the display data together with the graphic display of the map of the target area by setting the appropriate viewpoint. .

【0048】(第3実施例)ところで、3次元で表示さ
れるものについて表面表示、断面表示、内容物表示を行
なう3次元画像処理方式としては、従来から1.3次元
デ―タをボクセルデ―タとして、ラスタ―表示する方
法、2.スライス画像から抽出された輪郭線から形状図
形を生成し、それらの形状図形を多面体的に扱い、表面
表示、断面表示を行なう方法などが知られているが、前
者は、内容物を抽出して表示する際、高速抽出を行なう
ためには専用装置が必要になり、また、後者は、断面と
形状図形との間で新たな形状図形を生成し直し、その形
状図形間で切断の関係を判定し直す必要があって、この
断面の切断状況を計算する処理量は、形状図形の数に依
存し、また多量の計算量が必要となり、高速表示の障害
になっていた。
(Third Embodiment) By the way, as a three-dimensional image processing method for surface display, cross-section display, and content display for a three-dimensional display, 1.3-dimensional data has been used as a voxel data. Raster display as a data, 2. It is known to generate shape figures from the contours extracted from slice images, treat these shape figures as a polyhedron, and perform surface display and cross-section display.The former method is to extract the contents. When displaying, a special device is required to perform high-speed extraction, and the latter regenerates a new shape figure between the cross section and the shape figure, and determines the cutting relationship between the shape figures. It is necessary to re-execute, and the amount of processing for calculating the cutting state of the cross section depends on the number of geometric figures, and a large amount of calculation is required, which is an obstacle to high-speed display.

【0049】そこで、同第3実施例では、原画像から3
次元物体の表面表示、それに対する断面表示、内容物表
示を容易に行なうことができるようにしている。図22
は、第3実施例の概略構成を示している。図において、
CPU31は、DISK32から原スライス画像を読み
出し前処理を施すとともに、MMI/F33で指定され
た視点設定、表示色、表示の詳細度などの処理を行な
い、その結果をCRT34に表示するようにしている。
また、MMI/F33で、断面を指示すると、断面表示
のための前処理を行ない、その結果をCRT34に表示
するようにもしている。
Therefore, in the third embodiment, 3 from the original image.
It is possible to easily display the surface of a three-dimensional object, its cross section, and the contents. FIG. 22
Shows a schematic configuration of the third embodiment. In the figure,
The CPU 31 reads the original slice image from the DISK 32, performs preprocessing, performs processing such as viewpoint setting, display color, and display detail specified by the MMI / F 33, and displays the result on the CRT 34. .
Further, when a cross section is designated by the MMI / F 33, preprocessing for displaying the cross section is performed, and the result is displayed on the CRT 34.

【0050】この場合、図23に示すように、まず、デ
ィスクから任意のスライス画像を入力する(ステップ2
31)。そして、このスライス画像について、任意のし
きい値による2値画像からランの始点、終点の座標を求
めたランデ―タを生成し(ステップ232)、このラン
デ―タを用いてラベリング、包含関係、輪郭線情報チェ
―ンコ―ド、輪郭ベクトルを求める閉図形抽出を行なう
(ステップ233)。これを各々のスライスに対して行
ない、3次元デ―タを生成し、次いで、視点を決定して
陰影表示を行なう(ステップ234)。その表示に対し
て断面を指定し(ステップ235)、断面生成を行なう
(ステップ236)。そして、断面表示を行なう際、断
面に関係したランデ―タを用いて、ラベリング、包含関
係、輪郭線情報チェ―ンコ―ド、輪郭ベクトルを求める
切断された閉図形を抽出し(ステップ237)、断面表
示用の3次元デ―タを生成し表示を行なうようになる。
In this case, as shown in FIG. 23, first, an arbitrary slice image is input from the disc (step 2).
31). Then, for this slice image, a rendition in which the coordinates of the start point and the end point of the run are obtained from a binary image with an arbitrary threshold value is generated (step 232), and labeling, inclusion relation, The contour line information chain code and the closed figure extraction for obtaining the contour vector are extracted (step 233). This is performed for each slice to generate three-dimensional data, and then the viewpoint is determined and shading is displayed (step 234). A cross section is designated for the display (step 235), and a cross section is generated (step 236). Then, when the cross-section is displayed, the cut-off closed figure for which the labeling, the inclusion relation, the contour line information chain code, and the contour vector are obtained is extracted using the cross-section-related land data (step 237). Three-dimensional data for cross-section display is generated and displayed.

【0051】この場合、図23のステップ233により
抽出される閉図形は、図24(a)(b)に示すように
ラベル241〜243が付され、外輪郭線244から形
成される閉図形を外図形245、内輪郭線246から形
成される閉図形を内図形247とする。また、外図形2
45の中に含まれる複数の内図形247は、兄弟図形2
48とし、外図形245の中に含まれる内図形247は
親子関係があるものとする。
In this case, the closed figure extracted in step 233 in FIG. 23 is labeled with labels 241-243 as shown in FIGS. 24 (a) and 24 (b) and is a closed figure formed from the outer contour line 244. A closed figure formed from the outer figure 245 and the inner contour line 246 is called an inner figure 247. Also, outside figure 2
A plurality of inner figures 247 included in 45 are sibling figures 2
48, and the inner figure 247 included in the outer figure 245 has a parent-child relationship.

【0052】また、図23のステップ234においてラ
ベリングされたデ―タを用いて生成される3次元デ―タ
は、図25(a)〜(d)に示すようにして生成され
る。この場合、3次元デ―タを生成するには、図26
(a)に示すように輪郭線261を求めて、輪郭線チェ
―ンコ―ドを基に閉図形の頂点座標を求める場合(図2
6(b))と、輪郭ベクトルから閉図形の頂点座標を求
める場合(図26(c))がある。ここで、前者の場合
は、高精細表示用プリミティブデ―タとし、後者の場合
は、物体の概形表示用プリミティブデ―タとして扱うこ
とになる。また、外図形245、内図形247の親子関
係がある場合は、内図形247同志を図27(a)に示
すように疑似連結線271で連結させ、さらに図27
(b)に示すように、それらの内図形247の一部を疑
似連結線272により外図形245と連結させて一つの
プリミティブとして3次元デ―タを生成する。また、図
28に示すように兄弟図形248を、疑似連結線281
で連結するには、内図形245同志のベクトル間で最短
距離の順に疑似連結線282を求め、それらの疑似連結
線282の候補の中で、他の兄弟図形と干渉しないもの
を疑似連結線281として決定する。
The three-dimensional data generated by using the data labeled in step 234 of FIG. 23 is generated as shown in FIGS. 25 (a) to 25 (d). In this case, in order to generate three-dimensional data, as shown in FIG.
When the contour line 261 is obtained as shown in (a) and the vertex coordinates of the closed figure are obtained based on the contour chain code (see FIG. 2).
6 (b)) and a case where the vertex coordinates of the closed figure are obtained from the contour vector (FIG. 26 (c)). Here, in the former case, it is treated as high-definition display primitive data, and in the latter case, it is treated as object outline display primitive data. If the outer figure 245 and the inner figure 247 have a parent-child relationship, the inner figures 247 are connected by a pseudo connecting line 271 as shown in FIG.
As shown in (b), a part of the inner figure 247 is connected to the outer figure 245 by the pseudo connecting line 272 to generate three-dimensional data as one primitive. Further, as shown in FIG. 28, the sibling figure 248 is replaced with the pseudo connecting line 281.
In order to connect with each other, the pseudo connecting lines 282 are obtained in the order of the shortest distance between the vectors of the inner figures 245, and the pseudo connecting lines 282 among those candidates that do not interfere with other sibling figures are connected to the pseudo connecting lines 281. To decide.

【0053】そして、このように求められた3次元デ―
タを投影し表示を行なうことになるが、この場合、入力
画像の濃度値に忠実な形状図形としてモデリングしてい
るので、形状デ―タに付加する色は、スライス画像の入
力されたときの濃度値に対応した色を割り当てることが
できる。
Then, the three-dimensional data obtained in this way
Although the data is projected and displayed, in this case, since it is modeled as a shape figure that is faithful to the density value of the input image, the color added to the shape data is the same as when the slice image was input. A color corresponding to the density value can be assigned.

【0054】この表示に対して上述の図23においてス
テップ235で断面を指定し、ステップ236で断面生
成を行なうようになるが、ここで対象物体を切断する
際、ランデ―タをもとに断面表示用のプリミティブデ―
タを生成する。
With respect to this display, the cross section is designated in step 235 in FIG. 23 and the cross section is generated in step 236. When the target object is cut here, the cross section is created based on the land data. Primitive data for display
Generate data.

【0055】断面表示用のプリミティブデ―タを生成す
る処理手順を図29のステップ291〜296に示す。
この場合、切断面から、各スライスを含む平面における
切断線が求められるので、切断線の存在するスライスに
対して切断線の始点、終点を求め、切断点を求める処理
を行なう。
The processing procedure for generating the primitive data for displaying the cross section is shown in steps 291-296 of FIG.
In this case, since the cutting line on the plane including each slice is obtained from the cutting plane, the start point and the end point of the cutting line are obtained for the slice where the cutting line exists, and the processing for obtaining the cutting point is performed.

【0056】まず、切断面を表す平面の方程式から、そ
れぞれスライスを含む平面における切断線が図30
(a)のように決定される。切断面301を表す各スラ
イスに含まれる切断線の始点302、終点303からラ
ンを切断する切断点列305を求める。ここにおける切
断点とは、図32(a)に示すように、y方向に番号順
に切断線の点列を求めていく際、新しいスキャンライン
において、最初に生成される切断線における点である。
ここで、321は切断点、322は切断線、数字は切断
線322の点列が生成される順序をそれぞれ示してい
る。
First, from the equation of the plane representing the cutting plane, the cutting line in the plane including the slices is shown in FIG.
It is determined as shown in (a). A cutting point sequence 305 for cutting the run is obtained from the starting point 302 and the ending point 303 of the cutting line included in each slice representing the cutting surface 301. As shown in FIG. 32 (a), the cutting point here is a point on the cutting line that is first generated in a new scan line when a point sequence of cutting lines is obtained in numerical order in the y direction.
Here, 321 indicates a cutting point, 322 indicates a cutting line, and numbers indicate the order in which the point sequence of the cutting line 322 is generated.

【0057】具体的には、図31のステップ311〜3
17の手順を用いて、切断点を決定する。この切断点を
求める方法は、整数型Bresenhamアルゴリズム(Brese
nham,J.E,”Algorithm for Computer Control
of a Digital Plotter”,IBM System Journ
al,Vol.4,pp.25-30,(1965))による直線生成方法を
改良したものである。ここで、整数型Bresenhamアルゴ
リズムは、直線の傾きに応じてx,yをインクリメント
し、実際の直線の位置と最も近接する点との誤差を調べ
る際、符号付の近似された誤差を導入し、その符号のみ
を考慮に入れて直線を構成する点を決定するものであ
る。図31におけるδが近似された誤差を表す。Δxと
Δyは、切断線の始点、終点のx,yの差の絶対値を表
す。sing(n)なる関数は、nの値の符号がマイナス、
ゼロ、プラスのとき、それぞれ、−1、0、1を返す。
Interchg (n1,n2)なる関数は、n1とn2の値
を入れ換える。chg のフラグは、Δx、Δyの大小関係
により1、または0を持つ。この実施例における切断点
は、上記アルゴリズムで生成される点列において、ラス
タ方向にスキャンしていく際、新しいスキャンラインに
おいては最初に生成される点と設定した。図31に示す
ように、フラグPlot _flg を導入して、整数型Brese
nhamアルゴリズムにより生成した点列において、Plot
_flg の値が0のときのみの点を切断点としている。
Specifically, steps 311 to 311 in FIG.
The breakpoint is determined using the procedure of 17. The method for obtaining this break point is the integer Bresenham algorithm (Brese
nham, J .; E, “Algorithm for Computer Putter Control
of a Digital Plotter ”, IBM System Journal
al, Vol. 4, pp. 25-30, (1965)), which is an improvement of the straight line generation method. Here, the integer Bresenham algorithm increments x and y according to the slope of the straight line, and introduces an approximated error with a sign when examining the error between the position of the actual straight line and the closest point, The point forming the straight line is determined by taking only the sign into consideration. Δ in FIG. 31 represents the approximated error. Δx and Δy represent absolute values of the difference between x and y at the starting point and the ending point of the cutting line. In the function sing (n), the sign of the value of n is minus,
When it is zero and plus, -1, 0 and 1 are returned, respectively.
The function Interchg (n1, n2) swaps the values of n1 and n2. The chg flag has 1 or 0 depending on the magnitude relationship between Δx and Δy. The cutting point in this embodiment is set to be the first point generated in a new scan line when scanning in the raster direction in the point sequence generated by the above algorithm. As shown in FIG. 31, by introducing the flag Plot_flg, the integer type Brese
In the point sequence generated by the nham algorithm, Plot
A point only when the value of _flg is 0 is set as a cutting point.

【0058】次に、図30(b)に戻って、切断される
ラン304を抽出する。各スライスにおいて切断される
ランデ―タは、それぞれのランが持つ始点、終点の座標
と切断点列305から、一意的に判定される。切断され
たランデ―タを含む閉図形を抽出し、その閉図形が包含
される矩形領域を求める。図30(b)に示す座標系に
おいて、切断線がy=const (定数)の場合は、スキャ
ンライン番号がconstのランデ―タを含む閉図形を抽出
し、その閉図形が包含される矩形領域を求めるようにな
る。
Next, returning to FIG. 30B, the run 304 to be cut is extracted. The run data cut in each slice is uniquely determined from the start point and end point coordinates of each run and the cutting point sequence 305. A closed figure including the cut random data is extracted, and a rectangular area including the closed figure is obtained. In the coordinate system shown in FIG. 30B, when the cutting line is y = const (constant), a closed figure including the land data whose scan line number is const is extracted, and a rectangular area including the closed figure is extracted. Will be asked.

【0059】そして、図23のステップ237において
切断された閉図形が包含される矩形領域に対して閉図形
抽出を行なうようになるが、この場合、図33(a)〜
(c)にに示すように切断されたランデ―タから構成さ
れる閉図形とその親子関係を生成し直す。
Then, in step 237 of FIG. 23, the closed figure is extracted for the rectangular area containing the cut closed figure. In this case, FIG. 33A to FIG.
As shown in (c), the closed figure composed of the disconnected land data and its parent-child relationship are regenerated.

【0060】図において、切断点列331に対して左上
の部分を表示部分として、閉図形332を再生成して新
しいラベルを付けるようにする。この切断された閉図形
抽出処理は、切断された閉図形を包含する矩形領域を一
度スキャンするだけで閉図形抽出、閉図形間の親子関
係、兄弟関係を判定できる。また、切断する前の3次元
デ―タは、保存しておくので、矩形内に包含されて、切
断されていない閉図形が存在するならば、修正された閉
図形から生成された3次元プリミティブデ―タと共に表
示する。
In the figure, the closed figure 332 is regenerated and a new label is attached, with the upper left part of the cutting point sequence 331 as the display part. In the cut closed figure extraction process, the closed figure extraction, parent-child relationship between the closed figures, and sibling relationship can be determined by only scanning once the rectangular area including the cut closed figure. Also, since the 3D data before cutting is stored, if there is a closed figure that is not cut and is included in the rectangle, the 3D primitive generated from the modified closed figure is included. Display with data.

【0061】なお、この実施例では、2値画像を生成す
るしきい値を任意に設定し、閉図形を抽出することによ
り、濃度値の異なる対象物体の内容物を表示することが
可能である。また、半透明表示可能な表示装置または表
示方式を用いて、半透明表示により、内容物を表示する
ことが可能である。さらに、断面表示の際、内容物表示
が可能になり、入力されたスライス画像における任意の
濃度値の内容物だけを容易に取り出し表示することもで
きる。
In this embodiment, it is possible to display the contents of the target object having different density values by arbitrarily setting the threshold value for generating the binary image and extracting the closed figure. . Further, it is possible to display the contents by semi-transparent display by using a display device or a display system capable of semi-transparent display. Further, when the cross-section is displayed, the contents can be displayed, and it is possible to easily take out and display only the contents having an arbitrary density value in the input slice image.

【0062】従って、このようにすれば、原スライス画
像群から、特別な装置を必要としない3次元物体の表面
表示、断面表示、内容物表示を効率的に行なうことがで
きるようになる。
Therefore, by doing so, it becomes possible to efficiently perform surface display, cross-section display, and content display of a three-dimensional object from the original slice image group without requiring a special device.

【0063】(第4実施例)次に、本発明の第4実施例
について説明する。なお、以下の説明における外図形、
内図形、輪郭線(外輪郭線と内輪郭線)は、図24を用
いて上記第3実施例で定義したものと同じである。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described. In addition, the outside figure in the following description,
The inner figure and contour lines (outer contour line and inner contour line) are the same as those defined in the third embodiment with reference to FIG.

【0064】ところで、第3実施例では、3次元で表示
されるものについて表面表示、断面表示、内容物表示を
行なう3次元画像処理方式において、特別な装置を必要
とせずに、原スライス画像群から、3次元物体の表面表
示、断面表示、内容物表示を効率的に行なうことができ
る3次元図形処理方法について説明した。その中で、図
24に示すような穴あき図形のランデータを基に、図2
7に示すように外図形と内図形、または内図形同士を疑
似連結線で連結させて3次元データを生成する処理を行
った。
By the way, in the third embodiment, in the three-dimensional image processing system for displaying the surface, the cross-section, and the contents of the three-dimensional display, the original slice image group can be obtained without requiring a special device. From the above, the three-dimensional graphic processing method capable of efficiently displaying the surface, the cross-section, and the contents of the three-dimensional object has been described. Among them, based on the run data of the perforated figure as shown in FIG.
As shown in FIG. 7, a process of connecting the outer figure and the inner figure or the inner figures with each other by a pseudo connecting line to generate three-dimensional data was performed.

【0065】以下、本第4実施例では、複数の閉じた1
つの外輪郭線および1つ以上の内輪郭線(すなわち外図
形と内図形)からなる穴あき図形に対して、上記の外図
形と内図形、または内図形同士を疑似連結線で連結させ
る上記処理を用いると共に、さらにこの疑似連結線を実
際の連結線として各図形の輪郭線同士を連結させること
によって、元の穴あき図形を一つの閉じた輪郭線で表す
図形生成方法について説明する。
Hereinafter, in the fourth embodiment, a plurality of closed 1
For the perforated figure consisting of one outer contour line and one or more inner contour lines (that is, outer figure and inner figure), the above-mentioned process of connecting the outer figure and the inner figure or the inner figures with a pseudo connecting line A description will be given of a method for generating a figure in which the original perforated figure is represented by a single closed contour line by connecting the contour lines of the respective figures using the pseudo connection line as an actual connection line.

【0066】ところで、従来の穴あき図形のコンピュー
タ・グラフィクスの塗りつぶし処理における領域抽出方
法では、外図形と内図形、または内図形同士の頂点間の
対応を見つけ出し、それらの頂点をつなぎ合わせ、パッ
チと呼ばれる塗りつぶしのための基本となる図形を生成
して、塗りつぶしの処理を行なう方法が一般的である。
この手法では、外図形と内図形、または内図形同士の頂
点間の対応を求める際、他の内図形の形状の破壊を避け
るために、それらの頂点間の対応の候補の序列を生成し
ながら、対応する頂点を逐次決定していく試行錯誤的な
処理を必要とする、処理時間が大きいという欠点があっ
た。また、閉図形に対して、図26(c)のように幾何
形状を簡略化するために頂点数を減少させるような処理
を施した際、本来ならば連結すべきではない線分同士が
交点を持ち、閉図形がねじれを持つような場合が生じる
が、そのような閉図形を塗りつぶす場合、図形の輪郭形
状の凹凸のみを考慮したコンピュータ・グラフィクスの
塗りつぶしアルゴリズムを採用できず、ねじれを検出
し、塗りつぶしに支障が出ないような処理を加えた塗り
つぶしアルゴリズムを採用する必要があった。
By the way, in the area extraction method in the conventional computer graphics filling processing of perforated figures, the correspondence between the outer figures and the inner figures or the vertices of the inner figures is found, and the vertices are connected to form a patch. A general method is to generate a basic figure for so-called filling and perform the filling process.
In this method, when determining the correspondence between the outer figure and the inner figure, or the vertices of the inner figures, in order to avoid the destruction of the shape of other inner figures, the sequence of candidates for the correspondence between those vertices is generated. However, there is a drawback that it requires a trial and error process of sequentially determining corresponding vertices and that the processing time is long. Further, when the closed figure is subjected to a process for reducing the number of vertices in order to simplify the geometrical shape as shown in FIG. 26C, line segments that should not be connected should intersect with each other. There is a case in which a closed figure has a twist, but when filling such a closed figure, it is not possible to adopt a computer graphics filling algorithm that considers only the irregularities of the contour shape of the figure, and twist is detected. , It was necessary to adopt a fill algorithm that added processing that would not hinder the fill.

【0067】そこで、第4実施例では、従来の処理方法
において必要であった上記試行錯誤的な処理を伴うこと
なく、穴あき図形について、外図形・内図形を一つの図
形として再生成できるようにしている。また、そのよう
に再生成する際、閉図形内のねじれ部分を局所的に除去
し、幾何形状を修正する処理を付加することによって、
生成された図形の輪郭形状の凹凸のみを考慮したコンピ
ュータ・グラフィクスの塗りつぶしのためのパッチ生成
方法の採用が可能な内部の複数の図形を除いた形状再生
成を行なうことができるようにしている。
Therefore, in the fourth embodiment, it is possible to regenerate the outer figure and the inner figure as one figure for the perforated figure without the trial and error processing required in the conventional processing method. I have to. In addition, when regenerating in such a way, by locally removing the twisted portion in the closed figure and adding the process of correcting the geometric shape,
It is possible to adopt a patch generation method for filling computer graphics that considers only the irregularities of the contour shape of the generated figure, and to perform shape regeneration excluding a plurality of internal figures.

【0068】すなわち、本実施例の図形生成方法では、
図34のように、外側の輪郭線から構成される外図形、
および当該外図形に包含され、内側の輪郭線から構成さ
れる少なくとも1つの内図形からなる図形のデータから
各図形の輪郭線を抽出するステップ(401)と、前記
外図形および前記内図形の各々の形状情報、ならびに各
図形間の包含関係を構造化するステップ(402)と、
前記内図形および前記外図形、または前記内図形および
これを包含している同一の外図形に包含される他の内図
形を連結させるために疑似連結線を生成するステップ
(403)と、前記疑似連結線を用いて各図形の輪郭線
を連結させることによって、一つの閉じた図形を生成す
るステップ(404)とを有する点に特徴がある。
That is, in the graphic generation method of this embodiment,
As shown in FIG. 34, an outer figure composed of outer contour lines,
And a step of extracting the contour line of each figure from the data of the figure which is included in the outer figure and is composed of at least one inner figure composed of the inner contour line, and each of the outer figure and the inner figure. (402) for structuring the shape information of, and the inclusion relationship between each figure,
(403) generating a pseudo connecting line for connecting the inner figure and the outer figure, or the inner figure and another inner figure included in the same outer figure that includes the inner figure and the outer figure; The method is characterized in that it includes a step (404) of generating one closed figure by connecting the outlines of the figures using connecting lines.

【0069】また、後述するように、外図形・内図形を
連結線で結合して一つの図形として生成する際、閉図形
内の線分間の干渉、つまりねじれ部分を検出し、ねじれ
の発生した2個の線分について、それらの線分の間の点
を採用することによりそれらの線分を分割し、新たに生
成された線分についての干渉を検出する処理を局所的に
繰り返し、図形形状に修正を施すようにした。
As will be described later, when connecting the outer figure and the inner figure by connecting lines to generate one figure, interference between line segments in the closed figure, that is, a twisted portion is detected, and twisting occurs. For the two line segments, the points between the line segments are adopted to divide the line segments, and the process of detecting the interference for the newly generated line segment is locally repeated to obtain the figure shape. I made a correction to.

【0070】以下、この第4実施例について、さらに具
体的に説明する。図35は、第4実施例の概略構成を示
している。この装置は、3次元構造物について、ある一
定の間隔を持った層ごとに光学的に形状を測定し、連続
断層像として階調画像データを取り込むスキャナ40、
このスキャナ40から入力された階調画像データを2値
画像に変換し、図形の輪郭線を追跡しラベリングを行な
い、図形間の包含関係のリスト生成および包含関係を持
つ図形の再生成を行ない、それらの図形をもとに3次元
のモデリングを行なうプロセッサ41、このプロセッサ
41において求められた幾何情報を格納する記憶装置4
2、およびこの記憶装置42に格納された幾何情報を描
画する表示装置44を備えている。
Hereinafter, the fourth embodiment will be described more specifically. FIG. 35 shows a schematic configuration of the fourth embodiment. This apparatus is a scanner 40 that optically measures the shape of a three-dimensional structure for each layer having a certain interval and takes in gradation image data as a continuous tomographic image.
The gradation image data input from the scanner 40 is converted into a binary image, the contour lines of the figures are traced and labeled, the list of inclusion relations between the figures is generated, and the figures having the inclusion relation are regenerated. A processor 41 that performs three-dimensional modeling based on these figures, and a storage device 4 that stores the geometric information obtained by this processor 41.
2 and a display device 44 for drawing the geometric information stored in the storage device 42.

【0071】図36は、プロセッサ41による図形生成
処理の詳細を示すものである。まず、記憶装置42に格
納されている画像データを入力し(ステップ400)、
この画像データから輪郭線抽出(ステップ401)を行
ない、各図形のラベリング、図形間の包含関係(すなわ
ち外図形・内図形の関係)を求め、これらのデータを図
37に示すような包含関係リスト411に登録する(ス
テップ402)。なお、上記輪郭線抽出処理は、既知の
ものを用いれば良く、例えば文献[鳥脇純一郎、画像理
解のためのディジタル画像処理2、昭晃堂、pp.66
−78]に示されている。
FIG. 36 shows details of the graphic generation processing by the processor 41. First, the image data stored in the storage device 42 is input (step 400),
The contour line extraction (step 401) is performed from this image data, the labeling of each figure and the inclusion relationship between the figures (that is, the relationship between the outer figure and the inner figure) are obtained, and these data are included in the inclusion relationship list as shown in FIG. It is registered in 411 (step 402). Note that the contour line extraction process may be performed using a known one, for example, refer to the document [Junichiro Toriwaki, Digital Image Processing 2 for Image Understanding, Shokoido, pp. 66
-78].

【0072】次に、疑似連結線を各内図形から一様な方
向に発生させ、その疑似連結線が最初に交点を持つ内図
形または外図形の図形ラベル、線分番号を図37に示す
ような連結情報テーブル412に登録する(ステップ4
03)。
Next, pseudo connecting lines are generated in a uniform direction from each inner figure, and the figure labels and line segment numbers of the inner figure or outer figure having the first intersection of the pseudo connecting lines are as shown in FIG. Registered in the automatic connection information table 412 (step 4)
03).

【0073】次に、外図形・内図形の単連結のための前
処理を行なう。すなわち、疑似連結線の終点、すなわち
外図形・内図形の線分に注目し、先に作成したテーブル
をもとに、その疑似連結線を発生した内図形ラベルを図
44に示すような連結線テーブル413に登録する。連
結線テーブル生成後、外図形の一つの頂点から図形の輪
郭線の連結を開始し、疑似連結線を介して内図形の輪郭
線を経由した閉図形再生成を行なう(ステップ40
4)。
Next, pre-processing for single connection of outer and inner figures is performed. That is, paying attention to the end point of the pseudo connecting line, that is, the line segment of the outer figure / inner figure, and referring to the table created in advance, the inner figure label that generated the pseudo connecting line is connected as shown in FIG. Register in the table 413. After the connection line table is generated, the connection of the outline of the graphic is started from one vertex of the external graphic, and the closed graphic is regenerated via the outline of the internal graphic via the pseudo connection line (step 40).
4).

【0074】この再生成された閉図形を基に3次元モデ
リングを行ない(ステップ405)、表示装置44にお
いて表示を行なう(ステップ406)。以下、このよう
な処理手続きについて、さらに詳しく説明する。
Three-dimensional modeling is performed on the basis of the regenerated closed figure (step 405), and display is performed on the display device 44 (step 406). Hereinafter, such a processing procedure will be described in more detail.

【0075】プロセッサ41は、上記文献のような手法
に従って、輪郭線を抽出する。ここにおける輪郭線追跡
は、画素追跡型である。輪郭線の追跡と同時に、内図形
・外図形のラベリングを行ない、内図形・外図形の各図
形間の包含関係のリストを生成する。そして、図37に
示す包含関係のリスト411には、図形のラベル番号、
親図形番号のポインタ、子供図形番号のポインタが格納
される。例えば、対象とする図形が、図38に示すよう
に、外図形441および内図形442,443を含むも
のである場合、図37の包含関係リストにおいて、外図
形441のリストのラベル番号には“L1”、外図形番
号ポインタp11には“NILL”、内図形番号ポイン
タp12には一方の内図形442のリストへのリンクデ
ータ、内図形番号ポインタp13には他方の内部図形4
43のリストへのリンクデータがそれぞれ書き込まれ
る。また、内図形442のリストのラベル番号には“L
2”、外図形番号ポインタp21には外図形441のリ
ストへのリンクデータ、内図形番号ポインタp22には
“NILL”、内図形番号ポインタp23には他方の内
図形442のリストへのリンクデータがそれぞれ書き込
まれる。なお、図37において、他方の内図形442の
リストは省略した。
The processor 41 extracts the contour line according to the method described in the above document. The contour line tracking here is a pixel tracking type. Simultaneously with the tracing of the contour line, labeling of the inner and outer figures is performed to generate a list of inclusion relations between the inner figure and the outer figure. Then, in the inclusion relation list 411 shown in FIG.
A pointer for the parent figure number and a pointer for the child figure number are stored. For example, when the target graphic includes the outer graphic 441 and the inner graphic 442 and 443 as shown in FIG. 38, the label number of the list of the outer graphic 441 in the inclusion relation list of FIG. 37 is "L1". , "NILL" for the outer figure number pointer p11, link data to the list of one inner figure 442 for the inner figure number pointer p12, and the other inner figure 4 for the inner figure number pointer p13.
The link data to the list of 43 is written respectively. Further, the label number of the list of the internal figure 442 is "L.
2 ", the outer figure number pointer p21 has link data to the list of the outer figure 441, the inner figure number pointer p22 has" NILL ", and the inner figure number pointer p23 has link data to the list of the other inner figure 442. 37. The list of the other inner figure 442 is omitted in FIG.

【0076】一方、輪郭線抽出の結果、図形のチェーン
コードが求められるが、そのチェーンコードをもとに図
形の頂点数を減少させることも可能である。例えば、文
献[Rammer,U.E.,“An interat
ive procedurefor the poly
gonalapproximation”,Compu
ter Graphics and Image Pr
ocessing,Vol.1,pp.244−256
(1972)]に示されている手法を用いることによっ
て達成される。また、その他にも種々の方法があり、い
ずれも本実施例に適用できる。
On the other hand, although the chain code of the figure is obtained as a result of the contour line extraction, the number of vertices of the figure can be reduced based on the chain code. For example, the literature [Rammer, U .; E. , "An interat
Ive procedure for the poly
generalization ”, Compu
ter Graphics and Image Pr
Processing, Vol. 1, pp. 244-256
(1972)]. In addition, there are various other methods, and any of them can be applied to this embodiment.

【0077】これらの手法によって生成できる図形は、
チェーンコードで形成された図形よりも、頂点数が減少
した輪郭線を持つ線分近似された図形であり、その図形
内においては、図40(a)に示すようにねじれが生じ
る場合がある。図形を構成する頂点群の一部を示す図4
0(a)において、各正方形は画素を表し、点線は線分
m、nについて、それぞれのチェーンコードに忠実に画
素を結んだ場合である。また、実線は線分近似された図
形を構成する線分を表し、図のようにねじれが生じてい
る。線分m、nについてのみチェーンコードを考慮した
図形の頂点列は、P1→P2→P3→P4→P5→P6
→P7→P8→P9→P10→P11→P12→P13
である。なお、頂点P1と頂点P6、頂点P3と頂点P
10は、同じ画素である。線分近似における同図形の頂
点列は、P1→P2→P3→P7→P8→P12→P1
3である。
The figures that can be generated by these methods are
It is a line-segment-approximated figure having a contour line with a smaller number of vertices than the figure formed by the chain code, and twisting may occur in the figure as shown in FIG. FIG. 4 showing a part of a group of vertices forming a figure
In FIG. 0 (a), each square represents a pixel, and the dotted line represents a case where pixels are faithfully connected to the chain codes of the line segments m and n. Further, the solid line represents a line segment that constitutes a figure approximated by the line segment, and is twisted as shown in the figure. The vertex sequence of the figure considering the chain code only for the line segments m and n is P1 → P2 → P3 → P4 → P5 → P6.
→ P7 → P8 → P9 → P10 → P11 → P12 → P13
Is. The vertices P1 and P6, and the vertices P3 and P
10 is the same pixel. The vertex sequence of the same figure in the line segment approximation is P1 → P2 → P3 → P7 → P8 → P12 → P1
It is 3.

【0078】本実施例では、図39に示す処理を全ての
線分に施すことによって、このねじれを除去する。ま
ず、図形内のすべての線分に対して、その線分に本来連
結すべきではない線分が、線分の端点以外の点で交点を
持っているかどうか調べる(ステップ421)。交点が
存在する場合、その2個のそれぞれの線分について、線
分の始点、終点間に存在するチェーンコード群の中点に
相当する点をその図形の新たな頂点として採用する(ス
テップ422)。図40(b)における頂点P5、同図
(c)における頂点P10が、それぞれ線分m、nのチ
ェーンコード群の中点である。図のように、チェーンコ
ードの中点を採用した結果、線分mは、m1 、m2 に、
同様に線分nは、n1 、n2 に修正される。
In this embodiment, the twist shown in FIG. 39 is removed by applying the processing shown in FIG. 39 to all the line segments. First, with respect to all the line segments in the figure, it is checked whether or not the line segment that should not be originally connected to the line segment has an intersection at a point other than the end points of the line segment (step 421). If there is an intersection, a point corresponding to the middle point of the chain code group existing between the start point and the end point of each of the two line segments is adopted as a new vertex of the figure (step 422). . The vertex P5 in FIG. 40 (b) and the vertex P10 in FIG. 40 (c) are the midpoints of the chain code groups of the line segments m and n, respectively. As shown in the figure, as a result of adopting the midpoint of the chain cord, the line segment m becomes m1, m2,
Similarly, the line segment n is corrected to n1 and n2.

【0079】ここで、2個の線分が4個の線分に変更さ
れたが、新たに採用された4個の線分について、相互に
干渉がないかどうか調べ、干渉がある場合は、同様の手
法で、頂点を増やしていく(ステップ423)。
Here, the two line segments have been changed to four line segments. The newly adopted four line segments are checked to see if they interfere with each other. The number of vertices is increased by the same method (step 423).

【0080】また、他の箇所にねじれが存在するなら
ば、再帰的に上で述べた手法を繰り返していく(ステッ
プ424)。ねじれが存在した箇所において、上記処理
を施したことによって最も線分が増えた場合、新たに生
成された線分群は、その線分区間のチェーンコードに相
当するものになる。このチェーンコードは、ねじれるこ
とがないので最終的にねじれは存在しない。ここで述べ
たねじれ除去処理は、チェーンコードを線分近似する
際、逐次行なうことも可能である。
If there is a twist in another place, the above-mentioned method is recursively repeated (step 424). When the number of line segments is increased most by performing the above-mentioned processing in the place where the twist exists, the newly generated line segment group corresponds to the chain code of the line segment section. Since this chain cord does not twist, there is no twist in the end. The twist removal processing described here can be sequentially performed when the chain code is approximated to a line segment.

【0081】完全にねじれを除去した後、図41に示す
ような外図形・内図形の単連結を行なうための前処理を
行なう。外図形と内図形を連結させる処理を施す際の座
標系を図42のように設定する。まず、図43のよう
に、各内図形の外接矩形のy maxからx軸方向に疑似
連結線450を発生させる(ステップ431)。
After completely removing the twist, it is shown in FIG.
Pre-processing for single connection of outer and inner figures like
To do. Position when performing the process of connecting the outer and inner figures
The standard system is set as shown in FIG. First, as shown in Figure 43
, Y of the circumscribed rectangle of each inner figure pseudo from max to x-axis
A connecting line 450 is generated (step 431).

【0082】図37に示す疑似連結線450を発生させ
た内図形の連結情報テーブル412には、 ・y maxにおけるx値 ・y maxにおける線分番号 ・内図形と外図形のどちらに連結したかを示す連結フラ
グ ・連結先の図形ラベル ・連結先の線分番号 ・連結先のx値 を登録しておく(ステップ432)。
In the connection information table 412 of the internal figure that generated the pseudo connection line 450 shown in FIG. x value at max y A line segment number in max-a connection flag indicating which one of the internal figure and the external figure is connected-a graphic label of the connection destination-a line segment number of the connection destination-the x value of the connection destination is registered (step 432).

【0083】同時に、連結先の図形の線分においては、
連結線が入り込んだ数を交点数として登録する。すべて
の内図形について、疑似連結線を生成後、外図形、内図
形の線分に登録されているカウント数をもとに図44に
示す連結線テーブルのテンプレート414を作成し、各
線分に連結線テーブル413の先頭ポインタを登録する
(ステップ433)。
At the same time, in the line segment of the connected figure,
Register the number of connecting lines as the number of intersections. After generating pseudo connecting lines for all the internal figures, the template 414 of the connecting line table shown in FIG. 44 is created based on the counts registered in the line segments of the external figure and the internal figure, and is connected to each line segment. The head pointer of the line table 413 is registered (step 433).

【0084】この連結線テーブルは、外図形・内図形の
単連結を行なう際、参照するテーブルである。各内図形
が持つ連結先のテーブル情報を参照しながら、連結線テ
ーブルに、連結された内図形ラベルを登録する(ステッ
プ434)。
This connecting line table is a table to be referred to when simply connecting an outer figure and an inner figure. The connected internal graphic label is registered in the connection line table while referring to the table information of the connection destination of each internal graphic (step 434).

【0085】連結線テーブルに連結された内図形ラベル
が登録された後、その連結線テーブルを参照しながら、
外図形・内図形の連結を行う。例えば図45のように、
外図形の頂点の0番目から、頂点番号順に連結を開始
し、その外図形の線分の中に、疑似連結線の終点が存在
したならば、その疑似連結線を経由して、登録されてい
るラベル番号を持つ内図形の0番目のの頂点へ連結され
る(図45の中の460を参照)。その内図形について
も頂点番号順に連結が行われ、その内図形の線分に他の
内図形から発生された疑似連結線の終点が存在しないな
らば、0番目の頂点まで連結が続き、0番目の頂点に達
したとき、さきほどとは逆方向に疑似連結線を経由し
て、外図形に戻る(図45の中の461を参照)。その
内図形に他の内図形から発生された疑似連結線の終点が
存在するならば、その終点からその疑似連結線を経由し
て、疑似連結線を発生している内図形へと連結が行われ
る(図45の中の462を参照)。到達した内図形の0
番目の頂点から同様に連結が続けられる。
After the inner graphic labels connected to the connecting line table are registered, referring to the connecting line table,
Connects outer and inner figures. For example, as shown in Figure 45,
The connection is started from the 0th vertex of the outer figure in the order of the vertex numbers, and if the end point of the pseudo connecting line exists in the line segment of the outer figure, it is registered via the pseudo connecting line. It is connected to the 0th vertex of the inner figure having the label number (see 460 in FIG. 45). The inner figure is also connected in the order of the vertex numbers, and if there is no end point of the pseudo connecting line generated from another inner figure in the line segment of the inner figure, the connection continues to the 0th vertex and the 0th vertex. When it reaches the apex of, it returns to the outer figure via the pseudo connecting line in the opposite direction to the previous one (see 461 in FIG. 45). If the inner figure has an end point of a pseudo connecting line generated from another inner figure, the end point is connected to the inner figure generating the pseudo connecting line through the pseudo connecting line. (See 462 in FIG. 45). 0 of the figure reached
The connection continues in the same way from the second vertex.

【0086】外図形・内図形の単連結が行なわれ、図4
6(a)に示すような穴あき図形が、同図(b)のよう
に連結された後、再生成された図形の輪郭線の頂点列を
用いて、同図(c)のように、連続断層の層間(z方
向)を考慮して、生成された閉図形を上面と底面にお
き、側面を付加することができる。3次元モデリングと
して、これらの面データを連続断層像の枚数分、生成す
る。
The outer figure and the inner figure are simply connected, as shown in FIG.
After the perforated figure as shown in FIG. 6 (a) is connected as shown in FIG. 6 (b), the vertex line of the contour line of the regenerated figure is used as shown in FIG. 6 (c). Considering the layers (z direction) of continuous faults, the generated closed figure can be placed on the top and bottom and the side can be added. As three-dimensional modeling, these plane data are generated for the number of continuous tomographic images.

【0087】プロセッサ41において生成された幾何情
報は、記憶装置42に格納され、その幾何情報は、表示
装置44において描画される。これら一連の処理によっ
て、穴の存在する対象物についての連続断層像である階
調データから、対象物の形状に忠実な3次元構造物が生
成できる。
The geometric information generated by the processor 41 is stored in the storage device 42, and the geometric information is drawn on the display device 44. Through a series of these processes, a three-dimensional structure faithful to the shape of the target object can be generated from the gradation data which is a continuous tomographic image of the target object in which a hole exists.

【0088】以上述べたように、本第4実施例によれ
ば、図形の内部に、それ自身とは異なる複数の図形が存
在する場合において、図形の輪郭線に存在するねじれを
局所的に除去し、外図形・内図形を一つの図形として生
成させ、その図形の頂点列を得ることができる。これに
よって、生成された図形の輪郭形状の凹凸のみを考慮す
るだけで、コンピュータ・グラフィクスの塗りつぶしの
ためのパッチ生成を行なうことができ、内部の複数の図
形を除いた塗りつぶしが可能になる。
As described above, according to the fourth embodiment, when a plurality of figures different from itself exist inside the figure, the twist existing in the contour line of the figure is locally removed. Then, the outer figure and the inner figure are generated as one figure, and the vertex row of the figure can be obtained. As a result, it is possible to generate a patch for filling computer graphics by only considering the irregularities of the contour shape of the generated figure, and it is possible to perform the filling excluding a plurality of internal figures.

【0089】[0089]

【発明の効果】本発明によれば、対象地域における階層
的管網情報と需要情報が与えられ、粗い管網に対する管
網解析を実行し、この粗い管網での管網解析結果を用い
て小区域に対応する詳細な管網データを加工し、この加
工された詳細な管網データと詳細な管網に関する需要デ
―タにより詳細管網に関する管網計算を実行するように
したので、対象地域の一部の区域を指定されたような場
合に、そこでの詳細な管網での解析結果を高速に計算す
ることができ、管網の局所的解析の表示に迅速な応答が
得られるようになる。このことは、例えば管網の局所的
解析の表示やプレゼンテ―ションにおいて絶大な効果を
発揮する。
According to the present invention, the hierarchical network information and the demand information in the target area are given, the network analysis for the rough network is executed, and the network analysis result in this rough network is used. The detailed network data corresponding to a small area is processed, and the network calculation for the detailed network is executed based on the processed detailed network data and the demand data for the detailed network. When a part of the area is specified, the detailed analysis results of the network can be calculated at high speed, and the local analysis of the network can be displayed quickly. become. This has a great effect on the display and presentation of the local analysis of the pipe network, for example.

【0090】また、本発明によれば、図形データと属性
データに対してこれらの表示方法を登録しておき、図形
データと属性データに対し表示対象領域と表示対象が選
択されると、この選択された表示対象領域に対して表示
対象に最適な表示方法を検索しデ―タ表示を行うように
したので、対象地域の地図などの図形表示とともに表示
データを、適切な視点設定により効果的に表示すること
ができる。
Further, according to the present invention, when these display methods are registered for the graphic data and the attribute data and the display target area and the display target are selected for the graphic data and the attribute data, this selection is performed. Since the optimum display method for the display target is searched and the data display is performed for the displayed display target area, the display data can be effectively displayed by setting the appropriate viewpoint together with the graphic display such as a map of the target area. Can be displayed.

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

【図1】本発明の第1実施例の概略構成を示す図。FIG. 1 is a diagram showing a schematic configuration of a first embodiment of the present invention.

【図2】第1実施例の階層的な管網デ―タ例を示す図。FIG. 2 is a diagram showing an example of hierarchical pipe network data according to the first embodiment.

【図3】第1実施例の詳細な管網のノ―ドデ―タ例を示
す図。
FIG. 3 is a diagram showing an example of detailed node data of a pipe network according to the first embodiment.

【図4】第1実施例の詳細な管網のア―クデ―タ例を示
す図。
FIG. 4 is a diagram showing an example of detailed arc network arc data in the first embodiment.

【図5】第1実施例の粗い管網のノ―ドデ―タ例を示す
図。
FIG. 5 is a diagram showing an example of the node data of the rough pipe network of the first embodiment.

【図6】第1実施例の粗い管網のア―クデ―タ例を示す
図。
FIG. 6 is a diagram showing an example of arc data of the rough pipe network of the first embodiment.

【図7】第1実施例の需要デ―タ例を示す図。FIG. 7 is a diagram showing an example of demand data according to the first embodiment.

【図8】第1実施例のMMI/Fを用いて小区域を指定
する例を示す図。
FIG. 8 is a diagram showing an example of designating a small area using the MMI / F of the first embodiment.

【図9】本発明の第2実施例の概略構成を示す図。FIG. 9 is a diagram showing a schematic configuration of a second embodiment of the present invention.

【図10】第2実施例のデータベースに登録されている
図形データを示す図。
FIG. 10 is a diagram showing graphic data registered in the database of the second embodiment.

【図11】第2実施例のデータ表示を示すフローチャー
ト。
FIG. 11 is a flowchart showing a data display of the second embodiment.

【図12】第2実施例に用いられる知識ベースを示す
図。
FIG. 12 is a diagram showing a knowledge base used in the second embodiment.

【図13】第2実施例の表示対象と視点の距離の関係を
示す図。
FIG. 13 is a diagram showing a relationship between a display target and a viewpoint distance according to the second embodiment.

【図14】第2実施例の視点候補の設定方法を説明する
ための図。
FIG. 14 is a diagram for explaining a viewpoint candidate setting method according to the second embodiment.

【図15】第2実施例のピクセル数をカウントする対象
を示す図。
FIG. 15 is a diagram showing an object for counting the number of pixels in the second embodiment.

【図16】第2実施例のマウスによる視点移動を説明す
るための図。
FIG. 16 is a view for explaining movement of a viewpoint by a mouse according to the second embodiment.

【図17】第2実施例のシミュレーションデータの表示
例を示す図。
FIG. 17 is a diagram showing a display example of simulation data according to the second embodiment.

【図18】第2実施例の図形と数値データの表示例を示
す図。
FIG. 18 is a diagram showing a display example of figures and numerical data according to the second embodiment.

【図19】第2実施例のカテゴリが異なる表示対象を同
時表示する例を説明するための図。
FIG. 19 is a diagram for explaining an example of simultaneously displaying display targets of different categories according to the second embodiment.

【図20】第2実施例のカテゴリが異なる表示対象を同
時表示する例を説明するための図。
FIG. 20 is a diagram for explaining an example of simultaneously displaying display targets of different categories according to the second embodiment.

【図21】第2実施例のカテゴリが異なる表示対象を同
時表示する例を説明するための図。
FIG. 21 is a diagram for explaining an example of simultaneously displaying display targets of different categories according to the second embodiment.

【図22】本発明の第3実施例の概略構成を示す図。FIG. 22 is a diagram showing a schematic configuration of a third embodiment of the present invention.

【図23】第3実施例の動作を説明するためのフローチ
ャート。
FIG. 23 is a flowchart for explaining the operation of the third embodiment.

【図24】第3実施例の閉図形の例を示す図。FIG. 24 is a diagram showing an example of a closed figure according to the third embodiment.

【図25】第3実施例の3次元デ―タの生成例を示す
図。
FIG. 25 is a diagram showing an example of generation of three-dimensional data according to the third embodiment.

【図26】第3実施例のプリミティブデータの生成例を
示す図。
FIG. 26 is a diagram showing an example of generating primitive data according to the third embodiment.

【図27】第3実施例のプリミティブデータの生成例を
示す図。
FIG. 27 is a diagram showing an example of generating primitive data according to the third embodiment.

【図28】第3実施例の疑似連結線の求め方の例を示す
図。
FIG. 28 is a diagram showing an example of how to obtain a pseudo connecting line according to the third embodiment.

【図29】第3実施例のプリミティブデ―タを生成する
手順を示すフローチャート。
FIG. 29 is a flowchart showing a procedure for generating primitive data according to the third embodiment.

【図30】第3実施例のスライスにおける切断線および
切断線により切断されるランを示す図。
FIG. 30 is a view showing a cutting line in a slice of the third embodiment and a run cut by the cutting line.

【図31】第3実施例の切断点を求める手順を示すフロ
ーチャート。
FIG. 31 is a flowchart showing a procedure for obtaining a cutting point according to the third embodiment.

【図32】第3実施例の切断点を説明するための図。FIG. 32 is a diagram for explaining cutting points in the third embodiment.

【図33】第3実施例のプリミティブデータの再生成例
を示す図。
FIG. 33 is a diagram showing an example of regenerating the primitive data according to the third embodiment.

【図34】本発明の第4実施例の図形生成方法を示すフ
ローチャート。
FIG. 34 is a flowchart showing a graphic generation method according to the fourth embodiment of the present invention.

【図35】本発明の第4実施例の概略構成を示す図。FIG. 35 is a diagram showing a schematic configuration of a fourth embodiment of the present invention.

【図36】第4実施例の動作を説明するためのフローチ
ャート。
FIG. 36 is a flowchart for explaining the operation of the fourth embodiment.

【図37】第4実施例の包含関係リストおよび連結情報
テーブル412を示す図。
FIG. 37 is a diagram showing an inclusion relation list and a connection information table 412 of the fourth embodiment.

【図38】処理対象となる穴あき図形の一例を示す図。FIG. 38 is a diagram showing an example of a perforated graphic to be processed.

【図39】第4実施例のねじれを除去するための処理の
手順を示すフローチャート。
FIG. 39 is a flowchart showing the procedure of processing for removing twist in the fourth embodiment.

【図40】第4実施例の線分近似により生じたねじれを
除去していく様子を説明するための図。
FIG. 40 is a diagram for explaining how to remove the twist generated by the line segment approximation of the fourth embodiment.

【図41】第4実施例の外図形・内図形の単連結を行な
うための前処理の手順を示すフローチャート。
FIG. 41 is a flow chart showing a procedure of preprocessing for simply connecting outer and inner figures according to the fourth embodiment.

【図42】第4実施例の単連結のための前処理を施す際
の座標系を示す図。
FIG. 42 is a diagram showing a coordinate system when performing preprocessing for single connection in the fourth example.

【図43】第4実施例の単連結のための前処理における
操作例を説明するための図。
FIG. 43 is a view for explaining an operation example in preprocessing for single connection in the fourth example.

【図44】第4実施例の連結線テーブルおよびそのテン
プレートを示す図。
FIG. 44 is a diagram showing a connection line table and its template according to the fourth embodiment.

【図45】第4実施例の外図形・内図形の単連結例を説
明するための図。
FIG. 45 is a diagram for explaining an example of single connection of outer and inner figures according to the fourth embodiment.

【図46】第4実施例の3次元モデリング例を示す図。FIG. 46 is a diagram showing an example of three-dimensional modeling according to the fourth embodiment.

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

1…管網データ、2…需要デ―タ、11…粗い管網デー
タ、12…詳細な管網データ、3…MMI/F、4…需
要デ―タ選択部、5…管網デ―タ選択部、6…グロ―バ
ル結果加工部、7…グローバル管網解析部、8…ロ―カ
ル管網解析部、9…表示部、21、31…CPU、22
…DB、23…KD、24、34…CRT、25、33
…MMI/F、32…DISK、241〜243…ラベ
ル、244…外輪郭線、245…外図形、246…内輪
郭線、247…内図形、248…兄弟図形、261…輪
郭線、271、272、281、282…疑似連結線、
301…切断面、302…始点、303…終点、304
…ラン、305…切断点列、321…切断点、322…
切断線、331…切断点列、332…閉図形、40…ス
キャナ、41…プロセッサ、42…記憶装置、44…表
示装置、411…包含関係リスト、412…連結情報テ
ーブル、413…連結線テーブル、414…連結線テー
ブルのテンプレート、、441…外図形441、44
2,443…内図形疑似連結線450、L1,L2,L
3…ラベル、P1〜P13…頂点。
1 ... Pipe network data, 2 ... Demand data, 11 ... Coarse pipe network data, 12 ... Detailed pipe network data, 3 ... MMI / F, 4 ... Demand data selector, 5 ... Pipe network data Selection unit, 6 ... Global result processing unit, 7 ... Global pipe network analysis unit, 8 ... Local pipe network analysis unit, 9 ... Display unit, 21, 31 ... CPU, 22
... DB, 23 ... KD, 24, 34 ... CRT, 25, 33
... MMI / F, 32 ... DISK, 241-243 ... Label, 244 ... Outer contour line, 245 ... Outer figure, 246 ... Inner contour line, 247 ... Inner figure, 248 ... Sibling figure, 261, ... Contour line, 271, 272 , 281, 282 ... Pseudo connecting line,
301 ... Cutting plane, 302 ... Starting point, 303 ... End point, 304
... Run, 305 ... Cutting point sequence, 321 ... Cutting point, 322 ...
Cutting line, 331 ... Cutting point sequence, 332 ... Closed figure, 40 ... Scanner, 41 ... Processor, 42 ... Storage device, 44 ... Display device, 411 ... Inclusion relation list, 412 ... Linkage information table, 413 ... Linkage table, 414 ... Template of connection line table, 441 ... Outer figures 441, 44
2, 443 ... Inside figure pseudo connecting line 450, L1, L2, L
3 ... Label, P1 to P13 ... Vertex.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 堀 修 神奈川県川崎市幸区小向東芝町1番地 株 式会社東芝研究開発センター内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Osamu Hori No. 1 Komukai Toshiba-cho, Sachi-ku, Kawasaki-shi, Kanagawa Incorporated Toshiba Research and Development Center

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 対象地域に対する粗い管網データと詳細
な管網データを有する階層的管網データと需要データを
用意した手段と、 前記階層的管網データと需要データにより粗い管網に対
する解析を実行する手段と、 前記対象地域内で管網の小区域を指定する手段と、 この手段で指定された小区域に対応する詳細な管網デー
タを前記階層的管網データの詳細な管網データより選択
する手段と、 詳細な管網に関する需要デ―タを選択する手段と、 前記小区域に対応して選択された詳細な管網データを前
記粗い管網に対する解析結果により加工する手段と、 前記詳細な管網に関する需要デ―タと前記加工された詳
細な管網データにより詳細管網における管網計算を実行
する手段とを具備したことを特徴とする管網解析装置。
1. Means for preparing hierarchical pipeline network data and demand data having coarse pipeline network data and detailed pipeline network data for a target area, and analyzing the coarse pipeline network by the hierarchical pipeline network data and demand data. Means for executing, means for designating a sub-region of the network within the target area, detailed network data corresponding to the sub-region designated by this means, detailed network data of the hierarchical network data Means for selecting more, means for selecting demand data regarding a detailed network, means for processing the detailed network data selected corresponding to the small area by the analysis result for the rough network, A pipe network analyzing apparatus comprising: demand data relating to the detailed pipe network; and means for executing a pipe network calculation in the detailed pipe network based on the processed detailed pipe network data.
【請求項2】 図形データと属性データを記憶した手段
と、 この手段に記憶された図形データと属性データに対する
表示方法を登録した手段と、 前記記憶された図形データと属性データに対して表示対
象領域と表示対象を選択する手段と、 この手段により選択された表示対象領域に対して表示対
象に最適な表示方法を検索しデ―タ表示を行う手段とを
具備したことを特徴とするデータ表示装置。
2. A means for storing graphic data and attribute data, a means for registering a display method for the graphic data and attribute data stored in this means, and a display target for the stored graphic data and attribute data. A data display comprising means for selecting an area and a display target, and means for displaying a data display by searching an optimum display method for the display target in the display target area selected by this means. apparatus.
【請求項3】 外側の輪郭線から構成される外図形、お
よび当該外図形に包含され、内側の輪郭線から構成され
る少なくとも1つの内図形からなる図形のデータから各
図形の輪郭線を抽出する第1のステップと、 この抽出した各輪郭線を基に、前記外図形および前記内
図形の各々の形状情報、ならびに各図形間の包含関係を
構造化する第2のステップと、 この構造化された形状情報および包含関係を基に、前記
内図形および前記外図形、または前記内図形およびこれ
を包含している同一の外図形に包含される他の内図形を
連結するための疑似連結線を生成する第3のステップ
と、 前記疑似連結線を用いて各図形の輪郭線を連結すること
によって、一つの閉じた図形を生成する第4のステップ
とを有することを特徴とする図形生成方法。
3. A contour line of each figure is extracted from data of an outer figure composed of outer contour lines and data of at least one inner figure contained in the outer figure and composed of inner contour lines. And a second step of structuring the shape information of each of the outer figure and the inner figure and the inclusion relation between the figures based on each of the extracted contour lines. A pseudo connecting line for connecting the inner figure and the outer figure, or the inner figure and another inner figure included in the same outer figure that includes the inner figure based on the included shape information and the inclusion relationship. And a fourth step of generating one closed figure by connecting the contour lines of the figures by using the pseudo connecting line. .
JP21424693A 1992-08-28 1993-08-30 Pipe network analyzing device, data display device for the same and graphic generating method Pending JPH06168223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21424693A JPH06168223A (en) 1992-08-28 1993-08-30 Pipe network analyzing device, data display device for the same and graphic generating method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-230529 1992-08-28
JP23052992 1992-08-28
JP21424693A JPH06168223A (en) 1992-08-28 1993-08-30 Pipe network analyzing device, data display device for the same and graphic generating method

Publications (1)

Publication Number Publication Date
JPH06168223A true JPH06168223A (en) 1994-06-14

Family

ID=26520217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21424693A Pending JPH06168223A (en) 1992-08-28 1993-08-30 Pipe network analyzing device, data display device for the same and graphic generating method

Country Status (1)

Country Link
JP (1) JPH06168223A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10132200A (en) * 1996-10-29 1998-05-22 Tokyo Gas Co Ltd Network tracking device, network tracking method, and recording medium
JP2010267076A (en) * 2009-05-14 2010-11-25 Taiki Survey Corp Method and device for generating data for pipe network analysis
JP2013054757A (en) * 2012-10-31 2013-03-21 Taiki Survey Corp Method for generating data for pipe network analysis, device for generating data for pipe network analysis, and program
JP2013054758A (en) * 2012-10-31 2013-03-21 Taiki Survey Corp Method for generating data for pipe network analysis, device for generating data for pipe network analysis, and program
CN117591519A (en) * 2024-01-18 2024-02-23 杭州领图信息科技有限公司 High-performance pipe network data online editing method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10132200A (en) * 1996-10-29 1998-05-22 Tokyo Gas Co Ltd Network tracking device, network tracking method, and recording medium
JP2010267076A (en) * 2009-05-14 2010-11-25 Taiki Survey Corp Method and device for generating data for pipe network analysis
JP2013054757A (en) * 2012-10-31 2013-03-21 Taiki Survey Corp Method for generating data for pipe network analysis, device for generating data for pipe network analysis, and program
JP2013054758A (en) * 2012-10-31 2013-03-21 Taiki Survey Corp Method for generating data for pipe network analysis, device for generating data for pipe network analysis, and program
CN117591519A (en) * 2024-01-18 2024-02-23 杭州领图信息科技有限公司 High-performance pipe network data online editing method and system
CN117591519B (en) * 2024-01-18 2024-04-23 杭州领图信息科技有限公司 High-performance pipe network data online editing method and system

Similar Documents

Publication Publication Date Title
US7586488B2 (en) Multi-chart geometry images
US5751852A (en) Image structure map data structure for spatially indexing an imgage
US7266419B2 (en) Search for similar sheet metal part models
EP0978104B1 (en) Apparatus and method for generating a sheet-metal bend model
US5710877A (en) User-directed interaction with an image structure map representation of an image
US20110050691A1 (en) Real-time user guided optimization of general 3d data
JPH05266212A (en) Method for generating object
JP2002352273A (en) System and method for interactively editing graphics object
JPH07120434B2 (en) Method and apparatus for volume rendering
JP2002329215A (en) Method for generating adaptively sampled distance field of object
JP2002324250A (en) Method for editing graphics object by using computer implemented tool
CN114820990B (en) Digital twin-based river basin flood control visualization method and system
JPH0668207A (en) Method for detecting nearest point on spline or polyline
JP2002334346A (en) Method for converting range data of object to model of the object
JP2002334347A (en) Method for converting adaptive sample distance field of graphic model to triangle model
JP2002329218A (en) Method for editing surface of graphics object with computer implemented tool
US6897863B2 (en) System and method for hidden object removal
JP2002324251A (en) Method for editing graphics object
JPH06168223A (en) Pipe network analyzing device, data display device for the same and graphic generating method
KR100737221B1 (en) A process for providing a vector image with removed hidden lines
JP2002324252A (en) Method for modeling graphics object
JPH0636013A (en) Method and device for generating topographic data
JP2002352270A (en) Method for correcting adaptively sampled distance
CN115168682A (en) Large-scale space-time point data LOD drawing method and device
JP3766857B2 (en) 3D model development support system