JP4929057B2 - Diagram compression processing program - Google Patents

Diagram compression processing program Download PDF

Info

Publication number
JP4929057B2
JP4929057B2 JP2007143615A JP2007143615A JP4929057B2 JP 4929057 B2 JP4929057 B2 JP 4929057B2 JP 2007143615 A JP2007143615 A JP 2007143615A JP 2007143615 A JP2007143615 A JP 2007143615A JP 4929057 B2 JP4929057 B2 JP 4929057B2
Authority
JP
Japan
Prior art keywords
vertex
threshold value
diagram
target vertex
processing program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007143615A
Other languages
Japanese (ja)
Other versions
JP2008299506A (en
Inventor
平涛 汪
内田  修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asia Air Survey Co Ltd
Original Assignee
Asia Air Survey Co 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 Asia Air Survey Co Ltd filed Critical Asia Air Survey Co Ltd
Priority to JP2007143615A priority Critical patent/JP4929057B2/en
Publication of JP2008299506A publication Critical patent/JP2008299506A/en
Application granted granted Critical
Publication of JP4929057B2 publication Critical patent/JP4929057B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、線図の精度を保持したまま頂点を間引くことができてデータ量を圧縮可能とする圧縮処理プログラム等に関する。   The present invention relates to a compression processing program or the like that can thin out vertices while maintaining the accuracy of a diagram and can compress the amount of data.

SVG(Scalable Vector Graphics)形式やその他の形式の地図データにおいて、複数の頂点を繋いで生成された線図の頂点を間引いて地図データの容量を圧縮する方法として、Douglas−Peuckerアルゴリズム(以下、DP法という)が知られている(例えば、非特許文献1参照)。
図16を参照し、DP法を説明する。間引き処理の対象となる線図、即ち、始点となる頂点から終点となる頂点までの間において複数の頂点を繋いで生成された線図において、始点となる頂点a及び終点となる頂点z以外の各頂点b,c,d・・・・iには、頂点を間引くことが可能か否かの基準となるしきい値εが設定される。このしきい値εは、ε=A×Bで求めた値である。尚、Aは対象となる地図の縮尺の母数、Bは地図縮尺毎に決められた要求精度である。各頂点T(b,c,d・・・・i)のそれぞれには、図16(a);図17に示すように、頂点Tを中心としてしきい値εを半径寸法としたしきい値円Rが設定される。即ち、DP法による線図の圧縮処理プログラムは、線図の各頂点に頂点からの一定距離であるしきい値εが設定され、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させるものである。つまり、図17に示すように、注目頂点を間引くことができるか否かは、コンピュータが、注目頂点に設定されるしきい値円と注目頂点の両側に位置する頂点同士を繋いだ線分とが交わるか否かを判断し、しきい値円と線分とが交わる場合にはその注目頂点を間引くことが可能であると判定し、しきい値円と線分とが交わらない場合にはその注目頂点を間引くことができないと判定する。
以下、図16を参照し、DP法の手順を説明する。まず、図16(b)のように、線分の始点となる頂点aと終点となる頂点zとを直線a1で繋ぐ。線分中の各頂点と直線a1とを結ぶ直線a1と直交する直交線(垂線)の長さの最長のものを求める。ここで最長の直交線の長さ、つまり、頂点cと直線a1との間の最短距離が頂点cのしきい値εよりも大きく、直線a1と頂点cのしきい値円Rとが交差しないので、頂点cは間引かれずに残る。図16(c)のように、頂点cと頂点a(始点)とを直線a2で繋ぐと共に頂点cと頂点z(終点)とを直線a3で繋ぐ。頂点bと直線a2との間の最短距離が頂点bのしきい値εよりも大きく、直線a2と頂点bのしきい値円Rとが交差するので、図16(d)の白丸で示すように、頂点bは間引かれる(削除される)。頂点cから頂点zまでの間の頂点のうち、直線a3と直交する直交線の長さの最長の頂点eを求める。直線a3と頂点eのしきい値円Rとが交差しないので、図16(d)に示すように、頂点eは間引かれずに残る。頂点eと頂点cとを直線a4で繋ぐと共に頂点eと頂点zとを直線a5で繋ぐ。直線a4と頂点dのしきい値円Rとが交差するので、頂点dは図16(e)のように間引かれる。頂点eから頂点zまでの間の頂点のうち、直線a5と直交する直交線の長さの最長の頂点gを求める。直線a5と頂点gのしきい値円Rとが交差しないので、頂点gは間引かれずに残る。頂点gと頂点eとを直線a6で繋ぐと共に頂点gと頂点zとを直線a7で繋ぐ。直線a5と頂点fのしきい値円Rとが交差するので、頂点fは間引かれる。頂点gから頂点zまでの間の頂点のうち、直線a7と直交する直交線の長さの最長の頂点iを求める。直線a7と頂点iのしきい値円Rとが交差しないので、図16(d)のように、頂点iは間引かれずに残る。頂点iと頂点gとを直線a8で繋ぐと共に頂点iと頂点zとを直線a9で繋ぐ。直線a8と頂点hのしきい値円Rとが交差するので、頂点hは間引かれる。
また、DP法では、閉図形のままでは図形の始点と終点とがわからないので間引き処理を行うことができないので、間引き処理の対象が閉図形の場合には、閉図形をいくつかの線図に分割した後にその線図毎に間引き処理を行った後に、間引き処理後の線図を再び連結する。
即ち、DP法による圧縮処理プログラムの手順は次のとおりである。まず、線分の始点となる頂点と終点となる頂点とを直線で繋いでこの直線と最も離れた頂点を最初の注目頂点としてこの注目頂点のしきい値円と直線とが交差するか否かを判定し、交差する場合は、当該線分の各頂点はすべて間引きされる。すなわち、始点と終点とだけが残り、間引き後の線分は、始点と終点とを繋ぐ直線となる。注目頂点のしきい値円と直線とが交差しない場合には、注目頂点が間引かれずに残る。当該頂点が残ったら、当該頂点と始点とが直線で繋がれ、この直線と最も離れた頂点を注目頂点としてこの注目頂点のしきい値円と直線とが交差するか否かを判定し、交差する場合は、当該注目頂点と始点との間の各頂点はすべて間引きされる。注目頂点のしきい値円と直線とが交差しない場合には、注目頂点が間引かれずに残る。以上のような、注目頂点のしきい値円と直線とが交差するか否かの判断を、注目頂点がなくなるまで行う。
Duglas D. and Peucker.T.,1973,Algorithms for the reduction of the number of points required for represent a digitzed line or caricature, Canadian Cartographer,10,112−122
As a method for compressing the capacity of map data by thinning out the vertices of a diagram generated by connecting a plurality of vertices in map data in SVG (Scalable Vector Graphics) format or other formats, the Douglas-Peucker algorithm (hereinafter referred to as DP) (Referred to as non-patent document 1, for example).
The DP method will be described with reference to FIG. In a diagram to be thinned out, that is, a diagram generated by connecting a plurality of vertices between a vertex as a start point and a vertex as an end point, except for a vertex a as a start point and a vertex z as an end point For each vertex b, c, d... I, a threshold value ε is set as a criterion for determining whether or not the vertex can be thinned out. This threshold value ε is a value obtained by ε = A × B. A is the parameter of the scale of the target map, and B is the required accuracy determined for each map scale. Each vertex T (b, c, d,..., I) has a threshold value with a threshold value ε as a radial dimension centered on the vertex T as shown in FIG. A circle R is set. That is, in the diagram compression processing program using the DP method, a threshold value ε, which is a fixed distance from the vertex, is set at each vertex of the diagram, and is positioned on both sides of the target vertex to be judged as to whether or not thinning is possible. When the shortest length between the line connecting the vertices to be noticed and the target vertex is smaller than the threshold value, the computer is caused to function as a means for thinning the target vertex. That is, as shown in FIG. 17, whether or not the target vertex can be thinned is determined by whether the computer connects the threshold circle set as the target vertex and the line segment connecting the vertices located on both sides of the target vertex. If the threshold circle and the line segment intersect, it is determined that it is possible to thin out the target vertex, and if the threshold circle and the line segment do not intersect It is determined that the target vertex cannot be thinned out.
Hereinafter, the procedure of the DP method will be described with reference to FIG. First, as shown in FIG. 16B, the vertex a serving as the start point of the line segment and the vertex z serving as the end point are connected by a straight line a1. The longest one of the lengths of the orthogonal lines (perpendicular lines) orthogonal to the straight line a1 connecting each vertex in the line segment and the straight line a1 is obtained. Here, the length of the longest orthogonal line, that is, the shortest distance between the vertex c and the straight line a1 is larger than the threshold value ε of the vertex c, and the straight line a1 and the threshold circle R of the vertex c do not intersect. Therefore, the vertex c remains without being thinned out. As shown in FIG. 16C, the vertex c and the vertex a (start point) are connected by a straight line a2, and the vertex c and the vertex z (end point) are connected by a straight line a3. Since the shortest distance between the vertex b and the straight line a2 is larger than the threshold value ε of the vertex b and the straight line a2 and the threshold circle R of the vertex b intersect, as shown by the white circle in FIG. In addition, the vertex b is thinned out (deleted). Among the vertices between the vertex c and the vertex z, the longest vertex e having the length of the orthogonal line orthogonal to the straight line a3 is obtained. Since the straight line a3 and the threshold circle R of the vertex e do not intersect, the vertex e remains undecimated as shown in FIG. Vertex e and vertex c are connected by straight line a4, and vertex e and vertex z are connected by straight line a5. Since the straight line a4 and the threshold circle R of the vertex d intersect, the vertex d is thinned out as shown in FIG. Among the vertices between the vertex e and the vertex z, the longest vertex g of the length of the orthogonal line orthogonal to the straight line a5 is obtained. Since the straight line a5 and the threshold circle R of the vertex g do not intersect, the vertex g remains without being thinned out. Vertex g and vertex e are connected by straight line a6, and vertex g and vertex z are connected by straight line a7. Since the straight line a5 and the threshold circle R of the vertex f intersect, the vertex f is thinned out. Among the vertices between the vertex g and the vertex z, the longest vertex i having the length of the orthogonal line orthogonal to the straight line a7 is obtained. Since the straight line a7 and the threshold circle R of the vertex i do not intersect, the vertex i remains undecimated as shown in FIG. The vertex i and the vertex g are connected by a straight line a8, and the vertex i and the vertex z are connected by a straight line a9. Since the straight line a8 and the threshold circle R of the vertex h intersect, the vertex h is thinned out.
Also, in the DP method, since the starting point and end point of the figure cannot be known if the figure is closed, the thinning process cannot be performed. Therefore, if the target of the thinning process is a closed figure, the closed figure is converted into several diagrams. After the division, the thinning process is performed for each of the diagrams, and the diagrams after the thinning process are connected again.
That is, the procedure of the compression processing program by the DP method is as follows. First, whether or not the threshold circle of the target vertex intersects with the straight line by connecting the vertex that is the start point and the end point of the line segment with a straight line, and the vertex that is farthest from this straight line is the first target vertex In the case of intersecting, all the vertices of the line segment are thinned out. That is, only the start point and the end point remain, and the line segment after thinning becomes a straight line connecting the start point and the end point. When the threshold circle of the target vertex and the straight line do not intersect, the target vertex remains without being thinned out. When the vertex remains, the vertex and the start point are connected by a straight line, and the threshold circle of the focused vertex and the straight line intersect with this line and the farthest vertex as the focused vertex. When doing so, all the vertices between the target vertex and the start point are thinned out. When the threshold circle of the target vertex and the straight line do not intersect, the target vertex remains without being thinned out. The determination as to whether or not the threshold circle of the target vertex intersects the straight line as described above is performed until there is no target vertex.
Duglas D.D. and Peucker. T.A. , 1973, Algorithms for the reduction of the number of points required for representative a digitized line or character, Canadian Cart122, 10, 112-

しかしながら、DP法によれば、各頂点において一定のしきい値εを用いるために、間引き処理において、図18に示すように、間引き処理後の線図11Aと線図12Aとが交差したり、図19に示すように、線図の角部の頂点50が除去されてしまうことがあった。例えば、図20(a)に示す閉図形Zの場合、形状を維持するために頂点51;52を間引きたくはない。しかしなら、図20(b)〜(d)に示すように、DP法で間引き処理を行っていくと、分割点60;61以外の図形の全ての各頂点のしきい値ε(しきい値円R)が一定であるため、頂点51;52も間引かれてしまい、間引き後の閉図形ZAは元の閉図形Zの形状を維持できなくなってしまう。即ち、線図の精度を維持したまま線図の頂点を間引いてデータ量を圧縮することが困難であった
本発明は、上記課題に鑑みてなされたもので、線図の精度を保持したまま頂点を間引くことができてデータ量を圧縮可能とする圧縮処理プログラムを提供する。
However, according to the DP method, in order to use a constant threshold value ε at each vertex, in the thinning process, as shown in FIG. 18, the diagram 11A and the diagram 12A after the thinning process intersect, As shown in FIG. 19, the corner vertex 50 of the diagram may be removed. For example, in the case of the closed figure Z shown in FIG. 20A, it is not desired to thin out the vertices 51 and 52 in order to maintain the shape. But Do La, as shown in FIG. 20 (b) ~ (d) , when intended to make thinning process with DP method, the dividing points 60; all thresholds epsilon (teeth of each vertex of the graphic other than 61 Since the threshold circle R) is constant, the vertices 51 and 52 are also thinned, and the closed figure ZA after the thinning cannot maintain the shape of the original closed figure Z. That is, it is difficult to compress the data amount by thinning out the vertices of the diagram while maintaining the accuracy of the diagram .
The present invention has been made in view of the above-mentioned problem, and provides a compression processing program that allows compress the data amount can be thinned vertex while maintaining the accuracy of the diagram.

本発明の線図の圧縮処理プログラムは、複数の頂点を繋いで生成された線図の頂点を間引いてデータ量を圧縮するに際し、線図の各頂点に頂点からの一定距離であるしきい値を設定し、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる線図の圧縮処理プログラムにおいて、互いに異なる一対の線図のうちの一方の線図の頂点と他方の線図の線分との間の最短長さが所定値よりも短い場合に上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする。
しきい値調整処理プログラムは、互いに異なる一対の線図の頂点同士を繋いで不等辺三角形網を生成する手段としてコンピュータを機能させる不等辺三角形網生成処理プログラムと、注目頂点と向かい合う三角形の対辺が線図上にある場合には注目頂点とその三角形の対辺との最短長さを修正値として求め、注目頂点と向かい合う三角形の対辺が線図上にない場合には注目頂点を含む三角形において注目頂点と注目頂点を含まない線図上の頂点とを繋ぐ二辺のうち長さの短い辺の長さを修正値として求める手段としてコンピュータを機能させる修正値計算処理プログラムと、上記修正値に0.5以下の係数をかけた修正しきい値を算出する手段としてコンピュータを機能させる修正しきい値算出処理プログラムと、注目頂点の上記しきい値と修正しきい値とを比較して小さい方を注目頂点のしきい値として設定する手段としてコンピュータを機能させるしきい値設定処理プログラムとを備えたことも特徴とする。
本発明の線図の圧縮処理プログラムは、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする。
本発明の線図の圧縮処理プログラムは、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さと上記しきい値とを比較し、当該線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど上記しきい値を大きくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする。
本発明の線図の圧縮処理プログラムは、注目頂点の上記しきい値に修正係数をかけて算出した修正しきい値を注目頂点のしきい値として設定する手段としてコンピュータを機能させるしきい値調整処理プログラムを備え、しきい値調整処理プログラムは、修正係数算出プログラムを備え、修正係数算出プログラムは、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど小さく設定された第1修正係数と、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど大きく設定された第2正係数と、を用いて注目頂点の上記修正係数を算出する手段としてコンピュータを機能させることを特徴とする
When compressing the amount of data by thinning out the vertices of a diagram generated by connecting a plurality of vertices, the compression processing program for the diagram of the present invention compresses a threshold value that is a fixed distance from the vertex to each vertex of the diagram. If the shortest length between the line connecting the vertices located on both sides of the target vertex and the target vertex is smaller than the threshold value, the target vertex is thinned out. In a diagram compression processing program that causes a computer to function as the shortest length between a vertex of one diagram and a segment of the other diagram of a pair of different diagrams is shorter than a predetermined value And a threshold value adjustment processing program for causing the computer to function as a means for correcting the threshold value to be small.
The threshold adjustment processing program includes an inequality triangle network generation processing program that causes a computer to function as a means for generating an inequality triangle network by connecting vertices of a pair of different diagrams, and an opposite side of a triangle facing a target vertex. If it is on the diagram, find the shortest length between the target vertex and the opposite side of the triangle as a correction value, and if the opposite side of the triangle facing the target vertex is not on the diagram, the target vertex in the triangle that includes the target vertex A correction value calculation processing program for causing a computer to function as a means for obtaining the length of the short side of the two sides connecting the vertices on the diagram not including the target vertex as a correction value; A correction threshold value calculation processing program for causing a computer to function as a means for calculating a correction threshold value multiplied by a coefficient of 5 or less; That the means for setting the smaller one compared with the positive threshold value as the threshold of the attention vertices and a threshold value setting processing program for causing a computer to function also features.
The line diagram compression processing program according to the present invention is such that the angle formed by one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. A threshold adjustment processing program for causing a computer to function as a means for correcting the threshold value to be small is provided.
The line diagram compression processing program of the present invention is the length of the shorter one of the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex. And the threshold value are compared, and the length of the line segment is smaller than the threshold value and the threshold value is increased as the difference between the length of the line segment and the threshold value increases. A threshold adjustment processing program for causing a computer to function as a means for performing the processing is provided.
The program for compressing a diagram of the present invention is a threshold adjustment for causing a computer to function as a means for setting a correction threshold value calculated by multiplying the threshold value of a target vertex by a correction coefficient as the threshold value of the target vertex A processing program, the threshold adjustment processing program includes a correction coefficient calculation program, and the correction coefficient calculation program is connected to one vertex from the target vertex and one vertex to the other vertex. The first correction coefficient set smaller as the angle formed with the other line segment is closer to 90 °, the one line segment connected from the target vertex to one vertex, and the other line segment connected from the target vertex to the other vertex A second positive coefficient that is set to be larger as the length of the shorter line segment is smaller than the threshold value and the difference between the line segment and the threshold value is larger. Of the attention vertex And characterized by causing a computer to function as means for calculating the serial correction coefficient.

本発明の線図の圧縮処理プログラムによれば、しきい値調整処理プログラムを備えたので、線図の精度を保持したまま頂点を間引くことができてデータ量を圧縮できる。
しきい値調整処理プログラムが、不等辺三角形網生成処理プログラムと、修正値計算処理プログラムと、修正しきい値算出処理プログラムと、しきい値設定処理プログラムとを備えたので、一方の線図上にある注目頂点と他方の線図とが近い場合、その注目頂点のしきい値を元のしきい値よりも適切に小さくできるので、その注目頂点が間引かれにくくなり、間引き処理後の一方の線図と他方の線図との交差を防止でき、線図の精度を保持したままデータ量を圧縮できる。
本発明の線図の圧縮処理プログラムによれば、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたので、元の線図において形状を維持することが必要な部分の形状を維持できるとともに、データを圧縮できる。特に、各頂点間の長さに差がないような線図を間引き処理する場合に有効である。
本発明の線図の圧縮処理プログラムによれば、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが、上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど上記しきい値を大きくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたので、元の線図において形状を維持することが必要な部分の形状を維持できるとともに、データを圧縮できる。特に、曲線が多くて90°に近い角部分が少ないような線図を間引き処理する場合に有効である。
本発明の線図の圧縮処理プログラムによれば、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど小さく設定された第1修正係数と、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど大きく設定された第2正係数と、を用いて注目頂点の上記修正係数を算出する手段としてコンピュータを機能させる修正係数算出プログラムを備えたので、元の線図において形状を維持することが必要な部分の形状を適切に維持できるとともに、データを圧縮できる
According to the diagram compression processing program of the present invention, since the threshold adjustment processing program is provided, the vertexes can be thinned out while maintaining the accuracy of the diagram, and the data amount can be compressed.
Since the threshold adjustment processing program includes an inequality triangle network generation processing program, a correction value calculation processing program, a correction threshold calculation processing program, and a threshold setting processing program, If the target vertex in Fig. 2 is close to the other diagram, the threshold value of that target vertex can be made appropriately smaller than the original threshold value, making it difficult for the target vertex to be thinned out. Crossing between the diagram and the other diagram can be prevented, and the amount of data can be compressed while maintaining the accuracy of the diagram.
According to the line diagram compression processing program of the present invention, the closer the angle formed by one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. Since the threshold adjustment processing program that causes the computer to function as a means for correcting the threshold value to be small is provided, the shape of the portion that needs to be maintained in the original diagram can be maintained and the data can be stored. It can be compressed. This is particularly effective when thinning out a diagram that has no difference in length between vertices.
According to the line diagram compression processing program of the present invention, the shorter line segment among the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex. Threshold adjustment processing for causing a computer to function as a means for correcting the length to be larger as the length of the line is smaller than the threshold and the difference between the length of the line segment and the threshold is larger Since the program is provided, it is possible to maintain the shape of a portion that needs to be maintained in the original diagram and to compress data. This is particularly effective when thinning a diagram having many curves and few corners close to 90 °.
According to the line diagram compression processing program of the present invention, the closer the angle formed by one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. The first correction coefficient set to be small and the length of the shorter one of the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex As a means for calculating the correction coefficient of the target vertex using a second positive coefficient that is set to be larger as the difference between the length of the line segment and the threshold value is larger than the threshold value. Since the correction coefficient calculation program for functioning is provided, it is possible to appropriately maintain the shape of the part that needs to be maintained in the original diagram and to compress the data .

最良の形態1
図1乃至図6は本発明の最良の形態1を示す。図1は圧縮処理装置の構成を示し、図2は線図の頂点を繋いで不等辺三角形網を生成した状態を示し、図3は修正値の算出方法を説明し、図4;図5は間引き処理の手順を示し、図6は間引き処理後の線図を示す。
Best form 1
1 to 6 show the best mode 1 of the present invention. FIG. 1 shows a configuration of a compression processing apparatus, FIG. 2 shows a state in which vertices of a diagram are connected to generate an unequal triangle network, FIG. 3 explains a method of calculating a correction value, FIG. 4; FIG. The procedure of the thinning process is shown, and FIG. 6 shows a diagram after the thinning process.

最良の形態1による線図の圧縮処理装置1は、しきい値調整処理手段2、間引き処理手段3を備える。しきい値調整処理手段2は、不等辺三角形網生成処理手段4(以下、TIN(Triangulated Irregular Network)生成処理手段という)、修正値算出処理手段5、修正しきい値算出処理手段6、しきい値設定処理手段7を備える。   The diagram compression processing apparatus 1 according to the best mode 1 includes a threshold adjustment processing means 2 and a thinning processing means 3. The threshold adjustment processing unit 2 includes an inequilateral triangle network generation processing unit 4 (hereinafter referred to as a TIN (Triangulated Irregular Network) generation processing unit), a correction value calculation processing unit 5, a correction threshold calculation processing unit 6, and a threshold. Value setting processing means 7 is provided.

圧縮処理装置1は、コンピュータと圧縮処理プログラムとにより実現される。間引き処理手段3は、コンピュータと間引き処理プログラムとにより実現される。間引き処理プログラムは、線図上において間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる。TIN生成処理手段4は、コンピュータとTIN生成処理プログラムとにより実現される。TIN生成処理プログラムは、互いに異なる一対の線図の頂点同士を繋いで不等辺三角形網を生成する手段としてコンピュータを機能させる。修正値算出処理手段5は、コンピュータと修正値算出処理プログラムとにより実現される。修正値算出処理プログラムは、注目頂点と向かい合う三角形の対辺が線図上にある場合には注目頂点とその三角形の対辺との最短の長さを修正値として求め、注目頂点と向かい合う三角形の対辺が線図上にない場合には注目頂点を含む三角形において注目頂点と注目頂点を含まない線図上の頂点とを繋ぐ二辺のうちの長さの短い辺の長さを修正値として求める手段としてコンピュータを機能させる。修正しきい値算出処理手段6は、コンピュータと修正しきい値算出処理プログラムとにより実現される。修正しきい値算出処理プログラムは、修正値ε又はεに0.3以上0.5以下の係数αをかけた修正しきい値εjを算出する手段としてコンピュータを機能させる。しきい値設定処理手段7は、コンピュータとしきい値設定処理プログラムとにより実現される。しきい値設定処理プログラムは、注目頂点の元しきい値εと修正しきい値εjとを比較して小さい方を注目頂点のしきい値Εとして設定する手段としてコンピュータを機能させる。 The compression processing device 1 is realized by a computer and a compression processing program. The thinning processing unit 3 is realized by a computer and a thinning processing program. If the shortest length between the line connecting the vertices located on both sides of the target vertex and whether the target vertex is to be determined on the diagram is smaller than the threshold, the thinning process program The computer is made to function as a means of thinning out the vertex of interest. The TIN generation processing means 4 is realized by a computer and a TIN generation processing program. The TIN generation processing program causes the computer to function as a means for generating an unequal triangular network by connecting vertices of a pair of different diagrams. The correction value calculation processing means 5 is realized by a computer and a correction value calculation processing program. When the opposite side of the triangle facing the target vertex is on the diagram, the correction value calculation processing program obtains the shortest length between the target vertex and the opposite side of the triangle as the correction value, and the opposite side of the triangle facing the target vertex is When not on the diagram, as a means to calculate the length of the short side of the two sides connecting the target vertex and the vertex on the diagram not including the target vertex as a correction value in the triangle including the target vertex Make the computer work. The corrected threshold value calculation processing means 6 is realized by a computer and a corrected threshold value calculation processing program. The correction threshold value calculation processing program causes the computer to function as means for calculating a correction threshold value εj obtained by multiplying the correction value ε 1 or ε 2 by a coefficient α of 0.3 to 0.5. The threshold setting processing means 7 is realized by a computer and a threshold setting processing program. The threshold setting processing program causes the computer to function as means for comparing the original threshold value ε 0 of the target vertex with the modified threshold value ε j and setting the smaller one as the threshold value Ε of the target vertex.

尚、本発明で言うコンピュータとは、CPU、主記憶装置、外部記憶装置などのハードウエアおよびオペレーティングシステムのような基本ソフトウエアなどからなるコンピュータのことであり、上記各プログラムに基づいて上記各手段を実現する装置を指す。   The computer referred to in the present invention is a computer comprising hardware such as a CPU, a main storage device, an external storage device and basic software such as an operating system. Refers to a device that realizes

次に線図の処理方法を説明する。まず、地図において間引き処理の対象となる範囲が指定されると、TIN生成処理手段4が、範囲内の互いに異なる一対の線図11;12の頂点13同士を繋いで不等辺三角形網を生成する(図2参照)。次に、修正値算出処理手段5が、注目頂点と向かい合う三角形の対辺が線図11;12上にあるか否かを判定した後に、注目頂点と向かい合う三角形の対辺があると判定した場合は、例えば、図3に示すように、注目頂点13aと向かい合う三角形の対辺12aと直交してかつ注目頂点13aに到達する垂線14を引き、垂線14の長さx1(即ち、注目頂点13aとその対辺12aとを繋ぐ最短の長さ)を修正値εとして算出する。そして、修正しきい値算出処理手段6が、修正値εに例えば係数α=0.4をかけた修正しきい値εj=ε×αを算出する。つぎに、しきい値設定処理手段7が、注目頂点13aの元しきい値εと修正しきい値εjとを比較して小さい方を注目頂点13aのしきい値Εとして設定し、その設定された注目頂点13aのしきい値Εを半径とするしきい値円15を注目頂点13aを中心として設定する。
尚、修正値算出処理手段5は、注目頂点と向かい合う三角形の対辺が線図11;12上にないと判定した場合、注目頂点を含む三角形において注目頂点と注目頂点を含まない線図11;12上の頂点とを繋ぐ二辺の長さを求め、二辺の長さのうちの短い辺の長さx2を修正値εとして算出し、修正しきい値算出処理手段6は、修正値εに例えば係数α=0.4をかけた修正しきい値εj=ε×αを算出する。
Next, a diagram processing method will be described. First, when a range to be thinned out is specified in the map, the TIN generation processing unit 4 connects the vertices 13 of a pair of different diagrams 11; 12 in the range to generate an unequal triangle network. (See FIG. 2). Next, when the correction value calculation processing means 5 determines whether or not the opposite side of the triangle that faces the target vertex is on the diagrams 11 and 12, and then determines that there is the opposite side of the triangle that faces the target vertex, For example, as shown in FIG. 3, a perpendicular line 14 perpendicular to the opposite side 12a of the triangle facing the target vertex 13a and reaching the target vertex 13a is drawn, and the length x1 of the vertical line 14 (that is, the target vertex 13a and its opposite side 12a). Is calculated as a correction value ε 1 . Then, the correction threshold value calculation processing means 6 calculates a correction threshold value εj = ε 1 × α obtained by multiplying the correction value ε 1 by , for example, a coefficient α = 0.4. Next, the threshold setting processing means 7 compares the original threshold value ε and the corrected threshold value εj of the target vertex 13a and sets the smaller one as the threshold value の of the target vertex 13a. A threshold circle 15 having a radius of the threshold value の of the target vertex 13a is set around the target vertex 13a.
If the correction value calculation processing means 5 determines that the opposite side of the triangle facing the target vertex is not on the diagram 11; 12, the diagram 11; 12 does not include the target vertex and the target vertex in the triangle including the target vertex. It determined the length of two sides that connects the vertices of the upper, to calculate the length x2 of the short sides of the ones of the length of the two sides as the correction value epsilon 2, modified threshold value calculation processing means 6, the correction value epsilon For example, a corrected threshold value εj = ε 2 × α obtained by multiplying 2 by a coefficient α = 0.4 is calculated.

図4(a)に、しきい値設定処理手段7により設定された各頂点のしきい値Εを半径としたしきい値円15を各頂点毎に設定した状態を示す。   FIG. 4A shows a state in which a threshold circle 15 is set for each vertex, with the threshold value の of each vertex set by the threshold setting processing means 7 as a radius.

そして、間引き処理手段3が、従来と同じように間引き処理を行う。この間引き処理を図4(b)〜(d)、図5(a);(b)を参照して説明する。尚、線図11;12の頂点の間引き処理は同じなので、以下、線図11の頂点の間引き処理についてのみ説明する。まず、図4(b)に示すように、線図11において、始点と終点とを繋ぐ直線16を引き、この直線16から最も離れた頂点17を求める。頂点17のしきい値円15と直線16とが交差しないので、この頂点17は間引かれない(削除されない)。図4(c)に示すように、頂点17と始点とを直線19で繋ぎ、この直線19から最も離れた頂点20を求める。この頂点20のしきい値円15と直線19とが交差するので、この頂点20は間引かれる(削除される)。尚、頂点17と始点との間の各頂点はすべて間引かれる。また、頂点17と終点とを直線23で繋ぎ、この直線23から最も離れた頂点24を求める。頂点24のしきい値円15は従来の元しきい値εによるしきい値円Rよりも小さくなっている。従来、図18に示すように、頂点24のしきい値円Rと直線23とが交差していたので、この頂点24は間引かれ、このため、直線23が残って、この直線23と線図12の頂点25とが交差してしまっていた。一方、本発明では、頂点24のしきい値円15と直線23とが交差しないので、頂点24が残り、このため、線図12の頂点25と線図11とが交差しない。以下、図4(d)に示すように、頂点26のしきい値円15と直線26aとが交差しないので、頂点26が残り、図5(a);(b)に示すように、頂点27のしきい値円15と直線27aとが交差しないので、従来、間引きされていた頂点27も残る。即ち、従来、交差してしまっていた頂点25と線図11とが交差せず、しかも、地図データの精度も保たれる間引き処理を行える。図6に間引き処理後の線図11A;12Aを示す。図6に示すように、最良の形態1による間引き処理後は、従来のように、線図11Aと線図12Aとが交差するようなことがなくなる。   Then, the thinning processing means 3 performs the thinning processing as in the conventional case. This thinning process will be described with reference to FIGS. 4B to 4D, FIGS. 5A and 5B. Since the thinning process for the vertices of the diagrams 11 and 12 is the same, only the thinning process for the vertices of the diagram 11 will be described below. First, as shown in FIG. 4B, in the diagram 11, a straight line 16 that connects the start point and the end point is drawn, and a vertex 17 that is farthest from the straight line 16 is obtained. Since the threshold circle 15 of the vertex 17 and the straight line 16 do not intersect, the vertex 17 is not thinned out (not deleted). As shown in FIG. 4C, the vertex 17 and the starting point are connected by a straight line 19, and the vertex 20 farthest from the straight line 19 is obtained. Since the threshold circle 15 of this vertex 20 and the straight line 19 intersect, this vertex 20 is thinned out (deleted). Note that all vertices between the vertex 17 and the start point are thinned out. Further, the vertex 17 and the end point are connected by a straight line 23, and the vertex 24 farthest from the straight line 23 is obtained. The threshold circle 15 at the vertex 24 is smaller than the threshold circle R by the conventional original threshold ε. Conventionally, as shown in FIG. 18, since the threshold circle R of the vertex 24 and the straight line 23 intersect each other, the vertex 24 is thinned out, so that the straight line 23 remains and the straight line 23 and the straight line 23 are lined up. The vertex 25 in FIG. 12 intersected. On the other hand, in the present invention, since the threshold circle 15 of the vertex 24 and the straight line 23 do not intersect, the vertex 24 remains, and thus the vertex 25 of the diagram 12 and the diagram 11 do not intersect. Hereinafter, as shown in FIG. 4D, the threshold circle 15 of the vertex 26 and the straight line 26a do not intersect, so the vertex 26 remains, and as shown in FIGS. 5A and 5B, the vertex 27 Since the threshold circle 15 and the straight line 27a do not intersect with each other, the thinned vertex 27 remains. That is, the thinning process can be performed in which the vertex 25 and the diagram 11 which have been crossed do not cross each other and the accuracy of the map data is maintained. FIG. 6 shows diagrams 11A and 12A after the thinning process. As shown in FIG. 6, after the thinning-out process according to the best mode 1, the line 11A and the line 12A do not cross each other as in the prior art.

最良の形態1によれば、一方の線図上にある注目頂点と他方の線図とが近い場合、その注目頂点のしきい値Εを元しきい値εよりも小さくしたので、その注目頂点が間引かれにくくなり、間引き処理後の一方の線図と他方の線図との交差を防止できる。例えば、道路を示す線図と家を示す線図との交差を防止できる。よって、地図データの精度を保持したまま地図データを圧縮できる。   According to the best mode 1, when the target vertex on one diagram is close to the other diagram, the threshold value Ε of the target vertex is made smaller than the original threshold value ε. Is less likely to be thinned out, and crossing between one diagram after the thinning process and the other diagram can be prevented. For example, it is possible to prevent an intersection between a diagram showing a road and a diagram showing a house. Therefore, the map data can be compressed while maintaining the accuracy of the map data.

最良の形態2
互いに異なる一対の線図のうちの一方の線図の頂点と他方の線図の線分との間の最短長さが所定値よりも短い場合に元しきい値εを小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムでもよい。地図の縮尺の違いによってそれぞれ異なる所定値を決めておけば、最良の形態1と同様に、地図データの精度を保持したまま地図データを圧縮できる。
Best form 2
Means for correcting the original threshold value ε to be small when the shortest length between the vertex of one of the pair of different diagrams and the line segment of the other diagram is shorter than a predetermined value As a threshold value adjustment processing program for causing a computer to function. If different predetermined values are determined depending on the scale of the map, the map data can be compressed while maintaining the accuracy of the map data as in the best mode 1.

最良の形態3
閉図形のままでは図形の始点と終点とがわからないので間引き処理を行うことができない。そこで、始点と終点とを出すために、閉図形をいくつかの線図に分割した後に、上述したように線図の始点と終点とを線で繋いで線図の間引き処理を開始し、間引き処理が終了した後の線図の終点及び始点を連結して閉図形に戻すことにより、閉図形の間引き処理が行われる。従来、この閉図形の分割処理は、閉図形をn個に分割する場合に、閉図形を構成する頂点の数をnで割った数の頂点で形成されるn個の線図に分割する。例えば、16個の頂点を繋いで形成された閉図形を4つに分割する場合、ある任意の頂点を分割点と決めて、その任意の頂点から一方向に向かって4番目、8番目、12番目の頂点を分割点と決めることによって、4つの線図に分割する。つまり、4個の頂点を繋いで形成される線図を4つ形成し、1つ1つの線図に対して間引き処理を行い、間引き処理後の4つの線図の終点及び始点を連結して閉図形に戻す。しかしながら、このような分割処理の場合、間引き処理後の閉図形が元の閉図形の形状とかけ離れてしまい、元の閉図形において形状を維持することが必要な部分の形状を維持できない。
Best form 3
If the figure is a closed figure, the starting point and the ending point of the figure are not known, so the thinning process cannot be performed. In order to obtain the start point and end point, after dividing the closed figure into several diagrams, as shown above, the diagram start point and end point are connected by lines to start the diagram thinning process. The process of thinning out the closed figure is performed by connecting the end point and the start point of the diagram after the process is finished and returning it to the closed figure. Conventionally, in this closed figure dividing process, when a closed figure is divided into n pieces, it is divided into n line diagrams formed by the number of vertices obtained by dividing the number of vertices constituting the closed figure by n. For example, when a closed figure formed by connecting 16 vertices is divided into four, a certain arbitrary vertex is determined as a dividing point, and the fourth, eighth, 12th from one arbitrary vertex toward one direction. Dividing into four diagrams by determining the vertices as the dividing points. In other words, four diagrams are formed by connecting four vertices, thinning processing is performed for each diagram, and the end points and starting points of the four diagrams after thinning processing are connected. Return to a closed figure. However, in such a division process, the closed figure after the thinning process is far from the original closed figure, and the shape of the part that needs to be maintained in the original closed figure cannot be maintained.

最良の形態3では、元の閉図形において形状を維持することが必要な部分の形状を維持できるようにした閉図形の分割処理プログラムについて説明する。図7乃至図9は本発明の最良の形態3を示す。図7は分割処理装置の構成を示し、図8は分割手順を示し、図9は判定要素の説明図である。   In the best mode 3, a closed figure division processing program that can maintain the shape of a part that needs to be maintained in the original closed figure will be described. 7 to 9 show the best mode 3 of the present invention. FIG. 7 shows the configuration of the division processing apparatus, FIG. 8 shows the division procedure, and FIG. 9 is an explanatory diagram of determination elements.

閉図形の分割処理装置30は、判定要素算出処理手段31、分割点決定処理手段32を備える。分割処理装置30は、コンピュータと分割処理プログラムとにより実現される。判定要素算出処理手段31は、コンピュータと判定要素算出処理プログラムとにより実現される。分割点決定処理手段32は、コンピュータと分割点決定処理プログラムとにより実現される。   The closed graphic division processing device 30 includes a determination element calculation processing unit 31 and a division point determination processing unit 32. The division processing device 30 is realized by a computer and a division processing program. The determination element calculation processing means 31 is realized by a computer and a determination element calculation processing program. The division point determination processing means 32 is realized by a computer and a division point determination processing program.

判定要素算出処理プログラムは、閉図形の各頂点毎にその頂点を分割点とするか否かを決定するための判定要素を算出する手段としてコンピュータを機能させるプログラムである。この判定要素算出処理プログラムは、図9に示すように、判定要素を算出する対象となる注目頂点T1から一方の頂点T2に繋がれた一方線分L1と注目頂点T1から他方の頂点T3に繋がれた他方線分L2とのなす角度θを第1判定要素として算出する手段、及び、判定要素を算出する対象となる注目頂点T1から一方の頂点T2に繋がれた一方線分L1の長さl及び注目頂点T1から他方の頂点T3に繋がれた他方線分L2の長さlのうち長さの短い方の線分の長さを第2判定要素として算出する手段としてコンピュータを機能させる。分割点決定処理手段32は、コンピュータと分割点決定処理プログラムとにより実現される。分割点決定処理プログラムは、各頂点毎の判定要素に基づいて分割点を決定する手段としてコンピュータを機能させるプログラムである。この分割点決定処理プログラムは、頂点の第1判定要素としての角度θが90°に近いほどその頂点を分割点候補として上位にランク付けする手段、頂点の第2判定要素としての長さが長いほどその注目頂点を分割点候補として上位にランク付けする手段、及び、各頂点に関しての第1判定要素のランク及び第2判定要素のランクを総合して総合ランク上位の頂点を分割点として決定する手段としてコンピュータを機能させる。 The determination element calculation processing program is a program that causes a computer to function as means for calculating a determination element for determining whether or not each vertex of a closed figure is to be a division point. As shown in FIG. 9, the determination element calculation processing program connects one line segment L1 connected from the target vertex T1 to which the determination element is calculated to one vertex T2 and one target vertex T1 to the other vertex T3. Means for calculating the angle θ formed with the other line segment L2 as a first determination element, and the length of the one line segment L1 connected from the target vertex T1 to which the determination element is calculated to the one vertex T2 a computer to the length of the shorter segment lengths of the lengths l 2 of l 1 and target vertex T1 other segments L2 tethered to another vertex T3 from the means for calculating a second decision element Let The division point determination processing means 32 is realized by a computer and a division point determination processing program. The division point determination processing program is a program that causes a computer to function as means for determining a division point based on a determination element for each vertex. In this division point determination processing program, as the angle θ as the first determination element of the vertex is closer to 90 °, the vertex is ranked higher as the division point candidate, and the length of the vertex as the second determination element is longer As a result, a means for ranking the attention vertex as a candidate for a dividing point and a rank of the first determination element and a rank of the second determination element for each vertex are combined to determine a vertex having a higher overall rank as a division point. Make a computer function as a means.

図8では、分割点を「3」に設定して総合ランク上位3位までの頂点が分割された例を示す。尚、図8(b)の各頂点の傍に付した番号が総合ランクの順番であり、ここでは、図8(c)に示すように、閉図形Zの4つの角部にある頂点のうち3つの頂点Tx;Ty;Tzが分割点に決定される。分割点とならなかった角部にある総合ランク4位の頂点Teは、分割点となった角部にある頂点に比べて、総合ランク8位の頂点と繋がれた線分長さが短く、かつ、角度が90°に遠いため、総合ランクが低くなっている。   FIG. 8 shows an example in which the vertex up to the third highest overall rank is divided by setting the division point to “3”. Note that the numbers assigned to the sides of the vertices in FIG. 8B are the order of the overall rank. Here, among the vertices at the four corners of the closed figure Z, as shown in FIG. Three vertices Tx; Ty; Tz are determined as dividing points. The vertex Te of the overall rank 4th in the corner that has not become the dividing point has a shorter line segment length connected to the vertex of the 8th overall rank than the vertex in the corner that has become the dividing point. And since the angle is far from 90 °, the overall rank is low.

図8(c)に示すように、分割された3つの線図Y1;Y2;Y3毎にそれぞれ上述した間引き処理を行う。ここでは、線図は、始点と終点とを繋ぐ直線となるよう間引き処理され、線図もよりL字状に近い状態に間引き処理され、これら線図が、分割点となった頂点同士で再び連結されることによって、より長方形に近い閉図形になる。つまり、元の閉図形の形状である長方形状の形状を崩すことなく間引きされた閉図形を得ることができる。よって、間引き処理後に、元の閉図形において形状を維持することが必要な部分の形状を維持した閉図形を得ることができる。   As shown in FIG. 8C, the thinning process described above is performed for each of the three divided diagrams Y1; Y2; Y3. Here, the diagram is thinned out so as to be a straight line connecting the start point and the end point, the diagram is also thinned out to a state closer to an L shape, and these diagrams are again at the vertices that became the dividing points. By being connected, it becomes a closed figure closer to a rectangle. That is, the thinned closed figure can be obtained without breaking the rectangular shape that is the shape of the original closed figure. Therefore, after the thinning process, it is possible to obtain a closed graphic in which the shape of the part that needs to be maintained in the original closed graphic is maintained.

最良の形態4
分割点決定処理プログラムは、各頂点毎の第1判定要素に基づいて分割点を決定する手段としてコンピュータを機能させる分割点決定処理プログラムであってもよい。つまり、この分割点決定処理プログラムは、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほどその頂点を分割点候補として上位にランク付けする手段としてコンピュータを機能させる。この分割点決定処理プログラムを用いた場合であっても、例えば、各頂点間の長さに差がないような閉図形を分割する場合に有効である。
Best form 4
The division point determination processing program may be a division point determination processing program that causes a computer to function as means for determining a division point based on the first determination element for each vertex. In other words, this division point determination processing program calculates the vertex as the angle between one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. The computer is caused to function as a means for ranking higher as a division point candidate. Even when this dividing point determination processing program is used, it is effective, for example, when dividing a closed figure having no difference in length between vertices.

最良の形態5
分割点決定処理プログラムは、各頂点毎の第2判定要素に基づいて分割点を決定する手段としてコンピュータを機能させる分割点決定処理プログラムであってもよい。つまり、この分割点決定処理プログラムは、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが長いほどその注目頂点を分割点候補として上位にランク付けする手段としてコンピュータを機能させる。この分割点決定処理プログラムを用いた場合であっても、例えば、曲線が多くて90°に近い角部分が少ないような閉図形を分割する場合に有効である。
Best form 5
The division point determination processing program may be a division point determination processing program that causes a computer to function as means for determining a division point based on the second determination element for each vertex. In other words, this division point determination processing program calculates the length of the shorter line segment of the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex. The longer it is, the computer is made to function as a means for ranking the attention vertex as a candidate for the dividing point. Even when this dividing point determination processing program is used, it is effective, for example, when dividing a closed figure having many curves and few corners close to 90 °.

最良の形態6
図10乃至図14は本発明の最良の形態6を示す。図10は圧縮処理装置の構成を示し、図11は間引き処理の手順を示し、図12は間引き後の閉図形を示し、図13は第1修正係数β1を求める関数式及び関数グラフの一例を示し、図14は第2修正係数β2を求める関数式及び関数グラフの一例を示す。
Best form 6
10 to 14 show the best mode 6 of the present invention. FIG. 10 shows the configuration of the compression processing apparatus, FIG. 11 shows the procedure of the thinning process, FIG. 12 shows the closed figure after the thinning, and FIG. 13 shows an example of a function equation and a function graph for obtaining the first correction coefficient β1. FIG. 14 shows an example of a function expression and a function graph for obtaining the second correction coefficient β2.

最良の形態6による、線図の圧縮処理手段1は、しきい値調整処理手段2、間引き処理手段3を備える。しきい値調整処理手段2は、修正係数算出処理手段35、しきい値設定処理手段36を備える。
修正係数算出処理手段35は、コンピュータと修正係数算出プログラムとにより実現される。修正係数算出プログラムは、注目頂点の元しきい値εに修正係数をかけて算出した修正しきい値を注目頂点のしきい値として設定する手段としてコンピュータを機能させる。更に詳細には、修正係数算出プログラムは、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど小さく設定された第1修正係数β1と、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが上記しきい値よりも小さくかつその差が大きいほど大きく設定された第2修正係数β2と、を用いて注目頂点の修正係数βを算出する手段としてコンピュータを機能させる。しきい値設定処理手段36は、コンピュータとしきい値設定処理プログラムとにより実現される。しきい値設定処理プログラムは、注目頂点の修正係数β×元しきい値εにより求めたしきい値Εを注目頂点のしきい値Εとして設定する手段としてコンピュータを機能させる。
The diagram compression processing means 1 according to the best mode 6 includes a threshold adjustment processing means 2 and a thinning processing means 3. The threshold adjustment processing unit 2 includes a correction coefficient calculation processing unit 35 and a threshold setting processing unit 36.
The correction coefficient calculation processing means 35 is realized by a computer and a correction coefficient calculation program. The correction coefficient calculation program causes the computer to function as means for setting the correction threshold value calculated by multiplying the original threshold value ε of the target vertex by the correction coefficient as the threshold value of the target vertex. More specifically, the correction coefficient calculation program sets the smaller the angle formed by one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. The first correction coefficient β1 and the length of the shorter line segment of the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex are The computer is caused to function as means for calculating the correction coefficient β of the target vertex using the second correction coefficient β2 that is set to be larger as the difference is larger than the threshold value. The threshold setting processing means 36 is realized by a computer and a threshold setting processing program. The threshold value setting processing program causes the computer to function as means for setting the threshold value 求 め obtained by the correction coefficient β of the target vertex × the original threshold value ε as the threshold value の of the target vertex.

第1修正係数β1や第2修正係数β2は上述した条件に合うように設定すればよい。例えば、第1修正係数β1は、以下に示す関数P(x)で求める。
ここで、

Figure 0004929057
x:頂点の角度(0度から180度)
a:傾き係数
x0:角度フィルタ係数(P(x0)=0.5となるときの角度)
例えば、第2修正係数β2は、以下に示す関数P(l´)で求める。
P(l´)=1−c×l´
ここで、
l´:正規化辺長、l´=l/ε(0<l<ε、l≧εならば、l´=l)
c:傾き係数(一般に、1−c=0.2が標準値)
そして、修正係数βを、√β1×√β2で求める。 The first correction coefficient β1 and the second correction coefficient β2 may be set so as to meet the above-described conditions. For example, the first correction coefficient β1 is obtained by the function P (x) shown below.
here,
Figure 0004929057
x: vertex angle (from 0 to 180 degrees)
a: slope coefficient x0: angle filter coefficient (angle when P (x0) = 0.5)
For example, the second correction coefficient β2 is obtained by the function P (l ′) shown below.
P (l ′) = 1−c × l ′
here,
l ′: normalized side length, l ′ = l / ε (if 0 <l <ε, l ≧ ε, l ′ = l)
c: slope coefficient (in general, 1-c = 0.2 is a standard value)
Then, the correction coefficient β is obtained by √β1 × √β2.

図11(a)に、しきい値設定処理手段36により設定された各頂点のしきい値Εを半径としたしきい値円15Aを各頂点毎に設定した状態を示す。   FIG. 11A shows a state in which a threshold circle 15A is set for each vertex, with the threshold value Ε of each vertex set by the threshold setting processing means 36 as a radius.

そして、間引き処理手段が、従来と同じように間引き処理を行う。この間引き処理を図11(b)〜(d)を参照して説明する。尚、この例では、閉図形を例にしているので、間引き処理の前に、上述した分割処理手段で閉図形を分割してから間引き処理を行う。図11(b)〜(d)では閉図形が頂点Tc;Tdで分割された後に、分割された頂点同士を繋いだ線図XAと線図XBとで別々に間引き処理を行っている。間引き処理の手法は、最良の形態1と同じである。しきい値設定処理手段8により設定された線図XAの各頂点T11;T12;T13のしきい値Εは、いずれも修正係数βによって小さくなっており、このため、線図XAの間引き処理により、図11(b)のように、直線M1と頂点T11のしきい値円15Aとが交差しないので、頂点T11が残り、図11(c)のように、直線M2と頂点T12のしきい値円15Aとが交差しないので、頂点T12が残り、図11(d)のように、直線M3と頂点T13のしきい値円15Aとが交差しないので、頂点T13が残る。しきい値設定処理手段36により設定された線図XBの各頂点T21;T22;T23;T24のしきい値Εは、第2修正係数β2が大きいために大きくなっており、線図XBの間引き処理により、各頂点T21;T22;T23;T24は間引きされる。図12に間引き後の線図XA;XBを連結した閉図形を示す。   Then, the thinning processing means performs the thinning processing as in the conventional case. This thinning process will be described with reference to FIGS. In this example, since a closed figure is taken as an example, the thinning process is performed after the closed figure is divided by the above-described division processing means before the thinning process. In FIGS. 11B to 11D, after the closed figure is divided at the vertices Tc; Td, thinning processing is separately performed for the diagrams XA and XB connecting the divided vertices. The thinning-out method is the same as in the best mode 1. The threshold values 各 of the vertices T11; T12; T13 of the diagram XA set by the threshold setting processing means 8 are all reduced by the correction coefficient β. 11B, since the straight line M1 and the threshold circle 15A of the vertex T11 do not intersect, the vertex T11 remains, and the threshold of the straight line M2 and the vertex T12 as shown in FIG. 11C. Since the circle 15A does not intersect, the vertex T12 remains, and as shown in FIG. 11D, the straight line M3 and the threshold circle 15A of the vertex T13 do not intersect, so the vertex T13 remains. The threshold value の of each vertex T21; T22; T23; T24 of the diagram XB set by the threshold setting processing means 36 is large because the second correction coefficient β2 is large, and the diagram XB is thinned out. By processing, the vertices T21; T22; T23; T24 are thinned out. FIG. 12 shows a closed figure obtained by connecting diagrams XA and XB after thinning.

最良の形態6の圧縮処理装置1によれば、間引き処理後の閉図形は、各頂点T21;T22;T23;T24のみが間引きされ、元の閉図形の元の閉図形において形状を維持することが必要な部分の形状を維持できる。よって、最良の形態1と同様に、地図データの精度を保持したまま地図データを圧縮できる。つまり、元の線図において形状を維持することが必要な部分の形状を維持できるとともに、データを圧縮できる。また、第1修正係数β1と第2修正係数β2とを用いて修正係数βを算出しているため、特に図11に示すような、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近くても、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが上記しきい値よりも小さい頂点T21;T22;T23;T24を間引くことができる。つまり、第1修正係数β1を用いただけでは、頂点T21;T22;T23;T24が残ってしまう場合があるが、第1修正係数β1と第2修正係数β2とを用いることで、形状維持に不要な頂点T21;T22;T23;T24を間引くことができる。   According to the compression processing apparatus 1 of the best mode 6, only the vertices T21; T22; T23; T24 are thinned out after the thinning process, and the shape is maintained in the original closed graphic of the original closed graphic. Can maintain the shape of the necessary part. Therefore, similarly to the best mode 1, the map data can be compressed while maintaining the accuracy of the map data. That is, it is possible to maintain the shape of the part that needs to be maintained in the original diagram and to compress the data. Further, since the correction coefficient β is calculated using the first correction coefficient β1 and the second correction coefficient β2, in particular, as shown in FIG. 11, one line segment connected from the target vertex to one vertex and the target Even if the angle between the vertex and the other line segment connected to the other vertex is close to 90 °, the one line segment connected from the target vertex to one vertex and the other line connected from the target vertex to the other vertex The vertices T21; T22; T23; T24 in which the length of the shorter one of the minutes is smaller than the threshold value can be thinned out. That is, when only the first correction coefficient β1 is used, the vertices T21; T22; T23; T24 may remain, but the use of the first correction coefficient β1 and the second correction coefficient β2 is unnecessary for maintaining the shape. Vertices T21; T22; T23; T24 can be thinned out.

最良の形態7
しきい値調整処理プログラムとして、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを用いても良い。このしきい値調整処理プログラムを用いた場合であっても、例えば、各頂点間の長さに差がないような線図を間引き処理する場合に有効である。
Best form 7
As a threshold adjustment processing program, the threshold value is set so that the angle between one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 °. A threshold value adjustment processing program that causes a computer to function as a means for correcting it to be smaller may be used. Even when this threshold value adjustment processing program is used, it is effective, for example, when thinning a diagram having no difference in length between vertices.

最良の形態8
しきい値調整処理プログラムとして、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さと上記しきい値とを比較し、当該線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど上記しきい値を大きくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを用いても良い。このしきい値調整処理プログラムを用いた場合であっても、例えば、曲線が多くて90°に近い角部分が少ないような線図を間引き処理する場合に有効である。
Best form 8
As a threshold adjustment processing program, the length of the shorter line segment of the one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is described above. As a means for comparing the threshold value and making the threshold value larger as the length of the line segment is smaller than the threshold value and the difference between the length of the line segment and the threshold value is larger. A threshold adjustment processing program that causes a computer to function may be used. Even when this threshold adjustment program is used, it is effective, for example, when thinning a diagram having many curves and few corners close to 90 °.

最良の形態9
最良の形態1;6の圧縮処理手段1と最良の形態3の分割処理手段とを備えた地図データ圧縮処理装置による処理の流れを図15を参照して説明する。地図データ圧縮処理装置は、圧縮対象となる地図の範囲を指定するコマンドを入力して、その指定された範囲のデータを読み込む(ステップS1)。最良の形態1によるしきい値修正処理を行う(ステップS2)。最良の形態6によるしきい値修正処理を行う(ステップS3)。最良の形態3による分割処理を行う(ステップS4)。間引き処理を行う(ステップS5)。尚、ステップS2〜ステップS4までの処理の順序は変わっても良い。
Best 9
The flow of processing by the map data compression processing apparatus provided with the compression processing means 1 of the best mode 1; 6 and the division processing means of the best mode 3 will be described with reference to FIG. The map data compression processing apparatus inputs a command for designating the range of the map to be compressed, and reads the data in the designated range (step S1). Threshold correction processing according to the best mode 1 is performed (step S2). Threshold correction processing according to the best mode 6 is performed (step S3). Division processing according to the best mode 3 is performed (step S4). A thinning process is performed (step S5). The order of processing from step S2 to step S4 may be changed.

本発明は、地図データ以外の線図の間引き処理、及び、地図データ以外の閉図形の分割処理にも使用できる。   The present invention can also be used for thinning out a diagram other than map data and processing for dividing a closed figure other than map data.

圧縮処理装置を示すブロック構成図(最良の形態1)。The block block diagram which shows a compression processing apparatus (best form 1). 不等辺三角形網を示す図(最良の形態1)。The figure which shows an unequal side triangular network (best form 1). 修正値算出方法の説明図(最良の形態1)。Explanatory drawing of the correction value calculation method (best form 1). 間引き処理の手順を示す図(最良の形態1)。The figure which shows the procedure of a thinning process (best form 1). 間引き処理の手順を示す図(最良の形態1)。The figure which shows the procedure of a thinning process (best form 1). 間引き処理後の線図を示す図(最良の形態1)。The figure which shows the diagram after a thinning process (best form 1). 分割処理装置を示すブロック構成図(最良の形態3)。The block block diagram which shows a division | segmentation processing apparatus (best form 3). 分割手順を示す図(最良の形態3)。The figure which shows a division | segmentation procedure (best form 3). 判定要素の説明図(最良の形態3)。Explanatory drawing of the determination element (best form 3). 圧縮処理装置を示すブロック構成図(最良の形態6)。The block block diagram which shows a compression processing apparatus (best form 6). 間引き処理の手順を示す図(最良の形態6)。The figure which shows the procedure of a thinning process (best form 6). 間引き後の閉図形を示す図(最良の形態6)。The figure which shows the closed figure after thinning (best form 6). 第1修正係数β1を求める関数式及び関数グラフの一例を示す図(最良の形態6)。The figure which shows an example of the function type | formula which calculates | requires 1st correction coefficient (beta) 1, and a function graph (best form 6). 第2修正係数β2を求める関数式及び関数グラフの一例を示す図(最良の形態6)。The figure which shows an example of the function type | formula which calculates | requires 2nd correction coefficient (beta) 2, and a function graph (best form 6). 地図データ圧縮処理装置による処理の流れ図(最良の形態9)。The flowchart of the process by the map data compression processing apparatus (the best form 9). 従来の間引き処理の手順を示す図。The figure which shows the procedure of the conventional thinning process. 従来の間引き処理のしきい値の説明図。Explanatory drawing of the threshold value of the conventional thinning process. 従来の間引き処理結果を示す図。The figure which shows the conventional thinning-out process result. 従来の間引き処理結果を示す図。The figure which shows the conventional thinning-out process result. 従来の間引き処理結果を示す図。The figure which shows the conventional thinning-out process result.

符号の説明Explanation of symbols

1 圧縮処理装置、2 しきい値調整処理手段、3 間引き処理手段、
4 TIN生成処理手段、5 修正値算出処理手段、6 修正しきい値算出処理手段、
7 しきい値設定処理手段、30 分割処理装置、31 判定要素算出処理手段、
32 分割点決定処理手段、35 修正係数算出処理手段、36 しきい値設定処理手段。
1 compression processing device, 2 threshold adjustment processing means, 3 thinning processing means,
4 TIN generation processing means, 5 correction value calculation processing means, 6 correction threshold value calculation processing means,
7 threshold value setting processing means, 30 division processing device, 31 determination element calculation processing means,
32 division point determination processing means, 35 correction coefficient calculation processing means, 36 threshold value setting processing means.

Claims (5)

複数の頂点を繋いで生成された線図の頂点を間引いてデータ量を圧縮するに際し、線図の各頂点に頂点からの一定距離であるしきい値を設定し、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる線図の圧縮処理プログラムにおいて、互いに異なる一対の線図のうちの一方の線図の頂点と他方の線図の線分との間の最短長さが所定値よりも短い場合に上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする線図の圧縮処理プログラム。   When compressing the amount of data by thinning out the vertices of the diagram generated by connecting multiple vertices, set a threshold value that is a fixed distance from the vertex to each vertex of the diagram, and determine whether thinning is possible A diagram compression processing program that causes a computer to function as a means for thinning out a target vertex when the shortest length between the target vertex and a line connecting vertices located on both sides of the target vertex is smaller than a threshold value , The threshold value is corrected to be smaller when the shortest length between the vertex of one of the pair of different diagrams and the line segment of the other diagram is shorter than a predetermined value. A program for compressing a diagram, characterized in that it comprises a threshold adjustment program for causing a computer to function as means. しきい値調整処理プログラムは、互いに異なる一対の線図の頂点同士を繋いで不等辺三角形網を生成する手段としてコンピュータを機能させる不等辺三角形網生成処理プログラムと、注目頂点と向かい合う三角形の対辺が線図上にある場合には注目頂点とその三角形の対辺との最短長さを修正値として求め、注目頂点と向かい合う三角形の対辺が線図上にない場合には注目頂点を含む三角形において注目頂点と注目頂点を含まない線図上の頂点とを繋ぐ二辺のうち長さの短い辺の長さを修正値として求める手段としてコンピュータを機能させる修正値計算処理プログラムと、上記修正値に0.5以下の係数をかけた修正しきい値を算出する手段としてコンピュータを機能させる修正しきい値算出処理プログラムと、注目頂点の上記しきい値と修正しきい値とを比較して小さい方を注目頂点のしきい値として設定する手段としてコンピュータを機能させるしきい値設定処理プログラムとを備えたことを特徴とする請求項1に記載の線図の圧縮処理プログラム。   The threshold adjustment processing program includes an inequality triangle network generation processing program that causes a computer to function as a means for generating an inequality triangle network by connecting vertices of a pair of different diagrams, and an opposite side of a triangle facing a target vertex. If it is on the diagram, find the shortest length between the target vertex and the opposite side of the triangle as a correction value, and if the opposite side of the triangle facing the target vertex is not on the diagram, the target vertex in the triangle that includes the target vertex A correction value calculation processing program for causing a computer to function as a means for obtaining the length of the short side of the two sides connecting the vertices on the diagram not including the target vertex as a correction value; A correction threshold value calculation processing program for causing a computer to function as a means for calculating a correction threshold value multiplied by a coefficient of 5 or less; A threshold value setting program for causing a computer to function as means for setting a smaller value as a threshold value of a target vertex by comparing with a positive threshold value. Compression processing program. 複数の頂点を繋いで生成された線図の頂点を間引いてデータ量を圧縮するに際し、線図の各頂点に頂点からの一定距離であるしきい値を設定し、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる線図の圧縮処理プログラムにおいて、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど上記しきい値を小さくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする線図の圧縮処理プログラム。   When compressing the amount of data by thinning out the vertices of the diagram generated by connecting multiple vertices, set a threshold value that is a fixed distance from the vertex to each vertex of the diagram, and determine whether thinning is possible A diagram compression processing program that causes a computer to function as a means for thinning out a target vertex when the shortest length between the target vertex and a line connecting vertices located on both sides of the target vertex is smaller than a threshold value , In which the threshold is made smaller as the angle formed by one line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is closer to 90 ° A diagram compression processing program comprising a threshold adjustment processing program that causes a computer to function as 複数の頂点を繋いで生成された線図の頂点を間引いてデータ量を圧縮するに際し、線図の各頂点に頂点からの一定距離であるしきい値を設定し、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる線図の圧縮処理プログラムにおいて、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さと上記しきい値とを比較し、当該線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど上記しきい値を大きくするよう修正する手段としてコンピュータを機能させるしきい値調整処理プログラムを備えたことを特徴とする線図の圧縮処理プログラム。   When compressing the amount of data by thinning out the vertices of the diagram generated by connecting multiple vertices, set a threshold value that is a fixed distance from the vertex to each vertex of the diagram, and determine whether thinning is possible A diagram compression processing program that causes a computer to function as a means for thinning out a target vertex when the shortest length between the target vertex and a line connecting vertices located on both sides of the target vertex is smaller than a threshold value In the above, the length of the shorter one of the line segment connected from the target vertex to one vertex and the other line segment connected from the target vertex to the other vertex is compared with the above threshold. The threshold for causing the computer to function as a means for correcting the line segment to be larger as the length of the line segment is smaller than the threshold value and the difference between the length of the line segment and the threshold value is larger. Value adjustment processing pro Compression processing program of the diagram, characterized in that it comprises a ram. 複数の頂点を繋いで生成された線図の頂点を間引いてデータ量を圧縮するに際し、線図の各頂点に頂点からの一定距離であるしきい値を設定し、間引き可能か否かの判定対象とする注目頂点の両側に位置する頂点同士を繋いだ線と注目頂点との間の最短長さがしきい値よりも小さい場合にその注目頂点を間引く手段としてコンピュータを機能させる線図の圧縮処理プログラムにおいて、注目頂点の上記しきい値に修正係数をかけて算出した修正しきい値を注目頂点のしきい値として設定する手段としてコンピュータを機能させるしきい値調整処理プログラムを備え、しきい値調整処理プログラムは、修正係数算出プログラムを備え、修正係数算出プログラムは、注目頂点から一方の頂点に繋がれた一方線分と注目頂点から他方の頂点に繋がれた他方線分とのなす角度が90°に近いほど小さく設定された第1修正係数と、注目頂点から一方の頂点に繋がれた一方線分及び注目頂点から他方の頂点に繋がれた他方線分のうち長さの短い方の線分の長さが上記しきい値よりも小さくかつ当該線分の長さと上記しきい値との差が大きいほど大きく設定された第2正係数と、を用いて注目頂点の上記修正係数を算出する手段としてコンピュータを機能させることを特徴とする線図の圧縮処理プログラム When compressing the amount of data by thinning out the vertices of the diagram generated by connecting multiple vertices, set a threshold value that is a fixed distance from the vertex to each vertex of the diagram, and determine whether thinning is possible A diagram compression processing program that causes a computer to function as a means for thinning out a target vertex when the shortest length between the target vertex and a line connecting vertices located on both sides of the target vertex is smaller than a threshold value A threshold adjustment processing program for causing a computer to function as a means for setting a correction threshold value calculated by multiplying the threshold value of the target vertex by a correction coefficient as a threshold value of the target vertex, The processing program includes a correction coefficient calculation program, and the correction coefficient calculation program is connected from the target vertex to one vertex and from the target vertex to the other vertex. The first correction coefficient set smaller as the angle formed with the other line segment is closer to 90 °, the one line segment connected from the target vertex to one vertex, and the other line segment connected from the target vertex to the other vertex A second positive coefficient that is set to be larger as the length of the shorter line segment is smaller than the threshold value and the difference between the line segment and the threshold value is larger. A diagram compression processing program for causing a computer to function as means for calculating the correction coefficient of the target vertex .
JP2007143615A 2007-05-30 2007-05-30 Diagram compression processing program Expired - Fee Related JP4929057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007143615A JP4929057B2 (en) 2007-05-30 2007-05-30 Diagram compression processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007143615A JP4929057B2 (en) 2007-05-30 2007-05-30 Diagram compression processing program

Publications (2)

Publication Number Publication Date
JP2008299506A JP2008299506A (en) 2008-12-11
JP4929057B2 true JP4929057B2 (en) 2012-05-09

Family

ID=40172994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007143615A Expired - Fee Related JP4929057B2 (en) 2007-05-30 2007-05-30 Diagram compression processing program

Country Status (1)

Country Link
JP (1) JP4929057B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5731425B2 (en) * 2012-02-27 2015-06-10 株式会社トヨタマップマスター Processing unit designating apparatus and method, computer program for designating processing unit, and recording medium storing computer program
JP7253720B2 (en) * 2019-03-27 2023-04-07 パナソニックIpマネジメント株式会社 Display system and program
CN113688108A (en) * 2021-07-16 2021-11-23 深圳智慧林网络科技有限公司 Data processing method and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002318534A (en) * 2001-04-23 2002-10-31 Matsushita Electric Ind Co Ltd Method for transmitting position information of digital map
JP2004348708A (en) * 2003-04-30 2004-12-09 Hitachi Eng Co Ltd Polygon creation method for geographical information system, and its device
JP4613075B2 (en) * 2005-02-16 2011-01-12 クラリオン株式会社 Map processing device, navigation device, and map display method
JP4974479B2 (en) * 2005-05-27 2012-07-11 クラリオン株式会社 Map display device
JP4934669B2 (en) * 2005-06-23 2012-05-16 アノト アクティエボラーク Method and apparatus for transfer of non-pen stroke data

Also Published As

Publication number Publication date
JP2008299506A (en) 2008-12-11

Similar Documents

Publication Publication Date Title
Sheffer Model simplification for meshing using face clustering
WO2005066852A1 (en) Method for approximating and displaying three-dimensional cad data, and system for executing that method
US20060050073A1 (en) Tetrahedral mesh generating method and program
JP2011138388A (en) Data correction apparatus and method
JP4929057B2 (en) Diagram compression processing program
JP2006285858A (en) Three-dimensional model deformation system and program
Su et al. Automatic hexahedral mesh generation for multi-domain composite models using a hybrid projective grid-based method
Kumar et al. Geometry based triangulation of multiple trimmed NURBS surfaces
EP2618312A2 (en) System and method for snapping normals to create fair 3D surfaces from edge curves
CN107590298B (en) Voxelization method and information processing device
Zhang et al. Adaptive generation of hexahedral element mesh using an improved grid-based method
JP2010211629A (en) Apparatus and method for processing information
CN113223178B (en) Method and device for determining selected structural characteristic parameters of pipeline
JP6571784B2 (en) Structure estimation device, structure estimation method, and program
US8872819B2 (en) Computational geometry design for sheet metal machinery corner
JP4597766B2 (en) Analysis mesh generation system
JP2015158778A (en) Solid molding data optimization device
JP2007087331A (en) Feature shape simplifying device, method, and program
JP2010044440A (en) Three-dimensional shape processing apparatus and processing method
JP2016224791A (en) Data output regulation device for three-dimensional object molding
WO2022018869A1 (en) Mapping function adjustment device, mapping function adjustment method, and program
JP2746214B2 (en) Polygon mesh connection device
JP6026949B2 (en) Curved surface drawing apparatus and curved surface drawing program
Lu et al. QEM-based mesh simplification with effective feature-preserving
WO2024072408A1 (en) Methods of generating a component including a blended lattice

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120123

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120213

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees