ArticleslgStudy

biology

Generalized structure tensor

Generalized structure tensor is a biology topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Generalized structure tensor rather than just read about it. In short: In image analysis, the generalized structure tensor (GST) is an extension of the Cartesian structure tensor to curvilinear coordinates. It is mainly used to detect and to represent the "direction" parameters of curves, just as the Cartesian structure tensor detects and represents the direction in Cartesian coordinates.

Key takeaways

  • Generalized structure tensor belongs to biology; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Generalized structure tensor to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Generalized structure tensor from memory before moving on to harder problems.

Reference excerpt

In image analysis, the generalized structure tensor (GST) is an extension of the Cartesian structure tensor to curvilinear coordinates. It is mainly used to detect and to represent the "direction" parameters of curves, just as the Cartesian structure tensor detects and represents the direction in Cartesian coordinates. Curve families generated by pairs of locally orthogonal functions have been the best studied. It is a widely known method in applications of image and video processing including computer vision, such as biometric identification by fingerprints, and studies of human tissue sections.

GST in 2D and locally orthogonal bases Let the term image represent a function f(ξ(x,y),η(x,y)) where x,y are real variables and ξ,η, and f, are real valued functions. GST represents the direction along which the image f can undergo an infinitesimal translation with minimal (total least squares) error, along the "lines" fulfilling the following conditions: 1. The "lines" are ordinary lines in the curvilinear coordinate basis ξ,η

cos⁡(θ)ξ(x,y)+sin⁡(θ)η(x,y)=constant which are curves in Cartesian coordinates as depicted by the equation above. The error is measured in the L2 sense and the minimality of the error refers thereby to L2 norm. 2. The functions ξ(x,y),η(x,y) constitute a harmonic pair, i.e. they fulfill Cauchy–Riemann equations,

∂ξ∂x=−∂η∂y,∂ξ∂y=∂η∂x. Accordingly, such curvilinear coordinates ξ,η are locally orthogonal. Then GST consists in

GST=(λmax−λmin)∫w(ξ,η)[∂f∂ξ∂f∂η][∂f∂ξ,∂f∂η]dξdη+λminI where 0≤λmin≤λmax are errors of (infinitesimal) translation in the best direction (designated by the angle θ) and the worst direction (designated by θ+π/2). The function w(ξ,η) is the window function defining the "outer scale" wherein the detection of θ will be carried out, which can be omitted if it is already included in f or if f is the full image (rather than local). The matrix I is the identity matrix. Using the chain rule, it can be shown that the integration above can be implemented as convolutions in Cartesian coordinates applied to the ordinary structure tensor when ξ,η pair the real and imaginary parts of an analytic function g(z),

ξ(x,y)=ℜg(z)η(x,y)=ℑg(z) where z=x+iy. Examples of analytic functions include g(z)=log⁡z=log⁡(x+iy), as well as monomials g(z)=zn=(x+iy)n, g(z)=zn/2=(x+iy)n/2, where n is an arbitrary positive or negative integer. The monomials g(z)=zn are also referred to as harmonic functions in computer vision, and image processing. Thereby, Cartesian Structure tensor is a special case of GST where ξ=x, and η=y, i.e. the harmonic function is simply g(z)=z=(x+iy). Thus by choosing a harmonic function g, one can detect all curves that are linear combinations of its real and imaginary parts by convolutions on (rectangular) image grids only, even if ξ,η are non-Cartesian. Furthermore, the convolution computations can be done by using complex filters applied to the complex version of the structure tensor. Thus, GST implementations have frequently been done using complex version of the structure tensor, rather than using the (1,1) tensor.

Complex version of GST As there is a complex version of the ordinary structure tensor, there is also a complex version of the GST

κ20=(λ1−λ2)exp⁡(i2θ)=w∗(h∗f)2κ11=λ1+λ2=|w|∗|h∗f|2 which is identical to its cousin with the difference that w is a complex filter. It should be recalled that, the ordinary structure tensor w is a real filter, usually defined by a sampled and scaled Gaussian to delineate the neighborhood, also known as the outer scale. This simplicity is a reason for why GST implementations have predominantly used the complex version above. For curve families ξ,η defined by analytic functions g, it can be shown that, the neighborhood defining function is complex valued,

w=(x±iy)nexp⁡(−(x2+y2)/(2σ2))∝(Dx±iDy)nexp⁡(−(x2+y2)/(2σ2)), a so-called symmetry derivative of a Gaussian. Thus, the orientation wise variation of the pattern to be looked for is directly incorporated into the neighborhood defining function, and the detection occurs in the space of the (ordinary) structure tensor.

Basic concept for its use in image processing and computer vision Efficient detection of θ in images is possible by image processing for a pair ξ, η. Complex convolutions (or the corresponding matrix operations) and point-wise non-linear mappings are the basic computational elements of GST implementations. A total least square error estimation of 2θ is then obtained along with the two errors, λmax and λmin. In analogy with the Cartesian structure tensor, the estimated angle is in double angle representation, i.e. 2θ is delivered by computations, and can be used as a shape feature whereas λmax−λmin alone or in combination with λmax+λmin can be used as a quality (confidence, certainty) measure for the angle estimation. Logarithmic spirals, including circles, can for instance be detected by (complex) convolutions and non-linear mappings. The spirals can be in gray (valued) images or in a binary image, i.e. locations of edge elements of the concerned patterns, such as contours of circles or spirals, must not be known or marked otherwise. Generalized structure tensor can be used as an alternative to Hough transform in image processing and computer vision to detect patterns whose local orientations can be modelled, for example junction points. The main differences comprise:

Negative, as well as complex voting are allowed; With one template multiple patterns belonging to the same family can be detected; Image binarization is not required.

Physical and mathematical interpretation The curvilinear coordinates of GST can explain physical processes applied to images. A well known pair of processes consist in rotation, and zooming. These are related to the coordinate transformation ξ=log⁡(x2+y2) and η=tan−1(x,y). If an image f consists in iso-curves that can be explained by only ξ i.e. its iso-curves consist in circles f(ξ,η)=g(ξ), where g is any real valued differentiable function defined on 1D, the image is invariant to rotations (around the origin). Zooming (comprising unzooming) operation is modeled similarly. If the image has iso-curves that look like a "star" or bicycle spokes, i.e. f(ξ,η)=g(η) for some differentiable 1D function g then, the image f is invariant to scaling (w.r.t. the origin). In combination,

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Generalized structure tensor

Start with the simplest possible case. Write down what Generalized structure tensor claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In biology, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Generalized structure tensor before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Generalized structure tensor ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Generalized structure tensor

In research
Generalized structure tensor appears in biology research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Generalized structure tensor in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Generalized structure tensor is common in secondary-school and first-year university syllabi. It links to neighbouring topics Feature detection (computer vision), Tensors, so understanding it makes those chapters shorter.
In everyday life
Look for Generalized structure tensor outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Generalized structure tensor” →

How to study Generalized structure tensor in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Generalized structure tensor means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Generalized structure tensor out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Generalized structure tensor in simple terms?

In image analysis, the generalized structure tensor (GST) is an extension of the Cartesian structure tensor to curvilinear coordinates. It is mainly used to detect and to represent the "direction" parameters of curves, just as the Cartesian structure tensor detects and represents the direction in C…

Why does Generalized structure tensor matter?

Because it connects several biology ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Generalized structure tensor?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Generalized structure tensor.

Tags

  • Feature detection (computer vision)
  • Tensors

Keep exploring