fixed compile error on VS2008

This commit is contained in:
Maria Dimashova 2010-07-30 14:36:04 +00:00
parent 5e84ab0222
commit f6c8e237f0

View File

@ -143,7 +143,7 @@ float KeyPoint::overlap( const KeyPoint& kp1, const KeyPoint& kp2 )
float triangleAreaB = b_2 * sinAlpha * cosAlpha;
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;
}