JPH05108818A - Vector data optimizing device - Google Patents

Vector data optimizing device

Info

Publication number
JPH05108818A
JPH05108818A JP26801391A JP26801391A JPH05108818A JP H05108818 A JPH05108818 A JP H05108818A JP 26801391 A JP26801391 A JP 26801391A JP 26801391 A JP26801391 A JP 26801391A JP H05108818 A JPH05108818 A JP H05108818A
Authority
JP
Japan
Prior art keywords
vector data
constituting
points
point
condition
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
JP26801391A
Other languages
Japanese (ja)
Inventor
Yoko Handa
洋子 半田
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Software Tohoku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TOHOKU NIPPON DENKI SOFTWARE KK, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP26801391A priority Critical patent/JPH05108818A/en
Publication of JPH05108818A publication Critical patent/JPH05108818A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the analysis and display of vector data at high speed by setting a converting condition for simplifying the vector data of a complicated shape whose constituting points are in a large number, collating the constituting points in order to judge whether or not each constituting point satisfies the condition, and erasing the constituting points when the constituting point satisfies the condition in order to prepare the optimized vector data. CONSTITUTION:An interior angle theta1 between a segment P1 P2 and a segment P2 P3 is found, and compared with an angle beta. Then, the collation of a constituting P3 is operated. That is, the length of the segment P2 P3 and a segment P3 P4, (d)23 and (d)34, are found, and compared with a distance alpha. As for the vector data, (d)23>alpha, and (d)34<alpha, and then the converting condition can be satisfied. Therefore, a constitution P34 is newly added to the central point of the segments P2 P3 and the P3 P4, and the constituting points P3 and P4 are erased. This processing is repeated until the final constituting point. As a result, finally the constituting points P3 and P4 are converted into the constituting point P34, and the vector data whose constituting point P5 is erased are prepared, so that the analysis and display of the vector data can be operated at a high speed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はベクトルデータ最適化装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vector data optimizing device.

【0002】[0002]

【従来の技術】一般に、地形のような自然界のものは、
形状が不規則であり、また複雑なものが多い。地形図な
どをベクトルデータにするときは、地形図の形状に沿っ
てその構成点をデジタイズする方法が採用されている
が、このとき、形状が複雑なとこでは、構成点の数が莫
大になることがある。
2. Description of the Related Art Generally, natural terrain such as terrain is
The shape is irregular and often complicated. When making a topographic map into vector data, the method of digitizing the constituent points along the shape of the topographic map is adopted, but at this time, if the shape is complicated, the number of constituent points will be huge. Sometimes.

【0003】このようにしてベクトル化されたデータに
対して表示等のために処理を行うとき、従来は、全ての
構成点についてその座標の解析を行っている。
Conventionally, when the vectorized data is processed for display or the like, the coordinates of all the constituent points are analyzed.

【0004】[0004]

【発明が解決しようとする課題】上述のように、従来の
ベクトル化されたデータに対する処理方法は、全ての構
成点について座標の解析を行っているが、精密にデジタ
イズされたベクトルデータには、必要以上に多くの構成
点が含まれていることが多く、そのデータに対する処
理、特にディスプレイ装置に表示するための処理を行う
ときに、膨大な処理時間を必要とし、またオペレータに
かかる負担も大きいというという欠点を有している。
As described above, in the conventional processing method for vectorized data, the coordinates of all the constituent points are analyzed. However, for the vector data that is precisely digitized, It often contains more constituent points than necessary, which requires a huge amount of processing time when processing that data, especially when displaying it on a display device, and also puts a heavy burden on the operator. It has the drawback of

【0005】本発明の目的は、上述のような従来のベク
トルデータの処理方法の欠点を解消して、ベクトルデー
タの形状を保持しながらその処理を高速化できる最適化
されたベクトルデータを作成するためのベクトルデータ
最適化装置を提供することにある。
An object of the present invention is to solve the above-mentioned drawbacks of the conventional vector data processing method and to create optimized vector data capable of speeding up the processing while maintaining the shape of the vector data. To provide a vector data optimization device for

【0006】[0006]

【課題を解決するための手段】本発明のベクトルデータ
最適化装置は、変換すべきベクトルデータを格納してお
くベクトルデータ記憶部と、前記ベクトルデータの変換
条件を格納しておく変換条件記憶部と、前記ベクトルデ
ータと前記変換条件とを照合して前記ベクトルデータの
隣り合う2辺のなす角度または隣り合う二つの構成点間
の距離が前記変換条件を満足するときに前記ベクトルデ
ータを削除して最適化したベクトルデータを作成するベ
クトルデータ最適化部と、前記ベクトルデータ最適化部
において作成したベクトルデータを出力する最適化ベク
トルデータ出力部とを備えている。
A vector data optimizing apparatus of the present invention is a vector data storage section for storing vector data to be converted, and a conversion condition storage section for storing conversion conditions of the vector data. And comparing the vector data with the conversion condition, and deleting the vector data when the angle formed by two adjacent sides of the vector data or the distance between two adjacent constituent points satisfies the conversion condition. A vector data optimizing unit for producing optimized vector data, and an optimized vector data output unit for outputting the vector data produced by the vector data optimizing unit.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック
図、図2は図1の実施例の動作を示すフローチャート、
図3は図1の実施例におけるベクトルデータの最適化過
程を示す模式図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flow chart showing the operation of the embodiment of FIG.
FIG. 3 is a schematic diagram showing an optimization process of vector data in the embodiment of FIG.

【0009】図1の実施例は、変換すべきベクトルデー
タを格納しておくベクトルデータ記憶部1と、ベクトル
データの変換条件を格納しておく変換条件記憶部2と、
ベクトルデータの連なりと変換条件とを照合しベクトル
データの連なりが変換条件を満足するときベクトルデー
タの連なりを直線に変換するベクトルデータ最適化部3
と、ベクトルデータ最適化部3において作成されたベク
トルデータを出力する最適化ベクトルデータ出力部4と
を備えている。
In the embodiment shown in FIG. 1, a vector data storage unit 1 for storing vector data to be converted, a conversion condition storage unit 2 for storing conversion conditions of vector data,
A vector data optimizing unit 3 which collates a series of vector data with a conversion condition and converts the series of vector data into a straight line when the series of vector data satisfies the conversion condition.
And an optimized vector data output unit 4 that outputs the vector data created by the vector data optimization unit 3.

【0010】ベクトルデータ記憶部1は、線分列や閉領
域の図形データ(構成点座標)を格納している。変換条
件記憶部2は、ベクトルデータ記憶部1に格納している
ベクトルデータを最適化するときに使用する判定方法や
判定条件値を格納している。ベクトルデータ記憶部1と
変換条件記憶部2とは、磁気ディスク装置等の同一の記
憶装置上に設けることができる。ベクトルデータ最適化
部3は、ベクトルデータ記憶部1から変換すべきベクト
ルデータを読出し、さらに変換条件記憶部2からベクト
ルデータの変換条件を読出してそれらを照合し、ベクト
ルデータの全構成点についてその重みを判定し、余分の
構成点を削除することによって最適なベクトルデータに
変換する。 最適化ベクトルデータ出力部4は、ベクト
ルデータ最適化部3において作成した最適化したベクト
ルデータを記憶装置等に出力する。
The vector data storage unit 1 stores graphic data (constant point coordinates) of a line segment sequence or a closed area. The conversion condition storage unit 2 stores a determination method and a determination condition value used when optimizing the vector data stored in the vector data storage unit 1. The vector data storage unit 1 and the conversion condition storage unit 2 can be provided on the same storage device such as a magnetic disk device. The vector data optimization unit 3 reads the vector data to be converted from the vector data storage unit 1, further reads the conversion conditions of the vector data from the conversion condition storage unit 2 and collates them, and checks all the constituent points of the vector data. The weight is determined and the extra constituent points are deleted to convert the vector data into optimum vector data. The optimized vector data output unit 4 outputs the optimized vector data created by the vector data optimization unit 3 to a storage device or the like.

【0011】次に上述のように構成したベクトルデータ
最適化装置の動作について図2および図3を参照して説
明する。
Next, the operation of the vector data optimizing apparatus configured as described above will be described with reference to FIGS. 2 and 3.

【0012】まず、ベクトルデータ最適化部3は、変換
条件記憶部2からベクトルデータを最適化するための変
換条件を読出す(ステップ11)。交換条件とは、ベク
トルデータの構成点の重みを判定するための条件であ
り、例えば、ベクトルデータを構成する隣り合った2辺
のなす角度や二つの構成点間の距離等の具体的な判定値
である。
First, the vector data optimizing unit 3 reads the conversion condition for optimizing the vector data from the conversion condition storage unit 2 (step 11). The exchange condition is a condition for determining a weight of a constituent point of vector data, and for example, a specific judgment such as an angle formed by two adjacent sides forming the vector data and a distance between two constituent points. It is a value.

【0013】次に、ベクトルデータ記憶部1からベクト
ルデータの構成点座標を読出す(ステップ12)。次
に、ステップ11で読出した変換条件とステップ12で
読出したベクトルデータの構成点座標とを照合する(ス
テップ13)。図3(a)に示すような構成点P1 ・P
2 ・P3 ……からなるベクトルデータの場合は、隣り合
う二つの構成点間の距離が一定値αよりも小さい場合、
または、隣り合う2辺のなす内角(≦180度)が一定
値βよりも大きい場合に、頂点である構成点を削除する
という変換条件を与えて照合を行う。照合は、まず構成
点P2 について行い、線分P1 2 および線分P2 3
の長さd12およびd23を求め、それらを距離αと比較す
る(ステップ14)。図3(a)のベクトルデータの場
合は、(d12>α)(d23>α)であるため、変換条件
を満足しない。続いて線分P1 2と線分P2 3 のな
す内角θ1 を求め、それを角度βと比較する(ステップ
14)。図3(a)のベクトルデータの場合は、(θ1
<β)であるため、変換条件を満足しない。従って構成
点P2 は削除しない。
Next, the coordinates of the constituent points of the vector data are read from the vector data storage unit 1 (step 12). Next, the conversion conditions read in step 11 are compared with the coordinates of the constituent points of the vector data read in step 12 (step 13). Constituent points P 1 · P as shown in FIG.
In the case of vector data consisting of 2 · P 3 ……, if the distance between two adjacent constituent points is smaller than a constant value α,
Alternatively, when the internal angle (≦ 180 degrees) formed by two adjacent sides is larger than the constant value β, the matching is performed by giving a conversion condition of deleting the constituent point that is the vertex. The matching is first performed on the constituent point P 2 , and then the line segment P 1 P 2 and the line segment P 2 P 3
Then, the lengths d 12 and d 23 of the are calculated and compared with the distance α (step 14). In the case of the vector data of FIG. 3A, since (d 12 > α) (d 23 > α), the conversion condition is not satisfied. Then, the internal angle θ 1 formed by the line segments P 1 P 2 and P 2 P 3 is obtained and compared with the angle β (step 14). In the case of the vector data in FIG. 3A, (θ 1
Since <β), the conversion condition is not satisfied. Therefore, the constituent point P 2 is not deleted.

【0014】続いて構成点P3 について照合を行う。す
なわち、線分P2 3 および線分P3 4 の長さd23
よびd34を求め、それらを距離αと比較する(ステップ
14)。図3(a)のベクトルデータの場合は、(d23
>α)であるが(d34<α)であるために変換条件を満
足する。このため、線分P2 3 と線分P3 4 の中央
点に新たに構成点P34を付加し、構成点P3 おおび構成
点P4 を削除する(ステップ15)。このような処理
を、最終の構成点まで反復する(ステップ16)。
Subsequently, the constituent point P 3 is collated. That is, the lengths d 23 and d 34 of the line segment P 2 P 3 and the line segment P 3 P 4 are obtained and compared with the distance α (step 14). In the case of the vector data of FIG. 3A, (d 23
> Α), but the conversion condition is satisfied because (d 34 <α). Therefore, a new constituent point P 34 is added to the central points of the line segments P 2 P 3 and P 3 P 4 and the constituent points P 3 and P 4 are deleted (step 15). Such processing is repeated until the final constituent point (step 16).

【0015】この結果、最終的に、図3(b)に示すよ
うに、構成点P3 おおび構成点P4 を構成点P34に変換
し、構成点P5 を削除したベクトルデータが作成される
ので、これを最適化ベクトルデータ出力部4から出力す
る(ステップ16)。
As a result, finally, as shown in FIG. 3B, the constituent points P 3 and P 4 are converted into constituent points P 34, and vector data in which the constituent points P 5 are deleted are created. As a result, this is output from the optimization vector data output unit 4 (step 16).

【0016】[0016]

【発明の効果】以上説明したように、本発明のベクトル
データ最適化装置は、構成点の数が多く複雑な形状のベ
クトルデータに対して、それを簡素化するための変換条
件を設定し、各構成点がその変換条件を満足するか否か
を照合し、満足する場合はその構成点を削除することに
よって最適化したベクトルデータを作成することによ
り、ベクトルデータの解析や表示を高速に行うことがで
きるという効果があり、またオペレータにかかる負担を
軽減することができるという効果がある。
As described above, the vector data optimizing device of the present invention sets conversion conditions for simplifying vector data having a large number of constituent points and a complicated shape, Performs analysis and display of vector data at high speed by collating whether or not each constituent point satisfies the conversion condition, and if it satisfies, creating the optimized vector data by deleting the constituent point. There is an effect that it is possible to reduce the burden on the operator.

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

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

【図2】図1の実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the embodiment of FIG.

【図3】図1の実施例におけるベクトルデータノ最適化
過程を示す模式図である。
FIG. 3 is a schematic view showing a vector data optimization process in the embodiment of FIG.

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

1 ベクトルデータ記憶部 2 変換条件記憶部 3 ベクトルデータ最適化部 4 最適化ベクトルデータ出力部 11〜17 ステップ 1 vector data storage unit 2 conversion condition storage unit 3 vector data optimization unit 4 optimized vector data output unit 11 to 17 steps

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 変換すべきベクトルデータを格納してお
くベクトルデータ記憶部と、前記ベクトルデータの変換
条件を格納しておく変換条件記憶部と、前記ベクトルデ
ータと前記変換条件とを照合して前記ベクトルデータが
前記変換条件を満足するとき前記ベクトルデータを削除
して最適化したベクトルデータを作成するベクトルデー
タ最適化部と、前記ベクトルデータ最適化部において作
成されたベクトルデータを出力する最適化ベクトルデー
タ出力部とを備えることを特徴とするベクトルデータ最
適化装置。
1. A vector data storage unit for storing vector data to be converted, a conversion condition storage unit for storing conversion conditions of the vector data, and the vector data and the conversion conditions are collated. A vector data optimizing unit that creates optimized vector data by deleting the vector data when the vector data satisfies the conversion condition, and an optimization that outputs the vector data created by the vector data optimizing unit. A vector data optimization device comprising: a vector data output unit.
【請求項2】 変換すべきベクトルデータを格納してお
くベクトルデータ記憶部と、前記ベクトルデータの変換
条件を格納しておく変換条件記憶部と、前記ベクトルデ
ータと前記変換条件とを照合して前記ベクトルデータの
隣り合う2辺のなす角度または隣り合う二つの構成点間
の距離が前記変換条件を満足するときに前記ベクトルデ
ータを削除して最適化したベクトルデータを作成するベ
クトルデータ最適化部と、前記ベクトルデータ最適化部
において作成したベクトルデータを出力する最適化ベク
トルデータ出力部とを備えることを特徴とするベクトル
データ最適化装置。
2. A vector data storage unit for storing vector data to be converted, a conversion condition storage unit for storing conversion conditions of the vector data, and the vector data and the conversion conditions are collated. A vector data optimizing unit that creates optimized vector data by deleting the vector data when an angle formed by two adjacent sides of the vector data or a distance between two adjacent constituent points satisfies the conversion condition. And a vector data output unit that outputs the vector data created by the vector data optimization unit.
JP26801391A 1991-10-17 1991-10-17 Vector data optimizing device Pending JPH05108818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26801391A JPH05108818A (en) 1991-10-17 1991-10-17 Vector data optimizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26801391A JPH05108818A (en) 1991-10-17 1991-10-17 Vector data optimizing device

Publications (1)

Publication Number Publication Date
JPH05108818A true JPH05108818A (en) 1993-04-30

Family

ID=17452694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26801391A Pending JPH05108818A (en) 1991-10-17 1991-10-17 Vector data optimizing device

Country Status (1)

Country Link
JP (1) JPH05108818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012243036A (en) * 2011-05-18 2012-12-10 Shigenori Tanaka Construction management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012243036A (en) * 2011-05-18 2012-12-10 Shigenori Tanaka Construction management system

Similar Documents

Publication Publication Date Title
JPH07160827A (en) Handwritten stroke editing device and method therefor
JP2608571B2 (en) Apparatus and method for vectorizing input scanned image data
CN101894370A (en) Automatic generation method of shape parameter-adaptive oracle-bone inscription contour glyphs
JP2003529114A (en) Optical scanner and software for it
US5144679A (en) Graphic data searching and storage method
US20020006224A1 (en) Computer automated process for vectorization of raster images
CN109308402A (en) The extracting method of curved surface steel box bridge design data
JPH05108818A (en) Vector data optimizing device
JPH0812668B2 (en) Handwriting proofreading method
JPH0215910B2 (en)
CN107894992A (en) A kind of GIS dot buffer zones analysis method and system
EP0443531B1 (en) Graphic data handling method and system
CN111428338B (en) Method and system for automatically planning space use of shopping mall
JPH09223236A (en) Image processor
Ablameyko et al. Interpretation of colour maps. A combination of automatic and interactive techniques
JP2001117488A (en) Method and device for map display
JPH06337929A (en) Method and device for managing drawing
JPH09230784A (en) Map display system
JPH03166658A (en) Inserting method for character-string data
Sarfraz Outline representation of fonts using genetic approach
Sanford et al. The Application Of Knowledge Base And Digital Image Analysis Techniques To Automated Map Interpretation
JPH07152891A (en) Method and device for inputting map and map data preparation device
JPH0668267A (en) Plotting device
JP2000337994A (en) Lattice generator for fluid analysis and computer readable recording medium recording lattice generating program for fluid analysis
JP2004038121A (en) Method and device for processing topographical data