Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
allow user to draw rectangle on image

Subject: allow user to draw rectangle on image

From: Aron Sceidt

Date: 6 Oct, 2011 13:25:13

Message: 1 of 2

May be a little bit of a stupid question, but can you allow the user to allow to draw a rectangle on an image and obtain its' coordinates?

Thanks

Subject: allow user to draw rectangle on image

From: matt dash

Date: 6 Oct, 2011 14:34:14

Message: 2 of 2

"Aron Sceidt" <sigarru87@gmail.com> wrote in message <j6ka7p$hg6$1@newscl01ah.mathworks.com>...
> May be a little bit of a stupid question, but can you allow the user to allow to draw a rectangle on an image and obtain its' coordinates?
>
> Thanks

The easiest way is to use the function rbbox.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us