clean morphological operation
In MATLAB documentation I can the see the clean morphological operation here. The issue is that I'm not able to use it. I know how to use the structured element, but if I for instance type imclean(img,SE)
or clean(img,SE)
, I get an error as an undefined function. How should the function be used?
There are no functions called clean
or imclean
in Matlab.
Matlab has a general morphology function for binary images ( bwmorph
) that takes strings as input for what operation to perform. So what you want to do is
bwmorph(img,'clean')
(This is based on R2013b - but this holds for other recent versions too AFAIK)
链接地址: http://www.djcxy.com/p/67294.html上一篇: 简单的方法为图像添加一个方向条纹
下一篇: 清洁的形态操作