File Exchange

image thumbnail


version (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) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


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

Reformatted Output

Reformatted Output

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