【发布时间】:2013-08-15 14:47:49
【问题描述】:
我有几张图像需要找到边缘。我试过在 matlab 中关注 vision.EdgeDetector System 对象,他们在这里给出的例子:http://www.mathworks.com/help/vision/ref/vision.edgedetectorclass.html
他们举了例子
hedge = vision.EdgeDetector;
hcsc = vision.ColorSpaceConverter('Conversion','RBG to intensity')
hidtypeconv = vision.ImageDataTypeConverter('OutputDataType',single');
img = step(hcsc, imread('picture.png'))
img1 = step(hidtypeconv, ing);
edge = step(hedge,img1);
imshow(edges);
我在我的代码中完全遵循了这一点。
然而,这段代码并没有产生我想要的所有边缘,似乎 Matlab 只能拾取整个图像中大约一半的边缘。有没有一种不同的方法可以找到所有的边缘,或者有一种方法可以改进 Matlab 中的 vision.EdgeDetector 对象?
【问题讨论】:
标签: computer-vision matlab-cvst edge-detection