Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология Образование Политология Производство Психология Стандартизация Технологии |
Nonselective Derivation and Isotropy
Intuitively, we expect that any derivative operator amplifi es smaller scales more strongly than coarser scales, because the transfer function of an ideal derivative operator goes with kw (Eq. (12.1)). Consequently, we could argue that the transfer function of a good discrete derivative op- erator should approximate the ideal transfer functions in Eq. (12.1) as close as possible. However, this condition is a too strong restriction. The reason is the following. Imagine that we fi rst apply a smoothing operator to an image before we apply a derivative operator. We would still recognize the joint operation as a derivation. The mean gray value is suppressed and the operator is still only sensitive to spatial gray value changes. Therefore, the ideal transfer function in Eq. (12.1) could be restricted to small wave numbers:
h( k ) w = 0, ∂ kw .kw =0 = (ikw), ∂ k2 .kw =0 = 0. (12.11) For good edge detection, it is important that the response of the op- erator does not depend on the direction of the edge. If this is the case, we speak of an isotropic edge detector. The isotropy of an edge detector can best be analyzed by its transfer function. The most general form for an isotropic derivative operator of order p is given by hˆ ( k ) = (ikw)pbˆ (| k ˜ |) with bˆ (0) = 1 and ∇ kbˆ ( k ) = 0. (12.12)
The constraints for derivative operators are summarized in Appen- dix A (± R24 and ± R25).
12.3 Gradient-Based Edge Detection† Principle In terms of fi rst-order changes, an edge is defi ned as an extreme (Fig. 12.1). Thus edge detection with fi rst-order derivative operators means to search for the steepest changes, i. e., maxima of the magnitude of the gradient vector (Eq. (12.2)). Therefore, fi rst-order partial derivatives in all direc- tions must be computed. In the operator notation, the gradient can be 320 12 Edges
written as a vector operator. In 2-Dand 3-Dspace this is Σ Dx Σ Dx D= Dy or D= Dy
. (12.13)
Because the gradient is a vector, its magnitude (Eq. (12.3)) is invariant upon rotation of the coordinate system. This is a necessary condition for isotropic edge detection. The computation of the magnitude of the gradient can be expressed in the 2-Dspace by the operator equation 1/2 |D| = Σ Dx · Dx + Dy · DyΣ . (12.14)
1. fi lter the image G independently with Dx and Dy, 2. square the gray values of the two resulting images, 3. add the resulting images, and 4. compute the square root of the sum. At fi rst glance it appears that the computation of the magnitude of the gradient is computationally expensive. Therefore it is often approx- imated by
However, this approximation is anisotro√ pic even for small wave num- bers. It detects edges along the diagonals 2 times more sensitively than along the principal axes. The computation of the magnitude of the gra- dient can, however, be performed as a dyadic point operator effi ciently by a look-up table (Section 10.4.2).
|
Последнее изменение этой страницы: 2019-05-04; Просмотров: 204; Нарушение авторского права страницы