Change the Line width in imfreehand?
10 views (last 30 days)
I am interested to increase the line width in imfreehand and also it should not be poly. To avoid poly I do this.
test = imfreehand('Closed',0);
which works fine. Now How can I increase the line width. I am using MATLAB 2015.
More Answers (2)
Tim Jackman on 27 Sep 2018
The new freehand ROI drawfreehand has a LineWidth property:
As an example:
h = drawfreehand('LineWidth',10);
Image Analyst on 26 Apr 2017
I don't see anyway to control the linewidth "live" as you draw the shape. The only way to show a different thickness line is to plot it, after you're all done drawing, with the plot() function and specify the 'LineWidth' property as KSSV showed you.