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) = \frac {1}e^{-(x^2+y^2)/2t}\, such that :L(\cdot, \cdot ; t)\ = g(\cdot, \cdot ; t) * f(\cdot, \cdot) , 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 \geq 0, but typically only a finite discrete set of levels in the scale-space representation would be actually considered. The scale parameter t = \sigma^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 \sigma = \sqrt{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 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), :\partial_t L = \frac{1}{2} \nabla^2 L, 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 ). 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. ==Motivations==