blob: b73a0a5a214b8c0eeb4ab613daae3d2a145bd6e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System;
using System.Drawing;
using Emgu.CV;
namespace UVtools.Core.Objects
{
[Serializable]
public sealed class Kernel
{
public Matrix<byte> Matrix { get; set; }
public Point Anchor { get; set; }
public Kernel()
{
}
public Kernel(Matrix<byte> matrix, Point anchor)
{
Matrix = matrix;
Anchor = anchor;
}
}
}
|