how to show points on image in matlab?

后端 未结 3 830
我寻月下人不归
我寻月下人不归 2021-02-20 07:31

i have some pixel points lets say p1(1,1) and p2(1,10).......and so on

i want to display these points on image in any color. how to do this?

3条回答
  •  花落未央
    2021-02-20 07:55

    You can just use plot:

    plot(p1(1), p1(2), 'ko');  % Small circle point in black.
    plot(p1(1), p1(2), 'r.');  % Small dot in red.
    

提交回复
热议问题