How to draw a stretchable polygon on an image?

1 次查看(过去 30 天)
I have an image say cameraman.tif and I want to display it with a polygon plotted on it and I want the user to redefine the size or shape of that polygon. After pressing the return (enter button) key the image should close while returning the corner points of the polygon. The polygon I am looking for is 4 sided.

回答(1 个)

KSSV
KSSV 2019-4-4
  1 个评论
GMD Baloch
GMD Baloch 2019-4-6
imrect inserts a rectangular shape only and it can only be extended in proportion to other parallel side but I want the shape to be like a trapezoidal or non regular shape

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品


版本

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by