TableSize

Graphics32

TKernelResampler.TableSize

property TableSize: Integer;

Description

TableSize determines the size of the table used in GetSample for kmTableNearest and kmTableLinear kernel modes.

For kmTableNearest the weightcurve of the kernels is quantized in proportional to the tablesize. Perceptually the side effect of the table nearest approach, becomes visible as the tablesize decreases. With a table size of 2, the actual result becomes similar to using the box kernel.

For kmTableLinear the weightcurve of the kernels is approximized via linear interpolation between the quantized values in the table. Perceptually the side effect of the table linear approach, becomes visible as the table size decreases. With a table size of 2, the actual result becomes similar to using the linear kernel.

See Also

GetSample, TBoxKernel, TKernelMode, TLinearKernel