Find neighbouring voxels

版本 1.1.0.0 (1.6 KB) 作者: Patrick Granton
Very simple function to find the 26 (or less) neighbouring indices of an voxel in a 3-D volume.
357.0 次下载
更新时间 2013/10/11

查看许可证

Very simple function to find the 26 (or less if near the borders) neighbouring indices of an voxel in a 3-D volume given it's index position, which can be useful for image processing. I thought this was a built in function in Matlab but it does not appear to be, so maybe this saves you some time.

Use the sub2ind function to get the index position of the i,j,k voxel

引用格式

Patrick Granton (2024). Find neighbouring voxels (https://www.mathworks.com/matlabcentral/fileexchange/43861-find-neighbouring-voxels), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 3-D Volumetric Image Processing 的更多信息

Community Treasure Hunt

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

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

just edited my comments

1.0.0.0