Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
This function is a correction and modification to findNeighbours function by Patrick Granton.
It gives the indices of valid neighbors to a pixel/voxel in a 2D/3D matrix.
Given the linear index of the pixel/voxel, the size of the 2D/3D matrix and the type of connectivity considered
(4 or 8 / 6,18 or 26 connectivity), the function gives the linear indices of the neighboring pixels/voxels within the matrix size.
Zitieren als
Ahmed Zankoor (2026). findNeighbours (https://de.mathworks.com/matlabcentral/fileexchange/68549-findneighbours), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: bwgraph: Graph of connected pixels in images and volumes
Allgemeine Informationen
- Version 2.0.2 (2,3 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 2.0.2 | Added getting neighbors to pixels (elements) in a 2D image (matrix). |
||
| 2.0.1 | Thanks to Patrick Granton |
||
| 2.0.0 |