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