1 | initial version |
Looks difficult, since you don't have real clear edges. But anyways you could at least try the algorithms which are part of OpenCV, e.g. HoughLines (and the probabilistic version HoughLinesP), see: http://docs.opencv.org/modules/imgproc/doc/feature_detection.html?highlight=hough#houghlines and in the current trunk another Method named "LSD" exists: http://docs.opencv.org/trunk/modules/imgproc/doc/feature_detection.html?highlight=lsd#linesegmentdetector .
Good Luck!