Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems to be drawing on the border between white and black, so edge detection.

Do Sobel and remove any that aren't strong enough to be white to black transitions. Then do something like contour detection and remove any that aren't long straight lines.

There are a couple of other ways of doing it, but that's probably the simplest.