BlurKernel class
Blur unit conversion. Filter blur is parameterized by Radius in DIPs = the kernel’s reach (the distance at which the Gaussian is treated as zero). The Gaussian standard deviation is sigma = Radius / KernelSigmas.
KernelSigmas (3) is the kernel half-width in sigmas used by the executors’ BuildKernel (kernelRadius = ceil(sigma * 3)). Keep this in sync if the kernel truncation changes.
public static class BlurKernelPublic Members
Section titled “Public Members”| name | description |
|---|---|
| const KernelSigmas | Kernel half-width expressed in standard deviations (matches ceil(sigma * 3)). |
| static RadiusToSigma(…) | Converts a blur radius (DIP) to the Gaussian standard deviation. |
| static SigmaToRadius(…) | Converts a Gaussian standard deviation to the blur radius (DIP). |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering.Filters