MATLAB: How to draw a polygon starting with R2018b

axdragdrawdrawpolygonfiguregcaguiimageImage Processing Toolboximdrawimpolymousepolygonvertex

How to draw a polygon starting with R2018b?
Before one often used the function 'impoly' for that.

Best Answer

Introduced in R2018b there is the new function called 'drawpolygon' which can create a customizable polygonal ROI.
Please use this one instead of 'impoly'.
You can find more information in the documentation below:
Related Question