Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gaps in canny-detected edges

Hi,

I'm having trouble detecting edges with the Canny function. Despite running on a binary image (shouldn't that be easy?) there are gaps in the final contour. Maybe I'm using the wrong parameters, but I'm a little unclear on what each one does.

I am running cv::Canny(imgOut, imgOut, 0, 0, 3, true) on:image description and getting: image description

Here is a zoom. Currently, the red pixel is actually black, but it needs to come out white. Can this be reasonably achieved? image description

Make thanks!