mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Instrumentation for OpenCV API regions and IPP functions;
This commit is contained in:
@@ -129,6 +129,8 @@ static float _apply(const Mat &set1, const Mat &set2, int distType, double propR
|
||||
|
||||
float HausdorffDistanceExtractorImpl::computeDistance(InputArray contour1, InputArray contour2)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
Mat set1=contour1.getMat(), set2=contour2.getMat();
|
||||
if (set1.type() != CV_32F)
|
||||
set1.convertTo(set1, CV_32F);
|
||||
|
||||
Reference in New Issue
Block a user