JP2009116464A - Outline information generation method, system, and program - Google Patents

Outline information generation method, system, and program Download PDF

Info

Publication number
JP2009116464A
JP2009116464A JP2007286412A JP2007286412A JP2009116464A JP 2009116464 A JP2009116464 A JP 2009116464A JP 2007286412 A JP2007286412 A JP 2007286412A JP 2007286412 A JP2007286412 A JP 2007286412A JP 2009116464 A JP2009116464 A JP 2009116464A
Authority
JP
Japan
Prior art keywords
line segment
contour
input
line
information generation
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
JP2007286412A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kagawa
義昭 賀川
Hiroshi Ueda
浩史 上田
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 Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2007286412A priority Critical patent/JP2009116464A/en
Publication of JP2009116464A publication Critical patent/JP2009116464A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently and surely extract the outline of an object existing in an image. <P>SOLUTION: A rubber band having fixed thickness is displayed between an input point and an input pointer, and a point is input so that an input segment can be inserted into the rubber band. Thus, it is possible for an operator to efficiently input the segment by saving any labor to precisely determine the position of an input pointer, and to make an input decision. When the input segment is displayed as it is, an outline whose accuracy is missing is generated. Then, it is possible to generate an outline matched with a ground object picked up in an image by performing processing to correct the input segment according to the image. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、輪郭情報生成方法及びシステム、並びにプログラムに関し、例えば、高空から撮影した画像から、画像内に撮像されている線分で構成された地物の輪郭を抽出する方法に関するものである。   The present invention relates to a contour information generation method and system, and a program, for example, a method for extracting a contour of a feature composed of line segments captured in an image from an image photographed from a high sky.

近年、インターネット上での電子地図サービスやカーナビの発展により電子地図の需要が急激に伸びている。しかし、電子地図は作成や更新を行うのに非常に多大な工数を要する。   In recent years, the demand for electronic maps has increased rapidly due to the development of electronic map services and car navigation systems on the Internet. However, an electronic map requires a great deal of man-hours to create and update.

それを解決する方法として、航空写真や衛星画像など高空から撮影した画像から自動的に地図の構成物である地物を抽出する技術が研究されている。例えば、特許文献1では、画像上に建物内の1点を入力することにより建物の形状を抽出するプログラムが提案されている。   As a method for solving this problem, a technique for automatically extracting features that are constituents of a map from an image taken from a high sky such as an aerial photograph or a satellite image has been studied. For example, Patent Document 1 proposes a program for extracting the shape of a building by inputting one point in the building on the image.

また、オペレータによる手作業の入力を行う場合は、その入力補助手段として特許文献2に示すようなラバーバンドを表示させるのは広く一般的に使用されている。   When a manual input by an operator is performed, it is widely used to display a rubber band as shown in Patent Document 2 as an input assisting means.

特開2004−341422号公報JP 2004-341422 A 特開平7−168552号公報JP-A-7-168552

しかしながら、特許文献1にあるような画像から自動的に地物の輪郭形状を抽出する技術は、現在のところ実用的なレベルにはいたっていない。なぜならば、空中写真は撮影状況や撮影された地物の状態が異なると、設定するパラメータをその都度変更する必要が生じ、そもそも抽出が困難な場合があるためである。   However, a technique for automatically extracting the contour shape of a feature from an image as in Patent Document 1 has not reached a practical level at present. This is because if the aerial photograph has a different shooting situation or the state of the photographed feature, it is necessary to change the parameter to be set each time, and extraction may be difficult in the first place.

従って、未だにオペレータによる手作業の入力が一般的である。オペレータによる地物の輪郭入力において、オペレータは輪郭の接点、つまり線分と線分が交差する部分を目標に点を入力していくわけであるが、正確に入力するには次のような作業が必要となる。つまり、図1に示されるように、空中写真に撮像されている建物100の輪郭をトレースする場合、まず描き始めの始点を決めるのに線分101と線分102の交点と思われる点104を認識する必要がある。はっきり交点が認識できる場合もあるが線分101と線分102の交わる部分がはっきりしない場合も多々ありその場合は始点の決定に時間を要してしまう。点104を入力した後、入力ポインタ107の動きに従い特許文献2に示すようなラバーバンド106が追随するが、このラバーバンドを線分102にあわせつつ、終点の線分102と線分103の交点と思われる点105を入力しなくてはならない。   Therefore, manual input by an operator is still common. In the contour input of features by the operator, the operator inputs points with the target of the contact point of the contour, that is, the part where the line segment intersects. Is required. That is, as shown in FIG. 1, when tracing the outline of the building 100 captured in the aerial photograph, the point 104 that is considered to be the intersection of the line segment 101 and the line segment 102 is first determined in order to determine the starting point of drawing. Need to recognize. In some cases, the intersection can be clearly recognized, but there are many cases where the portion where the line segment 101 and the line segment 102 intersect is not clear, and in this case, it takes time to determine the start point. After inputting the point 104, the rubber band 106 shown in Patent Document 2 follows the movement of the input pointer 107. The rubber band is aligned with the line segment 102, and the intersection of the end line segment 102 and the line segment 103 is detected. You must enter the point 105 that you think.

以上のように、正確に入力するには効率を落とさざるを得ないという問題、さらに図形の正確さがオペレータによって異なってしまうという問題がある。   As described above, there is a problem that efficiency is inevitably lowered in order to input correctly, and further, there is a problem that the accuracy of the figure varies depending on the operator.

本発明はこのような状況に鑑みてなされたものであり、正確な線分の始点と終点の座標情報を入力する必要がなく、効率よくかつ正確に、輪郭を構成する線分を抽出することのできる方法を提供するものである。   The present invention has been made in view of such a situation, and it is not necessary to input accurate coordinate information of the start point and end point of a line segment, and the line segment constituting the contour is extracted efficiently and accurately. The method which can be performed is provided.

上記目的を達成するために、本発明では、入力した点と入力ポインタの間を一定の太さを有するラバーバンドが表示され、入力する線分を該ラバーバンド内に入れるように点を入力させる。これによりオペレータは入力ポインタの位置を精密に決めて入力決定を行うという手間を省くことができ効率よく入力を行うことができる。しかし、入力した線分をそのまま表示させては正確さに欠ける輪郭が生成されてしまう。そこで、入力した線分を画像に合わせて補正する処理を行うことにより画像に撮像されている対象物に合った輪郭を生成する。   In order to achieve the above object, in the present invention, a rubber band having a certain thickness is displayed between an input point and an input pointer, and a point is input so that an input line segment is placed in the rubber band. . As a result, the operator can save time and effort to accurately determine the position of the input pointer and perform input determination, and input can be performed efficiently. However, if the input line segment is displayed as it is, an outline that is not accurate will be generated. Therefore, by performing a process of correcting the input line segment according to the image, a contour suitable for the object captured in the image is generated.

即ち、本発明による輪郭情報生成方法は、情報処理装置を用いて、画像内に存在する対象物の輪郭情報を生成する輪郭情報生成方法であって、入力された始点と終点で構成される線分を含む所定の範囲内の複数の線分を、輪郭構成線分候補として生成するステップと、輪郭構成線分候補としての前記複数の線分のうち、エッジ強度値が最も高い線分を輪郭構成線分として抽出するステップと、を備え、輪郭構成線分を用いて対象物の輪郭情報生成することを特徴とする。   That is, the contour information generation method according to the present invention is a contour information generation method for generating contour information of an object existing in an image using an information processing apparatus, and is a line composed of input start points and end points. Generating a plurality of line segments within a predetermined range including a minute as contour constituent line segment candidates, and contouring a line segment having the highest edge strength value among the plurality of line segments as contour constituent line segment candidates Extracting as a constituent line segment, and generating contour information of the object using the contour constituent line segment.

上述の生成するステップでは、始点と終点の入力に対応して、始点と終点で構成される線分を含み、この線分の法線方向に一定の幅を有するラバーバンドを表示部に表示し、ラバーバンドの範囲内の複数の線分を、輪郭構成線分候補とする。   In the generating step described above, a rubber band including a line segment composed of the start point and the end point corresponding to the input of the start point and the end point and having a certain width in the normal direction of the line segment is displayed on the display unit. A plurality of line segments within the rubber band range are set as contour configuration line segment candidates.

また、上述の抽出するステップでは、輪郭構成線分候補となる複数の線分のそれぞれについて、線分が通過する画像上の画素に対して勾配ベクトルを計算し、勾配ベクトルを計算した線分の法線ベクトルと勾配ベクトルとの内積から線分の法線方向へのエッジ強度値を計算し、このエッジ強度値が最も高い線分を輪郭構成線分として確定する。   In the above-described extracting step, for each of a plurality of line segments that are contour constituent line segment candidates, a gradient vector is calculated for pixels on the image through which the line segment passes, and the line segment for which the gradient vector is calculated is calculated. The edge intensity value in the normal direction of the line segment is calculated from the inner product of the normal vector and the gradient vector, and the line segment having the highest edge intensity value is determined as the contour constituent line segment.

さらなる本発明の特徴は、以下本発明を実施するための最良の形態および添付図面によって明らかになるものである。   Further features of the present invention will become apparent from the best mode for carrying out the present invention and the accompanying drawings.

本発明によれば、オペレータによる画像からの地物の輪郭入力作業において効率よく輪郭を抽出できるだけでなく、画像に撮像されている地物に合った輪郭を正確に抽出することが可能となる。   According to the present invention, not only the contour can be efficiently extracted in the contour input operation of the feature from the image by the operator, but also the contour that matches the feature captured in the image can be accurately extracted.

以下、添付図面を参照して本発明の実施形態について説明する。ただし、本実施形態は本発明を実現するための一例に過ぎず、本発明の技術的範囲を限定するものではないことに注意すべきである。また、各図において共通の構成については同一の参照番号が付されている。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be noted that this embodiment is merely an example for realizing the present invention, and does not limit the technical scope of the present invention. In each drawing, the same reference numerals are assigned to common components.

<地物輪郭生成システムの構成>
図2は、本発明の実施形態に係る地物輪郭生成システムの概略構成を示す図である。地物輪郭生成システム20は、輪郭情報を生成する情報処理装置100と、輪郭情報生成過程の線分情報や生成された輪郭情報を表示するモニタ206と、を備えている。
<Configuration of feature outline generation system>
FIG. 2 is a diagram showing a schematic configuration of the feature contour generation system according to the embodiment of the present invention. The feature outline generation system 20 includes an information processing apparatus 100 that generates outline information, and a monitor 206 that displays line information of the outline information generation process and generated outline information.

情報処理装置200は、記憶装置201を有し、そこには画像データ202及び各画素の画素値ベクトルデータ203が格納されている。情報処理装置200が画像データ202及び画素値ベクトルデータ203を重ね合わせることにより、モニタ206に地物の情報を映し出すことができる。   The information processing apparatus 200 includes a storage device 201 in which image data 202 and pixel value vector data 203 of each pixel are stored. The information processing apparatus 200 superimposes the image data 202 and the pixel value vector data 203 so that the feature information can be displayed on the monitor 206.

情報処理装置200は、さらに、図5に対応する線分群を生成してモニタ206に表示する入力補助線表示手段(輪郭構成線分候補生成手段を含む)204と、線分群から適切な線分を選択する入力線分補正手段(輪郭構成線分抽出手段を含む)205とを有する。   The information processing apparatus 200 further generates an input auxiliary line display unit (including a contour line segment candidate generation unit) 204 that generates a line group corresponding to FIG. 5 and displays it on the monitor 206, and an appropriate line segment from the line group. Input line segment correcting means (including contour component line segment extracting means) 205 for selecting.

オペレータ208は、マウス207等の入力手段を用いてモニタ206上で画像データに撮像されている地物の輪郭をトレースする。その際、入力補助線表示手段204により、複数の線分を包含できる程度の一定の太さを持ったラバーバンドが表示される。そして、線分を入力した際には入力線分補正手段205により入力した線が補正される。   The operator 208 traces the outline of the feature imaged on the image data on the monitor 206 by using an input unit such as the mouse 207. At this time, the input auxiliary line display means 204 displays a rubber band having a certain thickness enough to include a plurality of line segments. When a line segment is input, the line input by the input line segment correction unit 205 is corrected.

<入力画面の例>
図3は、入力補助線表示手段204を用いて始点と終点間に線分を引く際の入力画面の一例を示す図である。図3に示されるように、描画しようとしている線分の始点と終点は、一定の太さを有するラバーバンド306がカバーする範囲内に含まれていればよい。従って、オペレータ208が決定した始点と終点とが、地物の輪郭を構成する実際の線分の視点と終点と異なっていても、ラバーバンド306がカバーする範囲内であれば輪郭構成線分を確定する上で問題はない。
<Example of input screen>
FIG. 3 is a diagram illustrating an example of an input screen when a line segment is drawn between the start point and the end point using the input auxiliary line display unit 204. As shown in FIG. 3, the start point and end point of the line segment to be drawn need only be included within the range covered by the rubber band 306 having a certain thickness. Therefore, even if the start point and the end point determined by the operator 208 are different from the viewpoint and end point of the actual line segment constituting the contour of the feature, the contour line segment is determined as long as it is within the range covered by the rubber band 306. There is no problem in confirming.

例えば、始点304と終点305を含む線分302を描画したい場合、初期ラバーバンド308内に始点304が含まれるように入力ポインタ307を動かしてクリックし、その後、ラバーバンド306内に終点305が含まれるように入力ポインタ307を動かしてクリックする。その際、描画したい線分302はラバーバンド306内に含まれているはずである。このようにあまり入力ポインタを打つべき点に正確に合わせようとせずに、ラバーバンド306内に描画しようとする線分が含まれるようにしていけばよい。   For example, when drawing a line segment 302 including the start point 304 and the end point 305, the input pointer 307 is moved and clicked so that the start point 304 is included in the initial rubber band 308, and then the end point 305 is included in the rubber band 306. The input pointer 307 is moved and clicked. At that time, the line segment 302 to be drawn should be included in the rubber band 306. In this way, the rubber band 306 may include the line segment to be drawn without trying to accurately match the input pointer to the point to be hit.

<輪郭図形確定処理>
図4は、入力された始点と終点とで定まる線分に基づいて図形を確定する処理を説明するためのフローチャートである。
<Contour figure confirmation processing>
FIG. 4 is a flowchart for explaining a process of determining a figure based on a line segment determined by an input start point and end point.

まず、ステップS400では、入力された線分情報を基に、入力補助線表示手段204は、線分の候補となる線分をすべて挙げる。より詳細には、図5で示されるような処理が実行されて、候補となる線分がすべて求められる。つまり、入力された線分500に関し、線分500を構成する端点501と502から線分500に対して垂直な線分504及び505をラバーバンド503の端部に交わるまで引く。その線分を均等に分割して線分504と線分505上に複数の点506及び507を作成する。分割の仕方は間隔が画像のピクセルの大きさ程度とする。点群506と点群507を結ぶすべての線分の組み合わせを求め、これらを候補の線分群508とする。よって、例えば、線分505及び506上に分割点が10個(ピクセル)ずつあるとすれば、線分の数は10×10=100個となる。   First, in step S400, based on the input line segment information, the input auxiliary line display unit 204 lists all line segments that are line segment candidates. More specifically, processing as shown in FIG. 5 is executed, and all candidate line segments are obtained. That is, with respect to the input line segment 500, line segments 504 and 505 perpendicular to the line segment 500 are drawn from the end points 501 and 502 constituting the line segment 500 until they intersect the end of the rubber band 503. The line segment is divided equally to create a plurality of points 506 and 507 on the line segment 504 and the line segment 505. The division method is such that the interval is about the size of the pixel of the image. A combination of all line segments connecting the point group 506 and the point group 507 is obtained, and these are set as candidate line segment groups 508. Therefore, for example, if there are 10 division points (pixels) on the line segments 505 and 506, the number of line segments is 10 × 10 = 100.

次に、ステップS401では、入力線分補正手段205は、ステップS400で求められた各線分の候補に対して画像上のエッジの強度値を計算し、そのエッジ強度値を比較して一番大きな値を持つ線分を補正後線分として確定する。より詳細には、図6で示されるような処理が実行される。つまり、図6で示されるように、まずステップS600で、各候補線分604が通過する画像上の画素605をすべて求める。そして、ステップS601で、各画素に対してSobelフィルタを用いて各画素の勾配ベクトル(vi)606を求める。なお、Sobelフィルタの構成を図7に示す。ベクトルデータ格納部203から読み出した、注目画素の周辺の各画素素値ベクトルに対して、図7で示されるフィルタ係数を掛けることにより勾配ベクトルを生成するのである。直線604に対して強いエッジが存在すれば、勾配ベクトル(vi)606は直線604の法線方向を向いた長さの長いベクトルとなる。また、ステップS602では、直線604の単位法線ベクトルを(n)607として、勾配ベクトル(vi)606と法線(n)607の内積を求める。すべての画素605に対してこの内積を求める。そして、それら内積の合計値をエッジ強度値(S)608とし、すべて線分候補に対してエッジ強度値(S)を求める。ステップS603では、エッジ強度値(S)の値が一番大きい線分を補正後線分とする(ステップ603)。   Next, in step S401, the input line segment correcting unit 205 calculates the edge intensity value on the image for each line segment candidate obtained in step S400, and compares the edge intensity values to obtain the largest value. A line segment having a value is determined as a corrected line segment. More specifically, processing as shown in FIG. 6 is executed. That is, as shown in FIG. 6, first, in step S600, all the pixels 605 on the image through which each candidate line segment 604 passes are obtained. In step S601, a gradient vector (vi) 606 of each pixel is obtained using a Sobel filter for each pixel. The configuration of the Sobel filter is shown in FIG. A gradient vector is generated by multiplying each pixel elementary value vector around the pixel of interest read from the vector data storage unit 203 by the filter coefficient shown in FIG. If there is a strong edge with respect to the straight line 604, the gradient vector (vi) 606 is a long vector that faces the normal direction of the straight line 604. In step S602, the unit normal vector of the straight line 604 is (n) 607, and the inner product of the gradient vector (vi) 606 and the normal (n) 607 is obtained. This inner product is obtained for all the pixels 605. Then, the total value of the inner products is set as the edge strength value (S) 608, and the edge strength value (S) is obtained for all line segment candidates. In step S603, the line segment having the largest edge strength value (S) is set as a corrected line segment (step 603).

最後に、ステップS402では、情報処理装置200は、図形の接点を求めるのに補正後の線分同士の交点を利用して図形を確定する。なお、ステップS402において、トリミング処理を併せて実行しても良い。つまり、各線分の少なくとも一方か短すぎたて交点に足りない場合、或いは、各線分の少なくとも一方が長すぎて交点から線分がはみ出ている場合に、当該交点が線分の始点(終点)となるようにトリミング処理を実行する。   Finally, in step S402, the information processing apparatus 200 determines the figure by using the corrected intersection of the line segments to obtain the contact point of the figure. In step S402, the trimming process may be executed together. In other words, if at least one of the line segments is too short to be sufficient for the intersection, or if at least one of the line segments is too long and the line segment protrudes from the intersection, the intersection is the start point (end point) of the line segment The trimming process is executed so that

<まとめ>
以上の本実施形態では、高空から撮影した画像から、線分で構成された対象地物の輪郭を抽出する例に説明したが、これに限らず、画像内に存在する対象物の輪郭を抽出際に広く適用できる。
<Summary>
In the above embodiment, the example of extracting the contour of the target feature composed of line segments from the image taken from the high sky has been described. However, the present invention is not limited to this, and the contour of the target existing in the image is extracted. It can be widely applied.

本実施形態では、オペレータによって入力された始点と終点で構成される線分を含む所定の範囲内の複数の線分を、輪郭構成線分候補として生成する。また、輪郭構成線分候補としての複数の線分のうち、エッジ強度値が最も高い線分を輪郭構成線分として抽出する。そして、これらの工程を繰り返して得られた複数の輪郭構成線分を用いて対象物の輪郭情報を生成する。このようにすることにより、オペレータとしても輪郭を構成する線分の始点と終点を正確に入力する必要がなくなり、対象物の輪郭確定作業が非常に効率的になる。   In the present embodiment, a plurality of line segments within a predetermined range including a line segment constituted by a start point and an end point input by an operator are generated as contour constituent line segment candidates. Also, a line segment having the highest edge strength value is extracted as a contour constituent line segment from among a plurality of line segments as contour constituent line segment candidates. And the outline information of a target object is generated using a plurality of outline composition line segments obtained by repeating these processes. By doing so, it is not necessary for the operator to accurately input the start point and end point of the line segment constituting the contour, and the contour determination operation of the object becomes very efficient.

また、上述の所定の範囲内については、始点と終点で構成される線分を含み、この線分の法線方向に一定の幅(太さ)を有するラバーバンドを表示部に表示し、ラバーバンドの範囲内の複数の線分を、輪郭構成線分候補とする。このようにすることにより、オペレータは、対象物の輪郭を構成する1つの線分について、ラバーバンド内にその線分の始点と終点が含まれてさえいれば、適正に輪郭を構成する線分を確定できるので、非常に効率がよく、輪郭確定作業にストレスを感じることが少なくなる。   Further, within the above-mentioned predetermined range, a rubber band including a line segment constituted by a start point and an end point and having a certain width (thickness) in the normal direction of the line segment is displayed on the display unit, and the rubber is displayed. A plurality of line segments within the band range are set as contour configuration line segment candidates. By doing in this way, the operator can properly configure the line segment that forms the outline of the object as long as the start point and end point of the line segment are included in the rubber band. Therefore, it is very efficient and less stress is felt in the contour determination work.

さらに、輪郭構成線分候補となる複数の線分のそれぞれについて、線分が通過する画像上の画素に対して勾配ベクトルを計算し、勾配ベクトルを計算した線分の法線ベクトルと勾配ベクトルとの内積から線分の法線方向へのエッジ強度値を計算し、このエッジ強度値が最も高い線分を輪郭構成線分として確定する。このようにすることにより、確実に輪郭を構成する線分を候補の中から確定することができる。   Further, for each of a plurality of line segments that are contour constituent line segment candidates, a gradient vector is calculated for pixels on the image through which the line segment passes, and the normal vector and gradient vector of the line segment for which the gradient vector is calculated, The edge strength value in the normal direction of the line segment is calculated from the inner product of, and the line segment having the highest edge intensity value is determined as the contour constituent line segment. By doing in this way, the line segment which comprises an outline can be decided reliably from candidates.

なお、本発明は、実施形態の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィ(登録商標)ディスク、CD−ROM、DVD−ROM、ハードディスク、光ディスク、光磁気ディスク、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。   The present invention can also be realized by a program code of software that implements the functions of the embodiments. In this case, a storage medium in which the program code is recorded is provided to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention. As a storage medium for supplying such a program code, for example, a floppy (registered trademark) disk, CD-ROM, DVD-ROM, hard disk, optical disk, magneto-optical disk, CD-R, magnetic tape, non-volatile A memory card, ROM, or the like is used.

また、プログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータ上のメモリに書きこまれた後、そのプログラムコードの指示に基づき、コンピュータのCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。   Also, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. May be. Further, after the program code read from the storage medium is written in the memory on the computer, the computer CPU or the like performs part or all of the actual processing based on the instruction of the program code. Thus, the functions of the above-described embodiments may be realized.

また、実施の形態の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信し、当該コードがシステム又は装置のハードディスクやメモリ等の記憶手段又はCD-RW、CD-R等の記憶媒体に格納され、そのシステム又は装置のコンピュータ(又はCPUやMPU)が当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して当該機能を実行するようにしてもよい。   In addition, the program code of the software that realizes the functions of the embodiment is distributed via a network, and the code is stored in a storage means such as a hard disk or memory of a system or apparatus or a storage medium such as a CD-RW or CD-R. A stored computer and a computer (or CPU or MPU) of the system or apparatus may read the program code stored in the storage means or the storage medium and execute the function.

一般的なラバーバンド機能を用いた入力画面例である。It is an example of an input screen using a general rubber band function. 本発明の実施形態による地物輪郭生成システムの概略構成例を示す図である。It is a figure which shows the schematic structural example of the feature outline production | generation system by embodiment of this invention. 本発明の入力補助線表示手段を用いた入力画面例である。It is an example of an input screen using the input auxiliary line display means of this invention. 入力した線分を元に図形を確定する流れを示した図である。It is the figure which showed the flow which fixes a figure based on the input line segment. 候補となる線分をすべて求める方法を示した図である。It is the figure which showed the method of calculating | requiring all the candidate line segments. 候補線分群から補正後の線分を決定する方法を示した図である。It is the figure which showed the method of determining the line segment after correction | amendment from a candidate line segment group. Sobelフィルタを示した図である。It is the figure which showed the Sobel filter.

符号の説明Explanation of symbols

100…画像に撮像されている地物 101…地物を構成する線分 102…地物を構成する線分 103…地物を構成する線分 104…線分を描画する際の始点 105…線分を描画する際の終点 106…一般的なラバーバンド 107…入力ポインタ 200…情報処理装置 201…記憶装置 202…画像データ 203…ベクトルデータ 204…入力補助線表示手段 205…入力線分補正手段 206…モニタ 207…マウス 208…オペレータ 300…画像に撮像されている地物 301…地物を構成する線分 302…地物を構成する線分 303…地物を構成する線分 304…線分を描画する際の始点 305…線分を描画する際の終点 306…一定の太さを有するラバーバンド 307…入力ポインタ 308…1点目を入力する際のラバーバンド 400…線分の候補をすべて挙げるステップ 401…各線分のエッジ強度値を計算して比較し、エッジ強度値が一番高い線分を補正後線分とするステップ 402…図形の接点を補正後線分の交点として求めるステップ 500…入力した線分 501…入力した線分の始点 502…入力した線分の終点 503…一定の太さを有するラバーバンド 504…入力した線分の始点を通り入力した線分と直角を形成する線分 505…入力した線分の終点を通り入力した線分と直角を形成する線分 506…線分504を等間隔に分割した点群 507…線分505を等間隔に分割した点群 508…候補となる線分群 600…各線分の通過する画像上の画素を求めるステップ 601…Sobelフィルタを用いて各画素の勾配ベクトルを求めるステップ 602…直線の単位法線ベクトルと勾配ベクトルの内積を合計したエッジ強度値を求めるステップ 603…エッジ強度値が一番大きな線分を補正後線分とするステップ 604…候補線分 605…線分が通過する画像上の画素 606…勾配ベクトル 607…直線の単位法線ベクトル 608…エッジ強度値の計算式 DESCRIPTION OF SYMBOLS 100 ... The feature currently imaged on the image 101 ... The line segment which comprises a feature 102 ... The line segment which comprises a feature 103 ... The line segment which comprises a feature 104 ... The starting point at the time of drawing a line segment 105 ... Line End point 106 when drawing a minute 106 ... General rubber band 107 ... Input pointer 200 ... Information processing device 201 ... Storage device 202 ... Image data 203 ... Vector data 204 ... Input auxiliary line display means 205 ... Input line segment correction means 206 ... monitor 207 ... mouse 208 ... operator 300 ... features picked up in image 301 ... line segment constituting feature 302 ... line segment constituting feature 303 ... line segment constituting feature 304 ... line segment Starting point when drawing 305 ... End point when drawing a line segment 306 ... Rubber band having a certain thickness 307 ... Input pointer 308 ... First point Rubber band for input 400 ... Step for listing all line segment candidates 401 ... Steps for calculating and comparing edge strength values of each line segment, and making a line segment with the highest edge intensity value a corrected line segment 402 Step of obtaining the contact point of the figure as the intersection of the corrected line segment 500 ... Input line segment 501 ... Input line segment start point 502 ... Input line segment end point 503 ... Rubber band having a certain thickness 504 ... Input line A line segment that forms a right angle with the input line segment through the start point of the minute 505 ... A line segment that forms a right angle with the input line segment through the end point of the input line segment 506 ... A point group obtained by dividing the line segment 504 at equal intervals 507 ... Point group obtained by dividing line segment 505 at equal intervals 508 ... Candidate line group group 600 ... Step for obtaining pixels on image through which each line segment passes 601 ... Using Sobel filter Step 602 for obtaining a pixel gradient vector Step 602 for obtaining an edge intensity value obtained by summing the inner product of the unit normal vector of the straight line and the gradient vector 603. Candidate line segment 605 ... Pixel on image through which line segment passes 606 ... Gradient vector 607 ... Linear unit normal vector 608 ... Calculation formula of edge intensity value

Claims (7)

情報処理装置を用いて、画像内に存在する対象物の輪郭情報を生成する輪郭情報生成方法であって、
入力された始点と終点で構成される線分を含む所定の範囲内の複数の線分を、輪郭構成線分候補として生成するステップと、
前記輪郭構成線分候補としての前記複数の線分のうち、エッジ強度値が最も高い線分を輪郭構成線分として抽出するステップと、
を備え、前記輪郭構成線分を用いて前記対象物の輪郭情報を生成することを特徴とする輪郭情報生成方法。
A contour information generation method for generating contour information of an object existing in an image using an information processing device,
Generating a plurality of line segments within a predetermined range including a line segment constituted by the input start point and end point as contour component line segment candidates;
Extracting the line segment having the highest edge strength value as the contour line segment from among the plurality of line segments as the contour line segment candidates;
A contour information generation method comprising: generating contour information of the object using the contour constituent line segment.
前記生成するステップでは、前記始点と終点の入力に対応して、前記始点と終点で構成される線分を含み、この線分の法線方向に一定の幅を有するラバーバンドを表示部に表示し、前記ラバーバンドの範囲内の複数の線分を、前記輪郭構成線分候補とすることを特徴とする請求項1に記載の輪郭情報生成方法。   In the generating step, a rubber band including a line segment composed of the start point and the end point corresponding to the input of the start point and the end point and having a certain width in the normal direction of the line segment is displayed on the display unit. The contour information generation method according to claim 1, wherein a plurality of line segments within the rubber band range are set as the contour constituent line segment candidates. 前記抽出するステップでは、前記輪郭構成線分候補となる前記複数の線分のそれぞれについて、線分が通過する画像上の画素に対して勾配ベクトルを計算し、前記勾配ベクトルを計算した線分の法線ベクトルと前記勾配ベクトルとの内積から線分の法線方向へのエッジ強度値を計算し、このエッジ強度値が最も高い線分を前記輪郭構成線分として確定することを特徴とする請求項1又は2に記載の輪郭情報生成方法。   In the extracting step, for each of the plurality of line segments that are the contour line segment candidates, a gradient vector is calculated for pixels on an image through which the line segment passes, and the line segment for which the gradient vector is calculated is calculated. An edge strength value in a normal direction of a line segment is calculated from an inner product of a normal vector and the gradient vector, and a line segment having the highest edge intensity value is determined as the contour constituent line segment. Item 3. The contour information generation method according to item 1 or 2. 画像内に存在する対象物の輪郭情報を生成する輪郭情報生成システムであって、
入力された始点と終点で構成される線分を含む所定の範囲内の複数の線分を、輪郭構成線分候補として生成する輪郭構成線分候補生成手段と、
前記輪郭構成線分候補としての前記複数の線分のうち、エッジ強度値が最も高い線分を輪郭構成線分として抽出する輪郭構成線分抽出手段と、
を備え、前記輪郭構成線分を用いて前記対象物の輪郭情報を生成することを特徴とする輪郭情報生成システム。
An outline information generation system for generating outline information of an object existing in an image,
Contour component line segment candidate generating means for generating, as contour component line segment candidates, a plurality of line segments within a predetermined range including a line segment composed of the input start point and end point;
Out of the plurality of line segments as the contour line segment candidates, a contour line segment extracting unit that extracts a line segment having the highest edge strength value as a contour line segment;
A contour information generation system comprising: generating contour information of the object using the contour constituent line segment.
前記輪郭構成線分候補生成手段は、前記始点と終点の入力に対応して、前記始点と終点で構成される線分を含み、この線分の法線方向に一定の幅を有するラバーバンドを表示部に表示し、前記ラバーバンドの範囲内の複数の線分を、前記輪郭構成線分候補とすることを特徴とする請求項4に記載の輪郭情報生成システム。   The contour constituent line segment candidate generating means includes a line segment composed of the start point and the end point corresponding to the input of the start point and the end point, and a rubber band having a certain width in the normal direction of the line segment. 5. The contour information generation system according to claim 4, wherein a plurality of line segments displayed on a display unit and within a rubber band range are set as the contour constituent line segment candidates. 前記輪郭構成線分抽出手段は、前記輪郭構成線分候補となる前記複数の線分のそれぞれについて、線分が通過する画像上の画素に対して勾配ベクトルを計算し、前記勾配ベクトルを計算した線分の法線ベクトルと前記勾配ベクトルとの内積から線分の法線方向へのエッジ強度値を計算し、このエッジ強度値が最も高い線分を前記輪郭構成線分として確定することを特徴とする請求項4又は5に記載の輪郭情報生成システム。   The contour component line segment extraction unit calculates a gradient vector for each pixel on the image through which the line segment passes for each of the plurality of line segments that are the contour component line segment candidates, and calculates the gradient vector. An edge intensity value in the normal direction of the line segment is calculated from an inner product of a normal vector of the line segment and the gradient vector, and a line segment having the highest edge intensity value is determined as the contour constituent line segment. The contour information generation system according to claim 4 or 5. コンピュータを請求項4乃至6の何れか1項に記載の輪郭情報生成システムとして機能させるためのプログラム。   A program for causing a computer to function as the contour information generation system according to any one of claims 4 to 6.
JP2007286412A 2007-11-02 2007-11-02 Outline information generation method, system, and program Pending JP2009116464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007286412A JP2009116464A (en) 2007-11-02 2007-11-02 Outline information generation method, system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007286412A JP2009116464A (en) 2007-11-02 2007-11-02 Outline information generation method, system, and program

Publications (1)

Publication Number Publication Date
JP2009116464A true JP2009116464A (en) 2009-05-28

Family

ID=40783571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007286412A Pending JP2009116464A (en) 2007-11-02 2007-11-02 Outline information generation method, system, and program

Country Status (1)

Country Link
JP (1) JP2009116464A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019117578A (en) * 2017-12-27 2019-07-18 富士通株式会社 Information processing program, information processing apparatus, information processing system and information processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH087075A (en) * 1994-06-17 1996-01-12 Konica Corp Image cliping device
JPH08329252A (en) * 1995-05-31 1996-12-13 Sony Corp Method and device for detecting edge
JP2000057378A (en) * 1998-06-02 2000-02-25 Sony Corp Image processor, image processing method, medium, and device and method for extracting contour
JP2000339483A (en) * 1999-05-27 2000-12-08 Canon Inc Edge tracing method and storage medium
JP2004205398A (en) * 2002-12-26 2004-07-22 Nissan Motor Co Ltd Vehicle radar device and optical axis adjustment method of radar

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH087075A (en) * 1994-06-17 1996-01-12 Konica Corp Image cliping device
JPH08329252A (en) * 1995-05-31 1996-12-13 Sony Corp Method and device for detecting edge
JP2000057378A (en) * 1998-06-02 2000-02-25 Sony Corp Image processor, image processing method, medium, and device and method for extracting contour
JP2000339483A (en) * 1999-05-27 2000-12-08 Canon Inc Edge tracing method and storage medium
JP2004205398A (en) * 2002-12-26 2004-07-22 Nissan Motor Co Ltd Vehicle radar device and optical axis adjustment method of radar

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019117578A (en) * 2017-12-27 2019-07-18 富士通株式会社 Information processing program, information processing apparatus, information processing system and information processing method
JP7043836B2 (en) 2017-12-27 2022-03-30 富士通株式会社 Information processing program, information processing device, information processing system, information processing method

Similar Documents

Publication Publication Date Title
CN111474184B (en) AOI character defect detection method and device based on industrial machine vision
US11094198B2 (en) Lane determination method, device and storage medium
US20180308230A1 (en) Crack information detection device, method of detecting crack information, and crack information detection program
JP4172941B2 (en) Land parcel data creation method and apparatus
KR100967448B1 (en) Image processing system for the geospatial data by uniting the numerical value map data and picture image
US20180292329A1 (en) Damage information processing device and damage information processing method
CN101529201A (en) Computer arrangement for and method of matching location data of different sources
EP1650704A1 (en) Image processing device
CN111754536B (en) Image labeling method, device, electronic equipment and storage medium
JP6334927B2 (en) Additional information display device and additional information display program
JP2007026255A (en) Method for extracting progress of defective point inside image
JP2005234603A (en) Map information updating method and map updating device
CN112085708B (en) Method and equipment for detecting defects of straight line edges in outer contour of product
CN102184396A (en) Document image tilt correction method based on OCR recognition feedback
CN109509165B (en) Image positioning area selection method and device
JP2009116464A (en) Outline information generation method, system, and program
JP5566257B2 (en) Data generation method and image inspection method
KR101954711B1 (en) Modification Method Of Building Image
JP4850161B2 (en) Road map data creation device
CN110634136B (en) Pipeline wall damage detection method, device and system
CN109073387B (en) Method, device, terminal and storage medium for aligning multiple maps
KR101184005B1 (en) Drawing update method through examining symbol
KR100491446B1 (en) Road Extraction from images using Template Matching
KR102428049B1 (en) Map sheet image generation system and method using satellite images
JPH1049688A (en) Method for partial erasing method and partial detection method for picture data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110927

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120207