Searched refs:disMatrix (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/shape/src/ |
D | sc_dis.cpp | 327 cv::Mat disMatrix = cv::Mat::zeros(contourMat.cols, contourMat.cols, CV_32F); in extractSCD() local 333 buildNormalizedDistanceMatrix(contourMat, disMatrix, queryInliers, _meanDistance); in extractSCD() 352 if (disMatrix.at<float>(ptidx, cmp)<logspaces[i]) in extractSCD() 402 void SCD::buildNormalizedDistanceMatrix(cv::Mat &contour, cv::Mat &disMatrix, const std::vector<int… in buildNormalizedDistanceMatrix() argument 405 cv::Mat mask(disMatrix.rows, disMatrix.cols, CV_8U); in buildNormalizedDistanceMatrix() 411 …disMatrix.at<float>(i,j) = (float)norm( cv::Mat(contourMat.at<cv::Point2f>(0,i)-contourMat.at<cv::… in buildNormalizedDistanceMatrix() 428 meanDistance=(float)mean(disMatrix, mask)[0]; in buildNormalizedDistanceMatrix() 434 disMatrix/=meanDistance+FLT_EPSILON; in buildNormalizedDistanceMatrix()
|
D | scd_def.hpp | 96 cv::Mat& disMatrix, const std::vector<int> &queryInliers,
|