Canny edge detection tends to leave small unconnected section between edges (usually just 1 pixel wide) is the any developed method in openCV to join those broken pieces? open and close method doesnt work very good if the kernel is too small it wont join all the section if too large it leave small truncks instead to skiny lines. Any ideas?