tracking an image in matlab

后端 未结 2 929
臣服心动
臣服心动 2021-01-24 19:18

How do you for example put a blue circle centered over an image you are tracking? Not a filled in circle, but more like a donut.

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-24 19:58

    For example like this:

    %# load image and display it
    img = imread('autumn.tif');
    figure,imshow(img);
    
    %# make it such that plotting something doesn't erase 
    %# the previous plot (i.e. the image)
    hold on
    
    %# plot a circle. MarkerSize controls the size of the circle
    plot(200,100,'ob','MarkerSize',14)
    

提交回复
热议问题