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

TKernelMode

Specifies the evaluation mode used by TKernelResampler to compute kernel weights.

Declaration ​

pascal
TKernelMode = (kmDynamic, kmTableNearest, kmTableLinear);

Description ​

TKernelMode defines how TKernelResampler computes weight coefficients from the assigned reconstruction kernel during sampling.

ValueDescription
kmDynamicEvaluates the kernel filter function dynamically on the fly for every sample. Offers maximum precision but is computationally slower for complex mathematical kernels.
kmTableNearestPrecomputes kernel filter values into a discrete lookup table (FWeightTable) during PrepareSampling and uses nearest table lookup during resampling.
kmTableLinearPrecomputes kernel filter values into a lookup table and linearly interpolates between adjacent table entries. Balances high execution speed with sub-table accuracy.