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