how to plot in red colour on image
显示 更早的评论
hi.. i have coordinate (x y)on image. i want to plot to red color on that image. how to do this. thanks
采纳的回答
更多回答(1 个)
Geoff
2012-4-19
You mean you want to change the pixel at x,y to red?
img(y,x,:) = [255 0 0]
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!