How I draw 2 lines in image

Réponses (1)

Image Analyst
Image Analyst le 25 Août 2017

0 votes

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 commentaires

Sajid Rahim
Sajid Rahim le 28 Août 2017
thank you Sir for reply.... but i am new in matlab... can you send me the total code plz......
Image Analyst
Image Analyst le 28 Août 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Question posée :

le 25 Août 2017

Commenté :

le 28 Août 2017

Community Treasure Hunt

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

Start Hunting!

Translated by