Mitchell-Netravali filter
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
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
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:
- B = 1, C = 0 is the cubic B-spline (used as a bicubic filter e.g. in Paint.NET );
- B = 0 is the family of cardinal splines ;
- B = 0, C = 0.5 is the Catmull-Rom spline (used as a bicubic filter e.g. in GIMP ).
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
- The eighties: an image processing view. ( Memento from August 24, 2014 in the Internet Archive ) - Thomas Teußl: Sampling and Reconstruction in Volume Visualization (diploma thesis).