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.

Respuestas (1)

KSSV
KSSV el 4 de Abr. de 2019

0 votos

1 comentario

GMD Baloch
GMD Baloch el 6 de Abr. de 2019
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

Iniciar sesión para comentar.

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Productos

Versión

R2017a

Preguntada:

el 4 de Abr. de 2019

Comentada:

el 6 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by