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.

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개)

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

As of R2013a vision.MarkerInserter has been deprecated. Please use the insertMarker function instead.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

질문:

2016년 1월 19일

댓글:

2016년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by