mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
fixed compile error on VS2008
This commit is contained in:
parent
5e84ab0222
commit
f6c8e237f0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user