| Parameter | Details | 
|---|---|
| image | Input image | 
| edges | Output image | 
| threshold1 | First threshold for hysteresis procedure | 
| threshold2 | Second threshold for hysteresis procedure | 
| apertureSize | Aperture size for Sobel operator | 
| L2gradient | Flag indicating whether a more accurate algorithm for image gradient should be used |