How to draw multiple lines to a binary image?

Hi all,
I want to be able to draw multiple lines in a binary image "I". For example I will draw the first line using the right-click on "I" like (imline) function, then I will go to another location and draw another line and so on .
Once I finished, I double click on the last line I draw and all the lines will be added to the image, maybe using (createMask).
Any idea how to do that?
Other ways and suggestions are appreciated.
Thank you.
Meshoo

 채택된 답변

Image Analyst
Image Analyst 2014년 10월 21일

0 개 추천

See attached demo (below the image that it creates).

댓글 수: 1

Meshooo
Meshooo 2014년 10월 22일
That's very close to what I want. Thank you very much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2014년 10월 21일

댓글:

2014년 10월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by