imellipse, impoly, etc. to create mask, keeping the border.
5 次查看(过去 30 天)
显示 更早的评论
Hello, I am using imellipse, imfreehand, impoly and imrect to create a mask after selecting an area of an image. This works well and I have no problem with this. What I would like to do now is that when drawing the shape, e.g. an ellipse, not only will I use it to create the mask and further actions, but the border of the ellipse drawn will still show, the outline of the selection.
0 个评论
采纳的回答
Image Analyst
2015-7-7
After you call the function, you have to get the x,y coordinates, and then call hold on and plot()
hold on;
plot(x,y, 'b-');
See attached demo.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!