Only keep the White shoulder marking and erase everything else

I used edge detection to find the shoulder marking . A threshold of 0.6 but the surrounding trees are also included. How to Threshold in such a way that objects between 0.6 and 0.7 are only retained in the output image.

 Accepted Answer

Your algorithm is way too simplistic. It won't be robust at all. The algorithms you need will be listed in papers here: http://www.visionbib.com/bibliography/contentsactive.html#Active%20Vision,%20Camera%20Calibration,%20Mobile%20Robots,%20Navigation,%20Road%20Following

2 Comments

It's lane detection,but I want to get those lanes as lines and then Find the end co-ordinates of those lines.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!