TKernelMode
type TKernelMode = (kmDynamic, kmTableNearest, kmTableLinear);
Description
TKernelMode defines how a kernel will be used in TKernelResampler, when GetSample methods are called.
- kmDynamic - Uses direct calls to the kernels filter method. Being precise, this mode is also quite expensive. The curve display in the resamplers example shows how the different weight curves are configured.
- kmTableNearest - Uses precalculated weight tables. Being the fastest, this mode can produce fair results. An option is to increase the tablesize.
- kmTableLinear - Uses precalculated weight tables, but in contrast to kmTableNearest this mode will perform linear interpolation between precalculated weights. Being somewhat slower than kmTableNearest, but faster than kmDynamic, this mode produces results good results.
See Also
Examples, TCustomKernel, TKernelResampler, TKernelResampler.GetSample, TKernelResampler.TableSize
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024