In openCV after applying canny edge detection I'd like to further process the result (show only horizontal lines, remove short lines, etc..). But the result of canny is just another image. I'd like to get an array of lines describing the detected edges
I'm aware of the famous Hough Line Transform, but the result is not always good, that's why I'd like to manually process canny result. input:
output canny only:
output canny then Hough line transform
This is Hough line transform result(red lines) for detecting edges of stairs. 4th line from below is not detected correctly, although canny edge detected an edge.
Any idea how to extract edges from canny image?