Ask Your Question

mowgli's profile - activity

2017-06-28 03:41:30 -0600 asked a question select / extract a specific line / edge opencv/c++

Hello, I am trying to select a specific edge in an image using opencv and c++ interface, the edge is a horizontal slightly curved line and approximately in the same position but varies in length. what i have done so far is a bit of segmentation, on the image grayscale -> blur -> canny , so the line is pretty distinct for my eye. What is the best approach to select the wanted edge assuming the right segmentation is done? and is there a function in opencv that can do this for me? or am I missing any hidden complexity in this problem? I really wish you could help me with my final year project, as I think it would be helpful for other people to see when i publish it online. there is the original image+red line C:\fakepath\original+redline.pngand here the full size image https://ibb.co/fJcA3Q Thank you.