3D structuring element (sphere)

版本 1.1.0.0 (1.8 KB) 作者: Luke Xie
strel3d creates a sphere as a 3D structuring element, which is important for 3D datasets
987.0 次下载
更新时间 2014/9/29

查看许可证

STREL3D creates a 3D sphere as a structuring element. Three-dimensional structuring elements are much better for morphological reconstruction and operations of 3D datasets. Otherwise the traditional MATLAB "strel" function will only operate on a slice-by-slice approach. This function uses the aribtrary neighborhood for "strel."

Usage:
se=STREL3D(sesize)

Arguments:
sesize - desired diameter size of a sphere (any positive integer)

Returns:
the structuring element as a strel class (can be used directly for imopen, imclose, imerode, etc)

Examples:
se=strel3d(1)
se=strel3d(2)
se=strel3d(5)

2014/09/26 - LX
2014/09/27 - simplification by Jan Simon

引用格式

Luke Xie (2024). 3D structuring element (sphere) (https://www.mathworks.com/matlabcentral/fileexchange/47937-3d-structuring-element-sphere), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

includes simplification suggested by Jan Simon

1.0.0.0