Lanczos resampling
From Wikipedia, the free encyclopedia
Lanczos resampling (aka Lanczos2 and Lanczos3) is a method used to make a digital bitmap image larger or smaller by resampling it, which is to say, by assigning sample points in the original bitmap and performing a transform on those points, depending on the pixel values closest to any given point.
Lanczos uses a windowed product of sinc functions as a convolution kernel for image resampling. In one dimension, its formula is given by: .
Currently it is one of the best digital image resizing kernels, though it is known to leave "echoes" on some types of image. Named after Cornelius Lanczos, because he showed how to use Fourier series and Chebyshev polynomials for various problems where it was not used before.
[edit] Applications
The Lanczos resampling kernel is known to be used in:
- VirtualDub
- IrfanView
- AviSynth
- ImageMagick
- MPlayer
- Mac OS X - Quartz (graphics layer) and vImage
- Avidemux
- Lightwave
- GIMP (2.3 and above)
- Panorama Tools (as sinc interpolation)
- Mental Ray
- XnView
- Google Picasa