I have a set of (x,y) coordinates that I need to mark on a given image in a given color. Can someone help me in doing this. Thanks in advance.

2 vues (au cours des 30 derniers jours)
I have a set of (x,y) coordinates that I need to mark on a given image in a given color. Can someone help me in doing this. Thanks in advance.

Réponses (1)

Pavithra Ashok Kumar
Pavithra Ashok Kumar le 22 Jan 2016
I understand you want to add points to an existing image . You can do it in two ways.
1. Using MarkerInserter object from Computer Vision Toolbox. Refer here for details.
2. Next method is to use "plot". You do not need any additional toolbox to achieve this.
>> image(magic(5))
>> hold on;
>> plot(1,2,'r.','MarkerSize',20);
  1 commentaire
Dima Lisin
Dima Lisin le 22 Jan 2016
As of R2013a vision.MarkerInserter has been deprecated. Please use the insertMarker function instead.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by