lane tracking - how to group hough lines
Hi,
I use hough transform for straight lane detection but I got lots of false positives even in clear lane markings. My approach is like this:
- Select ROI for near field
- Eliminate noise (various options like gaussian, median filter...)
- Detect edges and binarize image
- Detect Hough lines
- Eliminate lines considering the angle of the lines (different angles for left and right side of image)
- Group Hough lines and draw bounding box around them
- Track bounding boxes with Kalman filter
I am stuck with 5th and 6th step. Some of the lines, which are very close to each other, are drawn on the lane markings. How can I distinguish these lines and the others that are not on the lane markings? I also wonder if hough transform is a really good idea for straight lines. Maybe I need to use RANSAC for fitting. Any suggestions?
This is very simple image from Caltech Lanes Dataset. However, I don't work on single images but image sequences under changing lighting conditions.
Regards
Can you post the image you are working?.
I am currently working on the same project actually i want to know how you did step 6 which is grouping hough lines and drawing window to apply RANSAC line fitting on it ?