mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Instrumentation for OpenCV API regions and IPP functions;
This commit is contained in:
@@ -186,6 +186,8 @@ protected:
|
||||
|
||||
float ShapeContextDistanceExtractorImpl::computeDistance(InputArray contour1, InputArray contour2)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
// Checking //
|
||||
Mat sset1=contour1.getMat(), sset2=contour2.getMat(), set1, set2;
|
||||
if (set1.type() != CV_32F)
|
||||
@@ -492,6 +494,8 @@ void SCDMatcher::matchDescriptors(cv::Mat &descriptors1, cv::Mat &descriptors2,
|
||||
void SCDMatcher::buildCostMatrix(const cv::Mat &descriptors1, const cv::Mat &descriptors2,
|
||||
cv::Mat &costMatrix, cv::Ptr<cv::HistogramCostExtractor> &comparer) const
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
comparer->buildCostMatrix(descriptors1, descriptors2, costMatrix);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user