Mitchell-Netravali filter

from Wikipedia, the free encyclopedia

The Mitchell-Netravali filters or BC splines are a group of reconstruction filters used primarily in computer graphics , which can be used, for example, for antialiasing or for scaling raster graphics . They are also known as bicubic filters in image editing programs because they belong to the cubic splines .

definition

Graph of the Mitchell-Netravali filter with parameter selection (⅓, ⅓)

The Mitchell-Netravali filters were designed as part of an investigation into artifacts from reconstruction filters . The filters are piece-wise cubic filters with four-pixel wide carriers . After excluding unsuitable filters from this family, such as discontinuous curves, there are two parameters and that can be used to configure the Mitchell-Netravali filters. The filters are defined as follows:

It is possible to construct two-dimensional versions of the Mitchell-Netravali filters by separation (see: Reconstruction filters: Construction of two-dimensional filters ). In this case the filters can be replaced by a series of interpolations with the one-dimensional filter. From the color values of the four adjacent pixels , , , then calculates the color value as follows:

lies between and ; is the distance between and .

Special cases

Subjective appearance of images reconstructed with Mitchell-Netravali filters. The dashed line marks a family of parameters recommended by the developers as a good compromise.

Depending on the choice of parameters B and C , various artifacts can occur (see picture on the right). The developers suggested the parameters from the family and especially as a good compromise.

The choice of certain parameters leads to well-known cubic splines:

Magnification with bicubic filter in GIMP ( B = 0, C = 0.5)
Magnification with bicubic filter in Paint.NET ( B = 1, C = 0)

literature

  • Don Mitchell, Arun Netravali : Reconstruction Filters in Computer Graphics. ACM SIGGRAPH Computer Graphics 22, 4 (Aug. 1988): 221-228, ISSN  0097-8930
  • Matt Pharr, Greg Humphreys: Physically Based Rendering. From Theory to Implementation, pp. 279-367. Morgan Kaufmann, London 2004, ISBN 0-12-553180-X ( PDF, 7 MB )

Web links