JPH0624018B2 - Ellipse detector - Google Patents
Ellipse detectorInfo
- Publication number
- JPH0624018B2 JPH0624018B2 JP60208761A JP20876185A JPH0624018B2 JP H0624018 B2 JPH0624018 B2 JP H0624018B2 JP 60208761 A JP60208761 A JP 60208761A JP 20876185 A JP20876185 A JP 20876185A JP H0624018 B2 JPH0624018 B2 JP H0624018B2
- Authority
- JP
- Japan
- Prior art keywords
- ellipse
- segments
- segment
- model
- image
- 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.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 claims description 8
- 238000012360 testing method Methods 0.000 claims description 5
- 238000002372 labelling Methods 0.000 claims 1
- 230000008719 thickening Effects 0.000 claims 1
- 238000012545 processing Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
Landscapes
- Character Discrimination (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 本発明は、濃淡画像内に含まれる対象物の外形線におけ
る楕円部分を効果的に検出するこのできる楕円検出装置
に関する。TECHNICAL FIELD OF THE INVENTION The present invention relates to an ellipse detection device capable of effectively detecting an ellipse portion in an outline of an object included in a grayscale image.
ロボット・マニピュレーション技術の一貫として、TV
カメラにて撮像入力した濃淡画像中から、対象物を認識
処理する技術がある。例えば作業員が直接介入すること
が困難な、或いは危検な作業環境における対象物のメイ
ンテナンスを行うような場合、遠隔制御されるTVカメ
ラで作業環境の像を求め、これを認識処理して対象物の
位置を特定した後、その対象物に対する作業が遠隔制御
により行われる。TV as a part of robot manipulation technology
There is a technique for recognizing an object from a grayscale image captured and input by a camera. For example, when it is difficult for a worker to directly intervene or maintain an object in a dangerous work environment, an image of the work environment is obtained by a remotely controlled TV camera, and this is recognized and processed. After the position of the object is specified, work on the object is performed by remote control.
ところで、このような対象物の認識処理において、例え
ば配管(パイプ)等を斜めから視野し、その接続部(フ
ランジ)等認識する場合、対象物の外形線からその楕円
成分を検出することが必要となる。つまり円筒体や円柱
体、円盤体等を斜めから視野したとき、その外形形状が
楕円として撮像入力されるから、入力画像中における対
象物の楕円成分を検出することが必要となる。By the way, in such an object recognition process, for example, when a pipe or the like is viewed obliquely and its connection part (flange) or the like is recognized, it is necessary to detect the elliptical component from the outline of the object. Becomes That is, when a cylindrical body, a columnar body, a disc body, or the like is viewed obliquely, the outer shape thereof is imaged and input as an ellipse, so that it is necessary to detect the ellipse component of the object in the input image.
しかして対象物の外形線から楕円を検出する方式とし
て、 線分追跡 画像のHough変換 等を適用することが考えられている。しかし、その外形
線が閉曲線であれば比較的容易に線分追跡を行うことが
できるが、現実には、撮像入力された濃淡画像中から検
出される対象物の外形線は切れ切れになっていることが
殆んどである。この為、線分追跡によって楕円検出する
ことは非常に困難である。Therefore, as a method of detecting an ellipse from the outline of an object, it is considered to apply Hough transform of a line segment tracking image. However, if the contour line is a closed curve, line segment tracking can be performed relatively easily, but in reality, the contour line of the object detected in the grayscale image input by imaging is cut off. In most cases. Therefore, it is very difficult to detect an ellipse by tracing a line segment.
また上記Hough変換は、直線や円の検出に多く試み
られているが、円を検出する場合であっても、そのパラ
メータが3つも有り、計算処理量が膨大である。この
為、かろうじて、その円の半径が既知である場合等に利
用されているに過ぎず、実用上あまり用いられていな
い。The Hough transform is often tried to detect a straight line or a circle, but even when a circle is detected, there are three parameters and the amount of calculation processing is enormous. For this reason, it is barely used when the radius of the circle is known, and is rarely used in practice.
このような事情からして、通常のHough変換の場
合、パラメータが5つも存在する楕円にあっては、その
計算処理量が更に膨大化することが否めず、実際上、そ
の適用には問題がある。Under such circumstances, in the case of the ordinary Hough transform, it cannot be denied that the elliptic curve having five parameters will further increase the amount of calculation processing, and in practice, there is a problem in its application. is there.
またHough変換を工夫し、楕円の性質を利用してパ
ラメータの数を減らしたものもあるが、この場合であっ
ても楕円の中心に対して対象の位置に楕円成分がなくて
はならないと云う制約がある。更には、楕円を構成する
線分が切れ切れになっている場合にはデータ数が少ない
為にそのピークが求まらず、楕円をうまく検出すること
ができないと云う問題もある。There is also a Hough transform in which the number of parameters is reduced by utilizing the property of an ellipse, but even in this case, it is said that an ellipse component must be present at the target position with respect to the center of the ellipse. There are restrictions. Further, when the line segment forming the ellipse is cut off, the peak is not obtained because the number of data is small, and there is a problem that the ellipse cannot be detected well.
本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、濃淡画像中における対象物の外
形線を形成する楕円を信頼性良く、高効率に検出するこ
とのできる楕円検出装置を提供することにある。The present invention has been made in consideration of such circumstances, and an object thereof is to provide an ellipse that can reliably and highly efficiently detect an ellipse forming an outline of an object in a grayscale image. It is to provide a detection device.
本発明は、第1図に示すように楕円を適当に分割してな
る複数の円弧の中の、互いに重複することのない任意の
2つの円弧l1,l2の組について考えた場合、 その弦m1,m2が互いに交わることがない 各弦m1,m2の任意の点を結ぶ直線nが各円弧l
1,l2と交わることがない と云う性質を持つことに立脚してなされている。The present invention considers a set of arbitrary two arcs l1 and l2 which do not overlap each other among a plurality of arcs formed by appropriately dividing an ellipse as shown in FIG. , M2 do not intersect with each other, a straight line n connecting arbitrary points of the strings m1 and m2 is a circular arc l.
It is based on the fact that it does not intersect with 1,12.
そこで第2図に示すように、濃淡画像A中から対象物の
外形線を抽出し、その外形線をセグメント化した後、そ
のセグメントl1,l2,〜ln中の楕円を構成する可
能性のあるセグメントの組を同図(b)または(e)に
示すように抽出し、その楕円モデルp1,p2を推定す
る。Therefore, as shown in FIG. 2, there is a possibility that the contour line of the object is extracted from the grayscale image A, the contour line is segmented, and then an ellipse is formed in the segments l1, l2, to ln. A set of segments is extracted as shown in (b) or (e) of the same figure, and its elliptical models p1 and p2 are estimated.
そしてその楕円モデルp1,p2を元に、例えば同図
(c)および(f)に示すように論理フィルタリング処
理を施して円環状に太らせた楕円マスクq1,q2を作
成し、同図(d)および(g)に示すように上記各楕円
マスクq1,q2に前記各セグメントl1,l2,〜l
nがそれぞれ含まれるか否かを検証する。そして、その
検証結果に従って上記各楕円モデルp1,p2の確から
しさを判定し、前記濃淡画像中の対象物の外形線を示す
楕円を高精度に、しかも効率良く検出するようにしたも
のである。Then, based on the ellipse models p1 and p2, for example, as shown in (c) and (f) of FIG. ) And (g), the elliptic masks q1, q2 have the segments l1, l2, ...
It is verified whether each n is included. Then, the probability of each of the elliptic models p1 and p2 is determined according to the verification result, and the ellipse indicating the outline of the object in the grayscale image is detected with high accuracy and efficiency.
かくして本発明によれば、濃淡画像中から検出される対
象物の切れ切れの外形線の成分から効率良く楕円を検出
することができる。しかも、画像中から検出された複数
のセグメントの中から、楕円を構成する可能性のあるセ
グメントの組だけを選択しながらその処理を進めるの
で、楕円検出処理の高速化を図り得る。Thus, according to the present invention, it is possible to efficiently detect an ellipse from the component of the outline of the cutout of the object detected in the grayscale image. Moreover, the process is advanced while selecting only a set of segments that may form an ellipse from the plurality of segments detected in the image, so that the ellipse detection process can be speeded up.
また全てのセグメントの組合せについて楕円モデルを推
定するのではなく、2つのセグメントの組合せからその
全体を予測し、その上で残りのセグメントとの整合性を
調べるので、その処理効率の向上を図り得る。更には、
推定された楕円モデルの確からしさを検証して誤った楕
円モデルを除去し、確実性の高い楕円モデルだけを検出
するので、その検出精度の向上を図ることができる等の
実用上多大なる効果が奏せられる。Also, instead of estimating the elliptic model for all combinations of segments, the whole is predicted from the combinations of two segments and the consistency with the rest of the segments is checked, so that the processing efficiency can be improved. . Furthermore,
Since the accuracy of the estimated elliptic model is verified and the incorrect elliptic model is removed, and only the highly reliable elliptic model is detected, there is a great practical effect such as the improvement of the detection accuracy. Played.
〔発明の実施例) 以下、図面を参照して本発明の一実施例につき説明す
る。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings.
第3図は実施例装置の概略構成図である。TVカメラ等
の画像入力装置1を介して撮像入力された濃淡画像は、
画像メモリ2に格納されて画像処理に供せられる。FIG. 3 is a schematic configuration diagram of the embodiment apparatus. The grayscale image captured and input through the image input device 1 such as a TV camera is
It is stored in the image memory 2 and used for image processing.
画像処理部3は、制御部4の制御の下で前記画像メモリ
2に格納された濃淡画像に対するエッジ検出等の基本的
な画像処理を高速に実行し、濃淡画像中の対象物の外形
線の成分を検出している。Under the control of the control unit 4, the image processing unit 3 performs high-speed basic image processing such as edge detection on the grayscale image stored in the image memory 2 to detect the outline of the object in the grayscale image. The component is detected.
このようにして検出された外形線成分に対して制御部4
は、例えば第4図に示すような画像処理を実行し、前記
濃淡画像中の外形線が構成する楕円を検出している。With respect to the outline component detected in this way, the control unit 4
Performs the image processing as shown in FIG. 4, for example, and detects the ellipse formed by the outlines in the grayscale image.
この検出結果等が、表示部5にて表示されるものとなっ
ている。The detection result and the like are displayed on the display unit 5.
さて、第4図に示す楕円検出処理の流れについて説明す
ると、先ず演算処理に必要な各種データの初期化が行わ
れる(ステップa)。そして前記画像入力部1から画像
メモリ2への画像入力が行われる(ステップb)。Now, the flow of the ellipse detection process shown in FIG. 4 will be described. First, various data required for the arithmetic process are initialized (step a). Then, an image is input from the image input unit 1 to the image memory 2 (step b).
しかして画像メモリ2に格納された入力濃淡画像に対し
て、例えばその画像データを微分し、一定微分値以上の
画素データのみを対象物の外形線の成分として抽出する
(ステップc)。そしてその外形線を、例えばその線分
の曲率から直線部分と曲線部分とにセグメント分割し、
各セグメントについてラベリングする(ステップd)。
尚、各セグメントについては、例えば直線部分に対して
はその2つの端点の座標値にてセグメントを記述し、ま
た曲線部分に対してはその2つの端点と、その曲線を折
線近似したときの折れ曲り点の各座標値の系列としてセ
グメントを記述する。Then, for example, the image data of the input grayscale image stored in the image memory 2 is differentiated, and only the pixel data having a certain differential value or more is extracted as a component of the outline of the object (step c). Then, the outline is segmented into a straight line portion and a curved line portion from the curvature of the line segment,
Label each segment (step d).
For each segment, for example, for a straight line part, describe the segment with the coordinate values of its two end points, and for a curved part, the two end points and the fold line approximation of the curve. A segment is described as a series of each coordinate value of a bending point.
このような処理を経た後、上記セグメントの中で楕円を
構成する可能性のある2つのセグメントの組合せを抽出
する(ステップe)。つまり直線部分をなすセグメント
を排除し、曲線部分をなすセグメントの2つの組合せを
抽出する。After such processing, a combination of two segments that may form an ellipse among the above segments is extracted (step e). That is, the segment forming the straight line portion is excluded, and two combinations of the segment forming the curved line portion are extracted.
そして上記2つのセグメントについて、先ずその弦(曲
線セグメントの両端点を結ぶ直線)が相互に交わるか否
かを検定する(ステップf)。この弦の交わりの検定
は、例えば第5図に示すように2つのセグメントl1,
l2の各両端点をそれぞれ結ぶ直線m1,m2の直線方
程式を求め、交点xの座標を計算する。そしてその交点
が前記直線(弦)m1,m2上にそれぞれ存在するか否
かを調べることによって行われる。Then, with respect to the above two segments, it is first verified whether or not the chords (straight lines connecting both end points of the curved segment) intersect with each other (step f). This verification of the intersection of the strings is performed, for example, as shown in FIG.
A linear equation of straight lines m1 and m2 connecting the respective end points of l2 is obtained, and the coordinates of the intersection point x are calculated. Then, it is carried out by checking whether or not the intersections exist on the straight lines (strings) m1 and m2, respectively.
ここで交点xが直線(弦)m1,m2上に存在すると認
められた場合には、上記2つのセグメントl1,l2は
楕円を構成しないと判定される。If it is recognized that the intersection point x exists on the straight lines (chords) m1 and m2, it is determined that the two segments l1 and l2 do not form an ellipse.
しかして上記検定に合格すると、次に上記各弦m1,m
2の各中点を結ぶ直線nが、前記各セグメント(円弧)
l1,l2と交わるか否かが検定される(ステップ
g)。If the above test is passed, then each of the strings m1 and m
The straight line n connecting the midpoints of 2 is the segment (arc)
It is verified whether or not it intersects with l1 and l2 (step g).
この検定は、例えば第6図に示すように直線nの直線方
程式を求め、その直線方程式と前述した如く折れ線近似
されて記述されたセグメントl1,l2の各折れ線との
交点y1,y2,〜ynの座標値をそれぞれ求める。そ
してこれらの各交点y1,y2,〜ynが前記直線n上
に存在するか否かを調べることにより行われる。In this test, for example, a linear equation of a straight line n is obtained as shown in FIG. 6, and the intersections y1, y2, ... Yn of the linear equations and the polygonal lines of the segments 11 and 12 described by the polygonal line approximation as described above. Each coordinate value of is calculated. Then, it is carried out by checking whether or not each of these intersections y1, y2, ... Yn exists on the straight line n.
仮に、上記交点の内の1つでも、前記直線n上に存在す
る場合には、楕円の性質が満されないと判定される。If even one of the above intersections exists on the straight line n, it is determined that the property of the ellipse is not satisfied.
このような2つの条件判定によって、前述した如く選択
された2つのセグメントが楕円を構成する可能性がある
か否かが検証されることになる。By such two condition determinations, it is verified whether or not the two segments selected as described above may form an ellipse.
しかる後、上記検定を経た2つのセグメントl1,l2
から、その楕円モデルを推定する(ステップh)。この
楕円モデルの推定は、例えば楕円がx,yの2変数をパ
ラメータとする2次式の形式を取るとして、先ず上記各
セグメントl1,l2をそれぞれ記述する座標系列につ
いて最小自乗法により上記2次式の係数を求める。そし
てこの係数から楕円モデルのパラメータ(中心座標、長
軸と短軸の各長さ、および傾き)を求めることにより推
定される。After that, the two segments l1 and l2 that have undergone the above-mentioned test
Then, the elliptic model is estimated (step h). For the estimation of this ellipse model, for example, assuming that the ellipse has a form of a quadratic equation having two variables of x and y as parameters, first, the quadratic equation is applied to the coordinate series describing each of the segments 11 and 12 by the least square method. Find the coefficients of the equation. Then, it is estimated by obtaining the parameters of the ellipse model (the center coordinates, the lengths of the long axis and the short axis, and the inclination) from this coefficient.
その後、上記パラメータに従って、その楕円モデルを発
生し、またこの楕円モデルを中心とする楕円マスクを発
生する(ステップi)。楕円モデルの発生は、例えば該
楕円モデルを極座標方程式で表現し、その角度を0〜3
60℃まで変化させたときの座標値を前記画像メモリ2
上に書込むことにより行われる。また楕円マスクは、上
記楕円モデルを論理フィルタリング処理し、数ビットず
つ楕円モデルを太線化した円環状の画像マスクとして求
められる。Then, the elliptic model is generated according to the above parameters, and an elliptic mask centered on the elliptic model is generated (step i). The generation of the ellipse model is performed by expressing the ellipse model by a polar coordinate equation and setting the angle of 0-3.
The coordinate value when the temperature is changed to 60 ° C. is set in the image memory 2
It is done by writing on the top. Further, the elliptic mask is obtained as a ring-shaped image mask in which the elliptic model is logically filtered and the elliptic model is thickened by several bits.
このようにして楕円マスクを求めた後、この楕円マスク
内に上記各セグメントがそれぞれ含まれるか否かが調べ
られ、その楕円モデルの信頼度が検証される(ステップ
j)。この検証は、例えば第7図に示すように、同図
(a)に示されるようにラベリングされた各セグメント
が、同図(b)に示す前記ラベル番号(4)(5)の2
つのセグメントから推定された同図(c)に示す円環状
の楕円マスク内に存在するか否かを調べ、そのヒストグ
ラムを同図(d)に示す如く求めることによって行われ
る。After obtaining the elliptic mask in this way, it is checked whether or not each of the above-mentioned segments is included in this elliptic mask, and the reliability of the elliptic model is verified (step j). In this verification, for example, as shown in FIG. 7, each segment labeled as shown in FIG. 7A corresponds to the label number (4), (5) 2 shown in FIG.
This is performed by checking whether or not it exists in the annular ellipse mask shown in FIG. 7C estimated from one segment and obtaining the histogram as shown in FIG.
そしてその頻度が零でないラベルの番号を、前記楕円マ
スク内に含まれるセグメントであるとして、その数を求
める。このようにして求められたセグメント数とそのラ
ベル番号を、前記推定された楕円モデルに対応して記憶
する。Then, the number of the label whose frequency is not zero is regarded as the segment included in the elliptic mask, and the number is obtained. The number of segments and the label number thus obtained are stored in correspondence with the estimated elliptic model.
以上の処理を前記セグメント中の、楕円を構成する可能
性のある2つのセグメントの組の全てについて行われた
かを判定し(ステップk)、その全ての処理が完了する
まで上述したステップeからステップjに至る処理を繰
返し実行する。It is determined whether or not the above processing has been performed for all pairs of two segments that may form an ellipse in the segment (step k), and the above steps e to step until all the processing is completed. The processes up to j are repeatedly executed.
次に、上述した如く推定した楕円モデル間で、そのモデ
ルを構成するセグメントのラベルの競合性を調べる。そ
して、競合するラベルが存在する場合には、そのモデル
を構成するセグメント数が多い方を、つまり楕円モデル
に含まれるセグメントの数が多い方を、信頼度が高いと
して抽出する(ステップl)。Next, among the elliptic models estimated as described above, the label competing property of the segments constituting the model is examined. If there are competing labels, the one having a larger number of segments constituting the model, that is, the one having a larger number of segments included in the elliptical model is extracted as having higher reliability (step l).
以上の処理によって、セグメントから推定される楕円モ
デルの信頼度の高いものだけが選択され、その楕円モデ
ルに含まれるセグメントが前記濃淡画像中の対象物の外
形線を構成する楕円成分であるとして検出されることに
なる。By the above processing, only the highly reliable elliptic model estimated from the segment is selected, and the segment included in the elliptic model is detected as the elliptical component forming the outline of the object in the grayscale image. Will be done.
このように本方式によれば、従来方式と異なって、濃淡
画像中の対象物の外形線を構成する線分から、その楕円
成分を簡易に、且つ効率良く、しかも信頼性良く検出す
ることができる。また切れ切れの線分から、その楕円成
分を効果的に検出することができる。故に、画像認識処
理に適用して多大なる効果が奏せられる。Thus, according to this method, unlike the conventional method, the elliptical component can be detected easily, efficiently, and reliably from the line segment forming the outline of the object in the grayscale image. . Further, the elliptic component can be effectively detected from the broken line segment. Therefore, when applied to the image recognition processing, a great effect can be obtained.
尚、本発明は上述した実施例に限定されるものではな
い。例えば楕円候補のセグメントの検出手順において、
予め検出目標とする楕円の大きさや、その位置等の情報
を利用すれば、更にその処理効率の向上を図ることがで
きる。また、セグメント間の位置関係や、楕円の周囲長
に対するセグメントの長さの割合い等の情報を利用すれ
ば、更に信頼性の高い楕円モデルの信頼性検証を行うこ
とができる。The present invention is not limited to the above embodiment. For example, in the procedure of detecting the segment of the ellipse candidate,
If the information such as the size of the ellipse to be detected and its position is used in advance, the processing efficiency can be further improved. Further, by using information such as the positional relationship between the segments and the ratio of the length of the segment to the perimeter of the ellipse, the reliability of the elliptic model with higher reliability can be verified.
また他の特徴ある図形との位置関係を利用して、例えば
楕円に平行線が接しているような条件を利用して楕円モ
デルの信頼度の検証を行うことも可能である。更には、
推定された楕円モデルを、その楕円マスクに含まれる他
のセグメントを利用して、修正することも勿論可能であ
る。その他、本発明はその要旨を逸脱しない範囲で種々
変形して実施することができる。It is also possible to verify the reliability of the ellipse model by utilizing the positional relationship with another characteristic figure, for example, by utilizing the condition that parallel lines are in contact with the ellipse. Furthermore,
Of course, it is also possible to modify the estimated ellipse model using other segments included in the ellipse mask. In addition, the present invention can be variously modified and implemented without departing from the scope of the invention.
【図面の簡単な説明】 第1図は本発明の基礎となる楕円の性質を説明する為の
図、第2図は本発明の基本概念を示す図、第3図は本発
明の一実施例装置の概略構成図、第4図は実施例装置に
おける楕円検出処理の流れを示す図、第5図は楕円の2
つの弦の交わりの検証例を示す図、第6図は楕円におけ
る2つの弦を結ぶ直線とセグメント(円弧)との交わり
の検証例を示す図、第7図は楕円モデルに含まれるセグ
メントの抽出処理の一例を示す図である。 1……画像入力部、2……画像メモリ、3……画像処理
部、4……制御部、5……表示部。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram for explaining the property of an ellipse which is the basis of the present invention, FIG. 2 is a diagram showing the basic concept of the present invention, and FIG. 3 is an embodiment of the present invention. FIG. 4 is a schematic configuration diagram of the device, FIG. 4 is a diagram showing a flow of an ellipse detection process in the embodiment device, and FIG.
Fig. 6 is a diagram showing an example of verification of intersection of two strings, Fig. 6 is a diagram showing an example of verification of intersection of a straight line connecting two strings in an ellipse and a segment (arc), and Fig. 7 is extraction of segments included in an ellipse model. It is a figure which shows an example of a process. 1 ... Image input section, 2 ... Image memory, 3 ... Image processing section, 4 ... Control section, 5 ... Display section.
Claims (1)
段と、抽出された外形線を直線部分と曲線部分のセグメ
ントに分割し、各セグメントについてラベリングする手
段と、上記曲線部分のセグメントの2つについて、それ
ぞれのセグメントの弦が相互に交わるか否かを検定し、
交わらない場合には上記弦の任意の点を結ぶ直線がそれ
ぞれのセグメントと交わるか否かを検定し、交わらない
場合を楕円の可能性のあるセグメントの組とする楕円の
可能性のあるセグメントの組を見出す手段と、このセグ
メントの組から楕円モデルを推定する手段と、この推定
された楕円モデルを太線化処理した円環状マスク画像と
して楕円マスクを発生させる手段と、この楕円マスク内
に含まれる上記ラベリングされたセグメントの数を検査
して上記楕円モデルの確からしさを検証する手段とを具
備したことを特徴とする楕円検出装置。1. A means for extracting a contour line of an object from a grayscale image, a means for dividing the extracted contour line into segments of a straight line portion and a curved portion, and labeling each segment. For two, test whether the strings of each segment intersect each other,
If they do not intersect, test whether the straight line connecting the arbitrary points of the above chord intersects each segment, and if they do not intersect, use the set of possible ellipse segments as the set of possible ellipse segments. Included in this ellipse mask are means for finding a set, means for estimating an ellipse model from this set of segments, means for generating an ellipse mask as an annular mask image obtained by thickening the estimated ellipse model. An ellipse detection apparatus comprising: a unit for inspecting the number of labeled segments to verify the accuracy of the ellipse model.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60208761A JPH0624018B2 (en) | 1985-09-24 | 1985-09-24 | Ellipse detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60208761A JPH0624018B2 (en) | 1985-09-24 | 1985-09-24 | Ellipse detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6270988A JPS6270988A (en) | 1987-04-01 |
| JPH0624018B2 true JPH0624018B2 (en) | 1994-03-30 |
Family
ID=16561648
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60208761A Expired - Lifetime JPH0624018B2 (en) | 1985-09-24 | 1985-09-24 | Ellipse detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0624018B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2919284B2 (en) * | 1994-02-23 | 1999-07-12 | 松下電工株式会社 | Object recognition method |
| US5734751A (en) * | 1994-07-22 | 1998-03-31 | Nec Corporation | Ellipse-like curve recognition by calculation of distances of points on the curve from FOCI |
| JP2006252400A (en) * | 2005-03-14 | 2006-09-21 | Keyence Corp | Image processor and method of generating registration data in image processing |
| JP4645433B2 (en) * | 2005-12-14 | 2011-03-09 | 株式会社デンソー | Graphic center detection method, ellipse detection method, image recognition device, control device |
| JP4635857B2 (en) * | 2005-12-14 | 2011-02-23 | 株式会社デンソー | Ellipse detection method, image recognition device, control device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6029878A (en) * | 1983-07-28 | 1985-02-15 | Fuji Electric Co Ltd | Detector for circular body |
| JPS60179881A (en) * | 1984-02-15 | 1985-09-13 | Komatsu Ltd | How to recognize contour lines |
-
1985
- 1985-09-24 JP JP60208761A patent/JPH0624018B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6270988A (en) | 1987-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7113657B2 (en) | Information processing device, information processing method, and program | |
| JP2885823B2 (en) | Visual recognition device | |
| CN113269073A (en) | Ship multi-target tracking method based on YOLO V5 algorithm | |
| EP0534446A2 (en) | System with approximation means for recognizing graphical elements in a drawing | |
| US20020128796A1 (en) | Information processing method and apparatus | |
| CN101490711A (en) | Image processing device and image processing method | |
| WO2017198749A1 (en) | Image processing apparatus and method | |
| KR19980070585A (en) | Position detection device and method | |
| US7340089B2 (en) | Geometric pattern matching using dynamic feature combinations | |
| CN111696072A (en) | Color image line detection method, color image line detection device, electronic device, and storage medium | |
| CN110288040B (en) | Image similarity judging method and device based on topology verification | |
| Armagan et al. | Accurate Camera Registration in Urban Environments Using High-Level Feature Matching. | |
| US12573085B2 (en) | Object pose recognition method based on triangulation and probability weighted RANSAC algorithm | |
| CN114419451B (en) | Method and device for identifying inside and outside of elevator, electronic equipment and storage medium | |
| JPH0624018B2 (en) | Ellipse detector | |
| JP2002140713A (en) | Image processing method and apparatus | |
| CN119850918A (en) | YOLO model-based multi-scale tower crane component identification method | |
| CN117132782B (en) | A method and device for extracting target contour features based on feature point classification | |
| JPH0854222A (en) | Method for detecting displacement by image processing | |
| JP7614330B2 (en) | Position coordinate detection device, sample processing device, and sample inspection device | |
| CN118031963A (en) | A method and system for underground positioning based on comprehensive point and line features | |
| JPH0614361B2 (en) | Visual recognition device | |
| Yi et al. | Line feature-based recognition using Hausdorff distance | |
| CN115908781B (en) | Densely rotating target detection method, model training method and device | |
| CN118951381B (en) | Method and device for detecting pipe gesture and size on laser cutting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |