Find neighbouring voxels
버전 1.1.0.0 (1.58 KB) 작성자:
Patrick Granton
Very simple function to find the 26 (or less) neighbouring indices of an voxel in a 3-D volume.
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 Center 및 MATLAB 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!