Line detectionin opencv C++
Hi my friends
I am a new comer in opencv.I want to detect the lines in image...but I want to select which kind of line (vertical or Horizental)... It means when I want to detect Horizental lines , only horizental lines are shown to me.and does for Vertical lines.
Description: I am working in opencv C++ and I have used HoughLineP function.but this function shows me all the lines which are detected but I want to choose lines between horizental and vertical lines...How can I seperate these lines?
then How can I understand the angle of one of the specific lines with x axis?
thanks in advance from your helps