File Exchange

image thumbnail


version (3.11 KB) by Paul Fricker
Compute nearest-neighbor distances for the regions in a Boolean image.


Updated 01 Sep 2016

View License

Computes the shortest distance between each region and its nearest neighbor in a Boolean input image. Also returns the pair of closest (x,y)-points for each pair of nearest-neighbor regions.

Cite As

Paul Fricker (2019). getNearestNeighborDistances.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


Updated license

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux