Find all the coordinates of the line

1 view (last 30 days)
Peony Lai
Peony Lai on 18 Aug 2011
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

Answers (2)

Walter Roberson
Walter Roberson on 18 Aug 2011
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?

Peony Lai
Peony Lai on 18 Aug 2011
It does not need to consider other conditions since in the video, it only have the road and a yellow line (would not change to other color), and I just need to find out all the coordinate of the yellow line
Thanks
  1 Comment
Walter Roberson
Walter Roberson on 18 Aug 2011
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!