TKernelResampler is a general class for image resampling using arbitrary convolution filters. It implements a fast method for resizing images, by precomputing kernel weights in mapping tables or coefficient bins.
For single-sample look-ups, the GetSample method supports three different kernel modes:
For further information, see topic about Sampling and Rasterization.
Methods | Properties | Events |
---|---|---|
In TKernelResampler: | ||
Create | Kernel | |
Destroy | KernelClassName | |
FinalizeSampling | KernelMode | |
GetSample | TableSize | |
PrepareSampling | ||
In TBitmap32Resampler: | ||
Changed | Bitmap | |
GetSampleBounds | PixelAccessMode | |
HasBounds | TransformerClass | |
In TCustomResampler: | ||
Resample | Width | |
In TNotifiablePersistent: | ||
BeginUpdate | UpdateCount | OnChange |
EndUpdate |
Sampling and Rasterization, Examples
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024