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 次查看(过去 30 天)
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.

回答(1 个)

Pavithra Ashok Kumar
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);

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by