[go: up one dir, main page]

JP2003178299A - Diagram reducing compiling method and device and diagram deforming device and method - Google Patents

Diagram reducing compiling method and device and diagram deforming device and method

Info

Publication number
JP2003178299A
JP2003178299A JP2001374134A JP2001374134A JP2003178299A JP 2003178299 A JP2003178299 A JP 2003178299A JP 2001374134 A JP2001374134 A JP 2001374134A JP 2001374134 A JP2001374134 A JP 2001374134A JP 2003178299 A JP2003178299 A JP 2003178299A
Authority
JP
Japan
Prior art keywords
vertices
line
predetermined reference
reference length
vertex
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.)
Granted
Application number
JP2001374134A
Other languages
Japanese (ja)
Other versions
JP4165060B2 (en
Inventor
Kosuke Tsuru
宏介 津留
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.)
Aero Asahi Corp
Original Assignee
Aero Asahi 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 Aero Asahi Corp filed Critical Aero Asahi Corp
Priority to JP2001374134A priority Critical patent/JP4165060B2/en
Publication of JP2003178299A publication Critical patent/JP2003178299A/en
Application granted granted Critical
Publication of JP4165060B2 publication Critical patent/JP4165060B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically deform a house shape in an easy-to-see shape according to reduction in a map. <P>SOLUTION: A circumscribed rectangle setting device 14 of a removal determining device 12 sets a circumscribed rectangle in input house data 10. A comparator 16 compares the short side of the rectangle set by the rectangle setting device 14 with the reference length La, and outputs only the house data having the short side not less than the reference length La to a rear stage. A deforming device 18 simplifies the shape by repeating deformation until the shortest side of the house data from the removal determining device 12 becomes the reference length Lb or more. A reducing device 20 reduces the house data of simplifying the shape by the deforming device 18 to the size a little smaller than the size simply reduced to an objective contraction scale. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、図形縮小編纂方法
及び装置並びに図形変形方法及び装置に関し、より具体
的には、視覚上の違和感を感じさせずに図形、例えば、
地図データ中の建物の平面図形を縮小編纂する図形縮小
編纂方法及び装置、並びにその縮小編纂に使用する図形
変形方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for reducing a graphic, and a method and an apparatus for deforming a graphic, and more specifically, a graphic, for example, without feeling a visual discomfort.
TECHNICAL FIELD The present invention relates to a method and apparatus for reducing and compiling a plane figure of a building in map data, and a method and apparatus for changing a figure used for the reducing and compiling.

【0002】[0002]

【従来の技術】地図は、縮尺に応じて表現が異なる。そ
の表現形式は図式として規定されている。ある縮尺の地
図を作成しようとする場合、その縮尺よりも大きな縮尺
の地図が存在し、その地図の内容を利用できるときに
は、その大きな縮尺の地図を編纂して所望の縮尺の地図
を作成する。
2. Description of the Related Art Maps have different representations depending on the scale. The form of expression is specified as a diagram. When trying to create a map of a certain scale, a map of a scale larger than that scale exists, and when the contents of the map are available, the map of the large scale is compiled to create a map of a desired scale.

【0003】例えば、縮尺1/2500の地図を縮小し
て、縮尺1/10000の地図を作成できる。従来は、
縮尺1/2500の地図を写真撮影して縮尺1/100
00に縮小した上で、縮尺1/10000の図式に基づ
いて、人間が、建物等の各要素を描画し直している。人
間による図式に基づく再描画では、写真処理により縮小
されることにより読みづらくなっている要素を、読み取
りやすいように変形することも容易であり、細かすぎる
ものを省略することも容易である。但し、そのような変
形・省略のためには、高度な熟練を必要とする。
For example, a map with a scale of 1/2500 can be reduced to create a map with a scale of 1/10000. conventionally,
Photograph a map at a scale of 1/2500 and scale 1/100
After being reduced to 00, a human redraws each element such as a building based on the scale of 1/10000. In the redrawing based on a diagram by a human, it is easy to transform an element that is difficult to read because it is reduced by a photographic process so that it is easy to read, and it is easy to omit a too fine element. However, a high degree of skill is required for such modification and omission.

【0004】最近、地図がデジタル化されつつある。デ
ジタル地図は、コンピュータにより自由に拡大縮小でき
る。しかし、既存の地図処理ソフトウエアは、地図を拡
大縮小する際に、その地図内の各要素、代表的な建物を
同じ倍率で単純に拡大縮小する。
Recently, maps are being digitized. Digital maps can be scaled up and down freely by computer. However, the existing map processing software simply enlarges or reduces each element in the map and a typical building at the same magnification when enlarging or reducing the map.

【0005】[0005]

【発明が解決しようとする課題】地図を縮小する際に、
従来の地図処理ソフトウエアでは、その地図に含まれる
建物図形を単純に縮小してしまう。この場合、建物が細
かく表示されすぎるだけでなく、建物形状が保存された
状態で縮小される。これはしばしば、不必要な建物を表
示したり、不必要に細かい建物形状を表示することにつ
ながり、縮小後の地図が見にくく、うるさいものになっ
てしまう。換言すると、しばしば、縮小後の地図は、縮
小後の地図の縮尺に応じた図式で表現されたものになら
なくなる。
[Problems to be Solved by the Invention] When reducing a map,
The conventional map processing software simply reduces the building figure included in the map. In this case, not only the building is displayed too finely, but also the building shape is reduced in a state where it is saved. This often leads to unnecessary buildings being displayed and unnecessary fine building shapes being displayed, making the reduced map difficult to see and noisy. In other words, the reduced map often does not have a schematic representation according to the scale of the reduced map.

【0006】本発明は、このような不都合を解消し、縮
小後の縮尺に合った変形及び省略を自動的に行う図形縮
小編纂方法及び装置並びに図形変形方法及び装置を提示
することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to eliminate such inconvenience and provide a graphic reduction knitting method and apparatus and a graphic deformation method and apparatus for automatically performing deformation and omission according to the scale after reduction. .

【0007】[0007]

【課題を解決するための手段】本発明に係る図形縮小編
纂方法は、複数の頂点とこれらを順に接続する頂点間接
続線とからなる図形データを縮小編纂する図形縮小編纂
方法であって、入力する図形データのサイズが所定サイ
ズ以上であるかどうかを判別し、所定サイズ未満の場合
に除去する除去判定ステップと、当該除去判定ステップ
により除去されない図形データの形状を、各頂点間接続
線の線長が所定基準長を越えるように変形する変形ステ
ップと、当該変形ステップで変形された図形データの形
状を出力解像度に応じた所定量だけ小さいサイズに縮小
する縮小ステップとを具備することを特徴とする。
A graphic reduction and compilation method according to the present invention is a graphic reduction and compilation method for reducing and compiling graphic data consisting of a plurality of vertices and connecting lines between vertices connecting these vertices in order. Determine whether the size of the graphic data to be processed is greater than or equal to a predetermined size, and if the size is less than the predetermined size, remove the removal determination step and the shape of the graphic data not removed by the removal determination step. The method further comprises a transformation step of transforming the length so as to exceed a predetermined reference length, and a reduction step of reducing the shape of the graphic data transformed by the transformation step to a size smaller by a predetermined amount according to the output resolution. To do.

【0008】除去判定ステップにより、変形処理の負担
を軽減できる。当該変形ステップで変形された図形デー
タの形状を出力解像度に応じた所定量だけ小さいサイズ
に縮小する縮小ステップを設けることにより、変形後の
図形が見やすいものになる。
The removal determination step can reduce the load of the deformation process. By providing a reduction step for reducing the shape of the graphic data transformed in the transformation step to a size smaller by a predetermined amount according to the output resolution, the transformed figure becomes easier to see.

【0009】当該変形ステップは、各頂点間接続線の内
の、最短辺を検索する最短辺検索ステップと、当該最短
辺が実質的に矩形の凸部の頂辺及び凹部の底辺の何れか
であるかどうかを判定する矩形判定ステップと、当該最
短辺が実質的に矩形の凸部の頂辺及び凹部の底辺の何れ
かである場合に、当該最短辺の始点及び終点となる頂点
を削除し、その両側の頂点を接続する最短辺削除ステッ
プとを具備する。これにより、凸部及び凹部を効率的に
削除できる。
In the transformation step, the shortest side searching step for searching the shortest side among the connecting lines between the vertices, or the top side of the convex portion or the bottom side of the concave portion of which the shortest side is substantially rectangular. The rectangle determining step of determining whether or not there is, and when the shortest side is substantially any of the top side of the convex portion and the bottom side of the concave portion of the rectangle, the vertices that are the start point and the end point of the shortest side are deleted. , A shortest side deleting step that connects the vertices on both sides thereof. Thereby, the convex portion and the concave portion can be efficiently deleted.

【0010】当該変形ステップが更に、当該所定基準長
以下の頂点間接続線が連続するかどうかを判定する連続
判定ステップと、当該所定基準長以下の頂点間接続線が
連続しない場合に、当該所定基準長以下の頂点間接続線
をその両側の頂点間接続線の線長比で分割し、その分割
点を端点とするように当該両側の頂点間接続線を平行移
動し、当該分割点及び平行移動後の頂点間接続線の反対
側の端点を、当該所定基準長以下の頂点間接続線の端点
及び平行移動前の当該両側の頂点間接続線の頂点の代替
とする線削除ステップとを具備する。これにより、例え
ば、段差のある折れ曲がり部分を、段差の無い折れ曲が
り直線で簡略化できる。
The deforming step further includes a continuation determining step of determining whether the connecting lines between the vertices having the predetermined reference length or less are continuous, and the determining step if the connecting lines between the vertices having the predetermined reference length or less are not continuous. The connection line between vertices with a standard length or less is divided by the line length ratio of the connection line between vertices on both sides, and the connection line between vertices on both sides is translated so that the division point is the end point, and the division point and parallel A line deleting step in which the end point on the opposite side of the connection line between vertices after movement is used as a substitute for the end point of the connection line between vertices having the predetermined reference length or less and the vertices of the connection line between vertices on both sides before translation. To do. Thereby, for example, a bent portion having a step can be simplified by a bent straight line having no step.

【0011】当該変形ステップは更に、当該所定基準長
以下の連続する頂点間接続線の中間の頂点を1つおきに
間引く頂点間引きステップと、当該所定基準長以下の連
続する頂点間接続線の中間の1つおきの頂点を、これに
隣接する頂点との間の中間点で代替する頂点代替ステッ
プと、当該所定基準長以下の頂点間接続線が連続する場
合に、連続する当該所定基準長以下の頂点間接続線の数
を計算し、その計算結果に応じて当該頂点間引きステッ
プ及び当該頂点代替ステップの一方を選択する選択ステ
ップとを具備する。これにより、短い線が連なった形状
変化部分を簡略化できる。
The deforming step further includes a step of thinning out every other intermediate vertex of the continuous connecting lines between the vertices having the predetermined reference length or less, and an intermediate process of connecting connecting lines between the vertices having the predetermined reference length or less. Of every other vertex in the intermediate point between adjacent vertices, and when the connecting line between the vertices of the predetermined reference length or less is continuous, the continuous reference length of less than the predetermined reference length. And a selecting step of selecting one of the vertex thinning step and the vertex substituting step according to the calculation result. As a result, it is possible to simplify the shape change portion in which short lines are connected.

【0012】当該変形ステップは、注目頂点の両側の2
つの頂点を結ぶ線に当該注目頂点から垂線を下ろし、そ
の垂線の長さが当該所定基準長以下の場合に、当該注目
頂点を削除する注目頂点削除ステップを具備する。これ
により、微小な曲がり部分を直線で簡略化できる。
The transformation step is performed on two sides of the target vertex.
A perpendicular vertex is drawn from the target vertex to a line connecting the two vertices, and when the length of the perpendicular is equal to or shorter than the predetermined reference length, the target vertex deleting step is included. This makes it possible to simplify a minute curved portion with a straight line.

【0013】当該縮小ステップが、当該変形ステップで
変形された図形データの形状を、目的の縮尺のサイズよ
りも出力解像度に応じた所定量だけ小さいサイズに縮小
する。これにより、目的の縮尺への縮小と、見やすさの
ための縮小を一括して行える。
In the reducing step, the shape of the graphic data transformed in the transforming step is reduced to a size smaller than a target scale size by a predetermined amount according to the output resolution. As a result, the reduction to the desired scale and the reduction for easy viewing can be performed at once.

【0014】当該除去判定ステップが、入力する図形デ
ータに外接する長方形を設定する外接長方形設定ステッ
プと、当該外接長方形設定ステップで設定された長方形
の短辺を所定長と比較する比較ステップとを具備する。
これにより、削除して良い図形を効率的に検出できる。
The removal determining step includes a circumscribing rectangle setting step of setting a rectangle circumscribing the input graphic data, and a comparing step of comparing the short side of the rectangle set in the circumscribing rectangle setting step with a predetermined length. To do.
This makes it possible to efficiently detect graphics that can be deleted.

【0015】本発明に係る縮小編纂装置は、複数の頂点
とこれらを順に接続する頂点間接続線とからなる図形デ
ータを縮小編纂する図形縮小編纂装置であって、入力す
る図形データのサイズが所定サイズ以上であるかどうか
を判別し、所定サイズ未満の場合に除去する除去判定手
段と、当該除去判定手段により除去されない図形データ
の形状を、各頂点間接続線の線長が所定基準長を越える
ように変形する変形手段と、当該変形手段で変形された
図形データの形状を、出力解像度に応じた所定量だけ小
さいサイズに縮小する縮小手段とを具備することを特徴
とする。
A reduction knitting apparatus according to the present invention is a figure reduction knitting apparatus that reduces and compiles figure data composed of a plurality of vertices and connecting lines between vertices connecting these vertices in order. It is determined whether or not the size is equal to or larger than the predetermined size, and if the size is less than the predetermined size, the removal determining unit removes the shape of the graphic data that is not removed by the removal determining unit, and the line length of each vertex connecting line exceeds the predetermined reference length. It is characterized by comprising a deforming means for deforming as described above and a reducing means for reducing the shape of the graphic data transformed by the deforming means to a size smaller by a predetermined amount according to the output resolution.

【0016】除去判定手段により、変形処理の負担を軽
減できる。変形手段で変形された図形データの形状を出
力解像度に応じた所定量だけ小さいサイズに縮小する縮
小手段を設けることにより、変形後の図形が見やすいも
のになる。
The removal determining means can reduce the load of the deformation process. By providing the reducing means for reducing the shape of the graphic data deformed by the deforming means to a size smaller by a predetermined amount according to the output resolution, the deformed graphic becomes easy to see.

【0017】当該変形手段は、各頂点間接続線の内の、
最短辺を検索する最短辺検索手段と、当該最短辺が実質
的に矩形の凸部の頂辺及び凹部の底辺の何れかであるか
どうかを判定する矩形判定手段と、当該最短辺が実質的
に矩形の凸部の頂辺及び凹部の底辺の何れかである場合
に、当該最短辺の始点及び終点となる頂点を削除し、そ
の両側の頂点を接続する最短辺削除手段とを具備する。
これにより、凸部及び凹部を効率的に削除できる。
Among the connecting lines between the vertices, the deforming means is
A shortest side searching means for searching the shortest side, a rectangle determining means for determining whether the shortest side is substantially the top side of the convex portion or the bottom side of the concave portion of the rectangle, and the shortest side is substantially And a shortest side deleting means for deleting a vertex which is a start point and an end point of the shortest side when any of the top side of the rectangular convex portion and the bottom side of the concave portion and connecting the vertices on both sides thereof.
Thereby, the convex portion and the concave portion can be efficiently deleted.

【0018】当該変形手段が更に、当該所定基準長以下
の頂点間接続線が連続するかどうかを判定する連続判定
手段と、当該所定基準長以下の頂点間接続線が連続しな
い場合に、当該所定基準長以下の頂点間接続線をその両
側の頂点間接続線の線長比で分割し、その分割点を端点
とするように当該両側の頂点間接続線を平行移動し、当
該分割点及び平行移動後の頂点間接続線の反対側の端点
を、当該所定基準長以下の頂点間接続線の端点及び平行
移動前の当該両側の頂点間接続線の頂点の代替とする線
削除手段とを具備する。これにより、例えば、段差のあ
る折れ曲がり部分を、段差の無い折れ曲がり直線で簡略
化できる。
The deforming means further determines continuity determining means for determining whether or not the connecting lines between the vertices having the predetermined reference length or less are continuous, and the determining unit if the connecting lines for the vertices having the predetermined reference length or less are not continuous. The connection line between vertices with a standard length or less is divided by the line length ratio of the connection line between vertices on both sides, and the connection line between vertices on both sides is translated so that the division point is the end point, and the division point and parallel Line removing means for replacing the end point of the connecting line between the vertices after the movement with the end point of the connecting line between the vertices having the predetermined reference length or less and the vertex of the connecting line between the vertices on both sides before the parallel movement. To do. Thereby, for example, a bent portion having a step can be simplified by a bent straight line having no step.

【0019】当該変形手段は更に、当該所定基準長以下
の連続する頂点間接続線の中間の頂点を1つおきに間引
く頂点間引き手段と、当該所定基準長以下の連続する頂
点間接続線の中間の1つおきの頂点を、隣接する頂点と
の間の中間点で代替する頂点代替手段と、当該所定基準
長以下の頂点間接続線が連続する場合に、連続する当該
所定基準長以下の頂点間接続線の数を計算し、その計算
結果に応じて当該頂点間引き手段及び当該頂点代替手段
の一方を選択する選択手段とを具備する。これにより、
短い線が連なった形状変化部分を簡略化できる。
The deforming means further includes an apex thinning means for thinning out every other middle vertex of the continuous connecting lines between the vertices having the predetermined reference length or less, and a middle point between the connecting lines for connecting the vertices having the predetermined reference length or less. If every other vertex is replaced with an intermediate point between adjacent vertices and a connecting line between vertices having the predetermined reference length or less is continuous, the vertices having the predetermined reference length or less are continuous. And a selecting means for calculating the number of connecting lines and selecting one of the apex thinning means and the apex substituting means according to the calculation result. This allows
It is possible to simplify the shape change part in which short lines are connected.

【0020】当該変形手段は、注目頂点の両側の2つの
頂点を結ぶ線に当該注目頂点から垂線を下ろし、その垂
線の長さが当該所定基準長以下の場合に、当該注目頂点
を削除する注目頂点削除手段を具備する。これにより、
微小な曲がり部分を直線で簡略化できる。
The deforming means draws a perpendicular from the target vertex on a line connecting two vertices on both sides of the target vertex, and deletes the target vertex when the length of the perpendicular is not more than the predetermined reference length. A vertex deleting means is provided. This allows
The slight bend can be simplified by a straight line.

【0021】当該縮小手段が、当該変形手段で変形され
た図形データの形状を、目的の縮尺のサイズよりも出力
解像度に応じた所定量だけ小さいサイズに縮小する。こ
れにより、目的の縮尺への縮小と、見やすさのための縮
小を一括して行える。
The reduction means reduces the shape of the graphic data transformed by the transformation means to a size smaller than a target scale size by a predetermined amount according to the output resolution. As a result, the reduction to the desired scale and the reduction for easy viewing can be performed at once.

【0022】当該除去判定手段が、入力する図形データ
に外接する長方形を設定する外接長方形設定手段と、当
該外接長方形設定手段で設定された長方形の短辺を所定
長と比較する比較手段とを具備する。これにより、削除
して良い図形を効率的に検出できる。
The removal determining means comprises a circumscribing rectangle setting means for setting a rectangle circumscribing the input graphic data, and a comparing means for comparing the short side of the rectangle set by the circumscribing rectangle setting means with a predetermined length. To do. This makes it possible to efficiently detect graphics that can be deleted.

【0023】本発明に係る図形変形方法は、複数の頂点
とこれらを順に接続する頂点間接続線とからなる図形デ
ータを変形して簡略化する図形変形方法であって、各頂
点間接続線の内の、最短辺を検索する最短辺検索ステッ
プと、当該最短辺が実質的に矩形の凸部の頂辺及び凹部
の底辺の何れかであるかどうかを判定する矩形判定ステ
ップと、当該最短辺が実質的に矩形の凸部の頂辺及び凹
部の底辺の何れかである場合に、当該最短辺の始点及び
終点となる頂点を削除し、その両側の頂点を接続する最
短辺削除ステップとを具備することを特徴とする。これ
により、凸部及び凹部を効率的に削除できる。
The figure transforming method according to the present invention is a figure transforming method for transforming and simplifying figure data composed of a plurality of vertices and connecting lines between vertices connecting these vertices in order. The shortest side searching step of searching the shortest side, a rectangle determining step of determining whether the shortest side is substantially the top side of the convex portion or the bottom side of the concave portion of the rectangle, and the shortest side. Is a top side of a convex portion or a bottom side of a concave portion of a rectangular shape, the vertexes that are the start and end points of the shortest side are deleted, and the shortest side deleting step of connecting the vertices on both sides is performed. It is characterized by having. Thereby, the convex portion and the concave portion can be efficiently deleted.

【0024】本発明に係る図形変形方法は更に、当該所
定基準長以下の頂点間接続線が連続するかどうかを判定
する連続判定ステップと、当該所定基準長以下の頂点間
接続線が連続しない場合に、当該所定基準長以下の頂点
間接続線をその両側の頂点間接続線の線長比で分割し、
その分割点を端点とするように当該両側の頂点間接続線
を平行移動し、当該分割点及び平行移動後の頂点間接続
線の反対側の端点を、当該所定基準長以下の頂点間接続
線の端点及び平行移動前の当該両側の頂点間接続線の頂
点の代替とする線削除ステップとを具備する。これによ
り、例えば、段差のある折れ曲がり部分を、段差の無い
折れ曲がり直線で簡略化できる。
The figure deforming method according to the present invention further comprises a continuation determining step of determining whether or not the connecting lines between vertices having the predetermined reference length or less are continuous, and the connecting lines between the vertices having the predetermined reference length or less are not continuous. , The vertices connecting line of the predetermined reference length or less is divided by the line length ratio of the vertices connecting lines on both sides,
The connecting lines between the vertices on both sides are moved in parallel so that the dividing points are the end points, and the end points on the opposite side of the dividing points and the connecting lines between the vertices after the parallel movement are connected between the vertices having the predetermined reference length or less. And a line deleting step for substituting the vertices of the connecting points between the vertices on both sides before translation. Thereby, for example, a bent portion having a step can be simplified by a bent straight line having no step.

【0025】本発明に係る図形変形方法は更に、当該所
定基準長以下の連続する頂点間接続線の中間の頂点を1
つおきに間引く頂点間引きステップと、当該所定基準長
以下の連続する頂点間接続線の中間の1つおきの頂点
を、隣接する頂点との間の中間点で代替する頂点代替ス
テップと、当該所定基準長以下の頂点間接続線が連続す
る場合に、連続する当該所定基準長以下の頂点間接続線
の数を計算し、その計算結果に応じて当該頂点間引きス
テップ及び当該頂点代替ステップの一方を選択する選択
ステップとを具備する。これにより、短い線が連なった
形状変化部分を簡略化できる。
According to the graphic transformation method of the present invention, the intermediate vertices of the connecting lines between consecutive vertices having the predetermined reference length or less are set to 1
A vertex thinning step of thinning out every other vertex, a vertex replacing step of replacing every other vertex in the middle of the continuous connecting lines between the vertexes having the predetermined reference length or less with an intermediate point between adjacent vertexes, and the predetermined vertex. When the connecting lines between the vertices of the reference length or less are continuous, the number of continuous connecting lines between the vertices of the predetermined reference length or less is calculated, and one of the vertex thinning step and the vertex replacing step is performed according to the calculation result. And a selecting step of selecting. As a result, it is possible to simplify the shape change portion in which short lines are connected.

【0026】本発明に係る図形変形方法は更に、注目頂
点の両側の2つの頂点を結ぶ線に当該注目頂点から垂線
を下ろし、その垂線の長さが当該所定基準長以下の場合
に、当該注目頂点を削除する注目頂点削除ステップを具
備する。これにより、微小な曲がり部分を直線で簡略化
できる。
The graphic transformation method according to the present invention further draws a perpendicular from the target vertex to a line connecting two vertices on both sides of the target vertex, and when the length of the perpendicular is not more than the predetermined reference length, the target The method includes a target vertex deleting step of deleting a vertex. This makes it possible to simplify a minute curved portion with a straight line.

【0027】本発明に係る図形変形装置は、複数の頂点
とこれらを順に接続する頂点間接続線とからなる図形デ
ータを変形して簡略化する図形変形装置であって、各頂
点間接続線の内の、最短辺を検索する最短辺検索手段
と、当該最短辺が実質的に矩形の凸部の頂辺及び凹部の
底辺の何れかであるかどうかを判定する矩形判定手段
と、当該最短辺が実質的に矩形の凸部の頂辺及び凹部の
底辺の何れかである場合に、当該最短辺の始点及び終点
となる頂点を削除し、その両側の頂点を接続する最短辺
削除手段とを具備することを特徴とする。これにより、
凸部及び凹部を効率的に削除できる。
A graphic transformation device according to the present invention is a graphic transformation device that transforms and simplifies graphic data consisting of a plurality of vertices and connecting lines between vertices connecting these vertices in order. Of the above, the shortest side searching means for searching the shortest side, a rectangle determining means for determining whether the shortest side is substantially the top side of the convex portion or the bottom side of the concave portion of the rectangle, and the shortest side. Is a top side of the convex portion or a bottom side of the concave portion of the rectangular shape, delete the vertices which are the start and end points of the shortest side, and connect the vertices on both sides with the shortest side deleting means. It is characterized by having. This allows
The convex portion and the concave portion can be efficiently deleted.

【0028】本発明に係る図形変形装置は更に、当該所
定基準長以下の頂点間接続線が連続するかどうかを判定
する連続判定手段と、当該所定基準長以下の頂点間接続
線が連続しない場合に、当該所定基準長以下の頂点間接
続線をその両側の頂点間接続線の線長比で分割し、その
分割点を端点とするように当該両側の頂点間接続線を平
行移動し、当該分割点及び平行移動後の頂点間接続線の
反対側の端点を、当該所定基準長以下の頂点間接続線の
端点及び平行移動前の当該両側の頂点間接続線の頂点の
代替とする線削除手段とを具備する。これにより、例え
ば、段差のある折れ曲がり部分を、段差の無い折れ曲が
り直線で簡略化できる。
The graphic deforming apparatus according to the present invention further comprises a continuity determining means for determining whether or not the connecting lines between vertices having the predetermined reference length or less are continuous, and the connecting lines between the vertices having the predetermined reference length or less are not continuous. , The vertex connecting line of the predetermined reference length or less is divided by the line length ratio of the vertex connecting lines on both sides, and the vertex connecting lines on both sides are translated in parallel so that the dividing point is an end point. Delete the line that substitutes the split point and the end point on the opposite side of the connection line between vertices after translation for the end point of the connection line between vertices with the specified reference length or less and the vertex of the connection line between vertices on both sides before translation. And means. Thereby, for example, a bent portion having a step can be simplified by a bent straight line having no step.

【0029】本発明に係る図形変形装置は更に、当該所
定基準長以下の連続する頂点間接続線の中間の頂点を1
つおきに間引く頂点間引き手段と、当該所定基準長以下
の連続する頂点間接続線の中間の1つおきの頂点を、こ
れに隣接する頂点との間の中間点で代替する頂点代替手
段と、当該所定基準長以下の頂点間接続線が連続する場
合に、連続する当該所定基準長以下の頂点間接続線の数
を計算し、その計算結果に応じて当該頂点間引き手段及
び当該頂点代替手段の一方を選択する選択手段とを具備
する。これにより、短い線が連なった形状変化部分を簡
略化できる。
The graphic deforming apparatus according to the present invention further sets the middle vertices of the continuous connecting lines between vertices having the predetermined reference length or less to 1
Vertices culling means for culling every other vertices, and vertices displacing means for displacing every other vertices in the middle of the continuous connection lines between vertices having a predetermined reference length or less at intermediate points between the vertices adjacent to the vertices. When the connecting lines between the vertices having the predetermined reference length or less are continuous, the number of continuous connecting lines between the vertices having the predetermined reference length or less is calculated, and the number of the apex thinning means and the apex substitution means are calculated according to the calculation result. And a selecting means for selecting one. As a result, it is possible to simplify the shape change portion in which short lines are connected.

【0030】本発明に係る図形変形装置は更に、注目頂
点の両側の2つの頂点を結ぶ線に当該注目頂点から垂線
を下ろし、その垂線の長さが当該所定基準長以下の場合
に、当該注目頂点を削除する注目頂点削除ステップを具
備する。これにより、微小な曲がり部分を直線で簡略化
できる。
The graphic deformation apparatus according to the present invention further draws a perpendicular from the target vertex to a line connecting two vertices on both sides of the target vertex, and when the length of the perpendicular is not more than the predetermined reference length, the target The method includes a target vertex deleting step of deleting a vertex. This makes it possible to simplify a minute curved portion with a straight line.

【0031】[0031]

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

【0032】図1は、デジタル地図の縮小に適用した本
発明の一実施例の概略構成ブロック図を示す。ここで
は、例えば、1/2500の地図上の家屋データを1/
10000に縮小する、即ち、縮小率1/4で家屋形状
を縮小すると仮定する。また、家屋データは、複数の頂
点と、外形を示すように各頂点を時計回りに接続する線
分のデータからなり、一般的には、多角形構造になって
いる。
FIG. 1 shows a schematic block diagram of an embodiment of the present invention applied to the reduction of a digital map. Here, for example, 1/2500 house data on the map is 1 /
It is assumed that the size of the house is reduced to 10,000, that is, the house shape is reduced at a reduction rate of 1/4. Further, the house data is composed of a plurality of vertices and data of line segments that connect the vertices in a clockwise direction so as to show the outer shape, and generally has a polygonal structure.

【0033】縮尺1/2500の地図上の家屋データ1
0が、除去判定装置12に入力する。除去判定装置12
は、縮小後の縮尺では無視できる家屋を検出し、事前に
除去する装置である。除去判定装置12は、入力家屋デ
ータに外接する長方形を設定する外接長方形設定装置1
4と、長方形設定装置14により設定された長方形の短
辺を基準長Laと比較し、その短辺が基準長La以上の
家屋データのみを後段に出力する比較器16とからな
る。
House data 1 on a map of 1/2500 scale
0 is input to the removal determination device 12. Removal determination device 12
Is a device that detects houses that can be ignored at the reduced scale and removes them in advance. The removal determination device 12 is a circumscribed rectangle setting device 1 that sets a circumscribed rectangle in the input house data.
4 and a comparator 16 that compares the short side of the rectangle set by the rectangle setting device 14 with the reference length La and outputs only the house data whose short side is equal to or greater than the reference length La to the subsequent stage.

【0034】図2は、家屋データの形状の一例を示す。
図2を参照して、外接長方形設定装置14の作用を説明
する。家屋データの各頂点を、 P〜Pとする。外
接長方形設定装置14は、家屋データの中から最も長い
線分(最長線分)を検索する。図2に示す例では、線分
−Pが最長線分になる。最長線分P−Pの方
向をY軸とする。換言すると、最長線分がY軸上にのる
ように、何れかの頂点を中心にして家屋データを回転す
ると、以後の処理が容易になる。回転角を記憶してお
き、必要な処理の後に元に戻せばよい。
FIG. 2 shows an example of the shape of house data.
The operation of the circumscribing rectangle setting device 14 will be described with reference to FIG. Let each vertex of the house data be P 1 to P 8 . The circumscribed rectangle setting device 14 searches the house data for the longest line segment (longest line segment). In the example shown in FIG. 2, the line segment P 8 -P 1 is the longest line segment. The direction of the longest line segment P 8 -P 1 and Y-axis. In other words, if the house data is rotated around any of the vertices so that the longest line segment is on the Y-axis, the subsequent processing becomes easy. It suffices to store the rotation angle and restore it after necessary processing.

【0035】家屋データの頂点P〜Pの内、Y軸方
向における最遠端の2点を検索する。図2に示す例で
は、PとPが検索される。Y軸方向におけるその最
遠端の2点P,P間の距離を、目的の長方形の1辺
とする。具体的には、最も遠端の2点P,Pからに
Y軸に垂線を下ろしたときの交点間の距離が、目的の長
方形の1辺となる。Y軸に直交する軸をX軸とする。各
頂点からX軸に垂線を下ろしたときのX軸との交点(垂
線の足)が、互いに最も遠くなる2つの頂点を検索す
る。図2に示す例では、P(又はP)とPであ
る。頂点P,PからX軸に下ろした垂線の足間の距
離を、目的の長方形の別の1辺の長さとする。得られた
長方形の短い方の辺の長さを基準長Laと比較し、基準
長Laより短ければ、その家屋データを削除する。
Of the vertices P 1 to P 8 of the house data, the two farthest points in the Y-axis direction are searched. In the example shown in FIG. 2, P 1 and P 6 are searched. The distance between the two farthest points P 1 and P 6 in the Y-axis direction is defined as one side of the target rectangle. Specifically, the distance between the intersections when a perpendicular line is drawn from the two farthest points P 1 and P 6 to the Y axis is one side of the target rectangle. The axis orthogonal to the Y axis is the X axis. The two vertices at which the intersection (vertical foot) with the X axis when the perpendicular is drawn from each vertex to the X axis are farthest from each other are searched. In the example shown in FIG. 2, P 1 (or P 8 ) and P 5 . The distance between the legs of the perpendicular line drawn from the vertices P 1 and P 5 to the X axis is the length of another side of the target rectangle. The length of the shorter side of the obtained rectangle is compared with the reference length La, and if it is shorter than the reference length La, the house data is deleted.

【0036】変形装置18は、除去判定装置12により
一定以上の大きさであると判定された家屋データの形状
を簡略化する。具体的には、変形装置18は、最短辺が
基準長Lb以上になるまで家屋形状の変形を繰り返すこ
とで、形状を簡略化する。この詳細は、後述する。
The deforming device 18 simplifies the shape of the house data which is determined by the removal determining device 12 to be a certain size or more. Specifically, the deformation device 18 simplifies the shape by repeating the deformation of the house shape until the shortest side becomes the reference length Lb or more. The details will be described later.

【0037】縮小装置20は、変形装置18により形状
を簡略化された家屋データを、目的の縮尺(ここでは、
1/10000)に単純に縮小されたサイズより僅かに
小さいサイズに縮小する装置である。一般的には、縮小
装置20は、変形装置18から出力される家屋データの
家屋形状を、目的の縮尺(ここでは、1/10000)
の地図を表示する出力装置(表示装置又はプリンタ)で
の線の太さの半分相当分、小さいサイズに縮小する。こ
れは、隣接する図形の遷都の重複を避けるためである。
線の幅だけ小さくすると、縮小しすぎる。
The reducing device 20 converts the house data whose shape is simplified by the transforming device 18 into a target scale (here,
It is a device that reduces the size to a size slightly smaller than the size simply reduced to 1/10000). Generally, the reduction device 20 changes the house shape of the house data output from the transformation device 18 to the target scale (1 / 10,000 in this case).
The output device (display device or printer) for displaying the map is reduced to a size corresponding to half the line thickness. This is to avoid overlapping of capitals of adjacent figures.
If you reduce the width of the line, it will shrink too much.

【0038】縮小装置20から出力される家屋データ
は、目的の縮尺の地図上で表現されるのに適したサイズ
の家屋形状を示す。縮小装置20を設けたことにより、
目的の縮尺の地図上で、隣接する線図形との線の重なり
が避けられ、家屋形状が見やすいものになる。
The house data output from the reducing device 20 indicates a house shape of a size suitable for being expressed on a map of a desired scale. By providing the reduction device 20,
Overlapping of lines with adjacent line figures is avoided on the map of the desired scale, and the house shape becomes easy to see.

【0039】制御装置22には、目的の縮尺(ここで
は、1/10000)と、オリジナルの縮尺(ここで
は、1/2500)からの縮小率(ここでは、1/4
{=1/10000/(1/2500)})と、出力解
像度(例えば、出力装置を示す情報)が入力する。制御
装置22は、目的の縮尺と縮小率から基準長La,Lb
を決定し、基準長Laを比較回路16に、基準長Lbを
変形装置18に、縮小率及び出力解像度を縮小装置20
にそれぞれ供給する。
The control unit 22 controls the target scale (here, 1/10000) and the reduction rate (here, 1/4500) from the original scale (here, 1/2500).
{= 1/10000 / (1/2500)}) and the output resolution (for example, information indicating the output device) are input. The control device 22 determines the reference lengths La and Lb based on the target scale and reduction ratio.
The reference length La to the comparison circuit 16, the reference length Lb to the transformation device 18, and the reduction ratio and the output resolution to the reduction device 20.
Supply to each.

【0040】図3は、変形装置18の動作フローチャー
トを示す。先ず、最短辺を検索する(S1)。図4に示
すような、辺Pが最短辺である家屋形状モデルで
説明する。最短辺Pが基準長Lb以上の場合(S
2)、最短辺Pの後の辺Pと前の辺P
の方向角の差θを算出する(S3)、その角θが、基
準値より大きく、且つ、(360−基準値)より小さい
かどうかを確認する(S4)。基準値は例えば、170
゜である。ステップS3,S4により、前辺と後辺が実
質的に平行且つ逆方向であるかどうかを確認している。
FIG. 3 shows an operation flow chart of the deforming device 18. First, the shortest side is searched (S1). A house shape model in which the side P 1 P 2 is the shortest side as shown in FIG. 4 will be described. When the shortest side P 1 P 2 is greater than or equal to the reference length Lb (S
2), the side P 6 P 1 after the shortest side P 1 P 2 and the side P 2 P before the shortest side P 1 P 2
The difference θ between the direction angles of 3 is calculated (S3), and it is confirmed whether the angle θ is larger than the reference value and smaller than (360−reference value) (S4). The reference value is, for example, 170
It is ゜. By steps S3 and S4, it is confirmed whether the front side and the rear side are substantially parallel and opposite.

【0041】前辺と後辺が実質的に平行で逆方向である
場合(S4)、図5、図6、図7及び図8に示すよう
な、基準長Lbよりも細い幅の突起を有する形状モデル
を想定できる。図5〜図8で、辺Pが最短辺であ
る。本明細書では、最短辺Pの始点Pを終点と
する辺Pが後辺、最短辺の終点Pを始点とする
辺Pが前辺である。図5及び図6は前辺長が後辺
長以上の場合の形状モデルを示し、図7及び図8は、前
辺長が後辺長未満の場合の形状モデルを示す。図7は、
図5に示す形状モデルを左右反転した形状モデルを示
し、図8は、図6に示す形状モデルを左右反転した形状
モデルを示す。
When the front side and the rear side are substantially parallel and opposite to each other (S4), a protrusion having a width smaller than the reference length Lb as shown in FIGS. 5, 6, 7 and 8 is provided. A shape model can be assumed. 5 to 8, the side P 1 P 2 is the shortest side. In this specification, the side P N P 1 having the start point P 1 of the shortest side P 1 P 2 as the end point is the rear side, and the side P 2 P 3 having the end point P 2 of the shortest side as the start point is the front side. 5 and 6 show shape models when the front side length is equal to or larger than the rear side length, and FIGS. 7 and 8 show shape models when the front side length is smaller than the rear side length. Figure 7
FIG. 8 shows a shape model obtained by horizontally inverting the shape model shown in FIG. 5, and FIG. 8 shows a shape model obtained by horizontally inverting the shape model shown in FIG.

【0042】前辺Pの長さと後辺Pの長さ
を比較する(S5)。図5及び図6に示す形状モデルで
は、前辺Pが後辺Pより長く、図7及び図
8に示す形状モデルでは、前辺Pが後辺P
より短い。
The length of the front side P 2 P 3 and the length of the rear side P N P 1 are compared (S5). In the shape models shown in FIGS. 5 and 6, the front side P 2 P 3 is longer than the rear side P N P 1 , and in the shape models shown in FIGS. 7 and 8, the front side P 2 P 3 is the rear side P N P. 1
Shorter.

【0043】前辺Pの長さが後辺Pの長さ
以上の場合(S5)、即ち、図5及び図6に示す形状モ
デルに対し、前辺Pの終点Pが、実質的に、後
辺P の更に後の辺PN−1の線(延長線を含
む。)上にあるかどうかを調べる(S6)。
Front side PTwoPThreeIs the rear side PNP1Length of
In the above case (S5), that is, the shape model shown in FIGS.
P on the front side against DellTwoPThreeEnd point PThreeBut substantially after
Side P NP1The side P after theN-1PNLine (including extension line)
Mu. ) It is checked whether it is above (S6).

【0044】前辺Pの終点Pが実質的に、後後
辺PN−1の線上にある場合(S6)、図5に示す
ように、変形する。即ち、先ず、図5(a)に示す形状
から、図5(b)に示すように、最短辺Pの両端
点P,Pと、突起部分の底を形成する2つの頂点P
,Pの内の一方、例えば頂点Pを削除し、残る頂
点Pを頂点Pと接続する。但し、頂点Pからその
前後の頂点PN−1,P間を結ぶ線分PN−1
垂線を下ろしたときのその垂線の長さが基準長Lb以下
である場合、頂点Pを残す意義が無いので、図5
(c)に示すように、更に頂点Pも削除し、頂点P
N−1,P間を直接、接続する。図5(c)では、最
短辺を含む突起が完全に削除される。
When the end point P 3 of the front side P 2 P 3 is substantially on the line of the rear rear side P N-1 P N (S6), it is deformed as shown in FIG. That is, first, from the shape shown in FIG. 5 (a), as shown in FIG. 5 (b), two end points P 1 of the shortest side P 1 P 2, and P 2, 2 vertices forming the bottom of the protruding portion P
One of N and P 3 , for example, the vertex P 3 is deleted, and the remaining vertex P N is connected to the vertex P 4 . However, if the length of the vertical line when a perpendicular line is dropped on the line segment P N-1 P 4 connecting the front and rear vertices P N-1, P 4 from its apex P N is equal to or less than the reference length Lb, the apex Since there is no meaning to leave P N , FIG.
As shown in (c), the vertex P N is also deleted and the vertex P N is deleted.
N-1, P 4 between the directly connected. In FIG. 5C, the protrusion including the shortest side is completely deleted.

【0045】前辺Pの終点Pが実質的に、後後
辺PN−1の線上にない場合(S6)、図6に示す
ように変形する。即ち、図6(a)に示す形状から、図
6(b)に示すように、最短辺Pの両端点P
を削除し、後辺Pの始点から前辺P
垂線を下ろし、その足PNaに頂点Pを移動する。こ
れにより、突起が後辺Pの高さ分で削除されるこ
とになる。
When the end point P 3 of the front side P 2 P 3 is not substantially on the line of the rear rear side P N-1 P N (S6), it is transformed as shown in FIG. That is, from the shape shown in FIG. 6A, as shown in FIG. 6B, both end points P 1 of the shortest side P 1 P 2 ,
P 2 is deleted, a perpendicular is drawn from the start point of the rear side P N P 1 to the front side P 2 P 3 , and the vertex P N is moved to the foot P Na . As a result, the protrusion is deleted at the height of the rear side P N P 1 .

【0046】前辺Pの長さが後辺Pの長さ
未満の場合(S5)、即ち、図7及び図8に示す形状モ
デルに対し、ステップS6〜S8に示す処理とは左右を
反転した処理を行う。即ち、後辺Pの始点P
が、実質的に、前辺Pの更に前の辺P
線(延長線を含む。)上にあるかどうかを調べる(S
9)。
When the length of the front side P 2 P 3 is less than the length of the rear side P N P 1 (S5), that is, the processing shown in steps S6 to S8 for the shape model shown in FIGS. 7 and 8. And perform processing with the left and right reversed. That is, the starting point P of the rear side P N P 1
It is checked whether or not N is substantially on the line (including the extension line) of the side P 3 P 4 further before the side P 2 P 3 (S).
9).

【0047】後辺Pの始点Pが実質的に、前前
辺Pの線上にある場合(S9)、図7に示すよう
に変形する。即ち、先ず、図7(a)に示す形状から、
図7(b)に示すように、最短辺Pの両端点
,Pと、突起部分の底を形成する2つの頂点
,Pの内の一方、例えば頂点Pを削除し、残る
頂点P を頂点PN−1と接続する。但し、頂点P
らその前後の頂点PN−1,P 間を結ぶ線分PN−1
に垂線を下ろしたときのその垂線の長さが基準長L
b以下である場合、頂点Pを残す意義が無いので、図
7(c)に示すように、更に頂点Pも削除し、頂点P
N−1,P間を直接、接続する。図7(c)では、最
短辺を含む突起が完全に削除される。
Rear side PNP1Starting point PNIs substantially before
Side PThreePFourIf it is on the line (S9), as shown in FIG.
Transforms into. That is, first, from the shape shown in FIG.
As shown in FIG. 7B, the shortest side P1PTwoEnd points of
P1, PTwoAnd the two vertices that form the bottom of the protrusion
PN, PThreeOne of the, for example, vertex PNRemove and leave
Vertex P ThreeIs the vertex PN-1Connect with. However, the vertex PThreeOr
The vertex P before and after thatN-1, P FourLine segment P connecting betweenN-1
PFourThe length of the vertical line when the vertical line is lowered to the reference length L
If b or less, the vertex PThreeBecause there is no meaning to leave
Further, as shown in FIG.ThreeAlso delete, vertex P
N-1, PFourConnect the spaces directly. In FIG. 7 (c),
The protrusion including the short side is completely deleted.

【0048】後辺Pの始点Pが実質的に、前前
辺Pの線上にない場合(S9)、図8に示すよう
に変形する。即ち、図8(a)に示す形状から、図8
(b)に示すように、最短辺Pの両端点P,P
を削除し、前辺Pの終点Pから後辺P
に垂線を下ろし、その足P3aに頂点Pを移動する。
これにより、突起が後辺Pの高さ分で削除される
ことになる。
When the starting point P N of the rear side P N P 1 is not substantially on the line of the front front side P 3 P 4 (S9), it is transformed as shown in FIG. That is, from the shape shown in FIG.
As shown in (b), both end points P 1 , P of the shortest side P 1 P 2
Remove the 2 rear from the end point P 3 of the front side P 2 P 3 sides P N P 1
The vertical line is dropped to and the apex P 3 is moved to the foot P 3a .
As a result, the protrusion is deleted by the height of the rear side P 2 P 3 .

【0049】以上を繰り返すことで、頂辺が最短辺であ
るほぼ矩形の突起を削除することができる。
By repeating the above, it is possible to remove the substantially rectangular protrusion whose top edge is the shortest edge.

【0050】最短辺の前辺と後辺が実質的に平行でない
か、又は、平行であっても逆方向でない場合(S4)の
処理を説明する。この場合には、図9に示すように、基
準長Lbよりも短い辺が単独で存在する場合と、図10
及び図11に示すように、基準長Lbよりも短い辺が連
続している場合とが考えられる。
The processing when the front side and the rear side of the shortest side are not substantially parallel, or parallel but not in the opposite direction (S4) will be described. In this case, as shown in FIG. 9, there is a single side shorter than the reference length Lb, and FIG.
Also, as shown in FIG. 11, it is considered that the sides shorter than the reference length Lb are continuous.

【0051】図9(a)に示すように基準長Lbより短
い辺Pが単独で存在する場合(S12)、図9
(b)に示すように、その前の辺Pの長さと、後
の辺P の長さとの逆比で辺Pを分割し、そ
の分割点をP1aとする。即ち、辺P1aの長さと
辺P1aの長さの比が、辺Pの長さと辺P
の長さの比に等しくなるように、分割点P1aを設
定する。そして、分割点P1aを通り後辺Pと平
行に描いた線と、後後辺PN−1の線(延長線を含
む。)との交点をPNaとする。同様に、分割点P1a
を通り前辺P と平行に描いた線と、前前辺P
の線(延長線を含む。)との交点をP とする。分
割点P1aを頂点Pの代替点とし、点PNaを頂点P
の代替点とし、点P3aを頂点Pの代替点として、
点P1aと点PNaを接続し、点P 1aと点P3aを接
続し、点Pを削除する。
As shown in FIG. 9A, the length is shorter than the reference length Lb.
Side P1PTwo9 is present independently (S12), FIG.
As shown in (b), the front side PTwoPThreeAnd after
Side P NP1Inverse ratio with the length of the side P1PTwoSplit the
The division point of P1aAnd That is, side P1P1aThe length of
Side P1aPTwoThe ratio of the lengths of the sides PTwoPThreeLength and side PN
P1Division point P so that it becomes equal to the ratio of the lengths of1aSet up
Set. Then, the division point P1aPass through PNP1And flat
The line drawn on the line and the back side PN-1PNLine (including extension line)
Mu. ) PNaAnd Similarly, the division point P1a
Pass PTwoP ThreeAnd a line drawn in parallel with the front side PThreeP
FourP is the intersection with the line (including the extension line)Three aAnd Minute
Split point P1aIs the vertex P1As an alternative point, and point PNaIs the vertex P
NAs an alternative point, and point P3aIs the vertex PThreeAs an alternative to
Point P1aAnd point PNaConnect to point P 1aAnd point P3aContact
Continue to point PTwoTo delete.

【0052】更に、点P1aからその前後の点PNa
点P3aを接続する線に垂線を下ろし、その垂線の長さ
が基準長Lb以下の場合には、図9(c)に示すよう
に、点P1aを削除し、点PNaと点P3aを結ぶ辺を
形成する。
Further, a perpendicular is drawn from the point P 1a to the line connecting the points P Na and P 3a before and after the point P 1a, and when the length of the perpendicular is less than the reference length Lb, it is shown in FIG. 9C. Thus, the point P 1a is deleted and the side connecting the point P Na and the point P 3a is formed.

【0053】基準長Lb以下の辺が連続する場合(S1
2)、その連続する辺の数が偶数か奇数かを調べる(S
14)。偶数の場合(S14)、例えば、図10(a)
に示すように点P〜P間の線分が全て基準長Lb以
下の場合、図10(b)に示すように、偶数番目の点P
,P,Pを全て削除し、線P,P
を新たに設定する(S15)。
When the sides having the reference length Lb or less are continuous (S1
2) Check whether the number of consecutive edges is even or odd (S
14). If the number is even (S14), for example, FIG.
When all the line segments between the points P 1 to P 7 are equal to or less than the reference length Lb, as shown in FIG. 10, as shown in FIG.
2 , P 4 , P 6 are all deleted, and lines P 1 P 3 , P 3 P 5 ,
Newly set the P 5 P 7 (S15).

【0054】基準長Lb以下の辺の連続数が奇数の場合
(S14)、例えば、図11(a)に示すように点P
〜P間の線分が全て基準長Lb以下の場合、図11
(b)に示すように、偶数番目の点P,Pとその次
(又は前)の点P,Pとの間の中間に新たな点P
2a,P4aを設定すると共に、基準長Lb以下の連続
する辺の途中に位置する頂点P〜Pを削除し、始点
、終点P及びここで設定した中間点P2a,P
4aを順番に接続する(S16)。
[0054] When the number of consecutive reference length Lb or less sides is odd (S14), for example, 11 points as shown in (a) P 1
When all the line segments between P 6 and P 6 are equal to or less than the reference length Lb,
As shown in (b), a new point P is added in the middle between the even-numbered points P 2 and P 4 and the next (or previous) points P 3 and P 5.
2a and P 4a are set, vertices P 2 to P 5 located in the middle of continuous sides having a reference length Lb or less are deleted, and a start point P 1 and an end point P 6 and intermediate points P 2a and P 2 set here are deleted.
4a are sequentially connected (S16).

【0055】家屋データの最短辺が基準長Lbを越える
迄(S2)、ステップS3〜S16の処理を繰り返す。
家屋データの最短辺が基準長Lbを越えると(S2)、
以上の変形処理結果を出力して、変形処理を終了する
(S17)。
The steps S3 to S16 are repeated until the shortest side of the house data exceeds the reference length Lb (S2).
When the shortest side of the house data exceeds the reference length Lb (S2),
The above deformation processing result is output and the deformation processing ends (S17).

【0056】図5〜図8に示すように、小さな矩形の突
起の頂辺が最短辺になる場合、その頂辺の始点Pと終
点Pを削除し、その突起の底を形成する頂点P,P
を直接、接続してもよい。辺Pの長さが基準長
Lb以下になっても、変形処理#5(S13)により、
上述の場合と同様の又は類似した結果が得られる。
As shown in FIGS. 5 to 8, when the top side of a small rectangular protrusion is the shortest side, the start point P 1 and the end point P 2 of the top side are deleted, and the vertex forming the bottom of the protrusion is deleted. P N , P
3 may be directly connected. Even if the length of the side P N P 3 becomes equal to or less than the reference length Lb, the deformation process # 5 (S13) causes
Similar or similar results to the above case are obtained.

【0057】除去判定装置12、変形装置18、縮小装
置20及び制御装置22の各機能は、コンピュータ上の
ソフトウエアによって実現されるが、勿論、ハードウエ
アによっても実現できる。縮小装置20の縮小機能を、
目的の縮尺への縮小と、見栄えをよくするための解像度
の半分相当の縮小とに分離してもよい。その場合、前者
の縮小機能を、例えば、除去判定装置12の前に配置し
ても良いこともまた、明らかである。
The functions of the removal determining device 12, the deforming device 18, the reducing device 20, and the control device 22 are realized by software on a computer, but can of course be realized by hardware. The reduction function of the reduction device 20
It may be divided into a reduction to a desired scale and a reduction corresponding to half the resolution for improving the appearance. In that case, it is also clear that the former reduction function may be arranged in front of the removal determination device 12, for example.

【0058】家屋に適用した実施例を説明したが、本発
明は、家屋に限定されない一般的な図形を縮小する場合
にも適用可能である。
Although the embodiment applied to a house has been described, the present invention can be applied to the case of reducing a general graphic not limited to a house.

【0059】[0059]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、基本形状を維持しつつ、家屋デー
タのサイズを所望の縮尺に合致するサイズに縮小するこ
とができる。しかも、目的の縮尺上で見やすい形状に変
形するので、見やすい地図を得ることができる。
As can be easily understood from the above description, according to the present invention, it is possible to reduce the size of house data to a size that matches a desired scale while maintaining the basic shape. Moreover, since the shape is transformed into a shape that is easy to see on the target scale, it is possible to obtain a map that is easy to see.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 外接長方形設定装置14の動作を説明するた
めの家屋データの形状例である。
FIG. 2 is an example of the shape of house data for explaining the operation of the circumscribing rectangle setting device 14.

【図3】 変形装置18の動作フローチャートである。FIG. 3 is an operation flowchart of the deforming device 18.

【図4】 前辺と後辺の方向角差を説明する家屋形状モ
デルである。
FIG. 4 is a house shape model for explaining a difference in direction angle between a front side and a rear side.

【図5】 変形処理#1(ステップS7)の処理例であ
る。
FIG. 5 is a processing example of modification processing # 1 (step S7).

【図6】 変形処理#2(ステップS8)の処理例であ
る。
FIG. 6 is a processing example of modification processing # 2 (step S8).

【図7】 変形処理#3(ステップS10)の処理例で
ある。
FIG. 7 is a processing example of modification processing # 3 (step S10).

【図8】 変形処理#4(ステップS11)の処理例で
ある。
FIG. 8 is a processing example of modification processing # 4 (step S11).

【図9】 変形処理#5(ステップS13)の処理例で
ある。
FIG. 9 is a processing example of modification processing # 5 (step S13).

【図10】 変形処理#6(ステップS15)の処理例
である。
FIG. 10 is a processing example of modification processing # 6 (step S15).

【図11】 変形処理#7(ステップS16)の処理例
である。
FIG. 11 is a processing example of modification processing # 7 (step S16).

【符号の説明】 10:入力家屋データ 12:除去判定装置 14:外接長方形設定装置 16:比較器 18:変形装置 20:縮小装置 22:制御装置[Explanation of symbols] 10: Input house data 12: Removal determination device 14: circumscribed rectangle setting device 16: Comparator 18: Deformation device 20: Reduction device 22: Control device

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/36 G09G 5/36 520G Fターム(参考) 2C032 HC24 5B050 BA17 CA07 EA12 EA13 EA21 FA02 5B057 CA12 CA17 CB12 CB17 CC04 CD05 CF05 5C082 AA01 BA12 CA34 MM10 5E501 AA30 AC15 BA03 FA14 FA44 FB21 FB25 FB45 Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G09G 5/36 G09G 5/36 520G F term (reference) 2C032 HC24 5B050 BA17 CA07 EA12 EA13 EA21 FA02 5B057 CA12 CA17 CB12 CB17 CC04 CD05 CF05 5C082 AA01 BA12 CA34 MM10 5E501 AA30 AC15 BA03 FA14 FA44 FB21 FB25 FB45

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 複数の頂点とこれらを順に接続する頂点
間接続線とからなる図形データを縮小編纂する図形縮小
編纂方法であって、 入力する図形データのサイズが所定サイズ以上であるか
どうかを判別し、所定サイズ未満の場合に除去する除去
判定ステップと、 当該除去判定ステップにより除去されない図形データの
形状を、各頂点間接続線の線長が所定基準長を越えるよ
うに変形する変形ステップと、 当該変形ステップで変形された図形データの形状を出力
解像度に応じた所定量だけ小さいサイズに縮小する縮小
ステップとを具備することを特徴とする図形縮小編纂方
法。
1. A graphic reduction and compilation method for reducing and compiling graphic data, which comprises a plurality of vertices and connecting lines between vertices which connect these vertices in order, and determines whether or not the size of input graphic data is a predetermined size or more. A removal determination step of determining and removing if the size is less than a predetermined size, and a deformation step of transforming the shape of the graphic data not removed by the removal determination step so that the line length of each vertex connecting line exceeds a predetermined reference length. And a reduction step of reducing the shape of the graphic data transformed in the transformation step to a size smaller by a predetermined amount according to the output resolution.
【請求項2】 当該変形ステップは、 各頂点間接続線の内の、最短辺を検索する最短辺検索ス
テップと、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかであるかどうかを判定する矩形判定ステップ
と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかである場合に、当該最短辺の始点及び終点とな
る頂点を削除し、その両側の頂点を接続する最短辺削除
ステップとを具備する請求項1に記載の図形縮小編纂方
法。
2. The deforming step includes any one of a shortest side searching step for searching the shortest side among the connecting lines between vertices, and a top side of a convex portion and a bottom side of a concave portion of which the shortest side is substantially rectangular. If the shortest side is either the top side of the convex portion or the bottom side of the concave portion of the rectangle, the vertexes that are the start and end points of the shortest side are determined. The method for reducing and compiling a figure according to claim 1, further comprising a step of deleting and deleting the shortest side connecting the vertices on both sides thereof.
【請求項3】 当該変形ステップが更に、 当該所定基準長以下の頂点間接続線が連続するかどうか
を判定する連続判定ステップと、 当該所定基準長以下の頂点間接続線が連続しない場合
に、当該所定基準長以下の頂点間接続線をその両側の頂
点間接続線の線長比で分割し、その分割点を端点とする
ように当該両側の頂点間接続線を平行移動し、当該分割
点及び平行移動後の頂点間接続線の反対側の端点を、当
該所定基準長以下の頂点間接続線の端点及び平行移動前
の当該両側の頂点間接続線の頂点の代替とする線削除ス
テップとを具備する請求項2に記載の図形縮小編纂方
法。
3. The transformation step further comprises a continuation determination step of determining whether or not the connection lines between vertices having a length equal to or shorter than the predetermined reference length are continuous, and when the connection lines between vertices having a length shorter than the predetermined reference length are not continuous, The connection line between vertices with the predetermined reference length or less is divided by the line length ratio of the connection line between vertices on both sides, and the connection line between vertices on both sides is translated so that the division point is an end point, and the division point And a line deletion step in which the opposite end point of the connecting line between the vertices after the parallel movement is substituted for the end point of the connecting line between the vertices having the predetermined reference length or less and the vertex of the connecting line between the vertices on both sides before the parallel movement. The graphic reduction and knitting method according to claim 2, further comprising:
【請求項4】 当該変形ステップは更に、 当該所定基準長以下の連続する頂点間接続線の中間の頂
点を1つおきに間引く頂点間引きステップと、 当該所定基準長以下の連続する頂点間接続線の中間の1
つおきの頂点を、これに隣接する頂点との間の中間点で
代替する頂点代替ステップと、 当該所定基準長以下の頂点間接続線が連続する場合に、
連続する当該所定基準長以下の頂点間接続線の数を計算
し、その計算結果に応じて当該頂点間引きステップ及び
当該頂点代替ステップの一方を選択する選択ステップと
を具備する請求項3に記載の図形縮小編纂方法。
4. The step of transforming further comprises a step of thinning out every other intermediate vertex of the continuous connecting lines between the vertices having the predetermined reference length or less, and a continuous connecting line between the vertices having the predetermined reference length or less. The middle one of
In the case where the vertex substitution step of substituting every other vertex with an intermediate point between the adjacent vertices and the connection line between vertices having the predetermined reference length or less are continuous,
The selection step of calculating the number of continuous connecting lines between vertices having a length equal to or shorter than the predetermined reference length, and selecting one of the decimating step for vertices and the alternate step for vertices according to the calculation result. Figure reduction method.
【請求項5】 当該変形ステップは、注目頂点の両側の
2つの頂点を結ぶ線に当該注目頂点から垂線を下ろし、
その垂線の長さが当該所定基準長以下の場合に、当該注
目頂点を削除する注目頂点削除ステップを具備する請求
項1、2又は3に記載の図形縮小編纂方法。
5. The deforming step draws a perpendicular from the target vertex to a line connecting two vertices on both sides of the target vertex.
4. The figure reducing and knitting method according to claim 1, 2 or 3, further comprising: a target vertex deleting step of deleting the target vertex when the length of the perpendicular is equal to or shorter than the predetermined reference length.
【請求項6】 当該縮小ステップが、当該変形ステップ
で変形された図形データの形状を、目的の縮尺のサイズ
よりも出力解像度に応じた所定量だけ小さいサイズに縮
小する請求項1に記載の図形縮小編纂方法。
6. The graphic according to claim 1, wherein the reducing step reduces the shape of the graphic data transformed in the transforming step to a size smaller than a target scale size by a predetermined amount according to the output resolution. Reduction compilation method.
【請求項7】 当該除去判定ステップが、入力する図形
データに外接する長方形を設定する外接長方形設定ステ
ップと、当該外接長方形設定ステップで設定された長方
形の短辺を所定長と比較する比較ステップとを具備する
請求項1に記載の図形縮小編纂方法。
7. The removal determining step includes a circumscribing rectangle setting step of setting a circumscribing rectangle to the input graphic data, and a comparing step of comparing the short side of the rectangle set in the circumscribing rectangle setting step with a predetermined length. The graphic reduction and knitting method according to claim 1, further comprising:
【請求項8】 当該図形データが地図上の家屋を表現す
る家屋データである請求項1に記載の図形縮小編纂方
法。
8. The graphic reduction and compilation method according to claim 1, wherein the graphic data is house data representing a house on a map.
【請求項9】 複数の頂点とこれらを順に接続する頂点
間接続線とからなる図形データを縮小編纂する図形縮小
編纂装置であって、 入力する図形データのサイズが所定サイズ以上であるか
どうかを判別し、所定サイズ未満の場合に除去する除去
判定手段と、 当該除去判定手段により除去されない図形データの形状
を、各頂点間接続線の線長が所定基準長を越えるように
変形する変形手段と、 当該変形手段で変形された図形データの形状を、出力解
像度に応じた所定量だけ小さいサイズに縮小する縮小手
段とを具備することを特徴とする図形縮小編纂装置。
9. A graphic reduction / compilation device for reducing and compiling graphic data consisting of a plurality of vertices and connecting lines between vertices connecting these vertices in order, and checking whether the size of the inputted graphic data is a predetermined size or more. Removal determining means for determining and removing if the size is less than a predetermined size, and deforming means for transforming the shape of the graphic data not removed by the removal determining means so that the line length of each vertex connecting line exceeds a predetermined reference length. A graphic reduction and knitting apparatus comprising: a reduction means for reducing the shape of the graphic data transformed by the transformation means to a size smaller by a predetermined amount according to the output resolution.
【請求項10】 当該変形手段は、 各頂点間接続線の内の、最短辺を検索する最短辺検索手
段と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかであるかどうかを判定する矩形判定手段と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかである場合に、当該最短辺の始点及び終点とな
る頂点を削除し、その両側の頂点を接続する最短辺削除
手段とを具備する請求項9に記載の図形縮小編纂装置。
10. The deforming means is any one of a shortest side searching means for searching the shortest side among the connecting lines between vertices, and a top side of a convex portion and a bottom side of a concave portion of which the shortest side is substantially rectangular. If the shortest side is substantially either the top side of the convex portion or the bottom side of the concave portion of the rectangle, the vertices serving as the start point and the end point of the shortest side are determined. The figure reducing and knitting apparatus according to claim 9, further comprising: a shortest side deleting unit that deletes and connects vertices on both sides thereof.
【請求項11】 当該変形手段が更に、 当該所定基準長以下の頂点間接続線が連続するかどうか
を判定する連続判定手段と、 当該所定基準長以下の頂点間接続線が連続しない場合
に、当該所定基準長以下の頂点間接続線をその両側の頂
点間接続線の線長比で分割し、その分割点を端点とする
ように当該両側の頂点間接続線を平行移動し、当該分割
点及び平行移動後の頂点間接続線の反対側の端点を、当
該所定基準長以下の頂点間接続線の端点及び平行移動前
の当該両側の頂点間接続線の頂点の代替とする線削除手
段とを具備する請求項10に記載の図形縮小編纂装置。
11. The continuation determining means for determining whether or not the connecting lines between vertices having the predetermined reference length or less are continuous, and the deforming means further comprising: The connection line between vertices with the predetermined reference length or less is divided by the line length ratio of the connection line between vertices on both sides, and the connection line between vertices on both sides is translated so that the division point is an end point, and the division point And a line deleting means that substitutes the end point on the opposite side of the connecting line between the vertices after the parallel movement for the end point of the connecting line between the vertices having the predetermined reference length or less and the apex of the connecting line between the vertices on both sides before the parallel movement. The figure reduction knitting apparatus according to claim 10, further comprising:
【請求項12】 当該変形手段は更に、 当該所定基準長以下の連続する頂点間接続線の中間の頂
点を1つおきに間引く頂点間引き手段と、 当該所定基準長以下の連続する頂点間接続線の中間の1
つおきの頂点を、これに隣接する頂点との間の中間点で
代替する頂点代替手段と、 当該所定基準長以下の頂点間接続線が連続する場合に、
連続する当該所定基準長以下の頂点間接続線の数を計算
し、その計算結果に応じて当該頂点間引き手段及び当該
頂点代替手段の一方を選択する選択手段とを具備する請
求項11に記載の図形縮小編纂装置。
12. The deforming means further comprises apex thinning means for thinning out every other middle vertex of the continuous connecting points between the vertices having the predetermined reference length or less, and continuous connecting lines between the vertices having the predetermined reference length or less. The middle one of
When the alternate vertex that substitutes every other vertex at an intermediate point between the adjacent vertices and the connecting line between the vertices having the predetermined reference length or less are continuous,
The selection means for calculating the number of continuous connecting lines between vertices having a length equal to or shorter than the predetermined reference length, and selecting means for selecting one of the decimating means for vertices and the alternative means for vertices according to the calculation result. Figure reduction device.
【請求項13】 当該変形手段は、注目頂点の両側の2
つの頂点を結ぶ線に当該注目頂点から垂線を下ろし、そ
の垂線の長さが当該所定基準長以下の場合に、当該注目
頂点を削除する注目頂点削除手段を具備する請求項9、
10又は11に記載の図形縮小方法。
13. The deforming means is provided on both sides of the target vertex.
10. A target vertex deleting means for dropping a perpendicular line from the target vertex on a line connecting the two vertices and deleting the target vertex when the length of the perpendicular line is equal to or shorter than the predetermined reference length.
The graphic reduction method according to 10 or 11.
【請求項14】 当該縮小手段が、当該変形手段で変形
された図形データの形状を、目的の縮尺のサイズよりも
出力解像度に応じた所定量だけ小さいサイズに縮小する
請求項9に記載の図形縮小編纂装置。
14. The graphic according to claim 9, wherein the reducing means reduces the shape of the graphic data deformed by the deforming means to a size smaller than a target scale size by a predetermined amount according to the output resolution. Reduction knitting device.
【請求項15】 当該除去判定手段が、入力する図形デ
ータに外接する長方形を設定する外接長方形設定手段
と、当該外接長方形設定手段で設定された長方形の短辺
を所定長と比較する比較手段とを具備する請求項9に記
載の図形縮小編纂方法。
15. The removal determining means includes a circumscribing rectangle setting means for setting a rectangle circumscribing the input graphic data, and a comparing means for comparing a short side of the rectangle set by the circumscribing rectangle setting means with a predetermined length. The method for reducing and compiling a graphic according to claim 9, further comprising:
【請求項16】 当該図形データが地図上の家屋を表現
する家屋データである請求項8に記載の図形縮小編纂装
置。
16. The graphic reduction and compilation apparatus according to claim 8, wherein the graphic data is house data representing a house on a map.
【請求項17】 複数の頂点とこれらを順に接続する頂
点間接続線とからなる図形データを変形して簡略化する
図形変形方法であって、 各頂点間接続線の内の、最短辺を検索する最短辺検索ス
テップと、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかであるかどうかを判定する矩形判定ステップ
と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかである場合に、当該最短辺の始点及び終点とな
る頂点を削除し、その両側の頂点を接続する最短辺削除
ステップとを具備することを特徴とする図形変形方法。
17. A graphic transformation method for transforming and simplifying graphic data, which comprises a plurality of vertices and connecting lines between vertices connecting these in order, and searching for the shortest side of each connecting line between vertices. And a rectangle determination step of determining whether the shortest side is substantially one of the top side of the convex portion and the bottom side of the concave portion of the rectangular shape, and the shortest side is a substantially rectangular convex shape. A top edge of the part and a bottom edge of the recess, a vertex that serves as a start point and an end point of the shortest edge is deleted, and a shortest edge deleting step that connects the vertices on both sides of the shortest edge is included. Shape transformation method.
【請求項18】 更に、 当該所定基準長以下の頂点間接続線が連続するかどうか
を判定する連続判定ステップと、 当該所定基準長以下の頂点間接続線が連続しない場合
に、当該所定基準長以下の頂点間接続線をその両側の頂
点間接続線の線長比で分割し、その分割点を端点とする
ように当該両側の頂点間接続線を平行移動し、当該分割
点及び平行移動後の頂点間接続線の反対側の端点を、当
該所定基準長以下の頂点間接続線の端点及び平行移動前
の当該両側の頂点間接続線の頂点の代替とする線削除ス
テップとを具備する請求項17に記載の図形変形方法。
18. A continuity determining step of determining whether or not the connecting lines between vertices having a length equal to or shorter than the predetermined reference length are continuous, and the predetermined reference length if the connecting lines between vertices having a length not longer than the predetermined reference length are not continuous. The following connecting line between vertices is divided by the line length ratio of the connecting line between vertices on both sides, and the connecting line between vertices on both sides is translated so that the dividing point is the end point, and after the dividing point and parallel translation And a line deleting step of substituting an end point on the opposite side of the connection line between the vertices for the end point of the connection line between the vertices having the predetermined reference length or less and a vertex of the connection line between the vertices on both sides before translation. Item 17. The graphic transformation method according to Item 17.
【請求項19】 更に、 当該所定基準長以下の連続する頂点間接続線の中間の頂
点を1つおきに間引く頂点間引きステップと、 当該所定基準長以下の連続する頂点間接続線の中間の1
つおきの頂点を、これに隣接する頂点との間の中間点で
代替する頂点代替ステップと、 当該所定基準長以下の頂点間接続線が連続する場合に、
連続する当該所定基準長以下の頂点間接続線の数を計算
し、その計算結果に応じて当該頂点間引きステップ及び
当該頂点代替ステップの一方を選択する選択ステップと
を具備する請求項18に記載の図形変形方法。
19. Further, a vertex thinning step of thinning out every other intermediate vertices of the continuous connecting vertices having the predetermined reference length or less, and 1 in the middle of the continuous connecting vertices having the predetermined reference length or less.
In the case where the vertex substitution step of substituting every other vertex with an intermediate point between the adjacent vertices and the connection line between vertices having the predetermined reference length or less are continuous,
The selection step of calculating the number of continuous connecting lines between vertices having the predetermined reference length or less and selecting one of the decimating step of vertices and the alternate step of vertices according to the calculation result. Shape transformation method.
【請求項20】 更に、注目頂点の両側の2つの頂点を
結ぶ線に当該注目頂点から垂線を下ろし、その垂線の長
さが当該所定基準長以下の場合に、当該注目頂点を削除
する注目頂点削除ステップを具備する請求項17、18
又は19に記載の図形変形方法。
20. Further, a perpendicular line is drawn from the target vertex to a line connecting two vertices on both sides of the target vertex, and when the length of the perpendicular line is equal to or shorter than the predetermined reference length, the target vertex is deleted. 19. The method according to claim 17, further comprising a deleting step.
Alternatively, the graphic transformation method according to Item 19.
【請求項21】 当該図形データが地図上の家屋を表現
する家屋データである請求項17に記載の図形変形方
法。
21. The graphic transformation method according to claim 17, wherein the graphic data is house data representing a house on a map.
【請求項22】 複数の頂点とこれらを順に接続する頂
点間接続線とからなる図形データを変形して簡略化する
図形変形装置であって、 各頂点間接続線の内の、最短辺を検索する最短辺検索手
段と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかであるかどうかを判定する矩形判定手段と、 当該最短辺が実質的に矩形の凸部の頂辺及び凹部の底辺
の何れかである場合に、当該最短辺の始点及び終点とな
る頂点を削除し、その両側の頂点を接続する最短辺削除
手段とを具備することを特徴とする図形変形装置。
22. A graphic transformation device for transforming and simplifying graphic data comprising a plurality of vertices and connecting lines for connecting the vertices in order, wherein the shortest side among the connecting lines for each vertex is searched. Means for searching the shortest side, a rectangle determining means for determining whether the shortest side is either the top side of the convex portion or the bottom side of the concave portion of the rectangular shape, and the shortest side is a substantially rectangular convex shape. When any one of the top side of the part and the bottom side of the concave portion is provided, the shortest side deleting means is provided for deleting the apexes which are the start point and the end point of the shortest side and connecting the apexes on both sides thereof. Graphic transformation device.
【請求項23】 更に、 当該所定基準長以下の頂点間接続線が連続するかどうか
を判定する連続判定手段と、 当該所定基準長以下の頂点間接続線が連続しない場合
に、当該所定基準長以下の頂点間接続線をその両側の頂
点間接続線の線長比で分割し、その分割点を端点とする
ように当該両側の頂点間接続線を平行移動し、当該分割
点及び平行移動後の頂点間接続線の反対側の端点を、当
該所定基準長以下の頂点間接続線の端点及び平行移動前
の当該両側の頂点間接続線の頂点の代替とする線削除手
段とを具備する請求項22に記載の図形変形装置。
23. Further, a continuity determination means for determining whether or not the connecting lines between vertices having the predetermined reference length or less are continuous, and the predetermined reference length when the connecting lines between the vertices having the predetermined reference length or less are not continuous. The following connecting line between vertices is divided by the line length ratio of the connecting line between vertices on both sides, and the connecting line between vertices on both sides is translated so that the dividing point is the end point, and after the dividing point and parallel translation And line deleting means for substituting the opposite end point of the connection line between the vertices for the connection point between the connection lines between the vertices having the predetermined reference length or less and the vertices of the connection line between the vertices on both sides before translation. Item 23. The graphic transformation device according to Item 22.
【請求項24】 更に、 当該所定基準長以下の連続する頂点間接続線の中間の頂
点を1つおきに間引く頂点間引き手段と、 当該所定基準長以下の連続する頂点間接続線の中間の1
つおきの頂点を、これに隣接する頂点との間の中間点で
代替する頂点代替手段と、 当該所定基準長以下の頂点間接続線が連続する場合に、
連続する当該所定基準長以下の頂点間接続線の数を計算
し、その計算結果に応じて当該頂点間引き手段及び当該
頂点代替手段の一方を選択する選択手段とを具備する請
求項23に記載の図形変形装置。
24. An apex thinning-out means for thinning out every other middle vertex of the continuous connecting lines between the vertices having the predetermined reference length or less, and a middle one between the connecting lines connecting the vertices having the predetermined reference length or less.
When the alternate vertex that substitutes every other vertex at an intermediate point between the adjacent vertices and the connecting line between the vertices having the predetermined reference length or less are continuous,
24. The selection means for calculating the number of continuous connecting lines between vertices having a length equal to or shorter than the predetermined reference length, and selecting means for selecting one of the vertices thinning means and the vertices substituting means according to the calculation result. Graphic transformation device.
【請求項25】 更に、注目頂点の両側の2つの頂点を
結ぶ線に当該注目頂点から垂線を下ろし、その垂線の長
さが当該所定基準長以下の場合に、当該注目頂点を削除
する注目頂点削除ステップを具備する請求項22、23
又は24に記載の図形変形装置。
25. Further, a vertical line is drawn from the target vertex to a line connecting two vertices on both sides of the target vertex, and when the length of the vertical line is equal to or shorter than the predetermined reference length, the target vertex is deleted. 24. The method according to claim 22, comprising a deleting step.
Alternatively, the graphic transformation device according to Item 24.
【請求項26】 当該図形データが地図上の家屋を表現
する家屋データである請求項22に記載の図形変形装
置。
26. The graphic transformation device according to claim 22, wherein the graphic data is house data representing a house on a map.
JP2001374134A 2001-12-07 2001-12-07 Graphic reduction and compilation method and apparatus, and graphic deformation apparatus and method Expired - Lifetime JP4165060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001374134A JP4165060B2 (en) 2001-12-07 2001-12-07 Graphic reduction and compilation method and apparatus, and graphic deformation apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001374134A JP4165060B2 (en) 2001-12-07 2001-12-07 Graphic reduction and compilation method and apparatus, and graphic deformation apparatus and method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008149296A Division JP4706723B2 (en) 2008-06-06 2008-06-06 Method and apparatus for reducing and compiling figures

Publications (2)

Publication Number Publication Date
JP2003178299A true JP2003178299A (en) 2003-06-27
JP4165060B2 JP4165060B2 (en) 2008-10-15

Family

ID=19182741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001374134A Expired - Lifetime JP4165060B2 (en) 2001-12-07 2001-12-07 Graphic reduction and compilation method and apparatus, and graphic deformation apparatus and method

Country Status (1)

Country Link
JP (1) JP4165060B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283687A (en) * 2004-03-29 2005-10-13 Zenrin Co Ltd Simple map creating system
JP2007087331A (en) * 2005-09-26 2007-04-05 Zenrin Co Ltd Feature shape simplifying device, method, and program
JP2007256402A (en) * 2006-03-22 2007-10-04 Zenrin Co Ltd Map data generating device
JP2010072259A (en) * 2008-09-18 2010-04-02 Victor Co Of Japan Ltd Figure data generating method, generating device, display method, and display device
JP2013196225A (en) * 2012-03-16 2013-09-30 Fujitsu Ltd Program, information processing method and information processor
CN106503720A (en) * 2016-10-19 2017-03-15 深圳市路远自动化设备有限公司 A kind of element image-recognizing method for removing suction nozzle interference
WO2017046875A1 (en) * 2015-09-15 2017-03-23 株式会社 東芝 Space information generating device, space information generating method, and program
CN112015767A (en) * 2020-08-28 2020-12-01 北京百度网讯科技有限公司 Data thinning method, data thinning apparatus, electronic device, and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283687A (en) * 2004-03-29 2005-10-13 Zenrin Co Ltd Simple map creating system
JP2007087331A (en) * 2005-09-26 2007-04-05 Zenrin Co Ltd Feature shape simplifying device, method, and program
JP2007256402A (en) * 2006-03-22 2007-10-04 Zenrin Co Ltd Map data generating device
JP2010072259A (en) * 2008-09-18 2010-04-02 Victor Co Of Japan Ltd Figure data generating method, generating device, display method, and display device
JP2013196225A (en) * 2012-03-16 2013-09-30 Fujitsu Ltd Program, information processing method and information processor
WO2017046875A1 (en) * 2015-09-15 2017-03-23 株式会社 東芝 Space information generating device, space information generating method, and program
JPWO2017046875A1 (en) * 2015-09-15 2017-12-07 株式会社東芝 Spatial information generation device, spatial information generation method, and program
GB2552281A (en) * 2015-09-15 2018-01-17 Toshiba Kk Space information generating device, space information generating method, and program
GB2552281B (en) * 2015-09-15 2022-02-09 Toshiba Kk Spatial-information generation apparatus, spatial-information generation method, and program
US11250175B2 (en) 2015-09-15 2022-02-15 Kabushiki Kaisha Toshiba Spatial-information generation apparatus, spatial-information generation method, and non-transitory computer readable medium
CN106503720A (en) * 2016-10-19 2017-03-15 深圳市路远自动化设备有限公司 A kind of element image-recognizing method for removing suction nozzle interference
CN106503720B (en) * 2016-10-19 2019-09-13 深圳市路远自动化设备有限公司 A kind of element image-recognizing method of removal suction nozzle interference
CN112015767A (en) * 2020-08-28 2020-12-01 北京百度网讯科技有限公司 Data thinning method, data thinning apparatus, electronic device, and storage medium
JP2021099529A (en) * 2020-08-28 2021-07-01 北京百度網訊科技有限公司 Data thinning-out method, data thinning-out device, electronic apparatus, storage medium, and computer program product
JP7138208B2 (en) 2020-08-28 2022-09-15 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Data thinning method, data thinning device, electronic device, storage medium and computer program product

Also Published As

Publication number Publication date
JP4165060B2 (en) 2008-10-15

Similar Documents

Publication Publication Date Title
US5619628A (en) 3-Dimensional animation generating apparatus
US20040090437A1 (en) Curved surface image processing apparatus and curved surface image processing method
JP2003178299A (en) Diagram reducing compiling method and device and diagram deforming device and method
JPH07182537A (en) Graphic drawing apparatus and graphic drawing method
JPH087126A (en) Projection drawing creation method
JP4706723B2 (en) Method and apparatus for reducing and compiling figures
JP3605317B2 (en) Image drawing method, image drawing apparatus, and recording medium
JP4017467B2 (en) Triangular mesh data compression method and program
JPH0830666A (en) Method and device for arranging character string
JPH0564393B2 (en)
JP3490169B2 (en) Three-dimensional animation processing system and processing method
JP2002311942A (en) Device and method for reduction display of vector map
JPH07271998A (en) Stereoscopic display method and device
JP3481294B2 (en) Automatic dimension line drawing system
JPH08110958A (en) Graphic processing device
JP2000172865A (en) Animation creation method
JPH07182532A (en) Area inside / outside judgment method
JP3377901B2 (en) Image data trimming device
JPH0855244A (en) 3D figure data input method
JPH0619902A (en) Japanese word processor
JPH10222695A (en) Drawing apparatus and drawing method
JPH1186008A (en) Drawing processing method and drawing processing apparatus
JPH07234946A (en) Polygon drawing method and polygon drawing apparatus
JPH10143672A (en) Method and device for generating image outline data
JPH0248942B2 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080321

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080408

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080606

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: 20080708

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: 20080721

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4165060

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140808

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term