Merge pull request #3880 from vpisarev:fix_emd

This commit is contained in:
Vadim Pisarevsky 2015-03-26 16:40:17 +00:00
commit 1381564a84

View File

@ -1152,6 +1152,7 @@ float cv::EMD( InputArray _signature1, InputArray _signature2,
{
_flow.create(signature1.rows, signature2.rows, CV_32F);
flow = _flow.getMat();
flow = Scalar::all(0);
_cflow = flow;
}