Canny
Multi-stage detector combining Gaussian smoothing, image gradients, non-maximum suppression, double thresholds, and hysteresis.
Detect sharp spatial transitions such as object boundaries, roads, field edges, structural lines, or coastal boundaries from a selected raster band.
Remote Sensing CoreEnd-User DocumentationTheory + Formula + ParametersDetect sharp spatial transitions such as object boundaries, roads, field edges, structural lines, or coastal boundaries from a selected raster band.
Multi-stage detector combining Gaussian smoothing, image gradients, non-maximum suppression, double thresholds, and hysteresis.
Uses 3×3 derivative kernels to estimate horizontal and vertical gradients.
Gradient operator with improved rotational symmetry compared with a standard 3×3 Sobel kernel.
Simple first-derivative gradient operator using uniform 3×3 directional weights.
Compact 2×2 diagonal gradient operator.
Second spatial derivative; highlights rapid intensity changes in all directions.
Smooths noise with a Gaussian then applies the Laplacian.
Difference between dilation and erosion; emphasizes object boundaries.
| Input | Type | Requirement | Description |
|---|---|---|---|
| Input Raster | raster | Required | Raster used for edge detection. |
| Parameter | Default | Choices / Range | How to Use It |
|---|---|---|---|
| Input Band | — | — | Raster band used for edge detection. The frontend loads valid bands from the Raster Info application. |
| Edge Algorithm | canny | Canny, Sobel, Scharr, Prewitt, Roberts, Laplacian, Laplacian of Gaussian (LoG), Morphological Gradient | |
| Gaussian Sigma | 1.0 | 0.0 to 20.0 | Optional noise smoothing before edge detection. Canny and LoG use this value directly. |
| Canny Low Threshold | 0.1 | 0.0 to 1.0 | Shown for: canny |
| Canny High Threshold | 0.3 | 0.0 to 1.0 | Shown for: canny |
| Morphological Kernel Size | 3 | 3 to 31 | Shown for: morphological_gradient |
| Normalize Edge Strength | On | — | Normalize continuous edge-strength outputs to 0–1. Canny is always written as a binary 0/1 raster. |
The result should be interpreted according to the selected method and the physical meaning of the input data. Preserve source units, coordinate reference information, NoData meaning, acquisition date, and preprocessing level when comparing results.