Lably
Skip to content

Scale space

Framework for multi-scale signal representation

  • 15 min read
  • 10 chapters

Related on Lably

Through Signal, Computer vision and Digital image processing

The main type of scale space is the linear (Gaussian) scale space, which has wide applicability as well as the attractive property of being possible to derive from a small set of scale-space axioms. The corresponding scale-space framework encompasses a theory for Gaussian derivative operators, which can be used as a basis for expressing a large class of visual operations for computerized systems that process visual information. This framework also allows visual operations to be made scale invariant, which is necessary for dealing with the size variations that may occur in image data, because real-world objects may be of different sizes and in addition the distance between the object and the camera may be unknown and may vary depending on the circumstances.

Definition

The notion of scale space applies to signals of arbitrary numbers of variables. The most common case in the literature applies to two-dimensional images, which is what is presented here. Consider a given image f where f(x,y) is the greyscale value of the pixel at position (x,y). The linear (Gaussian) scale-space representation of f is a family of derived signals L(x,y;t) defined by the convolution of f(x,y) with the two-dimensional Gaussian kernel

g(x,y;t)=12πte−(x2+y2)/2t

such that

L(⋅,⋅;t)=g(⋅,⋅;t)∗f(⋅,⋅),

where the semicolon in the argument of L implies that the convolution is performed only over the variables x,y, while the scale parameter t after the semicolon just indicates which scale level is being defined. This definition of L works for a continuum of scales t≥0, but typically only a finite discrete set of levels in the scale-space representation would be actually considered.

The scale parameter t=σ2 is the variance of the Gaussian filter and as a limit for t=0 the filter g becomes an impulse function such that L(x,y;0)=f(x,y), that is, the scale-space representation at scale level t=0 is the image f itself. As t increases, L is the result of smoothing f with a larger and larger filter, thereby removing more and more of the details that the image contains. Since the standard deviation of the filter is σ=t, details that are significantly smaller than this value are to a large extent removed from the image at scale parameter t, see the following figures and for graphical illustrations.

Why a Gaussian filter?

When faced with the task of generating a multi-scale representation one may ask: could any filter g of low-pass type and with a parameter t which determines its width be used to generate a scale space? The answer is no, as it is of crucial importance that the smoothing filter does not introduce new spurious structures at coarse scales that do not correspond to simplifications of corresponding structures at finer scales. In the scale-space literature, a number of different ways have been expressed to formulate this criterion in precise mathematical terms.

The conclusion from several different axiomatic derivations that have been presented is that the Gaussian scale space constitutes the canonical way to generate a linear scale space, based on the essential requirement that new structures must not be created when going from a fine scale to any coarser scale. Conditions, referred to as scale-space axioms, that have been used for deriving the uniqueness of the Gaussian kernel include linearity, shift invariance, semi-group structure, non-enhancement of local extrema, scale invariance and rotational invariance. In the works, the uniqueness claimed in the arguments based on scale invariance has been criticized, and alternative self-similar scale-space kernels have been proposed. The Gaussian kernel is, however, a unique choice according to the scale-space axiomatics based on causality or non-enhancement of local extrema.

Alternative definition

Equivalently, the scale-space family can be defined as the solution of the diffusion equation (for example in terms of the heat equation),

∂tL=12∇2L,

with initial condition L(x,y;0)=f(x,y). This formulation of the scale-space representation L means that it is possible to interpret the intensity values of the image f as a "temperature distribution" in the image plane and that the process that generates the scale-space representation as a function of t corresponds to heat diffusion in the image plane over time t (assuming the thermal conductivity of the material equal to the arbitrarily chosen constant ⁠1/2⁠). Although this connection may appear superficial for a reader not familiar with differential equations, it is indeed the case that the main scale-space formulation in terms of non-enhancement of local extrema is expressed in terms of a sign condition on partial derivatives in the 2+1-D volume generated by the scale space, thus within the framework of partial differential equations. Furthermore, a detailed analysis of the discrete case shows that the diffusion equation provides a unifying link between continuous and discrete scale spaces, which also generalizes to nonlinear scale spaces, for example, using anisotropic diffusion. Hence, one may say that the primary way to generate a scale space is by the diffusion equation, and that the Gaussian kernel arises as the Green's function of this specific partial differential equation.

Sign in to keep reading

9 more chapters are free with a Lably account.

More in Robotics