JP2009163383A - Method and apparatus for evaluating feature of outline of curved object - Google Patents

Method and apparatus for evaluating feature of outline of curved object Download PDF

Info

Publication number
JP2009163383A
JP2009163383A JP2007340658A JP2007340658A JP2009163383A JP 2009163383 A JP2009163383 A JP 2009163383A JP 2007340658 A JP2007340658 A JP 2007340658A JP 2007340658 A JP2007340658 A JP 2007340658A JP 2009163383 A JP2009163383 A JP 2009163383A
Authority
JP
Japan
Prior art keywords
feature
multiplicity
outline
curved object
evaluation value
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
JP2007340658A
Other languages
Japanese (ja)
Other versions
JP4943316B2 (en
Inventor
Takashi Terachi
隆 寺地
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.)
Juki Corp
Original Assignee
Juki 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 Juki Corp filed Critical Juki Corp
Priority to JP2007340658A priority Critical patent/JP4943316B2/en
Publication of JP2009163383A publication Critical patent/JP2009163383A/en
Application granted granted Critical
Publication of JP4943316B2 publication Critical patent/JP4943316B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To extract the outline of a curved object from an image and precisely evaluate its features. <P>SOLUTION: When the outline of a curved object is extracted from an image to evaluate its features, a multiplicity is determined that is the number of repeated detections when the features are detected again as set intervals including the features are narrowed down toward the features in sequence. An evaluation value matching the multiplicity is used. Using the multiplicity, the features of the peaks of the outline can be evaluated. Further, evaluation values matching indeterminate points generated randomly on the outline can be added. Also, the maximum value of evaluation values for the indeterminate points can be made smaller than the minimum value of evaluation values for the peaks. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、曲線物体輪郭線の特徴評価方法及び装置に係り、特に、電子部品の表面実装装置等において、部品の位置決め等に用いるのに好適な、画像から曲線物体の輪郭線を抽出し、その特徴、特に、窪みや突起を評価する際に用いるのに好適な、曲線物体輪郭線の特徴評価方法及び装置に関する。   The present invention relates to a characteristic evaluation method and apparatus for a curved object contour, and in particular, extracts a contour of a curved object from an image suitable for use in positioning of a component in a surface mounting apparatus for electronic components, The present invention relates to a characteristic evaluation method and apparatus for a curved object outline suitable for use in evaluating the characteristics, particularly depressions and protrusions.

画像を使った解析、位置決め、欠陥検査、判別、意味理解等の画像認識において、認識対象の輪郭線は重要である。そこで、輪郭線から直線や円弧等の抽象データを取出し、それらを使って認識を行なうことが広く行なわれている。   In image recognition such as analysis, positioning, defect inspection, discrimination, and semantic understanding using an image, the contour line to be recognized is important. Therefore, it has been widely practiced to extract abstract data such as straight lines and arcs from contour lines and perform recognition using them.

例えば特許文献1では、輪郭線を方向コード(0〜7)で記述し、曲線の変化を計算し、更にそれを平均化したものを生成し、これを基に窪みや突起を検出している。   For example, in Patent Document 1, a contour line is described by a direction code (0 to 7), a change in a curve is calculated, and an averaged result is generated, and depressions and protrusions are detected based on this. .

又、特許文献2では、輪郭線の接線方向について、変化率(曲率)を監視し、その符号と大きさにより、凸曲線セグメント、凹曲線セグメント、及び直線分セグメントを抽出している。   In Patent Document 2, the rate of change (curvature) is monitored in the tangential direction of the contour line, and a convex curve segment, a concave curve segment, and a straight line segment are extracted based on the sign and size.

又、特許文献3では、輪郭線を任意の長さに分解した初期状態から始め、誤差が基準値を越えれば短くし、誤差が基準値以下なら長くするという、単純な繰り返しにより、直線と円弧を抽出している。このとき、修正する際の増減値を、前回の増減値の1/2に設定することが特徴であり、2分探索に似た高速な収束を効果としている。   In Patent Document 3, straight lines and arcs are simply repeated by starting from an initial state in which the contour line is decomposed to an arbitrary length, shortening if the error exceeds the reference value, and increasing if the error is less than the reference value. Is extracted. At this time, the increase / decrease value at the time of correction is characterized by being set to ½ of the previous increase / decrease value, and fast convergence similar to the binary search is effective.

更に、特許文献4では、渦巻き状に広がる巻貝を用いて部品の輪郭線を抽出し、輪郭線上の部品特徴を求めることが記載されている。   Furthermore, Patent Document 4 describes that a contour line of a component is extracted using a conical shell that spreads in a spiral shape to obtain a component feature on the contour line.

特公平1−30183号公報Japanese Examined Patent Publication No. 1-30183 特開平3−250380号公報Japanese Patent Laid-Open No. 3-250380 特許第3883993号公報Japanese Patent No. 3883993 特開2001−251097号公報JP 2001-251097 A

しかしながら、従来技術は、いずれも、窪みや突起の先端である座標1点と、その接線方向が出力されるだけであり、形が良く大きな窪みや突起と、逆に形が悪い又は小さい窪みや突起を区別することができなかった。   However, each of the prior arts only outputs one point of coordinates, which is the tip of the depression or protrusion, and the tangential direction thereof, and has a well-shaped and large depression or protrusion, and conversely a bad or small depression or protrusion. The protrusion could not be distinguished.

即ち、図1において、従来技術でも、物体1の窪み3、及び、突起2、4、5、6、7、8を抽出することはできる。しかし、この物体1を認識するときに最も使いたい特徴は、形が良く大きな窪みや突起であるところの窪み3と、突起2、4、5、8であり、逆に使いたくない特徴は、形が悪い又は小さい窪みや突起であるところの突起6、7である。しかし従来技術では、その区別のための情報が出力されていない。使うべきものと捨てるべきものを区別するためには、そのための評価値を出力することが必要である。   That is, in FIG. 1, the depression 3 and the protrusions 2, 4, 5, 6, 7, and 8 of the object 1 can be extracted even by the conventional technique. However, the features most desired to be used when recognizing the object 1 are the well 3 having a good shape and a large depression or protrusion, and the protrusions 2, 4, 5, and 8. Protrusions 6 and 7 that are poorly shaped or small indentations or protrusions. However, the prior art does not output information for the distinction. In order to distinguish what should be used from what should be discarded, it is necessary to output an evaluation value for that purpose.

なお、突起6と7がいつでも不要とは限らない。図2に例示する如く、円に相似な物体1´があり、その外周に現われる唯一の変化が突起6や7であった場合、これらは重要な位置決め情報となる。即ち、要不要は相対的なものであり、問題の評価値は、円形状の場合、突起6や7の評価値が最も高くなる必要がある。しかしながら従来は、このような評価値を適切に決定することができなかった。   The protrusions 6 and 7 are not always unnecessary. As illustrated in FIG. 2, when there is an object 1 ′ similar to a circle and the only changes appearing on the outer periphery thereof are protrusions 6 and 7, these are important positioning information. That is, the necessity is unnecessary, and the evaluation value in question needs to be the highest in the evaluation values of the protrusions 6 and 7 in the case of a circular shape. However, conventionally, such an evaluation value cannot be appropriately determined.

本発明は、前記従来の問題点を解消するべくなされたもので、輪郭線の特徴を適切に評価できるようにすることを課題とする。   The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to make it possible to appropriately evaluate the characteristics of the contour line.

本発明は、画像から曲線物体の輪郭線を抽出し、その特徴を評価する際に、特徴を含む設定区間を、特徴に向けて順次せばめて行った際に、特徴が再び検出された時のくり返し検出数である多重度を求め、該多重度に応じた評価値を用いるようにして、前記課題を解決したものである。   In the present invention, when a contour of a curved object is extracted from an image and the feature is evaluated, when a set section including the feature is sequentially fit toward the feature, the feature is detected again. The multiplicity which is the number of repeated detections is obtained, and the evaluation value corresponding to the multiplicity is used to solve the above problem.

ここで、前記多重度を用いて、輪郭線の窪みや突起(山と総称する)の特徴を評価することができる。   Here, using the multiplicity, it is possible to evaluate the characteristics of the depressions and protrusions (collectively referred to as peaks) in the contour line.

更に、輪郭線上にランダムに発生させた不定点に応じた評価値を加えることができる。   Furthermore, an evaluation value corresponding to an indefinite point randomly generated on the contour line can be added.

又、前記不定点の評価値の最大値が、山の評価値の最小値よりも小さくなるようにすることができる。   Further, the maximum value of the indefinite point evaluation value can be made smaller than the minimum value of the mountain evaluation value.

本発明は、又、画像から曲線物体の輪郭線を抽出し、その特徴を評価する曲線物体輪郭線の特徴評価装置において、特徴を含む設定区間を、特徴に向けて順次せばめて行った際に、特徴が再び検出された時のくり返し検出数である多重度を求める手段と、該多重度に応じた評価値を求める手段と、を備えたことを特徴とする曲線物体輪郭線の特徴評価装置を提供するものである。   The present invention also extracts a contour line of a curved object from an image and evaluates the feature of the curved object contour line when the set section including the feature is sequentially fit toward the feature. A feature evaluation apparatus for a curved object contour line, comprising: means for obtaining multiplicity which is the number of repeated detections when a feature is detected again; and means for obtaining an evaluation value corresponding to the multiplicity Is to provide.

本発明によれば、曲線物体の輪郭線の特徴の正しい評価値を得ることができる。特に、多重度は、山の深さ(高さ)と形の良さを適切に表わすことができる。   According to the present invention, it is possible to obtain a correct evaluation value of the feature of the contour line of a curved object. In particular, the multiplicity can appropriately represent the depth (height) and the shape of the mountain.

更に、確固たる特徴である多重度に応じた評価値に、不定の特徴である不定点に応じた評価値を加えることによって、外周に殆ど特徴が無いような曲線物体でも認識が可能となる。   Further, by adding an evaluation value corresponding to an indefinite point, which is an indefinite feature, to an evaluation value corresponding to the multiplicity, which is a firm feature, it is possible to recognize even a curved object having almost no feature on the outer periphery.

以下図面を参照して、本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図3は、本発明を実施するための図形特徴データ抽出装置の主要部のブロック構成を示す図である。   FIG. 3 is a diagram showing a block configuration of the main part of the graphic feature data extracting apparatus for carrying out the present invention.

本実施形態は、例えば照明100により照明される物体1をテレビカメラ102で撮影して入力する画像入力部104と、画像から物体の輪郭線を抽出するための画像輪郭線抽出部106と、輪郭線から物体の特徴データを抽出するための図形特徴データ抽出部110及び物体特徴データのデータベース112と、前記画像輪郭線抽出部106で抽出された輪郭線からRemark(窪みや突起)を全て見つけて出力するR発生部120と、該R発生部120から出力された個々のRに要不要の評価値νを埋め込むR評価部122と、前記輪郭線から不定点(Transient)を出力するT発生部124と、該T発生部124から出力された個々のTに要不要の評価値νを埋め込むT評価部126と、全体を制御して、次の物体を撮像し、物体の特徴データを抽出し、物体特徴データのデータベース112に出力する制御部130とを主に備えている。   In the present embodiment, for example, an image input unit 104 that captures and inputs the object 1 illuminated by the illumination 100 with the television camera 102, an image contour line extraction unit 106 that extracts the contour line of the object from the image, The figure feature data extraction unit 110 and object feature data database 112 for extracting object feature data from the line and all the Remarks (dents and protrusions) from the contour lines extracted by the image contour line extraction unit 106 are found. R generating unit 120 for outputting, R evaluating unit 122 for embedding unnecessary evaluation value ν in each R output from R generating unit 120, and T generating unit for outputting an indefinite point (Transient) from the contour line 124, a T evaluation unit 126 that embeds an unnecessary evaluation value ν in each T output from the T generation unit 124, and the whole is controlled to image the next object, and object feature data Extracted, and a control unit 130 for output to the database 112 of the object feature data are mainly provided.

以下、実施例を詳しく記述する。   Hereinafter, examples will be described in detail.

本発明は、輪郭線から良いRと良いTを出力するための方法に関するものである。   The present invention relates to a method for outputting good R and good T from a contour line.

図1において、Rとは、Remark即ち窪みや突起であり、窪み3、突起2、4、5、6、7、8のことである。   In FIG. 1, R is a Remark, that is, a depression or a protrusion, and is a depression 3, a protrusion 2, 4, 5, 6, 7, 8.

Tとは、Transient即ち不定点(ランダム点)であり、Rの個数が不足したときに、周上にランダムに発生させる不定点9のことである。   T is a Transient, that is, an indefinite point (random point), and is an indefinite point 9 that is randomly generated on the circumference when the number of R is insufficient.

図4(a)に輪郭線の構造を示す。輪郭線は折れ線であって、進行方向30の向きに進む頂点座標31の列である。各頂点でその近傍頂点列32を均すことにより接線方向33を得ることができる。   FIG. 4A shows the outline structure. The contour line is a broken line, and is a row of vertex coordinates 31 that proceed in the direction of travel 30. The tangential direction 33 can be obtained by leveling the neighboring vertex row 32 at each vertex.

まず最初に、全ての輪郭線に長さの評価値ζをつけておく。ζは0〜1の値を持ち、輪郭線の長さλが大きいほどζも大きい。   First, length evaluation values ζ are attached to all contour lines. ζ has a value of 0 to 1, and the larger the length λ of the contour line, the larger ζ.

図5において、認識しようとする物体の輪郭線1は最も長く(λ=MAX)、外部の異物の輪郭線13は次に長く、認識物体の内部のキズや模様等の輪郭線12は最も短い(λ=MIN)。   In FIG. 5, the contour 1 of the object to be recognized is the longest (λ = MAX), the contour 13 of the external foreign object is the next longest, and the contour 12 of the scratch or pattern inside the recognition object is the shortest. (Λ = MIN).

図6(a)に、λとζのグラフ(関数)の例を示す。この関数は、λ=MAXのときζ=1、λ=MINのときζ=C1とする。C1は正の定数で任意値でよいが、例えばC1=0.1とすることができる。   FIG. 6A shows an example of a graph (function) of λ and ζ. This function is ζ = 1 when λ = MAX and ζ = C1 when λ = MIN. C1 is a positive constant and may be an arbitrary value. For example, C1 = 0.1.

関数はλの増加関数なら適当でよい。実施例では、座標(MIN,C1)で底を持ち、中央点70を通るような2次関数を設定した。なおグラフ後半の中央点70から座標(MAX,1)までのグラフは、前半の180°回転である。   The function may be appropriate if it is an increasing function of λ. In the embodiment, a quadratic function having a base at coordinates (MIN, C1) and passing through the center point 70 is set. Note that the graph from the center point 70 in the latter half of the graph to the coordinates (MAX, 1) is the rotation of 180 ° in the first half.

この評価関数によると、図5の輪郭線1のζ=1.0、輪郭線12のζ=0.1、輪郭線13のζ=0.2(例えば)となり、ほど良い評価結果を得ている。   According to this evaluation function, ζ of the contour line 1 in FIG. 5 is 1.0, ζ of the contour line 12 is 0.1, and ζ of the contour line 13 is 0.2 (for example). Yes.

次にRを発生させる。   Next, R is generated.

図7(a)にRの構造を示す。Rは座標と輪郭線の接線方向を持つ。又、その総合評価値(=要不要の度合い)ν(0.5〜1.0)を持つ。他のデータはνを生成するための材料である。   FIG. 7A shows the structure of R. R has a tangent direction of coordinates and contour lines. Moreover, it has a comprehensive evaluation value (= necessity degree) ν (0.5 to 1.0). The other data is a material for generating ν.

図4に本実施例で出力するRの目標とする座標を示す。図4(a)は直線で挟まれた形状である。この場合、交点に最も近い頂点34の近傍がRの目標とする座標である。図4(b)は曲線形状であり、しかも周長においてミクロ的にもマクロ的にも左右対称の場合である。この場合、左右対称の中心線(図示しない)との交点に最も近い頂点40の近傍がRの目標とする座標である。図4(c)は直線と曲線で挟まれた形状であり、ミクロ的には左右対称、マクロ的には左右非対称の場合の代表例である。この場合、座標43と座標45の中間座標、たとえば座標44がRの目標とする座標である。ここで、座標43はミクロの範囲で得たR座標、座標45はマクロの範囲で得たR座標である。   FIG. 4 shows R target coordinates output in this embodiment. FIG. 4A shows a shape sandwiched between straight lines. In this case, the vicinity of the vertex 34 closest to the intersection is the R target coordinate. FIG. 4B shows a curved shape, and the case where the circumference is symmetrical both microscopically and macroscopically. In this case, the vicinity of the vertex 40 closest to the intersection with a symmetrical center line (not shown) is the R target coordinate. FIG. 4C shows a shape sandwiched between a straight line and a curve, which is a typical example in the case of microscopic left-right symmetry and macroscopic left-right asymmetry. In this case, an intermediate coordinate between the coordinate 43 and the coordinate 45, for example, the coordinate 44 is a target coordinate of R. Here, the coordinate 43 is the R coordinate obtained in the micro range, and the coordinate 45 is the R coordinate obtained in the macro range.

図8はR発生部120の処理手順を示す流れ図であり、以下この流れに従って順に説明する。   FIG. 8 is a flowchart showing a processing procedure of the R generation unit 120, which will be described in order according to this flow.

ステップS1で、周長Γの列(Γ1、Γ2、・・・)を大きい順に用意する。Γは物体サイズから適当に決めれば良い。   In step S1, a sequence of peripheral lengths Γ (Γ1, Γ2,...) Is prepared in descending order. Γ may be determined appropriately from the object size.

ステップS2で、最初のΓ1に位置付ける。R生成個数kを0とする。   In step S2, it is positioned at the first Γ1. The number of R generations k is set to 0.

ステップS3で、次の周長Γがある限り以下の処理を続ける。全てのΓを処理すると終了する。   In step S3, the following processing is continued as long as the next circumference Γ exists. The process ends when all Γ are processed.

ステップS4で、最初の輪郭線に位置付ける。   In step S4, it is positioned at the first contour line.

ステップS5で、区間の始点S(図9のS0)を輪郭線の始点に置く。   In step S5, the start point S of the section (S0 in FIG. 9) is placed at the start point of the contour line.

ステップS6で、次の輪郭線がある限り続ける以下の処理を続ける。全ての輪郭線を処理したらステップS3に戻る。   In step S6, the following processing is continued as long as the next contour line exists. When all the contour lines have been processed, the process returns to step S3.

ステップS7で、状態遷移のフラグstateをOFF(最良山を持っていない)にする。山とは窪み/突起の総称である。   In step S7, the state transition flag state is set to OFF (not having the best mountain). Mountain is a general term for depressions / projections.

ステップS8で、Sが輪郭線の終点に達するまで以下の処理を続ける。但し、これは輪郭線が閉じた(=1周する)ときに必要な処理であって、開いたときは、終点からΓ戻った地点まで到達したら中断してよい。   In step S8, the following processing is continued until S reaches the end point of the contour line. However, this is a process necessary when the contour line is closed (= 1 round). When the contour line is opened, the process may be interrupted when reaching the point where Γ has returned from the end point.

ステップS9で、山検出フラグmntをOFF(山ではない)にする。   In step S9, the mountain detection flag mnt is turned OFF (not mountain).

ステップS10で、Sからの周長が初めてΓ以上となる頂点Eを探す。即ち、図9において、現在のΓ=Γ1、現在のS=S0であり、Sから始めて頂点間の距離を積算し続けると、Γ1に等しいか超える頂点E0に達する。このS0からE0までを現在区間と呼ぶことにする。   In step S10, the vertex E where the circumference from S is equal to or greater than Γ for the first time is searched. That is, in FIG. 9, the current Γ = Γ1, the current S = S0, and if the distance between the vertices is continuously accumulated starting from S, the vertex E0 equal to or exceeding Γ1 is reached. This S0 to E0 is called the current section.

ステップS11で、山形状の事前検査を行なう。これは以下の検査がある。   In step S11, a mountain-shaped preliminary inspection is performed. This has the following inspections.

(1)現在区間の頂点数(S0とE0を除く)が十分多いこと。これは、例えば定数=3以上とすることができる。但し、定数は任意である。   (1) The number of vertices (excluding S0 and E0) in the current section is sufficiently large. This can be, for example, a constant = 3 or more. However, the constant is arbitrary.

(2)ヒゲを除くため、開口部の距離S0E0がある程度大きいこと。これは、例えば0.2×Γ1以上とすることができる。但し、定数は任意である。   (2) The distance S0E0 of the opening should be large to some extent in order to remove beards. This can be, for example, 0.2 × Γ1 or more. However, the constant is arbitrary.

(3)現在区間の頂点(S0とE0を除く)が全て、直線S0E0のどちらか一方の側に偏在していること。   (3) All the vertices (except S0 and E0) of the current section are unevenly distributed on either side of the straight line S0E0.

(4)現在区間の深さM0G0が十分に大きいこと。これは、例えば0.2×Γ1以上とすることができる。但し、定数は任意である。   (4) The depth M0G0 of the current section is sufficiently large. This can be, for example, 0.2 × Γ1 or more. However, the constant is arbitrary.

M0は次のように求める。即ち、現在区間の周長をγとするとき(γ≧Γ1)、S0からの周長を測り、γ/2の地点を求めてこれをM0とする。従って、M0は一般に頂点と頂点の間に落ちるので、線形補間により正確な座標を求めることが重要である。G0はS0E0の中心である。   M0 is obtained as follows. That is, when the circumference of the current section is γ (γ ≧ Γ1), the circumference from S0 is measured, and the point of γ / 2 is obtained and set as M0. Therefore, since M0 generally falls between vertices, it is important to obtain accurate coordinates by linear interpolation. G0 is the center of S0E0.

以上全ての事前検査を合格したら、次のステップS13に行く。いずれかが不合格ならステップS17に行く。   If all the preliminary inspections are passed, the process goes to the next step S13. If either fails, go to step S17.

ステップS13で、交差角度検査を行なう。これはS0E0とM0G0が直交(=90°)に近いことを要求する。これは、|cosθ|≦D1で判定する。例えば、D1=cos80°とする。但し、定数は任意である。   In step S13, an intersection angle inspection is performed. This requires that S0E0 and M0G0 are close to orthogonal (= 90 °). This is determined by | cos θ | ≦ D1. For example, D1 = cos 80 °. However, the constant is arbitrary.

ステップS14で、左右対称検査を行なう。これは中心線M0G0に対して、S0、E0の接線方向であるそれぞれβs、βeが同じ角度に開いていることを要求するものである。   In step S14, left-right symmetry inspection is performed. This requires that βs and βe, which are tangential directions of S0 and E0, are opened at the same angle with respect to the center line M0G0.

演算は次のように行なう。ベクトルM0G0の方向余弦を(cosα、sinα)とする。S0の近傍を適当に均すことで、図の向きの接線方向βsを得ることができる。βeについても同様である。いずれも方向余弦の形で求めておく。   The calculation is performed as follows. Let the direction cosine of the vector M0G0 be (cos α, sin α). By appropriately leveling the vicinity of S0, the tangential direction βs in the direction of the drawing can be obtained. The same applies to βe. Both are obtained in the form of direction cosine.

φs=βs−α、φe=βe−α、を計算する。   φs = βs-α and φe = βe-α are calculated.

次に、φ=φs+φeを計算する。もし、完全な左右対称ならφ=0°=(1,0)となる。従ってこの検査では、これは|sinφ|≦D2で判定する。例えば、D2=sin10°とする。但し、定数は任意である。   Next, φ = φs + φe is calculated. If perfect left-right symmetry, φ = 0 ° = (1, 0). Therefore, in this inspection, this is determined by | sinφ | ≦ D2. For example, D2 = sin 10 °. However, the constant is arbitrary.

ステップS15で、現在山の評価値e=|sinθ||cosφ|を計算する。eは0〜1の値を持ち、直交に近いほど、左右対称に近いほど1に近付く。1に近いほど良い山である。eは山の連続があるとき、最も良い山を見つけるために使われる。   In step S15, an evaluation value e = | sin θ || cos φ | e has a value of 0 to 1, and approaches 1 as it is closer to right angle and closer to left-right symmetry. The closer to 1, the better. e is used to find the best mountain when there is a sequence of mountains.

ステップS16で、mntをONにする。これは山が一つ見つかったことを示す。   In step S16, mnt is turned ON. This indicates that one mountain has been found.

ステップS17で、状態遷移フラグstateを見る。   In step S17, the state transition flag state is viewed.

ステップS18で、mntがONであり、最良山を持っていない場合、ここが山であれば、ステップS19で、最良山に現在山を複写して、最良山の候補とする。即ち、見つかれば直ちに出力するわけではない。stateにONをセットする。   If it is determined in step S18 that mnt is ON and the best mountain is not present, if this is a mountain, in step S19, the current mountain is copied to the best mountain and set as the best mountain candidate. That is, if it is found, it is not output immediately. Set ON to state.

ステップS20で、mntがOFFであり、最良山を持っている場合、ここが山で無ければ、ここで初めて出力できるので、ステップS21で、最良山をRとして出力する。stateにOFFをセットし、再び山が無い状態とする。   In step S20, if mnt is OFF and has the best mountain, if it is not a mountain, it can be output for the first time, so the best mountain is outputted as R in step S21. Set “state” to OFF, and again there is no mountain.

以下、最良山をRとして出力するときの処理を説明する。   Hereinafter, processing when outputting the best mountain as R will be described.

図9において、最良山が仮に区間S0E0のものとする。ここで、先に現在区間の記述に使ったS0E0と同じ名称を使うので、混同しないように注意する。   In FIG. 9, the best mountain is assumed to be in the section S0E0. Here, the same name as S0E0 used for the description of the current section is used first, so be careful not to confuse it.

(1)直線S0E0と距離が最も大きい頂点P0を探す。複数あるときはその始端と終端の中央付近の同最大距離の頂点とすればよい。   (1) Find the vertex P0 having the longest distance from the straight line S0E0. When there are a plurality of points, they may be the vertices of the same maximum distance near the center of the start and end.

(2)P0からS0E0に垂線を降ろし、その足をH0とする。   (2) A perpendicular is dropped from P0 to S0E0, and the foot is set to H0.

(3)H0P0(長さh)上、中央付近(例えば、h/4〜(3/4)h内)に、適当な広がりで、H0からP0に向かって、例えば4等分して5個の点列を発生させる。但し、これの位置を決める定数は適当で良い。   (3) On H0P0 (length h), near the center (for example, within h / 4 to (3/4) h), with an appropriate spread, from H0 to P0, for example, divided into four equal parts and five Generate a sequence of points. However, a constant for determining the position may be appropriate.

(4)各発生点からH0P0に直交(従ってS0E0に平行)する直線を引く(例えば直線50)。   (4) A straight line orthogonal to H0P0 (and thus parallel to S0E0) is drawn from each occurrence point (for example, straight line 50).

(5)その直線50と現在区間のS0側、E0側それぞれの交点51、52を求める。   (5) The intersections 51 and 52 of the straight line 50 and the S0 side and the E0 side of the current section are obtained.

(6)交点間の中点53を出力する。以上を5本分繰り返す。   (6) The midpoint 53 between the intersections is output. Repeat the above for 5 bottles.

(7)5個の中点列から最小2乗近似直線54を引く。   (7) Draw the least square approximation line 54 from the five midpoint sequences.

(8)P0からその直線54に垂線を降ろし、その垂線の足をz0とする。z0がこの山の出力座標Q1である。   (8) A perpendicular is dropped from P0 to the straight line 54, and the leg of the perpendicular is z0. z0 is the output coordinate Q1 of this mountain.

(9)z0における山の接線方向τ0は、ベクトルH0P0を±90°回転した方向から作る。図9は現在区間が反時計回りであるから、+90°回転する(もし時計回りであるなら、−90°回転する)。   (9) The tangential direction τ0 of the mountain at z0 is made from the direction obtained by rotating the vector H0P0 by ± 90 °. In FIG. 9, since the current section is counterclockwise, it rotates by + 90 ° (if it is clockwise, it rotates by −90 °).

これにより、山の出力Qを得ることができる。即ちQ=(座標z0、接線方向τ0)である。図10において、各Γ毎にQが出力されることに注意する。即ち、Γ1からQ1、Γ2からQ2、・・・とΓ5からのQ5まで続く。   Thereby, the output Q of the mountain can be obtained. That is, Q = (coordinate z0, tangential direction τ0). Note that in FIG. 10, Q is output for each Γ. That is, Γ1 to Q1, Γ2 to Q2,... And Γ5 to Q5 continue.

Q1も含めて全ての出力Qは、既に登録されている個々のRのε近傍に入っているかどうかの検査を行なう。これはむやみにRの個数を増やさないためである。ここでεは適当に定めれば良く、例えば物体長の0.1倍とする。   All the outputs Q including Q1 are inspected to determine whether they are in the vicinity of ε of individual Rs already registered. This is because the number of R is not increased unnecessarily. Here, ε may be determined appropriately, for example, 0.1 times the object length.

ここでは1回目のQ1は登録されるものとする。実際、周りに山が無いからである。登録されたQのことをRと呼ぶ。   Here, the first Q1 is registered. In fact, there are no mountains around. The registered Q is called R.

Rのζに現在の輪郭線のζを複写する。   Copy ζ of the current contour line to ζ of R.

RのγにQ1の区間長γ(S0からE0までの実際の長さ)を複写する。このγは以降の処理で変更してはならない。   The interval length γ (actual length from S0 to E0) of Q1 is copied to γ of R. This γ must not be changed in subsequent processing.

又、Rの多重度と呼ぶmを1にする。   Also, m called R multiplicity is set to 1.

Rの個数kを一つ増やす。   The number k of R is increased by one.

2回目のQ2はRのε近傍に入っているので、Q2は登録しない。その代わりRの修正を行なう役目を持つ。   Since Q2 of the second time is in the vicinity of ε of R, Q2 is not registered. Instead, it has the role of correcting R.

即ち、図11において、Q1(=R)、Q2の座標をそれぞれq1、q2、接線方向(方向余弦)をそれぞれω1、ω2とする。   That is, in FIG. 11, the coordinates of Q1 (= R) and Q2 are q1 and q2, respectively, and the tangential direction (direction cosine) is ω1 and ω2, respectively.

新座標q´は、q1、q2をΓ2:Γ1に内分して得る。   The new coordinate q ′ is obtained by dividing q1 and q2 into Γ2: Γ1.

新接線方向ω´は、ω1、ω2を同じくΓ2:Γ1に内分して得る。このときのやり方としては、開き角度δを求め、δは0°に近いことを利用し(実際ほとんど2°未満である)、sinδ(符号付)をΓ2:Γ1に内分すれば良い。即ち、修正角度β(図には無い)のsinβ=(Γ2/(Γ1+Γ2))sinδであり、従ってcosβ=√(1−sinβの2乗)とする。ω´はω1をβ回転したものである。   The new tangential direction ω ′ is obtained by internally dividing ω1 and ω2 into Γ2: Γ1. As a method at this time, an opening angle δ is obtained, and δ is close to 0 ° (actually almost less than 2 °), and sin δ (signed) may be internally divided into Γ2: Γ1. That is, sin β = (Γ2 / (Γ1 + Γ2)) sinδ of the correction angle β (not shown), and therefore cosβ = √ (square of 1−sinβ). ω ′ is obtained by rotating ω1 by β.

以上の座標修正、角度修正は非常に重要である。この修正により、Rの座標と接線方向を安定することができる。   The above coordinate correction and angle correction are very important. By this modification, the R coordinate and the tangential direction can be stabilized.

最後に、Rの多重度mを一つ上げて2とする。これでQ2による修正が完了した。   Finally, the multiplicity m of R is increased by 1 to 2. This completes the correction by Q2.

同じことを引き続くQ3以降でも繰り返す。最終のQ5まで繰り返したとき、このRの多重度mは5になっている。   Repeat the same thing after Q3. When the process is repeated up to the final Q5, the multiplicity m of R is 5.

多重度の役割については後述する。   The role of multiplicity will be described later.

ステップS22で、最良山を持っている場合、ここが山であれば、山が連続したことになる。従って、ステップS22で、最良山と現在山で良い方の山を選ぶ。即ち、ステップS23で、現在山の評価値の方が高ければ、最良山に現在山を複写する。もし同じか低ければ何もしない。   If it is determined in step S22 that the mountain is the best, if it is a mountain, the mountain is continuous. Accordingly, in step S22, the best mountain and the current mountain are selected. That is, if the evaluation value of the current mountain is higher in step S23, the current mountain is copied to the best mountain. If it is the same or lower, do nothing.

ステップS24で、現在山があってもなくてもS0を周長δ1移動し、次はS1から始める。但し、δ1は頂点位置変位で、例えばδ1=1(一つずつ移動)とする。但し、この定数は任意である。   In step S24, whether or not there is a current mountain, the circumference of S0 is moved by δ1, and the next step is S1. However, δ1 is the vertex position displacement, for example, δ1 = 1 (moves one by one). However, this constant is arbitrary.

以下は新しいS1でステップ8から同じことを繰り返す。   The following repeats the same from step 8 for the new S1.

なお、ステップS21において、注意すべきは円又は同相の、即ち特徴の無いところから山を出力しないようにすることである。   In step S21, it should be noted that a mountain is not output from a circle or in-phase, that is, a feature-free area.

即ち、図12において、既に中点で示すところの山M0が出力されてRとなっているものとする(直前のR)。   That is, in FIG. 12, it is assumed that the peak M0 indicated by the middle point has already been output and becomes R (the immediately preceding R).

その後、山M1の出力をしようとするが、形状がほとんど直前のRと同じであることが分かる。   After that, an attempt is made to output the mountain M1, but it can be seen that the shape is almost the same as the previous R.

即ち、例えば開口部SEの距離が同じであり、MからSEまでの距離が同じであり、更にM0、M1それぞれの接線方向βs、βeの相対的な方向が同じであるときは、同じ山であると結論してよい。   That is, for example, when the distance of the opening SE is the same, the distance from M to SE is the same, and the relative directions of the tangential directions βs and βe of M0 and M1 are the same, You can conclude that there is.

このようなときは、山M1を出力しないことは勿論、直前Rそのものも出力リストから抹消する。   In such a case, the mountain M1 is not output, and the immediately preceding R itself is deleted from the output list.

ステップS3で全てのΓで処理が終了したらR発生が終了する。   When the processing is completed for all Γ in step S3, R generation ends.

R発生が終了したら、次に、R評価部122でRの評価を行なう。   After the generation of R is completed, the R evaluation unit 122 evaluates R.

図6(b)に多重度mの評価関数ωの一例を示す。   FIG. 6B shows an example of the evaluation function ω with multiplicity m.

まず、生成されたRの集合で、そのmについて、最大値(MAX)と最小値(MIN)を得る。図13は生成されたRの集合の多重度(Mで示す)を示す。MAX=5、MIN=1である。   First, a maximum value (MAX) and a minimum value (MIN) are obtained for the m of the generated R set. FIG. 13 shows the multiplicity (indicated by M) of the generated R set. MAX = 5 and MIN = 1.

特徴として、図14に例示する如く、より好ましいところの形が良く大きな山には大きな多重度が出力されていること、逆に、形が悪い、あるいは小さい山には小さな多重度が出力されていることに注意する。   As a feature, as shown in FIG. 14, a more preferable shape is good and a large multiplicity is output to a large mountain, and conversely, a small multiplicity is output to a bad or small mountain. Note that

図6(b)に戻って、Rのそれぞれに多重度mが記入されているから、そのmで図の関数値ωを得る。ここで使う関数は、図6(a)のζ評価のときのものと同じような規則で作ればよい。定数C2は適当でよく、例えばC2=0.2とすることができる。   Returning to FIG. 6B, since the multiplicity m is entered in each of R, the function value ω in the figure is obtained with that m. The function used here may be made according to the same rules as those in the case of ζ evaluation in FIG. The constant C2 may be appropriate, for example, C2 = 0.2.

次に図6(c)に長さγの評価関数ψを示す。生成されたRの集合で、そのγについて、最大値(MAX)と最小値(MIN)を得る。   Next, FIG. 6C shows an evaluation function ψ having a length γ. In the generated set of R, the maximum value (MAX) and the minimum value (MIN) are obtained for the γ.

Rのそれぞれに長さγが記入されているから、そのγで図の関数値ψを得る。ここで使う関数は図6(a)のζ評価のときのものと同じような規則で作ればよい。定数C3は適当でよく、例えばC3=0.2とすることができる。   Since the length γ is entered in each R, the function value ψ in the figure is obtained with the γ. The function used here may be made according to the same rules as those used for ζ evaluation in FIG. The constant C3 may be appropriate, for example, C3 = 0.2.

次に、Rのそれぞれに、形と大きさの評価値ηをセットする。Rのηは、
η=多重度評価値×長さ評価値=ω×ψ
である。
Next, an evaluation value η of shape and size is set for each of R. Η of R is
η = multiplicity evaluation value × length evaluation value = ω × ψ
It is.

次にRのそれぞれに、総合評価値νをセットする。Rのνは、
ν=0.5+0.5ζη
である。この式によると、νは0.5〜1.0の値を持ち、輪郭線の評価値ζが大きく、形と大きさの評価値ηが大きいほど大きい。
Next, a comprehensive evaluation value ν is set for each of R. Ν of R is
ν = 0.5 + 0.5ζη
It is. According to this equation, ν has a value of 0.5 to 1.0, the contour evaluation value ζ is larger, and the shape and size evaluation value η is larger.

図5で、黒丸はRであることを示し、そのν値を示している。特徴として、好ましい地点のRほど大きなνが出力されていることに注意する(Rの最小値が0.5であることに注意)。   In FIG. 5, the black circle indicates that it is R and indicates its ν value. As a feature, note that a larger value of ν is output as R at a preferred point (note that the minimum value of R is 0.5).

特に図13において、多重度ではR63とR64は共にm=4であり区別できないが、図2ではそれぞれν=0.9、ν=0.6と大きく差がついていることに注意する。これは輪郭線の評価値ζの働きによるものである。   In particular, in FIG. 13, in the multiplicity, both R63 and R64 are m = 4 and cannot be distinguished, but it should be noted that in FIG. 2, there is a large difference between ν = 0.9 and ν = 0.6, respectively. This is due to the action of the outline evaluation value ζ.

図15に、出力されたRを示す。Rを物体認識で使う場合には、例えば三角形R1R2R9の形状を学習して記録し、認識のとき同じ形が現われるかどうかを調べればよい。   FIG. 15 shows the output R. When R is used for object recognition, for example, the shape of the triangle R1R2R9 is learned and recorded, and it is checked whether the same shape appears during recognition.

図では12個のRが出力されているが、この数では必ずしも十分でないことがある。用途によっては外周に関する情報が欲しい場合がある。   In the figure, 12 Rs are output, but this number may not be sufficient. Depending on the application, information about the outer periphery may be desired.

例えば、外周部にランダムに配置される点Tは、数が多ければ認識の情報に使うことができる。   For example, the points T randomly arranged on the outer peripheral portion can be used for recognition information if the number is large.

図7(b)に、Tの構造を記述する。   FIG. 7B describes the structure of T.

Tは座標と輪郭線の接線方向を持つ。又その総合評価値(=要不要の度合い)ν(0〜0.5)を持つ。   T has a tangential direction of coordinates and contour lines. Moreover, it has a comprehensive evaluation value (= necessary degree) ν (0 to 0.5).

例えば、三角形R2R8T3を学習したとする。認識においては別画像であるから一般に異なる場所、例えばTxに発生する。   For example, assume that the triangle R2R8T3 is learned. In recognition, since it is a different image, it generally occurs at a different place, for example, Tx.

しかし三角形R1R8Txは学習三角形R2R8T3と良く似ているので、学習物体の可能性として出力することができる。   However, the triangle R1R8Tx is very similar to the learning triangle R2R8T3, so it can be output as a learning object possibility.

Tが必要か否かはRの個数kに従うのが良い。図16は、Tの必要個数Ntの生成関数である。これも図6(a)のζ生成関数と同じ原理でつくることができる(上下を反対にする)。Rの十分個数REは適当でよく、例えばRE=25とすることができる。関数はk=REでNt=0を出力する、即ちTは不要である。一方k=0ではTS個を出力する。TSはTだけで認識できるための必要個数であり、物体のサイズその他から決めればよい。例えば定数TS=80を割り当てても良い。   Whether T is necessary or not should be according to the number k of R. FIG. 16 shows a generation function of the necessary number N of T. This can also be created based on the same principle as the ζ generation function shown in FIG. 6A (upside down). A sufficient number RE of R may be appropriate, for example, RE = 25. The function outputs k = RE and Nt = 0, that is, T is unnecessary. On the other hand, when k = 0, TS pieces are output. TS is a necessary number that can be recognized only by T, and may be determined from the size of the object and the like. For example, a constant TS = 80 may be assigned.

Tの発生は至って単純である。即ち、図15において、各輪郭線の始点にまず発生し、予め計算しておいた距離毎に周を進み、そこに発生する。但しRのε近傍に入っているときは発生しない。   The generation of T is quite simple. That is, in FIG. 15, it first occurs at the starting point of each contour line, proceeds around the circumference for each distance calculated in advance, and occurs there. However, it does not occur when R is in the vicinity of ε.

Tが進む距離は、輪郭線集合全体の距離をNtで除した商から決めればよい。   The distance traveled by T may be determined from the quotient obtained by dividing the distance of the entire outline set by Nt.

Tのζは輪郭線の評価値の複写である。   Ζ of T is a copy of the evaluation value of the contour line.

Tのνは、ν=0.5ζとする。これにより輪郭線が最大評価値ζ=1のときでもν=0.5となり、Rの最小値以下となるので両者を差別する上で都合が良い。   Ν of T is set to ν = 0.5ζ. Thus, even when the contour is the maximum evaluation value ζ = 1, ν = 0.5, which is less than the minimum value of R, which is convenient for discriminating the two.

図5に最終的に出力されたRとTを示す。黒丸がRであり、白丸がTである。図には書かれていないが、それぞれ輪郭線の接線方向を持つ。ν値は分かり易さのために小数点以下1桁とした。   FIG. 5 shows R and T finally output. The black circle is R and the white circle is T. Although not shown in the figure, each has a tangential direction of the outline. The ν value is one digit after the decimal point for easy understanding.

これによると、明らかに特徴で使いたいところはνが非常に高く、逆に使いたくない特徴は低い。特に、内部の雑音12のνは低く、又、外部の雑音13のνも低いことに注目する。   According to this, obviously, ν is very high for features that you want to use, and low for features that you do not want to use. Note in particular that the internal noise 12 has a low ν and the external noise 13 has a low ν.

このようにして、R(窪み/突起)の正しい評価値νを得ることができる。νは優れた指針であり、認識対象で、しかも強い特徴ほど大きなνとなって現われる。   In this way, a correct evaluation value ν of R (recess / projection) can be obtained. ν is an excellent guideline. It is a recognition target, and a stronger feature appears as a larger ν.

即ち、
ν=0.5+0.5ζη
=0.5+0.5ζ(λ)ω(m)ψ(γ)
とすると、ζ(λ)は母体輪郭線の長さλが大きいほど大きい。ω(m)は多重度mが大きいほど大きい。ψ(γ)は周の長さγが大きいほど大きい。以上により、ν値は3項全てが大きいときのみ大きくなるのであって、これはRの正しい評価値となっている。
That is,
ν = 0.5 + 0.5ζη
= 0.5 + 0.5ζ (λ) ω (m) ψ (γ)
Then, ζ (λ) increases as the length λ of the parent contour increases. ω (m) increases as the multiplicity m increases. ψ (γ) increases as the circumference length γ increases. As described above, the ν value increases only when all three terms are large, and this is a correct evaluation value of R.

特に、図6(a)、(b)、(c)に示すとおり、ζ(λ)、ω(m)、ψ(γ)は、それぞれλ、m、γの値の範囲(MAXとMIN)に従う関数であることに注意する。即ち評価値が高いか低いかは、その集合のMAX値とMIN値による。   In particular, as shown in FIGS. 6A, 6B, and 6C, ζ (λ), ω (m), and ψ (γ) are ranges of values of λ, m, and γ (MAX and MIN), respectively. Note that the function follows. That is, whether the evaluation value is high or low depends on the MAX value and MIN value of the set.

例えば図6(b)において多重度mの評価値ω(m)はmの範囲による。即ち先に言及したが、図2に例示した如く、円形物体1´があって、その円周上にわずかに窪み/突起6、7がある場合、それらの多重度が例えばm=1とm=2だけのときがある。その場合、MAX=2、MIN=1であり、m=2を得たものは最大評価値ω=1となる。これは、その窪み/突起の多重度の正しい評価値である。   For example, in FIG. 6B, the evaluation value ω (m) of the multiplicity m depends on the range of m. That is, as described above, as illustrated in FIG. 2, when there is a circular object 1 ′ and there are slight depressions / projections 6 and 7 on the circumference, their multiplicity is, for example, m = 1 and m There are times when only = 2. In this case, MAX = 2, MIN = 1, and the one obtained m = 2 is the maximum evaluation value ω = 1. This is a correct evaluation of the multiplicity of the depression / projection.

ここで、多重度mは窪み/突起の深さ(高さ)と形の良さを表わす指標である。   Here, the multiplicity m is an index representing the depth (height) of the depression / projection and the shape.

即ち、図14において、(a)、(b)、(c)は、いずれも同じ開口長eを持つ窪み(突起)である。しかし、図のように多重度はそれぞれ異なっている。(b)の多重度が(a)に較べて小さいのは深さ(高さ)が小さいからであり、(c)の多重度が(a)に較べて小さいのは先端部の形が悪いからである。   That is, in FIG. 14, (a), (b), and (c) are all depressions (projections) having the same opening length e. However, the multiplicity is different as shown in the figure. The reason why the multiplicity of (b) is smaller than that of (a) is that the depth (height) is small, and the reason why the multiplicity of (c) is smaller than that of (a) is that the shape of the tip is bad. Because.

このように、多重度mの値は窪み(突起)が深いほど(高いほど)、又形が良いほど大きいのでRの評価の一つとして有効である。   Thus, the value of multiplicity m is effective as one of the evaluations of R because the deeper the depression (projection) (the higher the height) and the better the shape.

又、R単独、又はRとTの組合せで認識を行なうことができる。その際に、それぞれの評価値νは優れた指針であり、良いR又は良いTだけを取り出して最高の集合をつくることができる。これにより、外周に殆ど特徴が無いような曲線物体でも認識が可能になる。   Further, recognition can be performed by R alone or a combination of R and T. At that time, each evaluation value ν is an excellent guideline, and only the good R or good T can be taken out to create the best set. Thereby, it is possible to recognize even a curved object having almost no feature on the outer periphery.

なお、実施例では評価値生成関数として、2次関数を使ったが、単調に増加あるいは減少する関数であれば何でも良い。極端な例として直線でも良い。その場合でも効果は殆ど変わらない。   In the embodiment, a quadratic function is used as the evaluation value generation function. However, any function may be used as long as it is a monotonically increasing or decreasing function. A straight line may be used as an extreme example. Even in that case, the effect is almost the same.

又、実施例では多重度mで評価できる輪郭線の特徴としてR(窪み/突起)を用いた。しかし、R以外にも存在する。例えば、L(直線)やC(円)等がその例である。   In the embodiment, R (dent / protrusion) is used as a feature of the contour that can be evaluated with multiplicity m. However, it exists in addition to R. For example, L (straight line), C (circle), etc. are examples.

図17の(a)は輪郭線の直線部(L)が長さの異なるΓ(図示しない)で抽出されたものである。このときにも、使われたΓの長さが5個なら、m=5とすればよい。(b)に示すように、凹凸の激しい区間があり、長い距離で見れば直線として検出可能で、逆に短い距離では検出不可能であるような場合、図のように3個の長さだけで検出されたので、多重度m=3である。   FIG. 17A shows a case where the straight line portion (L) of the contour line is extracted by Γ (not shown) having different lengths. At this time, if the length of Γ used is five, m = 5 may be set. As shown in (b), when there is a section with severe irregularities and can be detected as a straight line when viewed at a long distance, but not at a short distance, only three lengths as shown in the figure. Therefore, the multiplicity m = 3.

図18は、輪郭線の円弧部(C)の長さが異なるΓ(図示しない)で抽出されたものである。このときも、使われたΓの長さが5個なら、m=5とすればよい。   FIG. 18 is extracted with Γ (not shown) having different arc lengths (C) of the contour line. At this time, if the length of Γ used is five, m = 5.

このように多重度は輪郭線から抽出されるあらゆる特徴形状に存在するのであって、その特徴形状の大きさと、形の良さを表わす尺度となり得る。   Thus, the multiplicity exists in every feature shape extracted from the contour line, and can be a scale representing the size of the feature shape and the goodness of the shape.

曲線物体の形状の一例を示す図Diagram showing an example of the shape of a curved object 円形物体の一例を示す図Diagram showing an example of a circular object 本発明を実施するための図形特徴データ抽出装置の主要部構成を示すブロック図The block diagram which shows the principal part structure of the graphic feature data extraction apparatus for implementing this invention Rの目標座標を示す図The figure which shows the target coordinate of R 本発明による評価値の付与例を示す図The figure which shows the example of provision of the evaluation value by this invention 本発明で用いる評価関数の例を示す図The figure which shows the example of the evaluation function used by this invention 同じくRとTの構造を示す図The figure which similarly shows the structure of R and T 同じくR発生の処理手順を示す流れ図A flow chart showing the procedure for generating R 同じく実施例の処理方法を説明するための図The figure for demonstrating the processing method of an Example similarly 同じく処理方法を説明するための図The figure for explaining the processing method similarly 同じく処理方法を説明するための図The figure for explaining the processing method similarly 同じく処理方法を説明するための図The figure for explaining the processing method similarly 同じく処理方法を説明するための図The figure for explaining the processing method similarly 本発明の多重度を示す図The figure which shows the multiplicity of this invention 実施例の処理方法を説明するための図The figure for demonstrating the processing method of an Example 同じくTの必要個数Ntの生成関数の例を示す図The figure which similarly shows the example of the production | generation function of the required number Nt of T 輪郭線の直線部の抽出例を示す図The figure which shows the example of extraction of the linear part of an outline 輪郭線の円弧部の抽出例を示す図The figure which shows the example of extraction of the circular arc part of an outline

符号の説明Explanation of symbols

1、1´、12、13…輪郭線
104…画像入力部
106…画像輪郭線抽出部
110…図形特徴データ抽出部
112…図形特徴データデータベース
120…R発生部
122…R評価部
124…T発生部
126…T評価部
130…制御部
DESCRIPTION OF SYMBOLS 1, 1 ', 12, 13 ... Contour line 104 ... Image input part 106 ... Image outline extraction part 110 ... Graphic feature data extraction part 112 ... Graphic feature data database 120 ... R generation part 122 ... R evaluation part 124 ... T generation Unit 126 ... T evaluation unit 130 ... Control unit

Claims (5)

画像から曲線物体の輪郭線を抽出し、その特徴を評価する際に、
特徴を含む設定区間を、特徴に向けて順次せばめて行った際に、特徴が再び検出された時のくり返し検出数である多重度を求め、
該多重度に応じた評価値を用いることを特徴とする曲線物体輪郭線の特徴評価方法。
When extracting the contour line of a curved object from an image and evaluating its features,
When the setting section including the feature is sequentially fit toward the feature, the multiplicity which is the number of repeated detections when the feature is detected again is obtained,
A characteristic evaluation method for a curved object outline, wherein an evaluation value corresponding to the multiplicity is used.
前記多重度を用いて、輪郭線の山の特徴を評価することを特徴とする請求項1に記載の曲線物体輪郭線の特徴評価方法。   The feature evaluation method for a curved object outline according to claim 1, wherein the feature of the peak of the outline is evaluated using the multiplicity. 請求項1又は2において、更に、輪郭線上にランダムに発生させた不定点に応じた評価値を加えることを特徴とする曲線物体輪郭線の特徴評価方法。   3. The characteristic evaluation method for a curved object outline according to claim 1, further comprising adding an evaluation value corresponding to an indefinite point randomly generated on the outline. 前記不定点の評価値の最大値が、山の評価値の最小値よりも小さくなるようにしたことを特徴とする請求項3に記載の曲線物体輪郭線の特徴評価方法。   4. The characteristic evaluation method for a curved object outline according to claim 3, wherein a maximum value of the indefinite point evaluation value is smaller than a minimum value of the mountain evaluation value. 画像から曲線物体の輪郭線を抽出し、その特徴を評価する曲線物体輪郭線の特徴評価装置において、
特徴を含む設定区間を、特徴に向けて順次せばめて行った際に、特徴が再び検出された時のくり返し検出数である多重度を求める手段と、
該多重度に応じた評価値を求める手段と、
を備えたことを特徴とする曲線物体輪郭線の特徴評価装置。
In a feature evaluation apparatus for a curved object contour that extracts a contour of a curved object from an image and evaluates its characteristics,
Means for obtaining a multiplicity which is the number of repeated detections when the feature is detected again when the setting section including the feature is sequentially fit toward the feature;
Means for obtaining an evaluation value according to the multiplicity;
A characteristic evaluation apparatus for a curved object outline characterized by comprising:
JP2007340658A 2007-12-28 2007-12-28 Characteristic evaluation method and apparatus for curved object outline Active JP4943316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007340658A JP4943316B2 (en) 2007-12-28 2007-12-28 Characteristic evaluation method and apparatus for curved object outline

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007340658A JP4943316B2 (en) 2007-12-28 2007-12-28 Characteristic evaluation method and apparatus for curved object outline

Publications (2)

Publication Number Publication Date
JP2009163383A true JP2009163383A (en) 2009-07-23
JP4943316B2 JP4943316B2 (en) 2012-05-30

Family

ID=40965950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007340658A Active JP4943316B2 (en) 2007-12-28 2007-12-28 Characteristic evaluation method and apparatus for curved object outline

Country Status (1)

Country Link
JP (1) JP4943316B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0716368A (en) * 1993-06-30 1995-01-20 Juki Corp Sewing machine
JPH0775693A (en) * 1993-06-30 1995-03-20 Juki Corp Sewing machine device
JP2001251097A (en) * 2000-03-07 2001-09-14 Juki Corp Method and device for positioning part
JP2003132344A (en) * 2001-10-26 2003-05-09 Sharp Corp Image processing method, image processor, program, recording medium, and image formation device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0716368A (en) * 1993-06-30 1995-01-20 Juki Corp Sewing machine
JPH0775693A (en) * 1993-06-30 1995-03-20 Juki Corp Sewing machine device
JP2001251097A (en) * 2000-03-07 2001-09-14 Juki Corp Method and device for positioning part
JP2003132344A (en) * 2001-10-26 2003-05-09 Sharp Corp Image processing method, image processor, program, recording medium, and image formation device

Also Published As

Publication number Publication date
JP4943316B2 (en) 2012-05-30

Similar Documents

Publication Publication Date Title
JP2776409B2 (en) Classification device for skin pattern and fingerprint pattern
CN106372642B (en) Ellipse rapid detection method based on contour curve segmentation arc merging and combining
KR100432491B1 (en) Method of extracting fingerprint features using ridge direction model
JP6730379B2 (en) Reading system, reading method, program, and storage medium
JP6104198B2 (en) Object recognition device
JP4791295B2 (en) Ruled line extraction program, ruled line extraction device, ruled line extraction method
Tang et al. Three-dimensional surface reconstruction via a robust binary shape-coded structured light method
JP6569734B2 (en) Image processing apparatus, image processing method, and program
JP4943316B2 (en) Characteristic evaluation method and apparatus for curved object outline
JP5679282B2 (en) Core wire width measuring device, core wire width calculation method, core wire width calculation program
JP2006099326A (en) Device, method, and program for determining plane four-finger image
KR20160017638A (en) Method of determining, in an image, at least one zone liable to represent at least one finger of an individual
JP4993128B2 (en) Image processing method and image processing apparatus using the method
US20140242498A1 (en) Production method and evaluation apparatus for mask layout
JP2005346222A (en) Sweat gland pore removing device, sweat gland pore removing method and sweat gland pore removing program
US7646918B2 (en) Systems and methods for recognizing objects in an image
Wang et al. Fingerprint reference point detection based on local ridge orientation patterns of fingerprints
JP2009048292A (en) Feature extraction method in image measurement algorithm
JP2002216138A (en) Shape recognizing method and its device
CN112085816A (en) Font curve generation method and device
TW200813859A (en) Matching methods and apparatus using landmark points in a print
JP6935832B2 (en) Image processing system
Gudkov et al. Fingerprint Model Based on Fingerprint Image Topology and Ridge Count Values
JP2004272885A (en) Device and method for edge extraction
JP6130796B2 (en) Object detection sensor and object detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120116

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120229

R150 Certificate of patent or registration of utility model

Ref document number: 4943316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150309

Year of fee payment: 3