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
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 (2024). Immediate_Neighbors(x) (https://www.mathworks.com/matlabcentral/fileexchange/51022-immediate_neighbors-x), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Neighborhood and Block Processing >
Find more on Neighborhood and Block Processing in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.