File Exchange

image thumbnail

Minimum Distance Calculations Between 2 Groups of Pixels

version 1.0 (30.7 KB) by

Calculates the minimum distance between 2 groups of pixels and returns the distance and pixel ...



View License

Takes the list of coordinates between 2 groups of pixels and calculates the shortest distance between the 2 groups and returns their pixel coordinates.

Comments and Ratings (10)


thanks for sharing, really helpful,but your code is not working with my image. plz give suggestion. i have posted question , the link is


Minho (view profile)

Thanks for your sharing.

ab elmi

well done.good job

khalifa aldeweb

i want to calculat distance of groups pixels and take big cluster by using MATLAB.

khalifa aldweb

Very useful function! Thanks a lot!

dhineshkumar pachamuthu

Tiago Meneses

Albert Steiner

Very useful function! Thanks a lot!

Calden Wloka

Great job! It was extremely useful!

MATLAB Release
MATLAB 6.0 (R12)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video