Scale Space Implementation - The Sampled Gaussian Kernel

The Sampled Gaussian Kernel

When implementing the one-dimensional smoothing step in practice, the presumably simplest approach is to convolve the discrete signal with a sampled Gaussian kernel:

where

(with ) which in turn is truncated at the ends to give a filter with finite impulse response

for chosen sufficiently large (see error function) such that

.

A common choice is to set M to a constant C times the standard deviation of the Gaussian kernel

where C is often chosen somewhere between 3 and 6.

Using the sampled Gaussian kernel can, however, lead to implementation problems, in particular when computing higher-order derivatives at finer scales by applying sampled derivatives of Gaussian kernels. When accuracy and robustness are primary design criteria, alternative implementation approaches should therefore be considered.

For small values of ( to ) the errors introduced by truncating the Gaussian are usually negligible. For larger values of, however, there are many better alternatives to a rectangular window function. For example, for a given number of points, a Hamming window, Blackman window, or Kaiser window will do less damage to the spectral and other properties of the Gaussian than a simple truncation will. Nonwithstanding this, since the Gaussian kernel decreases rapidly at the tails, the main recommendation is still to use a sufficiently small value of such that the truncation effects are no longer important.

Read more about this topic:  Scale Space Implementation

Famous quotes containing the word kernel:

    After night’s thunder far away had rolled
    The fiery day had a kernel sweet of cold
    Edward Thomas (1878–1917)