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

TBoxKernel

Box (nearest-neighbor) filter kernel.

Inheritance:TObject 🞂 TPersistent 🞂 TCustomKernel 🞂 TBoxKernel

Declaration ​

pascal
TBoxKernel = class(TCustomKernel)

Description ​

TBoxKernel implements a nearest-neighbor box filter (also known as a top-hat or rectangular window).

Box Kernel Window

Mathematics ​

The box filter function is defined mathematically as:

f(x)={1,if |x|≤0.50,otherwise

The kernel width radius is W=0.5 (reported as 1.0 full support).

References ​