JP2872393B2 - Edge detection method - Google Patents
Edge detection methodInfo
- Publication number
- JP2872393B2 JP2872393B2 JP2314253A JP31425390A JP2872393B2 JP 2872393 B2 JP2872393 B2 JP 2872393B2 JP 2314253 A JP2314253 A JP 2314253A JP 31425390 A JP31425390 A JP 31425390A JP 2872393 B2 JP2872393 B2 JP 2872393B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- edge
- luminance
- search path
- circuit
- 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 - Fee Related
Links
Landscapes
- Image Analysis (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明はエッジ検出方法に関するもので、特に、輝
度変化がゆるやかな画像の場合でも、対象の輪郭を把握
するのに十分なエッジ画素を安定的に検出することがで
きるようにするための新規な改良に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an edge detection method, and more particularly, to a method for stabilizing an edge pixel sufficient to grasp an outline of a target even in an image having a gradual change in luminance. The present invention relates to a novel improvement to enable the automatic detection.
第4図は従来のエッジ検出装置のブロック図であり、
図において(1)は原画像の輝度信号、(2)は勾配計
算回路、(3)は前記勾配計算回路(2)からの勾配計
算値、(4)は極大点検出回路、(5)はこの極大点検
出回路(4)から得られたエッジ画素である。FIG. 4 is a block diagram of a conventional edge detection device,
In the figure, (1) is a luminance signal of an original image, (2) is a gradient calculation circuit, (3) is a gradient calculation value from the gradient calculation circuit (2), (4) is a local maximum point detection circuit, and (5) is It is an edge pixel obtained from the maximum point detection circuit (4).
従来のエッジ検出装置は前期のように構成され、勾配
計算回路(2)では、例えば式(1)のように原画像の
輝度信号(1)から輝度勾配を計算する。The conventional edge detecting device is configured as described above, and the gradient calculating circuit (2) calculates a luminance gradient from the luminance signal (1) of the original image as shown in, for example, Expression (1).
g=〔{L(i,j)−L(i−1,j)}2 +{L(i,j)−L(i,j−1)}2〕1/2 (1) ここで、L(i,j)は画素(i,j)が持つ輝度である。g = [{L (i, j) −L (i−1, j)} 2 + {L (i, j) −L (i, j−1)} 2 ] 1/2 (1) where L (i, j) is the luminance of the pixel (i, j).
極大点検出回路(4)では、輝度勾配が極大となる画
素をエッジ画素(5)として選出していた。In the maximum point detecting circuit (4), a pixel having a maximum luminance gradient is selected as an edge pixel (5).
上記のような従来のエッジ検出装置においては、輝度
勾配の極大点をエッジ画素として検出するため、輝度変
化がゆるやかな画素の場合、輝度の傾斜部分で輝度勾配
は比較的一定値となり、その結果対象の輪郭を把握する
のに十分なエッジ画素を安定的に検出することが困難に
なるという課題があった。In the conventional edge detection device as described above, since the maximum point of the luminance gradient is detected as an edge pixel, in the case of a pixel having a gradual change in luminance, the luminance gradient has a relatively constant value in the luminance gradient portion, and as a result, There has been a problem that it is difficult to stably detect enough edge pixels to grasp the outline of the target.
この発明はかかる問題点を解決するためになされたも
ので、特に、輝度変化がゆるやかな画像の場合でも、対
象の輪郭を把握するのに十分なエッジ画素を安定的に検
出することができるエッジ検出方法を得ることを目的と
する。The present invention has been made to solve such a problem, and in particular, even in the case of an image having a gradual change in luminance, an edge capable of stably detecting an edge pixel sufficient to grasp a contour of a target. The aim is to obtain a detection method.
この発明に係るエッジ検出方法は、少なくとも、原画
像の輝度信号が入力され走査回路に接続された格子パタ
ーンと、前記格子パターンに接続された走査回路と、前
記格子パターンに接続された輝度ステップ検出回路と、
前記輝度ステップ検出回路に接続された両端画素選出回
路と、前記両端画素選出回路に接続されたエッジ探索経
路選定回路と、前記エッジ探索経路選定回路に接続され
た曲率計算回路と、前記曲率計算回路に接続されたエッ
ジ画素選出回路とからなるエッジ検出装置において、前
記格子パターンに入力される原画像の輝度信号から格子
パターンの中心に位置する中心画素及び周辺部に位置す
る周辺画素の輝度を検出し、前記輝度ステップ検出回路
において前記中心画素の輝度と前記周辺画素の輝度との
差の絶対値がある値以上のときはその周辺画素を検出
し、前記両端画素選出回路において前記周辺画素の両端
画素を選出し、前記エッジ探索経路選定回路において前
記両端画素の中心を結ぶ線分に直交する直線からの距離
が近くなるようにエッジ探索経路上画素を選定し、前記
曲率計算回路において前記エッジ探索経路上画素毎の前
記輝度信号の曲率を計算し、前記エッジ画素選出回路に
おいて前記エッジ探索経路上画素毎の前記曲率の変化に
基づいて前記エッジ探索経路上画素からエッジ画素を選
出し、前記走査回路により前記格子パターンを走査させ
るようにした方法である。The edge detection method according to the present invention includes at least a lattice pattern to which a luminance signal of an original image is input and connected to a scanning circuit, a scanning circuit connected to the lattice pattern, and a luminance step detection connected to the lattice pattern. Circuit and
Both end pixel selection circuit connected to the luminance step detection circuit, an edge search path selection circuit connected to the both end pixel selection circuit, a curvature calculation circuit connected to the edge search path selection circuit, and the curvature calculation circuit An edge pixel selection circuit connected to the edge pattern detection circuit detects the luminance of the central pixel located at the center of the lattice pattern and the luminance of peripheral pixels located at the periphery of the lattice pattern from the luminance signal of the original image input to the lattice pattern. When the absolute value of the difference between the luminance of the central pixel and the luminance of the peripheral pixel is equal to or greater than a certain value in the luminance step detection circuit, the peripheral pixel is detected, and both ends of the peripheral pixel are detected in the both ends pixel selection circuit. A pixel is selected, and the edge search path selection circuit is set so that the distance from a straight line orthogonal to a line connecting the centers of the pixels at both ends is short. A pixel on the edge search path is selected, the curvature calculation circuit calculates the curvature of the luminance signal for each pixel on the edge search path, and the edge pixel selection circuit calculates a change in the curvature for each pixel on the edge search path. An edge pixel is selected from the pixels on the edge search path based on the edge search path, and the scanning circuit scans the grid pattern.
この発明におけるエッジ検出方法においては、格子パ
ターン及び輝度ステップ検出回路が輝度の不連続点を見
つけ、両端画素選出回路及びエッジ探索経路選定回路が
格子パターンと輝度の不連続点との位置関係からエッジ
探索経路を選定し、曲率計算回路及びエッジ選定回路が
輝度のエッジ探索経路上における曲率変化に基づいてエ
ッジ画素を選出する。In the edge detection method according to the present invention, the grid pattern and the luminance step detection circuit find a discontinuity in luminance, and the both ends pixel selection circuit and the edge search path selection circuit determine the edge based on the positional relationship between the lattice pattern and the discontinuity in luminance. A search path is selected, and a curvature calculation circuit and an edge selection circuit select an edge pixel based on a change in curvature of the luminance on the edge search path.
以下、図面と共に本発明によるエッジ検出方法の好適
な実施例について詳細に説明する。Hereinafter, preferred embodiments of the edge detection method according to the present invention will be described in detail with reference to the drawings.
第1図から第3図迄は、この発明によるエッジ検出方
法を示すもので、第1図はブロック図、第2図は格子パ
ターン図、第3図は輝度及び曲率変化を示す概念図であ
る。FIGS. 1 to 3 show an edge detection method according to the present invention. FIG. 1 is a block diagram, FIG. 2 is a lattice pattern diagram, and FIG. 3 is a conceptual diagram showing luminance and curvature changes. .
図において、(1)は前記従来装置と全く同一のもの
で、原画像の輝度信号である。(7)は走査回路、
(8)は走査回路(7)からの走査信号、(9)は前記
輝度信号(1)が入力される格子パターン、(10)は格
子パターンにより得られる中心画素と周辺画素及びそれ
らの画素が持つ輝度周辺、(11)は輝度ステップ検出回
路、(12)は輝度ステップ検出回路(11)から得られた
周辺画素の部分集合、(13)は両端画素選出回路、(1
4)は両端画素選出回路(13)から得られた両端画素、
(15)はエッジ探索経路選定回路、(16)はエッジ探索
経路選定回路(15)から得られたエッジ探索経路、(16
a)は平滑回路、(16b)はエッジ探索経路上画素が持つ
平滑化された輝度信号、(17)は曲率計算回路、(18)
はエッジ探索経路上の各画素位置における平滑化された
輝度信号と曲率、(19)はエッジ画素選出回路、(20)
はこのエッジ画素選出回路(19)から得られたエッジ画
素である。In the figure, (1) is exactly the same as the conventional device, and is a luminance signal of an original image. (7) is a scanning circuit,
(8) is a scanning signal from the scanning circuit (7), (9) is a grid pattern to which the luminance signal (1) is input, and (10) is a center pixel and a peripheral pixel obtained by the grid pattern and those pixels. (11) is a luminance step detection circuit, (12) is a subset of peripheral pixels obtained from the luminance step detection circuit (11), (13) is a pixel selection circuit for both ends, (1)
4) Both end pixels obtained from the both end pixel selection circuit (13),
(15) is an edge search path selection circuit, (16) is an edge search path obtained from the edge search path selection circuit (15), (16)
a) is a smoothing circuit, (16b) is a smoothed luminance signal of a pixel on an edge search path, (17) is a curvature calculation circuit, (18)
Is the smoothed luminance signal and curvature at each pixel position on the edge search path, (19) is the edge pixel selection circuit, (20)
Are edge pixels obtained from the edge pixel selection circuit (19).
第2図はこの発明の一実施例において格子パターンを
示す図であり、(21)は中心画素検出窓あるいは中心画
素検出窓により検出される中心画素、(22)は周辺画素
検出窓あるいは周辺画素検出窓により検出される周辺画
素、(23)及び(24)は両端画素、(25)は対象物、
(26)は対象物と背景あるいは他の対象物との間の境
界、(27)は前記両端画素(23,24)の中心を結ぶ線
分、(28)はエッジ探索方向、(29)及び(30)は格子
パターンに対して定義した直交座標系の軸である。FIG. 2 is a diagram showing a lattice pattern in one embodiment of the present invention, wherein (21) is a central pixel detection window or a central pixel detected by the central pixel detection window, and (22) is a peripheral pixel detection window or peripheral pixel. Neighboring pixels detected by the detection window, (23) and (24) are both end pixels, (25) is an object,
(26) is a boundary between the object and the background or another object, (27) is a line segment connecting the centers of the both end pixels (23, 24), (28) is an edge search direction, (29) and (30) is the axis of the rectangular coordinate system defined for the grid pattern.
第3図はこの発明の一実施例においてエッジ探索経路
上画素とその画素が持つ平滑化された輝度及び曲率変化
を示す概念図であり、(31)はエッジ探索経路上画素位
置tを表す軸で右方に行くほど変数tは増加しているこ
とを示す。(32)は平滑化された輝度を表す軸、(33)
は曲率変化を表す軸、(34)は画素位置に対応する平滑
化された輝度、(35)は画素位置に対応する曲率変化、
(36)はエッジ探索経路開始位置、(37)はtの増加方
向に探索した時、平滑化された輝度が最小値+(最大値
−最小値)×0.8以上で、なおかつ曲率が減少から増大
へと転じる最初の画素位置である。FIG. 3 is a conceptual diagram showing a pixel on an edge search path and a smoothed change in brightness and curvature of the pixel in one embodiment of the present invention, and (31) is an axis showing a pixel position t on the edge search path. Indicates that the variable t increases toward the right. (32) is the axis representing the smoothed luminance, (33)
Is the axis representing the curvature change, (34) is the smoothed brightness corresponding to the pixel position, (35) is the curvature change corresponding to the pixel position,
(36) is the start position of the edge search path, (37) is a smoothed luminance of minimum value + (maximum value−minimum value) × 0.8 or more when searching in the increasing direction of t, and the curvature increases from a decrease. This is the first pixel position that turns to.
次に、以上のように構成されたエッジ検出装置におい
て、実際にエッジ検出を行う方法について説明する。ま
ず、格子パターン(9)により中心画素(21)及び周辺
画素(22)の輝度が検出される。この中心画素(21)の
輝度と周辺画素(22)の輝度との差の絶対値がある一定
値D以上あるときはその画素を選出する。こうして選ば
れた周辺画素の部分集合は第2図の両端画素(23)と
(24)との間の画素であり、第2図のように対象物(2
5)が位置している場合には両端画素(23)及び(24)
とその間の画素の5画素となる。前記両端画素選出回路
(13)では周辺画素の部分集合から両端画素(23)及び
(24)を検出する。前記エッジ探索経路選定回路(15)
では前述の両端画素(23)及び(24)の位置を基にエッ
ジ探索経路を選定するが、エッジ探索経路上の各画素
が、両端画素の中心を結ぶ線分(27)に直交するエッジ
探索方向(28)に沿うように選定される。次に、前記平
滑回路(16a)は、エッジ探索経路上画素が持つ輝度信
号から高周波雑音成分を除去し、平滑化された輝度を出
力する。また、前記曲率計算回路(17)ではエッジ探索
経路上の各画素毎の平滑化された輝度から曲率を決算す
るが、それは後述する方法に従って行う。さらにエッジ
画素選出回路(19)では、エッジ探索経路上の各画素が
持つ平滑化された輝度を順次調べ、それが最小値+(最
大値−最小値)×0.8以上の値を持つ範囲の画素の中心
から、曲率が減少から増大へと転じる最初の画素をエッ
ジ画素として検出する。第2図に示した格子パターンの
走査は、走査回路(7)により行うが、格子パターンの
走査を全画面について行い上記の手順を繰り返すことに
より、全画面のエッジ検出を行うことができる。Next, a method of actually performing edge detection in the edge detection device configured as described above will be described. First, the luminance of the center pixel (21) and the peripheral pixels (22) is detected by the grid pattern (9). If the absolute value of the difference between the luminance of the central pixel (21) and the luminance of the peripheral pixel (22) is equal to or greater than a certain value D, that pixel is selected. The subset of the peripheral pixels thus selected is a pixel between the two pixels (23) and (24) in FIG. 2, and as shown in FIG.
If 5) is located, both end pixels (23) and (24)
And five pixels in between. The both end pixel selection circuit (13) detects both end pixels (23) and (24) from a subset of the peripheral pixels. The edge search route selection circuit (15)
Selects an edge search path based on the positions of the both-end pixels (23) and (24) described above. Each pixel on the edge-search path is searched for an edge search orthogonal to a line (27) connecting the centers of both end pixels. It is selected to follow the direction (28). Next, the smoothing circuit (16a) removes a high-frequency noise component from a luminance signal of a pixel on the edge search path and outputs smoothed luminance. In the curvature calculation circuit (17), the curvature is settled from the smoothed luminance of each pixel on the edge search path, which is performed according to a method described later. Further, the edge pixel selection circuit (19) sequentially examines the smoothed luminance of each pixel on the edge search path, and finds a pixel in a range having a value of minimum value + (maximum value−minimum value) × 0.8 or more. , The first pixel whose curvature changes from decreasing to increasing is detected as an edge pixel. The scanning of the grid pattern shown in FIG. 2 is performed by the scanning circuit (7). By scanning the grid pattern for the entire screen and repeating the above procedure, edge detection of the entire screen can be performed.
ここで、エッジ探索経路決定方法を説明する。いま周
辺画素の部分集合に含まれる各画素を出発点とするエッ
ジ経路の座標系列を改めて{μ(t),ν(t)}とお
き、エッジ探索経路と呼ぶ。また、両端画素の各中心を
(μ1,ν1)及び(μ2,ν2)と表す。Here, an edge search path determination method will be described. Now, the coordinate series of the edge path starting from each pixel included in the subset of the peripheral pixels is set as {μ (t), ν (t)}, and is called an edge search path. The centers of both pixels are represented by (μ 1 , ν 1 ) and (μ 2 , ν 2 ).
エッジ探索経路は、2点(μ1,ν1)、(μ2,ν2)
を結ぶ線分(27)に直交する直線(28)に沿うように決
める。2点(μ1,ν1)、(μ2,ν2)を結ぶ線分(2
7)と直線(28)とが交わる交点は、以後交点Hと呼
ぶ。このエッジ探索経路上の探索方向は第2図の場合の
ように中心画素が低信号レベル側(例えば背景側)にあ
る場合は、中心画素から交点Hへ向かう方向と平行にと
り、中心画素が高信号レベル側(例えば対象側)にある
場合は交点Hから中心画素を向かう方向と平行にとる。
次にエツジ探索方向の決定法について述べ、さらにエッ
ジ探索経路計算式を示す。The edge search path includes two points (μ 1 , ν 1 ) and (μ 2 , ν 2 )
Are determined along a straight line (28) orthogonal to a line segment (27) connecting A line segment (2) connecting two points (μ 1 , ν 1 ) and (μ 2 , ν 2 )
The intersection of 7) and the straight line (28) is hereinafter referred to as intersection H. When the center pixel is on the low signal level side (for example, the background side) as in the case of FIG. 2, the search direction on the edge search path is parallel to the direction from the center pixel to the intersection H, and the center pixel is high. When it is on the signal level side (for example, on the target side), it is set in parallel with the direction from the intersection H toward the center pixel.
Next, a method of determining the edge search direction will be described, and an edge search path calculation formula will be described.
<エッジ探索方向> 中心画素から2点(μ1,ν1)、(μ2,ν2)を結ぶ
線分(27)に下した垂線の傾きをmとすると m=−Δμ/Δν (1a) で与えられる。<Edge Searching Direction> Assuming that the inclination of a perpendicular drawn to a line segment (27) connecting two points (μ 1 , ν 1 ) and (μ 2 , ν 2 ) from the center pixel is m, m = −Δμ / Δν (1a ) Given by
この時、(μ,ν)座標系に対して交点Hが存在する
象限は で与えられる。ここで、象限の定義はμ>0かつν>0
の領域を第1象限とし、時計回りに第2、3、4象限を
表すものとする。At this time, the quadrant where the intersection H exists with respect to the (μ, ν) coordinate system is Given by Here, the definition of the quadrant is μ> 0 and ν> 0
Is the first quadrant, and the second, third, and fourth quadrants are shown clockwise.
次に、交点Hが存在する象限を一意的に決定するため
の条件は次のように与える。Next, conditions for uniquely determining the quadrant where the intersection point H exists are given as follows.
まず、以下の諸量を定義する。 First, the following quantities are defined.
これを用いて、 (1)m≧0の場合 μ++ν+≧0 (5) ならば交点Hは第1象限にあり、 μ++ν+<0 (6) ならば交点Hは第3象限にある。 (1) If m ≧ 0, the intersection H is in the first quadrant if μ + + ν + ≧ 0 (5), and if μ + + ν + <0 (6), the intersection H is in the third quadrant. It is in.
(2)m<0の場合 (μ+>0)∨{(μ+=0)∧(ν+<0)}
(7) ならば交点Hは第2象限にあり、 (μ+<0)∨{(μ+=0)∧(ν+≧0)}
(8) ならば交点Hは第4象限にある。(2) When m <0 (μ + > 0) {(μ + = 0)} (ν + <0)}
If (7), the intersection point H is in the second quadrant, and (μ + <0) {(μ + = 0)} (ν + ≧ 0)}
(8) Then, the intersection point H is in the fourth quadrant.
交点Hが存在する象限及び中心画素の信号レベルが高
信号レベル側にあるか低信号レベル側にあるかという条
件より、エッジ探索方向を与えるフラグを以下のように
定める。A flag that gives the edge search direction is determined as follows based on the condition that the signal level of the quadrant where the intersection H exists and the center pixel is on the high signal level side or on the low signal level side.
交点Hが第1象限にある時 第2象限にある時 第3象限にある時 第4象限にある時 ここで、 ΔLμ,ν=Lμ,ν−L0,0 (15) であり、Lμ,νは輝度ステップ検出回路(11)により
検出された周辺画素が持つ輝度、L0,0は中心画素が持つ
輝度である。When intersection H is in the first quadrant When in the second quadrant When in the third quadrant When in the fourth quadrant Here, ΔLμ, ν = Lμ, ν-L0,0 (15), where Lμ, ν is the luminance of the peripheral pixels detected by the luminance step detection circuit (11), and L0,0 is the luminance of the central pixel. It is.
<エッジ探索経路> まず、式(16)で与えられる関数を導入する。<Edge Search Path> First, a function given by Expression (16) is introduced.
また、式(2)を参照して、 A=max(|Δμ|,|Δν|)/min(|Δμ|,|Δν|) (17) B=|Δμ|−|Δν| (18) とおく。 Also, referring to equation (2), A = max (| Δμ |, | Δν |) / min (| Δμ |, | Δν |) (17) B = | Δμ | − | Δν | (18) deep.
次に、輝度ステップ検出回路(11)の出力である周辺
画素の部分集合に含まれる各画素を出発点{μ(1),
ν(1))}として、各々の探索経路{μ(t),ν
(t))}は以下の式で与えられる。Next, each pixel included in the subset of peripheral pixels which is the output of the luminance step detection circuit (11) is used as a starting point {μ (1)
ν (1))}, each search path {μ (t), ν
(T)) is given by the following equation.
(1)B≧0の場合 但し、t=1,2・・・,Tは十分大きな正の整数であ
る。(1) When B ≧ 0 Here, t = 1, 2,..., T are sufficiently large positive integers.
(2)B<0の場合 さて、以上のように決定した画素系列{μ(t),ν
(t))}(t=1,2,・・・T)から画素t=1,2,・・
・,Tにおける曲率κ(t)及び曲率変化Δκ(t)を次
のように計算する。(2) When B <0 Now, the pixel sequence {μ (t), ν determined as described above
(T))} (t = 1,2,... T) to obtain pixels t = 1,2,.
Calculate the curvature κ (t) and the curvature change Δκ (t) at T as follows.
κ(t)=L1(t)/〔1+{L1(t)}2〕3/2 (25) Δκ(t)=κ(t+1)+κ(t) (26) ここに、L1(t)およびL1(t)は画素tにおける平
滑化された輝度信号L1(t)のそれぞれ1次差分及び2
次差分を表している。κ (t) = L 1 (t) / [1+ {L 1 (t)} 2 ] 3/2 (25) Δκ (t) = κ (t + 1) + κ (t) (26) where L 1 ( t) and L 1 (t) are the primary difference and 2 respectively of the smoothed luminance signal L 1 (t) at the pixel t.
The next difference is shown.
L1(t)=L1(t)−L1(t−1) (27) L1(t)=L1(t)−L1(t−1) (28) 尚、第3図に示した平滑化された輝度(34)の曲線形
状は一般のステップエッジから高周波雑音成分を除去し
た場合に相当するものである。L 1 (t) = L 1 (t) −L 1 (t−1) (27) L 1 (t) = L 1 (t) −L 1 (t−1) (28) Incidentally, FIG. The smoothed luminance (34) curve shape shown corresponds to a case where a high-frequency noise component is removed from a general step edge.
この発明は以上説明したように、格子パターンおよび
輝度ステップ検出回路を用いて輝度の不連続点を見つ
け、格子パターンと輝度の不連続点との位置関係から両
端画素選出回路及びエッジ探索経路選定回路を用いてエ
ッジ探索経路を選定し、曲率計算回路及びエッジ画素選
出回路を用いて輝度のエッジ探索経路上における曲率変
化に基づきエッジ画素を選出するようにしているため、
輝度変化がゆるやかな場合でも、対象の輪郭を把握する
のに十分なエッジ画素を安定的に検出することができる
という効果がある。As described above, the present invention uses a grid pattern and a brightness step detection circuit to find a luminance discontinuity point, and based on the positional relationship between the grid pattern and the luminance discontinuity point, a pixel selection circuit at both ends and an edge search path selection circuit. Is used to select an edge search path, and a curvature calculation circuit and an edge pixel selection circuit are used to select an edge pixel based on a change in curvature on the edge search path of luminance.
Even when the luminance changes slowly, there is an effect that it is possible to stably detect enough edge pixels to grasp the outline of the target.
第1図はこの発明によるエッジ検出方法を適用するエッ
ジ検出装置の一実施例を示すブロック図、第2図はこの
発明の一実施例において格子パターンを示す図、第3図
はこの発明の一実施例においてエッジ探索経路上画素と
その画素が持つ平滑化された輝度及び曲率変化を示す概
念図、第4図は従来のエッジ検出装置のブロック図であ
る。 図において、(9)は格子パターン、(7)は走査回
路、(11)は輝度ステップ検出回路、(13)は両端画素
選出回路、(15)はエッジ探索経路選定回路、(17)は
曲率計算回路、(19)はエッジ画素選出回路である。 なお、各図中同一符号は同一または相当部分を示す。FIG. 1 is a block diagram showing an embodiment of an edge detecting apparatus to which the edge detecting method according to the present invention is applied, FIG. 2 is a diagram showing a grid pattern in one embodiment of the present invention, and FIG. FIG. 4 is a conceptual diagram showing pixels on an edge search path and smoothed luminance and curvature changes of the pixels in the embodiment. FIG. 4 is a block diagram of a conventional edge detection device. In the figure, (9) is a grid pattern, (7) is a scanning circuit, (11) is a luminance step detection circuit, (13) is a pixel selection circuit at both ends, (15) is an edge search path selection circuit, and (17) is curvature. The calculation circuit, (19) is an edge pixel selection circuit. In the drawings, the same reference numerals indicate the same or corresponding parts.
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 7/00 JOIS──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int. Cl. 6 , DB name) G06T 7/00 JOIS
Claims (1)
走査回路に接続された格子パターンと、前記格子パター
ンに接続された輝度ステップ検出回路と、前記輝度ステ
ップ検出回路に接続された両端画素選出回路と、前記両
端画素選出回路に接続されたエッジ探索経路選定回路
と、前記エッジ探索経路選定回路に接続された曲率計算
回路と、前記曲率計算回路に接続されたエッジ画素選出
回路とからなるエッジ検出装置において、 前記格子パターンに入力される前記原画像の輝度信号か
ら格子パターンの中心に位置する中心画素及び周辺部に
位置する周辺画素の輝度を検出し、前記輝度ステップ検
出回路において前記中心画素の輝度と前記周辺画素の輝
度との差の絶対値がある値以上のときはその周辺画素を
検出し、前記両端画素選出回路において前記周辺画素の
両端画素を選出し、前記エッジ探索経路選定回路におい
て前記両端画素の中心を結ぶ線分に直交する直線からの
距離が近くなるようにエッジ探索経路上画素を選定し、
前記曲率計算回路において前記エッジ探索経路上画素毎
の前記輝度信号の曲率を計算し、前記エッジ画素選出回
路において前記エッジ探索経路上画素毎の前記曲率の変
化に基づいて前記エッジ探索経路上画素からエッジ画素
を選出し、前記走査回路により前記格子パターンを走査
させることを特徴とするエッジ検出方法。1. A grid pattern to which at least a brightness signal of an original image is input and connected to a scanning circuit, a brightness step detection circuit connected to the grid pattern, and both-end pixel selection connected to the brightness step detection circuit A circuit, an edge search path selection circuit connected to the both ends pixel selection circuit, a curvature calculation circuit connected to the edge search path selection circuit, and an edge including an edge pixel selection circuit connected to the curvature calculation circuit In the detection device, the luminance of the central pixel located at the center of the lattice pattern and the luminance of peripheral pixels located at the periphery of the lattice pattern are detected from the luminance signal of the original image input to the lattice pattern, and the luminance step detection circuit detects the luminance of the central pixel. When the absolute value of the difference between the luminance of the peripheral pixel and the luminance of the peripheral pixel is equal to or greater than a certain value, the peripheral pixel is detected, and the pixel at both ends is selected. In the edge search path selection circuit, a pixel on an edge search path is selected such that a distance from a straight line orthogonal to a line segment connecting the centers of the both ends pixels is short in the edge search path selection circuit.
The curvature calculation circuit calculates the curvature of the luminance signal for each pixel on the edge search path, and the edge pixel selection circuit calculates a curvature of the pixel on the edge search path based on a change in the curvature for each pixel on the edge search path. An edge detection method, wherein an edge pixel is selected, and the grid pattern is scanned by the scanning circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2314253A JP2872393B2 (en) | 1990-11-21 | 1990-11-21 | Edge detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2314253A JP2872393B2 (en) | 1990-11-21 | 1990-11-21 | Edge detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04186488A JPH04186488A (en) | 1992-07-03 |
JP2872393B2 true JP2872393B2 (en) | 1999-03-17 |
Family
ID=18051127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2314253A Expired - Fee Related JP2872393B2 (en) | 1990-11-21 | 1990-11-21 | Edge detection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2872393B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100450839B1 (en) * | 2001-10-19 | 2004-10-01 | 삼성전자주식회사 | Device and method for detecting edge of each face of three dimensional image |
-
1990
- 1990-11-21 JP JP2314253A patent/JP2872393B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
第34回宇宙科学技術連合講演会講演集,1990年10月29日,p.448−449 |
Also Published As
Publication number | Publication date |
---|---|
JPH04186488A (en) | 1992-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5398292A (en) | Edge detecting apparatus | |
US6985075B2 (en) | Obstacle detection apparatus and method | |
US5717785A (en) | Method and apparatus for locating patterns in an optical image | |
US7095432B2 (en) | Image processing apparatus and method | |
US7317474B2 (en) | Obstacle detection apparatus and method | |
JP3764364B2 (en) | Image feature point detection method, image processing method, and program | |
JPH02285475A (en) | Method and equipment for extracting edge and line | |
US6480620B1 (en) | Method of and an apparatus for 3-dimensional structure estimation | |
US6067379A (en) | Method and apparatus for locating patterns in an optical image | |
JP3659426B2 (en) | Edge detection method and edge detection apparatus | |
JP2872393B2 (en) | Edge detection method | |
JP3066173B2 (en) | Pattern matching method | |
EP0367310A2 (en) | Picture motion measurement | |
JPH10187972A (en) | Discriminating method for light source color | |
US6141439A (en) | Apparatus for image measurement | |
US20020131638A1 (en) | Apparatus and method for boundary detection in vector sequences and edge detection in color image signals | |
JPH06168331A (en) | Patter matching method | |
JPH05256613A (en) | Method and device for parallax computing from stereo picture and measuring device for depth | |
JP2988994B2 (en) | Positioning device | |
JPH096947A (en) | Object tracking device | |
JP3625245B2 (en) | Image processing method and image processing apparatus | |
WO2022201848A1 (en) | Information processing device, information processing method, and program | |
JPH08305842A (en) | Image interpolation processing method | |
JPH07302346A (en) | Method for detecting white line on road | |
US20020159654A1 (en) | Method for processing an image of a concrete construction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |