-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Indices from convexHull not monotonic #4539
Copy link
Copy link
Closed
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/affected: 3.4auto-transferredbugcategory: imgprocconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation completepriority: normal
Milestone
Description
Transferred from http://code.opencv.org/issues/2922
|| Kirt Lillywhite on 2013-03-26 20:47
|| Priority: Normal
|| Affected: 2.4.4
|| Category: imgproc, video
|| Tracker: Bug
|| Difficulty: None
|| PR:
|| Platform: None / None
Indices from convexHull not monotonic
From a segmented image I find the contour and then try to find the convexity defects from that contour. The largest convexity defect is wrong. Looking through the opencv code I think the reason is the indices from convexHull are in decreasing order except in one spot. This causes the convexityDefects function to mess up. The attached code shows the problem. I'm using 2.4.4 compiled from source on Archlinux x86-64. During compilation I turned off CUDA and enable QT, everything else is set to the default options.
History
Kirt Lillywhite on 2013-03-26 20:56
- File mask.png added
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/affected: 3.4auto-transferredbugcategory: imgprocconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation completepriority: normal