The Earth Mover's Distance

An implementation of Earth Mover's Distance
7.2K Downloads
Updated 12 Feb 2009

No License

This implementation is based on "The Earth Mover's Distance as a Metric for Image Retrieval", Y. Rubner, C. Tomasi and L. Guibas, International Journal of Computer Vision, 40(2), pp. 99-121, 2000.

emd ---> computes the earth mover's distance between two signatures
gmd ---> computes the ground distance matrix between two signatures
gdf ---> computes the ground distance between two feature vectors
test --> is an auxiliary module to show how the above functions work

Cite As

Ulas Yilmaz (2026). The Earth Mover's Distance (https://www.mathworks.com/matlabcentral/fileexchange/22962-the-earth-mover-s-distance), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0