Find all the coordinates of the line

조회 수: 4 (최근 30일)
Peony Lai
Peony Lai 2011년 8월 18일
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

답변 (2개)

Walter Roberson
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?

Peony Lai
Peony Lai 2011년 8월 18일
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
Walter Roberson
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!

Translated by