Find all the coordinates of the line
1 次查看(过去 30 天)
显示 更早的评论
Hello, I am a student and starting use matlab.
I have a video, in the video, it have a line which is detect the road(just like driving the car in the road and detect it). I have make the video to the frame. When I play the video, the line would be move in the video, I want to find all the coordinates of the line, and I have the start point(X1,Y1) and the end point(X2,Y2). The start point and the end point would be change while the line is moving. Is that any ways to find out all the coordinate of the line??
Thanks
0 个评论
回答(2 个)
Walter Roberson
2011-8-18
What distinguishes the line from other things in the image? For example, could the images ever contain other cars that might happen to be the same color as the lines on the road?
Are the lines always the same hue, or does the hue vary according to how old and warn the line is? Are the lines sometimes yellow and sometimes white? Are the lines continuous, or could they be dashed such as to indicate areas that passing is allowed? How do you want to treat locations where the main traffic is to go in one direction, but there are secondary lines on the road to indicate the flow for turning traffic?
How consistent is the line brightness with external light conditions? How consistent is the hue with external light conditions? For example does it show up as a different color in sunlight than in car headlights?
0 个评论
Peony Lai
2011-8-18
1 个评论
Walter Roberson
2011-8-18
And the lighting is always the same? No shadows for example? No change in the direction of the light as one goes up and down hills? No day / night considerations?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!