EdgeDetector Enum

Selects the operator of ImageProcessingExtensions.DetectEdges.

public enum EdgeDetector

Fields

NameValueDescription
Sobel0The magnitude sqrt(gx^2 + gy^2) of the gradients of ConvolutionKernel.SobelX and ConvolutionKernel.SobelY.
Scharr1The magnitude sqrt(gx^2 + gy^2) of the gradients of ConvolutionKernel.ScharrX and ConvolutionKernel.ScharrY.
Prewitt2The magnitude sqrt(gx^2 + gy^2) of the gradients of ConvolutionKernel.PrewittX and ConvolutionKernel.PrewittY.
Kirsch3The largest response of the eight Kirsch compass matrices: [5, 5, 5; -3, 0, -3; -3, -3, -3] (north) and its seven rotations by 45 degrees, made by moving the eight outer weights around the middle one.
Robinson4The largest response of the eight Robinson compass matrices: ConvolutionKernel.SobelX and its seven rotations by 45 degrees, made by moving the eight outer weights around the middle one. Each matrix is the negation of the opposite one, so the largest response is the largest absolute response of four of them.
Laplacian3x35The absolute value of the response of ConvolutionKernel.Laplacian3x3.
Laplacian5x56The absolute value of the response of ConvolutionKernel.Laplacian5x5.
LaplacianOfGaussian7The absolute value of the response of ConvolutionKernel.LaplacianOfGaussian.