Got Questions? Get Answers.
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:
wait for input from user on an image

Subject: wait for input from user on an image

From: Aron Sceidt

Date: 22 Nov, 2010 13:26:03

Message: 1 of 2

I need to implement a search in only part of the image. For this I already have the code. However I now want the user to select where the algorithm will search. Specifically, I want the user to specify 2 points (upper left and lower right) which will be used to create a rectangle for the algorithm to search in, ELSE the user can draw the rectangle himself.. Is there a way to do this on matlab?

Subject: wait for input from user on an image

From: Walter Roberson

Date: 22 Nov, 2010 17:59:03

Message: 2 of 2

On 22/11/10 7:26 AM, Aron Sceidt wrote:
> I need to implement a search in only part of the image. For this I
> already have the code. However I now want the user to select where the
> algorithm will search. Specifically, I want the user to specify 2 points
> (upper left and lower right) which will be used to create a rectangle
> for the algorithm to search in, ELSE the user can draw the rectangle
> himself.. Is there a way to do this on matlab?

ginput()

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