Home
|
GR32_Resamplers
|
|
procedure Erode(Src, Dst: TCustomBitmap32; Kernel: TIntegerMap; CenterX, CenterY: Integer);
Erode performs rasterization using the TEroder sampler. The Kernel parameter specifies a weight matrix which is centered at the coordinated (X + CenterX, Y + CenterY) for each pixel coordinate (X, Y).
Output pixels are computed from the formula
![]()
where f corresponds to the source bitmap and b corresponds to the kernel (formally described as a structuring element).
TCustomBitmap32, TEroder, TIntegerMap
Copyright ©2000-2010 Alex Denisov and the Graphics32 Team - Graphics32 v1.9.0 (r1336) - Build on 9-March-2010