ImageDev

Image Filtering

This category gathers filtering algorithms (for example, for denoising an image or enhancing its contrast).
This category mainly contains algorithms that transform an image into another image, generally of the same type.

Image Filters

A filter transforms an image to emphasize or stress a specific feature of its structure. Filtering techniques are often useful to extract desired information from input data or simply to improve the appearance of the input data. For example, filtering techniques are used to remove noise from corrupted images or to enhance poorly contrasted images.

A common problem in filtering theory is to estimate a signal mixed with noise.
A solution is the moving average , where the value of each pixel is replaced by the average of its neighbors (Figure 1). This is based on the assumption that short ranged variations result from noise. The filtered output can then be viewed as the main trend of the function.

<b> Figure 1.</b> A moving average
Figure 1. A moving average

Local changes in intensity present another common problem. Various filters can detect sharp transitions to enhance, contrast, or detect edges.
The Edge Detection algorithms use these types of filters.

Apart from the examples above, specific filters can be designed depending on the type of desired transition, such as: From the mathematical point of view, a filter is an operator that maps an input function $f$ to an output function $g$: $g = \phi(f)$ where $f$ and $g$ denote two functions of $R^n$.

If $f$ is an image $(f \in R^2)$, the output function is the filtered image.

Linear and Non-linear Filters

Filters are usually distinguished between linear and non-linear.
Linear filters are widely used because they are easy to implement and, often, very intuitive.
A filter $\phi$ is linear if: The class of non-linear filters is too large to be presented here in a comprehensive way. In addition, many non-linear filters are in fact particular algorithms that do not fall into a specific theoretical family. Non-linear filters include Delineate and Shade algorithms in the Sharpening category, as well as the Median Filter in the Smoothing And Denoising category.

The non-linear filters in the Image Filtering category are shift invariant filters; for instance, filters such that: $\phi(f_h) = [\phi(f)]_h$ where $f_h$ denotes the function $f$ translated by vector $h$.

Shift invariant filters have the same effect on $f$ and its translated representations, which means that it is based on neighborhood operators where the same operations are performed around each pixel of the image.