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