Draw an outline within an image
Mostrar comentarios más antiguos
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.
Respuestas (2)
Walter Roberson
el 27 de Mzo. de 2011
0 votos
rectangle() can be used for that. Or line(), or patch() .
David Young
el 27 de Mzo. de 2011
0 votos
Categorías
Más información sobre Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!