Edge detection¶
Some of the docstrings for this module have been extracted from the scikit-image library and are covered by their respective licenses.
-
class
node_detection_filters.
EdgeDetection
[source]¶ Detects edges in the incoming image
Algorithms: -
Canny edge detection.
- sigma:
Standard deviation of gaussian kernel (default 1.0)
-
Find edges using the Laplace operator.
- kernel size:
Kernel size of the discrete Laplacian operator
-
Find edges using the Prewitt transform as one of, or combination of horizontal and vertical prewitt convolutions
- horizontal/vertical:
Select orientation for transform, if both then mean square of both will be used
-
Find edges using Robert’s cross operator.
- positive/negative diagonal:
Select orientation for transform
-
Find edges using the Scharr transform as one of, or combination of horizontal and vertical prewitt convolutions.
The Scharr operator has a better rotation invariance than other edge filters such as the Sobel or the Prewitt operators
- horizontal/vertical:
Select orientation for transform, if both then mean square of both will be used
-
Find edges using the Sobel transform as one of, or combination of horizontal and vertical prewitt convolutions.
- horizontal/vertical:
Select orientation for transform, if both then mean square of both will be used
Inputs: source : image
source image to filter
Outputs: result : image
result after filtering
-