www.gusucode.com > images 案例代码 matlab源码程序 > images/CreateLineshapedStructuringElementExample.m

    %% Create Line-Shaped Structuring Element
% 
%%
% Create a line-shaped structuring element with a length of 10 at an angle
% of 45 degrees.
SE = strel('line', 10, 45)
%%
% View the structuring element.
SE.Neighborhood