ConvolveMatrixEffectKernelOffset Property |
Shifts the filter kernel from its default position centered on the output pixel. Default value (0,0).
Namespace:
Microsoft.Graphics.Canvas.Effects
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public Vector2 KernelOffset { get; set; }
Property Value
Type:
Vector2Remarks
With some offsets and kernel sizes, convolution samples won't land directly on a pixel center.
In that case, sample values are computed by bilinear interpolation.
See Also