Extending a line till start and impose over an image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have points
x1, y1 , x2, y2 for both left and right side lanes. However I want to extend these points so that it shows like the second image.
I can find slope and b however I am not sure how can i impose my lane like second image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192384/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192386/image.png)
0 comentarios
Respuestas (1)
Abdul Rehman
el 23 de Oct. de 2018
Editada: Abdul Rehman
el 23 de Oct. de 2018
Bro ask question clearly..!
According my understanding simply convert image into gray(0 to 255) image and then at that white line pixels having high values (255),then you have to apply box filter and then apply thresholding,then you get what you want.
if true %RGB image is input image I = rgb2gray(RGB) %filter for Smoothness & Removing finner detail. %Thresholding end
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!