matlab

【matlab边沿提取算法】 下面是matlab自带的edge函数的全部算法,只要调用就可以了,你没有要求,所以要代码是没有意义的。BW = edge(I, sobel )BW = edge(I, sobel ,thresh)BW = edge(I, sobel ,thresh,direction)...

matlab边沿提取算法

下面是matlab自带的edge函数的全部算法,只要调用就可以了,你没有要求,所以要代码是没有意义的。

BW = edge(I, sobel )
BW = edge(I, sobel ,thresh)
BW = edge(I, sobel ,thresh,direction)
[BW,thresh] = edge(I, sobel ,...)
BW = edge(I, prewitt )
BW = edge(I, prewitt ,thresh)
BW = edge(I, prewitt ,thresh,direction)
[BW,thresh] = edge(I, prewitt ,...)
BW = edge(I, roberts )
BW = edge(I, roberts ,thresh)
[BW,thresh] = edge(I, roberts ,...)
BW = edge(I, log )
BW = edge(I, log ,thresh)
BW = edge(I, log ,thresh,sigma)
[BW,threshold] = edge(I, log ,...)
BW = edge(I, zerocross ,thresh,h)
[BW,thresh] = edge(I, zerocross ,...)
BW = edge(I, canny )
BW = edge(I, canny ,thresh)
BW = edge(I, canny ,thresh,sigma)
在matlab里倒是提供了许多边缘处理的算法,可找不到源码,如果需要源码,需要根据各种算法自己编写
继续阅读:matlab边沿提取算法