JPH08262974A - House recognizing method in map input system - Google Patents

House recognizing method in map input system

Info

Publication number
JPH08262974A
JPH08262974A JP7093014A JP9301495A JPH08262974A JP H08262974 A JPH08262974 A JP H08262974A JP 7093014 A JP7093014 A JP 7093014A JP 9301495 A JP9301495 A JP 9301495A JP H08262974 A JPH08262974 A JP H08262974A
Authority
JP
Japan
Prior art keywords
house
data
input system
screen
recognized
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
JP7093014A
Other languages
Japanese (ja)
Other versions
JP3582143B2 (en
Inventor
Hideki Kono
秀樹 河野
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 JP09301495A priority Critical patent/JP3582143B2/en
Priority to US08/625,520 priority patent/US5987173A/en
Publication of JPH08262974A publication Critical patent/JPH08262974A/en
Priority to US09/296,526 priority patent/US6118897A/en
Application granted granted Critical
Publication of JP3582143B2 publication Critical patent/JP3582143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE: To provide a house recognizing method in a map input system capable of reducing an operator's workload and also of quick processing. CONSTITUTION: When an operator specifies a frame on the screen of a CRT display 14 after having a scanner 14 read out a map its binarization data transformed into vectorization data, a graphic of a closed loop in shape larger than a specified size is extracted as a graphic of a house for a recognition object. The graphic of the house for the recognition object is processed in shaping and connecting and the processed result is displayed on the screen of the CRT display 14. The operator decides correct/error of it to see whether or not the results of the process show the actual house, and registers only necessary results.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、地図を入力して得られ
た二値画像データをベクトルデータに変換した後、家屋
図形を認識しコード化する地図入力システムにおける家
屋認識方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a house recognition method in a map input system for converting binary image data obtained by inputting a map into vector data and then recognizing and coding house figures. .

【0002】[0002]

【従来の技術】従来、地図を読み取り、各図形要素をベ
クトルデータに変換し、家屋図形については認識しコー
ド化する地図入力システムが各種提案されている。たと
えば、従来の対話型の地図入力システムでは、まず、地
図をスキャナで読み取って、二値画像データを得る。次
に、オペレータが位置入力装置を用いて、図形要素を一
つずつピックしてベクトルデータに変換する。そして、
家屋図形については一つずつピックすることにより家屋
図形であることを認識しコード化する。その後、地図中
に含まれるシンボルについてはシンボル認識を行い、ま
た、図形への属性付けや図形間の関連付け等の構造化処
理を行い、構造化されたデータベースが構築される。
2. Description of the Related Art Conventionally, various map input systems have been proposed in which a map is read, each figure element is converted into vector data, and a house figure is recognized and coded. For example, in a conventional interactive map input system, first, a map is read by a scanner to obtain binary image data. Next, the operator uses the position input device to pick up the graphic elements one by one and convert them into vector data. And
The house figures are coded by recognizing that they are house figures by picking them one by one. After that, symbol recognition is performed on the symbols included in the map, and structuring processing such as attribute assignment to figures and association between figures is performed to build a structured database.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
対話型の地図入力システムでは、家屋図形を認識する
際、オペレータが家屋図形を一つずつ指定することによ
って処理していたので、オペレータに多大な作業負担が
かかると共に、処理を迅速に行うことができないという
問題があった。
However, in the conventional interactive map input system, when recognizing a house figure, the operator processes the figure by designating the house figures one by one. There is a problem that the work load is imposed and the processing cannot be performed quickly.

【0004】本発明は上記事情に基づいてなされたもの
であり、オペレータの作業負担を軽減することができる
と共に、処理を迅速に行うことができる地図入力システ
ムにおける家屋認識方法を提供することを目的とするも
のである。
The present invention has been made based on the above circumstances, and an object of the present invention is to provide a house recognition method in a map input system which can reduce the work load on an operator and can perform processing quickly. It is what

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めの請求項1記載の発明は、予め処理対象である地図を
読み取り、得られた二値画像データをベクトルデータに
変換した後、家屋図形を認識する地図入力システムにお
ける家屋認識方法において、画面上で枠を指定したとき
に、前記枠内において閉ループ形状であって所定の大き
さ以上である図形を認識対象の家屋図形として抽出し、
その抽出した前記認識対象の家屋図形を家屋形状に整形
して画面上に表示した後、前記認識対象の家屋図形につ
いて登録するかどうかを指示することを特徴とするもの
である。
In order to achieve the above object, the invention according to claim 1 reads a map to be processed in advance, converts the obtained binary image data into vector data, and then, In the house recognition method in the map input system for recognizing a figure, when a frame is specified on the screen, a figure that is a closed loop shape and has a predetermined size or more in the frame is extracted as a house figure to be recognized,
It is characterized in that after the extracted house figure to be recognized is shaped into a house and displayed on the screen, whether or not to register the house figure to be recognized is instructed.

【0006】請求項2記載の発明に係る地図入力システ
ムにおける家屋認識方法は、請求項1記載の発明におい
て、前記認識対象の家屋図形を家屋形状に整形した後、
前記認識対象の家屋図形とすでに登録されている家屋図
形とに対して本来重なるべき辺がずれている場合にその
ずれている辺を一致させる接続処理を行うことを特徴と
するものである。
A house recognition method in a map input system according to a second aspect of the present invention is the method according to the first aspect of the invention, wherein after the house figure to be recognized is shaped into a house,
When the sides of the recognition target house figure and the already registered house figure are deviated from each other, connection processing is performed to match the deviated sides.

【0007】[0007]

【作用】請求項1記載の発明は前記の構成によって、画
面上で枠を指定すると、枠内において閉ループ形状であ
って所定の大きさ以上である図形を認識対象の家屋図形
として抽出し、整形処理を行って画面上に表示すること
により、オペレータは、枠で認識対象の家屋図形を一括
して指定した後は、認識対象の家屋図形については画面
上に表示された結果に基づいて登録するかどうかを指示
するだけでよいので、オペレータの作業負担を軽減する
ことができると共に、処理を迅速に行うことができる。
また、枠で認識対象の家屋図形を一括して指定すること
ができるので、従来の対話的な処理方法に比べて、操作
性が向上する。
According to the invention described in claim 1, when a frame is designated on the screen by the above configuration, a closed loop shape having a size larger than a predetermined size is extracted as a recognition target house figure and shaped. By performing processing and displaying it on the screen, the operator collectively specifies the house figures to be recognized in the frame, and then registers the house figures to be recognized based on the result displayed on the screen. Since it is only necessary to instruct whether or not it is possible to reduce the work load on the operator and to perform the processing quickly.
Further, since the house figures to be recognized can be designated collectively by the frame, the operability is improved as compared with the conventional interactive processing method.

【0008】請求項2記載の発明は前記の構成によっ
て、認識対象の家屋図形を家屋形状に整形した後、接続
処理を行うことにより、認識対象の家屋図形について必
要な修正を自動的に行うことができる。
According to the second aspect of the present invention, by performing the connection process after shaping the recognition target house figure into a house shape by the above configuration, the necessary correction is automatically performed on the recognition target house figure. You can

【0009】[0009]

【実施例】以下に本発明の一実施例について図面を参照
して説明する。図1は本発明の一実施例である家屋認識
方法を用いた地図入力システムの概略構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of a map input system using a house recognition method according to an embodiment of the present invention.

【0010】図1に示す地図入力システムは、画像入力
装置としてのスキャナ12と、CRT表示装置14と、
位置入力装置(pointing device )16と、中央処理装
置18と、要素ファイル22と、輪郭線ファイル24
と、領域ファイル26と、ベクトルファイル28と、構
造化ファイル32とを備えるものである。本実施例で
は、たとえば住宅地図をデータベース化する場合を考え
る。
The map input system shown in FIG. 1 includes a scanner 12 as an image input device, a CRT display device 14, and
A pointing device 16, a central processing unit 18, an element file 22, and a contour line file 24.
, A region file 26, a vector file 28, and a structured file 32. In this embodiment, for example, consider a case where a database of house maps is created.

【0011】スキャナ12は、図面を光学的に走査し、
二値画像データとして入力するものである。CRT表示
装置14は、図面を入力した結果や後に詳述する家屋認
識処理の結果等を表示するものである。位置入力装置1
6は、認識対象図形を選択するためにその図形の位置座
標データを入力するものであり、キーボードやマウス等
が用いられる。特に、家屋認識処理を行う場合には、マ
ウスを用いてCRT表示装置14の画面上で枠を指定
し、その枠内に含まれる図形を一括して選択することが
できる。
The scanner 12 optically scans the drawing,
It is input as binary image data. The CRT display device 14 displays a result of drawing input, a result of house recognition processing described in detail later, and the like. Position input device 1
Reference numeral 6 is for inputting position coordinate data of a figure to be recognized, and a keyboard, a mouse or the like is used. In particular, in the case of performing the house recognition process, it is possible to specify a frame on the screen of the CRT display device 14 using the mouse and select the figures included in the frame all together.

【0012】ここで、スキャナ12から入力された二値
画像データとしては、ファクシミリ等で使用されている
ランレングス形式を基本としたラスターデータを採用し
ている。このラスターデータは、たとえば走査線上で画
素値が「0」(白)から「1」(黒)に変化した始めの
座標を始点、画素値が「1」から「0」に変化する最後
の座標を終点とするベクトルデータである。
Here, as the binary image data input from the scanner 12, raster data based on the run length format used in facsimiles is adopted. This raster data is, for example, the starting coordinates at the start of the pixel value change from “0” (white) to “1” (black) on the scan line, and the last coordinates at which the pixel value changes from “1” to “0”. Is vector data whose end point is.

【0013】要素ファイル22には、ラスターデータを
ラベリング処理した後、各図形要素毎に抽出した特徴量
(要素データ)が記憶される。ここでは、要素データと
して、重心、面積、外接長方形、モーメント等を用い
る。輪郭線ファイル24には、各図形要素毎にそのラス
ターデータのエッジを取り出した輪郭線のデータが記憶
される。輪郭線は多角形近似され、多数の線分から構成
されており、また、一の輪郭線は閉じた折れ線になって
いる。このため、輪郭線データは、各輪郭線毎にそれを
構成する線分をベクトル化したデータとして持ってい
る。尚、要素データは、輪郭線のデータとポインタによ
りリンクが取られている。
The element file 22 stores the feature amount (element data) extracted for each graphic element after the raster data is labeled. Here, the center of gravity, area, circumscribed rectangle, moment, etc. are used as the element data. The contour line file 24 stores the contour line data obtained by extracting the edge of the raster data for each graphic element. The contour line is approximated to a polygon and is composed of a large number of line segments, and one contour line is a closed polygonal line. For this reason, the contour line data has, as vectorized data, the line segments that make up each contour line. The element data is linked to the outline data by a pointer.

【0014】領域ファイル26には、輪郭線を構成する
各線分が図面全体のどの領域に含まれるのかを示す領域
データが記憶される。領域データは木構造で管理され
る。かかる木構造によるデータ管理では、各分岐節点が
図面上の分割途中の領域を表し、葉にそれが表す領域に
含まれる輪郭線データへのポインタが記憶される。した
がって、ある領域を指定すると、その指定された領域に
対応する葉を探索し、そこのポインタに基づいて、その
指定された領域に含まれる輪郭線の線分を決定すること
ができる。一例として、略十字の図形について領域デー
タの木構造を説明する。この十字の図形について、ラス
ターデータのエッジを取り出した輪郭線を図2(a)に
示す。輪郭線を構成する各線分はその外接長方形毎に管
理される。そして、図面全体は、図2(b)に示すよう
に、各線分の外接長方形が一つずつ含まれるような領域
まで分割される。この分割過程は、図2(c)に示すよ
うな領域管理ツリーとして表され、領域管理ツリーの葉
が、最小の分割領域に対応する。
The area file 26 stores area data indicating in which area of the entire drawing each line segment forming the outline is included. The area data is managed in a tree structure. In such data management using a tree structure, each branch node represents an area in the middle of division on the drawing, and a leaf stores a pointer to the contour line data included in the area represented by the branch node. Therefore, when a certain area is designated, the leaf corresponding to the designated area can be searched, and the line segment of the contour line included in the designated area can be determined based on the pointer there. As an example, a tree structure of area data for a substantially cross figure will be described. FIG. 2 (a) shows the contour line of the edge of raster data of this cross figure. Each line segment forming the contour line is managed for each circumscribed rectangle. Then, as shown in FIG. 2B, the entire drawing is divided into areas including one circumscribed rectangle for each line segment. This division process is represented as an area management tree as shown in FIG. 2C, and the leaves of the area management tree correspond to the smallest divided areas.

【0015】中央処理装置18は、対話型図面入力プロ
グラムに基づいて、所定の処理を実行するものである。
たとえば、入力された二値画像データ(ラスターデー
タ)に基づいて前処理的にラベリング処理、特徴量抽出
処理や輪郭線抽出処理等を施し、要素データ、輪郭線デ
ータ、領域データを作成したり、また、対話的に認識対
象図形を芯線化し、ラスターデータのベクトル化処理を
行う。ベクトルファイル28には、ベクトル化処理後の
ベクトルデータが格納される。更に、このベクトル化処
理の後、家屋図形を認識しコード化する家屋認識処理を
行う。この家屋認識処理の際には、整形処理や接続処理
等も実行させることができる。整形処理とは、家屋図形
を単にベクトル化した段階では、家屋図形の一つの辺も
複数の折れ線となっていることがあるため、これを一本
の線に整形したり、また、家屋図形の角が面取りされる
ことがあるため、この面取りされた部分を元の角に整形
したりする処理のことである。接続処理とは、認識対象
の家屋図形とすでに登録されている家屋図形とについ
て、本来重なるべき辺がずれている場合に、そのずれて
いる辺を一致させる処理のことである。
The central processing unit 18 executes predetermined processing based on an interactive drawing input program.
For example, based on the input binary image data (raster data), pre-processing labeling processing, feature amount extraction processing, contour line extraction processing, etc. are performed to create element data, contour line data, area data, In addition, the figure to be recognized is interactively skeletonized, and the raster data is vectorized. The vector file 28 stores vector data after vectorization processing. Further, after this vectorization process, a house recognition process for recognizing and coding the house figure is performed. At the time of this house recognition processing, shaping processing, connection processing, etc. can also be executed. The shaping process is that when a house figure is simply vectorized, one side of the house figure may have multiple polygonal lines, so this can be shaped into a single line, Since the corner may be chamfered, this is a process of shaping the chamfered part into the original corner. The connection process is a process of matching the displaced sides of the recognition target house figure and the already registered house figure when the sides that should originally overlap are displaced.

【0016】また、中央処理装置18は、図形に対しそ
の意味や属性を与える属性付与、図形間の意味的関係を
定義する関連付けといった構造化処理を行う。構造化フ
ァイル32には、構造化されたデータが格納され、CA
Dデータベースとして使用される。尚、これらの各処理
は、CRT表示装置14の画面上に表示されたメニュー
の中から所定のコマンドを位置入力装置16で指定する
ことにより、実行される。
Further, the central processing unit 18 carries out a structuring process such as giving attributes to the figures to give their meanings and attributes, and associating the figures to define the semantic relationship. Structured data is stored in the structured file 32.
Used as D database. It should be noted that each of these processes is executed by designating a predetermined command from the menu displayed on the screen of the CRT display device 14 using the position input device 16.

【0017】次に、本実施例の地図入力システムにおけ
る処理手順について図3乃至図6を用いて説明する。図
3は芯線化処理の手順を説明するための図、図4はその
芯線化処理を具体的に説明するための図、図5は本実施
例の地図入力システムにおける家屋認識方法を説明する
ための図、図6はその地図入力システムにおける家屋認
識方法において接続処理を説明するための図である。
Next, a processing procedure in the map input system of this embodiment will be described with reference to FIGS. FIG. 3 is a diagram for explaining the procedure of the skeletonization process, FIG. 4 is a diagram for specifically explaining the skeletonization process, and FIG. 5 is a diagram for explaining a house recognition method in the map input system of the present embodiment. 6 and FIG. 6 are diagrams for explaining the connection processing in the house recognition method in the map input system.

【0018】まず、図面をスキャナ12により読み取
り、ラスターデータを得る(step 2)。たとえば、図4
(a)に示すような四つの家屋図形についてのラスター
データを得たとする。中央処理装置18は、このラスタ
ーデータに基づいてラベリング処理を行った後、ラベリ
ングした各図形要素毎に特徴量を抽出し、要素データを
作成し、これを要素ファイル22に記憶する。また、各
図形要素毎にそのラスターデータのエッジを取り出して
輪郭線のデータを得て、これを輪郭線ファイル24に記
憶する(step 4)。その後、輪郭線データに基づいて、
輪郭線を構成する各線分についてその外接長方形に関す
る情報を木構造で管理する領域データを作成する(step
6)。
First, the drawing is read by the scanner 12 to obtain raster data (step 2). For example, in FIG.
It is assumed that raster data about four house figures as shown in (a) is obtained. After performing the labeling process based on this raster data, the central processing unit 18 extracts the feature amount for each labeled graphic element, creates the element data, and stores it in the element file 22. Further, the edge of the raster data is extracted for each graphic element to obtain contour line data, and this is stored in the contour line file 24 (step 4). After that, based on the contour line data,
Region data that manages information about the circumscribed rectangle of each line segment that constitutes the contour in a tree structure is created (step
6).

【0019】次に、認識対象図形について芯線化処理を
対話的に行う。ここで、芯線化処理とは、二つの線分に
内接する円の中心を繋いだ線を求める処理のことであ
る。まず、オペレータが位置入力装置16によりCRT
表示装置14の画面上の所定領域をピックし、認識対象
となる一対の線分を指定する(step 8)。ここでは、図
4(a)に示すように、左上の家屋図形の上側の略平行
な二つの線分S1 ,S2を指定したとする。すると、図
4(b)に示すように、領域管理ツリー内を探索し、ピ
ックされた画面上の所定領域に対応する葉を見つけだす
(step12)。そして、その葉に記憶されたポインタに基
づいて、線分S1 ,S2 に対応する輪郭線データを輪郭
線ファイル24から抽出する(step14)。次に、図4
(c)に示すように、抽出した二つの線分S1 ,S2
芯線化処理を施し、芯線を生成する(step16)。このよ
うに領域を指定し、二つの線分から芯線を生成した後
は、その二つの線分を追跡処理して、引き続き芯線を生
成していく。すなわち、輪郭線自体は一本に繋がってい
るので、直接、輪郭線ファイル24から、いま芯線化し
た線分S1 ,S2 と所定方向、たとえば図4(a)にお
いて左方向に繋がっている輪郭線の線分を自動的に取り
出し、芯線を生成して折れ線を生成する(step18)。そ
して、たとえば、家屋図形の交差点や曲がり角等にくる
と、芯線が生成されなくなり、芯線化処理が止まる。そ
の後、オペレータが、次の認識対象となる一対の線分を
図面入力装置16により指定すると、たとえば左上の家
屋図形の左側の略平行な二つの線分S3 ,S4 を指定す
ると、同様に芯線化処理が行われる。このようにしてす
べてのラスターデータについて芯線化処理を行う。こう
して芯線化して得られたベクトルデータは、ベクトルフ
ァイル28に格納される(step22)。
Next, the skeletonizing process is interactively performed on the figure to be recognized. Here, the skeletonization process is a process of obtaining a line connecting the centers of circles inscribed in two line segments. First, the operator uses the position input device 16 to perform a CRT.
A predetermined area on the screen of the display device 14 is picked and a pair of line segments to be recognized is designated (step 8). Here, as shown in FIG. 4A, it is assumed that two substantially parallel line segments S 1 and S 2 above the upper left house figure are designated. Then, as shown in FIG. 4B, the area management tree is searched to find a leaf corresponding to the selected predetermined area on the screen (step 12). Then, the contour line data corresponding to the line segments S 1 and S 2 is extracted from the contour line file 24 based on the pointer stored in the leaf (step 14). Next, FIG.
As shown in (c), the two extracted line segments S 1 and S 2 are subjected to a skeletonization process to generate a skeleton (step 16). After the area is designated in this way and the core line is generated from the two line segments, the two line segments are traced to continuously generate the core line. That is, since the contour lines themselves are connected to each other, they are directly connected from the contour line file 24 to the line segments S 1 and S 2 that have been cored in a predetermined direction, for example, to the left in FIG. 4A. The line segment of the contour line is automatically extracted, the core line is generated, and the polygonal line is generated (step 18). Then, for example, at the intersection or the corner of the house figure, the core line is not generated, and the core line conversion process is stopped. After that, when the operator designates the next pair of line segments to be recognized by the drawing input device 16, for example, when the two substantially parallel line segments S 3 , S 4 on the left side of the upper left house figure are designated, Skeletonization processing is performed. In this way, skeletonization processing is performed for all raster data. The vector data thus obtained by skeletonizing is stored in the vector file 28 (step 22).

【0020】次に、具体的な家屋図形について家屋認識
処理を行う。ここでは、家屋認識処理の際に、接続処理
も行うようにコマンドを選択しているとする。まず、オ
ペレータが位置入力装置16によりCRT表示装置14
の画面上で枠を設定し、その枠内の領域を指定する(st
ep32)。ここでは、説明を簡単にするために、図6
(a)に示すように、右上の家屋図形H4 のみを含む領
域を指定したとする。また、家屋図形H4 の近傍に存在
する家屋図形H1 ,H2 ,H3 はすでに認識されて登録
されているとする。step32で領域を指定すると、この指
定した領域内で、閉ループ形状であって所定の大きさ以
上である図形を抽出する(step34)。一般に家屋図形は
四角形等の簡単な閉じた図形となっているため、この閉
ループ形状のものは、認識対象の家屋図形であるとみな
される。また、地図上では家屋図形はある程度の大きさ
をもって描かれているため、予め指定した大きさ以上の
図形だけを抽出することにしている。これにより、枠内
に含まれる、たとえば地図記号のような小さな図形を最
初から排除して、認識対象の家屋図形を効率よく抽出す
ることができる。その後、抽出した認識対象の家屋図形
について、各辺を真っ直ぐな線に修正したり、面取りさ
れた部分を角に修正したりして、家屋形状に整形する
(step36)。
Next, a house recognition process is performed on a specific house figure. Here, it is assumed that the command is selected so that connection processing is also performed during the house recognition processing. First, the operator uses the position input device 16 to display the CRT display device 14
Set a frame on the screen and specify the area within the frame (st
ep32). Here, in order to simplify the explanation, FIG.
As shown in (a), it is assumed that an area including only the upper right house figure H 4 is designated. It is also assumed that the house figures H 1 , H 2 , H 3 existing near the house figure H 4 have already been recognized and registered. When the area is designated in step 32, a figure having a closed loop shape and having a predetermined size or more is extracted in the designated area (step 34). In general, a house figure is a simple closed figure such as a quadrangle, and thus the closed loop shape is regarded as a house figure to be recognized. Moreover, since the house figure is drawn with a certain size on the map, only the figure having a size larger than a predetermined size is extracted. As a result, a small figure such as a map symbol included in the frame can be excluded from the beginning, and the house figure to be recognized can be efficiently extracted. After that, the extracted house figure to be recognized is shaped into a house by correcting each side into a straight line or a chamfered part into a corner (step 36).

【0021】次に、認識対象の家屋図形について、すで
に登録されている家屋図形との接続処理を行う(step3
8)。まず、認識対象の家屋図形H4 の各辺に対して、
所定の範囲内で一番近い登録家屋図形を選択する。たと
えば、認識対象の家屋図形H4の辺a4 については、登
録家屋図形H1 が選択される。そして、認識対象の家屋
図形H4 の辺a4 に対して、略平行で、かつ所定の距離
以下である登録家屋図形H1 の辺があるかどうかを調べ
る。ここで、所定の距離としては、たとえば、数ピクセ
ル、すなわち0.3mm〜0.4mm程度に設定してい
る。具体的には、この距離は、太い線であるか細い線で
あるかも考慮に入れて、線幅の何割であるというように
指定している。実際、二つの辺が0.3mm〜0.4m
m程度ずれていても、人間が見る限りでは、あまり違い
はないが、たとえば画面をズームしたりすると、違いが
出てくる。この接続処理は、たとえば土地の面積を計算
したり、実際にデータを数値として使用する必要がある
場合に有効である。
Next, the house figure to be recognized is connected to the already registered house figure (step 3).
8). First, for each side of the recognition target house figure H 4 ,
Select the nearest registered house figure within a predetermined range. For example, the registered house figure H 1 is selected for the side a 4 of the house figure H 4 to be recognized. Then, it is checked whether or not there is a side of the registered house figure H 1 that is substantially parallel to the side a 4 of the house figure H 4 to be recognized and is a predetermined distance or less. Here, the predetermined distance is set to, for example, several pixels, that is, about 0.3 mm to 0.4 mm. Specifically, this distance is specified as a percentage of the line width, taking into consideration whether it is a thick line or a thin line. Actually, the two sides are 0.3mm-0.4m
Even if it is deviated by about m, there is not much difference as far as human beings can see it, but when the screen is zoomed, for example, a difference appears. This connection process is effective, for example, when calculating the area of land or when it is necessary to actually use the data as numerical values.

【0022】そして、認識対象の家屋図形H4 の辺a4
に対して、略平行で、かつ所定の距離以下である登録家
屋図形H1 の辺があれば、これを接合辺として決定す
る。この場合は、登録家屋図形H1 の辺a1 が接合辺と
して決定される。そして、図6(b)に示すように、認
識対象の家屋図形H4 の辺a4 の両端の点p4 ,q4
登録家屋図形H1 の辺a1 の両端の点p1 ,q1 に一致
するようにして、認識対象の家屋図形H4 の辺a4 を伸
縮したり、移動することにより、認識対象の家屋図形H
4 の辺a4 を接合辺に接合する。その後、認識対象の家
屋図形H4 の他の辺b4 ,c4 ,d4 についても順次、
同様の処理を行い、認識対象の家屋図形H4 の辺b4
登録家屋図形H3 の辺b3 に接合される。一方、認識対
象の家屋図形H4 の辺c4 ,d4 については、どの登録
家屋図形の辺とも接合されないが、認識対象の家屋図形
4 の辺a4 ,b4 が接合された結果、自動的に伸縮、
移動される。こうして、認識対象図形H4 は、図6
(c)に示すように、登録家屋図形H1 ,H3 と境界が
一致するようになる。
Then, the side a 4 of the house figure H 4 to be recognized
On the other hand, if there is a side of the registered house figure H 1 that is substantially parallel and is a predetermined distance or less, this is determined as the joining side. In this case, the side a 1 of the registered house figure H 1 is determined as the joining side. Then, as shown in FIG. 6B, points p 4 and q 4 at both ends of the side a 4 of the house figure H 4 to be recognized are points p 1 and q at both ends of the side a 1 of the registered house figure H 1. By extending or contracting the side a 4 of the recognition target house figure H 4 so as to match 1 , the recognition target house figure H 4
4 of the sides a 4 joined to the joining edge. Thereafter, the other side b 4 of the recognition target house graphic H 4, c 4, sequentially applies d 4,
By performing the same process, the side b 4 of the recognition target house figure H 4 is joined to the side b 3 of the registered house figure H 3 . On the other hand, the results for the side c 4, d 4 of the recognition target house graphic H 4 is not bonded with the sides of which registration house shape, the sides a 4, b 4 of the recognition target house graphic H 4 are joined, Stretch automatically,
Be moved. In this way, the recognition target figure H 4 is obtained as shown in FIG.
As shown in (c), the boundaries come to coincide with the registered house figures H 1 and H 3 .

【0023】このように一つの認識対象の家屋図形につ
いて接続処理を行った後、その処理結果をCRT表示装
置14の画面上に表示する。家屋認識処理を閉ループ形
状の図形に対して行っているので、たとえば円形の図形
等、実際には家屋図形でないものについてまで処理して
いる可能性がある。このため、オペレータは、処理され
たものが実際家屋を表すものであるかどうかについて正
誤判定を行い(step42)、それが家屋であるならば、画
面上に表示された「登録」のボタンを押す。これによ
り、認識対象の家屋図形はベクトルファイル28にコー
ド化して登録される。一方、処理されたものが家屋でな
かったり、登録する必要がなければ、オペレータは、画
面上に表示された「取消」のボタンを押して、登録を行
わない。そして、枠で指定した領域内に、他の認識対象
の家屋図形が含まれていれば、それらについても、同様
に整形処理(step36)及び接続処理(step38)が行わ
れ、その結果がCRT表示装置14の画面上に表示され
るので、オペレータは、その処理結果について正誤判定
を行う。
After performing the connection process for one house figure to be recognized, the process result is displayed on the screen of the CRT display device 14. Since the house recognition process is performed on the closed-loop figure, there is a possibility that even a figure that is not actually a house figure, such as a circular figure, may be processed. For this reason, the operator makes a correct / wrong judgment as to whether or not the processed one actually represents a house (step 42), and if it is a house, presses the "register" button displayed on the screen. . As a result, the house figure to be recognized is coded and registered in the vector file 28. On the other hand, if the processed item is not a house or there is no need to register, the operator does not register by pressing the "Cancel" button displayed on the screen. Then, if the area specified by the frame contains other recognition-target house figures, the shaping process (step 36) and the connection process (step 38) are similarly performed for these, and the result is displayed on the CRT. Since it is displayed on the screen of the device 14, the operator judges whether the processing result is right or wrong.

【0024】その後、地図中に含まれるシンボルについ
てはシンボル認識を行い、また、構造化処理を対話的に
行って、得られた構造化データは構造化ファイル32に
格納される。尚、シンボル認識処理においては、要素デ
ータと輪郭線データが必要となるが、輪郭線データは要
素データとリンクが取られているため、輪郭線データを
要素データから取り出すという処理になっている。
After that, the symbols included in the map are recognized, and the structured processing is performed interactively, and the obtained structured data is stored in the structured file 32. In the symbol recognition processing, the element data and the contour line data are required, but since the contour line data is linked to the element data, the contour line data is extracted from the element data.

【0025】本実施例の地図入力システムにおける家屋
認識方法では、画面上で枠を指定すると、枠内において
閉ループ形状であって所定の大きさ以上である図形を認
識対象の家屋図形として抽出し、整形処理や接続処理を
行って画面上に表示することにより、オペレータは、枠
で認識対象の家屋図形を一括して指定した後は、認識対
象の家屋図形については画面上に表示された結果に基づ
いて登録するかどうかを指示するだけでよいので、オペ
レータの作業負担を軽減することができると共に、処理
を迅速に行うことができる。また、枠で認識対象の家屋
図形を一括して指定することができるので、従来の対話
的な処理方法に比べて、操作性が向上する。更に、認識
対象の家屋図形を家屋形状に整形した後、接続処理をも
行うことにより、認識対象の家屋図形について必要な修
正を自動的に行うことができる。
In the house recognition method in the map input system of the present embodiment, when a frame is specified on the screen, a closed loop shape having a size equal to or larger than a predetermined size is extracted as a house pattern to be recognized in the frame, By performing shaping processing and connection processing and displaying on the screen, the operator collectively specifies the house figures to be recognized in the frame, and then the house figures to be recognized are displayed in the result displayed on the screen. Since it is only necessary to instruct whether to register based on the above, it is possible to reduce the work load on the operator and to perform the processing quickly. Further, since the house figures to be recognized can be designated collectively by the frame, the operability is improved as compared with the conventional interactive processing method. Further, after the recognition target house figure is shaped into a house shape, the connection processing is also performed, so that the necessary correction can be automatically performed on the recognition target house figure.

【0026】尚、本発明は上記の実施例に限定されるも
のではなく、その要旨の範囲内において種々の変形が可
能である。たとえば、上記の実施例において、家屋認識
処理の際に、接続処理についてのコマンドを選択してい
ない場合には、認識対象の家屋図形を家屋形状に整形し
た後、その処理結果を画面に表示し、オペレータが正誤
判定することになる。
The present invention is not limited to the above embodiment, but various modifications can be made within the scope of the invention. For example, in the above embodiment, when the command for connection processing is not selected during the house recognition processing, the house figure to be recognized is shaped into the house shape, and the processing result is displayed on the screen. The operator will make a correctness decision.

【0027】[0027]

【発明の効果】以上説明したように請求項1記載の発明
によれば、画面上で枠を指定すると、枠内において閉ル
ープ形状であって所定の大きさ以上である図形を認識対
象の家屋図形として抽出し、整形処理を行って画面上に
表示することにより、オペレータは、枠で認識対象の家
屋図形を一括して指定した後は、認識対象の家屋図形に
ついては画面上に表示された結果に基づいて登録するか
どうかを指示するだけでよいので、オペレータの作業負
担を軽減することができると共に、処理を迅速に行うこ
とができる地図入力システムにおける家屋認識方法を提
供することができる。
As described above, according to the first aspect of the present invention, when a frame is specified on the screen, a figure which is a closed loop shape and has a predetermined size or more in the frame is a house figure to be recognized. As a result, after the operator collectively specifies the house figures to be recognized in the frame by displaying them on the screen after performing the shaping process as a result, the house figures to be recognized are displayed on the screen as a result. Since it is only necessary to instruct whether or not to register based on the above, it is possible to provide a house recognition method in a map input system that can reduce the work load on the operator and can perform the processing quickly.

【0028】請求項2記載の発明によれば、認識対象の
家屋図形を家屋形状に整形した後、接続処理を行うこと
により、認識対象の家屋図形について必要な修正を自動
的に行うことができる地図入力システムにおける家屋認
識方法を提供することができる。
According to the second aspect of the present invention, after the house figure to be recognized is shaped into a house shape and then connection processing is performed, necessary correction can be automatically made to the house figure to be recognized. A house recognition method in a map input system can be provided.

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

【図1】本発明の一実施例である家屋認識方法を用いた
地図入力システムの概略構成図である。
FIG. 1 is a schematic configuration diagram of a map input system using a house recognition method according to an embodiment of the present invention.

【図2】領域データの構造を説明するための図である。FIG. 2 is a diagram for explaining the structure of area data.

【図3】芯線化処理の手順を説明するための図である。FIG. 3 is a diagram for explaining a procedure of a core line forming process.

【図4】その芯線化処理を具体的に説明するための図で
ある。
FIG. 4 is a diagram for specifically explaining the skeletonization process.

【図5】本発明の一実施例である地図入力システムにお
ける家屋認識方法を説明するための図である。
FIG. 5 is a diagram illustrating a house recognition method in the map input system according to the embodiment of the present invention.

【図6】その地図入力システムにおける家屋認識方法に
おいて接続処理を説明するための図である。
FIG. 6 is a diagram for explaining a connection process in a house recognition method in the map input system.

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

12 スキャナ 14 CRT表示装置 16 位置入力装置 18 中央処理装置 22 要素ファイル 24 輪郭線ファイル 26 領域ファイル 28 ベクトルファイル 32 構造化ファイル 12 Scanner 14 CRT Display Device 16 Position Input Device 18 Central Processing Unit 22 Element File 24 Contour Line File 26 Area File 28 Vector File 32 Structured File

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 予め処理対象である地図を読み取り、得
られた二値画像データをベクトルデータに変換した後、
家屋図形を認識する地図入力システムにおける家屋認識
方法において、 画面上で枠を指定したときに、前記枠内において閉ルー
プ形状であって所定の大きさ以上である図形を認識対象
の家屋図形として抽出し、その抽出した前記認識対象の
家屋図形を家屋形状に整形して画面上に表示した後、前
記認識対象の家屋図形について登録するかどうかを指示
することを特徴とする地図入力システムにおける家屋認
識方法。
1. A map to be processed is read in advance and the obtained binary image data is converted into vector data,
In the house recognition method in the map input system for recognizing house figures, when a frame is specified on the screen, a closed-loop shape within the frame and having a predetermined size or more is extracted as a house figure to be recognized. A method for recognizing a house in a map input system, characterized by shaping the extracted house figure of the recognition target into a house shape and displaying it on a screen, and then instructing whether to register the house figure of the recognition target. .
【請求項2】 前記認識対象の家屋図形を家屋形状に整
形した後、前記認識対象の家屋図形とすでに登録されて
いる家屋図形とに対して本来重なるべき辺がずれている
場合にそのずれている辺を一致させる接続処理を行うこ
とを特徴とする請求項1記載の地図入力システムにおけ
る家屋認識方法。
2. After shaping the recognition target house figure into a house shape, if the sides that should originally overlap with the recognition target house figure and the already registered house figure are deviated The house recognition method in the map input system according to claim 1, wherein connection processing is performed to match existing sides.
JP09301495A 1995-03-27 1995-03-27 House recognition method in map input system Expired - Fee Related JP3582143B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP09301495A JP3582143B2 (en) 1995-03-27 1995-03-27 House recognition method in map input system
US08/625,520 US5987173A (en) 1995-03-27 1996-03-26 Interactive drawing recognition processing method and apparatus thereof
US09/296,526 US6118897A (en) 1995-03-27 1999-04-22 Interactive drawing recognition processing method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09301495A JP3582143B2 (en) 1995-03-27 1995-03-27 House recognition method in map input system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004166633A Division JP2004253007A (en) 2004-06-04 2004-06-04 Method and device for pattern recognition

Publications (2)

Publication Number Publication Date
JPH08262974A true JPH08262974A (en) 1996-10-11
JP3582143B2 JP3582143B2 (en) 2004-10-27

Family

ID=14070600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09301495A Expired - Fee Related JP3582143B2 (en) 1995-03-27 1995-03-27 House recognition method in map input system

Country Status (1)

Country Link
JP (1) JP3582143B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6344278A (en) * 1986-08-08 1988-02-25 Nippon Telegr & Teleph Corp <Ntt> Semi-automatic drawing input system
JPH04141783A (en) * 1990-10-03 1992-05-15 Dainippon Printing Co Ltd Device and method for preparing electron beam graphic data
JPH04251380A (en) * 1990-09-27 1992-09-07 Mitsubishi Electric Corp Drawing correcting device
JPH0519687A (en) * 1991-07-15 1993-01-29 Tokyo Electric Power Co Inc:The Automatic generation system for road data
JPH0573659A (en) * 1991-06-24 1993-03-26 Kenji Nishiishigaki Method and device for generating map data
JPH05165402A (en) * 1991-04-25 1993-07-02 Fujiretsukusu Kk Device and method for generating simplified photographic map
JPH05181411A (en) * 1991-12-27 1993-07-23 Toshiba Corp Map information collation and update system
JPH05250420A (en) * 1992-03-06 1993-09-28 Nippon Telegr & Teleph Corp <Ntt> Automatic guide map preparation processing system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6344278A (en) * 1986-08-08 1988-02-25 Nippon Telegr & Teleph Corp <Ntt> Semi-automatic drawing input system
JPH04251380A (en) * 1990-09-27 1992-09-07 Mitsubishi Electric Corp Drawing correcting device
JPH04141783A (en) * 1990-10-03 1992-05-15 Dainippon Printing Co Ltd Device and method for preparing electron beam graphic data
JPH05165402A (en) * 1991-04-25 1993-07-02 Fujiretsukusu Kk Device and method for generating simplified photographic map
JPH0573659A (en) * 1991-06-24 1993-03-26 Kenji Nishiishigaki Method and device for generating map data
JPH0519687A (en) * 1991-07-15 1993-01-29 Tokyo Electric Power Co Inc:The Automatic generation system for road data
JPH05181411A (en) * 1991-12-27 1993-07-23 Toshiba Corp Map information collation and update system
JPH05250420A (en) * 1992-03-06 1993-09-28 Nippon Telegr & Teleph Corp <Ntt> Automatic guide map preparation processing system

Also Published As

Publication number Publication date
JP3582143B2 (en) 2004-10-27

Similar Documents

Publication Publication Date Title
US6118897A (en) Interactive drawing recognition processing method and apparatus thereof
US5467411A (en) System with approximation mechanism for recognizing graphical elements in a drawing
JPH0634231B2 (en) How to create mold piece data
US20040032976A1 (en) Method and apparatus for matching streaked pattern image
JPH08262974A (en) House recognizing method in map input system
JPH0981583A (en) Device and method for document filing
JPH11134509A (en) Method for drawing recognizing process and method for construction drawing recognizing process
JPH01126717A (en) Linear graphic input device
JP2004253007A (en) Method and device for pattern recognition
JP3358433B2 (en) Interactive drawing recognition processing method
JPH08339395A (en) Drawing updating method in cad system
JP2637923B2 (en) Method for correcting stripe pattern direction data and information processing apparatus for executing the same, and method for correcting stripe pattern pitch data and information processing apparatus for executing the same
JP2578965B2 (en) Graphic processing unit
JPH0668258A (en) Graphic digitizing device
JP3426005B2 (en) Line figure input device
JPS6344278A (en) Semi-automatic drawing input system
JPH0833917B2 (en) Graphic input processing device by intelligent conversation processing
JP2854588B2 (en) Raster vector conversion method and line figure input device
JPH1173515A (en) Drawing input device and picture structure analysis method used in the same
Nagano et al. Experimental system using an interactive drawing input method
JPH07282230A (en) Method for connecting map drawing data
JPS62107378A (en) Drawing data managing system
JPS61208180A (en) Image description device
JPS636676A (en) Stroke instructing system
JPH09167235A (en) Drawing recognition processing method and device therefor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040408

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040604

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040719

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20070806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080806

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080806

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090806

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090806

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110806

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350