How to draw a stretchable polygon on an image?

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일

0 개 추천

댓글 수: 1

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

제품

릴리스

R2017a

질문:

2019년 4월 4일

댓글:

2019년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by