Difference between revisions of "PanoTools Anti Aliasing Filters"
(initial version) 
(No difference)

Revision as of 16:13, 11 November 2007
Since version 2.7.10 the PanoTools library contains several interpolation filter that avoid aliasing. Those filters use a dynamic kernel size where the size of the filter kernel is calculated for each pixel.
There are two theoretical types of kernels that have an equal right for existence. Kernels based on the Gaussian distribution and kernels based on the Sinc function. Both kernels have an infinite width so a windowing function is used to limit the kernel size for practical reasons. Gaussian based kernels do not contain negative values, sinc based do.
The values in the plot describe the contribution of a pixel depending on the distance from the center. A wider kernel in the center means a more blurry image but if it is to narrow it tends to produce aliasing. If the kernel contains negative values the images also gets sharpened. Some examples: If you look at the plots you can see that a Hamming Filter produces blurrier image then the Blackmann Filter. The Lanczos2 Filter introduces more sharpening then the Mitchell Filter because of the larger negative areas.