Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Real time distance manipulation
1 回表示 (過去 30 日間)
古いコメントを表示
My current requirement involves determining the distance of two lanes of a road on a real time basis. Extending the algorithm for "lane departure warning system", I think i can use the part of the code to specify the lanes on real time.
In general, the output can be as shown:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166297/image.png)
Now, to determine the current distance between the two yellow and magenta lanes, I need to consider the very first point of the yellow line and the parallel point (same y coordinate) of the magenta line. This will give me the current distance between the two lanes.
Other than this, I could use "bird eye's" image and process it in the manner such that I get two parallel lanes as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166299/image.png)
In this case, I need to determine the parallel distance between the two straight lanes.
Then I can perform my further operations. Now, my doubt is, how can i determine the starting point of the yellow line and the parallel magenta line coordinate? Thanks in advance. Regards
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!