JPH07287751A - Method for recognizing house graphic from map segment data - Google Patents

Method for recognizing house graphic from map segment data

Info

Publication number
JPH07287751A
JPH07287751A JP6104694A JP10469494A JPH07287751A JP H07287751 A JPH07287751 A JP H07287751A JP 6104694 A JP6104694 A JP 6104694A JP 10469494 A JP10469494 A JP 10469494A JP H07287751 A JPH07287751 A JP H07287751A
Authority
JP
Japan
Prior art keywords
line segment
house
segments
recognizing
map
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.)
Withdrawn
Application number
JP6104694A
Other languages
Japanese (ja)
Inventor
Hideaki Arita
秀昶 有田
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP6104694A priority Critical patent/JPH07287751A/en
Publication of JPH07287751A publication Critical patent/JPH07287751A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To improve probability of recognizing a house part from map segment data by searching a segment pair forming a rectangular corner from among segment data, listing up visual segments as start points of recognition processing, finding out the number of corners almost perpendicular to an interval between the end points of a segment sequence, and recognizing a house graphic based upon the found number of corners. CONSTITUTION:Segment data obtained by reading out a town map data prepared by a scale of less than a 1/2500 of so called a great extent of scale reduction by a scanner or the like and then converting the read result into data are made to an object. A house recognizing trigger segment pair is selected, and when the segment pair exists, a view point is set up and visual segments are extracted. The presence of a distance between the end points of segments, i.e., the presence of gap is discriminated and whether a close rate found out from the total length of segments and the total length of gaps is more than a prescribed value or not is discriminated. Finally a house rule, i.e., that a closed graphic is formed of connected segments whose distance is less than a prescribed value, the number of segments is >=3, at least two segments have length more than a prescribed length, angles formed by the segments are 90 deg. or 270 deg. with a deviation within a prescribed value is discriminated and the discrimination is performed for >=3 samples of rule.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、地図線分データから家
屋図形を認識する方法に関し、特に、紙地図等の電子デ
ータベース化を行う場合に、線分化された地図データか
ら家屋/建物図形領域を抽出認識する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for recognizing a house figure from map line segment data, and particularly to a house / building figure area from line-divided map data when an electronic database such as a paper map is created. For extracting and recognizing.

【0002】[0002]

【従来の技術】従来、線分地図データからの家屋図形の
認識に関しては、人間がディジタイザー等で家屋部分を
なぞるか、家屋を構成する線分の端点列を指定する方
式、あるいは自動認識装置の場合、閉図形をなす線分の
端点を距離、方向を考慮して追跡するものが主流であっ
た。
2. Description of the Related Art Conventionally, regarding the recognition of a house figure from line segment map data, a human is tracing a house part with a digitizer or the like, or a method of designating an end point sequence of line segments forming a house, or an automatic recognition device. In the case of, the mainstream method is to trace the end points of a line segment forming a closed figure in consideration of distance and direction.

【0003】[0003]

【発明が解決しようとする課題】従来技術のうち、人間
が地図上の家屋線分部分をトレースする方法は多大の時
間と労力を要するという問題点があった。また、線分の
端点の距離、方向を追跡して家屋を認識する方法は、線
分データの位置や方向を局部的に調べ、その局部的な状
態から次に進むべき線分/方向を決定するようにしてい
るために、家屋線分データは完全に連結状態にある良品
質のデータでなければならず、線分データに断点やかす
れ等があるあまり品質のよくないデータの場合、認識プ
ログラムが正常に機能しないことが多く、認識率が上が
らない問題があった。
Among the conventional techniques, the method by which a person traces a house line segment on a map has a problem that it takes a lot of time and labor. In addition, the method of recognizing the house by tracking the distance and direction of the end points of the line segment is to locally check the position and direction of the line segment data and determine the line segment / direction to proceed to from the local state. Therefore, the house line segment data must be good quality data that is completely connected, and if the line segment data has poor quality such as breaks or blurs, it is recognized. In many cases, the programs did not work properly, and there was a problem that the recognition rate did not increase.

【0004】本発明は上記の問題点にかんがみ、見え方
という大局的なアプローチ方法を採用し、ある地点から
[見える]線分を抽出し、それらの線分が家屋条件を満
たしているかのチェックを行うことにより、局所的な条
件の不具合をカバーして、必ずしも完全に連結している
線分からなっているとは言えない家屋まで認識できるよ
うにして、認識率を大幅に向上できるようにすることを
目的とする。
In view of the above-mentioned problems, the present invention adopts a global approach method of appearance, extracts line segments which are [visible] from a certain point, and checks whether those line segments satisfy house conditions. By doing this, it is possible to cover local conditions and recognize even houses that are not necessarily composed of completely connected line segments, thus significantly improving the recognition rate. The purpose is to

【0005】[0005]

【課題を解決するための手段】本発明の地図線分データ
から家屋図形を認識する方法は、地図を表現している線
分データの集合から家屋図形を抽出認識する際に、上記
線分データの中から直角コーナーを成す線分対を探して
認識処理の出発点として可視線分をリストアップすると
ともに、その線分列がなす端点間隔とほぼ直角のコーナ
ー数を求め、上記求めたコーナー数に基づいて家屋図形
と認識するようにしている。
A method of recognizing a house figure from map line segment data according to the present invention is the above-mentioned line segment data when extracting and recognizing a house figure from a set of line segment data representing a map. The line number that forms a right-angled corner is searched for from among the listed visible line segments as the starting point of the recognition process, and the number of corners that are almost perpendicular to the end point interval formed by the line segment row is calculated. It is recognized as a house figure based on.

【0006】また、本発明の他の特徴とするところは、
地図を表現している線分データの集合から、家屋図形を
抽出認識する方法であって、端点の1つづつが規定距離
以内にある2つの近接した線分であり、少なくとも一方
は規定値以上の長さを有し、かつ各線分を直線と見なし
た場合の線分の成す角が90度に近い線分対を選択する
第1の処理と、上記第1の処理で選択された線分対の斜
辺の中点付近に視点と称する点を設定し、上記視点から
少なくとも斜辺の長さの1/2以上の半径以内の領域内
にあるか、またはその領域を通過する線分をリストアッ
プし、それらの線分のうちから規定長さ以下の線分を除
去し、残った線分を対象として、視点からの可視線分を
求め、各線分の方向角が所定の方向回りになるように整
列したデータを作成し、求められた各可視線分の端点座
標も求める第2の処理と、上記第2の処理で求めた可視
線分データで、所定方向回りに順次隣接する線分の端点
の空隙距離を調べ、間隔が規定値を越えた部分について
は、空隙の中点または中点の左方微小距離の地点に視点
を移動し、その視点から前方(空隙方向)を対象とし
て、その空隙の左右線分に規定距離以内で接続する可視
線分の有無を調べ、あればそれまで求めた線分列に挿入
したデータをつくるとともに、この段階でなお規定距離
以上の空隙が発生する場合、同様な処理を繰り返すよう
にする第3の処理と、上記第3の処理で求められた線分
列について、次の線分との間隔の最大値と、次の線分と
の成す角がほぼ90度またはほぼ270度である直角コ
ーナーの数を順次求める第4の処理と、上記第4の処理
で求めた直角コーナーの数が3以上でかつ、空隙間隔が
規定値以下のものは家屋候補と認識する第5の処理とを
具備している。
Another feature of the present invention is that
A method of extracting and recognizing a house figure from a set of line segment data representing a map, in which each of the endpoints is two adjacent line segments within a specified distance, and at least one of them is greater than or equal to a specified value. And a line selected in the first process, which selects a line segment pair having a length of 1 and an angle formed by the line segments when each line segment is regarded as a straight line is close to 90 degrees. A point called a viewpoint is set near the midpoint of the hypotenuse of the pair of minutes, and line segments that are within a radius of at least 1/2 or more of the length of the hypotenuse from the viewpoint or that pass through the region are listed. Up, remove line segments with a length less than the specified length from those line segments, find the visible line segments from the viewpoint for the remaining line segments, and set the direction angle of each line segment to the specified direction. The data that is arranged in the following manner is created, and the end point coordinates of each visible line segment are also calculated. And the visible line segment data obtained in the second processing described above, the gap distance between the end points of the line segments that are sequentially adjacent in the predetermined direction is checked, and for the portion where the gap exceeds the specified value, the midpoint of the gap or If there is a visible line segment that is connected to the left and right line segments within the specified distance within the specified distance to the front (in the direction of the void) from the viewpoint, move the viewpoint to a point that is a minute distance to the left of the midpoint, and if there is The data inserted into the line segment sequence obtained up to that time is created, and if a void of a specified distance or more still occurs at this stage, the same process is repeated to obtain the third process and the third process. A fourth process for sequentially obtaining the maximum value of the interval between the line segment and the next line segment and the number of right-angled corners at which the angle between the line segment and the next line segment is approximately 90 degrees or approximately 270 degrees; If the number of right-angled corners obtained in the fourth process is 3 or more, One, the gap interval is a specified value or less of what has and a fifth processing recognizes the house candidate.

【0007】また、本発明のその他の特徴とするところ
は、上記第4の処理で求めた直角コーナーの数が2以上
で、かつ空隙間隔が規定値より大の場合、その空隙に線
分を補えば、直角コーナー数が3以上になる場合には家
屋候補と認識する第6の処理を有している。
Another feature of the present invention is that when the number of right-angled corners obtained in the above-mentioned fourth treatment is 2 or more and the gap interval is larger than a specified value, a line segment is formed in the gap. Supplementally, there is a sixth process for recognizing a house candidate when the number of right-angled corners is 3 or more.

【0008】また、本発明のその他の特徴とするところ
は、上記第5の処理で認識した家屋候補について、必要
なら更に家屋条件を追加してチェックし、指定条件を満
たすものを家屋とする第7の処理を有している。
Another feature of the present invention is that the house candidates recognized in the fifth process are further checked by adding house conditions if necessary, and the house that satisfies the specified condition is selected. It has 7 processes.

【0009】また、本発明のその他の特徴とするところ
は、上記追加する家屋条件として、直角コーナー数が4
以上であるようにしている。
Another feature of the present invention is that the number of right-angled corners is 4 as the additional house condition.
I am trying to be above.

【0010】また、本発明のその他の特徴とするところ
は、上記追加する家屋条件として、空隙距離がある規定
値より大の場合家屋とは認めないようにしている。
Another feature of the present invention is that, as the additional house condition, the house is not recognized when the void distance is larger than a certain specified value.

【0011】[0011]

【作用】本発明は上記技術手段よりなるので、局所的な
条件の不具合に惑わされることなく、家屋認識を大局的
に行うことができるようになり、必ずしも完全に連結し
ている線分からなっていない家屋までも良好に認識する
ことができるようになるので、家屋部分を認識する確率
を大幅に向上することが可能になる。
Since the present invention comprises the above-mentioned technical means, it becomes possible to globally recognize a house without being confused by a defect in a local condition, and the line segment is not necessarily completely connected. Since it becomes possible to satisfactorily recognize even a house that does not exist, the probability of recognizing a house part can be significantly improved.

【0012】[0012]

【実施例】次に、添付図面を参照して本発明の地図を表
す線分データから家屋図形を認識する方法の一実施例を
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a method for recognizing a house figure from line segment data representing a map of the present invention will be described below with reference to the accompanying drawings.

【0013】先ず、本実施例の発明方法を実施するため
の家屋図形認識装置の概略構成を説明する。図1の構成
図に示したように、本実施例の家屋図形認識装置は、線
分データ入力部1、データ処理部2、プログラム記憶部
3、画像データ記憶部4、操作部5、表示装置6、出力
装置7によって構成されている。
First, a schematic structure of a house figure recognition apparatus for carrying out the method of the present invention will be described. As shown in the configuration diagram of FIG. 1, the house figure recognition apparatus according to the present embodiment includes a line segment data input unit 1, a data processing unit 2, a program storage unit 3, an image data storage unit 4, an operation unit 5, and a display device. 6 and an output device 7.

【0014】線分データ入力部1は、例えば、地図を表
現している線分データを家屋図形認識装置内に取り込む
ために設けられているものであり、例えば、スキャナに
より構成されている。また、データ処理部2は線分デー
タ入力部1から入力された線分データの集合から家屋図
形を認識する処理を行うためのものであり、CPUによ
り構成されている。
The line segment data input unit 1 is provided to take in, for example, line segment data representing a map into the house figure recognition device, and is composed of, for example, a scanner. The data processing unit 2 is for performing a process of recognizing a house figure from a set of line segment data input from the line segment data input unit 1, and is configured by a CPU.

【0015】プログラム記憶部3は、データ処理部2で
行う認識処理のプログラムを格納するために設けられて
いるものであり、また、画像データ記憶部4は線分デー
タ入力部1によって取り込まれた線分データを格納する
ために設けられているものである。
The program storage unit 3 is provided to store a program for the recognition processing performed by the data processing unit 2, and the image data storage unit 4 is loaded by the line segment data input unit 1. It is provided to store line segment data.

【0016】操作部5は、例えば、キーボードによって
構成されているものであり、データ処理部2に必要な処
理を行わせるための命令を操作者が入力するために設け
られているいるものである。また、表示装置6はデータ
処理部2で行う処理の手順や結果を表示するためのもの
であり、例えば、CRTにより構成されている。さら
に、出力装置7はデータ処理部2で処理した結果を紙等
の媒体に出力するために設けられている装置である。
The operation unit 5 is composed of, for example, a keyboard, and is provided for the operator to input a command for causing the data processing unit 2 to perform a necessary process. . The display device 6 is for displaying the procedure and the result of the processing performed by the data processing unit 2, and is constituted by, for example, a CRT. Furthermore, the output device 7 is a device provided for outputting the result processed by the data processing unit 2 to a medium such as paper.

【0017】次に、本実施例で対象とする線分地図デー
タについて説明する。本実施例で対象とするのは、大縮
尺と呼ばれる1/2500以下の市街地図データをスキ
ャナー等で読み取った後でデータ化した線分データであ
る。なお、以下の説明では、[点]も長さ0の線分とし
て扱う。
Next, the line segment map data of the present embodiment will be described. In the present embodiment, the target is line segment data which is converted into data after reading the city map data of 1/2500 or less, which is called a large scale, with a scanner or the like. In the following description, [point] is also treated as a line segment having a length of 0.

【0018】先ず、問題になるのは、[家屋]をどう定
義/表現するかである。本実施例では、次の条件を満た
すものを家屋図形と定義する。第1に、家屋とは、それ
を構成する線分の端点間の距離が規定値以下で連結して
いる閉図形である。
First, the problem is how to define / represent [house]. In the present embodiment, a house figure is defined as one that satisfies the following conditions. First, a house is a closed figure in which the distances between the end points of the line segments forming the house are connected at a specified value or less.

【0019】第2に、家屋を構成する線分の数は少なく
とも3以上であり、かつ少なくとも2つ以上は規定長さ
以上である。
Secondly, the number of line segments constituting a house is at least 3 and at least 2 is at least the specified length.

【0020】第3に、家屋を構成する隣接する線分の成
す角で、偏差が規定値以内で90度または270度のコ
ーナーを直角コーナーと呼ぶとき、少なくとも3つの直
角コーナーがある。
Thirdly, when a corner which is an angle formed by adjacent line segments forming a house and has a deviation within a prescribed value of 90 degrees or 270 degrees is called a right-angled corner, there are at least three right-angled corners.

【0021】第4に、家屋図形の内部は空白か、または
文字、シンボルを構成している規定長以下の微小線分が
あることがある。これらの微小線分がある場合、それら
は家屋構成線分から規定距離以上離れている。
Fourthly, the interior of the house figure may be blank or have minute line segments of characters or symbols with a length equal to or less than a specified length. When these minute line segments are present, they are separated from the house-constituting line segment by a specified distance or more.

【0022】第5に、隣接する線分の端点間隔が規定値
より大であっても、その間に文字/シンボルに対応する
微小線分しかないなら、その両線分は延長上で交わって
いると見なす。
Fifth, even if the end point spacing between adjacent line segments is larger than the specified value, if there are only minute line segments corresponding to characters / symbols between them, both line segments intersect in extension. To consider.

【0023】第6に、対象とする地図線分データの品質
に応じて、別に規定値を設け、端点間隔が初期規定値よ
り大であっても、これ以下なら救済することがある。
Sixth, depending on the quality of the target map line segment data, a prescribed value is separately set, and even if the end point interval is larger than the initial prescribed value, if it is less than this value, relief may be performed.

【0024】本実施例の家屋認識方法は、市街地図を表
す線分データ集合が与えられたとした時、個々の家屋認
識の出発点となるトリガー線分対の発見と、家屋候補線
分系列の構成と、家屋条件を用いた家屋判定の3部分か
ら構成される。
In the house recognition method of this embodiment, when a line segment data set representing an urban area map is given, a pair of trigger line segments, which is a starting point for individual house recognition, is detected and a candidate house line segment sequence is detected. It is composed of three parts: the configuration and the house determination using the house conditions.

【0025】次に、添付図面を参照して本発明の地図線
分データから家屋図形を認識する方法の一実施例を説明
する。図2〜図13は本実施例の認識方法の手順を示す
フローチャート、図14〜図18は具体例を示す図であ
る。
Next, an embodiment of a method for recognizing a house figure from map line segment data of the present invention will be described with reference to the accompanying drawings. 2 to 13 are flowcharts showing the procedure of the recognition method of the present embodiment, and FIGS. 14 to 18 are diagrams showing specific examples.

【0026】先ず、図2のフローチャートに従って全体
処理手順を説明する。処理が開始されると、ステップS
1にて地図線分データの読み込みが行われ、その後、ス
テップS2にて家屋認識条件が設定される。次に、ステ
ップS3に進んで入力データの前処理/初期化が行われ
る。
First, the overall processing procedure will be described with reference to the flowchart of FIG. When the process starts, step S
The map line segment data is read in 1 and then the house recognition condition is set in step S2. Next, in step S3, preprocessing / initialization of input data is performed.

【0027】次に、ステップS4にて家屋認識トリガー
線分対の選択が行われるとともに、次のステップS5で
は該当する線分対が見つかったか否かの判断が成され
る。上記判定の結果、該当線分対が有った場合にはステ
ップS6に進み、視点の設定と可視線分の抽出が行われ
る。
Next, in step S4, a house recognition trigger line segment pair is selected, and in the next step S5, it is determined whether or not a corresponding line segment pair has been found. As a result of the above determination, if there is a corresponding line segment pair, the process proceeds to step S6, and the viewpoint is set and the visible line segment is extracted.

【0028】次に、ステップS7にて規定以上の空隙の
有無の判断が行われるとともに、ステップS8にて閉じ
率は規定以上か否かの判断が行われる。そして、これら
の判断の結果がノーの場合はステップS12にジャンプ
し、イエスの場合はステップS9に進む。
Next, in step S7, it is determined whether or not there is a void larger than the specified value, and in step S8, it is determined whether the closing rate is equal to or higher than the specified value. Then, if the result of these judgments is NO, the process jumps to step S12, and if the result is YES, the process advances to step S9.

【0029】ステップS9では、視点を移動しての線分
追跡処理を行い、その後、ステップS10にて規定以上
の空隙ありか否かを判断するとともに、ステップS11
で閉じ率は規定以上か否かを判断する。そして、上記判
断の結果、規定以上の空隙が無い場合、および閉じ率が
規定以上の場合はステップS12に進み、そうでない場
合はステップS4に戻る。ステップS12、S13で
は、後述する家屋ルールによる判定を行って処理を終了
する。
In step S9, line segment tracing processing is performed by moving the viewpoint, and thereafter, in step S10, it is determined whether or not there is a void larger than the specified value, and step S11 is performed.
Check whether or not the closing rate is above the regulation. Then, as a result of the above determination, if there is no void more than the specified value or if the closing rate is more than the specified value, the process proceeds to step S12, and if not, the process returns to step S4. In steps S12 and S13, a determination is made according to a house rule described later, and the process ends.

【0030】次に、図3に従って地図線分データの入力
処理を説明する。処理が開始されると、ステップS1に
て全線分の始点、終点座標、線幅データを入力データフ
ァイルに読み込む処理が行われ、その後、ステップS2
にて全線分数をカウントする処理が行われる。次に、ス
テップS3にて全線分データ端点座標から、x−、y−
座標値の最大最小値を求める処理が行われ、地図線分デ
ータの入力処理が終了する。
Next, the input processing of map line segment data will be described with reference to FIG. When the process is started, the process of reading the start points, the end point coordinates, and the line width data of all the line segments into the input data file is performed in step S1, and then step S2.
At, a process of counting all line segment numbers is performed. Next, in step S3, x-, y-
The process of obtaining the maximum and minimum coordinate values is performed, and the process of inputting map line segment data ends.

【0031】次に、図4に従って家屋認識条件の設定処
理を説明する。この場合、先ず、ステップS1にて前処
理条件が設定され、次いで、ステップS2にて家屋認識
条件の設定処理が行われる。この家屋認識条件の設定処
理により、最小線分長さ、直角判定許容角度、許容空隙
長さ、最小周囲長、最小閉じ率、直角コーナー必要数等
が設定される。その後、ステップS3にて後処理条件の
設定が行われ、この処理が終了する。
Next, the setting process of the house recognition condition will be described with reference to FIG. In this case, first, the preprocessing condition is set in step S1, and then the house recognition condition setting process is performed in step S2. By the setting process of the house recognition condition, the minimum line segment length, the right angle determination allowable angle, the allowable gap length, the minimum circumference length, the minimum closing rate, the required number of right angle corners, etc. are set. Then, in step S3, post-processing conditions are set, and this processing ends.

【0032】次に、図5に従って前処理/初期化の処理
を説明する。先ず、ステップS1にて線分端点連結処理
が行われる。次に、ステップS2にて重複線分の除去が
行われるとともに、ステップS3にてrmd高速検索フ
ァイルへの登録が行われ、その後、ステップS4で全線
分が未処理状態にされ、この前処理/初期化の処理が終
了する。
Next, the preprocessing / initialization processing will be described with reference to FIG. First, in step S1, line segment end point connection processing is performed. Next, in step S2, the overlapping line segments are removed, and in step S3, registration in the rmd high-speed search file is performed. Then, in step S4, all line segments are unprocessed. The initialization process ends.

【0033】次に、図6に従って家屋認識トリガー線分
対の選択処理を説明する。先ず、ステップS1にて規定
長以上の線分の選択処理が行われる。この処理は、未処
理線分を順次走査し、規定長以上の長さを持つ線分を選
ぶ処理である。次に、ステップS2にて該当線分が有る
か否かが調べられ、なければこの処理を処理する。
Next, the house recognition trigger line segment pair selection processing will be described with reference to FIG. First, in step S1, a selection process of a line segment having a specified length or more is performed. This process is a process of sequentially scanning unprocessed line segments and selecting a line segment having a length equal to or longer than a specified length. Next, in step S2, it is checked whether or not there is a corresponding line segment, and if not, this process is processed.

【0034】一方、有った場合はステップS3にて近傍
線分のリストアップ処理が行われる。この処理により、
該当線分の周囲規定幅の矩形領域に少しでもかかる線分
が全てリストアップされる。その後、ステップS4にて
直交線分の選択が行われ、該当線分と許容角度以内で直
交する線分の有無が調べられる。
On the other hand, if there is, a neighborhood line segment listing process is performed in step S3. By this process,
All the line segments that are in the rectangular area with the specified width around the line segment are listed. After that, the orthogonal line segment is selected in step S4, and the presence or absence of the line segment orthogonal to the corresponding line segment within the allowable angle is checked.

【0035】次に、ステップS5にて直交線分が有るか
否かが調べられ、無い場合は処理が終了される。また、
有る場合にはステップS6に進んで該当線分と直交する
線分の端点が、反時計回りになるように並べられ、線分
番号対と端点点列データとが出力される。
Next, in step S5, it is checked whether or not there is an orthogonal line segment, and if not, the process ends. Also,
If there is, the process proceeds to step S6, the end points of the line segments orthogonal to the corresponding line segment are arranged counterclockwise, and the line segment number pair and the end point sequence data are output.

【0036】次に、図7に従って視点の設定と可視線分
の抽出処理を説明する。先ず、ステップS1にて視点と
探索半径の設定処理が行われる。これは、先ず、図6の
処理のステップS6で作成した座標データを用いて、直
角三角形を想定し、直角点と斜辺の中点の座標を定め
る。次いで、直角点→斜辺の中点の線分の1.0ー1.
9倍の延長点に視点座標を設定するとともに、斜辺の長
さの0.6ー2.0倍を探索半径として設定する。
Next, the viewpoint setting and the visible line segment extraction processing will be described with reference to FIG. First, in step S1, a viewpoint and a search radius are set. First, using the coordinate data created in step S6 of the process of FIG. 6, a right-angled triangle is assumed and the coordinates of the right-angled point and the midpoint of the hypotenuse are determined. Next, the line segment from the right-angled point to the midpoint of the hypotenuse 1.0-1.
The viewpoint coordinates are set at the extension point of 9 times, and 0.6 to 2.0 times the length of the hypotenuse is set as the search radius.

【0037】次に、ステップS2で視線分をリストアッ
プする処理を行われる。これは、視点を中心とし、探索
半径を半径とする、あるいは、x−、y−座標方向に探
索半径の2倍の長さを持つ正方形領域を設定し、この領
域に少しでもかかる線分をリストアップするものであ
る。
Next, in step S2, a process of listing the line-of-sight segment is performed. This is done by setting the search radius as the radius with the viewpoint as the center, or by setting a square area having a length twice the search radius in the x- and y-coordinate directions, and setting a line segment that covers this area as much as possible. It is something to list.

【0038】その後、リストアップした線分から、見え
る線分領域をステップS3にて求めて反時計回りに並べ
る処理を行う。データは線分番号、始点、終点の方向
角、座標位置データである。
After that, the visible line segment areas are obtained from the listed line segments in step S3 and arranged counterclockwise. The data is the line segment number, the direction angle of the start point and the end point, and the coordinate position data.

【0039】次いで、ステップS4で、線分の長さの合
計、および相隣る線分の端点間の距離とその合計を計算
し、規定長以上の間隔のものがあればその個数をカウン
トする。次に、ステップS5にて閉じ率=100*線分
合計長/(線分合計長+間隔合計長)を計算する。
Then, in step S4, the total length of the line segments, the distance between the end points of the adjacent line segments and the total thereof are calculated, and if there is an interval of a prescribed length or more, the number is counted. . Next, in step S5, the closing rate = 100 * line segment total length / (line segment total length + interval total length) is calculated.

【0040】次に、図8に従って視点を移動しての線分
探索処理を説明する。先ず、ステップS1にて新視点の
設定処理が行われる。この処理は、それまでに構成され
た線分リストの最終線分の始点、終点座標を取り出し、
始点→終点を規定長延長した点の左側規定距離の位置に
新視点を設定するものである。
Next, the line segment search processing by moving the viewpoint will be described with reference to FIG. First, in step S1, a new viewpoint setting process is performed. This process retrieves the start and end coordinates of the last line segment in the line segment list that has been configured up to that point,
The new viewpoint is set at the position of the specified distance on the left side of the point where the start point → the end point is extended by the specified length.

【0041】次に、ステップS2にて新視点から規定半
径内領域の線分をリストアップし、新視点からの可視線
分を求め、反時計回りに並べる処理が行われる。その
後、ステップS3にて接続処理が行われる。これは、前
のステップS2にて反時計回りにならべられた可視線分
リストから、これまでに構成されている最終線分の位置
を見つけ、その次の線分との端点間隔を計算するもので
ある。
Next, in step S2, the line segments of the area within the specified radius are listed from the new viewpoint, the visible line segments from the new viewpoint are obtained, and the lines are arranged counterclockwise. After that, a connection process is performed in step S3. This is to find the position of the last line segment that has been constructed so far from the visible line segment list arranged in the counterclockwise direction in the previous step S2, and calculate the end point spacing with the next line segment. Is.

【0042】次に、ステップS4にて端点間隔が規定値
以内で有るか否かが調べられる。そして、端点間隔が規
定値以内であれば、ステップS5に進んで線分リストに
その線分を追加登録するとともに、ステップS6にて追
加登録したか否かを調べる。そして、追加登録した場合
はステップS1に戻る。ただし、それがこれまでに構成
された線分リストのいずれかと一致するなら、ループが
形成されたとして次のステップS7に進む。
Next, in step S4, it is checked whether or not the end point spacing is within a specified value. If the end point spacing is within the specified value, the process proceeds to step S5 to additionally register the line segment in the line segment list, and it is checked in step S6 whether or not the line segment is additionally registered. When additional registration is performed, the process returns to step S1. However, if it matches any one of the line segment lists configured up to now, it is determined that a loop is formed and the process proceeds to the next step S7.

【0043】ステップS7では、線分の長さの合計、お
よび隣接する線分の端点間の距離とその合計を計算し、
規定長以上の間隔のものがあればその個数をカウントす
る。その後、ステップS8にて閉じ率=100*線分合
計長/(線分合計長+間隔合計長)を計算して処理を終
了する。
In step S7, the sum of the lengths of the line segments, the distance between the end points of the adjacent line segments and the sum thereof are calculated,
If there is an interval with a specified length or more, count the number. After that, in step S8, the closing rate = 100 * line segment total length / (line segment total length + interval total length) is calculated, and the process ends.

【0044】次に、図9に従って家屋特徴量の計算処理
を説明する。先ず、ステップS1にて線分数、始点/終
点座標、閉じ率、全長等のデータを求める終了が行われ
る。次のステップS2では得られた線分列を閉図形と見
なして、隣接する辺の内角を計算し、それが許容偏差範
囲で90度または270度であれば、直角コーナーと見
なして数をカウントアップする。
Next, the calculation process of the house feature amount will be described with reference to FIG. First, in step S1, the process of obtaining data such as the number of line segments, start / end point coordinates, closing rate, and total length is completed. In the next step S2, the obtained line segment sequence is regarded as a closed figure, the interior angle of the adjacent side is calculated, and if it is 90 degrees or 270 degrees within the allowable deviation range, it is regarded as a right angle corner and the number is counted. Up.

【0045】その後、ステップS3にて正方形度を求め
る処理が行われる。これは、正方形度=100*16*
面積/(周囲長の2乗)の式にて行われ、また、非シン
ボル率=100*線分総長/(線分数*シンボル線分基
準長さ)ー50の式にて非シンボル率が計算される。
Then, in step S3, the processing for obtaining the squareness is performed. This is the squareness = 100 * 16 *
The area / (perimeter squared) formula is used, and the non-symbol ratio is calculated by the formula: non-symbol ratio = 100 * total length of line segment / (number of line segments * symbol line segment reference length) -50 To be done.

【0046】次に、図10に従って家屋ルールによる判
定処理について説明する。これは、家屋判定特徴量(ス
テップS1)および家屋確度(ステップS2)に基づい
て判断するものであり、ステップS1では、直交コー
ナーがnである場合、家屋である確度p1は、p1=2
5*n%(100以上可)、閉じ率p2(max10
0)、非シンボル率 p3(max100)、正方
形度p4(max100)に基づいて判定する。また、
ステップS2では、p=p1*p2*p3*p4、p>
=p0ならば家屋とする(p0例えば75%)。
Next, the determination process according to the house rule will be described with reference to FIG. This is a determination based on the house determination feature amount (step S1) and the house accuracy (step S2). In step S1, when the orthogonal corner is n, the probability p1 of being a house is p1 = 2.
5 * n% (100 or more possible), closing rate p2 (max10
0), non-symbol rate p3 (max100), and squareness p4 (max100). Also,
In step S2, p = p1 * p2 * p3 * p4, p>
If = p0, the house is set (p0, for example, 75%).

【0047】次に、図11に従って家屋認識処理を説明
する。先ず、ステップS1において、少なくとも1辺が
規定長さ以上で、かつほぼ直角をなす2辺を選択する。
次に、該当する線分の有無をステップS2で判定し、有
った場合はステップS3にて斜辺の中点付近に視点を設
定し、少なくとも斜辺の1/2長さ以上の半径領域の線
分をリストアップする。
Next, the house recognition process will be described with reference to FIG. First, in step S1, at least one side has a specified length or more, and two sides that are substantially right angles are selected.
Next, the presence or absence of the corresponding line segment is determined in step S2, and if there is, a viewpoint is set near the midpoint of the hypotenuse in step S3, and a line in a radius region of at least ½ length of the hypotenuse or more is set. List minutes.

【0048】次に、ステップS4にて線分が3辺以上有
るか否かを検索し、有る場合はステップS5にて視点か
らの可視線分を求め、それを反時計回りに並べる処理を
行う。次に、ステップS6にて3辺以上有るか否かを検
索し、有る場合はステップS7に進んで隣接する2辺間
に規定以上の空隙が有るか否かを検索する。
Next, in step S4, it is searched whether or not the line segment has three or more sides. If there is, the visible line segment from the viewpoint is obtained in step S5, and the process of arranging the line segments counterclockwise is performed. . Next, in step S6, it is searched whether or not there are three or more sides. If there is, the process proceeds to step S7, and it is searched whether or not there is a void larger than the specified size between the two adjacent sides.

【0049】上記検索の結果、ステップS8にて空隙の
中心付近の内側に視点を設定し直し、可視線分をリスト
アップする。そして、ステップS9にてそれまでの線分
列に接続する。この処理により、これらの線分列が閉じ
たか否かを調べ、閉じた場合はステップS11に進む。
また、閉じていない場合にはステップS8に戻って上述
した処理を繰り返し行う。さらに、どうしても閉じない
場合にはリターンする。
As a result of the above retrieval, in step S8, the viewpoint is reset inside the vicinity of the center of the void, and the visible line segments are listed. Then, in step S9, the line segment row up to that point is connected. By this processing, it is checked whether or not these line segment sequences are closed, and if they are closed, the process proceeds to step S11.
If it is not closed, the process returns to step S8 and the above-described processing is repeated. Furthermore, if it cannot be closed, the process returns.

【0050】ステップS11では、90°または270
°をなすコーナー数を調べてカウントする。そして、3
個以上の場合はステップS13に進んで家屋候補と認識
する。また、2個の場合はステップS14に進んで不完
全家屋候補と認識する。一方、1個以下の場合はステッ
プS15に進んで家屋候補ではないと認識する。
In step S11, 90 ° or 270
Check and count the number of corners that make up °. And 3
If there are more than one, the process proceeds to step S13 and the house candidate is recognized. In the case of two, the process proceeds to step S14 and is recognized as an incomplete house candidate. On the other hand, when the number is one or less, the process proceeds to step S15 and it is recognized that the house is not a house candidate.

【0051】以下、上記の方法を実現するための具体例
を説明する。先ず、トリガー線分対の選択と視点の設定
について説明する。家屋認識のトリガーとなる直交線分
対の決定は、もし対話型処理であるなら、人間が家屋図
形内部の1点をマウス等で指定すれば、直接その点を視
点と設定することが可能となり、直交線分対の探索は必
要ない。ここでは、自動認識を主体とする処理のため
に、直交線分対を見出す方法を述べる。この方法の説明
図を図12に従って説明する。
A specific example for realizing the above method will be described below. First, selection of a pair of trigger line segments and setting of a viewpoint will be described. If the determination of the pair of orthogonal line segments that triggers house recognition is an interactive process, if a human specifies one point inside the house figure with a mouse, etc., that point can be directly set as the viewpoint. , It is not necessary to search for a pair of orthogonal line segments. Here, a method for finding a pair of orthogonal line segments will be described for the purpose of processing mainly based on automatic recognition. An explanatory diagram of this method will be described with reference to FIG.

【0052】先ず、ステップS1において、未処理の1
線分を選ぶ処理を行う。与えられた線分データ集合か
ら、規定長さ以上の未処理の線分を選び、これを第1の
線分Aとする(ステップS2)。なお、未処理の線分が
無ければ処理終了である。
First, in step S1, unprocessed 1
Perform the process of selecting a line segment. An unprocessed line segment having a specified length or more is selected from the given line segment data set and is set as the first line segment A (step S2). If there is no unprocessed line segment, the process ends.

【0053】次に、その線分の端点から規定距離範囲に
端点を持つ近傍線分をリストアップする。そのような線
分の有無をステップS5にて探索し、該当する線分がな
ければ、第1の線分Aはトリガーにはなり得ないとし
て、ステップS1へ戻る。次いで、ステップS6にて第
1の線分Aと第2の線分Bの内角を計算し、内角が許容
偏差以内で90度とみなせるものをステップS7にて探
す。
Next, the neighboring line segments having the end points within the specified distance range from the end points of the line segment are listed up. The presence or absence of such a line segment is searched for in step S5, and if there is no corresponding line segment, the first line segment A cannot be a trigger and the process returns to step S1. Next, in step S6, the interior angles of the first line segment A and the second line segment B are calculated, and in step S7, the interior angle that can be regarded as 90 degrees within the allowable deviation is searched.

【0054】そして、該当する線分が有る場合はステッ
プS8にてそれを第2の線分Bにする処理を行う。次
に、ステップS9に進み、選ばれた線分対を、一般性を
失わずA→Bとする時、第1および第2の線分A、Bを
直角三角形の直角を挟む2辺と仮定し、斜辺の中点ある
いはその近傍の1点を決定し、これを視点と設定するよ
うにする。
Then, if there is a corresponding line segment, a process of making it the second line segment B is performed in step S8. Next, proceeding to step S9, assuming that the selected line segment pair is A → B without loss of generality, the first and second line segments A and B are assumed to be two sides sandwiching a right angle of a right triangle. Then, the midpoint of the hypotenuse or one point in the vicinity thereof is determined, and this is set as the viewpoint.

【0055】次に、家屋候補線分列の作成についてより
具体的に説明する。先ず、第1に、視点を中心として、
少なくとも半径が直角三角形の斜辺の1/2以上の長さ
の領域に含まれるか、またはその領域を通過する線分を
リストアップし、規定長以下の微小線分を除去した後、
そのうちから視点から見える可視線分部分を求め、反時
計回りに並べた線分列データD1を作成する。図13
(a)および(b)に凸図形家屋の場合の例を示す。
Next, the creation of the house candidate line segment will be described more specifically. First of all, focusing on the viewpoint,
After listing the line segments that are included in a region whose radius is at least 1/2 of the hypotenuse of the right triangle or that pass through that region, and remove minute line segments that are less than the specified length,
The visible line segment portion that can be seen from the viewpoint is obtained from that, and line segment data D1 arranged counterclockwise is created. FIG.
An example in the case of a convex figure house is shown in (a) and (b).

【0056】第2に、上記第1の線分列の相隣る線分の
端点間距離を計算し、その距離が規定値以上であれば次
の処理を行う。すなわち、図14に示すように、線分を
反時計回りに調べてきて、線分enと線分en+1との
間に規定値以上の端点間距離があったとする。このと
き、線分enの延長上にあるd1の地点から、左方HV
IEWの距離の地点に新視点を定め、線分enを右端に
見るようにして、視点から端点距離が規定値以上あった
部分を覗き込み、可視線分を抽出する。
Secondly, the distance between the end points of adjacent line segments of the first line segment row is calculated, and if the distance is equal to or greater than a specified value, the following processing is performed. That is, as shown in FIG. 14, it is assumed that the line segment is examined counterclockwise and there is a distance between the end points that is equal to or greater than the specified value between the line segment en and the line segment en + 1. At this time, from the point of d1 on the extension of the line segment en to the left HV
A new viewpoint is set at a point of the distance of IEW, the line segment en is viewed at the right end, and a portion where the end point distance is equal to or more than a specified value is looked into from the viewpoint, and a visible line segment is extracted.

【0057】次に、上記線分enと線分en+1等、デ
ータ列D1の線分の端点に規定値距離以内で連結してい
る可視線分があるかどうかを調べる。そして、そのよう
な線分列があれば、データ列D1の端点箇所に追加挿入
する。
Next, it is checked whether or not there are visible line segments such as the line segment en and the line segment en + 1 that are connected within the specified distance at the end points of the line segment of the data string D1. Then, if such a line segment sequence exists, it is additionally inserted at the end point portion of the data sequence D1.

【0058】この追加線分列の中に更に規定距離以上の
断点があれば、同様の処理を繰り返し適用する。ただ
し、可視線分の抽出においては、規定長以下の微小線分
は除外するものとする。端点間距離が規定値より大の部
分で、その端点間に微小線分が複数存在しており、かつ
両線分がほぼ同一直線上にあるか、または直交する場
合、両端点間に線分を追加する。これらの条件を満たさ
なければ開放図形として処理を中止する。
If there is a break point more than the specified distance in this additional line segment sequence, the same processing is repeatedly applied. However, in the extraction of visible line segments, minute line segments with a specified length or less are excluded. If the distance between the end points is larger than the specified value, and there are multiple minute line segments between the end points, and both line segments are on the same straight line or are orthogonal, a line segment between both end points To add. If these conditions are not satisfied, the process is stopped as an open figure.

【0059】第3に、上記第2で形成された線分列の端
点を規定値幅での長方形被覆を行う。この処理により同
一線分が複数に分断されているものは1つの線分に復元
できる。この線分列は、凸図形のみならず凹部分を含む
図形も抽出しており、これが家屋候補線分列である。図
15に長方形被覆の説明図を示す。
Thirdly, the end points of the line segment row formed in the above-mentioned second step are covered with a rectangle with a specified value width. By this processing, the same line segment divided into a plurality of lines can be restored to one line segment. This line segment sequence extracts not only a convex figure but also a figure including a concave section, and this is a house candidate line segment sequence. FIG. 15 shows an explanatory view of the rectangular coating.

【0060】次に、家屋図形の判定について説明する。
本実施例においては、以下に示す手順にて家屋判定を行
っている。すなわち、(1)家屋候補閉図形の面積およ
び相隣る線分の内角を計算する。内角が許容偏差以内で
90度または270度であれば、直角コーナーとしてそ
の個数の和を求める。
Next, the determination of the house figure will be described.
In this embodiment, the house determination is performed according to the following procedure. That is, (1) the area of the house candidate closed figure and the interior angle of the adjacent line segment are calculated. If the interior angle is 90 degrees or 270 degrees within the allowable deviation, the sum of the numbers is calculated as a right-angled corner.

【0061】次に、(2)面積が規定値範囲で、直角コ
ーナー数が3以上の場合には家屋と判定する。さらに、
(3)面積が規定値範囲で、直角コーナーが2以下の場
合には、不完全家屋と判定する。また、(4)それ以外
の場合、家屋とは見なさないようにしている。
Next, (2) if the area is within the specified value range and the number of right-angled corners is 3 or more, it is determined to be a house. further,
(3) If the area is within the specified range and the number of right-angled corners is 2 or less, it is determined that the house is incomplete. (4) In other cases, it is not considered as a house.

【0062】図16の(a)、(b)、(c)に家屋判
定例を示す。図16(a)は、4個以上の直角を有し、
かつ周囲が全て閉じられている完全家屋の例を示してい
る。また、(b)は不完全ながら上述した(1)〜
(3)の条件を満たしているので、不完全家屋と認識す
るようにしている。さらに、(c)は3個以上の直角を
有しているが、閉じていない部分が大きいので家屋では
ないと認識するようにしている。
16 (a), (b) and (c) show examples of house determination. FIG. 16 (a) has four or more right angles,
In addition, it shows an example of a complete house in which the surroundings are all closed. Moreover, although (b) is incomplete, the above (1)-
Since the condition (3) is satisfied, it is recognized as an incomplete house. Further, although (c) has three or more right angles, it is recognized that it is not a house because the unclosed portion is large.

【0063】上記の道路認識方法をプログラム化し、1
/2500市街地図を16点/mmの解像度で読み取
り、ベクトル化したデータに対しこれまで述べた方法で
認識処理を行ってみた結果を以下に示す。
Program the above road recognition method to 1
The following is the result of reading the / 2500 city map at a resolution of 16 points / mm and performing recognition processing on the vectorized data by the method described above.

【0064】1つの視点からの認識結果例を、図17お
よび図18に示す。図17は比較的小領域の原データを
示し、図18は図17からの家屋認識結果である。これ
らの図から明らかなように、必ずしも直角コーナーから
なるとは言えない家屋図形がよく抽出できている。
An example of the recognition result from one viewpoint is shown in FIGS. FIG. 17 shows the original data of a relatively small area, and FIG. 18 shows the house recognition result from FIG. As is clear from these figures, house figures that do not necessarily consist of right-angled corners are often extracted.

【0065】[0065]

【発明の効果】本発明は上述したように、本発明によれ
ば、局所的な条件の不具合に惑わされることなく家屋認
識を大局的に行うことができるようになる。したがっ
て、必ずしも完全に連結している線分からなっていない
家屋までも良好に家屋と認識することができるようにな
るので、地図を表現している線分データの集合から家屋
部分を認識する確率を大幅に向上させることができる。
As described above, according to the present invention, it is possible to globally recognize a house without being confused by a local defect. Therefore, even a house that does not necessarily consist of completely connected line segments can be recognized as a good house, and the probability of recognizing a house part from the set of line segment data that represents a map can be calculated. It can be greatly improved.

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

【図1】本発明の方法を実施する家屋領域認識装置の一
例を示す構成図である。
FIG. 1 is a configuration diagram showing an example of a house area recognition device that implements the method of the present invention.

【図2】本発明の地図線分データから家屋図形を認識す
る方法の全体の処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing an overall processing procedure of a method for recognizing a house figure from map line segment data according to the present invention.

【図3】地図線分データの入力手順を示すフローチャー
トである。
FIG. 3 is a flowchart showing a procedure for inputting map line segment data.

【図4】家屋認識処理条件の設定手順を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a procedure for setting house recognition processing conditions.

【図5】前処理/初期化処理手順を示すフローチャート
である。
FIG. 5 is a flowchart showing a pre-processing / initialization processing procedure.

【図6】家屋認識トリガー線分対の選択手順を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a procedure for selecting a house recognition trigger line segment pair.

【図7】視点の設定と可視線分の抽出処理手順を示すフ
ローチャートである。
FIG. 7 is a flowchart showing a procedure for setting a viewpoint and extracting a visible line segment.

【図8】視点を移動しての線分探索処理する手順を示す
フローチャートである。
FIG. 8 is a flowchart showing a procedure of line segment search processing by moving a viewpoint.

【図9】家屋特徴量の計算処理を示すフローチャートで
ある。
FIG. 9 is a flowchart showing a calculation process of a house feature amount.

【図10】家屋ルールによる判定処理を示すフローチャ
ートである。
FIG. 10 is a flowchart showing a determination process based on a house rule.

【図11】家屋認識の処理手順を示すフローチャートで
ある。
FIG. 11 is a flowchart showing a processing procedure for house recognition.

【図12】直交線分対の探索手順を示すフローチャート
である。
FIG. 12 is a flowchart showing a search procedure for a pair of orthogonal line segments.

【図13】凸形状家屋の一例を示す図である。FIG. 13 is a diagram showing an example of a convex house.

【図14】凹形状部への視点の設定法を説明する図であ
る。
FIG. 14 is a diagram illustrating a method of setting a viewpoint on a concave portion.

【図15】長方形被覆を説明する図である。FIG. 15 is a diagram illustrating rectangular coating.

【図16】家屋判定の一例を示す図である。FIG. 16 is a diagram showing an example of a house determination.

【図17】原データの一例を示す図である。FIG. 17 is a diagram showing an example of original data.

【図18】図17のデータから家屋認識を行った結果の
一例を示す図である。
18 is a diagram showing an example of a result of performing house recognition from the data of FIG.

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

1 線分データ入力部 2 データ処理部 3 プログラム記憶部 4 画像データ記憶部 5 操作部 6 表示装置 7 出力装置 1 line segment data input unit 2 data processing unit 3 program storage unit 4 image data storage unit 5 operation unit 6 display device 7 output device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 地図を表現している線分データの集合か
ら家屋図形を抽出認識する際に、上記線分データの中か
ら直角コーナーを成す線分対を探して認識処理の出発点
として可視線分をリストアップするとともに、その線分
列がなす端点間隔とほぼ直角のコーナー数を求め、上記
求めたコーナー数に基づいて家屋図形と認識するように
したことを特徴とする地図線分データから家屋図形を認
識する方法。
1. When extracting and recognizing a house figure from a set of line segment data representing a map, a pair of line segments forming a right-angled corner is searched from the line segment data to be used as a starting point of recognition processing. Map line segment data characterized by listing line-of-sight segments, determining the number of corners that are almost perpendicular to the end point interval formed by the line segment sequence, and recognizing the figure as a house based on the number of corners determined above How to recognize a house shape from a map.
【請求項2】 地図を表現している線分データの集合か
ら、家屋図形を抽出認識する方法であって、 端点の1つづつが規定距離以内にある2つの近接した線
分であり、少なくとも一方は規定値以上の長さを有し、
かつ各線分を直線と見なした場合の線分の成す角が90
度に近い線分対を選択する第1の処理と、 上記第1の処理で選択された線分対の斜辺の中点付近に
視点と称する点を設定し、上記視点から少なくとも斜辺
の長さの1/2以上の半径以内の領域内にあるか、また
はその領域を通過する線分をリストアップし、それらの
線分のうちから規定長さ以下の線分を除去し、残った線
分を対象として、視点からの可視線分を求め、各線分の
方向角が所定の方向回りになるように整列したデータを
作成し、求められた各可視線分の端点座標も求める第2
の処理と、 上記第2の処理で求めた可視線分データで、所定方向回
りに順次隣接する線分の端点の空隙距離を調べ、間隔が
規定値を越えた部分については、空隙の中点または中点
の左方微小距離の地点に視点を移動し、その視点から前
方(空隙方向)を対象として、その空隙の左右線分に規
定距離以内で接続する可視線分の有無を調べ、あればそ
れまで求めた線分列に挿入したデータをつくるととも
に、この段階でなお規定距離以上の空隙が発生する場
合、同様な処理を繰り返すようにする第3の処理と、 上記第3の処理で求められた線分列について、次の線分
との間隔の最大値と、次の線分との成す角がほぼ90度
またはほぼ270度である直角コーナーの数を順次求め
る第4の処理と、 上記第4の処理で求めた直角コーナーの数が3以上で、
かつ空隙間隔が規定値以下のものは家屋候補と認識する
第5の処理とを具備することを特徴とする地図線分デー
タから家屋図形を認識する方法。
2. A method for extracting and recognizing a house figure from a set of line segment data representing a map, wherein each of the end points is two adjacent line segments within a prescribed distance, and at least One has a length greater than the specified value,
And when each line segment is regarded as a straight line, the angle formed by the line segment is 90
A first process of selecting a line segment pair close to a degree, and a point called a viewpoint is set near the midpoint of the hypotenuse of the line segment pair selected in the first process, and at least the length of the hypotenuse from the viewpoint is set. The line segments that are within the radius of 1/2 or more of or that pass through the region are listed, and the line segments with the specified length or less are removed from those line segments. A visible line segment from the viewpoint is obtained, data is arranged so that the direction angle of each line segment is around a predetermined direction, and the end point coordinates of each obtained visible line segment are also obtained.
And the visible line segment data obtained in the above second process, the void distance between the end points of the line segments that are successively adjacent in the predetermined direction is checked. Alternatively, move the viewpoint to a point a minute distance to the left of the midpoint, and check the presence of a visible line segment that connects within the specified distance to the left and right line segments of that void, from the viewpoint to the front (air gap direction). For example, when the data inserted into the line segment sequence obtained up to that time is created, and at this stage, if a void of the specified distance or more still occurs, the same processing is repeated in the third processing and the third processing described above. With respect to the obtained line segment sequence, a fourth process of sequentially obtaining the maximum value of the interval with the next line segment and the number of right-angled corners whose angle between the next line segment and the next line segment is approximately 90 degrees or approximately 270 degrees. , The number of right-angled corners obtained in the fourth processing is 3 or more. In,
A method of recognizing a house figure from map line segment data, which comprises a fifth process of recognizing a space candidate having a gap value of a predetermined value or less as a house candidate.
【請求項3】 上記第4の処理で求めた直角コーナーの
数が2以上で、かつ空隙間隔が規定値より大の場合、そ
の空隙に線分を補えば、直角コーナー数が3以上になる
場合には家屋候補と認識する第6の処理を有することを
特徴とする請求項2記載の地図線分データから家屋図形
を認識する方法。
3. When the number of right-angled corners obtained in the fourth processing is 2 or more and the space between voids is larger than a specified value, the number of right-angled corners becomes 3 or more by supplementing the space with a line segment. The method for recognizing a house figure from map line segment data according to claim 2, further comprising a sixth process of recognizing the house candidate.
【請求項4】 上記第5の処理で認識した家屋候補につ
いて、必要なら更に家屋条件を追加してチェックし、指
定条件を満たすものを家屋とする第7の処理を有するこ
とを特徴とする請求項2記載の地図線分データから家屋
図形を認識する方法。
4. A seventh process for checking the house candidate recognized in the fifth process by further adding a house condition, if necessary, and selecting a house that satisfies a specified condition as a house. A method for recognizing a house figure from the map line segment data according to item 2.
【請求項5】 上記追加する家屋条件として、直角コー
ナー数が4以上であるようにしたことを特徴とする請求
項4記載の地図線分データから家屋図形を認識する方
法。
5. The method of recognizing a house figure from map line segment data according to claim 4, wherein the number of right-angled corners is 4 or more as the condition of the house to be added.
【請求項6】 上記追加する家屋条件として、空隙距離
がある規定値より大の場合家屋とは認めないようにした
ことを特徴とする請求項4記載の地図線分データから家
屋図形を認識する方法。
6. The house figure is recognized from the map line segment data according to claim 4, characterized in that, as the additional house condition, the house distance is not recognized as a house if the void distance is larger than a certain specified value. Method.
JP6104694A 1994-04-19 1994-04-19 Method for recognizing house graphic from map segment data Withdrawn JPH07287751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6104694A JPH07287751A (en) 1994-04-19 1994-04-19 Method for recognizing house graphic from map segment data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6104694A JPH07287751A (en) 1994-04-19 1994-04-19 Method for recognizing house graphic from map segment data

Publications (1)

Publication Number Publication Date
JPH07287751A true JPH07287751A (en) 1995-10-31

Family

ID=14387592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6104694A Withdrawn JPH07287751A (en) 1994-04-19 1994-04-19 Method for recognizing house graphic from map segment data

Country Status (1)

Country Link
JP (1) JPH07287751A (en)

Similar Documents

Publication Publication Date Title
US5467411A (en) System with approximation mechanism for recognizing graphical elements in a drawing
US8548253B2 (en) Fast line linking
US20080205769A1 (en) Apparatus, method and program product for matching with a template
WO1993007580A1 (en) Method of determining direction in local region of profile segment and method of determining lines and angles
Ablameyko et al. Recognition of engineering drawing entities: review of approaches
JP4908867B2 (en) Geographic image processing system
JPH07287751A (en) Method for recognizing house graphic from map segment data
JPH01271883A (en) Detecting system for center of fingerprint
JP5074622B2 (en) Geographic image processing system
JPH07220081A (en) Segmenting method for graphic of image recognizing device
CN113192195B (en) Method for repairing damaged terrain coordinate data
JP2006323511A (en) Symbol-identifying method and device thereof
JP3077929B2 (en) Character extraction method
JP3329528B2 (en) Document reader
JP2867650B2 (en) Symbol candidate area detection method
JP2722962B2 (en) Drawing recognition device
Opmanis Optical Graph Edge Recognition.
JPH09102037A (en) Drawing recognition method
JPH0357509B2 (en)
JP2852044B2 (en) Symbol recognition device
JP3001022B2 (en) Closed loop extraction device for line figures
JPH06348849A (en) Picture symbol recognizing method
CN113642588A (en) Method for analyzing crawler on outer edge of planar image object
JP2010277164A (en) Apparatus and method for model data generation, and apparatus and method for object recognition
CN118279902A (en) Three-dimensional transmission tower similarity identification method and system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010703