Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология Образование Политология Производство Психология Стандартизация Технологии |
Spatial and Spatiotemporal Variation Problems
In image processing it is required to formulate the variation problem for spatially and temporally varying variables. The path of the mass point x(t), a scalar function, has to be replaced by a spatial function or spatiotemporal f ( x ), i. e., by a scalar vector function of a vector variable. For image sequences, one of the components of x is the time t. Consequently, the Lagrange function now depends on the vector vari- able x. Furthermore, it will not only be a function of f ( x ) and x explic- itly. There will be additional terms depending on the spatial (and possi- bly temporal) partial derivatives of f. They are required as soon as we demand that f at a point should be dependent on f in the neighborhood. In conclusion, the general formulation of the error functional ε (f ) as a variation integral for g reads
The area integral is calculated over a certain image domain Ω RW. Equation (17.6) already contains the knowledge that the extreme is a minimum. This results from the fact that f should show a minimum deviation from the given functions at certain points with additional con- straints. The corresponding Euler-Lagrange equation is:
Lf − ∂ xp Lfxp = 0. (17.7) p=1 The variational approach can also be extended to vectorial features such as the velocity in image sequences. Then, the Lagrange function depends on the vectorial feature f = [f1, f2,..., fW ]T, the partial deriv- atives of each component fi of the feature in all directions (fi)xp, and explicitly on the coordinate x: ε ( f ) = ∫ L. f , (fi)xp, x Σ dxW → minimum. (17.8) From this equation, we obtain an Euler–Lagrange equation for each component fi of the vectorial feature:
Lfi − ∂ xp L(fi)xp = 0. (17.9) p=1 17.3 Variational Image Modeling† 447
Similarity Constraints The similarity term is used to make the modeled feature similar to the measured feature. For a simple segmentation problem, in which the objects can be distinguished by their gray value, the measured feature is the gray value itself and the similarity term S is given by S(f, x ) = ⊗ f ( x ) − g( x )⊗ n. (17.10) This simply means that the deviation between the modeled feature and the image measured with the Ln norm should be minimal. The most commonly used norm is the L2 norm, leading to the well known least squares (LS) approach. For a linear restoration problem, the original image f ( x ) is degraded by a convolution operation with the point spread function of the degra- dation h( x ) (for further details, see Section 17.8). Thus the measured image g( x ) is given by g( x ) = h( x ) ∗ f ( x ). (17.11) In order to obtain a minimum deviation between the measured and re- constructed images, the similarity term is
S(f, x ) = ⊗ h( x ) ∗ f ( x ) − g( x )⊗ n. (17.12) As a last example, we discuss the similarity constraint for motion de- termination. In Section 14.3.2 we discussed that the optical fl ow should meet the brightness constraint equation (14.9):
f ( x, t) ∇ g( x, t) + gt( x, t) = 0 (17.13) and used an approach that minimized the deviation from the optical fl ow in a least squares sense (Eq. (14.15)). With the Ln norm, we obtain the following similarity term:
S( f , x, t) = ⊗ f ∇ g + gt⊗ n. (17.14) This equation simply expresses that the continuity equation for the op- tical fl ow (Eq. (14.9)) should be satisfi ed as well as possible in a least squares sense. Note that the similarity now also depends explicitly on time, because the minimization problem is extended from images to space-time images. From the following example, we will learn that similarity constraints alone are not of much use with the variational approach. We use the motion determination problem with the L2-norm (least squares). With Eq. (17.14), the Lagrange function depends only on the optical fl ow f . To compute the Euler-Lagrange equations, we only need to consider the 448 17 Regularization and Modeling
partial derivatives of the similarity term Eq. (17.14) with respect to the components of the optical fl ow, ∂ L/∂ fi: Lfi = 2. f ∇ g + gtΣ gxi. (17.15) Inserting Eq. (17.15) into the Euler-Lagrange equation (Eq. (17.9)) yields . f ∇ g + gtΣ gx = 0, . f ∇ g + gtΣ gy = 0, (17.16) or, written as a vector equation, . f ∇ g + gtΣ ∇ g = 0. (17.17)
|
Последнее изменение этой страницы: 2019-05-04; Просмотров: 182; Нарушение авторского права страницы