You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing convexHull alternative algorithms, and I had different results unsing convexHull with Point and Point2f with the same data.
I looks like there is a potential overflow in template<typename _Tp> static int Sklansky_( Point_<_Tp>** array, int start, int end, int* stack, int nsign, int sign2 )
convhull.cpp:82 _Tp convexity = ay*bx - ax*by; // if >0 then convex angle
Activity
fixed integer overflow (issue opencv#14521)
vpisarev commentedon Feb 16, 2020
@andreatta-deltamax, thank you! fixed
Merge pull request opencv#16594 from vpisarev:hull_ordering_fix
bug fix to Inconsistent comment for EXIF issue id opencv#15706 strea…
Merge pull request opencv#16594 from vpisarev:hull_ordering_fix