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
2 | No.2 Revision |
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
3 | No.3 Revision |
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