Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

but you specify cv.CV_DIST_USER as flag for distance type, so it expects to be given a distance function as well (that's the complaint).

you probably meant cv.CV_DIST_L1 or cv.CV_DIST_L2 or cv.CV_DIST_C in the other case

but you specify cv.CV_DIST_USER as flag for distance type, so it expects to be given a distance function as well (that's the complaint).

you can use a cost matrix without a distance metric

you probably meant cv.CV_DIST_L1 or cv.CV_DIST_L2 or cv.CV_DIST_C in the other casehere

but you specify cv.CV_DIST_USER as flag for distance type, so it expects to be given a distance function as well (that's the complaint).complaint, it wanted both and only got the cost matrix).

you can use a cost matrix without a distance metric

you probably meant cv.CV_DIST_L1 or cv.CV_DIST_L2 or cv.CV_DIST_C here