### Navigation

- index
- next |
- previous |
- OpenCV 3.0.0-dev documentation »
- OpenCV API Reference »
- shape. Shape Distance and Matching »

# EMD-L1

Computes the “minimal work” distance between two weighted point configurations base on the papers “EMD-L1: An efficient and Robust Algorithm for comparing histogram-based 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.

C++:`` float `EMDL1`(InputArray signature1, InputArray signature2)

  Parameters: | signature1 – First signature, a single column floating-point matrix. Each row is the value of the histogram in each bin. signature2 – Second signature of the same format and size as `signature1`.

## Help and Feedback

You did not find what you were looking for?

- Ask a question on the Q&A forum.
- If you think something is missing or wrong in the documentation, please file a bug report.

### Navigation

- index
- next |
- previous |
- OpenCV 3.0.0-dev documentation »
- OpenCV API Reference »
- shape. Shape Distance and Matching »