Skip to content

Structure Tensor

The Structure Tensor command computes a scalar map from the structure (gradient) tensor of the image. It characterises local image orientation and the degree of directional coherence.

Parameters

ParameterDescription
ModeWhich scalar feature to extract (see below)
Kernel sizeSize of the gradient kernel (range 3–27)
SigmaGaussian smoothing applied to the tensor components

Modes

ModeHighlights
CoherenceHow strongly oriented the local structure is (0 = isotropic, 1 = perfect orientation)
OrientationThe dominant local gradient direction in radians
EnergyTotal gradient magnitude; similar to Sobel but with tensor smoothing

When to use

Structure tensor analysis is useful for:

  • Detecting and enhancing fibrous or elongated structures (collagen fibres, actin filaments).
  • Filtering based on local anisotropy before segmentation.