Does EMD-L1 functions only support 1-dimensional CV::Mat? If so, current version doesn't calculate EMD-L1 between two images because a image is 2-dimensional matrix.
In modules/shape/emdL1.cpp, the second argument of initBase is fixed to 1 although I think it should be sig1.cols (the number of the second dimension).