Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Resamplers🞂TCubicKernelClass

TCubicKernel

A reconstruction filter described by a cubic polynomial.

Inheritance:TObject 🞂 TPersistent 🞂 TCustomKernel 🞂 TCubicKernel

Declaration ​

pascal
TCubicKernel = class(TCustomKernel)

Description ​

TCubicKernel implements Keys' cubic convolution interpolation polynomial with configurable sharpening parameter Coeff (default a=−0.5 for Catmull-Rom spline).

Cubic Kernel Window

Cubic filtering is commonly used for high-quality resampling.

Mathematics ​

With parameter a=Coeff:

f(x)={(a+2)|x|3−(a+3)|x|2+1,if |x|≤1a|x|3−5a|x|2+8a|x|−4a,if 1<|x|<20,otherwise

References ​

  • Robert G. Keys, "Cubic convolution interpolation for digital image processing", IEEE Transactions on Acoustics, Speech, and Signal Processing, 1981.
  • Bicubic interpolation (Wikipedia)