1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

imgproc: disable buggy inplace processing in convexHull

This commit is contained in:
Vladislav Sovrasov
2017-08-29 12:06:02 +03:00
parent 518c6ae8c6
commit 91e56abcf1
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -130,6 +130,7 @@ void convexHull( InputArray _points, OutputArray _hull, bool clockwise, bool ret
{
CV_INSTRUMENT_REGION()
CV_Assert(_points.getObj() != _hull.getObj());
Mat points = _points.getMat();
int i, total = points.checkVector(2), depth = points.depth(), nout = 0;
int miny_ind = 0, maxy_ind = 0;