I want to detect only the vertical contours on an image like this:
The standard method with canny detector gives back a poor result. (i prefer openCV API, but any idea would be helpful)
I want to detect only the vertical contours on an image like this:
The standard method with canny detector gives back a poor result. (i prefer openCV API, but any idea would be helpful)
You can use hough line detection to detect vertical lines
You should apply a horizontal filtering (e.g. Sobel – cvSobel() ), which will detect only the vertical edges.