findNeighbours
findNeighbours

findNeighbours

Finds the valid 4 or 8/ 6,18 or 26 neighbors indices of a specific index (i.e. pixel/voxel) in a 2D/3D matrix.

Download
Download

You are now following this Submission

Cite As

Ahmed Zankoor (2026). findNeighbours (https://www.mathworks.com/matlabcentral/fileexchange/68549-findneighbours), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.2

Added getting neighbors to pixels (elements) in a 2D image (matrix).

Download
2.0.1

Thanks to Patrick Granton

Download
2.0.0

Download