图像线性插值算法的汇总,VS2008工程,可编译,设置不同参数可以使用不同算法进行bmp图像的插值放大,可选放大算法包括:
nearest nearest neighbor (pixel duplication)
bilinear standard bilinear interpolation
bicubic Keys bicubic with parameter -0.5
lanczosN Lanczos radius-N sinc approximation,
N = 2, 3, 4
bsplineN B-spline of degree N,
N = 2, 3, 5, 7, 9, 11
omomsN o-Moms of degree N,
N = 3, 5, 7
fourier Fourier zero-padding (sinc)
1