Commit f6c8e237 authored by Maria Dimashova's avatar Maria Dimashova

fixed compile error on VS2008

parent 5e84ab02
...@@ -143,7 +143,7 @@ float KeyPoint::overlap( const KeyPoint& kp1, const KeyPoint& kp2 ) ...@@ -143,7 +143,7 @@ float KeyPoint::overlap( const KeyPoint& kp1, const KeyPoint& kp2 )
float triangleAreaB = b_2 * sinAlpha * cosAlpha; float triangleAreaB = b_2 * sinAlpha * cosAlpha;
float intersectionArea = segmentAreaA + segmentAreaB - triangleAreaA - triangleAreaB; float intersectionArea = segmentAreaA + segmentAreaB - triangleAreaA - triangleAreaB;
float unionArea = (a_2 + b_2) * M_PI - intersectionArea; float unionArea = (a_2 + b_2) * CV_PI - intersectionArea;
ovrl = intersectionArea / unionArea; ovrl = intersectionArea / unionArea;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment