OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:disMatrix
(Results
1 - 2
of
2
) sorted by null
/external/opencv3/modules/shape/src/
scd_def.hpp
96
cv::Mat&
disMatrix
, const std::vector<int> &queryInliers,
sc_dis.cpp
327
cv::Mat
disMatrix
= cv::Mat::zeros(contourMat.cols, contourMat.cols, CV_32F);
333
buildNormalizedDistanceMatrix(contourMat,
disMatrix
, queryInliers, _meanDistance);
352
if (
disMatrix
.at<float>(ptidx, cmp)<logspaces[i])
402
void SCD::buildNormalizedDistanceMatrix(cv::Mat &contour, cv::Mat &
disMatrix
, const std::vector<int> &queryInliers, const float _meanDistance)
405
cv::Mat mask(
disMatrix
.rows,
disMatrix
.cols, CV_8U);
411
disMatrix
.at<float>(i,j) = (float)norm( cv::Mat(contourMat.at<cv::Point2f>(0,i)-contourMat.at<cv::Point2f>(0,j)), cv::NORM_L2 );
428
meanDistance=(float)mean(
disMatrix
, mask)[0];
434
disMatrix
/=meanDistance+FLT_EPSILON;
Completed in 277 milliseconds