Searched refs:costMatrix (Results 1 – 4 of 4) sorted by relevance
/external/opencv3/modules/shape/src/ |
D | sc_dis.cpp | 494 … cv::Mat &costMatrix, cv::Ptr<cv::HistogramCostExtractor> &comparer) const in buildCostMatrix() argument 496 comparer->buildCostMatrix(descriptors1, descriptors2, costMatrix); in buildCostMatrix() 499 void SCDMatcher::hungarian(cv::Mat &costMatrix, std::vector<cv::DMatch> &outMatches, std::vector<in… in hungarian() argument 502 std::vector<int> free(costMatrix.rows, 0), collist(costMatrix.rows, 0); in hungarian() 503 std::vector<int> matches(costMatrix.rows, 0), colsol(costMatrix.rows), rowsol(costMatrix.rows); in hungarian() 504 std::vector<float> d(costMatrix.rows), pred(costMatrix.rows), v(costMatrix.rows); in hungarian() 513 for (j = costMatrix.rows-1; j >= 0; j--) in hungarian() 516 min = costMatrix.at<float>(0,j); in hungarian() 518 for (i = 1; i < costMatrix.rows; i++) in hungarian() 519 if (costMatrix.at<float>(i,j) < min) in hungarian() [all …]
|
D | hist_cost.cpp | 66 …ual void buildCostMatrix(InputArray descriptors1, InputArray descriptors2, OutputArray costMatrix); 132 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix() local 157 costMatrix.at<float>(i,j)=(float)norm(columnDiff, flag); in buildCostMatrix() 161 costMatrix.at<float>(i,j)=defaultCost; in buildCostMatrix() 191 …ual void buildCostMatrix(InputArray descriptors1, InputArray descriptors2, OutputArray costMatrix); 257 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix() local 294 costMatrix.at<float>(i,j) = cv::EMD(sig1, sig2, flag); in buildCostMatrix() 298 costMatrix.at<float>(i,j) = defaultCost; in buildCostMatrix() 327 …ual void buildCostMatrix(InputArray descriptors1, InputArray descriptors2, OutputArray costMatrix); 378 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix() local [all …]
|
D | scd_def.hpp | 125 … cv::Mat& costMatrix, cv::Ptr<cv::HistogramCostExtractor>& comparer) const; 126 …void hungarian(cv::Mat& costMatrix, std::vector<cv::DMatch>& outMatches, std::vector<int> &inliers…
|
/external/opencv3/modules/shape/include/opencv2/shape/ |
D | hist_cost.hpp | 60 …void buildCostMatrix(InputArray descriptors1, InputArray descriptors2, OutputArray costMatrix) = 0;
|