OpenCV
3.4.16
Open Source Computer Vision

#include "opencv2/core.hpp"
Namespaces  
cv  
Functions  
float  cv::EMDL1 (InputArray signature1, InputArray signature2) 
Computes the "minimal work" distance between two weighted point configurations base on the papers "EMDL1: An efficient and Robust Algorithm for comparing histogrambased descriptors", by Haibin Ling and Kazunori Okuda; and "The Earth Mover's Distance is the Mallows Distance: Some Insights from
Statistics", by Elizaveta Levina and Peter Bickel. More...  