diff options
Diffstat (limited to 'UVtools.Core/Objects/KernelConfiguration.cs')
-rw-r--r-- | UVtools.Core/Objects/KernelConfiguration.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/Objects/KernelConfiguration.cs b/UVtools.Core/Objects/KernelConfiguration.cs index 779450d..dac6fce 100644 --- a/UVtools.Core/Objects/KernelConfiguration.cs +++ b/UVtools.Core/Objects/KernelConfiguration.cs @@ -217,8 +217,8 @@ public sealed class KernelConfiguration : BindableBase, IDisposable KernelMat = CvInvoke.GetStructuringElement(shape, size, anchor); } - public void SetKernel(ElementShape shape, Size size) => SetKernel(shape, size, new Point(-1, -1)); - public void SetKernel(ElementShape shape) => SetKernel(shape, new Size(3, 3), new Point(-1, -1)); + public void SetKernel(ElementShape shape, Size size) => SetKernel(shape, size, EmguExtensions.AnchorCenter); + public void SetKernel(ElementShape shape) => SetKernel(shape, new Size(3, 3), EmguExtensions.AnchorCenter); public Mat? GetKernel() { |