How to draw a stretchable polygon on an image?

조회 수: 1 (최근 30일)
GMD Baloch
GMD Baloch 2019년 4월 4일
댓글: GMD Baloch 2019년 4월 6일
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