Draw an outline within an image
이전 댓글 표시
Hi,
I've got an image up in MATLAB, ~ 50 x 50 grid cells, and would like to draw a (black) outline around a small box of pixels within the image. I don't want to shade them or colour them in, just draw an outline around them.
Thanks.
답변 (2개)
Walter Roberson
2011년 3월 27일
0 개 추천
rectangle() can be used for that. Or line(), or patch() .
David Young
2011년 3월 27일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!