File Exchange

image thumbnail

Immediate_Neighbors​(x)

version 1.0.3.0 (932 Bytes) by Matthew Schneck
Function that calculates the sum of the 8 neighboring pixels for every pixel in an image

1 Download

Updated 02 Jun 2015

View License

This function was written to calculate the sum of the eight pixels surrounding every individual pixel in an image. This function is useful when simulating contact dependent interactions in cell modeling scenarios.

Cite As

Matthew Schneck (2020). Immediate_Neighbors(x) (https://www.mathworks.com/matlabcentral/fileexchange/51022-immediate_neighbors-x), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.0.3.0

Fixed bug where matrices of different X and Y dimensions were not calculated properly

1.0.2.0

Reformatted Output

1.0.1.0

Reformatted Output

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags