Edge Detection
使用SOBEL,PREWITT,ROBERTS或CANNY方法在图像中查找对象的边缘
- 图书馆:
计算机视觉工具箱/ Analysis & Enhancement
Description
边缘检测块在输入图像中找到对象的边缘。该块支持四种方法:S万博1manbetxobel,PreWitt,Roberts和Canny。前三种方法通过近似图像的梯度幅度找到边缘。该块分别将输入矩阵与Sobel,PreWitt或Roberts内核进行卷积,并输出图像的产生梯度组件。此外,该块通过阈值梯度幅度输出边缘检测的二进制图像。
The Canny method computes the gradient of input image using the derivative of the Gaussian filter. It then finds edges by looking for the local maxima of the gradient. This method uses two thresholds to detect the strong and weak edges. The weak edges are part of the output only if they are connected to strong edges. The block outputs a binary image of the edge detections for this method.
Ports
一世nput
输出
参数
Block Characteristics
数据类型 |
|
多维信号 |
|
可变大小信号 |
|
References
[1] Gonzales, Rafael C. and Richard E. Woods.数字图像处理。第二版。新泽西州Englewood Cliffs:Prentice Hall,2002年。
[2] Pratt,William K.数字图像处理,第二版。NY: John Wiley & Sons, 1991.