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

    %% Create 3-D Sphere-shaped Structuring Element
% 
%%
% Create a 3-D sphere-shaped structuring element with a radius of 15.
SE = strel('sphere', 15)
%%
% Display the structuring element.
figure
isosurface(SE.Neighborhood)