Structure tensor

From HandWiki
Revision as of 16:21, 6 February 2024 by MainAI (talk | contribs) (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Tensor related to gradients

In mathematics, the structure tensor, also referred to as the second-moment matrix, is a matrix derived from the gradient of a function. It describes the distribution of the gradient in a specified neighborhood around a point and makes the information invariant respect the observing coordinates. The structure tensor is often used in image processing and computer vision.[1][2][3]

The 2D structure tensor

Continuous version

For a function [math]\displaystyle{ I }[/math] of two variables p = (x, y), the structure tensor is the 2×2 matrix

[math]\displaystyle{ S_w(p) = \begin{bmatrix} \int w(r) (I_x(p-r))^2\,dr & \int w(r) I_x(p-r)I_y(p-r)\,dr \\[10pt] \int w(r) I_x(p-r)I_y(p-r)\,dr & \int w(r) (I_y(p-r))^2\,dr \end{bmatrix} }[/math] where [math]\displaystyle{ I_x }[/math] and [math]\displaystyle{ I_y }[/math] are the partial derivatives of [math]\displaystyle{ I }[/math] with respect to x and y; the integrals range over the plane [math]\displaystyle{ \mathbb{R}^2 }[/math]; and w is some fixed "window function" (such as a Gaussian blur), a distribution on two variables. Note that the matrix [math]\displaystyle{ S_w }[/math] is itself a function of p = (x, y).

The formula above can be written also as [math]\displaystyle{ S_w(p) = \int w(r) S_0(p-r) \, dr }[/math], where [math]\displaystyle{ S_0 }[/math] is the matrix-valued function defined by [math]\displaystyle{ S_0(p)= \begin{bmatrix} (I_x(p))^2 & I_x(p)I_y(p) \\[10pt] I_x(p)I_y(p) & (I_y(p))^2 \end{bmatrix} }[/math]

If the gradient [math]\displaystyle{ \nabla I = (I_x,I_y)^\text{T} }[/math] of [math]\displaystyle{ I }[/math] is viewed as a 2×1 (single-column) matrix, where [math]\displaystyle{ (\cdot)^\text{T} }[/math] denotes transpose operation, turning a row vector to a column vector, the matrix [math]\displaystyle{ S_0 }[/math] can be written as the matrix product [math]\displaystyle{ (\nabla I)(\nabla I)^\text{T} }[/math] or tensor or outer product [math]\displaystyle{ \nabla I \otimes \nabla I }[/math]. Note however that the structure tensor [math]\displaystyle{ S_w(p) }[/math] cannot be factored in this way in general except if [math]\displaystyle{ w }[/math] is a Dirac delta function.

Discrete version

In image processing and other similar applications, the function [math]\displaystyle{ I }[/math] is usually given as a discrete array of samples [math]\displaystyle{ I[p] }[/math], where p is a pair of integer indices. The 2D structure tensor at a given pixel is usually taken to be the discrete sum

[math]\displaystyle{ S_w[p] = \begin{bmatrix} \sum_r w[r] (I_x[p-r])^2 & \sum_r w[r] I_x[p-r]I_y[p-r] \\[10pt] \sum_r w[r] I_x[p-r]I_y[p-r] & \sum_r w[r] (I_y[p-r])^2 \end{bmatrix} }[/math]

Here the summation index r ranges over a finite set of index pairs (the "window", typically [math]\displaystyle{ \{-m \ldots +m\}\times\{-m \ldots +m\} }[/math] for some m), and w[r] is a fixed "window weight" that depends on r, such that the sum of all weights is 1. The values [math]\displaystyle{ I_x[p],I_y[p] }[/math] are the partial derivatives sampled at pixel p; which, for instance, may be estimated from by [math]\displaystyle{ I }[/math] by finite difference formulas.

The formula of the structure tensor can be written also as [math]\displaystyle{ S_w[p]=\sum_r w[r] S_0[p-r] }[/math], where [math]\displaystyle{ S_0 }[/math] is the matrix-valued array such that [math]\displaystyle{ S_0[p] = \begin{bmatrix} (I_x[p])^2 & I_x[p]I_y[p] \\[10pt] I_x[p]I_y[p] & (I_y[p])^2 \end{bmatrix} }[/math]

Interpretation

The importance of the 2D structure tensor [math]\displaystyle{ S_w }[/math] stems from the fact eigenvalues [math]\displaystyle{ \lambda_1,\lambda_2 }[/math] (which can be ordered so that [math]\displaystyle{ \lambda_1 \geq \lambda_2\geq 0 }[/math]) and the corresponding eigenvectors [math]\displaystyle{ e_1,e_2 }[/math] summarize the distribution of the gradient [math]\displaystyle{ \nabla I = (I_x,I_y) }[/math] of [math]\displaystyle{ I }[/math] within the window defined by [math]\displaystyle{ w }[/math] centered at [math]\displaystyle{ p }[/math].[1][2][3]

Namely, if [math]\displaystyle{ \lambda_1 \gt \lambda_2 }[/math], then [math]\displaystyle{ e_1 }[/math] (or [math]\displaystyle{ -e_1 }[/math]) is the direction that is maximally aligned with the gradient within the window.

In particular, if [math]\displaystyle{ \lambda_1 \gt 0, \lambda_2 = 0 }[/math] then the gradient is always a multiple of [math]\displaystyle{ e_1 }[/math] (positive, negative or zero); this is the case if and only if [math]\displaystyle{ I }[/math] within the window varies along the direction [math]\displaystyle{ e_1 }[/math] but is constant along [math]\displaystyle{ e_2 }[/math]. This condition of eigenvalues is also called linear symmetry condition because then the iso-curves of [math]\displaystyle{ I }[/math] consist in parallel lines, i.e there exists a one dimensional function [math]\displaystyle{ g }[/math] which can generate the two dimensional function [math]\displaystyle{ I }[/math] as [math]\displaystyle{ I(x,y)=g(d^\text{T} p) }[/math] for some constant vector [math]\displaystyle{ d=(d_x,d_y)^T }[/math] and the coordinates [math]\displaystyle{ p=(x,y)^T }[/math].

If [math]\displaystyle{ \lambda_1 = \lambda_2 }[/math], on the other hand, the gradient in the window has no predominant direction; which happens, for instance, when the image has rotational symmetry within that window. This condition of eigenvalues is also called balanced body, or directional equilibrium condition because it holds when all gradient directions in the window are equally frequent/probable.

Furthermore, the condition [math]\displaystyle{ \lambda_1 = \lambda_2 = 0 }[/math] happens if and only if the function [math]\displaystyle{ I }[/math] is constant ([math]\displaystyle{ \nabla I = (0,0) }[/math]) within [math]\displaystyle{ W }[/math].

More generally, the value of [math]\displaystyle{ \lambda_k }[/math], for k=1 or k=2, is the [math]\displaystyle{ w }[/math]-weighted average, in the neighborhood of p, of the square of the directional derivative of [math]\displaystyle{ I }[/math] along [math]\displaystyle{ e_k }[/math]. The relative discrepancy between the two eigenvalues of [math]\displaystyle{ S_w }[/math] is an indicator of the degree of anisotropy of the gradient in the window, namely how strongly is it biased towards a particular direction (and its opposite).[4][5] This attribute can be quantified by the coherence, defined as

[math]\displaystyle{ c_w=\left(\frac{\lambda_1-\lambda_2}{\lambda_1+\lambda_2}\right)^2 }[/math]

if [math]\displaystyle{ \lambda_2\gt 0 }[/math]. This quantity is 1 when the gradient is totally aligned, and 0 when it has no preferred direction. The formula is undefined, even in the limit, when the image is constant in the window ([math]\displaystyle{ \lambda_1=\lambda_2=0 }[/math]). Some authors define it as 0 in that case.

Note that the average of the gradient [math]\displaystyle{ \nabla I }[/math] inside the window is not a good indicator of anisotropy. Aligned but oppositely oriented gradient vectors would cancel out in this average, whereas in the structure tensor they are properly added together.Cite error: Invalid <ref> tag; refs with no name must have content This is a reason for why [math]\displaystyle{ (\nabla I)(\nabla I)^\text{T} }[/math] is used in the averaging of the structure tensor to optimize the direction instead of [math]\displaystyle{ \nabla I }[/math].

By expanding the effective radius of the window function [math]\displaystyle{ w }[/math] (that is, increasing its variance), one can make the structure tensor more robust in the face of noise, at the cost of diminished spatial resolution.[5][6] The formal basis for this property is described in more detail below, where it is shown that a multi-scale formulation of the structure tensor, referred to as the multi-scale structure tensor, constitutes a true multi-scale representation of directional data under variations of the spatial extent of the window function.

Complex version

The interpretation and implementation of the 2D structure tensor becomes particularly accessible using complex numbers.[2] The structure tensor consists in 3 real numbers

[math]\displaystyle{ S_w(p) = \begin{bmatrix} \mu_{20} & \mu_{11} \\[10pt] \mu_{11} & \mu_{02} \end{bmatrix} }[/math]

where [math]\displaystyle{ \mu_{20} =\int (w(r) (I_x(p-r))^2\,dr }[/math] , [math]\displaystyle{ \mu_{02} =\int (w(r) (I_y(p-r))^2\,dr }[/math] and [math]\displaystyle{ \mu_{11} =\int w(r) I_x(p-r)I_y(p-r)\,dr }[/math] in which integrals can be replaced by summations for discrete representation. Using Parseval's identity it is clear that the three real numbers are the second order moments of the power spectrum of [math]\displaystyle{ I }[/math]. The following second order complex moment of the power spectrum of [math]\displaystyle{ I }[/math] can then be written as

[math]\displaystyle{ \kappa_{20} = \mu_{20}-\mu_{02}+i2\mu_{11}=\int w(r) (I_x(p-r)+i I_y(p-r))^2 \, dr =(\lambda_1-\lambda_2)\exp(i2\phi) }[/math]

where [math]\displaystyle{ i=\sqrt{-1} }[/math] and [math]\displaystyle{ \phi }[/math] is the direction angle of the most significant eigenvector of the structure tensor [math]\displaystyle{ \phi=\angle{e_1} }[/math] whereas [math]\displaystyle{ \lambda_1 }[/math] and [math]\displaystyle{ \lambda_2 }[/math] are the most and the least significant eigenvalues. From, this it follows that [math]\displaystyle{ \kappa_{20} }[/math] contains both a certainty [math]\displaystyle{ |\kappa_{20}|=\lambda_1-\lambda_2 }[/math] and the optimal direction in double angle representation since it is a complex number consisting of two real numbers. It follows also that if the gradient is represented as a complex number, and is remapped by squaring (i.e. the argument angles of the complex gradient is doubled), then averaging acts as an optimizer in the mapped domain, since it directly delivers both the optimal direction (in double angle representation) and the associated certainty. The complex number represents thus how much linear structure (linear symmetry) there is in image [math]\displaystyle{ I }[/math], and the complex number is obtained directly by averaging the gradient in its (complex) double angle representation without computing the eigenvalues and the eigenvectors explicitly.

Likewise the following second order complex moment of the power spectrum of [math]\displaystyle{ I }[/math], which happens to be always real because [math]\displaystyle{ I }[/math] is real,

[math]\displaystyle{ \kappa_{11} = \mu_{20}+\mu_{02} = \int w(r) |I_x(p-r)+i I_y(p-r)|^2 \, dr = \lambda_1+\lambda_2 }[/math]

can be obtained, with [math]\displaystyle{ \lambda_1 }[/math] and [math]\displaystyle{ \lambda_2 }[/math] being the eigenvalues as before. Notice that this time the magnitude of the complex gradient is squared (which is always real).

However, decomposing the structure tensor in its eigenvectors yields its tensor components as

[math]\displaystyle{ S_w(p) = \lambda_1 e_1e_1^\text{T}+ \lambda_2 e_2e_2^\text{T} =(\lambda_1 -\lambda_2)e_1e_1^\text{T}+ \lambda_2( e_1e_1^\text{T}+e_2e_2^\text{T})= (\lambda_1 -\lambda_2)e_1e_1^\text{T}+ \lambda_2 E }[/math]

where [math]\displaystyle{ E }[/math] is the identity matrix in 2D because the two eigenvectors are always orthogonal (and sum to unity). The first term in the last expression of the decomposition, [math]\displaystyle{ (\lambda_1 -\lambda_2)e_1e_1^\text{T} }[/math], represents the linear symmetry component of the structure tensor containing all directional information (as a rank-1 matrix), whereas the second term represents the balanced body component of the tensor, which lacks any directional information (containing an identity matrix [math]\displaystyle{ E }[/math]). To know how much directional information there is in [math]\displaystyle{ I }[/math] is then the same as checking how large [math]\displaystyle{ \lambda_1-\lambda_2 }[/math] is compared to [math]\displaystyle{ \lambda_2 }[/math].

Evidently, [math]\displaystyle{ \kappa_{20} }[/math] is the complex equivalent of the first term in the tensor decomposition, whereas [math]\displaystyle{ \tfrac 1 2 (|\kappa_{20}|-\kappa_{11}) = \lambda_2 }[/math]is the equivalent of the second term. Thus the two scalars, comprising three real numbers,

[math]\displaystyle{ \begin{align} \kappa_{20} &=& (\lambda_1-\lambda_2)\exp(i2\phi) &= w*(h*I)^2 \\ \kappa_{11} &=& \lambda_1+\lambda_2&=w*|h*I|^2 \\ \end{align} }[/math] where [math]\displaystyle{ h(x,y)=(x+iy)\exp(-(x^2+y^2)/(2\sigma^2)) }[/math] is the (complex) gradient filter, and [math]\displaystyle{ * }[/math] is convolution, constitute a complex representation of the 2D Structure Tensor. As discussed here and elsewhere [math]\displaystyle{ w }[/math] defines the local image which is usually a Gaussian (with a certain variance defining the outer scale), and [math]\displaystyle{ \sigma }[/math] is the (inner scale) parameter determining the effective frequency range in which the orientation [math]\displaystyle{ 2\phi }[/math] is to be estimated.

The elegance of the complex representation stems from that the two components of the structure tensor can be obtained as averages and independently. In turn, this means that [math]\displaystyle{ \kappa_{20} }[/math] and [math]\displaystyle{ \kappa_{11} }[/math] can be used in a scale space representation to describe the evidence for presence of unique orientation and the evidence for the alternative hypothesis, the presence of multiple balanced orientations, without computing the eigenvectors and eigenvalues. A functional, such as squaring the complex numbers have to this date not been shown to exist for structure tensors with dimensions higher than two. In Bigun 91, it has been put forward with due argument that this is because complex numbers are commutative algebras whereas quaternions, the possible candidate to construct such a functional by, constitute a non-commutative algebra.[7]

The complex representation of the structure tensor is frequently used in fingerprint analysis to obtain direction maps containing certainties which in turn are used to enhance them, to find the locations of the global (cores and deltas) and local (minutia) singularities, as well as automatically evaluate the quality of the fingerprints.

The 3D structure tensor

Definition

The structure tensor can be defined also for a function [math]\displaystyle{ I }[/math] of three variables p=(x,y,z) in an entirely analogous way. Namely, in the continuous version we have [math]\displaystyle{ S_w(p) = \int w(r) S_0(p-r) \, dr }[/math], where [math]\displaystyle{ S_0(p) = \begin{bmatrix} (I_x(p))^2 & I_x(p)I_y(p) & I_x(p)I_z(p) \\[10pt] I_x(p)I_y(p) & (I_y(p))^2 & I_y(p)I_z(p) \\[10pt] I_x(p)I_z(p) & I_y(p)I_z(p) & (I_z(p))^2 \end{bmatrix} }[/math] where [math]\displaystyle{ I_x,I_y,I_z }[/math] are the three partial derivatives of [math]\displaystyle{ I }[/math], and the integral ranges over [math]\displaystyle{ \mathbb{R}^3 }[/math].

In the discrete version,[math]\displaystyle{ S_w[p] = \sum_r w[r] S_0[p-r] }[/math], where [math]\displaystyle{ S_0[p] = \begin{bmatrix} (I_x[p])^2 & I_x[p]I_y[p] & I_x[p]I_z[p] \\[10pt] I_x[p]I_y[p] & (I_y[p])^2 & I_y[p]I_z[p]\\[10pt] I_x[p]I_z[p] & I_y[p]I_z[p] & (I_z[p])^2 \end{bmatrix} }[/math] and the sum ranges over a finite set of 3D indices, usually [math]\displaystyle{ \{-m \ldots +m\} \times \{-m \ldots +m\} \times \{-m \ldots +m\} }[/math] for some m.

Interpretation

As in the two-dimensional case, the eigenvalues [math]\displaystyle{ \lambda_1,\lambda_2,\lambda_3 }[/math] of [math]\displaystyle{ S_w[p] }[/math], and the corresponding eigenvectors [math]\displaystyle{ \hat{e}_1,\hat{e}_2,\hat{e}_3 }[/math], summarize the distribution of gradient directions within the neighborhood of p defined by the window [math]\displaystyle{ w }[/math]. This information can be visualized as an ellipsoid whose semi-axes are equal to the eigenvalues and directed along their corresponding eigenvectors.[8][9]

Ellipsoidal representation of the 3D structure tensor.

In particular, if the ellipsoid is stretched along one axis only, like a cigar (that is, if [math]\displaystyle{ \lambda_1 }[/math] is much larger than both [math]\displaystyle{ \lambda_2 }[/math] and [math]\displaystyle{ \lambda_3 }[/math]), it means that the gradient in the window is predominantly aligned with the direction [math]\displaystyle{ e_1 }[/math], so that the isosurfaces of [math]\displaystyle{ I }[/math] tend to be flat and perpendicular to that vector. This situation occurs, for instance, when p lies on a thin plate-like feature, or on the smooth boundary between two regions with contrasting values.

The structure tensor ellipsoid of a surface-like neighborhood ("surfel"), where [math]\displaystyle{ \lambda_1 \gt \!\gt \lambda_2 \approx \lambda_3 }[/math].
180px|A 3D window straddling a smooth boundary surface between two uniform regions of a 3D image.
The corresponding structure tensor ellipsoid.

If the ellipsoid is flattened in one direction only, like a pancake (that is, if [math]\displaystyle{ \lambda_3 }[/math] is much smaller than both [math]\displaystyle{ \lambda_1 }[/math] and [math]\displaystyle{ \lambda_2 }[/math]), it means that the gradient directions are spread out but perpendicular to [math]\displaystyle{ e_3 }[/math]; so that the isosurfaces tend to be like tubes parallel to that vector. This situation occurs, for instance, when p lies on a thin line-like feature, or on a sharp corner of the boundary between two regions with contrasting values.

The structure tensor of a line-like neighborhood ("curvel"), where [math]\displaystyle{ \lambda_1 \approx \lambda_2 \gt \!\gt \lambda_3 }[/math].
180px|A 3D window straddling a line-like feature of a 3D image.
The corresponding structure tensor ellipsoid.

Finally, if the ellipsoid is roughly spherical (that is, if [math]\displaystyle{ \lambda_1\approx\lambda_2\approx\lambda_3 }[/math]), it means that the gradient directions in the window are more or less evenly distributed, with no marked preference; so that the function [math]\displaystyle{ I }[/math] is mostly isotropic in that neighborhood. This happens, for instance, when the function has spherical symmetry in the neighborhood of p. In particular, if the ellipsoid degenerates to a point (that is, if the three eigenvalues are zero), it means that [math]\displaystyle{ I }[/math] is constant (has zero gradient) within the window.

The structure tensor in an isotropic neighborhood, where [math]\displaystyle{ \lambda_1\approx\lambda_2\approx\lambda_3 }[/math].
180px|A 3D window containing a spherical feature of a 3D image.
The corresponding structure tensor ellipsoid.

The multi-scale structure tensor

The structure tensor is an important tool in scale space analysis. The multi-scale structure tensor (or multi-scale second moment matrix) of a function [math]\displaystyle{ I }[/math] is in contrast to other one-parameter scale-space features an image descriptor that is defined over two scale parameters. One scale parameter, referred to as local scale [math]\displaystyle{ t }[/math], is needed for determining the amount of pre-smoothing when computing the image gradient [math]\displaystyle{ (\nabla I)(x; t) }[/math]. Another scale parameter, referred to as integration scale [math]\displaystyle{ s }[/math], is needed for specifying the spatial extent of the window function [math]\displaystyle{ w(\xi; s) }[/math] that determines the weights for the region in space over which the components of the outer product of the gradient by itself [math]\displaystyle{ (\nabla I)(\nabla I)^\text{T} }[/math] are accumulated.

More precisely, suppose that [math]\displaystyle{ I }[/math] is a real-valued signal defined over [math]\displaystyle{ \mathbb{R}^k }[/math]. For any local scale [math]\displaystyle{ t \gt 0 }[/math], let a multi-scale representation [math]\displaystyle{ I(x; t) }[/math] of this signal be given by [math]\displaystyle{ I(x; t) = h(x; t)*I(x) }[/math] where [math]\displaystyle{ h(x; t) }[/math] represents a pre-smoothing kernel. Furthermore, let [math]\displaystyle{ (\nabla I)(x; t) }[/math] denote the gradient of the scale space representation. Then, the multi-scale structure tensor/second-moment matrix is defined by[6][10][11] [math]\displaystyle{ \mu(x; t, s) = \int_{\xi \in \mathbb{R}^k} (\nabla I)(x-\xi; t) \, (\nabla I)^\text{T}(x-\xi; t) \, w(\xi; s) \, d\xi }[/math] Conceptually, one may ask if it would be sufficient to use any self-similar families of smoothing functions [math]\displaystyle{ h(x; t) }[/math] and [math]\displaystyle{ w(\xi; s) }[/math]. If one naively would apply, for example, a box filter, however, then non-desirable artifacts could easily occur. If one wants the multi-scale structure tensor to be well-behaved over both increasing local scales [math]\displaystyle{ t }[/math] and increasing integration scales [math]\displaystyle{ s }[/math], then it can be shown that both the smoothing function and the window function have to be Gaussian.[6] The conditions that specify this uniqueness are similar to the scale-space axioms that are used for deriving the uniqueness of the Gaussian kernel for a regular Gaussian scale space of image intensities.

There are different ways of handling the two-parameter scale variations in this family of image descriptors. If we keep the local scale parameter [math]\displaystyle{ t }[/math] fixed and apply increasingly broadened versions of the window function by increasing the integration scale parameter [math]\displaystyle{ s }[/math] only, then we obtain a true formal scale space representation of the directional data computed at the given local scale [math]\displaystyle{ t }[/math].[6] If we couple the local scale and integration scale by a relative integration scale [math]\displaystyle{ r \geq 1 }[/math], such that [math]\displaystyle{ s = r t }[/math] then for any fixed value of [math]\displaystyle{ r }[/math], we obtain a reduced self-similar one-parameter variation, which is frequently used to simplify computational algorithms, for example in corner detection, interest point detection, texture analysis and image matching. By varying the relative integration scale [math]\displaystyle{ r \geq 1 }[/math] in such a self-similar scale variation, we obtain another alternative way of parameterizing the multi-scale nature of directional data obtained by increasing the integration scale.

A conceptually similar construction can be performed for discrete signals, with the convolution integral replaced by a convolution sum and with the continuous Gaussian kernel [math]\displaystyle{ g(x; t) }[/math] replaced by the discrete Gaussian kernel [math]\displaystyle{ T(n; t) }[/math]: [math]\displaystyle{ \mu(x; t, s) = \sum_{n \in \mathbb{Z}^k} (\nabla I)(x-n; t) \, (\nabla I)^\text{T}(x-n; t) \, w(n; s) }[/math] When quantizing the scale parameters [math]\displaystyle{ t }[/math] and [math]\displaystyle{ s }[/math] in an actual implementation, a finite geometric progression [math]\displaystyle{ \alpha^i }[/math] is usually used, with i ranging from 0 to some maximum scale index m. Thus, the discrete scale levels will bear certain similarities to image pyramid, although spatial subsampling may not necessarily be used in order to preserve more accurate data for subsequent processing stages.

Applications

The eigenvalues of the structure tensor play a significant role in many image processing algorithms, for problems like corner detection, interest point detection, and feature tracking.[8][12][13][14][15][16][17] The structure tensor also plays a central role in the Lucas-Kanade optical flow algorithm, and in its extensions to estimate affine shape adaptation;[10] where the magnitude of [math]\displaystyle{ \lambda_2 }[/math] is an indicator of the reliability of the computed result. The tensor has been used for scale space analysis,[6] estimation of local surface orientation from monocular or binocular cues,[11] non-linear fingerprint enhancement,[18] diffusion-based image processing,[19][20][21][22] and several other image processing problems. The structure tensor can be also applied in geology to filter seismic data.[23]

Processing spatio-temporal video data with the structure tensor

The three-dimensional structure tensor has been used to analyze three-dimensional video data (viewed as a function of x, y, and time t).[4] If one in this context aims at image descriptors that are invariant under Galilean transformations, to make it possible to compare image measurements that have been obtained under variations of a priori unknown image velocities [math]\displaystyle{ v = (v_x, v_y)^\text{T} }[/math] [math]\displaystyle{ \begin{bmatrix} x' \\ y' \\ t' \end{bmatrix} = G \begin{bmatrix} x \\ y \\ t \end{bmatrix} = \begin{bmatrix} x - v_x \, t \\ y - v_y \, t \\ t \end{bmatrix} , }[/math] it is, however, from a computational viewpoint preferable to parameterize the components in the structure tensor/second-moment matrix [math]\displaystyle{ S }[/math] using the notion of Galilean diagonalization[24] [math]\displaystyle{ S' = R_\text{space}^{-\text{T}} \, G^{-\text{T}} \, S \, G^{-1} \, R_\text{space}^{-1} = \begin{bmatrix} \nu_1 & \, & \, \\ \, & \nu_2 & \, \\ \, & \, & \nu_3 \end{bmatrix} }[/math] where [math]\displaystyle{ G }[/math] denotes a Galilean transformation of spacetime and [math]\displaystyle{ R_\text{space} }[/math] a two-dimensional rotation over the spatial domain, compared to the abovementioned use of eigenvalues of a 3-D structure tensor, which corresponds to an eigenvalue decomposition and a (non-physical) three-dimensional rotation of spacetime [math]\displaystyle{ S'' = R_\text{spacetime}^{-\text{T}} \, S \, R_\text{spacetime}^{-1} = \begin{bmatrix} \lambda_1 & & \\ & \lambda_2 & \\ & & \lambda_3 \end{bmatrix} . }[/math] To obtain true Galilean invariance, however, also the shape of the spatio-temporal window function needs to be adapted,[24][25] corresponding to the transfer of affine shape adaptation[10] from spatial to spatio-temporal image data. In combination with local spatio-temporal histogram descriptors,[26] these concepts together allow for Galilean invariant recognition of spatio-temporal events.[27]

See also

References

  1. 1.0 1.1 J. Bigun and G. Granlund (1986), Optimal Orientation Detection of Linear Symmetry. Tech. Report LiTH-ISY-I-0828, Computer Vision Laboratory, Linkoping University, Sweden 1986; Thesis Report, Linkoping studies in science and technology No. 85, 1986.
  2. 2.0 2.1 2.2 J. Bigun; G. Granlund (1987). "First int. Conf. on Computer Vision, ICCV, (London)". Piscataway: IEEE Computer Society Press, Piscataway. pp. 433–438. 
  3. 3.0 3.1 H. Knutsson (1989). "Proceedings 6th Scandinavian Conf. on Image Analysis". Oulu: Oulu University. pp. 244–251. 
  4. 4.0 4.1 B. Jahne (1993). Spatio-Temporal Image Processing: Theory and Scientific Applications. 751. Berlin: Springer-Verlag. 
  5. 5.0 5.1 G. Medioni, M. Lee; C. Tang (March 2000). A Computational Framework for Feature Extraction and Segmentation. Elsevier Science. 
  6. 6.0 6.1 6.2 6.3 6.4 T. Lindeberg (1993), Scale-Space Theory in Computer Vision. Kluwer Academic Publishers, (see sections 14.4.1 and 14.2.3 on pages 359–360 and 355–356 for detailed statements about how the multi-scale second-moment matrix/structure tensor defines a true and uniquely determined multi-scale representation of directional data).
  7. J. Bigun; G. Granlund; J. Wiklund (1991). "Multidimensional Orientation Estimation with Applications to Texture Analysis and Optical Flow". IEEE Transactions on Pattern Analysis and Machine Intelligence 13 (8): 775–790. doi:10.1109/34.85668. 
  8. 8.0 8.1 M. Nicolescu; G. Medioni (2003). "Proc. IEEE Computer Vision and Pattern Recognition". 1. pp. 382–389. 
  9. Westin, C.-F.; Maier, S.E.; Mamata, H.; Nabavi, A.; Jolesz, F.A.; Kikinis, R. (June 2002). "Processing and visualization for diffusion tensor MRI" (in en). Medical Image Analysis 6 (2): 93–108. doi:10.1016/S1361-8415(02)00053-1. PMID 12044998. https://linkinghub.elsevier.com/retrieve/pii/S1361841502000531. 
  10. 10.0 10.1 10.2 T. Lindeberg; J. Garding (1997). "Shape-adapted smoothing in estimation of 3-D depth cues from affine distortions of local 2-D structure". Image and Vision Computing 15 (6): 415–434. doi:10.1016/S0262-8856(97)01144-X. http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A472972&dswid=7790. 
  11. 11.0 11.1 J. Garding and T. Lindeberg (1996). "Direct computation of shape cues using scale-adapted spatial derivative operators, International Journal of Computer Vision, volume 17, issue 2, pages 163–191.
  12. W. Förstner (1986). "A Feature Based Correspondence Algorithm for Image Processing". International Archives of Photogrammetry and Remote Sensing 26: 150–166. 
  13. C. Harris; M. Stephens (1988). "Proc. of the 4th ALVEY Vision Conference". pp. 147–151. 
  14. K. Rohr (1997). "On 3D Differential Operators for Detecting Point Landmarks". Image and Vision Computing 15 (3): 219–233. doi:10.1016/S0262-8856(96)01127-4. 
  15. I. Laptev; T. Lindeberg (2003). "International Conference on Computer Vision ICCV'03". I. pp. 432–439. doi:10.1109/ICCV.2003.1238378. 
  16. B. Triggs (2004). "Proc. European Conference on Computer Vision". 4. pp. 100–113. 
  17. C. Kenney, M. Zuliani; B. Manjunath (2005). "Proc. IEEE Computer Vision and Pattern Recognition". pp. 191–197. 
  18. A. Almansa and T. Lindeberg (2000), Enhancement of fingerprint images using shape-adaptated scale-space operators. IEEE Transactions on Image Processing, volume 9, number 12, pages 2027–2042.
  19. J. Weickert (1998), Anisotropic diffusion in image processing, Teuber Verlag, Stuttgart.
  20. D. Tschumperle; R. Deriche (September 2002). "Diffusion PDEs on Vector-Valued Images". IEEE Signal Processing Magazine 19 (5): 16–25. doi:10.1109/MSP.2002.1028349. Bibcode2002ISPM...19...16T. 
  21. S. Arseneau; J. Cooperstock (September 2006). "British Machine Vision Conference". 2. pp. 689–698. 
  22. S. Arseneau; J. Cooperstock (November 2006). "International Symposium on Visual Computing". 
  23. Yang, Shuai; Chen, Anqing; Chen, Hongde (2017-05-25). "Seismic data filtering using non-local means algorithm based on structure tensor". Open Geosciences 9 (1): 151–160. doi:10.1515/geo-2017-0013. ISSN 2391-5447. Bibcode2017OGeo....9...13Y. 
  24. 24.0 24.1 T. Lindeberg; A. Akbarzadeh; I. Laptev (August 2004). "International Conference on Pattern Recognition ICPR'04". I. pp. 57–62. doi:10.1109/ICPR.2004.1334004. 
  25. I. Laptev; T. Lindeberg (August 2004). "Velocity adaptation of space–time interest points". International Conference on Pattern Recognition ICPR'04. I. pp. 52–56. doi:10.1109/ICPR.2004.971. http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A451230&dswid=-7763. 
  26. I. Laptev; T. Lindeberg (May 2004). "Local descriptors for spatio-temporal recognition". ECCV'04 Workshop on Spatial Coherence for Visual Motion Analysis (Prague, Czech Republic) Springer Lecture Notes in Computer Science. 3667. pp. 91–103. doi:10.1007/11676959. http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A445261&dswid=-1233. 
  27. I. Laptev; B. Caputo; C. Schuldt; T. Lindeberg (2007). "Computer Vision and Image Understanding". 108. pp. 207–229. doi:10.1016/j.cviu.2006.11.023. 

Resources