Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Detect45DegreeLines.cs
2{
6 public static partial class ConvolutionOperations
7 {
14 {
15 return M.Convolute(detect45DegreeLinesKernel);
16 }
17
24 {
25 return M.Convolute(detect45DegreeLinesKernel);
26 }
27
33 public static IMatrix Detect45DegreeLines(this IMatrix M)
34 {
35 return M.Convolute(detect45DegreeLinesKernel);
36 }
37
38 private static readonly Matrix<int> detect45DegreeLinesKernel = new Matrix<int>(3, 3, new int[]
39 {
40 -1, -1, 2,
41 -1, 2, -1,
42 2, -1, -1
43 });
44 }
45}
Implements a Matrix, basic component for computations in Image Processing and Computer Vision.
Definition: Matrix.cs:12
static IMatrix Detect45DegreeLines(this IMatrix M)
Detects 45 degree lines in an image.
static Matrix< float > Detect45DegreeLines(this Matrix< float > M)
Detects 45 degree lines in an image.
static Matrix< int > Detect45DegreeLines(this Matrix< int > M)
Detects 45 degree lines in an image.
Interface for matrices.
Definition: IMatrix.cs:9