Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология Образование Политология Производство Психология Стандартизация Технологии |
Moment-Based Shape Features
19.3.1 Defi nitions In this section we present a systematic approach to object shape descrip- tion. We fi rst defi ne moments for gray value and binary images and then show how to extract useful shape parameters from this approach. We will discuss Fourier descriptors in a similar manner in Section 19.4. We used moments in Section 3.2.2 to describe the probability den- sity function for gray values. Here we extend this description to two dimensions and defi ne the moments of the gray value function g( x ) of an object as
where µp, q = ∫ (x1 − x1)p(x2 − x2)q g( x )d2x, (19.1) xi = ∫ xig( x )d2x ∫ g( x )d2x. (19.2)
All the moments defi ned in Eq. (19.1) are related to the center of mass. Therefore they are often denoted as central moments. Central moments are translation invariant and thus are useful features for describing the shape of objects. For discrete binary images, the moment calculation reduces to µp, q =.(x1 − x1)p(x2 − x2)q. (19.3) The summation includes all pixels belonging to the object. For the de- scription of object shape we may use moments based on either binary, gray scale or feature images. Moments based on gray scale or feature images refl ect not only the geometrical shape of an object but also the distribution of features within the object. As such, they are generally diff erent from moments based on binary images. 19.3 Moment-Based Shape Features 501
Figure 19.5: Principal axes of the inertia tensor of an object for rotation around the center of mass.
Scale-Invariant Moments
µp', q = α p+q+2 µp, q. We can then normalize the moments with the zero-order moment, µ0, 0, to gain scale-invariant moments
0, 0
Moment Tensor Shape analysis beyond area measurements starts with the second-order moments. The zero-order moment just gives the area or “total mass” of a binary or gray value object, respectively. The fi rst-order central moments are zero by defi nition. The analogy to mechanics is again helpful to understand the meaning of the second-order moments µ2, 0, µ0, 2, and µ1, 1. They contain terms in which the gray value function, i. e., the density of the object, is multiplied 502 19 Shape Presentation and Analysis
µ2, 0 − µ1, 1 − µ1, 1 µ0, 2 Σ . (19.4) Because of this analogy, we can transfer all the results from Section 13.3 to shape description with second-order moments. The orientation of the object is defi ned as the angle between the x axis and the axis around which the object can be rotated with minimum inertia. This is the eigen- vector of the minimal eigenvalue. The object is most elongated in this direction (Fig. 19.5). According to Eq. (13.12), this angle is given by φ = 1 arctan 2µ 1, 1 . (19.5) 2 µ2, 0 − µ0, 2 As a measure for the eccentricity ε, we can use what we have defi ned as a coherence measure for local orientation Eq. (13.15):
ε (µ2, 0 + µ0, 2)2 1, 1. (19.6) The eccentricity ranges from 0 to 1. It is zero for a circular object and one for a line-shaped object. Thus, it is a better-defi ned quantity than circularity with its odd range (Section 19.5.3).
Fourier Descriptors |
Последнее изменение этой страницы: 2019-05-04; Просмотров: 217; Нарушение авторского права страницы