CannyOptions
A description of filter parameters to use in the algorithm.
Elements
Name | Type | Description |
---|---|---|
sigma | float | The sigma of the Gaussian smoothing filter that the function applies to the image before edge detection. |
upperThreshold | float | The upper fraction of pixel values in the image from which the function chooses a seed or starting point of an edge segment. This value must be between 0 and 1. |
lowerThreshold | float | The function multiplies this value by upperThreshold to determine the lower threshold for all the pixels in an edge segment. |
windowSize | int | The window size of the Gaussian filter that the function applies to the image. This value must be odd. |