JPH05334437A - Method and device for processing image - Google Patents

Method and device for processing image

Info

Publication number
JPH05334437A
JPH05334437A JP4138334A JP13833492A JPH05334437A JP H05334437 A JPH05334437 A JP H05334437A JP 4138334 A JP4138334 A JP 4138334A JP 13833492 A JP13833492 A JP 13833492A JP H05334437 A JPH05334437 A JP H05334437A
Authority
JP
Japan
Prior art keywords
point
search
boundary
image processing
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4138334A
Other languages
Japanese (ja)
Inventor
Akira Kagami
晃 加賀美
Toshiyuki Ono
俊之 小野
Yuji Kawakami
裕二 川上
Hitoshi Shibata
柴田  均
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4138334A priority Critical patent/JPH05334437A/en
Publication of JPH05334437A publication Critical patent/JPH05334437A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To obtain a method for effectively and highly accurately segmenting a prescribed area from a layout drawing (image) by inputting at least one point to the drawing and recognizing the boundary of an area having the inputted point as its inside point. CONSTITUTION:An optional point A303 in an area 302 to be segmented is picked up by moving a cursor 305 by a mouse 205 while observing a white map 301 outputted on a display 206. The inputted point A303 is set up as a center point and another point other than the center point is searched in an optional direction and a distance between the center point and a searched point is calculated. While changing the direction to be processed, the processing is uniformly repeated in all 360 deg. directions and whether the point detected by the newest search is a point on the boundary of the same closed area as that of the point detected by just preceding search or not is judged according to the extent of change in the calculated distance. Thus, most of an area can be segmented only by specifying a point in a closed area to be segmented without using much labor.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、地図やレイアウト図の
ような配置図(画像)を、その配置図の所定領域に関す
る情報に関して処理を施しやすいように、入力して処理
する方法および装置に関する。さらに、地域マ−ケティ
ング情報や売場に対応した売上げ情報等のような配置図
上の領域属性情報を、配置図上の領域に対応させて、出
力するに好適な画像の処理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for inputting and processing a layout drawing (image) such as a map or a layout drawing so as to easily process information regarding a predetermined area of the layout drawing. .. Further, the present invention relates to an image processing method and apparatus suitable for outputting area attribute information on a layout drawing such as area marketing information and sales information corresponding to a sales floor in association with the area on the layout drawing.

【0002】[0002]

【従来の技術】画像入力装置を用いて計算機入力した地
図やレイアウト図のような配置図から、特定の領域(エ
リアとも言う)を切り出す方法について、特願平02−
279008号公報「画像処理方法及び装置」に記載さ
れている。この方法では、ユーザが予めきれいに描画し
ておいた所定領域の境界線図を画像入力装置から入力し
て、別途画像入力装置から入力した配置図と重ね合わせ
たり、また、配置図を出力装置に出力して、ユーザに所
定領域の境界線図を、出力装置の画面から所定領域の境
界をトレースするように入力させたりしている。
2. Description of the Related Art A method for cutting out a specific region (also referred to as an area) from a layout drawing such as a map or layout drawing inputted by a computer using an image input device is disclosed in Japanese Patent Application No.
No. 279008, "Image processing method and apparatus". In this method, a user draws a boundary line diagram of a predetermined area neatly from an image input device and superimposes it on a layout drawing separately input from the image input device, or outputs the layout drawing to an output device. It is output and the user is made to input a boundary diagram of a predetermined area so as to trace the boundary of the predetermined area from the screen of the output device.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術において
は、配置図の上に切り出すべき領域の数が非常に多いと
き、例えば、住宅地図の中の(世帯別)住居のように、
一枚の地図の上に極めて多数の小さな領域を定義しなけ
ればならないときの、境界トレースによる境界線図描画
(領域の定義/切り出し)に要するユーザの労力は過大
である。上記従来技術は、この労力の過大さに対する課
題を認識してはいるものの、その効率的な解決方法につ
いては触れていない。上記従来技術の範囲内でも、トレ
ースを適当に粗く行うことにより、描画効率を向上さ
せ、ユーザの労力を軽減することは可能である。しか
し、効率化の一方で、境界線の形状をいびつにしてしま
うという問題も発生してしまう。本発明は、このような
課題の認識に基づいてなされたものである。
In the above-mentioned prior art, when the number of regions to be cut out on the layout is very large, for example, as in the case of (households) dwelling in a housing map,
When a large number of small areas have to be defined on a single map, the user effort required for drawing a boundary diagram (defining / cutting out areas) by boundary tracing is excessive. Although the above-mentioned prior art recognizes the problem with respect to the excessive labor, it does not mention the efficient solution. Even within the range of the above-mentioned conventional technique, it is possible to improve the drawing efficiency and reduce the labor of the user by appropriately and roughly tracing. However, while improving efficiency, there is a problem that the shape of the boundary line becomes distorted. The present invention has been made based on the recognition of such problems.

【0004】本発明の目的は、配置図(画像)の所定領
域を効率的かつ高精度に切り出す方法および装置を提供
することにある。
An object of the present invention is to provide a method and apparatus for efficiently and accurately cutting out a predetermined area of a layout drawing (image).

【0005】本発明の他の目的は、本願明細書および添
付する図面から当業者は容易に類推できるであろう。
Other objects of the present invention can be easily inferred by those skilled in the art from the present specification and the accompanying drawings.

【0006】[0006]

【課題を解決するための手段】上記目的は、配置図を画
像入力装置を用いて入力し、入力した配置図を出力装置
に出力し、出力した配置図の上に、少なくとも一つの点
を入力装置から入力し、入力した点を内部の点として持
つ領域の境界を認識し、認識した結果を出力装置に出力
することにより、達成される。
The above object is to input a layout drawing using an image input device, output the input layout drawing to an output device, and input at least one point on the output layout drawing. This is achieved by inputting from the device, recognizing the boundary of the area having the input point as an internal point, and outputting the recognized result to the output device.

【0007】また、領域、特に入力した点を囲む最小の
閉領域の境界の認識においては、入力した点を中心点と
して、任意の一方向に中心点とは別の点を探索し、中心
点と探索で見つかった点との距離を算出し、以上の処理
を方向を変化させながら、中心点を囲む360度の全方
向について均等に繰り返し、算出した距離の変化の程度
に応じて、最新の探索で見つかった点が、最新の探索の
直前の探索で見つかった点と、同一の閉領域の境界上の
点であるか否かを判断することにより、達成される。
Further, in recognizing a boundary of a region, in particular, a minimum closed region surrounding an input point, a point different from the central point is searched in any one direction with the input point as a center point, and the center point is searched. The distance between the point found by the search and the point found by the search is calculated, and while changing the direction, the above processing is repeated evenly in all directions of 360 degrees surrounding the center point, and the latest This is achieved by determining whether the point found in the search is on the same closed region boundary as the point found in the search immediately before the latest search.

【0008】[0008]

【作用】住宅地図のように、切り出したい多数かつ小さ
な領域を含んだ地図は、その領域の大多数が閉領域であ
ることが多く、また白地図と呼ばれる、領域の境界線以
外の線がほとんど記載されていない線図も入手しやす
い。本発明においては、ユーザは切り出したい閉領域の
内部の一点を指定するだけで、その閉領域の切り出し処
理を開始できるため、労力をほとんどかけることなく、
領域の大多数を切り出すことができる。また、切り出す
べき閉領域の境界上の点を、指定した中心点から全方向
にきめ細かく、むらなく探索するため、所望の閉領域を
高精度に切り出すことができる。
[Function] In a map such as a residential map that includes a large number of small areas to be cut out, the majority of the areas are often closed areas, and most of the lines other than the boundaries of the areas are called white maps. It is easy to obtain diagrams that have not been created. In the present invention, the user can start the clipping processing of the closed area by only designating one point inside the closed area to be cut out, and therefore, with almost no labor,
The majority of the area can be cut out. Further, since the points on the boundary of the closed region to be cut out are finely and uniformly searched in all directions from the designated center point, the desired closed region can be cut out with high accuracy.

【0009】以上から明らかなように、配置図またはそ
れに類する図面を入力し、その図面をベ−スとした情報
処理システムは、地図、店舗のレイアウト図の利用や電
子基板上の部品のレイアウト図、ICチップ上レイアウ
ト図の利用など産業上、工学上大いに望まれるものであ
る。本明細書及び添付した図面から、そのような産業
上、工学上望まれている多くの分野に本発明が適用可能
であることを、当業者が類推することは極めて容易なこ
とである。
As is clear from the above, an information processing system in which a layout drawing or a drawing similar thereto is input and the drawing is used as a base is used in a map, a layout drawing of a store, or a layout drawing of parts on an electronic board. It is highly desired from an industrial and engineering point of view, such as the use of layout diagrams on IC chips. From this specification and the accompanying drawings, it is extremely easy for a person skilled in the art to infer that the present invention can be applied to many fields that are industrially and engineeringly desired.

【0010】[0010]

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

【0011】図1は本発明の実施例を示す処理フロ−図
である。図2は本実施例を実現するための装置構成図で
ある。
FIG. 1 is a processing flow chart showing an embodiment of the present invention. FIG. 2 is a device configuration diagram for realizing the present embodiment.

【0012】まず、図2に示す装置構成図を説明する。
その装置構成は、計算機201に画像入力装置202、
出力装置206、記憶装置203および入力装置205
を接続したものである。画像入力装置202は、イメ−
ジスキャナまたはイメ−ジリ−ダと呼ばれる装置であ
る。後述するように、これらの画像入力装置は、白黒の
2値画像を扱えるものであればよい。出力装置206
は、本発明を実施する上ではカラ−の表示装置、特に高
精細なカラ−グラフィックディスプレイが望ましいこと
は言うまでもない。記憶装置203は、磁気記憶装置に
限らず、光ディスクや半導体メモリであってもよい。要
は、プログラムの実行や画像のファイルを格納するため
に十分な容量を備えていればよい。入力装置205は、
図2ではポインティングデバイス(マウス)を示してあ
るが、キ−ボ−ド等の他の入力装置を用いてもよいし、
それらを組み合わせて用いてもよい。以上の説明から当
業者は直ちに類推できるように、本発明を実施する装置
構成は、一般に計算機または計算機システムと呼ばれる
ものであればよい。具体的には、大型計算機、ワ−クス
テ−ション、パ−ソナルコンピュ−タであればよい。当
然のこととして、本発明を実施するために、製作した専
用装置であっても、上述のような周辺機器の機能が充足
されればよい。
First, the device configuration diagram shown in FIG. 2 will be described.
The device configuration is such that the computer 201 has an image input device 202,
Output device 206, storage device 203, and input device 205
Is connected. The image input device 202 is an image
This is a device called a scanner or an image reader. As will be described later, these image input devices only have to be capable of handling a black and white binary image. Output device 206
Needless to say, a color display device, particularly a high-definition color graphic display, is desirable for implementing the present invention. The storage device 203 is not limited to a magnetic storage device, but may be an optical disk or a semiconductor memory. In short, it is sufficient to have a sufficient capacity to execute the program and store the image file. The input device 205 is
Although FIG. 2 shows a pointing device (mouse), other input devices such as a keyboard may be used,
You may use them in combination. As can be easily inferred by those skilled in the art from the above description, the device configuration for implementing the present invention may be one generally called a computer or a computer system. Specifically, it may be a large-scale computer, a workstation, or a personal computer. As a matter of course, even the special-purpose device manufactured in order to carry out the present invention only needs to satisfy the functions of the peripheral devices as described above.

【0013】図2を引用しながら、図1の処理フロ−図
に従って、本実施例における処理動作を説明する。
The processing operation in this embodiment will be described with reference to FIG. 2 and according to the processing flow chart of FIG.

【0014】地図、店舗や事務所のレイアウト図、電子
回路基盤やICチップ上の部品や素子レイアウト図のよ
うな配置図を画像入力装置202を用いて計算機201
へ入力する(ステップ101)。次に、入力した配置図
を出力装置206へ出力する(ステップ102)。出力
した配置図の上の任意の点に対する指定を入力する(ス
テップ103)。入力した点を内部の点として持つ領域
の境界を認識する(ステップ104)。領域の境界と
は、配置図が地図であるならば、行政区画、敷地または
建物の輪郭のことである。領域を認識した結果を出力装
置206へ出力する(ステップ105)。
A map 201, a layout diagram of a store or an office, a layout diagram such as an electronic circuit board or a component or element layout diagram on an IC chip is calculated by using the image input device 202.
(Step 101). Next, the input layout drawing is output to the output device 206 (step 102). The designation for an arbitrary point on the output layout drawing is input (step 103). The boundary of the area having the input point as the internal point is recognized (step 104). The boundary of an area is the outline of an administrative division, site or building if the layout map is a map. The result of recognizing the area is output to the output device 206 (step 105).

【0015】一方、配置図の所定領域の識別子を予め記
憶装置203に格納しておき、この識別子を出力装置2
06に出力する(ステップ106)。所定領域の識別子
は、名称であってもよいし、番号や略号等の符号や記号
であってもよい。なお、出力装置206への出力は、図
を識別子の一覧表と同一画面に出力することが操作性の
上で望ましい。
On the other hand, the identifier of the predetermined area of the layout drawing is stored in advance in the storage device 203, and this identifier is output.
It outputs to 06 (step 106). The identifier of the predetermined area may be a name or a code or symbol such as a number or an abbreviation. In terms of operability, it is desirable to output the figure to the output device 206 on the same screen as the identifier list.

【0016】出力した図上の所定領域と出力した識別子
との対応を、ユ−ザに付けさせる(ステップ107)。
この場合、ユ−ザの対応付けの指定に応じて、指定され
た所定領域や識別子の表示色を変えたり、反転表示した
り、またはブリンクさせるなど他とは異なる態様で表示
すると、操作性が向上する。このユ−ザからの対応付け
に基づいて、出力した図上の所定領域に含まれる位置情
報(座標値)を識別子と対応付けて記憶装置203に格
納する(ステップ108)。
The user is caused to associate the predetermined area on the output drawing with the output identifier (step 107).
In this case, the operability is improved if the display color of the designated predetermined area or identifier is changed, highlighted, or blinked in a different manner according to the user's correspondence designation. improves. Based on the correspondence from the user, the position information (coordinate value) included in the output predetermined area on the drawing is stored in the storage device 203 in association with the identifier (step 108).

【0017】続いて、出力した図上の所定領域に対応さ
せて、所定領域に関する情報を出力装置206に出力す
る(ステップ109)。所定領域に関する情報とは次の
ようなものである。配置図が地図であれば、ある区画
(行政区画、敷地または建物などの区画)ごとの営業実
績や動態を示す情報の場合や、人口や土地利用に関する
情報の場合もある。配置図が店舗や事務所のレイアウト
図の場合は、配置されている物の属性情報や商品の売上
情報などである。配置図が、電子回路基盤やICチップ
上の部品や素子レイアウト図の場合は、部品や素子の名
称や型式、場合によって基盤やチップ上に実装する際の
注意事項などの情報である。
Subsequently, information on the predetermined area is output to the output device 206 in correspondence with the output predetermined area on the drawing (step 109). The information on the predetermined area is as follows. If the layout map is a map, it may be information indicating business performance or dynamics for each section (administrative section, site, building, etc.), or may be information on population and land use. When the layout diagram is a layout diagram of a store or an office, it includes attribute information of the placed items and sales information of the products. When the layout diagram is a layout of components or elements on an electronic circuit board or an IC chip, it is information such as the names and models of the components or elements, and notes on mounting on the board or the chip in some cases.

【0018】以上、本実施例によれば、ユーザは配置図
の上にただ一点を入力するだけで、容易に所定領域の境
界を切り出して、領域情報のビジュアル表示に利用する
ことができる。
As described above, according to the present embodiment, the user can easily cut out the boundary of the predetermined area and use it for the visual display of the area information by only inputting one point on the layout drawing.

【0019】以上の説明から、当業者は容易に実施する
ことが可能であるが、図1のいくつかのステップに関し
て、住宅地図の白地図を配置図として用いる場合につい
て、さらに詳細に説明する。
From the above description, a person skilled in the art can easily implement the present invention, but regarding some steps of FIG. 1, a case where a blank map of a residential map is used as a layout drawing will be described in more detail.

【0020】〈ステップ101〉図3に白地図を示す。
白地図301は、行政区画、敷地または建物などの領域
を、その輪郭線で表現した地図である。ここでは、白地
図301をイメージスキャナ202から入力する。イメ
ージスキャナ202が、白地図を白黒等(白黒でなく、
カラ−の地図でも良い。要は、イメージスキャナ202
で読み込んだ後、計算機201で地図上の行政区画、敷
地または建物と、背景とを区別できれば良い)の2値画
像(地図の描画線は黒、その他は白)に変換する。入力
した白地図301は、磁気ディスク装置203に格納す
る。
<Step 101> FIG. 3 shows a blank map.
The blank map 301 is a map in which an area such as an administrative division, a site or a building is represented by its contour line. Here, the blank map 301 is input from the image scanner 202. The image scanner 202 displays a blank map in black and white (not black and white,
A color map is also acceptable. In short, the image scanner 202
After that, the computer 201 converts it into a binary image of the administrative division, site or building on the map and the background) (the drawing line of the map is black, the others are white). The input white map 301 is stored in the magnetic disk device 203.

【0021】〈ステップ102〉磁気ディスク装置20
3に格納した白地図301を、ディスプレイ206に出
力する。
<Step 102> Magnetic Disk Unit 20
The blank map 301 stored in No. 3 is output to the display 206.

【0022】〈ステップ103〉ユーザは、ディスプレ
イ206に出力された白地図301を見ながら、切り出
したい領域302内部の任意の一点A(303)を、マ
ウス205でカーソル305を移動してピックすること
により、指定入力する。
<Step 103> The user moves the cursor 305 with the mouse 205 and picks an arbitrary point A (303) inside the area 302 to be cut out while looking at the blank map 301 output on the display 206. , Specify.

【0023】〈ステップ104〉図4は、指定入力した
点A(303)を囲む、最小の閉領域の境界を認識する
方法を説明する図である。ここでは、まず、指定入力し
た点A(303)を中心点として、x軸の正方向に黒画
素を探索し始める。この探索で最初に見つかった黒画素
1を、所望の領域の境界線を構成している点の候補と
考え、これと中心点A(303)との距離AB1を算出
する。次に、探索方向を時計回りに1度ずらして、再度
中心点A(303)から黒画素を探索する。上記と同様
に、最初に見つかった黒画素B2も、所望の領域の境界
線を構成している点の候補と考え、中心点A303との
距離AB2を算出する。ここで、中心点A(303)と
連続に探索された二点との距離の変化、一般には|AB
n-1−ABn|(今の場合、n=2)を計算する。この値
が所定の値、例えば3画素以下である場合は、Bn-1
Bnが同一の領域の境界に属している可能性が高いと判
断し、上記処理をさらに探索方向を時計回りに変化させ
ながら繰り返す。最終的には、全方向(360度)につ
いて繰り返すことになる。一方、中心点A(303)と
連続に探索された二点との距離の変化が3画素を超える
場合には、境界のトレースが不連続であった(エラーが
発生した)と判断する。例えば、図4に示した領域30
4では、AB1とAB2との距離の差が大きいため、以下
のエラー処理を行う。
<Step 104> FIG. 4 is a diagram for explaining a method of recognizing the boundary of the minimum closed region surrounding the designated and input point A (303). Here, first, with the designated and input point A (303) as the center point, a black pixel is started to be searched in the positive direction of the x-axis. The black pixel B 1 found first in this search is considered as a candidate for the point forming the boundary line of the desired area, and the distance AB 1 between this and the center point A (303) is calculated. Next, the search direction is shifted clockwise once, and the black pixel is searched again from the center point A (303). Similarly to the above, the first found black pixel B 2 is also considered as a candidate for the point forming the boundary line of the desired area, and the distance AB 2 to the center point A 303 is calculated. Here, a change in distance between the center point A (303) and two points continuously searched, generally | AB
Calculate n −1 −ABn | (in this case, n = 2). When this value is a predetermined value, for example, 3 pixels or less, it is highly likely that Bn -1 and Bn belong to the boundary of the same area, and the above processing is further changed in the clockwise direction. Repeat while making. Eventually, it will be repeated in all directions (360 degrees). On the other hand, when the change in the distance between the center point A (303) and the two points continuously searched exceeds 3 pixels, it is determined that the boundary trace is discontinuous (an error has occurred). For example, the area 30 shown in FIG.
In No. 4, since the difference in distance between AB 1 and AB 2 is large, the following error processing is performed.

【0024】中心点C(401)を、最新の探索で見つ
かった点D2と、その直前の探索でえ見つかった点D1
の中点C′(402)に移動する。この点を新たな中心
点として、D1の方向から探索を再開し、時計回りにD2
の方向まで繰り返す。この繰り返しの途中で、再度エラ
ーが発生した場合は、直ちに処理を打ち切り、中心点C
(401)をその近傍、例えばy方向に3画素離れた位
置の点C′′(403)に移し、最初からもう一度だけ
処理を繰り返す。ただし、多少のカスレがあっても、エ
ラー処理の途中で再度エラーが発生する確率は極端に低
いことが確認されている。さて、中心点を適当に移動す
ると、ユーザの意図した領域とは異なる領域の内部に移
る可能性があるが、移動距離が十分小さい場合は問題な
い。なぜなら、ユーザが領域を指定するときには、十分
領域の真中あたりの点を指定することが期待できるから
である。エラー処理が順調に進み、D2の方向まで探索
を繰り返し終えたら、中心点をもとの位置の点C(40
1)に戻して、もとの探索処理を繰り返す。以上によ
り、領域の形状が多少複雑であっても、またカスレなど
があっても、かなり高精度にその境界を抽出できる。
The center point C (401) is moved to a midpoint C '(402) between the point D 2 found in the latest search and the point D 1 found in the search just before that. With this point as the new center point, the search is restarted from the direction of D 1 and clockwise by D 2
Repeat until direction. If an error occurs again in the middle of this repetition, the processing is immediately terminated and the center point C
(401) is moved to the vicinity thereof, for example, the point C ″ (403) at a position separated by 3 pixels in the y direction, and the process is repeated only once from the beginning. However, it has been confirmed that the probability of an error occurring again during the error processing is extremely low even if there is some blur. By the way, if the center point is moved appropriately, there is a possibility of moving to the inside of a region different from the region intended by the user. This is because when the user specifies the area, it can be expected to specify a point around the middle of the area. When the error processing proceeds smoothly and the search is repeated up to the direction of D 2 , the center point is returned to the point C (40
Return to 1) and repeat the original search process. As described above, even if the shape of the region is somewhat complicated, or even if there is a blur or the like, the boundary can be extracted with high accuracy.

【0025】〈ステップ105〉上記ステップ104
で、最終的に連続した閉領域を抽出できた場合は、白地
図の対応する場所に、黒以外の色、例えば赤色で、図3
の領域306のように、その境界線を太く表示したり、
領域の内部を塗りつぶしてもよい。一方、最終的に連続
した閉領域を抽出できなかった場合は、なにも表示しな
いか、または、抽出に失敗した意を示すメッセージ:
「抽出失敗」を、白地図の対応する場所、具体的には入
力した探索中心点のあたりに小さなウィンドウを開い
て、その上に一時表示する。
<Step 105> Above step 104
Then, if a continuous closed region can be finally extracted, a color other than black, for example, red, is displayed at the corresponding location on the blank map.
Like the area 306 of, the border is displayed thick,
The inside of the area may be filled. On the other hand, if it is not possible to finally extract consecutive closed regions, either nothing is displayed or a message indicating that extraction has failed:
The “extraction failure” is temporarily displayed on a corresponding location on the blank map, specifically, by opening a small window around the input search center point.

【0026】何度試みても抽出できない領域や、開領域
については、従来技術に述べられているような手法、例
えば境界の逐次的トレースを実行すればよい。あるい
は、逐次トレースが面倒なら、図5のように、開領域5
01の主要な境界上の点502、503をユーザが入力
し、システムがその二点を含む、小さな直方体504を
探索限定範囲として設定して、その中で境界線を良く知
られた画像処理技術、例えば8近傍画素の連結関係探索
により、自動的に境界をトレースするようにすればよ
い。これにより、ユーザの労力をあまりかけずに、精度
良く開領域の境界をトレースできる。
For a region that cannot be extracted no matter how many times it is attempted or an open region, a method as described in the prior art, for example, a sequential trace of boundaries may be executed. Alternatively, if the sequential trace is troublesome, as shown in FIG.
The user inputs points 502 and 503 on the main boundary of 01, and the system sets a small rectangular parallelepiped 504 including the two points as a limited search range, in which the boundary line is a well-known image processing technique. For example, the boundary may be automatically traced by searching the connection relation of 8 neighboring pixels. As a result, it is possible to trace the boundary of the open region with high accuracy and without much effort by the user.

【0027】なお、抽出した閉領域の境界を常に360
個以上の点の集合として保持するのは、非常に効率が悪
い。そこで、境界の形状を歪めない範囲内で、少ない点
で境界を表すように代表点を定め、これを磁気ディスク
装置203に記憶する。代表点であるか否かは以下のよ
うに判断する。
It should be noted that the boundary of the extracted closed region is always 360
It is very inefficient to keep it as a set of more than one point. Therefore, a representative point is set so that the boundary is represented by a small number of points within a range that does not distort the shape of the boundary, and this is stored in the magnetic disk device 203. Whether or not it is a representative point is determined as follows.

【0028】探索点Biを順にi=1から順番に結んで
得られるベクトルのうち、隣接する二ベクトル間の角度
変化が所定の値、例えば5度を超える場合に、その共有
点を代表点と判断する。
Of the vectors obtained by connecting search points B i in order from i = 1 in order, when the angle change between two adjacent vectors exceeds a predetermined value, for example, 5 degrees, the common point is the representative point. To judge.

【0029】〈ステップ106〉エリア属性テ−ブル6
02を、境界線図306と同一のディスプレイ206上
に表示する(図6)。エリア属性テ−ブル602は、N
o.、エリアコ−ド及びエリア名称の各フィ−ルドから
なる。エリア名称のフィ−ルドは必ずしも必要ではない
が、ユ−ザがエリア属性テ−ブル602を管理する上で
都合が良いので設けておく。ユ−ザはエリアコ−ドで示
される各領域を、境界線図306で示される各領域に対
応するようにエリア属性テ−ブル602を予め作成して
おく。住宅地図のように、世帯の一つ一つがエリアとし
て管理されるばあいには、エリアテ−ブル602も膨大
なデータ量になるため、ある特定のエリア(複数も可)
に対応する部分だけを指定して、磁気ディスク装置から
読みだして表示する。これにより、エリアと属性情報と
の対応付けを、整然と実施できるようになる。
<Step 106> Area attribute table 6
02 is displayed on the same display 206 as the boundary diagram 306 (FIG. 6). Area attribute table 602 is N
o. , Area code and area name field. The area name field is not always necessary, but it is provided because it is convenient for the user to manage the area attribute table 602. The user creates the area attribute table 602 in advance so that each area indicated by the area code corresponds to each area indicated by the boundary diagram 306. When each household is managed as an area like a residential map, the area table 602 also has a huge amount of data, so a specific area (s) may be used.
Only the part corresponding to is specified and read from the magnetic disk device and displayed. As a result, it becomes possible to perform orderly association between the area and the attribute information.

【0030】〈ステップ107〉エリアコ−ドを仲介と
して、境界線図306中の各エリアとエリア属性とを結
び付ける。ユ−ザは、まず表示されているエリアの中か
ら未登録エリア(エリア属性テ−ブル602との対応付
けがなされていない境界線図306内のエリア)、たと
えば「04エリア」601のどこかを、マウス205で
ポインティングする。すると、本システムはポインティ
ングされた点を内部に含む「04エリア」全体をブリン
クさせる。次に、ユ−ザはエリア属性テ−ブル602中
の一つのタプル、例えばNo.3のタプルのどこかをポ
インティングする。すると、システムはタプル全体をブ
リンクさせる。これにより、計算機(システム)へ、連
結指示情報(対応関係)が入力されたことになる。
<Step 107> Using the area code as an intermediary, each area in the boundary diagram 306 is connected to the area attribute. The user first selects an unregistered area (an area in the boundary diagram 306 that is not associated with the area attribute table 602) from the displayed areas, for example, somewhere in the “04 area” 601. With the mouse 205. Then, the system blinks the entire "04 area" including the point inside. Next, the user selects one tuple in the area attribute table 602, for example, No. Point somewhere in the tuple of 3. The system then blinks the entire tuple. As a result, the connection instruction information (correspondence) is input to the computer (system).

【0031】〈ステップ108〉図6に示すように、境
界線図306は、x−y座標系で管理されている。ステ
ップ107のポインティングによる連結指示情報(対応
関係)に基づき、図8に示す連結テ−ブル801中のエ
リアコ−ドフィ−ルドにエリアコ−ドを格納していく。
例えば、座標(X,Y)=(2,2)の画素が「04」
エリアに含まれるならば、連結テ−ブル801中のN
o.=m+2のエリアコ−ドフィ−ルドにエリアコ−ド
04を付与する。このように、図6の境界線図306の
領域601が「04」エリアであると対応付けられたな
らば、領域601の境界を切り出し、切り出した領域内
の全ての画素に対応して、図8に示す連結テ−ブル80
1中のエリアコ−ドフィ−ルドに、エリアコ−ド04を
付与する。該当エリアが未登録の座標には、nullコ
−ド(ここでは、「−」で表示)が入っている。なお、
図8に示す連結テ−ブル801は、画素に対応してエリ
アコ−ドを格納するようにしてあるが、逆にエリアコ−
ドに対応して、そのエリアコ−ドで表される領域に含ま
れる画素の座標値を格納するようにしてもよい。
<Step 108> As shown in FIG. 6, the boundary diagram 306 is managed in the xy coordinate system. The area code is stored in the area code field in the connection table 801 shown in FIG. 8 based on the connection instruction information (correspondence relationship) by pointing in step 107.
For example, the pixel with coordinates (X, Y) = (2, 2) is “04”.
If it is included in the area, N in the connection table 801
o. Area code 04 is added to the area code field of = m + 2. In this way, if the area 601 of the boundary diagram 306 in FIG. 6 is associated with the “04” area, the boundary of the area 601 is cut out, and all pixels in the cut out area are associated with the figure. Connection table 80 shown in FIG.
Area code 04 is added to the area code field in 1. A null code (indicated by "-" here) is included in the coordinates where the corresponding area is not registered. In addition,
The concatenation table 801 shown in FIG. 8 stores the area code corresponding to the pixel, but conversely, the area code is stored.
Corresponding to the code, the coordinate values of the pixels included in the area represented by the area code may be stored.

【0032】〈ステップ109〉エリアの境界線は(上
記のように画像入力装置202の出力が白黒の2値で得
られる場合)黒で登録されているので、エリア画像内の
あるエリア内全画素について、順次白か黒かの判定をし
ていき、白の場合のみ特定色となるよう、図9の色パレ
ット901の番号を付与する。全エリアについて、上記
方法を用いて、図7に示すエリア別実績テ−ブル701
を参照して、エリアの色変換を行い、ディスプレイ20
6に出力する。なお、上記の各テ−ブル(エリア属性テ
−ブル602、エリア別実績情報テ−ブル701、連結
テ−ブル801)は、磁気ディスク装置203に格納さ
れている。
<Step 109> Since the boundary line of the area is registered in black (when the output of the image input device 202 is obtained as a binary value of black and white as described above), all pixels in an area within the area image are registered. Is sequentially determined, and a number is assigned to the color palette 901 in FIG. 9 so that a specific color is obtained only in the case of white. The area-based actual performance table 701 shown in FIG. 7 is applied to all areas by using the above method.
Refer to to perform color conversion of the area and display 20
Output to 6. The above-mentioned tables (area attribute table 602, area-based performance information table 701, concatenated table 801) are stored in the magnetic disk device 203.

【0033】地図情報がカラ−で得られる場合は、エリ
ア内を特定の色で塗りつぶすのではなく、建物や道路の
境界以外の部分を色塗りしたり、地図に描かれている文
字や記号及び境界線は識別できるような程度に、淡い色
でエリア内の全体の色調を変えたりすると、ユ−ザにと
ってより見易い画面になる。
When map information is obtained in color, the area is not painted in a specific color, but the parts other than the boundaries of buildings and roads are colored, and the characters and symbols drawn on the map and By changing the overall color tone in the area with a light color so that the boundary line can be identified, the screen becomes easier for the user to see.

【0034】本実施例の詳細説明によれば、複雑形状ま
たはカスレのあるエリア境界線でも、簡易かつ精度良く
定義できるという効果が得られる。
According to the detailed description of this embodiment, it is possible to easily and accurately define an area boundary line having a complicated shape or blur.

【0035】以上の実施例では、ユーザが逐一、探索中
心点を入力する場合について説明したが、これをシステ
ム自らが代行することも可能である。具体的には、予め
多数の探索中心点をランダム、もしくは固定的位置に設
定しておけば、ユーザの労力を一切かけずに多数の領域
を切り出すことができる。例えば、図10に示すごと
く、探索中心点1001、1002、1003を設定し
ておけば、いずれにおいても領域302を切り出せるこ
とになる。もちろん、領域の数が多かったり、たまたま
探索中心点を含まない領域がある場合などは、領域の切
り出し残りも発生し得る。このような場合のみ、ユーザ
は対応すればよい。
In the above embodiments, the case where the user inputs the search center point one by one has been described, but the system itself can also substitute this. Specifically, if a large number of search center points are set at random or fixed positions in advance, a large number of regions can be cut out without any effort by the user. For example, as shown in FIG. 10, if search center points 1001, 1002 and 1003 are set, the area 302 can be cut out in any of them. Of course, when there are a large number of regions, or when there is a region that does not happen to include the search center point, uncut regions may remain. Only in such a case, the user should take action.

【0036】次に、図2に示した装置構成図上で本発明
による画像処理方法及び装置を実現する実施例を図11
を用いて説明する。装置構成の概要は図2のそれと同様
であるので説明を省略する。なお、本実施例は図1を用
いて説明した機能に対応させて説明する。
Next, an embodiment for realizing the image processing method and apparatus according to the present invention on the apparatus configuration diagram shown in FIG. 2 is shown in FIG.
Will be explained. Since the outline of the device configuration is the same as that of FIG. 2, its explanation is omitted. The present embodiment will be described in correspondence with the functions described with reference to FIG.

【0037】画像入力装置202を用いて入力した配置
図を、出力装置206へ出力する。出力した配置図上の
任意の一点を、入力装置205から入力する。入力した
点を内部の点として持つ領域の境界を認識する(110
1)。認識した結果を出力装置206に出力する。出力
した図上の所定領域と出力した識別子との対応を、ユ−
ザに付けさせる(1102)。このユ−ザからの対応付
けに基づいて、出力した図上の所定領域に含まれる位置
情報(座標値)を識別子と対応付けて記憶装置203に
格納する(1103)。出力した図上の所定領域に対応
させて、所定領域に関する情報を記憶装置203に記憶
してあるテーブルから選択し(1104)、出力装置2
06に出力する。
The layout drawing input using the image input device 202 is output to the output device 206. An arbitrary point on the output layout drawing is input from the input device 205. Recognize the boundary of the area that has the input points as internal points (110
1). The recognized result is output to the output device 206. The correspondence between the predetermined area on the output diagram and the output identifier is
Let them be attached to the (1102). Based on the correspondence from the user, the position information (coordinate value) included in the output predetermined area on the drawing is stored in the storage device 203 in association with the identifier (1103). The information related to the predetermined area is selected from the table stored in the storage device 203 in association with the predetermined area on the output diagram (1104), and the output device 2
It outputs to 06.

【0038】以上、本実施例によれば、図1を用いて説
明した実施例と同様に、ユーザは配置図の上にただ一点
を入力するだけで、容易に所定領域の境界を切り出し
て、領域情報のビジュアル表示に利用することができ
る。
As described above, according to the present embodiment, as in the embodiment described with reference to FIG. 1, the user can easily cut out the boundary of the predetermined area by inputting only one point on the layout drawing. It can be used for visual display of area information.

【0039】さらに、本実施例は、計算機で実現する各
機能を専用的な回路で実現する場合に対して示唆を与え
ているので、回路技術者にとって専用装置を実現するた
めに有用である。
Further, the present embodiment provides a suggestion to the case where each function realized by the computer is realized by a dedicated circuit, and is useful for a circuit engineer to realize a dedicated device.

【0040】[0040]

【発明の効果】以上詳細に述べた如く、本発明によれ
ば、地図やレイアウト図のような配置図(画像)の所定
領域に関係する情報に関して処理しやすいように、その
配置図を処理する方法および装置を提供できるという顕
著な効果を奏する。
As described above in detail, according to the present invention, a layout drawing is processed so that it is easy to process information related to a predetermined area of the layout drawing (image) such as a map or layout drawing. The remarkable effect that the method and the device can be provided is exhibited.

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

【図1】本発明の実施例を示す処理フロ−図である。FIG. 1 is a processing flowchart showing an embodiment of the present invention.

【図2】本発明を実施するための装置構成例を示す図で
ある。
FIG. 2 is a diagram showing an example of a device configuration for carrying out the present invention.

【図3】白地図の上で切り出したい領域の内部の点を指
定入力する方法を説明する図である。
FIG. 3 is a diagram illustrating a method of designating and inputting points inside a region to be cut out on a blank map.

【図4】入力した点を囲む最小の閉領域の境界線を認識
する方法を説明する図である。
FIG. 4 is a diagram illustrating a method of recognizing a boundary line of a minimum closed region surrounding an input point.

【図5】開領域を主要点入力だけで、精度良く境界トレ
ースする方法を説明する図である。
FIG. 5 is a diagram illustrating a method of accurately tracing a boundary in an open area by only inputting a main point.

【図6】領域が分かる画像と識別子を出力装置上に表示
した例を示す図である。
FIG. 6 is a diagram showing an example in which an image for identifying a region and an identifier are displayed on an output device.

【図7】本発明の適用分野の一つであるマ−チャンダイ
ジングで用いられるエリア(領域)別売上実績テ−ブル
の例を示す図である。
FIG. 7 is a diagram showing an example of a sales record table for each area used for merchandising, which is one of the application fields of the present invention.

【図8】エリアコ−ドとそのエリアコ−ドが示す領域に
含まれる画素の座標との対応関係を格納する連結テ−ブ
ルを示す図である。
FIG. 8 is a diagram showing a concatenation table that stores a correspondence relationship between an area code and coordinates of pixels included in an area indicated by the area code.

【図9】領域に関する情報の表示方法の一例を説明する
ための図である。
FIG. 9 is a diagram for explaining an example of a method of displaying information regarding a region.

【図10】システムがユーザに代わって、探索中心点を
設定する方法を説明する図である。
FIG. 10 is a diagram illustrating a method in which the system sets a search center point on behalf of a user.

【図11】図1を用いて説明した機能に対応させて、図
2に示した装置構成図上で本発明による画像処理方法及
び装置を実現する実施例の構成図である。
11 is a configuration diagram of an embodiment that realizes the image processing method and device according to the present invention on the device configuration diagram shown in FIG. 2 in correspondence with the functions described with reference to FIG.

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

201・・・計算機、202・・・画像入力装置、20
3・・・記憶装置、205・・・入力装置、206・・
・出力装置
201 ... Calculator, 202 ... Image Input Device, 20
3 ... storage device, 205 ... input device, 206 ...
・ Output device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴田 均 東京都品川区大井一丁目24番5号 株式会 社日立ビジネス機器内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Hitoshi Shibata 1-24-5 Oi, Shinagawa-ku, Tokyo Inside Hitachi Business Equipment Co., Ltd.

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】配置図を画像入力装置を用いて入力し、前
記入力した配置図を出力装置に出力し、前記出力した配
置図の上に、少なくとも一つの点を入力装置から入力
し、前記入力した点を内部の点として持つ領域の境界を
認識し、前記認識した結果を出力装置に出力することを
特徴とする画像処理方法。
1. A layout drawing is input using an image input device, the input layout drawing is output to an output device, and at least one point is input from the input device on the output layout drawing, An image processing method, comprising: recognizing a boundary of a region having an input point as an internal point and outputting the recognized result to an output device.
【請求項2】特許請求の範囲第1項記載の画像処理方法
において、前記配置図は白地図であることを特徴とする
画像処理方法。
2. The image processing method according to claim 1, wherein the layout map is a blank map.
【請求項3】特許請求の範囲第1項記載の画像処理方法
において、前記認識する領域は、前記入力した点を囲む
最小の閉領域であることを特徴とする画像処理方法。
3. The image processing method according to claim 1, wherein the recognized area is a minimum closed area surrounding the input point.
【請求項4】特許請求の範囲第3項記載の画像処理方法
において、前記閉領域の境界の認識は、前記入力した点
を中心点として、任意の一方向に前記中心点とは別の点
を探索し、前記中心点と、前記探索で見つかった点との
距離を算出し、以上の処理を前記方向を変化させなが
ら、前記中心点を囲む360度の全方向について均等に
繰り返し、前記算出した距離の変化の程度に応じて、最
新の探索で見つかった点が、前記最新の探索の直前の探
索で見つかった点と、同一の閉領域の境界上の点である
か否かを判断することを特徴とする画像処理方法。
4. The image processing method according to claim 3, wherein the boundary of the closed region is recognized by using the input point as a center point and moving the point different from the center point in any one direction. Is calculated, the distance between the center point and the point found in the search is calculated, and while the above processing is changed, the distance is uniformly repeated in all directions of 360 degrees surrounding the center point, and the calculation is performed. According to the degree of change in the distance, it is determined whether the point found in the latest search is on the same closed region boundary as the point found in the search immediately before the latest search. An image processing method characterized by the above.
【請求項5】特許請求の範囲第4項記載の画像処理方法
において、前記全方向について領域の境界探索処理を繰
り返している途中で、前記最新の探索で見つかった点
が、前記最新の探索の直前の探索で見つかった点と同一
の閉領域の境界上の点でないと判断した場合に、前記中
心点を、前記最新の探索で見つかった点と、前記最新の
探索の直前の探索で見つかった点との間に移動し、前記
移動した点を新たな中心点として、前記最新の探索の直
前の探索で見つかった点の方向から、探索を再開し、前
記再開した探索を、前記最新の探索で見つかった点の方
向まで繰り返すことを特徴とする画像処理方法。
5. The image processing method according to claim 4, wherein a point found in the latest search is a point of the latest search while the area boundary search processing is repeated in all directions. When it is determined that the center point is not on the same closed area boundary as the point found in the previous search, the center point is found in the latest search and the search immediately before the latest search. The search is restarted from the direction of the point found in the search immediately before the latest search with the moved point as a new center point, and the restarted search is replaced with the latest search. An image processing method characterized by repeating up to the direction of the point found in.
【請求項6】特許請求の範囲第4項記載の画像処理方法
において、前記全方向について領域の境界探索処理を繰
り返して見つかった点で、一つの閉領域の境界を構成で
きなかった場合に、前記中心点を前記中心点の近傍に移
動して、全ての処理を最初からやり直すことを特徴とす
る画像処理方法。
6. The image processing method according to claim 4, wherein a boundary of one closed area cannot be constructed at a point found by repeating the boundary search processing of the area in all directions, An image processing method, wherein the center point is moved to the vicinity of the center point, and all the processes are restarted from the beginning.
【請求項7】特許請求の範囲第4項記載の画像処理方法
において、前記全方向について領域の境界探索処理を繰
り返して見つかった点で、一つの閉領域の境界を構成で
きた場合に、前記一つの閉領域の境界を構成する点のう
ち、互いに隣接する二点を順番に結ぶ全ての有向線分を
作成し、前記作成した有向線分の中から、一つの点を共
有する二つの有向線分の方向の差を検出し、前記検出し
た方向の差の大きさにより、前記二つの有向線分の共有
点を、前記一つの閉領域の境界を構成する点の代表とし
て適当であるか否かを判断することを特徴とする画像処
理方法。
7. The image processing method according to claim 4, wherein when a boundary of one closed area can be constructed at a point found by repeating the boundary search processing of the area in all the directions, Among the points forming the boundary of one closed region, all the directed line segments that connect two points that are adjacent to each other in order are created, and two points that share one point are created from the created directed line segments. The difference between the directions of the two directed line segments is detected, and the shared point of the two directed line segments is represented by the magnitude of the difference between the detected directions as a representative of the points forming the boundary of the one closed region. An image processing method characterized by determining whether or not it is appropriate.
【請求項8】特許請求の範囲第1項記載の画像処理方法
において、前記点の入力は、前記点の数または指定場所
の少なくとも一方を予め定めておくことを特徴とする画
像処理方法。
8. The image processing method according to claim 1, wherein at least one of the number of points and the designated location is predetermined for the input of the points.
【請求項9】特許請求の範囲第4項記載の画像処理方法
において、前記境界を認識した全ての閉領域を少なくと
も一つの集合に分類しておき、前記分類した集合の中か
ら、任意の一つの集合を指定し、前記指定した集合毎
に、前記集合に含まれる閉領域に関する情報を前記出力
装置に出力することを特徴とする画像処理方法。
9. The image processing method according to claim 4, wherein all the closed regions that have recognized the boundary are classified into at least one set, and an arbitrary one is selected from the classified sets. An image processing method, wherein one set is designated, and for each of the designated sets, information regarding a closed region included in the set is output to the output device.
【請求項10】配置図を入力する画像入力装置と、前記
画像入力装置を用いて入力した配置図を出力する出力装
置と、前記出力した配置図の上に、少なくとも一つの点
を入力する入力装置と、前記入力した点を内部の点とし
て持つ領域の境界を認識する手段と、前記認識した結果
を、前記出力装置に出力する手段とからなることを特徴
とする画像処理装置。
10. An image input device for inputting a layout drawing, an output device for outputting a layout drawing input using the image input device, and an input for inputting at least one point on the output layout drawing. An image processing apparatus comprising: an apparatus, means for recognizing a boundary of a region having the input point as an internal point, and means for outputting the recognized result to the output device.
【請求項11】特許請求の範囲第10記載の画像処理装
置において、前記配置図は白地図であることを特徴とす
る画像処理装置。
11. The image processing apparatus according to claim 10, wherein the layout map is a blank map.
【請求項12】特許請求の範囲第10項記載の画像処理
装置において、前記認識する領域は、前記入力した点を
囲む最小の閉領域であることを特徴とする画像処理装
置。
12. The image processing apparatus according to claim 10, wherein the recognized area is a minimum closed area surrounding the input point.
【請求項13】特許請求の範囲第12項記載の画像処理
装置において、前記閉領域の境界の認識手段は、前記入
力した点を中心点として、任意の一方向に前記中心点と
は別の点を探索する手段と、前記中心点と、前記探索で
見つかった点との距離を算出する手段と、以上の処理を
前記方向を変化させながら、前記中心点を囲む360度
の全方向について均等に繰り返す手段と、前記算出した
距離の変化の程度に応じて、最新の探索で見つかった点
が、前記最新の探索の直前の探索で見つかった点と、同
一の閉領域の境界上の点であるか否かを判断する手段と
からなることを特徴とする画像処理装置。
13. The image processing apparatus according to claim 12, wherein the boundary recognizing means of the closed region has a center point at the input point and is different from the center point in any one direction. A means for searching for a point, a means for calculating the distance between the center point and the point found by the search, and the above-mentioned processing while changing the direction, uniformly in all directions of 360 degrees surrounding the center point. According to the degree of change in the calculated distance, the point found in the latest search is the point found in the search immediately before the latest search, and the point on the boundary of the same closed region. An image processing apparatus comprising: a means for determining whether or not there is an image processing apparatus.
【請求項14】特許請求の範囲第13項記載の画像処理
装置において、前記全方向について領域の境界探索処理
を繰り返す手段は、前記繰り返し処理の途中で、前記最
新の探索で見つかった点が、前記最新の探索の直前の探
索で見つかった点と同一の閉領域の境界上の点でないと
判断した場合に、前記中心点を、前記最新の探索で見つ
かった点と、前記最新の探索の直前の探索で見つかった
点との間に移動し、前記移動した点を新たな中心点とし
て、前記最新の探索の直前の探索で見つかった点の方向
から、探索を再開し、前記再開した探索を、前記最新の
探索で見つかった点の方向まで繰り返すことを特徴とす
る画像処理装置。
14. The image processing apparatus according to claim 13, wherein the means for repeating the area boundary search processing in all the directions is such that the point found in the latest search is in the middle of the repeating processing, When it is determined that it is not a point on the same closed region boundary as the point found in the search immediately before the latest search, the center point is set to the point found in the latest search and immediately before the latest search. Moved to the point found in the search of, the moved point as a new center point, from the direction of the point found in the search immediately before the latest search, restart the search, the restarted search The image processing apparatus is characterized in that the process is repeated up to the direction of the point found in the latest search.
【請求項15】特許請求の範囲第13項記載の画像処理
装置において、前記全方向について領域の境界探索処理
を繰り返す手段は、前記探索で見つかった点で、一つの
閉領域の境界を構成できなかった場合に、前記中心点を
前記中心点の近傍に移動して、全ての処理を最初からや
り直すことを特徴とする画像処理装置。
15. The image processing device according to claim 13, wherein the means for repeating the boundary search processing of the area in all directions can configure the boundary of one closed area at the points found in the search. If not, the image processing apparatus is characterized in that the center point is moved to the vicinity of the center point, and all the processes are restarted from the beginning.
【請求項16】特許請求の範囲第13項記載の画像処理
装置は、前記全方向について領域の境界探索処理を繰り
返して見つかった点で、一つの閉領域の境界を構成でき
た場合に、前記一つの閉領域の境界を構成する点のう
ち、互いに隣接する二点を順番に結ぶ全ての有向線分を
作成する手段と、前記作成した有向線分の中から、一つ
の点を共有する二つの有向線分の方向の差を検出する手
段と、前記検出した方向の差の大きさにより、前記二つ
の有向線分の共有点を、前記一つの閉領域の境界を構成
する点の代表として適当であるか否かを判断する手段と
からなることを特徴とする画像処理装置。
16. The image processing apparatus according to claim 13, wherein when a boundary of one closed area can be constructed at a point found by repeating the boundary search processing of the area in all the directions, Among the points forming the boundary of one closed area, a means for creating all the directed line segments that sequentially connect two points adjacent to each other, and one point is shared from the created directed line segments. Means for detecting the difference between the directions of the two directed line segments, and the size of the difference between the detected directions forms the shared point of the two directed line segments as a boundary of the one closed region. An image processing apparatus comprising: a means for determining whether or not the point is appropriate.
【請求項17】特許請求の範囲第10項記載の画像処理
装置において、前記点の入力装置は、 前記点の数または指定場所の少なくとも一方を予め定め
ておく手段を有することを特徴とする画像処理装置。
17. The image processing apparatus according to claim 10, wherein the point input device has means for predetermining at least one of the number of points and a designated place. Processing equipment.
【請求項18】特許請求の範囲第10項記載の画像処理
装置は、前記境界を認識した全ての閉領域を少なくとも
一つの集合に分類する手段と、前記分類した集合の中か
ら、任意の一つの集合を指定する手段と、前記指定した
集合毎に、前記集合に含まれる閉領域に関する情報を前
記出力装置に出力する手段とを有することを特徴とする
画像処理装置。
18. The image processing apparatus according to claim 10, wherein the means for classifying all the closed regions that have recognized the boundary into at least one set, and any one of the classified sets. An image processing apparatus comprising: a unit for designating one set; and a unit for outputting, for each of the designated sets, information on a closed region included in the set to the output device.
JP4138334A 1992-05-29 1992-05-29 Method and device for processing image Pending JPH05334437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4138334A JPH05334437A (en) 1992-05-29 1992-05-29 Method and device for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4138334A JPH05334437A (en) 1992-05-29 1992-05-29 Method and device for processing image

Publications (1)

Publication Number Publication Date
JPH05334437A true JPH05334437A (en) 1993-12-17

Family

ID=15219484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4138334A Pending JPH05334437A (en) 1992-05-29 1992-05-29 Method and device for processing image

Country Status (1)

Country Link
JP (1) JPH05334437A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242163A (en) * 1999-02-17 2000-09-08 Ai Soft Kk Recording medium where data for generating map are recorded, recording medium where program for generating map using the data is recorded, and method and device for generating the map
CN111859186A (en) * 2020-06-30 2020-10-30 北京百度网讯科技有限公司 Information processing method, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242163A (en) * 1999-02-17 2000-09-08 Ai Soft Kk Recording medium where data for generating map are recorded, recording medium where program for generating map using the data is recorded, and method and device for generating the map
CN111859186A (en) * 2020-06-30 2020-10-30 北京百度网讯科技有限公司 Information processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US6437799B1 (en) Method and apparatus for logical zooming of a directed graph
US8340433B2 (en) Image processing apparatus, electronic medium, and image processing method
US20020154117A1 (en) Graphic editing apparatus graphic editing method and storage medium on which is recorded a program for graphic editing
CN112417569B (en) Revit primitive labeling method, device, equipment and storage medium
JPH09102039A (en) Template matching method
CN114924822B (en) Screenshot method and device of three-dimensional topological structure, electronic equipment and storage medium
JPH05334437A (en) Method and device for processing image
JPH08137908A (en) Method and device for retrieving picture
CN114328783A (en) Map data output method, map data processing method and device and electronic equipment
JPH04155474A (en) Method and device for processing image
JP4960188B2 (en) Screen transition diagram display method and system
CN114120016B (en) Character string extraction method, device, equipment and storage medium
KR100586602B1 (en) Method for overlaing raster map
JPH04246785A (en) Graphic preparing device
JPH1124649A (en) Graph display, graph display method, and storage medium
JP3244582B2 (en) Graphic search device
JP2555745B2 (en) Figure selection processing method
JP2932844B2 (en) Multi-branch shape figure display method
JPH04308886A (en) Map information input device
JPH10208081A (en) Graphic processor and graphic processing method
CN116107570A (en) Interface generation method and device, storage medium and computer equipment
CN115951802A (en) UI (user interface) element numbering method, system, device and storage medium
JP2000099222A (en) Dynamic model converting device
CN116612186A (en) Book positioning method
CN117556781A (en) Target pattern determining method and device, electronic equipment and storage medium