How I draw 2 lines in image

Respuestas (1)

Image Analyst
Image Analyst el 25 de Ag. de 2017

0 votos

You can use "hold on" then line() or plot() to draw lines into the overlay.
Or you can burn lines into each color channel with the imline() like in the attached demo.

3 comentarios

Sajid Rahim
Sajid Rahim el 28 de Ag. de 2017
thank you Sir for reply.... but i am new in matlab... can you send me the total code plz......
Image Analyst
Image Analyst el 28 de Ag. de 2017
Just change it to read in your image first. Then click and draw lines. It's definitely something you can handle. Simply use imread() before my code to read in that image you posted.

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Ag. de 2017

Comentada:

el 28 de Ag. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by