How to display rgb image from a matrix as well as insert rectangular shape in the same image.
Afficher commentaires plus anciens
I have a M x N matrix array which I have to display in rgb image. At the same time I want to insert a rectangular shape in the same image so that final image looks like a small portion is highlighted. Can somebody please tell me the appropriate code for it. In my case M=1065 N=1030 I want a rectangle of dimension 20 x 10 around [835,504]. Please help me out.
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 30 Déc 2015
0 votes
image() or imshow() the matrix. rectangle() the highlight.
1 commentaire
RPG
le 30 Déc 2015
Catégories
En savoir plus sur Deep Learning for Image Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!